From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: popup spam from emacs when visiting a patch file Date: Fri, 30 May 2008 23:38:15 +0200 Message-ID: <484073C7.9010503@gmail.com> References: <87d4n31nt9.fsf@anzu.internal.golden-gryphon.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1212183511 23705 80.91.229.12 (30 May 2008 21:38:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 May 2008 21:38:31 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 30 23:39:12 2008 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 1K2CJb-0000OW-V2 for ged-emacs-devel@m.gmane.org; Fri, 30 May 2008 23:39:12 +0200 Original-Received: from localhost ([127.0.0.1]:35439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2CIq-0000mL-3c for ged-emacs-devel@m.gmane.org; Fri, 30 May 2008 17:38:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K2CIl-0000m4-Mx for emacs-devel@gnu.org; Fri, 30 May 2008 17:38:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K2CIl-0000lg-9e for emacs-devel@gnu.org; Fri, 30 May 2008 17:38:19 -0400 Original-Received: from [199.232.76.173] (port=44476 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2CIl-0000lY-2i for emacs-devel@gnu.org; Fri, 30 May 2008 17:38:19 -0400 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]:41366) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K2CIk-0001n9-Pp for emacs-devel@gnu.org; Fri, 30 May 2008 17:38:19 -0400 Original-Received: from c83-254-145-59.bredband.comhem.se ([83.254.145.59]:64151 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1K2CIj-00030F-6o for emacs-devel@gnu.org; Fri, 30 May 2008 23:38:17 +0200 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 In-Reply-To: <87d4n31nt9.fsf@anzu.internal.golden-gryphon.com> X-Antivirus: avast! (VPS 080530-0, 2008-05-30), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.145.59 X-Scan-Result: No virus found in message 1K2CIj-00030F-6o. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1K2CIj-00030F-6o 22e069d583ccc51011a355365a82480d X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:98090 Archived-At: Manoj Srivastava wrote: > Hi, > > I have turned on which-func-mode, so that in some major > modes the function name is displayed in the mode line. Unfortunately, > the default for the variable which-func-modes (in wile which-func.el) > includes diff-mode. > > I say unfortunately, since when I visit a file with a patch > (and not having the source handy), in order to display the function > name it needs to visit the file, and since it can't figure out the file > name, it pops us a file chooser box asking me for the file -- or allows > me to cancel. However, as soon as I cancel, the box pops up again -- > over and over again (I think there is an event timer associated with > mode line display, once every few seconds, and these requests stack > up). Until this is fixed you can move point from the lines where the file names are. At least that worked for me. (Not sure if the problem is still there.)