From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: avar@cpan.org (=?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason) Newsgroups: gmane.emacs.devel Subject: Re: flymake-display-err-menu-for-current-line does not work under -nw Date: Wed, 05 Dec 2007 01:17:33 +0000 Message-ID: <87fxyiey8i.fsf@cpan.org> References: <87mysqgkj4.fsf@cpan.org> <4755DEEF.9040407@gmail.com> <87eje2ghbe.fsf@cpan.org> <4755E801.3030807@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196829686 2836 80.91.229.12 (5 Dec 2007 04:41:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Dec 2007 04:41:26 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 05 05:41:35 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Izm4k-0004Im-MI for ged-emacs-devel@m.gmane.org; Wed, 05 Dec 2007 05:41:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Izm4U-00069C-4a for ged-emacs-devel@m.gmane.org; Tue, 04 Dec 2007 23:41:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iziso-0000a6-UK for emacs-devel@gnu.org; Tue, 04 Dec 2007 20:17:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Izisn-0000XR-42 for emacs-devel@gnu.org; Tue, 04 Dec 2007 20:17:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Izism-0000XF-Vd for emacs-devel@gnu.org; Tue, 04 Dec 2007 20:17:01 -0500 Original-Received: from mack.ipf.is ([85.197.192.164] helo=mx1.ipf.is) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Izism-0003Et-K6 for emacs-devel@gnu.org; Tue, 04 Dec 2007 20:17:00 -0500 Original-Received: (qmail 14704 invoked by uid 1010); 5 Dec 2007 01:16:59 +0000 Original-Received: from 85.197.228.236 by mack (envelope-from , uid 1008) with qmail-scanner-1.25-st-qms (clamdscan: 0.88.4/1639. spamassassin: 3.1.4. perlscan: 1.25-st-qms. Clear:RC:1(85.197.228.236):SA:0(-3.9/4.5):. Processed in 1.618556 secs); 05 Dec 2007 01:16:59 -0000 X-Antivirus-HIVE-Mail-From: avar@cpan.org via mack X-Antivirus-HIVE: 1.25-st-qms (Clear:RC:1(85.197.228.236):SA:0(-3.9/4.5):. Processed in 1.618556 secs Process 14672) Original-Received: from unknown (HELO oe.cpan.org) (85.197.228.236) by mx1.ipf.is with SMTP; 5 Dec 2007 01:16:57 +0000 In-Reply-To: <4755E801.3030807@gmail.com> (Lennart Borgman's message of "Wed, 05 Dec 2007 00:51:29 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-Mailman-Approved-At: Tue, 04 Dec 2007 23:39:35 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:84707 Archived-At: "Lennart Borgman (gmail)" writes: >> 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 "(elisp) Overlay Properties") Thanks, I'll check out overlays. >>> 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). They're actually (x-popup-menu)'s that are not affected by the use-dialog-box variable. It only applies to (message-or-box) and (y-or-n-p). I don't think (message-or-box) can be used here since the current implementation presents a selector. Although I haven't seen it do anything useful myself when using flymake with C and Perl.