all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ralf Angeli <angeli@iwi.uni-sb.de>
Cc: emacs-devel@gnu.org
Subject: Re: enriched-mode problems
Date: Wed, 15 Jun 2005 17:21:17 +0200	[thread overview]
Message-ID: <E1DiZhd-000467-DE@neutrino.iwi.uni-sb.de> (raw)
In-Reply-To: <87psunu1kl.fsf@xs4all.nl> (Lute Kamstra's message of "Wed, 15 Jun 2005 16:39:06 +0200")

* Lute Kamstra (2005-06-15) writes:

> Ralf Angeli <angeli@iwi.uni-sb.de> writes:
>
>> I'd prefer a way where it is possible to define explicitely if the
>> mode should be turned on or off.
>
> Could you give an example of a situation where it would be useful to
> turn a minor mode off for a certain file?

For example in case of LaTeX files in connection with AUCTeX.  AUCTeX
allows you to switch between DVI and PDF output by means of a minor
mode.  Now if your user preference is to have PDF output you'd
activate the PDF minor mode globally for all LaTeX files.  But there
may be files which cannot be compiled with PDFLaTeX in PDF mode.  For
these files you have to disable the PDF minor mode somehow.

I can imagine that there may be other examples with minor modes like
Auto Fill mode where you normally have it enabled when editing a file
in Text mode, but where you occasionally have to deal with files in
Text mode where Auto Fill mode should be turned off because long lines
have to stay intact.  I don't have a concrete example here, though.

-- 
Ralf

  parent reply	other threads:[~2005-06-15 15:21 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-15  5:08 enriched-mode problems Werner LEMBERG
2005-06-15 13:07 ` Lute Kamstra
2005-06-15 13:18   ` Werner LEMBERG
2005-06-15 13:28   ` Ralf Angeli
2005-06-15 14:39     ` Lute Kamstra
2005-06-15 15:20       ` David Kastrup
2005-06-15 15:21       ` Ralf Angeli [this message]
2005-06-15 16:28     ` Stefan Monnier
2005-06-15 18:30       ` Ralf Angeli
2005-06-15 18:59         ` Stefan Monnier
2005-06-16  4:07   ` Richard Stallman
2005-06-16 11:45     ` Lute Kamstra
2005-06-17  4:38       ` Richard Stallman
2005-06-19 10:41         ` Lute Kamstra
2005-06-20  3:49           ` Richard Stallman
2005-06-20  7:08             ` David Kastrup
2005-06-21  2:00               ` Richard Stallman
2005-06-21  5:29                 ` David Kastrup
2005-06-21 15:14                   ` Gaëtan LEURENT
2005-06-21 22:58                   ` Richard M. Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1DiZhd-000467-DE@neutrino.iwi.uni-sb.de \
    --to=angeli@iwi.uni-sb.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.