emacs-devel
[Top][All Lists]
Advanced

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

Re: narrow-to-defun and mark-defun now work properly for CC Mode.


From: Nick Roberts
Subject: Re: narrow-to-defun and mark-defun now work properly for CC Mode.
Date: Fri, 13 Apr 2007 10:04:49 +1200

 > # grep -c '^[^;]*(defmacro' $CC_RELFILESEL | sort -t: -nk2
 > 
 > gives this as a result:
 > 
 > cc-align.el:0
 > cc-cmds.el:0
 > cc-compat.el:0
 > cc-menus.el:0
 > cc-styles.el:0
 > cc-subword.el:0
 > cc-awk.el:1
 > cc-vars.el:1
 > cc-mode.el:2
 > cc-langs.el:3
 > cc-fonts.el:4
 > cc-bytecomp.el:16
 > cc-engine.el:22
 > cc-defs.el:43
 > 
 > , so pretty much all the macros are in 2 files.  (cc-bytecomp.el
 > only contains compile-time macros which won't mess other things up
 > much).

Well cc-defs.el is much smaller than cc-engine.el, so they could be merged.
Thinking about it, though, I'm not sure that it would help, as maybe it depends
on which files use the macros and whether Emacs think they need to be
recompiled.

-- 
Nick                                           http://www.inet.net.nz/~nickrob




reply via email to

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