From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#25246: 25.1.90; Buffer not responsible with overlay at buffer end. Date: Thu, 22 Dec 2016 19:01:56 -0500 Message-ID: <87wpera4y3.fsf@users.sourceforge.net> References: <20161222091305.GC5148@seven> <83bmw328uy.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1482451284 7021 195.159.176.226 (23 Dec 2016 00:01:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Dec 2016 00:01:24 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: "Stefan-W. Hahn" , 25246@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 23 01:01:18 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKDIL-0008PY-7w for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Dec 2016 01:01:14 +0100 Original-Received: from localhost ([::1]:36707 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKDIO-0007J7-4s for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Dec 2016 19:01:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKDII-0007IF-2J for bug-gnu-emacs@gnu.org; Thu, 22 Dec 2016 19:01:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKDIF-0003ku-1s for bug-gnu-emacs@gnu.org; Thu, 22 Dec 2016 19:01:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36537) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cKDIE-0003kd-Uu for bug-gnu-emacs@gnu.org; Thu, 22 Dec 2016 19:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cKDIE-0002oN-Km for bug-gnu-emacs@gnu.org; Thu, 22 Dec 2016 19:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Dec 2016 00:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25246 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 25246-submit@debbugs.gnu.org id=B25246.148245126110792 (code B ref 25246); Fri, 23 Dec 2016 00:01:02 +0000 Original-Received: (at 25246) by debbugs.gnu.org; 23 Dec 2016 00:01:01 +0000 Original-Received: from localhost ([127.0.0.1]:51936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKDIC-0002o0-Sn for submit@debbugs.gnu.org; Thu, 22 Dec 2016 19:01:01 -0500 Original-Received: from mail-it0-f42.google.com ([209.85.214.42]:35079) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKDIB-0002nl-5O for 25246@debbugs.gnu.org; Thu, 22 Dec 2016 19:00:59 -0500 Original-Received: by mail-it0-f42.google.com with SMTP id c20so133508201itb.0 for <25246@debbugs.gnu.org>; Thu, 22 Dec 2016 16:00:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=TKSebyCXqagI7UreMrExj8fq1vuJaPaYgidgd/B25xY=; b=SBbN4EnfVcjDCbel9PLS1s6J22TBYNxCj/ydlOrL12Tl8NpLqZeVex2HklMRfAeSVt w8E61QVBtjD+nPogzgLtyn4+v1127iBRhMCT81fV/VgpfWKUHtTdNRy1RKgA7pPaGnK7 k7w0zjkKb0Jx0VjezUpvE0FE/jt7djoQtTeaPudgurgAEwNMIzxVt1ii5CYVBctfuMQh EcOd1ItP1ss7oh/03s/ru7iD+XcXyz0aBHVGqzHg8UKdVd9M790lqG5QM730uT+nMhsi nWaAipf52gIY6KDoxgqj3Bc0JNWLD8gd420AL0ZmMgcfiaGD522r5zOm2gzsHBpEa2aK ieMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=TKSebyCXqagI7UreMrExj8fq1vuJaPaYgidgd/B25xY=; b=OePHhz/IICi17v0WG74WC94/4O22m4EWdV2UwbLdVqoGaRGF1jOeZR9MQEMAUsPthw ThL5Gh9GOce9Pf3wQalVn30lhz8G7uLODjSStXGA8ng8MGRnmbdUfeNRGGSUR9snjuon AexuDGxQG4VRVm0t/PNH1m3I+7PVVW54Qsls/pJDrEkn35mneRcoARQX/0gsr05XUAQO r6oP0sgEqfLNn+ZCxfh5qTHSvPknrqAk7aPikMQKPyiXxoAsM6FxMgnKZR+cIGPoMvw6 X4RXGSZyfNJ+9yRt6LbB5D1wDuGcDKTVarkmJXUR8itXmNNt/4UcjbmZvkoqUSA7fbWD jwmA== X-Gm-Message-State: AIkVDXLHuzJauOx0dbyUMlDyT+ERskxwcdAju9JRxxZ5SCIP67zD62u8jMGv1SAFzciEsA== X-Received: by 10.36.74.67 with SMTP id k64mr2250695itb.37.1482451253187; Thu, 22 Dec 2016 16:00:53 -0800 (PST) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id p20sm14089447itc.2.2016.12.22.16.00.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Dec 2016 16:00:52 -0800 (PST) In-Reply-To: <83bmw328uy.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 22 Dec 2016 19:04:37 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:127344 Archived-At: --=-=-= Content-Type: text/plain Eli Zaretskii writes: > > It should be enough to provide some text to serve as buffer contents, > and a Lisp function to put the overlay on that text, such that Emacs > stops responding. I think the OP already provided those. Here's some elisp code to reproduce the problem based on the description (some adjustment may be needed depending on display width): --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline; filename=bug-25246.el Content-Transfer-Encoding: quoted-printable Content-Description: bug demo (defun xx () (interactive) (let ((text (propertize (concat (format "Already done %d test (%d positive, %d negative, %d= undecided).\n" 0 0 0 0)) 'face 'highlight)) (ov (make-overlay (point-min) (point-min) nil 'front-advance))) (overlay-put ov 'after-string text) (goto-char (point-max)) (move-overlay ov (point-at-bol) (point-at-eol)))) (defun test-xx () (interactive) (split-window-right) (with-current-buffer (get-buffer-create "*xx*") (setq truncate-lines t) (insert "\ xxxx xxxxxx xxxxxx `xxxxxxxx_xxxxx_xxxx.xxx'. ./../../xxxxx/xxxxxx xxxxxxxxxxxxx.xxx xxxxxxx.xxx xxxxxxx.xxx xxxxxxxxx.xx= x xxxxx.xxx xxxxxxxxxxxx.xxx xxxxxxxxx.xxx xxxxxxxxxx.xxx xxx_xxxx.xxx xxxx= xxxxx.xxx xxxxxxxxxx.xxx xxxxxxxxxx.xxxxxxxxxxxxx.xxxxxxxxxxxxx.xxxxxxxxxxx= xx.xxxxxxxxxxxx") (xx) (pop-to-buffer (current-buffer)))) --=-=-=--