From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#75397: 29.4; GNUS message mode lacks Cyrillic support (GNU/Linux) Date: Wed, 08 Jan 2025 17:53:16 +0100 Message-ID: <87bjwhz1qb.fsf@igel.home> References: <87ikqs4vh9.fsf@qUsTRXiEQl2mqe0RhRTCBvdMK1NPDFYUhwG8H6ChHv1t8DocVciblLlLbOcY.dobrynin.net> <87ldvo9tct.fsf@linux-m68k.org> <86tta92uid.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29614"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 75397@debbugs.gnu.org, ndobrynin@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 08 17:54:38 2025 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tVZKI-0007WB-Mb for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Jan 2025 17:54:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVZJv-0000Aj-Bx; Wed, 08 Jan 2025 11:54:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVZJj-0000AA-Lz for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2025 11:54:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tVZJj-0005XE-Db for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2025 11:54:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=ovuozM7nXtBhNOCK8hsKIIXJ8fYwuv5B6fL5j8GtvI8=; b=fmM+ttFWC6pbUkStVfpOayiQIRvDGTvkv19uf1lAJ3ira0kq2DY86PPPW+wRRlo5aih3nUKGbR8dORHP/r9BQxSaz27hiPBA2yqsPbQ91QaXOkEf874eVzvItWVHtTb0lVk20DNpL+ZBkgKKn2gIdSl3HffktJhzGHQiDMe7T/kOnokQr/mZvWNk4zKOrOpEqsvrifOoz5jxVEqtk6zO4i5yG+e4mUM0/t6x2nedAKi4kNhGOMDKoe3t8hsgo4r/gnv2JRb1Fwv5gb5y1OdYzFERG0DA9T9x4a7Np5hObmcwtBrPWf9F7mW9/pncQ8y+FsWx+n91U6SDpe92ZDnMoQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVZJi-0004dx-8U for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2025 11:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Jan 2025 16:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75397 X-GNU-PR-Package: emacs Original-Received: via spool by 75397-submit@debbugs.gnu.org id=B75397.173635520517774 (code B ref 75397); Wed, 08 Jan 2025 16:54:02 +0000 Original-Received: (at 75397) by debbugs.gnu.org; 8 Jan 2025 16:53:25 +0000 Original-Received: from localhost ([127.0.0.1]:48675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVZJ6-0004cb-Ii for submit@debbugs.gnu.org; Wed, 08 Jan 2025 11:53:24 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.9]:58838) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tVZJ1-0004cH-Bp for 75397@debbugs.gnu.org; Wed, 08 Jan 2025 11:53:22 -0500 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4YSvB54WvZz1qsPK; Wed, 8 Jan 2025 17:53:17 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4YSvB52kwQz1qqlY; Wed, 8 Jan 2025 17:53:17 +0100 (CET) X-Virus-Scanned: amavis at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavis, port 10024) with ESMTP id bEmfuSOLsyBF; Wed, 8 Jan 2025 17:53:16 +0100 (CET) X-Auth-Info: Du+1itA86/bnZcmbVEOVVc51PWmTGh61mJn+v7b2HNW4oozwv2wpeDF+rUyW2l8N Original-Received: from igel.home (aftr-82-135-83-68.dynamic.mnet-online.de [82.135.83.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Wed, 8 Jan 2025 17:53:16 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 1000) id 776CA2C1A30; Wed, 8 Jan 2025 17:53:16 +0100 (CET) In-Reply-To: <86tta92uid.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 08 Jan 2025 17:30:18 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298787 Archived-At: On Jan 08 2025, Eli Zaretskii wrote: >> Cc: 75397@debbugs.gnu.org >> From: Andreas Schwab >> Date: Mon, 06 Jan 2025 10:36:34 +0100 >> >> On Jan 06 2025, Nickolai Dobrynin wrote: >> >> > 1. Type M-gnus to start GNUS. >> > 2. Start composing a message by pressing 'm'. >> > 3. Enter the first, say, 5 letters of the Cyrillic alphabet, i.e. абвгд. >> > 4. Press C-c C-d to save the draft. >> > 5. Press S D e to resume editing. >> > 6. Bizarrely enough, instead of "абвгд", you will see a sequence of digits "01234". >> > >> > Is this even real?? By the way, this does not occur with ordinary text >> > files. And everything works fine in the view mode inside the draft >> > group. Pressing S D e, on the other hand, makes things go haywire. >> >> The problem is that message-dont-send doesn't encode the message when it >> saves it. > > I must be missing something here, because I don't see what you > describe above: It is about MIME encoding. > (defun message-dont-send () > "Don't send the message you have been editing. > Instead, just auto-save the buffer and then bury it." > (interactive nil message-mode) > (set-buffer-modified-p t) > (save-buffer) <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< > (let ((actions message-postpone-actions)) > (message-bury (current-buffer)) > (message-do-actions actions))) This just saves the raw buffer contents, but gnus-summary-resend-message-edit expects it to be a proper RFC2822 mail, with suitable MIME headers. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."