From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Evgeny Roubinchtein Newsgroups: gmane.emacs.bugs Subject: bug#24891: 25.1: Falsehood on page "Major Modes" of Emacs manual. Date: Sun, 6 Nov 2016 18:55:29 -0500 Message-ID: References: <20161106221832.GB5605@acm.fritz.box> <71941c5f-0c6c-4edd-99ab-134cf6fdce96@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114d72ec6262b30540aaa403 X-Trace: blaine.gmane.org 1478476619 13234 195.159.176.226 (6 Nov 2016 23:56:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 6 Nov 2016 23:56:59 +0000 (UTC) Cc: Alan Mackenzie , 24891@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 07 00:56:55 2016 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 1c3XIJ-0006YQ-83 for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Nov 2016 00:56:11 +0100 Original-Received: from localhost ([::1]:49455 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3XIK-0003Sj-Sn for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Nov 2016 18:56:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3XID-0003SY-Dh for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2016 18:56:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3XIA-0002RX-CF for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2016 18:56:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60121) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c3XIA-0002RL-7F for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2016 18:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c3XI9-0001vW-S9 for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2016 18:56:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Evgeny Roubinchtein Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Nov 2016 23:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24891 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24891-submit@debbugs.gnu.org id=B24891.14784765377379 (code B ref 24891); Sun, 06 Nov 2016 23:56:01 +0000 Original-Received: (at 24891) by debbugs.gnu.org; 6 Nov 2016 23:55:37 +0000 Original-Received: from localhost ([127.0.0.1]:47287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c3XHl-0001ux-Bx for submit@debbugs.gnu.org; Sun, 06 Nov 2016 18:55:37 -0500 Original-Received: from mail-yw0-f178.google.com ([209.85.161.178]:34567) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c3XHj-0001ui-SE for 24891@debbugs.gnu.org; Sun, 06 Nov 2016 18:55:36 -0500 Original-Received: by mail-yw0-f178.google.com with SMTP id t125so122864366ywc.1 for <24891@debbugs.gnu.org>; Sun, 06 Nov 2016 15:55:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=lb5KfjfIL3Yp38/LtKjlaQ7fqxQ32oxDlmKfPaNcXFs=; b=LniZjvd4NLAgJklogfF2L9i/fSKmv5e0cDq8x/T23oSqLAIjaS6hmTgcaZtxd9v9Jo nNbIzhYZ+I5Rknbc8QtEgFigXBnI4+NgbfDUjSUpMdF8UMlk9uLWjupMQmKZ4XKcvKm9 5adOfs+cEdiT31Wyp2w/GTkZXZ/qsHqYHj8M5UMyqR0cjkmphpfZ6mhjx2K8au9i5EWl yEo+Pescw20ngjWnXhU65kpnEG+gz4R3exno+RkP5aRmEhA9tHzMFD1VvAoO3pLONS+K VfrS+0sKYfXEdFZdojQ4SSkAT/VbWFFWj4Uy/x1XjB3uODK9lS83mGhcdBXqkNrouIIZ Tbaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=lb5KfjfIL3Yp38/LtKjlaQ7fqxQ32oxDlmKfPaNcXFs=; b=eQy6hL2CSKnGbnyG4kCSP+zXTxK55ij8ONrQsZkRIn6TytyDeVcJp2KO+cGnvIKU7S L5d3wCQ/V0OmC3CBTk+fo/17g9DEaSH/Uo9otJsnlwEoDy5IEwo2He8qqdfImGCs8u5+ zzqb61QV9rTNi1RtCnZ8ioqLxNdwVBxo0Vnx/HqchIBK9MDJvWFlZt/+14etcQAMMZYa ukglkZdnKBguCcXCFV7J2R2ncOaXO5H9SOTUpRfGUWng2GRfV1Takpnay1zF6p8q11pm l7EvF/ggI6UcMYJ2JjFlpL6N+r4ggGSxtjvUAW4+0Zrve+wDvZ4ihbMB9ZjYxdFnSR11 1V/g== X-Gm-Message-State: ABUngvei2bPHdubPGPGSwQ7ZYasz/NumnuoJY8SW2dRANk1fAJTzBQZkT5lnaasCDD7zFlQbyTWQATg29Mxl4g== X-Received: by 10.129.71.8 with SMTP id u8mr3721980ywa.115.1478476530080; Sun, 06 Nov 2016 15:55:30 -0800 (PST) Original-Received: by 10.37.171.207 with HTTP; Sun, 6 Nov 2016 15:55:29 -0800 (PST) In-Reply-To: <71941c5f-0c6c-4edd-99ab-134cf6fdce96@default> 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:125400 Archived-At: --001a114d72ec6262b30540aaa403 Content-Type: text/plain; charset=UTF-8 Is it the case that the modes that do run prog-mode-hook are exactly the modes derived from prog-mode? On Sun, Nov 6, 2016 at 6:19 PM, Drew Adams wrote: > > In the Emacs manual, page "Major Modes" appears the following: > > > > all programming language modes run `prog-mode-hook', prior to > > running their own mode hooks. > > > > I suggest amending this sentence to something like: > > > > many programming language modes (including all these distributed > > with Emacs) run `prog-mode-hook', prior to runnuing their own > > mode hooks. > > +1. > > But: these -> those, > runnuing -> running, > and we can drop the comma before "prior". > > And I'm not sure why we need to or should say "(including...)". Why? > > I'd suggest just this: > > many programming language modes run `prog-mode-hook' before > running their own mode hooks > > Or even "some" instead of "many". What does it matter how > many do this? > > > > > --001a114d72ec6262b30540aaa403 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Is it the case that the modes that do run prog-mode-hook a= re exactly the modes derived from prog-mode?

On Sun, Nov 6, 2016 at 6:19 PM, Drew Adams= <drew.adams@oracle.com> wrote:
> In the Emacs manual, page "Major Modes= " appears the following:
>
>=C2=A0 =C2=A0 =C2=A0all programming language modes run `prog-mode-hook&= #39;, prior to
>=C2=A0 =C2=A0 =C2=A0running their own mode hooks.
>
> I suggest amending this sentence to something = like:
>
>=C2=A0 =C2=A0 =C2=A0many programming language modes (including all thes= e distributed
>=C2=A0 =C2=A0 =C2=A0with Emacs) run `prog-mode-hook', prior to runn= uing their own
>=C2=A0 =C2=A0 =C2=A0mode hooks.

+1.

But: these -> those,
=C2=A0 =C2=A0 =C2=A0runnuing -> running,
=C2=A0 =C2=A0 =C2=A0and we can drop the comma before "prior".

And I'm not sure why we need to or should say "(including...)"= ;.=C2=A0 Why?

I'd suggest just this:

=C2=A0 many programming language modes run `prog-mode-hook' before
=C2=A0 running their own mode hooks

Or even "some" instead of "many".=C2=A0 What does it ma= tter how
many do this?





--001a114d72ec6262b30540aaa403--