GNU bug report logs -
#188
23.0.60; Custom-save deleting custom file
Previous Next
Reported by: Bastien Guerry <bzg <at> altern.org>
Date: Sun, 4 May 2008 13:10:04 UTC
Severity: normal
Tags: moreinfo
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 188 in the body.
You can then email your comments to 188 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#188
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Bastien Guerry <bzg <at> altern.org>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the emacs-pretest-bug <at> gnu.org mailing list.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
Saving a change with Custom-save deletes the old custom file (in my case
~/.emacs-custom.el). This is quite annoying if you don't have backups.
In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9)
of 2008-05-04 on bzg.ath.cx
Windowing system distributor `The X.Org Foundation', version 11.0.10400090
configured using `configure '--enable-font-backend' '--with-x-toolkit=gtk''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: fr_FR.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Group
Minor modes in effect:
gnus-undo-mode: t
display-time-mode: t
delete-selection-mode: t
pc-selection-mode: t
shell-dirtrack-mode: t
show-paren-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
Recent input:
<C-down> <down> C-e C-a <C-right> C-e C-a <C-down>
<down> C-e C-a <C-right> C-e C-a <C-up> <up> C-e C-z
c <f1> C-n C-n C-n C-n C-n C-n C-n C-n j e m a <tab>
. <backspace> <return> C-u 1 0 0 0 <return> / s c u
s t o m <return> <C-down> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <C-down> <up>
<up> <down> <return> M-x r e p o <tab> r <tab> b u
g <tab> <return> C u s t M-x c u s <tab> C-x C-x o
C-x o C-x o <tab> C-g C-g <return> <return> <return>
q g M-x c u s a <tab> - <backspace> <backspace> t <tab>
C-g M-x c u s <tab> - f a <tab> <return> <return> <C-down>
<C-down> C-h k C-x C-s C-x 1 C-x k <return> g M-x r
e p o r <tab> b u <tab> <return> C u s t o m - s a
v e SPC d e l e t e <C-backspace> o <backspace> o <backspace>
d e l e t i n g SPC o l d SPC <C-backspace> <C-backspace>
d e e l <backspace> <backspace> l e t i n g SPC o l
d . <backspace> SPC ~ / <backspace> <backspace> <backspace>
C-z c <backspace> SPC c i <backspace> u s t o m SPC
C-x o C-z c C-x C-f C-x o C-x o s m d l f k s d m f
l k s d m f l k s d f C-x o C-x o f i l e C-a C-e <C-left>
<C-left> <C-backspace> C-e C-a C-e <C-left> C-a C-e
<C-left> <C-left> <C-left> C-a C-e <C-left> C-e C-a
C-e <return> C-x o C-e <return> C-x o C-g C-g g M-x
<up> <return>
Recent messages:
nnml: Reading incoming mail (no new mail)...done
nndiary: Reading incoming mail from file...
nndiary: Reading incoming mail (no new mail)...done
Killed inactive buffer: *Help*.
Entering debugger... [3 times]
Quit [2 times]
nnml: Reading incoming mail from file...
nnml: Reading incoming mail (no new mail)...done
nndiary: Reading incoming mail from file...
nndiary: Reading incoming mail (no new mail)...done
--
Bastien
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#188
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Chong Yidong <cyd <at> stupidchicken.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #10 received at 188 <at> emacsbugs.donarmstrong.com (full text, mbox):
> Saving a change with Custom-save deletes the old custom file (in my
> case ~/.emacs-custom.el). This is quite annoying if you don't have
> backups.
Could you be more specific? Please supply an exact recipe for
reproducing this bug.
Thanks.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#188
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Bastien Guerry <bzg <at> altern.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #15 received at 188 <at> emacsbugs.donarmstrong.com (full text, mbox):
Chong Yidong <cyd <at> stupidchicken.com> writes:
>> Saving a change with Custom-save deletes the old custom file (in my
>> case ~/.emacs-custom.el). This is quite annoying if you don't have
>> backups.
>
> Could you be more specific? Please supply an exact recipe for
> reproducing this bug.
Yes, sorry.
Emacs version: GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version
2.12.9) of 2008-05-04 on bzg.ath.cx
1. emacs -Q
2. With an existing ~/.emacs-custom.el file, C-x C-e this:
(setq custom-file "~/.emacs-custom.el")
(load custom-file)
3. M-x customize-face RET font-lock-comment-face RET
4. [Don't do changes...]
5. C-x C-s
Then the custom file is now:
,----
| (custom-set-variables
| ;; custom-set-variables was added by Custom.
| ;; 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.
| )
|
|
| (custom-set-faces
| ;; custom-set-faces was added by Custom.
| ;; 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.
| )
`----
As far as I can check, this is a problem with `custom-save-variables'
not writing variables in the custom file if they lack some property.
Can't help further for now.
Thanks,
--
Bastien
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#188
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Chong Yidong <cyd <at> stupidchicken.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #20 received at 188 <at> emacsbugs.donarmstrong.com (full text, mbox):
Bastien Guerry <bzg <at> altern.org> writes:
> 1. emacs -Q
> 2. With an existing ~/.emacs-custom.el file, C-x C-e this:
>
> (setq custom-file "~/.emacs-custom.el")
> (load custom-file)
>
> 3. M-x customize-face RET font-lock-comment-face RET
> 4. [Don't do changes...]
> 5. C-x C-s
>
> Then the custom file is now:
>
> ,----
> | (custom-set-variables
> | ;; custom-set-variables was added by Custom.
> | ;; 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.
> | )
> |
> |
> | (custom-set-faces
> | ;; custom-set-faces was added by Custom.
> | ;; 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.
> | )
> `----
>
> As far as I can check, this is a problem with `custom-save-variables'
> not writing variables in the custom file if they lack some property.
I don't see any problem. If the custom-file was originally empty, that
above result is what I see. But if the custom-file originally contains
customizations (which is not explained in your recipe, but which I
tried), those customizations are not lost. Where's the problem?
Tags added: moreinfo
Request was from
Jason Rumney <jasonr <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Thu, 08 May 2008 15:15:05 GMT)
Full text and
rfc822 format available.
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Mon, 11 Jul 2011 02:52:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Bastien Guerry <bzg <at> altern.org>
:
bug acknowledged by developer.
(Mon, 11 Jul 2011 02:52:03 GMT)
Full text and
rfc822 format available.
Message #27 received at 188-done <at> debbugs.gnu.org (full text, mbox):
I also cannot reproduce this, so I am closing this.
If you still see this with the latest version of Emacs, please reply and
we can reopen this if needed.
Chong Yidong wrote:
> I don't see any problem. If the custom-file was originally empty, that
> above result is what I see. But if the custom-file originally contains
> customizations (which is not explained in your recipe, but which I
> tried), those customizations are not lost. Where's the problem?
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 08 Aug 2011 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 14 years and 12 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.