From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Please test links Date: Sat, 15 Mar 2008 21:35:49 +0100 Message-ID: <76F9FB28-F3B2-474C-A08C-C086B644BFC8@science.uva.nl> References: <3FE7D870-A0BF-48A7-A9B5-1023493C0861@science.uva.nl> Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jad6j-0007qR-QK for emacs-orgmode@gnu.org; Sat, 15 Mar 2008 16:35:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jad6h-0007oM-Ns for emacs-orgmode@gnu.org; Sat, 15 Mar 2008 16:35:57 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jad6h-0007oB-Gj for emacs-orgmode@gnu.org; Sat, 15 Mar 2008 16:35:55 -0400 Received: from ug-out-1314.google.com ([66.249.92.175]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jad6h-00018H-Cd for emacs-orgmode@gnu.org; Sat, 15 Mar 2008 16:35:55 -0400 Received: by ug-out-1314.google.com with SMTP id a2so368617ugf.48 for ; Sat, 15 Mar 2008 13:35:54 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Thomas Baumann Cc: emacs-orgmode@gnu.org 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