From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: [PATCH] Let org-agenda-time-grid control if the grid is displayed Date: Fri, 25 May 2012 21:14:26 -0500 Message-ID: <87zk8vadtp.fsf@fastmail.fm> References: <87hav3u9t4.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SY6Wb-0001sx-7c for emacs-orgmode@gnu.org; Fri, 25 May 2012 22:14:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SY6WZ-0003KO-D4 for emacs-orgmode@gnu.org; Fri, 25 May 2012 22:14:36 -0400 In-Reply-To: <87hav3u9t4.fsf@altern.org> (Bastien's message of "Sat, 26 May 2012 00:20:10 +0200") 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: Bastien Cc: emacs-orgmode@gnu.org, Christophe Junke Bastien writes: > Christophe Junke writes: > >> Let org-agenda-time-grid control if the grid is displayed > > Applied, thanks -- and special thanks for the ChangeLog and > clear explanations. This is a problematic patch. On my machine, it causes duplicate entries to show up in the agenda. The reason, I believe, is because org-agenda-add-time-grid-maybe takes the list of agenda items and returns that list with time-grid stuff added. This patch appends the list of agenda items to the list that org-agenda-add-time-grid-maybe returns, thus resulting in the duplicates. Best, Matt