From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: [PATCH] Bugfix for alignment of tag next to header name Date: Sun, 5 Jun 2011 23:43:36 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=0016364c7f3310a47504a4fde183 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:46314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTL6i-0001PD-A2 for emacs-orgmode@gnu.org; Sun, 05 Jun 2011 17:43:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTL6g-0008UA-QK for emacs-orgmode@gnu.org; Sun, 05 Jun 2011 17:43:40 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:32776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTL6g-0008U4-Dg for emacs-orgmode@gnu.org; Sun, 05 Jun 2011 17:43:38 -0400 Received: by eyd9 with SMTP id 9so1348829eyd.0 for ; Sun, 05 Jun 2011 14:43: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: Org Mode --0016364c7f3310a47504a4fde183 Content-Type: text/plain; charset=ISO-8859-1 * org.el (org-align-tags-here): Correct calculation of alignment. With org-tag-column set to e. g. 0 and before this change: Adding a tag to an untagged heading placed the tag with a distance of 1 space behind the heading name like expected. After editing the heading name the distance was expected to remain 1 space but changed to 2 spaces. TINYCHANGE Michael --0016364c7f3310a47504a4fde183 Content-Type: application/octet-stream; name="0001-Bugfix-for-alignment-of-tag-next-to-header-name.patch" Content-Disposition: attachment; filename="0001-Bugfix-for-alignment-of-tag-next-to-header-name.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gokipuao0 RnJvbSAxNTUwMTc0ZjFlOGI0OD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