* paragraph formatting/filling in html-helper-mode
@ 2009-10-11 17:18 ken
2009-10-18 13:21 ` paragraph formatting/filling in html-helper-mode -- solution ken
0 siblings, 1 reply; 2+ messages in thread
From: ken @ 2009-10-11 17:18 UTC (permalink / raw)
To: GNU Emacs List
<p>Since upgrading emacs I've encountered a couple problems with
paragraph filling in html-helper-mode. When I'm typing up a paragraph
such as this one, and auto-fill is on, when I get to the end of a line,
a space is automatically inserted into the first column of the next
line as shown here.
</p>
<p>A second problem, also beginning with my recent emacs upgrade, is
that, if I hit M-q to reformat the paragraph the "</p>" tag (which was
formerly indented by one space, as shown in the paragraph above) is
pulled up into the body of the paragraph so that it becomes part of the
paragraph's final line (as here). </p>
<p>What I would like to have back is the previous behavior for paragraph
filling, as shown in this paragraph: there's no space character
inserted at the begin of every line and the closing paragraph tag
(</p>) stays where it is: below the paragraph's last line and indented
one space.
</p>
Thanks for any help with this.
--
War is a failure of the imagination.
--William Blake
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: paragraph formatting/filling in html-helper-mode -- solution
2009-10-11 17:18 paragraph formatting/filling in html-helper-mode ken
@ 2009-10-18 13:21 ` ken
0 siblings, 0 replies; 2+ messages in thread
From: ken @ 2009-10-18 13:21 UTC (permalink / raw)
To: GNU Emacs List
Since no one here seemed to have a solution to this previously posted
issue, I played around with a compromise solution, i.e., changing the
value of paragraph-separate from its default to " +</". I did this by
executing
(setq paragraph-separate " +</")
in a buffer. After this, a paragraph which looked like the first or the
third one below, when C-q was run on it, would stay as it was and
wouldn't be reformatted into what the second paragraph looks like, i.e.,
pretty much what I was wanting (and which I like better than the
default behavior).
So that setq line is what I'm putting into my ~.emacs ... I'm posting
this to be of assistance to anyone else who is looking for the same
solution.
On 10/11/2009 01:18 PM ken wrote:
> <p>Since upgrading emacs I've encountered a couple problems with
> paragraph filling in html-helper-mode. When I'm typing up a paragraph
> such as this one, and auto-fill is on, when I get to the end of a line,
> a space is automatically inserted into the first column of the next
> line as shown here.
> </p>
>
> <p>A second problem, also beginning with my recent emacs upgrade, is
> that, if I hit M-q to reformat the paragraph the "</p>" tag (which was
> formerly indented by one space, as shown in the paragraph above) is
> pulled up into the body of the paragraph so that it becomes part of the
> paragraph's final line (as here). </p>
>
> <p>What I would like to have back is the previous behavior for paragraph
> filling, as shown in this paragraph: there's no space character
> inserted at the begin of every line and the closing paragraph tag
> (</p>) stays where it is: below the paragraph's last line and indented
> one space.
> </p>
>
>
> Thanks for any help with this.
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-18 13:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-11 17:18 paragraph formatting/filling in html-helper-mode ken
2009-10-18 13:21 ` paragraph formatting/filling in html-helper-mode -- solution ken
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).