emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: org-end-of-line
Date: Mon, 15 Oct 2012 09:08:08 +0200	[thread overview]
Message-ID: <80k3usi55z.fsf@somewhere.org> (raw)

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	other threads:[~2012-10-15  7:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-15  7:08 Sebastien Vauban [this message]
2012-10-16 19:15 ` org-end-of-line Nicolas Goaziou
2012-10-17 11:34   ` org-end-of-line Sebastien Vauban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=80k3usi55z.fsf@somewhere.org \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).