all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Helmut Eller <eller.helmut@gmail.com>
To: 13029@debbugs.gnu.org
Subject: bug#13029: 24.3.50; coding system from .dir-locals.el doesn't work
Date: Thu, 29 Nov 2012 17:43:46 +0100	[thread overview]
Message-ID: <m2y5hk8im5.fsf@gmail.com> (raw)

Specifying the coding system in a .dir-locals.el doesn't seem to have
the same effect as when adding a file local variable.  E.g.
I have this in .dir-locals.el:

  ((lisp-mode
    (coding . us-ascii-unix)))

and when opening a lisp file, C-h v buffer-file-coding-system shows
this:

  buffer-file-coding-system is a variable defined in `C source code'.
  Its value is undecided-unix

If I use a file local variable instead ;; -*- coding: us-ascii-unix -*-
C-h v buffer-file-coding-system shows this:

  buffer-file-coding-system is a variable defined in `C source code'.
  Its value is us-ascii-unix

This is the first time ever that I wanted to use directory local
variables.  So maybe I did something wrong.



In GNU Emacs 24.3.50.2 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2012-11-25 on ix
Bzr revision: 111007 eggert@cs.ucla.edu-20121125075055-skssz1ov908v90ba
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
System Description:	Debian GNU/Linux 6.0.4 (squeeze)

Configured using:
 `configure '--with-jpeg=no' '--with-gif=no' '--with-tiff=no''

Important settings:
  value of $LANG: en_US
  locale-coding-system: iso-latin-1-unix
  default enable-multibyte-characters: t

Major mode: Lisp

Minor modes in effect:
  slime-mode: t
  outline-minor-mode: t
  display-time-mode: t
  show-paren-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t





             reply	other threads:[~2012-11-29 16:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-29 16:43 Helmut Eller [this message]
2012-11-29 17:51 ` bug#13029: 24.3.50; coding system from .dir-locals.el doesn't work Glenn Morris
2012-11-29 19:02   ` Stefan Monnier

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=m2y5hk8im5.fsf@gmail.com \
    --to=eller.helmut@gmail.com \
    --cc=13029@debbugs.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.