From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: make variable-pitch-mode pretty like eww? Date: Tue, 07 Jun 2016 18:07:52 +0300 Message-ID: <83inxlrq9j.fsf@gnu.org> References: <87a8j2vt6q.fsf@pank.eu> <87poru7xer.fsf@web.de> <877fe12wb5.fsf@gmx.us> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1465312335 18901 80.91.229.3 (7 Jun 2016 15:12:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jun 2016 15:12:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 07 17:12:11 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bAIfq-0002lh-U4 for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Jun 2016 17:12:11 +0200 Original-Received: from localhost ([::1]:50851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAIfq-0003ml-2q for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Jun 2016 11:12:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAIbD-00009f-Fm for help-gnu-emacs@gnu.org; Tue, 07 Jun 2016 11:07:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAIb8-0002BC-B4 for help-gnu-emacs@gnu.org; Tue, 07 Jun 2016 11:07:22 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAIb8-0002Au-7q for help-gnu-emacs@gnu.org; Tue, 07 Jun 2016 11:07:18 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4648 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bAIb6-0007Gb-6V for help-gnu-emacs@gnu.org; Tue, 07 Jun 2016 11:07:16 -0400 In-reply-to: <877fe12wb5.fsf@gmx.us> (message from Rasmus on Tue, 07 Jun 2016 11:16:30 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110362 Archived-At: > From: Rasmus > Date: Tue, 07 Jun 2016 11:16:30 +0200 > > > 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? I'd suggest to start at shr-fill-lines.