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: Simple isearch concerns Date: Sat, 08 May 2021 12:17:26 +0200 Message-ID: <87v97tcyx5.fsf@gmail.com> References: <20210403001539.x4rb55dvh46rmhb3.ref@Ergus> <7473b27b2b479f5686af@heytings.org> <87tuon9vf1.fsf@posteo.net> <20210403174508.xwr5uc36dzityitn@Ergus> <87wnsurdr7.fsf@gmail.com> <87fszij6to.fsf@mail.linkov.net> <87v98asulc.fsf@gmail.com> <87pmyimiwd.fsf@mail.linkov.net> <87bla11u5q.fsf@gmail.com> <87lf937hgk.fsf@mail.linkov.net> <87y2d1ksga.fsf@mail.linkov.net> <87r1it7zfw.fsf@gmail.com> <87v98466it.fsf@mail.linkov.net> <87bl9wcksv.fsf@gmail.com> <87tunnzqci.fsf@mail.linkov.net> <87bl9tmzun.fsf@gmail.com> <87y2cwhiti.fsf@mail.linkov.net> <87h7jk75b7.fsf@gmail.com> <87k0ofyd4p.fsf@mail.linkov.net> <875yzwq4x7.fsf@mail.linkov.net> <875yzumpur.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="7784"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: Philip Kaludercic , emacs-devel@gnu.org, Manuel Uberti , Gregory Heytings , Ergus To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 08 12:18:31 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 1lfK2Z-0001uV-E2 for ged-emacs-devel@m.gmane-mx.org; Sat, 08 May 2021 12:18:31 +0200 Original-Received: from localhost ([::1]:35474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfK2Y-0000il-Gy for ged-emacs-devel@m.gmane-mx.org; Sat, 08 May 2021 06:18:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfK1c-0008Dz-Gy for emacs-devel@gnu.org; Sat, 08 May 2021 06:17:32 -0400 Original-Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]:45932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfK1Z-0000im-BU for emacs-devel@gnu.org; Sat, 08 May 2021 06:17:32 -0400 Original-Received: by mail-ed1-x533.google.com with SMTP id s7so8439304edq.12 for ; Sat, 08 May 2021 03:17:28 -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=VKkTFm95p/4lWkgTN38hvGqWKrRZkH7etsFi+PmC9AM=; b=NFh5BODOxvkXjZKIVr75QzNcRGtsw6E9G8bSyR0LoN1N4S2ZSt3px4E510b8dyNqPy eCfOd8R/1yAQ8oZ4V0pRgTP5qRJfIxMSJ4gLUS5AgQK4fVwhdTyMWLJsj8M+YhQthDJt cLKoyh1rbuTjPC0Y1U0bVktMms0+HK+hqXCMk5qR/9cXdrQ2d8l1qBCcz0WlFsiyPcKJ L5K7r3wzAdTmoGuUJ8vs/LPNuIGEM9dm5YAEEam5MuBaJ2eSgG/ps+Az2FPVQljKzLjC pCIAPdcG5z3Z2Lrl1ofefnKo/+fXSjf2EM5rkAsVXZ/hmv6IBAYJjfgyKLcIsGLuv/2G 7kNw== 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=VKkTFm95p/4lWkgTN38hvGqWKrRZkH7etsFi+PmC9AM=; b=i8T1vTQ2AvJ3VvOVoqj4uuUYiHeLmbzNz6Vj3VPZPwwqwEGf30bYLBor7o3TwFruQd IHmOEFq9/2b2hJ+JQsZP7m3bpHN7Qi2FPMep2w0MQyYONQUsV+SRaYZ3s302Bi5XfAXc n5OdAteiFTMN6Tlc+d569q8HLhMOO8UDqEtxUrkm9TIcXr6m401IJhwTQhYFwCOsGJ1r pD4/mnW+lgAV8NFA7etpo8lmz4Q+2KmnTsZUH62FSbk7i9s4CrUduZhHJxWi4VTsVtmV qMK2Fz/aKTxDpNNaJLZ2mec0HUP1+YIS6K3/U7SYOman0G/ZpDasnJGmm05p9WmsmYTl aASA== X-Gm-Message-State: AOAM530QuHYXMFm6f1NhQo+vDGiQ0jDCenHouYNQ5s4nub2N4HXX4J1/ ZEel3DJu26QkGF0D/jaerLoQVkYEGcdgZw== X-Google-Smtp-Source: ABdhPJzxIrmdE19qtIW8Gsq8gQ9AQ6vIYcgBQ2mC5jVdAqUkAYdfE43FyxLDCqE2vjQavGTvNMv1ig== X-Received: by 2002:aa7:cf8d:: with SMTP id z13mr17430826edx.104.1620469047754; Sat, 08 May 2021 03:17:27 -0700 (PDT) Original-Received: from ars3 ([2a02:908:2211:8540::68a]) by smtp.gmail.com with ESMTPSA id z4sm5054596ejw.54.2021.05.08.03.17.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 May 2021 03:17:27 -0700 (PDT) In-Reply-To: <875yzumpur.fsf@mail.linkov.net> (Juri Linkov's message of "Fri, 07 May 2021 20:14:52 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::533; envelope-from=arstoffel@gmail.com; helo=mail-ed1-x533.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:269037 Archived-At: On Fri, 7 May 2021 at 20:14, Juri Linkov wrote: >> The current design is not without flaws either: when multi-buffer >> isearch visits another buffer, it removes the isearch menu, because >> isearch-mode is already buffer-local. > > This patch fixes the problem. It disables isearch-mode in the previous > buffer, and enables in the next buffer. Do you think the `with-isearch-window-quitting-edit' macro from the patch I sent in the "Controlling Isearch from the minibuffer" thread will be sufficient to make this work in conjunction with the minibuffer-controlled mode?