From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: goto-line trouble with narrowing Date: Mon, 30 Jan 2006 23:31:51 +0100 Message-ID: <43DE93D7.2090104@student.lu.se> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1138660615 16086 80.91.229.2 (30 Jan 2006 22:36:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 Jan 2006 22:36:55 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 30 23:36:52 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F3hdj-0001Ep-BG for ged-emacs-devel@m.gmane.org; Mon, 30 Jan 2006 23:36:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F3hfi-0000RP-Ho for ged-emacs-devel@m.gmane.org; Mon, 30 Jan 2006 17:38:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F3heb-0008VU-Lt for emacs-devel@gnu.org; Mon, 30 Jan 2006 17:37:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F3hcC-0005bs-Rp for emacs-devel@gnu.org; Mon, 30 Jan 2006 17:35:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F3hbw-0005R2-W2 for emacs-devel@gnu.org; Mon, 30 Jan 2006 17:35:01 -0500 Original-Received: from [81.228.11.98] (helo=pne-smtpout1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F3haJ-0000Mg-S8 for emacs-devel@gnu.org; Mon, 30 Jan 2006 17:33:20 -0500 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout1-sn1.fre.skanova.net (7.2.069.1) id 43DE354100023509; Mon, 30 Jan 2006 23:31:52 +0100 User-Agent: Thunderbird 1.5 (Windows/20051201) Original-To: Kevin Rodgers In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:49795 Archived-At: Kevin Rodgers wrote: > goto-line already takes a prefix arg to mean a different buffer, > which is useful in the resulting *Shell Command Output* buffer, so I > guess I need to roll my own goto-line-in-narrowed-buffer command that > just omits the call to (widen). :-( This would be quite useful in many situations I believe. One such situations is editing part of a buffer in another mode in a cloned buffer narrowed to this part (multi-mode.el does this I think). Why not include both variants in Emacs?