help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Emacs 23, Python, epylint, pylint


From: Richard Riley
Subject: Re: Emacs 23, Python, epylint, pylint
Date: Mon, 02 Nov 2009 14:02:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Dave Love <address@hidden> writes:

> Richard Riley <address@hidden> writes:
>
>> A more careful read of the flymake wiki page 
>>
>> Http://www.emacswiki.org/emacs/FlyMake
>>
>> Provided the answer:
>>
>> http://paste.lisp.org/display/60617
>
> [Gross code elided.]
>
> What's wrong with just adding this to `post-command-hook'?
>
>   (defun my-flymake-show-help ()
>     (when (get-char-property (point) 'flymake-overlay)
>       (let ((help (get-char-property (point) 'help-echo)))
>         (if help (message "%s" help)))))

I have no idea. The other code works and was linked on the wiki. Maybe your
code could replace it? 

> (It would be better if overlays supported the `point-entered' property.)
>
>> (I think this should be default behaviour as most Emacs users balk from
>> using the mouse :-;)
>
> [I'm surprised if that's the case and if anyone actually knows.]
>

Well, the mouse usage being mandatory was the default and is not
really "emacs" thinking IMO : hence the wiki had the fix/workaround.

FWIW, I would hazard a guess that most emacs users tend not to be mouse
wielders in the main .. too many of our hands are already required :-;

Thanks for the reply and I will try code above : it certainly looks to
be short and sweet. If it does the job I'll add it to the wiki if thats
ok.

regards


r.









reply via email to

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