[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Towards a cleaner build

From: Lars Ingebrigtsen
Subject: Re: Towards a cleaner build
Date: Tue, 28 May 2019 11:49:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Noam Postavsky <address@hidden> writes:

> I think this could have the unwanted side-effect of "polluting" the
> Emacs session which runs the compiler with the obsolete function info
> from the files it's compiling.

That's true, but does it matter?

> If we have with-suppressed-warnings then this auto suppression could
> be implemented in a more obvious way by wrapping the output code in
> (with-suppressed-warnings ...). 

Hm...  You mean that if we have an obsolete declaration, then we alter
the defun to be (in effect)

(defun foo ()
  (with-suppressed-warnings (obsolete foo)

That seems like a rather drastic way of doing it, I think?

> And perhaps as Stefan suggests, we'll find the automation isn't really
> worth the trouble anyway.

Well, it didn't seem to be much trouble as the implementation already
works.  :-)

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

[Prev in Thread] Current Thread [Next in Thread]