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 _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode