help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make the end not to the end of the line?


From: Kevin Rodgers
Subject: Re: How to make the end not to the end of the line?
Date: Mon, 03 Nov 2003 13:31:58 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

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 via email to

[Prev in Thread] Current Thread [Next in Thread]