help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make variable-pitch-mode pretty like eww?


From: Michael Heerdegen
Subject: Re: make variable-pitch-mode pretty like eww?
Date: Tue, 07 Jun 2016 00:41:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.94 (gnu/linux)

Rasmus <rasmus@gmx.us> writes:

> Eww is really good at making nice proportional-font "columns".  Is it
> possible to leverage eww’s pixel alignment in "normal" text documents
> when I use variable-pitch-mode?
>
> Preferably, I’d like my align-fill’ed lines to be "reflowed" into nice
> columns.  Alternatively, I could have a single paragraph per line if
> something like visual-line-mode could be tamed to make "reasonable"
> columns, like eww.

That should not be hard, but somebody would have to do it (maybe create
a bug report if none about this exists yet).

What eww does is quite simple: it walks through the text line by
line, looks how wide the text is and adds line breaks etc.  You could
probably reuse most of eww's code.


Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]