* bug#5580: 23.1.91; doc string of toggle-truncate-lines
@ 2010-02-15 4:33 Drew Adams
2011-07-13 16:40 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2010-02-15 4:33 UTC (permalink / raw)
To: 5580
Doc string:
"Toggle whether to fold or truncate long lines for the current buffer.
With prefix argument ARG, truncate long lines if ARG is positive,
otherwise don't truncate them...."
The first sentence is incorrect. What it says is that the function
toggles whether to fold-or-truncate, that is, it turns
folding-or-truncating alternately on and off (whatever that might
mean).
That's not what it does. What it does is what the doc string used
to say it does, prior to Emacs 22: it _toggles truncating_.
Do not try to say, in the same sentence, that turning off
truncating means turning on folding. Say that separately.
What the doc string should say:
"Toggle truncating of long lines for the current buffer.
When truncating is off, long lines are folded.
With prefix argument ARG, truncate long lines if ARG is positive,
otherwise fold them...."
In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
of 2009-07-29 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#5580: 23.1.91; doc string of toggle-truncate-lines
2010-02-15 4:33 bug#5580: 23.1.91; doc string of toggle-truncate-lines Drew Adams
@ 2011-07-13 16:40 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-07-13 16:40 UTC (permalink / raw)
To: Drew Adams; +Cc: 5580
"Drew Adams" <drew.adams@oracle.com> writes:
> What the doc string should say:
>
> "Toggle truncating of long lines for the current buffer.
> When truncating is off, long lines are folded.
> With prefix argument ARG, truncate long lines if ARG is positive,
> otherwise fold them...."
Thanks; I've installed this version.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-13 16:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-15 4:33 bug#5580: 23.1.91; doc string of toggle-truncate-lines Drew Adams
2011-07-13 16:40 ` Lars Magne Ingebrigtsen
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.