emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Thomas Baumann <dtbaumann@yahoo.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Please test links
Date: Sat, 15 Mar 2008 21:35:49 +0100	[thread overview]
Message-ID: <76F9FB28-F3B2-474C-A08C-C086B644BFC8@science.uva.nl> (raw)
In-Reply-To: <m3ejabpwrn.fsf@norvel.baumann-gauting.site>

At least we got you to learn git! :-)


Thanks for the analysis, I have fixed this problem for all link
packages, thanks a lot!!!


Please, everyone, git it another shot.

Ahh, I don't know what I would do without all this help.

- Carsten

On Mar 15, 2008, at 9:17 PM, Thomas Baumann wrote:

> 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
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2008-03-15 20:35 UTC|newest]

Thread overview: 14+ 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
2008-03-15 20:35       ` Carsten Dominik [this message]
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

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=76F9FB28-F3B2-474C-A08C-C086B644BFC8@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=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).