unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20855: Emacs wipes out custom-set-variables while setting package-selected-packages for the first time
@ 2015-06-20  1:11 Barry OReilly
  2015-06-30  2:06 ` Ted Zlatanov
  0 siblings, 1 reply; 8+ messages in thread
From: Barry OReilly @ 2015-06-20  1:11 UTC (permalink / raw)
  To: 20855

[-- 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 --]

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

end of thread, other threads:[~2015-07-02  1:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-20  1:11 bug#20855: Emacs wipes out custom-set-variables while setting package-selected-packages for the first time Barry OReilly
2015-06-30  2:06 ` 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

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).