[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: please make line-move-visual nil
From: |
joakim |
Subject: |
Re: please make line-move-visual nil |
Date: |
Tue, 26 May 2009 14:42:21 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) |
Lennart Borgman <address@hidden> writes:
> On Tue, May 26, 2009 at 1:37 PM, Deniz Dogan <address@hidden> wrote:
>> 2009/5/26 Tassilo Horn <address@hidden>:
>>> Ok, so what I wanted to propose instead some special handling of
>>> line-move-visual in keyboard macros is the addition of two hook
>>> `before-kbd-macro-hook' and `after-kbd-macro-hook' which are run before
>>> and after the definition and execution of keyboard macros. Then users
>>> can decide the value of line-move-visual and others depending on the
>>> current buffer's mode or the lunar phase in macros, no matter the
>>> default or user-specified value.
>>
>> I completely support this and in my opinion it's not too late to add
>> these hooks.
>
>
> I am not sure this is a good idea.
>
> I believe it might be better to investigate more how certain features
> (like visual-line-move) should be handled under different
> circumstances. Such circumstances is (as is pointed out here) macros,
> but there are others two, like printing. And what about using the
> affected functions in functions that might do the editing in another
> window than the selected window?
>
> Even though I think like this I like visual-line-mode and think it
> should be on by default. But thinking over the questions above and
> documenting the behaviour is necessary in my opinion.
I think this argument in fact supports the addition of hooks. Maybe you
need to differentiate between recording hooks and execution hooks, but
otherwise the idea seems good. It seems logical that youd want some
generic mechanism to get Emacs into a state that is good for recording
and executing macros.
>
>
--
Joakim Verona
- RE: please make line-move-visual nil, (continued)
- RE: please make line-move-visual nil, Drew Adams, 2009/05/25
- Re: please make line-move-visual nil, Stefan Monnier, 2009/05/25
- RE: please make line-move-visual nil, Drew Adams, 2009/05/25
- Re: please make line-move-visual nil, Stefan Monnier, 2009/05/25
- Re: please make line-move-visual nil, Lennart Borgman, 2009/05/25
- Re: please make line-move-visual nil, Tassilo Horn, 2009/05/26
- Re: please make line-move-visual nil, Deniz Dogan, 2009/05/26
- Re: please make line-move-visual nil, Lennart Borgman, 2009/05/26
- Re: please make line-move-visual nil, David Reitter, 2009/05/26
- Message not available
- Re: please make line-move-visual nil, David Reitter, 2009/05/26
- Re: please make line-move-visual nil,
joakim <=
- Re: please make line-move-visual nil, Jason Rumney, 2009/05/26
- Re: please make line-move-visual nil, Lennart Borgman, 2009/05/26
- Re: please make line-move-visual nil, Miles Bader, 2009/05/26
- Re: please make line-move-visual nil, Stefan Monnier, 2009/05/26
- Re: please make line-move-visual nil, Tobias C. Rittweiler, 2009/05/26
Re: please make line-move-visual nil, Bob Nnamtrop, 2009/05/14
Re: please make line-move-visual nil, Shaun Johnson, 2009/05/14