From: Alex Branham <alex.branham@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 30737@debbugs.gnu.org
Subject: bug#30737: [patch] global-abbrev-mode
Date: Wed, 07 Mar 2018 13:08:24 -0600 [thread overview]
Message-ID: <87d10fputz.fsf@gmail.com> (raw)
In-Reply-To: <831sgvrce5.fsf@gnu.org>
On Wed 07 Mar 2018 at 12:03, Eli Zaretskii <eliz@gnu.org> wrote:
> But what if you have a variable in a program called "teh"? Or, as a
> more practical use case, consider this: in a few places in Emacs we
> have a variable named "defalt", because using "default" gets in the
> way for some reason. Having this turned on globally will silently
> "correct" these variable names, and could cause you real trouble.
That's a fair worry. Ideally, what I'd like is to be able to use these
frequent misspells in much the same was I can use flyspell such that it
turns on in text modes and in comments in prog-modes. I'm not sure how
to implement that, though.
Maybe we could modify flyspell to do these quick auto-replacements using
its own abbrev table? Or something similar to an abbrev table, since
those are per-major mode...
Alex
next prev parent reply other threads:[~2018-03-07 19:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-06 23:27 bug#30737: [patch] global-abbrev-mode Alex Branham
2018-03-07 17:09 ` Eli Zaretskii
2018-03-07 17:18 ` Alex Branham
2018-03-07 18:03 ` Eli Zaretskii
2018-03-07 19:08 ` Alex Branham [this message]
2019-06-24 20:00 ` Lars Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d10fputz.fsf@gmail.com \
--to=alex.branham@gmail.com \
--cc=30737@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.