From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Uber_Micro Newsgroups: gmane.emacs.help Subject: Re: Newbie: Unable to write a custom function Date: Wed, 06 Dec 2006 17:49:46 GMT Organization: EasyNews, UseNet made Easy! Message-ID: <871wncykw6.fsf@localhost.localdomain> References: <1165094606.836594.304590@j72g2000cwa.googlegroups.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1165430470 24282 80.91.229.10 (6 Dec 2006 18:41:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Dec 2006 18:41:10 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 06 19:41:09 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gs1hU-0002Li-47 for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Dec 2006 19:41:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gs1hT-0007uj-Cp for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Dec 2006 13:40:59 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!news-in-01.newsfeed.easynews.com!easynews.com!easynews!easynews-local!fe03.news.easynews.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus v5.9.0 Original-Lines: 19 Original-X-Complaints-To: abuse@easynews.com X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly. Original-Xref: shelby.stanford.edu gnu.emacs.help:143689 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:39291 Archived-At: Mathias Dahl writes: > Maybe this is what you want: > > (defun del-back-to-string (str) > (interactive "sString: ") > ... (interactive "*sString: ") just a good habit to get into, "*" in front checks for read only buffer -- So I remember, (ispell-buffer)