* bug#16649: Right margin overflows on neighboring windows.
@ 2014-02-05 7:41 E Sabof
2014-02-05 10:49 ` martin rudalics
0 siblings, 1 reply; 11+ messages in thread
From: E Sabof @ 2014-02-05 7:41 UTC (permalink / raw)
To: 16649
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#16649: Right margin overflows on neighboring windows.
2014-02-05 7:41 bug#16649: Right margin overflows on neighboring windows E Sabof
@ 2014-02-05 10:49 ` martin rudalics
2014-02-05 16:20 ` E Sabof
0 siblings, 1 reply; 11+ messages in thread
From: martin rudalics @ 2014-02-05 10:49 UTC (permalink / raw)
To: E Sabof; +Cc: 16649
>>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
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#16649: Right margin overflows on neighboring windows.
2014-02-05 10:49 ` martin rudalics
@ 2014-02-05 16:20 ` E Sabof
2014-02-07 2:45 ` E Sabof
0 siblings, 1 reply; 11+ messages in thread
From: E Sabof @ 2014-02-05 16:20 UTC (permalink / raw)
To: martin rudalics; +Cc: 16649
Works indeed, thanks!
Evgeni
martin rudalics <rudalics@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
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#16649: Right margin overflows on neighboring windows.
2014-02-05 16:20 ` E Sabof
@ 2014-02-07 2:45 ` E Sabof
2014-02-07 7:52 ` Eli Zaretskii
2014-02-07 11:12 ` martin rudalics
0 siblings, 2 replies; 11+ messages in thread
From: E Sabof @ 2014-02-07 2:45 UTC (permalink / raw)
To: martin rudalics; +Cc: 16649
[-- Attachment #1: Type: text/plain, Size: 639 bytes --]
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))
[-- Attachment #2: 2014-02-07-022045_707x630_scrot.png --]
[-- Type: image/png, Size: 196032 bytes --]
[-- Attachment #3: Type: text/plain, Size: 569 bytes --]
E Sabof <esabof@gmail.com> writes:
> Works indeed, thanks!
>
> Evgeni
>
> martin rudalics <rudalics@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
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#16649: Right margin overflows on neighboring windows.
2014-02-07 2:45 ` E Sabof
@ 2014-02-07 7:52 ` Eli Zaretskii
2014-02-07 11:14 ` martin rudalics
2014-02-07 11:12 ` martin rudalics
1 sibling, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2014-02-07 7:52 UTC (permalink / raw)
To: E Sabof; +Cc: 16649
> From: E Sabof <esabof@gmail.com>
> Date: Fri, 07 Feb 2014 02:45:15 +0000
> Cc: 16649@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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#16649: Right margin overflows on neighboring windows.
2014-02-07 7:52 ` Eli Zaretskii
@ 2014-02-07 11:14 ` martin rudalics
2014-02-07 11:51 ` Eli Zaretskii
0 siblings, 1 reply; 11+ messages in thread
From: martin rudalics @ 2014-02-07 11:14 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 16649, E Sabof
> 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
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#16649: Right margin overflows on neighboring windows.
2014-02-07 11:14 ` martin rudalics
@ 2014-02-07 11:51 ` Eli Zaretskii
2014-02-07 12:06 ` martin rudalics
0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2014-02-07 11:51 UTC (permalink / raw)
To: martin rudalics; +Cc: 16649, esabof
> Date: Fri, 07 Feb 2014 12:14:11 +0100
> From: martin rudalics <rudalics@gmx.at>
> CC: E Sabof <esabof@gmail.com>, 16649@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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#16649: Right margin overflows on neighboring windows.
2014-02-07 2:45 ` E Sabof
2014-02-07 7:52 ` Eli Zaretskii
@ 2014-02-07 11:12 ` martin rudalics
2014-02-21 13:08 ` martin rudalics
1 sibling, 1 reply; 11+ messages in thread
From: martin rudalics @ 2014-02-07 11:12 UTC (permalink / raw)
To: E Sabof; +Cc: 16649
> 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
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2014-02-21 13:16 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-05 7:41 bug#16649: Right margin overflows on neighboring windows E Sabof
2014-02-05 10:49 ` martin rudalics
2014-02-05 16:20 ` E Sabof
2014-02-07 2:45 ` E Sabof
2014-02-07 7:52 ` Eli Zaretskii
2014-02-07 11:14 ` martin rudalics
2014-02-07 11:51 ` Eli Zaretskii
2014-02-07 12:06 ` martin rudalics
2014-02-07 11:12 ` martin rudalics
2014-02-21 13:08 ` martin rudalics
2014-02-21 13:16 ` E Sabof
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).