Comment 2 for bug 53622

Revision history for this message
Pekka Jääskeläinen (pekka-jaaskelainen) wrote :

It does not modify the .emacs, even it claims to do so in the minibuffer.

visit0r@r0ck:~$ cp .emacs .emacs-old
visit0r@r0ck:~$ emacs [here I change the Syntax Highlighting and Save Options]
visit0r@r0ck:~$ diff .emacs .emacs-old
[no changes]

Here's the .emacs (if I have added something that breaks it):

(add-to-list 'load-path "/usr/local/stow/speedbar-0.13a")

(add-to-list 'auto-mode-alist '("\\.jsp$" . java-mode))

(autoload 'speedbar-frame-mode "speedbar" "Popup a speedbar frame" t)
(autoload 'speedbar-get-focus "speedbar" "Jump to speedbar frame" t)
;; Texinfo fancy chapter tags
(add-hook 'texinfo-mode-hook (lambda () (require 'sb-texinfo)))
;; w3 link listings
(autoload 'w3-speedbar-buttons "sb-w3" "s3 specific speedbar button generator.")
(line-number-mode 1)
(column-number-mode 1)

(setq default-tab-width 4)
(setq-default indent-tabs-mode nil)

(defun my-c-mode-common-hook ()
  (c-set-style "stroustrup")
  ;; other customizations can go here
  )
  (add-hook 'c-mode-common-hook 'my-c-mode-common-hook)

(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.
 '(case-fold-search t)
 '(current-language-environment "English")
 '(default-input-method "rfc1345")
 '(global-font-lock-mode t nil (font-lock))
 '(show-paren-mode t nil (paren))
 '(transient-mark-mode t))
(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.
 )

(add-to-list 'auto-mode-alist '("\\.icc$" . c++-mode))