* 0.51 bug: gnus-article-read-summary-keys is called with nil argument
@ 1998-11-19 14:33 Vladimir Volovich
1998-11-19 18:22 ` Shenghuo ZHU
0 siblings, 1 reply; 5+ messages in thread
From: Vladimir Volovich @ 1998-11-19 14:33 UTC (permalink / raw)
Hi,
When i pasted the following text with buttons from a message to the
mail composition buffer, i got an error:
Signaling: (wrong-type-argument stringp nil)
gnus-article-read-summary-keys(nil)
* call-interactively(gnus-article-read-summary-keys)
when moved a cursor inside the pasted text and trying to edit it
(e.g. put the cursor at the beginning of line [12. image/jpeg] and
press backspace). Also, the behavior os some keys became strange
(cursor was moving without a reason in the beginning of buffer, some
random text was pasted, etc).
[1. image/jpeg]...
[2. text/plain]
3. [ ] text/plain [ ] text/plain [*] multipart/mixed
[12. image/jpeg]...
[4. text/plain]
Best regards, -- Vladimir.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 0.51 bug: gnus-article-read-summary-keys is called with nil argument
1998-11-19 14:33 0.51 bug: gnus-article-read-summary-keys is called with nil argument Vladimir Volovich
@ 1998-11-19 18:22 ` Shenghuo ZHU
1998-11-20 2:34 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 5+ messages in thread
From: Shenghuo ZHU @ 1998-11-19 18:22 UTC (permalink / raw)
>>>>> "VVV" == Vladimir Volovich <vvv@vvv.vsu.ru> writes:
VVV> Hi,
VVV> When i pasted the following text with buttons from a message to the
VVV> mail composition buffer, i got an error:
VVV> Signaling: (wrong-type-argument stringp nil)
VVV> gnus-article-read-summary-keys(nil)
VVV> * call-interactively(gnus-article-read-summary-keys)
VVV> when moved a cursor inside the pasted text and trying to edit it
VVV> (e.g. put the cursor at the beginning of line [12. image/jpeg] and
VVV> press backspace). Also, the behavior os some keys became strange
VVV> (cursor was moving without a reason in the beginning of buffer, some
VVV> random text was pasted, etc).
It is because the pasted texts still keep button properties. This
error also happens when press 'q' in article buffer if summary buffer
is killed. I guess, gnus can do nothing other than ignoring. Ignoring
may confuse you, when you press backspace but nothing happens.
--
Shenghuo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 0.51 bug: gnus-article-read-summary-keys is called with nil argument
1998-11-19 18:22 ` Shenghuo ZHU
@ 1998-11-20 2:34 ` Lars Magne Ingebrigtsen
1998-11-20 7:51 ` Vladimir Volovich
0 siblings, 1 reply; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-11-20 2:34 UTC (permalink / raw)
Shenghuo ZHU <zsh@cs.rochester.edu> writes:
> It is because the pasted texts still keep button properties. This
> error also happens when press 'q' in article buffer if summary buffer
> is killed. I guess, gnus can do nothing other than ignoring. Ignoring
> may confuse you, when you press backspace but nothing happens.
I've now made all (well) the text-prop keymap commands beep a better
error message when invoked outside of the article buffer.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 0.51 bug: gnus-article-read-summary-keys is called with nil argument
1998-11-20 2:34 ` Lars Magne Ingebrigtsen
@ 1998-11-20 7:51 ` Vladimir Volovich
1998-11-20 15:21 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 5+ messages in thread
From: Vladimir Volovich @ 1998-11-20 7:51 UTC (permalink / raw)
"LMI" == Lars Magne Ingebrigtsen writes:
LMI> I've now made all (well) the text-prop keymap commands beep a
LMI> better error message when invoked outside of the article buffer.
Pressing `delete' inside a pasted button moves the cursor at the
beginning of a buffer.
Best regards, -- Vladimir.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 0.51 bug: gnus-article-read-summary-keys is called with nil argument
1998-11-20 7:51 ` Vladimir Volovich
@ 1998-11-20 15:21 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-11-20 15:21 UTC (permalink / raw)
Vladimir Volovich <vvv@vvv.vsu.ru> writes:
> LMI> I've now made all (well) the text-prop keymap commands beep a
> LMI> better error message when invoked outside of the article buffer.
>
> Pressing `delete' inside a pasted button moves the cursor at the
> beginning of a buffer.
I don't think it's worth bothering to protect all the button
commands.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-11-20 15:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-19 14:33 0.51 bug: gnus-article-read-summary-keys is called with nil argument Vladimir Volovich
1998-11-19 18:22 ` Shenghuo ZHU
1998-11-20 2:34 ` Lars Magne Ingebrigtsen
1998-11-20 7:51 ` Vladimir Volovich
1998-11-20 15:21 ` Lars Magne Ingebrigtsen
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).