GNU bug report logs - #14582
24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: E Sabof <esabof@HIDDEN>; dated Sun, 9 Jun 2013 09:14:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 14582 <at> debbugs.gnu.org:


Received: (at 14582) by debbugs.gnu.org; 9 Jun 2013 18:49:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 09 14:49:48 2013
Received: from localhost ([127.0.0.1]:53609 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UlkgW-0005lf-Af
	for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 14:49:48 -0400
Received: from mail-qe0-f53.google.com ([209.85.128.53]:33457)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <esabof@HIDDEN>) id 1UlkgT-0005lC-Rl
 for 14582 <at> debbugs.gnu.org; Sun, 09 Jun 2013 14:49:46 -0400
Received: by mail-qe0-f53.google.com with SMTP id 1so3696119qee.12
 for <14582 <at> debbugs.gnu.org>; Sun, 09 Jun 2013 11:49:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 bh=ExNt0zYk53FQ3u7pVV531Y0hIoYl5PBvJV8W2DkoXs0=;
 b=EIlL1drqT5zA/cjkLd13uWHReOx+mvw+O6FJJlnadXO8gx5bBZce/b0eHzqqnKaazG
 xlBS63LJqEGhYVK4JAPKMPGZ7UGKNzpGrID9tOhsJvdUeywUD5Hxnc2JKw2d92SE4TY0
 x1HHeoPchxZPEX+JaePQvDWDLEArIMaO2cI0DdCTn3hYDZBeOE2a+pQeZ5FH3n9NrlH7
 sQted37Nj0JUeS8e0vgwb+sNRs3U9721FNJcOHU95Rnf3a3Tj4c20oH9jlstNuzp1YZ8
 ZXcK+5lvJAHe6VoO79MAnhGJoIF23G04g0HNQZFoVj/W0b5SJkuy4OS6Op/+uWe5912E
 Mcvw==
MIME-Version: 1.0
X-Received: by 10.229.94.77 with SMTP id y13mr1420656qcm.98.1370803775743;
 Sun, 09 Jun 2013 11:49:35 -0700 (PDT)
Received: by 10.49.18.162 with HTTP; Sun, 9 Jun 2013 11:49:35 -0700 (PDT)
In-Reply-To: <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
 <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
Date: Sun, 9 Jun 2013 19:49:35 +0100
Message-ID: <CAEp6Dyapad8OoBDGKskzgo4EaRhYEogwgh8zgnQEPpCYhRvg9w@HIDDEN>
Subject: Re: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start
 is inside an overlay.
From: E Sabof <esabof@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary=14dae94edcbd1c2d6a04debd20f2
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 14582
Cc: 14582 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--14dae94edcbd1c2d6a04debd20f2
Content-Type: text/plain; charset=ISO-8859-1

On Sun, Jun 9, 2013 at 7:40 PM, E Sabof <esabof@HIDDEN> wrote:

>
> It would help if you could show a recipe with one of these starting
>> from "emacs -Q".
>>
>
> Sure:
>
> M-x hs-minor-mode
> Scroll until only the last line is visible
> M-x hs-hide-all
>
>
It already does something similar, if you repeat the above recipe, but two
lines are visible.

--14dae94edcbd1c2d6a04debd20f2
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><div class=3D"gmail_quote">=
On Sun, Jun 9, 2013 at 7:40 PM, E Sabof <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:esabof@HIDDEN" target=3D"_blank">esabof@HIDDEN</a>&gt;</span> wr=
ote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex=
;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style=
:solid;padding-left:1ex">
<div dir=3D"ltr"><div class=3D"im"><div class=3D"gmail_extra"><br><div clas=
s=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px=
 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-=
left-style:solid;padding-left:1ex">

It would help if you could show a recipe with one of these starting<br>
from &quot;emacs -Q&quot;.<br>
</blockquote></div><br></div></div><div class=3D"gmail_extra">Sure:</div><d=
iv class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">M-x hs-minor-=
mode<div>Scroll until only the last line is visible</div><div>M-x hs-hide-a=
ll</div>

<div><br></div></div></div>
</blockquote></div><br></div><div class=3D"gmail_extra">It already does som=
ething similar, if you repeat the above recipe, but two lines are visible.<=
br></div></div>

--14dae94edcbd1c2d6a04debd20f2--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#14582; Package emacs. Full text available.

