unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: 16788@debbugs.gnu.org
Subject: bug#16788: local abbrev-file-name ignored
Date: Sun, 30 May 2021 07:00:42 +0200	[thread overview]
Message-ID: <87wnrg4xz9.fsf@gnus.org> (raw)
In-Reply-To: <53030651.5000700@easy-emacs.de> ("Andreas Röhler"'s message of "Tue, 18 Feb 2014 08:05:53 +0100")

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





      reply	other threads:[~2021-05-30  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-18  7:05 bug#16788: local abbrev-file-name ignored Andreas Röhler
2021-05-30  5:00 ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wnrg4xz9.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=16788@debbugs.gnu.org \
    --cc=andreas.roehler@easy-emacs.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).