all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: Arash Esbati <arash@gnu.org>
Cc: 72313@debbugs.gnu.org, monnier@iro.umontreal.ca,
	72313-done@debbugs.gnu.org
Subject: bug#72313: 31.0.50; Warning about cl-member possibly being undefined when using cl-pushnew
Date: Wed, 31 Jul 2024 19:44:26 +0200	[thread overview]
Message-ID: <87h6c5ihhh.fsf@gnu.org> (raw)
In-Reply-To: <m2wml6y1c5.fsf@macmutant.fritz.box> (Arash Esbati's message of "Sat, 27 Jul 2024 23:25:14 +0200")

Arash Esbati <arash@gnu.org> writes:

Hi Arash,

>> Let's just require cl-lib.  declare-function only silences the
>> byte-compiler and the usage of cl-member at runtime is a fact; no
>> cheating allowed.  It's also an implementation detail we should not
>> bother with.
>
> I'm not sure if this is cheating, but I'm easy, and if we want to
> require cl-lib, I'd do it in tex.el which is loaded by all
> <mode-name>.el files; so basically:

Yes, I've done something along those lines (and also required the very
small subr-x).  AUCTeX is traditionally very conservative with
dependencies but we should not limit ourselves by not using basic emacs
functions in the common libs like cl-lib, seq, or subr-x.

I'm closing this report.  Thanks for the explanations, Stefan & Eli.

Bye,
  Tassilo





  reply	other threads:[~2024-07-31 17:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-26 20:29 bug#72313: 31.0.50; Warning about cl-member possibly being undefined when using cl-pushnew Tassilo Horn
2024-07-26 21:20 ` Jeremy Bryant via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-27  7:01 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-27  7:13   ` Tassilo Horn
2024-07-27  7:49     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-27 15:29       ` Arash Esbati
2024-07-27 20:50         ` Tassilo Horn
2024-07-27 21:25           ` Arash Esbati
2024-07-31 17:44             ` Tassilo Horn [this message]
2024-07-31 19:55               ` Arash Esbati
2024-07-28  4:58           ` Eli Zaretskii

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=87h6c5ihhh.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=72313-done@debbugs.gnu.org \
    --cc=72313@debbugs.gnu.org \
    --cc=arash@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.