From: "Drew Adams" <drew.adams@oracle.com>
To: "'Lennart Borgman'" <lennart.borgman@gmail.com>,
"'Emacs-Devel devel'" <emacs-devel@gnu.org>
Subject: RE: What make the modeline update the major mode entry?
Date: Fri, 26 Mar 2010 23:46:44 -0700 [thread overview]
Message-ID: <E8C5706526E7421C96900C8F73BCF235@us.oracle.com> (raw)
In-Reply-To: <249A18CA20684635BC645744585ADD17@us.oracle.com>
> > Can someone please tell me what makes Emacs update the major mode
> > entry in the modeline?
>
> grep for `mode-line-buffer-identification' in the Lisp source
> code. You'll see plenty of hits like `dired-mode' and `info.el'
> - places where the variable is set.
Those locations set the format, but they do not update the display.
Depending on what you meant, you might also want to look for `mode_line_format'
and `display_mode_line' in `xdisp.c'. That seems to be where the actual
displaying takes place.
next prev parent reply other threads:[~2010-03-27 6:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-27 2:27 What make the modeline update the major mode entry? Lennart Borgman
2010-03-27 6:33 ` Drew Adams
2010-03-27 6:46 ` Drew Adams [this message]
2010-03-28 16:44 ` Davis Herring
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E8C5706526E7421C96900C8F73BCF235@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=lennart.borgman@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).