From: Sebastian Rose <sebastian_rose@gmx.de>
To: emacs-orgmode@gnu.org
Subject: Re: searchable refcard
Date: Tue, 02 Dec 2008 21:47:13 +0100 [thread overview]
Message-ID: <87tz9mqp7y.fsf@kassiopeya.MSHEIMNETZ> (raw)
In-Reply-To: <49354FA8.8080106@sift.info> (Robert Goldman's message of "Tue, 02 Dec 2008 09:09:28 -0600")
Hi Robert,
those functions you mentioned are on my list for long winter nights :-)
Robert Goldman <rpgoldman@sift.info> writes:
> (let ((cell (find-if (lambda (lst) (eval `(,(first lst))))
> org-context-help-map)))
> (when cell
> (eval `(,(second cell)))))
>
> The find avoids the need to do a non-local exit.
>
> Note that I don't understand what you're doing with having two info
> indices, so I ignored the second one...
Sometimes more than just one section of the manual match the context. I
would like to choose in those situations. While on a checkbox item, the
sections `checkboxes' and 'plain lists' both match. RET RET should just
open the default (which would be the first of those two).
> Alternatively
>
> (loop for (test info-entry info-entry2) in org-context-help-map
> when (eval `(,test))
> return info-entry)
> using the loop macro...
>
> BTW, I don't think you want that quote inside your definition of
> org-context-help-map. You want '((org-at-item-checkbox-p ...)) not
> '(('org-at-item-checkbox-p ...)) The extra quote will be a nuisance.
Regards,
Sebastian
--
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.: +49 (0)511 - 36 58 472
Fax: +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Email: s.rose emma-stil de, sebastian_rose gmx de
Http: www.emma-stil.de
prev parent reply other threads:[~2008-12-02 20:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1L7WK3-0008Jz-45@box188.bluehost.com>
2008-12-02 15:09 ` searchable refcard Robert Goldman
2008-12-02 20:47 ` Sebastian Rose [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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tz9mqp7y.fsf@kassiopeya.MSHEIMNETZ \
--to=sebastian_rose@gmx.de \
--cc=emacs-orgmode@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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).