all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Is this correct?
Date: Sat, 26 Feb 2011 01:50:08 -0700	[thread overview]
Message-ID: <ikaer8$io5$1@dough.gmane.org> (raw)
In-Reply-To: <87tyfrp9p2.fsf@puma.rapttech.com.au>

On 2/25/11 11:54 PM, Tim X wrote:
>
> I'm currently on a big bug fix cycle. Some of the bugs I'm trying to fix
> relate to menus and I've noticed some code which I'm not convinced is
> "correct" based on the documentation. I'd like some
> feedback from others as I suspect it is something I am missing or don't
> understand.
>
> force-mode-line-update has the following documentation -
>
> ,----[ C-h f force-mode-line-update RET ]
> | force-mode-line-update is a compiled Lisp function in `subr.el'.
> |
> | (force-mode-line-update&optional ALL)
> |
> | Force redisplay of the current buffer's mode line and header line.
> | With optional non-nil ALL, force redisplay of all mode lines and
> | header lines.  This function also forces recomputation of the
> | menu bar menus and the frame title.
> |
> | [back]
> `----

Before digging into the details of whether the code implements the behavior
described in the doc string, do we understand the doc string?

* What if the current buffer is not displayed?

* Does ALL mean all buffers?  All windows?  All visible windows?  All frames?
   All visible frames?  Or some other interpretation?

* The menu bar and frame title are frame-local, right?  If so, I think that
   would imply that force-mode-line-update should by default (when ALL is nil)
   update all displayed buffers in the current frame, and should update all
   displayed buffers on all frames (when ALL is non-nil).

-- 
Kevin Rodgers
Denver, Colorado, USA




  reply	other threads:[~2011-02-26  8:50 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 [this message]
     [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
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='ikaer8$io5$1@dough.gmane.org' \
    --to=kevin.d.rodgers@gmail.com \
    --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.