From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rupert Swarbrick Newsgroups: gmane.emacs.bugs Subject: bug#21168: 25.0.50; ffap-string-at-point-region gets raw cons value, breaking ffap-string-at-point Date: Fri, 31 Jul 2015 17:42:31 +0100 Message-ID: <889fv44nurs.fsf@broadcom.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1438361074 22988 80.91.229.3 (31 Jul 2015 16:44:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jul 2015 16:44:34 +0000 (UTC) To: 21168@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 31 18:44:22 2015 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 1ZLDPv-0005Cd-PY for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Jul 2015 18:44:20 +0200 Original-Received: from localhost ([::1]:45284 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLDPu-0004H4-U7 for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Jul 2015 12:44:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLDPl-0004Gq-H9 for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2015 12:44:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZLDPe-0005sQ-Qr for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2015 12:44:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLDPe-0005sK-Nd for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2015 12:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZLDPe-0002mM-8Q for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2015 12:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rupert Swarbrick Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 31 Jul 2015 16:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21168 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.143836098510613 (code B ref -1); Fri, 31 Jul 2015 16:44:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 31 Jul 2015 16:43:05 +0000 Original-Received: from localhost ([127.0.0.1]:35989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZLDOi-0002l6-OT for submit@debbugs.gnu.org; Fri, 31 Jul 2015 12:43:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34182) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZLDOg-0002kx-JJ for submit@debbugs.gnu.org; Fri, 31 Jul 2015 12:43:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZLDOb-0005Hq-I7 for submit@debbugs.gnu.org; Fri, 31 Jul 2015 12:43:02 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:51831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLDOb-0005Hi-EU for submit@debbugs.gnu.org; Fri, 31 Jul 2015 12:42:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLDOU-0003DK-Kc for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2015 12:42:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZLDON-0005E3-VY for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2015 12:42:50 -0400 Original-Received: from mail-gw3-out.broadcom.com ([216.31.210.64]:48010) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLDON-0005C7-Kk for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2015 12:42:43 -0400 X-IronPort-AV: E=Sophos;i="5.15,585,1432623600"; d="scan'208";a="71152585" Original-Received: from irvexchcas08.broadcom.com (HELO IRVEXCHCAS08.corp.ad.broadcom.com) ([10.9.208.57]) by mail-gw3-out.broadcom.com with ESMTP; 31 Jul 2015 10:01:00 -0700 Original-Received: from IRVEXCHSMTP1.corp.ad.broadcom.com (10.9.207.51) by IRVEXCHCAS08.corp.ad.broadcom.com (10.9.208.57) with Microsoft SMTP Server (TLS) id 14.3.235.1; Fri, 31 Jul 2015 09:42:32 -0700 Original-Received: from mail-irva-13.broadcom.com (10.10.10.20) by IRVEXCHSMTP1.corp.ad.broadcom.com (10.9.207.51) with Microsoft SMTP Server id 14.3.235.1; Fri, 31 Jul 2015 09:42:32 -0700 Original-Received: from xl-cam-20.broadcom.com (unknown [10.177.132.80]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id 4BD8640FE6 for ; Fri, 31 Jul 2015 09:40:17 -0700 (PDT) Original-Received: by xl-cam-20.broadcom.com (Postfix, from userid 35990) id 797C418072A; Fri, 31 Jul 2015 17:42:31 +0100 (BST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:105244 Archived-At: My Emacs session has got into a situation where the ffap-string-at-point-region is the raw cons (14812 . 2284) As a result, the line at the bottom of ffap-string-at-point fails when it tries to run (setcar (cdr ffap-string-at-point-region) end) I'm running Emacs compiled from commit 123c82e, plus an unrelated commit to fix the scheme lexer for semantic (hence the weird looking repository version below). I think the problem is probably caused by commit e48a116780d (from last Wednesday), which changes line 1137 of ffap.el to: (setcdr ffap-string-at-point-region (point)) because the rest of ffap.el expects the variable to be a list with two elements rather than a cons pair. I've changed the line to (setcar (cdr ffap-string-at-point-region) (point)) and stuff seems to work fine. Rupert In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars) of 2015-07-31 on Repository revision: b164ad9311b4f2c1a34ac61ac565e75f81aa6eaf Windowing system distributor `The X.Org Foundation', version 11.0.11300000 System Description: Red Hat Enterprise Linux Server release 6.4 (Santiago) Configured using: `configure --prefix= --with-xml2 --without-sound --without-rsvg --without-imagemagick --with-x-toolkit=lucid' Configured features: XPM JPEG TIFF GIF PNG GPM DBUS GCONF NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 Important settings: value of $LC_COLLATE: C value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: elisp-slime-nav-mode: t paredit-mode: t global-semantic-decoration-mode: t global-semanticdb-minor-mode: t global-semantic-idle-scheduler-mode: t stock-ticker-global-mode: t semantic-mode: t global-undo-tree-mode: t undo-tree-mode: t helm-mode: t async-bytecomp-package-mode: t desktop-save-mode: t keyfreq-autosave-mode: t keyfreq-mode: t show-paren-mode: t recentf-mode: t diff-auto-refine-mode: t magit-auto-revert-mode: t global-auto-revert-mode: t global-git-commit-mode: t shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t Recent messages: buffer-substring-no-properties: Wrong type argument: consp, 2284 ffap-string-at-point buffer-substring-no-properties: Wrong type argument: consp, 2284 (14812 . 2284) buffer-substring-no-properties: Wrong type argument: consp, 2284 Searching for setcar... Quit [2 times] Auto-saving... Mark set Mark saved where search started Load-path shadows: Features: (shadow sort mail-extr emacsbug sendmail vc-annotate debug misearch multi-isearch derived helm-command helm-elisp helm-eval edebug semantic/tag-write find-file ido semantic/analyze/complete semantic/db-typecache image-file winner eww mm-url gnus gnus-ems nnheader url-queue shr dom subr-x autoconf autoconf-mode m4-mode conf-mode elisp-slime-nav semantic/bovine/scm semantic/bovine/scm-by org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view jka-compr image-mode org-bibtex bibtex org-bbdb org-element avl-tree org-w3m org-location-google-maps org-agenda google-maps google-maps-static google-maps-geocode google-maps-base org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func company-files company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-bbdb company paredit geiser-mode geiser-xref geiser-guile geiser-repl geiser-image geiser-compile geiser-debug geiser-company geiser-doc geiser-menu geiser-autodoc info-look geiser-edit etags xref project geiser-completion geiser-eval geiser-connection tq geiser-syntax geiser-log geiser-popup view geiser-impl geiser-custom geiser-base scheme perl-mode sh-script smie executable semantic/bovine/make semantic/bovine/make-by make-mode vc vc-dispatcher vc-git semantic/sb speedbar sb-image dframe semantic/tag-file semantic/db-file data-debug cedet-files semantic/bovine/c semantic/decorate/include hideif semantic/bovine/c-by semantic/lex-spp semantic/bovine/gcc semantic/dep semantic/bovine semantic/analyze/refs semantic/db-find semantic/db-ref semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn semantic/decorate/mode semantic/decorate disp-table fill-column-indicator cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs semantic/db-mode semantic/db eieio-base pulse semantic/idle semantic/format ezimage semantic/tag-ls semantic/find semantic/ctxt em-ls esh-ext esh-opt esh-util stock-ticker s ucs-normalize request url-http tls url-auth url-gw json semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet undo-tree diff cus-start cus-load geiser cl diary-lib diary-loaddefs midnight helm-mode helm-files rx image-dired dired-aux ffap thingatpt helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptive helm-info bookmark pp helm-locate helm-match-plugin helm-grep helm-regexp helm-plugin helm-external helm-net browse-url xml url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap helm-utils compile helm-help helm-types helm helm-source eieio-compat helm-lib helm-config helm-easymenu async-bytecomp async helm-aliases desktop frameset keyfreq dired-x paren windmove recentf tree-widget wid-edit edmacro kmacro magit-wip magit-extras magit-backup magit-ediff ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff magit-blame magit-bisect magit-remote magit-commit magit-stash magit-sequence magit magit-log crm magit-apply magit-diff smerge-mode diff-mode magit-core magit-process magit-popup magit-mode autorevert filenotify magit-git magit-section magit-utils git-rebase git-commit log-edit easy-mmode message dired rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor tramp-sh tramp tramp-compat auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra seq cconv eieio-core cl-macs gv gnus-util mm-util help-fns help-mode mail-prsvr password-cache tramp-loaddefs trampver shell pcomplete comint ansi-color ring format-spec advice server dash cl-loaddefs pcase cl-lib finder-inf cal-menu calendar cal-loaddefs highline-autoloads info easymenu slime-autoloads package epg-config time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1489287 73899) (symbols 48 59905 10) (miscs 40 11051 1377) (strings 32 264578 71214) (string-bytes 1 8338897) (vectors 16 108644) (vector-slots 8 1507597 41874) (floats 8 747 432) (intervals 56 63601 271) (buffers 976 125) (heap 1024 117679 5838))