From: Tino Calancha <tino.calancha@gmail.com>
To: Noam Postavsky <npostavs@users.sourceforge.net>
Cc: 24627@debbugs.gnu.org, Tino Calancha <tino.calancha@gmail.com>
Subject: bug#24627: 24.5; (thing-at-point 'list) may return a non-empty string without a list
Date: Wed, 12 Oct 2016 02:21:11 +0900 (JST) [thread overview]
Message-ID: <alpine.DEB.2.20.1610120218350.32092@calancha-pc> (raw)
In-Reply-To: <CAM-tV--=VEMY47EzveqiK7ENG8U9kRJVY8TanqQfDKvkNVHHtg@mail.gmail.com>
On Tue, 11 Oct 2016, Noam Postavsky wrote:
> On Tue, Oct 11, 2016 at 1:09 PM, Tino Calancha <tino.calancha@gmail.com> wrote:
>>
>>
>> On Tue, 11 Oct 2016, Noam Postavsky wrote:
>>
>>> On Tue, Oct 11, 2016 at 12:29 PM, Tino Calancha <tino.calancha@gmail.com>
>>> wrote:
>>>>
>>>> Escape '[' and ']' in doc string.
>>>
>>>
>>> Huh? Why?
>>>
>>>> -[Internal function used by `bounds-of-thing-at-point'.]"
>>>> +\[Internal function used by `bounds-of-thing-at-point'.\]"
>>
>> Right, i should just escape the open '[', as follows:
>> +\[Internal function used by `bounds-of-thing-at-point'.]"
>
> Oh, I thought only round parens need to be escaped in the 1st column.
> Is there something that looks for square brackets too?
I thought the same than you. I just discovered in this bug that square
parens also matters:
Compare I), II) w/o and w/ escaped '[':
I) It confuses `beginning-of-defun':
emacs -Q thingatpt.el
M-g g 229 RET
C-M-a ; go to line 222 instead of line 220.
II) It confuses `indent-for-tab-command':
emacs -Q thingatpt.el
M-g g 220 RET
C-SPC C-M-e TAB ; indentation doesn't change and it looks wrong.
next prev parent reply other threads:[~2016-10-11 17:21 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-06 9:43 bug#24627: 24.5; (thing-at-point 'list) may return a non-empty string without a list Tino Calancha
2016-10-07 6:42 ` Andreas Röhler
2016-10-11 3:42 ` Tino Calancha
2016-10-11 15:37 ` Andreas Röhler
2016-10-11 16:29 ` Tino Calancha
2016-10-11 16:47 ` Noam Postavsky
2016-10-11 17:09 ` Tino Calancha
2016-10-11 17:15 ` Noam Postavsky
2016-10-11 17:21 ` Tino Calancha [this message]
2016-10-11 17:16 ` bug#24627: "internal" designation [was: bug#24627: 24.5; (thing-at-point 'list) ...] Drew Adams
2016-10-11 17:21 ` Drew Adams
2016-10-11 17:20 ` Drew Adams
2016-10-11 19:13 ` Andreas Röhler
2016-10-12 5:11 ` "internal" designation [ Tino Calancha
2016-10-12 6:47 ` Andreas Röhler
2016-10-11 18:40 ` bug#24627: 24.5; (thing-at-point 'list) may return a non-empty string without a list Andreas Röhler
2016-10-12 4:58 ` Tino Calancha
2016-10-12 7:10 ` Andreas Röhler
2016-10-13 8:50 ` Tino Calancha
2016-10-13 17:50 ` Andreas Röhler
2016-10-15 9:44 ` Tino Calancha
2016-10-15 10:26 ` Andreas Röhler
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.20.1610120218350.32092@calancha-pc \
--to=tino.calancha@gmail.com \
--cc=24627@debbugs.gnu.org \
--cc=npostavs@users.sourceforge.net \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.