From unknown Sat Sep 13 23:57:08 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#55579 <55579@debbugs.gnu.org> To: bug#55579 <55579@debbugs.gnu.org> Subject: Status: 29.0.50; Abbrevs not saved on exit anymore Reply-To: bug#55579 <55579@debbugs.gnu.org> Date: Sun, 14 Sep 2025 06:57:08 +0000 retitle 55579 29.0.50; Abbrevs not saved on exit anymore reassign 55579 emacs submitter 55579 Juri Linkov severity 55579 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun May 22 13:12:49 2022 Received: (at submit) by debbugs.gnu.org; 22 May 2022 17:12:49 +0000 Received: from localhost ([127.0.0.1]:46250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsp8K-00027d-W1 for submit@debbugs.gnu.org; Sun, 22 May 2022 13:12:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:59596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsp8J-00027V-Ky for submit@debbugs.gnu.org; Sun, 22 May 2022 13:12:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsp8J-0006GH-Fr for bug-gnu-emacs@gnu.org; Sun, 22 May 2022 13:12:47 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:54725) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsp8G-0002tH-Si for bug-gnu-emacs@gnu.org; Sun, 22 May 2022 13:12:47 -0400 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 8AC14200003 for ; Sun, 22 May 2022 17:12:37 +0000 (UTC) From: Juri Linkov To: bug-gnu-emacs@gnu.org Subject: 29.0.50; Abbrevs not saved on exit anymore Organization: LINKOV.NET Date: Sun, 22 May 2022 20:10:43 +0300 Message-ID: <865ylxwqks.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.178.232; envelope-from=juri@linkov.net; helo=relay12.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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: -0.4 (/) 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: -1.4 (-) After a recent change, 'C-x C-c' doesn't ask anymore to save abbrevs with: Save abbrevs in ~/.emacs.d/abbrev_defs? It looks like the regression was caused by ce220524fcf. Before this change, save-buffers-kill-emacs unconditionally called save-some-buffers that also saves the abbrev table. But after the change, save-some-buffers that saves abbrevs is called only when files--buffers-needing-to-be-saved detects unsaved buffers. From debbugs-submit-bounces@debbugs.gnu.org Mon May 23 03:47:03 2022 Received: (at 55579) by debbugs.gnu.org; 23 May 2022 07:47:03 +0000 Received: from localhost ([127.0.0.1]:47178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nt2mM-0002PX-PS for submit@debbugs.gnu.org; Mon, 23 May 2022 03:47:02 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nt2mK-0002Oy-HJ for 55579@debbugs.gnu.org; Mon, 23 May 2022 03:47:01 -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=YklgszPZQT2PEFa80k//peRc3vKndAq/4XPQ5NhHrTU=; b=ZuUCs4+/4HWFJ3WlpXTWIRv/d7 XMYvDrtbb4wQ5zE83XuMiBaugzmd8VYYwRRgdpvkOnZxoSN47bVQFYUiP4/yI/e9VRQyrZhgHBvK6 sO+2EhZQSPpiI526lr6pVJz7WSEQfTdI/Gs8fUq+QQw1R/NMDnyRMOyVwk8Cd6HCGXvc=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nt2mB-0007tz-5n; Mon, 23 May 2022 09:46:53 +0200 From: Lars Ingebrigtsen To: Juri Linkov Subject: Re: bug#55579: 29.0.50; Abbrevs not saved on exit anymore References: <865ylxwqks.fsf@mail.linkov.net> X-Now-Playing: Cabaret Voltaire's _Shadow Of Fear_: "Papa Nine Zero Delta United" Date: Mon, 23 May 2022 09:46:48 +0200 In-Reply-To: <865ylxwqks.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 22 May 2022 20:10:43 +0300") Message-ID: <87pmk4r8rb.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: Juri Linkov writes: > After a recent change, 'C-x C-c' doesn't ask anymore to save abbrevs with: > > Save abbrevs in ~/.emacs.d/abbrev_defs? > > It looks like the regression was caused by ce220524fcf. > Before this chang [...] 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: 55579 Cc: 55579@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 (---) Juri Linkov writes: > After a recent change, 'C-x C-c' doesn't ask anymore to save abbrevs with: > > Save abbrevs in ~/.emacs.d/abbrev_defs? > > It looks like the regression was caused by ce220524fcf. > Before this change, save-buffers-kill-emacs unconditionally > called save-some-buffers that also saves the abbrev table. > But after the change, save-some-buffers that saves abbrevs > is called only when files--buffers-needing-to-be-saved > detects unsaved buffers. Wow -- I had no idea that save-some-buffers also randomly saved abbrevs. I've now separated that this out into a general mechanism that abbrev.el now hooks into, while also fixing this `C-x C-c' bug. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon May 23 03:47:16 2022 Received: (at control) by debbugs.gnu.org; 23 May 2022 07:47:16 +0000 Received: from localhost ([127.0.0.1]:47181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nt2ma-0002Pz-0v for submit@debbugs.gnu.org; Mon, 23 May 2022 03:47:16 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nt2mO-0002P5-LO for control@debbugs.gnu.org; Mon, 23 May 2022 03:47:14 -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=xuCFOsiANahgI606GzrjJHqiNOlzTmnHumUwj/+uHoc=; b=ZHUeZag+FCeGDh81xOQy5wHtrX YVul1f+3qUjbwBt+5jv6/FqALPOkGA2pNmzlSW5daEtUQOF0XO7Lnj+kIyphfxh5xQA0qVXB4cqG3 SNvqsBxo5vKSlJ3OlCMyFWul4C9jzOwq7PwpAXvBWORa9x2cufnPtOwQM6/nZWNIyOTw=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nt2mG-0007u6-MQ for control@debbugs.gnu.org; Mon, 23 May 2022 09:46:58 +0200 Date: Mon, 23 May 2022 09:46:56 +0200 Message-Id: <87o7zor8r3.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #55579 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: close 55579 29.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: -3.3 (---) close 55579 29.1 quit From debbugs-submit-bounces@debbugs.gnu.org Tue May 24 15:14:31 2022 Received: (at 55579) by debbugs.gnu.org; 24 May 2022 19:14:31 +0000 Received: from localhost ([127.0.0.1]:53440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntZzD-00054A-F6 for submit@debbugs.gnu.org; Tue, 24 May 2022 15:14:31 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:53225) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntZzB-00053v-Kc for 55579@debbugs.gnu.org; Tue, 24 May 2022 15:14:30 -0400 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 256A6100003 for <55579@debbugs.gnu.org>; Tue, 24 May 2022 19:14:21 +0000 (UTC) From: Juri Linkov To: 55579@debbugs.gnu.org Subject: Re: bug#55579: 29.0.50; Abbrevs not saved on exit anymore Organization: LINKOV.NET References: <865ylxwqks.fsf@mail.linkov.net> Date: Tue, 24 May 2022 21:42:58 +0300 In-Reply-To: <865ylxwqks.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 22 May 2022 20:10:43 +0300") Message-ID: <86fskzszr1.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 55579 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.7 (-) > Save abbrevs in ~/.emacs.d/abbrev_defs? BTW, I noticed that ~/.emacs.d/abbrev_defs is visited without font-locking. Here's the fix: diff --git a/lisp/abbrev.el b/lisp/abbrev.el index 3ee972869b..a3b19107f7 100644 --- a/lisp/abbrev.el +++ b/lisp/abbrev.el @@ -264,7 +264,7 @@ write-abbrev-file (when (unencodable-char-position (point-min) (point-max) 'utf-8) (setq coding-system-for-write 'utf-8-emacs)) (goto-char (point-min)) - (insert (format ";;-*-coding: %s;-*-\n" coding-system-for-write)) + (insert (format ";; -*- coding: %s; mode: lisp-data -*-\n" coding-system-for-write)) (write-region nil nil file nil (and (not verbose) 0))))) From debbugs-submit-bounces@debbugs.gnu.org Tue May 24 15:17:23 2022 Received: (at 55579) by debbugs.gnu.org; 24 May 2022 19:17:23 +0000 Received: from localhost ([127.0.0.1]:53449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nta1z-00059H-C5 for submit@debbugs.gnu.org; Tue, 24 May 2022 15:17:23 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nta1x-00058v-Gs for 55579@debbugs.gnu.org; Tue, 24 May 2022 15:17:22 -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=jOPmF0nvOiJtJXB8NBSN3fPnclFb4XYgIYRg9y5dZV4=; b=EQu7DznaTr8+SwhDp7Q4VXwMrJ upRQNGOxhiX+w2nVqh8xsSjViQWILpuiJAxzQ5HQQP6FMLNuLwxIuLFYDyLhSdUiZeDUZZiPNA/N3 dhRyXjuxLwnU9KNbN4cg0ltGl/KdMNbyvju7U4boIRWBQ2B2tkmiPsI7udaqVh4FhDJ4=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nta1o-0001Xj-Fc; Tue, 24 May 2022 21:17:14 +0200 From: Lars Ingebrigtsen To: Juri Linkov Subject: Re: bug#55579: 29.0.50; Abbrevs not saved on exit anymore References: <865ylxwqks.fsf@mail.linkov.net> <86fskzszr1.fsf@mail.linkov.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEW8iFuhakhNMCL/ //8VqXvHAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YFGBMFOvSfkuEAAAGuSURBVCjPJZKxbtswGISP huRBk2yIhuO5BZo+hRREnsmAJ0DaCoRB7KdogDSzHJgeNLUBHNh6yv5UFoGf7ngi/xNUmicAaBxu gDSuoY0rV4AIpUIqoIECSa5KOmcIRVU4VfMYgSW+M6EEJBr7YfQuYbAGGt14Hpky0ICoqt6TvmJV 1qgfgoClp6vBCF6TLCSNYSerOpAajsGL1gZDUWzYny15ls9H2PlrNzizCdOep8/9eDreitIInH6O wzprYrTYnj6757nYHk7e+91pGPZTAP2SV9Yd0RwCj/MQ6BpRRoEVQ8sgAfuxup/LFcgG6Wrs85V9 oWYrEC5utXht9aSEjZvxVadyUIGse7dH/S0VZRm27Ye93j6XDTA7bC8f9u3mR5zo3ct2OFVv2T8Z IpaHbcjer7OgIoSsLkyx/JPuZE+/0S5XWzkL5OqXos6xhm6B+fhXSnKP0EGay0W1dz3moiBPxZqJ xQmUcd+jWBzUBJXUqgyMilDGxgmX3H9ZxQcnL7AwEWUg6aGAnUCKpFnD/p7+GenHUdv+l+aiFCAX tl8gj6BjkpGHGL+gMjH5P3nWk6blh64mAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA1LTI0VDE5 OjA1OjU4KzAwOjAwm/eeUQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNS0yNFQxOTowNTo1OCsw MDowMOqqJu0AAAAASUVORK5CYII= X-Now-Playing: Thomas Dolby's _Astronauts & Heretics_: "Eastern Bloc (sequel to Europa And The Pirate Twins, 1981)" Date: Tue, 24 May 2022 21:17:11 +0200 In-Reply-To: <86fskzszr1.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 24 May 2022 21:42:58 +0300") Message-ID: <87sfoyg2q0.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: Juri Linkov writes: > BTW, I noticed that ~/.emacs.d/abbrev_defs > is visited without font-locking. Here's the fix: Makes sense to me. 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: 55579 Cc: 55579@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 (---) Juri Linkov writes: > BTW, I noticed that ~/.emacs.d/abbrev_defs > is visited without font-locking. Here's the fix: Makes sense to me. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue May 24 15:27:26 2022 Received: (at 55579) by debbugs.gnu.org; 24 May 2022 19:27:26 +0000 Received: from localhost ([127.0.0.1]:53467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntaBi-0005Ok-6j for submit@debbugs.gnu.org; Tue, 24 May 2022 15:27:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntaBf-0005OT-56 for 55579@debbugs.gnu.org; Tue, 24 May 2022 15:27:24 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44312) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntaBZ-0003V3-Qp; Tue, 24 May 2022 15:27:17 -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=lS7zson7bfDcVn1imERReZnQQ3IZpcBWS6Pso5uBnhw=; b=XMMQT2caotDu v3EUZ3DZpKzyqjpeBgtrvsvj2qdcSqeQq2AkEmcRD52j8NlzhFrSbYDI1hR1m2Em1EX2OetQF7wx3 wOCMPOf9oWbcJMtT7IK89Gb1vq3fcidr7Z9Rzx2Lpo4A2UL6w807vHGt/VV2XOo48tjuXIBQGiq8s 6B0lZ0JmCb1jvMw5voxPGGt9nxCrGd9EQHrtUUTDcsZbE8mhDsq2IwPAM7SvFdijZDHo6ntCBK2GI C9f/uZhMKW702ai6xy2Fo2DxpJZ9ru83F+J6+mAyh+RyJHA7Neo+H2J3NVbJk+K83i1S71sFSz0ye aHdIlR9a4PGs6mFMNxN76g==; Received: from [87.69.77.57] (port=3455 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 1ntaBW-0006K7-N8; Tue, 24 May 2022 15:27:15 -0400 Date: Tue, 24 May 2022 22:27:03 +0300 Message-Id: <83wnea4tq0.fsf@gnu.org> From: Eli Zaretskii To: Juri Linkov In-Reply-To: <86fskzszr1.fsf@mail.linkov.net> (message from Juri Linkov on Tue, 24 May 2022 21:42:58 +0300) Subject: Re: bug#55579: 29.0.50; Abbrevs not saved on exit anymore References: <865ylxwqks.fsf@mail.linkov.net> <86fskzszr1.fsf@mail.linkov.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55579 Cc: 55579@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: Juri Linkov > Date: Tue, 24 May 2022 21:42:58 +0300 > > > Save abbrevs in ~/.emacs.d/abbrev_defs? > > BTW, I noticed that ~/.emacs.d/abbrev_defs > is visited without font-locking. Here's the fix: Won't that make loading abbrevs slower and more expensive? that file is normally not edited interactively, only if the user explicitly wants to do so. So why is font-lock in it important? From debbugs-submit-bounces@debbugs.gnu.org Wed May 25 01:51:49 2022 Received: (at submit) by debbugs.gnu.org; 25 May 2022 05:51:49 +0000 Received: from localhost ([127.0.0.1]:54121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntjvw-0000ga-Ve for submit@debbugs.gnu.org; Wed, 25 May 2022 01:51:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:56848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntjvr-0000gP-Ge for submit@debbugs.gnu.org; Wed, 25 May 2022 01:51:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntjvi-00078n-CY for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 01:51:38 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:51535) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntjve-0006Ql-Pt for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 01:51:33 -0400 Received: from [192.168.178.54] ([89.247.171.242]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1My3AX-1ndKra1TlH-00zSwN for ; Wed, 25 May 2022 07:51:25 +0200 Content-Type: multipart/alternative; boundary="------------2Fn30qAG0Grl94j4S5DD4W8t" Message-ID: <1680dfe9-1297-b7b4-a22c-8de861c5a7d2@easy-emacs.de> Date: Wed, 25 May 2022 07:51:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: bug#55579: 29.0.50; Abbrevs not saved on exit anymore Content-Language: en-US To: bug-gnu-emacs@gnu.org References: <865ylxwqks.fsf@mail.linkov.net> <86fskzszr1.fsf@mail.linkov.net> <83wnea4tq0.fsf@gnu.org> From: =?UTF-8?Q?Andreas_R=c3=b6hler?= In-Reply-To: <83wnea4tq0.fsf@gnu.org> X-Provags-ID: V03:K1:hxocBqCC6bGAzPU1MY3hYQEXPuA+J+K+kk6YszxkIwzupHm+uyG w7SE1EsKz9KEt2WjNpDAyIsOp+nCjx1OP048odqKl6Z+H4hoPKm7jN/9vCDGfeRNsM/7vnG eigE1m6aapMhN+7Fy//d7QVZnWg4W/sFpyA2vDFZitnlVcaFQdl01ddXB7hVhIdY7ant4ie 8E0lWctkpootLCrk1V9qw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:XJKgH/ZV8EM=:hSwPedIG80zBWV4X1GdQwA vRKZWOYRvGhn1bH1hev6J7l/70E5I56iWO6hit1DF69LSJrMMxr85s+iwEeYQSHporXvqjQ6T QcWwuMqSbhqi+47KLi0pQjfQrjQgKlEtgPbr+WxuW/4bizqmh7/ByROjg5upAjzqBuJYD0sJf kW++eaDMLFXiNB3LKWYI91tOewhV4dwmEL8ikMNZQ1nl7V0TuqVXLIRayGrBjf7lD/zNC8cV1 fIqPjIVmxjW95w1szaJn7GAJfEjByVXFbZcBhh7BA+vMS6isMT4jGCNSWN+w5+Mz9B3fQGgt9 Nk1Yvjfj7KzTNqXTu4Iv/cuid3FI3hQnHaNLJprMduCdVYz4QSmnKPXcCiSEtqt8SCsStyVp6 ZisJh8qAaiEnBp6LwHdwX7vpaMvul4RG4CwcsC5xk1CB15dPUgPPnpWYB7HtcFQTNuZH2v1S0 abfeOEQSc9PLvADUOrX8SnxPCkAywLzAnMA4xx6LVTKfBBe7RxDqtjm6l/ZcOM0ibTPlu6x2r HY/fsfgzL98vNzfma4oPFIquXZMMNjQiRHVupIZCOFXTa9UQFEDx+2eRe7kxlyLWmLYo8+ceT bISjFXWtZyJrmEIXupR/TDrcAy60b5KkOlHap7bwAZV6IuWnHAV++0YYKaVJTZxgpki5+YfLb GcACBS6FgBtN+I36hNJUE/cSNHrOMUEJyaPf/s1N14TkXXlITW/WxgXXe7Xw1Nv8bhJvm2GAk Gd3TnbMXyvhNO8MaNT2GWD61fXhwrLHsLkhwl3vwfio4wCMMsL38RAuh+B8= Received-SPF: none client-ip=212.227.17.10; envelope-from=andreas.roehler@easy-emacs.de; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.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: -3.3 (---) This is a multi-part message in MIME format. --------------2Fn30qAG0Grl94j4S5DD4W8t Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit +1 Am 24.05.22 um 21:27 schrieb Eli Zaretskii: >> From: Juri Linkov >> Date: Tue, 24 May 2022 21:42:58 +0300 >> >>> Save abbrevs in ~/.emacs.d/abbrev_defs? >> BTW, I noticed that ~/.emacs.d/abbrev_defs >> is visited without font-locking. Here's the fix: > Won't that make loading abbrevs slower and more expensive? that file > is normally not edited interactively, only if the user explicitly > wants to do so. So why is font-lock in it important? > > > --------------2Fn30qAG0Grl94j4S5DD4W8t Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

