From unknown Fri Jun 20 18:11:25 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#50119 <50119@debbugs.gnu.org> To: bug#50119 <50119@debbugs.gnu.org> Subject: Status: 28.0.50; 2 second delay of emacsclient -nw on st-terminal Reply-To: bug#50119 <50119@debbugs.gnu.org> Date: Sat, 21 Jun 2025 01:11:25 +0000 retitle 50119 28.0.50; 2 second delay of emacsclient -nw on st-terminal reassign 50119 emacs submitter 50119 birdsite@airmail.cc severity 50119 normal tag 50119 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 19 07:09:12 2021 Received: (at submit) by debbugs.gnu.org; 19 Aug 2021 11:09:12 +0000 Received: from localhost ([127.0.0.1]:58627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGfv6-000798-5F for submit@debbugs.gnu.org; Thu, 19 Aug 2021 07:09:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:50652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGfv4-000791-D8 for submit@debbugs.gnu.org; Thu, 19 Aug 2021 07:09:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGfv4-0002Uf-9D for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2021 07:09:10 -0400 Received: from mail.cock.li ([37.120.193.124]:55810) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGfv1-000846-FA for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2021 07:09:09 -0400 From: birdsite@airmail.cc DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=airmail.cc; s=mail; t=1629371335; bh=mPxOpTLajWMoKQnhZjaaJEuyKzzoGYnxTXZzYR8z+Kk=; h=From:To:Subject:Date:From; b=KXsRNx8xtao+oxwY0RS04XZQEn1kaQQgF4OSxfOIEQGXvitRZPzyR7ooVsIpl6lK/ +BrCwNebkeh3piQFRbx41QetN/3t5acNRZy2N8vAM8BKoP603hZBpQyPbxvu2cAtxm tooCSFMSxN3gsdtIL/OpW8P/eJDFDOkyqOKXY1HucgQQ10tZhIlydbhfJwqzsqroXL eG1XvfCa9s0BvxbrLuYvOfDUFSy2D1qZbnqOE5+AOOEoJpW29vT6Zbkv60cWyjhz3d gZGw9fxJJdNW1xyE5/hmUbC4fyunCCgowU4G4FY6CKu/9MyuKO1+o2llPrr8p0j7mM zgNl+ZDmfOuWA== To: bug-gnu-emacs@gnu.org Subject: 28.0.50; 2 second delay of emacsclient -nw on st-terminal Date: Thu, 19 Aug 2021 11:09:15 +0000 Message-ID: <8535r5zo6c.fsf@laptop.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=37.120.193.124; envelope-from=birdsite@airmail.cc; helo=mail.cock.li 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) Hello, Using st-terminal with emacs-28.0.50, the initial buffer stays the same for 2 seconds before finding the file or locating the required buffer. This is with both emacs -q and emacs -Q. This setting seems to be controlled by xterm-query-timeout which by default is 2 seconds. Since there is already a lisp/term/st.el file, i think handling it the same way it is handled for screen/tmux is a good idea. (or maybe there is a better way?) This was tested by running: emacs -q (or -Q) M-x server-start in st-terminal: emacsclient -nw /path/to/file Another maybe irrelevant information is that it didn't do this in emacs-27. looking at the git-log, there doesn't seem to be anything that changed it's behavior but it still somehow got changed? Thanks! In GNU Emacs 28.0.50 (build 4, x86_64-pc-linux-musl, X toolkit, cairo version 1.16.0, Xaw scroll bars) of 2021-08-17 built on laptop Repository revision: 54039d721c5b7fd210a79dc641914cba8fc82185 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12012000 System Description: void Configured using: 'configure --with-imagemagick --with-cairo --with-modules --without-dbus --without-gconf --without-gsettings --prefix=/usr' Configured features: ACL CAIRO FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM LUCID ZLIB Important settings: value of $LC_COLLATE: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: display-time-mode: t global-display-line-numbers-mode: t display-line-numbers-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-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 indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort flyspell ispell mail-extr emacsbug sendmail time time-stamp tango-dark-theme org-tempo tempo ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox rx use-package-ensure use-package-core edmacro kmacro display-line-numbers paren org-element avl-tree generator ol-eww eww xdg url-queue thingatpt mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-search eieio-opt speedbar ezimage dframe gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr kinsoku svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range message rmc puny rfc822 mml mml-sec epa derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search mail-utils mm-util mail-prsvr wid-edit ol-docview doc-view jka-compr image-mode exif dired dired-loaddefs ol-bibtex bibtex iso8601 ol-bbdb ol-w3m cl-extra help-mode org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color ring org-list org-faces org-entities time-date noutline outline easy-mmode org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat advice org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs ido cl info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-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 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 composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads inotify lcms2 dynamic-setting font-render-setting cairo x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 235858 17567) (symbols 48 24010 5) (strings 32 100946 4671) (string-bytes 1 3025776) (vectors 16 49443) (vector-slots 8 1125680 153119) (floats 8 271 226) (intervals 56 316 0) (buffers 992 11)) From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 19 08:19:47 2021 Received: (at 50119) by debbugs.gnu.org; 19 Aug 2021 12:19:47 +0000 Received: from localhost ([127.0.0.1]:58764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGh1P-0002dK-27 for submit@debbugs.gnu.org; Thu, 19 Aug 2021 08:19:47 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGh1J-0002cm-Hq for 50119@debbugs.gnu.org; Thu, 19 Aug 2021 08:19:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=EceIdG5nV5/ZBw5uPtpGnR2IYEb4vWl4q709Wvw+ImQ=; b=b5cNmc8wwMVPBaLUf24sUZnbO+ pFjas/+X9jfJWSpFAHh6n7wGr2zznoR7rbHLoAzEdksIpC3b5BIJjMGTfLzx0ruTu2Wdp1/uokUCX jWRuMAzEha2WWiJbryCpkKCAQYOTQGh3f72TOkD74u086l5IobKv4Pym6bQqGFjTsHgM=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mGh16-0005fn-2m; Thu, 19 Aug 2021 14:19:32 +0200 From: Lars Ingebrigtsen To: birdsite@airmail.cc Subject: Re: bug#50119: 28.0.50; 2 second delay of emacsclient -nw on st-terminal References: <8535r5zo6c.fsf@laptop.mail-host-address-is-not-set> Date: Thu, 19 Aug 2021 14:19:26 +0200 In-Reply-To: <8535r5zo6c.fsf@laptop.mail-host-address-is-not-set> (birdsite@airmail.cc's message of "Thu, 19 Aug 2021 11:09:15 +0000") Message-ID: <877dghaapd.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: birdsite@airmail.cc writes: > Since there is already a lisp/term/st.el file, i think handling it the > same way it is handled for screen/tmux is a good idea. > (or maybe there is a better way?) I've now adjusted st.el in Emacs 28 to use the same method as screen.el, and that seems to make the two-second delay go away. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50119 Cc: 50119@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: -3.3 (---) birdsite@airmail.cc writes: > Since there is already a lisp/term/st.el file, i think handling it the > same way it is handled for screen/tmux is a good idea. > (or maybe there is a better way?) I've now adjusted st.el in Emacs 28 to use the same method as screen.el, and that seems to make the two-second delay go away. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 19 08:19:44 2021 Received: (at control) by debbugs.gnu.org; 19 Aug 2021 12:19:44 +0000 Received: from localhost ([127.0.0.1]:58762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGh1L-0002d5-TF for submit@debbugs.gnu.org; Thu, 19 Aug 2021 08:19:44 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGh1K-0002cq-Mo for control@debbugs.gnu.org; Thu, 19 Aug 2021 08:19:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9lnBBLZaNoyapUknnm2mW+Vpnz/7WQ7cyRCsrG0108Q=; b=FnEdfthOUWyz+kr0cm6x7K+dsG R9DInxOZzUbzE+qiPybGJjokc6aoK20jCfkzXE/jL6eEQCiUQtQOvv7wysBySjMbakEi49AqmeF2x Ee9s68KpHqK40zIXDSBK0fgxj9e1vVMTsWG77bcNuxucuFhaQrcXXaGrW8HdfS1auxDo=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mGh1C-0005g3-TD for control@debbugs.gnu.org; Thu, 19 Aug 2021 14:19:36 +0200 Date: Thu, 19 Aug 2021 14:19:34 +0200 Message-Id: <875yw1aap5.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #50119 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 50119 fixed close 50119 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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: -3.3 (---) tags 50119 fixed close 50119 28.1 quit From unknown Fri Jun 20 18:11:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 17 Sep 2021 11: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