by shigemk2

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

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

Emacs Coding-Systems

Emacs Coding-Systems suffixは、いろいろあるっぽい ...-unix ...-dos ...-mac https://www.gnu.org/software/emacs/manual/html_node/emacs/Coding-Systems.html

JSON_AS_ASCII

JSON_AS_ASCII JSONの中の文字(non ASCII)をASCIIにエンコードしない。 By default Flask serialize object to ascii-encoded JSON. If this is set to False Flask will not encode to ASCII and output strings as-is and return unicode strings. jsonify…

Emacs let*

Emacs let* letとlet*はちがうよって話。 (setq x 1) ;;; letは同時にバインドされるので外側のxを参照する (let ((x (+ x 3)) (y (+ x 2))) ; この時点でのxは1 (+ x y)) ; => 7 ;;; let*は直前のローカル変数代入の影響を受ける (let* ((x (+ x 3)) (y (+ …