all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#12669: 24.2.50; invalid function when starting erc
@ 2012-10-18  8:40 Ivan Kanis
  2012-10-18 12:50 ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Ivan Kanis @ 2012-10-18  8:40 UTC (permalink / raw)
  To: 12669

This bug report will be sent to the Bug-GNU-Emacs mailing list
and the GNU bug tracker at debbugs.gnu.org.  Please check that
the From: line contains a valid email address.  After a delay of up
to one day, you should receive an acknowledgment at that address.

Please write in English if possible, as the Emacs maintainers
usually do not have translators for other languages.

Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug.  If you can, give a recipe
starting from `emacs -Q':

1) emacs -Q
2) M-x erc
3) Press enter repeatedly

Seems to be commit 110553 that breaks it.

Debugger entered--Lisp error: (invalid-function erc-with-server-buffer)
  erc-with-server-buffer(nil)
  erc-call-hooks(#<process erc-irc.freenode.net-6667> [cl-struct-erc-response ":sturgeon.freenode.net NOTICE * :*** Looking up your hostname..." "sturgeon.freenode.net" "NOTICE" ("*" "*** Looking up your hostname...") "*** Looking up your hostname..."])
  erc-handle-parsed-server-response(#<process erc-irc.freenode.net-6667> [cl-struct-erc-response ":sturgeon.freenode.net NOTICE * :*** Looking up your hostname..." "sturgeon.freenode.net" "NOTICE" ("*" "*** Looking up your hostname...") "*** Looking up your hostname..."])
  erc-parse-server-response(#<process erc-irc.freenode.net-6667> ":sturgeon.freenode.net NOTICE * :*** Looking up your hostname...")
  erc-server-filter-function(#<process erc-irc.freenode.net-6667> ":sturgeon.freenode.net NOTICE * :*** Looking up your hostname...\n:sturgeon.freenode.net NOTICE * :*** Checking Ident\n:sturgeon.freenode.net NOTICE * :*** Found your hostname\n")


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/home/ubuntu/emacs-bzr/share/emacs/24.2.50/etc/DEBUG.


In GNU Emacs 24.2.50.2 (i686-pc-linux-gnu, GTK+ Version 2.22.0)
 of 2012-10-18 on tao
Bzr revision: 110575 rgm@gnu.org-20121018035015-2m3iyyki9piu8vh6
Windowing system distributor `The X.Org Foundation', version 11.0.10900000
System Description:	Ubuntu 10.10

