GNU bug report logs - #19023
24.4; Long pause when evaluating numeric expression

Previous Next

Package: emacs;

Reported by: Gareth Rees <gdr <at> garethrees.org>

Date: Tue, 11 Nov 2014 20:19:02 UTC

Severity: minor

Tags: fixed, patch

Merged with 16828, 21131, 23930

Found in versions 24.3.50, 24.4, 25.0.95

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Gareth Rees <gdr <at> garethrees.org>
Cc: 19023 <at> debbugs.gnu.org
Subject: Re: bug#19023: 24.4; Long pause when evaluating numeric expression
Date: Tue, 11 Nov 2014 20:52:22 -0500
[ Side comment.  ]

> (defun old-format (orig-fun value)
>   (and (integerp value) (eq standard-output t)
>        (format " (#o%o, #x%x)" value value)))

> (advice-add 'eval-expression-print-format :around #'old-format)

If you don't use `orig-fun', you might as well use :override rather
than :around.


        Stefan




This bug report was last modified 8 years and 6 days ago.

Previous Next


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