
Note - (breaking changes at v1.2.0) Variables of moom-font-ascii and moom-font-ja were hidden so that font settings could be controlled conveniently by utility functions. If you want to use customized variable, please use moom-font-ascii with :size option like (moom-font-ascii "Inconsolata" :size 14). Note - (breaking changes at v1.2.1) moom-font-init-size was hidden. If you specify nil then no commands will centerize the frame. The following commands will centerize the frame position in display if moom-command-with-centering includes the corresponding values. You can freely customize the font table in you init.el for your convenience. On the other hand, the lower image shows no gap since the font table is utilized to identify the correct size of font. The upper image shows a gap between strings in ASCII and Japanese at the first line, the font table is not defined in this case. Monaco is used for ASCII font and Migu 2M is used for Japanese font in these images. Please follow the instructions described in that buffer. After calling moom-generate-font-table, the current buffer will be changed to the *moom-font* buffer. You can also use M-x moom-generate-font-table to identify appropriate values of moom-scaling-gradient, and additionally moom-font-table. For instance, 1.66 (default) for Menlo, Monaco, 2.0 for Inconsolata, MS Gothic, and TakaoGothic. When you find the column exceeds 80 when the frame is maximized, then configure moom-scaling-gradient properly. (moom-font-ja "Migu 2M " '( :immediate t))) (moom-font-ascii "Menlo " '( :immediate t)) The following text is an example message when you type M-x moom-font-print-name-at-point. If you don’t know which fonts are used in Emacs frame, you can easily check them by M-x moom-font-print-name-at-point or M-x describe-char on a character. The scaling factors for each font are integrated into face-font-rescale-alist properly. The default values for moom-font-ascii-scale and moom-font-ja-scale are 1.0 and 1.2 respectably.

If you don’t satisfy the automatically configured setting for ASCII and Japanese font, then please set these parameters manually by functions of moom-font-ascii or moom-font-ja.

But moom-font-ascii-scale and moom-font-ja-scale should be configured still manually according to your environment. And if you will never user the font module without deleting moom-font.el, please configure moom-use-font-module to nil before activating moom-mode by (moom-mode 1).įont names for ASCII and Japanese font are now automatically identified without user action when moom-mode is activated. The package is basically provided for the users who rely on Japanese fonts. If the package is installed in your system, then it will be activated automatically. The moom-check-user-margin and moom-update-user-margin will change moom-user-margin in an Emacs session, however, the updated margins will NOT be saved as a permanent value, so please configure the margins in your init.el explicitly for the next session. Therefore, moom.el provides a capability that you can control the actual active region on your screen by setting moom-user-margin in init.el. But the actual work area is probably depends on user environment. And for other system types, it is also automatically configured using combination of frame-monitor-geometry and frame-monitor-workarea when moom-mode is activated. moom-screen-margin (was replaced with moom-check-user-margin)įor macOS users, the default margin is (23 0 0 0).( setq moom-use-font-module nil)) Other functions M-x moom-toggle-font-module can also control if the font module is utilized or not. Just change moom-use-font-module to nil in your init.el. Note - If you find any problems around font settings when resizing the Emacs frame, you can easily disable the feature in moom-font.el. But the behavior can be changed by M-x moom-toggle-font-module.

These functions normally change font size in a frame. moom-change-frame-height-max (moom-fill-height).moom-change-frame-width-max (moom-fill-width).These functions will not change font size in a frame. moom-move-frame-to-centerline-from-right.moom-move-frame-to-centerline-from-left.
MOOM BARII WINDOWS 10
Additionally, tested in Windows 10 and Linux (Ubuntu 20.04 with Emacs 26.3, CentOS 8.2, and openSUSE 15.1) with GTK, but they may still have some issues.
MOOM BARII FULL
Note - This module has basically been tested on macOS High Sierra, Catalina, BigSur, and Monterey with combinations of two Full HD (1920x1080) monitors and one 4K monitor. (moom-mode 1)) A set of commands to control frame position and size by keyboard
