emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: org-agenda-do-date-earlier does not honor org-shiftleft-fin


From: Michael Hoffman
Subject: Re: [O] 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
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]