From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#74367: [PATCH] c-ts-mode.el: Adjust doc about how to change default modes Date: Fri, 15 Nov 2024 13:15:38 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14359"; mail-complaints-to="usenet@ciao.gmane.io" To: Stefan Monnier , 74367@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 15 22:17:23 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tC3gx-0003bb-2W for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Nov 2024 22:17:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tC3gf-0003Jh-Mr; Fri, 15 Nov 2024 16:17:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tC3gd-0003JN-Rk for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2024 16:17:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tC3gd-0006fx-J5 for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2024 16:17:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:MIME-Version:References:In-Reply-To:From:To:Subject; bh=VEjGTo0hVDxvEFDmLyQNGQteGoEsLocMRiOrTdxilTk=; b=CwGuBpcraz/ZiTxAmpSip5DQka2otQzGg7ybB/slytfUEeeRCN3quum/ZLyJ3mdZbnHfBeftdPVkvpcSVoHEbSV7dCGVy9Gowi8navbAOU9N1gf8exahtUYR8JIOxNHiAgfmcR+AavF5TVqcWUfL6FrV+LpcxivM8/IbwrdGtqsGKLWO54UyrwjUM7EfoWab2SJ0JKPQzvlmVMlKLegFvCzBzcNbrog+M/76DveSXEhSu4vTZkQZAjcCOX9mWoqBhQp7ImOezPxMd7pcdUp/iPzJ6wmF61PHyHFFo7egx2TEvPFCJopCLcnJ3u3GMp+NqzT6KW6YbSP1VkOWlyWCSA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tC3gc-0000Vd-DM for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2024 16:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Nov 2024 21:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74367 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74367-submit@debbugs.gnu.org id=B74367.17317054031920 (code B ref 74367); Fri, 15 Nov 2024 21:17:02 +0000 Original-Received: (at 74367) by debbugs.gnu.org; 15 Nov 2024 21:16:43 +0000 Original-Received: from localhost ([127.0.0.1]:51109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tC3gJ-0000Uu-2p for submit@debbugs.gnu.org; Fri, 15 Nov 2024 16:16:43 -0500 Original-Received: from mail-ed1-f49.google.com ([209.85.208.49]:42344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tC3gG-0000Ul-E4 for 74367@debbugs.gnu.org; Fri, 15 Nov 2024 16:16:41 -0500 Original-Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-5cfa581e6aeso10874a12.1 for <74367@debbugs.gnu.org>; Fri, 15 Nov 2024 13:16:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731705340; x=1732310140; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :from:to:cc:subject:date:message-id:reply-to; bh=VEjGTo0hVDxvEFDmLyQNGQteGoEsLocMRiOrTdxilTk=; b=J8qhKETuP+sXSadZgBACboTMt6PF7vPDutko9zRA6dd8FlAFs/gBj5pH77mXWOTCT+ 9V24Vl9JDxQDGOaigzhTePuQI87aEhdonCWE7PLzJH9di+mctub2v3sgL9Ru3DSZYNzb TxcJ58//eYEuVM2xJRbeybplMzBM5MrSEP+glAJCylJAnctcgKEmAs6ZLYnMJqOenv1k +qO7G/ybb5oJ2z0M5jbWpDfYCneTWwMW8pjVwY6FvmHhh8DWBm6u3WMFsw0TMypCL6bQ vZNVl1gQ4aUxlFalhLIiegN1/TTu7CoPpz1td8zrMeQ+bSAnb3G+cl3jHPlHXi7tbEQI 2IHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731705340; x=1732310140; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VEjGTo0hVDxvEFDmLyQNGQteGoEsLocMRiOrTdxilTk=; b=vHjwCFFx0KXa7v/lyysigBiLJXggdacjnq+TdEObwKaej5BcpXWJUn1CVT877ihBsW HiiSgSFh7/fMm8G+qBiGUJWwnDCR5k8m8Zfh4lUfGW6vsT0wnwRlkMI6g9BV3F76rWPp MmFxGO1Xf5B6UdVKCLMkYDXecHVva2dxfQ17QDluH6j9WoEJrxSSsZ8n4hF6qRnMoqOU KjGVMo3w/a2xvOjkJrMp9A+CnC3mkWOLJyr59idRIQZpdpixkKPDMTfxRmUm6+gQ99m5 uAKWAb67OWhGvC/K44o1UcHRpmSxxqRgc9ZYPXjH2DlT0jNzuzr+jarkrabdhSRdhOn1 gdzA== X-Forwarded-Encrypted: i=1; AJvYcCXu8rXRGacl4LvLfJtGSLdEipL2ZENktqohTSekIQxzgKztz+wwtXHEMVmwk00qv0Uut4Mw6A==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yw8x4MRJRApRg/6M32T+AwSftxHvX6n7sQ+CLDrvS3kkv8RdQFR kY6MEyG6vT49v7dcpV248c/9KG53rzL8ztI0tQJOCsGnouPukUCuUrqzb+v+W2evdWBasywLHHX PVUiqDr2wga6m3Nz2WFnvt4XVArg= X-Google-Smtp-Source: AGHT+IFYdjzM4FGHkR6oDTMOSQtDRuysKgYp8DA9gRuxs5/K0IjVmmJxDw2dQqXF4Y1iN4pk4WyfXtWWFkcb7O2m17E= X-Received: by 2002:a05:6402:34d4:b0:5cf:767d:c442 with SMTP id 4fb4d7f45d1cf-5cf8e007e29mr3650440a12.13.1731705339467; Fri, 15 Nov 2024 13:15:39 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 15 Nov 2024 13:15:38 -0800 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295423 Archived-At: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > Tags: patch > > The doc of `c-ts-mode.el` currently recommends things we deprecate. > The patch below fixes this. > > I think this can go into `emacs-30`, but I believe Eli prefers we leave > this alone there, so I guess it would go to `master`. If we can install > at least part of it into `emacs-30` (such as the removal of the > recommendation to `require` or the suggestion to use the obsolete > `c-or-c++-ts-mode`), I'll happily split it. FWIW, I agree that we should at least remove the recommendation to use `require` on emacs-30, as it encourages bad habits and contributes to an already poor understanding of autoloading among users.