From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: About the new frame title Date: Mon, 14 Sep 2020 17:52:38 +0200 (CEST) Message-ID: <152448855.1272757.1600098758378@mail1.libero.it> References: <963461223.1300042.1600072070148@mail1.libero.it> <83sgbk9ylm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13445"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 14 17:54:47 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kHqoZ-0003Pc-Bs for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Sep 2020 17:54:47 +0200 Original-Received: from localhost ([::1]:46942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHqoY-0007iu-CE for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Sep 2020 11:54:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHqmb-0005hx-6C for emacs-devel@gnu.org; Mon, 14 Sep 2020 11:52:46 -0400 Original-Received: from smtp-18-i2.italiaonline.it ([213.209.12.18]:50459 helo=libero.it) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHqmX-0007c7-3G for emacs-devel@gnu.org; Mon, 14 Sep 2020 11:52:44 -0400 Original-Received: from oxapps-34-154.iol.local ([10.101.8.200]) by smtp-18.iol.local with ESMTPA id HqmUk9veHQKFwHqmUkEYSl; Mon, 14 Sep 2020 17:52:38 +0200 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2014; t=1600098758; bh=bazkHencGvcznAI67L+p4LDmvKgL6rQZayQR3q1uoJQ=; h=From; b=U0e5m4DXAInJgNAB86NyGzL+gDko+F5fw2uB/RxeMbnkLTYNR/VFYsGFUrjTyJF75 W/YJmDAWafxoHf43R9fc+UA6pMiir+75BWrTtIYsVNTkWViHSp4d61Kkef5LhBOAu2 uJNXq+q8L7DfGQq8dAYbY7L0KxTCpJCzh8Bicbyf9kxiXd0yqCEu2uQte9GBODk02O Mi3HfuIGcCf4AWAIP+lCtM4z5OWD5s6M7yK0n/sM97G4EwzSjnJik0VQbT0M+MOlUl +RtyM1JSyYQKkD3h0K9T7YrCXvDk04+ZfRGUBF2kPBsJ+8O/u87/Q/vWpiIRUfeE/w xO55nRdKHwVJQ== X-CNFS-Analysis: v=2.4 cv=buXyuGWi c=1 sm=1 tr=0 ts=5f5f91c6 a=gIHFney5wseWzXdF+CEK3w==:117 a=lQZ-B-_M2C8A:10 a=IkcTkHD0fZMA:10 a=zR5yrUTUqicA:10 a=L0YY1JtFrD4zM4X08dUA:9 a=QEXdDO2ut3YA:10 In-Reply-To: <83sgbk9ylm.fsf@gnu.org> X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.3-Rev13 X-Originating-IP: 95.251.13.133 X-Originating-Client: open-xchange-appsuite x-libjamsun: 59Dy3AJ5tWsc1E/8xrtIBmRFFiqlzNGl x-libjamv: UzmsM7CrPFU= X-CMAE-Envelope: MS4xfJwHsUTyMBVALmfbtV8/xLqfW/dZdIZfd1jp477r3aFgOhG6x6uFoaSeS2ypOPq/J6SqYJgZteEAXdQ6LFI1rHUOIk0OKKeINis3+DxTxyY/4nZicCdf n9p9Up7KomPeyzgHqOndR+V/6At4B/6+BgXQ5EWXTl6v9idOQVK8hsu1M80oQF4eqJouGckadkfYKWqTq9vvwFpMjJbzmLhtMzlflw9qbv5E7UYQ+QYhme8H Received-SPF: pass client-ip=213.209.12.18; envelope-from=angelo.g0@libero.it; helo=libero.it X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/14 11:52:39 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:255654 Archived-At: > Il 14/09/2020 17:17 Eli Zaretskii ha scritto: > > > > Date: Mon, 14 Sep 2020 10:27:49 +0200 (CEST) > > From: Angelo Graziosi > > > > When I start Emacs clicking the icon on the task bar, its frame for less than a second is squared (its default size?) then assume the size following the above code. > > > > When it is squared, the frame title is still "emacs@myPC", only when it assume the final size it take the new frame title (buffer - GNU Emacs at ...) > > Yes, because the GUI frame initialization code writes the old string > to the frame's title. See the initialization routines in the > xterm.c/w32term.c etc. (for example, in xterm.c, look in x_term_init). > > Is that bad? given that we also momentarily flash the "wrong" > dimensions of the frame? I don't know ... If the decision to change the frame title has been taken, one would expect that the old string goes away too, for coherence. After all, the old string just flashes. Thanks