GNU bug report logs - #10687
24.0.92; Interactive edebug/eieio interaction

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Wed, 1 Feb 2012 14:02:01 UTC

Severity: normal

Tags: moreinfo, unreproducible

Found in version 24.0.92

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

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 10687 in the body.
You can then email your comments to 10687 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#10687; Package emacs. (Wed, 01 Feb 2012 14:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lars Ingebrigtsen <larsi <at> gnus.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 01 Feb 2012 14:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.92; Interactive edebug/eieio interaction
Date: Wed, 01 Feb 2012 15:00:05 +0100
Put the following in *scratch*, and say `C-u M-C-x' to edebug-instrument
it.

(defun test-edebug ()
  (interactive)
  (auth-source-search :max 1
		      :host "news.gmane.org"
		      :port '("119" "nntp")))

Then say `(test-edebug)' and step through the form.  Everything will be
fine.

But then say `M-x test-edebug'.  I get the following error when stepping
over the search function:

Wrong type argument: arrayp, auth-source-backend

I think the problem is that the function returns something defined as a
class by ieieio, but I have no idea why it being called interactively
should trigger the bug, and not otherwise.

                      

In GNU Emacs 24.0.92.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.6)
 of 2012-01-26 on rusty
Windowing system distributor `The X.Org Foundation', version 11.0.11004000
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: Emacs-Lisp

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
t e r C-s <up> C-x 2 C-x b <return> <down> <down> <down> 
<down> <down> <down> <down> C-x o C-s c a l l e d C-s 
- C-s <up> C-x o C-x o M-x g n u s <backspace> <backspace> 
<backspace> r e p <return> c a l l e d - i n t e r 
SPC ( <backspace> * C-g C-x o C-x o C-x b * s c <return> 
C-g C-x b * s c <tab> C-g C-x C-b C-x o <down> <down> 
<down> <up> <up> <up> <up> <up> C-x o C-x b <return> 
<up> <up> <up> <up> <up> <up> <left> <left> C-SPC C-M-f 
M-w C-x b * s c r a c t * <return> <return> C-y <up> 
<up> C-a <return> <up> <return> <backspace> * <backspace> 
( d e f u n SPC t e s t - e d e b u g SPC ( ) <tab> 
<down> <tab> <down> <up> <backspace> <backspace> x 
<up> <return> ( i n M-x f u n d a m e <tab> <return> 
<tab> M-x l i s p - m <tab> <return> <tab> <backspace> 
<backspace> <backspace> <backspace> t e r a c i <backspace> 
t i v e ) <down> <tab> <down> <tab> <down> <tab> C-e 
) <return> <up> <up> <up> C-u C-M-x M-x e m a c s - 
l i s <tab> m <tab> <return> C-M-x C-u C-M-x : <backspace> 
M-: ( t e s t - e d e b u g ) <return> SPC SPC M-x 
t e s t - e d e b u <tab> <return> SPC q <up> <up> 
C-a C-SPC <down> <down> <down> <down> <down> <down> 
M-w C-x b i e <return> C-a C-k C-k C-x C-s C-x b C-g 
M-x r e p o <tab> r <tab> <return>


-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Sent from my Rome




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10687; Package emacs. (Wed, 01 Feb 2012 17:03:02 GMT) Full text and rfc822 format available.

Message #8 received at 10687 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 10687 <at> debbugs.gnu.org
Subject: Re: bug#10687: 24.0.92; Interactive edebug/eieio interaction
Date: Wed, 01 Feb 2012 12:01:36 -0500
Lars Ingebrigtsen wrote:

> Put the following in *scratch*, and say `C-u M-C-x' to edebug-instrument
> it.
>
> (defun test-edebug ()
>   (interactive)
>   (auth-source-search :max 1
> 		      :host "news.gmane.org"
> 		      :port '("119" "nntp")))
>
> Then say `(test-edebug)' and step through the form.  Everything will be
> fine.

Nope, I get (in emacs -Q): Symbol's function definition is void:
auth-source-search

If I repeat with emacs -Q -l auth-source, then it works for me.
(Not trying to be awkward here.)

> But then say `M-x test-edebug'.  I get the following error when stepping
> over the search function:

Works for me with emacs -Q -l auth-source.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10687; Package emacs. (Thu, 02 Feb 2012 10:41:02 GMT) Full text and rfc822 format available.

Message #11 received at 10687 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 10687 <at> debbugs.gnu.org
Subject: Re: bug#10687: 24.0.92; Interactive edebug/eieio interaction
Date: Thu, 02 Feb 2012 11:39:43 +0100
Glenn Morris <rgm <at> gnu.org> writes:

>> But then say `M-x test-edebug'.  I get the following error when stepping
>> over the search function:
>
> Works for me with emacs -Q -l auth-source.

It does for me, too.  And I no longer can reproduce it when stepping
through the real code, either.

But I've seen this problem oodles of times -- every time I've stepped
through code that calls auth-source, it's failed.  But not now.  Has
something changed in Emacs 24 in this area the past few days?

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Sent from my Rome




Reply sent to Lars Ingebrigtsen <larsi <at> gnus.org>:
You have taken responsibility. (Tue, 04 Feb 2014 00:39:04 GMT) Full text and rfc822 format available.

Notification sent to Lars Ingebrigtsen <larsi <at> gnus.org>:
bug acknowledged by developer. (Tue, 04 Feb 2014 00:39:05 GMT) Full text and rfc822 format available.

Message #16 received at 10687-done <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 10687-done <at> debbugs.gnu.org
Subject: Re: bug#10687: 24.0.92; Interactive edebug/eieio interaction
Date: Mon, 03 Feb 2014 16:36:48 -0800
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> (defun test-edebug ()
>   (interactive)
>   (auth-source-search :max 1
> 		      :host "news.gmane.org"
> 		      :port '("119" "nntp")))

I can no longer reproduce this bug.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 04 Mar 2014 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.