Re: emacs service and session start

2024-08-30 Thread Max Nikulin
the case of e.g. ssh login. So you may use single emacs daemon instance having multiple simultaneous logins. It is stopped on last logout. ssh-agent may be started after emacs and it is possible to notify emacs where is current agent socket. Concerning graphical sessions, when you click in a

Re: emacs service and session start

2024-08-30 Thread Erwan David
gt; It might be reasonable to start emacs from default.target, e.g. for ssh > logins (however emacs.socket to start it on demand might be better) and > updating environment using "emacsclient --eval" sounds viable. > > Notice that other KDE-specific configuration (~/.config/plasma-l

Re: emacs service and session start

2024-08-30 Thread Max Nikulin
start emacs from default.target, e.g. for ssh logins (however emacs.socket to start it on demand might be better) and updating environment using "emacsclient --eval" sounds viable. Notice that other KDE-specific configuration (~/.config/plasma-localerc, ~/.config/plasma-workspace/env) or

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
; not /etc/X11/Xsession.options.d. However it would be a rather fragile hack. > > > Only solutions I see would imply modifying > > /etc/X11/Xsession.d/90x11-common_ssh-agent, but is it a configuration > > file ? > > Ask "dpkg -s PKG" or dpkg-query with some options

Re: emacs service and session start

2024-08-29 Thread Max Nikulin
. Only solutions I see would imply modifying /etc/X11/Xsession.d/90x11-common_ssh-agent, but is it a configuration file ? Ask "dpkg -s PKG" or dpkg-query with some options. Do you really need emacs as a part of default.target and graphical-session.target is too late for you? The ov

Re: emacs service and session start

2024-08-28 Thread Erwan David
gt; > The question is why emacs.service is started before > > > > > /usr/lib/openssh/agent-launch or plasma copies SSH_AUTH_SOCKET value > > > > > to > > > > > systemd environment. > [...] > > Alas it does not work. > > Sounds like a rac

Re: emacs service and session start

2024-08-26 Thread Max Nikulin
. [...] Alas it does not work. Sounds like a race between code that copies environment and starting emacs. Have you tried to disable ssh-agent in Xsession to start it from systemd? Without it I am not sure that the following is really reliable: [Unit] After=dbus.service ssh-agent.service Wants

Re: emacs service and session start

2024-08-26 Thread Erwan David
ires instead of Wants. > > > > emacs.service may be started lazily by adding emacs.socket. However unit > > dependency should be explicitly set anyway. > > Thanks, I'll try it (and if it works, I'll do a reportbug so that the > unit in the package is modified) Alas it does not work. I disabled the service, and added a systemctl --user start emacs at session start. This works PS: It works on a testing, so there may be a difference -- Erwan David

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

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)

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

emacs service and session start

2024-08-23 Thread Erwan David
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 keys inside. What should I do to get correct

Solution [Re: Need help with narroely focused use case of Emacs]

2024-07-05 Thread Richard Owlett
e | need a backslash in front to give them their magic meaning. In Emacs they do, in Perl (and PCRE, which is most probably the engine behind Pluma) they don't. In grep (and sed) you can switch behavior with an option (-E was it, IIRC). Cheers [1] This grouping is (again, depening on your reg

Re: Need help with narroely focused use case of Emacs

2024-06-30 Thread mick.crane
On 2024-06-30 14:21, Greg Wooledge wrote: On Sun, Jun 30, 2024 at 12:32:15 +0100, mick.crane wrote: got it thanks. I don't know what you're trying to do, but ERE [0-7]{1,2} matches one- or two-digit *octal* numbers (e.g. 5, 07, 72, 77) but not numbers that contains the digits 8 or 9. D

Re: Need help with narroely focused use case of Emacs

2024-06-30 Thread Andy Smith
Hello, On Sun, Jun 30, 2024 at 09:21:57AM -0400, Greg Wooledge wrote: > Do you have a book whose verses are enumerated in octal? No one clarified that this was the *Christian* Bible. 😀 Thanks, Andy

Re: Need help with narroely focused use case of Emacs

2024-06-30 Thread Greg Wooledge
On Sun, Jun 30, 2024 at 12:32:15 +0100, mick.crane wrote: > got it thanks. > > > > > > > I don't know what you're trying to do, but ERE [0-7]{1,2} matches one- or two-digit *octal* numbers (e.g. 5, 07, 72, 77) but not numbers that contains the digits 8 or 9. Do you have a book whose verses

