From: "Stefan Monnier" <monnier+gnu/emacs@RUM.cs.yale.edu>
Cc: "Stefan Monnier" <monnier+gnu/emacs@RUM.cs.yale.edu>,
emacs-devel@gnu.org
Subject: Re: mode-line-element-to-string
Date: Thu, 11 Apr 2002 14:14:35 -0400 [thread overview]
Message-ID: <200204111814.g3BIEZB32371@rum.cs.yale.edu> (raw)
In-Reply-To: 20020411190215.49E9.LEKTU@terra.es
>
> > Any objection to the patch below ?
> > I'd also welcome comments, especially suggestions for a better name.
>
> emacs -q --no-site-file
> M-x ielm
> C-c C-b *scratch*
> <Enter> ; enough times for the ELISP>
> ; prompt to be at the bottom
> ; of the Window
> (mode-line-element-to-string "%c/%l") ; repeat till it crashes
>
> Eventually it crashes in `display-count-lines'.
Damn! The code relies on the current-buffer being the
buffer displayed in the selected-window. Hmmm...
Stefan
next prev parent reply other threads:[~2002-04-11 18:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-11 14:11 mode-line-element-to-string Stefan Monnier
2002-04-11 15:06 ` mode-line-element-to-string Miles Bader
2002-04-11 17:13 ` mode-line-element-to-string Juanma Barranquero
2002-04-11 18:14 ` Stefan Monnier [this message]
2002-04-12 3:13 ` mode-line-element-to-string Richard Stallman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200204111814.g3BIEZB32371@rum.cs.yale.edu \
--to=monnier+gnu/emacs@rum.cs.yale.edu \
--cc=emacs-devel@gnu.org \
/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.
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.