* Lute Kamstra (2005-06-15) writes: > I've got the same problem with auto-fill sometimes. I switch that > mode on with text-mode-hook. When I visit a text file that has "mode: > auto-fill", it is effectively turned off. Maybe we should do > (some-minor-mode 1) for "mode: some-minor-mode" constructs.
I'd prefer a way where it is possible to define explicitely if the mode should be turned on or off. One way could be to let people add a second value to the "mode:" keyword, e.g. "mode: some-mode 1" for turning a mode on. Another possibility could be to recognize mode variables and call the respective mode functions with the given values if they are encountered. The latter solution is probably a bit problematic because people don't expect a function to be called when a variable is set. -- Ralf _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel