Disable Git-Bash case-insensitive completion

Open git bash or command prompt as Admin Go to C:\Program Files\Git\etc Open inputrc file Change default completion-ignore-case value as below --- inputrc.old 2019-12-13 20:32:51.577869500 +0900 +++ inputrc 2019-12-13 20:32:40.337057100 +0…

zipパーサに関するメモ

仕事で zipファイルを展開せずバイナリのまま構造解析する可能性があったため, zipの仕様を調べていました. 仕様については Wikipedia(日本語版は今ひとつわからなかったところがあったので英語版をメインで見た方がよいと思います)等を参照してください. で…

Emacs実践入門 改訂新版を読みました.

gihyo.jp tomoyaさんから献本頂きました. ありがとうございます. 紙で置いておきたいというのと若干申し訳ないというのもあり紙版も購入しました. 感想 「実践」とつくように実践な内容です. 操作, 設定, 拡張の 3つのパートから構成されていますが, どれも…

転職して 1年と 2ヶ月ほど経った

なかなか忙しい日々を過ごしています. 仕事内容 具体的なことを書いていいのかわからないので雑に書きますが… サーバプログラム(APIサーバ)を Goで書いた 初めての仕事でのサーバプログラムであったが, APIサーバで JSON返すだけなので, そこまで大きな苦労…

激遅回線の改善

東京へ引っ越してきてマンションでのネット契約方法がよくわからず不動産屋からいただいた資料にあった Sonetと契約(100Mbps)したがこれがどうにもこうにも激遅である. 人があんまりいない時間だと普通に使えるんだけど, 夜とか 10年前かってレベルの遅さだ…

macOS Sierraにアップグレードした際のメモ

今更手持ちの macOSを Sierraにアップグレードした. karabinerで IMEのトグルとキーリピートだけ変えていたので使えなくなってしまったので自分が行った対応のメモ キーリピートの変更 知らなかったけど, コマンドライン経由であれば System Preference以上…

Visual Studio(C++)セットアップ

Visual Studioで C++を書く際の設定メモ メニュー等を英語にする 使い方を調べるときなど, Stackoverflow等を見るわけですが, 日本語だと圧倒的に情報が少ないので英語にする. やり方は英語の言語パッケージをインストールして使用言語を英語にすればよい. …

company-cmakeで大文字, 小文字を考慮した補完をする

company-cmake(標準)でディレクティブ(関数, キーワード等)を補完すると全部小文字になる. カーソル前の文字列(prefix)が大文字だろうと小文字に変換されてしまう. プロジェクトによっては大文字でディレクティブが書かれていることがあり, 補完後わざわざ u…

Switch from paco to porg

Ubuntuでソースコードからインストールしたパッケージは pacoで管理していたんですが, Ubuntu16.10で pacoが削除されてしまったため porgへ移行しました. データベースの移管 paco2porgを使う. pacoをインストールして dist-upgradeした場合 paco2porgが自動…

Patch for building Emacs on Ubuntu 16.10

I upgraded my server Ubuntu from 16.04 to 16.10. Then I couldn't build Emacs. I got following error at make Dumping under the name emacs Makefile:736: recipe for target 'bootstrap-emacs' failed make[1]: *** [bootstrap-emacs] Segmentation f…

MELPAコミッタになりました

パッケージのレビューをしまくり, そのパッケージに PRをしまくっていたら,コミット権限をいただきました.(個人的には el-getユーザで MELPAをテスト向けのパッケージぐらいにしか使っていないのですが...). パッケージを MELPAで登録したいけどよくわからな…

libpcre binding of Emacs Lisp

I'm writing libpcre binding of Emacs Lisp. Most of programmers is not familiar with Emacs Lisp regular expression because regular expression function or library of many languages has compatibility of Perl regular expression. I suppose such…

Get key binding from command

