From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xin Shi Subject: Re: Open link with different suffix in org mode Date: Fri, 22 Jan 2010 08:55:24 -0500 Message-ID: <5236d6f91001220555v30789759i235fee227b40dd83@mail.gmail.com> References: <5236d6f91001210725t3b9a177cs6308622bce8d09d2@mail.gmail.com> <83ockmscbl.fsf@yahoo.it> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2095083813==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NYJz6-0005Vi-FK for emacs-orgmode@gnu.org; Fri, 22 Jan 2010 08:55:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NYJz1-0005RT-T9 for emacs-orgmode@gnu.org; Fri, 22 Jan 2010 08:55:35 -0500 Received: from [199.232.76.173] (port=33962 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NYJz1-0005RO-KF for emacs-orgmode@gnu.org; Fri, 22 Jan 2010 08:55:31 -0500 Received: from mail-ew0-f224.google.com ([209.85.219.224]:56713) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NYJz1-0005Ye-7l for emacs-orgmode@gnu.org; Fri, 22 Jan 2010 08:55:31 -0500 Received: by ewy24 with SMTP id 24so1334741ewy.26 for ; Fri, 22 Jan 2010 05:55:27 -0800 (PST) In-Reply-To: <83ockmscbl.fsf@yahoo.it> 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: Giovanni Ridolfi , Carsten Dominik Cc: emacs-orgmode --===============2095083813== Content-Type: multipart/alternative; boundary=00c09f8fe686d90e75047dc12bf7 --00c09f8fe686d90e75047dc12bf7 Content-Type: text/plain; charset=ISO-8859-1 Hi Carsten and Giovanni, I used (add-to-list 'auto-mode-alist '("\\.info\\'" . text-mode)) and it works! By the way, my system is GNU Linux. Thanks! Xin On Fri, Jan 22, 2010 at 4:45 AM, Giovanni Ridolfi wrote: > Hi, Xin, > > Xin Shi writes: > > > Emacs 23.1.1 and org mode 6.34b. > here: > GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON > Org-mode version 6.34 > Windows XP PS3 > > > a link say [[./http://link.org][test]], it will open the > > http://link.org file in another buffer with orgmode. > [...] > > [[./http://test.info][test]], it will just hang there. > > + [[file:fit.log][fit]] fit.log is opened with notepad > + [[file:../../../a.info][test]] a.info is not opened: > the message error, in Italian, translates in: > > eval: ShellExecute failed: None application is associated to the > specified file for this operation > > > It seems that org does not know how to deal with the .info suffix. > Well, I suspect that org calls the program defined in the mailcap file. > > Please check there if you have a program associated to the ".info" > extension > > cheers, > Giovanni > --00c09f8fe686d90e75047dc12bf7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Carsten and Giovanni,

I used (add-to-list 'auto-mode-alist &#= 39;("\\.info\\'" . text-mode)) and it works!

By the wa= y, my system is GNU Linux.

Thanks!

Xin


On Fri, Jan 22, 2010 at 4:45 AM, Giovanni Ridolfi <giovanni.ridolfi@yahoo.it>= wrote:
Hi, Xin,

Xin Shi <shixin111@gmail.com&= gt; writes:

> Emacs 23.1.1 and org mode 6.34b.
here:
GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON
Org-mode version 6.34
Windows XP PS3

> a link say [[./http://li= nk.org][test]], it will open the
> http://link.org file= in another buffer with orgmode.
[...]
> [[./http://test.info][test]], it will just hang there.

+ [[file:fit.log][fit]] =A0fit.log =A0 is opened with notepad
+ [[file:../../../
a.info][t= est]] =A0a.info is not open= ed:
=A0the message error, in Italian, translates in:

eval: ShellExecute failed: None application is associated to the
specified file for this operation

> It seems that org does not know how to deal with the .info suffix.
Well, I suspect that org calls the program defined in the mailcap fil= e.

Please check there if you have a program associated to the ".info"= ; extension

cheers,
Giovanni

--00c09f8fe686d90e75047dc12bf7-- --===============2095083813== 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 --===============2095083813==--