From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ryan Brown Newsgroups: gmane.emacs.bugs Subject: bug#36552: 25.1; lisp tagbody indentation not working Date: Mon, 8 Jul 2019 16:32:17 -0600 Message-ID: References: <87y3182tho.fsf@mouse.gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000e5c6ef058d33046b" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="248319"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36552@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 09 00:33:13 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 1hkcC9-0012TC-M5 for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jul 2019 00:33:13 +0200 Original-Received: from localhost ([::1]:45358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkcC8-0006Sx-NK for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Jul 2019 18:33:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51102) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkcC1-0006RP-5k for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2019 18:33:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkcBz-0001OE-Th for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2019 18:33:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51046) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hkcBz-0001NR-HE for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2019 18:33:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hkcBy-0006KR-Cg for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2019 18:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ryan Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Jul 2019 22:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36552 X-GNU-PR-Package: emacs Original-Received: via spool by 36552-submit@debbugs.gnu.org id=B36552.156262515724292 (code B ref 36552); Mon, 08 Jul 2019 22:33:02 +0000 Original-Received: (at 36552) by debbugs.gnu.org; 8 Jul 2019 22:32:37 +0000 Original-Received: from localhost ([127.0.0.1]:59867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkcBZ-0006Jk-9N for submit@debbugs.gnu.org; Mon, 08 Jul 2019 18:32:37 -0400 Original-Received: from mail-wr1-f42.google.com ([209.85.221.42]:34364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkcBW-0006JS-MJ for 36552@debbugs.gnu.org; Mon, 08 Jul 2019 18:32:35 -0400 Original-Received: by mail-wr1-f42.google.com with SMTP id 31so2023957wrm.1 for <36552@debbugs.gnu.org>; Mon, 08 Jul 2019 15:32:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=derivita.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0Wfc+9UxLhenjJokiZR4ypHf7bYwGAEOSzFq7ZSzkX8=; b=QBJVieW34qCxgvT9jwcPtfX0dBSm/1jqQwpNoOyhDW13nGVqd0ileFJ+kn2H+9YA7k oBv1heR2+IVx184ZqRe9RPdrJWtFKckiUDUFNCGac9kfvFGqkXizb2zOc3WIIpFrx9sb sUDbKefBG1HN9l4taHLif/fn9IcDZ1vwVZUmsDwclp0Fzej9oubqNetUG2CrA5XJiL0f GPs98cvqx2CIeuzTYprqRFdKjYnWkl6N8FvB1cMEUPEr/cKIhC3h5W6meSYSWA27SeF3 WkPaFH4Z2hrIZog++khq4nY/8yQV5+a8WFs6kWKAI2vxENUyv2kJCz04PLT9vE1VvKVi atTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0Wfc+9UxLhenjJokiZR4ypHf7bYwGAEOSzFq7ZSzkX8=; b=ZZGFhBeUe8Qe8mr3yfvcgYsm4mZx8UMUzG6de3yGMwcKB12vYqFAuA9/QH7EGjEN// TeGhf955hU2aJ9zyoFRbNV/g5Zg947Qp6yR3RLhoPTCGCIYso8KbWq4ooEbjPl0PdNdZ 3QSVJwALrK+Xvp1mEnLz5vWk4zSuSdB3sqd54mnR11i+BPdl+JFBRdeepM/tQ+Lflzct zk9veGV9kKQ5BdAlqr/Xx64s4ySEdozQRSZnrixqmzbdRyKviztNZxGSZBgiNqZYEkzP GTZhZTCJ6E7uODyjBNiZ96zf0aYodN1oHDSZZLuOAu0Cp3/9KUPJ8t3hIUPwmlgQJ8ue BycA== X-Gm-Message-State: APjAAAW4yYzlGKqyZfTFvDpuR0IYcz4sgX0Q3COJZNlmDIXEYG0H+FlG W6xTVOvXy8bTYKcFTSDxF2JQFPbGwmHnDmMCokMYag== X-Google-Smtp-Source: APXvYqyy3lmqFa9DM7wyUFfaiB0hjST+TCb4BmO6chfpthH4Pe8/591i6+xLLvuNegJW56j1XgnaBwcty0NGbfNzfxY= X-Received: by 2002:adf:e483:: with SMTP id i3mr19794619wrm.210.1562625148563; Mon, 08 Jul 2019 15:32:28 -0700 (PDT) In-Reply-To: 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:162391 Archived-At: --000000000000e5c6ef058d33046b Content-Type: text/plain; charset="UTF-8" M-X eval-expression (require 'cl-indent) M-X set-variable lisp-indent-function common-lisp-indent-function C-X f test.lisp (PROG (A) (foo) BAR (go BAR) ) The BAR should be indented less than the sexps: (PROG (A) (foo) BAR (go BAR) ) On Mon, Jul 8, 2019 at 4:07 PM Lars Ingebrigtsen wrote: > Ryan Brown writes: > > > - (cond ((and tail (not (consp tem))) > > + (cond ((and tail (not (or (consp tem) (symbolp tem)))) > > Thanks. I was, however, unable to see any difference in how PROG was > indented. Do you have a test case, starting from emacs -Q that displays > the problem and that's fixed by this patch? > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no > --000000000000e5c6ef058d33046b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
M-X eval-expression (require 'cl-indent)
M-X set-v= ariable lisp-indent-function common-lisp-indent-function
C-X f te= st.lisp
(PROG (A)
(foo)
BAR
(go BAR= ) )

The BAR should be indented less than the sexps= :
(PROG (A)
=C2=A0 =C2=A0(foo)
=C2=A0BAR
=C2=A0 =C2=A0(go BAR) )

=
On Mon, Ju= l 8, 2019 at 4:07 PM Lars Ingebrigtsen <larsi@gnus.org> wrote:
Ryan Brown <ryan@derivita.com> writes:

> -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (cond ((and tail (not (consp tem))= )
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (cond ((and tail (not (or (consp t= em) (symbolp tem))))

Thanks.=C2=A0 I was, however, unable to see any difference in how PROG was<= br> indented.=C2=A0 Do you have a test case, starting from emacs -Q that displa= ys
the problem and that's fixed by this patch?

--
(domestic pets only, the antidote for overdose, milk.)
=C2=A0 =C2=A0bloggy blog: http://lars.ingebrigtsen.no
--000000000000e5c6ef058d33046b--