all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Jørgen Kvalsvik" <j@lambda.is>
Cc: casouri@gmail.com, 73662@debbugs.gnu.org, theo@thornhill.no
Subject: bug#73662: [PATCH] Anchor to first sibling unless bol-sibling found
Date: Sun, 06 Oct 2024 19:24:31 +0300	[thread overview]
Message-ID: <86zfnhtd1c.fsf@gnu.org> (raw)
In-Reply-To: <87iku5qqf3.fsf@lambda.is> (message from Jørgen Kvalsvik on Sun, 06 Oct 2024 16:03:44 +0200)

merge 73662 73661
thanks

> Cc: theo@thornhill.no,casouri@gmail.com
> From: Jørgen Kvalsvik <j@lambda.is>
> Date: Sun, 06 Oct 2024 16:03:44 +0200
> 
> Indenting would give up when initializer lists and similar constructs
> were broken up over multiple lines where the first item was not also
> beginning-of-line.  Items should anchor on the first sibling (like with
> function calls and init-lists in general). The search for a sibling to
> anchor on should stop at the first sibling at bol or the first sibling
> in the (sub)tree.
> 
> This brings indent up to c-mode parity for code like:
> 
> return { x1, x2, ...,
>          y1, x2, ... };

This is an exact duplicate of bug 73661, which you submitted just a
few minutes ago.  So I'm merging them.





      reply	other threads:[~2024-10-06 16:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-06 14:03 bug#73662: [PATCH] Anchor to first sibling unless bol-sibling found Jørgen Kvalsvik
2024-10-06 16:24 ` Eli Zaretskii [this message]

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

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

  git send-email \
    --in-reply-to=86zfnhtd1c.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=73662@debbugs.gnu.org \
    --cc=casouri@gmail.com \
    --cc=j@lambda.is \
    --cc=theo@thornhill.no \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.