From: Sam Steingold <sds@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: quit-window is broken
Date: Mon, 17 Nov 2008 13:55:31 -0500 [thread overview]
Message-ID: <4921BE23.7010706@gnu.org> (raw)
In-Reply-To: <4921990E.5080106@gmx.at>
martin rudalics wrote:
> >> > Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> >> > get-buffer(nil)
> >> > switch-to-buffer(nil)
> >> > quit-window(nil)
> >> > call-interactively(quit-window nil nil)
> [...]
> > it does happen to me with the current cvs head - always, whether I have
> > 10 or 2 or 1 windows in the frame.
> > alas, this does not happen with "emacs -q", so I guess I will have to
> > investigate further.
>
> (switch-to-buffer nil) should not fail the way it does in your backtrace.
yes, it turned out that the problem was with my advice to switch-to-buffer not
to create new buffers by default.
I wish there were an option for that.
next prev parent reply other threads:[~2008-11-17 18:55 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-17 15:22 quit-window is broken Sam Steingold
2008-11-17 16:04 ` martin rudalics
2008-11-17 16:11 ` Sam Steingold
2008-11-17 16:17 ` martin rudalics
2008-11-17 18:55 ` Sam Steingold [this message]
2008-11-17 19:15 ` martin rudalics
2008-11-17 20:43 ` Sam Steingold
2008-11-17 21:59 ` Stefan Monnier
2008-11-17 22:43 ` martin rudalics
2008-11-18 16:01 ` Stefan Monnier
2008-11-18 16:33 ` Drew Adams
2008-11-18 17:03 ` Stefan Monnier
2008-11-18 17:36 ` Drew Adams
2008-11-18 21:30 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4921BE23.7010706@gnu.org \
--to=sds@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=rudalics@gmx.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.