From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#13480: 24.3.50; `C-w' from Isearch should translate newlines to spaces Date: Thu, 17 Jan 2013 21:39:29 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1358455224 31475 80.91.229.3 (17 Jan 2013 20:40:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Jan 2013 20:40:24 +0000 (UTC) To: 13480@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 17 21:40:42 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 1TvwGQ-0005jN-0q for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Jan 2013 21:40:42 +0100 Original-Received: from localhost ([::1]:51603 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvwG9-0003il-6k for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Jan 2013 15:40:25 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvwG5-0003id-TV for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 15:40:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvwG4-0002Xx-4l for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 15:40:21 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvwG4-0002Xt-1d for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 15:40:20 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TvwGk-0002jQ-7d for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 15:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Jan 2013 20:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13480 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.135845522410453 (code B ref -1); Thu, 17 Jan 2013 20:41:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Jan 2013 20:40:24 +0000 Original-Received: from localhost ([127.0.0.1]:37400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TvwG7-0002iW-A4 for submit@debbugs.gnu.org; Thu, 17 Jan 2013 15:40:24 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52932) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TvwG5-0002iP-An for submit@debbugs.gnu.org; Thu, 17 Jan 2013 15:40:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvwFN-0002BI-C0 for submit@debbugs.gnu.org; Thu, 17 Jan 2013 15:39:38 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:60400) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvwFN-0002BE-8a for submit@debbugs.gnu.org; Thu, 17 Jan 2013 15:39:37 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvwFM-0003Dp-0q for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 15:39:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvwFG-0002AR-Eb for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 15:39:35 -0500 Original-Received: from mail-ob0-f181.google.com ([209.85.214.181]:53670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvwFG-0002AB-98 for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 15:39:30 -0500 Original-Received: by mail-ob0-f181.google.com with SMTP id oi10so3023980obb.12 for ; Thu, 17 Jan 2013 12:39:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=MCqrTkSGdX1aj6ioyl6lbmBWbf7UbnEoLM5UWyyQjiQ=; b=W38N5Ep8kIevloIbAwtxOF8OJrzx9YJx2TB30OdBszEaWxx/BFN6sYRIfudqGK2dPn cyK+m0DQgbF/gvnHjJEgsnM5gTZgLaqr/IUOnePsDiK82fO9+iEIzAGlDOemudoQg9wr TRln/L4lSZXDdjg2n3ZxcZ768GEAwrbKNXCxhpvoVpKoLQAJbHK5Qsn2pANd+hFOpN9E kCa5+C0nRr/Am2e/CpYlBOyAGnaVFLdYCaBW59cEI4k01iOZk0HKddax6W/sEIy8qRKV Ce/SA3fhEOwBnJr6BtR7MZhZVNOqpjZJSHvkl4CqwfLWPIM/11ypIa1rfBmno0gjltgk /6NA== X-Received: by 10.182.130.38 with SMTP id ob6mr5063764obb.100.1358455169322; Thu, 17 Jan 2013 12:39:29 -0800 (PST) Original-Received: by 10.60.11.39 with HTTP; Thu, 17 Jan 2013 12:39:29 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:69943 Archived-At: Hello, I have `isearch-lax-whitespace' set to t in my init file, so that I can search for a sequence of words regardless of whether there is line breaks or plain spaces between them. Now, if the text following point is "foo bar" and I do `C-s C-w C-w' I'll be searching for any sequence of those two words, separated by any whitespace (well, controlled by `search-whitespace-regexp'). Ok, as expected. But I've just noticed that if the text following point is "foobar" and I do the same, I'll be searching exactly for that fixed sequence of 7 characters, including the . Not what I want, obviously. So I propose that the command `isearch-yank-word-or-char' (C-w in Isearch) DTRT in this case, i.e., when `search-whitespace-regexp' is non-nil, translate the into a simple space when pulling text from the buffer into the search string. TIA. In GNU Emacs 24.3.50.1 (i386-mingw-nt6.2.9200) of 2013-01-10 on MS-W8-DANI Bzr revision: 111476 jan.h.d@swipnet.se-20130110174508-0pdaxa5ys9me698g Windowing system distributor `Microsoft Corp.', version 6.2.9200 Configured using: `configure --with-gcc (4.7) --no-opt --enable-checking --cflags -Ic:/emacs/libs/libXpm-3.5.10/include -Ic:/emacs/libs/libXpm-3.5.10/src -Ic:/emacs/libs/libpng-dev_1.4.3-1_win32/include -Ic:/emacs/libs/zlib-dev_1.2.5-2_win32/include -Ic:/emacs/libs/giflib-4.1.4-1-lib/include -Ic:/emacs/libs/jpeg-6b-4-lib/include -Ic:/emacs/libs/tiff-3.8.2-1-lib/include -Ic:/emacs/libs/libxml2-2.7.8-w32-bin/include/libxml2 -Ic:/emacs/libs/gnutls-3.1.5-w32/include -Ic:/emacs/libs/libiconv-1.14-2-mingw32-dev/include' -- Dani Moncayo