From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#16328: 24.3.50; [PATCH] Enable narrowing to defun with function header comments also visible Date: Thu, 03 Jul 2014 22:04:18 -0400 Message-ID: References: <52C67B72.3010607@orcon.net.nz> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1404439533 16915 80.91.229.3 (4 Jul 2014 02:05:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jul 2014 02:05:33 +0000 (UTC) Cc: 16328-done@debbugs.gnu.org To: Phil Sainty Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 04 04:05:26 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 1X2ssL-0007gl-Qz for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Jul 2014 04:05:21 +0200 Original-Received: from localhost ([::1]:34152 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2ssL-0005PZ-A6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Jul 2014 22:05:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2ssA-0005NQ-Hi for bug-gnu-emacs@gnu.org; Thu, 03 Jul 2014 22:05:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2ss3-00043o-2L for bug-gnu-emacs@gnu.org; Thu, 03 Jul 2014 22:05:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2ss2-00043c-WC for bug-gnu-emacs@gnu.org; Thu, 03 Jul 2014 22:05:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X2ss2-0006gh-PK for bug-gnu-emacs@gnu.org; Thu, 03 Jul 2014 22:05:02 -0400 Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Jul 2014 02:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 16328 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 16328@debbugs.gnu.org, monnier@iro.umontreal.ca, psainty@orcon.net.nz Original-Received: via spool by 16328-done@debbugs.gnu.org id=D16328.140443946825656 (code D ref 16328); Fri, 04 Jul 2014 02:05:01 +0000 Original-Received: (at 16328-done) by debbugs.gnu.org; 4 Jul 2014 02:04:28 +0000 Original-Received: from localhost ([127.0.0.1]:42169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X2srT-0006fk-Nd for submit@debbugs.gnu.org; Thu, 03 Jul 2014 22:04:27 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:11693) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X2srQ-0006fT-Ty for 16328-done@debbugs.gnu.org; Thu, 03 Jul 2014 22:04:25 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVNLd+D9/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4mBwsUGA0kiAQI0hkXjnoHhDgEqRmBaoFxgVsh X-IPAS-Result: ArYGAIDvNVNLd+D9/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4mBwsUGA0kiAQI0hkXjnoHhDgEqRmBaoFxgVsh X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="76324500" Original-Received: from 75-119-224-253.dsl.teksavvy.com (HELO ceviche.home) ([75.119.224.253]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 03 Jul 2014 22:04:19 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id F1E3D660FA; Thu, 3 Jul 2014 22:04:18 -0400 (EDT) In-Reply-To: <52C67B72.3010607@orcon.net.nz> (Phil Sainty's message of "Fri, 03 Jan 2014 21:57:22 +1300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) 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:91167 Archived-At: Version:24.5 > This patch provides a new function `narrow-to-defun-including-comments' > to keep these comments visible when narrowing. I installed your patch into trunk, except that it only includes the narrow-to-defun-include-comments variable and no new command. Maybe we could make C-u toggle choose between the two behaviors. Or switch between the two choices when repeating the command. Thank you very much, and sorry for the delay, Stefan