[OS X Emacs] Options | Line Wrapping neglected
david.reitter at gmail.com
Thu Jul 29 07:37:55 EDT 2010
you added the wrong code to your .emacs. In the comment, it says that "custom-set-variables was added by Custom", yet it was in fact added by you. That's a hint that something's not quite right. `custom-set-variables' is not intended to be added by users.
You're running into trouble because Aquamacs evaluates your ~/.emacs first, and then loads customizations stored with "Save Options" from the Options menu, which are in customizations.el.
After that, it will load Preferences.el, which is the recommended place for user additions.
Note that Emacs behaves in a similar way, except that the customizations.el stuff follows right after user code in .emacs.
You can find this and more information in the Aquamacs Wiki and in the Aquamacs manual, which describes the configuration files that are loaded.
Hope that helps.
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project!
On Jul 29, 2010, at 7:19 AM, Normen Müller wrote:
> I want to tell my Aquamacs the following default line wrapping settings for text (*.txt) and LaTeX (*.tex) files:
> o Word Warp
> o Break Lines (AutoFill) 120
> In my ``.emacs'' I added the following:
> ;; 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.
> '(font-latex-fontify-sectioning 1)
> '(gud-gdb-command-name "gdb --annotate=1")
> '(large-file-warning-threshold nil)
> '(safe-local-variable-values (quote ((TeX-master . t))))
> '(fill-column 120)
> '(visual-line-mode nil t)
> '(word-wrap t)
> However, each time I open up Aquamacs and start editing the scratch buffer or a LaTeX file the options are set to ``Word Wrap'' only, i.e. in the Options | Line Wrapping menu the following items are marked:
> o Word Warp
> o Adopted as Default (grayed out)
> o Detect Line Wrap in Text Files
> Can anyone tell me what am I doing wrong?
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
More information about the MacOSX-Emacs