unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
Cc: Richard Stallman <rms@gnu.org>,
	bug-cc-mode@gnu.org, mast@lysator.liu.se, emacs-devel@gnu.org
Subject: Re: CC Mode 5.31.3
Date: Mon, 27 Feb 2006 15:10:39 +0000 (GMT)	[thread overview]
Message-ID: <Pine.LNX.3.96.1060227150210.496B-100000@acm.acm> (raw)
In-Reply-To: <m3hd6lf9ug.fsf@kfs-l.imdomain.dk>

Hi, Kim!

On Mon, 27 Feb 2006, Kim F. Storm wrote:

>Alan Mackenzie <acm@muc.de> writes:

>> Hi, Emacs!

>> On Sun, 26 Feb 2006, Richard Stallman wrote:

>>>    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.

>>>Anyway, can't you achieve what you want with a local binding for
>>>mode-line-modes?  Or mode-line-process?

>I don't see why we cannot just make a new variable for this.
>After all, CC Mode is an important feature of Emacs.

Hey, do you want me to buy you a beer?  ;-)

>Of course, this only works for 22.x and forward, but that's life :-)

Just like syntax-table text properties only work for Emacs 20.x forwards.
Even CC Mode won't be maintaining support for 21.x for ever.  ;-)

>*** bindings.el	06 Feb 2006 18:21:19 +0100	1.157
>--- bindings.el	27 Feb 2006 10:03:17 +0100	
>***************
>*** 220,225 ****
>--- 220,231 ----
>  (defvar mode-line-frame-identification '("-%F  ")
>    "Mode-line control to describe the current frame.")

>+ (defvar mode-line-submode nil "\
>+ Mode-line control for displaying submodes of the major mode.
>+ Normally nil in most modes, since there is no submode to display.")

I'd be more emphatic in that doc-string:  "Mode line format element for
displaying extra major-mode information.  THIS SHOULD ALWAYS APPEAR TO
THE RIGHT OF VARIABLE `mode-name' WITHOUT INTERVENING SPACE.", or
something like that.

[ .... ]

>-- 
>Kim F. Storm <storm@cua.dk> http://www.cua.dk

-- 
Alan Mackenzie (Munich, Germany)




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642


  reply	other threads:[~2006-02-27 15:10 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-24 18:13 CC Mode 5.31.3 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 [this message]
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
     [not found] <87slq8xyqv.fsf-monnier+gmane.emacs.devel@gnu.org>
2006-02-25 11:37 ` Alan Mackenzie
2006-02-26 15:36   ` Stefan Monnier

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=Pine.LNX.3.96.1060227150210.496B-100000@acm.acm \
    --to=acm@muc.de \
    --cc=bug-cc-mode@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mast@lysator.liu.se \
    --cc=rms@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).