From: Jean Louis <bugs@gnu.support>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: [solved] Re: tabulated-list-mode: how to activate button?
Date: Mon, 7 Dec 2020 08:44:47 +0300 [thread overview]
Message-ID: <X83BT3EOHpRQbQUc@protected.rcdrun.com> (raw)
In-Reply-To: <87blf69zby.fsf@web.de>
* Michael Heerdegen <michael_heerdegen@web.de> [2020-12-07 04:32]:
> Jean Louis <bugs@gnu.support> writes:
>
> > This is how it is in source, similar:
> > (setq args '("Button" 'action (lambda (b) (message (emacs-uptime)))))
>
> Where is that?
>
> > Then apply receives it so like below, it creates button but function
> > is not working.
> >
> > (apply 'insert-text-button "Button" (car args))
>
> AFAIU the property has the name "action" while you pass "'action".
Thank you.
My confusion came from looking into other sources where for tabulated
list-mode they do something like:
,(if (display-mouse-p)
(propertize name
'font-lock-face 'bookmark-menu-bookmark
'mouse-face 'highlight
'follow-link t
'help-echo "mouse-2: go to this
bookmark in other wi
but now is clear that I cannot use quotes in the same way.
Jean
next prev parent reply other threads:[~2020-12-07 5:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-07 0:36 tabulated-list-mode: how to activate button? Jean Louis
2020-12-07 0:44 ` Michael Heerdegen
2020-12-07 0:55 ` Jean Louis
2020-12-07 1:07 ` Michael Heerdegen
2020-12-07 1:16 ` Jean Louis
2020-12-07 1:31 ` Michael Heerdegen
2020-12-07 5:44 ` Jean Louis [this message]
2020-12-07 2:26 ` Drew Adams
2020-12-07 5:46 ` Jean Louis
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=X83BT3EOHpRQbQUc@protected.rcdrun.com \
--to=bugs@gnu.support \
--cc=help-gnu-emacs@gnu.org \
--cc=michael_heerdegen@web.de \
/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).