From: Dmitry Gutov <dgutov@yandex.ru>
To: "Stefan Monnier" <monnier@iro.umontreal.ca>,
"Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: 20732-done@debbugs.gnu.org
Subject: bug#20732: in-string-p fails
Date: Fri, 5 Jun 2015 23:06:34 +0300 [thread overview]
Message-ID: <5572014A.8080604@yandex.ru> (raw)
In-Reply-To: <jwvbngu9oen.fsf-monnier+emacsbugs@gnu.org>
On 06/05/2015 06:18 PM, Stefan Monnier wrote:
> Makes no sense. The simpler solution is to make syntax-ppss let-bind
> open-paren-in-column-0-is-defun-start. After all, this variable's
> optimization is not useful for syntax-ppss (which already optimizes the
> same kinds of things but in a different way); it's only useful for
> things like back_comment (i.e. things like backward-sexp, or
> forward-comment with a negative argument).
Actually, (nth 3 (syntax-ppss)) in an Elisp buffer doesn't suffer from
the same problem as (in-string-p) since bug#16247 was fixed, and
syntax-begin-function is nil there. So a simple fix would be to replace
the definition of the latter with the former.
We can bind open-paren-in-column-0-is-defun-start to nil, but if someone
set syntax-begin-function to #'beginning-of-defun, maybe they meant
something by that.
next prev parent reply other threads:[~2015-06-05 20:06 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-04 9:27 bug#20732: in-string-p fails Andreas Röhler
2015-06-04 9:58 ` Dmitry Gutov
2015-06-04 11:50 ` Andreas Röhler
2015-06-04 21:06 ` Dmitry Gutov
2015-06-05 5:41 ` Andreas Röhler
2015-06-05 6:01 ` Andreas Röhler
2015-06-05 8:36 ` Dmitry Gutov
2015-06-05 8:58 ` Andreas Röhler
2015-06-05 11:17 ` Dmitry Gutov
2015-06-05 10:34 ` Andreas Röhler
2015-06-05 11:53 ` Andreas Röhler
2015-06-05 12:52 ` Andreas Röhler
2015-06-05 15:18 ` Stefan Monnier
2015-06-05 20:06 ` Dmitry Gutov [this message]
2015-06-04 16:00 ` Stefan Monnier
2015-06-04 20:59 ` Dmitry Gutov
2015-06-04 22:29 ` Stefan Monnier
2015-06-05 12:17 ` Dmitry Gutov
2015-06-05 15:19 ` Stefan Monnier
2015-06-06 9:59 ` Dmitry Gutov
2015-06-06 18:37 ` Drew Adams
2015-06-06 18:41 ` Dmitry Gutov
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=5572014A.8080604@yandex.ru \
--to=dgutov@yandex.ru \
--cc=20732-done@debbugs.gnu.org \
--cc=andreas.roehler@easy-emacs.de \
--cc=monnier@iro.umontreal.ca \
/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.