unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: How to make the end not to the end of the line?
Date: Mon, 03 Nov 2003 13:31:58 -0700	[thread overview]
Message-ID: <3FA6BB3E.4040101@yahoo.com> (raw)
In-Reply-To: mailman.3030.1067883537.21628.help-gnu-emacs@gnu.org

Yanghui Bian wrote:

> When in word wrapper mode, a long line is truncated by emacs. 
> The function of end-of-line make the cursor go to the end of the long line instead of the position where
> the line is truncated. 
> Is there any elisp function available which have the cursor goes to the end where the line is truncated? 

(defun move-to-window-end ()
  (interactive)
  "Move point to the column at the window's end (right)."
  (move-to-column (1- (window-width)))


-- 
Kevin Rodgers

       reply	other threads:[~2003-11-03 20:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3030.1067883537.21628.help-gnu-emacs@gnu.org>
2003-11-03 20:31 ` Kevin Rodgers [this message]
2003-11-03 18:04 How to make the end not to the end of the line? Yanghui Bian

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=3FA6BB3E.4040101@yahoo.com \
    --to=ihs_4664@yahoo.com \
    /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).