From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Fiano Newsgroups: gmane.emacs.bugs Subject: bug#24571: 25.1; OrgMode bug when both a link and tags are in a headline Date: Thu, 29 Sep 2016 17:11:22 -0400 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c111e54779c32053dabeb51 X-Trace: blaine.gmane.org 1475185759 2826 195.159.176.226 (29 Sep 2016 21:49:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 29 Sep 2016 21:49:19 +0000 (UTC) To: 24571@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 29 23:49:10 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpjCJ-00057T-73 for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Sep 2016 23:48:55 +0200 Original-Received: from localhost ([::1]:40463 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpj22-0000xm-KQ for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Sep 2016 17:38:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpixw-0006oA-CD for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2016 17:34:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpixt-0008MW-VX for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2016 17:34:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:32846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpixt-0008MN-RF for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2016 17:34:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bpixt-0007fP-Ki for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2016 17:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Fiano Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Sep 2016 21:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24571 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147518478929329 (code B ref -1); Thu, 29 Sep 2016 21:34:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Sep 2016 21:33:09 +0000 Original-Received: from localhost ([127.0.0.1]:39036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpix3-0007cw-Dx for submit@debbugs.gnu.org; Thu, 29 Sep 2016 17:33:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpicA-0006bq-I4 for submit@debbugs.gnu.org; Thu, 29 Sep 2016 17:11:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpic4-0003BG-3e for submit@debbugs.gnu.org; Thu, 29 Sep 2016 17:11:29 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:54080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpic4-0003BA-0d for submit@debbugs.gnu.org; Thu, 29 Sep 2016 17:11:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpic1-0006ZU-FV for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2016 17:11:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpibz-0003AU-PN for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2016 17:11:25 -0400 Original-Received: from mail-it0-x22a.google.com ([2607:f8b0:4001:c0b::22a]:36713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpibz-0003AK-Ib for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2016 17:11:23 -0400 Original-Received: by mail-it0-x22a.google.com with SMTP id u134so9049433itb.1 for ; Thu, 29 Sep 2016 14:11:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=vXK84cEoDho5MfGE1Dj7JbfEhp/FBuJTGzoka8QLLE8=; b=MOK+RiBTHvGvNdH1zuzQJjr9Ss6LpOjl6U0i7Kg+FnX7kI3QS12OAZ0g0JB/Ky2rrm ASn5aZ+5H4Z8AJYge59WTbeqcN3Z7wv3nijXzoxdPb0UBgG309K22tQhp3hbwjCG4lBk vpcSbTm5miEMyHFVR/yMrW5pVEFRkJSNN2jAKWuZnr/8KmBu0ZOrtp/CVqA+JqdjDIrY HwCKWy014VQPGKoV0PRNS+zA0Ubg9wPmjD28MC9zbsQlDGvNJI1txeALdAjmsbUJ4Llk UljXfPyzrFo8yzZm2VvvzPcvnfXeuo04IsAMy9v30LwTnVwMpDMLJx4jsVpROYwl93wq ByHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vXK84cEoDho5MfGE1Dj7JbfEhp/FBuJTGzoka8QLLE8=; b=ByuRItCyudwASgawaGBSru8xAtt6j5MEFmZ46uhShAwZljr7zp5xDzk4CKaaaI8iVQ w6beTlB0aVZA9IiXw/ZToXYf687B9ufXrSXx1pyAIgpe4bOGSdV9vd6bsUnAHADdlJDH hZAu1gqc+L5fyV/eLWKXuEnmgSCXP+VBJiql6Iwc/4zU+aHL7EyH6mGRIkVhJ94MixEJ 1Qho8MIJOJobbGvxV4LEG1Y8vmE7VCgrmWaeJd9wcsMgDWMcUQBK550VvcPnM9HKq93h 8bk5inafj7x+6Biv8hRfMzslFmopVF5qp73m8U1oyCk07ruIm9xsWTXPx9g/Pgd2KNmj lUDA== X-Gm-Message-State: AA6/9RmDl3Twk5QY5mDMvI2zJcXqBdMcDNsa5HCpskUmbFU2xh4+RHd3QgaGT/n0HMKqGgvUom/SSQdL8bn6+g== X-Received: by 10.36.188.65 with SMTP id n62mr807905ite.61.1475183482738; Thu, 29 Sep 2016 14:11:22 -0700 (PDT) Original-Received: by 10.36.253.65 with HTTP; Thu, 29 Sep 2016 14:11:22 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Thu, 29 Sep 2016 17:33:08 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:123772 Archived-At: --94eb2c111e54779c32053dabeb51 Content-Type: text/plain; charset=UTF-8 OrgMode bug when both a link and tags are in a headline Steps to reproduce: 1. Start stock emacs: $ emacs -Q test.org 2. Write a headline * Test 3. Issue C-c C-c and the headline to add a tag * Test :test: 4. Modify the headline to include a link. * Test [[http://test][test]] :test: 5. Everything appears to be rendered correctly, but when viewing the source, it really looks like: [[http://test][te]]st 6. To make it render wrong and become very obvious, change the link description to have multiple words. In GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.9) of 2016-09-18 built on juergen Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 System Description: Arch Linux Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LC_CTYPE: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t --94eb2c111e54779c32053dabeb51 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

OrgMode bug when both a link and tags = are in a headline
=C2=A0
Steps to reproduce:
= =C2=A0
1. Start stock emacs:
$ emacs -Q test.org
=C2=A0
2. Write a headline
* Test
=C2=A0
3. Issue C-c C-c and the headline= to add a tag
* Test =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :test:
=C2=A0
4. Modify the headline to include a link.
* Test [[http://test][test]] =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0:test:
=C2=A0
5. Everything appears= to be rendered correctly, but when viewing the source, it really looks lik= e:
[[http://test][te]]st
= =C2=A0
6. To make it render wrong and become very obvious, change= the link description to have multiple words.


=

In GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GT= K+ Version 3.20.9)
=C2=A0of 2016-09-18 built on juergen
Windowing system distributor 'The X.Org Foundation', version 11.0.= 11804000
System Description: Arch Linux

Confi= gured using:
=C2=A0'configure --prefix=3D/usr --sysconfdir=3D= /etc --libexecdir=3D/usr/lib
=C2=A0--localstatedir=3D/var --with-= x-toolkit=3Dgtk3 --with-xft
=C2=A0'CFLAGS=3D-march=3Dx86-64 -= mtune=3Dgeneric -O2 -pipe
=C2=A0-fstack-protector-strong' CPP= FLAGS=3D-D_FORTIFY_SOURCE=3D2
=C2=A0LDFLAGS=3D-Wl,-O1,--sort-comm= on,--as-needed,-z,relro'

Configured features:<= /div>
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETT= INGS
NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB<= /div>
TOOLKIT_SCROLL_BARS GTK3 X11

Important s= ettings:
=C2=A0 value of $LC_CTYPE: en_US.UTF-8
=C2=A0 = value of $LANG: en_US.UTF-8
=C2=A0 locale-coding-system: utf-8-un= ix

Major mode: Lisp Interaction

Minor modes in effect:
=C2=A0 tooltip-mode: t
= =C2=A0 global-eldoc-mode: t
=C2=A0 electric-indent-mode: t
<= div>=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
= =C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mo= de: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-= mode: t
--94eb2c111e54779c32053dabeb51--