From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#25030: 25.1; Unexpected indentation and syntax-highlighting in `emacs-lisp-mode' Date: Mon, 19 Mar 2018 19:53:40 -0400 Message-ID: <87efkftyez.fsf@gmail.com> References: <868taptb26.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1521503529 20592 195.159.176.226 (19 Mar 2018 23:52:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Mar 2018 23:52:09 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 25030@debbugs.gnu.org To: Andy Moreton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 20 00:52:05 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ey4ZQ-0005FV-Jw for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Mar 2018 00:52:04 +0100 Original-Received: from localhost ([::1]:44567 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ey4bT-0005Xy-Pr for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Mar 2018 19:54:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ey4bO-0005Wh-1w for bug-gnu-emacs@gnu.org; Mon, 19 Mar 2018 19:54:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ey4bK-0000RK-6q for bug-gnu-emacs@gnu.org; Mon, 19 Mar 2018 19:54:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34477) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ey4bK-0000RD-30 for bug-gnu-emacs@gnu.org; Mon, 19 Mar 2018 19:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ey4bJ-0001CZ-RW for bug-gnu-emacs@gnu.org; Mon, 19 Mar 2018 19:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Mar 2018 23:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25030 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 25030-submit@debbugs.gnu.org id=B25030.15215036314601 (code B ref 25030); Mon, 19 Mar 2018 23:54:01 +0000 Original-Received: (at 25030) by debbugs.gnu.org; 19 Mar 2018 23:53:51 +0000 Original-Received: from localhost ([127.0.0.1]:42374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ey4b9-0001C4-8P for submit@debbugs.gnu.org; Mon, 19 Mar 2018 19:53:51 -0400 Original-Received: from mail-it0-f44.google.com ([209.85.214.44]:53713) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ey4b5-0001Bk-HQ; Mon, 19 Mar 2018 19:53:47 -0400 Original-Received: by mail-it0-f44.google.com with SMTP id b136-v6so129044iti.3; Mon, 19 Mar 2018 16:53:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=4bZzYMtATn9maWeHEZlQAikXMeBQpBeWnO6Q9ud7dKg=; b=t2szY0ZmU456elipckrTyFzGt9OlCdBspFjDUx+udWLa0VBWcCE820SbJIB45oUWea qg+SF3LO0T/EoXxXyDqoZNtSvAyS38IapTMp+3YABDOXad8InRBTfR+8CYP/CxlHS+Sn c/lFIu/0Hr2S8ZB6BkBMjjbpL+tdJKZPAhs/cDZ9PdUMGfdqfsqMSCkJ4zOzzsjSEpCk TZhIrcCRwQuBH6WZqfnLEr9bRAlFMlHPxJN7264p43d1T1ubivbkv0dQ2WQx6FJhI/N6 v4FKWjlwKzt+hviTB0kS2M3qmnMTq8jn1nmUcNkiMtSUVxhEnWFxN3WXIeJhh5qHa4uQ a7wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=4bZzYMtATn9maWeHEZlQAikXMeBQpBeWnO6Q9ud7dKg=; b=bzk52KEIdjlTf7jMR7KlkR2RVI9jERxcO1E6oLIyysI1kVqmND342PgIY41HyktXTA cTsTLiPspxVQZql/zzeeFz8Tequ+eE/M48ewPar6pkC9gbF68SYGaXPm0VHBJmU1uwCJ su4I6e65vx+7/NPSYvCzb9J2SoSduMHNCrppTk/nO/g3YtWrw3hnUXHJCmHeXKbEr+XH R5Kk4wU31COP9WfbaPpOQ3tKSxJHsSjwi7shi68TOERgfCZgC2CELxJSe/YydxviaT9t IZsZP06w3HpC1+ufFWkdUl/mw3Y3MF1ZizBWaDNfHzS4QsRk0yUY3spryfAar1AqagX/ USRw== X-Gm-Message-State: AElRT7EIOFIP4F5ZYqvz8EfPWAj8efTCd9J1Qlrf5pNyr0thtjUAlUYk aMxJAlibLa+0d1B7dNVml9dntQ== X-Google-Smtp-Source: AG47ELvmO+2Eu7MJI2e//9oZpe/DuLhTCumLp9dd6+IT78b9W6bZeYj6LLMJaqtu190Gcl94GAosaQ== X-Received: by 2002:a24:5b04:: with SMTP id g4-v6mr756432itb.68.1521503621966; Mon, 19 Mar 2018 16:53:41 -0700 (PDT) Original-Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id q21-v6sm171716itb.2.2018.03.19.16.53.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Mar 2018 16:53:41 -0700 (PDT) In-Reply-To: <868taptb26.fsf@gmail.com> (Andy Moreton's message of "Sun, 18 Mar 2018 19:53:37 +0000") 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: 208.118.235.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:144429 Archived-At: unarchive 18163 merge 25030 18163 quit Andy Moreton writes: > This may not be a bug, but it is certainly a mis-feature. > > Warning should be reserved for syntax which may have unintended or > surprising semantics. Indentation that does not follow a convention is > not wrong either systacically or semantically. I'm not convinced by this. Code with unconventional indendation has surprising syntax to a human reader (or from another perspective, when I'm writing code which indents strangely, that clues me in that I've written some unintended syntax), therefore, it seems a warning is exactly appropriate.