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

To reply to this bug, email your comments to 71108 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#71108; Package emacs. (Wed, 22 May 2024 08:35:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Röhler <andreas.roehler <at> easy-emacs.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 22 May 2024 08:35:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 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 185 days ago.

Previous Next


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