On Fri, Aug 26, 2016 at 3:10 AM, Marco Wahl <[email protected]> wrote:
> Robert Weiner <[email protected]> writes: > > > I have a one line fix for pages-directory-mode that I will offer as the > > problem is that it does not include a key bound to quit-window, e.g. "q", > > which Hyperbole is expecting. For now, you can add this one line to your ~/.emacs or emacs initialization file: (add-load-hook "page-ext" '(define-key pages-directory-mode-map "q" 'quit-window)) Then any newly created pages-directory buffer (make sure you have deleted any you have already created), should work properly. The alternative patch for Emacs itself is: *** page-ext-orig.el 2016-08-26 09:25:17.000000000 -0400 --- page-ext.el.gz 2016-08-26 09:25:17.000000000 -0400 *************** *** 478,483 **** --- 478,484 ---- (let ((map (make-sparse-keymap))) (define-key map "\C-c\C-c" 'pages-directory-goto) (define-key map "\C-c\C-p\C-a" 'add-new-page) + (define-key map "q" 'quit-window) (define-key map [mouse-2] 'pages-directory-goto-with-mouse) map) "Keymap for the pages-directory-buffer.")
