all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Missing follow-links in descr-text
@ 2006-02-13 17:17 martin rudalics
  2006-02-13 17:59 ` Juri Linkov
  0 siblings, 1 reply; 3+ messages in thread
From: martin rudalics @ 2006-02-13 17:17 UTC (permalink / raw)


Please consider adding a few follow-link properties to descr-text.el.
The current behavior of `describe-char', for example, is a bit chaotic
with `mouse-1-click-follows-link' non-nil.

	* descr-text.el (describe-text-widget, describe-text-sexp)
	(describe-property-list, describe-char): Add follow-link
	property.

*** descr-text.el	Thu Jan  5 07:44:36 2006
--- descr-text.el	Mon Feb 13 11:21:52 2006
***************
*** 41,47 ****
     (symbol-name (if (symbolp widget) widget (car widget)))
     'action `(lambda (&rest ignore)
  	      (widget-browse ',widget))
!    'help-echo "mouse-2, RET: browse this widget")
    (insert " ")
    (insert-text-button
     "(widget)Top" 'type 'help-info 'help-args '("(widget)Top")))
--- 41,48 ----
     (symbol-name (if (symbolp widget) widget (car widget)))
     'action `(lambda (&rest ignore)
  	      (widget-browse ',widget))
!    'help-echo "mouse-2, RET: browse this widget"
!    'follow-link t)
    (insert " ")
    (insert-text-button
     "(widget)Top" 'type 'help-info 'help-args '("(widget)Top")))
***************
*** 64,70 ****
  			(with-output-to-temp-buffer
  			    "*Pp Eval Output*"
  			  (princ ',pp)))
!        'help-echo "mouse-2, RET: pretty print value in another buffer"))))

  (defun describe-property-list (properties)
    "Insert a description of PROPERTIES in the current buffer.
--- 65,72 ----
  			(with-output-to-temp-buffer
  			    "*Pp Eval Output*"
  			  (princ ',pp)))
!        'help-echo "mouse-2, RET: pretty print value in another buffer"
!        'follow-link t))))

  (defun describe-property-list (properties)
    "Insert a description of PROPERTIES in the current buffer.
***************
*** 88,94 ****
  	      (symbol-name value)
  	      'action `(lambda (&rest ignore)
  			 (describe-text-category ',value))
! 	      'help-echo "mouse-2, RET: describe this category"))
              ((memq key '(face font-lock-face mouse-face))
  	     (insert-text-button
  	      (format "%S" value)
--- 90,97 ----
  	      (symbol-name value)
  	      'action `(lambda (&rest ignore)
  			 (describe-text-category ',value))
! 	      'help-echo "mouse-2, RET: describe this category"
! 	      'follow-link t))
              ((memq key '(face font-lock-face mouse-face))
  	     (insert-text-button
  	      (format "%S" value)
***************
*** 477,483 ****
  				(search-forward ,(char-to-string char)
  						nil t))))
  		  'help-echo
! 		  "mouse-2, RET: show this character in its character set")))
  	    ("syntax"
  	     ,(let ((syntax (syntax-after pos)))
  		(with-temp-buffer
--- 480,487 ----
  				(search-forward ,(char-to-string char)
  						nil t))))
  		  'help-echo
! 		  "mouse-2, RET: show this character in its character set"
! 		  'follow-link t)))
  	    ("syntax"
  	     ,(let ((syntax (syntax-after pos)))
  		(with-temp-buffer

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-02-13 19:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-13 17:17 Missing follow-links in descr-text martin rudalics
2006-02-13 17:59 ` Juri Linkov
2006-02-13 19:49   ` martin rudalics

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.