From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "roodwriter@core.com" Newsgroups: gmane.emacs.help Subject: Re: Cool and Useful LISP for the .emacs file Date: Fri, 07 Nov 2003 04:08:42 -0500 Organization: Posted via Supernews, http://www.supernews.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: roodwriter@core.com NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: sea.gmane.org 1068196994 6880 80.91.224.253 (7 Nov 2003 09:23:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 7 Nov 2003 09:23:14 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 07 10:23:11 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AI2pj-0007r6-00 for ; Fri, 07 Nov 2003 10:23:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AI2it-0000Xp-NO for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Nov 2003 04:16:07 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: KNode/0.7.1 Original-X-Complaints-To: abuse@supernews.com Original-Lines: 37 Original-Xref: shelby.stanford.edu gnu.emacs.help:117950 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13888 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13888 Dan Anderson wrote: > I was wondering what other people have in their .emacs file. I would > like to challenge everyone to add at least one cool tip / trick to: > > http://www.emacswiki.org/cgi-bin/wiki/DotEmacs > > -Dan As a non-Lisper I've wondered if anyone thinks it might be useful to open up a category to include macros. I realize the vast majority are probably too personalized to be useful to the next person but I have a few that might be handy for beginners as a small drop-in push-button feature. One is a macro that reads the name of the file in your grep output and calls it up. Another will add groups of numbers and put the answer in your file. People that are much more technically adept than I am may have some macros that are almost magical. The advantage from this is that someone could just cruise down the list and have something they've never thought of that's extremely useful. This would probably have to be monitored by someone to insure that too-specialized macros wouldn't get on the list (say, requiring certain files or directories) or malicious macros deleting files from Dired. There may be severe drawbacks I haven't considered but I'm just tossing it out as an idea. --Rod -- Author of "Linux for Non-Geeks--Clear-eyed Answered for Practical Consumers" and "Boring Stories from Uncle Rod." Both are available at http://www.rodwriterpublishing.com/index.html To reply by e-mail, take the extra "o" out of the name.