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.bugs Subject: bug#55579: 29.0.50; Abbrevs not saved on exit anymore Date: Wed, 25 May 2022 16:21:36 +0300 Message-ID: <83o7zl4ujj.fsf@gnu.org> References: <865ylxwqks.fsf@mail.linkov.net> <86fskzszr1.fsf@mail.linkov.net> <83wnea4tq0.fsf@gnu.org> <868rqqunxz.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6395"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55579@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 25 15:23:16 2022 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 1ntqyq-0001OS-7g for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 May 2022 15:23:16 +0200 Original-Received: from localhost ([::1]:38294 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntqyo-0001Da-RV for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 May 2022 09:23:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntqyc-0001BX-Qa for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 09:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60738) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntqyc-0008KX-FQ for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 09:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ntqyc-0004az-8M for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 09:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 May 2022 13:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55579 X-GNU-PR-Package: emacs Original-Received: via spool by 55579-submit@debbugs.gnu.org id=B55579.165348492317568 (code B ref 55579); Wed, 25 May 2022 13:23:02 +0000 Original-Received: (at 55579) by debbugs.gnu.org; 25 May 2022 13:22:03 +0000 Original-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 Original-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 Original-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==; Original-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 In-Reply-To: <868rqqunxz.fsf@mail.linkov.net> (message from Juri Linkov on Wed, 25 May 2022 09:37:20 +0300) 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" Xref: news.gmane.io gmane.emacs.bugs:233059 Archived-At: > 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?