From mboxrd@z Thu Jan 1 00:00:00 1970 From: Csanyi Pal Subject: Not Match - When follow Hyperlink Date: Sun, 26 Apr 2009 12:02:09 +0200 Message-ID: <87d4azohr2.fsf@debian-asztal.csanyi-pal.info> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ly1Bl-0008OW-M4 for emacs-orgmode@gnu.org; Sun, 26 Apr 2009 06:02:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ly1Bg-0008OD-Vo for emacs-orgmode@gnu.org; Sun, 26 Apr 2009 06:02:21 -0400 Received: from [199.232.76.173] (port=60440 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ly1Bg-0008OA-QN for emacs-orgmode@gnu.org; Sun, 26 Apr 2009 06:02:16 -0400 Received: from main.gmane.org ([80.91.229.2]:55312 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ly1Bg-0006iX-4x for emacs-orgmode@gnu.org; Sun, 26 Apr 2009 06:02:16 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ly1Bb-0003wL-GW for emacs-orgmode@gnu.org; Sun, 26 Apr 2009 10:02:11 +0000 Received: from 115-144-85-95.dynamic.stcable.net ([95.85.144.115]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Apr 2009 10:02:11 +0000 Received: from csanyipal by 115-144-85-95.dynamic.stcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Apr 2009 10:02:11 +0000 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 Hi, I have installed on Debian GNU/Linux Lenny GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian In emacs-org mode when follow a Hyperlink I get a Message: 'Not Match'. When the file whereof the Hyperlink points is another file.org, then the file being opened and get the 'Not Match' message, but when the file is say PDF or DVI I can't to open that file and get the message 'Not Match'. I edited the .emacs file: ----------------------> (defun define-trivial-mode(mode-prefix file-regexp &optional command) (or command (setq command mode-prefix)) (let ((mode-command (intern (concat mode-prefix "-mode")))) (fset mode-command `(lambda () (interactive) (toggle-read-only t) (start-process ,mode-prefix nil ,command (buffer-file-name)) (kill-buffer (current-buffer)))) (add-to-list 'auto-mode-alist (cons file-regexp mode-command))) ) (define-trivial-mode "gv" "\\.ps$") (define-trivial-mode "evince" "\\.pdf$") (define-trivial-mode "gschem" "\\.sch$") ;; dvi (defun view-dvi () "Use evince to view DVIs." (interactive) (progn (toggle-read-only t) (start-process "dvi" nil "evince" (buffer-file-name))) ) (add-to-list 'auto-mode-alist '("\\.dvi\\'" . view-dvi)) --------------------------------> Is there a way how to open in emacs org-mode a pdf or dvi file with Evince? Any advices will be appreciated! -- Regards, Paul Csanyi http://www.freewebs.com/csanyi-pal/index.htm