GNU bug report logs - #23584
[25.0.94.1] paragraph forward-backward inconsistent

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Fri, 20 May 2016 09:15:02 UTC

Severity: minor

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 23584 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: 23584 <at> debbugs.gnu.org
Subject: Re: bug#23584: [25.0.94.1] paragraph forward-backward inconsistent
Date: Fri, 13 May 2022 15:36:08 +0200
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.