GNU bug report logs - #54271
28.0.91; browse-url-of-dired-file fails with wrong type argument error

Previous Next

Package: emacs;

Reported by: Gustavo Barros <gusbrs.2016 <at> gmail.com>

Date: Sun, 6 Mar 2022 11:58:01 UTC

Severity: normal

Merged with 42433, 52243

Found in versions 28.0.50, 28.0.60, 28.0.91

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 54271 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Gustavo Barros <gusbrs.2016 <at> gmail.com>
Cc: 54271 <at> debbugs.gnu.org
Subject: Re: bug#54271: 28.0.91; browse-url-of-dired-file fails with wrong
 type argument error
Date: Sun, 06 Mar 2022 17:20:28 +0100
Gustavo Barros <gusbrs.2016 <at> gmail.com> writes:

> To reproduce, start with `emacs -Q'. Create a file named 
> "~/test/áçãü.org", open `dired', and navigate to that file, and hit "W" 
> (`browse-url-of-dired-file') on it.  You should get the mentioned error 
> "url-file: Wrong type argument: number-or-marker-p, nil".

This is basically a different symptom of bug#42431 and bug#52243, so
I've merged these bug report.  (I think the solution here is to rework
how `W' works, but since there are so many layers involved here --
browse-url-default-handlers, among other things -- it's not obvious what
the real fix here would be.  Perhaps just change browse-url-emacs to not
use url.el for file:// URLs?)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 2 years and 217 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.