all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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

* 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

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.