From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: John Yates Newsgroups: gmane.emacs.help Subject: Re: Temporary notes in Emacs buffers? Date: Sat, 11 Jan 2020 18:46:54 -0500 Message-ID: References: <87zhfecbpt.fsf@mbork.pl> <87sgl0osts.fsf@web.de> <65742f83-393a-4df2-9562-7c500b40adcd@default> <87a777ydnh.fsf@web.de> <73dc0d0e-f208-4169-a70d-f2f17994a4f4@default> <87sgkmla13.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="123010"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Michael Heerdegen , Help Gnu Emacs mailing list To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 12 00:50:44 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iqQUP-000BSE-1s for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 12 Jan 2020 00:48:21 +0100 Original-Received: from localhost ([::1]:33740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqQUN-0004hZ-3E for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 11 Jan 2020 18:48:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52175) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqQTF-0004g6-Eq for help-gnu-emacs@gnu.org; Sat, 11 Jan 2020 18:47:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iqQTE-0004o5-60 for help-gnu-emacs@gnu.org; Sat, 11 Jan 2020 18:47:09 -0500 Original-Received: from mail-lf1-f41.google.com ([209.85.167.41]:40393) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iqQTD-0004hE-T7 for help-gnu-emacs@gnu.org; Sat, 11 Jan 2020 18:47:08 -0500 Original-Received: by mail-lf1-f41.google.com with SMTP id i23so4240140lfo.7 for ; Sat, 11 Jan 2020 15:47:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7+1LnG7OcfDpM3ijV6WnRybI8d4UUdso9XEkOB1XwWY=; b=fPG/ngWFtVnoIMgI81D31sDAKdejtWToiEj15gqwuUarH4o8fDTFLz/2Uz1VWobVMb xEohnmfttBZPBEHkaqdLeDArQc08EuZAIk30IZt/4J7hqxdSOWVUB0Vb7yI3gb79XPdX mLoPXfWnTnHmUqHsYkzBW7g6Cs7IquIEtwY5hC7Rmz8x1VkxSbBIKvS+JW4fJyLFjLrh 3quZMlnO2DQ8CRg3ImegCT72WcMIM3ywqzYBM66tWPRO9cOAwuWDgdZICt2bjQGyZDMu wpYB27QgL4Gn6rPtspFGcOZOo0E1wTZWCBRQ8neVWZvPEgCzXhucJnt3RAUmIFmu09Hr MBXQ== X-Gm-Message-State: APjAAAUEu2uuWiqJXEYuejZzuzhncLFIVvgZLTF4h/rLvhx8exoQljBW qx+FbRYpncO0WEGsG3DIA09JMMM6WZLNt/9ESas= X-Google-Smtp-Source: APXvYqySjV/JNRkjapEerIDFhNa4aQu40ZVeAk/Fx1Td/Kk2sd0FT5eutogfQ4Vjdr2anB0A0I0JjT3c9BbMXFiXHjY= X-Received: by 2002:ac2:48bc:: with SMTP id u28mr6209787lfg.81.1578786425751; Sat, 11 Jan 2020 15:47:05 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.167.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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.org gmane.emacs.help:122207 Archived-At: My read is that bookmarks share the same deficiency as tag tables. That is once loaded it is the user's responsibility to manage. /john On Sat, Jan 11, 2020 at 11:02 AM Drew Adams wrote: > > > > You can have any number of bookmark files, and they can be stored > > > anywhere. > > > > For vanilla Emacs bookmarks (I guess you spoke of bookmark+ bookmarks), > > this is not true > > It is true also for vanilla Emacs. A bookmark file > can be anywhere, and you can have any number of them. > > Even vanilla Emacs has command `bookmark-load', and > that lets you load a bookmark file (located anywhere), > either (1) replacing the existing set of current > bookmarks or (2) adding to that existing set. > > > I tried to use `bookmark-file' as a file local > > variable - this has no effect. > > `C-h v bookmark-file' tells you that it is "Old name > for `bookmark-default-file'." The latter's name and > doc string tell you that its value is just the > _default_ location for a bookmark file, e.g. for > prompting when you save or load: > > "File in which to save bookmarks by default." > > > Then I tried with > > `bookmark-default-file' as file local variable - > > this is also ignored unless you bind > > `bookmark-bookmarks-timestamp' to nil in addition. > > While this finally worked and I could use a > > file-local bookmark file, my real bookmark file > > got erased in the process... > > I don't understand what you're trying to do; sorry. > You can have your own variables, file-local or not, > to do anything, including to point to bookmark files, > which can be anywhere. > > I think maybe you are confusing the default > bookmark-file location with the location of a given > bookmark file. But it's not clear to me just what > you want to do. > > > I learned that authors of the vanilla bookmark code didn't intend to > > support using multiple bookmark files like this. > > Dunno what "like this" means here. > -- John Yates 505 Tremont St, #803 Boston, MA 02116