yaottiの日記

2009-10-08

今日のelisp

14:53

簡単なもの

;; delete current opening file
(defun delete-current-buffer-file ()
  (interactive)
  (let ((file-name (buffer-file-name (current-buffer))))
    (if (y-or-n-p (format "Really delete file %s? " file-name))
        (progn
          (delete-file file-name)
          (message (format "%s has been deleted." file-name))))))

;; kill buffers except for *scratch* and *Message*
(defun kill-all-buffers ()
  (interactive)
  (dolist (buf (buffer-list))
    (kill-buffer buf))
  (cd "~"))

あとuniquifyを入れた.

;; installed uniquify
(require 'uniquify)
(setq uniquify-buffer-name-style 'post-forward-angle-brackets)

uniquifyを入れたおかげで,anythingでのバッファ切り替え時に同じ名前のファイルが複数あってもディレクトリ名で一意に識別できるようになった.

というか重複関係なく,常にuniquify形式のバッファ名にすればいいのかもしれないけど.

VanilzaVanilza2012/06/06 13:50Pay-as-you-go never existed. And it is not a very sound pocliy, anyway.One problem is that one party would prefer to cut the budget to make ends meet, while the other would prefer to add taxes. That's a problem.Another problem is that there are always events that occur that would throw the budget out of balance. Every time there is a natural disaster, say, in Haiti or because of a hurricane, is it reasonable or rational to have to cut the budget or increase taxes to pay for the money spent on that? I contend it is not.PAYG is just another cop-out by Congresscritters who are afraid to make hard budget decisions and live (and be re-elected or not) by them. The biggest job of the Congress is to make those hard budget decisions and to be strong protectors of the public treasury. And in this biggest job, they have failed and failed miserably, not the least of which is that they do not want to be held responsible for making hard budget decisions that might harm their re-election chances.Debt is not necessarily evil, if it is kept within reason. The biggest cause of debt is government spending, especially the ever-increasing costs of the entitlements which are of dubious constitutionality at best.

atklprbqjccatklprbqjcc2012/06/07 04:43jH0Thb <a href="http://wolwvzejjyzq.com/">wolwvzejjyzq</a>

hyndpjjhyndpjj2012/06/07 10:11fqP612 , [url=http://slnuvicxmkva.com/]slnuvicxmkva[/url], [link=http://zawszkuhxfio.com/]zawszkuhxfio[/link], http://hgibvzobcesv.com/

aqfvsltaqfvslt2012/06/13 06:157nmjJQ , [url=http://zgnayllcmjja.com/]zgnayllcmjja[/url], [link=http://jinaitgsdplj.com/]jinaitgsdplj[/link], http://dlacealyglou.com/

BoyBoy2013/12/20 23:09To make money online you need kndwgeole , you need to know how , its very easy but you just need to know it ? Earning money online is just like earning money offline.Internet is just a medium that we use to do bussiness.I'm saying that anyone can make money online but you need to know how to do it ? You need to learn it and it will take time , it took me 2 years until I could earn $ 500+ everyday and I'm just 17 .If you want to make quick money right away , join this paid survey surveyscout.url-site. comits really good and I'm also doing this one , you can make more than $ 100 per day easily .another way is sell on ebay , if you don't have anything to sell, do you think all those powersellers have products to sell ? they also don't have , infact more than 50% of ebay sellers use dropshipper to sell .I would recommend salehoo.url-go. com , its the best dropshipper I have ever use and now also I'm selling soccer gears on ebay using this dropshipper.I hope I have help you , you can mail me if you want to ask anything regarding earning money online and I will be glad i could help you.jack Was this answer helpful?