emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: chris <numbchild@gmail.com>
To: Emacs Org-mode <emacs-orgmode@gnu.org>
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	[thread overview]
Message-ID: <20130709120441.GD25098@stardiviner> (raw)

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

             reply	other threads:[~2013-07-09 12:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-09 12:04 chris [this message]
2013-07-09 13:46 ` I can not change the behavior of open the link which is a CHM file [[file+sys://kk.chm]] 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130709120441.GD25098@stardiviner \
    --to=numbchild@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).