[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.
Regards,
--
Fabián E. Gallina
http://www.from-the-cloud.com
- Re: Deprecate _emacs on Windows, (continued)
- RE: Deprecate _emacs on Windows, Drew Adams, 2011/03/22
- Re: Deprecate _emacs on Windows, Juanma Barranquero, 2011/03/22
- RE: Deprecate _emacs on Windows, Stephen J. Turnbull, 2011/03/22
- Re: Deprecate _emacs on Windows, Juanma Barranquero, 2011/03/22
- Re: Deprecate _emacs on Windows, Óscar Fuentes, 2011/03/23
- Re: Deprecate _emacs on Windows, Juanma Barranquero, 2011/03/23
- Re: Deprecate _emacs on Windows, Fabian Ezequiel Gallina, 2011/03/23
- Re: Deprecate _emacs on Windows, Juanma Barranquero, 2011/03/23
- Re: Deprecate _emacs on Windows,
Fabian Ezequiel Gallina <=
- RE: Deprecate _emacs on Windows, Drew Adams, 2011/03/23
- Re: Deprecate _emacs on Windows, Juanma Barranquero, 2011/03/23
- Re: Deprecate _emacs on Windows, Stefan Monnier, 2011/03/23
- RE: Deprecate _emacs on Windows, Drew Adams, 2011/03/23
- RE: Deprecate _emacs on Windows, Stephen J. Turnbull, 2011/03/23
Re: Deprecate _emacs on Windows, Chong Yidong, 2011/03/13