by shigemk2

当面は技術的なことしか書かない

2018-01-29から1日間の記事一覧

Emacs format-sql

Emacs 25.3 Python 2.7.13 (pyenv) Emacsでこういったものを sql = """ SELECT country, product, SUM(profit) FROM sales left join x on x.id=sales.k GROUP BY country, product having f > 7 and fk=9 limit 5; """ こうするためのものであって、 sql = …

Emacs shell-command

shell-command (shell-command COMMAND &optional OUTPUT-BUFFER ERROR-BUFFER) (shell-command "echo 1") -- returns 0 -- Shell Command Output というバッファに結果が出力される http://www.nongnu.org/emacsdoc-fr/manuel/shell.html