Re: Need help with narroely focused use case of Emacs

2024-06-30 Thread mick.crane
On 2024-06-29 20:29, Greg Wooledge wrote: On Sat, Jun 29, 2024 at 20:18:02 +0100, mick.crane wrote: Oh, I see what the question was. There is "use regular expressions", "use multi line matching" in Geany I'm not very good at regular expressions. I'd probably do it 3 times "search for" "search f

Re: Curt having his fits [was: Need help with narroely focused use case of Emacs]

2024-06-29 Thread Will Mengarini
* Richard [24-06/30=Su 00:57 +0200]: > That's how you warrant your ban, idiot. Don't get yourself banned, Richard. Anybody else remember Erik Naggum?

Re: Curt having his fits [was: Need help with narroely focused use case of Emacs]

2024-06-29 Thread Greg Wooledge
On Sun, Jun 30, 2024 at 00:57:07 +0200, Richard wrote: > That's how you warrant your ban, idiot. Let it go. Don't keep pouring more fuel on the fire. Add Curt to your killfile (or whatever your MUA calls your ban list). He's already been banned by the list admins anyway, so your local ban is jus

Re: Curt having his fits [was: Need help with narroely focused use case of Emacs]

2024-06-29 Thread Richard
That's how you warrant your ban, idiot. On 29.06.24 20:40, Curt wrote: On 2024-06-29, wrote: Defamatory. What are you, a fucking lawyer? Sue me then, you little snit. Bad day today? As usual, you cut all that was pertinent to your meretricious commentary and left only what suited your brai

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread mick.crane
On 2024-06-29 20:29, Greg Wooledge wrote: On Sat, Jun 29, 2024 at 20:18:02 +0100, mick.crane wrote: Oh, I see what the question was. There is "use regular expressions", "use multi line matching" in Geany I'm not very good at regular expressions. I'd probably do it 3 times "search for" "search f

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Greg Wooledge
On Sat, Jun 29, 2024 at 20:18:02 +0100, mick.crane wrote: > Oh, I see what the question was. > There is "use regular expressions", "use multi line matching" in Geany > I'm not very good at regular expressions. > I'd probably do it 3 times > "search for" > "search for" > "search for" There's mor

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread mick.crane
maintain valid document structure with paired opening and closing tags. I have not tried Emacs lisp facilities for dealing with HTML. open in Geany [...] click search select replace copy paste selection into "search for" By "Emacs *lisp* facilities for dealing with HTML" I

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread David Wright
On Sat 29 Jun 2024 at 17:08:04 (+0200), Vincent Lefevre wrote: > On 2024-06-28 20:53:50 +, Michael Kjörling wrote: > > Yes, it almost certainly can be done with a single sed (or other > > similar tool) invocation where the regular expression matches > > precisely what you want it to match. But

Re: Curt having his fits [was: Need help with narroely focused use case of Emacs]

2024-06-29 Thread Curt
On 2024-06-29, wrote: > > >> Defamatory. What are you, a fucking lawyer? Sue me then, you little snit. > > Bad day today? As usual, you cut all that was pertinent to your meretricious commentary and left only what suited your brain-damaged hypocrisy. BTW, eliding a succinct paragraph to leave o

Curt having his fits [was: Need help with narroely focused use case of Emacs]

