emacs
github.com Emacs 29に yank-media という機能が追加されて clipboardにあるデータを各モードで自由にハンドリングできるようになった. VSCodeで markdownを書いているときに画像をペーストすると inline linkが挿入されますが、それと同じようなことができ…
たまに Emacsでコード書いているときに, eglotが自動フォーマットするのがうざいとので方法を調べた。基本はフォーマッタ使って整形しているのでエディタで意図せぬタイミングで整形をされるとイラッとするので、無効化しておいた。 (setq eglot-ignored-ser…
はじめに 最近まともに追っていなかったから存在さえ知らなかったのだけど、markdown-modeの issueでそういう機能があってどういうものかと使い方を調べてみた. 機能 特定のコマンドのグループを連続でお手軽に実行するための仕組み. 例えば移動系コマンドで…
github.com markdown-mode に markdown-fontify-whole-heading-line flagを実装した. 機能としては org-fontify-whole-heading-line と同じで, non-nilの場合 header lineを丸々一行色付けできるようになる. 特に emacs 27で追加された faceの extend 属性を…
company-cmake(標準)でディレクティブ(関数, キーワード等)を補完すると全部小文字になる. カーソル前の文字列(prefix)が大文字だろうと小文字に変換されてしまう. プロジェクトによっては大文字でディレクティブが書かれていることがあり, 補完後わざわざ u…
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…
パッケージのレビューをしまくり, そのパッケージに PRをしまくっていたら,コミット権限をいただきました.(個人的には el-getユーザで MELPAをテスト向けのパッケージぐらいにしか使っていないのですが...). パッケージを MELPAで登録したいけどよくわからな…
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…
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…
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/…
(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…
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.
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…
http://mattn.kaoriya.net/software/vim/20160129114716.htm Emacsが socket使えることは知っていたが, 使ったことがなかったので書いてみました. コード (require 'json) (let ((proc (open-network-stream "test" (get-buffer-create "*test*") "localhost…
Dynamic module機能は 2015年 12月 12日現在開発中の機能です(だいぶ落ち着いてはきていますが). なので以下の内容は最新版では正しくない可能性があります. 動かない場合等はソースコード及び modules以下に含まれるテストコードを確認してみてください. リ…
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…
I ported all color-theme themes(over 100 themes) to Emacs theme framework 2 years ago. Now those themes are available on MELPA. You can download themes with package.el. Package name is color-theme-modern. Repository All sreenshots are here…
https://github.com/defunkt/coffee-mode/pull/323 I have implemented indentation like python-mode in coffee-mode. You can enable this feature by setting coffee-indent-like-python-mode to non-nil. (custom-set-variables '(coffee-indent-like-py…
I have implemented delete line feature in helm-ag edit mode. We can put delete line mark by C-c C-d, and remove delete mark by C-c C-u by default. Marking some lines and commit(C-c C-c by default), then these lines are deleted. Please repo…
hcl-mode 0.01 is out. hcl-mode provides major mode of HCL(Hashicorp Configuration Language). Currently hcl-mode provide indentation, highlighting, some cursor moving commands. If you have any issues or suggestions, please report me via git…
We can input command line options at helm-do-ag as following Gif animation. If you want to use pattern which starts with -, please use -- separator.
Run named daemon Emacs --daemon command line option can accept name argument(like --daemon=server1). % emacs --daemon=vim -Q % emacs --daemon=atom -Q Sending S-expression via emacsclient And we can specify server by -s(--socket-name) optio…
We can use emoji fonts other than MacOSX platform. (However MacOSX fonts is good looking :-() Installing Symbola font http://zhm.github.io/symbola/ Download Symbola.ttf and put it into fonts directory such as ~/.fonts. % cd ~/.fonts % curl…
Repository https://github.com/syohex/emacs-ac-racer How to use Install rust(https://www.rust-lang.org/install.html) Install racer(https://github.com/phildawes/racer) (defun my/racer-mode-hook () (ac-racer-setup)) (add-hook 'racer-mode-hook…
ac-emoji registered MELPA ac-emoji registered MELPA. You can download ac-emoji by package.el now.
I uploaded ac-emoji to github. This package provides auto-complete source of Emoji. Image Repository https://github.com/syohex/emacs-ac-emoji I test only MacOSX. Sample configuration I think this package is useful for writing Markdown or g…
I recommend you to use company-mode for auto completion of Elixir programming. I created ac-alchemist which is auto-complete source of alchemist. Because alchemist provides only company-mode completion. alchemist often changes its API freq…
evil-textobj-line is Emacs port of @kana1's vim-textobj-line. evil-text-obj-line provides functions which select portion of current line. Repository https://github.com/syohex/evil-textobj-line Demo a line("val") a-line selects whole curren…
helm-find-files is useful command for opening files in current directory. However I have some complaints for it. - I want to see only files, not directories(., .. etc). - I don't want to open binary files - I use only some actions(open fil…
例1 minibufferにフォーカスが移ったときに一時的に大きくするようにする. (add-hook 'minibuffer-setup-hook 'my-minibuffer-setup) (defun my-minibuffer-setup () (setq-local face-remapping-alist '((default :height 2.0)))) イメージ 例2 minibuffer-…