From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#8744: Also use detect-coding-string? Date: Mon, 30 May 2011 10:33:14 -0300 Message-ID: References: <87sjrxnxyx.fsf@universe.krase.net> <8762oselk0.fsf@universe.krase.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1306762457 12697 80.91.229.12 (30 May 2011 13:34:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 May 2011 13:34:17 +0000 (UTC) Cc: 8744@debbugs.gnu.org, Leo To: Marco Pessotto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 30 15:34:12 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QR2bj-0007Xx-I1 for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 May 2011 15:34:11 +0200 Original-Received: from localhost ([::1]:44166 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QR2bi-0003lQ-Tp for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 May 2011 09:34:10 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:46931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QR2bh-0003lK-26 for bug-gnu-emacs@gnu.org; Mon, 30 May 2011 09:34:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QR2bb-0002cm-Ex for bug-gnu-emacs@gnu.org; Mon, 30 May 2011 09:34:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QR2bb-0002ci-DV for bug-gnu-emacs@gnu.org; Mon, 30 May 2011 09:34:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QR2ba-0000Q6-Jg; Mon, 30 May 2011 09:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 May 2011 13:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8744 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8744-submit@debbugs.gnu.org id=B8744.13067624051571 (code B ref 8744); Mon, 30 May 2011 13:34:02 +0000 Original-Received: (at 8744) by debbugs.gnu.org; 30 May 2011 13:33:25 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QR2az-0000PH-2f for submit@debbugs.gnu.org; Mon, 30 May 2011 09:33:25 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QR2aw-0000P5-8c for 8744@debbugs.gnu.org; Mon, 30 May 2011 09:33:23 -0400 Original-Received: from 213-159-126-200.fibertel.com.ar ([200.126.159.213]:33652 helo=ceviche.home) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QR2aq-0007WO-R3; Mon, 30 May 2011 09:33:17 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 1BF61660D3; Mon, 30 May 2011 10:33:14 -0300 (ART) In-Reply-To: <8762oselk0.fsf@universe.krase.net> (Marco Pessotto's message of "Mon, 30 May 2011 08:42:39 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 30 May 2011 09:34:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:46800 Archived-At: > The rcirc-decode-coding-system is by default set to 'utf-8, which is > (obviously a valid coding system), so the test, if i understand > correctly, would always be true. > My idea is that the client should try to detect automatically the > encoding used for each message received, using as first choices the > encodings set by the user. That's what all the major IRC clients do (like > irssi and weechat). IIUC that's exactly what you'll get if you set rcirc-decode-coding-system to `undecided'. Stefan