From unknown Mon Aug 18 23:56:48 2025 X-Loop: don@donarmstrong.com Subject: bug#239: 23.0.60; \ is considered whitespace syntax in Lisp mode? Reply-To: "Drew Adams" , 239@debbugs.gnu.org Resent-From: "Drew Adams" Original-Sender: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 14 May 2008 03:45:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 239 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121073613717647 (code B ref -1); Wed, 14 May 2008 03:45:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.2 required=4.0 tests=AWL,UNPARSEABLE_RELAY autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 14 May 2008 03:35:37 +0000 Received: from mercure.iro.umontreal.ca (mercure.iro.umontreal.ca [132.204.24.67]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4E3ZVnI017641 for ; Tue, 13 May 2008 20:35:32 -0700 Received: by mercure.iro.umontreal.ca (Postfix, from userid 20848) id 38AE12CF9CC; Tue, 13 May 2008 23:35:30 -0400 (EDT) X-Original-To: monnier@iro.umontreal.ca Received: from pinpin.iro.umontreal.ca (pinpin.iro.umontreal.ca [132.204.24.52]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 2B7C62CF324 for ; Tue, 13 May 2008 23:35:30 -0400 (EDT) Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by pinpin.iro.umontreal.ca (Postfix) with ESMTP id 995863B8B5B for ; Tue, 13 May 2008 23:35:18 -0400 (EDT) Received: from localhost ([127.0.0.1]:34832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jw7lu-0005oV-0K for monnier@iro.umontreal.ca; Tue, 13 May 2008 23:35:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jw7lb-0005oN-2I for emacs-devel@gnu.org; Tue, 13 May 2008 23:34:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jw7lY-0005oB-Ak for emacs-devel@gnu.org; Tue, 13 May 2008 23:34:58 -0400 Received: from [199.232.76.173] (port=41739 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jw7lY-0005o8-2T for emacs-devel@gnu.org; Tue, 13 May 2008 23:34:56 -0400 Received: from fencepost.gnu.org ([140.186.70.10]:37589) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jw7lX-0004Os-Q3 for emacs-devel@gnu.org; Tue, 13 May 2008 23:34:55 -0400 Received: from mx10.gnu.org ([199.232.76.166]:38003) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Jw7ka-0006R1-MN for emacs-pretest-bug@gnu.org; Tue, 13 May 2008 23:33:56 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Jw7lT-0004O9-AS for emacs-pretest-bug@gnu.org; Tue, 13 May 2008 23:34:55 -0400 Received: from agminet01.oracle.com ([141.146.126.228]:26792) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jw7lS-0004N1-Ui for emacs-pretest-bug@gnu.org; Tue, 13 May 2008 23:34:51 -0400 Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m4E3Yfv5020206 for ; Tue, 13 May 2008 22:34:41 -0500 Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m4CDQ7Qi000538 for ; Tue, 13 May 2008 21:34:41 -0600 Received: from inet-141-146-46-1.oracle.com by acsmt350.oracle.com with ESMTP id 3671614051210736019; Tue, 13 May 2008 20:33:39 -0700 Received: from dradamslap1 (/141.144.72.233) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 13 May 2008 20:33:39 -0700 From: "Drew Adams" To: Date: Tue, 13 May 2008 20:33:43 -0700 Message-ID: <004a01c8b573$4f9c29c0$0200a8c0@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: Aci1c08bPy8XhD/hSDuyCol4BLAsuA== X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: 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: , Sender: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Errors-To: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.6, requis 5, autolearn=not spam, BAYES_00 -2.60, SPF_HELO_PASS -0.00) X-DIRO-MailScanner-From: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org emacs -Q In *scratch*, type a backslash followed by a TAB and a letter: \ b Put the cursor on the letter. M-: (skip-syntax-backward "\\s-") The cursor is on the backslash. IOW, it skipped not only the whitespace but also the \, which should have escape syntax. This is the first time I've noticed this, so I'm guessing there is a good explanation and this behavior is somehow correct. But looking at the Elisp manual, I don't get that impression. Willing to learn... In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-05-04 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' From unknown Mon Aug 18 23:56:48 2025 X-Loop: don@donarmstrong.com Subject: bug#239: 23.0.60; \ is considered whitespace syntax in Lisp mode? Reply-To: Kevin Rodgers , 239@debbugs.gnu.org Resent-From: Kevin Rodgers Original-Sender: news Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 22 May 2008 02:55:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 239 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121142439917828 (code B ref -1); Thu, 22 May 2008 02:55:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 22 May 2008 02:46:39 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4M2kUtM017822 for ; Wed, 21 May 2008 19:46:32 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jz0p3-0004K9-Pg for bug-gnu-emacs@gnu.org; Wed, 21 May 2008 22:46:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jz0p2-0004Jk-5i for bug-gnu-emacs@gnu.org; Wed, 21 May 2008 22:46:29 -0400 Received: from [199.232.76.173] (port=59726 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jz0p2-0004Jh-3e for bug-gnu-emacs@gnu.org; Wed, 21 May 2008 22:46:28 -0400 Received: from main.gmane.org ([80.91.229.2]:57435 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jz0p1-0001tM-Si for bug-gnu-emacs@gnu.org; Wed, 21 May 2008 22:46:28 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Jz0oy-0002W1-L6 for bug-gnu-emacs@gnu.org; Thu, 22 May 2008 02:46:24 +0000 Received: from c-67-190-29-163.hsd1.co.comcast.net ([67.190.29.163]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 May 2008 02:46:24 +0000 Received: from kevin.d.rodgers by c-67-190-29-163.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 May 2008 02:46:24 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Kevin Rodgers Date: Wed, 21 May 2008 20:46:25 -0600 Lines: 29 Message-ID: References: <004a01c8b573$4f9c29c0$0200a8c0__47416.9436296963$1210737166$gmane$org@us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-67-190-29-163.hsd1.co.comcast.net User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) In-Reply-To: <004a01c8b573$4f9c29c0$0200a8c0__47416.9436296963$1210737166$gmane$org@us.oracle.com> Sender: news X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Drew Adams wrote: > emacs -Q > In *scratch*, type a backslash followed by a TAB and a letter: > > \ b > > Put the cursor on the letter. > M-: (skip-syntax-backward "\\s-") > > The cursor is on the backslash. IOW, it skipped not only the > whitespace but also the \, which should have escape syntax. > > This is the first time I've noticed this, so I'm guessing there is a > good explanation and this behavior is somehow correct. But looking at > the Elisp manual, I don't get that impression. Willing to learn... The SYNTAX argument to skip-syntax-forward and -backward is not a regexp. The argument in the example above means to skip any character with any of 3 syntax classes: \ escape s [not a valid syntax class] - whitespace -- Kevin Rodgers Denver, Colorado, USA From unknown Mon Aug 18 23:56:48 2025 X-Loop: don@donarmstrong.com Subject: bug#239: 23.0.60; \ is considered whitespace syntax in Lisp mode? Reply-To: "Drew Adams" , 239@debbugs.gnu.org Resent-From: "Drew Adams" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 22 May 2008 21:50:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 239 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12114924496454 (code B ref -1); Thu, 22 May 2008 21:50:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_LOW,UNPARSEABLE_RELAY autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 22 May 2008 21:40:49 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4MLegD9006448 for ; Thu, 22 May 2008 14:40:44 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JzIWg-0007lJ-Fl for bug-gnu-emacs@gnu.org; Thu, 22 May 2008 17:40:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JzIWe-0007ip-DN for bug-gnu-emacs@gnu.org; Thu, 22 May 2008 17:40:41 -0400 Received: from [199.232.76.173] (port=37866 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzIWe-0007im-A4 for bug-gnu-emacs@gnu.org; Thu, 22 May 2008 17:40:40 -0400 Received: from agminet01.oracle.com ([141.146.126.228]:18529) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JzIWe-00061i-1D for bug-gnu-emacs@gnu.org; Thu, 22 May 2008 17:40:40 -0400 Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.186.111]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m4MLeNRf010288; Thu, 22 May 2008 16:40:23 -0500 Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by rgmgw2.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m4MG9ah9000923; Thu, 22 May 2008 15:40:22 -0600 Received: from inet-141-146-46-1.oracle.com by acsmt350.oracle.com with ESMTP id 3679693371211492332; Thu, 22 May 2008 14:38:52 -0700 Received: from dradamslap1 (/130.35.178.194) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 22 May 2008 14:38:51 -0700 From: "Drew Adams" To: "'Kevin Rodgers'" , <239@debbugs.gnu.org>, References: <004a01c8b573$4f9c29c0$0200a8c0__47416.9436296963$1210737166$gmane$org@us.oracle.com> Date: Thu, 22 May 2008 14:39:00 -0700 Message-ID: <012f01c8bc54$3fb85960$c2b22382@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Aci8UUJBUQIjhuqZR3S1Aoqq72EkoAAAt5Jw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 In-Reply-To: X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-CrossAssassin-Score: 2 > The SYNTAX argument to skip-syntax-forward and -backward is not a > regexp. > > The argument in the example above means to skip any character with any > of 3 syntax classes: > \ escape > s [not a valid syntax class] > - whitespace Yes, someone else already pointed that out. Thanks.