From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Let org-agenda align multibyte tags properly Date: Thu, 28 Feb 2019 15:29:17 +0100 Message-ID: <87pnrcouki.fsf@nicolasgoaziou.fr> References: <2f46660.13795.169344fc6d3.Coremail.tumashu@163.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:47264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzMgm-0007WT-6C for emacs-orgmode@gnu.org; Thu, 28 Feb 2019 09:29:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzMgg-00036T-ER for emacs-orgmode@gnu.org; Thu, 28 Feb 2019 09:29:30 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:46643) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gzMge-00034j-D0 for emacs-orgmode@gnu.org; Thu, 28 Feb 2019 09:29:24 -0500 In-Reply-To: <2f46660.13795.169344fc6d3.Coremail.tumashu@163.com> (tumashu's message of "Thu, 28 Feb 2019 21:33:57 +0800 (CST)") 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: tumashu Cc: emacs-orgmode Hello, tumashu writes: > org agenda can not align tags which include multibyte char, please see before.png > > This patch fix the problem, please see after.png I replaced (buffer-substring (match-beginning 1) (match-end 1)) with (match-string 1) and applied your patch. Thank you. Regards, -- Nicolas Goaziou