From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Leo Liu <sdl.web@gmail.com>
Cc: 16804@debbugs.gnu.org
Subject: bug#16804: 24.3.50; [PATCH] fix with-silent-modifications
Date: Wed, 19 Feb 2014 13:30:25 -0500 [thread overview]
Message-ID: <jwvmwhnot42.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <m161obi09g.fsf@gmail.com> (Leo Liu's message of "Wed, 19 Feb 2014 23:35:07 +0800")
> (defun bug ()
> (setq-local eldoc-documentation-function #'bug-1)
> (setq js2-idle-timer-delay 0.2)
> (when buffer-file-name
> (eldoc-mode 1)))
> (defun bug-1 ()
> (message "::%S::" buffer-file-name))
Sounds like there's a bug in js2-mode which causes it to run
eldoc-documentation-function from within a with-silent-modifications
(maybe because of a sit-for within a with-silent-modifications?).
This would be a bug regardless of whether we change
with-silent-modifications.
Again, a backtrace would be much more useful.
Stefan
next prev parent reply other threads:[~2014-02-19 18:30 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-19 0:34 bug#16804: 24.3.50; [PATCH] fix with-silent-modifications Leo Liu
2014-02-19 4:39 ` Stefan Monnier
2014-02-19 6:10 ` Leo Liu
2014-02-19 14:28 ` Stefan Monnier
2014-02-19 15:35 ` Leo Liu
2014-02-19 18:30 ` Stefan Monnier [this message]
2014-02-20 0:33 ` Leo Liu
2014-02-20 4:57 ` Stefan Monnier
2014-02-20 5:57 ` Leo Liu
2014-02-20 14:01 ` Stefan Monnier
2014-02-20 14:38 ` Leo Liu
2014-02-20 17:14 ` Stefan Monnier
2014-02-21 0:29 ` Leo Liu
2016-02-24 3:10 ` Lars Ingebrigtsen
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=jwvmwhnot42.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=16804@debbugs.gnu.org \
--cc=sdl.web@gmail.com \
/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).