From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: Why the odd interactive form in byte-compile-file? Date: Wed, 15 Jan 2014 05:41:34 +0100 Message-ID: <871u09kgap.fsf@zigzag.favinet> References: <52D368DE.1080303@dancol.org> <52D5CF82.4030405@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1389760694 6618 80.91.229.3 (15 Jan 2014 04:38:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Jan 2014 04:38:14 +0000 (UTC) Cc: Emacs developers To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 15 05:38:20 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 1W3IF9-0003gY-H1 for ged-emacs-devel@m.gmane.org; Wed, 15 Jan 2014 05:38:19 +0100 Original-Received: from localhost ([::1]:52058 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3IF8-0001l4-Ry for ged-emacs-devel@m.gmane.org; Tue, 14 Jan 2014 23:38:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3IF0-0001kx-9r for emacs-devel@gnu.org; Tue, 14 Jan 2014 23:38:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3IEt-000498-Rf for emacs-devel@gnu.org; Tue, 14 Jan 2014 23:38:10 -0500 Original-Received: from smtp208.alice.it ([82.57.200.104]:32403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3IEt-000491-Gg for emacs-devel@gnu.org; Tue, 14 Jan 2014 23:38:03 -0500 Original-Received: from zigzag.favinet (95.236.26.168) by smtp208.alice.it (8.6.060.28) id 52443B8217ACB22A; Wed, 15 Jan 2014 05:37:54 +0100 Original-Received: from ttn by zigzag.favinet with local (Exim 4.80) (envelope-from ) id 1W3IIT-0003zs-HP; Wed, 15 Jan 2014 05:41:45 +0100 In-Reply-To: <52D5CF82.4030405@dancol.org> (Daniel Colascione's message of "Tue, 14 Jan 2014 16:00:02 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.104 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:168424 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable () Daniel Colascione () Tue, 14 Jan 2014 16:00:02 -0800 > Is there some deeper reason we're not using code that looks like this? > > (interactive > (list (read-file-name (if current-prefix-arg > "Byte compile and load file: " > "Byte compile file: ")) > current-prefix-arg)) The current =E2=80=98interactive=E2=80=99 form supplies DIR and DEFAULT-FIL= ENAME args to =E2=80=98read-file-name=E2=80=99 if the current buffer is Emacs Lisp (ish).= Those are available to the user via =E2=80=98M-n=E2=80=99. The form you propose doesn't do that. Ping? I'd like to treat this issue as a bugfix and change the interactive form to my proposal for 24.4. Why do you want to treat this functionality as an "issue"? =2D-=20 Thien-Thi Nguyen GPG key: 4C807502 (if you're human and you know it) read my lisp: (responsep (questions 'technical) (not (via 'mailing-list))) =3D> nil --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlLWEYEACgkQZwMiJEyAdQLmogCgnUGyGbouWjZXd3eP7Ni8dadG ytEAn2jE0i8Vwu6UjuEk76Jq+ClptGcL =njIV -----END PGP SIGNATURE----- --=-=-=--