From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#13480: 24.3.50; `C-w' from Isearch should translate newlines to spaces Date: Sat, 19 Jan 2013 12:57:51 +0200 Organization: JURTA Message-ID: <8738xx30eo.fsf@mail.jurta.org> References: <87r4ljh54a.fsf@mail.jurta.org> <87wqva2lvg.fsf@mail.jurta.org> <87obgl5vuz.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1358593160 20795 80.91.229.3 (19 Jan 2013 10:59:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Jan 2013 10:59:20 +0000 (UTC) Cc: 13480@debbugs.gnu.org To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 19 11:59:38 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 1TwW95-0001Ea-54 for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Jan 2013 11:59:31 +0100 Original-Received: from localhost ([::1]:58636 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwW8o-00079P-Dh for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Jan 2013 05:59:14 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:33509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwW8m-00079G-2x for bug-gnu-emacs@gnu.org; Sat, 19 Jan 2013 05:59:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TwW8l-0002aE-76 for bug-gnu-emacs@gnu.org; Sat, 19 Jan 2013 05:59:12 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwW8l-0002a9-3n for bug-gnu-emacs@gnu.org; Sat, 19 Jan 2013 05:59:11 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TwW9a-0001GM-2p for bug-gnu-emacs@gnu.org; Sat, 19 Jan 2013 06:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Jan 2013 11:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13480 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13480-submit@debbugs.gnu.org id=B13480.13585931624777 (code B ref 13480); Sat, 19 Jan 2013 11:00:02 +0000 Original-Received: (at 13480) by debbugs.gnu.org; 19 Jan 2013 10:59:22 +0000 Original-Received: from localhost ([127.0.0.1]:39597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TwW8r-0001Es-H5 for submit@debbugs.gnu.org; Sat, 19 Jan 2013 05:59:22 -0500 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:33348 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TwW8p-0001Ek-0A for 13480@debbugs.gnu.org; Sat, 19 Jan 2013 05:59:15 -0500 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id E6182201C15230; Sat, 19 Jan 2013 02:58:21 -0800 (PST) In-Reply-To: (Dani Moncayo's message of "Sat, 19 Jan 2013 11:40:14 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) 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.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:70030 Archived-At: > 1. Store in one variable the "raw" (untouched) search string, as > supplied by the user. Such variable that holds the raw search string already exists. It is `isearch-string'. > 2. Store in another variable (or define a function to get) the > "canonical" search string, based on the raw search string and the > "laxities" enabled at that moment for the search algorithm (related to > whitespace, case-sensitivity, accents, etc). > 3. Display the canonical search string in the echo area and use it > also in the search algorithm. Such variable used to display the search string in the echo area already exists. It is `isearch-message'. So we could use `isearch-message' to display the translated search string but not to translate it in `isearch-string'.