all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 28337@debbugs.gnu.org
Subject: bug#28337: 25.2; make clear(er) that `visual-line-mode' is not global
Date: Sun, 3 Sep 2017 07:51:37 -0700 (PDT)	[thread overview]
Message-ID: <5c7d3ffd-b9ae-42f3-a5f5-135a1af6ed32@default> (raw)

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	other threads:[~2017-09-03 14:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-03 14:51 Drew Adams [this message]
2017-09-03 15:21 ` bug#28337: 25.2; make clear(er) that `visual-line-mode' is not global Eli Zaretskii

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=5c7d3ffd-b9ae-42f3-a5f5-135a1af6ed32@default \
    --to=drew.adams@oracle.com \
    --cc=28337@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 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.