GNU bug report logs - #18304
24.3.92; Making and using side windows

Previous Next

Package: emacs;

Reported by: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>

Date: Wed, 20 Aug 2014 15:59:02 UTC

Severity: normal

Found in version 24.3.92

Fixed in version 25.1

Done: Glenn Morris <rgm <at> gnu.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 18304 in the body.
You can then email your comments to 18304 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#18304; Package emacs. (Wed, 20 Aug 2014 15:59:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Richard <theonewiththeevillook <at> yahoo.fr>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 20 Aug 2014 15:59:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.92; Making and using side windows
Date: Wed, 20 Aug 2014 17:59:56 +0200
Running this:
emacs -q --eval '(display-buffer-in-major-side-window (current-buffer) (quote right) 0)' -f calendar

I get an error:

Debugger entered--Lisp error: (error "Cannot split side window or parent of side window")
  signal(error ("Cannot split side window or parent of side window"))
  error("Cannot split side window or parent of side window")
  byte-code(...)
  split-window(nil nil)
  split-window-below()
  calendar-basic-setup(nil)
  calendar(nil)
  call-interactively(calendar record nil)
  command-execute(calendar record)
  execute-extended-command(nil "calendar")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)

I have no idea if this is a bug because I don't know how the user is
supposed to use/create side windows (see also #18170).


In GNU Emacs 24.3.92.2 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2014-08-07 on geodiff-mac3

-- 
Nico.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18304; Package emacs. (Thu, 21 Aug 2014 09:25:02 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>, 
 18304 <at> debbugs.gnu.org
Subject: Re: bug#18304: 24.3.92; Making and using side windows
Date: Thu, 21 Aug 2014 11:24:18 +0200
> emacs -q --eval '(display-buffer-in-major-side-window (current-buffer) (quote right) 0)' -f calendar
>
> I get an error:
>
> Debugger entered--Lisp error: (error "Cannot split side window or parent of side window")
>    signal(error ("Cannot split side window or parent of side window"))
>    error("Cannot split side window or parent of side window")
>    byte-code(...)
>    split-window(nil nil)
>    split-window-below()
>    calendar-basic-setup(nil)
>    calendar(nil)
>    call-interactively(calendar record nil)
>    command-execute(calendar record)
>    execute-extended-command(nil "calendar")
>    call-interactively(execute-extended-command nil nil)
>    command-execute(execute-extended-command)
>
> I have no idea if this is a bug

There were at least two bugs here, namely

(1) `calendar-basic-setup' calls `split-window-below' without checking
     whether the selected window can be split at all.

(2) `window-splittable-p' doesn't check whether the argument window is a
    side window.

Both should be fixed with revision 117719 on trunk.

> because I don't know how the user is
> supposed to use/create side windows (see also #18170).

Bugs like the ones you found here should get fixed before promoting side
windows generally.

BTW, if you intend to put the calendar in a side window

emacs -q --eval '(display-buffer-in-major-side-window (current-buffer) (quote bottom) 0)' -f calendar

should look better.

martin




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18304; Package emacs. (Thu, 21 Aug 2014 09:35:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>, 18304 <at> debbugs.gnu.org
Subject: Re: bug#18304: 24.3.92; Making and using side windows
Date: Thu, 21 Aug 2014 11:36:49 +0200
martin rudalics <rudalics <at> gmx.at> writes:
> Both should be fixed with revision 117719 on trunk.

Thanks for fixing it. I'm not using trunk yet, I'll give side windows
more testing after the release.

-- 
Nico.




bug marked as fixed in version 24.5, send any further explanations to 18304 <at> debbugs.gnu.org and Nicolas Richard <theonewiththeevillook <at> yahoo.fr> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 21 Aug 2014 16:01:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 19 Sep 2014 11:24:03 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 04 Oct 2014 16:36:02 GMT) Full text and rfc822 format available.

bug Marked as fixed in versions 25.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 04 Oct 2014 16:36:02 GMT) Full text and rfc822 format available.

bug No longer marked as fixed in versions 24.5. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 04 Oct 2014 16:36:02 GMT) Full text and rfc822 format available.

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

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

Previous Next


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