From: Zelphir Kaltstahl <zelphirkaltstahl@posteo.de>
To: guile-user@gnu.org
Subject: Re: Indentation with inline comments in Emacs
Date: Sun, 17 Apr 2022 10:49:21 +0000 [thread overview]
Message-ID: <591cc2fe-6aec-37f4-4eb5-170c713b8ac1@posteo.de> (raw)
In-Reply-To: <2BCF2B67-B2D8-480F-BA1C-D9A8580914FB@korwin-zmijowski.fr>
Hello Jérémy!
On 4/16/22 16:57, Jérémy Korwin-Zmijowski wrote:
> Yo Zelphir,
>
> I would replace numbers with a constant name which avoid the need for comments.
>
> Sorry, not an Emacs solution. I just keep comments for outside context.
>
> Cheers!
This is an idea. I'll consider that approach!
I have the same indentation issue though, when I use #||# comments for
arguments, which are not keyword arguments, but I want to hint what they are
used for. One could argue, that I should rewrite the called function to use
keyword arguments, or, if it is a library function, I should wrap it. Hmmm.
Maybe that's a valid point.
Thanks for the input!
Zelphir
--
repositories: https://notabug.org/ZelphirKaltstahl
next prev parent reply other threads:[~2022-04-17 10:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-16 12:12 Indentation with inline comments in Emacs Zelphir Kaltstahl
2022-04-16 14:57 ` Jérémy Korwin-Zmijowski
2022-04-17 10:49 ` Zelphir Kaltstahl [this message]
2022-04-17 13:44 ` Luis Felipe
2022-04-18 10:48 ` Zelphir Kaltstahl
2022-04-18 13:33 ` Ricardo G. Herdt
2022-04-18 14:09 ` Luis Felipe
2022-04-18 14:05 ` Luis Felipe
2022-04-17 3:03 ` Taylan Kammer
2022-04-17 11:06 ` Zelphir Kaltstahl
2022-04-17 14:58 ` Maxime Devos
2022-04-18 10:49 ` Zelphir Kaltstahl
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/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=591cc2fe-6aec-37f4-4eb5-170c713b8ac1@posteo.de \
--to=zelphirkaltstahl@posteo.de \
--cc=guile-user@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.
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).