From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anders Johansson Subject: Re: [Bug] org-indent-mode underindents body in variable-pitch-mode Date: Thu, 27 Nov 2014 16:26:52 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xu1uT-0000NE-14 for emacs-orgmode@gnu.org; Thu, 27 Nov 2014 11:27:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xu1uN-0006As-3b for emacs-orgmode@gnu.org; Thu, 27 Nov 2014 11:27:12 -0500 Received: from plane.gmane.org ([80.91.229.3]:60592) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xu1uM-0006Al-TJ for emacs-orgmode@gnu.org; Thu, 27 Nov 2014 11:27:07 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xu1uJ-0006pq-7h for emacs-orgmode@gnu.org; Thu, 27 Nov 2014 17:27:03 +0100 Received: from 048417.physics.uu.se ([130.238.195.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Nov 2014 17:27:03 +0100 Received: from mejlaandersj by 048417.physics.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Nov 2014 17:27:03 +0100 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 Anders Johansson gmail.com> writes: > > Tobias Getzner gmx.de> writes: > > > > > Hello, > > > > After updating to Emacs 24.4 and org-mode 20141020, I’ve noticed that > > org-indent-mode now underindents item bodies when variable-pitch-mode is > > used. I. e., in the following document, «lorem», «ipsum», and «etc.» will > > fall successively short of the item’s respective indent level. > > > > * first > > lorem > > ** second > > ipsum > > *** third > > etc. > > > > My last working version was 20140915 on Emacs 24.3. > > > > Kind regards, > > Tobias > > > > Hi, > I'm experiencing the exact same problem. Debugging might be a little tricky > if it involves changes in both Emacs and org. > > I think the problem depends on the text-properties wrap-prefix and > line-prefix being set to a number of spaces and a number of stars, > respectively, in headlines and only spaces in body text. When variable-pitch > fonts don't have as wide stars as spaces we get a mismatch. But I don't know > how this can have worked better before. > > Doesn't anyone else use variable-pitch-mode for org and suffer from this? > > Cheers, > Anders Johansson > > Hi again, Ok, I have tracked it down a bit. It must be due to changes in Emacs outside of org. I tried with the combination Emacs 24.3.1 and org: Org-mode version 8.2.10 (8.2.10-20-gaa65ac-elpa @ /home/aj/.emacs.d/elpa/org-20141124/) There it works. But never in 24.4, regardless of org version. How Emacs handles line-prefix and wrap-prefix must have changed in some way. I don't know if that is a bug in Emacs or something org should accommodate for though. Cheers, Anders Johansson And then it worked.