GNU bug report logs - #16788
local abbrev-file-name ignored

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Tue, 18 Feb 2014 07:03:02 UTC

Severity: wishlist

Tags: wontfix

Merged with 16790

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: 16788 <at> debbugs.gnu.org
Subject: bug#16788: local abbrev-file-name ignored
Date: Sun, 30 May 2021 07:00:42 +0200
Andreas Röhler <andreas.roehler <at> easy-emacs.de> writes:

> from Emacs -Q
>
> First line in buffer contains
>
> -*- abbrev-file-name: "PATH/TO/LOKAL_ABBREV_FILE" -*-
>
> M-x add-mode-abbrev RET ...
>
> stores an abbrev.
>
> After M-x edit-abbrev RET ...
>
> saving the result however stores it into the default abbrev-file.

(I'm going through old bug reports that unfortunately got no response at
the time.)

If I understand this report correctly, the request here is really to
support buffer-local abbrev-file-name variables, which abbrev.el doesn't
really do at all today.  Skimming the code and the documentation, it
doesn't seem like abbrev supports anything like that -- it has one
global variable for all the abbrevs, so even if we had a buffer-local
file name, all the abbrevs would end up there?

So supporting this would be a major rewrite of abbrevs, and I haven't
really seen any other requests for that, so I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 359 days ago.

Previous Next


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