From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#10382: 24.0.92; gratuituous `file-supersession' error for `menu-bar-update-hook' Date: Mon, 16 Jan 2012 08:22:31 -0800 Message-ID: References: <5EC280AEE8324E4ABFCD26F416F0135D@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1326731870 32508 80.91.229.12 (16 Jan 2012 16:37:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Jan 2012 16:37:50 +0000 (UTC) Cc: 10382@debbugs.gnu.org To: "'Stefan Monnier'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 16 17:37:46 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RmpYz-000620-EP for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jan 2012 17:37:41 +0100 Original-Received: from localhost ([::1]:34234 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmpLA-0007vl-LS for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jan 2012 11:23:24 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:52057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmpL3-0007us-15 for bug-gnu-emacs@gnu.org; Mon, 16 Jan 2012 11:23:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmpKv-0008Lu-Ni for bug-gnu-emacs@gnu.org; Mon, 16 Jan 2012 11:23:17 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmpKv-0008Lp-Jd for bug-gnu-emacs@gnu.org; Mon, 16 Jan 2012 11:23:09 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RmpLm-0002YZ-CX for bug-gnu-emacs@gnu.org; Mon, 16 Jan 2012 11:24:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jan 2012 16:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10382 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10382-submit@debbugs.gnu.org id=B10382.13267310249797 (code B ref 10382); Mon, 16 Jan 2012 16:24:02 +0000 Original-Received: (at 10382) by debbugs.gnu.org; 16 Jan 2012 16:23:44 +0000 Original-Received: from localhost ([127.0.0.1]:60569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RmpLT-0002Xx-0K for submit@debbugs.gnu.org; Mon, 16 Jan 2012 11:23:44 -0500 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:54696) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RmpLQ-0002Xo-Hi for 10382@debbugs.gnu.org; Mon, 16 Jan 2012 11:23:41 -0500 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0GGMhvw005873 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 16 Jan 2012 16:22:44 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0GGMgwI014154 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 Jan 2012 16:22:43 GMT Original-Received: from abhmt113.oracle.com (abhmt113.oracle.com [141.146.116.65]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0GGMgSU019900; Mon, 16 Jan 2012 10:22:42 -0600 Original-Received: from dradamslap1 (/10.159.39.219) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 16 Jan 2012 08:22:42 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AczUaXz1BhTeWenBQLOb/QOLLenkpwAAIklg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.4F144ED4.00A9,ss=1,re=0.000,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:55800 > I think we'll need a backtrace at the time of the "really edit > the buffer?" prompt in order to debug this. Tho, I suspect > it won't be easy to get one since this is in the middle of > menu-bar-update-hook, so redisplay might be inhibited. Right. I don't know how to obtain that. And as I said, this does not seem to happen all the time. Perhaps it would be more helpful to take a look at recent changes to the code. Perhaps the code which issues this "file supersession" prompt (I've never seen that before) or the revert code. Dunno. Or perhaps the display code? One question is why I do not see the message, and Emacs seems to hang, until I hit C-g. It is only after canceling out of the (presumed) revert-confirmation dialog that I can see the prompt for that confirmation. And why I would be prompted at all when I use this no-confirmation command is another question. (revert-buffer t t) should not be asking for confirmation.