Configured using:
 `configure '--prefix=/home/ubuntu/emacs-bzr' 'CFLAGS=-g
 -DSYSTEM_PURESIZE_EXTRA=1000000''

Important settings:
  locale-coding-system: nil
  default enable-multibyte-characters: t

Major mode: Debugger

Minor modes in effect:
  icomplete-mode: t
  shell-dirtrack-mode: t
  erc-ring-mode: t
  erc-netsplit-mode: t
  erc-pcomplete-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-autojoin-mode: t
  erc-match-mode: t
  erc-spelling-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-scrolltobottom-mode: t
  global-auto-complete-mode: t
  recentf-mode: t
  display-time-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t

Recent input:
q C-p C-p C-n C-n C-f C-f C-f C-f C-f C-f C-f C-f C-p 
C-p M-f M-f M-f M-f M-f C-f C-SPC M-f M-f M-f M-f M-w 
C-o C-o C-n C-n C-n C-p C-a <tab> <return> M-k g C-b 
C-b C-b C-b C-b C-b <backspace> <backspace> <backspace> 
<backspace> <backspace> C-y <return> M-k g M-p <backspace> 
<backspace> e l <return> C-o C-n C-n C-n <escape> C-SPC 
M-e C-p C-e M-w C-a C-SPC C-e M-w M-k l e r c <return> 
C-s e r c - w i t C-a C-o <home> M-1 <next> <next> 
C-x v l C-x C-f ~ s r c e / m <backspace> <backspace> 
<backspace> e m <backspace> <backspace> b z <backspace> 
<backspace> ~ s r c / e m C-n C-n <return> <return> 
<return> e r c <return> e r c - b <return> C-x v l 
C-n C-f C-f C-f C-f C-f C-f C-f C-SPC M-e C-p C-p C-p 
C-p C-p C-e M-w C-x b b a C-n <return> C-p C-p C-a 
C-SPC C-n C-n C-n C-n C-n C-n M-w M-x r e p o r t - 
e m <tab> <return>

Recent messages:
Grep finished with no matches found
Grep exited abnormally with code 1
erc-process-sentinel: Invalid function: erc-with-all-buffers-of-server
Mark set [2 times]
uncompressing erc.el.gz...done
Mark saved where search started
Mark set
vc-deduce-fileset: No fileset is available here
Loading vc-bzr...done
Mark set [2 times]

Load-path shadows:
/home/ubuntu/.emacs.d-bzr/org/org-publish hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-publish
/home/ubuntu/.emacs.d-bzr/org/org-pcomplete hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-pcomplete
/home/ubuntu/.emacs.d-bzr/org/org-mobile hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-mobile
/home/ubuntu/.emacs.d-bzr/org/org-mks hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-mks
/home/ubuntu/.emacs.d-bzr/org/org-attach hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-attach
/home/ubuntu/.emacs.d-bzr/org/org-archive hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-archive
/home/ubuntu/.emacs.d-bzr/org/org-agenda hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-agenda
/home/ubuntu/.emacs.d-bzr/org/ob hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/ob
/home/ubuntu/.emacs.d-bzr/org/ob-tangle hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/ob-tangle
/home/ubuntu/.emacs.d-bzr/org/ob-table hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/ob-table
/home/ubuntu/.emacs.d-bzr/org/ob-lob hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/ob-lob
/home/ubuntu/.emacs.d-bzr/org/ob-keys hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/ob-keys
/home/ubuntu/.emacs.d-bzr/org/org-info hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-info
/home/ubuntu/.emacs.d-bzr/org/org-indent hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-indent
/home/ubuntu/.emacs.d-bzr/org/org-id hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-id
/home/ubuntu/.emacs.d-bzr/org/org-habit hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-habit
/home/ubuntu/.emacs.d-bzr/org/org-gnus hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-gnus
/home/ubuntu/.emacs.d-bzr/org/org-footnote hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-footnote
/home/ubuntu/.emacs.d-bzr/org/org-faces hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-faces
/home/ubuntu/.emacs.d-bzr/org/org-exp hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-exp
/home/ubuntu/.emacs.d-bzr/org/org-exp-blocks hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-exp-blocks
/home/ubuntu/.emacs.d-bzr/org/org-bbdb hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-bbdb
/home/ubuntu/.emacs.d-bzr/org/org hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org
/home/ubuntu/.emacs.d-bzr/org/org-w3m hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-w3m
/home/ubuntu/.emacs.d-bzr/org/org-timer hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-timer
/home/ubuntu/.emacs.d-bzr/org/org-table hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-table
/home/ubuntu/.emacs.d-bzr/org/org-src hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-src
/home/ubuntu/.emacs.d-bzr/org/org-special-blocks hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-special-blocks
/home/ubuntu/.emacs.d-bzr/org/ob-ref hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/ob-ref
/home/ubuntu/.emacs.d-bzr/org/org-macs hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-macs
/home/ubuntu/.emacs.d-bzr/org/org-mac-message hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-mac-message
/home/ubuntu/.emacs.d-bzr/org/org-lparse hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-lparse
/home/ubuntu/.emacs.d-bzr/org/org-list hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-list
/home/ubuntu/.emacs.d-bzr/org/org-latex hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-latex
/home/ubuntu/.emacs.d-bzr/org/org-irc hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-irc
/home/ubuntu/.emacs.d-bzr/org/org-entities hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-entities
/home/ubuntu/.emacs.d-bzr/org/org-element hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-element
/home/ubuntu/.emacs.d-bzr/org/org-docview hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-docview
/home/ubuntu/.emacs.d-bzr/org/org-datetree hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-datetree
/home/ubuntu/.emacs.d-bzr/org/org-compat hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-compat
/home/ubuntu/.emacs.d-bzr/org/org-clock hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-clock
/home/ubuntu/.emacs.d-bzr/org/org-capture hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/org-capture
/home/ubuntu/.emacs.d-bzr/org/ob-comint hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/org/ob-comint
/home/ubuntu/.emacs.d-bzr/misc/erc-goodies hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/erc/erc-goodies
/home/ubuntu/.emacs.d-bzr/emms/tq hides /home/ubuntu/emacs-bzr/share/emacs/24.2.50/lisp/emacs-lisp/tq

Features:
(shadow sort bbdb-message hashcash cookie1 mail-extr gnus-msg gnus-art
mm-uu mml2015 epg-config mm-view mml-smime smime dig mailcap gnus-sum
nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec
gnus-int gnus-range gnus-win gnus gnus-ems nnheader emacsbug message
cl-macs gv rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mail-utils icomplete add-log log-view pcvs-util vc-bzr ido
uniquify vc vc-dispatcher misearch multi-isearch shell grep compile
jka-compr help-mode debug paren eldoc network-stream starttls tls
erc-ring erc-netsplit erc-pcomplete erc-button erc-fill erc-stamp
erc-join erc-avatar erc-log erc-track erc-match erc-spelling flyspell
ispell erc-goodies erc erc-backend erc-compat auth-source eieio
gnus-util mm-util mail-prsvr password-cache thingatpt pp image-file
tabify vc-git autoinsert org-habit org-agenda org-w3m org-irc org-info
org-gnus org-bbdb ivan-w3m ivan-term ivan-slime ivan-re-builder ivan-org
ivan-newsticker newst-backend xml derived ivan-muse ivan-message
ivan-japanese ivan-ido ivan-gnus ivan-french ivan-english ivan-emms
ivan-elim elim browse-url cl cl-lib ivan-comint ivan-bbdb bbdb timezone
auto-complete-config auto-complete popup ivan-php ivan-common-code
recentf tree-widget saveplace time rx org-drill org-learn org-id org
byte-opt warnings bytecomp byte-compile cconv ob-tangle ob-ref ob-lob
ob-table org-footnote org-src ob-comint ob-keys org-pcomplete pcomplete
comint ansi-color ring org-list org-faces org-entities noutline outline
easy-mmode ob-emacs-lisp ob org-compat org-macs ob-eval format-spec
find-func cal-menu calendar cal-loaddefs advice help-fns advice-preload
cus-edit easymenu cus-start cus-load wid-edit ivan-var ivan-fun
ivan-keymap edmacro kmacro ivan-face time-date tooltip ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty emacs)





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#12669: 24.2.50; invalid function when starting erc
  2012-10-18  8:40 bug#12669: 24.2.50; invalid function when starting erc Ivan Kanis
@ 2012-10-18 12:50 ` Stefan Monnier
  2012-10-18 13:27   ` Andreas Schwab
  2012-10-18 19:33   ` Ivan Kanis
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Monnier @ 2012-10-18 12:50 UTC (permalink / raw)
  To: Ivan Kanis; +Cc: 12669-done

