Function: hkey-debug

hkey-debug is a byte-compiled function defined in hmouse-drv.el.

Signature

(hkey-debug PRED PRED-VALUE HKEY-ACTION)

Documentation

Display a message with the context and values from Smart Key activation.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmouse-drv.el
(defun hkey-debug (pred pred-value hkey-action)
  "Display a message with the context and values from Smart Key activation."
  (message (concat "(HyDebug) %sContext: %s; %s: %s; Buf: %s; Mode: %s; MinibufDepth: %s\n"
		   "  action-depress: %s; action-release: %s\n"
		   "  assist-depress: %s; assist-release: %s")
	   (cond ((eq pred-value 'hbut:current)
		  (format "ButProps: %S\nButType: %s; ButLabel: %s; "
			  (symbol-plist 'hbut:current)
			  (hattr:get 'hbut:current 'categ)
			  (hypb:format-quote (hbut:label 'hbut:current))))
		 ((functionp pred-value)
		  (format "Selection Func: %s; " pred-value))
		 (t ""))
	   pred
	   (if assist-flag "Assist" "Action")
	   (if (hattr:get  'hbut:current 'actype)
	       (or (hattr:get  'hbut:current 'action)
		   (cons (hattr:get  'hbut:current 'actype)
			 (hattr:get  'hbut:current 'args)))
	     (hypb:format-quote (format "%s" hkey-action)))
	   (current-buffer)
	   major-mode
	   (minibuffer-depth)

	   action-key-depress-window
	   action-key-release-window
	   assist-key-depress-window
	   assist-key-release-window))