Skip to main content

Questions tagged [buttons]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
65 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 \...
Dilna's user avatar
  • 1
0 votes
1 answer
34 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 ...
Dilna's user avatar
  • 1
2 votes
2 answers
65 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 ...
Mariano Montone's user avatar
0 votes
1 answer
60 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.
Dilna's user avatar
  • 1
0 votes
0 answers
25 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 ...
Phoenix's user avatar
  • 361
0 votes
1 answer
176 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 ...
Phoenix's user avatar
  • 361
5 votes
1 answer
341 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, ...
zck's user avatar
  • 9,162
1 vote
0 answers
109 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 ...
ErikMD's user avatar
  • 128
1 vote
2 answers
191 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 ...
Gabriele's user avatar
  • 1,680
5 votes
2 answers
885 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 ...
mvarela's user avatar
  • 171
1 vote
1 answer
62 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 '((:...
cdnszip's user avatar
  • 357
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-...
Wilfred Hughes's user avatar
2 votes
1 answer
240 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 ...
sandric's user avatar
  • 1,301
3 votes
1 answer
255 views

Documentation of the action of a button

I want to know what happens if I click on a button (a link) in an Emacs buffer, so I type C-h c (describe-key-briefly) and click the button, but all I'm told is: <mouse-2> (translated from <...
Gilles 'SO- stop being evil''s user avatar