From: Alan Mackenzie <acm@muc.de>
To: 16770@debbugs.gnu.org
Subject: bug#16770: Erroneous interaction between electric-indent-mode and electric-indent-local-mode
Date: Sun, 16 Feb 2014 17:12:14 +0000 [thread overview]
Message-ID: <20140216171214.GB3058@acm.acm> (raw)
Hi, Emacs.
1. Start emacs -Q.
2. Visit, successively, two random buffers foo and bar.
3. In buffer foo, do M-x electric-indent-local-mode.
4. In buffer bar, do M-x electric-indent-mode.
Both buffers now have e-i-mode disabled.
5. Still in buffer bar, do M-x electric-indent-mode.
This, being a global mode, should enable e-i-mode in all buffers. But
in buffer foo, electric-indent-mode remains disabled. This is a bug.
Suggestion for a fix: make electric-indent-local-mode a self-sufficient
minor mode, and define electric-indent-mode with
define-globalized-minor-mode.
--
Alan Mackenzie (Nuremberg, Germany).
next reply other threads:[~2014-02-16 17:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-16 17:12 Alan Mackenzie [this message]
2014-02-18 16:40 ` bug#16770: Erroneous interaction between electric-indent-mode and electric-indent-local-mode Stefan Monnier
2014-02-18 18:26 ` Stefan Monnier
2014-03-20 18:09 ` Stefan
2016-02-05 20:10 ` Glenn Morris
2019-09-30 4:00 ` Stefan Kangas
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=20140216171214.GB3058@acm.acm \
--to=acm@muc.de \
--cc=16770@debbugs.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 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).