Message received at 14582 <at> debbugs.gnu.org:


Received: (at 14582) by debbugs.gnu.org; 9 Jun 2013 18:40:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 09 14:40:59 2013
Received: from localhost ([127.0.0.1]:53598 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UlkXy-0005NL-16
	for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 14:40:58 -0400
Received: from mail-qe0-f42.google.com ([209.85.128.42]:36348)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <esabof@HIDDEN>) id 1UlkXo-0005Md-S1
 for 14582 <at> debbugs.gnu.org; Sun, 09 Jun 2013 14:40:49 -0400
Received: by mail-qe0-f42.google.com with SMTP id s14so3700996qeb.29
 for <14582 <at> debbugs.gnu.org>; Sun, 09 Jun 2013 11:40:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 bh=NRum2kF2Xe1c3mdBApwP9beOvPiRO25KF1n7a39iYtY=;
 b=skqU0GZ9h3LqSuK06KBG3Y6YXCYovHElnqXhXGViK+PW+rrbpVr7nlb9fi5PLpt3LC
 M1FPiULGoxtWMQ4kc58fKh/2Rx803VSuPwqJGmxh6tVpUWdgK3/PuM8kuOnPhhdta+EM
 aqnRyIYA95qABUmXnv/Xnxl8Ie65FQx9wx+e6/QieVwfoNiYvw/sTxvcZpNsKhegqcG1
 cHRuqed+L2WhXCCI4ZEYNEiihHWlUv54HgNRfCZ8c32VZ2iOi6+F2h+3ae89SJQe8IIt
 IwkeUeCO9KMu6fWVqwUBI6qNdek8V3GBqmYLm+TXxZevCyOOX+uqnRld4d5Qq4eGe2i2
 8BHw==
MIME-Version: 1.0
X-Received: by 10.224.79.209 with SMTP id q17mr10908739qak.88.1370803238743;
 Sun, 09 Jun 2013 11:40:38 -0700 (PDT)
Received: by 10.49.18.162 with HTTP; Sun, 9 Jun 2013 11:40:38 -0700 (PDT)
In-Reply-To: <83r4gbm991.fsf@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
 <83r4gbm991.fsf@HIDDEN>
Date: Sun, 9 Jun 2013 19:40:38 +0100
Message-ID: <CAEp6Dya18wA+0CvcZjipneNkdooO8Nj4AhY3008gYCSn1-2pLg@HIDDEN>
Subject: Re: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start
 is inside an overlay.
From: E Sabof <esabof@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary=047d7bf161761a36e004debd00b2
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 14582
Cc: 14582 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--047d7bf161761a36e004debd00b2
Content-Type: text/plain; charset=ISO-8859-1

> It would help if you could show a recipe with one of these starting
> from "emacs -Q".
>

Sure:

M-x hs-minor-mode
Scroll until only the last line is visible
M-x hs-hide-all

--047d7bf161761a36e004debd00b2
Content-Type: text/html; charset=ISO-8859-1

<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
It would help if you could show a recipe with one of these starting<br>
from &quot;emacs -Q&quot;.<br>
</blockquote></div><br></div><div class="gmail_extra">Sure:</div><div class="gmail_extra"><br></div><div class="gmail_extra">M-x hs-minor-mode<div>Scroll until only the last line is visible</div><div>M-x hs-hide-all</div>
<div><br></div></div></div>

--047d7bf161761a36e004debd00b2--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#14582; Package emacs. Full text available.

Message received at 14582 <at> debbugs.gnu.org:


