From unknown Thu Jun 19 16:20:22 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#25246 <25246@debbugs.gnu.org> To: bug#25246 <25246@debbugs.gnu.org> Subject: Status: 25.1.90; Buffer not responsible with overlay at buffer end. Reply-To: bug#25246 <25246@debbugs.gnu.org> Date: Thu, 19 Jun 2025 23:20:22 +0000 retitle 25246 25.1.90; Buffer not responsible with overlay at buffer end. reassign 25246 emacs submitter 25246 "Stefan-W. Hahn" severity 25246 normal tag 25246 confirmed thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 22 04:13:32 2016 Received: (at submit) by debbugs.gnu.org; 22 Dec 2016 09:13:32 +0000 Received: from localhost ([127.0.0.1]:50897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cJzRE-0002jj-1q for submit@debbugs.gnu.org; Thu, 22 Dec 2016 04:13:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56831) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cJzRC-0002jW-FS for submit@debbugs.gnu.org; Thu, 22 Dec 2016 04:13:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJzR5-000394-HT for submit@debbugs.gnu.org; Thu, 22 Dec 2016 04:13:17 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_50,RCVD_IN_SORBS_SPAM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50239) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cJzR5-00038q-E1 for submit@debbugs.gnu.org; Thu, 22 Dec 2016 04:13:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJzR3-0007le-Ct for bug-gnu-emacs@gnu.org; Thu, 22 Dec 2016 04:13:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJzR0-00032r-0P for bug-gnu-emacs@gnu.org; Thu, 22 Dec 2016 04:13:13 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:61497) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cJzQz-0002zN-MN for bug-gnu-emacs@gnu.org; Thu, 22 Dec 2016 04:13:09 -0500 Received: from seven.home ([92.192.119.131]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.167]) with ESMTPSA (Nemesis) id 0LpzzH-1couk10FYV-00ffRE for ; Thu, 22 Dec 2016 10:13:06 +0100 Received: from seven.home (localhost [127.0.0.1]) by seven.home (8.15.2/8.15.2/Debian-3) with ESMTPS id uBM9D58x008592 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 22 Dec 2016 10:13:05 +0100 Received: (from hs@localhost) by seven.home (8.15.2/8.15.2/Submit) id uBM9D5Ma008583 for bug-gnu-emacs@gnu.org; Thu, 22 Dec 2016 10:13:05 +0100 X-Authentication-Warning: seven.home: hs set sender to stefan.hahn@s-hahn.de using -f Date: Thu, 22 Dec 2016 10:13:05 +0100 From: "Stefan-W. Hahn" To: bug-gnu-emacs@gnu.org Subject: 25.1.90; Buffer not responsible with overlay at buffer end. Message-ID: <20161222091305.GC5148@seven> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Organization: -no organization- X-Mailer: Mutt http://www.mutt.org/ X-Editor: GNU Emacs http://www.gnu.org/ X-Accept-Language: de en X-Location: Europe X-GPG-Public-Key: gpg --keyserver pool.sks-keyservers.net --recv-keys 7A948D9CB5F0706D X-GPG-Fingerprint: 0x7A948D9CB5F0706D / 270E F64C 748A E880 9CB7 3D9B 7A94 8D9C B5F0 706D User-Agent: Mutt/1.5.24 (2015-08-30) X-Virus-Scanned: clamav-milter 0.99.2 at seven X-Virus-Status: Clean X-Provags-ID: V03:K0:MwOoYPHgHgQ0HPROuTuGZuab7qNP0F5CbTSIaQeMkETqg+PefcT hJLLChm1VRVRJezMR0Bxnr2MdMBK0JcuCKiO9EcuU52o814+DfVg/IYqwPTFDGUNNHiDzBl 7hVkfaduOpxJWGeJGtxzGRm/xBBAtA+cpoC7kfC5wsrF9igwFHDRFJWoS7Hqd3WxWYv+f73 r9yi8VI+vjUPgHInV+uBg== X-UI-Out-Filterresults: notjunk:1;V01:K0:9kFoIFPlSp4=:14gwJQlgXkaEVvDd6CSHXA L5yAJaV8EXjLqXXnM84iO7ddaSbSK6MTXMP5SV0mmlAKZQL5CukksATYxyJQ4YPTbb9W7gnfY 0mUq+vXYji6gx1R5+Mcdc4QZo+0lKmIph5tvS2lUutmTa8jDT1yMBhJx3Q5dagIu/max410tx nDJSpaDMt8YRF5tCv/PFkqGsdFjDHssqZx0BUTwqKMUIq9UmB/fpZ9Rs27BaHu0D/7WvnIyuF BnUQCdb3J4Xk+i0L+exUau46Y8NhKjQ5Pp+Ri7p36FzeQgXWLx9tPQxgOIpyt0b4sU2pK00cs sY3ele3lCvT88Kp2fYMXTd8l8qkSFJa89g4laLAK09vMSIw8TGKXGXXm8bJUeDDRMe4FRH8Jl aeE0zMHZGgmJ1YPnESItt2NmVMg/4+ZzcL7D+EYzlUkrGTwsK0lTXp7KaAWz0viyoLvOL+dL3 52o4J/shNOv0cVPEdX5e6oNMuOQnBYmJzV5QGlbtwfpDsv3nniqM8B4sgX0PRsmZAE1jecwNA SG97yZrX5V/xBduYSU7YM2knp0i1MtNdAiuyFZ10bbUVlePkFp4j+njDmxQyO71MKH6GatRwK 4+pXZHLaYURxvXFU5VrHCYmblWsczpwtlqqItFLLmw/aCbyUzd2uuUz6gOkSVg0qwO8jXFqxr Y8UlTpHsTEVMCfmfEi6a+1dw0R/s82r9ZfVKLW0c5aP7rsSK3Q183MMNZTdw6y/SPwtQ= 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: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) Hello, running following emacs version origin/emacs-25 emacs-25 cf1f9852d0e8d571dfe74486c26417828faa945a Author: Noam Postavsky AuthorDate: Tue Dec 20 21:43:46 2016 -0500 I have the following problem: For showing some information in compile buffer I have a function which uses the hooks compilation-start-hook and compilation-filter-hook to scan the compile buffer while compiling and adding an overlay together with information of the compilation at the end of the compile buffer. The compile buffer has truncate-lines t And the function to add the overlay is like: (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)))) Together with an content of a buffer like: --- snipp xxxx xxxxxx xxxxxx `xxxxxxxx_xxxxx_xxxx.xxx'. ./../../xxxxx/xxxxxx xxxxxxxxxxxxx.xxx xxxxxxx.xxx xxxxxxx.xxx xxxxxxxxx.xxx xxxxx.xxx xxxxxxxxxxxx.xxx xxxxxxxxx.xxx xxxxxxxxxx.xxx xxx_xxxx.xxx xxxxxxxxx.xxx xxxxxxxxxx.xxx xxxxxxxxxx.xxxxxxxxxxxxx.xxxxxxxxxxxxx.xxxxxxxxxxxxx.xxxxxxxxxxxx --- snipp The last line is longer then the screen width, so truncated. If running the above defined funtion xx in this buffer (with emacs -Q), the buffer is not responsible any more afterwards. If truncate-lines is nil, it works. The problem happens on Windows 7 and Linux both in 64-bit compiled emacs version. On Windows I tested this back till commit d35d398bdbeb393f3ebf17918d82c7573562f01e Author: John Wiegley Date: Tue Aug 2 16:55:16 2016 -0700 Running the above on Linux 64 Bit with commit a3487a8 from Dec 2 and emacs -Q, attaching gdb to the not responding process gets following backtrace: --- snipp 0x00000000005caedc in Fassq (key=key@entry=12192, list=, list@entry=45444787) at fns.c:1437 1437 QUIT; (gdb) backtrace #0 0x00000000005caedc in Fassq (key=key@entry=12192, list=, list@entry=45444787) at fns.c:1437 #1 0x0000000000424717 in store_in_alist (val=0, prop=12192, alistptr=) at frame.c:2342 #2 Fframe_parameters (frame=frame@entry=19550117) at frame.c:2573 #3 0x0000000000425287 in Fframe_parameter (frame=, parameter=parameter@entry=46176) at frame.c:2641 #4 0x0000000000459e56 in x_consider_frame_title (frame=19550117) at xdisp.c:11697 #5 0x0000000000478de5 in redisplay_window (window=19557973, just_this_one_p=just_this_one_p@entry=true) at xdisp.c:17142 #6 0x000000000047c90e in redisplay_window_1 (window=window@entry=19557973) at xdisp.c:14495 #7 0x00000000005c1769 in internal_condition_case_1 (bfun=bfun@entry=0x47c8e0 , arg=19557973, handlers=, hfun=hfun@entry=0x4317c0 ) at eval.c:1338 #8 0x000000000046709e in redisplay_internal () at xdisp.c:14120 #9 0x0000000000469ff5 in redisplay () at xdisp.c:13255 #10 0x0000000000536021 in read_char (commandflag=1, map=map@entry=18151331, prev_event=0, used_mouse_menu=used_mouse_menu@entry=0x7fff2925f61b, end_time=end_time@entry=0x0) at keyboard.c:2482 #11 0x0000000000538b16 in read_key_sequence (keybuf=keybuf@entry=0x7fff2925f770, prompt=prompt@entry=0, dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=false, bufsize=30) at keyboard.c:9068 #12 0x000000000053a876 in command_loop_1 () at keyboard.c:1370 #13 0x00000000005c1601 in internal_condition_case (bfun=bfun@entry=0x53a670 , handlers=handlers@entry=19104, hfun=hfun@entry=0x52d150 ) at eval.c:1314 #14 0x0000000000529a9c in command_loop_2 (ignore=ignore@entry=0) at keyboard.c:1112 #15 0x00000000005c14ec in internal_catch (tag=tag@entry=46320, func=func@entry=0x529a80 , arg=arg@entry=0) at eval.c:1079 #16 0x0000000000529a59 in command_loop () at keyboard.c:1091 #17 0x000000000052ec04 in recursive_edit_1 () at keyboard.c:697 #18 Frecursive_edit () at keyboard.c:768 #19 0x0000000000414b60 in main (argc=2, argv=0x7fff2925fb38) at emacs.c:1629 --- snipp Following information is from emacs running on Windows 7: In GNU Emacs 25.1.90.2 (x86_64-w64-mingw32) of 2016-12-22 built on MD12GA7C Repository revision: cf1f9852d0e8d571dfe74486c26417828faa945a Windowing system distributor 'Microsoft Corp.', version 6.1.7601 Configured using: 'configure --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --with-wide-int --with-jpeg --with-xpm --with-png --with-tiff --with-rsvg --with-xml2 --with-gnutls --with-xft --without-imagemagick 'CFLAGS=-static -g3 -O3' GIT_VERSION=emacs-24.5-rc3-fixed-8567-gcf1f985' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: en_GB.iso-8859-1 locale-coding-system: cp1252 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 16 91337 6635) (symbols 56 20392 0) (miscs 48 47 148) (strings 32 17043 4347) (string-bytes 1 446534) (vectors 16 11864) (vector-slots 8 431279 5382) (floats 8 159 77) (intervals 56 255 13) (buffers 976 22)) If more information is needed please tell me. If my code to have an overlay at the end of compile buffer is wrong please tell me too. With kind regards, Stefan -- Stefan-W. Hahn It is easy to make things. It is hard to make things simple. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 22 08:54:56 2016 Received: (at control) by debbugs.gnu.org; 22 Dec 2016 13:54:56 +0000 Received: from localhost ([127.0.0.1]:51002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cK3pY-00034s-Lp for submit@debbugs.gnu.org; Thu, 22 Dec 2016 08:54:55 -0500 Received: from mail-io0-f171.google.com ([209.85.223.171]:35141) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cK3pW-00034a-Ae; Thu, 22 Dec 2016 08:54:46 -0500 Received: by mail-io0-f171.google.com with SMTP id 15so48451570iom.2; Thu, 22 Dec 2016 05:54:46 -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=waJQ1Ohr3dPELHiFz3PQqTu/SnmyMofH6AryW5/X45M=; b=N6tK6ipoSetGECtcRsGF40UmFNE2FHScvafVZyxPJ5Kd56+q8QdcR4K4Lfati5aArQ qQjT99OFGnxGONq4QtJCzKwc06gpXUBNNtFx4QHXrZ7z/TDBX3tVhGXsLZZwel3xBR1d Jqf/GVmoFKQTD2MtUqM5OE53ercPaN2Fk9duqLEMolGjqR7XWExs3ITvBrBL2laiEnq7 ffTuBQRpcLFo7TJmpJiEgMlMYLWMcny5YezWTgeVi0G5VBLugOFiTXoRtm2ScwmtqSSe Q+StJOZomNBM0W+oqnJi+SFDwV5TCNNmLrMiGnNr3DOWKz+bjPq+k+TUVf3c/3SV97lT UPXA== 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=waJQ1Ohr3dPELHiFz3PQqTu/SnmyMofH6AryW5/X45M=; b=GlWYwfKgtr8jP4pjumzUQSCy825U3ajuHidxzY4RuwGNklStJgh7LzaF9zbl4LcigU Z0/rHjr5Nv4hwGfYkoQfc4GlxE13r3J2tvT+sZc6Szlbb4594M65WAj83NUSIxPrwHdU niA9AsnhmXnmvWU1mnz2ja/RKW2SihAGdHoGBVL8pMf3l0L/cMbyFRHycDI88odZqW5R lb3SS/dG919A2ejcld7CKyg3dcRX9A57oEcba0Pq5Pcbi6kwSFXBrU2FNhynDf9cJ2ec IudFffgWZY66tVv40WnZftVxXWA4E7M8jvy9dp4TxzM+NoBhn8quvXVsvOI9SklxIFKW yD5g== X-Gm-Message-State: AIkVDXIKkZG6aNEEclQp42OaxU0ZJhFSf0M3OTk3vEh7HGxJzoi7SXKSDXeon51GJjmoGA== X-Received: by 10.107.21.2 with SMTP id 2mr9310316iov.179.1482414880623; Thu, 22 Dec 2016 05:54:40 -0800 (PST) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id b196sm13986487ioe.16.2016.12.22.05.54.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Dec 2016 05:54:39 -0800 (PST) From: npostavs@users.sourceforge.net To: "Stefan-W. Hahn" Subject: Re: bug#25246: 25.1.90; Buffer not responsible with overlay at buffer end. References: <20161222091305.GC5148@seven> Date: Thu, 22 Dec 2016 08:55:41 -0500 In-Reply-To: <20161222091305.GC5148@seven> (Stefan-W. Hahn's message of "Thu, 22 Dec 2016 10:13:05 +0100") Message-ID: <87zijo9ig2.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control Cc: 25246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) tags 25246 confirmed quit "Stefan-W. Hahn" writes: > > I have the following problem: > > For showing some information in compile buffer I have a function which > uses the hooks compilation-start-hook and compilation-filter-hook to > scan the compile buffer while compiling and adding an overlay together > with information of the compilation at the end of the compile buffer. > > The compile buffer has > truncate-lines t > > And the function to add the overlay is like: > > (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)))) > > Together with an content of a buffer like: > > --- snipp > xxxx xxxxxx xxxxxx `xxxxxxxx_xxxxx_xxxx.xxx'. > ./../../xxxxx/xxxxxx xxxxxxxxxxxxx.xxx xxxxxxx.xxx xxxxxxx.xxx xxxxxxxxx.xxx xxxxx.xxx xxxxxxxxxxxx.xxx xxxxxxxxx.xxx xxxxxxxxxx.xxx xxx_xxxx.xxx xxxxxxxxx.xxx xxxxxxxxxx.xxx xxxxxxxxxx.xxxxxxxxxxxxx.xxxxxxxxxxxxx.xxxxxxxxxxxxx.xxxxxxxxxxxx > --- snipp > > The last line is longer then the screen width, so truncated. > > If running the above defined funtion xx in this buffer (with emacs -Q), the > buffer is not responsible any more afterwards. > > If truncate-lines is nil, it works. I think this is a similar case to #24633 "highlight-region func using (window-hscroll) in :align-to spec can cause inf loop". If you try your recipe in the master branch, Emacs won't freeze, although the overlay you put blinks in and out of visibility on every redisplay (trigged by cursor blinking). From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 22 12:05:34 2016 Received: (at 25246) by debbugs.gnu.org; 22 Dec 2016 17:05:34 +0000 Received: from localhost ([127.0.0.1]:51764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cK6o2-0001M9-Mg for submit@debbugs.gnu.org; Thu, 22 Dec 2016 12:05:34 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cK6o1-0001Lv-AW for 25246@debbugs.gnu.org; Thu, 22 Dec 2016 12:05:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cK6nr-0007AK-2D for 25246@debbugs.gnu.org; Thu, 22 Dec 2016 12:05:20 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cK6nq-0007AC-Ud; Thu, 22 Dec 2016 12:05:14 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1095 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cK6no-0002l1-F4; Thu, 22 Dec 2016 12:05:14 -0500 Date: Thu, 22 Dec 2016 19:04:37 +0200 Message-Id: <83bmw328uy.fsf@gnu.org> From: Eli Zaretskii To: "Stefan-W. Hahn" In-reply-to: <20161222091305.GC5148@seven> (stefan.hahn@s-hahn.de) Subject: Re: bug#25246: 25.1.90; Buffer not responsible with overlay at buffer end. References: <20161222091305.GC5148@seven> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.6 (-------) X-Debbugs-Envelope-To: 25246 Cc: 25246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) > Date: Thu, 22 Dec 2016 10:13:05 +0100 > From: "Stefan-W. Hahn" > > For showing some information in compile buffer I have a function which > uses the hooks compilation-start-hook and compilation-filter-hook to > scan the compile buffer while compiling and adding an overlay together > with information of the compilation at the end of the compile buffer. > > The compile buffer has > truncate-lines t > > And the function to add the overlay is like: > > (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)))) > > Together with an content of a buffer like: > > --- snipp > xxxx xxxxxx xxxxxx `xxxxxxxx_xxxxx_xxxx.xxx'. > ./../../xxxxx/xxxxxx xxxxxxxxxxxxx.xxx xxxxxxx.xxx xxxxxxx.xxx xxxxxxxxx.xxx xxxxx.xxx xxxxxxxxxxxx.xxx xxxxxxxxx.xxx xxxxxxxxxx.xxx xxx_xxxx.xxx xxxxxxxxx.xxx xxxxxxxxxx.xxx xxxxxxxxxx.xxxxxxxxxxxxx.xxxxxxxxxxxxx.xxxxxxxxxxxxx.xxxxxxxxxxxx > --- snipp > > The last line is longer then the screen width, so truncated. > > If running the above defined funtion xx in this buffer (with emacs -Q), the > buffer is not responsible any more afterwards. > > If truncate-lines is nil, it works. Could you please show a complete recipe, starting from "emacs -Q"? I'm afraid I don't understand from your description how to reproduce the problem, in order to debug it. 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. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 22 19:01:01 2016 Received: (at 25246) by debbugs.gnu.org; 23 Dec 2016 00:01:01 +0000 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 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 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) 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) From: npostavs@users.sourceforge.net To: Eli Zaretskii Subject: Re: bug#25246: 25.1.90; Buffer not responsible with overlay at buffer end. References: <20161222091305.GC5148@seven> <83bmw328uy.fsf@gnu.org> Date: Thu, 22 Dec 2016 19:01:56 -0500 In-Reply-To: <83bmw328uy.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 22 Dec 2016 19:04:37 +0200") Message-ID: <87wpera4y3.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 25246 Cc: "Stefan-W. Hahn" , 25246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --=-=-= 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)))) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 23 02:33:39 2016 Received: (at 25246) by debbugs.gnu.org; 23 Dec 2016 07:33:39 +0000 Received: from localhost ([127.0.0.1]:52029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKKME-000566-QY for submit@debbugs.gnu.org; Fri, 23 Dec 2016 02:33:38 -0500 Received: from mout.kundenserver.de ([212.227.126.187]:53335) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKKMD-00055t-4S for 25246@debbugs.gnu.org; Fri, 23 Dec 2016 02:33:38 -0500 Received: from seven.home ([92.193.87.157]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MZsuU-1bzv9P3oAo-00LY0M; Fri, 23 Dec 2016 08:33:18 +0100 Received: from seven.home (localhost [127.0.0.1]) by seven.home (8.15.2/8.15.2/Debian-3) with ESMTPS id uBN7XGpD021502 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Dec 2016 08:33:16 +0100 Received: (from hs@localhost) by seven.home (8.15.2/8.15.2/Submit) id uBN7XFgo021501; Fri, 23 Dec 2016 08:33:15 +0100 X-Authentication-Warning: seven.home: hs set sender to stefan.hahn@s-hahn.de using -f Date: Fri, 23 Dec 2016 08:33:15 +0100 From: "Stefan-W. Hahn" To: npostavs@users.sourceforge.net Subject: Re: bug#25246: 25.1.90; Buffer not responsible with overlay at buffer end. Message-ID: <20161223073315.GD5148@seven> References: <20161222091305.GC5148@seven> <83bmw328uy.fsf@gnu.org> <87wpera4y3.fsf@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87wpera4y3.fsf@users.sourceforge.net> Organization: -no organization- X-Mailer: Mutt http://www.mutt.org/ X-Editor: GNU Emacs http://www.gnu.org/ X-Accept-Language: de en X-Location: Europe X-GPG-Public-Key: gpg --keyserver pool.sks-keyservers.net --recv-keys 7A948D9CB5F0706D X-GPG-Fingerprint: 0x7A948D9CB5F0706D / 270E F64C 748A E880 9CB7 3D9B 7A94 8D9C B5F0 706D User-Agent: Mutt/1.5.24 (2015-08-30) X-Virus-Scanned: clamav-milter 0.99.2 at seven X-Virus-Status: Clean X-Provags-ID: V03:K0:Y++bbvo0X7dDRajfAK15oXQ6jDYXyeFBEbeB3zATWrPCJoSzFhg NlO97FW59Xl8zmaGhlY78SF8Xdr2kY+YSTmHJxJdas8Brh0Ak2MxOVGZdo1Df5wf8DX8xyp I8G20MpQe8L37Y6IXxIQT/NGpRiFPGWCGO1rQmI+Q7OuFJh5raVI0JgmnAeljmn4jk1npu3 SLzcUNc2RWe7Gx0GpDDJg== X-UI-Out-Filterresults: notjunk:1;V01:K0:JUN6TMIEuIQ=:gYmKDwKjVZVpjB6vAtvsoE T36F19V6PYtQiHix9zZ5qYu/oj9qH4XPTBS0fmLdt4WvrvMMvSUUkF8M1as28JbQjuyXFqCpG xXg7C5wr4RwKUTPJw+aQtmD+jVdBY1kJxBrgBt0g6HUrceDqJZDxQj4nV8lvm3BlpelXGQaza LwlYtuEf9Nwq0S2Orm4M6CXQeLC7oKjkqKQwxtPiD1qg7+SfRnHJOkdjAk1bQNXSOP8D/8GpX 509ilEgbGbmcUu6cHkQWR1QTLfYBHEvtpvGMkBB7Xch6Dsct/6FzdQxVEmV5GJFTh13A6uIgw +2ktLYIhETimIGiSuq6DluttcmXU47ZCVu2ratwHNRDpcLPdCU6yNtNpufzhW2V2iUhzjl9T4 5hS+jW/6I32lbgtDyGf/Iix/mKZbBHQWF5seCF0pfmSICgwnoCLHmdXHodVqaExkgdNfAW9iX 9JEpHGtVAu7VtgDuo2kYcj0hjvrJbPm11ZRhUr1N6WP/YZFj0tQbBPctaKOhfkJJudSq12l36 Z55AzaiUI90VAsVffY2oXdAdlYMJCxLisTPuwBVIImQFuAYC7usKWlAlZK4A+2NQn3r5nYo1F f89yHgoa1mToPHAImuznhRFyM9w/Qiz1AzOEsCDBx8jNPRGZ35XBjakhgk1qGcz8v7JTfPVoz LUuv7K6OX/lJzeqYugz95TFy7uFW4ZJaYxiJO310Fdvk15xxc/n21MK8JGlb3C35yC8E= X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 25246 Cc: Eli Zaretskii , 25246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) Mail von npostavs@users.sourceforge.net, Thu, 22 Dec 2016 at 19:01:56 -0500: Hello, > > 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): thanks for the programatically recipe. I will do it better next time. And yes this shows the bad behaviour. Also I can confirm that with version from master branch, namely @ origin/master origin/HEAD a978d300a3faf58ee6e94ba57f764ca99a9ec308 Author: Mark Oteiza AuthorDate: Thu Dec 22 19:09:01 2016 -0500 the problem has gone on both systems, Linux and Windows. (Little odd ting is the blinking of the overlay, but it's ok.) With kind regards, Stefan -- Stefan-W. Hahn It is easy to make things. It is hard to make things simple. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 23 04:21:34 2016 Received: (at 25246) by debbugs.gnu.org; 23 Dec 2016 09:21:35 +0000 Received: from localhost ([127.0.0.1]:52054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKM2g-0007YN-Mb for submit@debbugs.gnu.org; Fri, 23 Dec 2016 04:21:34 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33983) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKM2e-0007YA-W6 for 25246@debbugs.gnu.org; Fri, 23 Dec 2016 04:21:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKM2V-0000Mz-If for 25246@debbugs.gnu.org; Fri, 23 Dec 2016 04:21:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKM2V-0000Mu-GJ; Fri, 23 Dec 2016 04:21:23 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1780 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cKM2U-000645-HW; Fri, 23 Dec 2016 04:21:23 -0500 Date: Fri, 23 Dec 2016 11:21:00 +0200 Message-Id: <83tw9vypab.fsf@gnu.org> From: Eli Zaretskii To: "Stefan-W. Hahn" In-reply-to: <20161223073315.GD5148@seven> (stefan.hahn@s-hahn.de) Subject: Re: bug#25246: 25.1.90; Buffer not responsible with overlay at buffer end. References: <20161222091305.GC5148@seven> <83bmw328uy.fsf@gnu.org> <87wpera4y3.fsf@users.sourceforge.net> <20161223073315.GD5148@seven> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.1 (--------) X-Debbugs-Envelope-To: 25246 Cc: 25246@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.1 (--------) > Date: Fri, 23 Dec 2016 08:33:15 +0100 > From: "Stefan-W. Hahn" > Cc: Eli Zaretskii , 25246@debbugs.gnu.org > > > > 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): > > thanks for the programatically recipe. I will do it better next time. It sounds like you provided that in your original report, but I didn't understand it. Sorry about that. > Also I can confirm that with version from master branch, namely > > @ origin/master origin/HEAD a978d300a3faf58ee6e94ba57f764ca99a9ec308 > Author: Mark Oteiza > AuthorDate: Thu Dec 22 19:09:01 2016 -0500 > > the problem has gone on both systems, Linux and Windows. > > (Little odd ting is the blinking of the overlay, but it's ok.) No, the problem is not gone in the master branch. It's just that master has a safety device, whereby we stop the infinite loop after a few iterations. Those iterations is that "blinking" you see. I will look into this soon. One thing I already saw: this is a very old problem, I see it in Emacs 22.1. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 23 06:09:41 2016 Received: (at 25246) by debbugs.gnu.org; 23 Dec 2016 11:09:41 +0000 Received: from localhost ([127.0.0.1]:52095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKNjJ-0001f6-2Q for submit@debbugs.gnu.org; Fri, 23 Dec 2016 06:09:41 -0500 Received: from eggs.gnu.org ([208.118.235.92]:51496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKNjH-0001eu-Tf for 25246@debbugs.gnu.org; Fri, 23 Dec 2016 06:09:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKNj9-0000Bo-CH for 25246@debbugs.gnu.org; Fri, 23 Dec 2016 06:09:34 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51875) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKNiy-00006a-CU; Fri, 23 Dec 2016 06:09:20 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1964 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cKNix-0007dK-Kj; Fri, 23 Dec 2016 06:09:20 -0500 Date: Fri, 23 Dec 2016 13:08:57 +0200 Message-Id: <83r34yzyuu.fsf@gnu.org> From: Eli Zaretskii To: stefan.hahn@s-hahn.de In-reply-to: <83tw9vypab.fsf@gnu.org> (message from Eli Zaretskii on Fri, 23 Dec 2016 11:21:00 +0200) Subject: Re: bug#25246: 25.1.90; Buffer not responsible with overlay at buffer end. References: <20161222091305.GC5148@seven> <83bmw328uy.fsf@gnu.org> <87wpera4y3.fsf@users.sourceforge.net> <20161223073315.GD5148@seven> <83tw9vypab.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.1 (--------) X-Debbugs-Envelope-To: 25246 Cc: 25246@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.1 (--------) > Date: Fri, 23 Dec 2016 11:21:00 +0200 > From: Eli Zaretskii > Cc: 25246@debbugs.gnu.org, npostavs@users.sourceforge.net > > I will look into this soon. One thing I already saw: this is a very > old problem, I see it in Emacs 22.1. If the change below, when applied to the master branch, gives good results, I will install it. The results as I see after this change are not ideal (you cannot see the entire overlay string, unless you manually hscroll the window with "C-x >", and the cursor at EOB is not visible). But at least the loop is avoided, AFAICT, and there's only one "blink" of incorrect display. Is this satisfactory enough to install this simple change? Thanks. diff --git a/src/xdisp.c b/src/xdisp.c index ad0b968..37ca81d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -13049,6 +13049,17 @@ hscroll_window_tree (Lisp_Object window) init_to_row_start (&it, w, cursor_row); it.last_visible_x = INFINITY; move_it_in_display_line_to (&it, pt, -1, MOVE_TO_POS); + /* If the line ends in an overlay string with a newline, + we might infloop, because displaying the window will + want to put the cursor after the overlay, i.e. at X + coordinate of zero on the next screen line. So we + use the buffer position prior to the overlay string + instead. */ + if (it.method == GET_FROM_STRING && pt > 1) + { + init_to_row_start (&it, w, cursor_row); + move_it_in_display_line_to (&it, pt - 1, -1, MOVE_TO_POS); + } current_buffer = saved_current_buffer; /* Position cursor in window. */ From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 23 08:37:11 2016 Received: (at 25246) by debbugs.gnu.org; 23 Dec 2016 13:37:11 +0000 Received: from localhost ([127.0.0.1]:52130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKQ23-0006wf-Md for submit@debbugs.gnu.org; Fri, 23 Dec 2016 08:37:11 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:63252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKQ21-0006wS-RK for 25246@debbugs.gnu.org; Fri, 23 Dec 2016 08:37:10 -0500 Received: from seven.home ([92.193.87.157]) by mrelayeu.kundenserver.de (mreue001 [212.227.15.167]) with ESMTPSA (Nemesis) id 0Lf3PM-1cvvcu3e92-00omdl; Fri, 23 Dec 2016 14:36:49 +0100 Received: from seven.home (localhost [127.0.0.1]) by seven.home (8.15.2/8.15.2/Debian-3) with ESMTPS id uBNDalRi002198 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Dec 2016 14:36:47 +0100 Received: (from hs@localhost) by seven.home (8.15.2/8.15.2/Submit) id uBNDalSn002197; Fri, 23 Dec 2016 14:36:47 +0100 X-Authentication-Warning: seven.home: hs set sender to stefan.hahn@s-hahn.de using -f Date: Fri, 23 Dec 2016 14:36:47 +0100 From: "Stefan-W. Hahn" To: Eli Zaretskii Subject: Re: bug#25246: 25.1.90; Buffer not responsible with overlay at buffer end. Message-ID: <20161223133647.GE5148@seven> References: <20161222091305.GC5148@seven> <83bmw328uy.fsf@gnu.org> <87wpera4y3.fsf@users.sourceforge.net> <20161223073315.GD5148@seven> <83tw9vypab.fsf@gnu.org> <83r34yzyuu.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <83r34yzyuu.fsf@gnu.org> Organization: -no organization- X-Mailer: Mutt http://www.mutt.org/ X-Editor: GNU Emacs http://www.gnu.org/ X-Accept-Language: de en X-Location: Europe X-GPG-Public-Key: gpg --keyserver pool.sks-keyservers.net --recv-keys 7A948D9CB5F0706D X-GPG-Fingerprint: 0x7A948D9CB5F0706D / 270E F64C 748A E880 9CB7 3D9B 7A94 8D9C B5F0 706D User-Agent: Mutt/1.5.24 (2015-08-30) X-Virus-Scanned: clamav-milter 0.99.2 at seven X-Virus-Status: Clean X-Provags-ID: V03:K0:t+qNnLBpejwZM/bEhUIiXFMF+RT9DiTLFG0oGqTnJF3fJ22vyGH Qd8m4pjECIOP11SyCBhs1zK9ppbWRfgfkKt7fkvKDk36Ga71DruT73kEgO6dCvQa2vcqS2H 0ZIWP8IUNazqN/f7ANOSLXnsYSyl6pPdF9N0SQV/5UK13wCisnam7z5DKdZiPBUpqJKfA/5 pa0m6cxGnkdmlx2d/cS3w== X-UI-Out-Filterresults: notjunk:1;V01:K0:/Vn5U2JYEL0=:xCoaj/jlO0TU+XF4KiNR1Q /Ae0YMx3Vq7V7cBK4RzgSdDBIOcSFvCvLMTDhvC9CERSEb0zlwKigaiG3MEr6nsUnGB2dDGvy Pa1TMt3DwKGkJzQNU1w1YxmhDqE1+QJsoeIhPm5KWltMFYtZ8xyPCvTx1I+m7g6061V0RYEUq BtXUbkYaMEwBpILnedCKwVAUVqZaS72rSKlRr6SHd5IVOpyjxCfccKZiNouVlH3hYJZ99jdZk YmKb6YpJKtWjON7tMV8c4WltQFiIAbbgU0ETU7qrYhGhMFUORJbDKSPb718vd0KSgGI3f+rHS WnjzFLdWGPhDJqXLNTwArQKDCsgC2VxAk1sXciuiMs2B3myAXq2QMC0W8IG+ZfhUl1X+3THCK bfB5WCKwWhTIi1aP2+0cmwODXsNO/YwaNjfygBOu7i9Pi30pePbVWdpyh5fvbpO7x+tTJou88 AWuH/bjlwTCGRr06ij6YDOw38oqPxv7ClOWPzhcxbq/nXA6GVgUs6lmiMW7goA1byhar8s8VK RAfbnZHH50d4FEfUKCWV4uepYP/Ih8EtbkD98ehAbWQNTnVv2adij0G9eRWtUDF/2wn8PSTw5 LmlyJeHkc4hNvPyiLOhgswVJ4a9WzmxS1ploScX9I5JQZ8WxmQEE91c25Inj0AbrG37S4JYfp uwjj0m+HEzGFNNWHHUc+HBl2LRcaJGujpmqmnu1RG2le0ZQGdlE1d+7APhn21AvELXq8= X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 25246 Cc: 25246@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) Mail von Eli Zaretskii, Fri, 23 Dec 2016 at 13:08:57 +0200: Hello, > If the change below, when applied to the master branch, gives good > results, I will install it. tried this on Linux and Windows. Works really good. > The results as I see after this change are not ideal (you cannot see > the entire overlay string, unless you manually hscroll the window with > "C-x >", and the cursor at EOB is not visible). But at least the loop That is no problem, because the overlay moves if compilation proceeds and the compilation buffer gets more content. The problem only arises if a single line of output in compilation buffer was bigger then the screen width (and I have truncates-lines set to t) and had no LF. In all other cases there was no problem. I saw this just now,, because our production environment is producing such long lines since not so long time. > is avoided, AFAICT, and there's only one "blink" of incorrect display. > Is this satisfactory enough to install this simple change? As said. It works very well. Thank you. With kind regards, Stefan > > Thanks. > > diff --git a/src/xdisp.c b/src/xdisp.c > index ad0b968..37ca81d 100644 > --- a/src/xdisp.c > +++ b/src/xdisp.c > @@ -13049,6 +13049,17 @@ hscroll_window_tree (Lisp_Object window) > init_to_row_start (&it, w, cursor_row); > it.last_visible_x = INFINITY; > move_it_in_display_line_to (&it, pt, -1, MOVE_TO_POS); > + /* If the line ends in an overlay string with a newline, > + we might infloop, because displaying the window will > + want to put the cursor after the overlay, i.e. at X > + coordinate of zero on the next screen line. So we > + use the buffer position prior to the overlay string > + instead. */ > + if (it.method == GET_FROM_STRING && pt > 1) > + { > + init_to_row_start (&it, w, cursor_row); > + move_it_in_display_line_to (&it, pt - 1, -1, MOVE_TO_POS); > + } > current_buffer = saved_current_buffer; > > /* Position cursor in window. */ > -- Stefan-W. Hahn It is easy to make things. It is hard to make things simple. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 23 08:52:55 2016 Received: (at 25246) by debbugs.gnu.org; 23 Dec 2016 13:52:55 +0000 Received: from localhost ([127.0.0.1]:52144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKQHH-0007KD-HC for submit@debbugs.gnu.org; Fri, 23 Dec 2016 08:52:55 -0500 Received: from mail-it0-f53.google.com ([209.85.214.53]:34385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKQHG-0007Jz-9B for 25246@debbugs.gnu.org; Fri, 23 Dec 2016 08:52:54 -0500 Received: by mail-it0-f53.google.com with SMTP id 75so33123432ite.1 for <25246@debbugs.gnu.org>; Fri, 23 Dec 2016 05:52:54 -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=XUG9DmCJvCtke41dFc0Zx3/khSH3HFCMUHbhFae6GBQ=; b=XZpIymKmtDTpP1ACG8CtoLvvPvSe05Y1jejW8J8Upo5RjJKK5f1tyHUYCG2vLfFN2M BPzb70U4rO5Ta8oShF+qvgzX9GqJ5xcMdv0smMx1M3Fm90LEnedRqBUZdu6dfHFsjmeK Ds9y7HByeqkq+YNXoEG4CDYeVGS31APcR63MFlOTxLjNrqMtbCQXcjDSDBfgQFuWeu8H 8gOoQIOKxVGcbfTKB1A7n3yZ3/MSze5UfkUKxzbo8/Js4w4PjTfgEvj2HNe70qic70jV optLYgOVezas2jZs9fVThIz//Cxdkg7q++VTgteanfYSUo3k6htLzFvSbHM8p/9Mpfss ox8Q== 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=XUG9DmCJvCtke41dFc0Zx3/khSH3HFCMUHbhFae6GBQ=; b=TDgS7VLaEo5TZ5zyyxQtEmLwlMhV6Kxh66ZymMjP62VSfr0fzqRFUg4RDssoGQc9Y3 QN+5TiQKC5ZCauSVQiuigzVDJd9HChs2CWiGpG3sxThK+/7V7oie8GaTGlhcpTMJ5hjR z8ZfsQqzJqwxXCWCGwZoV6oWsY0wE7AVcp6My/iXD0XK4afcO637quCs0QRpdEammfyA LevpIS2KILG7m03Vjw3pJlfsQeltMDuEVdq7d0g/JMxehoXIgvhD8tvc26/tqjW8AEml LCRWiL3YieLgLeSm5vuq0O9j4XcOqhDKWGkM0dFQaa0BdjdoCxYw2hTn9g1V+0Td9l2R UScw== X-Gm-Message-State: AIkVDXJG/fVZASoYZ8t83LO/22lhg+73Chbn0aWVXEefibDP1ChM1grdXhVeaobb/WFkmQ== X-Received: by 10.36.152.68 with SMTP id n65mr16561446itd.93.1482501168572; Fri, 23 Dec 2016 05:52:48 -0800 (PST) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id j143sm12801061ita.1.2016.12.23.05.52.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Dec 2016 05:52:48 -0800 (PST) From: npostavs@users.sourceforge.net To: "Stefan-W. Hahn" Subject: Re: bug#25246: 25.1.90; Buffer not responsible with overlay at buffer end. References: <20161222091305.GC5148@seven> <83bmw328uy.fsf@gnu.org> <87wpera4y3.fsf@users.sourceforge.net> <20161223073315.GD5148@seven> <83tw9vypab.fsf@gnu.org> <83r34yzyuu.fsf@gnu.org> <20161223133647.GE5148@seven> Date: Fri, 23 Dec 2016 08:53:53 -0500 In-Reply-To: <20161223133647.GE5148@seven> (Stefan-W. Hahn's message of "Fri, 23 Dec 2016 14:36:47 +0100") Message-ID: <87r34yagzy.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 25246 Cc: Eli Zaretskii , 25246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) "Stefan-W. Hahn" writes: > > That is no problem, because the overlay moves if compilation proceeds and > the compilation buffer gets more content. By the way, I wonder if your use case might be better served by setting `header-line-format'. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 23 08:57:56 2016 Received: (at 25246) by debbugs.gnu.org; 23 Dec 2016 13:57:56 +0000 Received: from localhost ([127.0.0.1]:52152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKQM8-0007S9-Eh for submit@debbugs.gnu.org; Fri, 23 Dec 2016 08:57:56 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57985) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKQM6-0007Ru-Om for 25246@debbugs.gnu.org; Fri, 23 Dec 2016 08:57:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKQLx-00077L-PS for 25246@debbugs.gnu.org; Fri, 23 Dec 2016 08:57:49 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33427) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKQLl-0006v6-64; Fri, 23 Dec 2016 08:57:33 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2003 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cKQLk-0001oZ-Dz; Fri, 23 Dec 2016 08:57:32 -0500 Date: Fri, 23 Dec 2016 15:57:10 +0200 Message-Id: <83oa02zr2h.fsf@gnu.org> From: Eli Zaretskii To: "Stefan-W. Hahn" In-reply-to: <20161223133647.GE5148@seven> (stefan.hahn@s-hahn.de) Subject: Re: bug#25246: 25.1.90; Buffer not responsible with overlay at buffer end. References: <20161222091305.GC5148@seven> <83bmw328uy.fsf@gnu.org> <87wpera4y3.fsf@users.sourceforge.net> <20161223073315.GD5148@seven> <83tw9vypab.fsf@gnu.org> <83r34yzyuu.fsf@gnu.org> <20161223133647.GE5148@seven> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.1 (--------) X-Debbugs-Envelope-To: 25246 Cc: 25246@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.1 (--------) > Date: Fri, 23 Dec 2016 14:36:47 +0100 > From: "Stefan-W. Hahn" > Cc: 25246@debbugs.gnu.org, npostavs@users.sourceforge.net > > > If the change below, when applied to the master branch, gives good > > results, I will install it. > > tried this on Linux and Windows. Works really good. Thanks for testing. > The problem only arises if a single line of output in compilation buffer was > bigger then the screen width (and I have truncates-lines set to t) and had > no LF. Yes, this is because the after-string ends in a newline, so it causes the cursor to be displayed in a different screen line. > > Is this satisfactory enough to install this simple change? > > As said. It works very well. OK, thanks. Noam, do you agree? From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 23 09:13:06 2016 Received: (at 25246) by debbugs.gnu.org; 23 Dec 2016 14:13:06 +0000 Received: from localhost ([127.0.0.1]:52156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKQan-0007oq-PV for submit@debbugs.gnu.org; Fri, 23 Dec 2016 09:13:05 -0500 Received: from mail-it0-f46.google.com ([209.85.214.46]:34245) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKQam-0007oN-CD for 25246@debbugs.gnu.org; Fri, 23 Dec 2016 09:13:04 -0500 Received: by mail-it0-f46.google.com with SMTP id 75so33208353ite.1 for <25246@debbugs.gnu.org>; Fri, 23 Dec 2016 06:13:04 -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=BXnUuOqI/CpvQKymnHImFxGpkDlu+MKOETMLxhlHGZU=; b=pbOx5J/GQnvX4jrIovUPpCqick3pnlawGxOwoiuJtjFz6NPfmkZI/Hz4BjfdKp9Ctb lh8nzNfj7XKKZYiV9Z8HIljS3usBp9PMcIFOpioFYZhifZQpB3H5yB/2UvhXBgFFNNxO dGMLmbKyMMnPC9eRZaFxxaD65mUZIn5pVGULLdPqY5Xo2n5UbKdMXi25+U22DNGkpbPP urCGBVMV8seW3vX/BoDPpN4UYo+dlvCF5o2FKPK/eLQSYCQPJME69upJuBrZZ2DWSslj HLm5wdl1kkTZDERRhAfg6K5b0Z24NR84mRZXCnbE3jMF1U0q1TqEhNnltsCWH1y0fKgy aJkw== 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=BXnUuOqI/CpvQKymnHImFxGpkDlu+MKOETMLxhlHGZU=; b=BrxFB7NqCUYScHtMj/MfRFRHiofAtN1bxdPM25m40HWtUbPc9JMYgoxDGmRN3HQFr3 rEOHnJErbtvYeT6Ph5biO2xlV/Yv8ldrIPnqSOKPBnzuyozH0aT8BaeMctuzE3gPwXnc klvq0ePIYZ19BuAvbx9mOL5Xe/5M9K8CXHpMhO9LDCzl/I4Nz/wM2vMnb1tb63uFETSA vr6iwx2aHi7jx5+C8bDEY8j+oE8C5bN0gkwLMmOdiXZSaj7m4Y+L3dgqWoJ6THy8vVb+ gJFvwJPEIr0XP/w6mUTmi8jGMGiWGWsJvkJvVXG0yphka+k+GKgZftscZ5/YQWmczJtn iQ0A== X-Gm-Message-State: AIkVDXKdPHfBApY5CrE8vG9xUqu0aAfFXJCulEiJW+wzcqY7aaGy2AEwJhW/HXwKrtbnog== X-Received: by 10.36.51.21 with SMTP id k21mr14674995itk.110.1482502378937; Fri, 23 Dec 2016 06:12:58 -0800 (PST) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id f24sm15950948iod.21.2016.12.23.06.12.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Dec 2016 06:12:58 -0800 (PST) From: npostavs@users.sourceforge.net To: Eli Zaretskii Subject: Re: bug#25246: 25.1.90; Buffer not responsible with overlay at buffer end. References: <20161222091305.GC5148@seven> <83bmw328uy.fsf@gnu.org> <87wpera4y3.fsf@users.sourceforge.net> <20161223073315.GD5148@seven> <83tw9vypab.fsf@gnu.org> <83r34yzyuu.fsf@gnu.org> <20161223133647.GE5148@seven> <83oa02zr2h.fsf@gnu.org> Date: Fri, 23 Dec 2016 09:14:02 -0500 In-Reply-To: <83oa02zr2h.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 23 Dec 2016 15:57:10 +0200") Message-ID: <87oa02ag2d.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 25246 Cc: "Stefan-W. Hahn" , 25246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) Eli Zaretskii writes: >> Date: Fri, 23 Dec 2016 14:36:47 +0100 >> From: "Stefan-W. Hahn" >> Cc: 25246@debbugs.gnu.org, npostavs@users.sourceforge.net >> >> > If the change below, when applied to the master branch, gives good >> > results, I will install it. >> >> tried this on Linux and Windows. Works really good. > > Thanks for testing. > >> The problem only arises if a single line of output in compilation buffer was >> bigger then the screen width (and I have truncates-lines set to t) and had >> no LF. > > Yes, this is because the after-string ends in a newline, so it causes > the cursor to be displayed in a different screen line. > >> > Is this satisfactory enough to install this simple change? >> >> As said. It works very well. > > OK, thanks. Noam, do you agree? Yes, this looks like a clear improvement. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 23 09:16:49 2016 Received: (at 25246) by debbugs.gnu.org; 23 Dec 2016 14:16:49 +0000 Received: from localhost ([127.0.0.1]:52164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKQeP-0007ux-KL for submit@debbugs.gnu.org; Fri, 23 Dec 2016 09:16:49 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:57947) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKQeN-0007uj-Oy for 25246@debbugs.gnu.org; Fri, 23 Dec 2016 09:16:48 -0500 Received: from seven.home ([92.193.87.157]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MJ0M1-1cHxfV3swz-002VXR; Fri, 23 Dec 2016 15:16:25 +0100 Received: from seven.home (localhost [127.0.0.1]) by seven.home (8.15.2/8.15.2/Debian-3) with ESMTPS id uBNEGNcZ005085 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Dec 2016 15:16:23 +0100 Received: (from hs@localhost) by seven.home (8.15.2/8.15.2/Submit) id uBNEGMs1005084; Fri, 23 Dec 2016 15:16:22 +0100 X-Authentication-Warning: seven.home: hs set sender to stefan.hahn@s-hahn.de using -f Date: Fri, 23 Dec 2016 15:16:22 +0100 From: "Stefan-W. Hahn" To: npostavs@users.sourceforge.net Subject: Re: bug#25246: 25.1.90; Buffer not responsible with overlay at buffer end. Message-ID: <20161223141622.GF5148@seven> References: <20161222091305.GC5148@seven> <83bmw328uy.fsf@gnu.org> <87wpera4y3.fsf@users.sourceforge.net> <20161223073315.GD5148@seven> <83tw9vypab.fsf@gnu.org> <83r34yzyuu.fsf@gnu.org> <20161223133647.GE5148@seven> <87r34yagzy.fsf@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87r34yagzy.fsf@users.sourceforge.net> Organization: -no organization- X-Mailer: Mutt http://www.mutt.org/ X-Editor: GNU Emacs http://www.gnu.org/ X-Accept-Language: de en X-Location: Europe X-GPG-Public-Key: gpg --keyserver pool.sks-keyservers.net --recv-keys 7A948D9CB5F0706D X-GPG-Fingerprint: 0x7A948D9CB5F0706D / 270E F64C 748A E880 9CB7 3D9B 7A94 8D9C B5F0 706D User-Agent: Mutt/1.5.24 (2015-08-30) X-Virus-Scanned: clamav-milter 0.99.2 at seven X-Virus-Status: Clean X-Provags-ID: V03:K0:xQ3JF6x/8kOENR0ArOpnnhpfyVRuAo7NOyF+cZ9dcX4qoxmUgW8 EbzB0sKf5HgkwI8QXI8EA4eC+8bJsxbnKaf0sYeAJh4l9s9Af9o3cZkJIGqbGWCy/hrHKK6 JJy5S47VJ1aThpr7x6WVEepeTxwnqMYH1MsYkXZU+43fjuW8Lj6zCeRroZnnyX5RMBPDCrs TKcpxPZUaBp9z+6ijNfZg== X-UI-Out-Filterresults: notjunk:1;V01:K0:kdBdWrVjuWE=:19lRTXut4Glbq+XO8jC2+h mCB1C7qEP0Ps3nEWh7ag3ZHTIhv6qM79ZAhn8nBGumQROjzGC2IZvDRNP0xz+K2GWr9H7z+HU TdMtLN/f4wiXHUZJ2+veEgENwzNZmc0nC7G+FiKfYJIuFJMJwsXsFUiUwAtloXMEVJnrHXgmF R8PRQf4FwTazRC5CpFSeW6D8FNssHM6tsMf7gkweUIdPJY6a7togLghLt1l6bfNG8ocimBsAa dtSFInN5zHPPwjvIva1eH9Z77XTV79WufeT0Ll6hgiQUAHhJQQHve6BUIP8amY7+pTrQ4moYC Vz+XGn3r8sqNy5SejkhIOSa/PkbuB8/SjR/mK3zzPCbfie6B9DC9xByxlM670cm+qiPpRplEy Et+MvLMecKFOPLziW6WTMW+5ws3F5G6Oag9QLt32FC/ShJr7o8Rm3dPKnly6am+iTcXPisX1A 6Z6ZOeUhUiLm6ulyviVqZVZa1grsn8UJrC16Fap6rt5TuzSV15sXVniiwd9rq1iLZ4ouBo0Bv s4vGozjg4WeY5r88+RwEH2oCltRcM6uxpGVdZi90W5yFm2B9v+6bZHEs9vFfbjAOBtJJRjJ1d fJJE3mH5GQWxhlQVNPnjoSyJOsgqsyyI1t0eLF06+npdza7bN6iKVQGy6wfHwhvveC+fpwWcC xDify50kLDn8mMmmgslSGlw2/uBoSYp8ylhUHfOZrHDZsLqscf+kP1z1qLA6lUzvqtwE= X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 25246 Cc: Eli Zaretskii , 25246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) Mail von npostavs@users.sourceforge.net, Fri, 23 Dec 2016 at 08:53:53 -0500: Hello, > By the way, I wonder if your use case might be better served by setting > `header-line-format'. I use this too as summary of runtime and summary. The moving overlay at the end contains normaly more then one line. Stefan -- Stefan-W. Hahn It is easy to make things. It is hard to make things simple. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 23 09:20:36 2016 Received: (at 25246-done) by debbugs.gnu.org; 23 Dec 2016 14:20:36 +0000 Received: from localhost ([127.0.0.1]:52168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKQi4-00080o-3s for submit@debbugs.gnu.org; Fri, 23 Dec 2016 09:20:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKQi2-00080b-90 for 25246-done@debbugs.gnu.org; Fri, 23 Dec 2016 09:20:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKQhs-0006HN-1a for 25246-done@debbugs.gnu.org; Fri, 23 Dec 2016 09:20:28 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33643) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKQhr-0006HJ-V2; Fri, 23 Dec 2016 09:20:23 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2022 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cKQhp-0006RY-G7; Fri, 23 Dec 2016 09:20:23 -0500 Date: Fri, 23 Dec 2016 16:19:56 +0200 Message-Id: <83lgv6zq0j.fsf@gnu.org> From: Eli Zaretskii To: npostavs@users.sourceforge.net In-reply-to: <87oa02ag2d.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net) Subject: Re: bug#25246: 25.1.90; Buffer not responsible with overlay at buffer end. References: <20161222091305.GC5148@seven> <83bmw328uy.fsf@gnu.org> <87wpera4y3.fsf@users.sourceforge.net> <20161223073315.GD5148@seven> <83tw9vypab.fsf@gnu.org> <83r34yzyuu.fsf@gnu.org> <20161223133647.GE5148@seven> <83oa02zr2h.fsf@gnu.org> <87oa02ag2d.fsf@users.sourceforge.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.1 (--------) X-Debbugs-Envelope-To: 25246-done Cc: stefan.hahn@s-hahn.de, 25246-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.1 (--------) > From: npostavs@users.sourceforge.net > Cc: "Stefan-W. Hahn" , 25246@debbugs.gnu.org > Date: Fri, 23 Dec 2016 09:14:02 -0500 > > >> > Is this satisfactory enough to install this simple change? > >> > >> As said. It works very well. > > > > OK, thanks. Noam, do you agree? > > Yes, this looks like a clear improvement. Thanks, pushed to master. I'm marking this bug done; feel free to reopen if it causes problems. From unknown Thu Jun 19 16:20:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 21 Jan 2017 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator