* Any chance of a `flatten-list' to merge 4 current versions?
@ 2004-07-02 11:12 Stephen Eglen
2004-07-02 17:51 ` Richard Stallman
0 siblings, 1 reply; 4+ messages in thread
From: Stephen Eglen @ 2004-07-02 11:12 UTC (permalink / raw)
Hello,
--text follows this line--
I'm writing some lisp for another package (ESS) not included in Emacs.
I would like to use a `flatten-list' defun, but was surprised to see
this is not included in elisp. However, a quick grep of the lisp
directory showed:
% grep -r 'defun .*flatten-list' .
./gnus/message.el:(defun message-flatten-list (list)
./lpr.el:(defun lpr-flatten-list (&rest list)
./lpr.el:(defun lpr-flatten-list-1 (list)
./ps-print.el:(defun ps-flatten-list (&rest list)
./ps-print.el:(defun ps-flatten-list-1 (list)
./eshell/esh-util.el:(defun eshell-flatten-list (args)
i.e. four different packages, all quite widely used, have their own
version. Would it be worth providing just one common version called
`flatten-list'?
Thanks, Stephen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Any chance of a `flatten-list' to merge 4 current versions?
2004-07-02 11:12 Any chance of a `flatten-list' to merge 4 current versions? Stephen Eglen
@ 2004-07-02 17:51 ` Richard Stallman
2004-07-06 19:00 ` Kevin Rodgers
0 siblings, 1 reply; 4+ messages in thread
From: Richard Stallman @ 2004-07-02 17:51 UTC (permalink / raw)
Cc: emacs-devel
i.e. four different packages, all quite widely used, have their own
version. Would it be worth providing just one common version called
`flatten-list'?
Just 4 is not enough, but if there are a few more, then we would
want to put it in Emacs.
The way it's done now, it does not need to be in the Lisp manual.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Any chance of a `flatten-list' to merge 4 current versions?
2004-07-02 17:51 ` Richard Stallman
@ 2004-07-06 19:00 ` Kevin Rodgers
2004-07-07 20:57 ` Richard Stallman
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Rodgers @ 2004-07-06 19:00 UTC (permalink / raw)
Richard Stallman wrote:
> Just 4 is not enough, but if there are a few more, then we would
> want to put it in Emacs.
To the extent there is duplication between 4 packages, that is
unfortunate. Not correcting it could lead to more duplication, which
would be more unfortunate.
Sound familiar? :-)
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Any chance of a `flatten-list' to merge 4 current versions?
2004-07-06 19:00 ` Kevin Rodgers
@ 2004-07-07 20:57 ` Richard Stallman
0 siblings, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2004-07-07 20:57 UTC (permalink / raw)
Cc: emacs-devel
> Just 4 is not enough, but if there are a few more, then we would
> want to put it in Emacs.
To the extent there is duplication between 4 packages, that is
unfortunate. Not correcting it could lead to more duplication, which
would be more unfortunate.
That is what I said about duplication of features for the user.
Duplication of small functions like this is not a problem.
Sound familiar? :-)
It's a good example of how a statement mean for one context
can be misleading when applied to another context.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-07-07 20:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-02 11:12 Any chance of a `flatten-list' to merge 4 current versions? Stephen Eglen
2004-07-02 17:51 ` Richard Stallman
2004-07-06 19:00 ` Kevin Rodgers
2004-07-07 20:57 ` Richard Stallman
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).