{"id":130133,"date":"2025-07-31T10:29:51","date_gmt":"2025-07-31T01:29:51","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=130133"},"modified":"2025-07-31T10:29:51","modified_gmt":"2025-07-31T01:29:51","slug":"emacs-on-macos-bug","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/emacs-on-macos-bug\/","title":{"rendered":"macOS\u7248Emacs\u306e\u300c\u9045\u3055\u554f\u984c\u300d \u301c\u9ad8\u901f\u306aMac\u307b\u3069Emacs\u304c\u9045\u304f\u306a\u308b\u7406\u7531\u3068\u306f\uff1f\u301c"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2025\/07\/s_20250731-_1005.42.jpg\" alt=\"\" width=\"960\" height=\"600\" class=\"aligncenter size-full wp-image-130134\" \/><\/p>\n<p>\u9577\u5e74Mac\u3067Emacs\u3092\u4f7f\u3063\u3066\u4f7f\u3063\u3066\u3044\u305f\u30e6\u30fc\u30b6\u30fc\u3092\u60a9\u307e\u305b\u3066\u304d\u305f\u300c<strong>jank(\u64cd\u4f5c\u6642\u306e\u91cd\u3055)<\/strong>\u300d\u554f\u984c\u3002Linux\u3084Windows\u3067\u306f\u5feb\u9069\u306b\u52d5\u4f5c\u3059\u308b\u306e\u306b\u3001macOS\u4e0a\u3067\u306f\u6642\u9593\u306e\u7d4c\u904e\u3068\u5171\u306bEmacs\u306eRAM\u4f7f\u7528\u91cf\u304c\u5897\u3048\u3001\u64cd\u4f5c\u304c\u91cd\u304f\u306a\u308a\u3001\u6700\u7d42\u7684\u306b\u306f\u30d5\u30ea\u30fc\u30ba\u3059\u308b\u3053\u3068\u3082\u3042\u308b\u3068\u3044\u3046\u73fe\u8c61\u3067\u3059\u3002<\/p>\n<p>\u958b\u767a\u8005Przemys\u0142aw Alexander Kami\u0144ski\u6c0f\u306f\u3001\u3053\u306e\u554f\u984c\u306e\u6839\u672c\u539f\u56e0\u3092\u8abf\u67fb\u3057\u305f\u30d6\u30ed\u30b0\u8a18\u4e8b\u300c<a href=\"https:\/\/xlii.space\/eng\/emacs-the-macos-bug\/\">Emacs: The MacOS Bug<\/a>\u300d\u3092\u516c\u958b\u3057\u3001Emacs\u30e6\u30fc\u30b6\u30fc\u306e\u6ce8\u76ee\u3092\u96c6\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u539f\u56e0\u306f\u300cNSApp run\u300d\u306e\u526f\u4f5c\u7528<\/h2>\n<p>\u7b46\u8005\u306fmacOS\u5411\u3051\u306eEmacs\u30b3\u30fc\u30c9(\u4e3b\u306b<code>nsterm.m<\/code>)\u3092\u8abf\u3079\u3001\u554f\u984c\u306e\u6839\u6e90\u304c<code>NSApp run<\/code>\u306e\u547c\u3073\u51fa\u3057\u306b\u3042\u308b\u3053\u3068\u3092\u7a81\u304d\u6b62\u3081\u307e\u3059\u3002\u3053\u306e\u51e6\u7406\u306fmacOS\u306e\u30a4\u30d9\u30f3\u30c8\u3092\u51e6\u7406\u3059\u308b\u30e9\u30f3\u30eb\u30fc\u30d7\u3092\u8d77\u52d5\u3057\u307e\u3059\u304c\u3001\u30a6\u30a3\u30f3\u30c9\u30a6\u3084\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306e\u521d\u671f\u5316\u3092\u6bce\u56de\u884c\u3044\u3001\u7279\u306b\u3001HiDPI\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u3084\u9ad8\u6027\u80fdMac\u3067\u306f\u3068\u304f\u306b\u5927\u91cf\u306e\u30e1\u30e2\u30ea\u3092\u6d88\u8cbb\u3057\u307e\u3046\u3053\u3068\u306b\u306a\u308b\u306e\u3067\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u73fe\u8c61\u304c\u767a\u751f\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30a6\u30a3\u30f3\u30c9\u30a6\u30b5\u30a4\u30ba\u5909\u66f4\u3084\u30a4\u30d9\u30f3\u30c8\u51e6\u7406\u306e\u305f\u3073\u306b\u5927\u91cf\u306e\u30e1\u30e2\u30ea\u304c\u78ba\u4fdd\u30fb\u89e3\u653e\u3055\u308c\u308b<\/li>\n<li>Emacs\u5074\u3067\u306f\u4e00\u90e8\u306e\u30ea\u30bd\u30fc\u30b9\uff08\u30d5\u30a9\u30f3\u30c8\u30b0\u30ea\u30d5\u3084\u30e1\u30cb\u30e5\u30fc\u6587\u5b57\u5217\u306a\u3069\uff09\u3092\u6b63\u3057\u304f\u89e3\u653e\u3067\u304d\u305a\u6b8b\u7559<\/li>\n<li>macOS\u306f\u3053\u308c\u3089\u306e\u6b8b\u7559\u30ea\u30bd\u30fc\u30b9\u3092\u300c\u91cd\u8981\u300d\u3068\u8aa4\u8a8d\u3057\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u3057\u3066\u3057\u307e\u3046<\/li>\n<\/ul>\n<p>\u7d50\u679c\u3068\u3057\u3066\u3001\u300c\u901f\u3044Mac\u307b\u3069Emacs\u304c\u9045\u304f\u306a\u308b\u300d\u3068\u3044\u3046\u9006\u8ee2\u73fe\u8c61\u304c\u8d77\u3053\u308a\u307e\u3059\u3002\u3053\u306e\u73fe\u8c61\u306f\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3067\u7c21\u5358\u306b\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>\r\n(dotimes (x 1000)\r\n  (let ((frame (make-frame-command)))\r\n    (sleep-for 0.01)\r\n    (delete-frame frame)))\r\n<\/pre>\n<h2>\u4eca\u5f8c\u306e\u6539\u5584\u7b56<\/h2>\n<p>\u6b8b\u5ff5\u306a\u304c\u3089\u3001\u3053\u306e\u554f\u984c\u306e\u6839\u672c\u89e3\u6c7a\u306f\u5bb9\u6613\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002macOS\u56fa\u6709\u306e\u30b3\u30fc\u30c9\u306f\u8907\u96d1\u3067\u3001\u5909\u66f4\u306b\u306f\u5927\u304d\u306a\u52b4\u529b\u3092\u4f34\u3046\u304b\u3089\u3067\u3059\u3002\u3057\u304b\u3057\u7b46\u8005\u306f\u3001Swift\u306b\u3088\u308bmacOS GUI\u90e8\u5206\u306e\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u3084\u3001\u30b9\u30ec\u30c3\u30c9\u30bb\u30fc\u30d5\u3001\u975e\u540c\u671f\u51e6\u7406\u3001\u52b9\u7387\u7684\u306a\u30e1\u30e2\u30ea\u7ba1\u7406\u306b\u3088\u308b\u6539\u5584\u306b\u671f\u5f85\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/news.ycombinator.com\/item?id=44737676\">Hacker News<\/a>\u3067\u306f\u3001\u3053\u306e\u8a18\u4e8b\u306b\u95a2\u3059\u308b\u8b70\u8ad6\u304c\u884c\u308f\u308c\u3066\u3044\u3066\u3001\u591a\u304f\u306e\u30e6\u30fc\u30b6\u30fc\u304cmacOS\u4e0a\u306eEmacs\u306ejank\u554f\u984c\u306b\u5171\u611f\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u7b46\u8005\u306e\u5206\u6790\u306b\u5bfe\u3057\u3066\u3082\u300c\u3053\u3053\u307e\u3067\u6398\u308a\u4e0b\u3052\u305f\u306e\u306f\u3059\u3054\u3044\u300d\u3068\u3044\u3063\u305f\u6280\u8853\u7684\u306a\u79f0\u8cdb\u304c\u5bc4\u305b\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Emacs\u306e\u4ee3\u66ff\u3068\u3057\u3066 Neovim\u3084VS Code\u3092\u4f7f\u7528\u3059\u308b\u3001\u300c<strong>Emacs\u3092\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u4f7f\u3048\u3070GUI\u306e\u554f\u984c\u306f\u56de\u907f\u3067\u304d\u308b<\/strong>\u300d\u3068\u3044\u3063\u305f \u5b9f\u7528\u7684\u306a\u56de\u907f\u7b56\u3082\u5171\u6709\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u500b\u4eba\u7684\u306b\u306f\u3001\u3053\u308c\u307e\u3067Emacs\u3092\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u3057\u304b\u4f7f\u3063\u3066\u304a\u3089\u305a\u3001macOS\u7279\u6709\u306e\u300cjank\u300d\u554f\u984c\u306b\u306f\u6c17\u304c\u3064\u3044\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u304c\u3001\u8a18\u4e8b\u306e\u304a\u304b\u3052\u3067\u3001\u3053\u306e\u3088\u3046\u306a\u554f\u984c\u304c\u5b58\u5728\u3057\u305f\u3053\u3068\u3092\u521d\u3081\u3066\u77e5\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9577\u5e74Mac\u3067Emacs\u3092\u4f7f\u3063\u3066\u4f7f\u3063\u3066\u3044\u305f\u30e6\u30fc\u30b6\u30fc\u3092\u60a9\u307e\u305b\u3066\u304d\u305f\u300cjank(\u64cd\u4f5c\u6642\u306e\u91cd\u3055)\u300d\u554f\u984c\u3002Linux\u3084Windows\u3067\u306f\u5feb\u9069\u306b\u52d5\u4f5c\u3059\u308b\u306e\u306b\u3001macOS\u4e0a\u3067\u306f\u6642\u9593\u306e\u7d4c\u904e\u3068\u5171\u306bEmacs\u306eRAM\u4f7f\u7528\u91cf\u304c\u5897\u3048\u3001\u64cd\u4f5c\u304c\u91cd\u304f [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":130134,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[4],"tags":[],"class_list":["post-130133","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mac"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/130133","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=130133"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/130133\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/130134"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=130133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=130133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=130133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}