unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* CC Mode 5.31.3
@ 2006-02-24 18:13 Alan Mackenzie
  2006-02-24 18:51 ` Sean O'Rourke
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Alan Mackenzie @ 2006-02-24 18:13 UTC (permalink / raw)
  Cc: bug-cc-mode, Martin Stjernholm

Hi, Emacs!

I've just merged CC Mode 5.31.3 into Emacs's CVS at savannah.

It fixes several serious bugs (most of which were reported directly to
bug-cc-mode), and a few less serious ones too.  This release might even
be stable.

There are still things to do, however:

As agreed with RMS, C-M-[ae] should be be bound to
c-\(beginning\|end\)-of-defun by default, rather than the standard
commands \(beginning\|end\)-of-defun.  These two CC Mode commands could
do with some optimisation, but this seems optional rather than necessary.
This is still to do.  However, it is trivial, involving only drudge work,
mostly in the manual.  It should be there in 5.31.4.

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

When the mouse is left over the "/la", it still doesn't give sensible
documentation.  This is also still to do.

A solution to both these problems would be to insert an element into
mode-line-format to display c-submode-indicators (the "/la"), and to give
this a doc-string for the mouse.  However, mode-line-format has
traditionally been a write-only variable, in which it is tedious to
locate the place to insert the extra element into[*].  I envisage a
recursive function which tests successive elements of mode-line-format
until it finds mode-name, then inserts c-submode-indicators after it.

[*] that is, tedious to locate in a portable, Emacs version-independent
fashion.

Has anybody already written such a function, or does anybody have any
better idea how to do it?  Suggestions would be welcome.  :-)

Also, if anybody notices more GUI things missing, please tell me.  I
normally run Emacs in a tty without a mouse, so I'm fairly likely to miss
these missing things.

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


^ permalink raw reply	[flat|nested] 16+ messages in thread
[parent not found: <87slq8xyqv.fsf-monnier+gmane.emacs.devel@gnu.org>]

end of thread, other threads:[~2006-02-27 23:47 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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