guile-devel
[Top][All Lists]
Advanced

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

Re: Discussion for %display-auto-compilation-messages (and --no-auto-com


From: Andy Wingo
Subject: Re: Discussion for %display-auto-compilation-messages (and --no-auto-compilation-messages option)
Date: Wed, 26 Mar 2014 09:18:51 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

On Wed 26 Mar 2014 04:19, Mark H Weaver <address@hidden> writes:

> Mark H Weaver <address@hidden> writes:
>
> It occurs to me that one possibility would be to allow some of these
> parameters to effectively mirror the value of some other parameter.

> One way to implement this would be to make the corresponding fluid be a
> thunk that returns a port, instead of the port itself.  The converter
> could accept either a port or a parameter, and convert each of these to
> a suitable thunk.  Finally, we'd make custom 'current-warning-port' and
> 'current-error-port' procedures that would handling calling the thunk.

This would mean that you couldn't use current-warning-port as a
parameter and a procedure.

I think this complexity argument is sufficient to argue against having
more current-foo-ports :)

Anyd
-- 
http://wingolog.org/



reply via email to

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