From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#18992: 24.4; describe-mode Date: Sat, 8 Nov 2014 07:57:36 -0800 (PST) Message-ID: <62c84c79-4884-4b65-b419-0e37f96102e1@default> References: <545DDF6C.9000901@easy-emacs.de> <871tpdvk10.fsf@thinkpad-t440p.tsdh.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1415462313 18070 80.91.229.3 (8 Nov 2014 15:58:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Nov 2014 15:58:33 +0000 (UTC) Cc: 18992@debbugs.gnu.org To: Tassilo Horn , Andreas =?UTF-8?Q?R=C3=B6hler?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 08 16:58:26 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xn8PA-00045O-36 for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Nov 2014 16:58:24 +0100 Original-Received: from localhost ([::1]:36178 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xn8P9-0003z5-R3 for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Nov 2014 10:58:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xn8Oz-0003vf-0d for bug-gnu-emacs@gnu.org; Sat, 08 Nov 2014 10:58:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xn8Oo-0000qK-Ki for bug-gnu-emacs@gnu.org; Sat, 08 Nov 2014 10:58:12 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xn8Oo-0000qG-IB for bug-gnu-emacs@gnu.org; Sat, 08 Nov 2014 10:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xn8Oo-000461-B9 for bug-gnu-emacs@gnu.org; Sat, 08 Nov 2014 10:58: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: Sat, 08 Nov 2014 15:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18992 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18992-submit@debbugs.gnu.org id=B18992.141546226515712 (code B ref 18992); Sat, 08 Nov 2014 15:58:02 +0000 Original-Received: (at 18992) by debbugs.gnu.org; 8 Nov 2014 15:57:45 +0000 Original-Received: from localhost ([127.0.0.1]:53831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xn8OW-00045L-SR for submit@debbugs.gnu.org; Sat, 08 Nov 2014 10:57:45 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:23430) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xn8OU-00045C-L7 for 18992@debbugs.gnu.org; Sat, 08 Nov 2014 10:57:43 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id sA8FvdxL012158 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 8 Nov 2014 15:57:40 GMT Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id sA8FvceE001626 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 8 Nov 2014 15:57:39 GMT Original-Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id sA8FvbVC001608; Sat, 8 Nov 2014 15:57:37 GMT In-Reply-To: <871tpdvk10.fsf@thinkpad-t440p.tsdh.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:95722 > Well, but of course having the mode functions printed in `describe- > mode' wouldn't hurt anyway. This patch does that: This is an improvement. > However, in contrast to major-modes, minor mode names tend to be > much longer, so we can get some long lines like: >=20 > Global-Edit-Server-Edit minor mode (`global-edit-server-edit-mode'; > no indicator): Yes, that violates *Help* conventions. It is better to use this (or similar): ;; Document the minor modes fully. (insert pretty-minor-mode) (princ (format " minor mode:\n(`%s'; %s)\n" mode-function (if (zerop (length indicator)) "no indicator" (format "indicator%s" indicator)))) (save-excursion (fill-region-as-paragraph (line-beginning-position 0) (line-end-position 0) nil t t))