all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Use nxml mode, but without the auto formatting
Date: Sun, 23 Mar 2014 18:19:25 -0400	[thread overview]
Message-ID: <jwvior4k1g0.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 87y501hc21.fsf@newsguy.com

> 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)))


-- Stefan




  parent reply	other threads:[~2014-03-23 22:19 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 [this message]
2014-03-24  2:35       ` Harry Putnam

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=jwvior4k1g0.fsf-monnier+gmane.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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.
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.