unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#16788: local abbrev-file-name ignored
@ 2014-02-18  7:05 Andreas Röhler
  2021-05-30  5:00 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Röhler @ 2014-02-18  7:05 UTC (permalink / raw)
  To: 16788

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.

;;;;;;;;
GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10)





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#16788: local abbrev-file-name ignored
  2014-02-18  7:05 bug#16788: local abbrev-file-name ignored Andreas Röhler
@ 2021-05-30  5:00 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-05-30  5:00 UTC (permalink / raw)
  To: Andreas Röhler; +Cc: 16788

Andreas Röhler <andreas.roehler@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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-30  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-18  7:05 bug#16788: local abbrev-file-name ignored Andreas Röhler
2021-05-30  5:00 ` Lars Ingebrigtsen

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).