2016-01-01から1年間の記事一覧

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…