From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Andrus Newsgroups: gmane.emacs.bugs Subject: bug#15412: 24.3.50; ffap too lax in C++ mode Date: Wed, 18 Sep 2013 17:30:45 -0600 Message-ID: <27535F36-2405-4EC7-8CDA-6353E8CD3372@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1379547146 6282 80.91.229.3 (18 Sep 2013 23:32:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Sep 2013 23:32:26 +0000 (UTC) To: 15412@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 19 01:32:27 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1VMREO-0001Ud-FN for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Sep 2013 01:32:24 +0200 Original-Received: from localhost ([::1]:49031 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMREO-00014Z-0p for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Sep 2013 19:32:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMREC-00013T-41 for bug-gnu-emacs@gnu.org; Wed, 18 Sep 2013 19:32:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMRE2-0003kf-IK for bug-gnu-emacs@gnu.org; Wed, 18 Sep 2013 19:32:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMRE2-0003kM-DZ for bug-gnu-emacs@gnu.org; Wed, 18 Sep 2013 19:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VMRE2-0003eZ-71 for bug-gnu-emacs@gnu.org; Wed, 18 Sep 2013 19:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Andrus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Sep 2013 23:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.137954709914009 (code B ref -1); Wed, 18 Sep 2013 23:32:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Sep 2013 23:31:39 +0000 Original-Received: from localhost ([127.0.0.1]:47650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VMRDe-0003dt-0f for submit@debbugs.gnu.org; Wed, 18 Sep 2013 19:31:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39158) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VMRDa-0003dd-MJ for submit@debbugs.gnu.org; Wed, 18 Sep 2013 19:31:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMRDM-0003cz-3s for submit@debbugs.gnu.org; Wed, 18 Sep 2013 19:31:29 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:42114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMRDM-0003cv-0j for submit@debbugs.gnu.org; Wed, 18 Sep 2013 19:31:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMRDE-0000vQ-CV for bug-gnu-emacs@gnu.org; Wed, 18 Sep 2013 19:31:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMRD6-0003ZT-Vb for bug-gnu-emacs@gnu.org; Wed, 18 Sep 2013 19:31:12 -0400 Original-Received: from mail-ie0-f177.google.com ([209.85.223.177]:53446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMRD6-0003ZK-OH for bug-gnu-emacs@gnu.org; Wed, 18 Sep 2013 19:31:04 -0400 Original-Received: by mail-ie0-f177.google.com with SMTP id qd12so14000415ieb.36 for ; Wed, 18 Sep 2013 16:30:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=nadJFWiXmfFbQrLOuUTQix29xKLGg8c4mjqLLpRSkew=; b=AOeCP9HRVKTioGdGMcorn0Uy4c7276uHYsVfJN5sWpkK4E6prT7zz01Tg6ynllsWDU Ski2wk3AvZCOGPeHB5A9ZLrGMvW2CKJOspOAN88NtHxndRgmWTxk7nc8AFm1ItAHfG7/ DzTg9M7zCOHO8elPvK+AiKCF4Nk4J8/nZwl3oHF4uSN/LUN030jnO0h0tHhj6v2L1Waz 503cXxYSHvaPZoIYg3fknmJRxmy8qgZP9V2fU7fDbxkkFe7a88GGYPGd5m5wKpilTXAK dAOAoZTfyKC9swES7TzNjF2ZGgPzFfcqwi4ACKUwewz1Mhn7pFDq/9Q/bSzOZPfPV/d3 psGA== X-Received: by 10.43.138.8 with SMTP id iq8mr4983icc.37.1379547048600; Wed, 18 Sep 2013 16:30:48 -0700 (PDT) Original-Received: from [192.168.0.5] (75-166-173-180.hlrn.qwest.net. [75.166.173.180]) by mx.google.com with ESMTPSA id ri1sm479075igc.2.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Sep 2013 16:30:48 -0700 (PDT) X-Mailer: Apple Mail (2.1510) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:78541 Archived-At: I have mapped `find-file-at-point' to C-x C-f, but in `c++-mode' it thinks that things with double colons (like std::map) are files (or urls actually). Except that of course they aren't and so I have to delete the incorrect starting input. It's not hard to delete it, but it is annoying. The problem seems to be that `ffap-url-at-point' passes `t' for the `lax' parameter of `thing-at-point-url-at-point'. I'm not sure what the ramifications of changing that parameter would be. -Ivan In GNU Emacs 24.3.50.1 (i386-apple-darwin12.5.0, NS = apple-appkit-1187.39) of 2013-09-16 on ivanandres-MacBookPro Bzr revision: 114309 rgm@gnu.org-20130916192145-tr5qrfdmhcq3a563 Windowing system distributor `Apple', version 10.3.1187 Configured using: `configure --with-ns --with-xml2' Important settings: locale-coding-system: nil default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: diff-auto-refine-mode: t eldoc-mode: t highlight-parentheses-mode: t hl-sexp-mode: t highlight-symbol-mode: t which-function-mode: t show-paren-mode: t msb-mode: t minibuffer-depth-indicate-mode: t global-hl-line-mode: t delete-selection-mode: t auto-image-file-mode: t auto-insert-mode: t yas-global-mode: t shell-dirtrack-mode: t ido-everywhere: t global-visible-mark-mode: t visible-mark-mode: t gvol-mode: t recentf-mode: t desktop-save-mode: t drag-stuff-global-mode: t drag-stuff-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-e C-u C-u M-r C-k C-k C-k C-k C-k C-k C-k C-k TAB C-j M-s TAB TAB M-x c u s t C-s f i n f i - a f f a p C-x C-r C-s u C-g C-a C-r u r l C-r C-r C-r C-r C-r C-r C-a C-x C-r C-x C-r C-e M-w C-M-j C-M-j C-M-j C-M-j C-M-j C-M-j C-M-j C-M-l C-M-j C-M-l C-M-j C-M-l C-M-j C-M-l C-M-j C-M-l C-M-j C-M-l C-M-j C-k C-M-l C-M-l C-M-l C-M-l M-w M-w M-: , , t h i n - SPC ' u r l C-M-u C-M-u C-M-u C-M-u C-o C-o C-M-j C-M-k C-/ M-: , , C-y M-: C-e SPC t C-a C-M-k C-M-k M-w C-x C-s M-x g r e b r e p o Recent messages: nil lax: t allowed-chars: "--:=3D&?$+@-Z_[:alpha:]~#,%;*()!'" skip-before: "^[0-9a-zA-Z]" skip-after: ":;.,!?" pt: 5 beg: 1 end: 9 (1 . 9) (No changes need to be saved) Load-path shadows: ~/vcs/emacs-clang-complete-async/auto-complete-clang-async hides = /Users/ivanandres/.emacs.d/elpa/auto-complete-clang-async-20130526.2314/au= to-complete-clang-async /Users/ivanandres/.emacs.d/elpa/confluence-20130814.735/confluence-edit = hides = /Users/ivanandres/.emacs.d/elpa/confluence-edit-20130804.2241/confluence-e= dit /Users/ivanandres/vcs/sage-mode/emacs/.dir-locals hides = /Users/ivanandres/.emacs.d/elpa/highlight-parentheses-20130523.1752/.dir-l= ocals /Users/ivanandres/vcs/sage-mode/emacs/.dir-locals hides = /Users/ivanandres/.emacs.d/elpa/highlight-symbol-20130628.1552/.dir-locals= /Users/ivanandres/.emacs.d/elpa/php+-mode-20121129.1452/string-utils = hides = /Users/ivanandres/.emacs.d/elpa/string-utils-20121108.1917/string-utils /Users/ivanandres/.emacs.d/elpa/jira-20091012.2123/jira hides = ~/.emacs.d/local/jira /Users/ivanandres/vcs/sage-mode/emacs/.dir-locals hides = /Users/ivanandres/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/li= sp/gnus/.dir-locals Features: (shadow emacsbug sendmail cus-edit hi-lock semantic/decorate/mode semantic/decorate pulse auto-complete popup edmacro kmacro ibuf-macs gnutls jira xml-rpc timezone tramp-cmds tramp-cache tramp-sh semantic/wisent/python semantic/dep semantic/wisent/python-wy semantic/wisent semantic/wisent/wisent hideshow python git-commit-mode qp parse-time smiley gnus-cite flow-fill gnus-async gnus-bcklg gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-ml gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig nndoc gnus-cache gnus-sum nnoo url-handlers gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems nnheader mm-archive message rfc822 mml mml-sec mailabbrev gmm-utils mailheader mail-utils network-stream starttls url-cache crm debbugs-gnu debbugs soap-client mm-decode mm-bodies mm-encode url-http tls url-auth mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw warnings artist picture reporter rect debug vc-bzr org-table epa-file epa derived skeleton repeat ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff yaml-mode json-mode js etags-select etags sql view org-colview epg epg-config org-element log-view vc-annotate find-file browse-url sort goto-last-change mail-extr wgrep-ack wgrep ack-and-a-half grep cperl-mode conf-mode goto-addr man dabbrev misearch multi-isearch ffap smerge-mode vc-svn vc-cvs vc-dir ewoc git-rebase-mode diff-mode superword subword dired+ dired-x dired-aux dired nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok ibuf-ext ibuffer sh-script smie executable restclient json-reformat json disp-table whitespace make-mode greedy-delete gvol-light-theme tabify cal-iso org-mobile vc-hg reveal org-mouse org-irc org-habit org-jsinfo org-infojs org-html org-info org-gnus org-docview org-ctags org-bibtex bibtex org-bbdb org-archive org-id org-crypt ob-python org-clock org-exp ob-exp org-exp-blocks org-agenda org ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob org-compat org-macs ob-eval org-loaddefs elide-head ede/cpp-root ede/generic ede/shell eieio-opt find-func ede/speedbar ede/files ede ede/base ede/auto ede/source eieio-speedbar speedbar sb-image dframe eieio-custom semantic/db eieio-base vc-git c-eldoc eldoc highlight-parentheses tempo url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap xml-parse doxymacs hl-sexp highlight-symbol thingatpt cc-langs info-look cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs time uniquify saveplace semantic/idle semantic/format ezimage semantic/tag-ls semantic/find semantic/ctxt which-func imenu paren semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet msb mb-depth icomplete hl-line delsel image-file cus-start cus-load diary-lib diary-loaddefs cal-menu calendar cal-loaddefs autoinsert yasnippet help-mode tramp tramp-compat auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core gnus-util mm-util mail-prsvr password-cache tramp-loaddefs trampver shell pcomplete format-spec smex ido visible-mark parenface fold commit-patch-buffer log-edit pcvs-util add-log vc vc-dispatcher sage sage-load jka-compr recentf tree-widget wid-edit rx xml flymake compile comint ansi-color ring tex-site desktop frameset drag-stuff browse-kill-ring backtr command-frequency uptimes pp server easy-mmode assoc advice windmove ac-math-autoloads auto-complete-clang-autoloads command-frequency-autoloads etags-select-autoloads gap-mode-autoloads goto-last-change-autoloads hl-sexp-autoloads json-mode-autoloads mainline-autoloads mark-multiple-autoloads php+-mode-autoloads php-eldoc-autoloads info easymenu help-fns cl-macs gv cl cl-loaddefs cl-lib visible-mark-autoloads yaml-mode-autoloads package time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs)