From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: Checking for nnheader-file-name-translation-alist on gnus-ems.el Date: Fri, 14 Jun 2002 17:51:33 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <20020614174614.82A2.LEKTU@terra.es> References: <20020614124350.C03B.LEKTU@terra.es> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1024070071 9220 127.0.0.1 (14 Jun 2002 15:54:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 14 Jun 2002 15:54:31 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17ItPD-0002Oa-00 for ; Fri, 14 Jun 2002 17:54:31 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17Ito3-0007fl-00 for ; Fri, 14 Jun 2002 18:20:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17ItOw-0003Lt-00; Fri, 14 Jun 2002 11:54:14 -0400 Original-Received: from [62.22.27.141] (helo=mail.peoplecall.com) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17ItNA-00039h-00 for ; Fri, 14 Jun 2002 11:52:24 -0400 Original-Received: from jbarranquero (jbarranquero.ofi.peoplecall.com [62.22.27.143]) by mail.peoplecall.com (8.11.6/8.11.6) with ESMTP id g5EFqM416474 for ; Fri, 14 Jun 2002 17:52:22 +0200 Resent-Date: Fri, 14 Jun 2002 17:52:22 +0200 Resent-From: Juanma Barranquero Resent-To: emacs-devel@gnu.org Resent-Message-Id: <20020614175158.82A7.LEKTU@terra.es> Original-To: Simon Josefsson In-Reply-To: X-Original-Mailer: Becky! ver. 2.00.11 X-Mailer: Becky! ver. 2.00.11 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4867 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4867 On Fri, 14 Jun 2002 15:32:53 +0200 (CEST), Simon Josefsson wrote: > gnus-ems.el found in Emacs CVS is not intended to work with several Emacs > and XEmacs releases, I think. It has XEmacs-specific stuff, so I suppose the intent is to be the same as in Oort Gnus or whatever. > But it would be better to have a generic > solution, because the same patch will probably be applied to Oort Gnus as > well, which IS intended to work with several Emacs and XEmacs releases. The generic solution is even easier. See below. Opinion from Gnus maintainer (and posibly others)? /L/e/k/t/u Index: gnus-ems.el =================================================================== RCS file: /cvs/emacs/lisp/gnus/gnus-ems.el,v retrieving revision 1.15 diff -u -3 -r1.15 gnus-ems.el --- gnus-ems.el 12 Apr 2002 08:46:59 -0000 1.15 +++ gnus-ems.el 14 Jun 2002 15:47:39 -0000 @@ -81,6 +81,7 @@ (cond ((string-match "windows-nt\\|os/2\\|emx\\|cygwin32" (symbol-name system-type)) + (require 'nnheader) (setq nnheader-file-name-translation-alist (append nnheader-file-name-translation-alist (mapcar (lambda (c) (cons c ?_))