Subject: bug#47809: emacs file:///

From: Michael Albinus <[email-masked]>
Date: Fri, 16 Apr 2021 14:14:28 +0200

積丹尼 Dan Jacobson <[email-masked]> 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.