From unknown Wed Jun 18 00:26:05 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#57450 <57450@debbugs.gnu.org> To: bug#57450 <57450@debbugs.gnu.org> Subject: Status: [PATCH] Option to choose the major model new scratch buffers Reply-To: bug#57450 <57450@debbugs.gnu.org> Date: Wed, 18 Jun 2025 07:26:05 +0000 retitle 57450 [PATCH] Option to choose the major model new scratch buffers reassign 57450 emacs submitter 57450 Augusto Stoffel severity 57450 normal tag 57450 wontfix patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 27 09:01:41 2022 Received: (at submit) by debbugs.gnu.org; 27 Aug 2022 13:01:41 +0000 Received: from localhost ([127.0.0.1]:55385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRvRU-00072r-Um for submit@debbugs.gnu.org; Sat, 27 Aug 2022 09:01:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:45398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRvRQ-00072h-C5 for submit@debbugs.gnu.org; Sat, 27 Aug 2022 09:01:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRvRQ-0001FI-7j for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 09:01:36 -0400 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]:34716) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRvRO-0007My-Hq for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 09:01:35 -0400 Received: by mail-ej1-x62e.google.com with SMTP id y3so7655704ejc.1 for ; Sat, 27 Aug 2022 06:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc; bh=KD0cJA7UqYMN0soTwHxCwUTHdglOyGVsiGcR71ivo6o=; b=Gvc2GhDvmaEzB+n+w5l5LPtzrwwEzjKl1KOovUBk2p9tV2x2OubPqDrmtOlYpKJC+O 2lO9tKfJoteM2N9Q+vKVckOoE4Daq6fvSUJmDdlJf/EqQ+cN1QMAZirbzc8t7y39fn43 VdAqJZ9O9I3a+CyGZRCAjgjW6RZTsoDgmyYBmOwagemdK9MtLSqBJCyANhxuZIeaI4up iT240PzSOfyZuE5Y0JlOFCC/R9V5z49+S5i8h8D/gkSkq7mQmA4z9ET96Z8zKBdHJO4J 9GL1zgjAfRVf+ugYlXytPxthYON1c/MwWZKK2f5OPE4SsQ16fBfdKvpnD8IHDk17gsKA GTrA== 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:subject:to:from :x-gm-message-state:from:to:cc; bh=KD0cJA7UqYMN0soTwHxCwUTHdglOyGVsiGcR71ivo6o=; b=LnnPJixFFF4d40ccPqtkoi/AClwuASvQJgcgTMEoCLkyaG73EyI5FHngXGK8DoRX+3 9j4gOwY6jlwWcqcf0EpO9m9Pt9kM52cQ3a3BrEiohB42hy3eu8JgQyVIpInqxxpYvmK5 1sK3fSVgJwhLEytHynzPeTk+7bONJYMRSEss2UHkw7zAgtfcSBxs5K6IDBjET0z4teot 6TFMRSOqr6TAsL4kxnl3OmuBajJKG26D3aWyar8cHDCIPYCEvXvxwWFAde1wgsRV3wLe Na+Gd2VzdDFsioPkhUtIIjemFgEgAOof73RVkK37VzLPzQi1tynaLEzAYYnJgVkpbRyA ydzA== X-Gm-Message-State: ACgBeo0t1mPckKNFYZTxiWiASULrlyyG3lJ6Lt9Ks4Mr+YYZY7UGlMfC MdfqfzfBxsCpRQgPettGG6O1heOm750= X-Google-Smtp-Source: AA6agR5pMt/uoZYTMy3RPuvAGQD7j/iFyKzlA81i0T+BssbInl77+jkJkqcOa3qJgD6XK/DRW46TUw== X-Received: by 2002:a17:907:6d1d:b0:741:5b1b:5c9a with SMTP id sa29-20020a1709076d1d00b007415b1b5c9amr528433ejc.642.1661605292325; Sat, 27 Aug 2022 06:01:32 -0700 (PDT) Received: from ars3 ([2a02:8109:8ac0:56d0::157b]) by smtp.gmail.com with ESMTPSA id ky12-20020a170907778c00b0073d5a8a2bfcsm2074970ejc.221.2022.08.27.06.01.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Aug 2022 06:01:31 -0700 (PDT) From: Augusto Stoffel To: bug-gnu-emacs@gnu.org Subject: [PATCH] Option to choose the major model new scratch buffers Date: Sat, 27 Aug 2022 15:01:28 +0200 Message-ID: <87ilmdc02f.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::62e; envelope-from=arstoffel@gmail.com; helo=mail-ej1-x62e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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 (--) --=-=-= Content-Type: text/plain Tags: patch I just noticed the new `scratch-buffer' command and I think it would be nice to provide an option to create scratch buffers with different major modes. WDYT? What is the best way to get a list of all available major modes? I can think of two methods, none of which is perfect. One is commented out in the patch; I like the uncommented one (using the auto-mode-alist) a bit better. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Provide-option-to-choose-a-major-mode-in-scratch-buf.patch >From c710c8d65d62292e22282da90fa471c16b1d3cb6 Mon Sep 17 00:00:00 2001 From: Augusto Stoffel Date: Sat, 27 Aug 2022 09:50:17 +0200 Subject: [PATCH] Provide option to choose a major mode in 'scratch-buffer' * lisp/simple.e (get-scratch-buffer-create, scratch-buffer): New optional MODE argument. --- lisp/simple.el | 61 ++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 44 insertions(+), 17 deletions(-) diff --git a/lisp/simple.el b/lisp/simple.el index 460aff8bd8..bc9c71dee9 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -10650,24 +10650,51 @@ capitalize-dwim (fn CL-X)") -(defun get-scratch-buffer-create () - "Return the *scratch* buffer, creating a new one if needed." - (or (get-buffer "*scratch*") - (let ((scratch (get-buffer-create "*scratch*"))) - ;; Don't touch the buffer contents or mode unless we know that - ;; we just created it. - (with-current-buffer scratch - (when initial-scratch-message - (insert (substitute-command-keys initial-scratch-message)) - (set-buffer-modified-p nil)) - (funcall initial-major-mode)) - scratch))) - -(defun scratch-buffer () +(defun get-scratch-buffer-create (&optional mode) + "Return a scratch buffer for MODE, creating a new one if needed. +If MODE is nil, use `initial-major-mode' and insert +`initial-scratch-message'." + (let ((name (if mode + (format "*scratch-%s*" + (string-trim-right (symbol-name mode) "-mode")) + "*scratch*"))) + (or (get-buffer name) + (let ((scratch (get-buffer-create name))) + ;; Don't touch the buffer contents or mode unless we know that + ;; we just created it. + (with-current-buffer scratch + (when (and (not mode) initial-scratch-message) + (insert (substitute-command-keys initial-scratch-message)) + (set-buffer-modified-p nil)) + (funcall (or mode initial-major-mode))) + scratch)))) + +(defun scratch-buffer (&optional mode) "Switch to the *scratch* buffer. -If the buffer doesn't exist, create it first." - (interactive) - (pop-to-buffer-same-window (get-scratch-buffer-create))) +If the buffer doesn't exist, create it first. +With a prefix argument, select a major mode for the scratch buffer." + (interactive + (list (when current-prefix-arg + (intern + (completing-read "Scratch buffer mode: " + (delete-dups + (delq nil + (mapcar (pcase-lambda (`(_ . ,it)) + (and (symbolp it) + (commandp it) + it)) + auto-mode-alist)))))))) + ;; (completing-read "Scratch buffer mode: " + ;; obarray + ;; (lambda (sym) + ;; (and (commandp sym) + ;; (if (autoloadp (symbol-function sym)) + ;; (string-suffix-p "-mode" + ;; (symbol-name sym)) + ;; (memq 'derived-mode-parent + ;; (symbol-plist sym))))) + ;; t))))) + (pop-to-buffer-same-window (get-scratch-buffer-create mode))) (defun kill-buffer--possibly-save (buffer) (let ((response -- 2.37.2 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 27 09:06:42 2022 Received: (at 57450) by debbugs.gnu.org; 27 Aug 2022 13:06:42 +0000 Received: from localhost ([127.0.0.1]:55402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRvWM-0007Aa-1f for submit@debbugs.gnu.org; Sat, 27 Aug 2022 09:06:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRvWK-0007AO-ME for 57450@debbugs.gnu.org; Sat, 27 Aug 2022 09:06:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52608) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRvWF-0008L9-86; Sat, 27 Aug 2022 09:06:35 -0400 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=ansQkbvOleYartHSXDMgylrg/sZp9K4wQLLG6v0nk+E=; b=P4Kxh3VWgGvz 6pY2RCTsoDpeEnRgExTc+OjPk0oVzShTGxTK7MkeupkMjMvzDXZs7NA71l6COF2xy9Gx6plx3KUHM 7XkTPQCq3EPTxiNJOhD3m2ktMb4ihy2kBlWIRSAdjlaJKax9rmzuqCTDwDDgbdEqdXuQRM9bL5YWJ AJRCPmrVeib+WSk5xp5bGikzBw2q8a8KrcI59EkYTwsdSya0dgEJyuWisEKXLr2OD8cUm/HYS2aUJ k1+DhTAew6UAgIK89PtXffAYe4jqOJSrU4FEpSYumYitB9DMTM4Rgy6RQUAK42qaqgDZKhUeOgW00 MvrlYYRJ/TPID03RBFHcBw==; Received: from [87.69.77.57] (port=1885 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRvWE-0004xj-Cz; Sat, 27 Aug 2022 09:06:34 -0400 Date: Sat, 27 Aug 2022 16:06:50 +0300 Message-Id: <83mtbpzvh1.fsf@gnu.org> From: Eli Zaretskii To: Augusto Stoffel In-Reply-To: <87ilmdc02f.fsf@gmail.com> (message from Augusto Stoffel on Sat, 27 Aug 2022 15:01:28 +0200) Subject: Re: bug#57450: [PATCH] Option to choose the major model new scratch buffers References: <87ilmdc02f.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57450 Cc: 57450@debbugs.gnu.org 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: -3.3 (---) > From: Augusto Stoffel > Date: Sat, 27 Aug 2022 15:01:28 +0200 > > I just noticed the new `scratch-buffer' command and I think it would be > nice to provide an option to create scratch buffers with different major > modes. WDYT? What's wrong with setting initial-major-mode? From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 27 09:13:05 2022 Received: (at 57450) by debbugs.gnu.org; 27 Aug 2022 13:13:05 +0000 Received: from localhost ([127.0.0.1]:55429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRvcX-0007LF-87 for submit@debbugs.gnu.org; Sat, 27 Aug 2022 09:13:05 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRvcU-0007Kk-6a for 57450@debbugs.gnu.org; Sat, 27 Aug 2022 09:13:03 -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:Date:References: In-Reply-To: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=9ghymYEXIiEOK1rTm+l5gqssWhtmmWirmI+jpH0MMMI=; b=UxM1PVosKzprVv2lmsv7aBgT/m TxaDCzAMjcowIMornjL6h3CSBddPUHsp6Wg2cHytMs/zYnxQEiNYd3O6aXtMEJg1nR1N2W/LGxsrS 8qHOZ//GgVc0+oMCjPDZNijB8Ns9MEDrADF9NknFpxpA1A7340cnIalINYmL9+oaX5BU=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oRvcL-0002vE-IV; Sat, 27 Aug 2022 15:12:55 +0200 From: Lars Ingebrigtsen To: Augusto Stoffel Subject: Re: bug#57450: [PATCH] Option to choose the major model new scratch buffers In-Reply-To: <87ilmdc02f.fsf@gmail.com> (Augusto Stoffel's message of "Sat, 27 Aug 2022 15:01:28 +0200") References: <87ilmdc02f.fsf@gmail.com> X-Now-Playing: Stereolab's _Switched On Vol. 4: Electrically Possessed (1)_: "Noumus Et Phusis" Date: Sat, 27 Aug 2022 15:12:53 +0200 Message-ID: <87edx1akyy.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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: Augusto Stoffel writes: > I just noticed the new `scratch-buffer' command and I think it would be > nice to provide an option to create scratch buffers with different major > modes. WDYT? 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: -2.3 (--) X-Debbugs-Envelope-To: 57450 Cc: 57450@debbugs.gnu.org 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: -3.3 (---) Augusto Stoffel writes: > I just noticed the new `scratch-buffer' command and I think it would be > nice to provide an option to create scratch buffers with different major > modes. WDYT? I don't think that sounds very useful. The point of the scratch-buffer command is to help people who wondered what to do if they've (accidentally) killed the *scratch* buffer. Most people didn't know that you could just say `C-x b *scratch* RET' and it'd be created (with the correct mode) just fine, so having something on `M-x scratch TAB' for them to find is nice. But complicating this by (optionally) prompting for a mode isn't helpful. They can just say `M-x foo-mode' afterwards, and it's the same amount of key strokes, I think. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 27 09:36:17 2022 Received: (at 57450) by debbugs.gnu.org; 27 Aug 2022 13:36:17 +0000 Received: from localhost ([127.0.0.1]:55480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRvyy-0007w1-Ll for submit@debbugs.gnu.org; Sat, 27 Aug 2022 09:36:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRvyx-0007vm-8j for 57450@debbugs.gnu.org; Sat, 27 Aug 2022 09:36:15 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34472) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRvyr-0004R1-Vd; Sat, 27 Aug 2022 09:36:09 -0400 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=yChj7IiKCp2ad9RPrzPDGRs3azkOg4czI6n4JUHUPdo=; b=ntf1tXG5OYKu OtxwPhyI5CfOi4hkew9w2bvLXxtYYyC+F8UufHh49dN3o4hoTTIgW0eWIyrIME9Gxvebky8yB1/tS UoMJsirJjm925sI69jr7wIpbmmRe7/9Qfon+THmxOTIc/DHW07DAYiVLkJ01YdXJmzFPh/SIrJoor E1wlmNb47fuQw2kdvIjjsYn1vOknIZ47j8nGUHsduUOVGuaJo4bFFhL+0Y+2sobocHcIBkVIWo+oI MLdxcCj3fE1+idM3sQEWN/AvHJYMuxKmbKXOysuYSCNUV1mLav8ZcZtqRSL8o8QCXHVyZr60Y67jR tDqvMhG2U6wH61LizQ5YCg==; Received: from [87.69.77.57] (port=3683 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRvyr-0003av-E2; Sat, 27 Aug 2022 09:36:09 -0400 Date: Sat, 27 Aug 2022 16:36:24 +0300 Message-Id: <83ler9zu3r.fsf@gnu.org> From: Eli Zaretskii To: Augusto Stoffel In-Reply-To: (message from Augusto Stoffel on Sat, 27 Aug 2022 15:16:15 +0200) Subject: Re: bug#57450: [PATCH] Option to choose the major model new scratch buffers References: <87ilmdc02f.fsf@gmail.com> <83mtbpzvh1.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57450 Cc: 57450@debbugs.gnu.org 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: -3.3 (---) > From: Augusto Stoffel > Date: Sat, 27 Aug 2022 15:16:15 +0200 > > What if you want to do some quick thing in a mode different from initial-major-mode? > > I sometimes what a text-mode scratch, sometimes a lisp-interaction scratch, and more rarely some other > prog-mode. You can either set initial-major-mode, or invoke the different major-mode explicitly. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 29 11:26:05 2022 Received: (at 57450) by debbugs.gnu.org; 29 Aug 2022 15:26:05 +0000 Received: from localhost ([127.0.0.1]:33469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSgeL-0003en-5o for submit@debbugs.gnu.org; Mon, 29 Aug 2022 11:26:05 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSgeJ-0003eI-OM for 57450@debbugs.gnu.org; Mon, 29 Aug 2022 11:26:04 -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:Date:References: In-Reply-To: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=pYst3O5/ko0XLILZUCR08UQTpNzatJ2EZTzfzLX/yic=; b=hrSh++WZz8ws64aZQ8LxFrPKpS +L/4jsF51Dj4OB7S0xXkM6ifLEA6/ksgry7lWEMF0ZnPgN/GjwAHzRy+qSvBsqA6ytAbYcSux6Mmr yTfGH1GqVnvD4dDgICshApRHL26nptrsD3CEU5R+0Y5P6m/k3pD+wmT/QDmsrN3GHiY8=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oSgeB-0007TB-KL; Mon, 29 Aug 2022 17:25:57 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#57450: [PATCH] Option to choose the major model new scratch buffers In-Reply-To: <83ler9zu3r.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Aug 2022 16:36:24 +0300") References: <87ilmdc02f.fsf@gmail.com> <83mtbpzvh1.fsf@gnu.org> <83ler9zu3r.fsf@gnu.org> X-Now-Playing: Girls's _Reunion_: "Down Syndrome" Date: Mon, 29 Aug 2022 17:25:55 +0200 Message-ID: <87y1v7m5q4.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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: Eli Zaretskii writes: > You can either set initial-major-mode, or invoke the different > major-mode explicitly. So I think the conclusion here is that we don't want to add this, so I'm closing this bug report. 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: -2.3 (--) X-Debbugs-Envelope-To: 57450 Cc: 57450@debbugs.gnu.org, Augusto Stoffel 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: -3.3 (---) Eli Zaretskii writes: > You can either set initial-major-mode, or invoke the different > major-mode explicitly. So I think the conclusion here is that we don't want to add this, so I'm closing this bug report. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 29 11:26:10 2022 Received: (at control) by debbugs.gnu.org; 29 Aug 2022 15:26:10 +0000 Received: from localhost ([127.0.0.1]:33472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSgeQ-0003f6-Eh for submit@debbugs.gnu.org; Mon, 29 Aug 2022 11:26:10 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSgeP-0003ee-0i for control@debbugs.gnu.org; Mon, 29 Aug 2022 11:26:09 -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=UUSSSe6LzV4sm2GtFQfkwG3WmY6fbIqDeSO7mFoLLV0=; b=pU4gkgYAApKkLz77Xy/D9/2jO7 XM5XeZcYwZ/v6FUOQqsk7tuN5PSLxfULd7MGU5uYc3IHfgTWRwVYMpEDixTKGQYttVg2gw0nCTkSn Go1wEuKDArTTG0ylIV3cUEDevpfL3WnoA88ImuL7szrMGIqfofRLErisMw1Qbn6MGl8o=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oSgeH-0007TK-8z for control@debbugs.gnu.org; Mon, 29 Aug 2022 17:26:03 +0200 Date: Mon, 29 Aug 2022 17:26:00 +0200 Message-Id: <87wnarm5pz.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #57450 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 57450 wontfix close 57450 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: -2.3 (--) 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: -3.3 (---) tags 57450 wontfix close 57450 quit From unknown Wed Jun 18 00:26:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 27 Sep 2022 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator