emacs-devel
[Top][All Lists]
Advanced

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

Re: Various simple.el patches


From: Luc Teirlinck
Subject: Re: Various simple.el patches
Date: Fri, 23 May 2003 13:27:55 -0500 (CDT)

Kai Grossjohann wrote:

   I vote for including this code in Emacs.  Do you want to install it?

I currently have no write access to the Emacs CVS.  I may or may not
want such access depending on exactly how much CVS knowledge is
necessary to commit changes without fear of doing some horrible
stupidities.  (I currently know no more CVS than necessary to check
out the CVS from Savannah.)  I just come to write Richard about this.

   (Minor question: are the save-excursions necessary?  I don't know if
   it is desirable to try to minimize them.)

They are necessary for read-only buffers.  Otherwise, you wind up
moving over the same text twice and copying it twice to the kill ring.
It certainly should be avoided to use completely unnecessary
save-excursion's.  On the other hand, I do not believe that
use of save-excursion poses such efficiency problems that one should
go completely out of one's way to avoid it, at the expense of more
complicated code.

Sincerely,

Luc.




reply via email to

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