From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.bugs Subject: bug#13178: Query-replace fails soon after narrow-to-region Date: Wed, 4 Mar 2015 01:16:54 +0000 Message-ID: References: <87ioejw412.fsf@mail.linkov.net> <20121214.130320.1173151390202861752.teika@lavabit.com> <20150227.171230.1758903055908506043.teika@gmx.com> <4c17eddd-79fb-4939-98d2-5f929e5f1c7c@default> <20150304.083103.1686913135825312962.teika@gmx.com> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113d5edcf5a36405106c34f3 X-Trace: ger.gmane.org 1425431900 19742 80.91.229.3 (4 Mar 2015 01:18:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Mar 2015 01:18:20 +0000 (UTC) Cc: 13178@debbugs.gnu.org, juri@linkov.net To: Teika Kazura Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 04 02:18:11 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 1YSxwx-0001B6-8O for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Mar 2015 02:18:11 +0100 Original-Received: from localhost ([::1]:41527 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSxww-00032b-FW for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Mar 2015 20:18:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSxws-00030x-0o for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2015 20:18:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSxwo-0001X7-HO for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2015 20:18:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSxwo-0001X1-E2 for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2015 20:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YSxwo-0007q0-5q for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2015 20:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Mar 2015 01:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13178 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13178-submit@debbugs.gnu.org id=B13178.142543182330058 (code B ref 13178); Wed, 04 Mar 2015 01:18:02 +0000 Original-Received: (at 13178) by debbugs.gnu.org; 4 Mar 2015 01:17:03 +0000 Original-Received: from localhost ([127.0.0.1]:34370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YSxvq-0007ok-Ur for submit@debbugs.gnu.org; Tue, 03 Mar 2015 20:17:03 -0500 Original-Received: from mail-oi0-f42.google.com ([209.85.218.42]:35477) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YSxvo-0007oA-6r for 13178@debbugs.gnu.org; Tue, 03 Mar 2015 20:17:01 -0500 Original-Received: by oifz81 with SMTP id z81so2967752oif.2 for <13178@debbugs.gnu.org>; Tue, 03 Mar 2015 17:16:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=Kss4a9mSB+yRP31gwS2I8r95mZL66JnAei6jhLOYhVc=; b=xbrtt4TX7Rt/lbggOpiTNCP2Eid3y7yD6OUBfZFceWfVOGM7rnEpcfjVXHfQY7PaLa Tb8eYUfPznUOP4aikmMz4zV66z0qtA5rXSIuBydYWyV0hFGGB3gt/HWDGEEE81RIK/6W ykQr97G1u9LoQ6mNgyY1uSmezn4bWkRfUKqSW1i8YdETW2KyTK1poFuaXD/2vWoHWoz7 EtaWtNRyddxRFcGr4YoTSz2X18ixK7GBL7CL/6sFOWWMRvMknm60E3rQErotqTM4Aeu1 JrnFONExIXrObzLQMaajyj6ILPihYrhfVqFIBIY5bIhS4HyVpFfXB3g5hHcEicqrtoyf tj+Q== X-Received: by 10.202.90.3 with SMTP id o3mr1064374oib.99.1425431814577; Tue, 03 Mar 2015 17:16:54 -0800 (PST) Original-Received: by 10.76.130.17 with HTTP; Tue, 3 Mar 2015 17:16:54 -0800 (PST) Original-Received: by 10.76.130.17 with HTTP; Tue, 3 Mar 2015 17:16:54 -0800 (PST) In-Reply-To: <20150304.083103.1686913135825312962.teika@gmx.com> X-Google-Sender-Auth: 0QCmSsSADUvtM9buv4NPgBNJpMQ 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:100038 Archived-At: --001a113d5edcf5a36405106c34f3 Content-Type: text/plain; charset=UTF-8 On Mar 3, 2015 11:31 PM, "Teika Kazura" wrote: > > Docs of `use-empty-active-region' and `use-region-p' use the word "empty", but in fact the predicate is (> (region-end) (region-beginning)). It's confusing. What's confusing about that? Isn't that a non empty region? --001a113d5edcf5a36405106c34f3 Content-Type: text/html; charset=UTF-8


On Mar 3, 2015 11:31 PM, "Teika Kazura" <teika@gmx.com> wrote:
>
> Docs of `use-empty-active-region' and `use-region-p' use the word "empty", but in fact the predicate is (> (region-end) (region-beginning)). It's confusing.

What's confusing about that? Isn't that a non empty region?

--001a113d5edcf5a36405106c34f3--