unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#29594: Emacs 26 -- xdisp.c:21657 OR xdisp.c:21671?
@ 2017-12-06 21:49 Keith David Bershatsky
  2017-12-09 12:51 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Keith David Bershatsky @ 2017-12-06 21:49 UTC (permalink / raw)
  To: 29594

In the Emacs 26 branch downloaded this morning, I see:

xdisp.c:21657
it->continuation_lines_width += wrap_x;

and, I see:

xdisp.c:21671
it->continuation_lines_width += x;

If only one of these is needed, then it may be appropriate to remove whichever one is not needed.  I understand that the second occurrence supersedes the first occurrence in this section of code, but it would be cleaner if there were only one setting.  If both occurrences are needed, then perhaps a comment in the code at that particular location would be helpful.

There is an ongoing thread on Emacs Devel relating to this section of code (among one other location) affecting the calculation of it->pixel_width at xdisp.c:28212; however, that discussion may or may not yet be ripe for a bug report:

https://lists.gnu.org/archive/html/emacs-devel/2017-12/msg00209.html

Thanks,

Keith





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

end of thread, other threads:[~2017-12-09 12:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-06 21:49 bug#29594: Emacs 26 -- xdisp.c:21657 OR xdisp.c:21671? Keith David Bershatsky
2017-12-09 12:51 ` Eli Zaretskii

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