From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: [External] : Saving variables for use between emacs sessions Date: Thu, 15 Sep 2022 14:49:31 +0200 Message-ID: <87fsgskdk4.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22014"; mail-complaints-to="usenet@ciao.gmane.io" Cc: uzibalqa , uzibalqa via Users list for the GNU Emacs text editor To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 15 14:50:04 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 1oYoJg-0005VU-EW for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 14:50:04 +0200 Original-Received: from localhost ([::1]:44338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYoJf-00074a-CQ for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 08:50:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYoJE-00074S-22 for help-gnu-emacs@gnu.org; Thu, 15 Sep 2022 08:49:36 -0400 Original-Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:43759) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYoJC-0000SV-F8 for help-gnu-emacs@gnu.org; Thu, 15 Sep 2022 08:49:35 -0400 Original-Received: by mail-wm1-x330.google.com with SMTP id r3-20020a05600c35c300b003b4b5f6c6bdso302837wmq.2 for ; Thu, 15 Sep 2022 05:49:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date :gmane-reply-to-list:references:in-reply-to:subject:cc:to:from:from :to:cc:subject:date; bh=rLP7ccvRwemnJw9T8MxSlEZbQWU3eUPXBQSNfu+V07o=; b=BorxTVSpFPoZD17/kVk9uqYm4sGJu2otDDV7uXtcbkhVLCx88djkAZfRSma9BA8o2Q oH42SfdNfVuFA4SFjN16kCNVXNxV/JwLvqRuF9eL0aAMsZDEnXNJ+jH/AAe3xKxOA/L0 j9YajGnMFG0sUukegykrt6hdZ4n0ZgpHocHqGwbVr5yggyQe9EYRxtWlHVTBoK1F1qFv 3Mbj7YGHrTTo69J/ZVj9X4N1yzVii4Hie7uxS+12gkvp/yj5g4vtiealQM927Sb2+sZh mezE5XD7X4YDg7kOMePHpoo8vT5zK5j5sAleeqCsDeqggdgYyoTzMZdn3qjp5OBbZGD8 ZpFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date :gmane-reply-to-list:references:in-reply-to:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date; bh=rLP7ccvRwemnJw9T8MxSlEZbQWU3eUPXBQSNfu+V07o=; b=JhYCaTn2lOAihQaphJxHZ+KbENn/LIqGTEprRMx7qZBeMUfdFGtmnzZJc+k30sA8hI 1G5MaAAmPfszR768M7RdjShdKNiWS8Chmj7qHw8vDYILAIVHw32GwH8v42cbOhcL9owZ zaX3ouia9VeAh551/QzhG7V9TR/iNJPF8dPfX0N0E/nvtvFXlYjQL/rFTr7B7PfMVxBi k06Goy0wzWHsKScIF6PiDSs7w3oJNkPo1Rdb48eOc+x5idKJyV0+WY1lqcJMcXKgijGc SGYvk8kIZjpBzpQMu/sblSTZBdfEe+HtQF3YNNgesBprAJhvFV8GDrhBgUWjkvq9NAde b5OQ== X-Gm-Message-State: ACgBeo3goHQk00pie6BKsbGFAZtWbdtx546s886OXA6bixYbyneXNeAh Gt5jXb6C6zAnKtfjNDrgUvr63uxIbuE= X-Google-Smtp-Source: AA6agR4ZazlPEEmnylL/1SDvzooC+e3Wipa206Fe0R+wodhkq+Tbps5ycdvrv/ZDaDb2CTdhFEgXEg== X-Received: by 2002:a05:600c:198d:b0:3b4:a62c:a085 with SMTP id t13-20020a05600c198d00b003b4a62ca085mr4721373wmq.140.1663246172738; Thu, 15 Sep 2022 05:49:32 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:16a0:9848:d23c:7dcb]) by smtp.gmail.com with ESMTPSA id l32-20020a05600c1d2000b003a845fa1edfsm2891247wms.3.2022.09.15.05.49.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Sep 2022 05:49:32 -0700 (PDT) In-Reply-To: (Drew Adams's message of "Thu, 15 Sep 2022 11:46:57 +0000") Gmane-Reply-To-List: yes Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=rpluim@gmail.com; helo=mail-wm1-x330.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 autolearn=ham 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" Xref: news.gmane.io gmane.emacs.help:139480 Archived-At: >>>>> On Thu, 15 Sep 2022 11:46:57 +0000, Drew Adams said: >> How can I save variable that can be reused between emacs sessions? Drew> Lots of ways. Some: Drew> 1. savehist.el Drew> 2. desktop.el Drew> 3. Bookmark+ bookmark variable-list bookmark Drew> https://www.emacswiki.org/emacs/BookmarkPlus#FunctionSequenceVarl= istBookmarks Drew> 4. If it's a user option (defcustom), then in your `custom-file' = (or init file). And in emacs-29, `define-multisession-variable', although that=CA=BCs intended more for packages than user config. Robert --=20