From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Combine multiple cdrs into one list for hooks.
Date: Mon, 27 Sep 2021 17:18:31 +0800 [thread overview]
Message-ID: <CAGP6POLaV5oAu4Wn8iSZ0++65orw0k2Ep_wn4AFsDm7EVM617Q@mail.gmail.com> (raw)
In-Reply-To: <CAGP6POLX9GB7W+QhxKpemspoXjVy0tr-ufoLPqYB0GZks1E1HA@mail.gmail.com>
On Mon, Sep 27, 2021 at 5:14 PM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>
> I currently install and configure python-mode with use-package as follows:
>
> (use-package python-mode
> :hook
> (python-mode . pyvenv-mode)
> (python-mode . try/pyvenv-workon)
> (python-mode . flycheck-mode)
> (python-mode . company-mode)
> (python-mode . yas-minor-mode))
>
> I want to simplify the above multiple hook cons directives by
> combination the multiple cdrs into one list. Are there any tips for
> achieving this goal?
I've done some tries, as discussed here [1], but failed to do the trick.
[1] https://github.com/jwiegley/use-package/issues/954
Best, HZ
prev parent reply other threads:[~2021-09-27 9:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-27 9:14 Combine multiple cdrs into one list for hooks Hongyi Zhao
2021-09-27 9:18 ` Hongyi Zhao [this message]
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=CAGP6POLaV5oAu4Wn8iSZ0++65orw0k2Ep_wn4AFsDm7EVM617Q@mail.gmail.com \
--to=hongyi.zhao@gmail.com \
--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).