unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Oliver Scholz <alkibiades@gmx.de>
Subject: Re: Per-File Auto fill mode?
Date: Sat, 26 Apr 2003 11:27:14 +0200	[thread overview]
Message-ID: <87k7dhhaml.fsf@ID-87814.user.dfncis.de> (raw)
In-Reply-To: f4f61de8.0304251446.6ec9de28@posting.google.com

ticmanis@coli.uni-sb.de (Linards Ticmanis) writes:

> Hi Group,
>
> When I type Greek text (polytonic) for LaTeX into emacs, I use the
> following first line to prevent the dumb autoformatting of quote marks
> that are used as accent marks for Greek and thus must be retained as
> typed in.
>
> % -*- Coding: iso-8859-7; mode: fundamental; -*- %
>
> While I'm at it can I turn on auto-fill in this line too? What do I
> have to write? (I don't want it for all files or even all
> "fundamental" files though.)

Yes, specify `auto-fill' *after* the major mode:

% -*- mode: fundamental; mode: auto-fill -*-

> Another thing, in polytonic Greek the first line of a paragraph will
> often start with a ">" marking a "soft breathing" mark on the vowel.
> However emacs insists that I meant this as a "quoted text" mark and
> starts all the other lines in that paragrapg with ">" too
> automatically, and I have to delete it all the time which is annoying.
> Leaving out the first breathing and then having to remember it at the
> end of the paragraph is annoying too. Is there some way to get emacs
> to be *really* dumb and insert exactly those characters into the file
> that I'm actually typing in, without making (its idea of) educated
> guesses?

FWIW, I use AUCTeX for writing classical Greek in LaTeX and I don't
have such problems. You can always insert a literal quotation mark by
typing `C-q "'. Or, if that is not satisfying, you get probably more
convenient results if you turn off the autoformatting of quotation
marks in latex-mode instead of using fundamental-mode;
fundamental-mode is a bit ... erm ... fundamental.

    Oliver
-- 
7 Floréal an 211 de la Révolution
Liberté, Egalité, Fraternité!

  reply	other threads:[~2003-04-26  9:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-25 22:46 Per-File Auto fill mode? Linards Ticmanis
2003-04-26  9:27 ` Oliver Scholz [this message]
2003-04-26 14:30   ` Linards Ticmanis
2003-04-27 13:58   ` gebser
     [not found]   ` <mailman.5251.1051451759.21513.help-gnu-emacs@gnu.org>
2003-04-28 14:53     ` Oliver Scholz
2003-05-01 14:01       ` gebser
2003-04-26 14:31 ` Kai Großjohann
2003-04-27  8:23   ` Karl Eichwalder
2003-04-27 12:02     ` Kai Großjohann
2003-04-27 13:08       ` Karl Eichwalder
2003-04-27 14:02         ` Kai Großjohann
2003-04-27 17:21           ` Karl Eichwalder
2003-04-27 19:10             ` Kai Großjohann
2003-04-27 13:01     ` Oliver Scholz

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=87k7dhhaml.fsf@ID-87814.user.dfncis.de \
    --to=alkibiades@gmx.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.
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).