hyperbole-users
[Top][All Lists]
Advanced

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

Re: [Hyperbole-users] Conflict with page-ext


From: Robert Weiner
Subject: Re: [Hyperbole-users] Conflict with page-ext
Date: Fri, 26 Aug 2016 09:33:35 -0400

On Fri, Aug 26, 2016 at 3:10 AM, Marco Wahl <address@hidden> wrote:
Robert Weiner <address@hidden> 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.")

reply via email to

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