From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: E Sabof Newsgroups: gmane.emacs.bugs Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay. Date: Sun, 9 Jun 2013 19:16:06 +0100 Message-ID: References: <83y5ajmcwk.fsf@gnu.org> <83sj0rmat2.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c1de8e61b16c04debca8fd X-Trace: ger.gmane.org 1370801828 14246 80.91.229.3 (9 Jun 2013 18:17:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Jun 2013 18:17:08 +0000 (UTC) Cc: 14582@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 09 20:17:07 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UlkAt-0004g3-JM for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Jun 2013 20:17:07 +0200 Original-Received: from localhost ([::1]:46659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlkAt-0000ky-4e for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Jun 2013 14:17:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlkAn-0000kf-E1 for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2013 14:17:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UlkAk-00062S-0z for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2013 14:17:01 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlkAj-00062I-To for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2013 14:16:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UlkAo-0004PH-8N for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2013 14:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: E Sabof Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Jun 2013 18:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14582 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14582-submit@debbugs.gnu.org id=B14582.137080177916840 (code B ref 14582); Sun, 09 Jun 2013 18:17:02 +0000 Original-Received: (at 14582) by debbugs.gnu.org; 9 Jun 2013 18:16:19 +0000 Original-Received: from localhost ([127.0.0.1]:53578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UlkA7-0004NY-9h for submit@debbugs.gnu.org; Sun, 09 Jun 2013 14:16:19 -0400 Original-Received: from mail-qe0-f50.google.com ([209.85.128.50]:43622) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UlkA5-0004NA-5k for 14582@debbugs.gnu.org; Sun, 09 Jun 2013 14:16:17 -0400 Original-Received: by mail-qe0-f50.google.com with SMTP id f6so3601319qej.23 for <14582@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== X-Received: by 10.224.29.6 with SMTP id o6mr11076939qac.58.1370801767033; Sun, 09 Jun 2013 11:16:07 -0700 (PDT) Original-Received: by 10.49.18.162 with HTTP; Sun, 9 Jun 2013 11:16:06 -0700 (PDT) In-Reply-To: <83sj0rmat2.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:74941 Archived-At: --001a11c1de8e61b16c04debca8fd Content-Type: text/plain; charset=ISO-8859-1 On Sun, Jun 9, 2013 at 6:52 PM, Eli Zaretskii wrote: > > Date: Sun, 9 Jun 2013 18:37:12 +0100 > > From: E Sabof > > Cc: 14582@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



On Sun, Jun 9, 2013 at 6:52 PM, Eli Zaretskii <= ;eliz@gnu.org> wrote:
> Date: Sun, 9 Jun 2013 18:37:12 +0100
> From: E Sabof <esabof@gmail.com= >
> Cc: 14582@debbugs.gnu.org=
>
> I think the correct behavior would be to adjust the window-position.
Adjust to where?

Either to the ne= xt 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, a= nd part after. If one evokes hs-hide-all (to which=A0fold-dwim-hide-all delegates), the same thing will happen.
--001a11c1de8e61b16c04debca8fd--