|
From: | Lennart Borgman (gmail) |
Subject: | Re: flymake-display-err-menu-for-current-line does not work under -nw |
Date: | Wed, 05 Dec 2007 00:51:29 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
Ævar Arnfjörð Bjarmason wrote:
"Lennart Borgman (gmail)" <address@hidden> writes:Another possibility is to add the error message to the after-text or before-text of the overlay that flymake put on the line. However I do not think the text should be added to the overlay until the user requests it, otherwise the lines in the buffer will be jumping in an uncontrolled way. Eh, but adding it to the overlay will mean that the buffer lines jumps afterward when flymake is removing the overlay.I'll have to check out doing this via overlays. I don't find any mention of after-text or before-text in the Emacs sources however.
Sorry, it should be 'after-string and 'before-string (but I do not think using them here will be very good).
(info "(elips) Overlay Properties")
Maybe it is better to check use-dialog-box?I'm sorry but I don't understand, to do what? Check if we should use flymake-display-err-menu-for-current-line?
I thought you said that popup menus are not supported always. I believe use-dialog-box should be nil if they are not (or if the user does not want popup messages).
[Prev in Thread] | Current Thread | [Next in Thread] |