From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.devel Subject: Re: [ELPA?] Controlling Isearch from the minibuffer Date: Sat, 29 May 2021 13:48:24 +0200 Message-ID: <87im314v7b.fsf@gmail.com> References: <87zgx5cz33.fsf@gmail.com> <87o8djohqf.fsf@mail.linkov.net> <87eeeenxqq.fsf@gmail.com> <87h7jath3m.fsf@mail.linkov.net> <87mtt0wj37.fsf@gmail.com> <87cztvx4dc.fsf@mail.linkov.net> <87bl9fr7xh.fsf@gmail.com> <87tun6n12v.fsf@mail.linkov.net> <87lf8i8kba.fsf_-_@gmail.com> <878s4hxly0.fsf@gmail.com> <87im3l5g9y.fsf@mail.linkov.net> <877djzymcf.fsf@gmail.com> <87eee65yor.fsf@mail.linkov.net> <87wnrm35d8.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15215"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 29 13:49:26 2021 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 1lmxT4-0003mi-Iu for ged-emacs-devel@m.gmane-mx.org; Sat, 29 May 2021 13:49:26 +0200 Original-Received: from localhost ([::1]:53874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmxT3-0004Rn-MN for ged-emacs-devel@m.gmane-mx.org; Sat, 29 May 2021 07:49:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmxSE-0003lw-LY for emacs-devel@gnu.org; Sat, 29 May 2021 07:48:34 -0400 Original-Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:40542) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmxSC-0003Sd-GD for emacs-devel@gnu.org; Sat, 29 May 2021 07:48:34 -0400 Original-Received: by mail-ed1-x536.google.com with SMTP id t3so7815343edc.7 for ; Sat, 29 May 2021 04:48:27 -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=uFX8nNLq6NdixAdxRi7R7L4KgFMkRMzrzQLH67KibqQ=; b=GBvApvPklFPIYsDWC4L0OgTh4mj3j6i9Ho1Kr7+91LtZYg1ajMRnCMcNpw/Eyq4Do8 b4WwMq8uP8kR4hmS0cmAIawCUxesoo+X6x6fbHsuEcQ/tAUUPgwjvI0lk2bGXagZZpUd QpiDb407ajbBtOMHytzRFachLtbXzp57JpBGvEViXGe6di/v59zLPPIw+wdMPmvIiI3f IQFFVoPURMIgbaAii02ZB/Ln6OphmrZ5Cg/4YUlN/wI39E5YXYyu1llY9tvnk3pMeDdZ mOlIDPqUTGduoLuB+esZbPDLsUmSawolAKeldqzQqM1ee8gMxHyhIu7yyYQsc+LrvFLb /OgA== 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=uFX8nNLq6NdixAdxRi7R7L4KgFMkRMzrzQLH67KibqQ=; b=A0TPKzXMVNbtuTtITcW4CXRU4LiqztZ/WBUDhyKAZ5ef2zIDkzUv4Ekm+3w583g69E GwyAKky3+wCh0dbwAH4ChDATqXj1btGiAgAEQ/Rf8eDpQSXMVkJ3tWk3eLiu6JmYs4qy E8MIqQf7ReKTew9WR279utvfD2MnMcUwkl8WAk2+IDY6fE/j5qNibuyqNI3hWo9v/LG4 hKVZdGu62ahwofwDgwN9q88AB2WjzdTNsSZsjdPYndGFV+UXzvSC/JftAbPgNdipxKzX ProSgBegdW/XioRcdEUsfQ8glaR7YilqCYsDgLm37QUMeAL+RSH4LXMkvyEAwmoQCJNL AE7g== X-Gm-Message-State: AOAM5307Mx/k380yYMceIc59sFgk9K8D6fw4Co5iRYcYCf7eeF/LXXEU sARyiPGMTLhc25JMe3kHrMI7cr/YzBA= X-Google-Smtp-Source: ABdhPJzlbW1kkQaNMYGBmsL/cfa1wm0pSZ48/14E6fB3m+TpMzKJZuZTRqEU3hpef8fK0gJYJhCBvQ== X-Received: by 2002:aa7:ca49:: with SMTP id j9mr12715781edt.294.1622288906308; Sat, 29 May 2021 04:48:26 -0700 (PDT) Original-Received: from ars3 ([2a02:908:2211:8540::66]) by smtp.gmail.com with ESMTPSA id v12sm4168567edb.81.2021.05.29.04.48.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 May 2021 04:48:25 -0700 (PDT) In-Reply-To: <87wnrm35d8.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 25 May 2021 23:50:27 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=arstoffel@gmail.com; helo=mail-ed1-x536.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:270049 Archived-At: On Tue, 25 May 2021 at 23:50, Juri Linkov wrote: > Testing revealed some problems: > > 1. After enabling isearch-lazy-count, modes that use lazy-highligh, > such as e.g. query-replace displays the isearch message > overwriting query-replace prompt. Maybe this is because of the > removed check for 'isearch-mode' in isearch-lazy-highlight-* functions? > > 2. Using 'C-q' (isearch-quote-char) in the minibuffer or comint > displays a truncated string, e.g. on 'M-! C-r C-q C-a'. > Maybe the default message function should be called directly > in isearch-quote-char? > > 3. Maybe the same default message function should be called directly > also in some other functions like isearch-lazy-highlight-new-loop > and isearch-lazy-highlight-buffer-update? Okay, it looks like we need to bind `isearch-message-function' in some places, possibly to `ignore'. I'll try this sometime soon.