unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Yuan Fu <casouri@gmail.com>
To: Po Lu <luangruo@yahoo.com>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: Generic stack I can use in C core?
Date: Sat, 24 Sep 2022 09:52:48 -0700	[thread overview]
Message-ID: <F916C5B3-10E7-483A-8285-F12450E0D071@gmail.com> (raw)
In-Reply-To: <87wn9tb8ib.fsf@yahoo.com>



> On Sep 23, 2022, at 11:18 PM, Po Lu <luangruo@yahoo.com> wrote:
> 
> 
>>> struct stack_node {
>>>  TSNode node;
>>>  TSNode *next;
>>> };
> 
> BTW, Yuan Fu, in Emacs source code the opening brace of a struct is
> typically put on a new line.
> 
> That should be fixed here and elsewhere in the tree sitter branch code
> before it is merged, I think.

I’ve always used bracket on-the-newline, but I could have fumbled here and there. Do you see any place where I used bracket-at-eol?

Yuan


  reply	other threads:[~2022-09-24 16:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-23 19:20 Generic stack I can use in C core? Yuan Fu
2022-09-23 19:24 ` Yuan Fu
2022-09-23 20:12   ` Eli Zaretskii
2022-09-23 21:56     ` Yuan Fu
2022-09-24  6:11       ` Eli Zaretskii
2022-09-24  6:18         ` Po Lu
2022-09-24 16:52           ` Yuan Fu [this message]
2022-09-25  0:20             ` Po Lu
2022-09-24 16:51         ` Yuan Fu
2022-09-25  2:45       ` Richard Stallman
2022-09-25  5:01         ` Eli Zaretskii

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=F916C5B3-10E7-483A-8285-F12450E0D071@gmail.com \
    --to=casouri@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.com \
    /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).