Received: (at 14582) by debbugs.gnu.org; 9 Jun 2013 18:26:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 09 14:26:01 2013
Received: from localhost ([127.0.0.1]:53583 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UlkJU-0004ku-Cz
	for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 14:26:00 -0400
Received: from mtaout22.012.net.il ([80.179.55.172]:41447)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1UlkJR-0004kP-LU
 for 14582 <at> debbugs.gnu.org; Sun, 09 Jun 2013 14:25:58 -0400
Received: from conversion-daemon.a-mtaout22.012.net.il by
 a-mtaout22.012.net.il (HyperSendmail v2007.08) id
 <0MO500A001RVTZ00@HIDDEN> for 14582 <at> debbugs.gnu.org;
 Sun, 09 Jun 2013 21:25:46 +0300 (IDT)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0MO500AVE1UYGC70@HIDDEN>;
 Sun, 09 Jun 2013 21:25:46 +0300 (IDT)
Date: Sun, 09 Jun 2013 21:25:46 +0300
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#14582: 24.3.50.1;
 Strange overlay behavior, when window-start is inside an overlay.
In-reply-to: <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
X-012-Sender: halo1@HIDDEN
To: E Sabof <esabof@HIDDEN>
Message-id: <83r4gbm991.fsf@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
 <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 14582
Cc: 14582 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

> Date: Sun, 9 Jun 2013 19:16:06 +0100
> From: E Sabof <esabof@HIDDEN>
> Cc: 14582 <at> debbugs.gnu.org
> 
> > > I think the correct behavior would be to adjust the window-position.
> >
> > Adjust to where?
> >
> 
> Either to the next or previous character starting a line.

You mean, a character that is outside the overlay, I presume.

> > > Yes, it happens quite frequently after (fold-dwim-hide-all), and maybe in
> > > similar commands.
> >
> > Who calls set-window-start there, and why do they set window-start in
> > the middle of text that is hidden?
> >
> 
> There is no need to call it explicitly. Part of a function might be before
> the window start, and part after. If one evokes hs-hide-all (to which
> fold-dwim-hide-all
> delegates), the same thing will happen.

It would help if you could show a recipe with one of these starting
from "emacs -Q".




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#14582; Package emacs. Full text available.

Message received at 14582 <at> debbugs.gnu.org:


Received: (at 14582) by debbugs.gnu.org; 9 Jun 2013 18:16:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 09 14:16:19 2013
Received: from localhost ([127.0.0.1]:53578 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UlkA7-0004NY-9h
	for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 14:16:19 -0400
Received: from mail-qe0-f50.google.com ([209.85.128.50]:43622)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <esabof@HIDDEN>) id 1UlkA5-0004NA-5k
 for 14582 <at> debbugs.gnu.org; Sun, 09 Jun 2013 14:16:17 -0400
Received: by mail-qe0-f50.google.com with SMTP id f6so3601319qej.23
 for <14582 <at> debbugs.gnu.org>; Sun, 09 Jun 2013 11:16:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 bh=m2GxgUSV5Tdy5zVBEl2UmJLyME3AY5FPvhtt5JzGyZg=;
 b=rPMq7CtPy8zNYHZtewt2SBhiIOBs8pkBfFYyKVyBKjg+izzBmbvhfXUKPj2MPwBe8m
 h2DI08a6D3zA/Hh1u7LKE359x0P6PSd02TP+q5TCv64xe+sAZkVHPSIbSmCTJXKkrZS4
 u4ojoGnJqlMW2cxpswy8hehkgKkZDdmZ8zYgSof8c8ABsZePdZWKR+bUqeC2uoTIe1xH
 jSaNksR2OBpVnlvQA2Q1fSGwXOMXNLhoBPXd273/hUDI97QUqsZxV0oy7JepN10wwW31
 y4pHQaiaMwkKRN4SGM0DhazO9tXs0WH2SKiRCvfsqx1m+RNHFVQUzxahBxoSTOHlR20J
 pwkw==
MIME-Version: 1.0
X-Received: by 10.224.29.6 with SMTP id o6mr11076939qac.58.1370801767033; Sun,
 09 Jun 2013 11:16:07 -0700 (PDT)
Received: by 10.49.18.162 with HTTP; Sun, 9 Jun 2013 11:16:06 -0700 (PDT)
In-Reply-To: <83sj0rmat2.fsf@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
 <83sj0rmat2.fsf@HIDDEN>
Date: Sun, 9 Jun 2013 19:16:06 +0100
Message-ID: <CAEp6DyZU29z==xC9HM-0VHVWwa+qwvguotZ5C0uzp3zq-bNW=A@HIDDEN>
Subject: Re: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start
 is inside an overlay.
From: E Sabof <esabof@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary=001a11c1de8e61b16c04debca8fd
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 14582
Cc: 14582 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--001a11c1de8e61b16c04debca8fd
Content-Type: text/plain; charset=ISO-8859-1

On Sun, Jun 9, 2013 at 6:52 PM, Eli Zaretskii <eliz@HIDDEN> wrote:

> > Date: Sun, 9 Jun 2013 18:37:12 +0100
> > From: E Sabof <esabof@HIDDEN>
> > Cc: 14582 <at> debbugs.gnu.org
> >
> > I think the correct behavior would be to adjust the window-position.
>
> Adjust to where?
>

Either to the next or previous character starting a line.

>
> > Yes, it happens quite frequently after (fold-dwim-hide-all), and maybe in
> > similar commands.
>
> Who calls set-window-start there, and why do they set window-start in
> the middle of text that is hidden?
>

There is no need to call it explicitly. Part of a function might be before
the window start, and part after. If one evokes hs-hide-all (to which
fold-dwim-hide-all
delegates), the same thing will happen.

--001a11c1de8e61b16c04debca8fd
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">On Sun, Jun 9, 2013 at 6:52 PM, Eli Zaretskii <span dir=3D"ltr">&lt=
;<a href=3D"mailto:eliz@HIDDEN" target=3D"_blank">eliz@HIDDEN</a>&gt;</sp=
an> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">&gt; Date: Sun, 9 Jun 2013 18:37:12 +0100<br>
&gt; From: E Sabof &lt;<a href=3D"mailto:esabof@HIDDEN">esabof@HIDDEN=
</a>&gt;<br>
&gt; Cc: <a href=3D"mailto:14582 <at> debbugs.gnu.org">14582 <at> debbugs.gnu.org</a>=
<br>
<div class=3D"im">&gt;<br>
&gt; I think the correct behavior would be to adjust the window-position.<b=
r>
<br>
</div>Adjust to where?<br></blockquote><div><br></div><div>Either to the ne=
xt or previous character starting a line.</div><blockquote class=3D"gmail_q=
uote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-c=
olor:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class=3D"im"><br>
&gt; Yes, it happens quite frequently after (fold-dwim-hide-all), and maybe=
 in<br>
&gt; similar commands.<br>
<br>
</div>Who calls set-window-start there, and why do they set window-start in=
<br>
the middle of text that is hidden?<br>
</blockquote></div><br></div><div class=3D"gmail_extra">There is no need to=
 call it explicitly. Part of a function might be before the window start, a=
nd part after. If one evokes hs-hide-all (to which=A0<span style=3D"color:r=
gb(80,0,80)">fold-dwim-hide-all delegates), the same thing will happen.</sp=
an></div>
</div>

--001a11c1de8e61b16c04debca8fd--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#14582; Package emacs. Full text available.

Message received at 14582 <at> debbugs.gnu.org:


Received: (at 14582) by debbugs.gnu.org; 9 Jun 2013 17:53:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 09 13:53:02 2013
Received: from localhost ([127.0.0.1]:53547 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Uljna-0003Vk-1X
	for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 13:53:02 -0400
Received: from mtaout20.012.net.il ([80.179.55.166]:63241)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1UljnX-0003VF-UG
 for 14582 <at> debbugs.gnu.org; Sun, 09 Jun 2013 13:53:01 -0400
Received: from conversion-daemon.a-mtaout20.012.net.il by
 a-mtaout20.012.net.il (HyperSendmail v2007.08) id
 <0MO50030008F3400@HIDDEN> for 14582 <at> debbugs.gnu.org;
 Sun, 09 Jun 2013 20:52:10 +0300 (IDT)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0MO50022B0AXU440@HIDDEN>;
 Sun, 09 Jun 2013 20:52:09 +0300 (IDT)
Date: Sun, 09 Jun 2013 20:52:09 +0300
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#14582: 24.3.50.1;
 Strange overlay behavior, when window-start is inside an overlay.
In-reply-to: <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
X-012-Sender: halo1@HIDDEN
To: E Sabof <esabof@HIDDEN>
Message-id: <83sj0rmat2.fsf@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
 <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 14582
Cc: 14582 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

> Date: Sun, 9 Jun 2013 18:37:12 +0100
> From: E Sabof <esabof@HIDDEN>
> Cc: 14582 <at> debbugs.gnu.org
> 
> I think the correct behavior would be to adjust the window-position.

Adjust to where?

> Yes, it happens quite frequently after (fold-dwim-hide-all), and maybe in
> similar commands.

Who calls set-window-start there, and why do they set window-start in
the middle of text that is hidden?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#14582; Package emacs. Full text available.

Message received at 14582 <at> debbugs.gnu.org:


Received: (at 14582) by debbugs.gnu.org; 9 Jun 2013 17:37:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 09 13:37:24 2013
Received: from localhost ([127.0.0.1]:53531 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UljYS-0001yr-Ho
	for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 13:37:24 -0400
Received: from mail-qc0-f182.google.com ([209.85.216.182]:59633)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <esabof@HIDDEN>) id 1UljYQ-0001yU-Ph
 for 14582 <at> debbugs.gnu.org; Sun, 09 Jun 2013 13:37:23 -0400
Received: by mail-qc0-f182.google.com with SMTP id e10so964455qcy.13
 for <14582 <at> debbugs.gnu.org>; Sun, 09 Jun 2013 10:37:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 bh=ZRCAWjOl51fppmiSrNOre46cYcQr2y2OEtZ1lOF4l6E=;
 b=LDK6NJ1G3e/hlyioN0/WFAmFh9TWKSv0p0Do/d2rGHPEXvwvx81Apz6k4frHvmunbV
 azyFZ3lgU972X8adgWJx1MzjjhPGVxZzpRE+wajsA9y01MJkl86PvkxRwUaKS5zVvWKi
 vF/Ih9N4hKn4lj/j35A/G+iTj/eb+xIuIFesTaHQh/dlnXZLX2WrQPKBxRYuG75E6rIe
 IayWRCIWAGVOfV85B9SQA9MhE+GZlE9QsukyZMSzp1iX/Gg1+OOoN+MpEk9cQxEp1RG0
 gPTBv8fcIgod6Y7vRaunfzxqit3fWy+flNZCNPZKLk7jhZdBp39q7Rzkf5fmSG88Zu2l
 X3Lw==
MIME-Version: 1.0
X-Received: by 10.229.94.77 with SMTP id y13mr1351555qcm.98.1370799432676;
 Sun, 09 Jun 2013 10:37:12 -0700 (PDT)
Received: by 10.49.18.162 with HTTP; Sun, 9 Jun 2013 10:37:12 -0700 (PDT)
In-Reply-To: <83y5ajmcwk.fsf@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
 <83y5ajmcwk.fsf@HIDDEN>
Date: Sun, 9 Jun 2013 18:37:12 +0100
Message-ID: <CAEp6DyaEofHWJ+cx80YmJ-+HJe-DSMBPYomLPBAR3wEGXG83NA@HIDDEN>
Subject: Re: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start
 is inside an overlay.
From: E Sabof <esabof@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary=14dae94edcbd3e3a3604debc1df5
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 14582
Cc: 14582 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--14dae94edcbd3e3a3604debc1df5
Content-Type: text/plain; charset=ISO-8859-1

On Sun, Jun 9, 2013 at 6:06 PM, Eli Zaretskii <eliz@HIDDEN> wrote:
>
> "If it hurts, don't do that."  You've put window-start on a position
> that is at the beginning of a line, but happens to be covered by an
> overlay.  Emacs obeyed.
>
> What did you expect instead, and why?  Is there some real-life use
> case where this causes trouble?
>

I think the correct behavior would be to adjust the window-position. As far
as the window is concerned, putting a hiding overlay should be no different
than deleting text.

Yes, it happens quite frequently after (fold-dwim-hide-all), and maybe in
similar commands.

--14dae94edcbd3e3a3604debc1df5
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">On Sun, Jun 9, 2013 at 6:06 PM, Eli Zaretskii <span dir=3D"ltr">&lt=
;<a href=3D"mailto:eliz@HIDDEN" target=3D"_blank">eliz@HIDDEN</a>&gt;</sp=
an> wrote:<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-sty=
le:solid;padding-left:1ex">

&quot;If it hurts, don&#39;t do that.&quot; =A0You&#39;ve put window-start =
on a position<br>
that is at the beginning of a line, but happens to be covered by an<br>
overlay. =A0Emacs obeyed.<br>
<br>
What did you expect instead, and why? =A0Is there some real-life use<br>
case where this causes trouble?<br>
</blockquote></div><br></div><div class=3D"gmail_extra">I think the correct=
 behavior would be to adjust the window-position. As far as the window is c=
oncerned, putting a hiding overlay should be no different than deleting tex=
t.</div>
<div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Yes, it hap=
pens quite frequently after (fold-dwim-hide-all), and maybe in similar comm=
ands.=A0</div></div>

--14dae94edcbd3e3a3604debc1df5--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#14582; Package emacs. Full text available.

Message received at 14582 <at> debbugs.gnu.org:


Received: (at 14582) by debbugs.gnu.org; 9 Jun 2013 17:07:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 09 13:07:35 2013
Received: from localhost ([127.0.0.1]:53483 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Ulj5a-0000rA-G7
	for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 13:07:34 -0400
Received: from mtaout22.012.net.il ([80.179.55.172]:51309)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1Ulj5Y-0000qt-Ag
 for 14582 <at> debbugs.gnu.org; Sun, 09 Jun 2013 13:07:33 -0400
Received: from conversion-daemon.a-mtaout22.012.net.il by
 a-mtaout22.012.net.il (HyperSendmail v2007.08) id
 <0MO400A00Y6B2S00@HIDDEN> for 14582 <at> debbugs.gnu.org;
 Sun, 09 Jun 2013 20:06:53 +0300 (IDT)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0MO40092WY7FSK40@HIDDEN>;
 Sun, 09 Jun 2013 20:06:51 +0300 (IDT)
Date: Sun, 09 Jun 2013 20:06:51 +0300
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#14582: 24.3.50.1;
 Strange overlay behavior, when window-start is inside an overlay.
In-reply-to: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
X-012-Sender: halo1@HIDDEN
To: E Sabof <esabof@HIDDEN>
Message-id: <83y5ajmcwk.fsf@HIDDEN>
References: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 14582
Cc: 14582 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

> Date: Sun, 9 Jun 2013 10:13:09 +0100
> From: E Sabof <esabof@HIDDEN>
> 
> Evaluate in emacs -Q
> 
> (let (pt pt2 ws ov)
>   (insert "Lorem ipsum dolor sit amet.")
>   (setq pt (point))
>   (insert "Consectetuer adipiscing elit." "\n")
>   (setq ws (point))
>   (insert "Phasellus lacus." "\n")
>   (insert "Cum sociis natoque penatibus et magnis dis.")
>   (setq pt2 (point))
>   (insert "\n")
>   (insert "Parturient montes, nascetur ridiculus mus." "\n")
>   (insert "Nullam eu ante vel est convallis dignissim." "\n")
>   (set-window-start nil ws)
>   (setq ov (make-overlay pt pt2))
>   (overlay-put ov 'display "..."))
> 
> It will appear as though the overlay is at the beginning of the line, even
> though it's not.

"If it hurts, don't do that."  You've put window-start on a position
that is at the beginning of a line, but happens to be covered by an
overlay.  Emacs obeyed.

What did you expect instead, and why?  Is there some real-life use
case where this causes trouble?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#14582; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 9 Jun 2013 09:13:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 09 05:13:41 2013
Received: from localhost ([127.0.0.1]:52762 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Ulbgt-0004I4-OQ
	for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 05:13:41 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55545)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <esabof@HIDDEN>) id 1Ulbgm-0004He-J2
 for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 05:13:33 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <esabof@HIDDEN>) id 1Ulbgb-0001kH-E5
 for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 05:13:20 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM,
 HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:36413)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <esabof@HIDDEN>) id 1Ulbgb-0001kD-BH
 for submit <at> debbugs.gnu.org; Sun, 09 Jun 2013 05:13:17 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57251)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <esabof@HIDDEN>) id 1UlbgY-0006oW-TW
 for bug-gnu-emacs@HIDDEN; Sun, 09 Jun 2013 05:13:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <esabof@HIDDEN>) id 1UlbgU-0001jb-8x
 for bug-gnu-emacs@HIDDEN; Sun, 09 Jun 2013 05:13:14 -0400
