unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Live System User <nyc4bos@aol.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Local elisp library files and variable corruption
Date: Sat, 25 Jun 2016 16:37:53 -0400	[thread overview]
Message-ID: <87fus10ztq.fsf@aol.com> (raw)
In-Reply-To: <83mvma1jpc.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 24 Jun 2016 22:16:15 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Live System User <nyc4bos@aol.com>
>> Date: Fri, 24 Jun 2016 14:59:05 -0400
>> 
>> 3. M-x describe-variable RET after-init-hook
>> 
>> 
>>         The variable `after-init-hook' then appears to be corrupted:
>> 
>> after-init-hook is a variable defined in ‘startup.el’.
>> Its value is (#[0 "\305\211\b\235\203\306\b\"\301\307!\210\210	\205(\n\205 \v\205 \310 ?\311 \210\312\211)\207"
>>      [command-line-args desktop-save-mode desktop-restore-frames initial-window-system inhibit-startup-screen "--no-desktop" delete 0 daemonp desktop-read t]
>>      4]
>>  x-wm-set-size-hint)
>
> Why do you say this is corrupted?  It looks like bytecode to me.

Aha!

Another poster, Noam, pointed out that this is from the compiled
form of the anonymous function added by desktop.el.gz.

How does one go about getting `describe-variable' to return the
non-bytecode version of a variable, including, in this case, the
add-hook `after-init-hook' value from desktop.el.gz?

Thanks.






  parent reply	other threads:[~2016-06-25 20:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-24 18:59 Local elisp library files and variable corruption Live System User
2016-06-24 19:16 ` Eli Zaretskii
2016-06-24 19:23   ` Noam Postavsky
2016-06-25 20:37   ` Live System User [this message]
2016-06-25 20:54     ` Noam Postavsky
2016-06-26  5:29   ` Tom

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=87fus10ztq.fsf@aol.com \
    --to=nyc4bos@aol.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).