unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* current CVS fails
@ 2007-10-04 10:24 Robert J. Chassell
  2007-10-04 21:54 ` Glenn Morris
  0 siblings, 1 reply; 8+ messages in thread
From: Robert J. Chassell @ 2007-10-04 10:24 UTC (permalink / raw)
  To: emacs-devel

In a Debian GNU/Linux testing distribution, updated this morning,
with an Enlightment window manager in X

Today's GNU Emacs CVS snapshot, Thu, 2007 Oct  4  09:36 UTC
GNU Emacs 23.0.50.34 (i686-pc-linux-gnu, GTK+ Version 2.10.13)
started with -Q -D

A current CVS instance of GNU Emacs still fails after invoking
desktop-read

When I then try to invoke  buffer-menu-other-window  , I see the message

   Selecting deleted buffer

and not the buffer list.

When I do not invoke desktop-read,  buffer-menu-other-window
works as it should.

-- 
    Robert J. Chassell                          GnuPG Key ID: 004B4AC8
    bob@rattlesnake.com                         bob@gnu.org
    http://www.rattlesnake.com                  http://www.teak.cc

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

* Re: current CVS fails
  2007-10-04 10:24 current CVS fails Robert J. Chassell
@ 2007-10-04 21:54 ` Glenn Morris
  2007-10-04 23:45   ` Robert J. Chassell
  0 siblings, 1 reply; 8+ messages in thread
From: Glenn Morris @ 2007-10-04 21:54 UTC (permalink / raw)
  To: bob; +Cc: emacs-devel

"Robert J. Chassell" wrote:

> A current CVS instance of GNU Emacs still fails after invoking
> desktop-read
>
> When I then try to invoke  buffer-menu-other-window  , I see the message
>
>    Selecting deleted buffer
>
> and not the buffer list.
>
> When I do not invoke desktop-read,  buffer-menu-other-window
> works as it should.

I have no problem with:

./src/emacs -Q INSTALL INSTALL.CVS
M-x desktop-save
C-x C-c

./src/emacs -Q
M-x desktop-read
M-x buffer-menu-other-window

so perhaps the problem is specific to your desktop file.

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

* Re: current CVS fails
  2007-10-04 21:54 ` Glenn Morris
@ 2007-10-04 23:45   ` Robert J. Chassell
  2007-10-05  3:17     ` Davis Herring
  0 siblings, 1 reply; 8+ messages in thread
From: Robert J. Chassell @ 2007-10-04 23:45 UTC (permalink / raw)
  To: emacs-devel

Today's GNU Emacs CVS snapshot, Thu, 2007 Oct  4  23:03 UTC
GNU Emacs 23.0.50.36 (i686-pc-linux-gnu, GTK+ Version 2.10.13)

    I have no problem with [detailed explanation]

    [Problem being unable to do  buffer-menu-other-window after
    desktop-read in a new instance]

It fails for me after removing all my past .emacs.desktop* files.
Here are the steps:

In a shell in my home directory,

    rm .emacs.desktop*

Then I start an instance of GNU Emacs  with -Q -D and invoke

    M-x buffer-menu-other-window

which succeeds as expected.  Next, after visiting a file

    M-x desktop-save

Then I kill that instance of Emacs.

Note, in a shell

    $ ls -al .emacs.desktop*
    -rw-r--r-- 1 bob bob 937 2007-10-04 23:33 .emacs.desktop

I start a new instance of Emacs and invoke

    M-x buffer-menu-other-window

which also succeeds as expected.
Then I delete the buffer list and invoke

    M-x desktop-read

Then I again try

    M-x buffer-menu-other-window

and it fails with the message, Selecting deleted buffer.

-- 
    Robert J. Chassell                          GnuPG Key ID: 004B4AC8
    bob@rattlesnake.com                         bob@gnu.org
    http://www.rattlesnake.com                  http://www.teak.cc

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

* Re: current CVS fails
  2007-10-04 23:45   ` Robert J. Chassell
@ 2007-10-05  3:17     ` Davis Herring
  2007-10-05 11:14       ` Robert J. Chassell
  0 siblings, 1 reply; 8+ messages in thread
From: Davis Herring @ 2007-10-05  3:17 UTC (permalink / raw)
  To: bob; +Cc: emacs-devel

> Then I again try
>
>     M-x buffer-menu-other-window
>
> and it fails with the message, Selecting deleted buffer.

Can you set debug-on-error and provide a backtrace?

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.

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

* Re: current CVS fails
  2007-10-05  3:17     ` Davis Herring
@ 2007-10-05 11:14       ` Robert J. Chassell
  2007-10-05 19:01         ` Glenn Morris
  0 siblings, 1 reply; 8+ messages in thread
From: Robert J. Chassell @ 2007-10-05 11:14 UTC (permalink / raw)
  To: emacs-devel; +Cc: bob

Today's GNU Emacs CVS snapshot, Fri, 2007 Oct  5  10:34 UTC
GNU Emacs 23.0.50.37 (i686-pc-linux-gnu, GTK+ Version 2.10.13)
started with -Q -D

    > and it fails with the message, Selecting deleted buffer.

    Can you set debug-on-error and provide a backtrace?

