[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Re: Save Options vs. default-input-method
From: |
Per Abrahamsen |
Subject: |
Re: [PATCH] Re: Save Options vs. default-input-method |
Date: |
Tue, 05 Feb 2002 18:08:25 +0100 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i686-pc-linux-gnu) |
emacs -q
Options -> Save Options
gives me
(custom-set-variables
;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
;; Your init file should contain only one such instance.
'(current-language-environment "Latin-1")
'(default-frame-alist (quote ((tool-bar-lines . 1) (menu-bar-lines . 1))))
'(default-input-method "latin-1-prefix"))
(custom-set-faces
;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
;; Your init file should contain only one such instance.
)
That is unsatisfactory, especially if I reuse the .emacs file in
another language environment.
I can see two workarounds:
1. The code that sets the three variables at startup should also set
their standard-value, so they won't be seen as modified (assuming
my previous patch is applied).
2. Only save options that have been changed interactively. My
suggestion to use 'customize-set-variable' will give us that for
free, just check that the variables have a 'customized-value'
property before saving them.
#2 also has the advantage that "Save Options" won't save options that
have been set in the .emacs file or in a site init file.
- Re: Save Options vs. default-input-method, (continued)
- Re: Save Options vs. default-input-method, Per Abrahamsen, 2002/02/04
- Re: Save Options vs. default-input-method, Richard Stallman, 2002/02/05
- [PATCH] Re: Save Options vs. default-input-method, Per Abrahamsen, 2002/02/05
- [PATCH] text-mode-hook-identify should be part of the standard value for text-mode-hook, Per Abrahamsen, 2002/02/05
- Re: [PATCH] text-mode-hook-identify should be part of the standard value for text-mode-hook, Richard Stallman, 2002/02/07
- Re: [PATCH] text-mode-hook-identify should be part of the standard value for text-mode-hook, Per Abrahamsen, 2002/02/07
- Re: [PATCH] text-mode-hook-identify should be part of the standard value for text-mode-hook, Richard Stallman, 2002/02/08
- Re: [PATCH] text-mode-hook-identify should be part of the standard value for text-mode-hook, Per Abrahamsen, 2002/02/09
- Re: [PATCH] text-mode-hook-identify should be part of the standard value for text-mode-hook, Richard Stallman, 2002/02/10
- Re: [PATCH] text-mode-hook-identify should be part of the standard value for text-mode-hook, ShengHuo ZHU, 2002/02/13
- Re: [PATCH] Re: Save Options vs. default-input-method,
Per Abrahamsen <=
- Re: [PATCH] Re: Save Options vs. default-input-method, Richard Stallman, 2002/02/07
- Re: [PATCH] Re: Save Options vs. default-input-method, Per Abrahamsen, 2002/02/07
- Message not available
- Message not available
- Message not available
- Re: [PATCH] Re: Save Options vs. default-input-method, Per Abrahamsen, 2002/02/11
- Re: [PATCH] Re: Save Options vs. default-input-method, Per Abrahamsen, 2002/02/12
- Re: [PATCH] Re: Save Options vs. default-input-method, Richard Stallman, 2002/02/13
- Re: [PATCH] Re: Save Options vs. default-input-method, Richard Stallman, 2002/02/12
- Re: [PATCH] Re: Save Options vs. default-input-method, Per Abrahamsen, 2002/02/12
- Re: [PATCH] Re: Save Options vs. default-input-method, Richard Stallman, 2002/02/12
- Re: [PATCH] Re: Save Options vs. default-input-method, Per Abrahamsen, 2002/02/12
- Re: [PATCH] Re: Save Options vs. default-input-method, Richard Stallman, 2002/02/13