From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Daniel =?UTF-8?Q?Hern=C3=A1ndez?= Newsgroups: gmane.emacs.bugs Subject: bug#34690: 26.1; Emacs gets stuck when replacing text Date: Tue, 2 Apr 2019 23:43:13 -0300 Message-ID: <20190402234313.15c82333@canelo> References: <16936657fad.f163838065745.7317188504607130114@degu.cl> <874l7hgpgd.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="188004"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34690@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 03 04:44:12 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 1hBVsp-000mo4-Qb for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Apr 2019 04:44:12 +0200 Original-Received: from localhost ([127.0.0.1]:33722 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBVso-0004tB-Qa for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Apr 2019 22:44:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBVsj-0004t4-GD for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2019 22:44:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hBVsi-0001tv-I8 for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2019 22:44:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56652) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hBVsi-0001tB-8y for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2019 22:44:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hBVsi-0001HK-03 for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2019 22:44:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel =?UTF-8?Q?Hern=C3=A1ndez?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Apr 2019 02:44: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.15542594274885 (code B ref 34690); Wed, 03 Apr 2019 02:44:02 +0000 Original-Received: (at 34690) by debbugs.gnu.org; 3 Apr 2019 02:43:47 +0000 Original-Received: from localhost ([127.0.0.1]:41963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hBVsQ-0001Gj-VR for submit@debbugs.gnu.org; Tue, 02 Apr 2019 22:43:47 -0400 Original-Received: from sender-op-o11.zoho.com ([135.84.80.196]:17260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hBVsO-0001GZ-DN for 34690@debbugs.gnu.org; Tue, 02 Apr 2019 22:43:45 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1554259405; cv=none; d=zoho.com; s=zohoarc; b=ct/PGkwqz5mRwjeOO4Nj0qrola6L4A3zMP1n+YA8iaf95SZZ3hT0tyzYOkk+btANJAeE40ycdUV7kTDWErFncK25rId4IMHCGz49UgJtGPbaXTvc5nQit6VvUR3i5ZiMLfogdqHuEfzoRvh+1x5cdVj88utjQDEAni4ZwFxuKDg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1554259405; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=ItjkWW5iQO6+nUGizO0Trwg6iqZ+OzBOxpwR4vKpTdg=; b=RjVehMYQdCuWv7d2y+C7v/PzNeYBaQ2kW5C0Sag9g/T8zIROmaLoLruhEkuul4r3KlG3VVhI0e9t0oPSLm+nr453uWUrEvM6ivnZX2RqElP5z/eIB2SCBGIj/vXhkb9jlCOH0pIlCzSAMl8Eo0ykIGPwhJtJ9QdpXUhXxZeJk/0= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=degu.cl; spf=pass smtp.mailfrom=daniel@degu.cl; dmarc=pass header.from= header.from= Original-Received: from canelo (179.9.206.131 [179.9.206.131]) by mx.zohomail.com with SMTPS id 1554259402682163.1540096056483; Tue, 2 Apr 2019 19:43:22 -0700 (PDT) In-Reply-To: <874l7hgpgd.fsf@gmail.com> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) X-ZohoMailClient: External 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:157112 Archived-At: On Mon, 01 Apr 2019 21:34:26 -0400 Noam Postavsky wrote: > Daniel Hernandez writes: > > > Exactly after pressing M-% to replace text, Emacs gets stuck. The > > emacs process was using 90% of the CPU until I killed the process. > > The problem started when I customize the font. If I comment the > > lines that Custom added to the ".emacs" file, then the problem > > disappeared. > > > > 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))))) > > Does (setq query-replace-from-to-separator " -> ") avoid the problem > (as suggested in Bug#30291)? Yes, this solve the issue in the computer where I detected the issue. I have another computer where that code is not needed, because there is no problem with the inconsolata font.