From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Felix Dietrich Newsgroups: gmane.emacs.help Subject: Re: local emacsclient to remote emacs server Date: Tue, 22 Mar 2022 17:03:10 +0100 Message-ID: <87sfrat1oh.fsf@sperrhaken.name> References: <61ef851f-1d3a-4070-b19a-ad6d19813fc4@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5567"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 22 17:08:54 2022 Return-path: Envelope-to: geh-help-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 1nWh42-0001Iu-6R for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 22 Mar 2022 17:08:54 +0100 Original-Received: from localhost ([::1]:45782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWh40-0002wZ-OK for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 22 Mar 2022 12:08:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWgyh-0005Tr-O9 for help-gnu-emacs@gnu.org; Tue, 22 Mar 2022 12:03:24 -0400 Original-Received: from mout.kundenserver.de ([217.72.192.73]:55523) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWgyf-000469-Ik for help-gnu-emacs@gnu.org; Tue, 22 Mar 2022 12:03:23 -0400 Original-Received: from localhost ([78.55.14.95]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MbBUc-1o3YtB20dc-00ba3c for ; Tue, 22 Mar 2022 17:03:17 +0100 In-Reply-To: <61ef851f-1d3a-4070-b19a-ad6d19813fc4@www.fastmail.com> (t.'s message of "Mon, 21 Mar 2022 16:15:01 +0000") X-Provags-ID: V03:K1:uSDJd57XCfmvtYQMM1NHs3LGYPmtkqkyZzD7MYKDVhcVGBEzZHv LCfvwApMb9V3QRQvjzmpLJbeClIvPSVecMRzEPkrYeNuLOy6WsPpcXi+7ZZZLUUVUCJIFyp Gx2JbPCKALlzrdVJFaa6K18YY57f5djGWBmF8EY6G+ueOJy2DYOv7nqDWhkJx63oX/rwdMT toyFlpm0iptKT/ujI1t5w== X-UI-Out-Filterresults: notjunk:1;V03:K0:3uyT6bHk5uw=:OLqBWtCDIcRDfI9/Sqq+Ie TpAhQaQHNTcHgqjXhkGigyF52/PLpIpfUDeHUQ4z4srX6BeFqdO0kehtPMFDwD90eGp9I5WQY IsoyxA5PL7gveIOLDZoPZbIidwkcc2jFtjQPLHl5mMI6FSP5Vyel0LzwuV6Ba8zecMob9GI3C vt+u+tt2wtN7qxckrhT4LBewsXS/zcvhlhPRSP1osWa3GIOGaxFAhWQImryxw3aKhQ48Pg4u3 9cz6ESVtoFHW7yzTTbJZ6TGHRtVBZhJ1wh3+RVQqTeVBZlYaSHTiIJ0KQmQclPfnK3wM7z4JI aN1JGVoYEeFFBPNLYn2jUaAcs1a/ByroASZGwiHw7BSPQ1l2RyuPghffZGNX0Xy6pTh7S9kAA GcSeCaMdnbS4CjaSSr5JXy6DygWY9E8K3FhSpTLIYHtZ4KqovvrkaNh3dPrhKONFrU70A4InD QpUhBskKlmIIo/MvyxbjKuAydyLVZcKQZa1H8Sz3oP7FcJhooX9Lk/g/B9Mrq5Igduugkf5p0 jwADhuWtwJXAjMF2EkAGl4VLKJcCApXjhezraLd5R5AcUMzqlUEsNRcDUN669TnI/s4dFo9uO MDEciYufLyd+cYmxf/rgZwSUuWf53USGV4RetfT/DH9Z28WzThBpahlWxga7+4IjKjrhMOTvu z4qs3ZKjNUsL5r8nOn8dD3QTHQ6Rs0moprDOLmMNRlIgqwvDVl6B/vTYom62rd3I8YZ39RIas DA5dZUwg1MwU3Lh9 Received-SPF: none client-ip=217.72.192.73; envelope-from=felix.dietrich@sperrhaken.name; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136719 Archived-At: Let me preface this reply with the note that I do not have access to a computer with MacOS and have, therefore, no real clue. I also do not have a HiDPI display. This is just a shot in the dark. t@fullmeta.me writes: > Ideally I wish I could run X version in all its GUI glory, but XQuartz > on OSX can't handle hiDPI or I failed to figure a way to get > reasonable resolution. Ditto `xpra`. Linux to Linux it actually works > just fine. I don=CA=BCt think I am able to properly picture your issue, but searching for HiDPI in conjunction once with XQuartz and once with Emacs delivered a couple of suggestions: 1) Use xrandr to set the DPI [1]=20 Supposedly this requires to =E2=80=9Cenable full screen mode in XQua= rtz=E2=80=9D. This site also states that =E2=80=9Cwe can=CA=BCt make this permanen= t=E2=80=9D, but I suspect that there is a script somewhere in which you could plug the xrandr command, or possibly a configuration option (see the next point). $ xrandr --output default --mode 5120x2880 --dpi 218 2) Ways to set the DPI [2] This one is somewhat Linux specific, but maybe you can find a way to adjust file locations for the MacOS environment. - Set =E2=80=9CXft.dpi=E2=80=9D in =E2=80=9C$HOME/.Xresources=E2=80= =9D. - Monitor section in xorg.conf.d/40-dpi.conf # Will set your DPI to 141x141 if the screen is 1080p Section "Monitor" Identifier "" DisplaySize 340 190 # In millimeters EndSection - =E2=80=9C-dpi=E2=80=9D argument to X 3) Set a higher font size in Emacs [3] (let ((FONT "Droid Sans Mono-30")) (setf (alist-get 'font default-frame-alist) FONT) (set-face-attribute =E2=80=99default t :font FONT)) There is also =E2=80=9Cx2go=E2=80=9D which uses XQuartz, but its programmer= s may have already figured out the correct settings to provide to it. Had you already found and tried these? Footnotes: [1] [2] [3] --=20 Felix Dietrich