all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Alex Branham <alex.branham@gmail.com>
Cc: 30737@debbugs.gnu.org
Subject: bug#30737: [patch] global-abbrev-mode
Date: Wed, 07 Mar 2018 20:03:46 +0200	[thread overview]
Message-ID: <831sgvrce5.fsf@gnu.org> (raw)
In-Reply-To: <87bmfzdct6.fsf@gmail.com> (message from Alex Branham on Wed, 07 Mar 2018 11:18:29 -0600)

> From: Alex Branham <alex.branham@gmail.com>
> Cc: 30737@debbugs.gnu.org
> Date: Wed, 07 Mar 2018 11:18:29 -0600
> 
> > Does it make sense to have it turned on in every single buffer?  What
> > major modes do you routinely use?
> 
> I use a mix of text modes (auctex, org, etc) and programming modes
> (python, ess, etc). I find it useful to have the global abbrev table
> collect common spelling mistakes or typos like teh and automatically
> correct them to "the".

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.

This is what I fear.





  reply	other threads:[~2018-03-07 18:03 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 [this message]
2018-03-07 19:08       ` Alex Branham
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=831sgvrce5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=30737@debbugs.gnu.org \
    --cc=alex.branham@gmail.com \
    /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.