From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carlos Pita Subject: [patch] Don't show trailing colon in agenda custom command desc Date: Fri, 22 Feb 2019 00:37:58 -0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000d487b80582735118" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:51681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gx1fD-0006pA-O7 for emacs-orgmode@gnu.org; Thu, 21 Feb 2019 22:38:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gx1fC-0006Kl-TC for emacs-orgmode@gnu.org; Thu, 21 Feb 2019 22:38:15 -0500 Received: from mail-yb1-xb2a.google.com ([2607:f8b0:4864:20::b2a]:45246) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gx1fC-0006Au-HB for emacs-orgmode@gnu.org; Thu, 21 Feb 2019 22:38:14 -0500 Received: by mail-yb1-xb2a.google.com with SMTP id n134so323786ybg.12 for ; Thu, 21 Feb 2019 19:38:10 -0800 (PST) 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 --000000000000d487b80582735118 Content-Type: text/plain; charset="UTF-8" Hi all, here is a simple patch to avoid showing ugly trailing colons in custom agenda commands when no matcher was specified (for example, in the case of alltodo). Best regards -- Carlos --000000000000d487b80582735118 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-org-agenda-don-t-show-trailing-color-if-no-matcher.patch" Content-Disposition: attachment; filename="0001-org-agenda-don-t-show-trailing-color-if-no-matcher.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_jsfi7ge90 RnJvbSA0MTI1ZDNmZjllNGYyNmMzMzQ2Yjg0NzI4OGNhZDNlNjlhMzhkYTI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