From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: charles@aurox.ch (Charles A. Roelli) Newsgroups: gmane.emacs.bugs Subject: bug#32990: 26.1.50; isearch-forward + t-m-m/mark-active doc Date: Fri, 16 Nov 2018 21:22:23 +0100 Message-ID: References: <83muroyzfk.fsf@gnu.org> <83woqrx9pt.fsf@gnu.org> <835zy3tfrb.fsf@gnu.org> <83bm7pueej.fsf@gnu.org> <834ld6m5jk.fsf@gnu.org> <831s7tauzy.fsf@gnu.org> <87va4yrnrt.fsf@mail.linkov.net> Reply-To: charles@aurox.ch NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1542399543 17301 195.159.176.226 (16 Nov 2018 20:19:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Nov 2018 20:19:03 +0000 (UTC) Cc: 32990@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 16 21:18:58 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gNkZu-0004Og-LC for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Nov 2018 21:18:58 +0100 Original-Received: from localhost ([::1]:46896 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gNkc1-0000sp-2n for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Nov 2018 15:21:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gNkbu-0000sY-TZ for bug-gnu-emacs@gnu.org; Fri, 16 Nov 2018 15:21:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gNkbu-0003Wb-7p for bug-gnu-emacs@gnu.org; Fri, 16 Nov 2018 15:21:02 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52560) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gNkbu-0003WD-3y for bug-gnu-emacs@gnu.org; Fri, 16 Nov 2018 15:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gNkbt-0006Qf-SO for bug-gnu-emacs@gnu.org; Fri, 16 Nov 2018 15:21:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: charles@aurox.ch (Charles A. Roelli) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Nov 2018 20:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32990 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32990-submit@debbugs.gnu.org id=B32990.154239964424678 (code B ref 32990); Fri, 16 Nov 2018 20:21:01 +0000 Original-Received: (at 32990) by debbugs.gnu.org; 16 Nov 2018 20:20:44 +0000 Original-Received: from localhost ([127.0.0.1]:56818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gNkbc-0006Py-4D for submit@debbugs.gnu.org; Fri, 16 Nov 2018 15:20:44 -0500 Original-Received: from sinyavsky.aurox.ch ([37.35.109.145]:33299) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gNkbb-0006Pl-2N for 32990@debbugs.gnu.org; Fri, 16 Nov 2018 15:20:43 -0500 Original-Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id B2FAB229A4 for <32990@debbugs.gnu.org>; Fri, 16 Nov 2018 20:25:19 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= references:reply-to:subject:subject:in-reply-to:to:from:from :message-id:date:date; s=dkim; t=1542399918; x=1543263919; bh=Bc 9Xh4fW+JcMcWgScJTnJ49A+KH3MT7UeDqDn95T8YI=; b=vRzuaQxX5ZPkFJgnJI CmNcaoIeAWUQYTJdW5YrYCfFlvPrrvA4No30aiNnzCDz1wn40ZqPcOl83r9wl8vM w5Wy3vO22xorBxM7trGmZ58OHacLAjRqHtzHJY6zDWPBjs+W3z4tLYVXeYmxi2PB KKIpA9bshoicWUWwBGccDU5Vc= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Original-Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id IhXvl8_u7IPM for <32990@debbugs.gnu.org>; Fri, 16 Nov 2018 20:25:18 +0000 (UTC) Original-Received: from gray (unknown [IPv6:2a02:1205:34ff:bc50:c62c:3ff:fe30:b864]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 67A672296B; Fri, 16 Nov 2018 20:25:18 +0000 (UTC) In-reply-to: <87va4yrnrt.fsf@mail.linkov.net> (message from Juri Linkov on Fri, 16 Nov 2018 00:15:02 +0200) 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: 208.118.235.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:152463 Archived-At: > From: Juri Linkov > Date: Fri, 16 Nov 2018 00:15:02 +0200 > > Thanks, this was needed for a long time. I tried it, and it looks great! Thanks for testing it. > > Clicking the menu items and icons should work okay with the mouse, but > > I haven't yet found a way to show the menu with either "tmm-menubar" > > or TTY menus, since activating these functions will normally > > exit Isearch. > > Eli is right. (put 'tmm-menubar 'isearch-scroll t) did the trick. To see the positive effect of that statement, is setting `isearch-allow-scroll' to t required? For me, the following recipe still has issues, even with that line added to the patch: emacs -Q M-x set-variable isearch-allow-scroll t C-r M-` i The "Isearch" menu should now be shown in the *Completions* window, but instead Isearch actually searches for the character "i" in the minibuffer. If we can inhibit that then we should be fine. (It looks like Isearch is not happy about commands switching the current buffer behind its back.) As for the TTY menus, adding "(put 'menu-bar-open 'isearch-scroll t)" and enabling `isearch-allow-scroll' allows use of the new menu during Isearch from a TTY. Thanks Eli!