From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Santanu Newsgroups: gmane.emacs.help Subject: Elisp questions... where to ask? Date: Fri, 14 Dec 2007 22:30:48 -0800 (PST) Organization: http://groups.google.com Message-ID: <08f8db25-aed0-460c-a990-ebc1ec05b2a3@b1g2000pra.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1197769538 22815 80.91.229.12 (16 Dec 2007 01:45:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Dec 2007 01:45:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 16 02:45:48 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 1J3iZe-0005wn-9v for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Dec 2007 02:45:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J3iZU-0006xC-0s for geh-help-gnu-emacs@m.gmane.org; Sat, 15 Dec 2007 20:45:36 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!b1g2000pra.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-NNTP-Posting-Host: 203.200.188.2 Original-X-Trace: posting.google.com 1197700249 16941 127.0.0.1 (15 Dec 2007 06:30:49 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 15 Dec 2007 06:30:49 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b1g2000pra.googlegroups.com; posting-host=203.200.188.2; posting-account=R_BDFgoAAABML1HpMLCTWTyWOZzR1via User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20070223 CentOS/1.5.0.10-0.1.el4.centos Firefox/1.5.0.10, gzip(gfe), gzip(gfe) X-HTTP-Via: 1.1 vsnlnet.wbut.ac.in:3128 (squid/2.5.STABLE9) Original-Xref: shelby.stanford.edu gnu.emacs.help:154670 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:50098 Archived-At: Hi Everybody, Where should I ask my elisp (for GNU Emacs) related questions? If this is the place, could you please help me solve this problem I am facing: I wrote the following piece of code in the scratch buffer: --------------------------------------------------------------------------------- (define-skeleton test1 "Prompt for name" "name:" str ? (test2)) (define-skeleton test2 "Prompt for surname" "surname:" str) (test1) santanu chatterjee --------------------------------------------------------------------------------- Now when I run the test1 function, and give "santanu" and "chatterjee" as the inputs to the two prompts, I get the result as shown above. But that happens in Emacs 21.x. But in Emacs 22.x and above, this creates some kind of infinite recursion, and I am placed in a debug buffer. Can you reproduce the same thing in your system? If so, could you let me know what exactly should be done to make this run in emacs 22.x and above. I tried to go through the emacs NEWS for 22.x and I did find some things related to skeleton.el, but due to my lack of knowledge of elisp, I could not make out much from it. Thanks i advance for your help. Regards, Santanu Chatterjee