From: seberino@spawar.navy.mil
Subject: How make this modeline item be recalculated more often?
Date: Wed, 9 Oct 2002 04:37:24 -0700 [thread overview]
Message-ID: <20021009043724.A31006@spawar.navy.mil> (raw)
(setq default-mode-line-format (list ""
'mode-line-buffer-identification
" "
(system-name)
" "
'(:eval (format "%s" (+ (string-to-int "%c") 1)))
"Line %l Col %c"))
I've been playing with adding one to column number in modeline and
came up with the eval element above....
It evaluates to a 1 when column in zero but it is not updated
when I change the columns!?!?!? How make it be reevaluated
when %c changes???
CS
next reply other threads:[~2002-10-09 11:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-09 11:37 seberino [this message]
[not found] <mailman.1034163501.17035.help-gnu-emacs@gnu.org>
2002-10-10 2:33 ` How make this modeline item be recalculated more often? Tim Cross
2002-10-11 12:24 ` Colin Marquardt
2002-10-11 18:11 ` seberino
[not found] ` <mailman.1034359998.21370.help-gnu-emacs@gnu.org>
2002-10-14 8:40 ` Colin Marquardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021009043724.A31006@spawar.navy.mil \
--to=seberino@spawar.navy.mil \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).