From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Hendricks Newsgroups: gmane.emacs.bugs Subject: bug#31139: [PATCH] Document Narrow indicator in describe-mode Date: Tue, 17 Apr 2018 18:59:12 +0000 Message-ID: References: <20180412171208.79685-1-michael@ndrix.org> <877epckneb.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b6bdde056a0fef5b" X-Trace: blaine.gmane.org 1523991494 16289 195.159.176.226 (17 Apr 2018 18:58:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 17 Apr 2018 18:58:14 +0000 (UTC) Cc: 31139@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 17 20:58:09 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 1f8Vnt-00048k-Iv for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Apr 2018 20:58:09 +0200 Original-Received: from localhost ([::1]:56381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8Vq0-0000Jc-9u for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Apr 2018 15:00:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8Vpn-0000HG-Cg for bug-gnu-emacs@gnu.org; Tue, 17 Apr 2018 15:00:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8Vpj-0004vJ-9w for bug-gnu-emacs@gnu.org; Tue, 17 Apr 2018 15:00:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49962) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f8Vpj-0004v0-6F for bug-gnu-emacs@gnu.org; Tue, 17 Apr 2018 15:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f8Vpi-00036a-Tl for bug-gnu-emacs@gnu.org; Tue, 17 Apr 2018 15:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Hendricks Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Apr 2018 19:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31139 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 31139-submit@debbugs.gnu.org id=B31139.152399157011870 (code B ref 31139); Tue, 17 Apr 2018 19:00:02 +0000 Original-Received: (at 31139) by debbugs.gnu.org; 17 Apr 2018 18:59:30 +0000 Original-Received: from localhost ([127.0.0.1]:57859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8VpC-00035O-22 for submit@debbugs.gnu.org; Tue, 17 Apr 2018 14:59:30 -0400 Original-Received: from mail8.static.mailgun.info ([104.130.122.8]:31716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8VpA-00035D-D5 for 31139@debbugs.gnu.org; Tue, 17 Apr 2018 14:59:28 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=ndrix.org; q=dns/txt; s=k1; t=1523991563; h=Content-Type: Cc: To: Subject: Message-ID: Date: From: In-Reply-To: References: MIME-Version: Sender; bh=q6Wyjm/b1X3CKAmYUcv9DDTDKo9yW4N/0SHEUq+BS1I=; b=q72GQnf36tblVYsDhvijkCP32cGIyVWH5D4RShEpvZrng3sXp05ocr0JOf1qCOFovrZqvDSI cC6UmbojLuT2g+RqXh2OV6aJ/SUz1AgFymPoyJo49Rxn1yK/cvRyvwDCpHqMVasrE1bIYUR6 e4RHOCvj81FS00TnV94m1BwdCKY= X-Mailgun-Sid: WyI0YjdmYSIsICIzMTEzOUBkZWJidWdzLmdudS5vcmciLCAiM2UwODY2Il0= X-Mailgun-Sending-Ip: 104.130.122.8 Original-Received: from mail-ot0-f178.google.com (mail-ot0-f178.google.com [74.125.82.178]) by mxa.mailgun.org with ESMTP id 5ad6440a.7fadd8381bf0-smtp-out-n03; Tue, 17 Apr 2018 18:59:22 -0000 (UTC) Original-Received: by mail-ot0-f178.google.com with SMTP id i5-v6so13093735oth.1 for <31139@debbugs.gnu.org>; Tue, 17 Apr 2018 11:59:22 -0700 (PDT) X-Gm-Message-State: ALQs6tCs6WWuMZJLpACWVt4XQoQyYCWPHbfUcLHY4fwy7he5rHX9A3JW AD8CYQPWslI0fFZJf+FVqJijJ0fvIjB5FgkO/68= X-Google-Smtp-Source: AIpwx4/6fRzQQNcMLXZZLNHIM6ZEuxJnx4YSWABEtb7gZSE0jwVeWhLfb6y2j83147HrGQTLlI4+SgHWDm6fpBgywpI= X-Received: by 2002:a9d:44a4:: with SMTP id v36-v6mr1848474ote.395.1523991562335; Tue, 17 Apr 2018 11:59:22 -0700 (PDT) In-Reply-To: <877epckneb.fsf@gmail.com> X-Gmail-Original-Message-ID: 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:145511 Archived-At: --000000000000b6bdde056a0fef5b Content-Type: text/plain; charset="UTF-8" Hi Noam, On Thu, Apr 12, 2018 at 5:36 PM Noam Postavsky wrote: > Narrowing isn't exactly a minor mode though, wouldn't this be > potentially confusing? > You're right that narrowing isn't exactly a minor mode. However, standard-mode-line-format includes narrowing information as part of mode-line-modes. So the narrowing indicator is rendered inside the same parentheses as indicators for true major and minor modes. Since describe-mode provides documentation for everything else that's inside those parentheses, it seemed appropriate to document narrowing in the same place. When I first started using emacs some years ago, I remember being confused why "Narrow" was the only thing in the mode list that wasn't mentioned by describe-mode. I understand it now, but I think others might face similar confusion with the current behavior. I think this patch would address that. --000000000000b6bdde056a0fef5b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Noam,

On Thu, Apr 12, 2018 a= t 5:36 PM Noam Postavsky <npostavs@gmail.com> wrote:
Narrowing isn't exactly a minor mode though, wouldn't th= is be
potentially confusing?

You're right that narrowing is= n't exactly a minor mode.=C2=A0 However, standard-mode-line-format incl= udes narrowing information as part of mode-line-modes.=C2=A0 So the narrowi= ng indicator is rendered inside the same parentheses as indicators for true= major and minor modes.=C2=A0 Since describe-mode provides documentation fo= r everything else that's inside those parentheses, it seemed appropriat= e to document narrowing in the same place.

When I = first started using emacs some years ago, I remember being confused why &qu= ot;Narrow" was the only thing in the mode list that wasn't mention= ed by describe-mode.=C2=A0 I understand it now, but I think others might fa= ce similar confusion with the current behavior.=C2=A0 I think this patch wo= uld address that.

--000000000000b6bdde056a0fef5b--