From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: syntax-after Date: Fri, 12 Nov 2004 01:38:06 +0200 Organization: JURTA Message-ID: <87fz3gneht.fsf@jurta.org> References: <87mzxoc8bi.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1100216443 30952 80.91.229.6 (11 Nov 2004 23:40:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Nov 2004 23:40:43 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 12 00:40:33 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CSOYL-0000Ws-00 for ; Fri, 12 Nov 2004 00:40:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CSOgr-0000la-Gl for ged-emacs-devel@m.gmane.org; Thu, 11 Nov 2004 18:49:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CSOgk-0000k5-7h for emacs-devel@gnu.org; Thu, 11 Nov 2004 18:49:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CSOgj-0000jt-Qp for emacs-devel@gnu.org; Thu, 11 Nov 2004 18:49:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CSOgj-0000jp-Ng for emacs-devel@gnu.org; Thu, 11 Nov 2004 18:49:13 -0500 Original-Received: from [66.33.205.9] (helo=spatula.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSOY6-0000pe-Q1 for emacs-devel@gnu.org; Thu, 11 Nov 2004 18:40:18 -0500 Original-Received: from mail.jurta.org (80-235-36-206-dsl.mus.estpak.ee [80.235.36.206]) by spatula.dreamhost.com (Postfix) with ESMTP id DF51117D023; Thu, 11 Nov 2004 15:40:14 -0800 (PST) Original-To: Stefan Monnier In-Reply-To: <87mzxoc8bi.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 11 Nov 2004 17:51:04 -0500") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) 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: main.gmane.org gmane.emacs.devel:29768 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29768 Stefan Monnier writes: > What was the reason for the following change? > > 2004-11-06 Richard M. Stallman > > * subr.el (syntax-after): Return the syntax letter, not the raw code. > > It seems really gratuitous. There are already 2 ways to represent the > syntax info of a char: as a cons cell and as a string. Both are documented > in the elisp manual. > > The above change introduces yet a third representation, and an undocumented > one at that. Was that really necessary? > > I just saw that the above change caused Juri to install a fix to > descr-text.el that replaces a call to syntax-after with a copy of its > (previous) body. I think this is moving backward, not forward. FWIW, I grepped the whole source tree, and there were only 2 places where `syntax-after' was used: `show-paren-function' and `describe-char'. -- Juri Linkov http://www.jurta.org/emacs/