From: Thomas Baumann <dtbaumann@yahoo.de>
To: emacs-orgmode@gnu.org
Subject: Re: Please test links
Date: Sat, 15 Mar 2008 21:17:32 +0100 [thread overview]
Message-ID: <m3ejabpwrn.fsf@norvel.baumann-gauting.site> (raw)
In-Reply-To: C4E508A7-3D6C-43FC-B0EB-498EB28ACBAC@science.uva.nl
quickly installing and learning git....
... and mhe-links still failing
I guess the error comes from
(defun org-add-link-props (&rest plist)
"Add these properties to the link property list."
(let (key value)
(while plist
(setq key (pop plist) value (pop plist))
(setq org-store-link-plist
(plist-put org-store-link-plist key value)))))
returning always nil because of (while plist ...
thus
(defun org-mhe-store-link ()
"Store a link to an MHE folder or message."
(when (or (equal major-mode 'mh-folder-mode)
(equal major-mode 'mh-show-mode))
(let ((from (org-mhe-get-header "From:"))
(to (org-mhe-get-header "To:"))
(message-id (org-mhe-get-header "Message-Id:"))
(subject (org-mhe-get-header "Subject:"))
link desc)
(org-store-link-props :type "mh" :from from :to to
:subject subject :message-id message-id)
(setq desc (org-email-link-description))
(setq link (org-make-link "mhe:" (org-mhe-get-message-real-folder) "#"
(org-remove-angle-brackets message-id)))
(org-add-link-props :link link :description desc))))
returns nil and therefore org-store-link will not recognize the
successful mhe-link.
Cheers
Thomas
next prev parent reply other threads:[~2008-03-15 20:17 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-15 8:24 Please test links Carsten Dominik
2008-03-15 9:31 ` Leo
2008-03-15 9:48 ` Bastien
2008-03-15 10:09 ` Carsten Dominik
2008-03-15 16:36 ` Thomas Baumann
2008-03-15 18:24 ` Carsten Dominik
2008-03-15 20:17 ` Thomas Baumann [this message]
2008-03-15 20:35 ` Carsten Dominik
2008-03-16 7:01 ` Thomas Baumann
2008-03-15 20:26 ` Thomas Baumann
2008-03-15 19:19 ` Bernt Hansen
2008-03-15 21:09 ` Bernt Hansen
2008-03-17 15:28 ` Joel J. Adamson
2008-03-17 18:48 ` Carsten Dominik
-- strict thread matches above, loose matches on Subject: below --
2008-03-16 14:47 Tokuya Kameshima
2008-03-17 7:39 ` Carsten Dominik
2008-03-18 16:20 ` Tokuya Kameshima
2008-03-19 6:57 ` Carsten Dominik
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=m3ejabpwrn.fsf@norvel.baumann-gauting.site \
--to=dtbaumann@yahoo.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).