[Top][All Lists]

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

bug#20761:, beginning-of-defun matches inside string

From: Nicolas Richard
Subject: bug#20761:, beginning-of-defun matches inside string
Date: Mon, 08 Jun 2015 07:18:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Andreas Röhler <address@hidden> writes:
> Am 07.06.2015 um 20:13 schrieb Glenn Morris:
>> Andreas Röhler wrote:
>>> (defun asdf ()
>>>    "
>>> (defun foo1 (&optional beg end)
>>>    sdsd"
>>> )
>> Unescaped paren in column 0.
> Can't a string have that?

They can, but the convention is to not do that :
(info "(emacs) Left Margin Paren")

It's also in the docstring of beginning-of-defun
> When `open-paren-in-column-0-is-defun-start' is non-nil, a defun
> is assumed to start where there is a char with open-parenthesis
> syntax at the beginning of a line.


reply via email to

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