[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Auto Fill Comments
From: |
Christopher Dimech |
Subject: |
Re: Auto Fill Comments |
Date: |
Wed, 2 Dec 2020 00:27:48 +0100 |
It is a motivation of how beneficial properly working examples
would be, to have in manuals, if they are not too long.
Naturally, it is up to author discretion, but good to keep in mind.
> Sent: Wednesday, December 02, 2020 at 12:16 AM
> From: "Michael Heerdegen" <michael_heerdegen@web.de>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: Auto Fill Comments
>
> Christopher Dimech <dimech@gmx.com> writes:
>
> > Can someone show me some properly working examples of _ in pcase
> > and say what they do?
>
> A simple example?
>
> #+begin_src emacs-lisp
> (pcase person
> ('christopher (message "Hello, Christopher!"))
> ('michael) ; do nothing and return nil
> ;; catchall branch:
> (_ (message "Hello, how are you?")))
> #+end_src
>
> Of course one can use it, like any other pattern, to assemble compounded
> patterns. It is particularly useful in backquote patterns for example.
>
> IME the `pcase' occurrences in the Emacs sources offer a nice set of
> examples, once one has got an idea of the concept.
>
> Michael.
>
>
- Re: RE: Auto Fill Comments, tomas, 2020/12/01
- Re: RE: Auto Fill Comments, Christopher Dimech, 2020/12/01
- Re: RE: Auto Fill Comments, Jean Louis, 2020/12/01
- Re: RE: Auto Fill Comments, Christopher Dimech, 2020/12/01
- Re: Auto Fill Comments, Michael Heerdegen, 2020/12/01
- Re: Auto Fill Comments, Christopher Dimech, 2020/12/01
- Re: Auto Fill Comments, Michael Heerdegen, 2020/12/01
- Re: Auto Fill Comments, Christopher Dimech, 2020/12/01
- Re: Auto Fill Comments, Christopher Dimech, 2020/12/01
- Re: Auto Fill Comments, Michael Heerdegen, 2020/12/01
- Re: Auto Fill Comments,
Christopher Dimech <=
- Re: Auto Fill Comments, Jean Louis, 2020/12/01
Re: RE: Auto Fill Comments, Christopher Dimech, 2020/12/01