GNU bug report logs - #71108
30.0.50; ‘edit-abbrevs’ destroys setting of :enable-function

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Wed, 22 May 2024 08:35:01 UTC

Severity: normal

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: 71108 <at> debbugs.gnu.org
Subject: bug#71108: 30.0.50; ‘edit-abbrevs’ destroys setting of :enable-function
Date: Wed, 22 May 2024 10:34:19 +0200
Hi,

abbrev feature ‘:enable-function’ auto-registers here my ‘scala-cli’ 
just when opening it.
Feels pretty cool, thanks.

Unfortunately, calling ‘M-x edit-abbrevs ...’ and save destroys setting 
of :enable-function

Below the result of the last edit, which was intended to remove

("p" "(push" nil :count 0)

---

diff -b -u -r1.152 .abbrev_defs
--- .abbrev_defs    2024/05/22 07:42:36    1.152
+++ .abbrev_defs    2024/05/22 07:52:31
@@ -5473,7 +5473,6 @@
[...]
-    ("p" "(push" nil :count 0)
[...]
@@ -7622,7 +7621,7 @@
[...]
-    ("sc" "scala-cli" nil :count 14 :enable-function (lambda nil 
(window-configuration-to-register 121)))
+    ("sc" "scala-cli" nil :count 14)
[...]

---
emacs -Q
GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, 
cairo version 1.16.0) of 2024-05-21





This bug report was last modified 1 year and 23 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.