emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CC Mode 5.31.3


From: Sean O'Rourke
Subject: Re: CC Mode 5.31.3
Date: Fri, 24 Feb 2006 10:51:22 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

Alan Mackenzie <address@hidden> writes:
> 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.

Have you thought instead of mode-locally setting
{beginning,end}-of-defun-function?  This way, other commands like
mark-defun that operate on functions automatically pick up the
language-specific versions.  I have been using this setting for
about a year without any problems after making the attached
trivial patch, which prevents infinite recursion when
beginning-of-defun-function itself calls beginning-of-defun.

/s

Attachment: txtwxTVK5puzT.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]