From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Alekseyev Subject: Org-indent mode - is it possible to change auto-fill column based on indentation level? Date: Thu, 19 May 2011 09:51:36 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QN3db-0005bl-RA for emacs-orgmode@gnu.org; Thu, 19 May 2011 09:51:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QN3db-0001mX-0a for emacs-orgmode@gnu.org; Thu, 19 May 2011 09:51:39 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:62879) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QN3da-0001m1-RS for emacs-orgmode@gnu.org; Thu, 19 May 2011 09:51:38 -0400 Received: by pzk4 with SMTP id 4so1654015pzk.0 for ; Thu, 19 May 2011 06:51:36 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I like using org-indent, however, when I'm on e.g. the third level of an outline, this means that the effective line starts 7 characters away from the left buffer edge. Most often, I have two buffers side by side on a laptop, and they are 77 columns wide. I set fill-column to 77 in order to not waste space. Now, if I'm on the third level of the outline, auto-fill will only kick in on the 84th column or thereabout. Are there any hacks to dynamically adjust the fill-column value depending on the outline level? (Solutions like "get a bigger screen" or "live with narrower default fill" are valid, but less desirable :) ) --Leo