From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: `looking-back' strange warning Date: Sat, 3 Oct 2015 15:17:21 +0000 (UTC) Message-ID: References: <560B9C7F.2060301@easy-emacs.de> <560CD7CE.4010404@yandex.ru> <6524c81a-949c-40d1-b990-d214d6ee5b60@default> <560D73DF.8040403@yandex.ru> <560D7A68.8040404@easy-emacs.de> <560D8289.6010409@yandex.ru> <560D8F96.5040200@easy-emacs.de> <877fn66pag.fsf@web.de> <190e27a5-9099-45ce-a8db-a314b9e32b35@default> <87lhblrnpe.fsf@gnu.org> <785d8be4-1024-4635-83ff-7bc51dd4b5bf@default> <87bncgii2q.fsf@gnu.org> 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 1443885480 8470 80.91.229.3 (3 Oct 2015 15:18:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Oct 2015 15:18:00 +0000 (UTC) Cc: Michael Heerdegen , help-gnu-emacs@gnu.org To: Tassilo Horn Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 03 17:17:48 2015 Return-path: Envelope-to: geh-help-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 1ZiOZH-0002Be-DB for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Oct 2015 17:17:47 +0200 Original-Received: from localhost ([::1]:38991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiOZB-0005VV-Q3 for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Oct 2015 11:17:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiOZ0-0005VK-8u for help-gnu-emacs@gnu.org; Sat, 03 Oct 2015 11:17:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZiOYz-00063t-F3 for help-gnu-emacs@gnu.org; Sat, 03 Oct 2015 11:17:30 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:44455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiOYu-00062i-OY; Sat, 03 Oct 2015 11:17:24 -0400 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t93FHMt9005731 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 3 Oct 2015 15:17:22 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t93FHLgx007433 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 3 Oct 2015 15:17:22 GMT Original-Received: from ubhmp0008.oracle.com (ubhmp0008.oracle.com [156.151.24.61]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t93FHLiU031048; Sat, 3 Oct 2015 15:17:21 GMT In-Reply-To: <87bncgii2q.fsf@gnu.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107495 Archived-At: > > You are welcome to contribute to that (short) bug thread, > > or to otherwise try to get such a function added to Emacs. >=20 > I think that function is not really a viable drop-in replacement for > typical `looking-back' calls. The latter is most frequently used to > decide "am I behind some word or sequence of words, and I don't care > about whitespace?". I did not suggest that it should be a "drop-in replacement for typical `looking-back' calls." The intention is to have such a function for the quite common, but special, use case of checking for a literal sequence of chars just before point. That is one thing that `looking-back' is sometimes (too often, mistakenly) used for. IOW, it's not a case of either-or. There is a use for `looking-back' other than the `chars-before' use case.