From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Gustav_Wikstr=F6m?= Subject: Bug: UTF-8 characters in #+LINK does not work [7.4] Date: Wed, 19 Jan 2011 09:00:51 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1339445248==" Return-path: Received: from [140.186.70.92] (port=50643 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfSyN-0004em-26 for emacs-orgmode@gnu.org; Wed, 19 Jan 2011 03:00:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PfSyM-0001Fz-0p for emacs-orgmode@gnu.org; Wed, 19 Jan 2011 03:00:55 -0500 Received: from mail-wy0-f169.google.com ([74.125.82.169]:45896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PfSyL-0001Fm-Rl for emacs-orgmode@gnu.org; Wed, 19 Jan 2011 03:00:53 -0500 Received: by wyj26 with SMTP id 26so628909wyj.0 for ; Wed, 19 Jan 2011 00:00:51 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============1339445248== Content-Type: multipart/alternative; boundary=485b3973eaf76f6f9a049a2e6a72 --485b3973eaf76f6f9a049a2e6a72 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Using characters such as =E5,=E4,=F6 does not work when using #+LINK example: `#+LINK: F=E4rdmedel file:~/f=E4rdmedel.org ' this does not work, however the following does: `#+LINK: Fardmedel file:~/f=E4rdmedel.org ' Is there an easy fix? Emacs : GNU Emacs 23.2.1 (i386-mingw-nt6.1.7600) of 2010-05-08 on G41R2F1 Package: Org-mode version 7.4 --485b3973eaf76f6f9a049a2e6a72 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Using characters such as =E5,=E4,=F6 does not work when using #+LINK

example:

`#+LINK: F=E4rdme= del file:~/f=E4rdmedel.org'=

this does not work, however the following does:
`#+LINK: Fardmedel file:~/f=E4rdmedel.org'

Is there an easy fix?=

Emacs =A0: GNU Emacs 23.2.1 (i386-mingw-nt6.1.7600)
=A0of 2010-05-08 on G41R2F1
Package: Org-mode version 7.4<= /div>

