From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Uday Reddy Newsgroups: gmane.emacs.help Subject: Re: Is this correct? Date: Sat, 26 Feb 2011 15:38:26 +0000 Organization: SunSITE.dk - Supporting Open source Message-ID: <4d691e80$0$23764$14726298@news.sunsite.dk> References: <87tyfrp9p2.fsf@puma.rapttech.com.au> <4d68f5ae$0$23760$14726298@news.sunsite.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1298734853 1192 80.91.229.12 (26 Feb 2011 15:40:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 26 Feb 2011 15:40:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 26 16:40:45 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PtMGB-0004Vo-IS for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Feb 2011 16:40:43 +0100 Original-Received: from localhost ([127.0.0.1]:38867 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PtMGA-0001zn-RY for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Feb 2011 10:40:42 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 37 Original-NNTP-Posting-Host: 92.232.137.113 Original-X-Trace: news.sunsite.dk DXC=JGcWd`CMX>:@:6iQ9Q>ag7YSB=nbEKnk; oj1@Y8@kn06^H_C>[:W; B6UdS?DZIH?U16E]45i7E1P1iLQiXd?DWb7G[N=S List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:79504 Archived-At: On 2/26/2011 2:07 PM, Eli Zaretskii wrote: >> My guess is that the parentheses have been misplaced. > > ????? Doesn't force-mode-line-update work for you? No, it isn't working. We had an outstanding bug report in VM and Tim has finally tracked it down to this problem. http://groups.google.com/group/gnu.emacs.vm.info/browse_thread/thread/20a83d2fd969386c/b81b15ca3baa29d2?lnk=gst&q=menu+bar#b81b15ca3baa29d2 https://bugs.launchpad.net/vm/+bug/605799 VM is calling force-mode-line-update in a Folder buffer, which is generally invisible. The function is updating its menubar, but not that of the currently visible buffer. Even after I change it the way I mentioned in my previous post, it still doesn't work because the "other-buffer" also turns out to be the Folder buffer for some reason or the other. > I gets better: `(set-buffer-modified-p (buffer-modified-p))' > apparently does nothing, because it sets the buffer's modified flag to > the same value it has already. So this function actually does nothing > at all, right? That would be logical, but I am guessing from force-mode-line-update's doc string that this has the effect of updating the mode line, menu bar and the rest. It is a pity that set-buffer-modified-p's doc string doesn't do justice to all that it does! Cheers, Uday