unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Barry OReilly <gundaetiapo@yahoo.com>
To: 20855@debbugs.gnu.org
Subject: bug#20855: Emacs wipes out custom-set-variables while setting package-selected-packages for the first time
Date: Sat, 20 Jun 2015 01:11:22 +0000 (UTC)	[thread overview]
Message-ID: <138330248.2223618.1434762682098.JavaMail.yahoo@mail.yahoo.com> (raw)

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

With Emacs master:
   commit d213cf0400ee5cad2e7f4626745fd97b942ff5e9   Date:   Thu Jun 18 19:15:05 2015 -0400
but not Emacs 24.5, I see Emacs wipe out my custom-set-variables when I start Emacs, as it sets package-selected-packages for the first time:
diff --git a/emacs/init.el b/emacs/init.elindex 480d711..278cb80 100644--- a/emacs/init.el+++ b/emacs/init.el@@ -245,63 +245,15 @@  ;; If you edit it by hand, you could mess it up, so be careful.  ;; Your init file should contain only one such instance.  ;; If there is more than one, they won't work right.- '(Buffer-menu-name-width 64)- '(ac-delay 1.0)- '(cc-search-directories+ '(package-selected-packages    (quote-    ("." "/usr/include" "/usr/local/include/*" "./src" "../src" "./include" "../include" "./inc" "../inc" "./public" "../public" "./internal" "../internal")))- '(column-number-mode t)- '(delete-by-moving-to-trash t)- '(dired-auto-revert-buffer t)- '(ediff-merge-split-window-function (quote split-window-vertically))- '(evil-ex-hl-update-delay 0.01)- '(evil-ex-visual-char-range t)- '(evil-highlight-closing-paren-at-point-states nil)- '(evil-intercept-maps nil)- '(evil-kbd-macro-suppress-motion-error t)- '(evil-mouse-word (quote evil-move-WORD))- '(evil-move-cursor-back nil)- '(evil-overriding-maps nil)- '(evil-search-module (quote evil-search))- '(evil-shift-width my-offset)- '(ff-always-try-to-create nil)- '(ff-special-constructs nil)- '(font-lock-maximum-decoration (quote ((c++-mode . 2))))- '(frame-background-mode 'dark)- '(global-whitespace-mode t)- '(inhibit-startup-screen t)- '(inverse-video t)- '(jde-global-classpath my-java-classpath)- '(jde-jdk-registry-   (quote-    (("1.6.0" . "/usr/lib/jvm/java-1.6.0-openjdk.x86_64"))))- '(jde-sourcepath my-java-sourcepath)- '(large-file-warning-threshold 1000000000.0)- '(message-log-max 100000)- '(nxml-child-indent my-offset)- '(nxml-sexp-element-flag t)- '(python-indent my-offset)- '(python-indent-offset my-offset)- '(scroll-conservatively 101)- '(scroll-margin 4)- '(sentence-end-double-space nil)- '(show-paren-mode t)- '(tags-case-fold-search nil)- '(tool-bar-mode nil)- '(undo-tree-visualizer-diff nil)- '(undo-tree-visualizer-timestamps t)- '(whitespace-style (quote (face tabs trailing)))- '(x-select-enable-clipboard t)- '(x-select-enable-primary t))+    (goto-chg haskell-mode flylisp evil-numbers diff-hl adjust-parens)))) (custom-set-faces
*Messages* buffer shows:
Saving file /Users/boreilly/unihome/emacs/init.el...Wrote /Users/boreilly/unihome/emacs/init.el [2 times]Saving file /Users/boreilly/unihome/emacs/init.el...Wrote /Users/boreilly/unihome/emacs/init.el [2 times]
(NB: I symlink this init.el to .emacs)
These messages don't appear when starting Emacs 24.5.
Also note, my init.el calls package-initialize and package-install directly. The writes to init.el occur during a call to (package-install 'goto-chg), which is not installed.


[-- Attachment #2: Type: text/html, Size: 8812 bytes --]

             reply	other threads:[~2015-06-20  1:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-20  1:11 Barry OReilly [this message]
2015-06-30  2:06 ` bug#20855: Emacs wipes out custom-set-variables while setting package-selected-packages for the first time Ted Zlatanov
2015-06-30  9:20   ` Artur Malabarba
2015-07-01 14:49     ` Ted Zlatanov
2015-07-01 15:03       ` Artur Malabarba
2015-07-01 15:30         ` Ted Zlatanov
2015-07-01 16:45           ` Artur Malabarba
2015-07-02  1:23             ` Barry OReilly

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=138330248.2223618.1434762682098.JavaMail.yahoo@mail.yahoo.com \
    --to=gundaetiapo@yahoo.com \
    --cc=20855@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).