From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#11314: 24.1.50; Regression: incorrect Lisp indentation for `if' with `@@@@@@' Date: Fri, 01 Nov 2019 21:44:48 +0100 Message-ID: <8736f72unz.fsf@igel.home> References: <87imo3xt9o.fsf@marxist.se> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="232171"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: 11314@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 01 21:45:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iQdnD-000yJK-S3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Nov 2019 21:45:11 +0100 Original-Received: from localhost ([::1]:42774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQdnC-0003vW-O4 for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Nov 2019 16:45:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48180) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQdn5-0003vM-Sc for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 16:45:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iQdn4-0003FC-Ux for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 16:45:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48503) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iQdn4-0003Ej-RX for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 16:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iQdn4-00080B-MY for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 16:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Nov 2019 20:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11314 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 11314-submit@debbugs.gnu.org id=B11314.157264109430731 (code B ref 11314); Fri, 01 Nov 2019 20:45:02 +0000 Original-Received: (at 11314) by debbugs.gnu.org; 1 Nov 2019 20:44:54 +0000 Original-Received: from localhost ([127.0.0.1]:57324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQdmv-0007zb-VJ for submit@debbugs.gnu.org; Fri, 01 Nov 2019 16:44:54 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:55632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQdmt-0007zQ-OA for 11314@debbugs.gnu.org; Fri, 01 Nov 2019 16:44:52 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 474Z1s5JhJz1qrhb; Fri, 1 Nov 2019 21:44:49 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 474Z1s3cDdz1qqkJ; Fri, 1 Nov 2019 21:44:49 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id FcJ4GaeNWPn5; Fri, 1 Nov 2019 21:44:48 +0100 (CET) X-Auth-Info: IWhrR51OBICypodrlswYXmeATdQCG0vFNn/c7QWTS2DAbdIbSbVQ1L/e3ObS2em/ Original-Received: from igel.home (ppp-46-244-172-1.dynamic.mnet-online.de [46.244.172.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 1 Nov 2019 21:44:48 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 1000) id 152452C022D; Fri, 1 Nov 2019 21:44:48 +0100 (CET) X-Yow: Please come home with me... I have Tylenol!! In-Reply-To: <87imo3xt9o.fsf@marxist.se> (Stefan Kangas's message of "Fri, 01 Nov 2019 20:59:15 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:170678 Archived-At: On Nov 01 2019, Stefan Kangas wrote: > found 11314 27.0.50 > thanks > > "Drew Adams" writes: > >> emacs -Q >> >> Type this into an Emacs Lisp buffer: >> >> (if (alpha beta) C-j aaaaaa C-j bbbbbb >> >> You get this: >> >> (if (alpha beta) >> aaaaaa >> bbbbbb >> >> That is correct. bbbbbb is indented correctly. >> >> Now do the same thing, using @@@@@@ instead of aaaaaa. This is the >> result - bbbbbb is indented incorrectly. >> >> (if (alpha beta) >> @@@@@@ >> bbbbbb >> >> Yet @@@@@@ is a perfectly good symbol/variable name etc. >> >> This regression was introduced in Emacs 22. > > I can reproduce this on current master. That's because @ has the prefix syntax flag (for ,@). Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."