From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: "Alan E. Davis" <lngndvs@gmail.com>
Newsgroups: gmane.emacs.help
Subject: Re: Bookmarks: separate set of bookmarks in directory
Date: Thu, 14 Sep 2017 11:47:08 -0700
Message-ID: <CAF-1L2RQ2zqEExmnqZAatFCeZv71Ses1_NEKxQRPrdvywZ-jdw@mail.gmail.com>
References: <CAF-1L2TX4r-+Bdc2SQ_WzTSqctgsv_Ecd-+Ux+XHbtXRKQ4fgQ@mail.gmail.com>
	<e71565ef-8413-40e7-94cd-dd10011b2719@default>
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Trace: blaine.gmane.org 1505414887 29249 195.159.176.226 (14 Sep 2017 18:48:07 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Thu, 14 Sep 2017 18:48:07 +0000 (UTC)
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 14 20:48:03 2017
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geh-help-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1dsZBC-0007O5-MX
	for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Sep 2017 20:48:02 +0200
Original-Received: from localhost ([::1]:49517 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1dsZBI-0002dE-8D
	for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Sep 2017 14:48:08 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58695)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <lngndvs@gmail.com>) id 1dsZAi-0002We-Md
	for help-gnu-emacs@gnu.org; Thu, 14 Sep 2017 14:47:34 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <lngndvs@gmail.com>) id 1dsZAg-0005qv-On
	for help-gnu-emacs@gnu.org; Thu, 14 Sep 2017 14:47:32 -0400
Original-Received: from mail-pg0-x229.google.com ([2607:f8b0:400e:c05::229]:56015)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <lngndvs@gmail.com>) id 1dsZAg-0005q1-Fl
	for help-gnu-emacs@gnu.org; Thu, 14 Sep 2017 14:47:30 -0400
Original-Received: by mail-pg0-x229.google.com with SMTP id b11so126956pgn.12
	for <help-gnu-emacs@gnu.org>; Thu, 14 Sep 2017 11:47:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc; bh=ymjFdwVrXsiiyEcEYJHxBSHUeUAtD2FYKizS7Zl9P1g=;
	b=MsD2+nK2GdqOZ71fKueI2njE2HgGgaA5I4w7EBcHURDt9B4XWAtnTDKyIz0sk27ccP
	AjWz7s++P0YFwtOFFBilKTCmA6uGYd0MLN0l5y1tqH0zRxNmmAdKj75ZblZgMgbajlR8
	88u3XZPJTQKxq5FRC6Dn59Sz34p530EEm86ivvFPAQaoyEXDrIb0zcIx3G13i3NDkKEr
	H1fmokgIqmPkxayfmQaMmq1OC7S5H4HyLl3iSZXDDiGCmD8o1Ls8jXNsO4Zs5xS+si61
	Y4vD5zMO63FzUvnB7YTr6qnY+2uCUtb5uCX6XOEZUsW0SK5bZWEi6Il+og2zrG/T4DKV
	ZzCQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:cc;
	bh=ymjFdwVrXsiiyEcEYJHxBSHUeUAtD2FYKizS7Zl9P1g=;
	b=dswLhPzrx40GRQ7uzqpg7zpMkupucHJJtGL5Y+XpB2j34uk7qocrrc6SLZgIs1Rw0S
	AHdrlbuxnycwfoui4Z6VQdrlqGojSsE76SzmqM5r6W55pm0U9qUOqM8snm9jFEumgLX7
	Tl9FKq2EPp/9syX+7G/Q7M2UoELomTEzrCjPy/d4ky2RDn3njQ3oaleCAxjbB09rZDrG
	ILlJEhv0H1AhzQiVaT8q8eNFWGypE0BmdgyB1xM2mg6H4ChkP26mntSkQOKi1Xk5U1An
	kin8h2HrxDV9vaMVkgbU8He2uKMW4WlmI/0vRNe74NpQtZAacbUwqSs0uIGGsB2p8m5z
	WoKw==
X-Gm-Message-State: AHPjjUjqZTD4QnTK2bdJCHm6ybDPinGTk8qWEt92ys+fldm3zLpxabeq
	YGT0wx3SZmycduiz5+w8xSDBydvWlhksK7IvR4U=
