From: bojohan+news@dd.chalmers.se (Johan Bockgård)
To: help-gnu-emacs@gnu.org
Subject: Re: Disable automatic line breaks
Date: Fri, 30 Nov 2007 16:31:15 +0100 [thread overview]
Message-ID: <yoij8x4fu4vw.fsf@remote1.student.chalmers.se> (raw)
In-Reply-To: 9ac799cc-daab-448c-8859-91e93e0e7ad3@s36g2000prg.googlegroups.com
Bettina Kraus <bettinakraus1@gmx.de> writes:
> Hello,
>
> when I'm in TeX mode and write lines that have more than 70
> or so characters, emacs automatically breaks the line. This
> makes me crazy!!
It's called `auto-fill-mode'. It's not on by default!
> Does anyone know how to disable this?
Find the hook* that turns it on and undo it--that is, look for
code that uses something like
turn-on-auto-fill or (auto-fill-mode 1)
and remove it, or add a hook function that turns it off:
(add-hook 'THE-HOOK* 'turn-off-auto-fill).
[*] The most relevant hooks are
text-mode-hook (all text modes)
{tex-mode,latex-mode,plain-tex-mode}-hook (default Emacs [La]TeX mode)
{TeX-mode,LaTeX-mode,plain-TeX-mode}-hook (AUCTeX)
--
Johan Bockgård
next prev parent reply other threads:[~2007-11-30 15:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-30 14:53 Disable automatic line breaks Bettina Kraus
2007-11-30 15:31 ` Johan Bockgård [this message]
2007-12-01 9:21 ` Eli Zaretskii
[not found] ` <mailman.4384.1196500914.18990.help-gnu-emacs@gnu.org>
2007-12-01 10:16 ` David Kastrup
2007-12-01 10:48 ` Peter Dyballa
2007-12-01 17:38 ` Exal de Jesus Garcia Carrillo
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=yoij8x4fu4vw.fsf@remote1.student.chalmers.se \
--to=bojohan+news@dd.chalmers.se \
--cc=help-gnu-emacs@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.
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).