* Why this eval command for mode line makes scroll-conservatively *not* work right anymore? (CLASHING!!!)
@ 2003-01-30 19:28 Christian Seberino
0 siblings, 0 replies; only message in thread
From: Christian Seberino @ 2003-01-30 19:28 UTC (permalink / raw)
For various reasons I used an eval command in mode-line config to add
1 to column number:
; Modeline
(setq-default default-mode-line-format
(list ""
'mode-line-buffer-identification
" "
(system-name)
" "
"Line %l Column "
'(:eval (format "%d" (1+ (current-column))))))
(add-hook 'post-command-hook
(lambda () (force-mode-line-update)))
(setq-default line-number-display-limit 10000000)
(set-face-background 'modeline "red" )
(set-face-foreground 'modeline "black" )
I also set scroll behavior to only move by 1 line at a time instead of
jerking cursor to middle of the screen all the time...
(setq-default scroll-conservatively 1000 )
The modeline magic above makes this scroll line be IGNORED?!?!?
Why do they clash and how disentangle these guys so they BOTH work?
thanks in advance,
Chris
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-30 19:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-30 19:28 Why this eval command for mode line makes scroll-conservatively *not* work right anymore? (CLASHING!!!) Christian Seberino
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.