From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: mike hardy Newsgroups: gmane.emacs.help Subject: Can bookmark file execute code? Date: Mon, 09 Sep 2002 00:42:21 GMT Organization: "We'd prefer you called it the 'Outfit'" Sender: help-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031532967 21156 127.0.0.1 (9 Sep 2002 00:56:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 9 Sep 2002 00:56:07 +0000 (UTC) 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 17oCqT-0005Uz-00 for ; Mon, 09 Sep 2002 02:56:06 +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 17oCqV-00029P-00; Sun, 08 Sep 2002 20:56:07 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus v5.9.0/Emacs 21.0.102 X-Newsreader: Gnus v5.9.0/Emacs 21.0.102 X-Mailer: Gnus v5.9.0/Emacs 21.0.102 Original-Lines: 27 Original-NNTP-Posting-Host: 63.214.117.212 Original-X-Complaints-To: abuse@earthlink.net Original-X-Trace: newsread2.prod.itd.earthlink.net 1031532141 63.214.117.212 (Sun, 08 Sep 2002 17:42:21 PDT) Original-NNTP-Posting-Date: Sun, 08 Sep 2002 17:42:21 PDT Original-Xref: nntp.stanford.edu gnu.emacs.help:104603 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1160 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1160 Is there any way to put something into the bookmark file (~/.emacs.bmk) so that when I select a particular item it executes some code (like an alias)? Someone gave me an insert-date function, and I have a journal file I access via a bookmark. It would be much handier to have that bookmark open the file and execute my alias (go to bottom, insert-date). Thanks... Mike -- ------------------------ mhardy_mail@NO_SPAM@yahoo.com Help Wanted: Psychic. You know where to apply.