From unknown Mon Aug 18 14:13:53 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#2018 <2018@debbugs.gnu.org> To: bug#2018 <2018@debbugs.gnu.org> Subject: Status: 23.0.60; Rmail buffer's encoding set incorrectly Reply-To: bug#2018 <2018@debbugs.gnu.org> Date: Mon, 18 Aug 2025 21:13:53 +0000 retitle 2018 23.0.60; Rmail buffer's encoding set incorrectly reassign 2018 emacs submitter 2018 Eli Zaretskii severity 2018 normal thanks From eliz@gnu.org Sat Jan 24 04:06:33 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 24 Jan 2009 12:06:33 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0OC6PAS005118 for ; Sat, 24 Jan 2009 04:06:26 -0800 Received: from mx10.gnu.org ([199.232.76.166]:45699) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LQhFr-00050s-FN for emacs-pretest-bug@gnu.org; Sat, 24 Jan 2009 07:04:51 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LQhHL-0000Un-F9 for emacs-pretest-bug@gnu.org; Sat, 24 Jan 2009 07:06:25 -0500 Received: from mtaout5.012.net.il ([84.95.2.13]:56921) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LQhHL-0000UT-0J for emacs-pretest-bug@gnu.org; Sat, 24 Jan 2009 07:06:23 -0500 Received: from conversion-daemon.i_mtaout5.012.net.il by i_mtaout5.012.net.il (HyperSendmail v2004.12) id <0KDZ00D004QM9I00@i_mtaout5.012.net.il> for emacs-pretest-bug@gnu.org; Sat, 24 Jan 2009 14:06:37 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.6.113]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KDZ0077B5N12XI0@i_mtaout5.012.net.il> for emacs-pretest-bug@gnu.org; Sat, 24 Jan 2009 14:06:37 +0200 (IST) Date: Sat, 24 Jan 2009 14:06:23 +0200 From: Eli Zaretskii Subject: 23.0.60; Rmail buffer's encoding set incorrectly X-012-Sender: halo1@inter.net.il To: emacs-pretest-bug@gnu.org Reply-to: Eli Zaretskii Message-id: X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 Start Rmail on an mbox file FOO with "C-u M-x rmail RET FOO RET", then evaluate buffer-file-coding-system: you will see the value of default-buffer-file-coding-system, instead of the encoding of the message that is being displayed. Type `p' and then `n' (to get to the same message): the value now changes to undecided-unix. Type "C-x C-s" (perhaps after making some changes, such as deleting a message): the value changes to raw-text-dos. Type `p' two times, and the value changes back to undecided-unix. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file d:/gnu/emacs/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2009-01-24 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1255 default-enable-multibyte-characters: t Major mode: RMAIL Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: O t h e r SPC SPC SPC SPC ` = ' SPC c h a r a c t e r s SPC e l s e w h e r e SPC i n SPC t h e SPC b o d y SPC o f SPC t h e SPC p a r t i a l SPC m e s s a g e SPC a l s o SPC b e c o m e SPC e n c o d e d SPC i n SPC q u o t e d - p r i n t a b l e . M-q r e - C-k SPC q u o t e d - p r i n t a b l e SPC p a r t s C-SPC M-w C-SPC C-e M-w C-x b M-x Recent messages: Quit Mark set Auto-saving...done Mark set [3 times] Auto-saving...done Mark set [2 times] Auto-saving...done Saved text from "In an Rmail buffer that holds a multi-pa" Mark set [2 times] Auto-saving...done From lekktu@gmail.com Sat Jan 24 05:04:01 2009 Received: (at control) by emacsbugs.donarmstrong.com; 24 Jan 2009 13:04:01 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.3 required=4.0 tests=MISSING_SUBJECT,NOSUBJECT, VALID_BTS_CONTROL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-ew0-f10.google.com (mail-ew0-f10.google.com [209.85.219.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0OD3wki018406 for ; Sat, 24 Jan 2009 05:03:59 -0800 Received: by ewy3 with SMTP id 3so5795908ewy.1 for ; Sat, 24 Jan 2009 05:03:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=CeeiEKcbFxmyO9WkWytoNkUy4vayQNZr5BBVIK86kIM=; b=JPmjhPfVMxw6t0npaSIw73VvdwdVGMejycvrnaDNGAdzgOji+rIYU9frjkR40zSFdy mqFaqyFGghJbbcIB5cENiFtFCX60Q3ZarwzjwGZxUebhDQps93H6FKzjo0lAbVrj2nic 63AfqIG2cchsMsfMkoDowPfCmFOTgw8hsHXL4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=ZK/s1LlEYCOcv9ytj0+TTXogTqdcQntcb59DDX699ecqDWqEZTSXGHOhTGnvT9y+8l oiUtTcY5sGz56MTGOnwjeOvA3gUEgImIjCCii7FVe28+UrkHdmezdn70J1iUlmrEqWKE aIAsJTYV/oN2ZQWXVwShJYrMPy9CkuDL1GETY= MIME-Version: 1.0 Received: by 10.210.66.13 with SMTP id o13mr9819670eba.124.1232802232596; Sat, 24 Jan 2009 05:03:52 -0800 (PST) Date: Sat, 24 Jan 2009 14:03:52 +0100 Message-ID: Subject: From: Juanma Barranquero To: control@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit reassign 512 emacs,rmail reassign 1051 emacs,rmail reassign 2000 emacs,rmail reassign 2015 emacs,rmail reassign 2016 emacs,rmail reassign 2017 emacs,rmail reassign 2018 emacs,rmail reassign 2019 emacs,rmail,w32 reassign 1034 emags,gnus reassign 1854 emacs,gnus quit From rgm@gnu.org Tue Jan 27 19:04:24 2009 Received: (at control) by emacsbugs.donarmstrong.com; 28 Jan 2009 03:04:24 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0S34LDJ000626 for ; Tue, 27 Jan 2009 19:04:22 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LS0hN-0001Au-Um; Tue, 27 Jan 2009 22:02:41 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18815.51921.904080.519433@fencepost.gnu.org> Date: Tue, 27 Jan 2009 22:02:41 -0500 From: Glenn Morris To: control Subject: control message X-Debbugs-No-Ack: yes merge 2018 2080 reassign 2090 spam From eliz@gnu.org Sat Jan 31 05:40:12 2009 Received: (at 2018-done) by emacsbugs.donarmstrong.com; 31 Jan 2009 13:40:12 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.9 required=4.0 tests=HAS_BUG_NUMBER,MDO_DATING14 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mtaout2.012.net.il (mtaout2.012.net.il [84.95.2.4]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0VDe7F1010081 for <2018-done@emacsbugs.donarmstrong.com>; Sat, 31 Jan 2009 05:40:09 -0800 Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KEC00C008CL8C00@i_mtaout2.012.net.il> for 2018-done@emacsbugs.donarmstrong.com; Sat, 31 Jan 2009 15:40:22 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.109.18]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KEC00HL38N8JLX0@i_mtaout2.012.net.il> for 2018-done@emacsbugs.donarmstrong.com; Sat, 31 Jan 2009 15:40:20 +0200 (IST) Date: Sat, 31 Jan 2009 15:40:02 +0200 From: Eli Zaretskii Subject: Re: bug#2018: 23.0.60; Rmail buffer's encoding set incorrectly In-reply-to: X-012-Sender: halo1@inter.net.il To: 2018-done@debbugs.gnu.org Reply-to: Eli Zaretskii Message-id: References: Fixed with these changes: 2009-01-31 Eli Zaretskii * mail/rmail.el (rmail-convert-babyl-to-mbox): Set Rmail's buffer encoding to `raw-text-unix'. (rmail-perm-variables): Set encoding of rmail-view-buffer to `undecided-unix'. (rmail-redecode-body): Don't change EOL conversion of the new encoding if the old one left it unspecified. (rmail-swap-buffers): New function. (rmail-change-major-mode-hook, rmail-swap-buffers-maybe) (rmail-show-message): Use rmail-swap-buffers. (rmail-decode-region): If DESTINATION is a buffer, set the encoding of that buffer, rather than the current buffer. From unknown Mon Aug 18 14:13:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Mon, 02 Mar 2009 15:24:08 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator