From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: [cezar@mixandgo.ro: skeleton bug] Date: Mon, 03 Sep 2007 11:31:41 +0900 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1188786728 22740 80.91.229.12 (3 Sep 2007 02:32:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Sep 2007 02:32:08 +0000 (UTC) Cc: cezar@mixandgo.ro, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 03 04:32:07 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IS1jS-00012Y-PV for ged-emacs-devel@m.gmane.org; Mon, 03 Sep 2007 04:32:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IS1jR-00075A-Le for ged-emacs-devel@m.gmane.org; Sun, 02 Sep 2007 22:32:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IS1jN-00074h-UL for emacs-devel@gnu.org; Sun, 02 Sep 2007 22:32:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IS1jM-00074V-JZ for emacs-devel@gnu.org; Sun, 02 Sep 2007 22:32:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IS1jM-00074S-FQ for emacs-devel@gnu.org; Sun, 02 Sep 2007 22:32:00 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IS1jH-0006x4-3I; Sun, 02 Sep 2007 22:31:55 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id l832Vmgd024302; Mon, 3 Sep 2007 11:31:48 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id l832VmwL016943; Mon, 3 Sep 2007 11:31:48 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id l832Vfkl006842; Mon, 3 Sep 2007 11:31:41 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.67) (envelope-from ) id 1IS1j3-00052e-2S; Mon, 03 Sep 2007 11:31:41 +0900 In-reply-to: (message from Richard Stallman on Sun, 02 Sep 2007 11:50:07 -0400) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.0 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-Detected-Kernel: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:77629 Archived-At: In article , Richard Stallman writes: > ------- Start of forwarded message ------- > To: bug-gnu-emacs@gnu.org > From: cezar@mixandgo.ro > Date: Fri, 17 Aug 2007 14:36:29 +0300 > Subject: skeleton bug [...] > The skeleton looks like this : > (define-skeleton test-skeleton > "This is a small doc for the skeleton." > "" ;no prompt > "
    " > \n > "
  • " > \n > _ > \n > -1 "
  • " > \n > "
" > \n) > but it does not work ! The error I get follows: > Debugger entered--Lisp error: (error "Lisp nesting exceeds `max-lisp-eval-depth'") I found that this is because of the following incompatible change in emacs-unicode-2. Emacs-22: (char-or-string-p -1) => t Emacs-23: (char-or-string-p -1) => nil According to the function name, I think it should return nil on -1. Which do you think is better? (1) Revert the change of char-or-string-p. (2) Keep char-or-string-p as is in emacs-unicode-2, make a new function integer-or-string-p, and check all occurrences of char-or-string-p in *.el files. FYI, char-or-string-p is used only in 8 places. --- Kenichi Handa handa@m17n.org