From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: drf5n@mug.sys.virginia.edu Newsgroups: gmane.emacs.help Subject: Re: isearch and M-x occur questions(several) Date: Sat, 26 Apr 2003 16:02:55 -0400 (EDT) Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: main.gmane.org 1051387443 29213 80.91.224.249 (26 Apr 2003 20:04:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 26 Apr 2003 20:04:03 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 26 22:04:00 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 199Vtw-0007ad-00 for ; Sat, 26 Apr 2003 22:04:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 199VtQ-0003oU-02 for gnu-help-gnu-emacs@m.gmane.org; Sat, 26 Apr 2003 16:03:28 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 199Vt9-0003eS-00 for help-gnu-emacs@gnu.org; Sat, 26 Apr 2003 16:03:11 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 199Vt8-0003ap-00 for help-gnu-emacs@gnu.org; Sat, 26 Apr 2003 16:03:10 -0400 Original-Received: from mug.sys.virginia.edu ([128.143.6.251]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 199Vt7-0003Zh-00 for help-gnu-emacs@gnu.org; Sat, 26 Apr 2003 16:03:10 -0400 Original-Received: from mug.sys.virginia.edu (drf5n@localhost [127.0.0.1]) by mug.sys.virginia.edu (8.12.9/8.11.6) with ESMTP id h3QK2tJe020993; Sat, 26 Apr 2003 16:02:55 -0400 Original-Received: from localhost (drf5n@localhost)h3QK2tgC020990; Sat, 26 Apr 2003 16:02:55 -0400 Original-To: Johan =?iso-8859-1?q?Bockg=E5rd?= In-Reply-To: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8881 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8881 On Sat, 26 Apr 2003, Johan [iso-8859-1] Bockg=E5rd wrote: > kai.grossjohann@gmx.net (Kai Gro=DFjohann) writes: =2E.. > I like that. > > (defun isearch-occur () > "Run `occur' with current isearch string." > (interactive) > (let ((case-fold-search isearch-case-fold-search) > =09(search-string (if isearch-regexp > =09=09=09 isearch-string > =09=09=09 (regexp-quote isearch-string)))) > (occur search-string))) > > (define-key isearch-mode-map [(control o)] 'isearch-occur) I like it too. I didn't know of occur. Thanks! Dave --=20 Dave Forrest (434)924-3954w(111B) (804)642-0662h (804)695-2026p drf5n@virginia.edu http://mug.sys.virginia.edu/~drf5n/