From mboxrd@z Thu Jan 1 00:00:00 1970 From: chris Subject: I can not change the behavior of open the link which is a CHM file [[file+sys://kk.chm]] Date: Tue, 9 Jul 2013 20:04:41 +0800 Message-ID: <20130709120441.GD25098@stardiviner> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7DO5AaGCk89r4vaK" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48373) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwWfE-0006Nk-Ji for emacs-orgmode@gnu.org; Tue, 09 Jul 2013 08:05:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwWf9-00035N-PA for emacs-orgmode@gnu.org; Tue, 09 Jul 2013 08:05:00 -0400 Received: from mail-pd0-x22f.google.com ([2607:f8b0:400e:c02::22f]:42722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwWf9-000358-IS for emacs-orgmode@gnu.org; Tue, 09 Jul 2013 08:04:55 -0400 Received: by mail-pd0-f175.google.com with SMTP id 4so5168991pdd.6 for ; Tue, 09 Jul 2013 05:04:54 -0700 (PDT) Received: from localhost ([122.236.244.67]) by mx.google.com with ESMTPSA id fl2sm29825839pab.23.2013.07.09.05.04.49 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 09 Jul 2013 05:04:54 -0700 (PDT) Content-Disposition: inline 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: Emacs Org-mode --7DO5AaGCk89r4vaK Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I set variable "org-file-apps" like this: (setq org-file-apps '(;; default (auto-mode . emacs) ("\\.mm\\'" . default) ;; ("\\.x?html?\\'" . default) ("\.x?html\'" . "firefox %s") ("\\.pdf\\'" . default) ("\\.pdf::\\([[:digit:]]+\\)\\'" . "okular -p %1 %s") ;; extras ("\\.chm\\'" . "kchmviewer %s") ;; TODO open CHM file with external= program. )) But when I open a CHM file, Emacs does not open it with "kchmviewer", just = open CHM in Emacs. What's wrong ? --=20 E M A C S s e l o h c t t n i p a t f a r t e o l [ stardiviner ] ^^&^^ {I hate all of you ! Leave me alone} IRC(freenode): stardiviner \\ Twitter: @numbchild \\ GnuPG Key fingerprint >>> 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 --7DO5AaGCk89r4vaK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJR2/xZAAoJELjEuOVHwyQzhYwIAKsQUpakHtCtTiulq3tyVwRh j6+knLsytT7wfqlKPwLPLb8kQ/TZNogx6Tf2y0MK06Ruols117/BYVHwUVB280rX frfbc6mlHBB3vWwJYXBlUfDv00MqnnbEqxmBQaISI13Q/+5FC6J5X9v/YonGyG1q E7va2ATTi8BHR2uTlfpQ+zbm28conOzkxYG0LrCI5x4wjT90Sy0G4rzHZdDqEvPI /aISURWKS0imUnozGGRN0frLJQObk6T83baF5dg1WQqMMgFHUg6+O/307LrMP7xE 8Y/JXuaBAhQ+omUI9IGTZomRa9J+0tzYvgcztILHKoeOIUNSkjCZ4pAfcLmFjqY= =v+Re -----END PGP SIGNATURE----- --7DO5AaGCk89r4vaK--