GNU bug report logs - #5937
23.1.95; why saving empty abbrev tables

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Mon, 12 Apr 2010 15:24:02 UTC

Severity: minor

Fixed in version 24.1

Done: Leo <sdl.web <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Leo <sdl.web <at> gmail.com>
Cc: 5937 <at> debbugs.gnu.org
Subject: Re: bug#5937: 23.1.95; why saving empty abbrev tables
Date: Mon, 28 Mar 2011 11:09:34 -0400
>> write-abbrev-file may be called from a non-"edit-abbrevs" buffer
>> (e.g. from save-some-buffer), so I think that calling
>> edit-abbrevs-redefine from it is problematic.  Is there a particular
>> reason why you put the call to edit-abbrevs-redefine in
>> write-abbrev-file rather than in abbrev-save-buffer.
> Good point. I missed it. I want C-x C-w to also redefine the abbrevs if
> it is called in that editing buffer. Do you mind if I do something like
> the following in write-abbrev-file:

>  (and (derived-mode-p 'edit-abbrevs-mode)
>       (edit-abbrevs-redefine))

I'd rather call edit-abbrevs-redefine from the new command you'll bind
to C-x C-w.


        Stefan




This bug report was last modified 14 years and 116 days ago.

Previous Next


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