From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#75397: 29.4; GNUS message mode lacks Cyrillic support (GNU/Linux) Date: Wed, 08 Jan 2025 20:42:39 +0200 Message-ID: <86plkx2lls.fsf@gnu.org> References: <87ikqs4vh9.fsf@qUsTRXiEQl2mqe0RhRTCBvdMK1NPDFYUhwG8H6ChHv1t8DocVciblLlLbOcY.dobrynin.net> <87ldvo9tct.fsf@linux-m68k.org> <86tta92uid.fsf@gnu.org> <87bjwhz1qb.fsf@igel.home> 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="4204"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 75397@debbugs.gnu.org, ndobrynin@gmail.com To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 08 19:43:42 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 1tVb1o-0000iy-QI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Jan 2025 19:43:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVb1R-0004Po-PD; Wed, 08 Jan 2025 13:43:18 -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 1tVb1K-0004PR-Bf for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2025 13:43:11 -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 1tVb1D-0005MF-43 for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2025 13:43:10 -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:References:In-Reply-To:From:Date:To:Subject; bh=uJ2sP+pq9lhAnlzDGrvhOUlaPyFxia3TgQPumJOL3bM=; b=GUCMDPw487reath/iI2ys1g9UsLjRapFWBzYNMv/FqG4GTIchewow3QESDLLyRLuTPExbv7M7D5HKc/UwOyq1CFYm5I4QWT89bh/HEaDmfnHmmScmlQAmHztNRVoqOIRywfCHGXEFVE4agyOfQ/j5NDFqTnTyM0PY47WF0UAF4ZjA5P2nmZvHUPRrF++9dTQ+2LK7I8YO/2GwVOBgStX4gagT1MY5q4zUfLMnQ4RO2NKF9jU41s0Orqes4XoxsloHXhQ/h7WWvU1N/ip/BdHlje/S9HzdQm5X6HlLA3zBG1Ym5j0KHgtRsLhgX2Vs/8Tw3SkSWhzAwxwFGdvo34omg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVb1C-00034f-Es for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2025 13:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Jan 2025 18:43: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.173636177111792 (code B ref 75397); Wed, 08 Jan 2025 18:43:02 +0000 Original-Received: (at 75397) by debbugs.gnu.org; 8 Jan 2025 18:42:51 +0000 Original-Received: from localhost ([127.0.0.1]:48990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVb11-000347-Es for submit@debbugs.gnu.org; Wed, 08 Jan 2025 13:42:51 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34902) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tVb10-00033o-13 for 75397@debbugs.gnu.org; Wed, 08 Jan 2025 13:42:50 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVb0t-0005KM-NH; Wed, 08 Jan 2025 13:42:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=uJ2sP+pq9lhAnlzDGrvhOUlaPyFxia3TgQPumJOL3bM=; b=cRUF+s+1pWeDFaCu3dyX ufkrJ72PR+Ka6J2tfAk4jiXAdbyiitlv2E5gDTddXKPMKZLJ/WVkOUrTsgG8+dtAI1Yc7alJ9aIqb V0B7XeLuxg4x5n1Z/6B+CDnxGO/R7G1/u12V8Vbc15qXwugb/W0CC3exAV34JLnBwDwejjVBz+r9P Aezb/QpmquRd0YIWnB3KIZmF/qH7JMTYqk5urud9imL9TSeJR/0dCdzQjkFxpfW83FfiveDBDilX/ fr1h++mV6Zzoff7WXzP2/3er0Uo2gp8gQlG1gNsvUGsTWGguX8HM+TLtj6gTQnx4vj6VqeBiajC0N aF6C3R4Sb8oV9w==; In-Reply-To: <87bjwhz1qb.fsf@igel.home> (message from Andreas Schwab on Wed, 08 Jan 2025 17:53:16 +0100) 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:298793 Archived-At: > From: Andreas Schwab > Cc: ndobrynin@gmail.com, 75397@debbugs.gnu.org > Date: Wed, 08 Jan 2025 17:53:16 +0100 > > 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. OK, but then where is it documented that "S D e" in Gnus Summary is supposed to read the draft saved by "C-c C-d" in the mail buffer? Could it be that these two are not supposed to work together? The node "Drafts" in the Gnus manual describesa different procedure. If I follow it, then after typing "D e" in the nndraft:drafts group, I get placed in the *unsent mail* buffer with the correct Cyrillic text. Nickolai, did you try to use these different commands in your scenario?