unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ralf Angeli <angeli@iwi.uni-sb.de>
Subject: Re: enriched-mode problems
Date: Wed, 15 Jun 2005 20:30:22 +0200	[thread overview]
Message-ID: <d8prq8$f1k$1@sea.gmane.org> (raw)
In-Reply-To: jwvzmtrlh74.fsf-monnier+emacs@gnu.org

* Stefan Monnier (2005-06-15) writes:

>> 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.
>
> That would be good.

Actually a t value of the variable might have to be mapped to a value
of 1 for the function argument and nil to 0 or -1.

> Especially since it would solve the problem where you
> can't both specify "text-mode" and "flyspell-mode" at the same time (IIRC
> the first mode spec which changes the major mode prevents further mode
> specs from being considered, but placing flyspell-mode before text-mode
> makes no sense since text-mode turns off flylspell-mode).

Hm, upon opening a file with name "test" and the contents

Local Variables:
mode: text
mode: flyspell
End:

both modes are active.

-- 
Ralf

  reply	other threads:[~2005-06-15 18:30 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
2005-06-15 16:28     ` Stefan Monnier
2005-06-15 18:30       ` Ralf Angeli [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='d8prq8$f1k$1@sea.gmane.org' \
    --to=angeli@iwi.uni-sb.de \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).