all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 7169@debbugs.gnu.org
Subject: bug#7169: cannot specify coding via dir-locals
Date: Thu, 07 Oct 2010 10:04:36 +0200	[thread overview]
Message-ID: <jwvk4luph0m.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <83wrpvnj1d.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 06 Oct 2010 22:49:34 +0200")

>> I added:
>> (coding . utf-8)
>> to the change-log-mode section in the Emacs .dir-locals.el file, then did
>> 
>> ./src/emacs -Q lisp/ChangeLog.1
>> 
>> The file was opened in undecided-unix. I was hoping to be able to
>> remove the "coding: utf-8" that many of the Emacs ChangeLog files
>> (but not that particular example) have.

> Independently of the potential bug, why is it a good idea to have such
> a setting in the Emacs tree?  There are some files for which this will
> do the wrong thing.

FWIW, I think such a setting should be provided for all Emacs files
rather than just for change-log-mode ones.  This would mean "in the
absence of a coding tag in the file, use utf-8", which seems like it
can only be better than the current "in the absence of a coding tag in
the file, use whatever the user happens to prefer".


        Stefan







      parent reply	other threads:[~2010-10-07  8:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-06 19:39 bug#7169: cannot specify coding via dir-locals Glenn Morris
2010-10-06 20:49 ` Eli Zaretskii
2010-10-06 21:00   ` Glenn Morris
2010-10-07  3:53     ` Eli Zaretskii
2010-10-07  4:18       ` Glenn Morris
2010-10-07  4:20         ` Glenn Morris
2010-10-07 13:44         ` Eli Zaretskii
2010-10-07  8:04   ` Stefan Monnier [this message]

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=jwvk4luph0m.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=7169@debbugs.gnu.org \
    --cc=eliz@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.