unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Thibault Kruse" <thibault.kruse@gmx.de>
To: 7229@debbugs.gnu.org
Subject: bug#7229: patch
Date: Sun, 24 Oct 2010 21:09:43 +0200	[thread overview]
Message-ID: <20101024190943.297020@gmx.net> (raw)
In-Reply-To: <20101016200828.264940@gmx.net>

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 <somenode/> and </somenode>
                (or (thing-at-point-looking-at "</?[a-zA-Z_][a-zA-Z0-9:_.-]+")
                    (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





  parent reply	other threads:[~2010-10-24 19:09 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-16 20:08 bug#7229: 23.1; ido guess and ffap bug Thibault Kruse
2010-10-24 19:06 ` bug#7229: patch Thibault Kruse
2010-10-24 19:09 ` Thibault Kruse [this message]
2011-03-11 17:02 ` bug#7229: further patch Thibault Kruse
2013-07-11 16:23 ` bug#7229: 23.1; ido guess and ffap bug Leo Liu
2013-07-12 23:03   ` Dmitry Gutov
2013-07-13  1:20     ` Leo Liu
2013-07-13  1:28       ` Dmitry Gutov
2013-07-12  1:20 ` Leo Liu
2013-07-12  1:43   ` Leo Liu
     [not found]     ` <trinity-a533030b-3b06-4782-a22a-e375aeeb1416-1373614579651@3capp-gmx-bs03>
2013-07-12  7:48       ` bug#7229: Aw: " Leo Liu
     [not found]         ` <trinity-a290f8a8-f7aa-4dce-8eee-958dff7573c7-1373615567287@3capp-gmx-bs03>
2013-07-13  1:25           ` bug#7229: Aw: " Leo Liu
2013-07-13  8:01             ` bug#7229: Aw: " Thibault Kruse
2013-07-13 17:31               ` Leo Liu
2013-07-13 18:38                 ` bug#7229: Aw: Re: bug#7229: " Thibault Kruse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101024190943.297020@gmx.net \
    --to=thibault.kruse@gmx.de \
    --cc=7229@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).