emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* I can not change the behavior of open the link which is a CHM file [[file+sys://kk.chm]]
@ 2013-07-09 12:04 chris
  2013-07-09 13:46 ` Nick Dokos
  0 siblings, 1 reply; 6+ messages in thread
From: chris @ 2013-07-09 12:04 UTC (permalink / raw)
  To: Emacs Org-mode

[-- Attachment #1: Type: text/plain, Size: 842 bytes --]

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 ?

-- 
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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-07-10  1:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-09 12:04 I can not change the behavior of open the link which is a CHM file [[file+sys://kk.chm]] chris
2013-07-09 13:46 ` Nick Dokos
2013-07-09 14:08   ` Jambunathan K
2013-07-09 15:50     ` Nick Dokos
2013-07-09 16:38       ` Jambunathan K
2013-07-10  1:19     ` chris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).