From: Boruch Baum <boruch_baum@gmx.com>
To: 20057@debbugs.gnu.org
Subject: bug#20057: 24.4: revive.el: saving variables does not work
Date: Sun, 08 Mar 2015 14:21:41 -0400 [thread overview]
Message-ID: <54FC9335.7080805@gmx.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 951 bytes --]
Version information:
Version: 20150110.1819
$Id: revive.el,v 2.22 2014/04/02 14:25:14 yuuji Exp $
Last modified Wed Apr 2 23:25:14 2014 on firestorm
The documentation for revive states: "Revive.el can save global or local
variables...". However, this does not work. Looking at the code, it
seems the trouble is that the code at lines 452-454 ...
(setq revive:save-variables-global
(append revive:save-variables-global-private
revive:save-variables-global-default))
is performed, only, and immediately, after
(defvar revive:save-variables-global-private nil) -- line 448
so following the instructions on lines 52-59 will never work.
I do see that variable revive:save-variables-local-private is handled
differently, and is used on line 648. Maybe that should be where the
global variables should be set.
--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next reply other threads:[~2015-03-08 18:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-08 18:21 Boruch Baum [this message]
2015-03-09 0:46 ` bug#20057: 24.4: revive.el: saving variables does not work Glenn Morris
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54FC9335.7080805@gmx.com \
--to=boruch_baum@gmx.com \
--cc=20057@debbugs.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.