From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Santanu Newsgroups: gmane.emacs.help Subject: Re: Elisp questions... where to ask? Date: Sun, 16 Dec 2007 22:10:45 -0800 (PST) Organization: http://groups.google.com Message-ID: <3cc0bdc7-507e-4546-b592-8a63b708b41e@s19g2000prg.googlegroups.com> References: <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: quoted-printable X-Trace: ger.gmane.org 1197873650 12156 80.91.229.12 (17 Dec 2007 06:40:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Dec 2007 06:40:50 +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 Dec 17 07:41:03 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 1J49eu-0007L0-R9 for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Dec 2007 07:41:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J49eY-0003sU-6d for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Dec 2007 01:40:38 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!s19g2000prg.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 1197871845 30152 127.0.0.1 (17 Dec 2007 06:10:45 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 17 Dec 2007 06:10:45 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s19g2000prg.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.1.8) Gecko/20061201 Firefox/2.0.0.8 (Ubuntu-feisty),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:154707 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:50133 Archived-At: On Dec 15, 3:56 pm, bojohan+n...@dd.chalmers.se (Johan Bockg=E5rd) wrote: > This seems to be a bug in skeleton. There was a change made to > skeleton-proxy-new > > ;; Return non-nil to tell expand-abbrev that expansion has happened. > ;; Otherwise the no-self-insert is ignored. > t) > > but skeleton-internal-1 is not prepared to handle `t' returned from a > subskeleton. > > This seems to do the right thing: > > *** skeleton.el.~1.51.~ 2007-08-14 19:24:04.000000000 +0200 > --- skeleton.el 2007-12-15 11:28:36.000000000 +0100 > *************** > *** 424,429 **** > --- 424,430 ---- > (skeleton-internal-list element (car literal)) > (setq literal (cdr literal))))) > ((null element)) > + ((eq t element)) > (t (skeleton-internal-1 (eval element) t recursive)))) > > ;; Maybe belongs into simple.el or elsewhere Thanks for the response. I will try to incorporate this patch in skeleton.el and see if this works. Regards, Santanu