help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'bookmarks' file being persistently deleted, how to stop that action


From: Alex Kost
Subject: Re: 'bookmarks' file being persistently deleted, how to stop that action?
Date: Thu, 28 Jul 2016 09:55:23 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Sharon Kimble (2016-07-28 09:26 +0300) wrote:

> I'm having problems keeping my 'bookmarks' file when I close emacs. I'm
> saving it in my '/home/boudiccas/.emacs.d/etc/' directory, but at some
> stage in closing it gets deleted.
>
> This is from my '.init.el' -
>
>
> (require 'bm)
>
> (setq bookmark-default-file "/home/boudiccas/.emacs.d/etc/bookmarks")
> (setq bookmark-save-flag 1)                        ;; autosave each change)
> (bookmark-load bookmark-default-file t)
>
> (setq bm-restore-repository-on-load t)
>
> How can I get it to stay there all the time please?

It may be something wrong on your side.  I also set
'bookmark-default-file' and it is never deleted for me.  Or perhaps it
is related to this 'bm' package you use.

Here is what I have in my init file:

(with-eval-after-load 'bookmark
  (setq bookmark-save-flag 1
        bookmark-default-file ".../my-bookmarks"))

-- 
Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]