Anselm R. Garbe wrote:
> On Sun, Aug 13, 2006 at 11:32:26AM -0400, Edwin Stearns wrote:
>> I like your project very much, but I have found an annoying bug with
>> using emacs. To see the bug, follow this recipe:
>>
>> Open a xterm.
>>
>> Call emacs without loading the configuration file like this:
>> # emacs -q
>>
>> Modl-M to maximize emacs
>>
>> In emacs:
>> M-x menu-bar-mode
>>
>> Add watch emacs go back to tiled mode.
>>
>> This bug is worse for me in that there is something in my .emacs
>> configuration file that causes emacs to leave maximized mode on every
>> key press. The above recipe doesn't cause this problem but I hope
>> someone will be able to debug the problem from it. My work around
>> currently is to have emacs maximized in it own node.
>
> gvim and emacs behave that way, because they are broken (they
> send configure request after they have been resized, because of
> increment handling, such an configure request lets dwm restore
> the old size).
>
> There are two solutions:
> 1. use emacs/gvim in floating mode only (at least maximize them
> in floating mode only).
> OR
> 2. Change the line resize(sel, arrange == dofloat, TopLeft); in
> client.c:togglemax() as follows:
> resize(sel, True, TopLeft);
>
> Note that 2. is no solution for the official dwm version, but
> might be a solution for you.
Neither of the solutions work for me. The problem is difficult to
reproduce without my .emacs configuration file, so I must be doing
something unusual. I like dwm enough that I will live with it until I
have more time to research the problem.
Thanks,
Edwin Stearns
Received on Mon Aug 14 2006 - 15:36:04 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:08 UTC