all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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  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

* 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 11:51           ` Eli Zaretskii
@ 2014-02-07 12:06             ` martin rudalics
  0 siblings, 0 replies; 11+ messages in thread
From: martin rudalics @ 2014-02-07 12:06 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 16649, esabof

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






^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#16649: Right margin overflows on neighboring windows.
  2014-02-07 11:12       ` martin rudalics
@ 2014-02-21 13:08         ` martin rudalics
  2014-02-21 13:16           ` E Sabof
  0 siblings, 1 reply; 11+ messages in thread
From: martin rudalics @ 2014-02-21 13:08 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.

Is this fixed now?

martin






^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#16649: Right margin overflows on neighboring windows.
  2014-02-21 13:08         ` martin rudalics
@ 2014-02-21 13:16           ` E Sabof
  0 siblings, 0 replies; 11+ messages in thread
From: E Sabof @ 2014-02-21 13:16 UTC (permalink / raw)
  To: martin rudalics; +Cc: 16649


martin rudalics <rudalics@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





^ 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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.