From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: gregb@laserlab.com (Gregory (Greg) Benjamin) Newsgroups: gmane.emacs.help Subject: Re: Search in filled text does not work correctly Date: Sat, 25 Feb 2012 17:59:47 -0800 Message-ID: <86k43a1hik.fsf@dbn66.laserlab.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1330221722 18150 80.91.229.3 (26 Feb 2012 02:02:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Feb 2012 02:02:02 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 26 03:02:02 2012 Return-path: Envelope-to: geh-help-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 1S1TR2-00013M-0y for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Feb 2012 03:02:00 +0100 Original-Received: from localhost ([::1]:41752 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1TR1-0007Lx-HT for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Feb 2012 21:01:59 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1TPA-0006dE-OD for Help-gnu-emacs@gnu.org; Sat, 25 Feb 2012 21:00:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S1TP3-00083Q-SY for Help-gnu-emacs@gnu.org; Sat, 25 Feb 2012 21:00:03 -0500 Original-Received: from mail.laserlab.com ([69.229.78.89]:34826 helo=dbn66.laserlab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1TP3-00083J-Mm for Help-gnu-emacs@gnu.org; Sat, 25 Feb 2012 20:59:57 -0500 Original-Received: by dbn66.laserlab.com (Postfix, from userid 1001) id 95E7B20E0D3; Sat, 25 Feb 2012 17:59:54 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 69.229.78.89 X-Mailman-Approved-At: Sat, 25 Feb 2012 21:01:55 -0500 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:83866 Archived-At: I happened to want to convert a list like this: "apple" "banana" "cherry" to this format: apple banana cherry the other day. I started our with 'replace-regexp' and learned about C-q C-j in a matter of minutes after first trying \n, \\n, C-j, etc. before googling. Perhaps it would be better to educate rather than change emacs' behavior. The built-in tutorial could have a few words added about using C-q C-j with respect to searching and replacing, or the single tutorial now provided could be broken into several, with one dedicated to searching, replacing, highlighting, displaying only the lines containing a pattern, etc.