From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reuben Garrett Subject: Re: Bug: insert after hyperlink displaces mark during org-compat:org-move-to-column (since 8.1) [8.2.1 (release_8.2.1-45-g92f89e @ /home/rgarrett/src/org/orgmode/org-mode/lisp/)] Date: Thu, 7 Nov 2013 16:29:52 -0600 Message-ID: References: <87fvr7991j.fsf@bzg.ath.cx> Reply-To: ReubenGarrett@gmail.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1134a71af0a9bc04ea9dcd95 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeY5K-0005ij-U7 for emacs-orgmode@gnu.org; Thu, 07 Nov 2013 17:29:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VeY5J-0003ml-QJ for emacs-orgmode@gnu.org; Thu, 07 Nov 2013 17:29:54 -0500 In-Reply-To: <87fvr7991j.fsf@bzg.ath.cx> 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org --001a1134a71af0a9bc04ea9dcd95 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Nov 7, 2013 at 3:49 PM, Bastien wrote: > Can you share /path/to/minimal-org.el and the capture template? Sure, here they are (inlined below). I should add that this also happens outside capture mode =E2=80=94 I just happened to notice it then. > Does it happen even when there are no tags in the headline? No =E2=80=94 just tried removing the tags and was unable to reproduce. > Thanks for your help in debugging this, The pleasure is mine! I only wish I'd started learning Lisp sooner so I could offer patches as well. One of these days =E2=80=A6 +=3D=3D=3D /path/to/minimal-org.el: ;;; Minimal setup to load latest `org-mode' ;; activate debugging (setq debug-on-error t debug-on-signal nil debug-on-quit nil) ;; add latest org-mode to load path (add-to-list 'load-path (expand-file-name "/home/rgarrett/src/org/orgmode/org-mode/lisp")) (add-to-list 'load-path (expand-file-name "/home/rgarrett/src/org/orgmode/org-mode/contrib/lisp" t)) =3D=3D=3D+ +=3D=3D=3D capture template: (customize-set-variable 'org-capture-templates (quote ( ("t" "Ticket" entry (file+olp "~/var/org/jnl.org" "tix") "* TODO Ticket # [[http://example.com/ticket=3D%^{Ticket #}][%\\1]] - %? %^G \n DEADLINE: %= ^T " :prepend t :unnarrowed t) ) ) ) --=20 Reuben Garrett --001a1134a71af0a9bc04ea9dcd95 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Thu, Nov 7, 2013 at 3:49 PM, Bastien <bzg@gnu.org> wrote:

> Can you shar= e /path/to/minimal-org.el and the capture template?
Sure, her= e they are (inlined below). I should add that this also happens outside cap= ture mode =E2=80=94 I just happened to notice it then.

> Does it happen even when there are no tags in the headline?
No =E2=80=94 just tried removing the tags and was unable to reprodu= ce.

>=20 Thanks for your help in debugging this,
The pleasure is mine!= I only wish I'd started learning Lisp sooner so I could offer patches = as well. One of these days =E2=80=A6

+=3D=3D= =3D /path/to/minimal-org.el:
;;; Minimal setup to load latest `org-mode'
=C2=A0= =C2=A0=C2=A0=C2=A0 ;; activate debugging
=C2=A0=C2=A0=C2=A0=C2=A0 (setq = debug-on-error t
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 debug-on-signal nil
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 debug-on-quit nil)
=C2=A0=C2=A0=C2=A0=C2=A0
=C2=A0= =C2=A0=C2=A0=C2=A0 ;; add latest org-mode to load path
=C2=A0=C2=A0=C2=A0=C2=A0 (add-to-list 'load-path (expand-file-name &quo= t;/home/rgarrett/src/org/orgmode/org-mode/lisp"))
=C2=A0=C2=A0=C2= =A0=C2=A0 (add-to-list 'load-path (expand-file-name "/home/rgarret= t/src/org/orgmode/org-mode/contrib/lisp" t))
=3D=3D=3D+

+=3D=3D=3D capture template:
(= customize-set-variable
=C2=A0'org-capture-templates
=C2=A0(quot= e
=C2=A0 (
=C2=A0 ("t" "Ticket" entry (file+olp = "~/var/org/jnl.org" "tix"= ;) "* TODO Ticket # [[http:/= /example.com/ticket=3D%^{Ticket #}][%\\1]] - %? %^G \n=C2=A0 DEADLINE: = %^T " :prepend t :unnarrowed t)
=C2=A0 )
=C2=A0 )
=C2=A0)

--

Reuben Garrett=

--001a1134a71af0a9bc04ea9dcd95--