From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: read-command, read-variable, read-buffer implemented in C Date: Sat, 13 Dec 2014 00:53:22 -0500 Message-ID: References: <877fxw9nvz.fsf@wanadoo.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1418450039 9011 80.91.229.3 (13 Dec 2014 05:53:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Dec 2014 05:53:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?windows-1252?Q?=D3scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 13 06:53:52 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XzfeI-0003Ms-T1 for ged-emacs-devel@m.gmane.org; Sat, 13 Dec 2014 06:53:51 +0100 Original-Received: from localhost ([::1]:60362 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzfeI-00030P-Fo for ged-emacs-devel@m.gmane.org; Sat, 13 Dec 2014 00:53:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35919) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xzfdz-0002zm-1R for emacs-devel@gnu.org; Sat, 13 Dec 2014 00:53:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xzfdr-00027U-F9 for emacs-devel@gnu.org; Sat, 13 Dec 2014 00:53:30 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:6944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xzfdr-00027O-AQ for emacs-devel@gnu.org; Sat, 13 Dec 2014 00:53:23 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjsPAOwQflTO+ILA/2dsb2JhbABbgweDYIVaxR0EAgKBJBcBAQEBAQF8hAMBAQMBViMFCws0EhQYDSSISgnWWQEBAQcBAQEBHpBvB4RIBYsBg2GOUIZRiyyBeIQZIYJ3AQEB X-IPAS-Result: AjsPAOwQflTO+ILA/2dsb2JhbABbgweDYIVaxR0EAgKBJBcBAQEBAQF8hAMBAQMBViMFCws0EhQYDSSISgnWWQEBAQcBAQEBHpBvB4RIBYsBg2GOUIZRiyyBeIQZIYJ3AQEB X-IronPort-AV: E=Sophos;i="5.07,502,1413259200"; d="scan'208";a="100450285" Original-Received: from 206-248-130-192.dsl.teksavvy.com (HELO pastel.home) ([206.248.130.192]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 13 Dec 2014 00:53:22 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 2261E1237; Sat, 13 Dec 2014 00:53:22 -0500 (EST) In-Reply-To: <877fxw9nvz.fsf@wanadoo.es> (=?windows-1252?Q?=22=D3scar?= Fuentes"'s message of "Sat, 13 Dec 2014 05:25:52 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:179976 Archived-At: > 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