unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: E Sabof <esabof@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: 16649@debbugs.gnu.org
Subject: bug#16649: Right margin overflows on neighboring windows.
Date: Fri, 07 Feb 2014 02:45:15 +0000	[thread overview]
Message-ID: <87a9e37i9w.fsf@gmail.com> (raw)
In-Reply-To: <8761oth6oz.fsf@gmail.com>

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

  reply	other threads:[~2014-02-07  2:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a9e37i9w.fsf@gmail.com \
    --to=esabof@gmail.com \
    --cc=16649@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).