Questions tagged [header-line]

The header line appears, optionally, at the top of a window.

The header line is analogous to the mode line, but appears optionally at the top of a window, whereas the mode line is usually present at the bottom of a window. The header line is controlled by the variable header-line-format.

43 questions
21
votes
2 answers

Display list of words along bottom of frame?

I'd like to display 3 lists of words on separate lines horizontally along the bottom (although top would work too) of every emacs frame I have open. I've thought of 6 ways to do this, and they all have issues: My first thought was to add a line to…
Joseph Garvin
  • 2,061
  • 8
  • 21
5
votes
2 answers

How should I dim the header line of inactive windows?

By analogy to the mode-line-inactive face, I'd like to dim the header line for inactive windows. But I can't find a "header-line-inactive" face, nor can I find an appropriate hook to modify. I have the following in my init file, so every window…
purple_arrows
  • 2,373
  • 10
  • 19
5
votes
1 answer

How can I access the :file src header argument inside the src block

I'm wondering how to access the :file header argument passed to a src block, from inside the src block itself? I'm wondering specifically for python, and in this case ipython with %matplotlib inline as the example below (here I use the ob-ipython…
Sparx
  • 1,111
  • 9
  • 20
5
votes
3 answers

Randomize headers in Org mode

How can I randomize headers in org mode? e.g. If I had a list like this, : * apple 1 * lemon 2 * banana * orange How can I randomize those headers and get lists like these?: * lemon 2 * apple 1 * orange * banana or * orange * lemon 2 *…
stacko
  • 1,577
  • 1
  • 11
  • 18
5
votes
1 answer

Converting nested lists to org-mode lists

I need to convert all nested lists present in buffer to org-mode headers using elisp. How can I do this? 1.2.7.2 Some Header Name -> **** Some Header Name
5
votes
0 answers

Multiple header lines for different modes?

I would like to use both tabbar-mode and global-semantic-stickyfunc-mode at the same time. Both of these use a header line. When I try to enable them both, one of them "wins" and I don't get the other. Is it possible to get them to both work at…
Richard Hansen
  • 495
  • 4
  • 15
3
votes
3 answers

How can I disable lsp-headerline?

I'm using centaur tabs, and when lsp-headerline enables my tabs hides. I want to disable that headerline using lsp-headerline-bradcrumb-mode in a hook (use-package lsp-mode :commands (lsp lsp-deferred) :init (setq lsp-keymap-prefix "C-c l") …
3
votes
2 answers

xpm: Change displayed image on mouse-over in `header-line-format`

Q: How do I programmatically instruct Emacs to change a displayed image (XPM) on mouse-over in the header-line-format? For example, the following image has a black circle with a white letter X. On mouse-over, I would like to modify the…
lawlist
  • 18,826
  • 5
  • 37
  • 118
3
votes
1 answer

Does this have a name?

I'm trying to change the color of this part of the UI (top heading bar) in my theme file: Does this have a specific name that I could use to change its color? Other parts of the interface are referred to like so, but this element isn't there: …
Rtsne42
  • 489
  • 5
  • 13
3
votes
1 answer

force-window-update vs redisplay

During idle time with run-with-idle-timer I parse text around a point and update header-line-format. Unfortunately I can't see update to header line unless I type any key. So I should trigger redisplay. With (redisplay) header line isn't updated.…
gavenkoa
  • 3,352
  • 19
  • 36
3
votes
1 answer

Promoting and demoting headers in orgstruct mode

It looks as if the promotion and demotion of headers using M-Right, M-S-Right, M-Left, M-S-Left is disabled in orgstruct-mode as per this emacs-orgmode GNU thread. Also, making direct function calls like M-xorgstruct-hijacker-org-metaright do…
Kaushal Modi
  • 25,203
  • 3
  • 74
  • 179
3
votes
1 answer

emacs auto-complete-c-headers and closing brackets

I'm new to Emacs. I followed a tutorial for Emacs as IDE for C/C++ but there are steps that do not work fully for me: the auto-complete for c-headers. I installed yasnippet and auto-complete for C/C++ headers. 1) I get the normal auto-complete…
F.A
  • 31
  • 3
3
votes
2 answers

How can I use the PROPERTIES drawer with a TAGS property and asign multiple values to it

In org-mode long header line and multiple tags sometimes makes the overview unreadable. My question is: Can I use the TAGS property in the PROPERTIES drawer to list tags as values rather then having them in the header line. Alternatively but less…
Sparx
  • 1,111
  • 9
  • 20
2
votes
1 answer

How to divide too long header-arguments of src-block into multiple lines?

I'm trying to process tens of tables (from multiple org-files) in python src-block at once. Suppose that the following file: /tmp/file1.org contains some tables: * This org contains the tables #+name: table_example_1 | 1 | 2 | 3 | | 4 | 5 | 5…
Garid
  • 545
  • 1
  • 13
2
votes
1 answer

How can I copy the faces of a window's mode-line to its header-line?

I want to move my mode-line to the top of each window. So, I've copied its contents into the header-line. (setq-default header-line-format mode-line-format) (setq-default mode-line-format nil) But, I'm using the modus themes, so the selected…
bluekeys
  • 123
  • 4
1
2 3