unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Markus Triska <triska@metalevel.at>
To: 47146@debbugs.gnu.org
Subject: bug#47146: 27.0.50; Unexpected indentation for pcase forms in emacs-lisp-mode
Date: Sun, 14 Mar 2021 22:08:29 +0100	[thread overview]
Message-ID: <m21rchigtu.fsf@metalevel.at> (raw)


Starting Emacs with:

    $ emacs -Q

I get the following indentation:

    (defun word (arg)
      (pcase arg
        ('love
         'amour)
        ('always
         'toujours)
        ('if
            'si)
        ('emacs
         'emacs)))

However, the indentation I expected is:

    (defun word (arg)
      (pcase arg
        ('love
         'amour)
        ('always
         'toujours)
        ('if
         'si)
        ('emacs
         'emacs)))

Thank you and all the best,
Markus

In GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin18.0.0, X toolkit, Xaw scroll bars)
 of 2018-11-15 built on mac
Repository revision: b4eb908f858284a7962851fd99c94598f76afa6f
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
System Description:  Mac OS X 10.14.2






             reply	other threads:[~2021-03-14 21:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-14 21:08 Markus Triska [this message]
2021-03-18  5:46 ` bug#47146: 27.0.50; Unexpected indentation for pcase forms in emacs-lisp-mode Lars Ingebrigtsen
2021-03-18 13:51   ` Stefan Monnier
2021-03-18 14:03   ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m21rchigtu.fsf@metalevel.at \
    --to=triska@metalevel.at \
    --cc=47146@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).