bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#70914: 29.3; Crashes often on Windows


From: Eli Zaretskii
Subject: bug#70914: 29.3; Crashes often on Windows
Date: Thu, 23 May 2024 08:19:00 +0300

> From: Simen Endsjø <simendsjo@gmail.com>
> Date: Wed, 22 May 2024 22:28:04 +0200
> Cc: ssbssa@yahoo.de, corwin@bru.st, 70914@debbugs.gnu.org
> 
> Here's some output when printing filenames in get_volume_info. I've tried
> searching around and reading code, but I haven't found out where
> "d:/profiles/%s" or "//" comes from.

I don't think "d:/profiles/%s" is the problem, but just in case: what
is that directory?  Is it some place you keep your init or config
files?  Does any Emacs variable or environment variable point to
"d:/profiles"?

> name="d:/.emacs.d/.local/straight/build-29.3/org-fancy-priorities/org-fancy-priorities.elc"
>     get_volume_info: name="c:/Users/simend/.ssh/id_rsa"
>     get_volume_info: name="d:/profiles/%s"
>     get_volume_info: name="//"

It sounds like the "//" file name comes from here:

>     Lisp Backtrace:
>     "file-exists-p" (0xbf6f20)
>     "or" (0xbf7130)
>     "if" (0xbf72e0)
>     0xa9e7f40 Lisp type 3
>     "org-activate-links--overlays" (0x4badb48)
>     "org-activate-links" (0x4badac0)
>     "font-lock-fontify-keywords-region" (0x4bada20)

This seems to tell that font-lock calls org-activate-links, which
calls org-activate-links--overlays, which somehow ends up calling
file-exists-p with the "file name" that is "//".  I don't see how this
can happen, but my guess is that this is somehow related to the Org
file being visited and displayed, so the contents of that file might
hold a part of the solution for this riddle.  Do you have a lot of
links in that Org file?  If not, could you perhaps show them?

Ihor, can you help?  How can org-activate-links--overlays end up
calling file-exists-p, and what should we look for in the Org file to
understand why it calls file-exists-p with "//"?  I'm guessing this
might be related to the htmlize-link or help-echo properties of Org
links?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]