From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Kost Newsgroups: gmane.emacs.help Subject: Re: 'bookmarks' file being persistently deleted, how to stop that action? Date: Thu, 28 Jul 2016 09:55:23 +0300 Message-ID: <877fc62qw4.fsf@gmail.com> References: <878twm5ldn.fsf@skimble.plus.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1469688994 23416 80.91.229.3 (28 Jul 2016 06:56:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Jul 2016 06:56:34 +0000 (UTC) Cc: help-emacs To: Sharon Kimble Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 28 08:56:29 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bSfF7-0001hA-Ad for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Jul 2016 08:56:29 +0200 Original-Received: from localhost ([::1]:51252 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSfF6-0006x2-8m for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Jul 2016 02:56:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSfEA-0006uX-96 for help-gnu-emacs@gnu.org; Thu, 28 Jul 2016 02:55:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSfE4-0000OM-8G for help-gnu-emacs@gnu.org; Thu, 28 Jul 2016 02:55:29 -0400 Original-Received: from mail-lf0-x231.google.com ([2a00:1450:4010:c07::231]:33399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSfE4-0000O8-0J for help-gnu-emacs@gnu.org; Thu, 28 Jul 2016 02:55:24 -0400 Original-Received: by mail-lf0-x231.google.com with SMTP id b199so42784796lfe.0 for ; Wed, 27 Jul 2016 23:55:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=551hClGDnAJ9XZ0FWTT5G0jdxAWJ5Lk0iq9QAHI+zfE=; b=r91HRp8InREofO6RUmJMwaiJGwNHaDsyqxH7I+kq2fhH3MnoSdLCYU9GonJId5ri/w Qqruhll/BWFJ+Vn1YFF7+j/HN2hj8uGq7RkjahXnu6pla0yuRqDIWHyC+Qbk+5tp5340 1PIDBBcZz5e4L1UmR5ln1GAi0hceNACV8eWSUxPibxeD1FdkuRaBGVUALWvRTazocxwp do1APoPFalJmtutKo+Pa3Ux/pxJhCGX0L/pT+e8L1OzHPqAQV4weoiv839FdCUUDKRbV RERM5mxBAvHHwX12fRveyi6aREfNF4eUjZ2MTyXYRhvNP8X3pxzYpZfccwH9Qz6mvcwN Udow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=551hClGDnAJ9XZ0FWTT5G0jdxAWJ5Lk0iq9QAHI+zfE=; b=Eo8MSnlH3HmkRgf6QQFYqv26xiv+5i0UaXh/4PGha0uoEeyNkycZlupk1Fu8n7sA54 KSTBSuymLm/EUK58EfqXxPdmy231UIZPL5cQTE6EpwntBIx5+dBvVsZ+K7sr/c0XCac6 81ZlpJ9Q+uUPLgqxns4PC+t54L3HKcBvqSjxkrP5e8DovVt6YRY/Z/8PMyhQ9x+uQvEk h5hJSqmC74ZEU+4r+lAyOuoe4YuPAX8ljNeWNI2u9zlu+0SVg8e4u007CxCMI3zzL7RV RVSg9doVcY/L2RSdvpTw/J8GpAS2RcGIv1xqaA8ZBmaTofFJtZWsGQ0s1FJy+nt0vevp QXKw== X-Gm-Message-State: AEkoouunmNWzalHIlWPAsORx4ejvSISl4ycxdlAR8DfGm7hp5FH+kBsyoFNUiYoYDGBTFQ== X-Received: by 10.46.1.222 with SMTP id f91mr12499433lji.1.1469688922619; Wed, 27 Jul 2016 23:55:22 -0700 (PDT) Original-Received: from leviafan ([217.107.192.156]) by smtp.gmail.com with ESMTPSA id f69sm1664485lji.19.2016.07.27.23.55.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jul 2016 23:55:21 -0700 (PDT) In-Reply-To: <878twm5ldn.fsf@skimble.plus.com> (Sharon Kimble's message of "Thu, 28 Jul 2016 07:26:12 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::231 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110959 Archived-At: 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