emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "François Pinard" <pinard@iro.umontreal.ca>
To: emacs-orgmode@gnu.org
Subject: rmail: difficulty
Date: Thu, 28 Nov 2013 10:37:57 -0500	[thread overview]
Message-ID: <877gbssfje.fsf@iro.umontreal.ca> (raw)

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 (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)) htmlize-link (:uri "rmail:~/ubity/Mail/admin") face org-link mouse-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-linked-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-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 mouse-face highlight org-category "Ubity" fontified t)) nil)
  org-rmail-open(#("~/ubity/Mail/admin" 0 17 (fontified t org-category "Ubity" mouse-face highlight face org-link htmlize-link (:uri "rmail:~/ubity/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) (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-category "Ubity" mouse-face highlight face org-link htmlize-link (:uri "rmail:~/ubity/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) (mouse-3) (mouse-2 . org-open-at-mouse)) rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) line-prefix #("  " 0 2 (face org-indent)) wrap-prefix #("    " 0 4 (face org-indent)))))
  ad-Orig-org-open-at-point(nil nil)
  org-open-at-point()
  org-open-at-mouse((mouse-2 (#<window 12 on Ubity.org> 33203 (93 . 575) 15998773 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çois

             reply	other threads:[~2013-11-28 15:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-28 15:37 François Pinard [this message]
2014-01-04 14:28 ` rmail: difficulty Bastien
2014-01-04 16:27   ` François Pinard

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=877gbssfje.fsf@iro.umontreal.ca \
    --to=pinard@iro.umontreal.ca \
    --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).