* quoting only the region in reply -> wrong-type-argument
@ 2002-01-10 20:37 Reiner Steib
2002-01-11 20:52 ` ShengHuo ZHU
0 siblings, 1 reply; 7+ messages in thread
From: Reiner Steib @ 2002-01-10 20:37 UTC (permalink / raw)
Hi,
when I tried to reply to a mail, using the new feature to quote only
the text in the region [1,2] and not the whole article, I got the
following error [3]:
--8<------------------------schnipp------------------------->8---
Debugger entered--Lisp error: (wrong-type-argument numberp (95
"{Stochastic Model\\footnote {\\label {cha:stochastic_model} "))
number-to-string((95 "{Stochastic Model\\footnote {\\label
{cha:stochastic_model}\n"))
gnus-inews-insert-draft-meta-information("nnfolder+current:XXXXXXX.YYYYYYYYYY"
((95 "{Stochastic Model\\footnote {\\label
{cha:stochastic_model}\n"))) byte-code("[REMOVED BYTE-CODE]"
[gnus-setup-message-winconf gnus-setup-message-buffer
gnus-setup-message-article yank gnus-setup-message-group
gnus-message-buffer gnus-inews-add-send-actions reply-yank reply
gnus-inews-insert-draft-meta-information make-local-variable
gnus-message-group-art gnus-newsgroup-name gnus-run-hooks
gnus-message-setup-hook message-mode mml-buffer-list make-local-hook
kill-buffer-hook change-major-mode-hook add-hook mml-destroy-buffers
nil t major-mode mbl1 mbl] 5) ad-Orig-gnus-summary-reply(((95
"{Stochastic Model\\footnote {\\label {cha:stochastic_model}\n")) nil
nil) (setq ad-return-value (ad-Orig-gnus-summary-reply yank wide
very-wide)) (if (or (not ...) (y-or-n-p "Really reply by mail to
article author? ")) (setq ad-return-value (ad-Orig-gnus-summary-reply
yank wide very-wide)) (message "Reply aborted.")) (let
(ad-return-value) (if (or ... ...) (setq ad-return-value ...) (message
"Reply aborted.")) ad-return-value) gnus-summary-reply(((95
"{Stochastic Model\\footnote {\\label {cha:stochastic_model}\n")) nil)
gnus-article-reply-with-original(nil) *
call-interactively(gnus-article-reply-with-original)
--8<------------------------schnapp------------------------->8---
Bye, Reiner.
[1]
,----[ lisp/ChangeLog ]
| 2002-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
| [...]
| * gnus-art.el (gnus-article-read-summary-keys): `R' and `F' are no
| longer the usual commands.
`----
[2] See the thread "RMail functionality I miss" in gnu.emacs.gnus
<m3bsg8v3n6.fsf@quimbies.gnus.org>
[3] Versions:
(emacs-version)
--> "GNU Emacs 21.1.1 (i586-pc-linux-gnu, X toolkit, Xaw3d scroll
bars)\n of 2001-12-04 on thor"
(gnus-version)
--> "Oort Gnus v0.05", recent CVS version [Thu Jan 10 20:26:57 CET 2002]
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: quoting only the region in reply -> wrong-type-argument
2002-01-10 20:37 quoting only the region in reply -> wrong-type-argument Reiner Steib
@ 2002-01-11 20:52 ` ShengHuo ZHU
2002-01-11 22:01 ` Karl Pflästerer
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: ShengHuo ZHU @ 2002-01-11 20:52 UTC (permalink / raw)
Reiner Steib <4uce.02.r.steib@gmx.net> writes:
> Hi,
>
> when I tried to reply to a mail, using the new feature to quote only
> the text in the region [1,2] and not the whole article, I got the
> following error [3]:
>
> --8<------------------------schnipp------------------------->8---
> Debugger entered--Lisp error: (wrong-type-argument numberp (95
> "{Stochastic Model\\footnote {\\label {cha:stochastic_model} "))
> number-to-string((95 "{Stochastic Model\\footnote {\\label
> {cha:stochastic_model}\n"))
> gnus-inews-insert-draft-meta-information("nnfolder+current:XXXXXXX.YYYYYYYYYY"
> ((95 "{Stochastic Model\\footnote {\\label
> {cha:stochastic_model}\n"))) byte-code("[REMOVED BYTE-CODE]"
> [gnus-setup-message-winconf gnus-setup-message-buffer
> gnus-setup-message-article yank gnus-setup-message-group
> gnus-message-buffer gnus-inews-add-send-actions reply-yank reply
> gnus-inews-insert-draft-meta-information make-local-variable
> gnus-message-group-art gnus-newsgroup-name gnus-run-hooks
> gnus-message-setup-hook message-mode mml-buffer-list make-local-hook
> kill-buffer-hook change-major-mode-hook add-hook mml-destroy-buffers
> nil t major-mode mbl1 mbl] 5) ad-Orig-gnus-summary-reply(((95
> "{Stochastic Model\\footnote {\\label {cha:stochastic_model}\n")) nil
> nil) (setq ad-return-value (ad-Orig-gnus-summary-reply yank wide
> very-wide)) (if (or (not ...) (y-or-n-p "Really reply by mail to
> article author? ")) (setq ad-return-value (ad-Orig-gnus-summary-reply
> yank wide very-wide)) (message "Reply aborted.")) (let
> (ad-return-value) (if (or ... ...) (setq ad-return-value ...) (message
> "Reply aborted.")) ad-return-value) gnus-summary-reply(((95
> "{Stochastic Model\\footnote {\\label {cha:stochastic_model}\n")) nil)
> gnus-article-reply-with-original(nil) *
> call-interactively(gnus-article-reply-with-original)
> --8<------------------------schnapp------------------------->8---
The bug seems related to your advised function.
ShengHuo
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: quoting only the region in reply -> wrong-type-argument
2002-01-11 20:52 ` ShengHuo ZHU
@ 2002-01-11 22:01 ` Karl Pflästerer
2002-01-11 23:28 ` ShengHuo ZHU
2002-01-11 22:52 ` Ami Fischman
2002-01-14 11:04 ` Reiner Steib
2 siblings, 1 reply; 7+ messages in thread
From: Karl Pflästerer @ 2002-01-11 22:01 UTC (permalink / raw)
On Fri, 11 Jan 2002, ShengHuo ZHU <- zsh@cs.rochester.edu wrote:
> The bug seems related to your advised function.
I have another problem with the function
`gnus-article-followup-with-original'
Its definition is:
,----
| (defun gnus-article-followup-with-original ()
| "Compose a followup to the current article.
| The text in the region will be yanked. If the region isn't active,
| the entire article will be yanked."
| (interactive)
| (let ((article (cdr gnus-article-current)))
| (if (not mark-active)
| (gnus-summary-followup (list (list article)))
| ;; Deactivate active regions.
| (when (and (boundp 'transient-mark-mode)
| transient-mark-mode)
| (setq mark-active nil))
| (gnus-summary-followup
| (list (list article (buffer-substring (point) (mark))))))))
`----
`mark-active' is not known to XEmacs. I have to replace `mark-active'
with `zmacs-region-active-p', then everything is fine. The same is with
`gnus-article-reply-with-original' .
bye
KP
--
`Beware the Jabberwock, my son!
The jaws that bite, the claws that catch!
Beware the Jubjub bird, and shun
The frumious Bandersnatch!' "Lewis Carroll" "Jabberwocky"
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: quoting only the region in reply -> wrong-type-argument
2002-01-11 20:52 ` ShengHuo ZHU
2002-01-11 22:01 ` Karl Pflästerer
@ 2002-01-11 22:52 ` Ami Fischman
2002-01-11 23:37 ` ShengHuo ZHU
2002-01-14 11:04 ` Reiner Steib
2 siblings, 1 reply; 7+ messages in thread
From: Ami Fischman @ 2002-01-11 22:52 UTC (permalink / raw)
ShengHuo ZHU <zsh@cs.rochester.edu> writes:
[...]
> The bug seems related to your advised function.
Perhaps that is his problem, but the same functionality fails for me as well
(admittedly with a much less sexy error message:
Debugger entered--Lisp error: (mark-inactive)
signal(mark-inactive nil)
mark()
gnus-article-followup-with-original()
* call-interactively(gnus-article-followup-with-original)
)
This is with current CVS oort and emacs 21.1.
--
Ami Fischman
usenet@fischman.org
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: quoting only the region in reply -> wrong-type-argument
2002-01-11 22:52 ` Ami Fischman
@ 2002-01-11 23:37 ` ShengHuo ZHU
0 siblings, 0 replies; 7+ messages in thread
From: ShengHuo ZHU @ 2002-01-11 23:37 UTC (permalink / raw)
Ami Fischman <usenet@fischman.org> writes:
> ShengHuo ZHU <zsh@cs.rochester.edu> writes:
>
> [...]
>
>> The bug seems related to your advised function.
>
> Perhaps that is his problem, but the same functionality fails for me as well
> (admittedly with a much less sexy error message:
>
> Debugger entered--Lisp error: (mark-inactive)
> signal(mark-inactive nil)
> mark()
> gnus-article-followup-with-original()
> * call-interactively(gnus-article-followup-with-original)
> )
>
> This is with current CVS oort and emacs 21.1.
I see the problem. I'll fix it by tomorrow.
ShengHuo
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: quoting only the region in reply -> wrong-type-argument
2002-01-11 20:52 ` ShengHuo ZHU
2002-01-11 22:01 ` Karl Pflästerer
2002-01-11 22:52 ` Ami Fischman
@ 2002-01-14 11:04 ` Reiner Steib
2 siblings, 0 replies; 7+ messages in thread
From: Reiner Steib @ 2002-01-14 11:04 UTC (permalink / raw)
On Fri, Jan 11 2002, ShengHuo ZHU <zsh@cs.rochester.edu> wrote:
> Reiner Steib <4uce.02.r.steib@gmx.net> writes:
>> when I tried to reply to a mail, using the new feature to quote only
>> the text in the region [1,2] and not the whole article, I got the
>> following error [3]:
[...]
> The bug seems related to your advised function.
No, I got an error without the advice function too. But it's fixed in
current CVS version. Thanx!
Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-01-14 11:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-10 20:37 quoting only the region in reply -> wrong-type-argument Reiner Steib
2002-01-11 20:52 ` ShengHuo ZHU
2002-01-11 22:01 ` Karl Pflästerer
2002-01-11 23:28 ` ShengHuo ZHU
2002-01-11 22:52 ` Ami Fischman
2002-01-11 23:37 ` ShengHuo ZHU
2002-01-14 11:04 ` Reiner Steib
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).