From: Michael Heerdegen <michael_heerdegen@web.de>
To: Alex <agrambot@gmail.com>
Cc: 16796@debbugs.gnu.org
Subject: bug#16796: 24.3.50; global value of after-change-functions reset without error
Date: Fri, 09 Sep 2016 01:55:17 +0200 [thread overview]
Message-ID: <87wpimlzfe.fsf@web.de> (raw)
In-Reply-To: <874m5q6jix.fsf@gmail.com> (Alex's message of "Thu, 08 Sep 2016 17:47:50 -0600")
Alex <agrambot@gmail.com> writes:
> > (progn
> >
> > (defun foo (&rest _) ())
> >
> > (add-hook 'after-change-functions 'foo)
> >
> > (defun complain ()
> > (when (not (memq 'foo (default-value 'after-change-functions)))
> > (message "Why does this happen?")
> > (cancel-timer complain-timer)))
> >
> > (defvar complain-timer
> > (run-with-idle-timer .03 .03 #'complain))
> >
> > (require 'cl-lib)
> > (global-set-key
> > [f9]
> > (lambda () (interactive)
> > (completing-read
> > "Hit tab and C-g: "
> > (cl-loop for i from 1 to 100000
> > collect (format "%d" i))))))
> >
> > Hit f9 and C-g one or two times. I get "Why does this happen?", but not
> > always. If I repeat the test several times, I'll always happen sooner
> > or later.
>
> I can reproduce this on 24.5 but not in 25.1. Can you reproduce this
> on 25.1 or up?
No, seems I can't reproduce it with 25.1. I guess we can close this and
cross our fingers.
Michael.
next prev parent reply other threads:[~2016-09-08 23:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-18 17:43 bug#16796: 24.3.50; global value of after-change-functions reset without error Michael Heerdegen
2016-09-08 23:47 ` Alex
2016-09-08 23:55 ` Michael Heerdegen [this message]
2016-09-09 0:19 ` Alex
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=87wpimlzfe.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=16796@debbugs.gnu.org \
--cc=agrambot@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).