On Thu, Apr 17, 2014 at 5:24 PM, Mats Lidell <matsl(a)xemacs.org> wrote:
Do we have something similar to button? While looking at how to
improve help.el I just had a look in emacs just to find that they use
button there internally. I haven't looked how general that have been
Anyway it sounds a good idea to have an easy interface to create
"buttons" that you can push with button1, button2!? and return. In
addition to that move between the buttons with tab and Shift-tab plus
some font-locking for them to stick out as buttons and maybe some
other highlighting when moving the mouse over them. This could be put
to good use in many places.
We seem to have some general support for mouse press using the
property activate-function in extents from mouse.el (I have use that
for my yet to be pushed changes to help.el) but that is missing
support for motion and return (which I have added to help.el but will
not be of general use of course.)
So what to do?
Let's get button.el into our packages. The patch would be something
like what I've attached to this message. However, Jeff Miller, what
should we do to completely adapt the calendar package? I made a weak
stab at it, but diary-goto-entry in diary-lib.el apparently needs some
more work, given the comment about how the function was modified.
What should be done there?
The code in xemacs-base/debug.el that uses button.el features could be
enabled, too, but that would make xemacs-base REQUIRES fsf-compat,
which I am not going to suggest. :-)
XEmacs-Beta mailing list