From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Manuel Uberti <manuel.uberti@inventati.org>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: project--files-in-directory: code formatting
Date: Wed, 04 Nov 2020 09:30:36 -0500 [thread overview]
Message-ID: <jwvd00tp56u.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <0751c421-d860-2d79-74ee-52806d46fc13@inventati.org> (Manuel Uberti's message of "Wed, 4 Nov 2020 14:26:21 +0100")
> Woudln't it be cleaner formatted this way?
[...]
> Basically, the "else" of "if files..." on a new line, with the remaining
> parenthesis on the same line as this "else".
>
> What do you think?
Yes, please!
I even added a font-lock rule to highlight such cases in red, but
apparently that rule doesn't catch this particular case (if you replace
the empty string with a symbol, it does catch it, tho).
Stefan
next prev parent reply other threads:[~2020-11-04 14:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-04 13:26 project--files-in-directory: code formatting Manuel Uberti
2020-11-04 14:30 ` Stefan Monnier [this message]
2020-11-04 14:45 ` Manuel Uberti
2020-11-04 15:44 ` Stefan Monnier
2020-11-07 10:47 ` Andrii Kolomoiets
2020-11-07 15:16 ` Stefan Monnier
2020-11-04 19:40 ` Dmitry Gutov
2020-11-04 21:20 ` Stefan Monnier
2020-11-05 2:25 ` Dmitry Gutov
2020-11-04 18:19 ` Dmitry Gutov
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=jwvd00tp56u.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=manuel.uberti@inventati.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 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.