From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#9300: 24.0.50; `bounds-of-thing-at-point' does not return nil when just after THING Date: Fri, 15 Jan 2016 05:33:15 -0800 (PST) Message-ID: References: <> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1452864897 12688 80.91.229.3 (15 Jan 2016 13:34:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Jan 2016 13:34:57 +0000 (UTC) To: 9300@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 15 14:34:44 2016 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 1aK4WZ-0001k8-7x for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jan 2016 14:34:43 +0100 Original-Received: from localhost ([::1]:46952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aK4WV-0004oz-Aq for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jan 2016 08:34:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aK4Vx-0004Ja-7E for bug-gnu-emacs@gnu.org; Fri, 15 Jan 2016 08:34:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aK4Vu-0004py-I2 for bug-gnu-emacs@gnu.org; Fri, 15 Jan 2016 08:34:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33274) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aK4Vu-0004pu-Do for bug-gnu-emacs@gnu.org; Fri, 15 Jan 2016 08:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aK4Vu-0006ei-4j for bug-gnu-emacs@gnu.org; Fri, 15 Jan 2016 08:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Jan 2016 13:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9300 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9300-submit@debbugs.gnu.org id=B9300.145286480525535 (code B ref 9300); Fri, 15 Jan 2016 13:34:02 +0000 Original-Received: (at 9300) by debbugs.gnu.org; 15 Jan 2016 13:33:25 +0000 Original-Received: from localhost ([127.0.0.1]:49727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aK4VJ-0006dm-9T for submit@debbugs.gnu.org; Fri, 15 Jan 2016 08:33:25 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:30828) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aK4VH-0006dV-7V for 9300@debbugs.gnu.org; Fri, 15 Jan 2016 08:33:23 -0500 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u0FDXGu7005924 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <9300@debbugs.gnu.org>; Fri, 15 Jan 2016 13:33:17 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.13.8/8.13.8) with ESMTP id u0FDXGYV021332 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <9300@debbugs.gnu.org>; Fri, 15 Jan 2016 13:33:16 GMT Original-Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by userv0122.oracle.com (8.13.8/8.13.8) with ESMTP id u0FDXG9g027403 for <9300@debbugs.gnu.org>; Fri, 15 Jan 2016 13:33:16 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:111638 Archived-At: > Sent: Tuesday, July 28, 2015 6:45 PM >=20 > ping. >=20 > I rediscovered by accident that this bug still exists, because > I had assumed it would be fixed in Emacs 24, and my code was > mistakenly but in-vain-hopefully treating it as (assumed) fixed > in 24. Since I use my library that doesn't have the bug I did > not run across it myself anymore. >=20 > ;; The correct code here is (setq beg thg-end). However, unless you > ;; use my library `thingatpt+.el' or unless Emacs bug #9300 is fixed > ;; (hopefully in Emacs 24), that will loop forever. In that case we > ;; move forward a char to prevent looping, but that means that the > ;; position just after a THING is considered to be covered by the > ;; THING (which is incorrect). > ;; > (setq beg (if (or (featurep 'thingatpt+) (> emacs-major-version 23)) > thg-end > (1+ thg-end))) A user of thingatpt+.el (which has the fix) sent me this today: > I miss in bug #9300 someone giving a comment about why the vanilla > bounds-of-thing-at-point should behave like that. Maybe a second > ping? ping. It's a trivial fix to perform. I hope you will apply it. Thx.