[Top][All Lists]

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

saving customizations

From: A. L. Meyers
Subject: saving customizations
Date: Fri, 23 Mar 2001 22:21:54 +0100
User-agent: EMIKO/1.13.9 (Euglena tripteris) FLIM/1.13.2 (Kasanui) APEL/10.2 Emacs/20.7 (i386-debian-linux-gnu) (with unibyte mode)


This bug report will be sent to the Free Software Foundation,
 not to your local site managers!!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

In GNU Emacs 20.7.2 (i386-debian-linux-gnu, X toolkit)
 of Tue Jun 20 2000 on raven
configured using `configure  i386-debian-linux-gnu --prefix=/usr 
--sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib 
--infodir=/usr/share/info --with-pop=yes --with-x=yes --with-x-toolkit=yes'

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

- From a.l.meyers@consult-meyers.com Fri Mar 23 22:02:49 2001
Date: Fri, 23 Mar 2001 20:16:28 +0100
From: A. L. Meyers <a.l.meyers@consult-meyers.com>
To: Kai Gro=dfjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
Newsgroups: gnu.emacs.help
Subject: Re: Problem with saving Customize

On 23 Mar 2001, Kai Gro=dfjohann wrote:

> On 23 Mar 2001, A. L. Meyers wrote:
> > After changing a parameter I select "State" and "Set for Current
> > Session". This works. Then I select "State" and "Save for Future
> > Sessions". This never works. I always get the error message:
> >
> > "Wrong type argument: stringp, nil"
> >
> > Nothing is written to ~/.emacs.
> Does this happen if your .emacs is empty, too?

Yes. Saved .emacs to .emacs.save.test and opened a new .emacs with
touch. Exactly the same error.

> Does it happen with all variables that you have tried, or just some of them?


> I have seen a similar problem, but couldn't investigate it, because it
> only happened on some variables, sometimes, and I was doing nasty
> stuff and was ready to blame the nasty stuff for any breakage.
> If it doesn't happen without your .emacs file, which parts of .emacs
> do you need to make the problem reappear?

Happens with or without.

Here is my "normal" .emacs file:

;;own basic config
(setq default-major-mode 'text-mode)
(add-hook 'text-mode-hook 'turn-on-auto-fill)
(setq-default transient-mark-mode t)
(require 'iso-acc)
(setq-default iso-accents-mode t)
(setq-default shell-cd-regexp nil)
(setq-default shell-pushd-regexp nil)
(setq-default shell-popd-regexp nil)
(add-hook 'comint-output-filter-functions
(add-hook 'emacs-lisp-mode-hook 'turn-on-font-lock)
(add-hook 'c-mode-hook 'turn-on-font-lock)
(add-hook 'text-mode-hook 'turn-on-font-lock)
(add-hook 'fundamental-mode-hook 'turn-on-font-lock)
(setq initial-frame-alist '((width . 75) (height . 45)))
(setq default-frame-alist '((width . 75) (height . 45)))
(set-face-background 'default "white")
(setq explicit-shell-file-name "/bin/bash")
(setq url-be-anal-about-file-attributes nil)
(setq line-number-mode t)
(setq column-number-mode t)
(setq debug-on-quit t)
(setq smtp-debug-info t)
(setq debug-on-error t)

;;display time
(setq display-time-day-and-date t)
(setq-default display-time-24hr-format t)
(setq display-time-interval 15)
(setq display-time-mail-file "/var/mail/$USER")
(setq inhibit-startup-message t)
(add-hook 'diary-hook 'appt-make-list)
(diary 0)
(setq uniquify-buffer-name-style 'forward)

;;mail general
(setq mail-user-agent 'mh-e-user-agent)
(setq mail-default-reply-to "a.l.meyers@consult-meyers.com")
;(setq user-mail-address "A. L. Meyers<a.l.meyers@consult-meyers.com>")
(setq mail-signature t)
(setq mail-signature-file "~/.signature")
(setq make-backup-files t)
(setq rmail-file-name "~/data/mc/mail/inbox.rmail")
(setq mail-archive-file-name "/home/alm/data/mc/mail/sent-rmail")

(setq mh-print-backgroup t)
(setq mh-store-default-directory "~/data/mc/mail/store")

(setq load-path (cons "/usr/share/xemacs21/packages/etc/w3/" load-path))
(autoload 'w3-preview-this-buffer "w3" "WWW Previewer"t)
(autoload 'w3-follow-url-at-point "w3" "Find document at pt" t)
(autoload 'w3 "w3" "WWW Browser" t)
(autoload 'w3-open-local "w3" "Open local file for WWW browsing" t)
(autoload 'w3-fetch "w3" "Open remote file for WWW browsing" t)
(autoload 'w3-use-hotlist "w3" "Use shortcuts to view WWW docs" t)
(autoload 'gopher-dispatch-object "gopher" "Fetch gopher dir" t)
(setq url-keep-history t)
(setq w3-default-homepage "http://www.debian.org";)
(setq browse-url-browser-function (quote browse-url-lynx-emacs))
(setq url-mime-language-string "*")
(setq w3-temporary-directory "/usr/tmp")
(setq url-privacy-level (quote paranoid))
(setq w3-user-colors-take-precedence t)
(setq w3-use-menus (quote (file edit view go bookmark options buffers style 
search emacs nil help)))
(setq url-personal-mail-address "A. L. Meyers<a.l.meyers@consult-meyers.com>")
(setq url-global-history-save-interval 1800)
(setq url-keep-history t)

(load-library "mailcrypt")
(mc-setversion "5.0")
(autoload 'mc-install-write-mode "mailcrypt" nil t)
(autoload 'mc-install-read-mode "mailcrypt"nil t)
(add-hook 'mail-mode-hook 'mc-install-write-mode)
(add-hook 'rmail-show-message-hook 'mc-install-read-mode)
(add-hook 'rmail-summary-mode-hook 'mc-install-read-mode)
(setq mc-pgp50-comment nil)
(setq mc-pgp50-user-id "A. L. Meyers")
(setq mc-pgp-fetch-timeout 120)
;(setq mc-pgp-keyserver-address "www.ch.pgp.net")
;(setq mc-pgp-keyserver-port 11371)
;(setq mc-pgp-keyserver-url-template 
(setq mc-passwd-timeout 600)
(setq mc-pgp-always-sign t)

(setq european-calendar-style 't)
(setq calendar-latitude 47.8)
(setq calendar-longitude 8.4)
(setq mark-diary-entries-in-calendar t)
(setq mark-holidays-in-calendar t)
(setq all-christian-calendar-holidays t)
(setq all-hebrew-calendar-holidays t)
(setq view-calendar-holidays-initially t)
(setq view-diary-entries-initially t)
(setq all-islamic-calendar-holidays t)
(setq calendar-time-display-form (quote (24-hours ":" minutes (if time-zone " 
(") time-zone (if time-zone ")"))))

(setq ps-paper-type (quote a4))
(setq require-final-newline t)
(setq next-line-add-newlines t)
(setq font-menu-this-frame-only-p t)
(setq-default tab-width 8)
(setq-default fill-column 72)
(setq truncate-lines nil)
(setq mouse-yank-at-point t)
(setq left-margin 0)

(setq buffers-menu-submenus-for-groups-p t)
(setq buffers-menu-max-size nil)
(setq font-menu-ignore-scaled-fonts nil)
(setq buffers-menu-sort-function nil)
(setq complex-buffers-menu-p t)
(setq buffers-menu-grouping-function nil)

(standard-display-european 1)
;(set-language-environment 'Latin-1) xemacs
        (car (current-input-mode))
        (nth 1 (current-input-mode)) 0)
(global-set-key [delete]        'delete-char)
(global-set-key [home]          'beginning-of-line)
(global-set-key [end]           'end-of-line)

(setq gnuserv-program (concat exec-directory "/gnuserv"))

;bbdb section
(require 'bbdb)
(add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus)
(add-hook 'mail-setup-hook 'bbdb-insinuate-sendmail)
(add-hook 'rmail-mode-hook 'bbdb-insinuate-rmail)
(require 'message)
(bbdb-initialize 'gnus 'rmail 'sc 'w3)
;(bbdb-insinuate-mh) xemacs
(defun my-bbdb-tab-complete ()
        (if (mail-abbrev-in-expansion-header-p)
(define-key message-mode-map [tab] 'my-bbdb-tab-complete)

Hope this isn't too bad for a newbie.

This file completes without errors.


- -- 
This message is only for the addressee(s). If you receive it by error,
please delete it and inform the sender. We encourage the use of
pgp-encrypted e-mail. Welcome to: http://www.consult-meyers.com
"Say what you think. Do what you say."

- ------------ Output from pgp ------------
Reading secret keyring "/home/alm/.pgp/secring.skr"
Reading public keyring "/home/alm/.pgp/pubring.pkr"
Good signature made 2001-03-23 19:16 GMT by key:
  1024 bits, Key ID F3A0890D, Created 2000-12-28
   "A. L. Meyers <a.l.meyers@consult-meyers.com>"

Recent input:
menu-bar help-menu report-emacs-bug

Recent messages:
PGP version set to 5.0.
Loading disp-table...
Loading disp-table...done
Loading bbdb-sc...
Loading bbdb-sc...done
Loading bbdb-w3...
Loading bbdb-w3...done
For information about the GNU Project and its goals, type C-h C-p.
Loading emacsbug...
Loading emacsbug...done

- -- 
This message is only for the addressee(s). If you receive it by error,
please delete it and inform the sender. We encourage the use of
pgp-encrypted e-mail. Welcome to: http://www.consult-meyers.com
"Say what you think. Do what you say."

Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv


reply via email to

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