From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.help Subject: Re: Size of startup files Date: Tue, 22 Nov 2022 12:32:00 +0530 Message-ID: <87wn7niiaf.fsf@codeisgreat.org> References: <875yf9xvja.phibqa@vnoxvs.kbxpyjyhg.info> <8735abj43k.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37041"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 22 08:02:57 2022 Return-path: Envelope-to: geh-help-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 1oxNJ3-0009TO-7h for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 22 Nov 2022 08:02:57 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxNIW-0001mx-6s; Tue, 22 Nov 2022 02:02:26 -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 1oxNIH-0001lI-6i for help-gnu-emacs@gnu.org; Tue, 22 Nov 2022 02:02:12 -0500 Original-Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oxNIE-0004n6-0l for help-gnu-emacs@gnu.org; Tue, 22 Nov 2022 02:02:07 -0500 Original-Received: by mail-pl1-x62a.google.com with SMTP id d20so12746895plr.10 for ; Mon, 21 Nov 2022 23:02:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeisgreat-org.20210112.gappssmtp.com; s=20210112; h=mime-version:user-agent:message-id:date:mail-followup-to:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=nSOcC1oPah9UPO5nnLkI7/w7LtiNLjf+JSTaBMl1qoE=; b=2AMG83uZmIB+C7y5dbzUMn0H6kk3DGaMHy9cb3jQ0Iesl58cly3QuNvKxUVzVGSqfd nYde/sKdZTdLspCl4wpGgBlgt4fJVFqEl9OnVXbHswac/4bvOp/YU1OzceQ76ZsJLd81 JjOdGrC+qUKgd6ct7Obp1WjPyAygZshGeblXDnjhLSSF7oZQ3c9qxpKifNFYKTOAE2NH Hg6WHvQ770QRQZG8JHGAqWCyqUJ8Q7QwjaYAYGt/ulcxEoX2I/PVAVeMuQL/W2Y+hk5H vNC2Je8dYFkM0nJ5DBEm+VXEqWa9wf6WzZXQOkoH+7o53UtN6SwVVjplvC5j59MokOY7 OkpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:mail-followup-to:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=nSOcC1oPah9UPO5nnLkI7/w7LtiNLjf+JSTaBMl1qoE=; b=rCnEhx1ezsLpT9zc/wFUxL3hrPSx+faVXrarjpg4ndKM8YhAR9nske4X7YlcYsINsR bFTpgo40Twwb6uYHc8TzTvZc888XukcJde8XAERdLF9v3a2O68sNFWDH5AUvg9M0RFFp yMrVLWwxxzHWzcWjleq1/jUmiDZrxgogtJI1oYMPj/n0WhNGHbzUMRaZdXhLjB1BC2jf +E+c3rQtSK2FsKNYQjk2XcY2aOm7TPu5P8saY28hVxEwmkz0tnCBNJowtHEWiyiCl7ld bHFKEDZ9HOIUY+jMRHC6obxSmWQrJTjlGptfmXtrhuMzDkG0MtWqbOTUe2U/DnXYBAGb xhfQ== X-Gm-Message-State: ANoB5pnMNvh3Dj0vy6nhVq93uloFK0sQFT5zFYPORnHVpUz2DK5aV//7 lX9pp674TmPJwC7nvMFboJMUGjYM2AJgRw== X-Google-Smtp-Source: AA0mqf66d8ezcGsoRljC0nv9aYN+jR3lepmAjSKgOUL8p+B5yOcmHlobTyJXrKhb3Q+ZW1bs2dCk8A== X-Received: by 2002:a17:90a:bd11:b0:206:64cd:4797 with SMTP id y17-20020a17090abd1100b0020664cd4797mr24247222pjr.103.1669100523844; Mon, 21 Nov 2022 23:02:03 -0800 (PST) Original-Received: from anant ([49.36.236.45]) by smtp.gmail.com with ESMTPSA id y15-20020aa79e0f000000b005672daedc8fsm9804552pfq.81.2022.11.21.23.02.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Nov 2022 23:02:03 -0800 (PST) In-Reply-To: <8735abj43k.fsf@dataswamp.org> (Emanuel Berg's message of "Tue, 22 Nov 2022 00:10:55 +0100") Mail-Followup-To: help-gnu-emacs@gnu.org Received-SPF: none client-ip=2607:f8b0:4864:20::62a; envelope-from=pankaj@codeisgreat.com; helo=mail-pl1-x62a.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:141100 Archived-At: Emanuel Berg writes: > Stefan Monnier via Users list for the GNU Emacs text editor wrote: > >>> I just took a quick look and found that my startup files >>> (called from .emacs and so on) amount to about 5,000 lines >>> of elisp. Of course I comment extensively but at least half >>> of this or more is actual code. >> >> My init file never reached that size: I think around the time it was >> inching its way toward 2k lines > > I have 9 317 lines in 165 files ... > I attempt to cleanup the init file very frequently... every quarter may be. And the total number of lines is <1k. Not many comments in my file. For example, 1. I removed code to install eglot, now that it is available as a builtin feature. 2. Earlier I wrote a function to toggle themes. Now it is builtin. And after use-package's inclusion, the file size will further reduce.