From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1997: marked as done (23.0.60; write-region fails in pmail) Date: Fri, 23 Jan 2009 15:25:05 +0000 Message-ID: References: <87tz7q127q.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1232724305-20690-0" X-Trace: ger.gmane.org 1232725559 8155 80.91.229.12 (23 Jan 2009 15:45:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Jan 2009 15:45:59 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 23 16:47:11 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LQOFC-0006eV-AH for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Jan 2009 16:46:54 +0100 Original-Received: from localhost ([127.0.0.1]:33765 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQODu-0003C2-SK for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Jan 2009 10:45:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQOBz-0002NK-2K for bug-gnu-emacs@gnu.org; Fri, 23 Jan 2009 10:43:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQOBw-0002L6-Em for bug-gnu-emacs@gnu.org; Fri, 23 Jan 2009 10:43:33 -0500 Original-Received: from [199.232.76.173] (port=35343 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQOBw-0002Km-99 for bug-gnu-emacs@gnu.org; Fri, 23 Jan 2009 10:43:32 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46553) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LQOBu-0003qZ-V4 for bug-gnu-emacs@gnu.org; Fri, 23 Jan 2009 10:43:31 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0NFhSqm025271; Fri, 23 Jan 2009 07:43:29 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0NFP5DT020757; Fri, 23 Jan 2009 07:25:06 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 1997 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:24432 Archived-At: This is a multi-part message in MIME format... ------------=_1232724305-20690-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Fri, 23 Jan 2009 10:17:29 -0500 with message-id <87tz7q127q.fsf@cyd.mit.edu> and subject line Re: bug#1997: 23.0.60; write-region fails in pmail has caused the Emacs bug report #1997, regarding 23.0.60; write-region fails in pmail to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 1997: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1997 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1232724305-20690-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 23 Jan 2009 06:20:40 +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 n0N6KWNG015465 for ; Thu, 22 Jan 2009 22:20:33 -0800 Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LQFNb-0005yn-Vp; Fri, 23 Jan 2009 01:19:00 -0500 Content-Type: text/plain; charset=ISO-8859-15 From: Richard M Stallman To: emacs-pretest-bug@gnu.org Subject: 23.0.60; write-region fails in pmail Reply-to: rms@gnu.org Message-Id: Date: Fri, 23 Jan 2009 01:18:59 -0500 I use this function to write HTML code from certain messages: (defun lynx () (interactive) (unless (re-search-backward "^From wget@gnu.org" nil t) (goto-char (point-min))) (save-excursion (search-forward "/bin/sh") (forward-line 3) (let ((start (point))) (search-forward "!EOF!") (beginning-of-line) (write-region start (point) "~/foo.html")))) Instead of writing from the view buffer as it used to, it now writes from the mbox buffer. It writes the WHOLE mbox. I presume this is due to the changes to use an existing hook and its warts, instead of a feature designed to be simple to use for this job. I verified that pmail-write-region-annotate was called with arguments 369 87214. Any attempt to write part of the view buffer into a file has the same problem. In GNU Emacs 23.0.60.17 (mipsel-unknown-linux-gnu, GTK+ Version 2.12.11) of 2009-01-22 on lemote-yeeloong configured using `configure 'CFLAGS=-O0 -g -Wno-pointer-sign' 'mipsel-unknown-linux-gnu' 'build_alias=mipsel-unknown-linux-gnu' 'host_alias=mipsel-unknown-linux-gnu' 'target_alias=mipsel-unknown-linux-gnu'' 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: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Mail Minor modes in effect: gpm-mouse-mode: t tooltip-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-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 abbrev-mode: t Recent input: ESC x p m a i l RET C-x k RET ESC x ESC p RET C-x 1 C-d C-d x C-x C-s ESC x l y n x RET ESC x l y C-g C-x = ESC x l y n x RET C-x C-f . m a i l ESC DEL e m a c s RET C-s f u n SPC l y n x C-a C-@ C-u C-n C-u C-n C-n C-n C-n ESC w C-x 4 m C-u C-n C-u C-y C-u C-p C-e ESC x r e p o r t SPC e m a c s SPC b u g RET Recent messages: 0 new messages read Expunging deleted messages...done Saving file /home/rms/PMAIL... Wrote /home/rms/PMAIL Wrote /home/rms/foo.html Quit Char: T (84, #o124, #x54) point=1 of 87233 (0%) column=0 Wrote /home/rms/foo.html Mark saved where search started Mark set [2 times] ------------=_1232724305-20690-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1997-done) by emacsbugs.donarmstrong.com; 23 Jan 2009 15:17:05 +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=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n0NFH38g019241 for <1997-done@emacsbugs.donarmstrong.com>; Fri, 23 Jan 2009 07:17:04 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id 6340B57E1FC; Fri, 23 Jan 2009 10:17:29 -0500 (EST) From: Chong Yidong To: 1997-done@emacsbugs.donarmstrong.com Subject: Re: bug#1997: 23.0.60; write-region fails in pmail Date: Fri, 23 Jan 2009 10:17:29 -0500 Message-ID: <87tz7q127q.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > No, it's just due to people wasting time trying to reinvent the wheel > rather than read the sample code in tar-mode.el. My mistake: I forgot to switch rmail-write-region-annotate back to its "canonical" form after I finished debugging why it wasn't working. In other words, the axle was broken, and I fixed it---but I forgot to put the normal wheels back on. ------------=_1232724305-20690-0--