all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 'bookmarks' file being persistently deleted, how to stop that action?
@ 2016-07-28  6:26 Sharon Kimble
  2016-07-28  6:55 ` Alex Kost
  0 siblings, 1 reply; 2+ messages in thread
From: Sharon Kimble @ 2016-07-28  6:26 UTC (permalink / raw
  To: help-emacs

[-- Attachment #1: Type: text/plain, Size: 799 bytes --]


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' -

--8<---------------cut here---------------start------------->8---
(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)
--8<---------------cut here---------------end--------------->8---

How can I get it to stay there all the time please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.4, fluxbox 1.3.7, emacs 25.1.1

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 'bookmarks' file being persistently deleted, how to stop that action?
  2016-07-28  6:26 'bookmarks' file being persistently deleted, how to stop that action? Sharon Kimble
@ 2016-07-28  6:55 ` Alex Kost
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Kost @ 2016-07-28  6:55 UTC (permalink / raw
  To: Sharon Kimble; +Cc: help-emacs

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-28  6:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-28  6:26 'bookmarks' file being persistently deleted, how to stop that action? Sharon Kimble
2016-07-28  6:55 ` Alex Kost

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.