Received: from mail-qe0-f52.google.com ([209.85.128.52]:45639)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <esabof@HIDDEN>) id 1UlbgU-0001jW-45
 for bug-gnu-emacs@HIDDEN; Sun, 09 Jun 2013 05:13:10 -0400
Received: by mail-qe0-f52.google.com with SMTP id i11so3497336qej.25
 for <bug-gnu-emacs@HIDDEN>; Sun, 09 Jun 2013 02:13:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:date:message-id:subject:from:to:content-type;
 bh=VTqMfHRLfCPQojzgPv0PW7kFY8aDZo71SS2nl2zb3+8=;
 b=wb6DW9lTpmJgEm1e7xZ+CbqMcsu5MClJ/HaUkQoHDDQe9dGrksJmbAg7WPrZ9paQov
 oxGBHuUBuMAlIMK9AoVdk3EQ96L6Jn+VljmBkGgCXZea7ShZC0GovjcXzUKFtqbbAx1h
 IGDP6od1mOobYUIjN4UTf7eE0PLsTOv0bZoGjzqhYAQGv2ekVLlJ2DCOtl0+PgSPGJWE
 SetePXcXayQ1wPE6NwZqKqXuwDE3M0iavOC4E+dh16svnCKSm9n3e2CNo/IL3+e6hkaS
 0sMaRDr3X2vK8fDuPZdhaI296qzm0J76pJ4Q0yXN2+gPgYt3YSR78FU2piB0NafI15Jk
 TtvQ==
