From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay. Date: Sun, 09 Jun 2013 21:25:46 +0300 Message-ID: <83r4gbm991.fsf@gnu.org> References: <83y5ajmcwk.fsf@gnu.org> <83sj0rmat2.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1370802373 19676 80.91.229.3 (9 Jun 2013 18:26:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Jun 2013 18:26:13 +0000 (UTC) Cc: 14582@debbugs.gnu.org To: E Sabof Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 09 20:26:11 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 1UlkJX-0002Bp-A7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Jun 2013 20:26:03 +0200 Original-Received: from localhost ([::1]:48048 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlkJW-00020B-SL for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Jun 2013 14:26:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlkJT-0001zv-6G for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2013 14:26:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UlkJS-0000TT-By for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2013 14:25:59 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlkJS-0000TP-5o for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2013 14:25:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UlkJW-0004lA-AC for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2013 14:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Jun 2013 18:26: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.137080236118289 (code B ref 14582); Sun, 09 Jun 2013 18:26:02 +0000 Original-Received: (at 14582) by debbugs.gnu.org; 9 Jun 2013 18:26:01 +0000 Original-Received: from localhost ([127.0.0.1]:53583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UlkJU-0004ku-Cz for submit@debbugs.gnu.org; Sun, 09 Jun 2013 14:26:00 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:41447) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UlkJR-0004kP-LU for 14582@debbugs.gnu.org; Sun, 09 Jun 2013 14:25:58 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MO500A001RVTZ00@a-mtaout22.012.net.il> for 14582@debbugs.gnu.org; Sun, 09 Jun 2013 21:25:46 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MO500AVE1UYGC70@a-mtaout22.012.net.il>; Sun, 09 Jun 2013 21:25:46 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il 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:74942 Archived-At: > Date: Sun, 9 Jun 2013 19:16:06 +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. 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".