From: Neon Absentius <absent@sdf.lonestar.org>
Subject: Re: window-line and window-column
Date: Fri, 7 Oct 2005 23:08:05 +0000 [thread overview]
Message-ID: <20051007230805.GI29712@SDF.LONESTAR.ORG> (raw)
In-Reply-To: <1128725063.828807.151870@f14g2000cwb.googlegroups.com>
On Fri, Oct 07, 2005 at 03:44:23PM -0700, rgb wrote:
> How can I tell where, within the current window, I am.
>
> Is there any way to tell what window line I'm currently on? Even if I
> use move-to-window-line and it's successful I may not actually be on
> that line when it returns. But realistically, I need to know what line
> I'm on without moving and I don't see how I can tell.
>
> I can't seem to fine a way to tell what window column I'm in either.
> It seems I could probably use (window-width), (current-column) and
> truncate-lines to figure it out but comments about popup-ruler on the
> wiki make me think such a formula wouldn't be accurate.
>
These
(setq line-number-mode t)
(setq column-number-mode t)
display the line number and curent column in the modeline.
--
There is no national science just as there is no national
multiplication table; what is national is no longer science.
-- Anton Checov
next prev parent reply other threads:[~2005-10-07 23:08 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-07 22:44 window-line and window-column rgb
2005-10-07 23:08 ` Neon Absentius [this message]
2005-10-07 23:09 ` Lennart Borgman
2005-10-07 23:27 ` Johan Bockgård
2005-10-08 0:49 ` rgb
2005-10-11 4:05 ` Stefan Monnier
2005-10-11 4:38 ` rgb
2005-10-11 5:02 ` Stefan Monnier
2005-10-11 5:09 ` rgb
2005-10-13 18:02 ` rgb
2005-10-14 15:06 ` rgb
[not found] ` <mailman.10338.1128726582.20277.help-gnu-emacs@gnu.org>
2005-10-08 0:20 ` rgb
2005-10-08 2:29 ` Neon Absentius
2005-10-11 1:18 ` Hovav Shacham
2005-10-11 3:34 ` rgb
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=20051007230805.GI29712@SDF.LONESTAR.ORG \
--to=absent@sdf.lonestar.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.
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).