Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
すべてのバッファの内容を出力する Emacs の拡張機能はありますか? JSON や XML を出力するものに特に興味があります。JavaScript を使用してブラウザー環境で Emacs セッション用のフロントエンドを構築したいと考えています。
を使用して必要なものをすべて見つけることができますM-x apropos RET buffer RET。いくつかのハイライト:
M-x apropos RET buffer RET
buffer-list
with-current-buffer
buffer-string
JSON 部分については、jsonパッケージ、特にそのjson-encode機能を使用します。
json
json-encode
mcさまざまな入力ファイルで何千回も実行したいというコードがあります。コードを呼び出すには、次のように入力します。
mc
./mc -sim my_input_file
そのプログラムを何千回も実行できるようにする小さな補助プログラムを作成したいと思