From: Harry Putnam <reader@newsguy.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Use nxml mode, but without the auto formatting
Date: Sun, 23 Mar 2014 22:35:29 -0400 [thread overview]
Message-ID: <87ob0wcoi6.fsf@newsguy.com> (raw)
In-Reply-To: jwvior4k1g0.fsf-monnier+gmane.emacs.help@gnu.org
Stefan <monnier@iro.umontreal.ca> writes:
>> Here is what happens if I hit <enter> after the last '>'.
>> ,----
>> | <?xml version="1.0" encoding="utf-8"?>
>> | <XLaunch xmlns="http://www.straightrunning.com/XmingNotes"
>> | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> | xsi:schemaLocation="http://www.straightrunning.com/XmingNotes
>> | XLaunch.xsd" WindowMode="MultiWindow"
>> | ClientMode="StartProgram" Program="xterm -g 84x36 -fg linen -bg
>> | DarkSlateGrey -cr Skyblue
>> | -fn
>> | dec-terminal-medium-r-normal--14-140-75-75-c-80-iso8859-1"
>> | ClientStart="PuTTY" RemoteHost="192.168.1.42"
>> | RemoteUser="reader" Clipboard="true"/>
>> `----
>
> Looks like it's simply the result of auto-fill-mode.
> AFAICT, nxml does not itself enable auto-fill, so it's probably due to your
> enabling auto-fill in nxml-mode, maybe indirectly (by enabling it in
> text-mode, which is a parent of nxml-mode). Try
>
> (add-hook 'nxml-mode-hook
> (lambda () (auto-fill-mode -1)))
Haa... I was stumbling around the wrong approach.
Nice, thank you sir.
prev parent reply other threads:[~2014-03-24 2:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-07 17:40 Use nxml mode, but without the auto formatting Harry Putnam
2014-03-07 20:41 ` Stefan Monnier
2014-03-23 2:40 ` Harry Putnam
2014-03-23 4:14 ` Yuri Khan
2014-03-23 13:35 ` Harry Putnam
2014-03-23 14:24 ` Yuri Khan
2014-03-23 20:09 ` Harry Putnam
2014-03-23 22:19 ` Stefan
2014-03-24 2:35 ` Harry Putnam [this message]
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=87ob0wcoi6.fsf@newsguy.com \
--to=reader@newsguy.com \
--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).