all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: 14188@debbugs.gnu.org
Subject: bug#14188: 24.3.50; ODF files and auto-mode-alist
Date: Thu, 11 Apr 2013 23:14:05 +0300	[thread overview]
Message-ID: <83obdkakqa.fsf@gnu.org> (raw)
In-Reply-To: <87a9p4deqb.fsf@rosalinde.fritz.box>

> From: Stephen Berman <stephen.berman@gmx.net>
> Date: Thu, 11 Apr 2013 21:55:24 +0200
> 
> The extension .od[fgpst] for ODF files occurs twice as part of a key in
> the default value of auto-mode-alist, paired first with archive-mode and
> later with doc-view-mode-maybe.  As a result, visiting such a file shows
> the directory-style listing of the archive instead of the files content.
> To see the latter, you have to explicitly invoke doc-view-mode.  But if
> .od[fgpst] is removed from the key paired with archive-mode, then
> visiting such a file shows the content after conversion, and when you
> type C-c C-c, it switches to the archive listing, due to
> magic-fallback-mode-alist.[1]  I think this is better behavior.  I can't
> test files with the other extensions in the problematic entry
> ("\\.\\(sx[dmicw]\\|od[fgpst]\\|oxt\\)\\'" . archive-mode), so I don't
> know if the whole entry should be deleted or only "od[fgpst]\\|".

doc-view-mode requires additional programs.  What if they are not
available?





  reply	other threads:[~2013-04-11 20:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-11 19:55 bug#14188: 24.3.50; ODF files and auto-mode-alist Stephen Berman
2013-04-11 20:14 ` Eli Zaretskii [this message]
2013-04-11 20:51   ` Stephen Berman
2013-04-17 13:43 ` Tassilo Horn
2013-04-17 18:30   ` Stephen Berman
2013-04-18  6:34     ` Tassilo Horn
2013-04-18  7:56       ` Stephen Berman

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=83obdkakqa.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=14188@debbugs.gnu.org \
    --cc=stephen.berman@gmx.net \
    /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.