unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Heime <heimeborgia@protonmail.com>
To: Emanuel Berg <incal@dataswamp.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Displays defconst string in help buffer
Date: Sat, 12 Nov 2022 07:50:14 +0000	[thread overview]
Message-ID: <3BRsSA6mHWedrYlt7TlNdP7W_Pt02ntlpZMV7PIEqC-cNNOj-eAfVVBF7C_Fc--2nKDUWoLNT1WrgFbeWk3Q3MIASnrJisn1nRFqQ9SY3Us=@protonmail.com> (raw)
In-Reply-To: <87wn81ff4r.fsf@dataswamp.org>


------- Original Message -------
On Friday, November 11th, 2022 at 7:46 PM, Emanuel Berg <incal@dataswamp.org> wrote:


> Heime wrote:
> 
> > I have a defconst declaration called "attend". Would like to
> > have a function that displays the "attend" string in the
> > help buffer as is done by "describe-function". What can
> > I do?
> 
> 
> Use the source, Luke!
> 
> C-h f describe-function RET
> 
> If you see a button there to the source, hit it.
> 
> It's in help-fns.el lines 251-284.
> 
> If you don't see a link, see if you can get that. Do you build
> Emacs from source? If not ... see if you can get that!
> Here are a bunch of useful commands:
> 
> https://dataswamp.org/~incal/conf/.zsh/install-emacs

Yes, I build from source.  

I have done the following solution

  (with-help-window (help-buffer)
    (insert attend-message))







  reply	other threads:[~2022-11-12  7:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-11 19:29 Displays defconst string in help buffer Heime
2022-11-11 19:46 ` Emanuel Berg
2022-11-12  7:50   ` Heime [this message]
2022-11-13 17:11     ` Emanuel Berg
2022-11-14 13:46       ` Heime
2022-11-15  1:04         ` Emanuel Berg

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='3BRsSA6mHWedrYlt7TlNdP7W_Pt02ntlpZMV7PIEqC-cNNOj-eAfVVBF7C_Fc--2nKDUWoLNT1WrgFbeWk3Q3MIASnrJisn1nRFqQ9SY3Us=@protonmail.com' \
    --to=heimeborgia@protonmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=incal@dataswamp.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).