From: "Lennart Borgman" <lennart.borgman.073@student.lu.se>
Subject: Re: customize-rouge output with emacs -q --no-site-file
Date: Fri, 4 Feb 2005 20:14:49 +0100 [thread overview]
Message-ID: <010101c50aed$d57b4640$0200a8c0@sedrcw11488> (raw)
In-Reply-To: 00cb01c50ad3$5f978570$0200a8c0@sedrcw11488
[-- Attachment #1: Type: text/plain, Size: 897 bytes --]
> Below is a list of the variables that customize-rouge shows when emacs is
> started with emacs -q --no-site-file. It contains on my pc 32 variables.
>
> Many of them are maybe easy to fix? Perhaps could Customize in some cases
> just be told that everything is ok? Perhaps should the "standard value" in
> some cases be set to do that? Could such fixes be done before starting
> `site-run-file'? At this point the values should be set. Should the
current
> values at this point not be the standard values?
At the moment I can not see any reason not to do this. Should not the values
just before loading `site-run-file' be the "standard values" for those
variables?
As it works now if you "Erase Customization" for those variables Emacs might
get into trouble. Therefore I attach some simple code for setting the
"standard-values" that I think should go into startup.el to avoid this
trouble.
[-- Attachment #2: startup-fix.el --]
[-- Type: application/octet-stream, Size: 1908 bytes --]
;;; Set standard values for defcustom that are missing this here.
;;
;; This code should go into startup.el just before executing loading
;; site-run-file.
(defun startup-set-standard-value (symbol)
"Set the current value of SYMBOL as the standard value for Customize."
(put symbol 'standard-value (list symbol)))
(startup-set-standard-value baud-rate)
(startup-set-standard-value blink-cursor)
(startup-set-standard-value completion-ignored-extensions)
(startup-set-standard-value current-language-environment)
(startup-set-standard-value custom-unlispify-tag-names)
(startup-set-standard-value debug-ignored-errors)
(startup-set-standard-value default-frame-alist)
(startup-set-standard-value default-input-method)
(startup-set-standard-value encoded-kbd-mode)
(startup-set-standard-value eol-mnemonic-mac)
(startup-set-standard-value eol-mnemonic-unix)
(startup-set-standard-value exec-path)
(startup-set-standard-value file-coding-system-alist)
(startup-set-standard-value find-file-hook)
(startup-set-standard-value find-file-visit-truename)
(startup-set-standard-value help-event-list)
(startup-set-standard-value keyboard-coding-system)
(startup-set-standard-value menu-bar-mode)
(startup-set-standard-value minibuffer-history-case-insensitive-variables)
(startup-set-standard-value minibuffer-prompt-properties)
(startup-set-standard-value mode-line-format)
(startup-set-standard-value mouse-wheel-mode)
(startup-set-standard-value normal-erase-is-backspace)
(startup-set-standard-value pop-up-frame-function)
(startup-set-standard-value same-window-buffer-names)
(startup-set-standard-value same-window-regexps)
(startup-set-standard-value selection-coding-system)
(startup-set-standard-value shell-file-name)
(startup-set-standard-value site-run-file)
(startup-set-standard-value special-display-function)
(startup-set-standard-value text-mode-hook)
(startup-set-standard-value tooltip-mode)
[-- Attachment #3: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2005-02-04 19:14 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-04 16:03 customize-rouge output with emacs -q --no-site-file Lennart Borgman
2005-02-04 19:14 ` Lennart Borgman [this message]
2005-02-04 21:57 ` Lennart Borgman
2005-02-04 22:17 ` Lennart Borgman
2005-02-04 23:48 ` Luc Teirlinck
2005-02-05 0:47 ` Luc Teirlinck
2005-02-05 17:39 ` Richard Stallman
2005-02-05 0:03 ` Luc Teirlinck
2005-02-05 0:06 ` Luc Teirlinck
2005-02-05 17:39 ` Richard Stallman
2005-02-05 1:56 ` Luc Teirlinck
2005-02-05 3:51 ` Luc Teirlinck
2005-02-05 9:08 ` Lennart Borgman
2005-02-05 14:51 ` Luc Teirlinck
2005-02-06 12:42 ` Richard Stallman
2005-02-06 19:54 ` Luc Teirlinck
2005-02-05 19:06 ` Luc Teirlinck
2005-02-05 19:52 ` Lennart Borgman
2005-02-05 21:16 ` Luc Teirlinck
2005-02-07 20:51 ` Richard Stallman
2005-02-07 21:27 ` Lennart Borgman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='010101c50aed$d57b4640$0200a8c0@sedrcw11488' \
--to=lennart.borgman.073@student.lu.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).