bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Andreas Röhler
Subject: bug#20761: 25.0.50.1, beginning-of-defun matches inside string
Date: Mon, 08 Jun 2015 07:45:40 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0


Am 08.06.2015 um 07:18 schrieb Nicolas Richard:
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")

An oddity from times, where parse-partial-sexp was not available, time to get rid of that.


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.

Ditto, just legacy, no need for that.






reply via email to

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