all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jorge P. de Morais Neto <jorge+list@disroot.org>
To: help-gnu-emacs@gnu.org
Subject: Re: The function ‘cl-set-difference’ might not be defined at runtime
Date: Tue, 14 Apr 2020 16:17:07 -0300	[thread overview]
Message-ID: <871rop3mj0.fsf@disroot.org> (raw)
In-Reply-To: <87v9m19a63.fsf@gmail.com>

Em [2020-04-14 ter 20:47:32+0200], Štěpán Němec escreveu:

> Did you have a look at that bug report?

I have looked at it just a few minutes ago, after reading Noam
Postavsky's reply.

> I thought the problem is described there at some length.  The simplest
> solution is probably to just (require 'cl-lib).

Yes, `(require 'cl-lib)` at top level placates Flycheck.  But for the
last drop of efficiency, I tried to `(require 'cl-lib)` inside the body
of the function that calls cl-set-difference, and put at the top level:

(declare-function cl-set-difference "cl-seq" (list1 list2 &rest cl-keys))

That does not placate Flycheck though.  Do you know why?  The 0.08s of
extra loading time will not kill anyone for sure (specially since this
is code for personal use and even I will use it only rarely), but if
there is an easy way to avoid it, I would like to know.

Regards
-- 
- <https://jorgemorais.gitlab.io/justice-for-rms/>
- I am Brazilian.  I hope my English is correct and I welcome feedback.
- Please adopt free/libre formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
- Free/libre software for Replicant, LineageOS and Android: https://f-droid.org
- [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]]



  reply	other threads:[~2020-04-14 19:17 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-14 17:53 The function ‘cl-set-difference’ might not be defined at runtime Jorge P. de Morais Neto
2020-04-14 18:12 ` Štěpán Němec
2020-04-14 18:25   ` Jorge P. de Morais Neto
2020-04-14 18:39     ` Noam Postavsky
2020-04-14 18:47     ` Štěpán Němec
2020-04-14 19:17       ` Jorge P. de Morais Neto [this message]
2020-04-14 19:43         ` Noam Postavsky
2020-04-14 20:21           ` Štěpán Němec
2020-04-14 20:59             ` Jorge P. de Morais Neto
2020-04-15  4:01               ` Stefan Monnier
2020-04-15  4:34                 ` Emanuel Berg via Users list for the GNU Emacs text editor
     [not found]                   ` <20200415070046.GA17630@tuxteam.de>
2020-04-15 17:14                     ` ;; Local variables: (was: Re: The function ‘cl-set-difference’ might not be defined at runtime) Emanuel Berg via Users list for the GNU Emacs text editor
2020-04-15 17:25                       ` tomas
2020-04-15 12:52                 ` The function ‘cl-set-difference’ might not be defined at runtime Jorge P. de Morais Neto
2020-04-15 13:01                   ` Noam Postavsky
2020-04-14 20:21         ` Stefan Monnier
2020-04-14 21:10           ` Jorge P. de Morais Neto
2020-04-15  4:05             ` Stefan Monnier

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=871rop3mj0.fsf@disroot.org \
    --to=jorge+list@disroot.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.