From: David Reitter <david.reitter@gmail.com>
To: Emacs Development <emacs-devel@gnu.org>
Subject: visual-line-mode and word-wrap
Date: Thu, 27 Aug 2009 16:55:16 -0400 [thread overview]
Message-ID: <7FFBB3BD-EB4B-45A3-B7A1-468D7D124706@gmail.com> (raw)
Can I suggest to change the doc string of "visual-line-mode"?
It says "Redefine simple editing commands to act on visual lines, not
logical lines
This also turns on `word-wrap' in the buffer.".
What it should say is something like this:
"Use logical lines to identify paragraphs.
This mode wraps visual lines at word boundaries according to
window width (`word-wrap'). Editing commands are set to act
on visual lines (`line-move-visual')."
The focus is different here and in line with the manual:
http://www.gnu.org/software/emacs//manual/html_node/emacs/Visual-Line-Mode.html
I think the current doc string, and the name "visual-line-mode" can
cause users to mistake it for a mode that primarily sets movement
commands to move by visual lines. At least it confused me.
It seems to me that you usually want visual navigation also when
you've got word wrapping enabled.
However, the converse is not true: you may want visual navigation, but
you don't need word wrapping.
"visual-line-mode" enables word wrapping and visual navigation, so it
should be seen as a soft-wrap mode rather than a visual navigation mode.
A name like "word-wrap-mode" would be a lot better than "visual-line-
mode", but it's a bit late for that. The menu entry gets this right.
reply other threads:[~2009-08-27 20:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=7FFBB3BD-EB4B-45A3-B7A1-468D7D124706@gmail.com \
--to=david.reitter@gmail.com \
--cc=emacs-devel@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.