2024-06-29 Thread tomas
On Sat, Jun 29, 2024 at 05:43:15PM -, Curt wrote: [...] > Defamatory. What are you, a fucking lawyer? Sue me then, you little snit. Bad day today? I can't help you. I'm out of this thread. -- t signature.asc Description: PGP signature

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Curt
On 2024-06-29, wrote: > >> Owlett is a notorious troll who never listens to reason. > > This is wrong, borderline defamatory. Richard Owlett is not a Andy Smith: It's not an authentic Owlett thread unless it contains an enormous XY problem, a monomaniacal obsession with a solution already pa

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread tomas
tor" {min,max}, with which you might say [0-9]{1,3} (you won't need the grouping here, since the repeat operator binds strongly enough to not mess up the rest of your regexp. CAVEAT IMPLEMENTOR: Depending on the flavor of your regexps, the () and sometimes the | need a backslash in front to g

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread tomas
On Sat, Jun 29, 2024 at 04:02:56PM -, Curt wrote: > On 2024-06-29, Michael Kjörling wrote: > >> > >> HUH ?? > > > > ..._focus on the goal_. > > > > > Owlett is a notorious troll who never listens to reason. This is wrong, borderline defamatory. Richard Owlett is not a troll [1]. He

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Lee
Hi, > > So you may prefer to use regexes as > > Murphy intended, handling both the opening and closing tags at the same > > time, leaving the intervening text intact. > > In this particular case I suspect it would become overly complex. > I've already discovered that the order of edits is importan

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Curt
On 2024-06-29, Michael Kjörling wrote: >> >> HUH ?? > > ..._focus on the goal_. > Owlett is a notorious troll who never listens to reason. But you people adore this kind of troll, inexplicably, perhaps because he allows you to expand endlessly on your reams of essentially useless knowl

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Max Nikulin
paired opening and closing tags. I have not tried Emacs lisp facilities for dealing with HTML. open in Geany [...] click search select replace copy paste selection into "search for" By "Emacs *lisp* facilities for dealing with HTML" I mead something like `libxml-parse-html-

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Vincent Lefevre
On 2024-06-28 20:53:50 +, Michael Kjörling wrote: > Yes, it almost certainly can be done with a single sed (or other > similar tool) invocation where the regular expression matches > precisely what you want it to match. But unless this is something you > will do very often, I tend to prefer rea

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Andy Smith
Hello, On Sat, Jun 29, 2024 at 01:46:27PM +, Michael Kjörling wrote: > On 29 Jun 2024 06:12 -0500, from rowl...@access.net (Richard Owlett): > >> there may be other closing tags you don't want to > >> change because they close other tags we haven't seen. > > > > Chuckle ;} The appropriate "

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Michael Kjörling
On 29 Jun 2024 05:51 -0500, from rowl...@access.net (Richard Owlett): >> Ignoring the question about Emacs > > Emacs *CAN NOT* be ignored. I did not say to ignore _Emacs_. I said that I was ignoring the _question_ about Emacs, to instead... >> and focusing

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Michael Kjörling
On 29 Jun 2024 06:12 -0500, from rowl...@access.net (Richard Owlett): >>> $ for v in $(seq 1 119); do sed -i 's,>> id="V'$v'">,,g' ./*.html; done >> >> Having done that (or similar), don't forget to change the relevant >> closing tags to closing tags. However, there may be >> other closing tags

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread mick.crane
s way it is easier to maintain valid document structure with paired opening and closing tags. I have not tried Emacs lisp facilities for dealing with HTML. open in Geany thru [at most] abcdefg thru [at most] abcdefg thru [at most]

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Richard Owlett
x27;m reformatting a Bible stored in HTML format for a particular set of vision impaired seniors (myself included). Each chapter is in its own file. How do I open a file. Do the above replacement. Save and close the file. Ignoring the question about Emacs Emacs *CAN NOT* be ignored. It is the _avail

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Greg Wooledge
On Sat, Jun 29, 2024 at 07:43:47 -0400, Dan Ritter wrote: > The option "g" means that said should do this multiple times if > it occurs in the same file (globally, like grep) instead of the > default behavior which is to find the first match and just > change that. The g option in sed's s command

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Greg Wooledge
On Fri, Jun 28, 2024 at 21:23:03 -0600, Charles Curley wrote: > On Fri, 28 Jun 2024 20:53:50 + > Michael Kjörling wrote: > > > $ for v in $(seq 1 119); do sed -i 's, > id="V'$v'">,,g' ./*.html; done > > > > Be sure to have a copy in case something goes wrong; and diff(1) a few > > files afte

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Dan Ritter
t; > by > > > > > > > > > I'm reformatting a Bible stored in HTML format for a particular set of > > > vision impaired seniors (myself included). Each chapter is in its own > > > file. > > > > > > How do I open a file. >

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread debian-user
t; >> by > >> > >> > >> I'm reformatting a Bible stored in HTML format for a particular > >> set of vision impaired seniors (myself included). Each chapter is > >> in its own file. > >> > >> How do I open a file. >

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Richard Owlett
x27;t do regular expressions. Really. Emacs can. It has much verbose documentation. But examples seem rather scarce. Of course, Emacs is the best editor out there, by a long shot. But learning it is a long and panoramic road. You should at least have a rough idea that you want to ta

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Max Nikulin
ocument structure with paired opening and closing tags. I have not tried Emacs lisp facilities for dealing with HTML.

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Richard Owlett
On 06/28/2024 10:23 PM, Charles Curley wrote: On Fri, 28 Jun 2024 20:53:50 + Michael Kjörling wrote: $ for v in $(seq 1 119); do sed -i 's,,,g' ./*.html; done Be sure to have a copy in case something goes wrong; and diff(1) a few files afterwards to make sure that the result is as you int

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Richard Owlett
niors (myself included). Each chapter is in its own file. How do I open a file. Do the above replacement. Save and close the file. Ignoring the question about Emacs Emacs *CAN NOT* be ignored. It is the _available_ editor known to be capable of handling regular expressions. and focusing o

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Richard Owlett
On 06/28/2024 02:33 PM, Van Snyder wrote: On Fri, 2024-06-28 at 14:04 -0500, Richard Owlett wrote: Pluma is my editor of choice. *BUT* it can NOT handle Search and Replace operations involving regular expressions. Emacs can. It has much verbose documentation. But examples seem rather scarce

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Richard Owlett
On 06/28/2024 02:17 PM, didier gaumet wrote: Le 28/06/2024 à 21:04, Richard Owlett a écrit : Pluma is my editor of choice. *BUT* it can NOT handle Search and Replace operations involving regular expressions. [...] Hello Richard, According to the Mate wiki, Pluma handles regular expressions t

Re: Need help with narroely focused use case of Emacs

2024-06-28 Thread tomas
rd, > > According to the Mate wiki, Pluma handles regular expressions the Perl way: > https://wiki.mate-desktop.org/mate-desktop/applications/pluma/ > https://perldoc.perl.org/perlre See? I was sure of that. And Perl style regexps are actually somewhat friendlier than Emacs style (they&

Re: Need help with narroely focused use case of Emacs

2024-06-28 Thread tomas
On Fri, Jun 28, 2024 at 02:04:37PM -0500, Richard Owlett wrote: > Pluma is my editor of choice. > *BUT* it can NOT handle Search and Replace operations involving regular > expressions. I would be *very* surprised if an editor, these days and age can't do regular expressions. Really

Re: Need help with narroely focused use case of Emacs

2024-06-28 Thread Charles Curley
On Fri, 28 Jun 2024 20:53:50 + Michael Kjörling wrote: > $ for v in $(seq 1 119); do sed -i 's, id="V'$v'">,,g' ./*.html; done > > Be sure to have a copy in case something goes wrong; and diff(1) a few > files afterwards to make sure that the result is as you intended. Having done that (or

Re: Need help with narroely focused use case of Emacs

2024-06-28 Thread Michael Kjörling
lf included). Each chapter is in its own file. > > How do I open a file. > Do the above replacement. > Save and close the file. Ignoring the question about Emacs and focusing on the goal (your question otherwise is an excellent example of a XY question), this is not something regular

Re: Need help with narroely focused use case of Emacs

2024-06-28 Thread Van Snyder
On Fri, 2024-06-28 at 14:04 -0500, Richard Owlett wrote: > Pluma is my editor of choice. > *BUT* it can NOT handle Search and Replace operations involving > regular > expressions. > > Emacs can. It has much verbose documentation. > But examples seem rather scarce. ned

Re: Need help with narroely focused use case of Emacs

2024-06-28 Thread didier gaumet
Le 28/06/2024 à 21:04, Richard Owlett a écrit : Pluma is my editor of choice. *BUT* it can NOT handle Search and Replace operations involving regular expressions. [...] Hello Richard, According to the Mate wiki, Pluma handles regular expressions the Perl way: https://wiki.mate-desktop.org/mat

Need help with narroely focused use case of Emacs

2024-06-28 Thread Richard Owlett
Pluma is my editor of choice. *BUT* it can NOT handle Search and Replace operations involving regular expressions. Emacs can. It has much verbose documentation. But examples seem rather scarce. I need to replace ANY occurrence of thru [at most] by I'm reformatt

Re: Lightweight Emacs for container?

2024-05-06 Thread tomas
On Mon, May 06, 2024 at 04:19:32PM -0400, Stefan Monnier wrote: > > Is there some package, or a simple workaround, that will allow me to use > > a basic Emacs without all the cruft? > > I think the usual answers look like: > > - Use Zile (or some other small Emacs-inspire

Re: Lightweight Emacs for container?

2024-05-06 Thread Jeffrey Walton
On Mon, May 6, 2024 at 6:45 PM Dr. Jennifer Nussbaum wrote: > I usually use Emacs on full-blown Debian distributions, so I don't pay > much attention to how large it is. But I'm now starting to > play around with lightweight LXC containers, obviously headless, and would &

Re: Lightweight Emacs for container?

2024-05-06 Thread Michael Kjörling
On 6 May 2024 16:19 -0400, from monn...@iro.umontreal.ca (Stefan Monnier): >> Is there some package, or a simple workaround, that will allow me to use >> a basic Emacs without all the cruft? > > I think the usual answers look like: > > - Use Zile (or some other small Ema

Re: Lightweight Emacs for container?

2024-05-06 Thread David Wright
On Mon 06 May 2024 at 19:37:39 (+), Dr. Jennifer Nussbaum wrote: > I usually use Emacs on full-blown Debian distributions, so I don't pay much > attention to how large it is. But I'm now starting to > play around with lightweight LXC containers, obviously headless, and wo

Re: Lightweight Emacs for container?

2024-05-06 Thread Stefan Monnier
> Is there some package, or a simple workaround, that will allow me to use > a basic Emacs without all the cruft? I think the usual answers look like: - Use Zile (or some other small Emacs-inspired editor). - Use Tramp (i.e. run Emacs outside the container and access the container's

Lightweight Emacs for container?

2024-05-06 Thread Dr. Jennifer Nussbaum
I usually use Emacs on full-blown Debian distributions, so I don't pay much attention to how large it is. But I'm now starting to play around with lightweight LXC containers, obviously headless, and would like to keep using Emacs in these, but just for basic text editing and so fort

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 pac

emacs 27.1 from Buster work on Bookworm?

2024-03-15 Thread John Conover
Can emacs 27.1 from Debian 11 Buster be installed on Debian 12 Bookworm? Thanks, John -- John Conover, cono...@panix.com, http://www.johncon.com/

Re: No emacs source files in Debian testing?

2022-10-05 Thread Dekks Herton
Charles Curley writes: > On Wed, 5 Oct 2022 08:40:14 -0400 > Haines Brown wrote: > >> With an upgrade to testing, I get this warning when I load emacs: >> >> Warning (comp): Cannot look-up eln file as no source file was found >> for /home/haines/.emacs.d/

Re: No emacs source files in Debian testing?

2022-10-05 Thread Charles Curley
On Wed, 5 Oct 2022 08:40:14 -0400 Haines Brown wrote: > With an upgrade to testing, I get this warning when I load emacs: > > Warning (comp): Cannot look-up eln file as no source file was found > for /home/haines/.emacs.d/elisp/ibus.elc Judging by the location (in your user di

No emacs source files in Debian testing?

2022-10-05 Thread Haines Brown
With an upgrade to testing, I get this warning when I load emacs: Warning (comp): Cannot look-up eln file as no source file was found for /home/haines/.emacs.d/elisp/ibus.elc I gather that with emacs version 28 the ibus.el source file is no longer installed, although it must found if the

Re: replace corrupted emacs aspell dictionary

2022-08-13 Thread Gregor Zattler
Hi Thomas, Russel, * [2022-08-13; 06:37]: > On Fri, Aug 12, 2022 at 07:38:31PM +, Russell L. Harris wrote: >> I managed to approve incorrect spellings for several words in the >> Emacs aspell dictionary. >> >> How can I replace the corrupted dictionary with a prist

Re: replace corrupted emacs aspell dictionary

2022-08-12 Thread tomas
On Fri, Aug 12, 2022 at 07:38:31PM +, Russell L. Harris wrote: > I managed to approve incorrect spellings for several words in the > Emacs aspell dictionary. > > How can I replace the corrupted dictionary with a pristine copy? Caveat: not a regular user of aspell here: all what

replace corrupted emacs aspell dictionary

2022-08-12 Thread Russell L. Harris
I managed to approve incorrect spellings for several words in the Emacs aspell dictionary. How can I replace the corrupted dictionary with a pristine copy? -- He turneth rivers into a wilderness, and the watersprings into dry ground; a fruitful land into barrenness, for the wickedness of them

Re: Strange emacs behavior after upgrade to bullseye

2021-04-22 Thread Curt
On 2021-04-20, Rainer Dorsch wrote: > > Other editors (vi, kate) don't report any issue when performain an edit > operation. Is emacs trying to derive permissions in a different way? There's this bug, which may or may not be pertinent. https://gnu.emacs.bug.narkive.com/LoN1

Re: Strange emacs behavior after upgrade to bullseye

2021-04-22 Thread Rainer Dorsch
Hi David, I did some more testing, you can see the effect on bullseye without vboxsf even on a ext4 filesystem. Am Mittwoch, 21. April 2021, 20:49:14 CEST schrieb David Wright: [...deleted a lot of history] > > -> buster emacs did not care at all about .# on filesystems which do not &g

Re: Strange emacs behavior after upgrade to bullseye

2021-04-21 Thread David Wright
The error does NOT say "Permission denied". > > > > FWIW, the error comes from Emacs's own locking code which doesn't seem > > to use unix file locking, so the problem comes from elsewhere. > > > > Emacs implements its locking protocol

Re: Strange emacs behavior after upgrade to bullseye

2021-04-20 Thread Rainer Dorsch
mes from Emacs's own locking code which doesn't seem > to use unix file locking, so the problem comes from elsewhere. > > Emacs implements its locking protocol using symlinks with names > that look like `.#` and whose content looks like > `u...@host.pid:BOOT_TIME`. > &

