Subject: Re: bug#16649: Right margin overflows on neighboring windows.

From: E Sabof <[email-masked]>
Date: Fri, 07 Feb 2014 02:45:15 +0000

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))

E Sabof <[email-masked]> writes:

> Works indeed, thanks!
>
> Evgeni
>
> martin rudalics <[email-masked]> 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