all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: Missing follow-links in descr-text
Date: Mon, 13 Feb 2006 19:59:09 +0200	[thread overview]
Message-ID: <878xsf86x7.fsf@jurta.org> (raw)
In-Reply-To: <wkr767mb47.fsf@gmx.at> (martin rudalics's message of "Mon, 13 Feb 2006 18:17:44 +0100")

> 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.

Instead of adding `follow-link t' to each and every place, what do you
think about fixing this at the top level with the following patch?

Index: lisp/button.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/button.el,v
retrieving revision 1.21
diff -c -r1.21 button.el
*** lisp/button.el	6 Feb 2006 14:33:32 -0000	1.21
--- lisp/button.el	13 Feb 2006 17:57:07 -0000
***************
*** 79,84 ****
--- 79,85 ----
  ;; Default properties for buttons
  (put 'default-button 'face 'button)
  (put 'default-button 'mouse-face 'highlight)
+ (put 'default-button 'follow-link t)
  (put 'default-button 'keymap button-map)
  (put 'default-button 'type 'button)
  ;; action may be either a function to call, or a marker to go to

-- 
Juri Linkov
http://www.jurta.org/emacs/

  reply	other threads:[~2006-02-13 17:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-13 17:17 Missing follow-links in descr-text martin rudalics
2006-02-13 17:59 ` Juri Linkov [this message]
2006-02-13 19:49   ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878xsf86x7.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.