emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [DISCUSSION] "quick-help" popup for org-columns (column view)


From: Sławomir Grochowski
Subject: Re: [DISCUSSION] "quick-help" popup for org-columns (column view)
Date: Mon, 15 Apr 2024 14:39:15 +0200

Philip Kaludercic <philipk@posteo.net> writes:
> I have pushed the changes to master.

Thank you Philip for your help.  It works.

But there is one more small thing. 
A message that is displayed in the minibuffer. 
It contains two pieces of information:

(1)     command name
        Right now it's hardcoded. 
        We need to change the it from `help-quick-toggle' to
        `org-columns-help-quick-toggle'.
        How to do it? 
        Add another variable like `help-quick-use-map'?
        Maybe 'help-quick-command-name'?

(2)     keybinding to the command name
        Just to modify message string. Add '\\<help-quick-use-map>'.
        To use other keymap.
        Change is in the diff below. 
              
diff --git a/lisp/help.el b/lisp/help.el
index d4e39f04e53..35412b9d2fe 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -263,7 +263,9 @@ help-quick
       ;; ... and shrink it immediately.
       (fit-window-to-buffer))
     (message
-     (substitute-command-keys "Toggle display of quick-help buffer using 
\\[help-quick-toggle]."))))
+     (substitute-command-keys "Toggle display of quick-help buffer 
using\\<help-quick-use-map> \\[org-columns-help-quick-toggle]."))))
+
+
 
 (defun help-quick-toggle ()
   "Toggle display of a window showing popular commands and their bindings.
-- 
2.30.2


Regards,
-- 
Slawomir Grochowski



reply via email to

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