From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adam Newsgroups: gmane.emacs.help Subject: Re: Tip of the day Date: Mon, 25 Jun 2007 11:13:20 +1200 Organization: Ihug Ltd Message-ID: References: <87ir9ddqxz.fsf@baldur.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: sea.gmane.org 1182759657 15884 80.91.229.12 (25 Jun 2007 08:20:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Jun 2007 08:20:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 25 10:20:55 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 1I2job-0001ZN-6g for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Jun 2007 10:20:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I2joa-0004v0-MM for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Jun 2007 04:20:52 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!lust.ihug.co.nz!ihug.co.nz!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: 203.173.200.112 Original-X-Trace: lust.ihug.co.nz 1182726690 28519 203.173.200.112 (24 Jun 2007 23:11:30 GMT) Original-X-Complaints-To: abuse@ihug.co.nz Original-NNTP-Posting-Date: Sun, 24 Jun 2007 23:11:30 +0000 (UTC) User-Agent: KNode/0.9.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:149672 X-Mailman-Approved-At: Mon, 25 Jun 2007 04:19:05 -0400 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:45264 Archived-At: > Yes, if you copy the function to scratch, move the cursor to the line > after the end of the function, you can evaluate it with C-x C-e. You can > then run the code with M-x totd or M-: (totd) . Ah ha. I was placing the cursor at the opening bracket of the function - and getting an "End of file during parsing" error. [Maybe its the Slime C-x C-e that works at either end]. > Note that you should probably change the 'n' values in the concat > strings to '\n' to get properly formatted output. Yes - correcting the 4 instances of that make it comfortably legible. Wonderful. Many thanks.