GNU bug report logs - #12895
24.3.50; Replacement for flet

Previous Next

Package: emacs;

Reported by: Antoine Levitt <antoine.levitt <at> gmail.com>

Date: Thu, 15 Nov 2012 13:37:02 UTC

Severity: normal

Tags: notabug

Found in version 24.3.50

Done: Marcin Borkowski <mbork <at> mbork.pl>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Antoine Levitt <antoine.levitt <at> gmail.com>
Cc: 12895 <at> debbugs.gnu.org
Subject: Re: bug#12895: 24.3.50; Replacement for flet
Date: Fri, 16 Nov 2012 09:34:36 -0500
>> Overriding a function is bad.  It can mess things up and throw you
>> majorly off-course when debugging the problem.
> So are advices.

But advices are much more visible (e.g. they appear in C-h f).

> I have lots of flet in my .emacs, usually to suppress
> messages from functions which are defined elsewhere. For instance,

So you need just one advice that adds an `inhibit-message' variable and
then you can let-bind this variable wherever you used flet message.


        Stefan




This bug report was last modified 9 years and 106 days ago.

Previous Next


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