From: steve-humphreys@gmx.com
To: Tassilo Horn <tsdh@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Documentation about elisp code
Date: Sun, 2 May 2021 12:25:14 +0200 [thread overview]
Message-ID: <trinity-e723f0c5-fe14-4bda-884b-606a7a77908c-1619951114581@3c-app-mailcom-bs01> (raw)
In-Reply-To: <87eeepv8zs.fsf@gnu.org>
Have made a defvar and want to output the string in message.
Getting into difficulties doing that.
(defvar guidance-message
"* guidance
C-h f flight"
(defun guidance ()
"todo"
(message guidance-message) )
(guidance)
> Sent: Sunday, May 02, 2021 at 8:21 PM
> From: "Tassilo Horn" <tsdh@gnu.org>
> To: steve-humphreys@gmx.com
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: Documentation about elisp code
>
> steve-humphreys@gmx.com writes:
>
> > Have tried your suggestion, but the funtion is not clickable
> >
> > (defun guide ()
> > "`guidance-ediff'"
> >
> > (message "guide") )
>
> It it defined? It will only be clickable if it is a function which is
> actually defined when you view the docs. For example, when evaluating
> those two functions, they are linked in *Help* and I can switch between
> them by following the link:
>
> --8<---------------cut here---------------start------------->8---
> (defun th/foo ()
> "See `th/bar'."
> nil)
>
> (defun th/bar ()
> "See `th/foo'."
> nil)
> --8<---------------cut here---------------end--------------->8---
>
> Bye,
> Tassilo
>
next prev parent reply other threads:[~2021-05-02 10:25 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-02 4:34 Documentation about elisp code steve-humphreys
2021-05-02 5:24 ` steve-humphreys
2021-05-02 6:58 ` Tassilo Horn
2021-05-02 7:48 ` steve-humphreys
2021-05-02 8:21 ` Tassilo Horn
2021-05-02 9:07 ` steve-humphreys
2021-05-02 10:25 ` steve-humphreys [this message]
2021-05-02 10:40 ` tomas
2021-05-02 10:55 ` steve-humphreys
2021-05-02 17:00 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-02 23:10 ` [External] : " Drew Adams
2021-05-02 5:31 ` Jean Louis
2021-05-02 6:11 ` steve-humphreys
2021-05-02 9:08 ` Nikolay Kudryavtsev
2021-05-02 10:21 ` steve-humphreys
2021-05-02 17:03 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-02 7:22 ` Eli Zaretskii
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=trinity-e723f0c5-fe14-4bda-884b-606a7a77908c-1619951114581@3c-app-mailcom-bs01 \
--to=steve-humphreys@gmx.com \
--cc=help-gnu-emacs@gnu.org \
--cc=tsdh@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).