From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xu Chunyang Subject: Bug: org-agenda-tags-column does not work anymore [9.1.12 (release_9.1.12-677-g4c13d0 @ /Users/xcy/src/org-mode/lisp/)] Date: Sun, 29 Apr 2018 12:10:08 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fCdgs-0006WE-3K for emacs-orgmode@gnu.org; Sun, 29 Apr 2018 00:11:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fCdgn-00084F-3v for emacs-orgmode@gnu.org; Sun, 29 Apr 2018 00:11:58 -0400 Received: from forward105p.mail.yandex.net ([77.88.28.108]:32914) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fCdgm-00082k-Rf for emacs-orgmode@gnu.org; Sun, 29 Apr 2018 00:11:53 -0400 Received: from mxback1o.mail.yandex.net (mxback1o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1b]) by forward105p.mail.yandex.net (Yandex) with ESMTP id 783364082F1D for ; Sun, 29 Apr 2018 07:11:49 +0300 (MSK) 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" To: emacs-orgmode@gnu.org Hi, I'm using latest Org mode built from latest git repository, the HEAD is 4c13d0a1a870a450627ce1d8449a3b7204202250. I notice tags are no longer aligned in *Org Agenda*. It seems the issue is introduced by e87ebca2a755620a13a49cc748ba987b17d2d64d Use `org-tag-line-re' and the following patch fixes it for me diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 342ea06b7..2ad09c1ad 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -9003,7 +9003,7 @@ If FORCE-TAGS is non nil, the car of it returns the new tags." l c) (save-excursion (goto-char (if line (line-beginning-position) (point-min))) - (while (re-search-forward org-tag-line-re (and line (line-end-position)) t) + (while (re-search-forward org-tag-group-re (and line (line-end-position)) t) (add-text-properties (match-beginning 1) (match-end 1) (list 'face (delq nil (let ((prop (get-text-property