emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: loading message.el for two small functions


From: Kim F. Storm
Subject: Re: loading message.el for two small functions
Date: 04 Dec 2001 01:01:41 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Bill Wohler <address@hidden> writes:

> Richard Stallman <address@hidden> writes:
> >     * mail/smtpmail.el: Use with-current-buffer.
> >     (message-make-date, message-make-message-id): Autoload when needed.
> > 
> > message.el is almost 5000 lines.  It is very inefficient to load that
> > file just to get these two small functions.  Would you please copy and
> > rename the functions instead?
> 
> <soapbox>
> 
>   I don't know how much time I've spent looking for and fixing bugs in
>   code that was fixed in cut-and-pasted code elsewhere. Or how many
>   bugs I've seen pop up that were seemingly fixed before. Programmers
>   should have a finger cut off every time they cut and paste.
> 

And IMO this will get worse with the planned implementation of lexical
binding - if someone copies code from a file with lexical binding to a file
with dynamic binding (or vice versa).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]