[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: artist-mouse-choose-operation
From: |
Eli Zaretskii |
Subject: |
Re: artist-mouse-choose-operation |
Date: |
Fri, 13 Nov 2009 12:34:34 +0200 |
> From: Tomas Abrahamsson <address@hidden>
> Cc: address@hidden
> Date: Mon, 09 Nov 2009 23:22:11 +0100
>
> Eli Zaretskii <address@hidden> writes:
>
> > The function in the Subject calls x-popup-menu, evidently under the
> > assumption that if Emacs can use a mouse, it also supports menus. But
> > that assumption is false: Emacs configured --without-x can have mouse
> > support, e.g. via gpm-mouse, but does not have x-popup-menu.
>
> Yes, I agree this is a bug. Below is a patch for fixing the bug and a
> proposal for a ChangeLog entry.
>
> * textmodes/artist.el (artist-mouse-choose-operation) call
> `tmm-prompt' instead of `x-popup-menu' if we cannot popup
> menus. Bug noticed by Eli Zaretskii <address@hidden>.
>
> * textmodes/artist.el (artist-mouse-choose-operation)
> (artist-down-mouse-1): call (new) function
> `artist-compute-up-event-key'.
>
> The patch is against the latest from the git/cvs repository as of
> yesterday (Sunday). The patch is made by me.
Thanks, I installed this in CVS.