From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: linuxfever Newsgroups: gmane.emacs.bugs Subject: bug#10885: Replace expressions: enhance functionality when searching in filled paragraphs Date: Sat, 25 Feb 2012 17:02:45 -0800 (PST) Message-ID: <33392837.post@talk.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1330219758 13881 80.91.229.3 (26 Feb 2012 01:29:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Feb 2012 01:29:18 +0000 (UTC) To: 10885@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 26 02:29:18 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S1SvM-00089Z-14 for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Feb 2012 02:29:16 +0100 Original-Received: from localhost ([::1]:48128 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1SvL-0001PI-JK for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Feb 2012 20:29:15 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1SuZ-0001Nf-8K for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2012 20:28:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S1SuS-0003qV-Aj for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2012 20:28:27 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1SuS-0003qP-58 for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2012 20:28:20 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S1Sx4-0007aw-0s for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2012 20:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: linuxfever Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Feb 2012 01:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10885 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.133021981029120 (code B ref -1); Sun, 26 Feb 2012 01:31:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Feb 2012 01:30:10 +0000 Original-Received: from localhost ([127.0.0.1]:56560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S1SwD-0007Zc-Rs for submit@debbugs.gnu.org; Sat, 25 Feb 2012 20:30:10 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35829) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S1SYb-0006rc-GV for submit@debbugs.gnu.org; Sat, 25 Feb 2012 20:05:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S1SVs-0000Pz-Tl for submit@debbugs.gnu.org; Sat, 25 Feb 2012 20:03:02 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:52214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1SVs-0000Pu-QJ for submit@debbugs.gnu.org; Sat, 25 Feb 2012 20:02:56 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1SVn-0007Fh-Md for Bug-gnu-emacs@gnu.org; Sat, 25 Feb 2012 20:02:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S1SVi-0000PS-Fj for Bug-gnu-emacs@gnu.org; Sat, 25 Feb 2012 20:02:51 -0500 Original-Received: from sam.nabble.com ([216.139.236.26]:34728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1SVi-0000PO-Ax for Bug-gnu-emacs@gnu.org; Sat, 25 Feb 2012 20:02:46 -0500 Original-Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1S1SVh-0006bU-7K for Bug-gnu-emacs@gnu.org; Sat, 25 Feb 2012 17:02:45 -0800 X-Nabble-From: linuxfever@yahoo.gr X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Sat, 25 Feb 2012 20:30:08 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Sat, 25 Feb 2012 20:29:13 -0500 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:57244 Archived-At: Hello, This is more of a suggestion/wish, rather than an actual bug, which could enhance significantly replacement functionality in a filled text (region, paragraph, buffer, etc). Currently it seems that when trying to replace an expression comprising two words, say for example 'replace this', then the functions 'replace-string' or 'replace-regexp' fail to locate the expression when that is split along two lines in the text, i.e., in the above example when the word 'replace' is at the end of one line, and the word 'this' is at the beginning of the next one. I learned today (http://old.nabble.com/Search-in-filled-text-does-not-work-correctly-td33390451.html#a33392628) that there are ways around this by specifying a newline between words, for example, searching for 'replace C-q C-j this' would actually do the work but there are two problems with this. First, it is inefficient as it takes longer to type, and second it would replace only the expressions that are actually split in two lines and leave out the ones separated by a normal SPC. In a nutshell, I believe enhancing the functionality of the replacement functions to accommodate for expressions split in two lines, would make their usability so much easier. Thanks for your time and for such a great and versatile editor! -- View this message in context: http://old.nabble.com/Replace-expressions%3A-enhance-functionality-when-searching-in-filled-paragraphs-tp33392837p33392837.html Sent from the Emacs - Bugs mailing list archive at Nabble.com.