From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: How big are your customisations? Date: Fri, 28 Jul 2006 16:33:35 +0300 Message-ID: References: <1153907142.547631.259450@s13g2000cwa.googlegroups.com> <1154080566.151718.104270@75g2000cwc.googlegroups.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1154093658 8671 80.91.229.2 (28 Jul 2006 13:34:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Jul 2006 13:34:18 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 28 15:34:16 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G6STS-00031C-FF for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Jul 2006 15:33:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G6STR-0001Jw-Rq for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Jul 2006 09:33:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G6STD-0001FU-G0 for help-gnu-emacs@gnu.org; Fri, 28 Jul 2006 09:33:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G6STB-0001Aq-LK for help-gnu-emacs@gnu.org; Fri, 28 Jul 2006 09:33:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G6STB-0001AZ-Hz for help-gnu-emacs@gnu.org; Fri, 28 Jul 2006 09:33:37 -0400 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G6SVB-0004lb-5e for help-gnu-emacs@gnu.org; Fri, 28 Jul 2006 09:35:41 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-67-140.inter.net.il [80.230.67.140]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id FJN93797 (AUTH halo1); Fri, 28 Jul 2006 16:33:35 +0300 (IDT) Original-To: help-gnu-emacs@gnu.org In-reply-to: <1154080566.151718.104270@75g2000cwc.googlegroups.com> (davin.pearson@gmail.com) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36333 Archived-At: > From: "Davin Pearson" > 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?