LoginSignup
4
3

More than 5 years have passed since last update.

init.el読書会に自動参加

Last updated at Posted at 2016-02-15

Emacs JP では,毎週土曜日の夜10時から lingr にて init.elの読書会 が開催されています.

いつも参加するのを忘れてしまうので,Emacsを使っている限り自動参加するように設定してみます.漢は黙ってEmacs.

(run-at-time "22:00" nil
             '(lambda ()
                (when (and (string= "Sat" (format-time-string "%a"))
                           (require 'lingr nil t))
                  (lingr-login))))

すでに lingr のアカウントがあり,lingr.el を使えるのが前提です.

lingr.el の設定では,次のように username と password が必要です.init.el を公開している人は,設定したファイルを誤ってインターネットに公開しないように留意しましょう.

(with-eval-after-load "lingr"
  (setq lingr-username "****@****.****"
        lingr-password "********"))

その他,アイコン表示などを設定できます.

(with-eval-after-load "lingr"
   (setq lingr-icon-mode t)
   (setq lingr-icon-fix-size 24)
   (setq lingr-image-convert-program "/usr/local/bin/convert"))

なお,ログアウトは lingr-logout にて.

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3