[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: better `up-list' for emacs-lisp, fundamental modes
From: |
Stefan Monnier |
Subject: |
Re: better `up-list' for emacs-lisp, fundamental modes |
Date: |
Tue, 22 Feb 2005 12:57:50 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> While I'd love the added functionality of being able to hop out of a
> string in general, the main point of my report has to do with parens,
> not strings, like this situation --
In text mode, there are no strings, which is why it appears to work.
> (concat "this-is-a-string" "--this-is-too")
> ^ ;=> up-list: Scan error: "Unbalanced parentheses", 656 771
Try this:
(concat "hello (" var ") there")
^
with your suggestion of ignoring " (and hence in text-mode), in the above
scenario, you'd jump to the paren inside the string, which is wrong.
Stefan
Re: better `up-list' for emacs-lisp, fundamental modes, Richard Stallman, 2005/02/23