From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#38519: minibuffer-depth-indicate-mode with enable-recursive-minibuffers Date: Mon, 09 Dec 2019 00:48:33 +0200 Organization: LINKOV.NET Message-ID: <87v9qqwi0u.fsf@mail.linkov.net> References: <87k177emxq.fsf@mail.linkov.net> <603be961-d5be-41df-b9a1-d0790ae70e8c@default> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="256131"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 38519@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 08 23:57:16 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ie5UK-0014SN-7O for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Dec 2019 23:57:16 +0100 Original-Received: from localhost ([::1]:34078 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ie5UI-0002cG-F9 for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Dec 2019 17:57:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59063) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ie5UB-0002c8-3k for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2019 17:57:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ie5U9-00060k-Mh for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2019 17:57:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46435) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ie5U6-0005yI-Qj for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2019 17:57:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ie5U6-0002Ia-NK for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2019 17:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Dec 2019 22:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38519 X-GNU-PR-Package: emacs Original-Received: via spool by 38519-submit@debbugs.gnu.org id=B38519.15758458158780 (code B ref 38519); Sun, 08 Dec 2019 22:57:02 +0000 Original-Received: (at 38519) by debbugs.gnu.org; 8 Dec 2019 22:56:55 +0000 Original-Received: from localhost ([127.0.0.1]:52405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ie5Tz-0002HY-0f for submit@debbugs.gnu.org; Sun, 08 Dec 2019 17:56:55 -0500 Original-Received: from brown.birch.relay.mailchannels.net ([23.83.209.23]:60514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ie5Tw-0002HP-Hq for 38519@debbugs.gnu.org; Sun, 08 Dec 2019 17:56:53 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 1B8092C1A03; Sun, 8 Dec 2019 22:56:51 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a76.g.dreamhost.com (100-96-45-206.trex.outbound.svc.cluster.local [100.96.45.206]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id AAF022C186E; Sun, 8 Dec 2019 22:56:50 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a76.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Sun, 08 Dec 2019 22:56:51 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Befitting-Spicy: 1775791c515edd75_1575845810929_1005325986 X-MC-Loop-Signature: 1575845810929:1052520089 X-MC-Ingress-Time: 1575845810928 Original-Received: from pdx1-sub0-mail-a76.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a76.g.dreamhost.com (Postfix) with ESMTP id 6588FAF1EA; Sun, 8 Dec 2019 14:56:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=9whEaQNhitzPXXlmNBeJk9vExdg=; b= qsF89lDHsVlwxdpUPN+eE47VwgmkFWXUFXpa86VDS5pe6HM4S6iPfBpTwf2Cwc2x Bj0qKsVmOOdWbedRGXdtYJ+2K3UBg1Tg+Qem1tKqPsmmg/UKE1gdB/2O0i0Qzk+v y781yvp5kFCP2nz7o2XPJKMXekg3NCVjWNlNJ+TLUrU= Original-Received: from mail.jurta.org (m91-129-96-42.cust.tele2.ee [91.129.96.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a76.g.dreamhost.com (Postfix) with ESMTPSA id 81225AF1E6; Sun, 8 Dec 2019 14:56:42 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a76 In-Reply-To: <603be961-d5be-41df-b9a1-d0790ae70e8c@default> (Drew Adams's message of "Sun, 8 Dec 2019 09:00:32 -0800 (PST)") 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: 209.51.188.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:173075 Archived-At: > 1. I agree that the docs should mention each other. > And the doc strings already do that: > > `C-h v enable-recursive-minibuffers' says: > Also see `minibuffer-depth-indicate-mode', > which may be handy if this variable is non-nil. > > `C-h f minibuffer-depth-indicate-mode' says: > This is only useful if > `enable-recursive-minibuffers' is non-nil. > > But this hasn't yet been done in the manuals: > (elisp) `Recursive Mini' and (emacs) `Minibuffer > Edit' cover `enable-recursive-minibuffers', but > `minibuffer-depth-indicate-mode' is mentioned > nowhere, so far. So I added mention of `minibuffer-depth-indicate-mode' to (emacs) `Minibuffer Edit'. Not sure about (elisp) `Recursive Mini', probably not needed in (elisp). > 2. I agree that `minibuffer-depth-indicate-mode' > is useful when `enable-recursive-minibuffers' > is non-nil (generally and only). > > 3. I think I disagree that there should be > some kind of hard coupling between the two, > which would prevent users from getting > `enable-recursive-minibuffers' without > `minibuffer-depth-indicate-mode'. > > It would be OK to automatically turn OFF > `minibuffer-depth-indicate-mode' when > `enable-recursive-minibuffers' is nil. But > that's not necessary (it has no effect), so > it's not useful. Actually turning `m-d-i-m' OFF when `e-r-m' is nil is not needed because `m-d-i-m' has no visual effect when `e-r-m' is nil - there is nothing to show as an indication of the recursive minibuffer when recursive minibuffers are not enabled. > I don't think we should turn `m-d-i-m' ON > systematically when `e-r-m' is non-nil. > That might be OK as a default behavior, but > we shouldn't impose it in a hard-coded way, > so that users have no recourse. If turning `m-d-i-m' ON when `e-r-m' is non-nil will be the default behavior, then users could easily to turn `m-d-i-m' OFF.