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: Wed, 11 Aug 2021 20:12:17 +0530	[thread overview]
Message-ID: <85o8a43uwm.fsf@gmail.com> (raw)
In-Reply-To: ec66c249-5611-e404-87fc-732216b03b68@us.ibm.com

On Mon, Aug 09 2021,Ken Goldman wrote:

> On 8/6/2021 1:03 PM, Sivaram Neelakantan wrote:
>> How do I change the font and size when I run emacs in a terminal i.e
>> emacs-nox?  I'm running emacs-27.2 in wsl and for the GUI emacs I can
>> configure the font like so
>
> A bit off topic, but ...
>
> I use WSL, and I run the MATE window manager.  I can use GUI emacs
> as well as any other GUI.

True that.  And I did mention that I could configure the GUI Emacs
version but having issues with terminal emacs.

What I was looking for, was the means to change various emacs -nw,
Emacs-nox parameters in just the terminal.  And still looking for a
theme or a set of fonts/faces that would just assume 16 bit colour and
give a decent terminal interface emacs a bit of colour/fonts/faces.

I've pretty much given up on .X* configuration changes and decided to
look for configuration options in 1 place i.e .emacs

For GUI, I've gotten it down to

(when (window-system) ;; looks like this is deprecated
   (setq default-frame-alist
         '((top . 24) (left . 1) (width . 172) (height . 38)
           (background-color . "DarkSlateGray")
	       (foreground-color . "Wheat")
           (cursor-color . "Red")
	       (horizontal-scroll-bars . nil)
	       (vertical-scroll-bars . nil)
           (font . "-outline-Cascadia Mono-normal-normal-normal-mono-17-*-*-*-c-*-iso8859-1")
         ))
   (setq initial-frame-alist
         '((top . 24) (left . 1) (width . 172) (height . 38)))
   (set-frame-font "-outline-Cascadia
   Mono-normal-normal-normal-mono-17-*-*-*-c-*-iso8859-1"))

And now want to set terminal Emacs along similar lines.

sivaram
-- 




      parent reply	other threads:[~2021-08-11 14:42 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
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 [this message]

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=85o8a43uwm.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).