emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: goto-line trouble with narrowing


From: Richard M. Stallman
Subject: Re: goto-line trouble with narrowing
Date: Fri, 27 Jan 2006 17:32:45 -0500

    The defun for `goto-line' in emacs/lisp/simple.el specifically calls

        (widen)

    on the buffer before moving to the specified line number.  I don't
    know whether this is intended.

That line wasn't written by accident!

The most common use of goto-line is to go to a line number
that you got from some other program.  That program normally
operates on the whole file.  For goto-line to use a narrowed
line number would hardly ever be useful.

    If it is intended, the documentation should be modified in
    (emacs)Optional Mode Line

I don't see anything about goto-line in that node.
The text looks correct to me.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]