all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jeremy Bryant <jb@jeremybryant.net>
To: Po Lu <luangruo@yahoo.com>
Cc: Thuna <thuna.cing@gmail.com>,  emacs-devel@gnu.org
Subject: Re: Quality of life improvements to macroexp.el
Date: Thu, 18 Jul 2024 21:40:59 +0100	[thread overview]
Message-ID: <878qxybfhg.fsf@jeremybryant.net> (raw)
In-Reply-To: <87bk2uyhpu.fsf@yahoo.com> (Po Lu's message of "Thu, 18 Jul 2024 21:04:13 +0800")

Po Lu <luangruo@yahoo.com> writes:

> Jeremy Bryant <jb@jeremybryant.net> writes:
>
>> Thuna <thuna.cing@gmail.com> writes:
>>
>>> I was just looking into using macroexp.el and found some features that I
>>> felt were lacking.  These were: 1. accepting multiple forms in
>>> `macroexp-if' and `macroexp-let*', 2. flattening of `progn's in
>>> `macroexp-progn' and `macroexp-unprogn', 3. getting rid of branches in
>>> `macroexp-if' in case the TEST is constant (and consequently a way to
>>> tell whether a constant form is nil or non-nil).  I've went through the
>>> rest of macroexp.el and haven't found anything else that stood out,
>>> though I might change my mind as I keep using it.
>>>
>>> I've attached a patch for possible implementations of these, though this
>>
>> Thanks.  For the fastest response and ease of tracking in the bug tracker:
>>
>> Every patch must have several pieces of information before we can properly evaluate it. They are described below. 
>>       <https://www.gnu.org/software/emacs/manual/html_node/emacs/Sending-Patches.html>
>> When you have all these pieces, use the M-x submit-emacs-patch command to send the patch.
>
> This is in nowise a cast-iron requirement for submitted patches,
> especially for small patches such as this is.

OK, thanks Po for clarifying.

I was emphasizing the benefits of the bug tracker's features,
together with wider patch conventions, but I accept they could be overkill in
this situation.



  reply	other threads:[~2024-07-18 20:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-16  1:57 Quality of life improvements to macroexp.el Thuna
2024-07-17 20:38 ` Jeremy Bryant
2024-07-17 20:43   ` Thuna
2024-07-18  0:19   ` Thuna
2024-07-18 13:04   ` Po Lu
2024-07-18 20:40     ` Jeremy Bryant [this message]
     [not found]   ` <5421CEBD-571B-4C1C-9B55-F72DC4C89E5A@gmail.com>
2024-07-18 13:42     ` Thuna

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=878qxybfhg.fsf@jeremybryant.net \
    --to=jb@jeremybryant.net \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=thuna.cing@gmail.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 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.