Yes.  Unfortunately I have found nothing for list-buffers-noselect.

    Debugger entered--Lisp error: (error "Selecting deleted buffer")
      list-buffers-noselect(nil)
      list-buffers(nil)
      call-interactively(list-buffers)

Neither

    cvs diff -D 2007-10-01 buff-menu.el
    cvs diff -D "5 days ago" buff-menu.el

show changes.  Also CVS annotate shows none in October 2007.

In addition, 

    cvs diff -D "5 days ago" desktop.el
    cvs diff -D 2007-10-01  desktop.el

do not show changes either.

Perhaps someone else can find problems.

I am stumped.  (I also tried GDB, edebug, and --debug-init with no
success.)  My last working copy was from 2 October 2007, which is the
date of the instance with which I am sending this message.

-- 
    Robert J. Chassell                          GnuPG Key ID: 004B4AC8
    bob@rattlesnake.com                         bob@gnu.org
    http://www.rattlesnake.com                  http://www.teak.cc

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

* Re: current CVS fails
  2007-10-05 11:14       ` Robert J. Chassell
@ 2007-10-05 19:01         ` Glenn Morris
  2007-10-05 22:44           ` Robert J. Chassell
  2007-10-06 10:42           ` Robert J. Chassell
  0 siblings, 2 replies; 8+ messages in thread
From: Glenn Morris @ 2007-10-05 19:01 UTC (permalink / raw)
  To: bob; +Cc: emacs-devel

"Robert J. Chassell" wrote:

> Yes.  Unfortunately I have found nothing for list-buffers-noselect.
>
>     Debugger entered--Lisp error: (error "Selecting deleted buffer")
>       list-buffers-noselect(nil)
>       list-buffers(nil)
>       call-interactively(list-buffers)
[...]
> I am stumped.  (I also tried GDB, edebug, and --debug-init with no
> success.) 

Can you edebug list-buffers-noselect, step through it, and find out
where it tries to select a deleted buffer?

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

* Re: current CVS fails
  2007-10-05 19:01         ` Glenn Morris
@ 2007-10-05 22:44           ` Robert J. Chassell
  2007-10-06 10:42           ` Robert J. Chassell
  1 sibling, 0 replies; 8+ messages in thread
From: Robert J. Chassell @ 2007-10-05 22:44 UTC (permalink / raw)
  To: emacs-devel

    Can you edebug list-buffers-noselect, step through it, and find out
    where it tries to select a deleted buffer?

When I do that, I see 

	(with-current-buffer buffer
this;

    Edebug: list-buffers-noselect
    list-buffers-noselect
    Continue...
    error: "Selecting deleted buffer"
    Continue...
    error: "Cannot return from the debugger in an error"

That is as far as I can go.

-- 
    Robert J. Chassell                          GnuPG Key ID: 004B4AC8
    bob@rattlesnake.com                         bob@gnu.org
    http://www.rattlesnake.com                  http://www.teak.cc

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

* Re: current CVS fails
  2007-10-05 19:01         ` Glenn Morris
  2007-10-05 22:44           ` Robert J. Chassell
@ 2007-10-06 10:42           ` Robert J. Chassell
  1 sibling, 0 replies; 8+ messages in thread
From: Robert J. Chassell @ 2007-10-06 10:42 UTC (permalink / raw)
  To: emacs-devel; +Cc: bob

Finally, the current CVS succeeds!

In a new instance I am able to invoke buffer-menu-other-window after
desktop-read

This involved new Debian testing programs, including a new kernel, and
a new CVS instance of GNU Emacs, newly configured.  I don't know what
change made the difference.

The details are:

    In a Debian GNU/Linux testing distribution, updated this morning,
    with an Enlightment window manager in X

    Today's GNU Emacs CVS snapshot, Sat, 2007 Oct  6  09:47 UTC
    GNU Emacs 23.0.50.40 (i686-pc-linux-gnu, GTK+ Version 2.10.13)
    started with -Q -D

    after doing this;

          (cd "/usr/local/src/emacs/")

          (compile
           "time autoconf && time ./configure \
             --with-x --with-type1 --with-x-toolkit=gtk \
             --with-jpeg --with-tiff --with-gif --with-png \
             --prefix=/usr/local --with-sound=yes")

          (compile
           "time make -k -C lisp autoloads && cd lisp && \
            time make recompile \
                EMACS=/usr/local/src/emacs/src/emacs && \
            cd /usr/local/src/emacs/ && \
            time make info html")

          (compile "time make")

I plan to run this program with my .emacs file as my usual instance
and see whether it continues to succeed.

-- 
    Robert J. Chassell                          GnuPG Key ID: 004B4AC8
    bob@rattlesnake.com                         bob@gnu.org
    http://www.rattlesnake.com                  http://www.teak.cc

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

end of thread, other threads:[~2007-10-06 10:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-04 10:24 current CVS fails Robert J. Chassell
2007-10-04 21:54 ` Glenn Morris
2007-10-04 23:45   ` Robert J. Chassell
2007-10-05  3:17     ` Davis Herring
2007-10-05 11:14       ` Robert J. Chassell
2007-10-05 19:01         ` Glenn Morris
2007-10-05 22:44           ` Robert J. Chassell
2007-10-06 10:42           ` Robert J. Chassell

Code repositories for project(s) associated with this public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).