From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Samuel Wales Newsgroups: gmane.emacs.help Subject: Re: isearch show the number of the match Date: Thu, 4 May 2023 20:56:29 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40348"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Ruijie Yu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 05 05:57:09 2023 Return-path: Envelope-to: geh-help-gnu-emacs@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 1pumZB-000ALQ-3z for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 05 May 2023 05:57:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pumYh-0005BA-0I; Thu, 04 May 2023 23:56:39 -0400 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 1pumYe-0005Az-Ni for help-gnu-emacs@gnu.org; Thu, 04 May 2023 23:56:36 -0400 Original-Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pumYd-0005UK-05 for help-gnu-emacs@gnu.org; Thu, 04 May 2023 23:56:36 -0400 Original-Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4f145238e4aso205940e87.1 for ; Thu, 04 May 2023 20:56:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683258991; x=1685850991; h=content-transfer-encoding:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=pY+c6ePD2EBnpnZE1eEMKNbSvv8yw6wPqN+9PF6OcWI=; b=nNEDZNIKQnKBPZsOqJWVDQctebAUFbzYdZNAvsMvQ9nrVQzUMN8xhbeP0HHTWJGruX FiMFl4sANRcLFRKK9f2WklXkGY1s1lsgC0JoLn26XtqZfAdxdfJRFEVSPWDNEPuxHNaj lydGkeNdRYR4uTUsEifn5ucgSOrl/A5V42TynjJA2hNjXiUFiraLPfNnIgQizFsuIRLf FWhvjgcAlKR/Mpjl79Mdbz9kF9QMnCoQUV3a8431hsL2PMbChauty87ZUeRcEy/YfpQ+ h0ZA7KScBNiGpQgiZ3W11FMaKO+KksrKLjzJrQosO5dUvABVQIk6eTEY2Ojf7AcRAVmy 7s/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683258991; x=1685850991; h=content-transfer-encoding:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pY+c6ePD2EBnpnZE1eEMKNbSvv8yw6wPqN+9PF6OcWI=; b=CVQxC2Zfsui2c+E+dHlGMZeh1pTOpTxdW+2qcwa9EYtNEPKoczDOlvrA/mAum5PaLr VHpOQvhU7tJOp4O0BwG6oJMiLg2cUePsrIqsteOo4LGiyfiWLmQmnjGJOq+XA6qhGd24 rY+xp6GtfspoYPVbAp8zlBlqJ7ICJGvTLN3qnN754aDgNXCfh/jFdNC74nUkaOC0MmKO 7DU+G3BPSBIDHGduqfwWHDg+DPWLbAcqRNifQubf2juqdOXR3kbavHYloH3gHg7nvjgP ppZBXOo2F547Op3R0rlJ82Fj2sG5c/hOQtjeu/pwPCubYHdZ/oyTobljXq+pD7fvcCco gUig== X-Gm-Message-State: AC+VfDyU6VLodv9gr5V90XG2kfKfi9sSUBPjtiTa43EfyKoRuOoUT6wj I5KdmaT9m7Th28Dv5bNOgSLsI/X3M1k/GITB2xNCA1M7GOkGUw== X-Google-Smtp-Source: ACHHUZ6N7kCfpi4zbUugTOJP6hcw+be2uRaPyWXOwOAmKFlvueKpeL7KHGrznUjL8Rxr0OWNz1EpkHxwpItXjy1LMT8= X-Received: by 2002:a19:5507:0:b0:4e7:fa9a:4d47 with SMTP id n7-20020a195507000000b004e7fa9a4d47mr100029lfe.2.1683258991059; Thu, 04 May 2023 20:56:31 -0700 (PDT) Original-Received: by 2002:a05:6520:2514:b0:25c:eedb:12ff with HTTP; Thu, 4 May 2023 20:56:29 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=samologist@gmail.com; helo=mail-lf1-x12e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143513 Archived-At: my mistake. i was looking at an online manual for a version greater than the version i was using. i also got confused and thought i was looking at the info manual and teh corret one. kind of sacreligious error. apologies for the noise. my ido with ido-hacks is not working, so i am beginning to get really curious about vertico & co. as a replacement. is another reason i asked the consult question. On 5/4/23, Ruijie Yu wrote: > > Samuel Wales writes: > >> i get confused about what match i am on when i run isearch and the >> lines are identical. >> >> i want a sequence number for each match in the minibuffer. >> the manual for 26.1 seems to have something like what i am loking for: >> >> isearch-lazy-count =C2=B6 >> >> Show the current match number and the total number of >> matches in the search prompt. >> >> but the variable does not exist and is not in the dir that contains >> isearch.el. >> >> also, does consult (or whatever package works with vertico) offer this? > > --8<---------------cut here---------------start------------->8--- > isearch-lazy-count is a variable defined in =E2=80=98isearch.el=E2=80=99. > > Its value is nil > > Show match numbers in the search prompt. > When both this option and =E2=80=98isearch-lazy-highlight=E2=80=99 are no= n-nil, > show the current match number and the total number of matches > in the buffer (or its restriction), including all hidden matches. > > This variable was introduced, or its default value was changed, in > version 27.1 of Emacs. > You can customize this variable. > > [back] > --8<---------------cut here---------------end--------------->8--- > > What version of Emacs are you using? > > -- > Best, > > > RY > > [Please note that this mail might go to spam due to some > misconfiguration in my mail server -- still investigating.] > --=20 The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com