GNU bug report logs - #49376
Feature request (poll): default function for pretty printing when called interactively

Previous Next

Package: emacs;

Reported by: dalanicolai <at> gmail.com

Date: Sun, 4 Jul 2021 11:24:01 UTC

Severity: wishlist

Tags: wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: dalanicolai <dalanicolai <at> gmail.com>
To: 49376 <at> debbugs.gnu.org
Date: Sun, 4 Jul 2021 14:23:35 +0200
[Message part 1 (text/plain, inline)]
I guess it should actually be the following macro, to function as it is
supposed to:
```
(defmacro parse-print (data)
  `(if (called-interactively-p)
       (pp ,data)
    ,data))
```
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 282 days ago.

Previous Next


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