unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: sdl.web@gmail.com
Cc: emacs-devel@gnu.org
Subject: Re: [sdl.web@gmail.com: misbehaviour of outline-backward-same-level]
Date: Fri, 13 Apr 2007 10:08:23 +0200	[thread overview]
Message-ID: <874pnk1ytk.fsf@ambire.localdomain> (raw)
In-Reply-To: <E1HcAnI-0001ii-Oq@fencepost.gnu.org> (Richard Stallman's message of "Thu\, 12 Apr 2007 21\:41\:44 -0400")

() Richard Stallman <rms@gnu.org>
() 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

  reply	other threads:[~2007-04-13  8:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-13  1:41 [sdl.web@gmail.com: misbehaviour of outline-backward-same-level] Richard Stallman
2007-04-13  8:08 ` Thien-Thi Nguyen [this message]
2007-04-13  8:36   ` Leo
2007-04-13  8:52     ` Leo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874pnk1ytk.fsf@ambire.localdomain \
    --to=ttn@gnuvola.org \
    --cc=emacs-devel@gnu.org \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).