From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ilya Zakharevich Newsgroups: gmane.emacs.help Subject: Re: In emacs 23 compile-mode doesn't recognize (c)perl error messages Date: Tue, 20 Oct 2009 23:45:20 +0000 (UTC) Organization: U.C. Berkeley Math. Department. Message-ID: References: <6d2cb724-900e-4e8a-9145-8b271037c8e2@z24g2000yqb.googlegroups.com> <4681fb35-bcea-4553-af4c-8621af25055d@11g2000yqp.googlegroups.com> <6c3419ad-8de9-4e56-bab0-23ab0d7d8135@x37g2000yqj.googlegroups.com> <56361e2c-5c21-414a-b07d-65c26f0767ff@g19g2000yqo.googlegroups.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1256085701 27390 80.91.229.12 (21 Oct 2009 00:41:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Oct 2009 00:41:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 21 02:41:30 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N0PGa-000608-98 for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Oct 2009 02:41:28 +0200 Original-Received: from localhost ([127.0.0.1]:50948 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0PGZ-0003X7-RH for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Oct 2009 20:41:27 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!feeder.eternal-september.org!eternal-september.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-X-Trace: news.eternal-september.org U2FsdGVkX19VzzR2pieQHjfQDw3fZ/7ufBF5RYgrouyl0X79iaEy/Ia7oI88v4avQcUxnlNbAxhjaubwMdwsCpaQx8jJqHThQpsyFBd0R256UtgSeYo9+HeqnDoDncxSgLXSn+b1PAweOnBkyfnyIA== Original-X-Complaints-To: abuse@eternal-september.org Original-NNTP-Posting-Date: Tue, 20 Oct 2009 23:45:20 +0000 (UTC) User-Agent: slrn/0.9.8.1pl1 (Linux) X-Auth-Sender: U2FsdGVkX18GA/aykSjje5SqgzzC69HZ44E/F4284fw= Cancel-Lock: sha1:2YsMirfX2RaziiuEH55ryuovwxo= Original-Xref: news.stanford.edu gnu.emacs.help:174034 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:69114 Archived-At: On 2009-10-19, LanX wrote: > What's the best way to extend POD and comment handling? Highlighters (facification and syntaxification) form a list. Just append to this list. > a) I'd like to render markup like "B" gets a bold face Do not forget to check for presence of "in POD" text-property. > b) links become active refs where I can click? Here you want to check for "in POD" and/or comment's face. > see http://www.perlmonks.org/index.pl?node_id=745098 > Do you have hooks to extend your font-locking or is it better to parse > after cperl has finished for text-property "in-pod"? IIRC, syntaxification (which sents "in POD") is done before facification. So put your stuff in the list of facification recipies, and you can check for this text-property. There is no need to have CPerl hooks, since facification is performed via normal Emacs lists. > (BTW: is cperl-6.2 buggy for POD detection? > ...tested in emacs22 and emacs23 > I'm gonna open a new thread with details or do you prefer another > channel?) Thread is best. (Although Google search of groups looks quickly deteriorating... Anyone else noticing this? Are there alternatives?) Yours, Ilya