X-Google-Smtp-Source: ADKCNb6URhhxpolyCA20Awc5OzQHhsPUt21PO81QODWCtA4A1fE26NdeB9kVuv/6OUy6Kvw2Y1AFY/9b26v2KbhALC4=
X-Received: by 10.98.14.213 with SMTP id 82mr22934871pfo.274.1505414849448;
	Thu, 14 Sep 2017 11:47:29 -0700 (PDT)
Original-Received: by 10.100.145.87 with HTTP; Thu, 14 Sep 2017 11:47:08 -0700 (PDT)
In-Reply-To: <e71565ef-8413-40e7-94cd-dd10011b2719@default>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2607:f8b0:400e:c05::229
X-Content-Filtered-By: Mailman/MimeDel 2.1.21
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/help-gnu-emacs/>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: "help-gnu-emacs"
	<help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.help:114281
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/114281>

Drew:

Thank you for your response.  I have re-read that section now, and I can
see some ways that it could help me.  My chief concerns are:


   1.   for transparency: i don't want to have to think about the mechanics
   of bookmarking or calling or saving them.
   2. The dropbox bookmarks could, if possible, be stored in one bookmark
   file.  Any time I access the folder, using emacs, I would want to see th=
e
   list in a listing such as "list-bookmarks" provides.
   3. Each machine has a unique set of groupings and files, which would
   ideally be stored in a single unique bookmarks file.
   4. Saving bookmarks would (in my perfect world) put them into either the
   local or the dropbox bookmarks file, perhaps through a regular expressio=
n
   recognition process.  Perhaps just recognition of "~/Dropbox" or whateve=
r
   other top level directory name would make this possible?
   5. If the previous is even possible, it would be sufficient (I think)
   for one bookmark file to load another.  Perhaps the idea of setting a
   bookmark file bookmark would make this easy enough.  Still I wonder abou=
t
   the saving.

I am sorry if this is overly convoluted or if I have missed something
obvious.

(I might just go ahead and use the directory-wise bookmark files ploy.
Would there then be an easy way for these to be called by the directory
bookmark file in the toplevel subdir?  (And hence be visible at a glance.).


Thank you again,


Alan




On Thu, Sep 14, 2017 at 8:06 AM, Drew Adams <drew.adams@oracle.com> wrote:

> > I have an extensive dropbox folder with subdirectories for projects; I
> > would like to share the bookmarks between different computers.  These
> > computers have distinct files outside this dropbox folder to which I ne=
ed
> > to have bookmarks.  So far, I have not found a way to do all the
> necessary
> > parts.
> >
> > I tried to find something like this in the extensive documentation for
> > bookmarks+.  I think that package is overkill for my usage.
> >
> >    1. I need to load both sets of bookmarks, local and global, so to
> speak.
> >    2. The bookmarks to files in the dropbox folder do not need to be
> saved
> >    and loaded separately.
> >    3. Bookmarks that are local to each machine must be loaded, but must
> be
> >    saved separately in a local bookmarks file like
> >    ~/.emacs.d/localbookmarks.txt .
> >
> > The deeper I dig, the more complicated it looks.  I would appreciate an=
y
> > ideas.  I thought of org-mode, and I like and use it, but it would be
> much
> > simpler to use the canonical bookmark facility of Emacs.
>
> Sorry, but I don't really understand your use case and the problem
> you see.
>
> It sounds like you are just looking for a way to keep separate, and
> separately loadable, sets of bookmarks.  Is that it?
>
> If so, you can do that with vanilla Emacs bookmark.el, but Bookmark+
> can help.  It makes it easier to have multiple bookmark files, switch
> among them during an Emacs session, combine any of them during a
> session, etc.
>
> If it sounds to you like this might help then you might want to
> take a look at this part of the Bookmark+ doc, about using multiple
> bookmark files:
>
> https://www.emacswiki.org/emacs/BookmarkPlus#UsingMultipleBookmarkFiles
>



--=20
[I do not] carry such information in my mind since it is readily
available in books. =E2=80=A6The value of a college education is not the
learning of many facts but the training of the mind to think.
          ---Albert Einstein



"Sweet instruments hung up in cases. . . keep their sounds to themselves."

         ---Shakespeare, _Timon of Athens_