all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: help-gnu-emacs@gnu.org
Subject: Re: cl-delete-if vs list of overlays
Date: Wed, 09 Dec 2020 13:16:26 -0500	[thread overview]
Message-ID: <87wnxqhmkl.fsf@gnuvola.org> (raw)
In-Reply-To: <87wnxrfdea.fsf@omarpolo.com> (Omar Polo's message of "Wed, 09 Dec 2020 12:05:17 +0100")

[-- Attachment #1: Type: text/plain, Size: 953 bytes --]


() Omar Polo <op@omarpolo.com>
() Wed, 09 Dec 2020 12:05:17 +0100

   Oh my, I feel so stupid now...

No worries.

   I was under the (wrong) assumption that a destructive
   function will always modify the list, when it's not the case.
   I needed to setq the result of cl-delete-if to the list
   itself to cover all the cases.

But then you wouldn't have had the opportunity to read the
docstring (again?).  :-D

   Thanks!

Emacs is self-documenting but unfortunately not self-explanatory
(yet).  Thanks go to the Emacs hackers who write docstrings.

-- 
Thien-Thi Nguyen -----------------------------------------------
 (defun responsep (query)               ; (2020) Software Libero
   (pcase (context query)               ;       = Dissenso Etico
     (`(technical ,ml) (correctp ml))
     ...))                              748E A0E8 1CB8 A748 9BFA
--------------------------------------- 6CE4 6703 2224 4C80 7502


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 219 bytes --]

      parent reply	other threads:[~2020-12-09 18:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-09  9:53 cl-delete-if vs list of overlays Omar Polo
2020-12-09 10:17 ` Thien-Thi Nguyen
2020-12-09 11:05   ` Omar Polo
2020-12-09 16:14     ` Drew Adams
2020-12-09 18:16     ` Thien-Thi Nguyen [this message]

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=87wnxqhmkl.fsf@gnuvola.org \
    --to=ttn@gnuvola.org \
    --cc=help-gnu-emacs@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.