emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Unexpected error using org-gnus-follow-link
@ 2024-12-12 12:57 Fraga, Eric
  2024-12-12 15:02 ` Visuwesh
  0 siblings, 1 reply; 3+ messages in thread
From: Fraga, Eric @ 2024-12-12 12:57 UTC (permalink / raw)
  To: Emacs Org mode mailing list

Hello all,

I upgraded both Emacs (from git) and org (elpa) in the last couple of
days.  Today I find that I get the following error using
org-open-at-point:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (void-function nil)
  nil()
  org-gnus-follow-link("nnml+outlook:mail.dt2022" "[...]")
  org-gnus-open("nnml+outlook:mail.dt2022#[...]" nil)
  org-link-open((link (:standard-properties [1994 nil 2111 2179 2181 0 nil nil nil nil nil nil nil nil #<buffer todo.org> nil nil (paragraph (:standard-properties [1994 1994 1994 2182 2182 0 nil nil element t (3 . 1815) nil nil nil #<buffer todo.org> nil nil (item ...)]))] :type "gnus" :type-explicit-p t :path "nnml+outlook:mail.dt2022#[...]" :format bracket :raw-link "gnus:nnml+outlook:mail.dt2022#[...]" :application nil :search-option nil)) nil)
  org-open-at-point(nil)
  funcall-interactively(org-open-at-point nil)
  command-execute(org-open-at-point)
--8<---------------cut here---------------end--------------->8---

with message reference elided.

I cannot really reduce this to a minimal example or use -Q due to need
to have gnus configured.

Any suggestions on how to resolve this?  The vast majority of my TODO
entries have gnus email links and they have always worked just fine.
The problem could, of course, be with gnus but I cannot tell from the
above backtrace.

Thank you,
eric
-- 
: Eric S Fraga, with org 9.7.17-3ae179 in Emacs 31.0.50

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

* Re: Unexpected error using org-gnus-follow-link
  2024-12-12 12:57 Unexpected error using org-gnus-follow-link Fraga, Eric
@ 2024-12-12 15:02 ` Visuwesh
  2024-12-12 18:15   ` Fraga, Eric
  0 siblings, 1 reply; 3+ messages in thread
From: Visuwesh @ 2024-12-12 15:02 UTC (permalink / raw)
  To: Org Mode List

[வியாழன் டிசம்பர் 12, 2024] Fraga, Eric wrote:

> Hello all,
>
> I upgraded both Emacs (from git) and org (elpa) in the last couple of
> days.  Today I find that I get the following error using
> org-open-at-point:
>
> Debugger entered--Lisp error: (void-function nil)
>   nil()
>   org-gnus-follow-link("nnml+outlook:mail.dt2022" "[...]")
>   org-gnus-open("nnml+outlook:mail.dt2022#[...]" nil)
>   org-link-open((link (:standard-properties [1994 nil 2111 2179 2181 0 nil nil nil nil nil nil nil nil #<buffer todo.org> nil nil (paragraph (:standard-properties [1994 1994 1994 2182 2182 0 nil nil element t (3 . 1815) nil nil nil #<buffer todo.org> nil nil (item ...)]))] :type "gnus" :type-explicit-p t :path "nnml+outlook:mail.dt2022#[...]" :format bracket :raw-link "gnus:nnml+outlook:mail.dt2022#[...]" :application nil :search-option nil)) nil)
>   org-open-at-point(nil)
>   funcall-interactively(org-open-at-point nil)
>   command-execute(org-open-at-point)
>
> with message reference elided.
>
> I cannot really reduce this to a minimal example or use -Q due to need
> to have gnus configured.
>
> Any suggestions on how to resolve this?  The vast majority of my TODO
> entries have gnus email links and they have always worked just fine.
> The problem could, of course, be with gnus but I cannot tell from the
> above backtrace.

A shot in the dark after looking at org-gnus-follow-link: what is the
value of org-link-frame-setup?  Does it have the gnus entry?


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

* Re: Unexpected error using org-gnus-follow-link
  2024-12-12 15:02 ` Visuwesh
@ 2024-12-12 18:15   ` Fraga, Eric
  0 siblings, 0 replies; 3+ messages in thread
From: Fraga, Eric @ 2024-12-12 18:15 UTC (permalink / raw)
  To: Visuwesh; +Cc: Org Mode List

Response below/inline for email Visuwesh wrote:
> (original email sent 12 Dec 2024 at 20:32)
> 
> A shot in the dark after looking at org-gnus-follow-link: what is the
> value of org-link-frame-setup?  Does it have the gnus entry?

Wow!  What an excellent shot in the dark. :-)

I happened to play with the orgrr package which unfortunately actually
changes that variable.  Resetting it to the default works just fine.

Many thanks.

It does beg the question: should org fail more gracefully and/or give an
error message in such a context?

Thanks again,
eric

-- 
: Eric S Fraga, with org 9.7.17-3ae179 in Emacs 31.0.50

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

end of thread, other threads:[~2024-12-12 18:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-12 12:57 Unexpected error using org-gnus-follow-link Fraga, Eric
2024-12-12 15:02 ` Visuwesh
2024-12-12 18:15   ` Fraga, Eric

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