From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs Date: Fri, 05 Jun 2020 12:14:11 +0100 Message-ID: <87sgf9hiik.fsf@tcd.ie> References: <87img65htu.fsf@smoon.bkoty.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="123850"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 41719@debbugs.gnu.org To: Vladimir Lomov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 05 13:15:11 2020 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 1jhAJb-000W7H-FT for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Jun 2020 13:15:11 +0200 Original-Received: from localhost ([::1]:43912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhAJa-0004rP-DN for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Jun 2020 07:15:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhAJS-0004q1-RW for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2020 07:15:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36854) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jhAJS-0007fR-Hk for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2020 07:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jhAJS-0006g2-CQ for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2020 07:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Jun 2020 11:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41719 X-GNU-PR-Package: emacs Original-Received: via spool by 41719-submit@debbugs.gnu.org id=B41719.159135566125603 (code B ref 41719); Fri, 05 Jun 2020 11:15:02 +0000 Original-Received: (at 41719) by debbugs.gnu.org; 5 Jun 2020 11:14:21 +0000 Original-Received: from localhost ([127.0.0.1]:48400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhAIn-0006et-7Q for submit@debbugs.gnu.org; Fri, 05 Jun 2020 07:14:21 -0400 Original-Received: from mail-wm1-f48.google.com ([209.85.128.48]:54951) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhAIl-0006eg-KP for 41719@debbugs.gnu.org; Fri, 05 Jun 2020 07:14:20 -0400 Original-Received: by mail-wm1-f48.google.com with SMTP id g10so8065877wmh.4 for <41719@debbugs.gnu.org>; Fri, 05 Jun 2020 04:14:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=R7+nqu8pMPNDsMuTlfkmM/J74NQP/R5LkfIZtDyu/zo=; b=BYQm5gdUcnE6JS1Efamr/1G2T6p+4dP6lddSDMZIoE8q+pHgnHxvEoIfFas1N9jrTE PJryK3QhyP4EBFyaUnjoQVokI1/HDn4jh/8+iIUqDmLAU3Koi/JKhVhaTan5ZjJTalJK lFiCarnBWJLCWaZUTbGABHr7joHIgnGV59pzDPrYZ4lLH9+vc4mJldVLqmHdiLzIMC9A WyvgNCC1k4ycYYVwv+2ZVYZSbOCFAG+cKRwyYhX5txr2tkZCOrWx70UBnyvxKsP4leKc WG+T55jKgx/ExKUtXq5B6j3WIgrjRhlgR2MmGSYZTf2mI2F5RhBn8vc/QJgaSC4UVC5g RdGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=R7+nqu8pMPNDsMuTlfkmM/J74NQP/R5LkfIZtDyu/zo=; b=fv0QIVtDnT7FzLgQMa9bZdxelEmozr/u/HDXbimvjgIicInV/O3qP8e7THGj77xnqw ZnJIJlqYY2pa0ZOxTTnuZ7SOZ9+m6f/XmbQrw3Io5SmnE1sYyBJmP69TwSjIjMtMOjo9 A7kcO2AJQPVr928sYiyrju2xgRTd39vOsvWZGsjXy9gT/LUHjn5qC6iAsv7HulE/DZQl pMYa8gyzaXc/oz0rHBO02oF1dHQJm8HWCk03JnFFX9TYyLTuStSRkk2zzTX+ebnYboPf xauIMceATjjwydkEtOMcbjYROraVVLnAJFlBaLSxatyWAb3DC/j26RNiJG0CgJ3CHAms t/Xw== X-Gm-Message-State: AOAM533PGoN1e8VrFAqpCq8SsThyNRdhFup62pWFxmb+8r6F9CxIY1m6 +S1BIFh0hlQ94vrT8CsZVfzpow== X-Google-Smtp-Source: ABdhPJzPSOtjZuyfFHreM8z3Fuq25Im3CjLepvqybvgo6I1RuIaTcKmVgsg+BTlQgOr8wNECu8GOmA== X-Received: by 2002:a7b:c005:: with SMTP id c5mr2191957wmb.22.1591355653620; Fri, 05 Jun 2020 04:14:13 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:1f68:7ff5:120d:64e]) by smtp.gmail.com with ESMTPSA id o10sm11880467wrj.37.2020.06.05.04.14.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 04:14:12 -0700 (PDT) In-Reply-To: <87img65htu.fsf@smoon.bkoty.ru> (Vladimir Lomov's message of "Fri, 05 Jun 2020 11:09:49 +0800") 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" Xref: news.gmane.io gmane.emacs.bugs:181547 Archived-At: Vladimir Lomov writes: > The 'emacs' allows to set the so-called 'instance' when run in X window > system using '--name' option. The same time the 'emacsclient' doesn't > have such option and if 'emacs' is run in daemon mode ('emacs > --daemon=...') it is impossible (?) to change the 'instance' of emacs > window (frame in Emacs terminology) created by 'emacsclient'. > > I tried to use '-F' option of 'emacsclient' but I didn't get desire > result, WM_CLASS isn't changed, only WM_ICON_NAME. It is possible that I > do things wrong, > > $ emacsclient -s /run/user/1000/emacs-default -F '((name . "default") (title . "USER@HOST"))' > > but this topic is covered by manual (Emacs, 21.11 "Frame Parameters" and > Emacs Lisp 29.4.3 "Window Frame Parameters") very unclear. > > Even if it is possible to change the 'instance' of Emacs window created > by 'emacsclient' using the '-F' option it would be nice to have more > simple way to achieve this. On the other hand, if Emacs is run in daemon > mode it is the purpose of emacsclient to (allow to) set the 'instance' > and 'title' of created window. Sorry if I misunderstood, but are you looking for emacsclient's --socket-name=NAME argument? This can be the same NAME passed as the --daemon=NAME argument to emacs. -- Basil