unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Colin Marquardt <c.marquardt@alcatel.de>
Subject: Re: How make this modeline item be recalculated more often?
Date: Fri, 11 Oct 2002 14:24:24 +0200	[thread overview]
Message-ID: <k8z1y6xxix3.fsf@alcatel.de> (raw)
In-Reply-To: mailman.1034163501.17035.help-gnu-emacs@gnu.org

seberino@spawar.navy.mil writes:

>    (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???

I also asked this a while ago and got told that Emacs 21 now has display
optimizations that prevent this from working like we want. RMS looked
into it and said that changing it would require extensive modifications.

Cheers,
  Colin

  parent reply	other threads:[~2002-10-11 12:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2002-10-11 18:11   ` seberino
     [not found]   ` <mailman.1034359998.21370.help-gnu-emacs@gnu.org>
2002-10-14  8:40     ` Colin Marquardt
2002-10-09 11:37 seberino

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=k8z1y6xxix3.fsf@alcatel.de \
    --to=c.marquardt@alcatel.de \
    /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).