On 11/05/11 17:27, Jean-Philippe Bernardy wrote:
Rather than adding a new window type, It would be a lot easier to
1. Change the layout algorithm to put mini windows at the bottom
2. Creation of a miniwindow if one already exists.
I'm not sure I understand your second point.
Regarding the first point, I think the key point is: how do people use
miniwindows? Specifically:
* Can you think of an example where you would want to have multiple
miniwindows open concurrently? Emacs and (apparently) vi don't
support this.
* Also, can you give me an example where you would want to have a
miniwindow visiting a file, rather than requesting user input? (I
would imagine that when visiting a file, you would like as much
space available to view the contents as possible, and hence not
use a miniwindow.)
I can't think of any examples. If there aren't any examples, then I
would say that the miniwindow is sufficiently different from regular
windows to warrant adding a new window type specifically for it.
The logical position of the miniwindow in the stack is currently informative:
eg. it is used to determine which window will receive a newly opened file.
I didn't realise this. Of course, there are alternative approaches.
Cheers,
Reiner
--
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel