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: Rasmus
Subject: Re: make variable-pitch-mode pretty like eww?
Date: Tue, 07 Jun 2016 11:16:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Michael Heerdegen <michael_heerdegen@web.de> writes:

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

Do you know which are the key functions to examine to get started?

Thanks,
Rasmus

-- 
To err is human. To screw up 10⁶ times per second, you need a computer




reply via email to

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