all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to switch off auto-filling in a "Local Variables" section?
@ 2002-12-11 11:41 Jens Schmidt
  2002-12-11 20:31 ` Kai Großjohann
  2002-12-12 11:58 ` D. Goel
  0 siblings, 2 replies; 3+ messages in thread
From: Jens Schmidt @ 2002-12-11 11:41 UTC (permalink / raw)


Hi.

I want to switch off auto-filling in a "Local Variables" section.  I want to
avoid any questions on evaluation of risky variables, so running
`auto-fill-mode' or setting `auto-fill-function' is not an option here.

Last not least, I came up with setting `default-justification' to `none'.

Is that the way to go?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to switch off auto-filling in a "Local Variables" section?
  2002-12-11 11:41 How to switch off auto-filling in a "Local Variables" section? Jens Schmidt
@ 2002-12-11 20:31 ` Kai Großjohann
  2002-12-12 11:58 ` D. Goel
  1 sibling, 0 replies; 3+ messages in thread
From: Kai Großjohann @ 2002-12-11 20:31 UTC (permalink / raw)


Jens.Schmidt27@epost.de (Jens Schmidt) writes:

> I want to switch off auto-filling in a "Local Variables" section.  I want to
> avoid any questions on evaluation of risky variables, so running
> `auto-fill-mode' or setting `auto-fill-function' is not an option here.

Hm.  Maybe you can activate a minor mode that turns auto-fill off.
How does one activate minor modes in a local variables section?  Hm.

-- 
~/.signature is: umop ap!sdn    (Frank Nobis)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to switch off auto-filling in a "Local Variables" section?
  2002-12-11 11:41 How to switch off auto-filling in a "Local Variables" section? Jens Schmidt
  2002-12-11 20:31 ` Kai Großjohann
@ 2002-12-12 11:58 ` D. Goel
  1 sibling, 0 replies; 3+ messages in thread
From: D. Goel @ 2002-12-12 11:58 UTC (permalink / raw)


hi


> Hi.
> 
> I want to switch off auto-filling in a "Local Variables" section.  I want to
> avoid any questions on evaluation of risky variables, so running
> `auto-fill-mode' or setting `auto-fill-function' is not an option here.

hmm, frobbing this option might help avoid those questions--->
,----
|    The `eval' "variable," and certain actual variables, create a
| special risk; when you visit someone else's file, local variable
| specifications for these could affect your Emacs in arbitrary ways.
| Therefore, the option `enable-local-eval' controls whether Emacs
| processes `eval' variables, as well variables with names that end in
| `-hook', `-hooks', `-function' or `-functions', and certain other
| variables.  The three possibilities for the option's value are `t',
| `nil', and anything else, just as for `enable-local-variables'.  The
| default is `maybe', which is neither `t' nor `nil', so normally Emacs
| does ask for confirmation about file settings for these variables.
`----


> 
> Last not least, I came up with setting `default-justification' to `none'.
> 
> Is that the way to go?


DG                                 http://deego.gnufans.org/~deego/
--

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-12-12 11:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-11 11:41 How to switch off auto-filling in a "Local Variables" section? Jens Schmidt
2002-12-11 20:31 ` Kai Großjohann
2002-12-12 11:58 ` D. Goel

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.