From unknown Sun Aug 17 10:26:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43713: 26.3; doc of `define-generic-mode' Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Sep 2020 19:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43713 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 43713@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160140931219332 (code B ref -1); Tue, 29 Sep 2020 19:56:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Sep 2020 19:55:12 +0000 Received: from localhost ([127.0.0.1]:57261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNLiR-00051j-OT for submit@debbugs.gnu.org; Tue, 29 Sep 2020 15:55:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:55430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNLiP-00051b-Vp for submit@debbugs.gnu.org; Tue, 29 Sep 2020 15:55:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNLiP-0006CB-LY for bug-gnu-emacs@gnu.org; Tue, 29 Sep 2020 15:55:09 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:54870) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNLiM-000053-4K for bug-gnu-emacs@gnu.org; Tue, 29 Sep 2020 15:55:09 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08TJt4bX024973 for ; Tue, 29 Sep 2020 19:55:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=+KfJ+7Qx6j++eQibdMTuEPCUzfemmK+MM+XztVGMSss=; b=r2yKS8Ya2xoOnsy1wQOtgXt5Lz3VPMj3fqT9DdjQOGRRLfKIWhqWixVCePmPK3QtVSus MTq3XpYNYYYROqKB3wXDrJTKE+jB9wDtgcfdYyOdyVS7FkL3jJGkx8wdzlZ/N/4WMayY q7IatKLzylbEHyXVw+t+SUP3Srxqq+ZxX/Bxul3JsFPfwJ3ejV4BQf2WSlvdzX1WEjtY E+kXnDcqsHdnUjmjhFoMLY2Iwb6Dhb9ttoa0HnvkIUHH5uppnfRsfMl0cu6oS7CWVJjO DG+SFNameRK+MixiumbRpoW5WdVDU0p1DOCHCGSL4Wxk7fKEPKnp4tdbokrF+SfMVLGm IQ== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2120.oracle.com with ESMTP id 33sx9n4uw5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 29 Sep 2020 19:55:04 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08TJoRRm106591 for ; Tue, 29 Sep 2020 19:55:02 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 33tfhy4rvx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 29 Sep 2020 19:55:01 +0000 Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 08TJt1Ef016199 for ; Tue, 29 Sep 2020 19:55:01 GMT MIME-Version: 1.0 Message-ID: Date: Tue, 29 Sep 2020 12:55:00 -0700 (PDT) From: Drew Adams X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5056.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9759 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxlogscore=914 bulkscore=0 phishscore=0 malwarescore=0 adultscore=0 suspectscore=1 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009290166 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9759 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=945 suspectscore=1 phishscore=0 mlxscore=0 lowpriorityscore=0 adultscore=0 clxscore=1015 spamscore=0 impostorscore=0 malwarescore=0 bulkscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009290167 Received-SPF: pass client-ip=156.151.31.85; envelope-from=drew.adams@oracle.com; helo=userp2120.oracle.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/29 15:55:04 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -56 X-Spam_score: -5.7 X-Spam_bar: ----- X-Spam_report: (-5.7 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.687, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.614, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) The doc string says nothing at all about what a generic mode is. (elisp) `Generic Modes' says only this: "Generic modes" are simple major modes with basic support for comment syntax and Font Lock mode. Is that all users need to know about a generic mode? Can we at least say something like that in the doc string? In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) of 2019-08-29 Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd Windowing system distributor `Microsoft Corp.', version 10.0.18362 Configured using: `configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install 'CFLAGS=3D-O2 -static -g3'' From unknown Sun Aug 17 10:26:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43713: 26.3; doc of `define-generic-mode' Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Sep 2020 01:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43713 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Drew Adams Cc: 43713@debbugs.gnu.org Received: via spool by 43713-submit@debbugs.gnu.org id=B43713.160143076729746 (code B ref 43713); Wed, 30 Sep 2020 01:53:02 +0000 Received: (at 43713) by debbugs.gnu.org; 30 Sep 2020 01:52:47 +0000 Received: from localhost ([127.0.0.1]:57634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNRIU-0007jh-VK for submit@debbugs.gnu.org; Tue, 29 Sep 2020 21:52:47 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNRIT-0007jS-99 for 43713@debbugs.gnu.org; Tue, 29 Sep 2020 21:52:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=vP2vBGoln5V388EGs7nN83G7tY3rXdbtnJsLzuO7fvQ=; b=kYCZGJmuQPLKTWxiuYA2bgYzc4 Bnw+6g2fB55DlD66znga/yvCJwp/AZuCy5vg2JlVV5Py1RHuFnM/BYrwfb+sf/kjIbocPAWnFhhx4 /xCEGsc5g6RWxOvwN1v2MrjMNvveCHYtIFcCjgsh5H5FQpyG6FtfdMiIVFecQZP67qCc=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kNRIH-000555-F7; Wed, 30 Sep 2020 03:52:39 +0200 From: Lars Ingebrigtsen References: X-Now-Playing: Joanna Newsom's _Divers_: "Sapokanikan" Date: Wed, 30 Sep 2020 03:52:32 +0200 In-Reply-To: (Drew Adams's message of "Tue, 29 Sep 2020 12:55:00 -0700 (PDT)") Message-ID: <875z7w9gkf.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Drew Adams writes: > The doc string says nothing at all about what a generic mode is. > > (elisp) `Generic Modes' says only this: > > "Generic modes" are simple major modes with basic support for comment > syntax and Fo [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Drew Adams writes: > The doc string says nothing at all about what a generic mode is. > > (elisp) `Generic Modes' says only this: > > "Generic modes" are simple major modes with basic support for comment > syntax and Font Lock mode. > > Is that all users need to know about a generic mode? > > Can we at least say something like that in the doc string? I've now done so in Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 29 21:52:53 2020 Received: (at control) by debbugs.gnu.org; 30 Sep 2020 01:52:53 +0000 Received: from localhost ([127.0.0.1]:57637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNRIb-0007k0-7z for submit@debbugs.gnu.org; Tue, 29 Sep 2020 21:52:53 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNRIZ-0007jg-Dm for control@debbugs.gnu.org; Tue, 29 Sep 2020 21:52:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/7SeyZGXbWtXiqy79j3n9Y6YSYMkFA0ShZssDISVFEc=; b=YCB0T/fvogD0p48kM4Liabl5xw Lar2dvXpJ9p2HV9J5UCxxGufLfWMO4pZmtFrcorh2usajBTNA8raZ4WvgXJuR55Fwg6W9JArKYnWw Yu0ipPw18UUslDOY+3mHT6JDyCa+aG5qQ9CiiWKMoIZcIVudRyUS5LEdQg6UJwAPaSMw=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kNRIR-00055C-Mr for control@debbugs.gnu.org; Wed, 30 Sep 2020 03:52:45 +0200 Date: Wed, 30 Sep 2020 03:52:42 +0200 Message-Id: <874kng9gk5.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #43713 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 43713 fixed close 43713 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 43713 fixed close 43713 28.1 quit