From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: A few questions about occur-mode Date: Fri, 20 Sep 2002 13:44:09 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <20020920131146.369D.LEKTU@terra.es> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1032552904 1124 127.0.0.1 (20 Sep 2002 20:15:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 20 Sep 2002 20:15:04 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17sUB5-0000I0-00 for ; Fri, 20 Sep 2002 22:15:03 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17sUqV-0006Vj-00 for ; Fri, 20 Sep 2002 22:57:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17sUBU-0007oJ-00; Fri, 20 Sep 2002 16:15:28 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17sMCm-0003dO-00 for emacs-devel@gnu.org; Fri, 20 Sep 2002 07:44:16 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17sMCk-0003d8-00 for emacs-devel@gnu.org; Fri, 20 Sep 2002 07:44:15 -0400 Original-Received: from [62.22.27.141] (helo=mail.peoplecall.com) by monty-python.gnu.org with esmtp (Exim 4.10) id 17sMCj-0003cx-00 for emacs-devel@gnu.org; Fri, 20 Sep 2002 07:44:13 -0400 Original-Received: from [62.22.27.143] (jbarranquero.ofi.peoplecall.com [62.22.27.143]) by mail.peoplecall.com (8.11.6/8.11.6) with ESMTP id g8KBi9d24012 for ; Fri, 20 Sep 2002 13:44:09 +0200 Original-To: emacs-devel@gnu.org X-Mailer: Becky! ver. 2.05.06 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8049 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8049 1.- Would anyone object to making some occur functions (namely `occur-mode-goto-occurrence', `occur-mode-display-occurrence' and `occur-mode-goto-occurrence-other-window') to accept an optional argument and do a (recenter arg) after moving the point? My main use of occur is: M-x occur "whatever" C-x o C-n C-n ... C-o # see something C-n C-n ... C-o # again... and it's very handy to put that "something" at the beginning of the window. 2.- Why are the functions called occur-mode-* instead of simply occur-*? 3.- Do `occur-next' and `occur-prev' do something, or are they remnants of some long-deleted code, a half-implemented idea, or what? AFAICS, the 'occur-point property is only referenced in `occur-next', `occur-prev' and `sh-mark-line' (in progmodes/sh-script.el). 4.- IMO it'd be nice to have bindings in occur-mode to do C-n C-o and C-p C-o (I'd put them in M-n, M-p instead of occur-{next|prev}, but C-M-n and C-M-p would do fine too). Useful, or something to be relegated to my .emacs? :-) Thanks, /L/e/k/t/u