Thank you for the bug report
Bug description
Emacs version
GNU Emacs 32.0.50
Development version 233b00a683a1 on master branch;
Configuration
(use-package doom-modeline
:ensure t
:init
(setq doom-modeline-icon t
doom-modeline-major-mode-icon t)
:config
(doom-modeline-mode 1))
describe
在emacs-mirror/emacs@c6c4888 这次提交后,set-mark-command被干扰,上下无法选择,左右没问题。将doom-modeline-string-pixel-width改动后修复。
(with-eval-after-load 'doom-modeline-core
(defun doom-modeline-string-pixel-width (str)
"Return the width of STR in pixels using safe math calculation."
(* (string-width str)
(window-font-width nil 'mode-line)
(if (display-graphic-p) 1.05 1.0))))
Steps to reproduce
如上复刻
Expected behavior
set-mark-command可以上下选择。
OS
Linux
Emacs Version
31
Emacs Configurations
No response
Error callstack
Anything else
No response
Thank you for the bug report
doom-modelinerelated packages.the command
emacs -Q.Bug description
Emacs version
GNU Emacs 32.0.50
Development version 233b00a683a1 on master branch;
Configuration
describe
在emacs-mirror/emacs@c6c4888 这次提交后,set-mark-command被干扰,上下无法选择,左右没问题。将doom-modeline-string-pixel-width改动后修复。
Steps to reproduce
如上复刻
Expected behavior
set-mark-command可以上下选择。
OS
Linux
Emacs Version
31
Emacs Configurations
No response
Error callstack
Anything else
No response