emacs-devel
[Top][All Lists]
Advanced

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

Re: proposal - minibuffer completion functions


From: Stefan Monnier
Subject: Re: proposal - minibuffer completion functions
Date: Wed, 26 Mar 2008 17:04:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> Example: Icicles (just an example that I'm familiar with) and Viper
> mode each adapt `read-file-name', in different ways, for their own
> use. Icicles does this by redefining `read-file-name' when in Icicle
> mode (it is restored when you leave the mode). Viper does it by
> advising `read-file-name'.  If you load Icicles first, the two play
> well together; if you load Viper first, they do not,
> obviously.  Neither redefining nor advising is a great approach
> here, IMO.

For what it's worth: in 99% of the cases, advising is superior
to redefining.  The above case is no exception.


        Stefan




reply via email to

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