From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: [sdl.web@gmail.com: misbehaviour of outline-backward-same-level] Date: Fri, 13 Apr 2007 10:08:23 +0200 Message-ID: <874pnk1ytk.fsf@ambire.localdomain> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1176451751 26135 80.91.229.12 (13 Apr 2007 08:09:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Apr 2007 08:09:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: sdl.web@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 13 10:09:10 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 1HcGqD-000110-8p for ged-emacs-devel@m.gmane.org; Fri, 13 Apr 2007 10:09:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HcGuR-0005u4-Uv for ged-emacs-devel@m.gmane.org; Fri, 13 Apr 2007 04:13:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HcGuO-0005sh-9G for emacs-devel@gnu.org; Fri, 13 Apr 2007 04:13:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HcGuL-0005m7-SD for emacs-devel@gnu.org; Fri, 13 Apr 2007 04:13:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HcGuL-0005lI-Mj for emacs-devel@gnu.org; Fri, 13 Apr 2007 04:13:25 -0400 Original-Received: from smtp-out3.libero.it ([212.52.84.43]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HcGq3-0008Tj-Lw for emacs-devel@gnu.org; Fri, 13 Apr 2007 04:09:00 -0400 Original-Received: from localhost (172.31.0.41) by smtp-out3.libero.it (7.3.120) id 4611FE5E00A0F3A7; Fri, 13 Apr 2007 10:08:21 +0200 X-Scanned: with antispam and antivirus automated system at libero.it Original-Received: from smtp-out1.libero.it ([172.31.0.37]) by localhost (asav-out1.libero.it [192.168.32.29]) (amavisd-new, port 10024) with ESMTP id FRZnY8m4FoPq; Fri, 13 Apr 2007 10:08:20 +0200 (CEST) Original-Received: from ambire.localdomain (151.21.32.188) by smtp-out1.libero.it (7.3.120) id 4611FC9100F79017; Fri, 13 Apr 2007 10:08:20 +0200 Original-Received: from ttn by ambire.localdomain with local (Exim 4.50) id 1HcGpV-0000hn-5r; Fri, 13 Apr 2007 10:08:25 +0200 In-Reply-To: (Richard Stallman's message of "Thu\, 12 Apr 2007 21\:41\:44 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.97 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 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:69369 Archived-At: () 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. 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? thi