Questions tagged [global-mode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
34 views

How to remove (customize) the color of the bar from global-display-line-numbers-mode?

I want to use relative line numbers and therefore I turned on this mode: Global Display Line Numbers Mode. When I want to customize this variable, there is no option in customizing the color of the ...
MySQLInjection's user avatar
1 vote
1 answer
62 views

Does define-globalized-minor-mode detect changes in fundamental mode too?

I am using Emacs 28.2. Here is my code: ;;; foo.el (define-minor-mode foo-mode "Foo mode" :lighter " Foo" (message "foo-mode %s in buffer %s" foo-mode (buffer-name))...
Eminent's user avatar
  • 67
0 votes
1 answer
36 views

How to make this mode work in all buffers except for the SLIME's REPL buffer?

I have this minor mode set to work on all buffers: ;; John Mercouris centered point mode ;; Homepage: https://github.com/jmercouris/emacs-centered-point (define-minor-mode centered-point-mode "...
Pedro Delfino's user avatar
0 votes
1 answer
230 views

How do I change a globalized minor mode's key bindings?

I'm using drag-stuff, which defines a minor-mode (drag-stuff-mode), a corresponding keymap (drag-stuff-mode-map), and a globalized minor mode (drag-stuff-global-mode). I want to make some changes to ...
ivan's user avatar
  • 1,948
1 vote
0 answers
531 views

Can I override global-hl-line-mode in a buffer/window?

I have the following line turning hl-line-mode on globally in my init file: (global-hl-line-mode) Most of the time, that's how I like it. But sometimes I want to turn it off. I'd hoped that I could ...
ivan's user avatar
  • 1,948
6 votes
1 answer
5k views

GNU Global + ggtags and helm + helm+gtags

In http://tuhdo.github.io/c-ide.html#orgheadline2 which is about "Prerequisite" Or, helm + helm-gtags. What does "Or" imply as the alternative to the combination "helm + helm+gtags"? Is the ...
Tim's user avatar
  • 5,007
0 votes
1 answer
113 views

Global Modes not consistent?

Why are some global minor modes applicable before package initialize while some are not? e.g. In init file global-linum-mode works but projectile-global-mode doesn't. Why? Also, why is there no ...
lambdapilgrim's user avatar
2 votes
3 answers
2k views

Enable Linum Mode for all files (with extension) but not other buffers?

In my init.el file I have the following line: (global-linum-mode 1). I want linum-mode enabled for every file, but not for other buffers. I.e. Is there a way to enable linum mode globally for all ...
Startec's user avatar
  • 1,344