</DD>
<DT><STRONG>Description:</STRONG></DT>
-<DD>Detach or reattach <TT>reg</TT>, depending on whether <TT>how</TT>
- is `<TT>set</TT>', `<TT>unset</TT>' or `<TT>toggle</TT>'. (Detaching
- means making <TT>reg</TT> managed by its nearest ancestor WGroup,
- framed if <TT>reg</TT> is not itself WFrame. Reattaching means
- making it managed where it used to be managed, if a return-placeholder
- exists.)
- If <TT>reg</TT> is the `bottom' of some group, the whole group is
- detached. If <TT>reg</TT> is a WWindow, it is put into a
- frame.
+<DD>Detach or reattach <TT>reg</TT> or any group it is the leader of
+ (see <A HREF="#fn:WRegion.groupleader_of"><TT>WRegion.groupleader_of</TT></A>), depending on whether <TT>how</TT>
+ is `<TT>set</TT>', `<TT>unset</TT>' or `<TT>toggle</TT>'. If this
+ region is not a window, it is put into a frame.
+
+<P>
+Detaching a region means having it managed by its nearest ancestor
+ WGroup. Reattaching means having it managed where it used
+ to be managed, if a ``return placeholder'' exists.
+
+<P>
+Additionally, setting <TT>how</TT> to `<TT>forget</TT>', can be used to
+ clear this return placeholder of the group leader of <TT>reg</TT>.
</DD>
</DL>
<DD><A NAME="fn:ioncore.popen_bgread"></A>
</DD>
<DT><STRONG>Synopsis:</STRONG></DT>
-<DD><TT>integer ioncore.popen_bgread(string cmd, function h, function errh)</TT>
+<DD><TT>integer ioncore.popen_bgread(string cmd, function h, function errh, string wd)</TT>
</DD>
<DT><STRONG>Description:</STRONG></DT>
-<DD>Run <TT>cmd</TT> with a read pipe connected to its stdout and stderr.
+<DD>Run <TT>cmd</TT> in directory <TT>wd</TT> with a read pipe connected to its
+ stdout and stderr.
When data is received through one of these pipes, <TT>h</TT> or <TT>errh</TT>
is called with that data. When the pipe is closed, the handler is called
with <TT>nil</TT> argument. The PID of the new process is returned, or
</DD>
</DL>
-<P>
-
- <DL>
-<DD><A NAME="fn:WGroup.is_fullscreen"></A>
-</DD>
-<DT><STRONG>Synopsis:</STRONG></DT>
-<DD><TT>bool WGroup.is_fullscreen(WGroup grp)</TT>
-
-</DD>
-<DT><STRONG>Description:</STRONG></DT>
-<DD>Is <TT>reg</TT> in full screen mode?
-
-</DD>
-</DL>
-
<P>
<DL>
<DD><A NAME="fn:mod_query.popen_completions"></A>
</DD>
<DT><STRONG>Synopsis:</STRONG></DT>
-<DD><TT>mod_query.popen_completions(cp, cmd, fn, reshnd)</TT>
+<DD><TT>mod_query.popen_completions(cp, cmd, fn, reshnd, wd)</TT>
</DD>
<DT><STRONG>Description:</STRONG></DT>
<DD>This function can be used to read completions from an external source.
The parameter <TT>cp</TT> is the completion proxy to be used,
- and the string <TT>cmd</TT> the shell command to be executed. To its stdout,
- the command should on the first line write the <TT>common_beg</TT>
+ and the string <TT>cmd</TT> the shell command to be executed, in the directory
+ <TT>wd</TT>.
+ To its stdout, the command should on the first line write the <TT>common_beg</TT>
parameter of <A HREF="#fn:WComplProxy.set_completions"><TT>WComplProxy.set_completions</TT></A> (which <TT>fn</TT> maybe used
to override) and a single actual completion on each of the successive lines.
The function <TT>reshnd</TT> may be used to override a result table
<P>
<DL>
-<DD><A NAME="8270"></A>
+<DD><A NAME="8264"></A>
</DD>
<DT><STRONG>Hook name:</STRONG></DT>
<P>
<DL>
-<DD><A NAME="8271"></A>
+<DD><A NAME="8265"></A>
</DD>
<DT><STRONG>Hook name:</STRONG></DT>
<P>
<DL>
-<DD><A NAME="8272"></A>
+<DD><A NAME="8266"></A>
</DD>
<DT><STRONG>Hook name:</STRONG></DT>
<P>
<DL>
-<DD><A NAME="8273"></A>
+<DD><A NAME="8267"></A>
</DD>
<DT><STRONG>Hook name:</STRONG></DT>
<P>
<DL>
-<DD><A NAME="8274"></A>
+<DD><A NAME="8268"></A>
</DD>
<DT><STRONG>Hook name:</STRONG></DT>
<P>
<DL>
-<DD><A NAME="8275"></A>
+<DD><A NAME="8269"></A>
</DD>
<DT><STRONG>Hook name:</STRONG></DT>
<P>
<DL>
-<DD><A NAME="8276"></A>
+<DD><A NAME="8270"></A>
</DD>
<DT><STRONG>Hook name:</STRONG></DT>
<P>
<DL>
-<DD><A NAME="8277"></A>
+<DD><A NAME="8271"></A>
</DD>
<DT><STRONG>Hook name:</STRONG></DT>
<P>
<DL>
-<DD><A NAME="8278"></A>
+<DD><A NAME="8272"></A>
</DD>
<DT><STRONG>Hook name:</STRONG></DT>
<P>
<DL>
-<DD><A NAME="8279"></A>
+<DD><A NAME="8273"></A>
</DD>
<DT><STRONG>Hook name:</STRONG></DT>
<P>
<DL>
-<DD><A NAME="8280"></A>
+<DD><A NAME="8274"></A>
</DD>
<DT><STRONG>Hook name:</STRONG></DT>
<P>
<DL>
-<DD><A NAME="8281"></A>
+<DD><A NAME="8275"></A>
</DD>
<DT><STRONG>Hook name:</STRONG></DT>
<P>
<DL>
-<DD><A NAME="8282"></A>
+<DD><A NAME="8276"></A>
</DD>
<DT><STRONG>Hook name:</STRONG></DT>
<P>
<DL>
-<DD><A NAME="8283"></A>
+<DD><A NAME="8277"></A>
</DD>
<DT><STRONG>Hook name:</STRONG></DT>