From unknown Sat Aug 16 18:09:50 2025 X-Loop: don@donarmstrong.com Subject: bug#992: coding system for next command not honoured with C-u 0 C-x s Reply-To: Francesco Potorti` , 992@debbugs.gnu.org Resent-From: Francesco Potorti` Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 17 Sep 2008 16:45:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 992 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122166958327243 (code B ref -1); Wed, 17 Sep 2008 16:45:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.8 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 17 Sep 2008 16:39:43 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8HGddtE027237 for ; Wed, 17 Sep 2008 09:39:41 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kg042-0006PG-NH for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 12:39:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kg041-0006OL-Sn for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 12:39:38 -0400 Received: from [199.232.76.173] (port=37536 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kg041-0006Nv-Db for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 12:39:37 -0400 Received: from mx2.isti.cnr.it ([194.119.192.4]:1373) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kg040-0005xv-Jl for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 12:39:37 -0400 Received: from conversionlocal.isti.cnr.it by mx.isti.cnr.it (PMDF V6.4-beta #31598) id <01MZOF9LJVCG95Q8MX@mx.isti.cnr.it> for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 18:39:09 +0200 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by mx.isti.cnr.it (PMDF V6.4-beta #31598) with ESMTPSA id <01MZOF9L8RP69AQIQ9@mx.isti.cnr.it> for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 18:39:09 +0200 Received: from pot by tucano.isti.cnr.it with local (Exim 4.69) (envelope-from ) id 1Kg03Z-0001DV-0M for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 18:39:09 +0200 Date: Wed, 17 Sep 2008 18:39:09 +0200 From: Francesco Potorti` To: GNU emacs bug list Message-id: Organization: X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 X-detected-operating-system: by monty-python.gnu.org: OpenVMS 7.2 (Multinet 4.3-4.4 stack) To reproduce: emacs -Q C-x C-f aaa RET -- create a file aa -- write random text C-x RET c dos RET C-x C-s -- save it in Dos mode C-x k RET -- kill the buffer C-x C-f aaa RET -- reload the file -- modify it C-x RET c unix RET M-0 C-x C-s -- save in Unix mode, no backup At this point, the buffer should be in Unix mode, but instead it is in Dos mode. Accordingly, the file is saved in Dos mode. The bug only happens with M-0 C-x C-s, not with plain C-x C-s. From unknown Sat Aug 16 18:09:50 2025 X-Loop: don@donarmstrong.com Subject: bug#992: coding system for next command not honoured with C-u 0 C-x s Reply-To: Chong Yidong , 992@debbugs.gnu.org Resent-From: Chong Yidong Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 30 Sep 2008 21:40:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 992 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 992-submit@emacsbugs.donarmstrong.com id=B992.122281029223892 (code B ref 992); Tue, 30 Sep 2008 21:40:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.8 required=4.0 tests=AWL,BAYES_00,FOURLA, MURPHY_DRUGS_REL8 autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 992) by emacsbugs.donarmstrong.com; 30 Sep 2008 21:31:32 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8ULVTJE023858 for <992@emacsbugs.donarmstrong.com>; Tue, 30 Sep 2008 14:31:30 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 54E6657E32A; Tue, 30 Sep 2008 17:32:29 -0400 (EDT) From: Chong Yidong To: Francesco Potorti` Cc: 992@debbugs.gnu.org Date: Tue, 30 Sep 2008 17:32:29 -0400 Message-ID: <87bpy5cob6.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Does this patch DTRT? *** trunk/lisp/international/mule-cmds.el.~1.339.~ 2008-09-02 11:15:20.000000000 -0400 --- trunk/lisp/international/mule-cmds.el 2008-09-30 17:31:03.000000000 -0400 *************** *** 287,293 **** (cmd (key-binding keyseq)) prefix) ! (when (eq cmd 'universal-argument) (call-interactively cmd) ;; Process keys bound in `universal-argument-map'. --- 287,293 ---- (cmd (key-binding keyseq)) prefix) ! (when (memq cmd '(universal-argument digit-argument)) (call-interactively cmd) ;; Process keys bound in `universal-argument-map'. Diff finished. Tue Sep 30 17:31:41 2008 From unknown Sat Aug 16 18:09:50 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Francesco Potorti` Subject: bug#992 closed by Chong Yidong (Re: coding system for next command not honoured with C-u 0 C-x s) Message-ID: References: <87ljx2voxp.fsf@cyd.mit.edu> X-Emacs-PR-Message: they-closed 992 X-Emacs-PR-Package: emacs Reply-To: 992@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1223234103-17125-1" This is a multi-part message in MIME format... ------------=_1223234103-17125-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #992: coding system for next command not honoured with C-u 0 C-x s It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 992: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D992 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1223234103-17125-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From cyd@stupidchicken.com Sun Oct 5 12:08:31 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.8 required=4.0 tests=AWL,BAYES_00,FOURLA, MURPHY_DRUGS_REL8 autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 992-done) by emacsbugs.donarmstrong.com; 5 Oct 2008 19:08:31 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m95J8SA8015893 for <992-done@emacsbugs.donarmstrong.com>; Sun, 5 Oct 2008 12:08:29 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id BB8CE57E0B4; Sun, 5 Oct 2008 15:09:54 -0400 (EDT) From: Chong Yidong To: 992-done@debbugs.gnu.org Subject: Re: coding system for next command not honoured with C-u 0 C-x s Date: Sun, 05 Oct 2008 15:09:54 -0400 Message-ID: <87ljx2voxp.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii The patch I provided earlier seems to DTRT, so I've checked it in. ------------=_1223234103-17125-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From pot@gnu.org Wed Sep 17 09:39:43 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.8 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 17 Sep 2008 16:39:43 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8HGddtE027237 for ; Wed, 17 Sep 2008 09:39:41 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kg042-0006PG-NH for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 12:39:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kg041-0006OL-Sn for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 12:39:38 -0400 Received: from [199.232.76.173] (port=37536 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kg041-0006Nv-Db for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 12:39:37 -0400 Received: from mx2.isti.cnr.it ([194.119.192.4]:1373) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kg040-0005xv-Jl for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 12:39:37 -0400 Received: from conversionlocal.isti.cnr.it by mx.isti.cnr.it (PMDF V6.4-beta #31598) id <01MZOF9LJVCG95Q8MX@mx.isti.cnr.it> for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 18:39:09 +0200 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by mx.isti.cnr.it (PMDF V6.4-beta #31598) with ESMTPSA id <01MZOF9L8RP69AQIQ9@mx.isti.cnr.it> for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 18:39:09 +0200 Received: from pot by tucano.isti.cnr.it with local (Exim 4.69) (envelope-from ) id 1Kg03Z-0001DV-0M for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2008 18:39:09 +0200 Date: Wed, 17 Sep 2008 18:39:09 +0200 From: Francesco Potorti` Subject: coding system for next command not honoured with C-u 0 C-x s To: GNU emacs bug list Message-id: Organization: X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 X-detected-operating-system: by monty-python.gnu.org: OpenVMS 7.2 (Multinet 4.3-4.4 stack) To reproduce: emacs -Q C-x C-f aaa RET -- create a file aa -- write random text C-x RET c dos RET C-x C-s -- save it in Dos mode C-x k RET -- kill the buffer C-x C-f aaa RET -- reload the file -- modify it C-x RET c unix RET M-0 C-x C-s -- save in Unix mode, no backup At this point, the buffer should be in Unix mode, but instead it is in Dos mode. Accordingly, the file is saved in Dos mode. The bug only happens with M-0 C-x C-s, not with plain C-x C-s. ------------=_1223234103-17125-1--