unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Richard M. Stallman" <rms@gnu.org>
Cc: bob@rattlesnake.com, emacs-devel@gnu.org
Subject: Re: goto-line trouble with narrowing
Date: Fri, 27 Jan 2006 17:32:45 -0500	[thread overview]
Message-ID: <E1F2c97-0001Al-Kw@fencepost.gnu.org> (raw)
In-Reply-To: <m1F2AUi-0004QMC@rattlesnake.com> (bob@rattlesnake.com)

    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	other threads:[~2006-01-27 22:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-26 17:01 goto-line trouble with narrowing Robert J. Chassell
2006-01-27 22:32 ` Richard M. Stallman [this message]
2006-01-28 19:14   ` Robert J. Chassell
2006-01-30  0:56     ` Richard M. Stallman
2006-01-30 16:57   ` Kevin Rodgers
2006-01-30 18:48     ` Kevin Rodgers
2006-01-30 19:57       ` Johan Bockgård
2006-01-31 19:53         ` Kevin Rodgers
2006-02-01  7:52           ` Johan Bockgård
2006-01-30 22:31     ` Lennart Borgman
2006-01-31 18:06       ` Richard M. Stallman

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1F2c97-0001Al-Kw@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=bob@rattlesnake.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 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).