On 10/10/2014 02:55 PM, Rob Browning wrote:
> Ross Vandegrift <r...@kallisti.us> writes:
>> I set Emacs frame geometry in .Xresources and am seeing a weird off by
>> one error in the size parameter.  For example, setting:
>>      Emacs*.geometry:        80x77
>> results in a frame that is 79x76.  If I change that to 81x78, then the
>> frame is created 80x77, as desired.
>>
>> The behavior is the same when geometry is specified on the command-line.
>> No similar problem with positioning.
> 
> I just tested emacs24 and emacs24-lucid on a relatively current jessie
> system under Gnome 3, with "emacs -geometry 80x77", and I ended up with
> a frame that would hold "M-x 80 x" x's.
> 
> So I wanted to check to see if this was still a problem for you.

I hadn't tested how many characters could be displayed in a line - I was
trusting the geometry displayed by the window manager when resized.

So the issue appears to be a display problem: "emacs -geometry 80x77"
creates a frame that is 80x77, but when resizing, the reported sizes are
off-by-one.  I've reproduced that behavior on current jessie Gnome 3 and
on Enlightenment 0.18 - so it seems independent of window manager.

emacs23 from wheezy does not have this behavior - the geometry seen by
my window manager matches the number of characters I can display on one
line.

Ross


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to