MIME-Version: 1.0
X-Received: by 10.224.29.6 with SMTP id o6mr9667650qac.58.1370769189654; Sun,
 09 Jun 2013 02:13:09 -0700 (PDT)
Received: by 10.49.18.162 with HTTP; Sun, 9 Jun 2013 02:13:09 -0700 (PDT)
Date: Sun, 9 Jun 2013 10:13:09 +0100
Message-ID: <CAEp6DyYZqGZKE=+Vh6a4-J-0+brLR47Ly2==h_XxNDvO5CpLTQ@HIDDEN>
Subject: 24.3.50.1;
 Strange overlay behavior, when window-start is inside an overlay.
From: E Sabof <esabof@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary=001a11c1de8e9e55ea04deb51277
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.3 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.3 (----)

--001a11c1de8e9e55ea04deb51277
Content-Type: text/plain; charset=ISO-8859-1

Evaluate in emacs -Q

(let (pt pt2 ws ov)
  (insert "Lorem ipsum dolor sit amet.")
  (setq pt (point))
  (insert "Consectetuer adipiscing elit." "\n")
  (setq ws (point))
  (insert "Phasellus lacus." "\n")
  (insert "Cum sociis natoque penatibus et magnis dis.")
  (setq pt2 (point))
  (insert "\n")
  (insert "Parturient montes, nascetur ridiculus mus." "\n")
  (insert "Nullam eu ante vel est convallis dignissim." "\n")
  (set-window-start nil ws)
  (setq ov (make-overlay pt pt2))
  (overlay-put ov 'display "..."))

It will appear as though the overlay is at the beginning of the line, even
though it's not.

Evgeni

--001a11c1de8e9e55ea04deb51277
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Evaluate in emacs -Q</div><div><br></div><div>(let (p=
t pt2 ws ov)</div><div>=A0 (insert &quot;Lorem ipsum dolor sit amet.&quot;)=
</div><div>=A0 (setq pt (point))</div><div>=A0 (insert &quot;Consectetuer a=
dipiscing elit.&quot; &quot;\n&quot;)</div>
<div>=A0 (setq ws (point))</div><div>=A0 (insert &quot;Phasellus lacus.&quo=
t; &quot;\n&quot;)</div><div>=A0 (insert &quot;Cum sociis natoque penatibus=
 et magnis dis.&quot;)</div><div>=A0 (setq pt2 (point))</div><div>=A0 (inse=
rt &quot;\n&quot;)</div>
<div>=A0 (insert &quot;Parturient montes, nascetur ridiculus mus.&quot; &qu=
ot;\n&quot;)</div><div>=A0 (insert &quot;Nullam eu ante vel est convallis d=
ignissim.&quot; &quot;\n&quot;)</div><div>=A0 (set-window-start nil ws)</di=
v>
<div>=A0 (setq ov (make-overlay pt pt2))</div><div>=A0 (overlay-put ov &#39=
;display &quot;...&quot;))</div><div><br></div><div>It will appear as thoug=
h the overlay is at the beginning of the line, even though it&#39;s not.</d=
iv>
<div><br></div><div>Evgeni</div></div>

--001a11c1de8e9e55ea04deb51277--




Acknowledgement sent to E Sabof <esabof@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#14582; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.