From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Szypulka Subject: Re: Bug: Org-indent does not align headings with text when using non-monospaced fonts [8.3.1 (8.3.1-16-gf6aa53-elpa @ /Users/cube/.emacs.d/elpa/org-20150810/)] Date: Thu, 20 Aug 2015 14:52:56 +0200 Message-ID: References: <87614a5g28.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSPL5-0005QT-Tu for emacs-orgmode@gnu.org; Thu, 20 Aug 2015 08:53:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSPL4-00019Y-Kt for emacs-orgmode@gnu.org; Thu, 20 Aug 2015 08:53:03 -0400 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:33381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSPL4-00019P-Da for emacs-orgmode@gnu.org; Thu, 20 Aug 2015 08:53:02 -0400 Received: by wijp15 with SMTP id p15so15303360wij.0 for ; Thu, 20 Aug 2015 05:53:00 -0700 (PDT) In-reply-to: <87614a5g28.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Hello Nicolas, --- Nicolas Goaziou , 2015-08-20 13:56 > Hello, > > Jakub Szypulka writes: > >> Reproduction of bug: Open an org-file in org-mode with auto-indent turned on while using a non-monospaced font. >> Expected result: The headings align with the text contents. >> Actual result: The headings do not align with the text contents. >> >> This has been originally filed two years ago: >> http://article.gmane.org/gmane.emacs.orgmode/64775/match=indent+misalign >> >> There is a proposed fix: replace the blankspace used to indent a line, defined in org-indent.el, with a star ('*'). >> Source: http://emacs.stackexchange.com/questions/7429/how-to-customize-org-mode-indentation >> This link also includes screenshots that illustrate the problem. > > Thank you for reporting it. > > Unfortunately, the proposed fix isn't sufficient as alignment is still > broken in plain lists, with `visual-line-mode'. > > Does the attached patch work for you? Yes it does, I'm impressed! Thanks a lot for the quick fix! I understand those changed will be included by default in the next org versions? Cheers, Jakub > > > Regards,