From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#11314: 24.1.50; Regression: incorrect Lisp indentation for `if' with `@@@@@@' Date: Fri, 1 Nov 2019 14:23:54 -0700 (PDT) Message-ID: <5e0c13fe-fb7f-4837-ab59-89abc4798119@default> References: <87imo3xt9o.fsf@marxist.se> <8736f72unz.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="131053"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 11314@debbugs.gnu.org To: Andreas Schwab , Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 01 22:25:23 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 1iQeQ5-000XvH-Vc for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Nov 2019 22:25:22 +0100 Original-Received: from localhost ([::1]:43094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQeQ3-0008QH-N9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Nov 2019 17:25:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56527) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQePo-0008Q9-JZ for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 17:25:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iQePm-0000Ea-Jh for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 17:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48553) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iQePm-0000C6-Be for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 17:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iQePm-0000l9-6J for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 17:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Nov 2019 21:25: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.15726434472825 (code B ref 11314); Fri, 01 Nov 2019 21:25:02 +0000 Original-Received: (at 11314) by debbugs.gnu.org; 1 Nov 2019 21:24:07 +0000 Original-Received: from localhost ([127.0.0.1]:57374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQeOs-0000jV-Kn for submit@debbugs.gnu.org; Fri, 01 Nov 2019 17:24:06 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:38734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQeOp-0000iu-VJ for 11314@debbugs.gnu.org; Fri, 01 Nov 2019 17:24:04 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xA1LDbXM083754; Fri, 1 Nov 2019 21:23:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=0gj4lSqtOgWAEPqm8NfHJQ4ty+Zki8y9UDP1beRAfKM=; b=QloiROfFYFKN+k2o4QIe/0RQN7UbLwTvMr/pOtrM5vCiYipPRANPuNyrABiPWMGIfUF3 v84YNNxCdyaUWsxYZYC2S/agqu8ocxe3u1f16tUqBJi0sD6Ex3w13NM9FaDcLTwUzlwl FG5Aeb/RWeWfANSGFlxch9aErs2aTu/C1uMp4aC9FY6i46uuz8fgKelpwSn9RlcK2Yfa VmjZoP0JwiNHOYHPD1OyY4kVYm1ySPijcZBY2bOQxbLEg0Rwl/dFbYMnZL+ZqCzYaSQi WvIosbGbZx4IWKueMc2P6HwcH1MW2Oek0SkDa8jAy92TZVy6cObG3XlqWYX0dbjtwHsP DQ== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2120.oracle.com with ESMTP id 2vxwhfv7qr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 01 Nov 2019 21:23:57 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xA1LD9ef002976; Fri, 1 Nov 2019 21:23:57 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 2w0rus2ts7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 01 Nov 2019 21:23:57 +0000 Original-Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id xA1LNtKm003994; Fri, 1 Nov 2019 21:23:56 GMT In-Reply-To: <8736f72unz.fsf@igel.home> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4900.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9428 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1911010197 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9428 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1911010197 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:170689 Archived-At: > >> (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. >=20 > That's because @ has the prefix syntax flag (for ,@). That explains the implementation bug, I guess. But there's no backquote or comma here. And `@@@@@@' is just a normal symbol. Just as we don't treat comma the same inside and outside backquote (we raise an error for the latter), ideally we shouldn't treat @ the same inside and outside backquote (symbol syntax for the latter). And presumably the only uses of @ inside backquote that should lead to different indentation would only be when @ follows comma.