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

2024-07-05 Thread Richard Owlett
he | 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 regexp f

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.

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

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

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

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

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

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

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread mick.crane
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 [...] 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

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

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].

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

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

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Max Nikulin
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 mead something like `libxml-parse-

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

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

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
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 _available_

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

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Dan Ritter
> > 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
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 take

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

Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread Richard Owlett
(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

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

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. &g

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
elf 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 expre

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:

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 reformatting

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 > like t

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 would >

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 forth, I don't

Re: emacs 27.1 from Buster work on Bookworm?

2024-03-16 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

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: Gestion de caractères accentués différentes entre xterm, d'autres émulateurs de terminal, et Emacs (locales correctes)

2022-11-23 Thread Md
Le mercredi 23 novembre 2022 à 08:50 +0100, Jean-Philippe Georget a écrit : > Bonjour, > > Tout d'abord, je remercie tous les participants à ce fil de discussion qui > m'ont permis de trouver une solution seulement aujourd'hui et après une bonne > petite heure de recherche et de tests (car,

Re: Gestion de caractères accentués différentes entre xterm, d'autres émulateurs de terminal, et Emacs (locales correctes)

2022-11-23 Thread Sébastien NOBILI
Bonjour, Le 2022-11-23 08:50, Jean-Philippe Georget a écrit : *Une explication* Merci pour l'explication :) Sébastien

Re: Gestion de caractères accentués différentes entre xterm, d'autres émulateurs de terminal, et Emacs (locales correctes)

2022-11-23 Thread Jean-Philippe Georget
Bonjour, Tout d'abord, je remercie tous les participants à ce fil de discussion qui m'ont permis de trouver une solution seulement aujourd'hui et après une bonne petite heure de recherche et de tests (car, oui, je n'ai pas trouvé tout de suite la solution ;-) *Le problème* Des caractères

Re : Gestion de caractères accentués différentes entre xterm, d'autres émulateurs de terminal, et Emacs (locales correctes)

2022-10-28 Thread nicolas . patrois
Le 28/10/2022 10:30:41, Sébastien NOBILI a écrit : > Pareil ici en lisant ton e-mail via Roundcube dans Firefox. Pareil avec Balsa. nicolas patrois : pts noir asocial -- RÉALISME M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? Un cerveau plus gros ? P : Non...

Re: Gestion de caractères accentués différentes entre xterm, d'autres émulateurs de terminal, et Emacs (locales correctes)

2022-10-28 Thread Sébastien NOBILI
Bonjour, Le 2022-10-28 06:51, Jean-Philippe Georget a écrit : Autre bizarrerie, un affichage du contenu du répertoire sous midnight commander (mc) affiche les deux noms de fichiers correctement. J'ai l'impression que les "é" sont affichés de la même manière à moins que ls différences soient

Re: Gestion de caractères accentués différentes entre xterm, d'autres émulateurs de terminal, et Emacs (locales correctes)

2022-10-28 Thread Haricophile
Le Fri, 28 Oct 2022 07:55:47 +0200 (CEST), Bernard Schoenacker a écrit : > Bonjour, > > Pour des raisons de commodités, je vous conseille de > passer par "detox" pour les noms de fichiers... Oui et non. C'est très bien pour mettre sur un serveur web pas UTF8 dans les URL, mais je dois être

Re: Gestion de caractères accentués différentes entre xterm, d'autres émulateurs de terminal, et Emacs (locales correctes)

2022-10-27 Thread Bernard Schoenacker
Bonjour, Pour des raisons de commodités, je vous conseille de passer par "detox" pour les noms de fichiers... Documentation : https://linux.die.net/man/1/detox https://forum.ubuntu-fr.org/viewtopic.php?id=282633 Merci pour votre aimable attention Bien à vous Bernard

Re: Gestion de caractères accentués différentes entre xterm, d'autres émulateurs de terminal, et Emacs (locales correctes)

2022-10-27 Thread Jean-Philippe Georget
les deux noms de fichiers correctement. J'ai l'impression que les "é" sont affichés de la même manière à moins que ls différences soient très subtiles. Le ven. 28 oct. 2022 11:10, Charles Plessy a écrit: > From: Charles Plessy > Subject: Re: Gestion de caractères accentués di

Re: Gestion de caractères accentués différentes entre xterm, d'autres émulateurs de terminal, et Emacs (locales correctes)

2022-10-27 Thread Charles Plessy
Le Fri, Oct 28, 2022 at 12:50:19AM +0200, Jean-Philippe Georget a écrit : > > Sous xterm, ce fichier s'affiche correctement comme "référent.pdf" avec la > commande "ls". > > Par contre, sous xfce4-terminal, il s'affiche bizarrement comme > "référent.pdf" (notez les accents décalés sur la

Gestion de caractères accentués différentes entre xterm, d'autres émulateurs de terminal, et Emacs (locales correctes)

2022-10-27 Thread Jean-Philippe Georget
ON="fr_FR.UTF-8" LC_ALL= J'ai ensuite pensé à un problème de fonte. Mon xfce4-terminal utilisait "Monospace Regular", j'ai alors testé d'autres fontes. J'arrive à résoudre le problème d'affichage mais pas celui de l'effacement expliqué plus haut, il y a toujours un décalag

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/.e

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 us

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

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

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: Re : emacs lisp et (- 0.07 0.18) et aussi SBCL

2021-10-25 Thread Basile Starynkevitch
On 25/10/2021 08:58, Marc Chantreux wrote: salut, Le Mon, Oct 25, 2021 at 08:14:04AM +0200, nicolas.patr...@gmail.com a écrit : Tu utilises un langage où les flottants sont des décimaux (ça doit bien exister) ou tu utilises Python avec le module decimal. Puisqu'on est dans les scheme/lisp:

Re: Re : emacs lisp et (- 0.07 0.18) et aussi SBCL

2021-10-25 Thread Marc Chantreux
salut, Le Mon, Oct 25, 2021 at 08:14:04AM +0200, nicolas.patr...@gmail.com a écrit : > Tu utilises un langage où les flottants sont des décimaux (ça doit > bien exister) ou tu utilises Python avec le module decimal. Puisqu'on est dans les scheme/lisp: c'est le cas de chicken: dpkg -S $(realpath

Re: Re : emacs lisp et (- 0.07 0.18) et aussi SBCL

2021-10-25 Thread Basile Starynkevitch
On 25/10/2021 08:14, nicolas.patr...@gmail.com wrote: Le 25/10/2021 00:42:11, kaliderus a écrit : J'imaginais ce genre de chose :-/ Et donc si quelqu'un veut faire par exemple du bancaire derrière, ou juste avoir un calcul exact (ce qui est mon cas), que lui conseiller ? J'imagine utiliser

Re : emacs lisp et (- 0.07 0.18) et aussi SBCL

2021-10-25 Thread nicolas . patrois
Le 25/10/2021 00:42:11, kaliderus a écrit : > J'imaginais ce genre de chose :-/ > Et donc si quelqu'un veut faire par exemple du bancaire derrière, ou > juste avoir un calcul exact (ce qui est mon cas), que lui conseiller ? > J'imagine utiliser une librairie adéquate (je n'ai pas encore >

Re: emacs lisp et (- 0.07 0.18) et aussi SBCL

2021-10-24 Thread kaliderus
> Si j'ai bonne mémoire, la norme Common Lisp impose le calcul en bignums > ou nombres à précision arbitrairement grande. > > Alors que GNU emacs utilise des flottants IEEE754. > J'imaginais ce genre de chose :-/ Et donc si quelqu'un veut faire par exemple du bancaire derrière, ou

Re: emacs lisp et (- 0.07 0.18) et aussi SBCL

2021-10-24 Thread Étienne Mollier
Bonjour, Basile Starynkevitch, on 2021-10-24: > On 24/10/2021 18:44, kaliderus wrote: > > J'avais déjà remarqué ce phénomène, et voici ce que me donne le > > résultat mentionné en objet > > (- 0.07 0.18) > > dans emacs : -0.10999 > > avec SBCL : -0.110

Re : emacs lisp et (- 0.07 0.18) et aussi SBCL

2021-10-24 Thread nicolas . patrois
Le 24/10/2021 18:44:28, kaliderus a écrit : > J'avais déjà remarqué ce phénomène, et voici ce que me donne le > résultat mentionné en objet > (- 0.07 0.18) > dans emacs : -0.10999 > avec SBCL : -0.1101 > Quelqu'un saurait-il me dire pourquoi ? Et en Python

Re: emacs lisp et (- 0.07 0.18) et aussi SBCL

2021-10-24 Thread Basile Starynkevitch
On 24/10/2021 18:44, kaliderus wrote: Bonjour la liste, J'avais déjà remarqué ce phénomène, et voici ce que me donne le résultat mentionné en objet (- 0.07 0.18) dans emacs : -0.10999 avec SBCL : -0.1101 Quelqu'un saurait-il me dire pourquoi ? Ce que je pourrai éventuellement

emacs lisp et (- 0.07 0.18) et aussi SBCL

2021-10-24 Thread kaliderus
Bonjour la liste, J'avais déjà remarqué ce phénomène, et voici ce que me donne le résultat mentionné en objet (- 0.07 0.18) dans emacs : -0.10999 avec SBCL : -0.1101 Quelqu'un saurait-il me dire pourquoi ? Ce que je pourrai éventuellement comprendre avec des très grands nombres

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/LoN17xVM/bug-3

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
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 using symlinks

Re: Strange emacs behavior after upgrade to bullseye

2021-04-20 Thread Rainer Dorsch
rom 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
te: > > > > 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 direc

Re: Strange emacs behavior after upgrade to bullseye

2021-04-20 Thread Greg Wooledge
rom 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, good old dot-loc

Re: Strange emacs behavior after upgrade to bullseye

2021-04-20 Thread Stefan Monnier
omes 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 hav

Re: Strange emacs behavior after upgrade to bullseye

2021-04-20 Thread tomas
-buffer-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

Emacs erreur de chemin vers clang-format.el

2020-12-11 Thread benoit
Bonjour à toutes et tous, J'ai commencé à rédiger ce courriel comme une question, mais j'ai trouvé la solution en cour de rédaction : Comment éviter de coder en dur "/usr/share/emacs/site-lisp/clang-format-11/clang-format.el" ? dans mon ficher de config d'emacs j'ai indiqué ça : (

[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 be a

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

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/soft

  1   2   3   4   5   6   7   8   9   10   >