Questions tagged [mode-line]

The mode line is a useful summary information about the buffer shown in the window, including its name and current modes. It is located at the bottom of every Emacs Window aside from MiniBuffer windows.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

Why do Bongo icons show up in GNOME but don't show up from window manager?

When I start bongo from GNOME using the leuven theme (load-theme 'leuven), I can see the icons quite clearly: From the Window manager I instead see: What is GNOME doing to let me see these icons? ...
0
votes
1answer
20 views

Coloured active mode line only when many windows

I am reluctantly using a coloured active mode line to distinguish it from inactive mode lines, but it occurred to me that it might be possible to reserve its colouring for times when there are more ...
1
vote
0answers
19 views

Git status on modeline to indicate if behind remote?

Can I get Emacs to indicate on the mode-line whether a push is needed, i.e. whether the repo is out of sync with origin? I've already got it telling me if a commit is needed using vc-status, but that ...
0
votes
1answer
28 views

which-function-mode and modified mode line

I modified my mode-line, but now which-function-mode stopped working: nothing is displayed. Code: (setq mode-line-position (list '(:eval (propertize "L%l " 'face nil 'help-echo "Line number")) ...
0
votes
1answer
57 views

How do I change the font color of mode-line?

How do I change the font color of the mode-line to make it more visible?
0
votes
0answers
14 views

Disable spaceline on certain terminals

I'm using spacemacs for the convenience of largely not having to maintain my own emacs configuration, after 25 years of emacs use. For graphical frames and high-color unicode terminals, the fancy mode-...
1
vote
0answers
26 views

How to show page number using pdf-tools in emacs mode line?

As title said, is there a way to have page number shows up in the mode line of emacs? I am not using any fancy power-line, this is stock emacs mode line.
1
vote
1answer
42 views

How to change what modeline displays, based on major mode?

i know i can change what info to display in modeline in mode-line-format variable. But how to display mode-line-position for one mode, but not display it for another?
0
votes
0answers
9 views

How to show waka mode time in emacs mode line?

I setup the waka time to monitor my usage successfully. However, the mode line only shows "waka" and nothing on the amount of time I spent using Emacs. To get the statistics, I have to login to Waka ...
0
votes
1answer
40 views

How to efficiently include a repository relative path in the mode-line?

Currently in the mode-line the filename %f, is absolute. I would like to have the path relative to the version-control root, without having to find this every redraw. How could this be cached, ...
0
votes
0answers
27 views

is it possible to have a “calc embedded” indicator in doom-modeline?

this is indispensable, since I use "calc embedded" in auctex and need to leave this mode after have activate it.
0
votes
1answer
44 views

Powerline mode-line menues in terminal mode

When inside terminal mode (emacs -nw) I can open the menu using M-F10 in terminal mode. Is there a similar possibility for the powerline mode-line menue on the bottom of the window?
-1
votes
1answer
46 views

How to make emms only show the name of the current file being played without the path

In the mode line, emms shows the full path to the file being played, how do I change that?
0
votes
1answer
39 views

Evil, How do I display visual range in mode-line

I'd like to see the size (number of rows and/or columns) of the visual selection in my mode-line. I use evil. How do I do that?
0
votes
0answers
27 views

How to color flycheck's mode line text

I have this, but it doesn't color anything: https://github.com/skrat/dots/blob/master/emacs/.emacs#L177 https://github.com/skrat/dots/blob/master/emacs/.emacs#L357-L362
2
votes
2answers
54 views

Show current ispell dictionary in modeline

FlyCheck had dynamic modeline that shows real-time errors information: FlyC:0/21 How to have the similar ability for flyspell, to show the current dictionary used in the current buffer, the info ...
3
votes
0answers
33 views

How to advise code to keep popup menus within frame?

How to advise code that pops up menus (like the ones you get by left-clicking a major-mode indicator in the modeline) to stay within the current Emacs frame? Background: Probably this is a bug within ...
2
votes
1answer
66 views

Variable's value in mode-line?

I have this function that sets the isearch-filter-predicate variable to a predicate (function) from a list of predicates: (defun set-isearch-filter-predicate () (interactive) (unless (boundp '...
0
votes
0answers
42 views

strange minor modes and how to diminish them

I am working in a python file and thought I have diminished all modes accordingly, also yapfify. However, that does not seem to be the case as one can see in the screenshot. What are those cryptic ...
0
votes
1answer
67 views

How do I display current cell address of an org-mode table?

I am trying to write some formulas in my tables and having a bit of a hard time figuring out the current cell's address (@row:$col). It would be awesome if I could display the cell location in the ...
2
votes
0answers
201 views

Any way to display clock time in the modeline for both the current clock and all accumulated clocks simultaneously?

The variable org-clock-mode-line-total controls whether to show the clocked time of only the current clock or of all accumulated clocks of the current task. However, I'd actually like to show both. ...
0
votes
1answer
19 views

local-map in header line

I'm trying to have a clickable button in the header-line. The code below works for the mode-line but not for the header line. Is there something specific to add? (setq-default header-line-format (...
2
votes
2answers
58 views

Delighting narrow-to-region possible?

I want to delight narrow-to-region. When I call org-toggle-narrow-to-subtree it calls org-narrow-to-subtree which calls narrow-to-region. When this is called the modeline shows "Narrow". Is there a ...
1
vote
1answer
36 views

Remove the verbose description in mode line

I started my Emacs Venture days ago with prelude. but find that the mode line is verbose UUU:----F1 scratch All of 144 (4,0) (EL guru FlyC- company ivy EditorConfig ws Projectile super-...
5
votes
2answers
235 views

Timer on modeline: how to update modeline every second?

As part of my custom mode-line, I've included a feature that displays a countdown timer (timers are created using the chronos package) when it recognises that there is one running. Works great, but ...
0
votes
0answers
22 views

What does “2.87 Mail” mean in prelude?

I installed Prelude, It has a long modeline -UU-:**--F1 gtd.org All of 768 (1,1) (Org FlyC- company ivy EditorConfig ws Projectile[-] super-save Pre WK (*) Abbrev) [???] 10:21PM 2.87 ...
0
votes
0answers
72 views

Display the time on the left of the mode line

I start emacs from the prelude project but found its mode line annoying, -UU-:----F1 gtd.org All of 684 (19,0) (Org FlyC- company ivy EditorConfig ws Projectile[-] super-save Pre WK (*...
1
vote
2answers
169 views

Decoding the cryptic Emacs mode-line

In my mode-line there's a cryptic set of characters like -UUU:@%*--F32 I know I could read through the documentation to figure out what they all mean, but I'd rather just hit a key and have a window ...
0
votes
1answer
98 views

How show % near rows and columns in mode line?

Emacs 26.1 I use smart mode line: https://github.com/Malabarba/smart-mode-line Here result: Nice. It's work fine. But I need to show % near rows and columns. Something like this: 712:93 (17%) ...
1
vote
0answers
57 views

Why in shell mode not show row/column number in mode line?

Emacs 26.1 I use smart mode line https://github.com/Malabarba/smart-mode-line. Here result: As you can see in scratch buffer show row/column numbers. But in shell mode not. Why? How I can fix this?
1
vote
1answer
149 views

I'd like a global mode-line in my frame [duplicate]

A previous comment... In the following I'm calling mode-line to the mode-line itself or any of its variations/replacements (e.g. powerline) Statement of the problem In the next picture, you can see ...
1
vote
0answers
47 views

scrolling text in the mode-line

Since the mode-line space is precious, I'd like to display some information in a fixed size area (60 char for example). To do so, I'd like the text to scroll, like when music players display music ...
4
votes
2answers
146 views

Toggle button on modeline

How to create a toggle button in the modeline, like a play / pause button ? for now, I've got the following : (setq-default mode-line-format '( (:eval (propertize " ⏸ " ...
0
votes
0answers
254 views

View CPU and memory usage in mode line

How can I configure Emacs so that it displays CPU and memory usage in the mode line? The package mode-line-stats does this, but it has not been developed for several years, and it has not been ...
0
votes
0answers
215 views

Which mode-line package(s) is/are most extendable?

My question: Hi, lately I've been looking into various mode-line customization packages such as Smart Mode Line, Powerline, Spaceline, or Telephone Line. I'd like to write a package that works ...
0
votes
1answer
110 views

mode-line refresh with alerts and weechat

Note - The original post incorrectly diagnosed this as a terminal issue. Further testing showed this not to be the case - the issue is a race condition in the alert package. I've crossed-out the now ...
0
votes
1answer
194 views

Mode line overflow/interference with Spaceline

I am using Spaceline with the following configuration: (use-package spaceline-config :config (setq-default mode-line-format '("%e" (:eval (spaceline-ml-main))) powerline-default-separator ...
0
votes
1answer
222 views

How to resize vertical split with mouse when using telephone-line instead of mode-line?

According to this StackOverflow answer, one can resize a vertical split with the mouse by dragging the mode-line in a specific spot. I'm using telephone-line and can't find any spot on there to ...
2
votes
0answers
199 views

Display mode-line on multiple lines

How do I set the mode-line to display using multiple lines, as required (or even statically), to fit in all of its contents?
2
votes
0answers
49 views

How can I prevent the modeline from covering up the last line of some prompts/buffers in the bottom?

When I use some commands that display a buffer in the bottom which prompts some additional info, my mode-line is covering up the last line (or part of it). Is there a way to turn off the mode-line in ...
3
votes
1answer
433 views

How to display window number in my mode-line?

I use window-numbering package to switch between windows in emacs, however I am struggling to display window number in my mode-line, preferably in [#] format (i.e. [1], [2], [3] ...). What variable ...
4
votes
1answer
303 views

Show git branch in dired modeline

I would like to see the git branch shown in the dired mode-line at least for the top directory of git projects. Anyone done this or know how to?
0
votes
1answer
173 views

Diminish flyspell

How can I diminish flyspell-mode (the one built-in to emacs)? With use-package, none of the following work: (use-package flyspell-mode :diminish) (use-package flyspell-mode :diminish 'flyspell-...
2
votes
1answer
927 views

Spacemacs mode-line unicode characters: what do they mean?

I've found it hard to discover the source or meaning of the unicode characters in the mode-line. All questions I've found referencing them are about how to get them to display correctly --- e.g. this ...
4
votes
2answers
122 views

Display all/current CSV heading names

In CSV files (especially ones with a lot of columns and/or a lot of rows) I find that it's hard to tell which column I'm on. Normally I'd like to know either the column heading, or sometimes the ...
5
votes
2answers
109 views

local keymap in mode-line doesn't work in terminal

I'm having trouble with getting local keymap:s to work in the mode-line, but only in terminals (with xterm-mouse-mode enabled). This applies to both the standard mode-line entries (like mode-line-...
1
vote
0answers
64 views

Restrict Mode Line display to window

I am configuring mode-line and currently the time is displayed in each window's mode-line, as shown by the image below. Is it possible to restrict the time display to the bottom right mode-line?
2
votes
1answer
1k views

How can I show the full path to the current file in the mode-line for Spacemacs (Spaceline)?

I'd like to display the full path instead of just the filename itself. How can this be done? So essentially where it says .spacemacs in the below image (seems this mode-line is called "Spaceline"):
0
votes
1answer
143 views

Is there a Magit hook for post checkout?

Unfortunately, the vc-mode in my mode-line is not being updated when checking out a branch, it still points to the older branch. revert all open buffers fixes than but I can't find a hook to attach ...
1
vote
0answers
344 views

How to display current task and running clock in modeline

I started using org-mode's clocking commands for tracking how I spend time at work. While the clock is running, the current task is shown in the mode line, along with the title of the task, but only ...