From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Modes in generic-x.el (was: Is it better to add treesitter modes to core?) Date: Wed, 10 Jan 2024 15:50:13 +0200 Message-ID: <831qapnvqi.fsf@gnu.org> References: <87a5phiap4.fsf@posteo.net> <7919cda7-a09e-498c-87e7-6a1733b0eeed@gutov.dev> <83zfxenv4g.fsf@gnu.org> <6d5f5fdc-2438-4de0-bc51-8f2cc4c0ca8d@gutov.dev> <99bd9988-5f36-41d3-a82e-7677dab7fe5b@gutov.dev> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="961"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Peter Oliver Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 10 14:51:05 2024 Return-path: Envelope-to: ged-emacs-devel@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 1rNYz3-000059-Lp for ged-emacs-devel@m.gmane-mx.org; Wed, 10 Jan 2024 14:51:05 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNYyW-0000pb-Ue; Wed, 10 Jan 2024 08:50:32 -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 1rNYyV-0000pO-7v for emacs-devel@gnu.org; Wed, 10 Jan 2024 08:50:31 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rNYyU-0005VO-Pn; Wed, 10 Jan 2024 08:50:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=drBbXX7AFQhAMhjlOwnDXteqPwFcrEfyGw1o3pyureU=; b=IV5SuHcCX0dA 3AYx2eESm9tjRac/ELDW8coLxawO69uHmGzMLx4F/5Ls3Cdriu8NwVAZqbO1rXjbVv+xcOwzr9vYF cVD3vWw5ImGLsZLLN78aIsvJxI3dnVQPCsvhLaXq+SQUCS8/6VRXRqv7YHI9O1L5CBUEd4P482QF8 7vCon7DBgAo36wKSKj+RPC6gJy1T68jKozX6TxMChVG/tvk0veQP2ZKk0TSHbuz+mzfT1bNNUUrNW gdxWUTiaOnERVYXOzhWoUXIaB2l9ujfdcYaj3hDul0HmMLJ5eXP5xRRO4+eAK9H8BTEAmAwTMlkZ4 79wjIjHHqnj5X+lh/L/SDw==; In-Reply-To: (message from Peter Oliver on Wed, 10 Jan 2024 12:35:27 +0000 (GMT)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:314815 Archived-At: > Date: Wed, 10 Jan 2024 12:35:27 +0000 (GMT) > From: Peter Oliver > > On Wed, 10 Jan 2024, Stefan Kangas wrote: > > > Dmitry Gutov writes: > > > >> etc-fstab-generic-mode starts to get used if I (require 'generic-x), > >> however. > > > > IIUC, that's the expected behaviour. > > Could/should we autoload the modes in generic-x.el? No, we shouldn't. generic-x comes with a lot of modes, and setting up the ones you want activated requires manual tinkering. If we think some mode from there is very useful, we should move it out to a separate file, and then we can autoload it (assuming moving modes from generic-x is easy).