emacs-devel
[Top][All Lists]
Advanced

[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 21:54:11 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

On Fri, 7 Jul 2017 23:30:23 +0700 Yuri Khan <address@hidden> wrote: 

YK> On Fri, Jul 7, 2017 at 11:10 PM, Ted Zlatanov <address@hidden> wrote:
>> 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.
>> Maybe it already exists?

YK> ‘find-file-at-point’ comes to mind. Maybe it could be extended, or
YK> made one of backends, to ‘dwim-at-point’.

That would be cool. I think Drew's post was along those lines too, but
crucially I'm suggesting that the *source* of the text (in this case,
eshell) should tag the text region with some property like "this came
from ls so it's probably file names, permissions, dates..."

That doesn't exist, does it? If I were to implement a first rough cut,
what should the property look like? Maybe a list of symbols?

There was a recent question on Reddit[1] about tagging lines as you
browse text and then deleting them all later. This could be another use
for this kind of ad-hoc text property, but in this case the property
would be created by the user instead of by the originator of the text.

Ted

[1] 
https://www.reddit.com/r/emacs/comments/6jfctn/mark_lines_in_buffer_for_mass_delete/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]