From: "Stefan-W. Hahn" <stefan.hahn@s-hahn.de>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Behaviour of org-open-at-point and org-return (was commit 4e864643 breaks org-return)
Date: Sun, 25 Oct 2015 17:41:26 +0100 [thread overview]
Message-ID: <20151025164126.GC10154@scotty.home> (raw)
In-Reply-To: <20151024064847.GA14197@pille.home>
Mail von Stefan-W. Hahn, Sat, 24 Oct 2015 at 08:48:47 +0200:
Hello,
as I observed there is a change in behaviour of org-return from on
commit 4e864643bdb6bba3e000ea51fb746a26e40b1f77
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Date: Sun Oct 18 09:36:15 2015 +0200
for timestamps, date ranges and any link.
The same change of behaviour was done for org-open-at-point from on
commit d75fa9febc676af4893fba9e4d53d5babbb801aa
Author: Nicolas Goaziou <n.goaziou@gmail.com>
Date: Sun Mar 2 10:32:51 2014 +0100
for timestamp, any link and footnote-reference (perhaps other I'm not sure).
For example of a link:
[[link][description]]x
If cursor was at position x the old behaviour of org-return (hitting <RET>)
was to open a new line, and position the cursor at the beginning of the new
line. The old behaviour of org-open-at-point was to say "no link".
For me this seems consistent because if you go with the cursor over
position x you see no hint and mouse-click do nothing. You have to go
over the link to see face changing and be able to mouse-click top follow
the link.
Additonally description of org-open-at-point say "... When point is on a
link, follow it....", not "on or after".
Also if you insert a link by yanking or org-insert-link cursor is positioned
directly after inserted link, cursor pos x s.o. With old behaviour you can
behaviour you can straight hit <RET> to get a newline. With new behaviour
you have to add space before <RET> or call open-line and position the
cursor.
For me the new behaviour seems inconsistend itself because everytime
I want to get a new line I noew have to check if cursor is positioned
right after a timestamp, or link. Or I have to shutoff org-return-follows-link.
Are there any other org'ers with opinions about this behaviour?
I'm really interested in your and others opinion about this behaviours
before building some workarounds for me personally. (Perhaps I have overseen
something in the big pictures?)
With kind regards,
Stefan
P.S. Excue me if not being subtle enough, its difficult to me beeing subtle
in a foreign language.
--
Stefan-W. Hahn It is easy to make things.
It is hard to make things simple.
next prev parent reply other threads:[~2015-10-25 16:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-22 16:57 commit 4e864643 breaks org-return Stefan-W. Hahn
2015-10-23 20:07 ` Stefan-W. Hahn
2015-10-23 22:34 ` Nicolas Goaziou
2015-10-24 6:48 ` Stefan-W. Hahn
2015-10-25 16:41 ` Stefan-W. Hahn [this message]
2015-10-28 14:02 ` Behaviour of org-open-at-point and org-return (was commit 4e864643 breaks org-return) Matt Lundin
2015-10-31 22:38 ` Nicolas Goaziou
2015-11-01 23:19 ` commit 4e864643 breaks org-return Simon Thum
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=20151025164126.GC10154@scotty.home \
--to=stefan.hahn@s-hahn.de \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/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).