all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: help-gnu-emacs@gnu.org
Subject: Re: make variable-pitch-mode pretty like eww?
Date: Tue, 07 Jun 2016 11:16:30 +0200	[thread overview]
Message-ID: <877fe12wb5.fsf@gmx.us> (raw)
In-Reply-To: 87poru7xer.fsf@web.de

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	other threads:[~2016-06-07  9:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-03 21:49 make variable-pitch-mode pretty like eww? Rasmus
2016-06-06 22:41 ` Michael Heerdegen
2016-06-07  9:16   ` Rasmus [this message]
2016-06-07 15:07     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877fe12wb5.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.