Sometimes I want to get key bindings of command for implementing like following command. Please see mini-buffer. (where-is-internal func &optional map ...) where-is-internal returns list of keys of command(func) from map. For example (wher…

visible-bellの画像を差し替える

Emacs 25から Macの visible-bellが画像を表示するようになったのでデフォルトの画像から差し替えてみた. パッチ Emacs25.1-RC1に対するパッチです. diff --git a/src/nsterm.m b/src/nsterm.m index e6a10b8..9a54886 100644 --- a/src/nsterm.m +++ b/src/…

DeNAに入社しました

7月 1日から DeNAで働くことになりました. オフィスは渋谷オフィスです. きっかけは私がストレス溜まりまくっていた時期に Twitterの名前欄に「求職中」と書いていた(非常識な行為で, 前の会社には申し訳なく思います)ときにお声がけをいただいたことです. …

退職しました

本日付で 8年と 3ヶ月勤務した組込み系の会社を退職しました. 退職理由 しんどかった 今のままではこの先やっていけないと思った 一番大きな理由はしんどくて自分のための自由な時間が確保しづらかったこと. 経営的な問題から少人数で多くの仕事をやらざるを…

Show current timer task in header line

(require 'org) (require 'org-timer) (require 'cl-lib) (defvar my/org-timer-current-task nil) (defun my/org-timer-start-hook () (setq my/org-timer-current-task (nth 4 (org-heading-components))) (cl-loop for buf in (buffer-list) unless (stri…

表示されなくなった通知エリアの Dropboxのアイコンを表示させる

だいぶ前からだけど, Dropboxのアイコンが表示されなくなっていた(左から二つめのアイコン). ずっと意味不明なアイコンが表示されているなぁと思っていたけど, 何のアイコンかわからなかったので放置していました. で, 今日 Dropboxということに気づいてそれ…

quickrun supports gnuplot

github.com quickrun.el supports Gnuplot file. You can see output of plot as image in other buffer. NOTE: This mode is supported only for GUI Emacs. Please report me if you have any problems or suggestions.

emacs-jp slack

https://slack-emacs-jp.herokuapp.com/ 参加したい方はこちらからどうぞ.

fluentd-mode

tagomoris.hatenablog.com 昔なんとなく書いたものを apache-modeを参考に改善しました. github.com 問題点, 要望等ありましたら github issuesまで知らせていだけると大変助かります.

inline image in markdown-mode

github.com I have implemented inline image feature in markdown-mode. You can see image file in buffer by M-x markdown-toggle-inline-images command. This command is bound to C-c C-i C-t by default. You cannot use this feature in no GUI Emac…

Data::MessagePack 0.49_01 released

https://metacpan.org/release/SYOHEX/Data-MessagePack-0.49_01 I have released Data::MessagePack 0.49_01. This version support Str/Bin type which is new types in new MessagePack specification. Please report me via github issues if you have a…

Spell checking with misspell command from Emacs

https://github.com/client9/misspell misspell command outputs like grep. So we can use it with compile interface. (defun misspell () (interactive) (compile (format "misspell %s" (file-name-nondirectory (buffer-file-name)))))

vc-mode-line

最近知ったのですが, vc-modeが mode-lineに表示している情報(VCS+branch名: gitリポジトリであれば Gitとmasterを表示)はファイルが前のコミットから変更されている場合と されていない場合で異なります. わかりづらいですが, 変更がない場合 VCSとブランチ…

Emacs Lispで socketプログラミング

http://mattn.kaoriya.net/software/vim/20160129114716.htm Emacsが socket使えることは知っていたが, 使ったことがなかったので書いてみました. コード (require 'json) (let ((proc (open-network-stream "test" (get-buffer-create "*test*") "localhost…

Emacsで手動スクレイピング

元ネタ http://qiita.com/muran001/items/7a76a1c70aa12ed68cb6 はてぶのページからリンクを取得する Vimほど楽ではない気がするが一応 M-x browse-url-emacs [RET] http://b.hatena.ne.jp/ctop/it ;; windowを切り替え, read-only-modeを解除 M-x replace-r…

2015年を振り返る

ある日, 古い Emacsパッケージを使おうとしたとき全然動かなくて, 動くための PRを送ったんですが, そのとき他のも動くのかなと古いやつを片っ端からダウンロードし, 試してみたらいろいろ問題が見つかり PRしまくっていました. それで妙に草が生えてしまっ…

ejectで学ぶ Dynamic module機能

Dynamic module機能は 2015年 12月 12日現在開発中の機能です(だいぶ落ち着いてはきていますが). なので以下の内容は最新版では正しくない可能性があります. 動かない場合等はソースコード及び modules以下に含まれるテストコードを確認してみてください. リ…

Suppress warning of exec-path-from-shell

Sorry I removed old entry about this thing by mistake. This entry is updated version of it. Add following configuration in your init.el. Then exec-path-from-shell does not warn about environment variables. (custom-set-variables '(exec-path…