* How to make the end not to the end of the line?
@ 2003-11-03 18:04 Yanghui Bian
0 siblings, 0 replies; 2+ messages in thread
From: Yanghui Bian @ 2003-11-03 18:04 UTC (permalink / raw)
Hello,
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?
Thanks.
Yanghui Bian
^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <mailman.3030.1067883537.21628.help-gnu-emacs@gnu.org>]
* Re: How to make the end not to the end of the line?
[not found] <mailman.3030.1067883537.21628.help-gnu-emacs@gnu.org>
@ 2003-11-03 20:31 ` Kevin Rodgers
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2003-11-03 20:31 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-11-03 20:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-03 18:04 How to make the end not to the end of the line? Yanghui Bian
[not found] <mailman.3030.1067883537.21628.help-gnu-emacs@gnu.org>
2003-11-03 20:31 ` Kevin Rodgers
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).