GNU bug report logs -
#23584
[25.0.94.1] paragraph forward-backward inconsistent
Previous Next
Full log
View this message in rfc822 format
Andreas Röhler <andreas.roehler <at> easy-emacs.de> writes:
> Put text at end of mail in html-mode. It should consist of two lines,
> contain a newline before last line. Cursor at "href=" at last
> line. M-x backward-paragraph RET jumps to BOB. While from BOB M-x
> forward-paragraph RET would stop at BOL of last-line, i.e. before
> start-pos.
>
> AFAIU cause is in sgml-mode.el
>
> Where values of (defconst sgml-name-re "[_:[:alpha:]][-_.:[:alnum:]]*")
>
> later on are included
>
> (setq-local paragraph-start (concat "[ \t]*$\\|\
> [ \t]*</?\\(" sgml-name-re sgml-attrs-re "\\)?>"))
> (setq-local paragraph-separate (concat paragraph-start "$"))
(I'm going through old bug reports that unfortunately weren't resolved
at the time.)
I'm not quite sure I understand the recipe here, but you mention that
the HTML should be two lines -- but the included HTML text was many
lines long, so I guess it's been mangled in transmission.
To ensure that I'm looking at the same thing you're looking at, can you
resend the HTML as an attachment?
(That is, if this problem is still present in recent Emacs versions.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 2 years and 342 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.