all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: disabling doc-view mode
Date: Sat, 29 Sep 2012 23:11:59 +0200	[thread overview]
Message-ID: <036432D7-2ED8-4877-B05A-A4EA4471F4CF@Web.DE> (raw)
In-Reply-To: <jwvvcewpxon.fsf-monnier+gnu.emacs.help@gnu.org>


Am 29.09.2012 um 19:09 schrieb Stefan Monnier:

>> 	(delete '("\\.\\(?:PDF\\|DVI\\|pdf\\|dvi\\)\\'" . doc-view-mode)
> 
> This is pretty brittle.  Rather than try to "remove behavior" it's often
> easier to add behavior:
> 
>  (add-to-list 'auto-mode-alist '("\\.ps\\'" . ps-mode))

GNU Emacs 24.2.50 already has:

 ("\\.[eE]?[pP][sS]\\'" . ps-mode)
 ("\\.\\(?:PDF\\|DVI\\|OD[FGPST]\\|DOCX?\\|XLSX?\\|PPTX?\\|pdf\\|dvi\\|od[fgpst]\\|docx?\\|xlsx?\\|pptx?\\)\\'" . doc-view-mode-maybe)

GNU Emacs 23.4 already has:

 ("\\.[eE]?[pP][sS]\\'" . ps-mode)
 ("\\.\\(?:PDF\\|DVI\\|pdf\\|dvi\\)\\'" . doc-view-mode)

So it seems to me that Marten has something customised that PS files are opened in doc-view-mode…

--
Greetings

  Pete

Hard Disk, n.:
	A device that allows users to delete vast quantities of data with simple mnemonic commands.




  reply	other threads:[~2012-09-29 21:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-04  7:54 disabling doc-view mode Tim X
2009-12-04  8:03 ` Klaus Straubinger
2009-12-04 11:33   ` Tim X
2009-12-04 13:37 ` Tassilo Horn
     [not found] ` <mailman.12187.1259933898.2239.help-gnu-emacs@gnu.org>
2009-12-04 14:48   ` Klaus Straubinger
2009-12-04 19:05     ` Stefan Monnier
2009-12-04 22:18   ` Tim X
2012-09-28  3:04   ` martensjd
2012-09-28  7:40     ` Eli Zaretskii
2012-09-28  8:44     ` Peter Dyballa
     [not found]     ` <mailman.9913.1348821910.855.help-gnu-emacs@gnu.org>
2012-09-29 17:09       ` Stefan Monnier
2012-09-29 21:11         ` Peter Dyballa [this message]
2012-10-19  3:18         ` Kevin Rodgers

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

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

  git send-email \
    --in-reply-to=036432D7-2ED8-4877-B05A-A4EA4471F4CF@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 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.