Re: AW: file centric ecb layout?
Joakim Verona <joakim <at> verona.se>
2005-02-10 09:10:45 GMT
<klaus.berndl <at> sdm.de> writes:
> Well, glad to hear that i'm not the only poor boy who must wasting its
> time with business
No, I also share this horrid fate
>>
>> I guess I need to find functions to:
>> - create a layout ecb-layout-define
>> - make a dired go in the "left" and "right" pane
>> - function to find buffer associated with "left" and "right" pane
>
> What do you means here?
>
>> - function to change which buffer to see in a pane
>>
>> That would basically be it, no?
>
> Hmm, refering to your "screenshot" above (well, nicely drawn
, i think the
I got to use Artist-mode so it was effort well spent!
> main-problem with your project is, that current layout-engine and related API
> needs an edit-area, means an area which can be used for arbitrary not-special
> windows - all special windows in an ecb-layout have to be dedicated windows
> (dedicated to buffers)!...so there arte two approaches:
>
> 1. You want to define the left and right pane as "special" in this sense of ECB
> which then follows the need for the two windows of being dedicated to the
> dired-buffers - but then: where is the edit-area which is needed currently
> by the layout-engine of ECB (at least one editing window must exists)
Well, maybe that would be useful.
+-----------------------------------------+
| |
| |
| Edit area |
| |
| |
+--------------------+--------------------+
| | |
| | |
| Left dired | Right dired |
| | |
| | |
| | |
| | |
+--------------------+--------------------+
When you enter the dired/ecb view, the edit area is preserved, and the
left pane could be set to the workdir defined by the edit area, like
the standard ecb filepanes work today. That would be useful.
Ill start this way, and then take advantage of your new
edit-window-less layout possibility if/when it is available.
> 2. You use the current editing-area of ECB for your tool, means split the
> editing area into two windows side by side, put a dired within etc...
> For this the special-tree-buffer-pane of ECB has to be temporally hidden
> what is already possible (see `ecb-hide-ecb-windows'). These windows must
> NOT being dedicated to their dired-buffers.
Hmm this aproach doesnt feel right, because the convenience of the
Commander paradigm relies on the panes having special meaning, which
they wont with this aproach.
> What would you prefer (assumed we can enhance ECB's layout engine so no
> edit-window is needed, also 1. should be possible)?
> BTW: Your suggestion drives me to check how many effort it would be to
> allow layouts without an edit-area - which could be really useful.....
> I will try to investigate in the next days....................
>
> Klaus
>
>>
>>
>>
>>> Ciao,
>>> Klaus
--
Joakim Verona
www.verona.se
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click