From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Make eshell =?utf-8?B?4oCYbHPigJk=?= output clickable. Date: Fri, 07 Jul 2017 21:54:11 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87wp7jith8.fsf@lifelogs.com> References: <595e6b24.c39f620a.f530.2881@mx.google.com> <87y3s0s2rk.fsf@petton.fr> <874luojkir.fsf@lifelogs.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1499478912 31885 195.159.176.226 (8 Jul 2017 01:55:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Jul 2017 01:55:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 08 03:55:04 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dTexb-0007oX-LK for ged-emacs-devel@m.gmane.org; Sat, 08 Jul 2017 03:55:03 +0200 Original-Received: from localhost ([::1]:59456 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTexh-0002Hj-6w for ged-emacs-devel@m.gmane.org; Fri, 07 Jul 2017 21:55:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTex1-0002Hd-Uf for emacs-devel@gnu.org; Fri, 07 Jul 2017 21:54:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTewy-0006UU-M0 for emacs-devel@gnu.org; Fri, 07 Jul 2017 21:54:27 -0400 Original-Received: from [195.159.176.226] (port=43311 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dTewy-0006Ti-FL for emacs-devel@gnu.org; Fri, 07 Jul 2017 21:54:24 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dTewm-0005NQ-Ag for emacs-devel@gnu.org; Sat, 08 Jul 2017 03:54:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 26 Original-X-Complaints-To: usenet@blaine.gmane.org X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never Cancel-Lock: sha1:GmtRgd0IGmNGQSxOQr+qzcz9UVs= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:216298 Archived-At: On Fri, 7 Jul 2017 23:30:23 +0700 Yuri Khan wrote: YK> On Fri, Jul 7, 2017 at 11:10 PM, Ted Zlatanov 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/