From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Hoffman Subject: Re: Bug: org-agenda-do-date-earlier does not honor org-shiftleft-final-hook [9.1.14 (9.1.14-1-g4931fc-elpa @ /home/mhoffman/.emacs.d/elpa/org-9.1.14/)] Date: Fri, 3 May 2019 14:40:04 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMdp9-0005Hp-8K for emacs-orgmode@gnu.org; Fri, 03 May 2019 15:26:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMdp8-0005xl-E6 for emacs-orgmode@gnu.org; Fri, 03 May 2019 15:26:23 -0400 Received: from [195.159.176.226] (port=52454 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hMdp8-0005xM-7G for emacs-orgmode@gnu.org; Fri, 03 May 2019 15:26:22 -0400 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hMdVJ-000j6x-V4 for emacs-orgmode@gnu.org; Fri, 03 May 2019 21:05:53 +0200 In-Reply-To: Content-Language: en-US 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 On 12/3/18 5:30 PM, Michael Hoffman wrote: > 1. What exactly did you do? > > - Execute: > (with-eval-after-load 'org >   (add-hook 'org-shiftleft-final-hook 'windmove-left)) > (org-agenda nil "a") > (split-window-horizontally) > > - Type S-left > > 2. What did you expect to happen? > > (windmove-left) > > 3. What happened instead? > > Received message "Command not allowed in this line" Workaround: (defvar org-agenda-mode-map) (with-eval-after-load 'org-agenda (define-key org-agenda-mode-map [S-left] #'windmove-left) (define-key org-agenda-mode-map [S-right] #'windmove-right)) Michael Hoffman