Re: emacs service and session start

2024-08-30 Thread Max Nikulin
Erwan, maybe you forgot to do disable/enable cycle after adjusting "[Install]" section of the unit configuration. systemctl --user list-dependencies --reverse emacs.service On 30/08/2024 19:19, Greg Wooledge wrote: It's amazing how badly the systemd folks managed to break *everything*. I'm pr

Re: emacs service and session start

2024-08-30 Thread Erwan David
On Fri, Aug 30, 2024 at 02:30:32PM CEST, Max Nikulin said: > Have you checked that emacs.service is started at proper moment (journalctl > --user)? At first I did not add empty WantedBy and it caused earlier start > of ssh-agent.service instead of delay of emacs.service. > > It might be reasona

Re: emacs service and session start

2024-08-30 Thread Max Nikulin
On 30/08/2024 18:45, Erwan David wrote: On Thu, Aug 29, 2024 at 05:14:06PM CEST, Max Nikulin said: [Unit] After=dbus.service ssh-agent.service Wants=dbus.service ssh-agent.service [Install] WantedBy= WantedBy=graphical-session-pre.target [...] The after/wants does not work (starnge since ssh

Re: emacs service and session start

2024-08-30 Thread Greg Wooledge
On Fri, Aug 30, 2024 at 13:45:43 +0200, Erwan David wrote: > The after/wants does not work (starnge since ssh-agent.service seems > to see the SSH_AUTH_SOCK variable. > > But /etc/X11/Xsession.d/90x11-common_ssh-agent is a configuration file > and we can add SSHARGS. I added a > SSHARGS="-a $XDG_R

Re: emacs service and session start

2024-08-30 Thread Erwan David
On Thu, Aug 29, 2024 at 05:14:06PM CEST, Max Nikulin said: > On 29/08/2024 12:56, Erwan David wrote: > > On Mon, Aug 26, 2024 at 06:13:23PM CEST, Max Nikulin said: > > > > > > On 23/08/2024 23:30, Max Nikulin wrote: > > > > > > > It is started by /etc/X11/Xsession.d/90x11-common_ssh-agent > > > >

Re: emacs service and session start

2024-08-29 Thread Max Nikulin
On 29/08/2024 12:56, Erwan David wrote: On Mon, Aug 26, 2024 at 06:13:23PM CEST, Max Nikulin said: On 23/08/2024 23:30, Max Nikulin wrote: It is started by /etc/X11/Xsession.d/90x11-common_ssh-agent [Unit] After=dbus.service ssh-agent.service Wants=dbus.service ssh-agent.service [Install] Wan

Re: emacs service and session start

2024-08-28 Thread Erwan David
On Mon, Aug 26, 2024 at 06:13:23PM CEST, Max Nikulin said: > On 26/08/2024 18:37, Erwan David wrote: > > > > On 23/08/2024 23:30, Max Nikulin wrote: > > > > > > > > > > It is started by /etc/X11/Xsession.d/90x11-common_ssh-agent > > > > > The question is why emacs.service is started before > > >

Re: emacs service and session start

2024-08-26 Thread Max Nikulin
On 26/08/2024 18:37, Erwan David wrote: On 23/08/2024 23:30, Max Nikulin wrote: It is started by /etc/X11/Xsession.d/90x11-common_ssh-agent The question is why emacs.service is started before /usr/lib/openssh/agent-launch or plasma copies SSH_AUTH_SOCKET value to systemd environment. [...] Al

Re: emacs service and session start

2024-08-26 Thread Erwan David
On Mon, Aug 26, 2024 at 10:08:49AM CEST, Erwan David said: > On Sun, Aug 25, 2024 at 05:17:35AM CEST, Max Nikulin > said: > > On 23/08/2024 23:30, Max Nikulin wrote: > > > On 23/08/2024 23:09, Erwan David wrote: > > > > Ok, it could work, ilf only ssh-agent was not started with a random > > > >

Re: emacs service and session start

2024-08-26 Thread Erwan David
On Sun, Aug 25, 2024 at 05:17:35AM CEST, Max Nikulin said: > On 23/08/2024 23:30, Max Nikulin wrote: > > On 23/08/2024 23:09, Erwan David wrote: > > > Ok, it could work, ilf only ssh-agent was not started with a random > > > socket name... > > > > > > And I do not see what starts it (I see the pr

Re: emacs service and session start

2024-08-24 Thread Max Nikulin
On 23/08/2024 23:30, Max Nikulin wrote: On 23/08/2024 23:09, Erwan David wrote: Ok, it could work, ilf only ssh-agent was not started with a random socket name... And I do not see what starts it (I see the process ssh-agent /usr/bin/startplasma-x11 but I did not find which service starts it)

Re: emacs service and session start

2024-08-23 Thread Max Nikulin
On 23/08/2024 23:09, Erwan David wrote: Ok, it could work, ilf only ssh-agent was not started with a random socket name... And I do not see what starts it (I see the process ssh-agent /usr/bin/startplasma-x11 but I did not find which service starts it) It is started by /etc/X11/Xsession.d/90

Re: emacs service and session start

2024-08-23 Thread Erwan David
Le 23/08/2024 à 11:11, didier gaumet a écrit : Le 23/08/2024 à 10:08, Erwan David a écrit : I enabled the emacs user service (starts emacs as daemon). The ssh-agent is the one started by plasma. However, emacs (more exactly tram in emacs) does not see the ssh-agent. If I restart the emacs se

Re: emacs service and session start

2024-08-23 Thread Erwan David
On Fri, Aug 23, 2024 at 11:11:48AM CEST, didier gaumet said: > Le 23/08/2024 à 10:08, Erwan David a écrit : > > I enabled the emacs user service (starts emacs as daemon). The > > ssh-agent is the one started by plasma. However, emacs (more exactly > > tram in emacs) does not see the ssh-agent

Re: emacs service and session start

2024-08-23 Thread didier gaumet
Le 23/08/2024 à 10:08, Erwan David a écrit : I enabled the emacs user service (starts emacs as daemon). The ssh-agent is the one started by plasma. However, emacs (more exactly tram in emacs) does not see the ssh-agent. If I restart the emacs service once the session is on, it uses the ke

Re: emacs 27.1 from Buster work on Bookworm?

2024-03-15 Thread tomas
On Fri, Mar 15, 2024 at 06:56:15PM -0700, John Conover wrote: > > Can emacs 27.1 from Debian 11 Buster be installed on Debian 12 Bookworm? Hm. libc6 hasn't changed /that/ much and is known to handle ABI compatibility pretty well. I fear the other libs aren't as friendly. The package system will

Re: emacs problem: M-x write-abbrev-file

2020-03-19 Thread Default User
On Thu, Mar 19, 2020 at 10:54 AM G.W. Haywood < debian-b...@jubileegroup.co.uk> wrote: > Hi there, > > On Thu, 19 Mar 2020, Default User wrote: > > > I'm trying to learn Emacs, using: > > "Learning GNU Emacs". > > Old, but it would still seem to be a reputable and authoritative source. > > Well I

Re: emacs problem: M-x write-abbrev-file does not seem to work.

2020-03-19 Thread davidson
On Thu, 19 Mar 2020, davidson wrote: On Wed, 18 Mar 2020, Default User wrote: [snip] dummy@dummy:~$ sudo aptitude show emacs [sudo] password for default: Just FYI, it would greatly surprise me if you actually needed root privileges for aptitude's "show" command. I wager you could get the sam

Re: emacs problem: M-x write-abbrev-file does not seem to work.

2020-03-19 Thread davidson
On Wed, 18 Mar 2020, Default User wrote: Hey, been working on this emacs problem all day. It would have taken me all day just to write up such a meticulous account. TLDR; I have never used the "abbrevs" functionality of emacs. So, (fair warning) you will not find a direct answer to your quest

Re: emacs problem: M-x write-abbrev-file

2020-03-19 Thread G.W. Haywood
Hi there, On Thu, 19 Mar 2020, Default User wrote: I'm trying to learn Emacs, using: "Learning GNU Emacs". Old, but it would still seem to be a reputable and authoritative source. Well I used to use that book, but that was 25 years ago. Try this instead: https://www.gnu.org/software/emacs/m

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-30 Thread tomas
On Thu, Jan 30, 2020 at 10:12:25AM +0200, Andrei POPESCU wrote: [... > It's a default in the most common packaging tool that saves work for > many maintainers (they don't need to explicitly mark files under /etc as > conffiles). > > To me it's quite clear that conffiles are typically in /etc (

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-30 Thread Andrei POPESCU
On Mi, 29 ian 20, 08:41:41, to...@tuxteam.de wrote: > On Wed, Jan 29, 2020 at 08:48:56AM +0200, Andrei POPESCU wrote: > > > > It seems to me you are conflating dpkg conffiles[1] with files in /etc. > > > > [1] https://www.debian.org/doc/debian-policy/ap-pkg-conffiles.html > > Yep, but this [2] /

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-28 Thread tomas
On Wed, Jan 29, 2020 at 08:48:56AM +0200, Andrei POPESCU wrote: > On Ma, 28 ian 20, 09:59:44, to...@tuxteam.de wrote: > > On Mon, Jan 27, 2020 at 07:54:47PM -0600, Nate Bargmann wrote: > > > > > As that package apparently is required for the Mate desktop, it's > > > likely that to resolve this th

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-28 Thread Andrei POPESCU
On Ma, 28 ian 20, 09:59:44, to...@tuxteam.de wrote: > On Mon, Jan 27, 2020 at 07:54:47PM -0600, Nate Bargmann wrote: > > > As that package apparently is required for the Mate desktop, it's > > likely that to resolve this that you'll need to comment the lines in > > that file as root and note that

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-28 Thread Tom Browder
On Tue, Jan 28, 2020 at 9:33 AM Curt wrote:... ... Okay, I've taken Curt's and Greg's suggestions together: 1. I had to install the dconf-editor package. I was able to use the dconf editor to turn off the xrdb plugin. I then logged off and logged back in. Highlighting is working. Note: The deco

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-28 Thread Curt
On 2020-01-28, Tom Browder wrote: > > On Tue, Jan 28, 2020 at 07:36 Greg Wooledge wrote: > >> On Mon, Jan 27, 2020 at 04:11:33PM -0600, Tom Browder wrote: >> > when highlighting disappears, run "xrdb /dev/null" and restart emacs >> >> So, wait. You're saying that it *works for a little while*

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-28 Thread Tom Browder
On Tue, Jan 28, 2020 at 07:36 Greg Wooledge wrote: > On Mon, Jan 27, 2020 at 04:11:33PM -0600, Tom Browder wrote: > > when highlighting disappears, run "xrdb /dev/null" and restart emacs > > So, wait. You're saying that it *works for a little while* after > you log in, and then at some point l

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-28 Thread Tom Browder
On Tue, Jan 28, 2020 at 07:26 Curt wrote: ... > Have you tried my suggestion of yesterday, a method which worked for the > man in the thread linked at the bottom of this post? You might have to > be root, and you must have the dconf-editor installed. Open that gui > app, search for the ... No,

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-28 Thread Greg Wooledge
On Mon, Jan 27, 2020 at 04:11:33PM -0600, Tom Browder wrote: > when highlighting disappears, run "xrdb /dev/null" and restart emacs So, wait. You're saying that it *works for a little while* after you log in, and then at some point later, it *stops working*? If that's actually the case, then m

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-28 Thread Curt
On 2020-01-28, Tom Browder wrote: > > On Tue, Jan 28, 2020 at 03:09 wrote: > >> On Mon, Jan 27, 2020 at 07:57:49PM -0600, Nate Bargmann wrote: >> > Or it may be as easy as going into the Mate Settings Daemon application >> > (if it has a GUI) and disabling the xrdg plugin. > I tried to find that

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-28 Thread tomas
On Tue, Jan 28, 2020 at 05:54:46AM -0600, Tom Browder wrote: > On Tue, Jan 28, 2020 at 03:09 wrote: > > > On Mon, Jan 27, 2020 at 07:57:49PM -0600, Nate Bargmann wrote: > > > Or it may be as easy as going into the Mate Settings Daemon application > > > (if it has a GUI) and disabling the xrdg plu

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-28 Thread Tom Browder
On Tue, Jan 28, 2020 at 03:09 wrote: > On Mon, Jan 27, 2020 at 07:57:49PM -0600, Nate Bargmann wrote: > > Or it may be as easy as going into the Mate Settings Daemon application > > (if it has a GUI) and disabling the xrdg plugin. I tried to find that and couldn't. I would like to be able to e

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-28 Thread tomas
On Mon, Jan 27, 2020 at 07:57:49PM -0600, Nate Bargmann wrote: > Or it may be as easy as going into the Mate Settings Daemon application > (if it has a GUI) and disabling the xrdg plugin. By all means, do -- and tell us whether it worked (the link I provided was a bit discouraging: so /if/ that wo

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-28 Thread tomas
On Mon, Jan 27, 2020 at 07:54:47PM -0600, Nate Bargmann wrote: > * On 2020 27 Jan 16:12 -0600, Tom Browder wrote: > > > Gang, I've tried various combinations of: > > > > 1. removing/installing the /etc/xrdb/*.ad files > > I see that the mate-settings-daemon package has the /etc/xrdb/Emacs.ad >

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-27 Thread Nate Bargmann
Or it may be as easy as going into the Mate Settings Daemon application (if it has a GUI) and disabling the xrdg plugin. - Nate -- "The optimist proclaims that we live in the best of all possible worlds. The pessimist fears this is true." Web: https://www.n0nb.us Projects: https://github.com/

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-27 Thread Nate Bargmann
* On 2020 27 Jan 16:12 -0600, Tom Browder wrote: > Gang, I've tried various combinations of: > > 1. removing/installing the /etc/xrdb/*.ad files I see that the mate-settings-daemon package has the /etc/xrdb/Emacs.ad file. As that package apparently is required for the Mate desktop, it's likely

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-27 Thread Tom Browder
On Mon, Jan 27, 2020 at 2:39 AM wrote: > On Sun, Jan 26, 2020 at 08:04:29PM -0600, Tom Browder wrote: > > On Sat, Jan 25, 2020 at 2:17 AM wrote: ... > > Have you had a look in /etc/X11/Xresources? Yes, contents: $ cat /etc/X11/Xresources/x11-common ! $Id$ ! load color-specific resources for cl

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-27 Thread Tom Browder
On Mon, Jan 27, 2020 at 1:00 PM Nate Bargmann wrote: > * On 2020 27 Jan 10:11 -0600, Curt wrote: > > I missed that point, yet I'm still left to wonder whether the mate > > settings daemon xrdb plugins referenced above (if it is indeed running Gang, I've tried various combinations of: 1. removing

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-27 Thread Nate Bargmann
* On 2020 27 Jan 10:11 -0600, Curt wrote: > I missed that point, yet I'm still left to wonder whether the mate > settings daemon xrdb plugins referenced above (if it is indeed running > on the OP's machine as part of the Mate kitchen sink) might be > responsible for the rather copious Emacs 'xdrb -

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-27 Thread Tom Browder
On Mon, Jan 27, 2020 at 10:11 AM Curt wrote: > On 2020-01-27, David Wright wrote: > > On Mon 27 Jan 2020 at 14:34:14 (-), Curt wrote: > >> On 2020-01-27, Nate Bargmann wrote: ... A few points ref my problem: 1. I have to admit I've always been confused by the menuing inside emacs to change

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-27 Thread Curt
On 2020-01-27, David Wright wrote: > On Mon 27 Jan 2020 at 14:34:14 (-), Curt wrote: >> On 2020-01-27, Nate Bargmann wrote: >> > >> > At this point, I think you need to find any file on your system that has >> > the Emacs X resources that xrdb showed and comment them out. >> > >> >> As perha

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-27 Thread David Wright
On Mon 27 Jan 2020 at 14:34:14 (-), Curt wrote: > On 2020-01-27, Nate Bargmann wrote: > > > > At this point, I think you need to find any file on your system that has > > the Emacs X resources that xrdb showed and comment them out. > > > > As perhaps an unhelpful and not necessarily related d

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-27 Thread David Wright
On Mon 27 Jan 2020 at 08:23:00 (-0600), Tom Browder wrote: > On Mon, Jan 27, 2020 at 07:49 Nate Bargmann wrote: > ... > > > At this point, I think you need to find any file on your system that has > > the Emacs X resources that xrdb showed and comment them out. You showed us your Xresources, pre

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-27 Thread Curt
On 2020-01-27, Nate Bargmann wrote: > > At this point, I think you need to find any file on your system that has > the Emacs X resources that xrdb showed and comment them out. > As perhaps an unhelpful and not necessarily related data point, there exists a bug report concerning Xresources and Ema

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-27 Thread Tom Browder
On Mon, Jan 27, 2020 at 07:49 Nate Bargmann wrote: ... > At this point, I think you need to find any file on your system that has > the Emacs X resources that xrdb showed and comment them out. ... Good suggestion, Nate. And thanks for your and the other folks' patience. -Tom

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-27 Thread Nate Bargmann
* On 2020 27 Jan 07:03 -0600, Tom Browder wrote: > Would it help if I post my entire /etc/X11 directory and init.el on my > github account? At this point probably not. If there was nothing referencing Emacs in /etc/X11/app-defaults then wherever those resources are being set must be in your home

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-27 Thread Tom Browder
On Mon, Jan 27, 2020 at 05:37 Tom Browder wrote: > On Mon, Jan 27, 2020 at 5:00 AM Nate Bargmann wrote: > > OP, Tom, you might try: > > > > grep -i "Emacs" /etc/X11/app-defaults/* > Would it help if I post my entire /etc/X11 directory and init.el on my github account? BTW, I do not use the GUI

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-27 Thread Tom Browder
On Mon, Jan 27, 2020 at 5:00 AM Nate Bargmann wrote: > OP, Tom, you might try: > > grep -i "Emacs" /etc/X11/app-defaults/* Nothing on mine, either, Nate. Thanks. -Tom

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-27 Thread Nate Bargmann
* On 2020 27 Jan 02:40 -0600, to...@tuxteam.de wrote: > On Sun, Jan 26, 2020 at 08:04:29PM -0600, Tom Browder wrote: > > Emacs*Background:#cecece > > Emacs*Dialog*background:#cecece > > Emacs*Dialog*foreground:#3c3c3c > > Emacs*Foreground:#3c3c3c > > Emacs*XlwScrollBar.Background:

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-27 Thread Nate Bargmann
* On 2020 26 Jan 20:14 -0600, Tom Browder wrote: > On Sat, Jan 25, 2020 at 6:01 AM Nate Bargmann wrote: > > What do you get if there is no ~/.emacs or ~/.emacs.d/init.el file? > > Still no highlighting without the xrdb incantation. Sorry, I've never had to do anything like that, so I'm of no fur

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-27 Thread 황병희
Tom Browder writes: > [...] > Thanks, but I like a white os very light background. Indeed, real hacker like light and white colors, i think. Sincerely, StarWars fan Byung-Hee -- ^고맙습니다 _地平天成_ 감사합니다_^))//

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-27 Thread tomas
On Sun, Jan 26, 2020 at 08:04:29PM -0600, Tom Browder wrote: > On Sat, Jan 25, 2020 at 2:17 AM wrote: > > On Fri, Jan 24, 2020 at 04:10:37PM -0600, Tom Browder wrote: [...] > > > $ xrdb /dev/null > > > > Yikes. Like hitting your TV set with a wrench ;-) [...] > Maybe, but I felt like I had n

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-26 Thread Tom Browder
On Sat, Jan 25, 2020 at 6:01 AM Nate Bargmann wrote: > What do you get if there is no ~/.emacs or ~/.emacs.d/init.el file? Still no highlighting without the xrdb incantation. > Are you using the Emacs GTK GUI or running in a terminal? I'm using: emacs-gtk - GNU Emacs editor (with GTK+ GUI supp

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-26 Thread Tom Browder
On Sat, Jan 25, 2020 at 5:01 AM Curt wrote: ... > I guess we'll never know why unless you show us the output of > > xrdb -query Sorry, to be so late, but I just did. -Thanks. -Tom

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-26 Thread Tom Browder
On Sun, Jan 26, 2020 at 5:16 PM Mike Kupfer wrote: > Curt wrote: > I had something similar to this happen to me with Emacs 24. I ended up > adding an override to my ~/.emacs to set the highlighting color. > > Tom, which Emacs package are you using? The (default) GTK-based build > can behave diff

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-26 Thread Tom Browder
On Sat, Jan 25, 2020 at 2:17 AM wrote: > On Fri, Jan 24, 2020 at 04:10:37PM -0600, Tom Browder wrote: > > I have a new laptop running Buster (with the MATE desktop) and noticed my > > Emacs highlighted text was not showing any differently than non-highlighted > > text. After some conversation on t

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-26 Thread Mike Kupfer
Curt wrote: > I heard about one fellow whose window background color was strangely > similar to his emacs highlighting color, and this explained why his > highlighting efforts were suboptimal and even quite close to being > totally invisible. I had something similar to this happen to me with Emac

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-25 Thread Nate Bargmann
What do you get if there is no ~/.emacs or ~/.emacs.d/init.el file? Are you using the Emacs GTK GUI or running in a terminal? As I like my terminal sessions to be gray text on a black (or nearly black) background (the reason is historical from the days before anti-aliased fonts were well supporte

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-25 Thread Curt
On 2020-01-24, Tom Browder wrote: > > I have a new laptop running Buster (with the MATE desktop) and noticed my > Emacs highlighted text was not showing any differently than non-highlighted > text. After some conversation on the #emacs IRC channel, it was suggested I > run this in a terminal windo

Re: Emacs and loss of highlighting: problem semi-solved (Buster MATE)

2020-01-25 Thread tomas
On Fri, Jan 24, 2020 at 04:10:37PM -0600, Tom Browder wrote: > I have a new laptop running Buster (with the MATE desktop) and noticed my > Emacs highlighted text was not showing any differently than non-highlighted > text. After some conversation on the #emacs IRC channel, it was suggested I > run

Re: Emacs tutorial [was: Extracting tabular text from a pdf]

2019-11-29 Thread 황병희
writes: > On Fri, Nov 29, 2019 at 12:33:53PM +0100, Victor wrote: >> >> Le 29 Nov 2019, Richard Owlett a écrit : >> >Any recommended Emacs tutorial? If retirement isn't for learning, >> >what use is it ;} > > [useful links] > > And then, of course, Emacs's built-in tutorial, which you start > w

Re: Emacs tutorial [was: Extracting tabular text from a pdf]

2019-11-29 Thread tomas
On Fri, Nov 29, 2019 at 12:33:53PM +0100, Victor wrote: > > Le 29 Nov 2019, Richard Owlett a écrit : > >Any recommended Emacs tutorial? If retirement isn't for learning, > >what use is it ;} [useful links] And then, of course, Emacs's built-in tutorial, which you start whithin Emacs with C-h t

Re: Emacs tutorial [was: Extracting tabular text from a pdf]

2019-11-29 Thread Richard Owlett
On 11/29/2019 05:33 AM, Victor wrote: Le 29 Nov 2019, Richard Owlett a écrit : Any recommended Emacs tutorial? If retirement isn't for learning, what use is it ;} I learned a lot on ergoemacs.org. It has a practical emacs tutorial: http://ergoemacs.org/emacs/emacs.html The sub-menus on th

Re: Emacs tutorial [was: Extracting tabular text from a pdf]

2019-11-29 Thread Victor
Le 29 Nov 2019, Richard Owlett a écrit : Any recommended Emacs tutorial? If retirement isn't for learning, what use is it ;} I learned a lot on ergoemacs.org. It has a practical emacs tutorial: http://ergoemacs.org/emacs/emacs.html There’s also the Emacs guided tour on gnu.org: https://w

Re: Emacs probs in buster: selected text not highlighted

2019-08-17 Thread Tom Browder
On Sat, Aug 17, 2019 at 4:12 PM Mike Kupfer wrote: ... > IIRC, GTK3 lets the user (theme) specify the color to be used for > selection. So something else you could experiment with (using > emacs-gtk) is different themes. Thanks, Mike, very helpful! -Tom

Re: Emacs probs in buster: selected text not highlighted

2019-08-17 Thread Mike Kupfer
Tom Browder wrote: > When I use -Q highlighting works! That points at something in your .emacs.d settings as being the culprit. > I installed emacs-lucid (which removed emacs-gtk) and now highlighting > works (but other colors are changed). IIRC, GTK3 lets the user (theme) specify the color to

Re: Emacs probs in buster: selected text not highlighted

2019-08-17 Thread Tom Browder
On Sat, Aug 17, 2019 at 14:37 Mike Kupfer wrote: > > Since installing buster on a new laptop I have noticed that selected > > text doesn't show as highlighted. ... > I can't reproduce that problem with a fresh installation of buster, using > emacs-lucid in MATE. > > Which build of Emacs are you u

Re: Emacs probs in buster: selected text not highlighted

2019-08-17 Thread Mike Kupfer
Tom Browder wrote: > Since installing buster on a new laptop I have noticed that selected > text doesn't show as highlighted. > > I have had no such problems with stretch, but they were upgrades > in-place from previous installations--buster was installed new. I can't reproduce that problem with

Re: Emacs probs in buster: selected text not highlighted

2019-08-15 Thread Tom Browder
On Wed, Aug 14, 2019 at 2:04 AM Johann Spies wrote: ... > What does "/usr/bin/emacs --debug-init" show? I got no messages and a normal looking blank window with a *scratch* buffer. -Tom

Re: Emacs probs in buster: selected text not highlighted

2019-08-14 Thread Johann Spies
On Mon, 12 Aug 2019 at 13:42, Tom Browder wrote: > Since installing buster on a new laptop I have noticed that selected text > doesn't show as highlighted. > > I have had no such problems with stretch, but they were upgrades in-place > from previous installations--buster was installed new. > > I

Re: emacs save and kill buffer for (neo)mutt

2019-05-06 Thread Pétùr
Thanks. In fact my code was working, but the terminal I used (xfce4-terminal) has a built-in shortcut for "quit" binded to Ctrl+q. This is why Emacs, when launched inside xfce4-terminal, closes instead of going back to mutt. Silly...

Re: Emacs in GUI from two different users.

2019-05-06 Thread aprekates
That worked. Thanks. I'll try to make it permanent across session by putting the commands to bash profile files. On 6/5/19 4:54 μ.μ., An Liu wrote: Partly right, Debian 9.9 tested 'xhost' still works, while 'xauth' and 'ssh -X' fail foo> xhosts + goo> export DISPLAY=:0 emacs this could sta

Re: Emacs in GUI from two different users.

2019-05-06 Thread Francisco M Neto
On Mon, 2019-05-06 at 08:40 -0600, An Liu wrote: > I'm not cheating you. Have a try before you type. > > After you create .Xauthority manually, ssh -X could work, though > 'auth add' still fails My point exactly. > why not try it yourself? I don't use Wayland, neither do I inte

Re: Emacs in GUI from two different users.

2019-05-06 Thread An Liu
I'm not cheating you. Have a try before you type. After you create .Xauthority manually, ssh -X could work, though 'auth add' still fails why not try it yourself? following shows 'ps -ef' and 'XDG_SESSION_TYPE' source@debian:~$ ps -ef |grep Xwayland Debian-+ 3802 3782 0 08:10 tty1 00:0

Re: Emacs in GUI from two different users.

2019-05-06 Thread Francisco M Neto
On Mon, 2019-05-06 at 07:54 -0600, An Liu wrote: > Partly right, Debian 9.9 tested Debian 9.9 uses X.Org. This kind of operation is not possible in Wayland. -- []'s, Francisco M Neto GPG: 4096R/D692FBF0 signature.asc Description: This is a digitally signed message part

Re: Emacs in GUI from two different users.

2019-05-06 Thread An Liu
Partly right, Debian 9.9 tested 'xhost' still works, while 'xauth' and 'ssh -X' fail foo> xhosts + goo> export DISPLAY=:0 emacs this could start emacs in GUI for goo On Mon, May 6, 2019 at 6:48 AM Francisco M Neto wrote: > > I believe that only works if you're using X.Org. In Wayland tha

Re: Emacs in GUI from two different users.

2019-05-06 Thread Francisco M Neto
I believe that only works if you're using X.Org. In Wayland that kind of thing does not exist. --Francisco On Sat, 2019-05-04 at 02:46 +0200, An Liu wrote: > > HI, > short answer is yes,you can have both emacs displayed in GUI > > i think the problem is when you switch to goo,the auth to DISP

Re: Emacs in GUI from two different users.

2019-05-03 Thread An Liu
HI, short answer is yes,you can have both emacs displayed in GUI i think the problem is when you switch to goo,the auth to DISPLAY is lost it depends much on how you switch to goo from foo btw, i guess you login to foo with display-manager such as gdm or something alike,and switch to goo with

Re: emacs save and kill buffer for (neo)mutt

2019-04-29 Thread David Wright
On Mon 29 Apr 2019 at 10:38:40 (+0200), Pétùr wrote: > On 12/04/19 13:00, David Wright wrote: > > On Fri 12 Apr 2019 at 18:04:45 (+0200), Pétùr wrote: > > > I use neomutt with emacs. > > > > > > I would like to quickly save and kill a buffer in emacs. This is to > > > avoid typing C-x C-s and, the

Re: emacs save and kill buffer for (neo)mutt

2019-04-29 Thread Pétùr
On 12/04/19 13:00, David Wright wrote: On Fri 12 Apr 2019 at 18:04:45 (+0200), Pétùr wrote: I use neomutt with emacs. I would like to quickly save and kill a buffer in emacs. This is to avoid typing C-x C-s and, then, C-x C-c when sending an email. I want one shortcut to save and kill the buffe

Re: emacs save and kill buffer for (neo)mutt

2019-04-12 Thread David Wright
On Fri 12 Apr 2019 at 18:04:45 (+0200), Pétùr wrote: > I use neomutt with emacs. > > I would like to quickly save and kill a buffer in emacs. This is to > avoid typing C-x C-s and, then, C-x C-c when sending an email. I want > one shortcut to save and kill the buffer and be back quickly in mutt to

Re: Emacs and hunspell

2019-04-01 Thread Teemu Likonen
Johann Spies [2019-03-28 10:38:21+02] wrote: > I, so far, did not manage to use hunspell with emacs. Perhaps you are more successful with wcheck-mode which has more like display-based approach to spell-checking. You can install it through GNU Elpa or Melpa package archive. The README file has exa

Re: Emacs and hunspell

2019-04-01 Thread Curt
On 2019-04-01, Johann Spies wrote: >> > > This bug seems to bite me. Emacs does not seem to get the dictionaries. > If I have aspell as an installed package it seems to use it despite my > configuration : > This bug looks kind of similar (maybe unrelated to your problem). There's a little fix (

Re: Emacs and hunspell

2019-04-01 Thread Johann Spies
On Thu, 28 Mar 2019 at 23:50, Alfredo Finelli wrote: > > This is how I managed to make it work for me; what follows is in my > init.el file: > > Thanks Alfredo. > > [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916227 > This bug seems to bite me. Emacs does not seem to get the dictiona

Re: Emacs without knowing any Lisp (was: text editors)

2019-03-28 Thread Bill Wood
On Fri, 2019-03-29 at 12:48 +1100, Ben Finney wrote: > deloptes writes: > > > I've been there exactly 17y ago. I still have no idea where lisp is used > > except in Emacs and some exotic projects, so being pragmatic ... good for > > you who know emacs - for the rest good that you do not know emac

Re: Emacs and hunspell

2019-03-28 Thread Alfredo Finelli
Johann Spies [28.03.2019, 10:38 +0200]: > I, so far, did not manage to use hunspell with emacs. After reading a lot > on the internet, inter alia emacs-wiki and stackexchange and trying out > different recipes, still no success. > > My latest effort in .emacs: > > (with-eval-after-load "ispell" >

Re: Emacs info documentation missing in Debian Unstable

2018-01-22 Thread Nishan Singh Mann
Thank you davidson, Davor and Ben. I appreciate your help and have resolved the issue. I am not well versed with such details and yes I agree this question would have been better posed on an Ubuntu mailing list. Next time, I will be more careful. Regrads, Nishan On Mon, 22 Jan 2018 at 10:34 davids

Re: Emacs info documentation missing in Debian Unstable

2018-01-22 Thread davidson
On Mon, 22 Jan 2018, davidson wrote: On Mon, 22 Jan 2018, Nishan Singh Mann wrote: Hello, on Ubuntu 17.10 which to my knowledge is based on Debian unstable, installing Emacs via $sudo apt install emacs and then trying to view the Emacs manual using C-h r fails with error "Info file emacs does

Re: Emacs info documentation missing in Debian Unstable

2018-01-22 Thread davidson
On Mon, 22 Jan 2018, Nishan Singh Mann wrote: Hello, on Ubuntu 17.10 which to my knowledge is based on Debian unstable, installing Emacs via $sudo apt install emacs and then trying to view the Emacs manual using C-h r fails with error "Info file emacs does not exist" The same set of instructions

Re: Emacs info documentation missing in Debian Unstable

2018-01-21 Thread Ben Finney
Nishan Singh Mann writes: > Hello, on Ubuntu 17.10 which to my knowledge is based on Debian unstable, > installing Emacs via $sudo apt install emacs and then trying to view the > Emacs manual using C-h r fails with error "Info file emacs does not > exist" The Emacs manual is distributed subject

Re: Emacs info documentation missing in Debian Unstable

2018-01-21 Thread Davor Balder
On 22/01/18 15:33, Nishan Singh Mann wrote: Hello, on Ubuntu 17.10 which to my knowledge is based on Debian unstable, installing Emacs via $sudo apt install emacs and then trying to view the Emacs manual using C-h r fails with error "Info file emacs does not exist" The same set of instructions

Re: Emacs 23?

2016-06-09 Thread Santiago Vila
On Thu, Jun 09, 2016 at 12:26:46AM -0700, John Conover wrote: > Can Debian Wheezy 7.x Emacs 23 be installed in Debian Jessie 8.x? Yes, it seems so. > Anyone tried this? Yes, just tried that on a jessie chroot using both wheezy and jessie lines in sources.list and it worked. However, be careful

Re: emacs menu line disappeared

2016-05-16 Thread Kjetil brinchmann Halvorsen
Not able to downgrade via synaptics, apparently because synaptic doesn't find the -3-18.9-1 package files, don't know why. But I changed desktop environment to cinnamon, which behaves better. Now emacs have the standard toolbar icons, but the ones from auctex does't show. At least somewhat better

Re: emacs menu line disappeared

2016-05-16 Thread Kjetil brinchmann Halvorsen
Thanks! http://forums.debian.net/viewtopic.php?f=6&t=128288 sems to have relevant information. Kjetil On Sat, May 14, 2016 at 10:14 AM, Jörg-Volker Peetz wrote: > I've filed a bug already (#822944) without remedy so far. It's due to > changes in > gtk-3. That's also the reason why the fire

Re: emacs menu line disappeared

2016-05-14 Thread Jörg-Volker Peetz
I've filed a bug already (#822944) without remedy so far. It's due to changes in gtk-3. That's also the reason why the firefox package got back to link against gtk2. I downgraded gtk-3 to 3.18 on my system. Regards, jvp.

Re: emacs menu line disappeared

2016-05-13 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, May 14, 2016 at 06:16:54AM +0200, Kjetil brinchmann Halvorsen wrote: > Thanks, did, its in .emacs now, but has NO effect! Hmm. No permanent effect -- or no effect at all? What happens when you start your Emacs with the -Q command line option?

Re: emacs menu line disappeared

2016-05-13 Thread Kjetil brinchmann Halvorsen
Thanks, did, its in .emacs now, but has NO effect! Kjetil On Fri, May 13, 2016 at 10:15 PM, wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Fri, May 13, 2016 at 08:03:36PM +0200, Kjetil brinchmann Halvorsen > wrote: > > On one of the latest updates (I am running unstable+sid) em

Re: emacs menu line disappeared

2016-05-13 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, May 13, 2016 at 08:03:36PM +0200, Kjetil brinchmann Halvorsen wrote: > On one of the latest updates (I am running unstable+sid) emacs > is behaving strangely. Usually it shows a menu line with large icons, now > there is only the titles with s

Re: emacs locked file problem

2016-04-26 Thread Ric Moore
On 04/25/2016 11:47 PM, Blair, Charles E III wrote: Perhaps a symptom is that, during an emacs session, the top of the window says "emacs@debian.c-blair@..." (my e-mail address) instead of "emacs@ceblair". I may have made a mistake during the installation in specifying my host name or somet

Re: emacs M-c

2015-08-19 Thread Alberto Luaces
Alberto Luaces writes: >> How do I get the default (Capitalize next word) back to M-c? >> > > I suspect this could be related to your configuration; the standard > procedure is to launch "emacs -Q" in order to make sure this is the > case. Oops. The threading for this mail was broken and I didn

  1   2   3   4   5   6   7   8   9   >