GNU bug report logs - #32281
shr.el align support patch

Previous Next

Package: emacs;

Reported by: Bad Blue Bull <ibmbull <at> yandex.ru>

Date: Thu, 26 Jul 2018 14:59:01 UTC

Severity: wishlist

Tags: patch, wontfix

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32281 in the body.
You can then email your comments to 32281 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#32281; Package emacs. (Thu, 26 Jul 2018 14:59:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bad Blue Bull <ibmbull <at> yandex.ru>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 26 Jul 2018 14:59:02 GMT) Full text and rfc822 format available.

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

From: Bad Blue Bull <ibmbull <at> yandex.ru>
To: bug-gnu-emacs <at> gnu.org
Subject: shr.el align support patch
Date: Thu, 26 Jul 2018 17:06:29 +0300
[Message part 1 (text/html, inline)]
[shr.el.diff (text/x-diff, attachment)]
[fill.png (image/png, attachment)]
[no_fill.png (image/png, attachment)]
[shr.el (text/x-lisp, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32281; Package emacs. (Mon, 06 Aug 2018 02:53:02 GMT) Full text and rfc822 format available.

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

From: Noam Postavsky <npostavs <at> gmail.com>
To: Bad Blue Bull <ibmbull <at> yandex.ru>
Cc: 32281 <at> debbugs.gnu.org
Subject: Re: bug#32281: shr.el align support patch
Date: Sun, 05 Aug 2018 22:52:35 -0400
severity 32281 wishlist
tags 32281 + patch
quit

Bad Blue Bull <ibmbull <at> yandex.ru> writes:

> Here's a patch for shr.el that makes it handle "align" attribute for
> headers, paragraphs and lists, works only when monospace font is used
> (becoz of lame implementation of fill-paragraph). Also default value
> of shr-use-fonts set to nil so monospace fonts are used by default.

Seems reasonable overall, but I'm not sure if changing the default is
justified.

> -(defcustom shr-use-fonts t
> +(defcustom shr-use-fonts nil ; set default value to nil because monospace fonts are better for Emacs

Although I do somewhat agree with the "monospace fonts are better for
Emacs" sentiment.

> +(defun shr-fill-paragraph-with-breaks (&optional justify bre-del bre-regexp)
> +  "Fill paragraph at or after point, breaking lines at positions matching regexp argument BRE-REGEXP.
> +If JUSTIFY is non-nil justify as well.
> +Delete matched text if BRE-DEL is non nil
> +BRE-REGEXP must be a regexp that determines positions where to break lines, default value is \\x2028."
> +  (unless bre-regexp (setq bre-regexp "\x2028"))
> +  (setq bre-regexp (concat bre-regexp "\\|\x2029"))
> +  (save-excursion
> +   (let ((line-begin) (paragraph-end))
> +	 (forward-paragraph)
> +	 (insert "\x2029") ; use \x2029 (unicode paragraph separator) to mark end of a paragraph
> +	 (backward-paragraph)
> +	 (setq line-begin (point))
> +	 (while (not paragraph-end)
> +			(re-search-forward bre-regexp)
> +			(if (equal (match-string 0) "\x2029") (setq paragraph-end t)) ; end of paragraph reached
> +			(if (or bre-del paragraph-end) (replace-match ""))
> +			(unless (equal (char-after) ?\n) (insert "\n")) ; I don't know why but two adjacent \n leave an empty line after fill
> +			(fill-region-as-paragraph line-begin (- (point) 1) justify)
> +			(setq line-begin (point)))
> +	 (delete-char -1)
> +	 )))

> +(defun shr-fill-paragraph (dom)
> +  "Fill paragraph"
> +  (when (not shr-use-fonts) ;fill-paragraph is useful only with monospace fonts
> + 	(shr-fill-paragraph-with-breaks
> +	 ((lambda (x)
> +	   (cond
> + 		 ((equal x "right") 'right)
> + 		 ((equal x "center") 'center)
> + 		 ((equal x "left") 'left)
> + 		 ))
> + 	 (cdr (assq 'align (dom-attributes dom)))) ; justify parameter
> +	 t) ; bre-del t
> + 	)
> +  )
> +

>  (defun shr-tag-li (dom)
> @@ -1770,6 +1813,7 @@
>  	(put-text-property start (1+ start) 'shr-prefix-length (length bullet))
>  	(shr-generic dom))))
>    (unless (bolp)
> +	(unless shr-use-fonts (insert "\x2028")) ; insert a line separator
>      (insert "\n")))
>  
>  (defun shr-mark-fill (start)
> @@ -1785,7 +1829,8 @@
>  	     (or (not (bolp))
>  		 (and (> (- (point) 2) (point-min))
>  		      (not (= (char-after (- (point) 2)) ?\n)))))
> -    (insert "\n"))
> +	(unless shr-use-fonts (insert "\x2028")) ; insert a line separator
> +	(insert "\n"))
>    (shr-generic dom))

The indentation in your patch looks kind of off, are you not using
Emacs' builtin auto-indentation?  (also, don't leave hanging parens.)




Severity set to 'wishlist' from 'normal' Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 06 Aug 2018 02:53:02 GMT) Full text and rfc822 format available.

Added tag(s) patch. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 06 Aug 2018 02:53:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32281; Package emacs. (Mon, 06 Aug 2018 15:14:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: ibmbull <at> yandex.ru, 32281 <at> debbugs.gnu.org
Subject: Re: bug#32281: shr.el align support patch
Date: Mon, 06 Aug 2018 18:13:18 +0300
> From: Noam Postavsky <npostavs <at> gmail.com>
> Date: Sun, 05 Aug 2018 22:52:35 -0400
> Cc: 32281 <at> debbugs.gnu.org
> 
> Bad Blue Bull <ibmbull <at> yandex.ru> writes:
> 
> > Here's a patch for shr.el that makes it handle "align" attribute for
> > headers, paragraphs and lists, works only when monospace font is used
> > (becoz of lame implementation of fill-paragraph). Also default value
> > of shr-use-fonts set to nil so monospace fonts are used by default.
> 
> Seems reasonable overall, but I'm not sure if changing the default is
> justified.

And I'm sure it isn't.  Not only do we not change past defaults so
easily, I personally don't think I'd like such a change, or consider
it correct.

> > +  "Fill paragraph at or after point, breaking lines at positions matching regexp argument BRE-REGEXP.

The first line of the doc string should not be longer than 78
characters, and should be a complete sentence.

> > +BRE-REGEXP must be a regexp that determines positions where to break lines, default value is \\x2028."
> > +  (unless bre-regexp (setq bre-regexp "\x2028"))
> > +  (setq bre-regexp (concat bre-regexp "\\|\x2029"))
> > +  (save-excursion
> > +   (let ((line-begin) (paragraph-end))
> > +	 (forward-paragraph)
> > +	 (insert "\x2029") ; use \x2029 (unicode paragraph separator) to mark end of a paragraph

Why did you decide to use u+2028 and u+2029 for these purposes?  Emacs
doesn't yet support these characters as Unicode intended, so using
them might have unexpected effects, and might produce different effect
if we start supporting them in the future.

This needs a NEWS entry, I think.

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32281; Package emacs. (Mon, 06 Aug 2018 17:37:02 GMT) Full text and rfc822 format available.

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

From: Noam Postavsky <npostavs <at> gmail.com>
To: 32281 <at> debbugs.gnu.org
Cc: Bad Blue Bull <ibmbull <at> yandex.ru>
Subject: Re: bug#32281: shr.el align support patch
Date: Mon, 06 Aug 2018 13:36:18 -0400
[Message part 1 (text/plain, inline)]
[forwarding to list, please use "Reply All" to keep 32281 <at> debbugs.gnu.org on Cc]

[Message part 2 (message/rfc822, inline)]
From: Bad Blue Bull <ibmbull <at> yandex.ru>
To: Noam Postavsky <npostavs <at> gmail.com>
Subject: Re: bug#32281: shr.el align support patch
Date: Mon, 06 Aug 2018 16:01:49 +0300
> The indentation in your patch looks kind of off, are you not using
> Emacs' builtin auto-indentation? (also, don't leave hanging parens.)

I have (setq-default lisp-body-indent 2) in my ~/.emacs, things seemed
for me indented like the rest of the source, as for hanging parens -
there's a comment (that though should be put before paren as it relates
to the last argument), it's unnecessary.

As for monospace/proportional fonts: I don't insist on change of
shr-use-fonts default value, paragraph justification won't work with
proportional fonts though.

Current version of shr.el don't fill the text at all and I don't know
maybe smb likes it and won't welcome the change (see pics), although ERC
fills text for example.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32281; Package emacs. (Tue, 07 Aug 2018 00:52:02 GMT) Full text and rfc822 format available.

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

From: Bad Blue Bull <ibmbull <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>,
	Noam Postavsky <npostavs <at> gmail.com>
Cc: "32281 <at> debbugs.gnu.org" <32281 <at> debbugs.gnu.org>
Subject: Re: bug#32281: shr.el align support patch
Date: Tue, 07 Aug 2018 03:51:52 +0300
[Message part 1 (text/html, inline)]
[shr.el.diff (text/x-diff, attachment)]
[shr.el (text/x-lisp, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32281; Package emacs. (Tue, 07 Aug 2018 01:00:02 GMT) Full text and rfc822 format available.

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

From: Bad Blue Bull <ibmbull <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>,
	Noam Postavsky <npostavs <at> gmail.com>
Cc: "32281 <at> debbugs.gnu.org" <32281 <at> debbugs.gnu.org>
Subject: Re: bug#32281: shr.el align support patch
Date: Tue, 07 Aug 2018 03:59:34 +0300
[Message part 1 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32281; Package emacs. (Tue, 07 Aug 2018 02:35:02 GMT) Full text and rfc822 format available.

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

From: Noam Postavsky <npostavs <at> gmail.com>
To: Bad Blue Bull <ibmbull <at> yandex.ru>
Cc: Eli Zaretskii <eliz <at> gnu.org>,
 "32281 <at> debbugs.gnu.org" <32281 <at> debbugs.gnu.org>
Subject: Re: bug#32281: shr.el align support patch
Date: Mon, 06 Aug 2018 22:34:52 -0400
Bad Blue Bull <ibmbull <at> yandex.ru> writes:

>>  The first line of the doc string should not be longer than 78
>>  characters, and should be a complete sentence.
>
> I don't know what do you mean of "complete sentence", docs say it must
> start with a capital letter and end with a period.  First sentence now
> fills 2 lines I know it's not good for apropos, I can edit it again if
> needed.

Yeah, that's all we mean there, the whole sentence (i.e., from capital
letter to period) needs to fit on the first line.

>>  Why did you decide to use u+2028 and u+2029 for these purposes? Emacs
>>  doesn't yet support these characters as Unicode intended, so using
>>  them might have unexpected effects, and might produce different effect
>>  if we start supporting them in the future.
>
> I need to use a character to mark places where lines must be split
> (specified by <br> tags and end of list items), also a character to
> mark end of a paragraph to be filled (a mark can be used for this
> purpose but docs warn against it).
[also quoting clarification from following message]
> This phrase looks confusing, sorry, I meant push-mark can be used for
> this purpose but it's no good.

By "docs warn against it", were you referring to

    Novice Emacs Lisp programmers often try to use the mark for the wrong
    purposes.  See the documentation of ‘set-mark’ for more information.

That's just about using that particular function for non-interactive use
cases.  If it does makes sense to use a mark for this, just don't use
push-mark or set-mark, but rather copy-mark and save the resulting mark
object to a local variable.

> +  (save-excursion
> +   (let ((line-begin) (paragraph-end))
> +	 (forward-paragraph)
> +	 (insert "\x2029") ; use \x2029 (unicode paragraph separator) to mark end
> +					   ; of a paragraph
> +	 (backward-paragraph)
> +	 (setq line-begin (point))
> +	 (while (not paragraph-end)
> +			(re-search-forward bre-regexp)
> +			(if (equal (match-string 0) "\x2029") (setq paragraph-end t))
> +										; end of paragraph reached
> +			(if (or bre-del paragraph-end) (replace-match ""))
> +			(unless (equal (char-after) ?\n) (insert "\n"))
> +										; I don't know why but two adjacent \n
> +										; leave an empty line after fill
> +			(fill-region-as-paragraph line-begin (- (point) 1)
> +			justify)
> +			(setq line-begin (point)))
> +	 (delete-char -1))))

Regarding the indentation, here's what I get after running indent-region
over the above code:

  (save-excursion
    (let ((line-begin) (paragraph-end))
      (forward-paragraph)
      (insert "\x2029") ; use \x2029 (unicode paragraph separator) to mark end
                                        ; of a paragraph
      (backward-paragraph)
      (setq line-begin (point))
      (while (not paragraph-end)
        (re-search-forward bre-regexp)
        (if (equal (match-string 0) "\x2029") (setq paragraph-end t))
                                        ; end of paragraph reached
        (if (or bre-del paragraph-end) (replace-match ""))
        (unless (equal (char-after) ?\n) (insert "\n"))
                                        ; I don't know why but two adjacent \n
                                        ; leave an empty line after fill
        (fill-region-as-paragraph line-begin (- (point) 1)
                                  justify)
        (setq line-begin (point)))
      (delete-char -1)))

Notice especially the difference in the while loop body.  You mentioned
lisp-body-indent, but that only affects indentation increase after a
defun line.  I do see that your indentation after the let seems to be
based on 4-space tabs, but Emacs uses 8-space tabs.  If you could set
indent-tabs-mode to nil (which is what the .dir-locals in the git
repository does), that would take care of it regardless.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32281; Package emacs. (Tue, 07 Aug 2018 15:09:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Bad Blue Bull <ibmbull <at> yandex.ru>
Cc: npostavs <at> gmail.com, 32281 <at> debbugs.gnu.org
Subject: Re: bug#32281: shr.el align support patch
Date: Tue, 07 Aug 2018 18:07:50 +0300
> From: Bad Blue Bull <ibmbull <at> yandex.ru>
> Cc: "32281 <at> debbugs.gnu.org" <32281 <at> debbugs.gnu.org>
> Date: Tue, 07 Aug 2018 03:51:52 +0300
> 
>  Why did you decide to use u+2028 and u+2029 for these purposes? Emacs
>  doesn't yet support these characters as Unicode intended, so using
>  them might have unexpected effects, and might produce different effect
>  if we start supporting them in the future.
> 
> I need to use a character to mark places where lines must be split (specified by <br> tags and end of list
> items), also a character to mark end of a paragraph to be filled (a mark can be used for this purpose but docs
> warn against it). These chars will be removed when a paragraph gets filled, I don't see them cause any trouble
> in the future and those values can easily be altered to diffirent ones if it happens.

I'm not sure I understand why you needed a character for that role.
fill-region-as-paragraph accepts buffer positions, and
re-search-forward can be told not to search beyond a certain buffer
position.  So you should be able to record the positions in some
variables, and use them instead of inserting characters that need to
be deleted afterwards.

The disadvantage of inserting characters that were not there in the
first place is that if the user types C-g at some unfortunate moment,
these characters might be left in the buffer (unless you complicate
the code by arranging for them to be deleted in that case).  Using
buffer positions avoids all those complications.

Am I missing some reason why you needed characters as markers?

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32281; Package emacs. (Tue, 07 Aug 2018 16:56:01 GMT) Full text and rfc822 format available.

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

From: Bad Blue Bull <ibmbull <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: "npostavs <at> gmail.com" <npostavs <at> gmail.com>,
 "32281 <at> debbugs.gnu.org" <32281 <at> debbugs.gnu.org>
Subject: Re: bug#32281: shr.el align support patch
Date: Tue, 07 Aug 2018 19:54:58 +0300
[Message part 1 (text/html, inline)]
[test.jpg (image/jpeg, attachment)]
[test_ff.jpg (image/jpeg, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32281; Package emacs. (Tue, 07 Aug 2018 17:12:02 GMT) Full text and rfc822 format available.

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

From: Bad Blue Bull <ibmbull <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: "npostavs <at> gmail.com" <npostavs <at> gmail.com>,
 "32281 <at> debbugs.gnu.org" <32281 <at> debbugs.gnu.org>
Subject: Re: bug#32281: shr.el align support patch
Date: Tue, 07 Aug 2018 20:11:00 +0300
[Message part 1 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32281; Package emacs. (Tue, 07 Aug 2018 17:20:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Bad Blue Bull <ibmbull <at> yandex.ru>
Cc: npostavs <at> gmail.com, 32281 <at> debbugs.gnu.org
Subject: Re: bug#32281: shr.el align support patch
Date: Tue, 07 Aug 2018 20:19:00 +0300
> From: Bad Blue Bull <ibmbull <at> yandex.ru>
> Cc: "npostavs <at> gmail.com" <npostavs <at> gmail.com>,
> 	"32281 <at> debbugs.gnu.org" <32281 <at> debbugs.gnu.org>
> Date: Tue, 07 Aug 2018 19:54:58 +0300
> 
> I've escaped using of paragraph separator symbol by using narrowing

That's also fine.

> (can't just use constant position as
> fill-region-as-paragraph will change the text before it and it won't correspond the end of paragraph anymore).

We have markers for that.  But if narrowing solves your problem, it's
okay to use that.

> Using a marker symbol to mark line breaks is still necessary, any attempt to avoid it would lead to ridicously
> complicated solution.

Can you explain why?  I still don't think I understand.

> fill-region-as-paragraph disregards fill-collumn when aligns pic, all I can do is not to justify images at all (but I'm
> really puzzled how to do it, I could use other marker just to determine where image starts and ends and skip
> that region, but since you're against such approach... )
> Justification is badly implemented in fill, it's useless for proportional fonts and you can see it's bad for images
> too. TBH would be good to make fill.el just ignore justify in such cases (maybe giving a warning message).

To support proportional fonts, we need:

  . convert all the calculations to work in pixels instead of in
    columns (or, equivalently, in units of the canonical character
    width, in which case you then must use floating-point values)
  . put on some (or all?) SPC characters a :width display property,
    with the suitably calculated width in pixels

The infrastructure for all of that already exists, it's just a matter
of coding.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32281; Package emacs. (Tue, 07 Aug 2018 18:16:02 GMT) Full text and rfc822 format available.

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

From: Bad Blue Bull <ibmbull <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: "npostavs <at> gmail.com" <npostavs <at> gmail.com>,
 "32281 <at> debbugs.gnu.org" <32281 <at> debbugs.gnu.org>
Subject: Re: bug#32281: shr.el align support patch
Date: Tue, 07 Aug 2018 21:15:20 +0300
[Message part 1 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32281; Package emacs. (Tue, 07 Aug 2018 18:16:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Bad Blue Bull <ibmbull <at> yandex.ru>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Noam Postavsky <npostavs <at> gmail.com>,
 "32281 <at> debbugs.gnu.org" <32281 <at> debbugs.gnu.org>
Subject: Re: bug#32281: shr.el align support patch
Date: Tue, 07 Aug 2018 20:15:36 +0200
Bad Blue Bull <ibmbull <at> yandex.ru> writes:

> +			(fill-region-as-paragraph line-begin (- (point) 1)

My guess is that this would be so slow as to make shr/eww unusable on
typical pages.

shr lives within the constraints of being written in a slow language
(Emacs Lisp) and eschews features that makes it too slow for normal
usage.  There's a gazillion rendering features we could add, but we
haven't because it's not practical within normal timing constraints.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32281; Package emacs. (Tue, 07 Aug 2018 19:58:01 GMT) Full text and rfc822 format available.

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

From: Bad Blue Bull <ibmbull <at> yandex.ru>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Noam Postavsky <npostavs <at> gmail.com>,
 "32281 <at> debbugs.gnu.org" <32281 <at> debbugs.gnu.org>
Subject: Re: bug#32281: shr.el align support patch
Date: Tue, 07 Aug 2018 22:56:57 +0300
[Message part 1 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32281; Package emacs. (Fri, 10 Aug 2018 00:13:01 GMT) Full text and rfc822 format available.

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

From: Noam Postavsky <npostavs <at> gmail.com>
To: Bad Blue Bull <ibmbull <at> yandex.ru>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>,
 "32281 <at> debbugs.gnu.org" <32281 <at> debbugs.gnu.org>
Subject: Re: bug#32281: shr.el align support patch
Date: Thu, 09 Aug 2018 20:12:14 -0400
tags 32281 wontfix
close 32281
quit

Bad Blue Bull <ibmbull <at> yandex.ru> writes:

> Lars Ingebrigtsen yeah I knew you'd say smth like that :-)
> I wanted to make Emacs view fb2 files (ebooks), and I wanted to
> convert them into HTML and view them in EWW, but I've just found out
> that nov.el is a great package that displays epub files and I'll
> rather convert fb2 files to epub and view them in it.
> So I withdraw this patch, can't say it was somehow slow on pages I tested though.

Okay, I'll close the bug then.

By the way, it seems to me there was some miscommunication over the term
"marker": you were using it to describe actual characters inserted into
the buffer, but you might want to take a look at `(elisp) Markers' which
can be used to similar effect but without actual characters cluttering
things up.





Added tag(s) wontfix. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 10 Aug 2018 00:13:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 32281 <at> debbugs.gnu.org and Bad Blue Bull <ibmbull <at> yandex.ru> Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 10 Aug 2018 00:13:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 07 Sep 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.