From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#4400: 23.1.50; char-syntax Date: Sat, 12 Sep 2009 18:53:51 +0300 Message-ID: <83skesyx9s.fsf@gnu.org> References: <4AA9F057.5080507@online.de> <4AAB5C4A.4040606@easy-emacs.de> Reply-To: Eli Zaretskii , 4400@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1252772857 31686 80.91.229.12 (12 Sep 2009 16:27:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Sep 2009 16:27:37 +0000 (UTC) Cc: lekktu@gmail.com To: Andreas =?UTF-8?Q?R=C3=B6hler?= , 4400@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 12 18:27:29 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 1MmVRh-0004Cw-Dx for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Sep 2009 18:27:29 +0200 Original-Received: from localhost ([127.0.0.1]:58657 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmVRg-0003rG-RH for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Sep 2009 12:27:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MmV80-000072-6T for bug-gnu-emacs@gnu.org; Sat, 12 Sep 2009 12:07:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MmV7v-0008PW-Ba for bug-gnu-emacs@gnu.org; Sat, 12 Sep 2009 12:07:07 -0400 Original-Received: from [199.232.76.173] (port=50596 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmV7v-0008PF-7L for bug-gnu-emacs@gnu.org; Sat, 12 Sep 2009 12:07:03 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56296) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MmV7u-0005En-LH for bug-gnu-emacs@gnu.org; Sat, 12 Sep 2009 12:07:02 -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 n8CG6xOQ008654; Sat, 12 Sep 2009 09:06:59 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8CG04LF006704; Sat, 12 Sep 2009 09:00:04 -0700 Resent-Date: Sat, 12 Sep 2009 09:00:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 12 Sep 2009 16:00:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4400 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: notabug Original-Received: via spool by 4400-submit@emacsbugs.donarmstrong.com id=B4400.12527708985811 (code B ref 4400); Sat, 12 Sep 2009 16:00:04 +0000 Original-Received: (at 4400) by emacsbugs.donarmstrong.com; 12 Sep 2009 15:54:58 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mtaout7.012.net.il (mtaout7.012.net.il [84.95.2.19]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8CFsua5005801 for <4400@emacsbugs.donarmstrong.com>; Sat, 12 Sep 2009 08:54:58 -0700 Original-Received: from conversion-daemon.i-mtaout7.012.net.il by i-mtaout7.012.net.il (HyperSendmail v2007.08) id <0KPV00M007UILG00@i-mtaout7.012.net.il> for 4400@emacsbugs.donarmstrong.com; Sat, 12 Sep 2009 18:53:51 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.50.163]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KPV0028A85QLTD0@i-mtaout7.012.net.il>; Sat, 12 Sep 2009 18:53:51 +0300 (IDT) In-reply-to: <4AAB5C4A.4040606@easy-emacs.de> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 12 Sep 2009 12:07:07 -0400 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:31013 Archived-At: > Date: Sat, 12 Sep 2009 10:31:06 +0200 > From: Andreas =?UTF-8?Q?R=C3=B6hler?= > Cc: Juanma Barranquero , 4400@emacsbugs.donarmstrong.com > > > In Emacs, a character is represented by an integer object > > (of valid character-code range). > > What if docu would say: > > "For example, if CHARACTER is a word constituent, `119' is returned." > > or maybe still better > > "For example, if CHARACTER is a word constituent, numeric value of character `w' is returned, which is `119' in Emacs internal representation." In GNU Emacs, characters and integers are one and the same. So the text you suggest would make things even more confusing. A Lisp code that needs to test against character syntax class should use ?w etc. ?w is another way to say 119.