From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jeff.rancier@softechnics.com (Jeffery B. Rancier) Newsgroups: gmane.emacs.help Subject: simple elisp question Date: Tue, 29 Jul 2003 14:08:29 -0400 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1059503433 11634 80.91.224.249 (29 Jul 2003 18:30:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 29 Jul 2003 18:30:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 29 20:30:32 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 19hZDU-0002tM-00 for ; Tue, 29 Jul 2003 20:28:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19hZ9B-0005xR-Ug for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jul 2003 14:24:29 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19hZ8Z-0005JL-C3 for help-gnu-emacs@gnu.org; Tue, 29 Jul 2003 14:23:51 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19hZ8H-0004xE-L9 for help-gnu-emacs@gnu.org; Tue, 29 Jul 2003 14:23:35 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19hZ71-0003Xh-Nd for help-gnu-emacs@gnu.org; Tue, 29 Jul 2003 14:22:15 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19hYxM-0001IA-00 for ; Tue, 29 Jul 2003 20:12:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19hYtR-0000vA-00 for ; Tue, 29 Jul 2003 20:08:13 +0200 Original-Lines: 26 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:TUSBrBBf1e5zxRrHpUbQAOM+/8s= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11457 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11457 Hi All. When I call find-tag, I prefer the method/function to appear at the very top of the buffer. So, I added the following: ,---- | (add-hook 'find-tag-hook | (function | (lambda() | (interactive) | (recenter 0) | (beginning-of-line)))) `---- That worked fine, but now when I call pop-tag-mark the place from where I called find-tag, is not preserved. I don't a call to save-excursion will help here. Any ideas? -- Thanks, Jeff ,---- | Jeffery B. Rancier | | Softechnics | a METTLER TOLEDO company `----