From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.help Subject: Re: fontification problem with PODs Date: Fri, 7 May 2010 03:31:39 +0200 Message-ID: References: <91a903ec-dfbe-4f8c-b607-4253d832e0d1@m20g2000vbp.googlegroups.com> <87bpibd4lz.fsf@kzsu.stanford.edu> <32490ecc-3fcd-438c-890e-18f1040d7898@c3g2000yqd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1273195957 14311 80.91.229.12 (7 May 2010 01:32:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 7 May 2010 01:32:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 07 03:32:36 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OACQd-00082j-2E for geh-help-gnu-emacs@m.gmane.org; Fri, 07 May 2010 03:32:35 +0200 Original-Received: from localhost ([127.0.0.1]:47500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OACQc-000616-Ap for geh-help-gnu-emacs@m.gmane.org; Thu, 06 May 2010 21:32:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OACQA-0005zb-22 for help-gnu-emacs@gnu.org; Thu, 06 May 2010 21:32:06 -0400 Original-Received: from [140.186.70.92] (port=58208 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OACQ8-0005wq-Kz for help-gnu-emacs@gnu.org; Thu, 06 May 2010 21:32:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OACQ7-0007YX-1H for help-gnu-emacs@gnu.org; Thu, 06 May 2010 21:32:04 -0400 Original-Received: from mail-bw0-f212.google.com ([209.85.218.212]:36986) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OACQ6-0007VK-Qo for help-gnu-emacs@gnu.org; Thu, 06 May 2010 21:32:02 -0400 Original-Received: by bwz4 with SMTP id 4so331173bwz.26 for ; Thu, 06 May 2010 18:32:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=sRsFfm54lwYx3pE6fuyad3VwteDC+vMoanGj2UYdyTA=; b=WP+TA9j3KsMDzP1g597L7rzBVbp/fVyxlevAk0FQNONWQzlgpRLZ+e2kepBkD0lGkk +dWbb5ac327V2yQeGnNW3FCsCpdiKQJiMq6pjKd8YmuzXoJgU1c3LrvJsDxPbkxRfJTS riwFVsa098rM2jDmTlAdUIbXPIYmZ0i7Da35I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=Z7YfbgVmv5kvQfvIOeVEXDcLnVQalpW/g3grG8gyITFSkZ/O6ITYqoe7fPajuO+fqG l1tRP60a3sRy859VC5sqKCQXD3wotXQeok8zgp4NyNFnXKiH5q9dd+/QfNs3hELvEb8G uENwMcqBeaPZMxsduHDwP8ZA293bUSJ/CLfrc= Original-Received: by 10.204.127.70 with SMTP id f6mr2733705bks.76.1273195921581; Thu, 06 May 2010 18:32:01 -0700 (PDT) Original-Received: by 10.204.84.81 with HTTP; Thu, 6 May 2010 18:31:39 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:73543 Archived-At: On Thu, May 6, 2010 at 22:08, Ilya Zakharevich wrote: > How > should a module writer deal with a possibility to have a buggy version > preloaded? Assuming your version is loaded with `load' (because with `require' it won't be loaded if the buggy version already is), perhaps some variation of this: (when (featurep 'cperl-mode) ; or some other check (unload-feature 'cperl-mode) (require 'cperl-mode)) How effective that is depends on how well `unload-feature' deals with cperl-mode. (Not very well, at the moment, but a cperl-mode-unload-function could be added to standard Emacs.) Juanma