From: Jean Louis <bugs@gnu.support>
To: Drew Adams <drew.adams@oracle.com>
Cc: Michael Heerdegen <michael_heerdegen@web.de>, help-gnu-emacs@gnu.org
Subject: Re: tabulated-list-mode: how to activate button?
Date: Mon, 7 Dec 2020 08:46:21 +0300 [thread overview]
Message-ID: <X83BreR/5YUPJzAc@protected.rcdrun.com> (raw)
In-Reply-To: <6e85dc68-dfb9-4fa3-9296-23a0f83d5c5e@default>
* Drew Adams <drew.adams@oracle.com> [2020-12-07 05:26]:
> > > I mean, do you want/need the doubled quoting of `action` here, for
> > > example (also the lambda should probably not be quoted)?
> >
> > How do you mean double quoting?
>
> I answered in the bug #45090 thread. You are passing a list
> by quoting it. Nothing is trying to _evaluate_ things inside
> that list - it's inappropriate to quote them. This applies
> to symbol `action', the lambda form, and the other symbols:
> `font-lock-face', `link', `follow-link', and `t'.
>
> (setq tabulated-list-entries
> '((1 ["Something"
> ("Button"
> action (lambda (b) (message "Hello"))
> font-lock-face link
> follow-link t)])))
Thank you, now I know why. Confusion came from interpreting (wrongly
probaly) other code.
This gave me problem yesterday and I am glad there is solution!
prev parent reply other threads:[~2020-12-07 5:46 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 ` [solved] " Jean Louis
2020-12-07 2:26 ` Drew Adams
2020-12-07 5:46 ` Jean Louis [this message]
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=X83BreR/5YUPJzAc@protected.rcdrun.com \
--to=bugs@gnu.support \
--cc=drew.adams@oracle.com \
--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.
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.