From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#9876: 24.0.90; doc for `define-derived-mode' Date: Sat, 08 Feb 2014 22:04:20 -0800 Message-ID: <87ppmw95zv.fsf@building.gnus.org> References: <7F7835010B8546AEBC3DCEF7FFACB660@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391925964 10881 80.91.229.3 (9 Feb 2014 06:06:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Feb 2014 06:06:04 +0000 (UTC) Cc: 9876@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 09 07:06:11 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 1WCNWt-0003TZ-EB for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Feb 2014 07:06:11 +0100 Original-Received: from localhost ([::1]:49390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCNWs-0004YD-VS for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Feb 2014 01:06:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCNWp-0004Y5-31 for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 01:06:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCNWk-0004Lz-3m for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 01:06:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCNWj-0004Lv-Vk for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 01:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WCNWj-0002eu-Na for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 01:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Feb 2014 06:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9876 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9876-submit@debbugs.gnu.org id=B9876.139192594710198 (code B ref 9876); Sun, 09 Feb 2014 06:06:01 +0000 Original-Received: (at 9876) by debbugs.gnu.org; 9 Feb 2014 06:05:47 +0000 Original-Received: from localhost ([127.0.0.1]:59035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCNWU-0002eQ-NM for submit@debbugs.gnu.org; Sun, 09 Feb 2014 01:05:46 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:39151) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCNWT-0002eI-7k for 9876@debbugs.gnu.org; Sun, 09 Feb 2014 01:05:45 -0500 Original-Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WCNWE-0006oF-VF; Sun, 09 Feb 2014 07:05:31 +0100 In-Reply-To: <7F7835010B8546AEBC3DCEF7FFACB660@us.oracle.com> (Drew Adams's message of "Wed, 26 Oct 2011 10:42:27 -0700") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1WCNWE-0006oF-VF MailScanner-NULL-Check: 1392530731.88389@aK5hHRVq7YXxdXwlN/GwGw 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:85066 Archived-At: "Drew Adams" writes: > The doc, in both the Elisp manual and the doc string, should say that > parameter NAME corresponds to variable `mode-name'. > > Users who define major modes without using `define-derived-mode' will > learn about `mode-name' and understand it when they need it or come in > contact with it. Users who use only `define-derived-mode' are ignorant > of this connection to the variable, unless the doc points it out. > > Similarly, for other variables that might be concerned - e.g., > `major-mode'. Such variables should be mentioned in the doc for `d-d-m' > and the connection made to its parameters. I think that just sounds more confusing. The doc looks good to me the way it is. Closing. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/