From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.bugs Subject: Re: codepage-setup NOERROR Date: Tue, 30 Oct 2007 22:59:46 +0000 Message-ID: <4727B762.5070800@gnu.org> References: <87640psdsi.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1193785217 32657 80.91.229.12 (30 Oct 2007 23:00:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Oct 2007 23:00:17 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: jidanni@jidanni.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 31 00:00:19 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1In04I-0008Jo-HM for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Oct 2007 00:00:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1In048-0003iG-MN for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Oct 2007 19:00:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1In041-0003hV-FP for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2007 19:00:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1In040-0003h3-66 for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2007 19:00:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1In040-0003h0-0M for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2007 19:00:00 -0400 Original-Received: from outmail1.freedom2surf.net ([194.106.33.237]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1In03z-0005MB-K9 for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2007 18:59:59 -0400 Original-Received: from [127.0.0.1] (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail1.freedom2surf.net (Postfix) with ESMTP id CAA1C52DB5; Tue, 30 Oct 2007 22:59:58 +0000 (GMT) User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: <87640psdsi.fsf@jidanni.org> X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16875 Archived-At: jidanni@jidanni.org wrote: > Some systems don't have all the codepages, so for one's .emacs file to > be portable, codepage-setup needs to have a NOERROR parameter, just > like (require). > We can't add a NOERROR parameter to everything just because someone might want to pass invalid parameters to it from their .emacs file. Use condition-case if you need to share a .emacs between different versions of Emacs that don't support all the codepages you want to use.