GNU bug report logs -
#16649
Right margin overflows on neighboring windows.
Previous Next
Reported by: E Sabof <esabof <at> gmail.com>
Date: Wed, 5 Feb 2014 07:43:02 UTC
Severity: normal
Fixed in version 24.4
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16649 in the body.
You can then email your comments to 16649 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16649
; Package
emacs
.
(Wed, 05 Feb 2014 07:43:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
E Sabof <esabof <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 05 Feb 2014 07:43:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From emacs -Q, with version from trunk.
STEPS:
(set-window-margins nil (car (window-margins)) 30))
C-x 3
Resize, until the right window is smaller than the margin.
RESULT:
The right window's right fringe will be drawn on top of the left window's right margin.
Evgeni
GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4) of 2014-02-05 on ubuntu
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16649
; Package
emacs
.
(Wed, 05 Feb 2014 10:50:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 16649 <at> debbugs.gnu.org (full text, mbox):
>>From emacs -Q, with version from trunk.
>
> STEPS:
>
> (set-window-margins nil (car (window-margins)) 30))
> C-x 3
>
> Resize, until the right window is smaller than the margin.
>
> RESULT:
>
> The right window's right fringe will be drawn on top of the left window's right margin.
Should be fixed now. Though using such large margins surely means
asking for trouble.
Thanks, martin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16649
; Package
emacs
.
(Wed, 05 Feb 2014 16:21:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 16649 <at> debbugs.gnu.org (full text, mbox):
Works indeed, thanks!
Evgeni
martin rudalics <rudalics <at> gmx.at> writes:
> >>From emacs -Q, with version from trunk.
> >
> > STEPS:
> >
> > (set-window-margins nil (car (window-margins)) 30))
> > C-x 3
> >
> > Resize, until the right window is smaller than the margin.
> >
> > RESULT:
> >
> > The right window's right fringe will be drawn on top of the left window's right margin.
>
> Should be fixed now. Though using such large margins surely means
> asking for trouble.
>
> Thanks, martin
bug marked as fixed in version 24.4, send any further explanations to
16649 <at> debbugs.gnu.org and E Sabof <esabof <at> gmail.com>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 05 Feb 2014 21:19:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16649
; Package
emacs
.
(Fri, 07 Feb 2014 02:46:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 16649 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Sorry, the right fringe renders correctly, but the margin still overflows. Attached is a screenshot of magit-log, where this can be seen. Below is a test case.
Evgeni
(let ((ov (make-overlay (point-min) (point-max))))
(overlay-put ov
'before-string
(propertize "o" 'display
(list '(margin right-margin)
(propertize
"Laetamur quis quam, aliqua nostrum."
'face '(:background "yellow")
))))
(set-window-margins nil (car (window-margins)) 30))
[2014-02-07-022045_707x630_scrot.png (image/png, attachment)]
[Message part 3 (text/plain, inline)]
E Sabof <esabof <at> gmail.com> writes:
> Works indeed, thanks!
>
> Evgeni
>
> martin rudalics <rudalics <at> gmx.at> writes:
>
>> >>From emacs -Q, with version from trunk.
>> >
>> > STEPS:
>> >
>> > (set-window-margins nil (car (window-margins)) 30))
>> > C-x 3
>> >
>> > Resize, until the right window is smaller than the margin.
>> >
>> > RESULT:
>> >
>> > The right window's right fringe will be drawn on top of the left window's right margin.
>>
>> Should be fixed now. Though using such large margins surely means
>> asking for trouble.
>>
>> Thanks, martin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16649
; Package
emacs
.
(Fri, 07 Feb 2014 07:53:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 16649 <at> debbugs.gnu.org (full text, mbox):
> From: E Sabof <esabof <at> gmail.com>
> Date: Fri, 07 Feb 2014 02:45:15 +0000
> Cc: 16649 <at> debbugs.gnu.org
>
> Sorry, the right fringe renders correctly, but the margin still overflows. Attached is a screenshot of magit-log, where this can be seen. Below is a test case.
>
> Evgeni
>
> (let ((ov (make-overlay (point-min) (point-max))))
> (overlay-put ov
> 'before-string
> (propertize "o" 'display
> (list '(margin right-margin)
> (propertize
> "Laetamur quis quam, aliqua nostrum."
> 'face '(:background "yellow")
> ))))
> (set-window-margins nil (car (window-margins)) 30))
Could you please tell what exactly is wrong with display in the above
test case? And what does "the margin overflows" mean? Maybe I'm
blind, but I don't see anything wrong when I eval the above code.
As for the magit display, it is so loaded with stuff that it is hard
to even know where's the margin there. So please tell where to look
and what is it that you think is wrong in that screenshot.
Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16649
; Package
emacs
.
(Fri, 07 Feb 2014 11:13:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 16649 <at> debbugs.gnu.org (full text, mbox):
> Sorry, the right fringe renders correctly, but the margin still overflows. Attached is a screenshot of magit-log, where this can be seen. Below is a test case.
>
> Evgeni
>
> (let ((ov (make-overlay (point-min) (point-max))))
> (overlay-put ov
> 'before-string
> (propertize "o" 'display
> (list '(margin right-margin)
> (propertize
> "Laetamur quis quam, aliqua nostrum."
> 'face '(:background "yellow")
> ))))
> (set-window-margins nil (car (window-margins)) 30))
OK. Please try again.
martin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16649
; Package
emacs
.
(Fri, 07 Feb 2014 11:15:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 16649 <at> debbugs.gnu.org (full text, mbox):
> Could you please tell what exactly is wrong with display in the above
> test case? And what does "the margin overflows" mean? Maybe I'm
> blind, but I don't see anything wrong when I eval the above code.
You have to do C-x 3 and enlarge one of the windows to see the effects.
There were plenty of them - mostly related to not returning the right
values via window box related functions. I also now adjust the window
margins when a window gets to narrow because otherwise the redisplay
engine gets confused when inserting new text. Still pretty toothless
when confronted with more drastic specifications but the best I came up
with so far.
martin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16649
; Package
emacs
.
(Fri, 07 Feb 2014 11:52:01 GMT)
Full text and
rfc822 format available.
Message #28 received at 16649 <at> debbugs.gnu.org (full text, mbox):
> Date: Fri, 07 Feb 2014 12:14:11 +0100
> From: martin rudalics <rudalics <at> gmx.at>
> CC: E Sabof <esabof <at> gmail.com>, 16649 <at> debbugs.gnu.org
>
> > Could you please tell what exactly is wrong with display in the above
> > test case? And what does "the margin overflows" mean? Maybe I'm
> > blind, but I don't see anything wrong when I eval the above code.
>
> You have to do C-x 3 and enlarge one of the windows to see the effects.
I did, and still didn't see any problems.
Anyway, thanks for taking care of this.
> There were plenty of them - mostly related to not returning the right
> values via window box related functions. I also now adjust the window
> margins when a window gets to narrow because otherwise the redisplay
> engine gets confused when inserting new text. Still pretty toothless
> when confronted with more drastic specifications but the best I came up
> with so far.
Any mode that gets to these extreme situations should be shot through
the head.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16649
; Package
emacs
.
(Fri, 07 Feb 2014 12:07:01 GMT)
Full text and
rfc822 format available.
Message #31 received at 16649 <at> debbugs.gnu.org (full text, mbox):
>> You have to do C-x 3 and enlarge one of the windows to see the effects.
>
> I did, and still didn't see any problems.
On Windows, whose redisplay is sometimes better than GTK's ;-)
martin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16649
; Package
emacs
.
(Fri, 21 Feb 2014 13:10:02 GMT)
Full text and
rfc822 format available.
Message #34 received at 16649 <at> debbugs.gnu.org (full text, mbox):
> > Sorry, the right fringe renders correctly, but the margin still
> overflows. Attached is a screenshot of magit-log, where this can be
> seen. Below is a test case.
Is this fixed now?
martin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16649
; Package
emacs
.
(Fri, 21 Feb 2014 13:17:01 GMT)
Full text and
rfc822 format available.
Message #37 received at 16649 <at> debbugs.gnu.org (full text, mbox):
martin rudalics <rudalics <at> gmx.at> writes:
>> > Sorry, the right fringe renders correctly, but the margin still
>> overflows. Attached is a screenshot of magit-log, where this can be
>> seen. Below is a test case.
>
> Is this fixed now?
>
> martin
Yes, it's fixed, thanks!
Evgeni
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 22 Mar 2014 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 170 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.