From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Davin Pearson" Newsgroups: gmane.emacs.help Subject: Re: How big are your customisations? Date: 28 Jul 2006 02:56:06 -0700 Organization: http://groups.google.com Message-ID: <1154080566.151718.104270@75g2000cwc.googlegroups.com> References: <1153907142.547631.259450@s13g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1154083250 7226 80.91.229.2 (28 Jul 2006 10:40:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Jul 2006 10:40:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 28 12:40:50 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 1G6Plx-0004KB-LA for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Jul 2006 12:40:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G6Plx-0003H4-F6 for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Jul 2006 06:40:49 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!75g2000cwc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 55 Original-NNTP-Posting-Host: 60.234.164.158 Original-X-Trace: posting.google.com 1154080571 4081 127.0.0.1 (28 Jul 2006 09:56:11 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 28 Jul 2006 09:56:11 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.12) Gecko/20050919 Firefox/1.0.7,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: 75g2000cwc.googlegroups.com; posting-host=60.234.164.158; posting-account=Bn_6fA0AAAA1mf0ithIG_I4r1FOcs2it Original-Xref: shelby.stanford.edu gnu.emacs.help:140703 Original-To: help-gnu-emacs@gnu.org 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:36329 Archived-At: Eli Zaretskii wrote: > I'm hardly a customization junkie: my .emacs has only 727 lines, many > of which target various platforms on which I work, and some even old > versions of Emacs, if I ever need to use them again. My first customisation was to set tab-width to 4. The online help for Emacs is excellent and I became somewhat addicted to the process of customisation... learning more and changing more and so on... Then I redefined C-x f to C-f (in all modes) to save my left hand from too much stretching. I still can't believe that most people don't do this. Then I changed the command M-c to behave like so aaa_bbb_ccc -> Aaa_Bbb_Ccc for more readable C++ code. Then I (re)defined all of the function keys to perform common operations like f8 to undo and f9 to compile. Ten years later I now have 15 thousand lines of Lisp code. I have put my most important changes on my website: http://www.geocities.com/davinpearson/research/2006/mopa2e.html The coolest features of Emacs are IMHO are the dabbrev and the customisable syntax highlighting. I have defined some predicate variables that have different values depending on what system you are on. Example: emacs-dialect--dosemacs-p emacs-dialect--xemacs-p emacs-dialect--gnuemacs-p os-type--microsoft-p os-type--linux-p os-type--mswindows-p os-type--msdos-p os-type--graphical-p os-type--text-p os-type--graphical-p Wouldn't it be good if similar functions were available as standard commands, since they are so useful?