> 1) emacs -Q
> 2) M-x erc
> 3) Press enter repeatedly

> Seems to be commit 110553 that breaks it.

> Debugger entered--Lisp error: (invalid-function erc-with-server-buffer)

Indeed, 110553 uncovered this problem.  Should be fixed now, thank you.


        Stefan





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#12669: 24.2.50; invalid function when starting erc
  2012-10-18 12:50 ` Stefan Monnier
@ 2012-10-18 13:27   ` Andreas Schwab
  2012-10-18 15:53     ` Stefan Monnier
  2012-10-18 19:33   ` Ivan Kanis
  1 sibling, 1 reply; 5+ messages in thread
From: Andreas Schwab @ 2012-10-18 13:27 UTC (permalink / raw)
  To: 12669

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> Indeed, 110553 uncovered this problem.  Should be fixed now, thank you.

That's not enough, you have the same problem with
erc-with-all-buffers-of-server.  Basically what the autoload of erc-log
used to achieve was to load erc early enough so that the remaining macro
uses are known to the byte compiler (and that autoload is useless now
that erc-log isn't a macro any more).  Unfortunately there is a circular
dependency between erc and erc-backend, so we cannot just require erc
early.  When I try (eval-when-compile (provide 'erc-backend) (require
'erc)) I get a lot of "might not be defined at runtime" warnings, but
all macros are expanded (including the erc-log defsubst).  Not sure
what's the lesser poison.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#12669: 24.2.50; invalid function when starting erc
  2012-10-18 13:27   ` Andreas Schwab
@ 2012-10-18 15:53     ` Stefan Monnier
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2012-10-18 15:53 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: 12669-done

>> Indeed, 110553 uncovered this problem.  Should be fixed now, thank you.
> That's not enough, you have the same problem with
> erc-with-all-buffers-of-server.  Basically what the autoload of erc-log
> used to achieve was to load erc early enough so that the remaining macro
> uses are known to the byte compiler (and that autoload is useless now
> that erc-log isn't a macro any more).  Unfortunately there is a circular
> dependency between erc and erc-backend, so we cannot just require erc
> early.  When I try (eval-when-compile (provide 'erc-backend) (require
> 'erc)) I get a lot of "might not be defined at runtime" warnings, but
> all macros are expanded (including the erc-log defsubst).  Not sure
> what's the lesser poison.

I think I found an acceptable solution (taking your lesser poison and
removing the eval-when-compile).  It also fixes the "Eager
macro-expansion" warning.  Thanks,


        Stefan





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#12669: 24.2.50; invalid function when starting erc
  2012-10-18 12:50 ` Stefan Monnier
  2012-10-18 13:27   ` Andreas Schwab
@ 2012-10-18 19:33   ` Ivan Kanis
  1 sibling, 0 replies; 5+ messages in thread
From: Ivan Kanis @ 2012-10-18 19:33 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 12669-done

Stefan Monnier <monnier@iro.umontreal.ca> wrote:

>> Seems to be commit 110553 that breaks it.
>
>> Debugger entered--Lisp error: (invalid-function erc-with-server-buffer)
>
> Indeed, 110553 uncovered this problem.  Should be fixed now, thank you.

Yup it's fixed, thank you!
-- 
Ivan Kanis
http://ivan.kanis.fr

Victory has a hundred fathers, but defeat is an orphan.
    -- Count Galeazzo Ciano





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-10-18 19:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-18  8:40 bug#12669: 24.2.50; invalid function when starting erc Ivan Kanis
2012-10-18 12:50 ` Stefan Monnier
2012-10-18 13:27   ` Andreas Schwab
2012-10-18 15:53     ` Stefan Monnier
2012-10-18 19:33   ` Ivan Kanis

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.