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
0 answers
51 views
Preventing multiple appends when using button
How may I print the result of clicking buttons right a double line separator. Currently, pressing the button multiple times causes the documentation of garnitura-nomenkl to be appended repeatedly, ...
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 \...
0 votes
1 answer
44 views
Activating buttons
Have made an interactive function qrh so that I can use buttons to display some strings contained in organis-f8 and organis-b8. Can all this be simplified ? It seems to me that a button always ...
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
1 answer
81 views
Making a button within a dedicated buffer [closed]
Haw can one introduce a button within a dedicated buffer? With a text area in the middle.
0 votes
0 answers
45 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 ...
0 votes
1 answer
280 views
Creating buttons/input fields
The options/customization as well as the install packages buffers demonstrate that it is possible to have buttons, links and input fields. Is this something one could fairly easily duplicate to create ...
6 votes
1 answer
370 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
0 answers
121 views
How to implement a nice read-only buffer with accordions and buttons/hyperlinks?
We would like to devise an Emacs front-end that queries a back-end (generating a list of items in JSON format or so, each with a title, long description, and an URL), and displays this list in a ...
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 ...
5 votes
2 answers
1k views
What would be the simplest way to add a "Copy to clipboard" button to html-exported source blocks in an org-mode file?
I am writing documentation for an API in org-mode, and exporting to HTML. I would like the exported HTML source blocks to have an associated button that copies the code to the clipboard, achieving ...
1 vote
1 answer
82 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 '((:...
8 votes
1 answer
3k views
How do I create a button in Emacs?
I'm trying to create *Help* buffers in Emacs, documenting functions defined in other languages. I can create a simple help buffer easily: (defun wh/help-hello-world () (interactive) (with-help-...
2 votes
1 answer
261 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 ...