From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Fran=C3=A7ois_Pinard?= Subject: rmail: difficulty Date: Thu, 28 Nov 2013 10:37:57 -0500 Message-ID: <877gbssfje.fsf@iro.umontreal.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vm3fL-0005iN-QV for emacs-orgmode@gnu.org; Thu, 28 Nov 2013 10:38:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vm3fC-0004sF-So for emacs-orgmode@gnu.org; Thu, 28 Nov 2013 10:38:07 -0500 Received: from 206-248-137-202.dsl.teksavvy.com ([206.248.137.202]:61452 helo=mercure.progiciels-bpi.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vm3fC-0004s8-L5 for emacs-orgmode@gnu.org; Thu, 28 Nov 2013 10:37:58 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, Org people. In one of my Org files, I have: - rmail:~/ubity/Mail/admin Of course, ~/ubity/Mail/admin is an mbox format email folder. Whenever I mouse-click on it (or use C-c C-o), I get this error: Debugger entered--Lisp error: (wrong-type-argument arrayp nil) org-add-angle-brackets(nil) org-rmail-follow-link(#("~/ubity/Mail/admin" 0 17 (wrap-prefix #(" " 0= 4 (face org-indent)) line-prefix #(" " 0 2 (face org-indent)) keymap (key= map (down-mouse-3 . org-mouse-move-tree-start) (drag-mouse-3 . org-mouse-mo= ve-tree) (C-down-mouse-1 . org-mouse-move-tree-start) (C-drag-mouse-1 . org= -mouse-move-tree) (follow-link . mouse-face) (mouse-3) (mouse-2 . org-open-= at-mouse)) htmlize-link (:uri "rmail:~/ubity/Mail/admin") face org-link mou= se-face highlight org-category "Ubity" fontified t) 17 18 (wrap-prefix #(" = " 0 4 (face org-indent)) line-prefix #(" " 0 2 (face org-indent)) rear-= nonsticky (mouse-face highlight keymap invisible intangible help-echo org-l= inked-text htmlize-link) keymap (keymap (down-mouse-3 . org-mouse-move-tree= -start) (drag-mouse-3 . org-mouse-move-tree) (C-down-mouse-1 . org-mouse-mo= ve-tree-start) (C-drag-mouse-1 . org-mouse-move-tree) (follow-link . mouse-= face) (mouse-3) (mouse-2 . org-open-at-mouse)) htmlize-link (:uri "rmail:~/= ubity/Mail/admin") face org-link mouse-face highlight org-category "Ubity" = fontified t)) nil) org-rmail-open(#("~/ubity/Mail/admin" 0 17 (fontified t org-category "Ubi= ty" mouse-face highlight face org-link htmlize-link (:uri "rmail:~/ubity/Ma= il/admin") keymap (keymap (down-mouse-3 . org-mouse-move-tree-start) (drag-= mouse-3 . org-mouse-move-tree) (C-down-mouse-1 . org-mouse-move-tree-start)= (C-drag-mouse-1 . org-mouse-move-tree) (follow-link . mouse-face) (mouse-3= ) (mouse-2 . org-open-at-mouse)) line-prefix #(" " 0 2 (face org-indent)) = wrap-prefix #(" " 0 4 (face org-indent))) 17 18 (fontified t org-categor= y "Ubity" mouse-face highlight face org-link htmlize-link (:uri "rmail:~/ub= ity/Mail/admin") keymap (keymap (down-mouse-3 . org-mouse-move-tree-start) = (drag-mouse-3 . org-mouse-move-tree) (C-down-mouse-1 . org-mouse-move-tree-= start) (C-drag-mouse-1 . org-mouse-move-tree) (follow-link . mouse-face) (m= ouse-3) (mouse-2 . org-open-at-mouse)) rear-nonsticky (mouse-face highlight= keymap invisible intangible help-echo org-linked-text htmlize-link) line-p= refix #(" " 0 2 (face org-indent)) wrap-prefix #(" " 0 4 (face org-inde= nt))))) ad-Orig-org-open-at-point(nil nil) org-open-at-point() org-open-at-mouse((mouse-2 (# 33203 (93 . 575) 15= 998773 nil 33203 (11 . 34) nil (5 . 14) (8 . 17)))) call-interactively(org-open-at-mouse nil nil) The problem seems to be related to the fact a #message-id is not given in the link, which is (happily!) allowed as per the Org manual. I also have two little suggestions in the same area. If message-id (in the #message-id suffix) has the form of a decimal number, maybe it could be taken as the message number to display? This is surely ill-designed and flaky, yet #1 would mean the first message. If a #message-id suffix is not given, there is no reason to prominently display a particular message, so org-rmail might use rmail-summary to show a summary of all messages. This seems the useful thing to do. Fran=C3=A7ois