Skip to content

Instantly share code, notes, and snippets.

View takaxp's full-sized avatar
🦄
Emacs Org Mode

Takaaki ISHIKAWA takaxp

🦄
Emacs Org Mode
View GitHub Profile
@trueroad
trueroad / README.md
Last active August 31, 2021 12:27
Windows 用 Emacs (Cygwin/MinGW) の manifest を書き換えて UTF-8 対応を改善する実験

Windows 用 Emacs (Cygwin/MinGW) の UTF-8 対応改善実験

https://gist.github.com/trueroad/d309d1931100634c2cd1058a0620c663

Windows 用 Emacs 27.2 は、Unicode に対応していると言えばいるのですが、 一部の機能で Unicode の文字を使うとおかしくなるところがあります。 そこで、Emacs の実行ファイルをムリヤリ書き換えて Active Code Page を CP65001 (UTF-8) に変更することにより、 改善ができないか実験してみます。

@AllenDang
AllenDang / gccemacs.md
Last active August 15, 2023 15:45
Build gccemacs on MacOS catalina with gcc 10 installed by homebrew.
;;; -*-coding: utf-8-with-signature; -*-
/*
AutoHotKey 1.1.27 以降必須
スクリプトをコンパイルしたファイルと同じ場所にStartEmacs.iniを作成。内容は次のとおり。
[path]
emacs=<runemacs.exeのパス>
@dive
dive / fix-emacs-permissions-catalina.el
Created September 29, 2019 09:55
Fix Emacs permissions on macOS Catalina
;;; package --- Fix permissions for Emacs.app on macOS Catalina
;;; Author: Artem Loenko
;;; Mail-To: <artyom.loenko@mac.com>
;;; 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))
@fuxialexander
fuxialexander / 0_all_webkit.patch
Last active October 7, 2018 08:46
One-stop patch for Emacs NS-port xwidget (by @veshboo)
From 2063aad860376419d899d1ae06ccb7daf56ef9ef Mon Sep 17 00:00:00 2001
From: Jaesup Kwak <veshboo@gmail.com>
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.
@mgkennard
mgkennard / agenda.30m.sh
Created March 1, 2018 14:51
BitBar plugin to display today's Org-mode agenda
#!/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"
@cbilson
cbilson / ob-powershell.el
Created February 6, 2018 03:27
Rough draft: execute poweshell from emacs src blocks
;;; 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)