erc-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Erc-discuss] [PATCH] Bugfix for `erc-dcc-chat-setup'


From: Andrea Russo
Subject: [Erc-discuss] [PATCH] Bugfix for `erc-dcc-chat-setup'
Date: Mon, 20 Nov 2006 22:39:02 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

Hi,

In an attempt to use dcc chats, I've got this error:

erc-dcc-chat-setup: Wrong type argument: markerp, nil

I've also attached the backatrace for completeness.

I think this patch fixes the bug, but leaves other unresolved issues
for dcc chats, like the fact that the `erc-prompt' property isn't
placed after the prompt and that the first message from the remote
buddy appear outside of the visible buffer, and I have to scroll the
buffer to read it.

Best regards,
Andrea.

Please change the Subject header to a concise description of your patch.
Please describe your patch between the LOG-START and LOG-END markers:
<<LOG-START>>

* erc-dcc.el (erc-dcc-chat-setup): Initialize `erc-input-marker'
  before calling `erc-display-prompt'.

<<LOG-END>>



[VERSION] address@hidden/erc--emacs--22--patch-26

Emacs  : GNU Emacs 22.0.91.2 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2006-11-20 on onosendai.org
-- 
Reclama i tuoi diritti digitali, elimina il DRM.  Approfondisci su
http://www.no1984.org
Reclaim your digital rights, eliminate DRM.  Learn more at
http://www.defectivebydesign.org/what_is_drm

Attachment: ++arch-patch-2006-11-20_22-01-19.tar.gz
Description: Binary data

Debugger entered--Lisp error: (wrong-type-argument markerp nil)
  erc-display-prompt(#<buffer DCC-CHAT-andy> 1)
  erc-dcc-chat-setup((:nick "address@hidden" :type CHAT :peer #<process 
dcc-chat> :parent #<process erc-irc.azzurra.net-ircd> :ip "83.190.157.76" :port 
"4237"))
  erc-dcc-chat-accept((:nick "address@hidden" :type CHAT :peer #<process 
dcc-chat> :parent #<process erc-irc.azzurra.net-ircd> :ip "83.190.157.76" :port 
"4237") #<process erc-irc.azzurra.net-ircd>)
  erc-dcc-do-CHAT-command(#<process erc-irc.azzurra.net-ircd> "andy")
  apply(erc-dcc-do-CHAT-command #<process erc-irc.azzurra.net-ircd> "andy")
  erc-cmd-DCC("chat" "andy")
  apply(erc-cmd-DCC ("chat" "andy"))
  byte-code("<.\n.�    \".    !." [args cmd apply] 3)
  erc-process-input-line("/dcc chat andy\n" t nil)
  erc-send-input("/dcc chat andy")
  erc-send-current-line()
  call-interactively(erc-send-current-line)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]