From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Thibault Kruse" Newsgroups: gmane.emacs.bugs Subject: bug#7229: patch Date: Sun, 24 Oct 2010 21:09:43 +0200 Message-ID: <20101024190943.297020@gmx.net> References: <20101016200828.264940@gmx.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1287948133 22718 80.91.229.12 (24 Oct 2010 19:22:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 24 Oct 2010 19:22:13 +0000 (UTC) To: 7229@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 24 21:22:10 2010 Return-path: Envelope-to: geb-bug-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 1PA67m-00089w-BC for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Oct 2010 21:22:09 +0200 Original-Received: from localhost ([127.0.0.1]:59254 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PA678-00066m-Tf for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Oct 2010 15:20:18 -0400 Original-Received: from [140.186.70.92] (port=39884 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PA601-0004nB-DL for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2010 15:12:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PA600-0001bh-66 for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2010 15:12:57 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PA600-0001bd-4l for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2010 15:12:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PA5tJ-0006p0-S8; Sun, 24 Oct 2010 15:06:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <20101016200828.264940@gmx.net> Resent-From: "Thibault Kruse" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Oct 2010 19:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7229 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7229-submit@debbugs.gnu.org id=B7229.128794714826216 (code B ref 7229); Sun, 24 Oct 2010 19:06:01 +0000 Original-Received: (at 7229) by debbugs.gnu.org; 24 Oct 2010 19:05:48 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PA5t5-0006on-Ih for submit@debbugs.gnu.org; Sun, 24 Oct 2010 15:05:47 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23] helo=mail.gmx.net) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1PA5t3-0006oi-Ta for 7229@debbugs.gnu.org; Sun, 24 Oct 2010 15:05:46 -0400 Original-Received: (qmail 2149 invoked by uid 0); 24 Oct 2010 19:09:44 -0000 Original-Received: from 92.230.236.20 by www041.gmx.net with HTTP; Sun, 24 Oct 2010 21:09:43 +0200 (CEST) X-Authenticated: #16585828 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX19Y0SUxAjRYba3/kpF2TomxUytUqUPO2rfYv1U3hp 1eKnwtzBh30c+S4eP9Eph3NXfeLGqgVmmEvg== X-GMX-UID: T7PxeHMzTiE+Zxd1mmRwC+J9ZUVSRNdo X-FuHaFi: 0.70999999999999996 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 24 Oct 2010 15:06:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41117 Archived-At: sorry, wrong path, narrow-to-region is applied wrongly in my last comment: (require 'advice) (defadvice ffap-file-at-point (around bugfix-ffap activate) "returns nil when point is somewhere we do not want to guess filenames" (require 'thingatpt) ;;; prevent in javadoc style comments (unless (or (thing-at-point-looking-at "[\\*]+") ;; for xml modes (and (member major-mode '(sgml-mode nxml-mode)) ;; don't care about and (or (thing-at-point-looking-at "")))) ad-do-it)) -- Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief! Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail