From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Pedro A. Aranda" Newsgroups: gmane.emacs.bugs Subject: bug#70049: 30.0.50; (server-running-p) in mode line freezes emacs Date: Thu, 28 Mar 2024 11:45:16 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3074"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: 70049@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 28 11:46:34 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rpnHG-0000ap-BG for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Mar 2024 11:46:34 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpnGq-0007Av-4g; Thu, 28 Mar 2024 06:46:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpnGk-00077Q-D6 for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 06:46:04 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rpnGj-0003lJ-8G for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 06:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rpnGj-0000io-Rj for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 06:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Pedro A. Aranda" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Mar 2024 10:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70049 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17116227462748 (code B ref -1); Thu, 28 Mar 2024 10:46:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Mar 2024 10:45:46 +0000 Original-Received: from localhost ([127.0.0.1]:39176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpnGT-0000iG-ST for submit@debbugs.gnu.org; Thu, 28 Mar 2024 06:45:46 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:51662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpnGQ-0000gB-Lf for submit@debbugs.gnu.org; Thu, 28 Mar 2024 06:45:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpnG7-0006l0-Sq for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 06:45:23 -0400 Original-Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rpnG4-0003WK-PM for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 06:45:23 -0400 Original-Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-341cf77b86dso674495f8f.2 for ; Thu, 28 Mar 2024 03:45:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711622717; x=1712227517; darn=gnu.org; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=mclmxJ99H8nAHuY/tp/eBpMh0z3Oh7ZpgOxDLUd321s=; b=hAkTBNOfV3pnVfNXG2dLzSC5fsUkcT/5mOv+gRYnNk3sEc78XOcRou493WmYb6XB21 iZvVHjfbGXNJQ5lfzkjIU3DTLtfpWfm5jwrwIrBKGSMjP3iFf7OUWNwHPHQ6QzkyBvBv GHbXrX0RUFy9BSOeT3W1evewH7KfU5gzfwGTGkvzLO7tHAklOQWxctCs82UXZ1LjTLQ0 ZzMUQHqtOTs9GueOSFF2MnUyJOfvoxDzWwdL7Hk9UGAK0I4QBBuAL2dRnMu9pp9pDHtk ra14TzSuOb/Ux8ptqrFtHs522qkF+2PVgLLnu51fkyU96flJImjUdTIBiFFe3V5DxhHz VbGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711622717; x=1712227517; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=mclmxJ99H8nAHuY/tp/eBpMh0z3Oh7ZpgOxDLUd321s=; b=eRiaw/q9PB9RYn+BpYG5VSYwiW5nGjb7IcMBrV/HcIjNMqY9O62DARovyQLOlIGT3/ 8/f6/K+zSP8tIWYZ74dJnQUw+SmhupOLiMJvF/214oL19xWZzrTLjfRZA4sisoHXDLg4 acmtKAfIlEsHntvBzANgYy3T4WeXmmCV3rO7Br3G5ltXX40aUJ6TxxyzVvgwz6zmjs0s I7PFneM0gaecddjVbe7Hkn9VLVPDUmrMOXzz+6ZeF5ZfzzEZ4k8fyoc+P9mhUzGC/vFQ ejtuXz5JHDXWKNa0QcS4Ix28LAM+L2K0WM3c1RwDayD2ea4xkXY38wQQuAXZVzcQb963 Ta4g== X-Gm-Message-State: AOJu0YyhAhMJwPvf8rxIIQfg6FHqTNj+GDZlpZqxHOnN+NswPOXa60U2 fO4nOo1VznxYi2r71d02rQbJ/OsPvTqzpFKeIuwvDz93KP+VZMVC3gjQ6PhJ X-Google-Smtp-Source: AGHT+IHJBMD8yWuynnXegjislnTSlu1NwISnl4fLpS0y1YhrKgffVGygaaXwUk9FyCbVsJU5D5dAlQ== X-Received: by 2002:a05:6000:110:b0:33d:277b:8bf6 with SMTP id o16-20020a056000011000b0033d277b8bf6mr2214587wrx.26.1711622717100; Thu, 28 Mar 2024 03:45:17 -0700 (PDT) Original-Received: from [192.168.1.39] (53.red-79-148-75.dynamicip.rima-tde.net. [79.148.75.53]) by smtp.gmail.com with ESMTPSA id n2-20020a5d4002000000b00341ce4a3bd6sm1426409wrp.13.2024.03.28.03.45.16 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Mar 2024 03:45:16 -0700 (PDT) Content-Language: es-ES, de-DE, it-IT, en-GB Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=paaguti@gmail.com; helo=mail-wr1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282210 Archived-At: Place the following file as init.el in a directory (e.g. ~/.demacs.d) ---- cut here ---- ;; Mode line settings (defun server-running-indicator()   (when (server-running-p) "S ")) ;;  (unless (null server-process) "S ")) ;; (setq-default mode-line-right-align-edge 'right-fringe) (setq-default mode-line-format               (list                      '(:eval (propertize (server-running-indicator)                                          'face 'mode-line-buffer-id))                      mode-line-modified                      " "                      mode-line-buffer-identification                      " "                      mode-line-position)) ---- cut here ---- run emacs as /usr/bin/emacs --init-directory ~/.demacs.d On the emacs window, click on the lower left corner and resize it with the mouse. No hangs are observed. Now, active server-mode with M-x server-mode Try again to resize the emacs window with the mouse. Emacs freezes. This doesn't happen if you use the commented line (unless (null server-process) "S ")) instead of the (when (server-running-p) "S ")) In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version  3.24.33, cairo version 1.16.0) of 2024-03-28 built on ee9499c728de Repository revision: f1fe13ea057237f5426c93876488cb95be86156c Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12201001 System Description: Ubuntu 22.04.4 LTS Configured using:  'configure --prefix=/usr --program-suffix=30 --with-x  --with-x-toolkit=gtk3 --with-cairo --with-compress-install  --with-modules=yes --with-threads --with-included-regex --with-zlib  --with-json --with-rsvg --with-small-ja-dic  --with-native-compilation=aot --with-tree-sitter=no 'CFLAGS=-g -O2  -ffile-prefix-map=/home/paag/emacs=. -flto=auto -ffat-lto-objects  -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat  -Werror=format-security' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'  'LDFLAGS=-Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects  -flto=auto -Wl,-z,relro'' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings:   value of $LC_MONETARY: es_ES.UTF-8   value of $LC_NUMERIC: es_ES.UTF-8   value of $LC_TIME: es_ES.UTF-8   value of $LANG: en_US.UTF-8   value of $XMODIFIERS: @im=ibus   locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect:   tooltip-mode: t   global-eldoc-mode: t   show-paren-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   blink-cursor-mode: t   minibuffer-regexp-mode: t   buffer-read-only: t   line-number-mode: t   indent-tabs-mode: t   transient-mark-mode: t   auto-composition-mode: t   auto-encryption-mode: t   auto-compression-mode: t Load-path shadows: /usr/share/emacs/site-lisp/latex-cjk-thai/thai-word hides /usr/share/emacs/30.0.50/lisp/language/thai-word Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 51330 11727) (symbols 48 5230 0) (strings 32 13871 2528)  (string-bytes 1 460407) (vectors 16 9073)  (vector-slots 8 126676 10197) (floats 8 40 13) (intervals 56 375 16)  (buffers 984 11))