unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Sacha Chua <sacha@free.net.ph>
Subject: Re: Can bookmark file execute code?
Date: Mon, 09 Sep 2002 10:33:06 +0800	[thread overview]
Message-ID: <873csj28pp.fsf@sachac.linuxboxen.org> (raw)
In-Reply-To: <jb1y843s9q.fsf@analog.net> (mike hardy's message of "Mon, 09 Sep 2002 00:42:21 GMT")

mike hardy <no_sp@m.for_me.org> writes:

> 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).

remember.el automatically does this for you. You might want to read
its code, or just use it wholesale. In fact, it even pops up a nice
window for you...

Seriously, if all you want to do is insert a timestamp, check it
out. It's pretty cool, and you can easily make the functions record
more information. I'd love to be able to use that in a wearable
computing setup that keeps track of where I am and who I talk to! <laugh>
(ooooh, bbdb to the rescue...)

Note to self: hack remember.el to work with planner.el so that it adds
notes to the end of the day's planner... That'd be, like, tres cool.

-- 
Sacha Chua <sacha@free.net.ph> - 4 BS CS Ateneo geekette
interests: emacs, gnu/linux, wearables, teaching compsci

  reply	other threads:[~2002-09-09  2:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-09  0:42 Can bookmark file execute code? mike hardy
2002-09-09  2:33 ` Sacha Chua [this message]
2002-09-09  3:39   ` David Forrest

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873csj28pp.fsf@sachac.linuxboxen.org \
    --to=sacha@free.net.ph \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).