GNU bug report logs -
#15676
24.3; visual-line does not activate properly from file header
Previous Next
Reported by: Josh Hunsaker <josh <at> nispio.net>
Date: Mon, 21 Oct 2013 19:56:02 UTC
Severity: normal
Tags: notabug
Found in version 24.3
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Josh Hunsaker wrote:
> When I add the following line:
>
> -*- visual-line-mode: t -*-
>
> to the top of a file, and open that file in a new buffer, the line
> wrapping does not work.
C-h v visual-line-mode:
Use the command `visual-line-mode' to change this variable.
info emacs:
48.2.4.1 Specifying File Variables
To enable or disable a minor mode in a local variables list, use the
`eval' keyword with a Lisp expression that runs the mode command (*note
Minor Modes::). For example, the following local variables list enables
Eldoc mode (*note Lisp Doc::) by calling `eldoc-mode' with no argument
(calling it with an argument of 1 would do the same), and disables Font
Lock mode (*note Font Lock::) by calling `font-lock-mode' with an
argument of -1.
;; Local Variables:
;; eval: (eldoc-mode)
;; eval: (font-lock-mode -1)
;; End:
This bug report was last modified 11 years and 270 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.