unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Ross Vandegrift <ross@kallisti.us>
To: help-gnu-emacs@gnu.org
Subject: How to inspect hook variables with byte compilation
Date: Wed, 27 Sep 2023 10:33:28 -0700	[thread overview]
Message-ID: <20230927173328.3jgldv4cezo22p4d@vanvanmojo.kallisti.us> (raw)

Hi folks,

I'm using emacs 28.2 from Debian.  I'm trying to troubleshoot an issue
with my org-mode setup.  So I inspect org-mode-hook with C-h v.

The value is a byte-compiled function, and clicking on the bytecode
gives me a disassemly.  How do I get human-readable output?

Output:

  org-mode-hook is a variable defined in ‘org.el’.

  Its value is shown below.

  Mode hook for Org mode, run after the mode was turned on.

    This variable may be risky if used as a file-local variable.
    You can customize this variable.

  Value:
  (#f(compiled-function
      ()
      #<bytecode -0x1356c8e47eb756a0>)
     #f(compiled-function
        ()
        #<bytecode -0x1356c8e6dc1bfaa0>)
     org-babel-result-hide-spec org-babel-hide-all-hashes)
  Original value was nil

  [back]

Thanks,
Ross

Please CC me, I'm not subscribed.



             reply	other threads:[~2023-09-27 17:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-27 17:33 Ross Vandegrift [this message]
2023-09-28  8:02 ` How to inspect hook variables with byte compilation Robert Pluim
2023-09-28 15:43   ` Ross Vandegrift
2023-10-04 14:25     ` Robert Pluim

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=20230927173328.3jgldv4cezo22p4d@vanvanmojo.kallisti.us \
    --to=ross@kallisti.us \
    --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).