From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.help Subject: Re: how to sort words in a line Date: Wed, 18 Jul 2007 09:21:37 +0200 Message-ID: References: <87r6n7l41m.fsf@thalassa.lan.informatimago.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1184744434 4591 80.91.229.12 (18 Jul 2007 07:40:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 Jul 2007 07:40:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 18 09:40:33 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IB49B-0003zU-5F for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Jul 2007 09:40:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IB49A-0000EG-HX for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Jul 2007 03:40:32 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-X-Trace: individual.net Lh+HX4h7yhioocu1Li10nwh0QbGQmzH1yxDgk3I/QiJ+rkZtnY Cancel-Lock: sha1:tLRJ65kxqpexQcun12/vfKKKt3k= sha1:UcKJjdYKNg02FxhphV4ihrZ9mkU= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (windows-nt) Original-Xref: shelby.stanford.edu gnu.emacs.help:150185 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:45769 Archived-At: Rainer Stengele writes: > Wow! Thats quite a piece of code for a not-yet Lisp programmer. > Coming from perl this would be a simple one-liner doing the work. Well, what is a one-liner? I mean, behind each one-liner in perl lies probably a lot of code that implements that feature in perl. The difference here is that the particular feature you wanted wasn't implemented in Emacs. Yet. > Don't misunderstand me - I understand the power and flexibility of > elisp in emacs. I just wonder if there is not a built in solution. Some day maybe someone will propose this command to be added to Emacs and then it will be "built-in"... :) And, if you paste Pascal's example into your .emacs file it will, for all practical purposes, built-in.