all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: 10382@debbugs.gnu.org
Subject: bug#10382: 24.0.92; gratuituous `file-supersession' error for `menu-bar-update-hook'
Date: Tue, 27 Dec 2011 13:41:41 -0800	[thread overview]
Message-ID: <5EC280AEE8324E4ABFCD26F416F0135D@us.oracle.com> (raw)

1. I visit a file.  I thumbify its (one-window) frame, which means that
I shrink the frame and remove its menu bar.  (Menu-bar mode is on,
globally.)
 
2. I change the file contents on disk (e.g. with another Emacs session).
 
3. I dethumbify the frame visiting the file, which means that I restore
its original size and add back the menu bar. I do this by hitting a key.
 
4. The screen goes blank: all frames are blank.  I see the hourglass
prompt (IIRC), but nothing else indicates that Emacs is doing anything.
 
5. I hit C-g.  I hit C-g again (the first does nothing, apparently).
 
6. The content of all frames reappears, and I see now this message in
the echo area (could not see anything there before, because all
frames were blank):
 
Error in menu-bar-update-hook (imenu-update-menubar): (file-supersession File
changed on disk c:/drews-lisp-20/bookmark+-1.el)
 
[Note, that is all on one line - a very long error message!]
 
7. I look in buffer `*Messages*' and see this:
 
bookmark+-bmu.el changed on disk; really edit the buffer? (y, n, r or C-h)  [2
times]
Error in menu-bar-update-hook (imenu-update-menubar): (file-supersession File
changed on disk c:/drews-lisp-20/bookmark+-bmu.el)
 
8. Apparently I should have seen the question about editing.  Emacs
was apparently waiting for a response from me.  But I could see
nothing at all, anywhere (all buffers blanked out).
 
Seems like maybe there is a redisplay problem here?
 
9. Also, I did NOT try to edit the buffer (e.g. type a character).  I
simply hit a key that dethumbifies the frame.  Of course, that changes
frame parameters, but it does not in any way try to change ("edit") the
buffer.  So I don't see why I should get the question at all at that
point.
 
In GNU Emacs 24.0.92.1 (i386-mingw-nt5.1.2600) of 2011-12-06 on MARVIN
 Windowing system distributor `Microsoft Corp.', version 5.1.2600
 configured using `configure --with-gcc (4.6) --no-opt --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-2.10.1/include --ldflags
 -LD:/devel/emacs/libs/gnutls-2.10.1/lib'
 






             reply	other threads:[~2011-12-27 21:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-27 21:41 Drew Adams [this message]
2011-12-27 21:44 ` bug#10382: 24.0.92; gratuituous `file-supersession' error for `menu-bar-update-hook' Drew Adams
2012-01-16  0:03 ` Drew Adams
2012-01-16 16:11   ` Stefan Monnier
2012-01-16 16:22     ` Drew Adams
2012-01-16 21:37       ` Stefan Monnier
2014-02-10  5:02       ` Lars Ingebrigtsen
2015-12-25 23:13         ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5EC280AEE8324E4ABFCD26F416F0135D@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=10382@debbugs.gnu.org \
    /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.