unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13268: 24.3.50; out of date doc for `next-line'
@ 2012-12-24 15:31 Drew Adams
  2014-02-10  7:10 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2012-12-24 15:31 UTC (permalink / raw)
  To: 13268

The doc string was updated to take `line-move-visual' into account.
But only partially.  This part, I think, is not up-to-date:
 
 If you are thinking of using this in a Lisp program, consider
 using `forward-line' instead.  It is usually easier to use
 and more reliable (no dependence on goal column, etc.).
 
IIUC, `forward-line' is not going to do the job, if `line-move-visual'
is non-nil.  This part should tell Lisp users how to do the job of
moving forward a visual line.  IOW, give the equivalent, for visual
line movement, of using `forward-line' with logical lines.

In GNU Emacs 24.3.50.1 (i386-mingw-nt5.1.2600)
 of 2012-12-18 on MS-W7-DANI
Bzr revision: 111265 eliz@gnu.org-20121218190556-x9wmq083vwecgu0f
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.7) --no-opt --enable-checking --cflags
 -Ic:/emacs/libs/libXpm-3.5.10/include -Ic:/emacs/libs/libXpm-3.5.10/src
 -Ic:/emacs/libs/libpng-dev_1.4.3-1_win32/include
 -Ic:/emacs/libs/zlib-dev_1.2.5-2_win32/include
 -Ic:/emacs/libs/giflib-4.1.4-1-lib/include
 -Ic:/emacs/libs/jpeg-6b-4-lib/include
 -Ic:/emacs/libs/tiff-3.8.2-1-lib/include
 -Ic:/emacs/libs/libxml2-2.7.8-w32-bin/include/libxml2
 -Ic:/emacs/libs/gnutls-3.0.9-w32-bin/include
 -Ic:/emacs/libs/libiconv-1.9.2-1-lib/include'
 






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#13268: 24.3.50; out of date doc for `next-line'
  2012-12-24 15:31 bug#13268: 24.3.50; out of date doc for `next-line' Drew Adams
@ 2014-02-10  7:10 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2014-02-10  7:10 UTC (permalink / raw)
  To: Drew Adams; +Cc: 13268

"Drew Adams" <drew.adams@oracle.com> writes:

> The doc string was updated to take `line-move-visual' into account.
> But only partially.  This part, I think, is not up-to-date:
>
>  If you are thinking of using this in a Lisp program, consider
>  using `forward-line' instead.  It is usually easier to use
>  and more reliable (no dependence on goal column, etc.).
>
> IIUC, `forward-line' is not going to do the job, if `line-move-visual'
> is non-nil.  This part should tell Lisp users how to do the job of
> moving forward a visual line.  IOW, give the equivalent, for visual
> line movement, of using `forward-line' with logical lines.

It's just giving advice on how to avoid the complexities of visual line
movement, which you normally (never) want in a program.  So I don't see
the problem.  Closing.

-- 
(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:[~2014-02-10  7:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-24 15:31 bug#13268: 24.3.50; out of date doc for `next-line' Drew Adams
2014-02-10  7:10 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).