+1

Am 24.05.22 um 21:27 schrieb Eli Zaretskii:
From: Juri Linkov <juri@linkov.net>
Date: Tue, 24 May 2022 21:42:58 +0300

Save abbrevs in ~/.emacs.d/abbrev_defs?
BTW, I noticed that ~/.emacs.d/abbrev_defs
is visited without font-locking.  Here's the fix:
Won't that make loading abbrevs slower and more expensive?  that file
is normally not edited interactively, only if the user explicitly
wants to do so.  So why is font-lock in it important?



--------------2Fn30qAG0Grl94j4S5DD4W8t-- From debbugs-submit-bounces@debbugs.gnu.org Wed May 25 02:44:02 2022 Received: (at 55579) by debbugs.gnu.org; 25 May 2022 06:44:02 +0000 Received: from localhost ([127.0.0.1]:54156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntkkT-0001yj-VR for submit@debbugs.gnu.org; Wed, 25 May 2022 02:44:02 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:48099) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntkkS-0001y8-Lh for 55579@debbugs.gnu.org; Wed, 25 May 2022 02:44:01 -0400 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 78467100008; Wed, 25 May 2022 06:43:52 +0000 (UTC) From: Juri Linkov To: Eli Zaretskii Subject: Re: bug#55579: 29.0.50; Abbrevs not saved on exit anymore Organization: LINKOV.NET References: <865ylxwqks.fsf@mail.linkov.net> <86fskzszr1.fsf@mail.linkov.net> <83wnea4tq0.fsf@gnu.org> Date: Wed, 25 May 2022 09:37:20 +0300 In-Reply-To: <83wnea4tq0.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 24 May 2022 22:27:03 +0300") Message-ID: <868rqqunxz.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 55579 Cc: 55579@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: -1.7 (-) >> > Save abbrevs in ~/.emacs.d/abbrev_defs? >> >> BTW, I noticed that ~/.emacs.d/abbrev_defs >> is visited without font-locking. Here's the fix: > > Won't that make loading abbrevs slower and more expensive? that file > is normally not edited interactively, only if the user explicitly > wants to do so. So why is font-lock in it important? This is part of recent efforts to add modes to .emacs.d files. So far we added the mode tag to ~/.emacs.d/bookmarks, ~/.emacs.d/tramp, ~/.emacs.d/.emacs.desktop, ~/.emacs.d/network-security.data, ~/.emacs.d/places, ~/.emacs.d/projects. But mode is still missing in ~/.emacs.d/abbrev_defs and ~/.emacs.d/recentf. From debbugs-submit-bounces@debbugs.gnu.org Wed May 25 08:10:45 2022 Received: (at 55579) by debbugs.gnu.org; 25 May 2022 12:10:45 +0000 Received: from localhost ([127.0.0.1]:54522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntpqf-0006VC-Bs for submit@debbugs.gnu.org; Wed, 25 May 2022 08:10:45 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntpqc-0006Uy-31 for 55579@debbugs.gnu.org; Wed, 25 May 2022 08:10:43 -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=8O8g5QQLbZOqvKPOCPiXx/GCy3tfBszAeXjRccKd12I=; b=lHNKffGBN6tXIE/4cySZuSV9lE tG/PnzUhnVoUAB4e0WNiI53yW1h7txIz7W1z6OSy/izWtu9Kqr1atBDA+w6GgKykpWNT6basi8v6f fHQFUpzEGGLaNfs4nhI2Pbpe2AfWd9LYDCLm46Bus8bshyjEAFDs+rVu09DlestLs918=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ntpqS-0001Bg-E8; Wed, 25 May 2022 14:10:34 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#55579: 29.0.50; Abbrevs not saved on exit anymore References: <865ylxwqks.fsf@mail.linkov.net> <86fskzszr1.fsf@mail.linkov.net> <83wnea4tq0.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUmIyBCPjvb2NWC fnxaVlP///8D7NzBAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YFEg0KAiIAWK4AAAFbSURBVDjLxZJh bsMwCIVBywHMxgmcHGCNfYBSc/8zDezUsdto2r9RVVX5DLxnAxhzbJFV1EOgBj5iB3QNkhIF6IEl 9hIhog50j2NJA8t9mYCXWLPl2z5AvdWabXIFd5YExKcq5bU2Kxl0ULXxTjZFAmQXxynWKatmQFcZ 6o+pKmmPJcUtnEobUH2sJHo7U82lTSs5IN/G0whkPenLhpGcWcKjK6uD45owcB/mALwCUcMyXKSp NxGWV9ZJGnFzi+S+wwQomD+XGF4qiOr1eQmegFmFWKjmazwtstm3b7DjXivHs1cgyAp2shY8RxgQ A/IEw3B/OlUwhqO/CiSpXwaeirGuWdE63J2EXqBtAQ8wjHBiPuq6jdbtv7Dt87SHHTmcL8rTbf11 zpOWtmwCr31Y057f0q0m5Yv8aPa3wKuMXB793OgC2NPtG73nP2J79Cls02DJfgF/kPbf8QN9MkfQ q5Pp+wAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0wNS0xOFQxMzoxMDowMiswMDowMJ4nNZUAAAAl dEVYdGRhdGU6bW9kaWZ5ADIwMjItMDUtMThUMTM6MTA6MDIrMDA6MDDveo0pAAAAAElFTkSuQmCC X-Now-Playing: Nils Petter =?utf-8?Q?Molv=C3=A6r's?= _Solid Ether_: "Ligotage" Date: Wed, 25 May 2022 14:10:31 +0200 In-Reply-To: <83wnea4tq0.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 24 May 2022 22:27:03 +0300") Message-ID: <87ilptert4.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: >> BTW, I noticed that ~/.emacs.d/abbrev_defs >> is visited without font-locking. Here's the fix: > > Won't that make loading abbrevs slower and more expensive? that file > is normally not edited inte [...] 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: 55579 Cc: 55579@debbugs.gnu.org, Juri Linkov 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: >> BTW, I noticed that ~/.emacs.d/abbrev_defs >> is visited without font-locking. Here's the fix: > > Won't that make loading abbrevs slower and more expensive? that file > is normally not edited interactively, only if the user explicitly > wants to do so. So why is font-lock in it important? `read-abbrev-file' just uses `load' on the file, so the mode cookie doesn't do anything non-interactively. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed May 25 09:22:03 2022 Received: (at 55579) by debbugs.gnu.org; 25 May 2022 13:22:03 +0000 Received: from localhost ([127.0.0.1]:54634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntqxc-0004Yt-8e for submit@debbugs.gnu.org; Wed, 25 May 2022 09:22:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntqxV-0004YW-KP for 55579@debbugs.gnu.org; Wed, 25 May 2022 09:21:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60940) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntqxP-0008G1-AN; Wed, 25 May 2022 09:21:47 -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=zX0WD9NNSXJIseVT/B0Nrii+hHcPWYKURa4klrjMLzg=; b=RrEv/fTEyJHY MUIiXGR+jvIgniLvuJvaa+QqD9znT4xa9/bIV3e5Zo043Wi/gvaM74WEJkSUrhLWsc/tGUm9WP+OD oalcSm1VgzhT9ziJi4Yuw6/X5R+9KHNi5smShtHidCQwoNMAZOWEaS3iS3kQnTH8gLFFcwT/K2ReW 0wG/Dw4X2uDU81nPWfziJMwv2+HR7dyXW6eu9aerupoVXLkB694NiVY4W6ZBvMzasw7kQ86IKOzTs Lwv8XfpKsvVBAPcm35tHaiUqPZp4FXW6ZYNzXFrA3gdHAnRUxG0qjXVeaAin2ejm1vtWGVQRZyNeC 2im6TZB97140curRxZW5aA==; Received: from [87.69.77.57] (port=1513 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 1ntqxM-00039m-Vs; Wed, 25 May 2022 09:21:47 -0400 Date: Wed, 25 May 2022 16:21:36 +0300 Message-Id: <83o7zl4ujj.fsf@gnu.org> From: Eli Zaretskii To: Juri Linkov In-Reply-To: <868rqqunxz.fsf@mail.linkov.net> (message from Juri Linkov on Wed, 25 May 2022 09:37:20 +0300) Subject: Re: bug#55579: 29.0.50; Abbrevs not saved on exit anymore References: <865ylxwqks.fsf@mail.linkov.net> <86fskzszr1.fsf@mail.linkov.net> <83wnea4tq0.fsf@gnu.org> <868rqqunxz.fsf@mail.linkov.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55579 Cc: 55579@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: Juri Linkov > Cc: 55579@debbugs.gnu.org > Date: Wed, 25 May 2022 09:37:20 +0300 > > >> > Save abbrevs in ~/.emacs.d/abbrev_defs? > >> > >> BTW, I noticed that ~/.emacs.d/abbrev_defs > >> is visited without font-locking. Here's the fix: > > > > Won't that make loading abbrevs slower and more expensive? that file > > is normally not edited interactively, only if the user explicitly > > wants to do so. So why is font-lock in it important? > > This is part of recent efforts to add modes to .emacs.d files. > So far we added the mode tag to ~/.emacs.d/bookmarks, ~/.emacs.d/tramp, > ~/.emacs.d/.emacs.desktop, ~/.emacs.d/network-security.data, > ~/.emacs.d/places, ~/.emacs.d/projects. But mode is still missing > in ~/.emacs.d/abbrev_defs and ~/.emacs.d/recentf. We don't need to do that for all of the files, only for files that are frequently (or always) visited or edited interactively by users. So I'm asking this question specifically for abbrev_defs, not for all the other files there: why do we need this, and how significant is the reason? From debbugs-submit-bounces@debbugs.gnu.org Wed May 25 09:54:58 2022 Received: (at 55579) by debbugs.gnu.org; 25 May 2022 13:54:58 +0000 Received: from localhost ([127.0.0.1]:54672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntrTV-0007gR-UC for submit@debbugs.gnu.org; Wed, 25 May 2022 09:54:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntrTU-0007gC-7f for 55579@debbugs.gnu.org; Wed, 25 May 2022 09:54:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33392) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntrTO-00056Z-Gq; Wed, 25 May 2022 09:54:50 -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=mwDN8XGqZ9qgKqTpj/kIU5SwpryTLoxslDaujDtXQuc=; b=aTI8GzKdsA8S +DK6g7y4KBua02Kx2GipiQ5c8vP04WUJMVBXygNMi6ttgTk+NrdEUHebYmEk72S35MCDUSRr7/Bki 1SuUOUc3eu3dl3VzsC4G9/ue/mh7H7UXbsVJ6cRmnbZtgqKVuh/8GQSWrcfeaYCz+3R83tA7U+YzA 6jKA1o1RIWOZvq+ov8716kluPRSF+e3YGnPuLZXyuuCOdgHHXK/Ue+v31wfP4Hk1QbvnCf7cgwEZF SgrmiNqQhV3k3yj3jeeRcbyA8qrLGPkC3c4E/jhOecCzxdbku5mJvsogMNgjcURV3wqsM87nk+Sgq /l/HHXCT3FhHK2YWft4KVA==; Received: from [87.69.77.57] (port=3541 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 1ntrTO-0003QA-0V; Wed, 25 May 2022 09:54:50 -0400 Date: Wed, 25 May 2022 16:54:41 +0300 Message-Id: <83k0a94t0e.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87ilptert4.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 25 May 2022 14:10:31 +0200) Subject: Re: bug#55579: 29.0.50; Abbrevs not saved on exit anymore References: <865ylxwqks.fsf@mail.linkov.net> <86fskzszr1.fsf@mail.linkov.net> <83wnea4tq0.fsf@gnu.org> <87ilptert4.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55579 Cc: 55579@debbugs.gnu.org, juri@linkov.net 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: Lars Ingebrigtsen > Cc: Juri Linkov , 55579@debbugs.gnu.org > Date: Wed, 25 May 2022 14:10:31 +0200 > > Eli Zaretskii writes: > > >> BTW, I noticed that ~/.emacs.d/abbrev_defs > >> is visited without font-locking. Here's the fix: > > > > Won't that make loading abbrevs slower and more expensive? that file > > is normally not edited interactively, only if the user explicitly > > wants to do so. So why is font-lock in it important? > > `read-abbrev-file' just uses `load' on the file, so the mode cookie > doesn't do anything non-interactively. Then let's have a comment where the cookie is written to explain that it assumes 'load', and let's have another comment where we load the file to explain why using another function should consider this aspect. From debbugs-submit-bounces@debbugs.gnu.org Wed May 25 13:48:33 2022 Received: (at 55579) by debbugs.gnu.org; 25 May 2022 17:48:33 +0000 Received: from localhost ([127.0.0.1]:56416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntv7Z-0006Qb-7A for submit@debbugs.gnu.org; Wed, 25 May 2022 13:48:33 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:45289) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntv7X-0006QJ-8p for 55579@debbugs.gnu.org; Wed, 25 May 2022 13:48:31 -0400 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 7483F1C0002; Wed, 25 May 2022 17:48:23 +0000 (UTC) From: Juri Linkov To: Eli Zaretskii Subject: Re: bug#55579: 29.0.50; Abbrevs not saved on exit anymore Organization: LINKOV.NET References: <865ylxwqks.fsf@mail.linkov.net> <86fskzszr1.fsf@mail.linkov.net> <83wnea4tq0.fsf@gnu.org> <868rqqunxz.fsf@mail.linkov.net> <83o7zl4ujj.fsf@gnu.org> Date: Wed, 25 May 2022 20:34:53 +0300 In-Reply-To: <83o7zl4ujj.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 25 May 2022 16:21:36 +0300") Message-ID: <86o7zlwt4a.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 55579 Cc: 55579@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: -1.7 (-) >> >> > Save abbrevs in ~/.emacs.d/abbrev_defs? >> >> >> >> BTW, I noticed that ~/.emacs.d/abbrev_defs >> >> is visited without font-locking. Here's the fix: >> > >> > Won't that make loading abbrevs slower and more expensive? that file >> > is normally not edited interactively, only if the user explicitly >> > wants to do so. So why is font-lock in it important? >> >> This is part of recent efforts to add modes to .emacs.d files. >> So far we added the mode tag to ~/.emacs.d/bookmarks, ~/.emacs.d/tramp, >> ~/.emacs.d/.emacs.desktop, ~/.emacs.d/network-security.data, >> ~/.emacs.d/places, ~/.emacs.d/projects. But mode is still missing >> in ~/.emacs.d/abbrev_defs and ~/.emacs.d/recentf. > > We don't need to do that for all of the files, only for files that are > frequently (or always) visited or edited interactively by users. So > I'm asking this question specifically for abbrev_defs, not for all the > other files there: why do we need this, and how significant is the > reason? Of course, it's visited frequently. This is necessary to see what abbreviations are defined. From debbugs-submit-bounces@debbugs.gnu.org Fri May 27 06:22:14 2022 Received: (at 55579) by debbugs.gnu.org; 27 May 2022 10:22:14 +0000 Received: from localhost ([127.0.0.1]:32790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuX6k-0005bv-LE for submit@debbugs.gnu.org; Fri, 27 May 2022 06:22:14 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuX6e-0005bc-W5 for 55579@debbugs.gnu.org; Fri, 27 May 2022 06:22:13 -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=c+Tsk7RF0p5ox3wB0c2iua5dIhcTxs+4RpB9x7gKmI0=; b=rK2lFa1oiz2CiVvZ5ZS4AuXwWZ wY7lXISdTYxHQ59UOHADBZNVsn/AALA685q6iQC4robeoMQaH04zeTBuSQP+Bv5BjNXu7CGEOzVMq pr7o6/JrYKSrhkAgQE8gJo8PWkYcJ2HsEHL4t7nDRrGP0ij4gJgIuHB3Z8oBJ6bHlBck=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nuX6V-0006my-JU; Fri, 27 May 2022 12:22:01 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#55579: 29.0.50; Abbrevs not saved on exit anymore References: <865ylxwqks.fsf@mail.linkov.net> <86fskzszr1.fsf@mail.linkov.net> <83wnea4tq0.fsf@gnu.org> <87ilptert4.fsf@gnus.org> <83k0a94t0e.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEWvra3DurvTz86V kZOEe4BmX2c5NT/////DykhKAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+YFGwoON2iYAIYAAAGbSURB VDjLddNLcoMwDABQEZeuDblA8QkcZLruNLBnasQFOuj+R6j8wUPSoJls/KyPsQPQmFfxAdC0JwBV pK79ByJ7PEEUyJYSmwQpmmPouKQmWokIJW6hXQGNxMybGP0ECEupip62VYhp7TPkUOQdRWqfYO0B nVRazBEsvJExGnJvs4+q0DqCsFPD5ZihEIZF2SquPWbowYNDC43sbZ8AFS2IVnI6Y3f4uk4ecUjH 69p63uE7Ag7MfdNUV7+XeusT4LBaUEAtZqh7lQCVlJv6YT7CGAVX/q1nXeA6LWMWmi3YAlpKjIkA 1b4O9fdHGHXEcB+EFgv8dOHD0peT69oQdSk1GxU3W3R3Gbovzb0JTdKlOxzm/YD1dulS/dTJl4zt ZlRKoWUkupfmPLedvKAciy0Z7CujMYvHqvTgzV5Ewsx3lJsMoOT3zuxtmx6DlRvs0nVH2O5hodHh SXcgjBmYMD2G/IqwAEt1qMI4cnR/BKb83V0Y7AgcjrBP/ADpb3CET36MAgpfBTzEP1AnGWelXq27 s97DyboAnsAfc5uzr9+2q1YAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDUtMjdUMTA6MTQ6NTUr MDA6MDB6MfV1AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA1LTI3VDEwOjE0OjU1KzAwOjAwC2xN yQAAAABJRU5ErkJggg== X-Now-Playing: A. G. Cook's _7G (2): Guitar_: "Undying" Date: Fri, 27 May 2022 12:21:58 +0200 In-Reply-To: <83k0a94t0e.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 25 May 2022 16:54:41 +0300") Message-ID: <87mtf39sxl.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: > Then let's have a comment where the cookie is written to explain > that it assumes 'load', and let's have another comment where we load > the file to explain why using another function should consid [...] 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: 55579 Cc: 55579@debbugs.gnu.org, juri@linkov.net 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: > Then let's have a comment where the cookie is written to explain > that it assumes 'load', and let's have another comment where we load > the file to explain why using another function should consider this > aspect. We add these cookies to basically all files like this, so adding these comments seems superfluous. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Sep 13 23:57:08 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 24 Jun 2022 11:24:08 +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