GNU bug report logs - #47809
emacs file:///

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Thu, 15 Apr 2021 19:20:01 UTC

Severity: wishlist

Tags: notabug, wontfix

Merged with 40269

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47809 in the body.
You can then email your comments to 47809 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#47809; Package emacs. (Thu, 15 Apr 2021 19:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 15 Apr 2021 19:20:02 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: emacs file:///
Date: Fri, 16 Apr 2021 03:19:42 +0800
$ emacs file:///home/jidanni/jidanni.org/geo/house_numbering/presentation.html
File mode specification error: (file-missing Setting current directory No such file or directory /home/jidanni/file:/home/jidanni/jidanni.org/geo/house_numbering/)

Can't it be smarter?




Added tag(s) notabug and wontfix. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 15 Apr 2021 19:31:02 GMT) Full text and rfc822 format available.

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Thu, 15 Apr 2021 19:31:02 GMT) Full text and rfc822 format available.

Notification sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
bug acknowledged by developer. (Thu, 15 Apr 2021 19:31:03 GMT) Full text and rfc822 format available.

Message #12 received at 47809-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 47809-done <at> debbugs.gnu.org
Subject: Re: bug#47809: emacs file:///
Date: Thu, 15 Apr 2021 22:29:47 +0300
tags 47809 notabug wontfix
thanks

> From: 積丹尼 Dan Jacobson
>  <jidanni <at> jidanni.org>
> Date: Fri, 16 Apr 2021 03:19:42 +0800
> 
> $ emacs file:///home/jidanni/jidanni.org/geo/house_numbering/presentation.html
> File mode specification error: (file-missing Setting current directory No such file or directory /home/jidanni/file:/home/jidanni/jidanni.org/geo/house_numbering/)

That's a URL, not a file.

Closing.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47809; Package emacs. (Thu, 15 Apr 2021 19:42:01 GMT) Full text and rfc822 format available.

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

From: Gregory Heytings <gregory <at> heytings.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 47809 <at> debbugs.gnu.org
Subject: Re: bug#47809: emacs file:///
Date: Thu, 15 Apr 2021 19:40:58 +0000
>
> $ emacs file:///home/jidanni/jidanni.org/geo/house_numbering/presentation.html
>
> File mode specification error: (file-missing Setting current directory 
> No such file or directory 
> /home/jidanni/file:/home/jidanni/jidanni.org/geo/house_numbering/)
>
> Can't it be smarter?
>

emacs --eval '(ffap "file:///home/jidanni/jidanni.org/geo/house_numbering/presentation.html")




Forcibly Merged 40269 47809. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 15 Apr 2021 19:57:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47809; Package emacs. (Fri, 16 Apr 2021 07:41:02 GMT) Full text and rfc822 format available.

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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 47809 <at> debbugs.gnu.org
Subject: Re: bug#47809: emacs file:///
Date: Fri, 16 Apr 2021 09:40:13 +0200
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> $ emacs file:///home/jidanni/jidanni.org/geo/house_numbering/presentation.html
> File mode specification error: (file-missing Setting current directory No such file or directory /home/jidanni/file:/home/jidanni/jidanni.org/geo/house_numbering/)
>
> Can't it be smarter?

M-x url-handler-mode

Although it visits the file, there's a spurious "File exists, but cannot
be read" message, likely something goes wrong internally.

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47809; Package emacs. (Fri, 16 Apr 2021 11:39:01 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 47809 <at> debbugs.gnu.org
Subject: Re: bug#47809: emacs file:///
Date: Fri, 16 Apr 2021 19:38:35 +0800
Anyway, emacs is real powerful when it comes to the *ends* of the
arguments you give it.

It knows just the right modes for .../bla.pl vs. .../bla.html vs.
.../bla.txt vs. hundreds perhaps. Much smarter than the average
$BROWSER.

But emacs (-q) is totally baffled by the *front* ends of things you give
it. E.g., file:///somedir/right_under_your_nose is a big mystery to emacs.

$ $BROWSER file:$PWD/.emacs #No problem. Voosh. Butter.
$ emacs -q file:$PWD/.emacs #Totally baffled. Reminds me of
Waldo in https://www.youtube.com/watch?v=6M4_Ommfvv0
Van Halen - Hot For Teacher .

Nope, nobody told Waldo about the file: protocol all the other kids know about.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47809; Package emacs. (Fri, 16 Apr 2021 12:15:01 GMT) Full text and rfc822 format available.

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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 47809 <at> debbugs.gnu.org
Subject: Re: bug#47809: emacs file:///
Date: Fri, 16 Apr 2021 14:14:28 +0200
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

Hi Dan,

> Anyway, emacs is real powerful when it comes to the *ends* of the
> arguments you give it.
>
> It knows just the right modes for .../bla.pl vs. .../bla.html vs.
> .../bla.txt vs. hundreds perhaps. Much smarter than the average
> $BROWSER.
>
> But emacs (-q) is totally baffled by the *front* ends of things you give
> it. E.g., file:///somedir/right_under_your_nose is a big mystery to emacs.

The vast majority of Emacs users don't need this. Don't want this.

So it isn't the default, but you can configure it if you like.

> $ $BROWSER file:$PWD/.emacs #No problem. Voosh. Butter.
> $ emacs -q file:$PWD/.emacs #Totally baffled. Reminds me of
> Waldo in https://www.youtube.com/watch?v=6M4_Ommfvv0
> Van Halen - Hot For Teacher .
>
> Nope, nobody told Waldo about the file: protocol all the other kids know about.

Emacs is not a browser.

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47809; Package emacs. (Fri, 16 Apr 2021 16:44:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: 47809 <at> debbugs.gnu.org
Subject: Re: bug#47809: emacs file:///
Date: Fri, 16 Apr 2021 12:43:25 -0400
FTR, this is a rehash of https://debbugs.gnu.org/40269.

OP often reports the same thing over and over.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 15 May 2021 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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