From: Thien-Thi Nguyen <ttn@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: How to apply (multi file) patches conveniently
Date: Wed, 08 Feb 2017 10:48:47 +0100 [thread overview]
Message-ID: <87efz9m2rk.fsf@zigzag.favinet> (raw)
In-Reply-To: <874m05ycmx.fsf@drachen> (Michael Heerdegen's message of "Tue, 07 Feb 2017 21:22:30 +0100")
[-- Attachment #1: Type: text/plain, Size: 1026 bytes --]
() Michael Heerdegen <michael_heerdegen@web.de>
() 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 ‘interactive’ form?
(if (string= input "")
(expand-file-name (or source-directory
default-directory))
input))
You can probably call ‘read-directory-name’ w/ some combination
of DIR, DEFAULT-DIRNAME and INITIAL args to have it produce the
same result.
--
Thien-Thi Nguyen -----------------------------------------------
(defun responsep (query)
(pcase (context query)
(`(technical mailing-list) t)
...)) 748E A0E8 1CB8 A748 9BFA
--------------------------------------- 6CE4 6703 2224 4C80 7502
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2017-02-08 9:48 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-06 12:13 How to apply (multi file) patches conveniently Michael Heerdegen
2017-02-06 15:49 ` Eli Zaretskii
2017-02-07 16:48 ` Michael Heerdegen
2017-02-07 17:19 ` Nick Dokos
2017-02-07 17:52 ` Michael Heerdegen
2017-02-07 19:45 ` Nick Dokos
2017-02-07 22:42 ` Robert Thorpe
2017-02-07 20:23 ` tomas
2017-02-07 20:42 ` Michael Heerdegen
2017-02-07 21:57 ` tomas
2017-02-07 19:31 ` Michael Heerdegen
2017-02-07 20:03 ` Eli Zaretskii
2017-02-07 20:22 ` Michael Heerdegen
2017-02-07 20:42 ` Eli Zaretskii
2017-02-07 20:50 ` Michael Heerdegen
2017-02-08 9:48 ` Thien-Thi Nguyen [this message]
2017-02-08 22:34 ` Michael Heerdegen
2017-02-09 17:49 ` Thien-Thi Nguyen
2017-02-07 14:25 ` Stefan Monnier
2017-02-07 16:51 ` Michael Heerdegen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87efz9m2rk.fsf@zigzag.favinet \
--to=ttn@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).