[OS X Emacs] Options | Line Wrapping neglected

Normen Müller normen.mueller at googlemail.com
Thu Jul 29 16:47:49 EDT 2010


On Jul 29, 2010, at 1:37 PM, David Reitter wrote:
> 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.

One more thing, just to make sure:  Would it be allright to move my  
code regarding line wrapping to this position within my .emacs file:

>> (custom-set-variables
>> ;; 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.
>> '(gud-gdb-command-name "gdb --annotate=1")
>> '(large-file-warning-threshold nil)
>> '(safe-local-variable-values (quote ((TeX-master . t))))
>> )
>> (setq font-latex-fontify-sectioning 1)
>> (setq fill-column 120)
>> (setq visual-line-mode nil t)
>> (setq word-wrap t)

Cheers,
  /nm



More information about the MacOSX-Emacs mailing list