From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Josh Newsgroups: gmane.emacs.bugs Subject: bug#17401: 24.4.50; Narrow to {region,page,defun} in an indirect clone buffer in the other window Date: Sat, 10 May 2014 13:57:43 -0700 Message-ID: References: <53661891.40206@orcon.net.nz> <536E2451.3090808@orcon.net.nz> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1399755564 15370 80.91.229.3 (10 May 2014 20:59:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 May 2014 20:59:24 +0000 (UTC) Cc: 17401@debbugs.gnu.org, contact@zaneashby.co.nz To: Phil Sainty Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 10 22:59:17 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WjEMW-0002fQ-VT for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 May 2014 22:59:17 +0200 Original-Received: from localhost ([::1]:58909 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjEMW-0004bU-MW for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 May 2014 16:59:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjEMP-0004bL-QJ for bug-gnu-emacs@gnu.org; Sat, 10 May 2014 16:59:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjEMI-0001nx-Bg for bug-gnu-emacs@gnu.org; Sat, 10 May 2014 16:59:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjEMI-0001nt-8B for bug-gnu-emacs@gnu.org; Sat, 10 May 2014 16:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WjEMH-0000CW-RK for bug-gnu-emacs@gnu.org; Sat, 10 May 2014 16:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Josh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 May 2014 20:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17401 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17401-submit@debbugs.gnu.org id=B17401.1399755502709 (code B ref 17401); Sat, 10 May 2014 20:59:01 +0000 Original-Received: (at 17401) by debbugs.gnu.org; 10 May 2014 20:58:22 +0000 Original-Received: from localhost ([127.0.0.1]:58422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WjELd-0000BJ-S9 for submit@debbugs.gnu.org; Sat, 10 May 2014 16:58:22 -0400 Original-Received: from mail-yh0-f51.google.com ([209.85.213.51]:59866) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WjELb-0000Ay-4n for 17401@debbugs.gnu.org; Sat, 10 May 2014 16:58:20 -0400 Original-Received: by mail-yh0-f51.google.com with SMTP id f73so425741yha.10 for <17401@debbugs.gnu.org>; Sat, 10 May 2014 13:58:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=CW4MDFE96oDM38IIJaOXuLxFNuxfp/gfC/dVxtqf97s=; b=GyJDBAMi3ACT4V6SlUpIwIl8tMYotZ2GMK8ne70TJoTU/tTti56R3+vZcSK8D0rspv Bxi/+Yr3jlYDyEl8g6Wb5lbakW0TgdzzG2wcfuIbswuOmyhzZ5Xyy+73U9LetqVdLMfC PHuSd2WkpF2LozP4waqcEFG/UfBDj4BBT2euiveiHEkui/VrIpZnKMPKeJM+R9nOBEB9 rZC7cFfK+jTM3WDuXWgVqm0cBFlPCCGoqL1h26VvdPAvtVKW5zoyKRdsaBj2fXsZp1/W bv7fDIkuIuZ8wjuZE5M93FAa/Ld13ZQmglPEtoYi5HC6Vap3fZ1dCme1KD0eWm7se1i0 lUKg== X-Gm-Message-State: ALoCoQkjWK4YXdoavK+IkompYcTNIDYzfIbmRWWNq7NlqPTi9rqIu2xxQ4gNDRU/RcJrVFiLtEzP X-Received: by 10.236.137.8 with SMTP id x8mr26466136yhi.4.1399755493382; Sat, 10 May 2014 13:58:13 -0700 (PDT) Original-Received: by 10.170.117.65 with HTTP; Sat, 10 May 2014 13:57:43 -0700 (PDT) In-Reply-To: <536E2451.3090808@orcon.net.nz> X-Google-Sender-Auth: DZiaK9MktOZnCGHAlqjpAhDskKA X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:88870 Archived-At: On Sat, May 10, 2014 at 6:06 AM, Phil Sainty wrote: > I've also noticed there are some org-mode specific narrowing > commands as well, which should probably be supported. I did > consider whether we could support all existing narrowing commands > automagically with some trickery, but I concluded that the only > approach I could think of was too convoluted and brittle for its > own good, so I think simply adding a new function alongside each > existing one is still the most practical way to go. > > Do we want both a `narrow-to-*-indirect' and an `...-other-window' > variant for each case? I think the latter works very nicely with > the C-x 4 n prefix (as per the initial patch), but I can see the > utility in providing both functions. What about doing something like `append-next-kill', for example a new `next-narrow-indirect' command bound to `C-x n i'?