stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [STUMP] set initial frame size in pixel


From: Ben Spencer
Subject: Re: [STUMP] set initial frame size in pixel
Date: Wed, 16 Mar 2011 19:08:47 +0000
User-agent: Mutt/1.5.20 (2009-06-14)

On Sun, Mar 13, 2011 at 03:14:36PM +0100, Ivan Kanis wrote:
> The following small patch let's the user specify the initial frame size
> width in pixel. I use to setup emacs so it's 80 characters wide.


Hi Ivan,

The patch looks good.  I'll apply it with a couple of minor changes if
they're ok with you.


> +  "Return a ratio of length unless ratio is a number.
> +If ratio is a number return the number of pixel desired."

> +allocate to the new split window. If ratio is a number then the

s/number/integer/


> -(defun split-frame (group how &optional (ratio 1/2))
> +(defun split-frame (group how ratio)

I'd like to leave this argument optional on the offchance that
somebody is relying on it, unless there's a good reason not to.


Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]