[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how-many/count-matches for non-interactive use
From: |
Ken Manheimer |
Subject: |
Re: how-many/count-matches for non-interactive use |
Date: |
Mon, 25 Oct 2004 10:04:26 -0400 (EDT) |
Thanks, all, for including me in the discussion about misuses of
interactive-p. I'm the developer of allout, and haven't had time yet to
examine the specifics. I hope to do so this week, but have one
preliminary comment.
On Sat, 23 Oct 2004, Richard Stallman wrote:
> Many calls to interactive-p appear in functions that are not commands.
> The only way interactive-p can return non-nil is when these functions
> are called from commands run from macros. It doesn't seem right for
> allout commands to move the cursor differently when they are run from
> macros. So I am pretty sure these are bugs.
This use *may* be deliberate. Allout has a special "hot-spot" operation
mode, where the behavior of the movement functions varies depending on
whether or not you started from on top of a bullet glyph. The thing is
that this behavioral nuance should not happen when being called
non-interactively. It *may* be that the interactive-p conditioning is for
that purpose.
> I think this is the right way to fix these bugs, but I don't use
> allout.el. Could someone who uses it please check this?
As i said though, the above is an entirely preliminary thought. I'm
hoping to get time this evening or tomorrow to investigate, and try out
the proposed changes to see if this is disrupted. I'll report back when i
know more, one way or another.
Ken Manheimer
address@hidden (please shift to address@hidden or address@hidden)
- Re: how-many/count-matches for non-interactive use, (continued)
- Re: how-many/count-matches for non-interactive use, Richard Stallman, 2004/10/20
- Re: how-many/count-matches for non-interactive use, Luc Teirlinck, 2004/10/20
- Re: how-many/count-matches for non-interactive use, Richard Stallman, 2004/10/22
- Convert keyboard macros to Lisp (was: how-many/count-matches for non-interactive use), Juri Linkov, 2004/10/22
- Re: Convert keyboard macros to Lisp (was: how-many/count-matches for non-interactive use), Richard Stallman, 2004/10/23
- Re: how-many/count-matches for non-interactive use, Luc Teirlinck, 2004/10/22
- Re: how-many/count-matches for non-interactive use, Luc Teirlinck, 2004/10/22
- Re: how-many/count-matches for non-interactive use, Luc Teirlinck, 2004/10/22
- Re: how-many/count-matches for non-interactive use, John Paul Wallington, 2004/10/23
- Re: how-many/count-matches for non-interactive use, Richard Stallman, 2004/10/23
- Re: how-many/count-matches for non-interactive use,
Ken Manheimer <=
- Re: how-many/count-matches for non-interactive use, Richard Stallman, 2004/10/27
- Re: how-many/count-matches for non-interactive use, Ken Manheimer, 2004/10/28
- Re: how-many/count-matches for non-interactive use, Richard Stallman, 2004/10/23
- Re: how-many/count-matches for non-interactive use, Luc Teirlinck, 2004/10/23
- Re: how-many/count-matches for non-interactive use, Richard Stallman, 2004/10/24
- Re: how-many/count-matches for non-interactive use, Luc Teirlinck, 2004/10/25
- Re: how-many/count-matches for non-interactive use, Kim F. Storm, 2004/10/26
- Re: how-many/count-matches for non-interactive use, Luc Teirlinck, 2004/10/23
- Re: how-many/count-matches for non-interactive use, Richard Stallman, 2004/10/24
- Re: how-many/count-matches for non-interactive use, Richard Stallman, 2004/10/24