GNU bug report logs - #14694
24.3; format-mode-line failing with :eval form via a variable in a conditional construct

Previous Next

Package: emacs;

Reported by: Phil Sainty <psainty <at> orcon.net.nz>

Date: Sun, 23 Jun 2013 05:13:01 UTC

Severity: normal

Tags: notabug

Found in version 24.3

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

Bug is archived. No further changes may be made.

Full log


Message #11 received at 14694 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Phil Sainty <psainty <at> orcon.net.nz>
Cc: 14694 <at> debbugs.gnu.org
Subject: Re: bug#14694: 24.3;
 format-mode-line failing with :eval form via a variable in a
 conditional construct
Date: Sun, 23 Jun 2013 12:45:42 -0400
ELISP> (setq indirect-eval '(:eval "indirect eval"))
ELISP> (format-mode-line '(t indirect-eval "else"))
> ""

You need (put 'indirect-eval 'risky-local-variable t)


        Stefan




This bug report was last modified 12 years and 5 days ago.

Previous Next


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