GNU bug report logs - #45693
28.0.50; abbrev does not expand two words any more

Previous Next

Package: emacs;

Reported by: Uwe Brauer <oub <at> mat.ucm.es>

Date: Wed, 6 Jan 2021 15:56:02 UTC

Severity: normal

Found in version 28.0.50

Full log


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

From: Uwe Brauer <oub <at> mat.ucm.es>
To: Uwe Brauer <oub <at> mat.ucm.es>
Cc: larsi <at> gnus.org, 45693 <at> debbugs.gnu.org
Subject: Re: bug#45693: [two word expansion works, but write-abbrev-file
 destroys it]
Date: Wed, 13 Jan 2021 14:18:37 +0100
[Message part 1 (text/plain, inline)]
> Uwe Brauer <oub <at> mat.ucm.es> writes:

> Based on the code above, there is no list: youʼre unconditionally
> setting local-abbrev-table to a single table. You'd want something
> like:

> (define-minor-mode american-minor-mode 
>     nil nil nil nil
>     (setq local-abbrev-table
>           (if american-minor-mode
>               (list american-minor-mode-abbrev-table local-abbrev-table))))

Ok I did not think that through, you were referring to 
(setq local-abbrev-table (list my-abbrev-table fundamental-mode-abbrev-table))

And the question is what comes first in that list, right?

You asked whether to take the first or all elements of the list, would
it be very resource consuming to take all?
[smime.p7s (application/pkcs7-signature, attachment)]

This bug report was last modified 4 years and 156 days ago.

Previous Next


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