unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Gustavo Barros <gusbrs.2016@gmail.com>
Cc: 54271@debbugs.gnu.org
Subject: 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	[thread overview]
Message-ID: <87bkyjf3xv.fsf@gnus.org> (raw)
In-Reply-To: <87ilsr1eft.fsf@gmail.com> (Gustavo Barros's message of "Sun, 06 Mar 2022 08:54:27 -0300")

Gustavo Barros <gusbrs.2016@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





  reply	other threads:[~2022-03-06 16:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-06 11:54 bug#54271: 28.0.91; browse-url-of-dired-file fails with wrong type argument error Gustavo Barros
2022-03-06 16:20 ` Lars Ingebrigtsen [this message]
2022-03-07  2:28   ` Lars Ingebrigtsen
2022-03-07  3:17     ` Gustavo Barros
2022-03-07  3:27       ` Lars Ingebrigtsen
2022-03-07  3:37         ` Gustavo Barros
2022-03-07  3:57           ` Lars Ingebrigtsen
2022-03-07  4:14             ` Lars Ingebrigtsen
2022-03-07 10:01               ` Gustavo Barros

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bkyjf3xv.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=54271@debbugs.gnu.org \
    --cc=gusbrs.2016@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).