From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: fork Newsgroups: gmane.emacs.help Subject: argument swap elisp function? Date: Thu, 25 Aug 2011 19:03:15 +0000 (UTC) Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1314299025 32113 80.91.229.12 (25 Aug 2011 19:03:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 25 Aug 2011 19:03:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 25 21:03:42 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QwfDJ-0003ry-QE for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Aug 2011 21:03:41 +0200 Original-Received: from localhost ([::1]:38235 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwfDJ-0001eA-Au for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Aug 2011 15:03:41 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwfDE-0001dp-DM for help-gnu-emacs@gnu.org; Thu, 25 Aug 2011 15:03:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwfDB-0001EJ-6a for help-gnu-emacs@gnu.org; Thu, 25 Aug 2011 15:03:36 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:50119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwfDA-0001Dk-QV for help-gnu-emacs@gnu.org; Thu, 25 Aug 2011 15:03:33 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QwfD7-0003ln-6f for help-gnu-emacs@gnu.org; Thu, 25 Aug 2011 21:03:29 +0200 Original-Received: from 198.239.99.92 ([198.239.99.92]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Aug 2011 21:03:29 +0200 Original-Received: from forkandwait by 198.239.99.92 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Aug 2011 21:03:29 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 8 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 198.239.99.92 (Mozilla/5.0 (Windows NT 5.1; rv:6.0) Gecko/20100101 Firefox/6.0) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82066 Archived-At: Perhaps this is available, but I would love a function to swap arguments around a comma (really an arbitrary split pattern), like this: "foo, 123" gets mapped to "123, foo" Have any intrepid elisp hackers put something like this together? Thanks!