From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel,gmane.emacs.orgmode Subject: Re: format text in TreeWidget. Date: Mon, 10 Jan 2011 16:10:49 -0500 Message-ID: <878vysihwm.fsf@stupidchicken.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1294693872 17936 80.91.229.12 (10 Jan 2011 21:11:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 10 Jan 2011 21:11:12 +0000 (UTC) Cc: emacs-orgmode@gnu.org, Emacs Dev To: Alin Soare Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 10 22:11:07 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PcP15-0006bx-UE for ged-emacs-devel@m.gmane.org; Mon, 10 Jan 2011 22:11:04 +0100 Original-Received: from localhost ([127.0.0.1]:37792 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcP15-0004ok-1d for ged-emacs-devel@m.gmane.org; Mon, 10 Jan 2011 16:11:03 -0500 Original-Received: from [140.186.70.92] (port=33432 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcP0w-0004m5-Tv for emacs-devel@gnu.org; Mon, 10 Jan 2011 16:10:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PcP0w-0006vq-4R for emacs-devel@gnu.org; Mon, 10 Jan 2011 16:10:54 -0500 Original-Received: from vm-emlprdomr-04.its.yale.edu ([130.132.50.145]:50229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PcP0u-0006vF-1L; Mon, 10 Jan 2011 16:10:52 -0500 Original-Received: from furball (dhcp128036014187.central.yale.edu [128.36.14.187]) (authenticated bits=0) by vm-emlprdomr-04.its.yale.edu (8.14.4/8.14.4) with ESMTP id p0ALAnuE031866 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 10 Jan 2011 16:10:50 -0500 Original-Received: by furball (Postfix, from userid 1000) id 90EF716201B; Mon, 10 Jan 2011 16:10:49 -0500 (EST) In-Reply-To: (Alin Soare's message of "Mon, 10 Jan 2011 22:53:53 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.145 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:134417 gmane.emacs.orgmode:35939 Archived-At: Alin Soare writes: > |- aaaaaaaaaaaaaaaaaaa > |=C2=A0 aaaaaaaaaaaaaaaaaaa > |- bbbbbbbbbbbbbbbbbbb > | bbbbbbbbbbbbbbbbbbbb > |-ccccccccccccccccccccccc > `ccccccccccccccccccccccc > > Is there a function fill-paragraph for tree-mode ? You could look at the value of (widget-get widget :indent) and emit a string that is filled accordingly.