From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Leo Liu Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package proposal: visual-path-abbrev.el Date: Mon, 04 Mar 2019 08:23:23 +0800 Message-ID: References: <87tvglpmcx.fsf@gnu.org> <874l8k9umw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="142270"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (macOS 10.14.3) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 04 01:29:47 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h0bUJ-000avN-4f for ged-emacs-devel@m.gmane.org; Mon, 04 Mar 2019 01:29:47 +0100 Original-Received: from localhost ([127.0.0.1]:45920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0bUI-00020R-5h for ged-emacs-devel@m.gmane.org; Sun, 03 Mar 2019 19:29:46 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0bTZ-0001yP-H8 for emacs-devel@gnu.org; Sun, 03 Mar 2019 19:29:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h0bOE-00078o-VU for emacs-devel@gnu.org; Sun, 03 Mar 2019 19:23:31 -0500 Original-Received: from [195.159.176.226] (port=34182 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h0bOE-00073Q-OD for emacs-devel@gnu.org; Sun, 03 Mar 2019 19:23:30 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1h0bOC-000TW6-Hw for emacs-devel@gnu.org; Mon, 04 Mar 2019 01:23:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAG1BMVEUAAAA9Cgm3Hx1WWFWA gn+WmJWsrqv4+vcCAwCRl2MkAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAAAYoA AAGKATOXMFgAAAAHdElNRQfXAQwDNR+ZJmElAAABIklEQVQoz22SPW+DQAyGWUq65qasd9PNUSX4 AZHK2C1rJy5jpDS4IwRVup9dn7GNafpKIPPgzztXFSujqq1eM2n8h22oMkvxI/i9C97kRfMRUN55 dS3BrsAwBXUtMLAO4lryh8kTjOxKpQNniNxAgZOEe4bZwsDTFhKdqZRLNII4OQNHhEuq/RMkm6Cj TnnEA/fk0BorcYn5qA3oaeAxbaBOLrX+9G48NZ2Fzc2tzDM8Q+tMypEOqYHh8mAWaaK3U/cDMOT5 aMZMABgPXc7zPMs1A8DXO756GFJ/4fMEq47hTsAdn5avoxZ4ywl0c2w4Flu2Ybeyb3S+EqxX2DYA H8veJGEDTnHnrXvRaPyt+2kSfK6rfBZ2tUtfP/mR+pR6sX8BUZ/cDV7tvkoAAAAASUVORK5CYII= Cancel-Lock: sha1:gssoJGdLI8725UE+Dr2d2pF+X9c= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:233808 Archived-At: On 2019-03-03 10:25 +0100, Tassilo Horn wrote: > Oh, interesting, but probably a bit different use-case. I want that the > file names stay editable and un-abbreviate as soon as point enters them > (at least as an option). I think that's not possible when using the > 'invisible text property. Indeed different use cases. I was wanting to fit file names (such as those found in java projects) to a certain width. So it stops abbreviation as soon as the file name length is short enough. We then rely on reveal-mode to toggle the abbreviated and full file names.