[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Make eshell ‘ls’ output clickable.
From: |
Ted Zlatanov |
Subject: |
Re: [PATCH] Make eshell ‘ls’ output clickable. |
Date: |
Fri, 07 Jul 2017 12:10:04 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
On Fri, 07 Jul 2017 17:08:47 +0200 Nicolas Petton <address@hidden> wrote:
NP> I like the feature, I've been using something similar for a long time.
NP> I would even enable it by default, as I don't see any downside of doing
NP> so.
Does it make it harder to use the mouse to copy file names? Are spaces
and other non-alphanumeric characters handled correctly?
What if there are URLs in the shell output? Should those be browsable?
What about dates? Can we make calendar entries automatically from
those?[1]
I feel this indicates a wider need, not specific to eshell, to dig out
"things" from text and act on them, guessing their proper handler. In
this case, because the "things" come from the `ls` output, maybe we can
tag them with a text property that can then hint that these are file
names. So to me this feels like a context-sensitive minor mode or even
an Emacs-wide text handler facility, useful beyond eshell. Maybe it
already exists?
Ted
[1] This is not an extreme suggestion; Apple and Google products do this.