From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jarek Czekalski Newsgroups: gmane.emacs.bugs Subject: bug#15275: 24.3; replace-string function does not respect current region Date: Thu, 05 Sep 2013 23:14:13 +0200 Message-ID: <5228F425.8010708@poczta.onet.pl> References: <52287F44.2090707@poczta.onet.pl> <5ltxhzxlwd.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1378415657 18846 80.91.229.3 (5 Sep 2013 21:14:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Sep 2013 21:14:17 +0000 (UTC) Cc: 15275@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 05 23:14:19 2013 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 1VHgsc-00085T-QG for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Sep 2013 23:14:18 +0200 Original-Received: from localhost ([::1]:33808 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHgsc-0006JK-Cd for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Sep 2013 17:14:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHgsU-0006J3-Aj for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2013 17:14:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHgsM-0000V3-S4 for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2013 17:14:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHgsM-0000Uy-Ko for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2013 17:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VHgsM-0004LE-7b for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2013 17:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jarek Czekalski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Sep 2013 21:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15275 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15275-submit@debbugs.gnu.org id=B15275.137841558816609 (code B ref 15275); Thu, 05 Sep 2013 21:14:02 +0000 Original-Received: (at 15275) by debbugs.gnu.org; 5 Sep 2013 21:13:08 +0000 Original-Received: from localhost ([127.0.0.1]:42347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VHgrT-0004Jo-4x for submit@debbugs.gnu.org; Thu, 05 Sep 2013 17:13:07 -0400 Original-Received: from smtpo15.poczta.onet.pl ([213.180.142.146]:41853) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VHgrQ-0004JJ-J6 for 15275@debbugs.gnu.org; Thu, 05 Sep 2013 17:13:06 -0400 Original-Received: from [192.168.17.5] (cj.e-siemianowice.pl [95.215.234.30]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jarekczek@poczta.onet.pl) by smtp.poczta.onet.pl (Onet) with ESMTPSA id 3cWF3s3bNGzZ3dVl; Thu, 5 Sep 2013 23:12:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=poczta.onet.pl; s=2011; t=1378415578; bh=qa07+5v/xhdx2+OZvUl+Q9kPDSKzGKJ6Gg9egvZVetw=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=IKqpPaXJo6T7OqK/apRUoGN34fvPHiMR23SNbBb5Df1ZZV9BO+FqiP0RiXwxLkFXY p2j7Ezy7NSqwZBVmbNmNmF3L/UGsGxKHBGSqPAkwW2ixcaEX6zwgk2heVvOo15xH2B cMFAuovwWEEozFs8fan5XtlJfEJ/M7nzy1ncpc1w= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 In-Reply-To: <5ltxhzxlwd.fsf@fencepost.gnu.org> 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:78017 Archived-At: W dniu 09/05/2013 06:40 PM, Glenn Morris pisze: > In non-interactive use, you need to specify START and END explicitly. > This is fairly common for Emacs commands. > But note that the doc-string says: "This function is usually the wrong > thing to use in a Lisp program." > I was not going to use it from Lisp program. I just find it convenient to have the whole replacement command on one line. If the function worked the way it is described in docs, it would be perfect. But I am emacs newbie, you decide. A newbie just reads the docs and hopes the program works according to docs. Cheers Jarek