Shammer's Philosophy

My private adversaria

2015-11-01から1ヶ月間の記事一覧

read-line-with-message on Lisp

There are a lot of cases that waiting user input from STDIN after show some messages. Terminal output likes below on that case. What your name?: Waiting user input can be done with read or read-line on Lisp, but we have to use other functi…

Lisp selective box ver 20151124?

どのように呼べばいいかわからないのでこういうタイトルにしてみた。何らかの入力を伴うプログラムで、無効な値が入力された際には有効な値が入力されるまで繰り返し入力を促したい、という場合がある。全て網羅するのは大変なので、手始めに項番と項目のペ…

I begin to use Debian Jessie instead of Mac

I saw jessie's package list and know that Emacs installed by apt-get is 24.4 uim-skk supports sticky shift on Jessie I give importance those points. I have struggled to install uim-skk supported sticky-shift on wheezy, but I couldn't do it…

Karabiner Configuration Memo ver 20151116

Mac

My private.xml <root> <list> <item> <name>Disable all settings when using Emacs</name> <identifier>private.emacs_passthrough</identifier> <appendix>(Using __PassThrough__ and only)</appendix> <only>EMACS</only> <autogen>__PassThrough__</autogen> </item> <item> <name>Disable all…</name></item></list></root>

Both 0 and 1 are not integer on Lisp?

I found a wonder point on Lisp. Comparing a valuable type returned unexpected result. This unexpected thing happened when comparing the type of 1 and 2. I expected the type of them is equal. But this is not correct. ? (equal (type-of 1) (t…

Read string from STDIN on shell

There is a command line tool whose name is read. This enables to read a string from STDIN. This requires several aruguments, and those arguments are used to save strings from STDIN. This is a sample. echo "What is ticket name?"; read NAME;…

Debian 7.9 installed into Lenovo X1 Carbon

I installed Debian wheezy 7.4 into my laptop and wrote the article, Lenovo X1 Carbon へ wheezy 7.4 をインストール - Shammerism. At that time, wifi firmware is located at the USB memory root directory. But, this location seems to be changed…