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

* bug#20855: Emacs wipes out custom-set-variables while setting package-selected-packages for the first time
  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
  0 siblings, 1 reply; 8+ messages in thread
From: Ted Zlatanov @ 2015-06-30  2:06 UTC (permalink / raw)
  To: Barry OReilly; +Cc: 20855

On Sat, 20 Jun 2015 01:11:22 +0000 (UTC) Barry OReilly <gundaetiapo@yahoo.com> 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.

Ted





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

* bug#20855: Emacs wipes out custom-set-variables while setting package-selected-packages for the first time
  2015-06-30  2:06 ` Ted Zlatanov
@ 2015-06-30  9:20   ` Artur Malabarba
  2015-07-01 14:49     ` Ted Zlatanov
  0 siblings, 1 reply; 8+ messages in thread
From: Artur Malabarba @ 2015-06-30  9:20 UTC (permalink / raw)
  To: Ted Zlatanov; +Cc: Barry OReilly, 20855

I just pushed a patch for this. Could you check if that fixes it?

2015-06-30 3:06 GMT+01:00 Ted Zlatanov <tzz@lifelogs.com>:
> On Sat, 20 Jun 2015 01:11:22 +0000 (UTC) Barry OReilly <gundaetiapo@yahoo.com> 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.
>
> Ted
>
>
>





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

* bug#20855: Emacs wipes out custom-set-variables while setting package-selected-packages for the first time
  2015-06-30  9:20   ` Artur Malabarba
@ 2015-07-01 14:49     ` Ted Zlatanov
  2015-07-01 15:03       ` Artur Malabarba
  0 siblings, 1 reply; 8+ messages in thread
From: Ted Zlatanov @ 2015-07-01 14:49 UTC (permalink / raw)
  To: Artur Malabarba; +Cc: Barry OReilly, 20855

On Tue, 30 Jun 2015 10:20:47 +0100 Artur Malabarba <bruce.connor.am@gmail.com> wrote: 

AM> 2015-06-30 3:06 GMT+01:00 Ted Zlatanov <tzz@lifelogs.com>:
>> On Sat, 20 Jun 2015 01:11:22 +0000 (UTC) Barry OReilly <gundaetiapo@yahoo.com> 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





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

* bug#20855: Emacs wipes out custom-set-variables while setting package-selected-packages for the first time
  2015-07-01 14:49     ` Ted Zlatanov
@ 2015-07-01 15:03       ` Artur Malabarba
  2015-07-01 15:30         ` Ted Zlatanov
  0 siblings, 1 reply; 8+ messages in thread
From: Artur Malabarba @ 2015-07-01 15:03 UTC (permalink / raw)
  Cc: 20855-done

Great! Closing then.

2015-07-01 15:49 GMT+01:00 Ted Zlatanov <tzz@lifelogs.com>:
> On Tue, 30 Jun 2015 10:20:47 +0100 Artur Malabarba <bruce.connor.am@gmail.com> wrote:
>
> AM> 2015-06-30 3:06 GMT+01:00 Ted Zlatanov <tzz@lifelogs.com>:
>>> On Sat, 20 Jun 2015 01:11:22 +0000 (UTC) Barry OReilly <gundaetiapo@yahoo.com> 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





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

* bug#20855: Emacs wipes out custom-set-variables while setting package-selected-packages for the first time
  2015-07-01 15:03       ` Artur Malabarba
@ 2015-07-01 15:30         ` Ted Zlatanov
  2015-07-01 16:45           ` Artur Malabarba
  0 siblings, 1 reply; 8+ messages in thread
From: Ted Zlatanov @ 2015-07-01 15:30 UTC (permalink / raw)
  To: 20855; +Cc: gundaetiapo, bruce.connor.am

On Wed, 1 Jul 2015 16:03:34 +0100 Artur Malabarba <bruce.connor.am@gmail.com> wrote: 

AM> Great! Closing then.

I'd have waited for Barry's confirmation since he was the OP but I guess
he can reopen it.

Ted





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

* bug#20855: Emacs wipes out custom-set-variables while setting package-selected-packages for the first time
  2015-07-01 15:30         ` Ted Zlatanov
@ 2015-07-01 16:45           ` Artur Malabarba
  2015-07-02  1:23             ` Barry OReilly
  0 siblings, 1 reply; 8+ messages in thread
From: Artur Malabarba @ 2015-07-01 16:45 UTC (permalink / raw)
  To: Ted Zlatanov; +Cc: Barry OReilly, 20855

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

> AM> Great! Closing then.
>
> I'd have waited for Barry's confirmation since he was the OP but I guess
> he can reopen it.

Sorry. On my client it looked like your message had started the thread. I
should have read it more carefully.

Barry, is it fixed for you?

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

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

* bug#20855: Emacs wipes out custom-set-variables while setting package-selected-packages for the first time
  2015-07-01 16:45           ` Artur Malabarba
@ 2015-07-02  1:23             ` Barry OReilly
  0 siblings, 0 replies; 8+ messages in thread
From: Barry OReilly @ 2015-07-02  1:23 UTC (permalink / raw)
  To: bruce.connor.am@gmail.com, Ted Zlatanov; +Cc: 20855@debbugs.gnu.org

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

Thank you. I believe you and Ted. Closing is right.


     On Wednesday, July 1, 2015 9:46 AM, Artur Malabarba <bruce.connor.am@gmail.com> wrote:
   

 > AM> Great! Closing then.
>
> I'd have waited for Barry's confirmation since he was the OP but I guess
> he can reopen it.Sorry. On my client it looked like your message had started the thread. I should have read it more carefully. Barry, is it fixed for you? 

   

[-- Attachment #2: Type: text/html, Size: 1447 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).