From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#38519: minibuffer-depth-indicate-mode with enable-recursive-minibuffers Date: Sun, 8 Dec 2019 09:00:32 -0800 (PST) Message-ID: <603be961-d5be-41df-b9a1-d0790ae70e8c@default> References: <87k177emxq.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="191134"; mail-complaints-to="usenet@blaine.gmane.org" To: Juri Linkov , 38519@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 08 18:06:52 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 1ie01D-000ncP-Uv for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Dec 2019 18:06:52 +0100 Original-Received: from localhost ([::1]:60232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ie01C-0003Vk-Ly for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Dec 2019 12:06:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57582) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1idzvb-0007kW-NF for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2019 12:01:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1idzva-0003cb-Db for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2019 12:01:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46211) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1idzva-0003ap-6G for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2019 12:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1idzva-0003Nx-3v for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2019 12:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Dec 2019 17:01: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.157582444412971 (code B ref 38519); Sun, 08 Dec 2019 17:01:02 +0000 Original-Received: (at 38519) by debbugs.gnu.org; 8 Dec 2019 17:00:44 +0000 Original-Received: from localhost ([127.0.0.1]:52184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1idzvI-0003N9-DU for submit@debbugs.gnu.org; Sun, 08 Dec 2019 12:00:44 -0500 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:34220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1idzvF-0003Mv-O7 for 38519@debbugs.gnu.org; Sun, 08 Dec 2019 12:00:43 -0500 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xB8GxD6f035803; Sun, 8 Dec 2019 17:00:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=zh372NslHF5RBouHptf0tgMvuIM/9FwyT9p7FMQhqJc=; b=NJ7e48gWMXao8VOS66PwIMGDTGdoCoItye3sYQUme4xTa3lNRLOQnLNRCGO7euVb9Y5G XV7AlwOz76dpJxkZHefjF2H33BVe7hkJs/C7Uz4PAG3LOUL7AUXTZa2KaHBx1dX6mzpC +H9UwdDrEFftdD+dxMHRF0A1SKIkE+3FDVqTMiqJ5yZaWig+5nxaqU58PV2NRiL+HgsJ RZou/50QMr7PM0i00Q6Uidbk6cA3odOBq2jF5cDtMCgTNtf27wI2KjFKXy+gmVxObrkR sOeK5NDYpJ1PNj9qtxfA90H2SRaDq56dTJqlSjRYaAEsIHWuxOp80YkWtjPRzHTnwF49 3Q== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2120.oracle.com with ESMTP id 2wr41pv3qx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 08 Dec 2019 17:00:35 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xB8GxRVg086284; Sun, 8 Dec 2019 17:00:35 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3020.oracle.com with ESMTP id 2wrnkp165j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 08 Dec 2019 17:00:35 +0000 Original-Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id xB8H0XqG018110; Sun, 8 Dec 2019 17:00:33 GMT In-Reply-To: <87k177emxq.fsf@mail.linkov.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4927.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9464 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-1912080147 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9464 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-1912080147 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:173059 Archived-At: > A recent discussion about enable-recursive-minibuffers reminded > that minibuffer-depth-indicate-mode should be enabled when > enable-recursive-minibuffers is non-nil. It's unusable > without the depth indication that is more error-prone. >=20 > It simultaneously enabling minibuffer-depth-indicate-mode > after enable-recursive-minibuffers becomes non-nil is not easy > to implement, then at least these two should mention each other > in the manual. It's a good question. 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. 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. I don't think we should turn `m-d-i-m' ON systematically when `e-r-m' is non-nil. =20 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.