[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: read-command, read-variable, read-buffer implemented in C
From: |
Stefan Monnier |
Subject: |
Re: read-command, read-variable, read-buffer implemented in C |
Date: |
Sat, 13 Dec 2014 00:53:22 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> I guess it is an historical artifact due to performance concerns, but
> now it doesn't make much sense anymore, right?
Indeed.
> Some extensions need to jump through hoops because of this. For using
> Ido (almost) everywhere it would be enough to advise `completing-read',
> which is what those functions end using, but as advices are not
> effective for functions defined in C when they are called from other C
> functions, extensions such as ido-hacks are forced to advise the
> functions that call read-*, which is quite a hassle.
We introduced completing-read-function for that.
Stefan