How to properly align layout from Emacs Calendar after changing some faces?

I am trying to customize my Emacs / OrgMode and I am facing alignment issue when using a calendar. See image here

I tried to tweak some variables calendar-*

like calendar-intermonth-spacing

, calendar-intermonth-header

or calendar-column-width

, but these changes didn't help.

Is it always possible to get the correct alignment in the calendar view?

+3


source to share


1 answer


See function face-remap-add-relative

: https://www.gnu.org/software/emacs/manual/html_node/elisp/Face-Remapping.html

Here's an example:



(defun set-buffer-to-courier ()
  (face-remap-add-relative 'default '(:family "Courier" :height 120)))

(add-hook 'calendar-mode-hook 'set-buffer-to-courier)

      

0


source







All Articles