* bug#23584: [25.0.94.1] paragraph forward-backward inconsistent
@ 2016-05-20 9:17 Andreas Röhler
2022-05-13 13:36 ` Lars Ingebrigtsen
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Röhler @ 2016-05-20 9:17 UTC (permalink / raw)
To: 23584
GNU Emacs 25.0.94.1 (i686-pc-linux-gnu, GTK+ Version 2.24.25) of 2016-05-18
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 "$"))
;;;;;;;;
<link rel="search" type="application/opensearchdescription+xml"
href="https://www.youtube.com/opensearch?locale=en_US" title="YouTube
Video Search"><link rel="shortcut icon"
href="https://s.ytimg.com/yts/img/favicon-vflz7uhzw.ico"
type="image/x-icon"> <link rel="icon"
href="//s.ytimg.com/yts/img/favicon_32-vfl8UGn4k.png"
sizes="32x32"><link rel="icon"
href="//s.ytimg.com/yts/img/favicon_48-vfl1s0rKh.png"
sizes="48x48"><link rel="icon"
href="//s.ytimg.com/yts/img/favicon_96-vfldSA3ca.png"
sizes="96x96"><link rel="icon"
href="//s.ytimg.com/yts/img/favicon_144-vflWmzoXw.png"
sizes="144x144"><meta name="theme-color" content="#e62117"> <link
rel="alternate"
href="android-app://com.google.android.youtube/http/www.youtube.com/watch?v=sP933gIjwUA">
<link rel="alternate"
href="ios-app://544007664/vnd.youtube/www.youtube.com/watch?v=sP933gIjwUA">
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#23584: [25.0.94.1] paragraph forward-backward inconsistent
2016-05-20 9:17 bug#23584: [25.0.94.1] paragraph forward-backward inconsistent Andreas Röhler
@ 2022-05-13 13:36 ` Lars Ingebrigtsen
2022-06-11 11:08 ` Lars Ingebrigtsen
0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-13 13:36 UTC (permalink / raw)
To: Andreas Röhler; +Cc: 23584
Andreas Röhler <andreas.roehler@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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#23584: [25.0.94.1] paragraph forward-backward inconsistent
2022-05-13 13:36 ` Lars Ingebrigtsen
@ 2022-06-11 11:08 ` Lars Ingebrigtsen
0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-11 11:08 UTC (permalink / raw)
To: Andreas Röhler; +Cc: 23584
Lars Ingebrigtsen <larsi@gnus.org> writes:
> 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.)
More information was requested, but no response was given within a
month, so I'm closing this bug report. If the problem still exists,
please respond to this email and we'll reopen the bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-06-11 11:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-20 9:17 bug#23584: [25.0.94.1] paragraph forward-backward inconsistent Andreas Röhler
2022-05-13 13:36 ` Lars Ingebrigtsen
2022-06-11 11:08 ` Lars Ingebrigtsen
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.