@@ -2928,28 +2928,8 @@ The libraries ~emojify~ and ~emojify-logos~ provides cool items like =:haskell:
2928
2928
:emacs: :org: :ruby: :python:=. Unfortunately they do not easily export to html
2929
2929
with org-mode, so I'm not using them.
2930
2930
:Alternatives:
2931
- #+BEGIN_SRC emacs-lisp
2932
- (use-package emojify)
2933
2931
2934
2932
2935
-
2936
- (-let [font-for-emojis "Noto Color Emoji"]
2937
- (if (member font-for-emojis (font-family-list))
2938
- (set-fontset-font
2939
- t 'symbol (font-spec :family font-for-emojis) nil 'prepend)
2940
- (message-box "Musa: Install the font!")
2941
- ;; Download font @ https://fonts.google.com/noto/specimen/Noto+Color+Emoji
2942
- ;; Double-click on the ttf file then select “install” to have it installed on your system
2943
- ))
2944
- (setq emojify-display-style 'unicode) ;; unicode is the way to go!
2945
-
2946
-
2947
- (setq emojify-emoji-styles '(unicode))
2948
-
2949
- (global-emojify-mode 1) ;; Will install missing images, if need be.
2950
-
2951
- #+END_SRC
2952
-
2953
2933
(use-package emojify-logos
2954
2934
:after emojify)
2955
2935
@@ -4107,15 +4087,15 @@ git operations, such as ~git push~, [[https://webkul.com/blog/github-push-with-t
4107
4087
/instead/ of your password! Also: Install [[https://github.com/sindresorhus/refined-github][refined-github: Browser extension that
4108
4088
simplifies the GitHub interface and adds useful features]]!)
4109
4089
4110
- #+BEGIN_SRC emacs-lisp
4090
+ #+begin_src emacs-lisp
4111
4091
;; Bottom of Emacs will show what branch you're on
4112
4092
;; and whether the local file is modified or not.
4113
4093
(use-package magit
4114
4094
:bind (("C-c M-g" . magit-file-dispatch))
4095
+ :config (global-set-key (kbd "C-x g") 'magit-status)
4115
4096
:custom ;; Do not ask about this variable when cloning.
4116
4097
(magit-clone-set-remote.pushDefault t))
4117
- #+END_SRC
4118
- # :config (global-set-key (kbd "C-x g") 'magit-status)
4098
+ #+end_src
4119
4099
4120
4100
Why use ~magit~ as the interface to the git version control system? In a ~magit~
4121
4101
buffer nearly everything can be acted upon: Press =return=, or =space=, to see
@@ -4912,6 +4892,26 @@ is found with ~M-x dired~ ---doc:dired.
4912
4892
:defer nil
4913
4893
:hook (org-mode . org-bullets-mode))
4914
4894
#+END_SRC
4895
+ ** Emojis
4896
+ :PROPERTIES:
4897
+ :CREATED: [2024-11-08 Fri 18:16]
4898
+ :END:
4899
+
4900
+ #+begin_src emacs-lisp
4901
+ (if (member "Apple Color Emoji" (font-family-list))
4902
+ (set-fontset-font t 'unicode "Apple Color Emoji" nil 'prepend)
4903
+ (message-box "Musa: Install the font!"))
4904
+ ;; E.g., Download font such as https://fonts.google.com/noto/specimen/Noto+Color+Emoji
4905
+ ;; Double-click on the ttf file then select “install” to have it installed on your system
4906
+ ;; (Note: Noto does not work on my personal machine.)
4907
+
4908
+
4909
+ ;; Render ASCII such as “ :-) ” as emoji 🙂.
4910
+ (use-package emojify)
4911
+ (setq emojify-display-style 'unicode) ;; unicode is the way to go!
4912
+ (setq emojify-emoji-styles '(unicode))
4913
+ (global-emojify-mode 1) ;; Will install missing images, if need be.
4914
+ #+end_SRC
4915
4915
4916
4916
** Startup message: Emacs & Org versions
4917
4917
:PROPERTIES:
@@ -4968,7 +4968,7 @@ my to-do list and my init file, side-by-side.
4968
4968
;; and cosmetics, then open my notes files.
4969
4969
(add-hook 'emacs-startup-hook
4970
4970
(lambda ()
4971
- (load "~/my-life.el")
4971
+ (load-file "~/my-life.el")
4972
4972
(find-file "~/my-life.org")))
4973
4973
#+END_SRC
4974
4974
0 commit comments