* Open file with external program
@ 2010-04-21 4:06 Zhu Shenli
2010-04-21 7:38 ` Peter Dyballa
0 siblings, 1 reply; 5+ messages in thread
From: Zhu Shenli @ 2010-04-21 4:06 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
Hi emacsers,
When I use Emacs file selecting tools (dired-mode, locate-mode) to open
pdf file, Emacs choose to open pdf file in it.
So, I guess whether there is any existing tool do that: Ask in
mini-buffer "Do you want to open the file in (a) Emacs (b)
program-name-1 (c) ...
Thanks,
-Z
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Open file with external program
2010-04-21 4:06 Open file with external program Zhu Shenli
@ 2010-04-21 7:38 ` Peter Dyballa
2010-04-21 8:29 ` Thierry Volpiatto
2010-04-21 8:51 ` Zhu Shenli
0 siblings, 2 replies; 5+ messages in thread
From: Peter Dyballa @ 2010-04-21 7:38 UTC (permalink / raw)
To: Zhu Shenli; +Cc: help-gnu-emacs@gnu.org
Am 21.04.2010 um 06:06 schrieb Zhu Shenli:
> So, I guess whether there is any existing tool do that: Ask in mini-
> buffer "Do you want to open the file in (a) Emacs (b) program-name-1
> (c) ...
No. Either use an old version of GNU Emacs without doc-view-mode or
delete particular file types from its control:
(setq auto-mode-alist (delete '("\\.\\(?:PDF\\|DVI\\|pdf\\|dvi\\)\
\'" . doc-view-mode) auto-mode-alist))
More details in info.
--
Greetings
Pete
Sorry my terrible English, my native language Lisp
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Open file with external program
2010-04-21 7:38 ` Peter Dyballa
@ 2010-04-21 8:29 ` Thierry Volpiatto
2010-04-21 8:59 ` Lennart Borgman
2010-04-21 8:51 ` Zhu Shenli
1 sibling, 1 reply; 5+ messages in thread
From: Thierry Volpiatto @ 2010-04-21 8:29 UTC (permalink / raw)
To: help-gnu-emacs
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> Am 21.04.2010 um 06:06 schrieb Zhu Shenli:
>
>> So, I guess whether there is any existing tool do that: Ask in mini-
>> buffer "Do you want to open the file in (a) Emacs (b) program-name-1
>> (c) ...
>
>
> No. Either use an old version of GNU Emacs without doc-view-mode or
> delete particular file types from its control:
I use here http://www.emacswiki.org/cgi-bin/emacs/extview.el
but there is other tools that do that to, don't remember names, check
emacswiki.
> (setq auto-mode-alist (delete '("\\.\\(?:PDF\\|DVI\\|pdf\\|dvi\\)\
> \'" . doc-view-mode) auto-mode-alist))
>
>
> More details in info.
>
> --
> Greetings
>
> Pete
>
> Sorry my terrible English, my native language Lisp
>
>
>
>
--
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Open file with external program
2010-04-21 8:29 ` Thierry Volpiatto
@ 2010-04-21 8:59 ` Lennart Borgman
0 siblings, 0 replies; 5+ messages in thread
From: Lennart Borgman @ 2010-04-21 8:59 UTC (permalink / raw)
To: Thierry Volpiatto; +Cc: help-gnu-emacs
On Wed, Apr 21, 2010 at 10:29 AM, Thierry Volpiatto
<thierry.volpiatto@gmail.com> wrote:
> Peter Dyballa <Peter_Dyballa@Web.DE> writes:
>
>> Am 21.04.2010 um 06:06 schrieb Zhu Shenli:
>>
>>> So, I guess whether there is any existing tool do that: Ask in mini-
>>> buffer "Do you want to open the file in (a) Emacs (b) program-name-1
>>> (c) ...
>>
>>
>> No. Either use an old version of GNU Emacs without doc-view-mode or
>> delete particular file types from its control:
>
> I use here http://www.emacswiki.org/cgi-bin/emacs/extview.el
> but there is other tools that do that to, don't remember names, check
> emacswiki.
Another one is sex-mode.el in nXhtml.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Open file with external program
2010-04-21 7:38 ` Peter Dyballa
2010-04-21 8:29 ` Thierry Volpiatto
@ 2010-04-21 8:51 ` Zhu Shenli
1 sibling, 0 replies; 5+ messages in thread
From: Zhu Shenli @ 2010-04-21 8:51 UTC (permalink / raw)
To: Peter Dyballa; +Cc: help-gnu-emacs@gnu.org
On 04/21/2010 03:38 PM, Peter Dyballa wrote:
>
> Am 21.04.2010 um 06:06 schrieb Zhu Shenli:
>
>> So, I guess whether there is any existing tool do that: Ask in
>> mini-buffer "Do you want to open the file in (a) Emacs (b)
>> program-name-1 (c) ...
>
>
> No. Either use an old version of GNU Emacs without doc-view-mode or
> delete particular file types from its control:
>
> (setq auto-mode-alist (delete '("\\.\\(?:PDF\\|DVI\\|pdf\\|dvi\\)\\'"
> . doc-view-mode) auto-mode-alist))
>
>
> More details in info.
>
> --
> Greetings
>
> Pete
>
> Sorry my terrible English, my native language Lisp
>
Hi Pete, thank you!
Dmitri suggested to use dired-x shell command guessing. And it works
well both on dired and locate.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-04-21 8:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-21 4:06 Open file with external program Zhu Shenli
2010-04-21 7:38 ` Peter Dyballa
2010-04-21 8:29 ` Thierry Volpiatto
2010-04-21 8:59 ` Lennart Borgman
2010-04-21 8:51 ` Zhu Shenli
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.