GNU bug report logs - #16770
Erroneous interaction between electric-indent-mode and electric-indent-local-mode

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Sun, 16 Feb 2014 17:17:02 UTC

Severity: minor

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Kangas <stefan <at> marxist.se>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#16770: closed (Erroneous interaction between electric-indent-mode
 and electric-indent-local-mode)
Date: Mon, 30 Sep 2019 04:01:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 30 Sep 2019 06:00:07 +0200
with message-id <CADwFkm=ANbeUQnhJr90wARxwrVj7z_-HfS6wYy9uVE1NchysMQ <at> mail.gmail.com>
and subject line Re: bug#16770: Erroneous interaction between electric-indent-mode and electric-indent-local-mode
has caused the debbugs.gnu.org bug report #16770,
regarding Erroneous interaction between electric-indent-mode and electric-indent-local-mode
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
16770: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16770
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Alan Mackenzie <acm <at> muc.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Erroneous interaction between electric-indent-mode and
 electric-indent-local-mode
Date: Sun, 16 Feb 2014 17:12:14 +0000
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).


[Message part 3 (message/rfc822, inline)]
From: Stefan Kangas <stefan <at> marxist.se>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Alan Mackenzie <acm <at> muc.de>, 16770-done <at> debbugs.gnu.org,
 Stefan <monnier <at> iro.umontreal.ca>
Subject: Re: bug#16770: Erroneous interaction between electric-indent-mode and
 electric-indent-local-mode
Date: Mon, 30 Sep 2019 06:00:07 +0200
Glenn Morris <rgm <at> gnu.org> writes:

> It seems to me that the issues here that were going to get fixed, did,
> so I suggest closing it.

OK, closing this now.

Best regards,
Stefan Kangas


This bug report was last modified 5 years and 294 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.