https://gist.github.com/trueroad/d309d1931100634c2cd1058a0620c663
Windows 用 Emacs 27.2 は、Unicode に対応していると言えばいるのですが、 一部の機能で Unicode の文字を使うとおかしくなるところがあります。 そこで、Emacs の実行ファイルをムリヤリ書き換えて Active Code Page を CP65001 (UTF-8) に変更することにより、 改善ができないか実験してみます。
https://gist.github.com/trueroad/d309d1931100634c2cd1058a0620c663
Windows 用 Emacs 27.2 は、Unicode に対応していると言えばいるのですが、 一部の機能で Unicode の文字を使うとおかしくなるところがあります。 そこで、Emacs の実行ファイルをムリヤリ書き換えて Active Code Page を CP65001 (UTF-8) に変更することにより、 改善ができないか実験してみます。
Fortunatly we could use pre-built gccemacs right now.
Those two repos did the greate job for us.
https://github.com/twlz0ne/nix-gccemacs-darwin
https://github.com/twlz0ne/nix-gccemacs-sierra
Here is the tutorial:
| ;;; -*-coding: utf-8-with-signature; -*- | |
| /* | |
| AutoHotKey 1.1.27 以降必須 | |
| スクリプトをコンパイルしたファイルと同じ場所にStartEmacs.iniを作成。内容は次のとおり。 | |
| [path] | |
| emacs=<runemacs.exeのパス> |
| ;;; package --- Fix permissions for Emacs.app on macOS Catalina | |
| ;;; Author: Artem Loenko | |
| ;;; Mail-To: <[email protected]> | |
| ;;; Commentary: | |
| ;;; Code: | |
| (defconst _default-emacs-app-plist-path "/Applications/Emacs.app/Contents/Info.plist") | |
| (defconst _temp-buffer-name "*fixing Emacs permissions*") | |
| (defconst _temp-buffer (get-buffer-create _temp-buffer-name)) | |
| (with-current-buffer _temp-buffer (erase-buffer)) |
| From 2063aad860376419d899d1ae06ccb7daf56ef9ef Mon Sep 17 00:00:00 2001 | |
| From: Jaesup Kwak <[email protected]> | |
| Date: Mon, 4 Dec 2017 21:23:19 +0900 | |
| Subject: [PATCH] Support xwidget webkit for macOS X | |
| Add xwidget webkit support for macOS X / NS Cocoa and accompanying | |
| changes. | |
| Squash changes for comments from Alan Third in Bug#29565. |
| #!/usr/bin/env bash | |
| # <bitbar.title>Agenda</bitbar.title> | |
| # <bitbar.version>v1.0</bitbar.version> | |
| # <bitbar.author>Matthew Kennard</bitbar.author> | |
| # <bitbar.author.github>mgkennard</bitbar.author.github> | |
| # <bitbar.desc>Shows the Org-mode agenda</bitbar.desc> | |
| # <bitbar.dependencies>bash</bitbar.dependencies> | |
| echo "Today" |
| ;;; ob-powershell.el --- org-babel functions for powershell evaluation | |
| ;; Authors: Chris Bilson | |
| ;; Keywords: literate programming, reproducible research | |
| ;; Homepage: http://orgmode.org | |
| ;;; Commentary: | |
| ;; Org-Babel support for evaluating powershell source code. |
| (require 'org-table) | |
| (require 'org-clock) | |
| (defun clocktable-by-tag/shift-cell (n) | |
| (let ((str "")) | |
| (dotimes (i n) | |
| (setq str (concat str "| "))) | |
| str)) | |
| (defun clocktable-by-tag/insert-tag (params) |