all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: lekktu@gmail.com, 1853@emacsbugs.donarmstrong.com,
	emacs-devel@gnu.org, handa@m17n.org
Subject: Re: bug#1853: Trouble with gzipped info files on Windows
Date: Mon, 19 Jan 2009 06:11:42 +0200	[thread overview]
Message-ID: <uwscsue81.fsf@gnu.org> (raw)
In-Reply-To: <jwvprik49dr.fsf-monnier+emacsbugreports@gnu.org>

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: 1853@emacsbugs.donarmstrong.com,  handa@m17n.org,  lekktu@gmail.com,  emacs-devel@gnu.org
> Date: Sun, 18 Jan 2009 16:01:40 -0500
> 
> > Upon further thought, perhaps we want the default coding-systems to
> > have an explicit -dos EOL type on DOS and Windows, for consistency
> > with how we set up things on startup.  This would involve explicitly
> > changing eol-type of default-coding before the last line above.
> 
> Ideally, it should not only do the same as done on startup, but also do
> it by running the same code.

Right, I had that in mind, too.  The problem is, it's not trivial.
The way it works on startup now is a bit kludgey: dos-w32.el says

  (setq-default buffer-file-coding-system 'undecided-dos)

and then set-language-environment-coding-systems does

 (let* ((priority (get-language-info language-name 'coding-priority))
        (default-coding (car priority))
        (eol-type (coding-system-eol-type default-buffer-file-coding-system)))
  ...
    (if (memq eol-type '(0 1 2 unix dos mac))
      (coding-system-change-eol-conversion default-coding eol-type)))

the kludge being that this only works because of the specific order
files are loaded at dump time and the order of function invocation
during startup.  Are we okay with making non-trivial changes in that
at this time?




  reply	other threads:[~2009-01-19  4:11 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <uab9gu30o.fsf@gnu.org>
2009-01-10 21:49 ` bug#1853: Trouble with gzipped info files on Windows Juanma Barranquero
2009-01-17 12:59   ` set-language-environment sets default EOL type to -unix Eli Zaretskii
2009-01-17 14:36     ` Stefan Monnier
2009-01-17 15:23       ` Eli Zaretskii
2009-01-17 15:40         ` Juanma Barranquero
2009-01-17 16:36           ` Eli Zaretskii
2009-01-17 16:59             ` Juanma Barranquero
2009-01-18  1:45         ` Stefan Monnier
2009-01-17 13:11   ` bug#1853: Trouble with gzipped info files on Windows Eli Zaretskii
2009-01-17 14:05     ` Eli Zaretskii
2009-01-17 14:05     ` Eli Zaretskii
2009-01-17 14:15       ` Eli Zaretskii
2009-01-17 14:15       ` Eli Zaretskii
2009-01-18 21:01         ` Stefan Monnier
2009-01-18 21:01         ` Stefan Monnier
2009-01-19  4:11           ` Eli Zaretskii [this message]
2009-01-20  5:10             ` Stefan Monnier
2009-01-24 15:34               ` Eli Zaretskii
2009-01-24 15:34               ` Eli Zaretskii
2009-01-20  5:10             ` Stefan Monnier
2009-01-19  4:11           ` Eli Zaretskii
2009-01-17 13:20   ` bug#1853: marked as done (Trouble with gzipped info files on Windows) Emacs bug Tracking System
2009-01-24 15:45   ` Emacs bug Tracking System

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=uwscsue81.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=1853@emacsbugs.donarmstrong.com \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.org \
    --cc=lekktu@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /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.