all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "spamfilteraccount@gmail.com" <spamfilteraccount@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Opening file in UTF-8 mode automatically
Date: Mon, 26 Nov 2007 23:12:36 -0800 (PST)	[thread overview]
Message-ID: <ef021a66-a49e-4edb-93e7-86bf67a07978@d27g2000prf.googlegroups.com> (raw)
In-Reply-To: v9y7cm36gg.fsf@marauder.physik.uni-ulm.de

On Nov 25, 12:33 pm, Reiner Steib <reinersteib+gm...@imap.cc> wrote:
> On Sun, Nov 25 2007, spamfilteracco...@gmail.com wrote:
> > On Nov 24, 7:38 pm, Reiner Steib <reinersteib+gm...@imap.cc> wrote:
> >> `auto-coding-regexp-alist' in Emacs 22 already has an entry for the
> >> BOM: ("\\`\xEF\xBB\xBF" . utf-8).
>
> > Yep, it's there, I checked it, but it doesn't trigger opening the file
> > in utf-8 mode.
>
> Works for me:
>

If anyone can tell me what code should trigger utf-8 mode via auto-
coding-regexp-alist then I can debug the problem myself.

I'm quite knowledgeable in Emacs Lisp, so if it's in the lisp part
then I can surely debug it.

I took a cursory look into mule.el and I saw auto-coding-regexp-alist
is used there, but I haven't seen any apparent mechanism tying that
stuff to file opening (no find-file-hook or something).

Anyone can give me some pointers regarding this?

  reply	other threads:[~2007-11-27  7:12 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-24 16:38 Opening file in UTF-8 mode automatically spamfilteraccount
2007-11-24 18:26 ` Peter Dyballa
2007-11-24 20:09   ` Eli Zaretskii
2007-11-24 18:38 ` Reiner Steib
2007-11-25  5:49   ` spamfilteraccount
2007-11-25 11:33     ` Reiner Steib
2007-11-27  7:12       ` spamfilteraccount [this message]
2007-11-24 20:07 ` Eli Zaretskii
     [not found] ` <mailman.4039.1195934839.18990.help-gnu-emacs@gnu.org>
2007-11-25  5:51   ` spamfilteraccount
2007-11-25 20:59     ` Eli Zaretskii
     [not found]     ` <mailman.4082.1196024377.18990.help-gnu-emacs@gnu.org>
2007-11-27  7:14       ` spamfilteraccount
2007-11-27  7:30         ` Zhang Wei
2007-11-27 17:41           ` Reiner Steib
2007-11-27 21:47           ` Eli Zaretskii
     [not found]           ` <mailman.4200.1196200033.18990.help-gnu-emacs@gnu.org>
2007-11-28  6:54             ` spamfilteraccount
2007-11-27 21:48         ` Eli Zaretskii
2007-11-25 22:49 ` Xah Lee
2007-11-27  7:15   ` spamfilteraccount

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=ef021a66-a49e-4edb-93e7-86bf67a07978@d27g2000prf.googlegroups.com \
    --to=spamfilteraccount@gmail.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.