unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Multi-column layouts and line heights
@ 2015-02-09  9:21 Lars Ingebrigtsen
  2015-02-09 14:25 ` Stefan Monnier
  2015-02-09 15:43 ` Eli Zaretskii
  0 siblings, 2 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2015-02-09  9:21 UTC (permalink / raw)
  To: emacs-devel

Take a look at the layout here:

http://lars.ingebrigtsen.no/2015/02/09/eww-not-can-haz-different-line-pitch/

Is there any way to work around that problem?  I would guess not, but
I've been wrong about lots of things before.  :-)

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




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

* Re: Multi-column layouts and line heights
  2015-02-09  9:21 Multi-column layouts and line heights Lars Ingebrigtsen
@ 2015-02-09 14:25 ` Stefan Monnier
  2015-02-10  4:52   ` Lars Ingebrigtsen
  2015-02-09 15:43 ` Eli Zaretskii
  1 sibling, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2015-02-09 14:25 UTC (permalink / raw)
  To: emacs-devel

> Take a look at the layout here:
> http://lars.ingebrigtsen.no/2015/02/09/eww-not-can-haz-different-line-pitch/
> Is there any way to work around that problem?  I would guess not, but
> I've been wrong about lots of things before.  :-)

Yes, that's one other problem among yet more (e.g. selecting text in
a column won't behave as the user expects).

I don't see how this can be fixed without deep changes in the redisplay.


        Stefan



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

* Re: Multi-column layouts and line heights
  2015-02-09  9:21 Multi-column layouts and line heights Lars Ingebrigtsen
  2015-02-09 14:25 ` Stefan Monnier
@ 2015-02-09 15:43 ` Eli Zaretskii
  1 sibling, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2015-02-09 15:43 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: emacs-devel

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Mon, 09 Feb 2015 20:21:10 +1100
> 
> Take a look at the layout here:
> 
> http://lars.ingebrigtsen.no/2015/02/09/eww-not-can-haz-different-line-pitch/

Took me a while and several readings of your comment to even notice
the problem.

> Is there any way to work around that problem?  I would guess not, but
> I've been wrong about lots of things before.  :-)

Yes, it's a fundamental limitation of the current display engine: each
screen line (a.k.a. "glyph row") goes all the way from the left edge
of the window to its right edge.  The height of each screen line is
determined by the height of the largest glyph on that line.

In a nutshell, the display engine lays out each window on a
rectangular canvas (known as a "glyph matrix").

Again, I don't think the problem is so grave.  You will have the same
problem if some of the lines use unusual characters displayed with
other fonts.  There's nothing new here that Emacs users aren't seeing
already.



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

* Re: Multi-column layouts and line heights
  2015-02-09 14:25 ` Stefan Monnier
@ 2015-02-10  4:52   ` Lars Ingebrigtsen
  2015-02-10  9:29     ` Rasmus
  2015-02-10 15:49     ` Eli Zaretskii
  0 siblings, 2 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2015-02-10  4:52 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:

> Yes, that's one other problem among yet more (e.g. selecting text in
> a column won't behave as the user expects).

When using fixed-width text aligned by spaces, you could (sort of) work
around this by using `C-x r k'.  shr has now switched to using display
specs with :align-to, and that makes `C-x r k' not work very well.

I don't know whether that's a bug in `C-x r k', though...

One additional detail when using variable-width HTML rendering in
email -- if you're responding to something that's been filled as
variable-width, then that filling in the quoted text will look really
bad as fixed-width.

Perhaps Message should respond to HTML mail as HTML.  :-)

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



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

* Re: Multi-column layouts and line heights
  2015-02-10  4:52   ` Lars Ingebrigtsen
@ 2015-02-10  9:29     ` Rasmus
  2015-02-10 15:49     ` Eli Zaretskii
  1 sibling, 0 replies; 6+ messages in thread
From: Rasmus @ 2015-02-10  9:29 UTC (permalink / raw)
  To: emacs-devel

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Perhaps Message should respond to HTML mail as HTML.  :-)

The Times They Are a-Changin'.

Better html support would be nice, e.g. when sending emails with pictures.

—Rasmus

-- 
. . . It begins of course with The Internet.  A Net of Peers




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

* Re: Multi-column layouts and line heights
  2015-02-10  4:52   ` Lars Ingebrigtsen
  2015-02-10  9:29     ` Rasmus
@ 2015-02-10 15:49     ` Eli Zaretskii
  1 sibling, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2015-02-10 15:49 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: monnier, emacs-devel

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Tue, 10 Feb 2015 15:52:31 +1100
> Cc: emacs-devel@gnu.org
> 
> Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
> 
> > Yes, that's one other problem among yet more (e.g. selecting text in
> > a column won't behave as the user expects).
> 
> When using fixed-width text aligned by spaces, you could (sort of) work
> around this by using `C-x r k'.  shr has now switched to using display
> specs with :align-to, and that makes `C-x r k' not work very well.
> 
> I don't know whether that's a bug in `C-x r k', though...

I think it's a bug in "C-x r k", yes: it uses current-column instead
of something like posn-at-point.



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

end of thread, other threads:[~2015-02-10 15:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-09  9:21 Multi-column layouts and line heights Lars Ingebrigtsen
2015-02-09 14:25 ` Stefan Monnier
2015-02-10  4:52   ` Lars Ingebrigtsen
2015-02-10  9:29     ` Rasmus
2015-02-10 15:49     ` Eli Zaretskii
2015-02-09 15:43 ` 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).