Re: Strange emacs behavior after upgrade to bullseye

2021-04-20 Thread Rainer Dorsch
> > > > For me the crucial message is > > > > > > > > basic-save-buffer-2: Unlocking file: Operation not permitted, > > > > /mnt/dor1rt/Local/ Managed/sb.blog > > > > > > Anyway, this is a good hint. See > > > > > >

Re: Strange emacs behavior after upgrade to bullseye

2021-04-20 Thread David Wright
og > > > > > > > > Anyway, this is a good hint. See > > > > > > > > "18.3.4 Protection against Simultaneous Editing" > > > > > > > > in the Emacs user manual (or, if you prefer reading in a browser, > > &g

Re: Strange emacs behavior after upgrade to bullseye

2021-04-20 Thread Stefan Monnier
>> Emacs implements its locking protocol using symlinks with names >> that look like `.#` and whose content looks like >> `u...@host.pid:BOOT_TIME`. > > Ah, good old dot-locking. Well, perhaps the OP can test whether it's > possible to create a symlink in that dir

Re: Strange emacs behavior after upgrade to bullseye

2021-04-20 Thread Greg Wooledge
mes from Emacs's own locking code which doesn't seem > to use unix file locking, so the problem comes from elsewhere. > > Emacs implements its locking protocol using symlinks with names > that look like `.#` and whose content looks like > `u...@host.pid:BOOT_TIME`. Ah, g

Re: Strange emacs behavior after upgrade to bullseye

2021-04-20 Thread Stefan Monnier
o the problem comes from elsewhere. Emacs implements its locking protocol using symlinks with names that look like `.#` and whose content looks like `u...@host.pid:BOOT_TIME`. Stefan "still not sure exactly where it goes wrong"

Re: Strange emacs behavior after upgrade to bullseye

2021-04-20 Thread Rainer Dorsch
Just another update which makes emacs behavior even stranger: Even though emacs reports when saving basic-save-buffer-2: Unlocking file: Operation not permitted, /mnt/dor1rt/Local/ Managed/sb.blog the file gets saved! I think somehow emacs gets out of sync with the real system. Rainer Am

Re: Strange emacs behavior after upgrade to bullseye

2021-04-20 Thread Greg Wooledge
window > system which uses NTFS (I think). From a permission perspective 777 should be > sufficient though. The question is why does emacs think that is not enough, > and > opens it as read-only? And even if I toggle the read-only mode, it complains > while writing... Because the er

Re: Strange emacs behavior after upgrade to bullseye

2021-04-20 Thread Rainer Dorsch
Am Montag, 19. April 2021, 22:25:44 CEST schrieb to...@tuxteam.de: > On Mon, Apr 19, 2021 at 06:48:41PM +0200, Rainer Dorsch wrote: > > Hello, > > > > I hit a strange emacs issue, which appeared after upgrading to bullseye (I > > think): > > > > I have a

Re: Strange emacs behavior after upgrade to bullseye

2021-04-20 Thread tomas
fer-2: Unlocking file: Operation not permitted, > > > /mnt/dor1rt/Local/ > > > Managed/sb.blog > > > > Anyway, this is a good hint. See > > > > "18.3.4 Protection against Simultaneous Editing" > > > > in the Emacs user manual (or,

Re: Strange emacs behavior after upgrade to bullseye

2021-04-20 Thread Greg Wooledge
Managed/sb.blog > > Anyway, this is a good hint. See > > "18.3.4 Protection against Simultaneous Editing" > > in the Emacs user manual (or, if you prefer reading in a browser, > here [1]. > > But your permissions set up is... strange. The above behaviou

Re: Strange emacs behavior after upgrade to bullseye

2021-04-20 Thread tomas
On Tue, Apr 20, 2021 at 12:00:05PM +0200, Rainer Dorsch wrote: > Am Montag, 19. April 2021, 22:25:44 CEST schrieb to...@tuxteam.de: [...] > > Perhaps Emacs is trying to write a backup file to the directory. > > Does it have write access to the containing directory? [...] >

Strange emacs behavior after upgrade to bullseye

2021-04-19 Thread Rainer Dorsch
Hello, I hit a strange emacs issue, which appeared after upgrading to bullseye (I think): I have a virtualbox filesystem mounted using the standard virtualbox mechanisms: rd@Testing:~$ mount |grep dor1rt dor1rt on /mnt/dor1rt type vboxsf (rw,nodev,relatime) rd@Testing:~$ rd@Testing:~$ ls -l

Re: Strange emacs behavior after upgrade to bullseye

2021-04-19 Thread tomas
On Mon, Apr 19, 2021 at 06:48:41PM +0200, Rainer Dorsch wrote: > Hello, > > I hit a strange emacs issue, which appeared after upgrading to bullseye (I > think): > > I have a virtualbox filesystem mounted using the standard virtualbox > mechanisms: > > rd@Testing:~$

pdf-tools, doc-view and emacs 27.1 in bullseye is very slow

2021-03-26 Thread Boyan Penkov
Hello folks, Just upgraded to bullseye, and pdf-tools and doc-view for the emacs folks is very different: -- startup is very slow, and emacs seems to stutter (like, pre-26, pre-threading...) on conversion. -- the place in the pdf is no longer reliably bookmarked -- doc-view-fit-to-width is no

[SOLVED] emacs problem: M-x write-abbrev-file does not seem to work.

2020-03-19 Thread Default User
On Thu, Mar 19, 2020 at 1:57 PM davidson wrote: > 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 gr

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

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 yo

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 answ

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

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

2020-03-18 Thread Default User
Hey, been working on this emacs problem all day. I'm running Unstable, up to date. Cinnamon DE. 64-bit. dummy@dummy:~$ sudo aptitude show emacs [sudo] password for default: Package: emacs Version: 1:26.3+1-1 New: yes State: installed Automatically installed: no Priority: optional Se

Re: apt-get build-dep emacs-gtk: unmet dependencies

2020-02-06 Thread Göktuğ Kayaalp
> It looks as though you have installed from security.debian.org but now > it's not in your sources.list. If you add a line like > > deb http://security.debian.org/ buster/updates main contrib non-free > > then do "apt-get update", does that help the "apt-get build-dep"? This seems to hav

Re: Re: apt-get build-dep emacs-gtk: unmet dependencies

2020-02-03 Thread Clive Standbridge
> > $ apt-cache policy libtiff-dev libtiff5 > > The command (w/ libidn2-0 added) reports: > > libtiff-dev: > Installed: (none) > Candidate: 4.0.10-4 > Version table: > 4.0.10-4 500 > 500 http://ftp.uk.debian.org/debian stable/main amd64 Packages > libtiff5: > Installed: 4.1.0

Re: apt-get build-dep emacs-gtk: unmet dependencies

2020-02-03 Thread Göktuğ Kayaalp
> You could try downgrading the two library packages explicitly: > > $ apt-get install libtiff5=1.0.10-4 libidn2-0=2.0.5-1 This is what I tried eventually, and it worked, thanks! > That might result in other errors if doing this breaks versioned > dependencies from other packages, but it's at lea

  1   2   3   4   5   6   7   8   9   10   >