emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* rmail: difficulty
@ 2013-11-28 15:37 François Pinard
  2014-01-04 14:28 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: François Pinard @ 2013-11-28 15:37 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: rmail: difficulty
  2013-11-28 15:37 rmail: difficulty François Pinard
@ 2014-01-04 14:28 ` Bastien
  2014-01-04 16:27   ` François Pinard
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2014-01-04 14:28 UTC (permalink / raw)
  To: François Pinard; +Cc: emacs-orgmode

Hi François,

François Pinard <pinard@iro.umontreal.ca> writes:

> 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:

This is now fixed, thanks for reporting this!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: rmail: difficulty
  2014-01-04 14:28 ` Bastien
@ 2014-01-04 16:27   ` François Pinard
  0 siblings, 0 replies; 3+ messages in thread
From: François Pinard @ 2014-01-04 16:27 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg@gnu.org> writes:
> François Pinard <pinard@iro.umontreal.ca> writes:

>> - rmail:~/ubity/Mail/admin

> This is now fixed, thanks for reporting this!

Thanks, it now works! :-)

François

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-04 16:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-28 15:37 rmail: difficulty François Pinard
2014-01-04 14:28 ` Bastien
2014-01-04 16:27   ` François Pinard

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).