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#15166: 24.3.50; Isearch for an octal code Date: Sat, 24 Aug 2013 01:58:56 +0300 Organization: JURTA Message-ID: <87d2p4ovyn.fsf@mail.jurta.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1377298996 20180 80.91.229.3 (23 Aug 2013 23:03:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Aug 2013 23:03:16 +0000 (UTC) Cc: 15166@debbugs.gnu.org To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 24 01:03:18 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 1VD0Nx-0004uZ-Ud for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Aug 2013 01:03:18 +0200 Original-Received: from localhost ([::1]:39017 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VD0Nx-0003Ts-IX for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Aug 2013 19:03:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VD0No-0003Tb-Rk for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2013 19:03:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VD0Ni-0000Vp-Qn for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2013 19:03:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VD0Ni-0000Vi-NB for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2013 19:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VD0Ni-0003Az-32 for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2013 19:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Aug 2013 23:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15166 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15166-submit@debbugs.gnu.org id=B15166.137729894212159 (code B ref 15166); Fri, 23 Aug 2013 23:03:02 +0000 Original-Received: (at 15166) by debbugs.gnu.org; 23 Aug 2013 23:02:22 +0000 Original-Received: from localhost ([127.0.0.1]:51052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VD0N4-0003A3-2Z for submit@debbugs.gnu.org; Fri, 23 Aug 2013 19:02:22 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:43500 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VD0N1-00039s-Pi for 15166@debbugs.gnu.org; Fri, 23 Aug 2013 19:02:20 -0400 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 73659258B9E935; Fri, 23 Aug 2013 16:02:18 -0700 (PDT) In-Reply-To: (Dani Moncayo's message of "Fri, 23 Aug 2013 13:23:10 +0200") 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.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:77671 Archived-At: BTW, while looking at `isearch-quote-char' I noticed that it requires a comment saying that `C-q SPC' is an obsolete feature (that is now replaced by `M-s SPC'). Then it should be also de-documented in the docstring of `isearch-forward-regexp': === modified file 'lisp/isearch.el' --- lisp/isearch.el 2013-07-05 20:15:32 +0000 +++ lisp/isearch.el 2013-08-23 22:42:25 +0000 @@ -823,7 +823,6 @@ (defun isearch-forward-regexp (&optional In incremental searches, a space or spaces normally matches any whitespace defined by the variable `search-whitespace-regexp'. -To search for a literal space and nothing else, enter C-q SPC. To toggle whitespace matching, use `isearch-toggle-lax-whitespace'." (interactive "P\np") (isearch-mode t (null not-regexp) nil (not no-recursive-edit))) @@ -2730,6 +2748,8 @@ (defun isearch-quote-char (&optional cou ;; single-byte character set, and convert them to Emacs ;; characters. (if (and isearch-regexp isearch-regexp-lax-whitespace (= char ?\s)) + ;; Obsolete feature: to search for a literal space + ;; and nothing else, enter C-q SPC. (if (subregexp-context-p isearch-string (length isearch-string)) (isearch-process-search-string "[ ]" " ") (isearch-process-search-char char count))