From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#34690: 26.1; Emacs gets stuck when replacing text Date: Fri, 01 Mar 2019 16:48:16 +0200 Message-ID: <8336o6irbj.fsf@gnu.org> References: <16936657fad.f163838065745.7317188504607130114@degu.cl> <83sgw7hwq8.fsf@gnu.org> <16939b0048f.f2ea5e2472633.4280652477453658981@degu.cl> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="211623"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34690@debbugs.gnu.org To: Daniel Hernandez Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 01 15:49:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gzjTQ-000swV-OX for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Mar 2019 15:49:16 +0100 Original-Received: from localhost ([127.0.0.1]:39025 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzjTP-0001GQ-Nj for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Mar 2019 09:49:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzjTF-0001Fs-9D for bug-gnu-emacs@gnu.org; Fri, 01 Mar 2019 09:49:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzjTE-0007Ud-EB for bug-gnu-emacs@gnu.org; Fri, 01 Mar 2019 09:49:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42437) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzjTC-0007T4-H0 for bug-gnu-emacs@gnu.org; Fri, 01 Mar 2019 09:49:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gzjTC-0005Ai-DE for bug-gnu-emacs@gnu.org; Fri, 01 Mar 2019 09:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Mar 2019 14:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34690 X-GNU-PR-Package: emacs Original-Received: via spool by 34690-submit@debbugs.gnu.org id=B34690.155145172319849 (code B ref 34690); Fri, 01 Mar 2019 14:49:02 +0000 Original-Received: (at 34690) by debbugs.gnu.org; 1 Mar 2019 14:48:43 +0000 Original-Received: from localhost ([127.0.0.1]:55981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzjSs-0005A4-Fo for submit@debbugs.gnu.org; Fri, 01 Mar 2019 09:48:42 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57313) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzjSr-00059o-1F for 34690@debbugs.gnu.org; Fri, 01 Mar 2019 09:48:41 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzjSl-00076m-LO; Fri, 01 Mar 2019 09:48:35 -0500 Original-Received: from [176.228.60.248] (port=2779 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gzjSk-000067-Us; Fri, 01 Mar 2019 09:48:35 -0500 In-reply-to: <16939b0048f.f2ea5e2472633.4280652477453658981@degu.cl> (message from Daniel Hernandez on Fri, 01 Mar 2019 11:37:10 -0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 209.51.188.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:155930 Archived-At: > Date: Fri, 01 Mar 2019 11:37:10 -0300 > From: Daniel Hernandez > Cc: "34690" <34690@debbugs.gnu.org> > > > Does this happen with any text in any buffer, and with any search and > > replacement strings? or just with some? > > It happens with any buffer; even with an empty one. > This problem occurs also when I only have that lines in > the ".emacs" file. > > > > The lines added by Custom are the following: > > > > > > (custom-set-faces > > > ;; custom-set-faces was added by Custom. > > > ;; If you edit it by hand, you could mess it up, so be careful. > > > ;; Your init file should contain only one such instance. > > > ;; If there is more than one, they won't work right. > > > '(default ((t (:family "Inconsolata" :foundry "unknown" :slant > > > normal :weight normal :height 128 :width normal))))) > > > > Only with this particular font, or with any font? > > I noticed that it occurs with some font and it does not occur > with other. For instance, it does not occur with DejaVu Sans > Mono. That is, it does not occur with the following lines: > > (custom-set-faces > ;; custom-set-faces was added by Custom. > ;; If you edit it by hand, you could mess it up, so be careful. > ;; Your init file should contain only one such instance. > ;; If there is more than one, they won't work right. > '(default ((t (:family "DejaVu Sans Mono" :foundry "unknown" > :slant normal :weight normal :height 98 :width normal))))) Can you try the latest pretest of Emacs 26.2? Maybe this problem is already fixed. If Emacs 26.2 also has this problem, the next step is to attach GDB to Emacs when this happens and use the technique described in etc/DEBUG to find out where it loops. > Another detail. When it occurs the text "Query replace:" is > not showed. This is consistent with redisplay looping.