From: Uday Reddy <uDOTsDOTreddy@cs.bham.ac.uk>
To: help-gnu-emacs@gnu.org
Subject: Re: Is this correct?
Date: Sat, 26 Feb 2011 15:38:26 +0000 [thread overview]
Message-ID: <4d691e80$0$23764$14726298@news.sunsite.dk> (raw)
In-Reply-To: <mailman.1.1298729256.15641.help-gnu-emacs@gnu.org>
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
next prev parent reply other threads:[~2011-02-26 15:38 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-26 6:54 Is this correct? Tim X
2011-02-26 8:50 ` Kevin Rodgers
[not found] ` <mailman.17.1298710213.28733.help-gnu-emacs@gnu.org>
2011-02-26 8:59 ` Tim X
2011-02-26 10:01 ` Eli Zaretskii
[not found] ` <mailman.19.1298714474.28733.help-gnu-emacs@gnu.org>
2011-02-26 22:48 ` Tim X
2011-02-27 4:02 ` Eli Zaretskii
[not found] ` <mailman.14.1298779333.29063.help-gnu-emacs@gnu.org>
2011-02-27 7:32 ` Tim X
2011-02-26 12:44 ` Uday Reddy
2011-02-26 14:07 ` Eli Zaretskii
[not found] ` <mailman.1.1298729256.15641.help-gnu-emacs@gnu.org>
2011-02-26 15:38 ` Uday Reddy [this message]
2011-02-26 15:47 ` Eli Zaretskii
[not found] ` <mailman.4.1298735259.8637.help-gnu-emacs@gnu.org>
2011-02-26 16:22 ` Uday Reddy
2011-02-26 16:59 ` Eli Zaretskii
[not found] ` <mailman.0.1298739618.29899.help-gnu-emacs@gnu.org>
2011-02-26 17:54 ` force-mode-line-update [Re: Is this correct?] Uday S Reddy
2011-02-27 16:51 ` Uday S Reddy
2011-02-26 22:38 ` Is this correct? Tim X
2011-02-27 4:00 ` Eli Zaretskii
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='4d691e80$0$23764$14726298@news.sunsite.dk' \
--to=udotsdotreddy@cs.bham.ac.uk \
--cc=help-gnu-emacs@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.