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: [External] : Turning on savehist-mode by default Date: Mon, 20 Nov 2023 14:23:50 +0200 Message-ID: <83zfz8ipex.fsf@gnu.org> References: <87wmufm7r7.fsf@catern.com> <87edgmq601.fsf@posteo.net> <87jzqeybz8.fsf@posteo.net> <86cyw6wb27.fsf@mail.linkov.net> <83bkbqkv2u.fsf@gnu.org> <8734x0rbrp.fsf@ledu-giraud.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10295"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yuri.v.khan@gmail.com, juri@linkov.net, drew.adams@oracle.com, philipk@posteo.net, sbaugh@catern.com, emacs-devel@gnu.org To: Manuel Giraud Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 20 13:24:46 2023 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 1r53KY-0002Ry-La for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Nov 2023 13:24:46 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r53Jz-0006zJ-MQ; Mon, 20 Nov 2023 07:24:11 -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 1r53Jx-0006z8-Si for emacs-devel@gnu.org; Mon, 20 Nov 2023 07:24:09 -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 1r53Ju-0004g2-99; Mon, 20 Nov 2023 07:24:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=226Om4qXwJEFhhX+raoPw06lCSuNddALZLiXxPMA9mg=; b=aG9JAIVjzmaATrSdvNtA BtK+oznSHa2MxSH9Rbotdmh997E+Ce1worBzAi8iVbH+fvhyHF9EwkHqWMFyLsFFI6xqk+ZtNe2GT 9VClPOD3I4t6afmWL9kkbm3ejkikLgWwFeMfzD/t3h26tZ5ImIHpUbBbQPB6Ex5gqQEOWQIqsH2cr AvAA3IZa0MuQhF2T2nKOgvuZUoArwFm2EMqc3lhlbOANfN9x5yj4SHnaZ9FTxuDVakQrHo2O5VNrf Az7IBl6u7j0tOJSrgHENx6Ah0YrHNeRfYCmdEmW4uECqMD5p9Nv1jEMMz56/8DDaNT8ixmXV/V294 PHVadgXYH5yJFg==; In-Reply-To: <8734x0rbrp.fsf@ledu-giraud.fr> (message from Manuel Giraud on Mon, 20 Nov 2023 10:53:46 +0100) 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:313043 Archived-At: > From: Manuel Giraud > Cc: Yuri Khan , juri@linkov.net, > drew.adams@oracle.com, philipk@posteo.net, sbaugh@catern.com, > emacs-devel@gnu.org > Date: Mon, 20 Nov 2023 10:53:46 +0100 > > Eli Zaretskii writes: > > >> Is it though? I’m using ‘desktop-save-mode’, not observing > >> preservation of histories, and not seeing any user option in the > >> Desktop group that would shout to me “enable this to save all > >> histories”. I see ‘file-name-history’ in ‘desktop-globals-to-save’ but > >> I wouldn’t like to whitelist all the histories I care about. > > > > Why not? I do precisely that, FWIW. It's a one-time configuration, > > so not a lot of effort. > > I'm curious. What desktop save option did you set for this? I customize desktop-globals-to-save. It has file-name-history by default, and I add other history variables to it. > I am currently using desktop-save *and* savehist but I could use > just desktop-save? I didn't study savehist too deeply, but it sounds like these functionalities are equivalent, yes.