From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#67449: Manual: add how to change default global font size in .emacs Date: Wed, 29 Nov 2023 14:47:16 +0200 Message-ID: <83plzs7mln.fsf@gnu.org> References: <63f64522726258ee8dbde487a579325c@jidanni.org> <83fs0tawqv.fsf@gnu.org> <83wmu4aajv.fsf@gnu.org> <83b92d9750b8259a21b54abf7391188c@jidanni.org> <83h6l7anau.fsf@gnu.org> <87jzq11cha.7.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36649"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67449@debbugs.gnu.org To: Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 29 13:48:25 2023 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 1r8JzN-0009Km-3C for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Nov 2023 13:48:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8Jz0-0005T6-8H; Wed, 29 Nov 2023 07:48:02 -0500 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 1r8Jyt-0005Sj-3D for bug-gnu-emacs@gnu.org; Wed, 29 Nov 2023 07:47:55 -0500 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 1r8Jys-0005dz-Nq for bug-gnu-emacs@gnu.org; Wed, 29 Nov 2023 07:47:54 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r8Jz0-0002uN-3q for bug-gnu-emacs@gnu.org; Wed, 29 Nov 2023 07:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Nov 2023 12:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67449 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix notabug Original-Received: via spool by 67449-submit@debbugs.gnu.org id=B67449.170126206211056 (code B ref 67449); Wed, 29 Nov 2023 12:48:02 +0000 Original-Received: (at 67449) by debbugs.gnu.org; 29 Nov 2023 12:47:42 +0000 Original-Received: from localhost ([127.0.0.1]:49076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8Jyf-0002sC-Ie for submit@debbugs.gnu.org; Wed, 29 Nov 2023 07:47:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8Jyc-0002rq-M5 for 67449@debbugs.gnu.org; Wed, 29 Nov 2023 07:47:40 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r8JyP-0005NX-FZ; Wed, 29 Nov 2023 07:47:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=7KZWqoTy9jKJV5Nieg0BcgPTS0n6wbbgavywC648K2Q=; b=fG02D5kRi1LOSr0JtNKO YnDfh/8FfLAbFpdBGh0nz3c1ODgk98rfXpL53Drj8H6msgxwzQwezNdib+ijnZnopPCm1Dn3crf2K ZyF5p/osCR39rLpElRTrwLU4xvaPca5fzrIMGjs751CadT2JLpi0nST8riAUppz11aRPkb26w5s+D o/qyod7i8YJUg8XE2+ecj/t6w/oS85IOp6TzGFddjH1pPWfyl8/Gx9W7xl7pQHXLJC7FB7O7/SvG8 89LWOZIJD3kaTfpxvfe50M3NxxASN45tmGtjNEsei8du24GgBJ0mq0SQ/kYd1S7f0gc32vdbSQgyn QWO8AqWR/aoBEg==; In-Reply-To: <87jzq11cha.7.fsf@jidanni.org> (message from Dan Jacobson on Wed, 29 Nov 2023 11:10:09 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:275217 Archived-At: > From: Dan Jacobson > Cc: 67449@debbugs.gnu.org > Date: Wed, 29 Nov 2023 11:10:09 +0800 > > In (info "(emacs) Fonts") > > > File: emacs.info, Node: Fonts, Next: Speedbar, Prev: Frame Commands, Up: Frames > > > > 22.8 Fonts > > ========== > > > > By default, Emacs displays text on graphical displays using a 10-point > > 10 point. Let's say we want it to use 14 point default. > > > monospace font, > > We don't care about monospace or not. We just want to make 10 into 14. Monospace is the default, so it doesn't matter whether "we" care or not. > > and the font size can be changed interactively (*note > > Text Scale::). > > We don't want to change it interactively. We just want to put a line in > our .emacs file to change it. > > > There are several different ways to specify a different font: > > We don't want to specify a different font. We don't care about the font. > We just want to make it use a different size as default. So just specify the same font with the different size. Case closed. > > • Add a line to your init file, modifying the variable > > ‘default-frame-alist’ to specify the ‘font’ parameter (*note Frame > > Parameters::), like this: > > > > (add-to-list 'default-frame-alist > > '(font . "DejaVu Sans Mono-10")) > > Yes we want to add a line to our .emacs file. But we don't want to have > to say some font name. We just want to tell emacs to use "default size > 14, not 10". So just specify the same font with the different size. Case closed. > > This makes the font the default on all graphical frames created > > after restarting Emacs with that init file. > > > > • Add an ‘emacs.font’ X resource setting to your X resource file, > > like this: > > > > emacs.font: DejaVu Sans Mono-12 > > Again we are forced to name a font. We don't want to name a font. We > just want to tell emacs to do what it does, but at scale 14 not 10. So just specify the same font with the different size. Case closed. > Anyway maybe there is a glimmer of hope with some line like > -*-*-*-14-*-*-*- or something, but it so frustrating. A two-liner in the init file or a X resource setting cannot be anywhere near frustrating. > Whereas in other apps one can just choose a default font size, in > emacs ... well you have to go down to the car dealership and learn > about muffler types. You can't just tell the rental agency to > deliver an economy sized car. Or you can do the above, which is easy and a no-brainer, really. Case closed. And this bug is also closed. Please accept the decision and stop pushing.