From f6c94564e8c08800e38018ccccca22b92e162097 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 4 Oct 2012 20:59:37 +0900 Subject: [PATCH 1/4] add darwin updatfiles.sh --- darwin/updatefiles.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 darwin/updatefiles.sh diff --git a/darwin/updatefiles.sh b/darwin/updatefiles.sh new file mode 100755 index 0000000..9bc8a63 --- /dev/null +++ b/darwin/updatefiles.sh @@ -0,0 +1,8 @@ +port echo requested >port.lst + +for f in /opt/local/etc/macports/variants.conf +do + test -r $f && cp -vu $f . +done + + From 37ad7a55f1e9334edeb9bd41219ce3770f192bbf Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Fri, 5 Oct 2012 02:29:53 +0900 Subject: [PATCH 2/4] remove some comment ext provided by builtin-command-ext --- _keysnail.js | 39 +-------------------------------------- 1 file changed, 1 insertion(+), 38 deletions(-) diff --git a/_keysnail.js b/_keysnail.js index 7ad7914..dfda27d 100644 --- a/_keysnail.js +++ b/_keysnail.js @@ -222,16 +222,8 @@ ext.add("strong-fullscreen", function(){ }, "go fullscreen with hiding toolbar and tabbar"); -// ext.add("open-url-from-clipboard", function(){ -// var list = command.getClipboardText().split("\n"); -// for(var i = 0; i < list.length; i++){ -// if(list[i] != ""){ -// gBrowser.loadOneTab(list[i], null, null, null, false); -// } -// } -// }, "open tabs of newline separated url list from clipboard"); - ext.add("list-page-url", function(){ + // window.content.document.links var urls = []; var aa = window.content.document.getElementsByTagName("a"); var text = ""; @@ -429,35 +421,6 @@ ext.add("restart-firefox-add-menu", function(){ menu.appendChild(menuelm); }, "add restart firefox menu"); -////////////////////////////////////// -// restart firefox -// http://keysnail.g.hatena.ne.jp/Shinnya/20100723/1279878815 -// ext.add("restart-firefox",function (ev) { -// const nsIAppStartup = Components.interfaces.nsIAppStartup; -// // Notify all windows that an application quit has been requested. -// var os = Components.classes["@mozilla.org/observer-service;1"] -// .getService(Components.interfaces.nsIObserverService); -// var cancelQuit = Components.classes["@mozilla.org/supports-PRBool;1"] -// .createInstance(Components.interfaces.nsISupportsPRBool); -// os.notifyObservers(cancelQuit, "quit-application-requested", null); -// // Something aborted the quit process. -// if (cancelQuit.data) -// return; -// // Notify all windows that an application quit has been granted. -// os.notifyObservers(null, "quit-application-granted", null); -// // Enumerate all windows and call shutdown handlers -// var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"] -// .getService(Components.interfaces.nsIWindowMediator); -// var windows = wm.getEnumerator(null); -// while (windows.hasMoreElements()) { -// var win = windows.getNext(); -// if (("tryToClose" in win) && !win.tryToClose()) -// return; -// } -// Components.classes["@mozilla.org/toolkit/app-startup;1"].getService(nsIAppStartup) -// .quit(nsIAppStartup.eRestart | nsIAppStartup.eAttemptQuit); -// }, "restart firefox"); - ///////////////////////////////////////// // copy feed url ext.add("copy-url", function () { From b4646e315885fdf773fe27e449361bb03a2abba9 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sun, 7 Oct 2012 12:00:16 +0900 Subject: [PATCH 3/4] do not uninstall leaves when pupgrade, it removes packages that are needed for compile --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc b/bashrc index dbd04f2..2c463d6 100755 --- a/bashrc +++ b/bashrc @@ -190,7 +190,7 @@ null type apt-get && \ alias aupgrade="sudo apt-get autoremove --yes && sudo apt-get update --yes && sudo apt-get upgrade --yes" null type port && \ alias port="port -v" - alias pupgrade="sudo port -v selfupdate && { sudo port -v upgrade outdated; sudo port -v uninstall leaves; }" + alias pupgrade="sudo port -v selfupdate && { sudo port -v upgrade outdated; }" if iscygwin; then null type windate || alias windate="/c/Windows/System32/cmd.exe //c 'echo %DATE%-%TIME%'" From 5b26381f334cb51cdd6605ce00561a765d0e5ea7 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 9 Oct 2012 02:29:35 +0900 Subject: [PATCH 4/4] add sexps about fci-mode, but now it is disabled --- emacs.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/emacs.el b/emacs.el index e22913c..9fce05b 100644 --- a/emacs.el +++ b/emacs.el @@ -370,6 +370,13 @@ drill-instructor.el" ) (global-whitespace-mode t)) +(and nil + (dllib-if-unfound + "http://www.emacswiki.org/emacs/download/fill-column-indicator.el" + t) + (require 'fill-column-indicator nil t) + (setq fill-column-indicator)) + ;; highlight current line ;; http://wiki.riywo.com/index.php?Meadow (defface hlline-face