From: Dmitry Gutov <dgutov@yandex.ru>
To: Jiacai Liu <hello@liujiacai.net>, emacs-devel@gnu.org
Subject: Re: project.el switch project improvements
Date: Sat, 4 Sep 2021 21:49:27 +0300 [thread overview]
Message-ID: <6c864152-7806-ed4a-1b91-f43ad9fe0116@yandex.ru> (raw)
In-Reply-To: <m1ilzgfn1k.fsf@liujiacai.net>
Hi!
On 04.09.2021 17:11, Jiacai Liu wrote:
> project-switch-project command in master will prompt a list of commands
> after choose
> one project, it would be nice to just call it directly when length of
> project-switch-commands is 1.
>
> Any idea about this change?
Looks good.
Do you want to maybe go a step further and handle this case by having
project-switch-commands possibly be a symbol?
Then the user who doesn't want the prompt could just
(setq project-switch-commands #'project-find-file)
next parent reply other threads:[~2021-09-04 18:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m1ilzgfn1k.fsf@liujiacai.net>
2021-09-04 18:49 ` Dmitry Gutov [this message]
2021-09-05 3:46 ` project.el switch project improvements Jiacai Liu
[not found] ` <m11r63smzb.fsf@liujiacai.net>
2021-09-07 1:47 ` Dmitry Gutov
2021-09-07 15:24 ` Jiacai Liu
2021-09-04 14:11 Jiacai Liu
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6c864152-7806-ed4a-1b91-f43ad9fe0116@yandex.ru \
--to=dgutov@yandex.ru \
--cc=emacs-devel@gnu.org \
--cc=hello@liujiacai.net \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.