unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Sivaram Neelakantan <nsivaram.net@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: changing font and font size in terminal emacs-27.2
Date: Sat, 07 Aug 2021 21:35:52 +0530	[thread overview]
Message-ID: <854kc12qan.fsf@gmail.com> (raw)
In-Reply-To: 87pmupmr2d.fsf@yandex.com

On Sat, Aug 07 2021,Colin Baxter wrote:


[snipped 28 lines]

> XTerm*faceName: Cascadia Mono
> XTerm*faceSize: 12
>
> in my ~/.Xdefaults, I can get launch "emacs -nw" in an xterm with size
> 12 font.
>
> I notice that you also have "emacs.font: DejaVu Sans Mono-12" in your
> ~/.Xdefaults. I wonder if this is interfering when you run emacs in a
> terminal? Have your tried commenting out "emacs.font: DejaVu Sans
> Mono-12"? Also you seem to be using emacs -nox, have you tried emacs -nw
> instead? It may be the latter will work without commenting out the
> reference to the emacs font. Try both.
>

After a series of uncoordinated addled testing, I think I sussed out
the following settings.

Removed font stuff from emacs.xresources and kept only the Xterm font spec
Tested in xterm and confirmed that it works
it works for both Emacs-nox and Emacs -nw(what's the difference?)

So, thanks for that.

I omitted to mention that I run WSL Ubuntu 20.04 with GWSL(X server)
and use MS terminal as the initial terminal.  MS terminal has its own
setting for font and size which seem to be overriding whatever I was
doing with the unrelated .Xresources tinkering. Rather, MS terminal
was not readiing anything that I was doing to the .X resource files.
Only when I launch xterm from within MS terminal was it being read.
Coupled with the fact, sometimes I forget to do `xrdb -load`, I was
getting inconsistent results (hence addled).

It took a combination of @Colin's and @Yuri's messages to clear things
up. 

Many thanks to both.

sivaram
-- 




  parent reply	other threads:[~2021-08-07 16:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-06 17:03 changing font and font size in terminal emacs-27.2 Sivaram Neelakantan
2021-08-06 17:06 ` tomas
2021-08-06 19:29   ` Colin Baxter
2021-08-07  4:16     ` Sivaram Neelakantan
2021-08-07 11:28       ` Colin Baxter
2021-08-07 12:08         ` Yuri Khan
2021-08-07 13:14           ` Colin Baxter
2021-08-07 16:12             ` Sivaram Neelakantan
2021-08-07 16:10           ` Sivaram Neelakantan
2021-08-08 11:33             ` Colin Baxter
2021-08-07 16:05         ` Sivaram Neelakantan [this message]
2021-08-07 16:00       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-07 16:15         ` Sivaram Neelakantan
2021-08-07 16:24           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-09 13:50 ` Ken Goldman
2021-08-09 16:02   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-11 13:27     ` Ken Goldman
2021-08-11 14:42   ` Sivaram Neelakantan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=854kc12qan.fsf@gmail.com \
    --to=nsivaram.net@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).