GNU bug report logs - #28337
25.2; make clear(er) that `visual-line-mode' is not global

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 3 Sep 2017 14:53:02 UTC

Severity: normal

Found in version 25.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28337 in the body.
You can then email your comments to 28337 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#28337; Package emacs. (Sun, 03 Sep 2017 14:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Drew Adams <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 03 Sep 2017 14:53:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.2; make clear(er) that `visual-line-mode' is not global
Date: Sun, 3 Sep 2017 07:51:37 -0700 (PDT)
It doesn't seem clear enough, from either the doc string or (emacs)
Visual Line Mode, that the mode is not global.  There is some mention of
"the buffer", but that could easily be read as referring to the current
buffer in the context of a global minor mode.

It would help if the doc stated explicitly that the minor mode is local
to the current buffer.  This might, in fact, be the case for other
(all?) non-global minor modes.

Originally global minor modes were relatively rare.  I think this may no
longer be the case (in number they are likely still less common than
non-global ones, but perhaps not in frequency of use - dunno).  The doc
for a global or globalized minor mode makes clear that the effect is
global. I'm not sure that the doc for a non-global one makes clear that
the effect is only for the current buffer.

Here is one possible case of confusion by a user.  (Not sure there was
this confusion; it could be just not knowing about hooks.)

https://emacs.stackexchange.com/q/35263/105


In GNU Emacs 25.2.1 (x86_64-w64-mingw32)
 of 2017-04-24 built on LAPHROAIG
Windowing system distributor 'Microsoft Corp.', version 6.1.7601
Configured using:
 'configure --without-dbus --without-compress-install 'CFLAGS=-O2
 -static -g3''




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sun, 03 Sep 2017 15:22:02 GMT) Full text and rfc822 format available.

Notification sent to Drew Adams <drew.adams <at> oracle.com>:
bug acknowledged by developer. (Sun, 03 Sep 2017 15:22:02 GMT) Full text and rfc822 format available.

Message #10 received at 28337-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 28337-done <at> debbugs.gnu.org
Subject: Re: bug#28337: 25.2;
 make clear(er) that `visual-line-mode' is not global
Date: Sun, 03 Sep 2017 18:21:35 +0300
> Date: Sun, 3 Sep 2017 07:51:37 -0700 (PDT)
> From: Drew Adams <drew.adams <at> oracle.com>
> 
> It would help if the doc stated explicitly that the minor mode is local
> to the current buffer.

Done, thanks.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 02 Oct 2017 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 262 days ago.

Previous Next


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