GNU bug report logs - #31544
texinfo-mode fails to consistently fontify multiline @i{italic text}

Previous Next

Package: emacs;

Reported by: Van L <van <at> scratch.space>

Date: Mon, 21 May 2018 11:20:01 UTC

Severity: minor

Tags: confirmed

To reply to this bug, email your comments to 31544 AT debbugs.gnu.org.

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#31544; Package emacs. (Mon, 21 May 2018 11:20:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Van L <van <at> scratch.space>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 21 May 2018 11:20:01 GMT) Full text and rfc822 format available.

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

From: Van L <van <at> scratch.space>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs 26.1 rc-1 Texinfo View fails to italicize all 6 lines in
 paragraph
Date: Mon, 21 May 2018 21:18:57 +1000
Hello.

In the quotation, the second paragraph should italicize all 6 lines.

That is, the paragraph: ``When I get to the end of a paragraph,…''

The Texinfo View on file emacs-lisp-intro.texi italicizes 2 of 6 lines.

  #+NAME: emacs-lisp-intro.texi
  #+BEGIN_SRC texi -n 827

    An expert programmer who reviewed this text said to me:

    @quotation
    @i{I prefer to learn from reference manuals.  I ``dive into'' each
    paragraph, and ``come up for air'' between paragraphs.}

    @i{When I get to the end of a paragraph, I assume that subject is
    done, finished, that I know everything I need (with the
    possible exception of the case when the next paragraph starts talking
    about it in more detail).  I expect that a well written reference manual
    will not have a lot of redundancy, and that it will have excellent
    pointers to the (one) place where the information I want is.}
    @end quotation

    This introduction is not written for this person!

  #+END_SRC





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31544; Package emacs. (Mon, 21 May 2018 16:24:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Van L <van <at> scratch.space>
Cc: 31544 <at> debbugs.gnu.org
Subject: Re: bug#31544: Emacs 26.1 rc-1 Texinfo View fails to italicize all 6
 lines in paragraph
Date: Mon, 21 May 2018 19:23:12 +0300
> From: Van L <van <at> scratch.space>
> Date: Mon, 21 May 2018 21:18:57 +1000
> 
> In the quotation, the second paragraph should italicize all 6 lines.

And it is all in italics in this version:

  https://www.gnu.org/software/emacs/manual/pdf/eintr.pdf

Or maybe I misunderstand your report?

> That is, the paragraph: ``When I get to the end of a paragraph,…''

Not sure I understand this part.

> The Texinfo View on file emacs-lisp-intro.texi italicizes 2 of 6 lines.

What is "Texinfo View"?  If I visit the Texinfo source in Emacs, I
also see the entire quotation italicized.  If that's what you meant by
"Texinfo View", then maybe you are using a version of Emacs other than
26.1-RC1?

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31544; Package emacs. (Mon, 21 May 2018 23:46:01 GMT) Full text and rfc822 format available.

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

From: Van L <van <at> scratch.space>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 31544 <at> debbugs.gnu.org
Subject: Re: bug#31544: Emacs 26.1 rc-1 Texinfo View fails to italicize all 6
 lines in paragraph
Date: Tue, 22 May 2018 09:45:19 +1000
> Eli Zaretskii writes:
> 
> Or maybe I misunderstand your report?
> 
>> That is, the paragraph: ``When I get to the end of a paragraph,…''
> 
> Not sure I understand this part.
> 
>> The Texinfo View on file emacs-lisp-intro.texi italicizes 2 of 6 lines.
> 
> What is "Texinfo View"?  If I visit the Texinfo source in Emacs, I
> also see the entire quotation italicized.  If that's what you meant by
> "Texinfo View", then maybe you are using a version of Emacs other than
> 26.1-RC1?

The line in `list-buffers’ refers to the file, as follows:

: %  emacs-lisp-intro....  765330 Texinfo          /Volumes/2018-s/Sources/GNU/emacs/doc/lispintro/emacs-lisp-intro.texi

if I close the file then see the [(Dired by name)] view of lispintro directory and press `v’ for view over the file `emacs-lisp-intro.texi’ it has [(Texinfo View)] and I use `s-l’ for goto-line 823 and this time only 1 of 6 lines is italicized.

Note, however, if I search down for the leading line to the paragraph instead of goto-line then the whole paragraph is italicized as expected.

See: 

http://emacs.scratch.space/public/.splash-plus-elisp-intro-texi_m.jpg

Screenshot confirms Emacs 26.1 version and inadequate italicization.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31544; Package emacs. (Tue, 22 May 2018 02:15:01 GMT) Full text and rfc822 format available.

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

From: Richard Stallman <rms <at> gnu.org>
To: Van L <van <at> scratch.space>
Cc: 31544 <at> debbugs.gnu.org
Subject: Re: bug#31544: Emacs 26.1 rc-1 Texinfo View fails to italicize all 6
 lines in paragraph
Date: Mon, 21 May 2018 22:13:58 -0400
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

      > @i{When I get to the end of a paragraph, I assume that subject is
      > done, finished, that I know everything I need (with the
      > possible exception of the case when the next paragraph starts talking
      > about it in more detail).

I think that is not a bug.
We don't follow a rule to write that way.

-- 
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31544; Package emacs. (Tue, 22 May 2018 02:41:02 GMT) Full text and rfc822 format available.

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

From: Van L <van <at> scratch.space>
To: rms <at> gnu.org
Cc: 31544 <at> debbugs.gnu.org
Subject: Re: bug#31544: Emacs 26.1 rc-1 Texinfo View fails to italicize all 6
 lines in paragraph
Date: Tue, 22 May 2018 12:40:18 +1000
> Richard Stallman writes:
> 
>> about it in more detail).
> 
> I think that is not a bug.
> We don't follow a rule to write that way.

The bug surfaces to occasionally cause the failure to present the content as all italicized within texi file's @i{} block.



Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31544; Package emacs. (Tue, 22 May 2018 04:34:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org,Van L <van <at> scratch.space>,rms <at> gnu.org
Cc: 31544 <at> debbugs.gnu.org
Subject: Re: bug#31544: Emacs 26.1 rc-1 Texinfo View fails to italicize all
 6	lines in paragraph
Date: Tue, 22 May 2018 07:32:42 +0300
On May 22, 2018 5:40:18 AM GMT+03:00, Van L <van <at> scratch.space> wrote:
> 
> > Richard Stallman writes:
> > 
> >> about it in more detail).
> > 
> > I think that is not a bug.
> > We don't follow a rule to write that way.
> 
> The bug surfaces to occasionally cause the failure to present the
> content as all italicized within texi file's @i{} block.

Thanks, this is unrelated to the manual.  It's some subtle problem with
JIT font-lock in that place.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31544; Package emacs. (Tue, 22 May 2018 04:34:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31544; Package emacs. (Mon, 28 May 2018 22:43:01 GMT) Full text and rfc822 format available.

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

From: Noam Postavsky <npostavs <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: van <at> scratch.space, 31544 <at> debbugs.gnu.org, rms <at> gnu.org
Subject: Re: bug#31544: Emacs 26.1 rc-1 Texinfo View fails to italicize all
 6	lines in paragraph
Date: Mon, 28 May 2018 18:42:14 -0400
retitle 31544 texinfo-mode fails to consistently fontify multiline @i{italic text}
severity 31544 minor
tags 31544 + confirmed
quit

Eli Zaretskii <eliz <at> gnu.org> writes:

> On May 22, 2018 5:40:18 AM GMT+03:00, Van L <van <at> scratch.space> wrote:
>> 
>> The bug surfaces to occasionally cause the failure to present the
>> content as all italicized within texi file's @i{} block.
>
> Thanks, this is unrelated to the manual.  It's some subtle problem with
> JIT font-lock in that place.

I think the problem is that texinfo-mode doesn't follow the advice in
`(elisp) Multiline Font Lock'.





Changed bug title to 'texinfo-mode fails to consistently fontify multiline @i{italic text}' from 'Emacs 26.1 rc-1 Texinfo View fails to italicize all 6 lines in paragraph' Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 28 May 2018 22:43:02 GMT) Full text and rfc822 format available.

Severity set to 'minor' from 'normal' Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 28 May 2018 22:43:02 GMT) Full text and rfc822 format available.

Added tag(s) confirmed. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 28 May 2018 22:43:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31544; Package emacs. (Sun, 23 Jan 2022 13:58:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: van <at> scratch.space, Eli Zaretskii <eliz <at> gnu.org>, 31544 <at> debbugs.gnu.org,
 rms <at> gnu.org
Subject: Re: bug#31544: texinfo-mode fails to consistently fontify multiline
 @i{italic text}
Date: Sun, 23 Jan 2022 14:57:32 +0100
Noam Postavsky <npostavs <at> gmail.com> writes:

>> Thanks, this is unrelated to the manual.  It's some subtle problem with
>> JIT font-lock in that place.
>
> I think the problem is that texinfo-mode doesn't follow the advice in
> `(elisp) Multiline Font Lock'.

Hm...  I seem to be unable to reproduce the problem, but perhaps it is
intermittent?  Or has it been fixed in the years since it was reported?
(I don't see anything obvious in the texinfo-mode vc logs...)

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




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 23 Jan 2022 13:58:02 GMT) Full text and rfc822 format available.

Removed tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 21 Feb 2022 14:24:01 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 121 days ago.

Previous Next


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