unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Daniel Martín" <mardani29@yahoo.es>
To: Hongyi Zhao <hongyi.zhao@gmail.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Check/find/locate the customized function/command of a specific project in Emacs conveniently/quickly/efficiently.
Date: Sun, 04 Jul 2021 23:22:12 +0200	[thread overview]
Message-ID: <m1tul9vkor.fsf@yahoo.es> (raw)
In-Reply-To: <CAGP6POLN4gBgA2252=vGT=QKfVaMmg+agPm1dvA+R3LvgaKTFQ@mail.gmail.com> (Hongyi Zhao's message of "Sun, 4 Jul 2021 10:42:26 +0800")

Hongyi Zhao <hongyi.zhao@gmail.com> writes:

> I'm currently learning the configuration used by doom Emacs [1]. For
> example, the following code snippet shows on
> <https://github.com/hlissner/doom-emacs/blob/2731685095d1e6101b3215aa689426e1834ce00f/modules/lang/latex/config.el#L256>:
>
> (use-package! company-math
> :when (featurep! :completion company)
> :defer t
> :init
> (add-to-list '+latex--company-backends
> #'+latex-symbols-company-backend nil #'eq))
>
> In the above code snippet, there are some customized
> function/command/variable, i.e., use-package!, featurep!,
> +latex--company-backends, and +latex-symbols-company-backend, which
> are not so easy to understand just by their names. So, I want to
> check/find/locate the corresponding definitions for them in Emacs
> conveniently/quickly/efficiently. Because they are customized things,
> the
> `M-.' doesn't work for them.

It seems like use-package! is a macro defined by Doom Emacs, so you can
do C-h f use-package! RET to read its documentation.  Similarly,
+latex-symbols-company-backend seems like a Lisp variable added by Doom
Emacs, so you can get help by doing C-h v +latex-symbols-company-backend
RET.

Alternatively, you can type C-h o (describe-symbol) to get documentation
about any symbol (variable, function, etc.).



  reply	other threads:[~2021-07-04 21:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-04  2:42 Check/find/locate the customized function/command of a specific project in Emacs conveniently/quickly/efficiently Hongyi Zhao
2021-07-04 21:22 ` Daniel Martín [this message]
2021-07-05  1:57   ` Hongyi Zhao
2021-07-05 21:32     ` Daniel Martín

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=m1tul9vkor.fsf@yahoo.es \
    --to=mardani29@yahoo.es \
    --cc=help-gnu-emacs@gnu.org \
    --cc=hongyi.zhao@gmail.com \
    /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).