From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: How to apply (multi file) patches conveniently Date: Wed, 08 Feb 2017 10:48:47 +0100 Message-ID: <87efz9m2rk.fsf@zigzag.favinet> References: <87efzb5xgl.fsf@drachen> <83fujr7216.fsf@gnu.org> <871sv9u79z.fsf@drachen> <83fujp6a6b.fsf@gnu.org> <874m05ycmx.fsf@drachen> Reply-To: help-gnu-emacs@gnu.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1486587837 29197 195.159.176.226 (8 Feb 2017 21:03:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 8 Feb 2017 21:03:57 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 08 22:03:53 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbZP6-0007MQ-AM for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Feb 2017 22:03:52 +0100 Original-Received: from localhost ([::1]:33192 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbZPC-0003qz-1m for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Feb 2017 16:03:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbZOi-0003qe-La for help-gnu-emacs@gnu.org; Wed, 08 Feb 2017 16:03:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbZOe-0008Lh-KK for help-gnu-emacs@gnu.org; Wed, 08 Feb 2017 16:03:28 -0500 Original-Received: from mail.agora-net.com ([67.59.132.6]:52118) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cbZOe-0008JX-GH for help-gnu-emacs@gnu.org; Wed, 08 Feb 2017 16:03:24 -0500 Original-Received: from ttn by mail.agora-net.com with local (Exim 4.82) (envelope-from ) id 1cbZOa-00068o-8g for help-gnu-emacs@gnu.org; Wed, 08 Feb 2017 16:03:20 -0500 Original-Received: from ttn by zigzag.favinet with local (Exim 4.80) (envelope-from ) id 1cbOs0-0001mE-4D for help-gnu-emacs@gnu.org; Wed, 08 Feb 2017 10:49:00 +0100 Mail-Followup-To: help-gnu-emacs@gnu.org In-Reply-To: <874m05ycmx.fsf@drachen> (Michael Heerdegen's message of "Tue, 07 Feb 2017 21:22:30 +0100") X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: ttn@gnuvola.org X-SA-Exim-Scanned: No (on mail.agora-net.com); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 67.59.132.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112285 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable () Michael Heerdegen () Tue, 07 Feb 2017 21:22:30 +0100 (let* ((insert-default-directory nil) (input (read-directory-name (format "Dir (default %s): " (or source-directory default-directory))))) Should this be moved into the =E2=80=98interactive=E2=80=99 form? (if (string=3D input "") (expand-file-name (or source-directory default-directory)) input)) You can probably call =E2=80=98read-directory-name=E2=80=99 w/ some combina= tion of DIR, DEFAULT-DIRNAME and INITIAL args to have it produce the same result. =2D-=20 Thien-Thi Nguyen ----------------------------------------------- (defun responsep (query) (pcase (context query) (`(technical mailing-list) t) ...)) 748E A0E8 1CB8 A748 9BFA =2D-------------------------------------- 6CE4 6703 2224 4C80 7502 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlia6YUACgkQZwMiJEyAdQIPhACfTUaCN3oA6R1FqqK0A48DTPXw zeEAniWtpUHiQZ9m9BqOOGRgoYKAhqlD =B1ad -----END PGP SIGNATURE----- --=-=-=--