all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Raffaele Ricciardi <rfflrccrd@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: What function does a button click call?
Date: Thu, 23 Oct 2014 19:43:54 +0200	[thread overview]
Message-ID: <cast2tFq8gdU1@mid.individual.net> (raw)

Hello,

I am trying to determine what function gets called for a click on a
"Choose" button in a Customize buffer.

I have run "customize-face", then I have positioned point over a
"Choose" button, and then I have evaluated the expression:

     (button-at (point))

that has returned:

     #<marker (moves after insertion) at 477 in *Customize Face: Font
Lock Variable Name Face*>

This should mean that I am dealing with a button, shouldn't it?  Yet,
the expression:

     (button-get (button-at (point)) 'action)

has returned NIL.  Actually, the above expression has returned NIL for
all the button properties documented in the manual.

Any help?  Thanks.
--

Software:
  - GNU Emacs 24.3.1


             reply	other threads:[~2014-10-23 17:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-23 17:43 Raffaele Ricciardi [this message]
2014-10-26 18:39 ` What function does a button click call? Michael Heerdegen
2014-10-26 19:19   ` Michael Heerdegen

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=cast2tFq8gdU1@mid.individual.net \
    --to=rfflrccrd@gmail.com \
    --cc=help-gnu-emacs@gnu.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.