all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to correctly display the new symbol of `org-babel-sh-prompt`?
@ 2024-08-07  7:43 Christopher M. Miles
  2024-08-08 13:51 ` Suhail Singh
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher M. Miles @ 2024-08-07  7:43 UTC (permalink / raw)
  To: Org Mode mailing list

[-- Attachment #1: Type: text/plain, Size: 736 bytes --]


The `org-babel-sh-prompt' changed from "org_babel_sh_prompt> " -> "𒆸 ".
TODO: Use `describe-char' to get the symbol's code. Then set font for this symbol.
I searched there is a way to set font for a range of characters like bellowing.

(set-fontset-font t '(#x2ff0 . #x9ffc) (font-spec :family "LXGW" :size 18 :weight 'bold))

I'm currently using font "FiraCode Nerd Font".
(set-face-attribute 'default nil :family "FiraCode Nerd Font" :weight 'medium)

-- 

[ stardiviner ]
I try to make every word tell the meaning that I want to express without misunderstanding.

Blog: https://stardiviner.github.io/
IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner
GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to correctly display the new symbol of `org-babel-sh-prompt`?
  2024-08-07  7:43 How to correctly display the new symbol of `org-babel-sh-prompt`? Christopher M. Miles
@ 2024-08-08 13:51 ` Suhail Singh
  0 siblings, 0 replies; 2+ messages in thread
From: Suhail Singh @ 2024-08-08 13:51 UTC (permalink / raw)
  To: Christopher M. Miles; +Cc: Org Mode mailing list

"Christopher M. Miles" <numbchild@gmail.com> writes:

> TODO: Use `describe-char' to get the symbol's code. Then set font for this symbol.

If you have a font installed that covers the unicode code point, it is
automatically used (with no further action needed on the user's part).
A font that supports cuneiform should work.  An example of such a font
is `google-noto-sans-cuneiform-fonts'.

-- 
Suhail


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-08 13:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-07  7:43 How to correctly display the new symbol of `org-babel-sh-prompt`? Christopher M. Miles
2024-08-08 13:51 ` Suhail Singh

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.