From: Nicolas Richard <youngfrog@members.fsf.org>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: 20761@debbugs.gnu.org
Subject: bug#20761: 25.0.50.1, beginning-of-defun matches inside string
Date: Mon, 08 Jun 2015 07:18:26 +0200 [thread overview]
Message-ID: <874mmisrq5.fsf@members.fsf.org> (raw)
In-Reply-To: <55749058.3090208@easy-emacs.de> ("Andreas \=\?utf-8\?Q\?R\=C3\=B6h\?\= \=\?utf-8\?Q\?ler\=22's\?\= message of "Sun, 07 Jun 2015 20:41:28 +0200")
Andreas Röhler <andreas.roehler@easy-emacs.de> 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.
--
Nico.
next prev parent reply other threads:[~2015-06-08 5:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-07 17:21 bug#20761: 25.0.50.1, beginning-of-defun matches inside string Andreas Röhler
2015-06-07 18:13 ` Glenn Morris
2015-06-07 18:41 ` Andreas Röhler
2015-06-08 5:18 ` Nicolas Richard [this message]
2015-06-08 5:45 ` Andreas Röhler
2015-06-08 9:09 ` Andreas Röhler
2017-04-02 5:18 ` npostavs
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874mmisrq5.fsf@members.fsf.org \
--to=youngfrog@members.fsf.org \
--cc=20761@debbugs.gnu.org \
--cc=andreas.roehler@easy-emacs.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).