all messages for Emacs-related lists mirrored at yhetil.org
 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; 7+ 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] 7+ 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; 7+ 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] 7+ messages in thread

* Re: Unexpected error using org-gnus-follow-link
  2024-12-12 15:02 ` Visuwesh
@ 2024-12-12 18:15   ` Fraga, Eric
  2024-12-13  5:42     ` Visuwesh
  0 siblings, 1 reply; 7+ 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] 7+ messages in thread

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

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

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

Glad to be of help.

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

I quickly checked the usage of that defcustom and Org does not fall back
gracefully in other places too.  While we can fix it, it would be good
to inform the maintainers of orgrr about this too.


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

* Re: Unexpected error using org-gnus-follow-link
  2024-12-13  5:42     ` Visuwesh
@ 2024-12-13 10:46       ` Fraga, Eric
  2024-12-15 16:41       ` Max Nikulin
  2024-12-22 12:45       ` Ihor Radchenko
  2 siblings, 0 replies; 7+ messages in thread
From: Fraga, Eric @ 2024-12-13 10:46 UTC (permalink / raw)
  To: Visuwesh; +Cc: Org Mode List

Response below/inline for email Visuwesh wrote:
> (original email sent 13 Dec 2024 at 11:12)
> 
> While we can fix it, it would be good to inform the maintainers of
> orgrr about this too.

I intend to.  There are several bits of orgrr that stomp over the user's
preferences.  Otherwise, it's an interesting package.

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

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

* Re: Unexpected error using org-gnus-follow-link
  2024-12-13  5:42     ` Visuwesh
  2024-12-13 10:46       ` Fraga, Eric
@ 2024-12-15 16:41       ` Max Nikulin
  2024-12-22 12:45       ` Ihor Radchenko
  2 siblings, 0 replies; 7+ messages in thread
From: Max Nikulin @ 2024-12-15 16:41 UTC (permalink / raw)
  To: emacs-orgmode

On 13/12/2024 12:42, Visuwesh wrote:
> [வியாழன் டிசம்பர் 12, 2024] Fraga, Eric wrote:
>> 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?
> 
>> It does beg the question: should org fail more gracefully and/or give an
>> error message in such a context?
> 
> I quickly checked the usage of that defcustom and Org does not fall back
> gracefully in other places too.

The question is if nil should mean "Do not call any setup function at 
all" or the default value should be used as a fallback.




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

* Re: Unexpected error using org-gnus-follow-link
  2024-12-13  5:42     ` Visuwesh
  2024-12-13 10:46       ` Fraga, Eric
  2024-12-15 16:41       ` Max Nikulin
@ 2024-12-22 12:45       ` Ihor Radchenko
  2 siblings, 0 replies; 7+ messages in thread
From: Ihor Radchenko @ 2024-12-22 12:45 UTC (permalink / raw)
  To: Visuwesh; +Cc: Org Mode List

Visuwesh <visuweshm@gmail.com> writes:

>> It does beg the question: should org fail more gracefully and/or give an
>> error message in such a context?
>
> I quickly checked the usage of that defcustom and Org does not fall back
> gracefully in other places too...

Do you want to make a patch to that effect?

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


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

end of thread, other threads:[~2024-12-22 13:07 UTC | newest]

Thread overview: 7+ 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
2024-12-13  5:42     ` Visuwesh
2024-12-13 10:46       ` Fraga, Eric
2024-12-15 16:41       ` Max Nikulin
2024-12-22 12:45       ` Ihor Radchenko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.