unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Gulshan Singh <gsingh2011@gmail.com>
Cc: Lars Ingebrigtsen <larsi@gnus.org>, 21409@debbugs.gnu.org
Subject: bug#21409: 24.5; Wrong syntactic information for two line statement in an arglist
Date: Sat, 23 Apr 2022 14:23:55 +0000	[thread overview]
Message-ID: <YmQL+8UisnOc0ZIg@ACM> (raw)
In-Reply-To: <CANEZYrfrrWzrZFWhnNc3yhkpBgaxt5xwsqOVasWf1F30gjNYOQ@mail.gmail.com>

Hello, Gulshan.

Sorry I've been a bit busy the last two weeks, even if mainly on other
Emacs things.

On Sat, Apr 09, 2022 at 14:43:32 -0700, Gulshan Singh wrote:
> Hi Alan, thanks for the patch! I've been very busy, but I just got
> around to applying it and testing it out.

> > I've hacked up the following patch, which introduces the new Line-Up
> > function c-lineup-arglist-+.  To use it (temporarily) do C-c C-o RET on
> > the .baz() line, and change the setting for arglist-cont-nonempty from

> >     (c-lineup-gcc-asm-reg c-lineup-arglist)

> > to

> >     (c-lineup-gcc-asm-reg c-lineup-arglist-+ c-lineup-arglist)

> I think you meant `(c-lineup-gcc-asm-reg c-lineup-argcont-+
> c-lineup-arglist)` (or you meant to define the function name as
> `c-lineup-arglist-+` instead of `c-lineup-argcont-+`, not sure).

I think you're right, here!

> In any case, I tested it and it works great! Is this patch something
> that could be merged upstream?

Thanks!

I'm part way through more thorough testing, and I'm hoping to commit it
this weekend (after having updated the documentation).  It will most
definitely appear in the next major Emacs version, Emacs 29.1, when it
appears (in around 1 - 2 years time).

-- 
Alan Mackenzie (Nuremberg, Germany).





  reply	other threads:[~2022-04-23 14:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-04  5:50 bug#21409: 24.5; Wrong syntactic information for two line statement in an arglist Gulshan Singh
2020-12-03 11:07 ` Lars Ingebrigtsen
2022-03-12  1:52   ` Gulshan Singh
2022-03-12 11:32     ` Alan Mackenzie
     [not found]     ` <YiyE4jK9zIVMK/SX@ACM>
2022-03-13 13:43       ` Alan Mackenzie
2022-04-09 21:43         ` Gulshan Singh
2022-04-23 14:23           ` Alan Mackenzie [this message]
2022-04-23 20:10           ` Alan Mackenzie

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=YmQL+8UisnOc0ZIg@ACM \
    --to=acm@muc.de \
    --cc=21409@debbugs.gnu.org \
    --cc=gsingh2011@gmail.com \
    --cc=larsi@gnus.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).