GNU bug report logs - #16649
Right margin overflows on neighboring windows.

Previous Next

Package: emacs;

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.

Full log


View this message in rfc822 format

From: E Sabof <esabof <at> gmail.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 16649 <at> debbugs.gnu.org
Subject: bug#16649: Right margin overflows on neighboring windows.
Date: Fri, 07 Feb 2014 02:45:15 +0000
[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

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.