all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andrea Crotti <andrea.crotti.0@gmail.com>
To: 0x657573@googlemail.com
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to disable file extension auto-detection or auto-action?
Date: Tue, 22 Mar 2011 22:27:39 +0100	[thread overview]
Message-ID: <DD00F307-E702-4E92-9E94-DC16A5C7840D@gmail.com> (raw)

"Tadeus (Eus) Prastowo" <0x657573@googlemail.com> writes:
>
> I put the following in my ~/.emacs as per Emacs wiki[1] and do M-x
> load-file ~/.emacs:
>
> (add-to-list 'auto-mode-alist '("\\.bz2\\'" . fundamental-mode))
>
> But, Emacs still decompresses the fake .bz2 file resulting in a blank
> screen. So, I think the decompression happens before auto-mode can even
> do something.

Try with:
(add-to-list 'auto-mode-alist '("\\.bz2$" . fundamental-mode))
(it works for me), the other regexp was not correct...

Hope it helped,
bye ;)

-- 
GNU Emacs 24.0.50.3 (x86_64-apple-darwin10.6.0, NS apple-appkit-1038.35)
of 2011-03-05 on ip1-201.halifax.rwth-aachen.de



             reply	other threads:[~2011-03-22 21:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-22 21:27 Andrea Crotti [this message]
     [not found] <mailman.5.1300829265.13753.help-gnu-emacs@gnu.org>
2011-03-23  1:47 ` How to disable file extension auto-detection or auto-action? Stefan Monnier
     [not found] <mailman.1.1300728119.14572.help-gnu-emacs@gnu.org>
2011-03-22  1:30 ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2011-03-21  8:12 Tadeus (Eus) Prastowo
2011-03-22 12:17 ` Andrea Crotti
2011-03-22 15:59   ` Tadeus (Eus) Prastowo
     [not found]   ` <mailman.1.1300809590.31145.help-gnu-emacs@gnu.org>
2011-03-22 19:31     ` Ralf Fassel
2011-03-23 18:34       ` Tadeus (Eus) Prastowo

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=DD00F307-E702-4E92-9E94-DC16A5C7840D@gmail.com \
    --to=andrea.crotti.0@gmail.com \
    --cc=0x657573@googlemail.com \
    --cc=help-gnu-emacs@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 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.