all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* pcase conditions doing nothing
@ 2022-10-27 23:32 Heime
  2022-10-27 23:57 ` Jean Louis
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Heime @ 2022-10-27 23:32 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor



Is it possible to make some of the pcase conditions do nothing? How can I do this if possible?





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pcase conditions doing nothing
  2022-10-27 23:32 pcase conditions doing nothing Heime
@ 2022-10-27 23:57 ` Jean Louis
  2022-10-28  0:07   ` Heime
  2022-10-28  0:03 ` Emanuel Berg
  2022-10-28 15:44 ` Stefan Monnier via Users list for the GNU Emacs text editor
  2 siblings, 1 reply; 5+ messages in thread
From: Jean Louis @ 2022-10-27 23:57 UTC (permalink / raw)
  To: Heime; +Cc: Heime via Users list for the GNU Emacs text editor

* Heime <heimeborgia@protonmail.com> [2022-10-28 02:35]:
> Is it possible to make some of the pcase conditions do nothing? How can I do this if possible?

My favorite function is `ignore'.

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pcase conditions doing nothing
  2022-10-27 23:32 pcase conditions doing nothing Heime
  2022-10-27 23:57 ` Jean Louis
@ 2022-10-28  0:03 ` Emanuel Berg
  2022-10-28 15:44 ` Stefan Monnier via Users list for the GNU Emacs text editor
  2 siblings, 0 replies; 5+ messages in thread
From: Emanuel Berg @ 2022-10-28  0:03 UTC (permalink / raw)
  To: help-gnu-emacs

Heime wrote:

> Is it possible to make some of the pcase conditions do
> nothing? How can I do this if possible?

`always' `ignore' your intuition ...

-- 
underground experts united
https://dataswamp.org/~incal




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pcase conditions doing nothing
  2022-10-27 23:57 ` Jean Louis
@ 2022-10-28  0:07   ` Heime
  0 siblings, 0 replies; 5+ messages in thread
From: Heime @ 2022-10-28  0:07 UTC (permalink / raw)
  To: Jean Louis; +Cc: Heime via Users list for the GNU Emacs text editor

------- Original Message -------
On Thursday, October 27th, 2022 at 11:57 PM, Jean Louis <bugs@gnu.support> wrote:


> * Heime heimeborgia@protonmail.com [2022-10-28 02:35]:
> 
> > Is it possible to make some of the pcase conditions do nothing? How can I do this if possible?
> 
> 
> My favorite function is `ignore'.

Nice.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pcase conditions doing nothing
  2022-10-27 23:32 pcase conditions doing nothing Heime
  2022-10-27 23:57 ` Jean Louis
  2022-10-28  0:03 ` Emanuel Berg
@ 2022-10-28 15:44 ` Stefan Monnier via Users list for the GNU Emacs text editor
  2 siblings, 0 replies; 5+ messages in thread
From: Stefan Monnier via Users list for the GNU Emacs text editor @ 2022-10-28 15:44 UTC (permalink / raw)
  To: help-gnu-emacs

> Is it possible to make some of the pcase conditions do nothing?
> How can I do this if possible?

I don't know what is a "pcase condition" and "do nothing" can mean very
different things in the context of `pcase` which mostly chooses a branch
(how can you "do nothing" when the question is not "what to do" but
"what to choose"?).


        Stefan




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-10-28 15:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-27 23:32 pcase conditions doing nothing Heime
2022-10-27 23:57 ` Jean Louis
2022-10-28  0:07   ` Heime
2022-10-28  0:03 ` Emanuel Berg
2022-10-28 15:44 ` Stefan Monnier via Users list for the GNU Emacs text editor

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.