From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: Re: [sdl.web@gmail.com: misbehaviour of outline-backward-same-level] Date: Fri, 13 Apr 2007 09:36:53 +0100 Message-ID: References: <874pnk1ytk.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1176453447 31590 80.91.229.12 (13 Apr 2007 08:37:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Apr 2007 08:37:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 13 10:37:25 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HcHHX-0004Dn-61 for ged-emacs-devel@m.gmane.org; Fri, 13 Apr 2007 10:37:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HcHLl-0006ka-U6 for ged-emacs-devel@m.gmane.org; Fri, 13 Apr 2007 04:41:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HcHLg-0006kE-7N for emacs-devel@gnu.org; Fri, 13 Apr 2007 04:41:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HcHLd-0006jT-MP for emacs-devel@gnu.org; Fri, 13 Apr 2007 04:41:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HcHLd-0006jQ-GH for emacs-devel@gnu.org; Fri, 13 Apr 2007 04:41:37 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HcHHM-0003kG-8R for emacs-devel@gnu.org; Fri, 13 Apr 2007 04:37:13 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HcHGt-0000cs-JU for emacs-devel@gnu.org; Fri, 13 Apr 2007 10:36:43 +0200 Original-Received: from sl392.st-edmunds.cam.ac.uk ([131.111.223.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Apr 2007 10:36:43 +0200 Original-Received: from sdl.web by sl392.st-edmunds.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Apr 2007 10:36:43 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 53 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: sl392.st-edmunds.cam.ac.uk User-Agent: No Gnus v0.6, Emacs/23.0.0.10 (2007-04-11), Fedora 6 gnu/linux Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAMFBMVEUaFRZLMy1dTENxVzKQ WiCrXQ97cmO/dSqSh3akjGTApXy5sJ7Sxo/Sz8Xo6eP9//xJbkruAAAAAWJLR0QAiAUdSAAAAAlw SFlzAAACxQAAAsUBidZ/7wAAAAd0SU1FB9cBBwMJOwHXewoAAAIBSURBVCjPVdNBiNNAFADQ6J4F x3hThHZBBC+WCFI8SS0iezRDcMHLHkLAg6gJH/fgYQ9xYlj2sLK4KHgqCgXFhda2Idmr4kkQPZQ0 nkQMbTypbMmMM2m7ZgYSmMef/5OZPwo7HFnx3uKPcmj0Dht1LWZJ+Hvr7dIFZXRUwl9VRTuuKDJ+ U44gjscknK4hhJaCkYRsWjmBtLqXlJAG2wipNe18OZJu1BBq1E8xafl4s6Jq2mUZGftU1y7CCxnp FVUDWJXx4C66BKBnErbuoaYNtoRTu6EZBsCbMn7W+5qOAR6WvxNOby9jHWC9hAf3n304CdiAByXs 3Nh9roLDkyb/sWV712vYwaLSAn8CPMHIAAzOPDKP2COAFm4Y4ODVWc6xG7KXsN7UeUJjjimx2uwd gCgNhr0i8C/xyCD5CiCKAMY3Bf5oDzx//w/fimscdcAZU2jv9sedx6+nYPPFIoWI/GK6QZ+EFGOR ErAjCnV3vPZ7XqlTIMbOLY7fLcvvmT7rXNWaGDexIY44N12TG2PDp7vqyl57dnCeuWwyNpnEURxk fTbDYeBnKRn4oejPYI4sH6WviBumEZ/GxX4X/x6EcURFZ7E071bjQGAxpcOAEOJuTiroDEea5Szv rVWLYfl7ZiQwSUToxrkux7OLixAWGz22+HIyWTRYcVfomOwvzusfjtVIGgLHf3MAAAAASUVORK5C YII= Cancel-Lock: sha1:RZxwrYo7W+3Tw0mtbAEgQutlGDk= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:69372 Archived-At: Dear Thien-Thi, ----- Thien-Thi Nguyen (2007-04-13) wrote:----- > () Richard Stallman > () Thu, 12 Apr 2007 21:41:44 -0400 > > `outline-backward-same-level' will move from a heading line to a > non-heading line when on the first level-1 heading. > > To reproduce: > o Open the attached file > o Go to "* Head 1" > o "C-c C-b" (which runs the command outline-backward-same-level) > o Cursor moved to the first line of the buffer > > docstring sez: > > Move backward to the ARG'th subheading at same level as this one. > Stop at the first and last subheadings of a superior heading. > > since there is no superior level for the top-level, the current > behavior seems reasonable. it is analogous to what happens when you > hold down `C-M-a' in ~/.emacs; it is coherent in that respect for the > general "go backward before first top-level" case. i see no need to > change it. However, C-M-e can then move back to the defun while C-c C-f ('outline-forward-same-level') won't, i.e. users are trapped in the area above the first heading. So it needs fixing, one way or the other. But for consistency, fixing C-c C-f is acceptable also. > if downstream code depends on some particular non-standard behavior, > then i would urge those dependencies to be examined and either removed > or reworked. > > on the other hand, in similar spirit i suggested postponing the > definition of `turn-off-hideshow' but that was not agreed upon, so > perhaps my interpretation of the vague concepts of cohesion, harmony > and long-term maintenance burden, are themselves not "in the outline" > (yuk yuk) of the emacs hackers' practice. > > in any case, what is the dependency? ie, how does org mode misbehave > given current `outline-backward-same-level' behavior? Org uses outline's functions for navigating. So it has exactly the same behavior as outline. regards, -- Leo (GPG Key: 9283AA3F)