GNU bug report logs -
#1997
23.0.60; write-region fails in pmail
Previous Next
Reported by: rms <at> gnu.org
Date: Fri, 23 Jan 2009 06:30:03 UTC
Severity: normal
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1997 in the body.
You can then email your comments to 1997 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1997
; Package
emacs
.
(Fri, 23 Jan 2009 06:30:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
rms <at> gnu.org
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Fri, 23 Jan 2009 06:30:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
I use this function to write HTML code from certain messages:
(defun lynx ()
(interactive)
(unless (re-search-backward "^From wget <at> 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]
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1997
; Package
emacs
.
(Fri, 23 Jan 2009 08:05:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Stefan Monnier" <monnier <at> iro.umontreal.ca>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Fri, 23 Jan 2009 08:05:06 GMT)
Full text and
rfc822 format available.
Message #10 received at 1997 <at> emacsbugs.donarmstrong.com (full text, 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.
No, it's just due to people wasting time trying to reinvent the wheel
rather than read the sample code in tar-mode.el.
Stefan
Reply sent
to
Chong Yidong <cyd <at> stupidchicken.com>
:
You have taken responsibility.
(Fri, 23 Jan 2009 15:25:05 GMT)
Full text and
rfc822 format available.
Notification sent
to
rms <at> gnu.org
:
bug acknowledged by developer.
(Fri, 23 Jan 2009 15:25:06 GMT)
Full text and
rfc822 format available.
Message #15 received at 1997-done <at> emacsbugs.donarmstrong.com (full text, mbox):
> 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.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Sat, 21 Feb 2009 15:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 16 years and 180 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.