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 #59 received at 45693 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
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: Tue, 12 Jan 2021 18:59:22 +0100
Uwe Brauer <oub <at> mat.ucm.es> writes:

>> Uwe Brauer <oub <at> mat.ucm.es> writes:
>
>> What's your 'abbrev-file-name' set to? Emacs uses 'load' to read it,
>> so it should be a complete pathname, ie "~/.abbrev_defs", or it should
>> be in your 'load-path' somewhere.
>
> Good and bad news. I repeated the test carefully looking around for old
> abbrev.el or .abbrev_defs file.
>
>     1. Good, I can confirm that your patched abbrev.el works in the
>        sense that write-abbrev-file does not destroy the properties of
>        the table.
>
>     2. However I tried to add a local abbrev (or an inverse local
>        abbrev) in the fundamental mode, but I obtain 
>
> obarray-get: Wrong type argument: vectorp, ([## 0 0 0 0 0 0 0 0 0 ...] [## 0 0 0 0 0 0 0 0 0 ...]) [2 times]

Could you tell me exactly what you did? I suspect there are more
places that are not aware of the :parents property that need fixing.

> That is maybe the reason I run into difficulties if I want to use
> flyspell's abbrev mode if a correction occurs. 

I donʼt use flyspell. Tell me more and we can look at fixing that as
well.

Robert




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.