From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: org-end-of-line Date: Mon, 15 Oct 2012 09:08:08 +0200 Message-ID: <80k3usi55z.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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