emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Michael Brand <michael.ch.brand@gmail.com>
Cc: Jason Lewis <jason@dickson.st>, org mode <emacs-orgmode@gnu.org>
Subject: Re: Bug: shift-enter in org tables leaves cursor in wrong position [8.2.5h (8.2.5h-6-g8e1386-elpa @ /cygdrive/c/Users/jason/.emacs.d/elpa/org-20140203/)]
Date: Sat, 01 Mar 2014 12:13:04 +0100	[thread overview]
Message-ID: <87d2i6p3y7.fsf@bzg.ath.cx> (raw)
In-Reply-To: <CALn3zojWYiLgMmi38Ui9mphXjfsUEktMxHtEJvf4a8WXE9w3cg@mail.gmail.com>	(Michael Brand's message of "Sat, 1 Mar 2014 11:39:12 +0100")

[-- Attachment #1: Type: text/plain, Size: 511 bytes --]

Hi Michael,

Michael Brand <michael.ch.brand@gmail.com> writes:

> I don't know if and how the variable org-activate-links is related. I
> used the function org-toggle-link-display or the menu to get the state
> with the variable org-descriptive-links being nil which is for
> "display the full links literally".

I see.  The following patch fixes it but it's just a quick try,
I need to review possible side-effects more carefully.  In the
meantime, if you can confirm it works for you, that'd help.

Thanks,


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: org-move-to-column.patch --]
[-- Type: text/x-diff, Size: 729 bytes --]

diff --git a/lisp/org-compat.el b/lisp/org-compat.el
index 1553e4f..9837e13 100644
--- a/lisp/org-compat.el
+++ b/lisp/org-compat.el
@@ -344,9 +344,12 @@ Works on both Emacs and XEmacs."
     (indent-line-to column)))
 
 (defun org-move-to-column (column &optional force buffer ignore-invisible)
-  (let ((buffer-invisibility-spec ignore-invisible))
+  (let ((buffer-invisibility-spec
+	 (and ignore-invisible
+	      (member '(org-link) buffer-invisibility-spec))))
     (if (featurep 'xemacs)
-	(org-xemacs-without-invisibility (move-to-column column force buffer))
+	(org-xemacs-without-invisibility
+	 (move-to-column column force buffer))
       (move-to-column column force))))
 
 (defun org-get-x-clipboard-compat (value)

[-- Attachment #3: Type: text/plain, Size: 14 bytes --]


-- 
 Bastien

  reply	other threads:[~2014-03-01 11:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-06  2:30 Bug: shift-enter in org tables leaves cursor in wrong position [8.2.5h (8.2.5h-6-g8e1386-elpa @ /cygdrive/c/Users/jason/.emacs.d/elpa/org-20140203/)] Jason Lewis
2014-02-06  8:59 ` Bastien
2014-02-25 10:46   ` Michael Brand
2014-03-01  9:02     ` Bastien
2014-03-01 10:39       ` Michael Brand
2014-03-01 11:13         ` Bastien [this message]
2014-03-01 13:58           ` Michael Brand
2014-03-12 18:42             ` Bastien
2014-03-20 14:15     ` Bastien
2014-03-20 16:00       ` Michael Brand
2014-09-30 22:24   ` Solution for very long hyperlinks when exporting to latex? Martin Weigele
2014-09-30 23:02     ` Rasmus
2014-09-30 23:51       ` Martin Weigele
2014-10-01  0:04         ` Rasmus
2014-10-01  0:17           ` Martin Weigele
     [not found]             ` <87bnpw8wte.fsf@gmx.us>
2014-10-01  0:29               ` Martin Weigele
2014-10-03 10:02                 ` Martin Weigele

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=87d2i6p3y7.fsf@bzg.ath.cx \
    --to=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=jason@dickson.st \
    --cc=michael.ch.brand@gmail.com \
    /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).