From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Federico Tedin Newsgroups: gmane.emacs.bugs Subject: bug#36981: 26.2; request: add searching by package name to list-packages Date: Fri, 20 Sep 2019 20:49:45 +0200 Message-ID: <87ef0aajli.fsf@gmail.com> References: <87ef0r396q.fsf@gmail.com> <87tv995zlc.fsf@gmail.com> <87h858ryot.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="178343"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: 36981@debbugs.gnu.org, ndame , Stefan Kangas To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 20 20:51:57 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 1iBO0b-000kHJ-Io for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Sep 2019 20:51:57 +0200 Original-Received: from localhost ([::1]:34702 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iBO0a-0002Xa-9J for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Sep 2019 14:51:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53870) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iBNyl-0000Hv-4z for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2019 14:50:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iBNyk-000526-2C for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2019 14:50:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49670) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iBNyj-00051z-Td for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2019 14:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iBNyj-0004yM-PF for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2019 14:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Federico Tedin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Sep 2019 18:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36981 X-GNU-PR-Package: emacs Original-Received: via spool by 36981-submit@debbugs.gnu.org id=B36981.156900539419092 (code B ref 36981); Fri, 20 Sep 2019 18:50:01 +0000 Original-Received: (at 36981) by debbugs.gnu.org; 20 Sep 2019 18:49:54 +0000 Original-Received: from localhost ([127.0.0.1]:58491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBNyc-0004xs-HK for submit@debbugs.gnu.org; Fri, 20 Sep 2019 14:49:54 -0400 Original-Received: from mail-ed1-f49.google.com ([209.85.208.49]:34057) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBNya-0004xc-Jv for 36981@debbugs.gnu.org; Fri, 20 Sep 2019 14:49:53 -0400 Original-Received: by mail-ed1-f49.google.com with SMTP id p10so7420228edq.1 for <36981@debbugs.gnu.org>; Fri, 20 Sep 2019 11:49:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=oKWtdi87+wqFKkG9f4yutHS/UCa44tfyyyBgtgS2sig=; b=s/M4bvPPuCmA6COwQTvYqkvcr3cc1Zt8LtMuKZgzxARPYmaJb3JUcIr6/dV7z+woHH YG0PWfXhEpyMOWhO5meukfCfVBULPapWCHAVelVlzWZmjpt7AVPp6+S9h2rL7fZc7n6/ xvoqDcS0dyod49gwcuFkuCpqv5fD8cWCuaASnoSlGO6FLQirHk6GOxxcp3dNquDHYcRh vKGyRGLxQTxgZkFbuEDBV4qJq0BgzerhYbyOfRv51mPEm/zoDl6+rC3gDEdBFDMJ0NIo XB0QuxP/6aTBoGlxhdUNtlOm8pe6gdMB2GuXJgRkr7GIOpBWbjsIR+zsRReZzYK05w7h Q0cg== 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=oKWtdi87+wqFKkG9f4yutHS/UCa44tfyyyBgtgS2sig=; b=QWkwbTjfpwNojYpPGynwdK6n7M6/Gro9m67xfz7GxmpPLUSnhlFrekP6cX3UZ0j3Oh jksuOCMBCOo1MBaCYnh86W/8Cc0dkG3va9+RFJ8smJIob0VYacwysXYQUjvPbpDthKCf vf3lczSHXmTjzLbLlSRNb1m3RDS4PaZEygJ48LTNU2js9Yo1RlWNiyVUXT/N2YYsVKpV uKJ+bLK0XIL2KRRLU7jn46vztQKz186ig34m6HEGkW2aQKXxM2iKEWEt32y5jBDPZtsQ 6C/DOAJ1r7g4LLqY360TQajrTrLSy34bmzAAX2GlR+BPHoqJFKdm+oIIFfb3nKgz1NZN TLLw== X-Gm-Message-State: APjAAAVDEnsO9AZwwJMkQlkFd6ZzQXnq+K+LyJCggyY7FMxWlLb81zUU QduiUa26SEG/ks8GtEUJUSg= X-Google-Smtp-Source: APXvYqwTR8NUdSjmH+oXoHtXhgHh2NWSXdKInySrTx2taiM5BtweP32Vm4ehizcbL88ogP7jg03KZg== X-Received: by 2002:a17:907:2042:: with SMTP id pg2mr20469399ejb.97.1569005386656; Fri, 20 Sep 2019 11:49:46 -0700 (PDT) Original-Received: from lead (dslb-188-103-126-075.188.103.pools.vodafone-ip.de. [188.103.126.75]) by smtp.gmail.com with ESMTPSA id a8sm319063ejp.58.2019.09.20.11.49.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Sep 2019 11:49:45 -0700 (PDT) In-Reply-To: <87h858ryot.fsf@mail.linkov.net> (Juri Linkov's message of "Thu, 19 Sep 2019 23:29:30 +0300") 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:166784 Archived-At: >> I don't want to discourage you from continuing work on the filter >> command by floating this idea. Having filter commands and an isearch >> option are not mutually exclusive. On the contrary, I could see >> myself wanting to use both. >> >> Perhaps it's better to regard this idea as separate from the "filter >> by name" command for now. Maybe I shouldn't have sidetracked this >> issue by even raising it, but it's good to hear that you agree that >> it's not a bad idea. > > I agree, let's first have a basic implementation of "filter by name", > and then maybe add an isearch option later. The way currently I have > to search by name is to start isearch, type a name, and open occur > from isearch. Then jumping from the *Occur* buffer back to packages > is so ugly workaround for having a proper filter by name. > Filtering a huge list of packages will improve the current situation. > (Another useful command would be "filter by description and name" > like in Synaptic package manager.) No problem then, I'll change the function names as Stefan suggested: package-menu-search => package-menu-filter-by-name package-menu-filter => package-menu-filter-by-keyword Then, I'll add the new keybindings and also address the feedback he gave me regarding my last patch. Thanks for the feedback!