From: Glenn Morris <rgm@gnu.org>
To: 16682-done@debbugs.gnu.org
Subject: bug#16682: 24.3.50; Cannot edit abbrevs
Date: Fri, 07 Feb 2014 20:27:32 -0500 [thread overview]
Message-ID: <be8utm2y2j.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <52F4FD70.7080302@miszellen.de> (Florian Beck's message of "Fri, 07 Feb 2014 16:36:16 +0100")
Version: 24.4
Florian Beck wrote:
> emacs -Q
> M-x edit-abbrevs
>
> But there doesn't seem to be a way to edit anything. I.e. alphanumeric
> keys are undefined.
Ha, deriving an editing mode from special-mode was an interesting choice. :)
This should fix it:
*** lisp/abbrev.el 2014-01-06 23:34:05 +0000
--- lisp/abbrev.el 2014-02-08 01:26:13 +0000
***************
*** 1007,1013 ****
;; Keep it after define-abbrev-table, since define-derived-mode uses
;; define-abbrev-table.
! (define-derived-mode edit-abbrevs-mode special-mode "Edit-Abbrevs"
"Major mode for editing the list of abbrev definitions.")
(provide 'abbrev)
--- 1007,1013 ----
;; Keep it after define-abbrev-table, since define-derived-mode uses
;; define-abbrev-table.
! (define-derived-mode edit-abbrevs-mode fundamental-mode "Edit-Abbrevs"
"Major mode for editing the list of abbrev definitions.")
(provide 'abbrev)
prev parent reply other threads:[~2014-02-08 1:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-07 15:36 bug#16682: 24.3.50; Cannot edit abbrevs Florian Beck
2014-02-08 1:27 ` Glenn Morris [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=be8utm2y2j.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=16682-done@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).