Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: Emacs unicode merge changes to Gnus
Date: Thu, 07 Feb 2008 08:27:45 +0900	[thread overview]
Message-ID: <b4mir11acni.fsf@jpl.org> (raw)
In-Reply-To: <v9prv9rb28.fsf@marauder.physik.uni-ulm.de>

>>>>> Reiner Steib wrote:

> +;; Fixme: deal with old emacs-mule when mm-universal-coding-system is
> +;; utf-8-emacs.
>  (defvar gnus-ding-file-coding-system mm-universal-coding-system
>    "Coding system for ding file.")

[...]

> -	(let ((coding-system-for-read gnus-ding-file-coding-system))
> -	  (gnus-load ding-file))
> +	(gnus-load ding-file)

[...]

>  (defun gnus-gnus-to-quick-newsrc-format (&optional minimal name &rest specific-variables)
>    "Print Gnus variables such as `gnus-newsrc-alist' in Lisp format."
> -    (princ ";; -*- emacs-lisp -*-\n")
> +    (princ (format ";; -*- mode:emacs-lisp; coding: %s; -*-\n"
> +		   gnus-ding-file-coding-system))

> This could cause problems for people switching (from Emacs 23) to
> Emacs <= 22 (or XEmacs).  AFAICS, Emacs 21 and 22 simply ignore the
> cookie if the coding is unknown.  I'd expect problems for people using
> e.g. non-ASCII group names.  Any ideas how to fix this problem?

I think this would not be a problem at least for non-ASCII group
names.  Because a non-ASCII group name will be expressed with
ASCII characters in the .newsrc.eld file in this way.

(prin1 (encode-coding-string "group.name" 'CODING))

What we should take notice of will be byte-compiled format specs.
Performing `M-x gnus-compile' causes them.



  parent reply	other threads:[~2008-02-06 23:27 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-06  2:30 Miles Bader
2008-02-06 22:10 ` Reiner Steib
2008-02-06 22:44   ` Miles Bader
2008-02-06 23:06     ` Reiner Steib
2008-02-06 23:22       ` Miles Bader
2008-02-06 23:27   ` Katsumi Yamaoka [this message]
2008-02-07  8:24     ` Reiner Steib
2008-02-07  9:19       ` Katsumi Yamaoka
2008-02-07 10:24         ` Miles Bader
2008-02-15  0:42           ` Miles Bader
2008-02-15 17:30             ` Reiner Steib
2008-02-15 21:59               ` Miles Bader
2008-02-16  0:39                 ` Reiner Steib
2008-02-20  0:29                   ` Miles Bader
2008-02-20 19:34                     ` Reiner Steib
2008-02-26 21:17                       ` Reiner Steib
2008-02-20  0:30                   ` Miles Bader
2008-02-20 19:23                     ` Reiner Steib
2008-02-23 18:07                       ` Reiner Steib
2008-02-24  1:41                         ` Miles Bader

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=b4mir11acni.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).