GNU bug report logs - #20832
25.0.50; todo-show accidentally deleted my todo file.

Previous Next

Package: emacs;

Reported by: Nicolas Richard <youngfrog <at> members.fsf.org>

Date: Wed, 17 Jun 2015 05:41:02 UTC

Severity: normal

Found in version 25.0.50

Done: Stephen Berman <stephen.berman <at> gmx.net>

Bug is archived. No further changes may be made.

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: Nicolas Richard <nrichard <at> members.fsf.org>, 
 Stephen Berman <stephen.berman <at> gmx.net>
Cc: 20832 <at> debbugs.gnu.org
Subject: Re: bug#20832: 25.0.50; todo-show accidentally deleted my todo file.
Date: Fri, 19 Jun 2015 08:43:50 +0200
> This is bad :'( It seems one should not change the buffer in a minibuffer
> window. Perhaps it would be good if this was documented in
> the docstring of set-window-buffer.

You should use ‘set-window-buffer’ in application programs only if you
know what you're doing.  From the Elisp manual:

     When writing an application, you should normally use the
     higher-level functions described in *Note Switching Buffers::,
     instead of calling `set-window-buffer' directly.

While the minibuffer window is selected, ‘minibuffer-selected-window’
can be used to get the previously selected window.

martin





This bug report was last modified 10 years and 37 days ago.

Previous Next


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