From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#8667: 24.0.50; `bounds-of-thing-at-point' returns (N . N) for `comment' Date: Thu, 19 May 2011 23:12:40 -0300 Message-ID: References: <1273A111E1924DE9BAB49AFE6257D462@us.oracle.com> <5328177EA0C84361A654BB5EEB201D1C@us.oracle.com> <08CF598C172E4666AC252C93A5D1F869@us.oracle.com> <4D39E49D942C4B0680CE3A8A426F35EC@us.oracle.com> <660E1260C0464A0D94CF792C0BBAEF92@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1305857597 31013 80.91.229.12 (20 May 2011 02:13:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 May 2011 02:13:17 +0000 (UTC) Cc: 8667-close@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 20 04:13:07 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QNFD9-0000HO-8q for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 May 2011 04:13:07 +0200 Original-Received: from localhost ([::1]:51072 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNFD8-0001qr-If for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 May 2011 22:13:06 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNFD5-0001oz-50 for bug-gnu-emacs@gnu.org; Thu, 19 May 2011 22:13:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QNFD4-0007S6-9P for bug-gnu-emacs@gnu.org; Thu, 19 May 2011 22:13:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNFD4-0007Rv-7v for bug-gnu-emacs@gnu.org; Thu, 19 May 2011 22:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QNFD4-0000mv-14 for bug-gnu-emacs@gnu.org; Thu, 19 May 2011 22:13:02 -0400 Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 May 2011 02:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 8667 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 8667@debbugs.gnu.org, monnier@iro.umontreal.ca Original-Received: via spool by 8667-done@debbugs.gnu.org id=D8667.13058575723010 (code D ref 8667); Fri, 20 May 2011 02:13:01 +0000 Original-Received: (at 8667-close) by debbugs.gnu.org; 20 May 2011 02:12:52 +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 1QNFCu-0000mU-5K for submit@debbugs.gnu.org; Thu, 19 May 2011 22:12:52 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QNFCr-0000mJ-Cj for 8667-close@debbugs.gnu.org; Thu, 19 May 2011 22:12:50 -0400 Original-Received: from 121-249-126-200.fibertel.com.ar ([200.126.249.121]:2633 helo=ceviche.home) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QNFCl-00045L-KY; Thu, 19 May 2011 22:12:43 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 2DF3C66230; Thu, 19 May 2011 23:12:40 -0300 (ART) In-Reply-To: <660E1260C0464A0D94CF792C0BBAEF92@us.oracle.com> (Drew Adams's message of "Thu, 19 May 2011 10:12:22 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 19 May 2011 22:13:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:46599 Archived-At: > No, I don't think you did. I just downloaded the latest thingatpt.el. > There is no fix AFAICT. >From which branch? > You need to add these conditions to the tests: > (and beg real-end (<= beg orig) (<= orig real-end) > (/= beg real-end) ; <===== NEEDED > (cons beg real-end)) > ... > (and real-beg end (<= real-beg orig) (<= orig end) > (/= real-beg end) ; <===== NEEDED > (cons real-beg end)) The code you show here is not on the trunk any more (e.g. I removed the non-null test of real-beg and end because they were redundant). Stefan