emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: beginning-of-defun (again)


From: David Kastrup
Subject: Re: beginning-of-defun (again)
Date: Thu, 29 Oct 2015 14:47:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Oleh Krehel <address@hidden> writes:

> David Kastrup <address@hidden> writes:
>
>> Oleh Krehel <address@hidden> writes:
>>
>>> Hi Andreas,
>>>
>>> Andreas Röhler <address@hidden> writes:
>>>
>>>> maybe it's time to have a reasonable default-behavior of
>>>> beginning-of-defun in Emacs Lisp.
>>>
>>> I think it works pretty well as is.
>>>
>>>> open-paren-in-column-0-is-defun-start
>>>
>>> It's a strange variable that doesn't seem to do anything.
>>
>> Huh?
>
> Please give an example then. I'm not able to see a difference when it's
> unset.

<URL:http://git.savannah.gnu.org/cgit/lilypond.git/commit/scm/define-grob-properties.scm?id=51172615f31aa2af30c0343b92f1cc372ef0ce91>

This is a Scheme file containing a large structure with multiline
strings.  Occasionally when working with this file, I have to reformat
strings which happened to have "(" after a newline after other people
worked on the file, in order to keep Emacs from misinterpreting the
context.  Such misinterpretation looks ugly in fontification and is a
real nuisance if you want to add several lines of new material and have
Emacs indent it since Emacs will not indent within "strings" (and when
it lost count of "..." pairs, that means everywhere where you'd want
it).

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]