all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>
Cc: emacs-devel@gnu.org
Subject: Re: backward-up-list
Date: Wed, 17 Jul 2002 09:48:51 -0400	[thread overview]
Message-ID: <200207171348.g6HDmpt02497@rum.cs.yale.edu> (raw)
In-Reply-To: 3D3574F6.7030405@isogmbh.de

> I have found 'backward-up-list' not to work in some major modes when 
> point is in a string.

I'd expect it "not to work" in any major-mode.
backward-up-list as well as forward-sexp, backward-sexp, ... all
assume that the starting position is outside of any string and/or comment.
It's non-trivial to fix and sometimes people rely on the current behavior
so even if a technical solution comes around, it might be difficult
to use it because of the incompatible change in behavior.


	Stefan

PS: It "works" in text-mode simply because point cannot be in a string
    since there are no strings (or comments for that matter) in text-mode.

  reply	other threads:[~2002-07-17 13:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-17 13:45 backward-up-list Stephan Stahl
2002-07-17 13:48 ` Stefan Monnier [this message]
2002-07-18 14:55 ` backward-up-list Richard Stallman
2002-07-18 18:08   ` backward-up-list Henrik Enberg
2002-07-18 18:56     ` backward-up-list Stefan Monnier
2002-07-19 16:54     ` backward-up-list Richard Stallman
2002-07-19 17:52       ` backward-up-list Stefan Monnier
2002-07-20  0:35         ` backward-up-list Richard Stallman
2002-08-09  8:00           ` backward-up-list Stefan Monnier
2002-08-09  8:38             ` backward-up-list stl
2002-08-10 17:16             ` backward-up-list Richard Stallman
2002-07-20 22:02       ` backward-up-list Henrik Enberg

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

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

  git send-email \
    --in-reply-to=200207171348.g6HDmpt02497@rum.cs.yale.edu \
    --to=monnier+gnu/emacs@rum.cs.yale.edu \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.