From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.devel Subject: Re: Minor bug in verilog-mode.el Date: Sat, 21 Apr 2012 18:33:11 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1335029616 12247 80.91.229.3 (21 Apr 2012 17:33:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 Apr 2012 17:33:36 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 21 19:33:36 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SLeBi-0006r3-Rs for ged-emacs-devel@m.gmane.org; Sat, 21 Apr 2012 19:33:34 +0200 Original-Received: from localhost ([::1]:37719 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLeBi-0003fW-7P for ged-emacs-devel@m.gmane.org; Sat, 21 Apr 2012 13:33:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLeBf-0003fR-GN for emacs-devel@gnu.org; Sat, 21 Apr 2012 13:33:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLeBd-00017B-QE for emacs-devel@gnu.org; Sat, 21 Apr 2012 13:33:30 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:46178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLeBd-000175-Jj for emacs-devel@gnu.org; Sat, 21 Apr 2012 13:33:29 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SLeBY-0006nL-Mj for emacs-devel@gnu.org; Sat, 21 Apr 2012 19:33:24 +0200 Original-Received: from uk.solarflare.com ([193.34.186.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Apr 2012 19:33:24 +0200 Original-Received: from andrewjmoreton by uk.solarflare.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Apr 2012 19:33:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: uk.solarflare.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (windows-nt) Cancel-Lock: sha1:EM2bhDO/NaBBxQYtAo2qsMX8zfQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:149920 Archived-At: On Sat 21 Apr 2012, Juanma Barranquero wrote: >> When which-func-modes is t, this stops which-function-mode from working >> with other modes. > > Fixed, thanks. While diagnosing this issue, I found another. which-func-current is used to print the function name in the mode line. This fails when using which-function-mode on a perl script, as % chars in symbol names are not escaped for printing in the mode line. My local fix involved replacing "%" => "\%\%" in the string used in the mode line format, but perhaps there needs to be a way to allow literal strings in that context. AndyM