unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Ross Vandegrift <ross@kallisti.us>
To: Robert Pluim <rpluim@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to inspect hook variables with byte compilation
Date: Thu, 28 Sep 2023 08:43:47 -0700	[thread overview]
Message-ID: <20230928154347.rwps6pjijmeswovx@vanvanmojo.kallisti.us> (raw)
In-Reply-To: <87wmwa67zm.fsf@gmail.com>

Hi Robert,

On Thu, Sep 28, 2023 at 10:02:21AM +0200, Robert Pluim wrote:
>     Ross> Output:
> 
>     Ross>   org-mode-hook is a variable defined in ‘org.el’.
> 
>     Ross>   Its value is shown below.
> 
>     Ross>   Mode hook for Org mode, run after the mode was turned on.
> 
>     Ross>     This variable may be risky if used as a file-local variable.
>     Ross>     You can customize this variable.
> 
>     Ross>   Value:
>     Ross>   (#f(compiled-function
>     Ross>       ()
>     Ross>       #<bytecode -0x1356c8e47eb756a0>)
>     Ross>      #f(compiled-function
>     Ross>         ()
>     Ross>         #<bytecode -0x1356c8e6dc1bfaa0>)
>     Ross>      org-babel-result-hide-spec org-babel-hide-all-hashes)
>     Ross>   Original value was nil
> 
> Find out which file is setting the org-mode-hook, and temporarily move
> its .elc version out of the way.

That's a bit of a puzzler too - the only place my config modifies it is
in ~/.emacs.d/init.el.  AFAIK, init.el isn't byte-compiled?  At least I
can't find any init elc files:

  $ find ~/.emacs.d -name 'init*.elc'
  $

I tried moving all of the binary eln files which matched `org-mode-hook`
out of the way, but it didn't help.

Thanks,
Ross



  reply	other threads:[~2023-09-28 15:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-27 17:33 How to inspect hook variables with byte compilation Ross Vandegrift
2023-09-28  8:02 ` Robert Pluim
2023-09-28 15:43   ` Ross Vandegrift [this message]
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=20230928154347.rwps6pjijmeswovx@vanvanmojo.kallisti.us \
    --to=ross@kallisti.us \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rpluim@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).