[Top][All Lists]

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

Re: Deprecate _emacs on Windows

From: Fabian Ezequiel Gallina
Subject: Re: Deprecate _emacs on Windows
Date: Wed, 23 Mar 2011 10:36:11 -0300

2011/3/23 Juanma Barranquero <address@hidden>:
> On Wed, Mar 23, 2011 at 13:23, Fabian Ezequiel Gallina
> <address@hidden> wrote:
>> How about to make the warning interactive? giving the user the
>> posibility to let Emacs rename the file right there when the warning
>> is prompt?
>> "_emacs is obsolete, do you want to let Emacs rename it to .emacs now? (y/n)"
> Are you trying to provoke Drew a heart attack?
> Or, more seriously, that would be too intrusive IMO, and you would
> need to add a way to silence it anway (in case the user does not want
> to rename it).
>     Juanma

I think it would be neat if a warning could be a simple string or a
cons where the car is the warning string and the cdr is a callback
that should be interactive (to be called via call-interactively):
Something like this: ("This foo should be a bar" . 'handle-foo-bar).

This way for warnings that can be assisted, a callback can be fired to
help the user to solve it. The "_emacs" to ".emacs" case is a good
example. Also is the case of deprecated vars.

The callback of course should let the user choose to take action or not.

Fabián E. Gallina

reply via email to

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