GNU bug report logs - #20057
24.4: revive.el: saving variables does not work

Previous Next

Package: emacs;

Reported by: Boruch Baum <boruch_baum <at> gmx.com>

Date: Sun, 8 Mar 2015 18:23:02 UTC

Severity: normal

Tags: notabug

Found in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Boruch Baum <boruch_baum <at> gmx.com>
To: 20057 <at> debbugs.gnu.org
Subject: bug#20057: 24.4: revive.el: saving variables does not work
Date: Sun, 08 Mar 2015 14:21:41 -0400
[Message part 1 (text/plain, inline)]
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


[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 10 years and 138 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.