help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How big are your customisations?


From: Eli Zaretskii
Subject: Re: How big are your customisations?
Date: Fri, 28 Jul 2006 16:33:35 +0300

> From: "Davin Pearson" <davin.pearson@gmail.com>
> Date: 28 Jul 2006 02:56:06 -0700
> 
> Then I changed the command M-c to behave
> like so aaa_bbb_ccc -> Aaa_Bbb_Ccc
> for more readable C++ code.

3 M-c's in a row will do that without any changes.

> Then I (re)defined all of the function
> keys to perform common operations
> like f8 to undo and f9 to compile.

Function keys are too far away, so I dislike them.

> emacs-dialect--dosemacs-p
> emacs-dialect--xemacs-p
> emacs-dialect--gnuemacs-p

For the last two, (featurep 'emacs) etc. will do.  So I don't see why
these are needed, they aren't shorter than the above.

> os-type--microsoft-p
> os-type--linux-p
> os-type--mswindows-p
> os-type--msdos-p
> os-type--graphical-p
> os-type--text-p

For the last two, use display-graphic-p.  (There are more display-*-p
predicates that you may wish looking into.)

> Wouldn't it be good if similar
> functions were available as
> standard commands, since
> they are so useful?

The OS predicates are very simple: (eq system-type 'foo).

> http://www.geocities.com/davinpearson/research/2006/mopa2e.html

I looked at this, and there are some features that seem to be part of
Emacs:

   ebrowse.el is the Emacs C++ class browser
   which-func.el shows the current function in the mode line

Why don't you use these?





reply via email to

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