--485b3973eaf76f6f9a049a2e6a72-- --===============1339445248== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1339445248==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Bug: UTF-8 characters in #+LINK does not work [7.4] Date: Sat, 29 Jan 2011 10:04:27 -0500 Message-ID: <87d3nfagzo.fsf@fastmail.fm> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=58699 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PjCLn-00049i-5E for emacs-orgmode@gnu.org; Sat, 29 Jan 2011 10:04:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PjCLk-0000AI-Sc for emacs-orgmode@gnu.org; Sat, 29 Jan 2011 10:04:31 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:38740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PjCLk-0000AA-O6 for emacs-orgmode@gnu.org; Sat, 29 Jan 2011 10:04:28 -0500 In-Reply-To: ("Gustav =?utf-8?Q?Wikstr=C3=B6m=22's?= message of "Wed, 19 Jan 2011 09:00:51 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Gustav =?utf-8?Q?Wikstr=C3=B6m?= Cc: emacs-orgmode@gnu.org Gustav Wikstr=C3=B6m writes: > Using characters such as =C3=A5,=C3=A4,=C3=B6 does not work when using #+= LINK > > example: > > `#+LINK: F=C3=A4rdmedel file:~/f=C3=A4rdmedel.org' > > this does not work, however the following does: > > `#+LINK: Fardmedel file:~/f=C3=A4rdmedel.org' > > Is there an easy fix? > I can confirm this.=20 The regexp in org-link-expand-abbrev does not allow for accented characters in the link abbreviation. I am not sure whether this is an intended limitation or a bug. :) Best, Matt From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Danjou Subject: Re: Re: Bug: UTF-8 characters in #+LINK does not work [7.4] Date: Mon, 31 Jan 2011 21:20:28 +0100 Message-ID: <87d3nchlkj.fsf@keller.adm.naquadah.org> References: <87d3nfagzo.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1783951802==" Return-path: Received: from [140.186.70.92] (port=57083 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pk0El-0002iS-5g for emacs-orgmode@gnu.org; Mon, 31 Jan 2011 15:20:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pk0Ej-0001I7-AY for emacs-orgmode@gnu.org; Mon, 31 Jan 2011 15:20:34 -0500 Received: from prometheus.naquadah.org ([212.85.154.174]:44793 helo=mx1.naquadah.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pk0Ej-0001Hq-4R for emacs-orgmode@gnu.org; Mon, 31 Jan 2011 15:20:33 -0500 In-Reply-To: <87d3nfagzo.fsf@fastmail.fm> (Matt Lundin's message of "Sat, 29 Jan 2011 10:04:27 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matt Lundin Cc: Gustav =?utf-8?Q?Wikstr=C3=B6m?= , emacs-orgmode@gnu.org --===============1783951802== Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain On Sat, Jan 29 2011, Matt Lundin wrote: > The regexp in org-link-expand-abbrev does not allow for accented > characters in the link abbreviation. I am not sure whether this is an > intended limitation or a bug. :) I don't see any reason. Patch attached. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Allow-more-char-type-in-link-abbrev.patch Content-Transfer-Encoding: quoted-printable From=201ec1e178aaa6a9935819a873ae492be7a2ddb2f6 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 31 Jan 2011 21:19:07 +0100 Subject: [PATCH] Allow more char type in link abbrev * org.el (org-link-expand-abbrev): Allow any type of character in link expand. Signed-off-by: Julien Danjou =2D-- lisp/org.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 808c9ed..044d2ac 100644 =2D-- a/lisp/org.el +++ b/lisp/org.el @@ -8185,7 +8185,7 @@ call CMD." =20 (defun org-link-expand-abbrev (link) "Apply replacements as defined in `org-link-abbrev-alist." =2D (if (string-match "^\\([a-zA-Z][-_a-zA-Z0-9]*\\)\\(::?\\(.*\\)\\)?$" l= ink) + (if (string-match "^\\([^:]*\\)\\(::?\\(.*\\)\\)?$" link) (let* ((key (match-string 1 link)) (as (or (assoc key org-link-abbrev-alist-local) (assoc key org-link-abbrev-alist))) =2D-=20 1.7.2.3 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =2D-=20 Julien Danjou =E2=9D=B1 http://julien.danjou.info --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJNRxmNAAoJEGEbqVCLeKXCPoQP/0lc1D+No9Z4vOimkn1TnTCD NIwy0+BLfO4LoyX5fTETla9yrcfDwayhlOZFC082M0++i862X01LYkhcfCyRgIge I8Fq8Xyl+3+ZQS22SQTEOZ3lZiFURpylUjifFlppFiirsN28tmZXkeGH/jXOhfUp 2qL2eGVpI2NkX4FBmh0pPmgTqOQo4WzEdtZN/QFUU1mJ9SfFRUpP/TLdrb8w+uhW p2V93FPDv3n0NZ4e1xNoPPckFGxzyUCC5D9OKpgcGc0ffwSMA986zUyPgpKtFe1y srq7FsJiqqvqLBVXLqCeRef2FxEA9UdoMTwTLtVD+qJ5iSDhcs3DK4oGNtn2tlAl woUq8S9GZj3AjGiFhz51O3H7vRPyCSZzptWSKFE/o2ZiFBG49ED/TDBmhIXgW64v y6h/u2nsrgswMsxOZF234rmRLhdB2KQVkGuWNJKojwUUGCbTjMqom5bvNBnMWB8h 8HwjCRCd9uIKTYub4pD7SyDIP9X+WmVnmJugpm5c+1FUpykuQzo9pezezJMLCUgC 5y53h7bEUjFjdP9pWR/j5jOXIfaJPTpFLOqWqI6FypOgx0pt1apc7qCqoBLUgV0T Ta5nHDCrKD7qR3R9pbJY7sADIPHNS2vCHeSP5vT7eD2mKu7xLkPCUozAWi7P0yqJ QvDC71/R5Ig9ayPLAJJw =kC2Q -----END PGP SIGNATURE----- --==-=-=-- --===============1783951802== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1783951802==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: [Accepted] Re: Bug: UTF-8 characters in #+LINK does not work [7.4] Date: Mon, 31 Jan 2011 21:36:59 +0100 (CET) Message-ID: <20110131203659.0EB5187AB@myhost.localdomain> References: <87d3nchlkj.fsf@keller.adm.naquadah.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=47781 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pk0V4-0002F3-KM for emacs-orgmode@gnu.org; Mon, 31 Jan 2011 15:37:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pk0V2-0005RS-QN for emacs-orgmode@gnu.org; Mon, 31 Jan 2011 15:37:26 -0500 Received: from mail-wy0-f169.google.com ([74.125.82.169]:59494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pk0V2-0005RO-I9 for emacs-orgmode@gnu.org; Mon, 31 Jan 2011 15:37:24 -0500 Received: by wyj26 with SMTP id 26so6344471wyj.0 for ; Mon, 31 Jan 2011 12:37:23 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Patch 568 (http://patchwork.newartisans.com/patch/568/) is now "Accepted". Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C87d3nchlkj.fsf%40keller.adm.naquadah.org%3E Here is the original message containing the patch: > Content-Type: text/plain; charset="utf-8" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Subject: [Orgmode] Re: Bug: UTF-8 characters in #+LINK does not work [7.4] > Date: Tue, 01 Feb 2011 01:20:28 -0000 > From: Julien Danjou > X-Patchwork-Id: 568 > Message-Id: <87d3nchlkj.fsf@keller.adm.naquadah.org> > To: Matt Lundin > Cc: Gustav =?utf-8?Q?Wikstr=C3=B6m?= , > emacs-orgmode@gnu.org > > On Sat, Jan 29 2011, Matt Lundin wrote: > > > The regexp in org-link-expand-abbrev does not allow for accented > > characters in the link abbreviation. I am not sure whether this is an > > intended limitation or a bug. :) > > I don't see any reason. Patch attached. > > > >From 1ec1e178aaa6a9935819a873ae492be7a2ddb2f6 Mon Sep 17 00:00:00 2001 > From: Julien Danjou > Date: Mon, 31 Jan 2011 21:19:07 +0100 > Subject: [PATCH] Allow more char type in link abbrev > > * org.el (org-link-expand-abbrev): Allow any type of character > in link expand. > > Signed-off-by: Julien Danjou > --- > lisp/org.el | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/lisp/org.el b/lisp/org.el > index 808c9ed..044d2ac 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -8185,7 +8185,7 @@ call CMD." > > (defun org-link-expand-abbrev (link) > "Apply replacements as defined in `org-link-abbrev-alist." > - (if (string-match "^\\([a-zA-Z][-_a-zA-Z0-9]*\\)\\(::?\\(.*\\)\\)?$" link) > + (if (string-match "^\\([^:]*\\)\\(::?\\(.*\\)\\)?$" link) > (let* ((key (match-string 1 link)) > (as (or (assoc key org-link-abbrev-alist-local) > (assoc key org-link-abbrev-alist))) > -- > 1.7.2.3 > >