unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31544: Emacs 26.1 rc-1 Texinfo View fails to italicize all 6 lines in paragraph
@ 2018-05-21 11:18 Van L
  2018-05-21 16:23 ` Eli Zaretskii
  2018-05-22  2:13 ` Richard Stallman
  0 siblings, 2 replies; 8+ messages in thread
From: Van L @ 2018-05-21 11:18 UTC (permalink / raw)
  To: 31544

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






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#31544: Emacs 26.1 rc-1 Texinfo View fails to italicize all 6 lines in paragraph
  2018-05-21 11:18 bug#31544: Emacs 26.1 rc-1 Texinfo View fails to italicize all 6 lines in paragraph Van L
@ 2018-05-21 16:23 ` Eli Zaretskii
  2018-05-21 23:45   ` Van L
  2018-05-22  2:13 ` Richard Stallman
  1 sibling, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2018-05-21 16:23 UTC (permalink / raw)
  To: Van L; +Cc: 31544

> From: Van L <van@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.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#31544: Emacs 26.1 rc-1 Texinfo View fails to italicize all 6 lines in paragraph
  2018-05-21 16:23 ` Eli Zaretskii
@ 2018-05-21 23:45   ` Van L
  0 siblings, 0 replies; 8+ messages in thread
From: Van L @ 2018-05-21 23:45 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 31544


> 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.






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#31544: Emacs 26.1 rc-1 Texinfo View fails to italicize all 6 lines in paragraph
  2018-05-21 11:18 bug#31544: Emacs 26.1 rc-1 Texinfo View fails to italicize all 6 lines in paragraph Van L
  2018-05-21 16:23 ` Eli Zaretskii
@ 2018-05-22  2:13 ` Richard Stallman
  2018-05-22  2:40   ` Van L
  1 sibling, 1 reply; 8+ messages in thread
From: Richard Stallman @ 2018-05-22  2:13 UTC (permalink / raw)
  To: Van L; +Cc: 31544

[[[ 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)







^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#31544: Emacs 26.1 rc-1 Texinfo View fails to italicize all 6 lines in paragraph
  2018-05-22  2:13 ` Richard Stallman
@ 2018-05-22  2:40   ` Van L
  2018-05-22  4:32     ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Van L @ 2018-05-22  2:40 UTC (permalink / raw)
  To: rms; +Cc: 31544


> 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.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#31544: Emacs 26.1 rc-1 Texinfo View fails to italicize all 6 lines in paragraph
  2018-05-22  2:40   ` Van L
@ 2018-05-22  4:32     ` Eli Zaretskii
  2018-05-28 22:42       ` Noam Postavsky
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2018-05-22  4:32 UTC (permalink / raw)
  To: 31544, van, rms

On May 22, 2018 5:40:18 AM GMT+03:00, Van L <van@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.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#31544: Emacs 26.1 rc-1 Texinfo View fails to italicize all 6 lines in paragraph
  2018-05-22  4:32     ` Eli Zaretskii
@ 2018-05-28 22:42       ` Noam Postavsky
  2022-01-23 13:57         ` bug#31544: texinfo-mode fails to consistently fontify multiline @i{italic text} Lars Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Noam Postavsky @ 2018-05-28 22:42 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: van, 31544, rms

retitle 31544 texinfo-mode fails to consistently fontify multiline @i{italic text}
severity 31544 minor
tags 31544 + confirmed
quit

Eli Zaretskii <eliz@gnu.org> writes:

> On May 22, 2018 5:40:18 AM GMT+03:00, Van L <van@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'.






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#31544: texinfo-mode fails to consistently fontify multiline @i{italic text}
  2018-05-28 22:42       ` Noam Postavsky
@ 2022-01-23 13:57         ` Lars Ingebrigtsen
  0 siblings, 0 replies; 8+ messages in thread
From: Lars Ingebrigtsen @ 2022-01-23 13:57 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: van, 31544, rms

Noam Postavsky <npostavs@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





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-01-23 13:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-21 11:18 bug#31544: Emacs 26.1 rc-1 Texinfo View fails to italicize all 6 lines in paragraph Van L
2018-05-21 16:23 ` Eli Zaretskii
2018-05-21 23:45   ` Van L
2018-05-22  2:13 ` Richard Stallman
2018-05-22  2:40   ` Van L
2018-05-22  4:32     ` Eli Zaretskii
2018-05-28 22:42       ` Noam Postavsky
2022-01-23 13:57         ` bug#31544: texinfo-mode fails to consistently fontify multiline @i{italic text} Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).