Questions tagged [global-mode]
8 questions
6
votes
1 answer
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 alternative
GNU Global
GNU Global + ggtags
What are…

Tim
- 4,987
- 7
- 31
- 60
2
votes
3 answers
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 buffers with an extension?
Frequently my buffer…

Startec
- 1,354
- 1
- 13
- 30
1
vote
1 answer
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)))
(defun foo-mode-on ()
(foo-mode 1))
(define-globalized-minor-mode…

Eminent
- 65
- 5
1
vote
0 answers
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 somehow override the global setting with a…

ivan
- 1,928
- 10
- 20
0
votes
1 answer
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 bar or remove it entirely. How do I achieve…

MySQLInjection
- 53
- 7
0
votes
1 answer
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
"Alaways center the cursor in the middle of the…

Pedro Delfino
- 1,369
- 3
- 13
0
votes
1 answer
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 the default keybindings, and I'd like to use the…

ivan
- 1,928
- 10
- 20
0
votes
1 answer
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 global-helm-mode?

lambdapilgrim
- 103
- 3