From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: Navigating completions from minibuffer Date: Wed, 8 Nov 2023 09:18:35 -0800 Message-ID: <25931.49899.219679.933329@google.com> References: <25929.50004.710119.599023@google.com> <868r7af3v6.fsf@mail.linkov.net> <25930.31126.454503.607723@google.com> <868r78bsnx.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19857"; mail-complaints-to="usenet@ciao.gmane.io" Cc: juri@linkov.net, emacs-devel@gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 08 18:19:51 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r0mDW-0004us-2K for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Nov 2023 18:19:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r0mCX-0007di-Va; Wed, 08 Nov 2023 12:18:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r0mCW-0007d4-8z for emacs-devel@gnu.org; Wed, 08 Nov 2023 12:18:48 -0500 Original-Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r0mCQ-0005Lx-Ns for emacs-devel@gnu.org; Wed, 08 Nov 2023 12:18:45 -0500 Original-Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1cc3c51f830so55052055ad.1 for ; Wed, 08 Nov 2023 09:18:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1699463920; x=1700068720; darn=gnu.org; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:from:to:cc:subject:date :message-id:reply-to; bh=3tfGPul+2IoWqwE6B3oNlosJM6Job+G9TUsEYU5iGsc=; b=Wh3ZLzLz9bPsR7UEwHmPt5i8LdyyJTPLhUoK4Yn97JA2mBSxl1FgfYVY2094655xam HfVIVzWUgaZTUjr8yvSVdpTx7At1P/WD6soOqtTBxBZhqglaCec6pG6ihrZh6ErQPTI9 yB6pEUz6PKhVEoGAnIiVAiWkcRvF5LkyLsOCIcsuN/xaB6LMlELhHDoMCaL6p7WyFLYC +Ym5r2V1Ci8hLiqKsVLB3yDZCXcWME47lzcrKFzZ2/cB53aD8er+jYYwL+DsC/23b0Ua TF9JMSv3L47MOrqRFQZ3i+9CD23noE0tORm+fG/uJ48myQH1kmSQAbWdy8B2/BBlXV+5 qRRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699463920; x=1700068720; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=3tfGPul+2IoWqwE6B3oNlosJM6Job+G9TUsEYU5iGsc=; b=fdq6vrjX6FncHnFBHwCVDEbutFfQTM17j2k1c1GlgE9tD7DtTbNB5uhAz9UELm6N61 L7DLwTRUjcRDttnDpSheeC7mh8wdYF6RmX0fNhOvdHQrJGc2IYyPlThe02etCpgKcUIs DqfKAbCDby8St1ZHFDBxHPJcNo5y+wMJGRbRjsCBzQQMmzBOMc1ssmy2a2C6kOgs4SyY iaScwQupP01eOvsHnCQFsCidUP7c/LArsPTrtQq+qJ6hDWXcmGgS7HVHjRx5fT6I9nDq RYYObobjRzoPXINDIqpvUX+wF/n2cGG+h1jC7oznXK5NXstJKB8y40eJgMktClQkDVHu nq6A== X-Gm-Message-State: AOJu0YwvmYiZo3Ix47IwXK6QzXGXpmks0tJxxIEMXQglGDayduQDrIwx hvxjuOLD9si8zW/ec3nei32FnB+38ZF+5SHuJQydoA== X-Google-Smtp-Source: AGHT+IE42hENR66rxzClRJjYY4Jtfvtj3OqJ59W+bU2HVQEakzMWY/ISvXSkGNlNlpGKdKXBMzwTmA== X-Received: by 2002:a17:902:da82:b0:1cc:5835:9634 with SMTP id j2-20020a170902da8200b001cc58359634mr2897660plx.15.1699463919908; Wed, 08 Nov 2023 09:18:39 -0800 (PST) Original-Received: from raman9 ([98.45.12.92]) by smtp.gmail.com with ESMTPSA id z18-20020a170903019200b001cc3141b8fcsm1992079plg.118.2023.11.08.09.18.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Nov 2023 09:18:39 -0800 (PST) In-Reply-To: X-Mailer: VM 8.1.1 under 30.0.50 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=raman@google.com; helo=mail-pl1-x62a.google.com X-Spam_score_int: -208 X-Spam_score: -20.9 X-Spam_bar: -------------------- X-Spam_report: (-20.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, NICE_REPLY_A=-3.277, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:312351 Archived-At: Adding emacs-devel after verifying slowness: 1. completion-at-point appears to have gotten very slow -- from memory in the last week (emacs built against Git @HEAD) The slowness is not present in a build from October 4. T.V Raman writes: > Juri Linkov writes: > > > Agreed. And somewhat related and something that has been causing me > trouble: > > Q: Why is completion-at-point *soo much* slower than > hippie-expand? > > I tried to understand why by looking at the code for completion-at-point > but failed miserably. > > Hope you could look at this since you're working on completion related > bits. > > > Also, how and when completions are displayed can now be controlled by > multiple custom knobs, but it's hard to map the combinatorial explosion > of the available possibilities to different user experiences without > trying all possible settings; a higher level overview with a couple of > recipes that describe common combinations would help. > > > >> everything works, now that I actually applied the complete patch:-) > > > > Thanks for confirming and for suggesting this change, now pushed. > > > > Probably we have to make RET more smart, so that when more editing > > was performed in the minibuffer after the completions were displayed, > > then to use the minibuffer contents with exit-minibuffer, > > not an obsolete completion candidate that remains selected. > > > > -- -- --