From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii 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: Sat, 01 Aug 2015 12:35:04 +0300 Message-ID: <83vbczuzav.fsf@gnu.org> References: <889fv44nurs.fsf@broadcom.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1438421785 7406 80.91.229.3 (1 Aug 2015 09:36:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Aug 2015 09:36:25 +0000 (UTC) Cc: 21168-done@debbugs.gnu.org To: Rupert Swarbrick Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 01 11:36:13 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 1ZLTD9-0000BY-LR for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Aug 2015 11:36:11 +0200 Original-Received: from localhost ([::1]:53097 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLTD9-0006ww-3R for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Aug 2015 05:36:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLTD5-0006o2-ES for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2015 05:36:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZLTD0-0006pm-Dw for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2015 05:36:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLTD0-0006pd-Ah for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2015 05:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZLTD0-0002Zf-3Y for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2015 05:36:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Aug 2015 09:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 21168 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 21168@debbugs.gnu.org, eliz@gnu.org, ruperts@broadcom.com Original-Received: via spool by 21168-done@debbugs.gnu.org id=D21168.14384217109831 (code D ref 21168); Sat, 01 Aug 2015 09:36:01 +0000 Original-Received: (at 21168-done) by debbugs.gnu.org; 1 Aug 2015 09:35:10 +0000 Original-Received: from localhost ([127.0.0.1]:36255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZLTC9-0002YV-Rz for submit@debbugs.gnu.org; Sat, 01 Aug 2015 05:35:10 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:38075) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZLTC7-0002YL-6b for 21168-done@debbugs.gnu.org; Sat, 01 Aug 2015 05:35:08 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NSE00G00C2CV700@a-mtaout21.012.net.il> for 21168-done@debbugs.gnu.org; Sat, 01 Aug 2015 12:35:05 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NSE00GKQDAHUX30@a-mtaout21.012.net.il>; Sat, 01 Aug 2015 12:35:05 +0300 (IDT) In-reply-to: <889fv44nurs.fsf@broadcom.com> X-012-Sender: halo1@inter.net.il 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:105261 Archived-At: > From: Rupert Swarbrick > Date: Fri, 31 Jul 2015 17:42:31 +0100 > > 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. Thanks, I fixed that in a slightly different way.