From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jerome Newsgroups: gmane.emacs.bugs Subject: bug#74157: 30.0.92; `emacsclient-program-name' doesn't factor Emacs name changes Date: Fri, 1 Nov 2024 16:51:32 +0900 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3720"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: 74157@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 01 14:22:18 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 1t6rbV-0000nZ-2c for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Nov 2024 14:22:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6rbL-0008VQ-1W; Fri, 01 Nov 2024 09:22:07 -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 1t6rbH-0008PQ-9X for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2024 09:22:03 -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 1t6rbG-0006Q9-U3 for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2024 09:22:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=From:MIME-Version:Date:To:Subject; bh=48qS/11fRZZDXtFprr5MhankLaRpFCQ2AKumIw+lj4s=; b=X2oHxz87gzDcwA8DM06v9qhvoBsxkuKs0bG2dfm3XkVGjCe7qk5kViperLsfIxwaPzktxh/oW8iF0WOxoKab22rLopxY4S3PhSLoRQ/tDYJps+rGg67WXXkch91j0G+3pmfiKfDi0VsTEFnYqb2FijBCYww6ZCnEKHHwskhuhYAtMBSC8Q0ZEyxuqxex6aT3dexQyfFGZQ/ohw/N360LTSSNllcZSGJTxwLmgjnXNIKjL7WuFrmx2HKCWTCZzdFOrN+MWFi9T8wStHI8Em1UK3/QI2Icm7pPgMca0ecKGPy75ou2W7nnz657f+cjVdrifXK/JaMlTObau/azSnhjRw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t6rbG-0000jU-NK for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2024 09:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jerome Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Nov 2024 13:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74157 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.17304672752780 (code B ref -1); Fri, 01 Nov 2024 13:22:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Nov 2024 13:21:15 +0000 Original-Received: from localhost ([127.0.0.1]:49451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6raU-0000il-8b for submit@debbugs.gnu.org; Fri, 01 Nov 2024 09:21:15 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:38422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6mRh-0006h6-Ft for submit@debbugs.gnu.org; Fri, 01 Nov 2024 03:51:51 -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 1t6mRh-0002QM-7N for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2024 03:51:49 -0400 Original-Received: from smtp5-g21.free.fr ([212.27.42.5]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t6mRd-00072Z-Ug for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2024 03:51:48 -0400 Original-Received: from [192.168.1.145] (unknown [110.233.12.233]) (Authenticated sender: an.inbox@free.fr) by smtp5-g21.free.fr (Postfix) with ESMTPSA id 415EB5FFAF; Fri, 1 Nov 2024 08:51:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1730447499; bh=48qS/11fRZZDXtFprr5MhankLaRpFCQ2AKumIw+lj4s=; h=Date:To:Subject:From:From; b=joAYYXX8hfmlVZqDYZtqVSRsNljaKTNwPRhZl5KbprxaPqGmOjPKQRAq7GZUrRCxM /5toeO54MV0HP8qrfzxDy4WfS8afE6E13UTojP/i+IZ9myvLdVgI0XzezsHWLTcLFJ GAFZnUr1GvDSrsHIZKYp8RvHvZdmRcf2bGVaICY0F2DGcyt5AW+7csApOdIcn+MxkG U4+nVB2i+m17n+N//Eer6okuTiizmjvKRhIH/4l1z3HZ4oQjfzK7WFnps4LYBhoiY8 cHWXbJLMcQWVPS4lpNegApB/3uG/G1zUCBg1mgPqvZlZ8Rmq/dI9cZ0CAXmeW+Tk1O DB+LmNd9Z5mwQ== Content-Language: en-US Received-SPF: pass client-ip=212.27.42.5; envelope-from=an.inbox@free.fr; helo=smtp5-g21.free.fr 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 01 Nov 2024 09:21:12 -0400 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:294679 Archived-At: Emacs 30 adds the `emacsclient-program-name', but its default value doesn't factor the build time Emacs name configuration changes (with prefix, suffix and sed transormation). I only verified this with the suffix confguration, but assume prefix and sed transformation are the same. In my case I configured with `--program-suffix=-30pre'. The Emacs client program is, as expected, `emacsclient-30pre', but the value of `emacsclient-program-name' is still `'emacsclient'. The variable value should reflect the configure time name change(s). This would make `with-editor' simpler (from Emacs 30 onward) as no heuristics would be needed to derive the Emacs client name. See: https://github.com/magit/with-editor/issues/132 Thanks ------------------- In GNU Emacs 30.0.92 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) of 2024-10-27 built on red Windowing system distributor 'The X.Org Foundation', version 11.0.12101014 System Description: Debian GNU/Linux trixie/sid Configured using: 'configure --prefix=/usr/local/stow/emacs-30.0.92 --program-suffix=-30pre --with-tree-sitter --with-file-notification=yes 'CFLAGS=-O2 -march=native'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LC_MONETARY: fr_FR.UTF-8 value of $LC_TIME: fr_FR.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t 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 font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: 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: None found. 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 sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cl-print byte-opt gv bytecomp byte-compile thingatpt help-fns radix-tree help-mode cl-loaddefs cl-lib 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 lcms2 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 68133 11926) (symbols 48 6289 0) (strings 32 19033 2140) (string-bytes 1 514914) (vectors 16 10889) (vector-slots 8 148624 8376) (floats 8 27 8) (intervals 56 280 0) (buffers 992 12))