Questions tagged [view-mode]

4 questions
1
vote
2 answers

Org-mode column view: align values right or center

When I use org column view with my custom price property the numbers are aligned left which looks weird. How can I make them align right in column view? Example #+COLUMNS: %25ITEM %TODO %TAGS %PRICE * Stuff I wand to sell ** My…
1
vote
1 answer

make compile-goto-error use view-mode when visiting source buffer

After using M-x find-grep I have a list of files with position information in a compile buffer. Now I want to visit the files to check, which can be done with , calling compile-goto-error to switch/open file into buffer at given position.…
Juha
  • 13
  • 5
1
vote
0 answers

view-scroll-half-page-forward messes up scrolling

I have the following in my config (setq scroll-preserve-screen-position 1) ;;scroll window up/down by one line (global-set-key (kbd "s-n") (kbd "C-u 1 C-v")) (global-set-key (kbd "s-p") (kbd "C-u 1 M-v")) (global-set-key "\C-v" …
CD86
  • 543
  • 2
  • 9
0
votes
2 answers

How to open a startup file in view-mode?

I configured Emacs (28.1) to open an index file (index.org) at startup. Now I would like this file to be opened in view-mode. I tried (setq initial-buffer-choice "~/PATH/index.org") (view-mode t) but index.org doesn't open in view-mode. How could I…
crocefisso
  • 1,141
  • 7
  • 15