From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#4047: 23.1.1: hexl-mode doesn't like UTF8 files with a byte-order mark Date: Sat, 08 Aug 2009 16:29:31 +0200 Message-ID: References: <20090807085054.036E61BF28D@ws1-10.us4.outblaze.com> <837hxemr9h.fsf@gnu.org> <831vnmmoe3.fsf@gnu.org> Reply-To: Andreas Schwab , 4047@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249742833 21179 80.91.229.12 (8 Aug 2009 14:47:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Aug 2009 14:47:13 +0000 (UTC) Cc: 4047@emacsbugs.donarmstrong.com, bogossian@mail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 08 16:47:05 2009 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 1MZnCL-0007cm-1S for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Aug 2009 16:47:05 +0200 Original-Received: from localhost ([127.0.0.1]:34741 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZnCK-0000v3-7Q for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Aug 2009 10:47:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZnCE-0000tW-Th for bug-gnu-emacs@gnu.org; Sat, 08 Aug 2009 10:46:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZnCA-0000rE-F6 for bug-gnu-emacs@gnu.org; Sat, 08 Aug 2009 10:46:58 -0400 Original-Received: from [199.232.76.173] (port=49634 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZnCA-0000r4-6Z for bug-gnu-emacs@gnu.org; Sat, 08 Aug 2009 10:46:54 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46933) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MZnC9-0005b9-6R for bug-gnu-emacs@gnu.org; Sat, 08 Aug 2009 10:46:53 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n78EkmZk009536; Sat, 8 Aug 2009 07:46:48 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n78EZ3SP008214; Sat, 8 Aug 2009 07:35:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Andreas Schwab Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 08 Aug 2009 14:35:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4047 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4047-submit@emacsbugs.donarmstrong.com id=B4047.12497417827633 (code B ref 4047); Sat, 08 Aug 2009 14:35:03 +0000 Original-Received: (at 4047) by emacsbugs.donarmstrong.com; 8 Aug 2009 14:29:42 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n78ETeoB007628 for <4047@emacsbugs.donarmstrong.com>; Sat, 8 Aug 2009 07:29:41 -0700 Original-Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 7C8D41C15461; Sat, 8 Aug 2009 16:29:33 +0200 (CEST) Original-Received: from localhost (dynscan2.mnet-online.de [192.168.1.215]) by mail.m-online.net (Postfix) with ESMTP id 201609026A; Sat, 8 Aug 2009 16:29:33 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan2.mnet-online.de [192.168.1.215]) (amavisd-new, port 10024) with ESMTP id HD5yFvkEiXw7; Sat, 8 Aug 2009 16:29:32 +0200 (CEST) Original-Received: from igel.home (DSL01.83.171.176.2.ip-pool.NEFkom.net [83.171.176.2]) by mail.mnet-online.de (Postfix) with ESMTP; Sat, 8 Aug 2009 16:29:31 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id B275C10C0D1; Sat, 8 Aug 2009 16:29:31 +0200 (CEST) X-Yow: Dehydrated EGGS are STREWN across ROULETTE TABLES.. In-Reply-To: <831vnmmoe3.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 08 Aug 2009 16:22:12 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 08 Aug 2009 10:46:58 -0400 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:29992 Archived-At: Eli Zaretskii writes: > Btw, I doubt that any encoding that uses BOM can ever be appropriate > for encoding command-line arguments. Maybe we should treat them > specially in call-process and its ilk. The bug is that hexlify-buffer assumes that manually encoding the command line stops call-process from encoding it again, which does not work: coding-system-for-write takes absolute precedence. IMHO call-process should not use coding-system-for-write for encoding the command line, if at all there should be a separate override. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."