all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steven Degutis <sbdegutis@gmail.com>
To: Juha Nieminen <juha.nieminen@gmail.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: Always use UTF-8 mode with certain files
Date: Tue, 23 Apr 2013 12:07:38 -0500	[thread overview]
Message-ID: <CACeWA3jx8w5m4hsAWBvaK-W-fCU6+oNefX7rLBzvP2Vqi0eUDw@mail.gmail.com> (raw)
In-Reply-To: <CAJYAUQs8m761BcDRP4Bt9Ebj-YhbXm+q9UWqm0DyWOqnZAmP6g@mail.gmail.com>

This isn't a direct answer to the question, but I would point you to
tip #1 in https://github.com/sdegutis/using-emacs#tips-about-pragmaticism

-Steven

On Tue, Apr 23, 2013 at 7:25 AM, Juha Nieminen <juha.nieminen@gmail.com> wrote:
> Hello.
>
> I would like for emacs to always use UTF-8 mode when opening certain
> files (similarly as to what happens if I do a C-x C-m r utf-8, but
> just when normally opening a file.) For example I would like this to
> be the case when opening files with extensions .m, .mm and .h.
>
> I don't know what to write in the .emacs file for this to happen. (And
> obviously it shouldn't interfere with any other hooks that are
> triggered when opening such files...)
>



  reply	other threads:[~2013-04-23 17:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-23 12:25 Always use UTF-8 mode with certain files Juha Nieminen
2013-04-23 17:07 ` Steven Degutis [this message]
2013-04-23 19:02 ` Peter Dyballa

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=CACeWA3jx8w5m4hsAWBvaK-W-fCU6+oNefX7rLBzvP2Vqi0eUDw@mail.gmail.com \
    --to=sbdegutis@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=juha.nieminen@gmail.com \
    /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.