Questions tagged [buttons]
The buttons tag has no summary.
16 questions
0 votes
0 answers
50 views
Action handling for reusable button
I want to make a concise rewrite emphasising reusability and avoiding code repetition by using helper functions for button creation and button action to show documentation string. (defun starling-...
0 votes
1 answer
84 views
buffer-read-only when using button
I cannot understand why the following gives an error. What can I do to solve the problem when I press on the button. (buffer-read-only #<buffer *Help*>) insert("> Graphic Organisation \...
2 votes
2 answers
87 views
Mode for attaching (clickable) actions to matching text
I'm looking for a minor mode that would let me attach actions to text that matches some pattern. Like, for example, match urls, emails and pathnames (or any other thing) and create buttons that run ...
0 votes
0 answers
44 views
Widgets: How to notify on exiting "editable-field"
This is a follow-up on Creating buttons/input fields. I learned that forms (or rather its elements) in Emacs are called widgets and I am now experimenting on how I can get the best result for what I ...
6 votes
1 answer
369 views
Why does mousing over one button also highlight adjacent buttons?
I'm using some buttons, and want to arrange them in a row. That is, some will be directly next to each other. I don't want whitespace between them. This is easy enough to do: However, when I do this, ...
1 vote
2 answers
226 views
Make text clickable: add urls with a loop
In my LaTeX code I have functions that generate hyperlinks in the PDF file. I have, e.g.: \newcommand{\arXivid}[1]{\href{https://arxiv.org/abs/#1}{\tt arXiv:#1}} So, in my LaTeX code I have strings ...
1 vote
1 answer
81 views
tabbar scroll picture button grayed out when only one tab is active
I replaced the image for tabbar scroll. Original: Replaced them with the following lines in the init file: ;; Load a new tabbar arrow image (setq tabbar-scroll-left-button-enabled-image-one '((:...
2 votes
1 answer
260 views
Make opening clickable filenames from Help mode in same window
When I'm in Help-mode buffer generated from describe-function or similar command - after placing cursor on clickable filename text I wish to open this file in the same window (ideally I wish I could ...