all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: Phil Hagelberg <phil@hagelb.org>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: Hyperlinks in *vc-change-log*
Date: Sun, 13 Apr 2008 19:33:43 +0200	[thread overview]
Message-ID: <871w59zmko.fsf@ambire.localdomain> (raw)
In-Reply-To: <874pa9djro.fsf@hagelb.org> (Phil Hagelberg's message of "Thu, 10 Apr 2008 22:48:27 -0700")

() Phil Hagelberg <phil@hagelb.org>
() Thu, 10 Apr 2008 22:48:27 -0700

   That's great; I love having closures available.

A button can store state, not only the text it is attached
to (see `button-label'), but other stuff as well.

Here, you don't even need that.  Probably this suffices:

(defun log-view-find-revision-at-button (button)
  (log-view-find-revision (button-start button)))

(make-text-button BEG END
  'action 'log-view-find-revision-at-button)

thi




  parent reply	other threads:[~2008-04-13 17:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-09 16:29 Hyperlinks in *vc-change-log* Phil Hagelberg
2008-04-09 17:43 ` Lennart Borgman (gmail)
2008-04-09 19:59 ` Stefan Monnier
2008-04-10  7:37   ` Dan Nicolaescu
2008-04-11  5:48   ` Phil Hagelberg
2008-04-11 16:36     ` Stefan Monnier
2008-04-12  6:44       ` Phil Hagelberg
2008-04-13 17:33     ` Thien-Thi Nguyen [this message]
2008-04-15 22:33     ` Juri Linkov

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

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

  git send-email \
    --in-reply-to=871w59zmko.fsf@ambire.localdomain \
    --to=ttn@gnuvola.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=phil@hagelb.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.