From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#17782: 24.3; package.el: searches don't see elided chars of package name Date: Mon, 07 Oct 2019 19:37:20 +0100 Message-ID: <877e5gs8pr.fsf@tcd.ie> References: <87zjhfi4xl.fsf@naesten.mooo.com> <87d0f82zle.fsf@gnus.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="42397"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Samuel Bronson , 17782@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 07 20:38:20 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iHXtj-000AuE-Ns for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Oct 2019 20:38:19 +0200 Original-Received: from localhost ([::1]:48846 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHXti-0000RP-HI for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Oct 2019 14:38:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51728) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHXtW-0000OR-2v for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2019 14:38:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHXtT-00057M-VU for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2019 14:38:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40280) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iHXtS-000572-AV for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2019 14:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iHXtS-00086s-5x for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2019 14:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Oct 2019 18:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17782 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 17782-submit@debbugs.gnu.org id=B17782.157047345131137 (code B ref 17782); Mon, 07 Oct 2019 18:38:02 +0000 Original-Received: (at 17782) by debbugs.gnu.org; 7 Oct 2019 18:37:31 +0000 Original-Received: from localhost ([127.0.0.1]:49101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHXsw-000869-Kd for submit@debbugs.gnu.org; Mon, 07 Oct 2019 14:37:30 -0400 Original-Received: from mail-wr1-f50.google.com ([209.85.221.50]:40646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHXsv-00085w-5Z for 17782@debbugs.gnu.org; Mon, 07 Oct 2019 14:37:29 -0400 Original-Received: by mail-wr1-f50.google.com with SMTP id h4so7783750wrv.7 for <17782@debbugs.gnu.org>; Mon, 07 Oct 2019 11:37:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=/qytGzbQCsR1HQJSOqqwNDKpX4oBQw5+2vnnYmmqkBc=; b=KWlm2F+GCGww1KXueiL1VvommUhvc3a9+yI6Fq8ekYnJBEdG1+26dYdZD+gwdccDuL S6l1U47DeYgPiI5KS+O/Y/UVPtqm7ZAOMqwR8JMI2sh1I/iQVJmRfsTn0f/JwXiPZCLV Q0rpzfhzfc1hTKWZcwYsuS/tBfKTXDGSGh0dzJgdrhI3O+ygGrUdaLjYl9UKwOyFfc6W XY3neReGs2DWWvxJZZU8l5w5Jyn9PdutNB5dibo7DC+7/rmWLz5s5M4ERsvr3kn/cSoO JA8cBux068aPjwW4Zek2dJ0YM31wE2CykJkyx+yiz40kgf3nRVAVLMEmTtoPKj6LRQ3Q /uPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=/qytGzbQCsR1HQJSOqqwNDKpX4oBQw5+2vnnYmmqkBc=; b=LHLVB0E+Ab4t+kqQMEEoNK6teRZJg0Geen0CWpcOsXSG6qOKEojxctesnt58JFW6cn WSVL6DiQhkzO14MHynFb4O74TIzCcC3AzER+hq2lrdCUjjh2jJcJEe5Q/CTUSPHLlFtX G1xKAdjmu+o+xdBdz9mhcFJvzAR3nolNJViOfS9jldmVlCZICAsRiACIqLgWyKojsCMO x/TfwyXC37kjfeQEXuzcJqfQ+pVQ6/bmto4dmSsNsOTAkELFRM8HlYpJRuj+M1v+vrvw OtL/OBh5kYBju+FkZaUXmhgOlrHROJPiK0ffh4CZKEd9Vh+/W6oH/xcDSfC5ISfuWele cidw== X-Gm-Message-State: APjAAAUqstI3gQZwfAwvDCIvSZR8HVotwUTtccebx/U3V98Mf6VFeJK/ 61iQywzFQpbkpygaGiN6Ht8HiQ== X-Google-Smtp-Source: APXvYqwtkvMbDkLsmf0U+wc3KSKtqmQg/IxbZYMkfIMf2lg7kRybl0x4xrSuTSrbzOzzncrHokhChg== X-Received: by 2002:adf:fe90:: with SMTP id l16mr9653396wrr.175.1570473443084; Mon, 07 Oct 2019 11:37:23 -0700 (PDT) Original-Received: from localhost ([134.226.214.212]) by smtp.gmail.com with ESMTPSA id y5sm335740wma.14.2019.10.07.11.37.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2019 11:37:22 -0700 (PDT) In-Reply-To: <87d0f82zle.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 07 Oct 2019 20:13:33 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:168570 Archived-At: Lars Ingebrigtsen writes: > Samuel Bronson writes: > >> When I search within the *Packages* buffer, my searches can't match on >> parts of the package name that got elided to fit into the column width. >> >> Couldn't this be remedied by displaying the ellipsis using an overlay, >> rather than actually including it in the buffer text? > > I've now done this in Emacs 27 -- in all tabulated list modes, which may > or may not be controversial. > > If people feel like this is a bad change, feel free to revert. It seems > nice to me: `C-s' works more reliably in these buffers, even when bits > are shortened. But perhaps there's a bad user interaction somewhere... I'm curious to know why the ellipsis is added as a display property in truncate-string-to-width[1] instead of making the relevant text invisible[2]. Isn't this behaviour too specific to this use case to justify extending truncate-string-to-width with it? [1]: Use text properties instead of truncating strings 67830e7569 2019-10-07 20:11:26 +0200 https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=67830e756911f0c262bb3a447e58b9ff6739a60f [2]: (info "(elisp) Invisible Text") Thanks, -- Basil