From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [patch] Don't show trailing colon in agenda custom command desc Date: Fri, 22 Feb 2019 20:01:10 +0100 Message-ID: <874l8v1wcp.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:52096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxG5A-0005xL-4C for emacs-orgmode@gnu.org; Fri, 22 Feb 2019 14:02:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxG59-0008Hd-CR for emacs-orgmode@gnu.org; Fri, 22 Feb 2019 14:02:00 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:47475) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gxG59-0006Vp-40 for emacs-orgmode@gnu.org; Fri, 22 Feb 2019 14:01:59 -0500 In-Reply-To: (Carlos Pita's message of "Fri, 22 Feb 2019 00:37:58 -0300") 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: Carlos Pita Cc: emacs-orgmode Hello, Carlos Pita writes: > 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 > > From 4125d3ff9e4f26c3346b847288cad3e69a38da23 Mon Sep 17 00:00:00 2001 > From: memeplex > Date: Fri, 22 Feb 2019 00:32:58 -0300 > Subject: [PATCH] org-agenda: don't show trailing color if no matcher > > * lisp/org-agenda.el (org-agenda-get-restriction-and-command): > when no matcher was specified there is no point in showing > a trailing colon (and space). Applied, with some refactoring. Please double check I didn't fumble it. Thank you. Regards, -- Nicolas Goaziou