all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "João Távora" <joaotavora@gmail.com>
To: rms@gnu.org
Cc: 67611@debbugs.gnu.org
Subject: bug#67611: [PATCH] Add a Pcase pattern `cl-lambda` equivalent to `cl-destructuring-bind`
Date: Thu, 8 Feb 2024 13:41:49 +0000	[thread overview]
Message-ID: <CALDnm535ZFe_TOejdG-em8uCVmDYuFHaVL9HLpntwf=_9x4o6A@mail.gmail.com> (raw)
In-Reply-To: <E1rXvPJ-0003SA-C0@fencepost.gnu.org>

On Thu, Feb 8, 2024 at 3:49 AM Richard Stallman <rms@gnu.org> wrote:
>
> [[[ To any NSA and FBI agents reading my email: please consider    ]]]
> [[[ whether defending the US Constitution against all enemies,     ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
>   > > Could you tell me more concretely what this proposed feature would
>   > > look like in use?  Perhaps with an example including context?
> examples separatrly.  It's far more helpful to send an example than to
> say, "Look through the patch for some."

You do this very often where you ask someone to summarize or explain
context just for you.  That's perfectly fine, you're polite and not
generally imposing.  But since we're all busy individuals, I also think
it's fine to point out that what you're looking for is close by.

>   > (pcase some-mistery-object
>   >    ((cl-arglist (42 &key a b c))  ; this proposal
>   >     (message "Oh, it starts it 42 and has c=%s" c))
>   >    (`(,_ ,x ,_)
>   >     (message "Boring three-element list with middle %s" x))
>   >    (`[,_ ,x ,_]
>   >     (message "Fancy vector with middle %s" x))
>   >    ((franklinboing (nixneez)) ; my data-structure
>   >     (message "This franklinboing has some nice nixneez %s=" nizneez)))
>
> Thanks.  Now I understand what your extension would be.

This is very similar from what you find in the patch in the form of ert tests.
Also it's not my extension.

Thanks,
João





  reply	other threads:[~2024-02-08 13:41 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-03 20:33 bug#67611: [PATCH] Add a Pcase pattern `cl-lambda` equivalent to `cl-destructuring-bind` Okamsn via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-04 19:08 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-05  2:42   ` Okamsn via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-05  9:26     ` João Távora
2023-12-05  9:21   ` João Távora
2023-12-25 21:30   ` Okamsn via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-11 21:12     ` Stefan Kangas
2024-01-11 21:56       ` João Távora
2024-01-11 22:13         ` Stefan Kangas
2024-01-11 22:46           ` João Távora
2024-01-12  0:55             ` Okamsn via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-13  6:38             ` Stefan Kangas
2024-01-12  3:04         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-12 10:46           ` João Távora
2024-01-12 15:38             ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-12 16:56               ` João Távora
2024-01-13  6:58                 ` Stefan Kangas
2024-01-14  3:08               ` Richard Stallman
2024-01-14  3:12                 ` João Távora
2024-01-17  3:29                   ` Richard Stallman
2024-01-17  9:12                     ` João Távora
2024-02-08  3:49                       ` Richard Stallman
2024-02-08 13:41                         ` João Távora [this message]
2024-02-11  3:28                           ` Richard Stallman
2024-02-12 15:25                             ` João Távora

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='CALDnm535ZFe_TOejdG-em8uCVmDYuFHaVL9HLpntwf=_9x4o6A@mail.gmail.com' \
    --to=joaotavora@gmail.com \
    --cc=67611@debbugs.gnu.org \
    --cc=rms@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.
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.