emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: Avoid following link when using org-return-follows-link and point is at end of line [8.3.2 (8.3.2-39-gd537a3-elpaplus @ /home/Erik/.emacs.d/elpa/org-plus-contrib-20151123/)]
Date: Mon, 30 Nov 2015 16:04:05 +0100	[thread overview]
Message-ID: <87k2oz4jh6.fsf@gmx.us> (raw)
In-Reply-To: CAAFf7aw-dXSUPjoszdz+ZV1k0Q23cRjHLgWpo+O1scH+1prSfg@mail.gmail.com

Erik Anderson <erikbpanderson@gmail.com> writes:

> Not a bug per se, but a tweak to existing behavior which I think most
> people would prefer.  The option org-return-follows-link is wonderfully
> convenient except when the point is at the end of the line where the
> intention is usually to insert a carriage return.

I don't think I understand the problem.

Consider,

* test 
[[test]]

When I click enter on the link it goes to the expected place.  When I
click C-e RET on the second line it inserts a newline, which I guess is
what you want?  Can you give an example of how 

Your bug might relate to the fact that when using e.g. C-f you can end up
with the cursor between the two closing brackets.  But that’s a different
problem and I doubt your patch would fix this problem, since that point is
not the end of the line, though I haven’t tested it.

Rasmus

-- 
Got mashed potatoes. Ain't got no T-Bone. No T-Bone

      reply	other threads:[~2015-11-30 15:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-27  5:22 Bug: Avoid following link when using org-return-follows-link and point is at end of line [8.3.2 (8.3.2-39-gd537a3-elpaplus @ /home/Erik/.emacs.d/elpa/org-plus-contrib-20151123/)] Erik Anderson
2015-11-30 15:04 ` Rasmus [this message]

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=87k2oz4jh6.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.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).