emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#20855: closed (Emacs wipes out custom-set-variable


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#20855: closed (Emacs wipes out custom-set-variables while setting package-selected-packages for the first time)
Date: Wed, 01 Jul 2015 15:04:02 +0000

Your message dated Wed, 1 Jul 2015 16:03:34 +0100
with message-id <address@hidden>
and subject line Re: bug#20855: Emacs wipes out custom-set-variables while 
setting package-selected-packages for the first time
has caused the debbugs.gnu.org bug report #20855,
regarding Emacs wipes out custom-set-variables while setting 
package-selected-packages for the first time
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
20855: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20855
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 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)
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.el
index 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.



--- End Message ---
--- Begin Message --- Subject: Re: bug#20855: Emacs wipes out custom-set-variables while setting package-selected-packages for the first time Date: Wed, 1 Jul 2015 16:03:34 +0100
Great! Closing then.

2015-07-01 15:49 GMT+01:00 Ted Zlatanov <address@hidden>:
> On Tue, 30 Jun 2015 10:20:47 +0100 Artur Malabarba <address@hidden> wrote:
>
> AM> 2015-06-30 3:06 GMT+01:00 Ted Zlatanov <address@hidden>:
>>> On Sat, 20 Jun 2015 01:11:22 +0000 (UTC) Barry OReilly <address@hidden> 
>>> wrote:
>>>
> BO> With Emacs master:
> BO> commit d213cf0400ee5cad2e7f4626745fd97b942ff5e9   Date:   Thu Jun 18 
> 19:15:05 2015 -0400
> BO> 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:
>>> ...
> BO> (NB: I symlink this init.el to .emacs)
> BO> These messages don't appear when starting Emacs 24.5.
> BO> 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.
>>>
>>> I just saw this today as well, I hope it's easy to fix.
>
> AM> I just pushed a patch for this. Could you check if that fixes it?
>
> Thanks, Artur.  I think it's fixed for me because I can't replicate it 
> anymore.
>
> Ted


--- End Message ---

reply via email to

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