From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4400: marked as done (23.1.50; char-syntax) Date: Fri, 18 Sep 2009 23:50:09 +0000 Message-ID: References: <87pr9nom5d.fsf@stupidchicken.com> <4AA9F057.5080507@online.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1253317809-29921-0" X-Trace: ger.gmane.org 1253318915 17706 80.91.229.12 (19 Sep 2009 00:08:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Sep 2009 00:08:35 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 19 02:08:28 2009 Return-path: Envelope-to: geb-bug-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 1MonV4-0001vc-Oc for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Sep 2009 02:08:27 +0200 Original-Received: from localhost ([127.0.0.1]:48243 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MonV4-0006DM-8w for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Sep 2009 20:08:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MonTt-0005OY-Kz for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2009 20:07:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MonTo-0005N9-HD for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2009 20:07:12 -0400 Original-Received: from [199.232.76.173] (port=39967 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MonTn-0005Mq-Vs for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2009 20:07:08 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46874) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MonTm-0007Me-GI for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2009 20:07:07 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8J072DN000777; Fri, 18 Sep 2009 17:07:03 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8INo9GK029967; Fri, 18 Sep 2009 16:50:09 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4400 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: notabug X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31270 Archived-At: This is a multi-part message in MIME format... ------------=_1253317809-29921-0 Content-Disposition: inline Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Your message dated Fri, 18 Sep 2009 19:42:22 -0400 with message-id <87pr9nom5d.fsf@stupidchicken.com> and subject line Re: bug#4400: 23.1.50; char-syntax has caused the Emacs bug report #4400, regarding 23.1.50; char-syntax to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 4400: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4400 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1253317809-29921-0 Content-Type: message/rfc822 Content-Disposition: inline Received: (at submit) by emacsbugs.donarmstrong.com; 11 Sep 2009 06:40:11 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.1 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8B6e8Hs006182 for ; Thu, 10 Sep 2009 23:40:10 -0700 Received: from mail.gnu.org ([199.232.76.166]:34517 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Mlzni-0002BV-RY for emacs-pretest-bug@gnu.org; Fri, 11 Sep 2009 02:40:07 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Mlzne-0002Kq-Dv for emacs-pretest-bug@gnu.org; Fri, 11 Sep 2009 02:40:06 -0400 Received: from moutng.kundenserver.de ([212.227.126.177]:57622) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mlznd-0002KL-TL for emacs-pretest-bug@gnu.org; Fri, 11 Sep 2009 02:40:02 -0400 Received: from [192.168.178.27] (p54BE94FD.dip0.t-ipconnect.de [84.190.148.253]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MKv5w-1Mlznc0lba-0003vJ; Fri, 11 Sep 2009 08:40:00 +0200 Message-ID: <4AA9F057.5080507@online.de> Date: Fri, 11 Sep 2009 08:38:15 +0200 From: Andreas Roehler User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 To: emacs-pretest-bug@gnu.org Subject: 23.1.50; char-syntax Content-Type: text/plain; charset=ISO-8859-1 X-Provags-ID: V01U2FsdGVkX1+7IyFT/ztaUAGVLm6U8f968Ci8z8q9d6Tus7O WwLFCO9hIN164epIfyYNSATy2h5N0t9jqfVBZUiw+hOWLbmYY4 PzkzrvvZZ8+CBJ/0iI5YeHiKBkGQ2PSAo0H3vbr8D0= X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id n8J072DN000777 Emacs -Q (char-syntax (char-after))a --> 119 which seems not what's told in docu: Return the syntax code of CHARACTER, described by a character. For example, if CHARACTER is a word constituent, the character `w' is returned. Thanks all! Andreas R=F6hler -- https://code.launchpad.net/s-x-emacs-werkstatt/ ;;;;;;;;;;;;;;;;;;;;;;;; In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2009-07-25 Windowing system distributor `The X.Org Foundation', version 11.0.7020000= 0 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: @im=3Dlocal locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ( c h a r - s y n t a x SPC ( c h a r - a f t e r ) ) a C-x C-e C-j q - - > SPC 1 1 9 M-x r e p o r t - e m a c - b s - b u Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. 119 Entering debugger... Back to top level. Load-path shadows: None found. ------------=_1253317809-29921-0 Content-Type: message/rfc822 Content-Disposition: inline Received: (at 4400-done) by emacsbugs.donarmstrong.com; 18 Sep 2009 23:42:29 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.9 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po45.its.yale.edu (pantheon-po45.its.yale.edu [130.132.50.79]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8INgSnZ028833 for <4400-done@emacsbugs.donarmstrong.com>; Fri, 18 Sep 2009 16:42:29 -0700 Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po45.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n8INgMem020584 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 18 Sep 2009 19:42:22 -0400 Received: by furry (Postfix, from userid 1000) id DE32EC070; Fri, 18 Sep 2009 19:42:22 -0400 (EDT) From: Chong Yidong To: martin rudalics Cc: 4400-done@emacsbugs.donarmstrong.com Subject: Re: bug#4400: 23.1.50; char-syntax Date: Fri, 18 Sep 2009 19:42:22 -0400 Message-ID: <87pr9nom5d.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) > > In GNU Emacs, characters and integers are one and the same. So the > > text you suggest would make things even more confusing. > > Admittedly, the Elisp manual seems more aware of Andreas' problem and > does "use `string' to make it easier to see the character returned by > `char-syntax'". > > > A Lisp code that needs to test against character syntax class should > > use ?w etc. ?w is another way to say 119. > > We could pretend that a person who doesn't know that should not use > `char-syntax'. But we could also be more helpful, for example, by > providing a link to the manual. I don't think we need to link to the manual for every function that returns a character. The docstring for char-syntax already states that it returns the *character* `w' for a word constituent. ------------=_1253317809-29921-0--