From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: CC Mode 5.31.3
Date: Sun, 26 Feb 2006 10:36:59 -0500 [thread overview]
Message-ID: <87ek1qp24w.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <Pine.LNX.3.96.1060225102936.397A-100000@acm.acm> (Alan Mackenzie's message of "Sat, 25 Feb 2006 11:37:01 +0000 (GMT)")
>>> The issues with the Mode Name, and minor mode flags in the mode line are
>>> still unresolved. On typing M-x smerge-mode, C Mode's flags (the "/la"
>>> of "C/la") now stay with the major mode, but this is done by setting
>>> mode-name to "C/la", a stop-gap solution at best. This is ugly, and I
>>> don't find it an acceptable solution..
>> Could you remind me why you don't use mode-line-process?
> Ignorance, mainly. :-)
You mean you forgot: on Dec 15, you replied:
> > I think that c-submode-indicators should either be put in
> > mode-line-process, or that c-mode sets mode-name to '("C"
> > c-submode-indicators).
Problem Acknowledged.
> Is there any guarantee that a buffer.c won't invoke any process (whatever
> that might mean) that would overwrite mode-line-process?
mode-line-process is not magically used by process primitives AFAIK.
It's the responsability of elisp code that runs subprocesses to setup the
mode-line-process variable if they so wish.
So no, there's guarantee, but I don't think it's a real problem. After all,
it'd probably be a gud for a minor mode to interfere with the major mode's
use of mode-line-process.
Stefan
next prev parent reply other threads:[~2006-02-26 15:36 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87slq8xyqv.fsf-monnier+gmane.emacs.devel@gnu.org>
2006-02-25 11:37 ` CC Mode 5.31.3 Alan Mackenzie
2006-02-26 15:36 ` Stefan Monnier [this message]
2006-02-24 18:13 Alan Mackenzie
2006-02-24 18:51 ` Sean O'Rourke
2006-02-24 22:04 ` Alan Mackenzie
2006-02-26 12:10 ` Richard Stallman
2006-02-26 17:19 ` Alan Mackenzie
2006-02-27 19:01 ` Richard Stallman
2006-02-26 20:39 ` Alan Mackenzie
2006-02-27 9:07 ` Kim F. Storm
2006-02-27 15:10 ` Alan Mackenzie
2006-02-27 23:46 ` Richard Stallman
2006-02-27 14:31 ` Stefan Monnier
2006-02-27 23:47 ` Richard Stallman
2006-02-27 19:02 ` Richard Stallman
2006-02-26 12:46 ` Vivek Dasmohapatra
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=87ek1qp24w.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@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 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).