emacs-orgmode
[Top][All Lists]
Advanced

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

[O] org-end-of-line


From: Sebastien Vauban
Subject: [O] org-end-of-line
Date: Mon, 15 Oct 2012 09:08:08 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (windows-nt)

Hello,

When pressing `C-e' to go to the last char of a looong sentence, such as:

azroiu zrouz eruzepr ozeioru zoepru zoeruozieuriozerusdjflsdfjsdksjfsdfs df 
sdjf sdf sdsd fklsdjf sdj sdjlksdjf sqfjsdjf 
sdfklsjdjsdsdjlkmskfjsldkjfsdjfoizeoi xcsdf zerfze ze rrz zer ze sdf sd d g erg 
ry er fscvf dsr yh yt re gfsd f er gt z'y reg er fsd cf,sk jfshfsdc kle 
eozifsdnc sslk kzdjf dsl jfsdljf sdilkj fzefoizejfsdlkf sklqjfoiezrfoi

it goes up to the last char of the visual line, would that line be truncated.

In every other mode I've looked at (Message, Emacs Lisp, etc.), `C-e' does go
to the end of the physical line, _with the same untouched settings_ for
`line-move-visual' (set to `t' in `simple.el').

Why does Org behave differently?  See line 21613 in org.el:

#+begin_src emacs-lisp
      (call-interactively
       (cond ((org-bound-and-true-p line-move-visual) 'end-of-visual-line) ; 
<<<<
             ((fboundp 'move-end-of-line) 'move-end-of-line)
             (t 'end-of-line))))
#+end_src

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

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