From: Tino Calancha <tino.calancha@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Should `position' be implemented in Emacs core and preloaded?
Date: Thu, 6 Oct 2016 00:37:12 +0900 (JST) [thread overview]
Message-ID: <alpine.DEB.2.20.1610060023400.6795@calancha-pc> (raw)
In-Reply-To: <jwvbmyy4z07.fsf-monnier+gmane.emacs.devel@gnu.org>
On Wed, 5 Oct 2016, Stefan Monnier wrote:
>> II) Alternatively, they could be implemented in a lighter
>> lib; i guess the natural candidate is seq.el.
>> Note that this lib already has `seq-position'.
>
> I consider seq.el as "core" already. Actually, I also consider
> cl-lib as "core". The fact that you have to rite (require <..>) is
> fairly secondary.
Yes, you are right. Of course, they are core Emacs.
What i meant is that it would be nice if people could use that
kind of useful functions without face resistances. I saw before
in this list people who wanted to use a function from cl-lib or seq.el,
and they received objections because that would force that file to
require such lib.
> I think sooner or later, these libraries will be preloaded (not sure
> which of the two will get there first, tho).
That sounds interesting.
> Also, FWIW, I don't see many uses of these cl/seq-position functions
> in Emacs, so I'm not sure how important they are, really.
I suspect that one important reason to not appear widely is exactly
that in order to use them we need to require the lib to use it. Probably
if `member' would be just an alias to `cl-member', we wouldn't see it
as many times as we can see it now in Emacs tree. I bet that if we follow
the I) above, we will start to see many uses of those functions in the new
code.
next prev parent reply other threads:[~2016-10-05 15:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-05 14:46 Should `position' be implemented in Emacs core and preloaded? Tino Calancha
2016-10-05 15:13 ` Stefan Monnier
2016-10-05 15:37 ` Tino Calancha [this message]
2016-10-05 15:50 ` Stefan Monnier
2016-10-05 16:14 ` Tino Calancha
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.20.1610060023400.6795@calancha-pc \
--to=tino.calancha@gmail.com \
--cc=emacs-devel@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).