<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Da&#039;s recipes on Emacs, IT, and more</title>
	<atom:link href="http://zhangda.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://zhangda.wordpress.com</link>
	<description>Da Zhang&#039;s web notes</description>
	<lastBuildDate>Thu, 01 Dec 2011 15:12:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='zhangda.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Da&#039;s recipes on Emacs, IT, and more</title>
		<link>http://zhangda.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://zhangda.wordpress.com/osd.xml" title="Da&#039;s recipes on Emacs, IT, and more" />
	<atom:link rel='hub' href='http://zhangda.wordpress.com/?pushpress=hub'/>
		<item>
		<title>tried org2blog mode successfully</title>
		<link>http://zhangda.wordpress.com/2011/03/29/tried-org2blog-mode-successfully/</link>
		<comments>http://zhangda.wordpress.com/2011/03/29/tried-org2blog-mode-successfully/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 20:30:00 +0000</pubDate>
		<dc:creator>zhangda</dc:creator>
		
		<guid isPermaLink="false">http://zhangda.wordpress.com/2011/03/29/tried-org2blog-mode-successfully/</guid>
		<description><![CDATA[Following the blog of Gabriel Saldana &#8220;Post to WordPress blogs with Emacs &#38; Org-mode&#8221; at http://blog.nethazard.net/post-to-wordpress-blogs-with-emacs-org-mode/#utm\_source=feed&#38;utm\_medium=feed&#38;utm\_campaign=feed I tested the org2blog mode. The set up is a little different from what was described in the above post: I put the following code in my .emacs file: (require &#8216;org2blog-autoloads) (setq org2blog/wp-blog-alist &#8216;((&#8220;wordpress&#8221; :url &#8220;http://username.wordpress.com/xmlrpc.php&#8221; :username &#8220;username&#8221; :tags-as-categories [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhangda.wordpress.com&amp;blog=7259137&amp;post=182&amp;subd=zhangda&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Following the blog of Gabriel Saldana &#8220;Post to WordPress blogs with Emacs &amp; Org-mode&#8221; at  <a href="http://blog.nethazard.net/post-to-wordpress-blogs-with-emacs-org-mode/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">http://blog.nethazard.net/post-to-wordpress-blogs-with-emacs-org-mode/#utm\_source=feed&amp;utm\_medium=feed&amp;utm\_campaign=feed</a> I tested the org2blog mode.  </p>
<p> The set up is a little different from what was described in the above post: I put the following code in my .emacs file: </p>
<p> (require &#8216;org2blog-autoloads) (setq org2blog/wp-blog-alist &#8216;((&#8220;wordpress&#8221; :url &#8220;<a href="http://username.wordpress.com/xmlrpc.php">http://username.wordpress.com/xmlrpc.php</a>&#8221; :username &#8220;username&#8221;    :tags-as-categories nil))) </p>
<p> You have to substitute the &#8220;username&#8221; with your actual username of wordpress. </p>
<p> To use the org2blog, you can M-x org2blog/wp-login first, and then M-x org2blog/wp-new-entry. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zhangda.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zhangda.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zhangda.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zhangda.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zhangda.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zhangda.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zhangda.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zhangda.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zhangda.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zhangda.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zhangda.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zhangda.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zhangda.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zhangda.wordpress.com/182/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhangda.wordpress.com&amp;blog=7259137&amp;post=182&amp;subd=zhangda&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zhangda.wordpress.com/2011/03/29/tried-org2blog-mode-successfully/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0b22a89d386c5b35940c9773da573dd6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhangda</media:title>
		</media:content>
	</item>
		<item>
		<title>updated switch-color-theme-matlab-latex.el</title>
		<link>http://zhangda.wordpress.com/2011/03/17/updated-switch-color-theme-matlab-latex-el/</link>
		<comments>http://zhangda.wordpress.com/2011/03/17/updated-switch-color-theme-matlab-latex-el/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 04:03:16 +0000</pubDate>
		<dc:creator>zhangda</dc:creator>
		
		<guid isPermaLink="false">http://zhangda.wordpress.com/?p=173</guid>
		<description><![CDATA[I made a few changes in switch-color-theme-matlab-latex.el, and hopefully it can be enjoyed by more people. ;; Filename: switch-color-theme-matlab-latex.el ;; Description: ;; Author: Da Zhang ;; Created: Wed Jan 16 13:06:57 2008 ;; Update #: 699 ;; Copyright (C) 2008 Da Zhang ECE OU, zhangda@member.fsf.org ;; This is free software; you can redistribute it and/or [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhangda.wordpress.com&amp;blog=7259137&amp;post=173&amp;subd=zhangda&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I made a few changes in switch-color-theme-matlab-latex.el, and hopefully it can be enjoyed by more people.</p>
<p>;; Filename: switch-color-theme-matlab-latex.el<br />
;; Description:<br />
;; Author: Da Zhang<br />
;; Created: Wed Jan 16 13:06:57 2008<br />
;;     Update #: 699</p>
<p>;; Copyright (C) 2008 Da Zhang ECE OU, zhangda@member.fsf.org</p>
<p>;; This is free software; you can redistribute it and/or modify it under<br />
;; the terms of the GNU General Public License as published by the Free<br />
;; Software Foundation; either version 2, or (at your option) any later<br />
;; version.<br />
;;<br />
;; This is distributed in the hope that it will be useful, but WITHOUT<br />
;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or<br />
;; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License<br />
;; for more details.<br />
;;<br />
;; You should have received a copy of the GNU General Public License<br />
;; along with GNU Emacs; see the file COPYING.  If not, write to the<br />
;; Free Software Foundation, Inc., 59 Temple Place &#8211; Suite 330, Boston,<br />
;; MA 02111-1307, USA.</p>
<p>;;; Commentary: </p>
<p>;; switch-color-theme-matlab-latex.el contains the customized color themes<br />
;; for matlab mode (yellow background) and normal (black background). Call<br />
;; function da-color-theme to change to the dark face, and call C-u<br />
;; da-color-theme for the yellow background face.</p>
<p>;; color-theme-da-matlab is particularly designed to simulate the warm<br />
;; yellow-green color and visual effect of Matlab programming environment</p>
<p>;; color-theme-da-normal is a dark theme, designed for normal programming<br />
;; tasks such as C/C++/Java development, org/muse mode editing and LaTeX<br />
;; editing.</p>
<p>;; Install theme:<br />
;; (1)Place switch-color-theme-matlab-latex.el into your load-path.</p>
<p>;; (2)In your .emacs, add:<br />
;; (require &#8216;switch-color-theme-matlab-latex)</p>
<p>;; (3)optional settings such as keybinding and hooking<br />
;; (add-hook &#8216;matlab-mode-hook &#8216;color-theme-da-matlab)<br />
;; (global-set-key [f6] &#8216;da-color-theme)</p>
<p>;; notes:<br />
;; 1. hl-line: the hightlighed current line<br />
;; 2. mode-line-XXX: the info bar near the bottom of the frame<br />
;; 3. hilight: in dired, the face of where your mouse is pointing at<br />
;; 4. diredp-XXX: the color theme for dired-plus, dired-details+ &#8230;</p>
<p>;;;;;;;;;;;;;;;;;;;;;;;;;;; -*- Mode: Emacs-Lisp -*- ;;;;;;;;;;;;;;;;;;;;;;;;;;<br />
;;<br />
;;; Code:</p>
<p>(defun cl-normal ()<br />
  &#8220;Color theme by Da Zhang, created 2007-07-24.&#8221;<br />
  (interactive)<br />
  (ignore-errors  (color-theme-install<br />
                   &#8216;(color-theme-da-normal<br />
                     (background-color . &#8220;black&#8221;)<br />
                     (background-mode . dark)<br />
                     (background-toolbar-color . &#8220;#cf3ccf3ccf3c&#8221;)<br />
                     (border-color . &#8220;#000000000000&#8243;)<br />
                     (bottom-toolbar-shadow-color . &#8220;#79e77df779e7&#8243;)<br />
                     ;; (cursor-color . &#8220;#A7A7A7&#8243;)<br />
                     (foreground-color . &#8220;honeydew&#8221;)<br />
                     ;; (mouse-color . &#8220;black&#8221;))<br />
                     (default ((t (:stipple nil :background &#8220;#131313&#8243; :foreground &#8220;honeydew3&#8243; :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :foundry &#8220;outline&#8221; :family &#8220;Bitstream Vera Sans Mono&#8221;))))<br />
                     (bbdb-company ((t (nil))))<br />
                     (bbdb-field-name ((t (:bold t :weight bold))))<br />
                     (bbdb-field-value ((t (nil))))<br />
                     (bbdb-name ((t (:underline t))))<br />
                     (blue ((t (:foreground &#8220;blue&#8221;))))<br />
                     (bold ((t (:bold t :weight bold))))<br />
                     (bold-italic ((t (:bold t :italic t :slant italic :weight bold))))<br />
                     (border ((t (:background &#8220;#000000000000&#8243;))))<br />
                     (border-glyph ((t (nil))))<br />
                     (buffer-menu-buffer ((t (:bold t :weight bold))))<br />
                     (buffers-tab ((t (:background &#8220;black&#8221; :foreground &#8220;LightSkyBlue&#8221;))))<br />
                     (button ((t (:underline t))))<br />
                     (comint-highlight-prompt ((t (:bold t :weight bold))))<br />
                     (compilation-column-number ((t (:foreground &#8220;DarkSlateGray1&#8243;))))<br />
                     (compilation-error ((t (:bold t :weight bold :foreground &#8220;Red&#8221;))))<br />
                     (compilation-info ((t (:bold t :foreground &#8220;Green1&#8243; :weight bold))))<br />
                     (compilation-line-number ((t (:foreground &#8220;magenta2&#8243;))))<br />
                     (compilation-warning ((t (:bold t :foreground &#8220;Orange&#8221; :weight bold))))<br />
                     (completions-common-part ((t (:width normal :weight normal :slant normal :underline nil :overline nil :strike-through nil :box nil :inverse-video nil :foreground &#8220;gray78&#8243; :background &#8220;black&#8221; :stipple nil :height 120))))<br />
                     (completions-first-difference ((t (:bold t :weight bold))))<br />
                     (cperl-array-face ((t (:bold t :foreground &#8220;SkyBlue2&#8243; :weight bold))))<br />
                     (cperl-hash-face ((t (:foreground &#8220;LightBlue2&#8243;))))<br />
                     (cperl-invalid-face ((t (:foreground &#8220;red&#8221;))))<br />
                     (cperl-nonoverridable-face ((t (:foreground &#8220;chartreuse3&#8243;))))<br />
                     ;; (cursor ((t (:background &#8220;#A7A7A7&#8243;))))<br />
                     (custom-button ((t (:bold t :weight bold :box (:line-width 2 :style released-button)))))<br />
                     (custom-button-face ((t (:bold t :weight bold))))<br />
                     (custom-button-mouse ((t (:background &#8220;grey90&#8243; :foreground &#8220;black&#8221; :box (:line-width 2 :style released-button)))))<br />
                     (custom-button-pressed ((t (:background &#8220;lightgrey&#8221; :foreground &#8220;black&#8221; :box (:line-width 2 :style pressed-button)))))<br />
                     (custom-button-pressed-unraised ((t (:underline t :foreground &#8220;violet&#8221;))))<br />
                     (custom-button-unraised ((t (:underline t))))<br />
                     (custom-changed ((t (:background &#8220;blue&#8221; :foreground &#8220;white&#8221;))))<br />
                     (custom-changed-face ((t (:background &#8220;blue&#8221; :foreground &#8220;white&#8221;))))<br />
                     (custom-comment ((t (:foreground &#8220;white&#8221;))))<br />
                     (custom-comment-face ((t (:foreground &#8220;white&#8221;))))<br />
                     (custom-comment-tag ((t (:foreground &#8220;white&#8221;))))<br />
                     (custom-comment-tag-face ((t (:foreground &#8220;white&#8221;))))<br />
                     (custom-documentation ((t (nil))))<br />
                     (custom-documentation-face ((t (nil))))<br />
                     (custom-face-tag ((t (:underline t))))<br />
                     (custom-face-tag-face ((t (:underline t))))<br />
                     (custom-group-tag ((t (:foreground &#8220;dark goldenrod yellow&#8221; :weight bold :underline t))))<br />
                     (custom-group-tag-1 ((t (:foreground &#8220;red&#8221; :underline t))))<br />
                     (custom-group-tag-face ((t (:foreground &#8220;dark goldenrod yellow&#8221; :weight bold :underline t))))<br />
                     (custom-group-tag-face-1 ((t (:foreground &#8220;red&#8221; :underline t))))<br />
                     (custom-invalid ((t (:background &#8220;red&#8221; :foreground &#8220;yellow&#8221;))))<br />
                     (custom-invalid-face ((t (:background &#8220;red&#8221; :foreground &#8220;yellow&#8221;))))<br />
                     (custom-link ((t (:underline t :foreground &#8220;cyan1&#8243;))))<br />
                     (custom-modified ((t (:background &#8220;blue&#8221; :foreground &#8220;white&#8221;))))<br />
                     (custom-modified-face ((t (:background &#8220;blue&#8221; :foreground &#8220;white&#8221;))))<br />
                     (custom-rogue ((t (:background &#8220;black&#8221; :foreground &#8220;pink&#8221;))))<br />
                     (custom-rogue-face ((t (:background &#8220;black&#8221; :foreground &#8220;pink&#8221;))))<br />
                     (custom-saved ((t (:underline t))))<br />
                     (custom-saved-face ((t (:underline t))))<br />
                     (custom-set ((t (:background &#8220;white&#8221; :foreground &#8220;blue&#8221;))))<br />
                     (custom-set-face ((t (:background &#8220;white&#8221; :foreground &#8220;blue&#8221;))))<br />
                     (custom-state ((t (:foreground &#8220;white&#8221;))))<br />
                     (custom-state-face ((t (:foreground &#8220;white&#8221;))))<br />
                     (custom-themed ((t (:background &#8220;blue1&#8243; :foreground &#8220;white&#8221;))))<br />
                     (custom-variable-button ((t (:bold t :underline t :weight bold))))<br />
                     (custom-variable-button-face ((t (:bold t :underline t :weight bold))))<br />
                     (custom-variable-tag ((t (:foreground &#8220;burlywood&#8221; :underline t))))<br />
                     (custom-variable-tag-face ((t (:foreground &#8220;burlywood&#8221; :underline t))))<br />
                     (cvs-filename-face ((t (:foreground &#8220;Green1&#8243;))))<br />
                     (cvs-handled-face ((t (:foreground &#8220;pink&#8221;))))<br />
                     (cvs-header-face ((t (:foreground &#8220;green&#8221;))))<br />
                     (cvs-marked-face ((t (:bold t :foreground &#8220;green3&#8243; :weight bold))))<br />
                     (cvs-msg-face ((t (:foreground &#8220;red&#8221;))))<br />
                     (cvs-need-action-face ((t (:foreground &#8220;yellow&#8221;))))<br />
                     (cvs-unknown-face ((t (:foreground &#8220;grey&#8221;))))<br />
                     (diff-added-face ((t (nil))))<br />
                     (diff-changed-face ((t (nil))))<br />
                     (diff-file-header-face ((t (:bold t :background &#8220;grey70&#8243; :weight bold))))<br />
                     (diff-hunk-header-face ((t (:background &#8220;grey85&#8243;))))<br />
                     (diff-index-face ((t (:bold t :background &#8220;grey70&#8243; :weight bold))))<br />
                     (diff-removed-face ((t (nil))))<br />
                     (dired-face-boring ((t (:foreground &#8220;Gray65&#8243;))))<br />
                     (dired-face-directory ((t (:bold t :foreground &#8220;SkyBlue2&#8243; :weight bold))))<br />
                     (dired-face-executable ((t (:foreground &#8220;Green&#8221;))))<br />
                     (dired-face-flagged ((t (:background &#8220;LightSlateGray&#8221;))))<br />
                     (dired-face-header ((t (:background &#8220;grey75&#8243; :foreground &#8220;black&#8221;))))<br />
                     (dired-face-marked ((t (:foreground &#8220;DarkRed1&#8243;))))<br />
                     (dired-face-permissions ((t (:background &#8220;grey75&#8243; :foreground &#8220;black&#8221;))))<br />
                     (dired-face-setuid ((t (:foreground &#8220;Red&#8221;))))<br />
                     (dired-face-socket ((t (:foreground &#8220;magenta&#8221;))))<br />
                     (dired-face-symlink ((t (:foreground &#8220;cyan&#8221;))))<br />
                     (diredp-dir-heading ((t (:foreground &#8220;Brick&#8221; :weight bold ))))<br />
                     (diredp-dir-priv ((t (:foreground &#8220;burlywood3&#8243; :weight bold))))<br />
                     (diredp-no-priv ((t )))<br />
                     (diredp-file-name ((t (:foreground &#8220;gray70&#8243; :weight bold))))<br />
                     (diredp-file-suffix ((t (:foreground &#8220;gray70&#8243; :weight normal))))<br />
                     (diredp-exec-priv ((t (:foreground &#8220;LightSkyBlue&#8221; :weight bold))))<br />
                     (diredp-read-priv ((t (:foreground &#8220;green3&#8243; :weight bold))))<br />
                     (diredp-write-priv ((t (:foreground &#8220;Red2&#8243; :weight bold))))<br />
                     (diredp-link-priv ((t (:foreground &#8220;gray60&#8243; :underline t))))<br />
                     (diredp-other-priv ((t (:foreground &#8220;gray30&#8243;))))<br />
                     (diredp-rare-priv ((t (:foreground &#8220;red&#8221;))))<br />
                     (diredp-flag-mark-line ((t (:background &#8220;DarkOrange3&#8243;))))<br />
					 (diredp-date-time ((t (:foreground &#8220;honeydew3&#8243;))))</p>
<p>                     (ecb-analyse-bucket-element-face ((t (:height 1.0))))<br />
                     (ecb-analyse-bucket-node-face ((t (:bold t :weight bold :height 1.0))))<br />
                     (ecb-analyse-face ((t (:background &#8220;magenta&#8221;))))<br />
                     (ecb-analyse-general-face ((t (:height 1.0))))<br />
                     (ecb-bucket-node-face ((t (:bold t :weight bold :height 1.0))))<br />
                     (ecb-default-general-face ((t (:height 1.0))))<br />
                     (ecb-default-highlight-face ((t (:background &#8220;magenta&#8221;))))<br />
                     (ecb-directories-general-face ((t (:height 1.0))))<br />
                     (ecb-directory-face ((t (:background &#8220;magenta&#8221;))))<br />
                     (ecb-directory-not-accessible-face ((t (:foreground &#8220;gray60&#8243; :height 1.0))))<br />
                     (ecb-history-face ((t (:background &#8220;magenta&#8221;))))<br />
                     (ecb-history-general-face ((t (:height 1.0))))<br />
                     (ecb-method-face ((t (:background &#8220;magenta&#8221;))))<br />
                     (ecb-method-non-semantic-face ((t (:foreground &#8220;brown&#8221; :height 1.0))))<br />
                     (ecb-methods-general-face ((t (:height 1.0))))<br />
                     (ecb-mode-line-data-face ((t (nil))))<br />
                     (ecb-mode-line-prefix-face ((t (:foreground &#8220;forestgreen&#8221;))))<br />
                     (ecb-mode-line-win-nr-face ((t (:bold t :weight bold))))<br />
                     (ecb-source-face ((t (:background &#8220;magenta&#8221;))))<br />
                     (ecb-source-in-directories-buffer-face ((t (:foreground &#8220;LightBlue1&#8243; :height 1.0))))<br />
                     (ecb-source-read-only-face ((t (:italic t :slant italic))))<br />
                     (ecb-sources-general-face ((t (:height 1.0))))<br />
                     (ecb-tag-header-face ((t (:background &#8220;SeaGreen1&#8243;))))<br />
                     (ecb-tree-guide-line-face ((t (:foreground &#8220;gray&#8221; :height 1.0))))<br />
                     (ecb-type-tag-class-face ((t (:bold t :weight bold))))<br />
                     (ecb-type-tag-enum-face ((t (:bold t :weight bold))))<br />
                     (ecb-type-tag-group-face ((t (:bold t :foreground &#8220;dim gray&#8221; :weight bold))))<br />
                     (ecb-type-tag-interface-face ((t (:bold t :weight bold))))<br />
                     (ecb-type-tag-struct-face ((t (:bold t :weight bold))))<br />
                     (ecb-type-tag-typedef-face ((t (:bold t :weight bold))))<br />
                     (ecb-type-tag-union-face ((t (:bold t :weight bold))))<br />
                     ;; (ediff-fine-diff-A ((t (:foreground &#8220;navy&#8221; :background &#8220;sky blue&#8221;))))<br />
                     ;; (ediff-fine-diff-B ((t (:foreground &#8220;black&#8221; :background &#8220;cyan3&#8243;))))<br />
                     (ediff-fine-diff-A ((t (:foreground &#8220;navy&#8221; :background &#8220;sky blue&#8221;))))<br />
                     (ediff-fine-diff-B ((t (:foreground &#8220;navy&#8221; :background &#8220;sky blue&#8221;))))<br />
                     (ediff-current-diff-A ((t (:foreground &#8220;gray80&#8243; :background &#8220;#0A246F&#8221;))))<br />
                     (ediff-current-diff-B ((t (:foreground &#8220;gray80&#8243; :background &#8220;#0A246F&#8221;))))<br />
                     (ediff-even-diff-A ((t (:foreground &#8220;gray80&#8243; :background &#8220;DarkSlateGray5&#8243;))))<br />
                     (ediff-even-diff-B ((t (:foreground &#8220;gray80&#8243; :background &#8220;DarkSlateGray5&#8243;))))<br />
                     (ediff-odd-diff-A ((t (:foreground &#8220;gray80&#8243; :background &#8220;DarkSlateGray5&#8243;))))<br />
                     (ediff-odd-diff-B ((t (:foreground &#8220;gray80&#8243; :background &#8220;DarkSlateGray5&#8243;))))<br />
                     (eieio-custom-slot-tag-face ((t (:foreground &#8220;light blue&#8221;))))<br />
                     (escape-glyph ((t (:foreground &#8220;cyan&#8221;))))<br />
                     (excerpt ((t (nil))))<br />
                     (file-name-shadow ((t (:foreground &#8220;grey70&#8243;))))<br />
                     (fixed ((t (:bold t :weight bold))))<br />
                     (fixed-pitch ((t (:family &#8220;courier&#8221;))))<br />
                     (font-lock-builtin-face ((t (:foreground &#8220;red3&#8243; :weight bold))))<br />
                     (font-lock-comment-delimiter-face ((t (:foreground &#8220;YellowGreen&#8221; :weight ultra-bold))))<br />
                     (font-lock-comment-face ((t (:foreground &#8220;YellowGreen&#8221; :weight bold))))<br />
                     (font-lock-constant-face ((t (:bold t :foreground &#8220;DarkOrange2&#8243; :weight ultra-bold))))<br />
                     (font-lock-doc-face ((t (:foreground &#8220;burlywood&#8221;))))<br />
                     (font-lock-doc-string-face ((t (:foreground &#8220;turquoise&#8221; :weight bold))))<br />
                     (font-lock-function-name-face ((t (:foreground &#8220;white&#8221; :weight ultra-bold))))<br />
                     (font-lock-keyword-face ((t (:bold t :foreground &#8220;DodgerBlue&#8221; :weight ultra-bold))))<br />
                     (font-lock-negation-char-face ((t (nil))))<br />
                     (font-lock-preprocessor-face ((t (:foreground &#8220;green3&#8243; :weight bold))))<br />
                     (font-lock-reference-face ((t (:foreground &#8220;red3&#8243; :weight bold))))<br />
                     (font-lock-regexp-grouping-backslash ((t (:bold t :weight bold))))<br />
                     (font-lock-regexp-grouping-construct ((t (:bold t :weight bold))))<br />
                     (font-lock-string-face ((t (:foreground &#8220;burlywood&#8221; :weight bold))))<br />
                     (font-lock-type-face ((t (:foreground &#8220;brown2&#8243; :weight bold))))<br />
                     (font-lock-variable-name-face ((t (:foreground &#8220;magenta2&#8243; :weight bold))))<br />
                     (font-lock-warning-face ((t (:bold t :foreground &#8220;Red&#8221; :weight ultra-bold))))<br />
                     (font-latex-math-face ((t (:foreground &#8220;burlywood&#8221;))))<br />
                     (font-latex-sedate-face ((t (:foreground &#8220;gray60&#8243;))))<br />
                     (font-latex-sectioning-5-face ((t (:weight bold :bold t :foreground &#8220;red3&#8243;))))<br />
                     (font-latex-bold-face ((t (:weight bold :bold t :foreground &#8220;green3&#8243;))))<br />
                     (fringe ((t (:background &#8220;grey10&#8243; :foreground &#8220;#44AACC&#8221;))));;this is what change the boundaries on both sides of the emacs window<br />
                     (green ((t (:foreground &#8220;green&#8221;))))<br />
                     (gui-button-face ((t (:background &#8220;grey75&#8243; :foreground &#8220;black&#8221;))))<br />
                     (gui-element ((t (nil))))<br />
                     (header-line ((t (:background &#8220;grey20&#8243; :foreground &#8220;grey90&#8243; :box nil))))<br />
                     (help-argument-name ((t (nil))))<br />
                     (highlight ((t (:background &#8220;#0A247A&#8221;))))<br />
                     (hl-line ((t (:background &#8220;#112233&#8243;))));; use to be #112233<br />
                     (html-helper-bold-face ((t (:bold t :weight bold))))<br />
                     (html-helper-italic-face ((t (:bold t :foreground &#8220;yellow&#8221; :weight bold))))<br />
                     (html-helper-underline-face ((t (:underline t))))<br />
                     (hyper-apropos-documentation ((t (:foreground &#8220;LightSlateGray&#8221;))))<br />
                     (hyper-apropos-heading ((t (:bold t :weight bold))))<br />
                     (hyper-apropos-hyperlink ((t (:foreground &#8220;sky blue&#8221;))))<br />
                     (hyper-apropos-major-heading ((t (:bold t :weight bold))))<br />
                     (hyper-apropos-section-heading ((t (:bold t :weight bold))))<br />
                     (hyper-apropos-warning ((t (:bold t :foreground &#8220;red&#8221; :weight bold))))<br />
                     (ibuffer-deletion-face ((t (:foreground &#8220;red&#8221;))))<br />
                     (ibuffer-marked-face ((t (:foreground &#8220;green&#8221;))))<br />
                     (ido-first-match ((t (:foreground &#8220;green3&#8243; :bold t :weight ultra-bold))))<br />
                     (ido-indicator ((t (:background &#8220;red&#8221; :foreground &#8220;yellow&#8221; :width condensed))))<br />
                     (ido-only-match ((t (:foreground &#8220;Green&#8221; :weight ultra-bold))))<br />
                     (ido-subdir ((t (:foreground &#8220;red&#8221;))))<br />
                     (info-node ((t (:bold t :foreground &#8220;yellow&#8221; :weight bold))))<br />
                     (info-xref ((t (:bold t :weight bold :underline t))))<br />
                     (isearch ((t (:background &#8220;paleturquoise&#8221; :foreground &#8220;dark red&#8221;))))<br />
                     (isearch-secondary ((t (:foreground &#8220;red3&#8243;))))<br />
                     (isearch-fail ((t (:background &#8220;red&#8221; :foreground &#8220;black&#8221;))))<br />
                     (italic ((t ( :italic t :slant italic))))<br />
                     (lazy-highlight ((t (:background &#8220;paleturquoise4&#8243;))))<br />
                     (left-margin ((t (nil))))<br />
                     (link ((t (:foreground &#8220;cyan1&#8243; :underline t))))<br />
                     (link-visited ((t (:underline t :foreground &#8220;violet&#8221;))))<br />
                     (linum ((t (:inherit shadow :foreground &#8220;burlywood&#8221; :height 90 :weight normal))))<br />
                     (list-mode-item-selected ((t (:background &#8220;gray68&#8243; :foreground &#8220;dark green&#8221;))))<br />
                     (man-bold ((t (:bold t :weight bold))))<br />
                     (man-heading ((t (:bold t :weight bold))))<br />
                     (man-italic ((t (:foreground &#8220;yellow&#8221; :italic t))))<br />
                     (man-xref ((t (:underline t))))<br />
                     (match ((t (:background &#8220;RoyalBlue3&#8243;))))<br />
                     ;; (menu ((t (:foreground &#8220;systemmenutext&#8221; :background &#8220;systemmenu&#8221;))))<br />
                     (message-cited-text ((t (:foreground &#8220;orange&#8221;))))<br />
                     (message-header-contents ((t (:foreground &#8220;white&#8221;))))<br />
                     (message-headers ((t (:bold t :foreground &#8220;orange&#8221; :weight bold))))<br />
                     (message-highlighted-header-contents ((t (:bold t :weight bold))))<br />
                     (message-url ((t (:bold t :foreground &#8220;pink&#8221; :weight bold))))<br />
                     (minibuffer-prompt ((t (:foreground &#8220;#ff3300&#8243; :weight bold))))<br />
                     (mmm-face ((t (:background &#8220;black&#8221; :foreground &#8220;green&#8221;))))<br />
                     (mode-line ((t (:background &#8220;black&#8221; :foreground &#8220;burlywood&#8221;))))<br />
                     (mode-line-buffer-id ((t (:background &#8220;black&#8221; :foreground &#8220;burlywood&#8221;))))<br />
                     (mode-line-highlight ((t (:box (:line-width 2 :color &#8220;grey40&#8243; :style released-button)))))<br />
                     (mode-line-inactive ((t (:background &#8220;grey10&#8243; :foreground &#8220;grey80&#8243; :box (:line-width -1 :color &#8220;grey40&#8243; :style nil) :weight light))))<br />
                     (modeline-mousable ((t (:background &#8220;Gray80&#8243; :foreground &#8220;firebrick&#8221;))))<br />
                     (modeline-mousable-minor-mode ((t (:background &#8220;Gray80&#8243; :foreground &#8220;green4&#8243;))))<br />
                     (mouse ((t (:background &#8220;black&#8221;))))<br />
                     (next-error ((t (:foreground &#8220;DarkBlue&#8221; :background &#8220;gray65&#8243;))))<br />
                     (nobreak-space ((t (:foreground &#8220;cyan&#8221; :underline t))))<br />
                     (org-level-1 ((((class color) (min-colors 88) (background dark)) (:foreground &#8220;LightSkyBlue2&#8243; :weight extra-bold))))<br />
                     (org-level-2 ((((class color) (min-colors 88) (background dark)) (:foreground &#8220;burlywood&#8221; :weight bold))))<br />
                     (org-level-3 ((((class color) (min-colors 88) (background dark)) (:foreground &#8220;YellowGreen&#8221;))))<br />
                     (org-level-4 ((((class color) (min-colors 88) (background dark)) (:foreground &#8220;green3&#8243;))))<br />
                     (org-level-5 ((((class color) (min-colors 88) (background dark)) (:foreground &#8220;brown2&#8243;))))<br />
                     (org-level-6 ((((class color) (min-colors 88) (background dark)) (:foreground &#8220;orange&#8221;))))<br />
                     (org-level-7 ((((class color) (min-colors 88) (background dark)) (:foreground &#8220;red3&#8243;))))<br />
                     (org-level-8 ((((class color) (min-colors 88) (background dark)) (:foreground &#8220;purple2&#8243;))))<br />
                     (org-link ((((class color) (min-colors 88) (background dark)) (:foreground &#8220;cyan3&#8243;))))<br />
                     (org-column ((t (:background &#8220;black&#8221; :foreground &#8220;gray80&#8243; :strike-through nil :underline nil :slant normal :weight normal :height 98 :family &#8220;Courier New&#8221;))))<br />
                     (org-done ((t (:foreground &#8220;ForestGreen&#8221; :strike-through t :weight normal))))<br />
                     (org-todo ((t (:foreground &#8220;Red&#8221; :weight normal))))<br />
                     (org-special-keyword ((t (:foreground &#8220;LightSalmon&#8221; :weight normal))))<br />
                     (org-date ((t (:foreground &#8220;LightSalmon&#8221; :weight normal))))<br />
					 (org-document-title ((t (:foreground &#8220;gray&#8221; :weight bold))))<br />
					 (org-document-info ((t (:foreground &#8220;gray&#8221; :weight normal))))<br />
                     (org-hide ((t (:foreground &#8220;grey20&#8243; :weight normal))))<br />
                     (paren-blink-off ((t (:foreground &#8220;gray80&#8243;))))<br />
                     (paren-match ((t (:background &#8220;MediumBlue&#8221;))))<br />
                     (paren-mismatch ((t (:background &#8220;DeepPink&#8221; :foreground &#8220;LightSkyBlue&#8221;))))<br />
                     (pointer ((t (nil))))<br />
                     (primary-selection ((t (:background &#8220;gray65&#8243; :foreground &#8220;DarkBlue&#8221;))))<br />
					 (preview-face ((((background dark)) (:background &#8220;#0F340A&#8221;))))<br />
					 (preview-reference-face ((t (:background &#8220;black&#8221; :foreground &#8220;light blue&#8221; :weight bold :height 1.1))))<br />
                     (query-replace ((t (:foreground &#8220;dark red&#8221; :background &#8220;paleturquoise&#8221;))))<br />
                     (red ((t (:foreground &#8220;red&#8221;))))<br />
                     (region ((t (:foreground &#8220;cyan&#8221; :background &#8220;#0A249A&#8221;))))<br />
                     (right-margin ((t (nil))))<br />
                     (scroll-bar ((t (:foreground &#8220;systemscrollbar&#8221;))))<br />
                     (secondary-selection ((t (:background &#8220;paleturquoise&#8221; :foreground &#8220;black&#8221;))))<br />
                     (semantic-highlight-edits-face ((t (:background &#8220;gray20&#8243;))))<br />
                     (semantic-unmatched-syntax-face ((t (:underline &#8220;red&#8221;))))<br />
                     (senator-intangible-face ((t (:foreground &#8220;gray75&#8243;))))<br />
                     (senator-momentary-highlight-face ((t (:background &#8220;gray30&#8243;))))<br />
                     (senator-read-only-face ((t (:background &#8220;#664444&#8243;))))<br />
                     (shadow ((t (:foreground &#8220;grey70&#8243;))))<br />
                     (shell-option-face ((t (:foreground &#8220;LightSkyBlue1&#8243;))))<br />
                     (shell-output-2-face ((t (:foreground &#8220;SeaGreen1&#8243;))))<br />
                     (shell-output-3-face ((t (:foreground &#8220;Blue&#8221;))))<br />
                     (shell-output-face ((t (:bold t :weight bold))))<br />
                     (shell-prompt-face ((t (:foreground &#8220;red4&#8243;))))<br />
                     ;;                     (show-paren-match ((t (:background &#8220;blue&#8221;))))<br />
                     (show-paren-match-face ((t (:bold t :foreground &#8220;grey85&#8243;<br />
                                        :background &#8220;blue&#8221;))))<br />
                     (show-paren-mismatch ((t (:background &#8220;red&#8221; :foreground &#8220;white&#8221; :bold t))))<br />
                     (speedbar-button-face ((t (:foreground &#8220;green3&#8243;))))<br />
                     (speedbar-directory-face ((t (:foreground &#8220;light blue&#8221;))))<br />
                     (speedbar-file-face ((t (:foreground &#8220;cyan&#8221;))))<br />
                     (speedbar-highlight-face ((t (:background &#8220;sea green&#8221;))))<br />
                     (speedbar-selected-face ((t (:foreground &#8220;red&#8221; :underline t))))<br />
                     (speedbar-separator-face ((t (:background &#8220;blue&#8221; :foreground &#8220;white&#8221; :overline &#8220;gray&#8221;))))<br />
                     (speedbar-tag-face ((t (:foreground &#8220;yellow&#8221;))))<br />
                     (swbuff-current-buffer-face ((t (:bold t :foreground &#8220;red&#8221; :underline t :weight bold))))<br />
                     (swbuff-default-face ((t (nil))))<br />
                     (swbuff-separator-face ((t (:foreground &#8220;DodgerBlue1&#8243;))))<br />
                     (tabbar-button ((t (:inherit tabbar-default :foreground &#8220;dark red&#8221;))))<br />
                     (tabbar-button-highlight ((t (:inherit tabbar-default :background &#8220;white&#8221; :box (:line-width 2 :color &#8220;white&#8221;)))))<br />
                     (tabbar-default ((t (:inherit variable-pitch :background &#8220;gray80&#8243; :foreground &#8220;black&#8221; :box (:line-width 3 :color &#8220;gray80&#8243;)))))<br />
                     (tabbar-highlight ((t (:underline t))))<br />
                     (tabbar-selected ((t (:inherit tabbar-default :foreground &#8220;blue&#8221; :weight bold))))<br />
                     (tabbar-separator ((t (:inherit tabbar-default))))<br />
                     (tabbar-unselected ((t (:inherit tabbar-default))))<br />
                     (text-cursor ((t (:background &#8220;Red3&#8243; :foreground &#8220;black&#8221;))))<br />
                     (tool-bar ((t (:background &#8220;gray80&#8243; :foreground &#8220;black&#8221;))))<br />
                     (tooltip ((t (:family &#8220;helv&#8221; :background &#8220;systeminfowindow&#8221; :foreground &#8220;systeminfotext&#8221;))))<br />
;;                     (trailing-whitespace ((t (:background &#8220;yellow&#8221;))))<br />
                     (underline ((t (:underline t))))<br />
                     (variable-pitch ((t (:family &#8220;helv&#8221;))))<br />
                     (vertical-border ((t (nil))))<br />
                     (vertical-divider ((t (nil))))<br />
                     (vm-xface ((t (:background &#8220;white&#8221; :foreground &#8220;black&#8221;))))<br />
                     (vmpc-pre-sig-face ((t (:foreground &#8220;forestgreen&#8221;))))<br />
                     (vmpc-sig-face ((t (:foreground &#8220;steelblue&#8221;))))<br />
                     (which-func ((t (:foreground &#8220;DeepSkyBlue1&#8243;))))<br />
                     (widget ((t (nil))))<br />
                     (widget-button ((t (:bold t :weight bold))))<br />
                     (widget-button-pressed ((t (:foreground &#8220;red&#8221;))))<br />
                     (widget-documentation ((t (:foreground &#8220;lime green&#8221;))))<br />
                     (widget-field ((t (:background &#8220;gray30&#8243; :foreground &#8220;gray85&#8243;))))<br />
                     (widget-inactive ((t (:foreground &#8220;dim gray&#8221;))))<br />
                     (widget-single-line-field ((t (:background &#8220;dim gray&#8221;))))<br />
                     (x-face ((t (:background &#8220;white&#8221; :foreground &#8220;black&#8221;))))<br />
                     (xrdb-option-name-face ((t (:foreground &#8220;red&#8221;))))<br />
                     (yellow ((t (:foreground &#8220;yellow&#8221;))))<br />
                     (zmacs-region ((t (:background &#8220;gray65&#8243;))))))))</p>
<p>;; default background EEF2D9, FFF2D9<br />
(defun cl-matlab ()<br />
  &#8220;Color theme by Da Zhang, created 2007-07-23.&#8221;<br />
  (interactive)<br />
  (ignore-errors  (color-theme-install<br />
                   &#8216;(color-theme-da-matlab<br />
                     ((background-color . &#8220;light goldenrod yellow&#8221;)<br />
                     (background-mode . light)<br />
                     (border-color . &#8220;black&#8221;)<br />
                     ;; (cursor-color . &#8220;red3&#8243;)<br />
                     (foreground-color . &#8220;black&#8221;)<br />
                     (mouse-color . &#8220;black&#8221;))<br />
                     ;; default background color used to be #F0F2D9<br />
                     ;; (default ((t (:stipple nil :background &#8220;azure&#8221; :foreground &#8220;black&#8221; :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :foundry &#8220;outline&#8221; :family &#8220;Bitstream Vera Sans Mono&#8221;))))<br />
					 ;; (default ((t (:stipple nil :background &#8220;#CBA635&#8243; :foreground &#8220;black&#8221; :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :foundry &#8220;outline&#8221; :family &#8220;Bitstream Vera Sans Mono&#8221;))))<br />
					 (default ((t (:stipple nil :background &#8220;light goldenrod yellow&#8221; :foreground &#8220;black&#8221; :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :foundry &#8220;outline&#8221; :family &#8220;Bitstream Vera Sans Mono&#8221;))))<br />
                     (bold ((t (:bold t :background &#8220;grey40&#8243; :foreground &#8220;yellow&#8221; :weight bold))))<br />
                     (bold-italic ((t (:italic t :bold t :slant italic :weight bold))))<br />
                     (border ((t (:background &#8220;yellow&#8221;))))<br />
                     (buffer-menu-buffer ((t (:bold t :weight bold))))<br />
                     (button ((t (:underline t))))<br />
                     (comint-highlight-prompt ((t (:bold t :weight bold))))<br />
                     (compilation-column-number ((t (:foreground &#8220;DarkBlue&#8221;))))<br />
                     (compilation-error ((t (:bold t :weight bold :foreground &#8220;Pink&#8221;))))<br />
                     (compilation-info ((t (:bold t :foreground &#8220;Green3&#8243; :weight bold))))<br />
                     (compilation-line-number ((t (:bold t :weight ultra-bold :foreground &#8220;saddle brown&#8221;))))<br />
                     (compilation-warning ((t (:bold t :foreground &#8220;Orange&#8221; :weight bold))))<br />
                     (completions-common-part ((t (:width normal :weight normal :slant normal :underline nil :overline nil :strike-through nil :box nil :inverse-video nil :foreground &#8220;black&#8221; :background &#8220;light goldenrod yellow&#8221; :stipple nil :height 120))))<br />
                     (completions-first-difference ((t (:bold t :weight bold))))<br />
                     ;; (completions-first-difference ((t (:bold t :weight bold :foreground &#8220;red&#8221; :background &#8220;grey40&#8243;))))<br />
                     ;; (cursor ((t (:foreground &#8220;black&#8221; :background &#8220;red3&#8243;))))<br />
                     (custom-button ((t (:background &#8220;lightgrey&#8221; :foreground &#8220;black&#8221; :box (:line-width 2 :style released-button)))))<br />
                     (custom-button-mouse ((t (:background &#8220;grey90&#8243; :foreground &#8220;black&#8221; :box (:line-width 2 :style released-button)))))<br />
                     (custom-button-pressed ((t (:background &#8220;lightgrey&#8221; :foreground &#8220;black&#8221; :box (:line-width 2 :style pressed-button)))))<br />
                     (custom-button-pressed-unraised ((t (:underline t :foreground &#8220;magenta4&#8243;))))<br />
                     (custom-button-unraised ((t (:underline t))))<br />
                     (custom-changed ((t (:background &#8220;blue1&#8243; :foreground &#8220;white&#8221;))))<br />
                     (custom-comment ((t (:background &#8220;gray85&#8243;))))<br />
                     (custom-comment-tag ((t (:foreground &#8220;blue4&#8243;))))<br />
                     (custom-documentation ((t (nil))))<br />
                     (custom-face-tag ((t (:bold t :family &#8220;helv&#8221; :weight bold :height 1.2))))<br />
                     (custom-group-tag ((t (:bold t :foreground &#8220;blue1&#8243; :weight bold :height 1.2))))<br />
                     (custom-group-tag-1 ((t (:bold t :family &#8220;helv&#8221; :foreground &#8220;red1&#8243; :weight bold :height 1.2))))<br />
                     (custom-invalid ((t (:background &#8220;red1&#8243; :foreground &#8220;yellow1&#8243;))))<br />
                     (custom-link ((t (:underline t :foreground &#8220;blue1&#8243;))))<br />
                     (custom-modified ((t (:background &#8220;blue1&#8243; :foreground &#8220;white&#8221;))))<br />
                     (custom-rogue ((t (:background &#8220;black&#8221; :foreground &#8220;pink&#8221;))))<br />
                     (custom-saved ((t (:underline t))))<br />
                     (custom-set ((t (:background &#8220;white&#8221; :foreground &#8220;blue1&#8243;))))<br />
                     (custom-state ((t (:foreground &#8220;dark green&#8221;))))<br />
                     (custom-themed ((t (:background &#8220;blue1&#8243; :foreground &#8220;white&#8221;))))<br />
                     (custom-variable-button ((t (:bold t :underline t :weight bold))))<br />
                     (custom-variable-tag ((t (:bold t :family &#8220;helv&#8221; :foreground &#8220;blue1&#8243; :weight bold :height 1.2))))</p>
<p>                     (diredp-file-name ((t (:foreground &#8220;gray30&#8243; :weight bold))))<br />
                     (diredp-file-suffix ((t (:foreground &#8220;gray30&#8243; :weight normal))))<br />
                     (diredp-dir-heading ((t (:foreground &#8220;DarkGreen&#8221; :weight bold ))))<br />
                     (diredp-dir-priv ((t (:foreground &#8220;DarkBlue&#8221; :weight bold))))<br />
                     (diredp-no-priv ((t )))<br />
                     (diredp-exec-priv ((t (:foreground &#8220;Blue3&#8243; :weight bold))))<br />
                     (diredp-read-priv ((t (:foreground &#8220;Green3&#8243; :weight bold))))<br />
                     (diredp-write-priv ((t (:foreground &#8220;Red3&#8243; :weight bold))))<br />
                     (diredp-link-priv ((t (:foreground &#8220;gray30&#8243; :underline t))))<br />
                     (diredp-other-priv ((t (:foreground &#8220;gray10&#8243;))))<br />
                     (diredp-rare-priv ((t (:foreground &#8220;red&#8221;))))<br />
                     (diredp-flag-mark-line ((t (:background &#8220;DarkOrange4&#8243;))))<br />
					 (diredp-date-time ((t (:foreground &#8220;black&#8221;))))</p>
<p>                     (ecb-analyse-bucket-element-face ((t (:foreground &#8220;brown&#8221; :height 1.0))))<br />
                     (ecb-analyse-bucket-node-face ((t (:bold t :weight bold :height 1.0))))<br />
                     (ecb-analyse-face ((t (:background &#8220;cornflower blue&#8221; :foreground &#8220;yellow&#8221;))))<br />
                     (ecb-analyse-general-face ((t (:height 1.0))))<br />
                     (ecb-bucket-node-face ((t (:bold t :weight bold :height 1.0))))<br />
                     (ecb-default-general-face ((t (:height 1.0))))<br />
                     (ecb-default-highlight-face ((t (:background &#8220;cornflower blue&#8221; :foreground &#8220;yellow&#8221;))))<br />
                     (ecb-directories-general-face ((t (:height 1.0))))<br />
                     (ecb-directory-face ((t (:background &#8220;cornflower blue&#8221; :foreground &#8220;yellow&#8221;))))<br />
                     (ecb-directory-not-accessible-face ((t (:foreground &#8220;gray60&#8243; :height 1.0))))<br />
                     (ecb-history-face ((t (:background &#8220;cornflower blue&#8221; :foreground &#8220;yellow&#8221;))))<br />
                     (ecb-history-general-face ((t (:height 1.0))))<br />
                     (ecb-method-face ((t (:background &#8220;cornflower blue&#8221; :foreground &#8220;yellow&#8221;))))<br />
                     (ecb-method-non-semantic-face ((t (:foreground &#8220;brown&#8221; :height 1.0))))<br />
                     (ecb-methods-general-face ((t (:height 1.0))))<br />
                     (ecb-mode-line-data-face ((t (nil))))<br />
                     (ecb-mode-line-prefix-face ((t (:foreground &#8220;forestgreen&#8221;))))<br />
                     (ecb-mode-line-win-nr-face ((t (:bold t :weight bold))))<br />
                     (ecb-source-face ((t (:background &#8220;cornflower blue&#8221; :foreground &#8220;yellow&#8221;))))<br />
                     (ecb-source-in-directories-buffer-face ((t (:foreground &#8220;medium blue&#8221; :height 1.0))))<br />
                     (ecb-source-read-only-face ((t (:italic t :slant italic))))<br />
                     (ecb-sources-general-face ((t (:height 1.0))))<br />
                     (ecb-tag-header-face ((t (:background &#8220;SeaGreen1&#8243;))))<br />
                     (ecb-tree-guide-line-face ((t (:foreground &#8220;grey&#8221; :height 1.0))))<br />
                     (ecb-type-tag-class-face ((t (:bold t :weight bold))))<br />
                     (ecb-type-tag-enum-face ((t (:bold t :weight bold))))<br />
                     (ecb-type-tag-group-face ((t (:bold t :foreground &#8220;dim gray&#8221; :weight bold))))<br />
                     (ecb-type-tag-interface-face ((t (:bold t :weight bold))))<br />
                     (ecb-type-tag-struct-face ((t (:bold t :weight bold))))<br />
                     (ecb-type-tag-typedef-face ((t (:bold t :weight bold))))<br />
                     (ecb-type-tag-union-face ((t (:bold t :weight bold))))<br />
                     (eieio-custom-slot-tag-face ((t (:foreground &#8220;blue&#8221;))))<br />
                     (escape-glyph ((t (:foreground &#8220;brown&#8221;))))<br />
                     (file-name-shadow ((t (:foreground &#8220;grey50&#8243;))))<br />
                     (fixed-pitch ((t (:family &#8220;courier&#8221;))))<br />
                     (fl-comment-face ((t (:foreground &#8220;medium purple&#8221;))))<br />
                     (fl-function-name-face ((t (:foreground &#8220;green&#8221;))))<br />
                     (fl-keyword-face ((t (:foreground &#8220;LightGreen&#8221;))))<br />
                     (fl-string-face ((t (:foreground &#8220;light coral&#8221;))))<br />
                     (fl-type-face ((t (:foreground &#8220;cyan&#8221;))))<br />
                     (flyspell-duplicate ((t (:foreground &#8220;DarkRed3&#8243; :underline t :weight bold))))<br />
                     (flyspell-incorrect ((t (:foreground &#8220;Red2&#8243; :underline t :weight bold))))<br />
                     (font-lock-builtin-face ((t (:foreground &#8220;dark blue&#8221; :weight bold))))<br />
                     (font-lock-comment-delimiter-face ((t (:foreground &#8220;dark green&#8221; :weight bold))))<br />
                     (font-lock-comment-face ((t (:foreground &#8220;dark green&#8221; :weight bold))))<br />
                     (font-lock-constant-face ((t (:bold t :foreground &#8220;DarkBlue&#8221; :weight extra-bold))))<br />
                     (font-lock-doc-face ((t (:bold t :foreground &#8220;purple4&#8243; :weight bold))))<br />
                     (font-lock-function-name-face ((t (:bold t :foreground &#8220;red4&#8243; :weight bold))))<br />
                     (font-lock-keyword-face ((t (:bold t :foreground &#8220;blue3&#8243; :weight bold))))<br />
                     (font-lock-negation-char-face ((t (nil))))<br />
                     (font-lock-preprocessor-face ((t (:foreground &#8220;LightSteelBlue&#8221; :weight bold))))<br />
                     (font-lock-regexp-grouping-backslash ((t (:bold t :weight bold :foreground &#8220;NavyBlue&#8221; ))))<br />
                     (font-lock-regexp-grouping-construct ((t (:bold t :weight bold :foreground &#8220;NavyBlue&#8221; ))))<br />
                     (font-lock-string-face ((t (:bold t :foreground &#8220;DarkRed&#8221; :weight bold))))<br />
                     (font-lock-type-face ((t (:foreground &#8220;dark blue&#8221; :weight bold))))<br />
                     (font-lock-variable-name-face ((t (:bold t :foreground &#8220;saddle brown&#8221; :weight bold))))<br />
                     (font-lock-warning-face ((t (:bold t :foreground &#8220;Pink&#8221; :weight extra-bold))))<br />
                     (font-latex-math-face ((t (:foreground &#8220;red4&#8243;))))<br />
                     (font-latex-sedate-face ((t (:foreground &#8220;gray50&#8243;))))<br />
                     (font-latex-sectioning-5-face ((t (:weight bold :bold t :foreground &#8220;red3&#8243;))))<br />
                     (font-latex-bold-face ((t (:weight bold :bold t :foreground &#8220;dark green&#8221;))))<br />
                     (fringe ((t (:background &#8220;#E0F2D9&#8243; :foreground &#8220;#112233&#8243;))))<br />
                     (header-line ((t (:background &#8220;grey90&#8243; :foreground &#8220;grey20&#8243; :box nil))))<br />
                     (help-argument-name ((t (nil))))<br />
                     (highlight ((t (:background &#8220;#0A247A&#8221; :foreground &#8220;light goldenrod yellow&#8221;))))<br />
                     (hl-line ((t (:background &#8220;#B5BA99&#8243;))))<br />
                     (html-helper-bold-face ((t (:bold t :weight bold))))<br />
                     (html-helper-italic-face ((t (:bold t :background &#8220;black&#8221; :foreground &#8220;yellow&#8221; :weight bold))))<br />
                     (html-helper-underline-face ((t (:underline t))))<br />
                     (ibuffer-deletion-face ((t (:foreground &#8220;red&#8221;))))<br />
                     (ibuffer-marked-face ((t (:foreground &#8220;darkblue&#8221;))))<br />
                     (ido-first-match ((t (:foreground &#8220;blue2&#8243; :bold t :weight ultra-bold))))<br />
                     (ido-indicator ((t (:background &#8220;red&#8221; :foreground &#8220;yellow&#8221; :width condensed))))<br />
                     (ido-only-match ((t (:foreground &#8220;darkgreen&#8221; :weight ultra-bold))))<br />
                     (ido-subdir ((t (:foreground &#8220;red&#8221;))))<br />
                     (info-node ((t (:bold t :foreground &#8220;green3&#8243; :weight bold))))<br />
                     (info-xref ((t (:bold t :weight bold :underline t))))<br />
                     (isearch ((t (:background &#8220;magenta3&#8243; :foreground &#8220;lightskyblue1&#8243;))))<br />
                     (isearch-secondary ((t (:foreground &#8220;red3&#8243;))))<br />
                     (isearch-fail ((t (:background &#8220;red&#8221; :foreground &#8220;black&#8221;))))<br />
                     (italic ((t (:italic t :slant italic))))<br />
                     (lazy-highlight ((t (:background &#8220;paleturquoise&#8221;))))<br />
                     (link ((t (:foreground &#8220;blue1&#8243; :underline t))))<br />
                     (link-visited ((t (:underline t :foreground &#8220;magenta4&#8243;))))<br />
                     (linum ((t (:inherit shadow :foreground &#8220;DarkGreen&#8221; :height 100 :weight normal))))<br />
                     (match ((t (:background &#8220;yellow&#8221;))))<br />
                     (man-bold ((t (:bold t :weight bold))))<br />
                     (man-heading ((t (:bold t :weight bold))))<br />
                     (man-italic ((t (:italic t :foreground &#8220;MediumBlue&#8221;))))<br />
                     (man-xref ((t (:underline t))))<br />
                     ;; (menu ((t (:foreground &#8220;systemmenutext&#8221; :background &#8220;systemmenu&#8221;))))<br />
                     (message-cited-text-face ((t (:foreground &#8220;red&#8221;))))<br />
                     (message-header-cc-face ((t (:bold t :foreground &#8220;green4&#8243; :weight bold))))<br />
                     (message-header-name-face ((t (:foreground &#8220;DarkGreen&#8221;))))<br />
                     (message-header-newsgroups-face ((t (:italic t :bold t :foreground &#8220;yellow&#8221; :slant italic :weight bold))))<br />
                     (message-header-other-face ((t (:foreground &#8220;#b00000&#8243;))))<br />
                     (message-header-subject-face ((t (:foreground &#8220;green3&#8243;))))<br />
                     (message-header-to-face ((t (:bold t :foreground &#8220;green2&#8243; :weight bold))))<br />
                     (message-header-xheader-face ((t (:foreground &#8220;blue&#8221;))))<br />
                     (message-mml-face ((t (:foreground &#8220;ForestGreen&#8221;))))<br />
                     (message-separator-face ((t (:foreground &#8220;blue3&#8243;))))<br />
                     (minibuffer-prompt ((t (:foreground &#8220;medium blue&#8221; :weight bold))))<br />
                     (mode-line ((t (:background &#8220;#959A79&#8243; :foreground &#8220;black&#8221; :weight bold))))<br />
                     (mode-line-buffer-id ((t (:background &#8220;wheat&#8221; :foreground &#8220;black&#8221; :weight bold))))<br />
                     (mode-line-highlight ((t (:box (:line-width 2 :color &#8220;grey30&#8243; :style released-button)))))<br />
                     (mode-line-inactive ((t (:background &#8220;#D5AA79&#8243; :foreground &#8220;black&#8221; :box (:line-width -1 :color &#8220;grey50&#8243; :style nil) :weight light))))<br />
                     (modeline-mousable ((t (:background &#8220;wheat&#8221; :foreground &#8220;black&#8221;))))<br />
                     (modeline-mousable-minor-mode ((t (:background &#8220;wheat&#8221; :foreground &#8220;black&#8221;))))<br />
                     (mouse ((t (:background &#8220;black&#8221;))))<br />
                     (next-error ((t (:background &#8220;gray80&#8243;))))<br />
                     (nobreak-space ((t (:foreground &#8220;brown&#8221; :underline t))))<br />
                     (org-level-1 ((((class color) (min-colors 88) (background dark)) (:foreground &#8220;brown&#8221; :weight extra-bold))))<br />
                     (org-level-2 ((((class color) (min-colors 88) (background dark)) (:foreground &#8220;darkBlue&#8221; :weight bold))))<br />
                     (org-level-3 ((((class color) (min-colors 88) (background dark)) (:foreground &#8220;DarkGreen3&#8243; :weight bold))))<br />
                     (org-level-4 ((((class color) (min-colors 88) (background dark)) (:foreground &#8220;Black&#8221;))))<br />
                     (org-level-5 ((((class color) (min-colors 88) (background dark)) (:foreground &#8220;Blue3&#8243;))))<br />
                     (org-level-6 ((((class color) (min-colors 88) (background dark)) (:foreground &#8220;Brick3&#8243;))))<br />
                     (org-level-7 ((((class color) (min-colors 88) (background dark)) (:foreground &#8220;DarkRed1&#8243;))))<br />
                     (org-level-8 ((((class color) (min-colors 88) (background dark)) (:foreground &#8220;DarkBlue3&#8243;))))<br />
                     (org-link ((((class color) (min-colors 88) (background dark)) (:foreground &#8220;blue3&#8243; :weight bold :underline t))))<br />
                     (org-special-keyword ((t (:foreground &#8220;LightSalmon3&#8243; :weight normal))))<br />
                     (org-date ((t (:foreground &#8220;LightSalmon3&#8243; :weight normal))))<br />
					 (org-sexp-date ((t (:foreground &#8220;blue3&#8243; :weight normal))))<br />
                     (org-hide ((t (:foreground &#8220;light goldenrod yellow3&#8243; :weight normal))))<br />
					 (org-document-title ((t (:foreground &#8220;gray20&#8243; :weight bold))))<br />
					 (org-document-info ((t (:foreground &#8220;gray20&#8243; :weight bold))))<br />
                     (paren-blink-off ((t (:foreground &#8220;gray50&#8243;))))<br />
                     (paren-match ((t (:background &#8220;MediumBlue&#8221;))))<br />
                     (paren-mismatch ((t (:background &#8220;DeepPink&#8221; :foreground &#8220;LightSkyBlue&#8221;))))<br />
                     (pointer ((t (nil))))<br />
                     (primary-selection ((t (:background &#8220;DarkBlue&#8221; :foreground &#8220;Gray80&#8243;))))<br />
                     (query-replace ((t (:foreground &#8220;lightskyblue1&#8243; :background &#8220;magenta3&#8243;))))<br />
                     (region ((t (:foreground &#8220;black&#8221; :background &#8220;gray80&#8243;))))<br />
                     (scroll-bar ((t (:foreground &#8220;systemscrollbar&#8221;))))<br />
                     (secondary-selection ((t (:background &#8220;darkslateblue&#8221; :foreground &#8220;black&#8221;))))<br />
                     (semantic-decoration-on-private-members-face ((t (:background &#8220;#8fffff&#8221;))))<br />
                     (semantic-decoration-on-protected-members-face ((t (:background &#8220;#fffff8&#8243;))))<br />
                     (semantic-highlight-edits-face ((t (:background &#8220;gray90&#8243;))))<br />
                     (semantic-tag-boundary-face ((t (:overline &#8220;blue&#8221;))))<br />
                     (semantic-tag-highlight-face ((t (:background &#8220;#FFFFAA&#8221;))))<br />
                     (semantic-tag-highlight-start-face ((t (:background &#8220;#FFFFAA&#8221;))))<br />
                     (semantic-unmatched-syntax-face ((t (:underline &#8220;red&#8221;))))<br />
                     (senator-intangible-face ((t (:foreground &#8220;gray25&#8243;))))<br />
                     (senator-momentary-highlight-face ((t (:background &#8220;gray70&#8243;))))<br />
                     (senator-read-only-face ((t (:background &#8220;#CCBBBB&#8221;))))<br />
                     (shadow ((t (:foreground &#8220;grey50&#8243;))))<br />
                     (show-paren-match ((t (:background &#8220;DodgerBlue&#8221;))))<br />
                     (show-paren-mismatch ((t (:background &#8220;red&#8221; :foreground &#8220;white&#8221;))))<br />
                     (speedbar-button-face ((t (:foreground &#8220;green4&#8243;))))<br />
                     (speedbar-directory-face ((t (:foreground &#8220;blue4&#8243;))))<br />
                     (speedbar-file-face ((t (:foreground &#8220;cyan4&#8243;))))<br />
                     (speedbar-highlight-face ((t (:background &#8220;green&#8221;))))<br />
                     (speedbar-selected-face ((t (:foreground &#8220;red&#8221; :underline t))))<br />
                     (speedbar-separator-face ((t (:background &#8220;blue&#8221; :foreground &#8220;white&#8221; :overline &#8220;gray&#8221;))))<br />
                     (speedbar-tag-face ((t (:foreground &#8220;brown&#8221;))))<br />
                     (swbuff-current-buffer-face ((t (:bold t :foreground &#8220;red&#8221; :underline t :weight bold))))<br />
                     (swbuff-default-face ((t (nil))))<br />
                     (swbuff-separator-face ((t (:foreground &#8220;blue&#8221;))))<br />
                     (tabbar-button-face ((t (:background &#8220;gray72&#8243; :family &#8220;helv&#8221; :foreground &#8220;dark red&#8221; :box (:line-width 2 :color &#8220;white&#8221; :style released-button) :height 0.8))))<br />
                     (tabbar-default-face ((t (:family &#8220;helv&#8221; :background &#8220;gray72&#8243; :foreground &#8220;gray60&#8243; :height 0.8))))<br />
                     (tabbar-selected-face ((t (:background &#8220;gray72&#8243; :family &#8220;helv&#8221; :foreground &#8220;blue&#8221; :box (:line-width 2 :color &#8220;white&#8221; :style released-button) :height 0.8))))<br />
                     (tabbar-separator-face ((t (:foreground &#8220;gray60&#8243; :background &#8220;gray72&#8243; :family &#8220;helv&#8221; :height 0.16000000000000003))))<br />
                     (tabbar-unselected-face ((t (:foreground &#8220;gray60&#8243; :background &#8220;gray72&#8243; :family &#8220;helv&#8221; :box (:line-width 2 :color &#8220;white&#8221; :style pressed-button) :height 0.8))))<br />
                     (tool-bar ((t (:background &#8220;systembuttonface&#8221; :foreground &#8220;systembuttontext&#8221; :box (:line-width 1 :style released-button)))))<br />
                     (tooltip ((t (:family &#8220;helv&#8221; :background &#8220;systeminfowindow&#8221; :foreground &#8220;systeminfotext&#8221;))))<br />
;;                     (trailing-whitespace ((t (:background &#8220;yellow&#8221;))))<br />
                     (underline ((t (:underline t))))<br />
                     (variable-pitch ((t (:family &#8220;helv&#8221;))))<br />
                     (vertical-border ((t (nil))))<br />
                     (which-func ((t (:foreground &#8220;DeepSkyBlue4&#8243;))))<br />
                     (widget-button ((t (:bold t :weight bold))))<br />
                     (widget-button-pressed ((t (:foreground &#8220;red1&#8243;))))<br />
                     (widget-documentation ((t (:foreground &#8220;dark green&#8221;))))<br />
                     (widget-field ((t (:background &#8220;gray85&#8243;))))<br />
                     (widget-inactive ((t (:foreground &#8220;grey50&#8243;))))<br />
                     (widget-single-line-field ((t (:background &#8220;gray85&#8243;))))<br />
                     (xref-keyword-face ((t (:foreground &#8220;blue&#8221;))))<br />
                     (xref-list-default-face ((t (nil))))<br />
                     (xref-list-pilot-face ((t (:foreground &#8220;navy&#8221;))))<br />
                     (xref-list-symbol-face ((t (:foreground &#8220;navy&#8221;))))))))</p>
<p>(defun cl-dark ()<br />
  &#8220;dark color theme by Da Zhang, created on 20090319.&#8221;<br />
  (interactive)<br />
  (ignore-errors  (color-theme-install<br />
                   &#8216;(color-theme-da-dark<br />
                     ((foreground-color . &#8220;#a9eadf&#8221;)<br />
                      (background-color . &#8220;101010&#8243;)<br />
                      (background-mode . dark)<br />
                      (background-toolbar-color . &#8220;#cf3ccf3ccf3c&#8221;)<br />
                      (border-color . &#8220;#000000000000&#8243;)<br />
                      (bottom-toolbar-shadow-color . &#8220;#79e77df779e7&#8243;)<br />
                      ;; (cursor-color . &#8220;Red3&#8243;)<br />
                      (foreground-color . &#8220;honeydew&#8221;)<br />
                      (mouse-color . &#8220;black&#8221;))<br />
                     (bold ((t (:bold t))))<br />
                     (bold-italic ((t (:italic t :bold t))))<br />
                     (border ((t (:background &#8220;#000000000000&#8243;))))<br />
                     (border-glyph ((t (nil))))<br />
                     (default ((t (nil))))<br />
                     (font-lock-builtin-face ((t (:italic t :foreground &#8220;#a96da0&#8243;))))<br />
                     (font-lock-comment-face ((t (:italic t :foreground &#8220;#bbbbbb&#8221;))))<br />
                     (font-lock-comment-delimiter-face ((t (:foreground &#8220;#666666&#8243;))))<br />
                     (font-lock-constant-face ((t (:bold t :foreground &#8220;#197b6e&#8221;))))<br />
                     (font-lock-doc-string-face ((t (:foreground &#8220;#3041c4&#8243;))))<br />
                     (font-lock-doc-face ((t (:foreground &#8220;gray&#8221;))))<br />
                     (font-lock-reference-face ((t (:foreground &#8220;white&#8221;))))<br />
                     (font-lock-function-name-face ((t (:foreground &#8220;#356da0&#8243;))))<br />
                     (font-lock-keyword-face ((t (:bold t :foreground &#8220;#bcf0f1&#8243;))))<br />
                     (font-lock-preprocessor-face ((t (:foreground &#8220;#e3ea94&#8243;))))<br />
                     (font-lock-string-face ((t (:foreground &#8220;#ffffff&#8221;))))<br />
                     (font-lock-type-face ((t (:bold t :foreground &#8220;#364498&#8243;))))<br />
                     (font-lock-variable-name-face ((t (:foreground &#8220;#7685de&#8221;))))<br />
                     (font-lock-warning-face ((t (:bold t :italic nil :underline nil<br />
                                                        :foreground &#8220;yellow&#8221;))))<br />
                     (fringe ((t (:background &#8220;grey10&#8243; :foreground &#8220;#112233&#8243;))))<br />
                     (italic ((t ( :italic t :slant italic))))<br />
                     (hl-line ((t (:background &#8220;#112233&#8243;))))<br />
                     (minibuffer-prompt ((t (:foreground &#8220;red&#8221; :weight bold))))<br />
                     (mode-line ((t (:foreground &#8220;#ffffff&#8221; :background &#8220;#333333&#8243;))))<br />
                     (region ((t (:foreground nil :background &#8220;#555555&#8243;))))<br />
                     (show-paren-match-face ((t (:bold t :foreground &#8220;#ffffff&#8221;<br />
                                                       :background &#8220;#050505&#8243;))))))))</p>
<p>(defun da-color-theme (&amp;optional arg)<br />
  &#8220;Changes color theme to my custom black background theme.<br />
With a prefix arg, changes to my custom white background theme.&#8221;<br />
  (interactive &#8220;P&#8221;)<br />
  (ignore-errors<br />
    (if arg<br />
        (cl-matlab)<br />
      (cl-normal))))<br />
(provide &#8216;switch-color-theme-matlab-latex)</p>
<p>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br />
;;; switch-color-theme-matlab-latex.el ends here</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zhangda.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zhangda.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zhangda.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zhangda.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zhangda.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zhangda.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zhangda.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zhangda.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zhangda.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zhangda.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zhangda.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zhangda.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zhangda.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zhangda.wordpress.com/173/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhangda.wordpress.com&amp;blog=7259137&amp;post=173&amp;subd=zhangda&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zhangda.wordpress.com/2011/03/17/updated-switch-color-theme-matlab-latex-el/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0b22a89d386c5b35940c9773da573dd6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhangda</media:title>
		</media:content>
	</item>
		<item>
		<title>automatic formatting bib entry and generating proper file name for pdf file</title>
		<link>http://zhangda.wordpress.com/2011/02/18/automatic-formatting-bib-entry-and-generating-proper-file-name-for-pdf-file/</link>
		<comments>http://zhangda.wordpress.com/2011/02/18/automatic-formatting-bib-entry-and-generating-proper-file-name-for-pdf-file/#comments</comments>
		<pubDate>Fri, 18 Feb 2011 18:46:27 +0000</pubDate>
		<dc:creator>zhangda</dc:creator>
		
		<guid isPermaLink="false">http://zhangda.wordpress.com/2011/02/18/automatic-formatting-bib-entry-and-generating-proper-file-name-for-pdf-file/</guid>
		<description><![CDATA[This is the subroutine I use frequently to reformat bib entries downloaded from journal websites. It can achieve the following things: 1. rename the bib entry name as FirstAuthorLastName-Year-Title 2. it will remove the lengthy abstract and note items 3. it will generate a filename for saving pdf copy in the format of FirstAuthorLastName_Year_Title_Journal.pdf 4. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhangda.wordpress.com&amp;blog=7259137&amp;post=179&amp;subd=zhangda&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is the subroutine I use frequently to reformat bib entries downloaded from journal websites.<br />
It can achieve the following things:</p>
<p>1. rename the bib entry name as FirstAuthorLastName-Year-Title<br />
2. it will remove the lengthy abstract and note items<br />
3. it will generate a filename for saving pdf copy in the format of FirstAuthorLastName_Year_Title_Journal.pdf<br />
4. it will move the url item to the end and comment it</p>
<p>Here is the code:</p>
<p>;; Filename: fbib.el<br />
;; Author: Da Zhang<br />
;; Usage:<br />
;; Compile:<br />
;; System:<br />
;; Bugs:<br />
;; Created: Thu Apr 29 23:38:36 2010<br />
;; Last-Updated: Fri Oct 15 14:22:05 2010 (-14400 -0400)<br />
;;      Update #: 40<br />
;; Description:<br />
;;;;;;;;;;;;;;;;;;;;;;;;;;; -*- Mode: Emacs-Lisp -*- ;;;;;;;;;;;;;;;;;;;;;;;;;;<br />
;;<br />
;;; Code:</p>
<p>(defun fbib ()<br />
  &#8220;Format the bib entry copied from websites, and generate the file name for saving the pdf files systematically.&#8221;<br />
  (interactive)<br />
  (goto-char (point-max))<br />
  (re-search-backward &#8220;@&#8221; nil t)<br />
  (beginning-of-line)<br />
  (setq beg-pos (point))</p>
<p>  ;; remove the original bib entry name<br />
  (re-search-forward &#8220;\{&#8221; nil t)<br />
  (re-search-forward &#8220;,&#8221;)<br />
  (backward-char)<br />
  (let ((beg (point)))<br />
  (re-search-backward &#8220;\{&#8221; nil t)<br />
  (forward-char)<br />
  (delete-region beg (point)))</p>
<p>  ;; search for author name and copy it to bib entry name<br />
  (let ((tmp (point)))<br />
    (re-search-forward &#8220;author&#8221; nil t)<br />
    (re-search-forward &#8220;\{&#8221; nil t)<br />
    (let ((start (point)))<br />
      (re-search-forward &#8220;\}&#8221; nil t)<br />
      (let ((end (point)))<br />
		(if (re-search-in-region &#8220;,&#8221; start end)<br />
			(backward-word 1)<br />
		  (if (re-search-in-region &#8220;and&#8221; start end)<br />
			  (backward-word 2)<br />
			(re-search-forward &#8220;\}&#8221; nil t)<br />
			(backward-word 1)))))<br />
;;    (re-search-forward &#8220;and&#8221; nil t)<br />
;;    (backward-word 2)<br />
    (let ((beg (point)))<br />
      (forward-word)<br />
      (copy-region-as-kill beg (point)))<br />
    (goto-char tmp)<br />
    (yank)<br />
    (insert &#8220;-&#8221;))<br />
  ;; search for year and copy it to bib entry name<br />
  (let ((tmp (point)))<br />
    (re-search-forward &#8220;year&#8221; nil t)<br />
    (re-search-forward &#8220;\{&#8221; nil t)<br />
    (let ((beg (point)))<br />
      (forward-word)<br />
      (copy-region-as-kill beg (point)))<br />
    (goto-char tmp)<br />
    (yank)<br />
    (insert &#8220;-&#8221;))</p>
<p>  ;; search for article title and copy it to bib entry name<br />
  (let ((tmp (point)))<br />
    (re-search-forward &#8220;title&#8221; nil t)<br />
    (re-search-forward &#8220;\{&#8221; nil t)<br />
    (let ((beg (point)))<br />
      (re-search-forward &#8220;\}&#8221; nil t)<br />
      (backward-char)<br />
      (copy-region-as-kill beg (point)))<br />
    (goto-char tmp)<br />
    (yank)<br />
    (let ((bib-name-end (point)))<br />
      (replace-in-region &#8221; &#8221; &#8220;-&#8221; tmp bib-name-end)<br />
      (replace-in-region &#8220;:&#8221; &#8220;-&#8221; tmp bib-name-end)<br />
      ))</p>
<p>  ;; optional: search keywords, and kill it<br />
  (goto-char beg-pos)<br />
  (if (re-search-forward &#8220;keywords&#8221; nil t)<br />
      (progn<br />
        (beginning-of-line)<br />
        (let ((beg (point)))<br />
          (re-search-forward &#8220;\},&#8221;)<br />
          (forward-char)<br />
          (kill-region beg (point)))))</p>
<p>  ;; optional: search url, and move it to the back of the entry<br />
  (goto-char beg-pos)<br />
  (if (re-search-forward &#8220;url&#8221; nil t)<br />
      (progn<br />
        (beginning-of-line)<br />
        (kill-line)<br />
        (re-search-forward &#8220;^\}&#8221; nil t)<br />
        (forward-char)<br />
        (yank)<br />
        (re-search-backward &#8220;url&#8221; nil t)<br />
        (beginning-of-line)<br />
        (let ((beg (point)))<br />
          (end-of-line)<br />
          (comment-region beg (point)))))</p>
<p>  ;; form the pdf file name and add it to the end of the buffer<br />
  (goto-char (point-max))<br />
  (let ((tmp (point)))<br />
    (goto-char beg-pos)<br />
    (re-search-forward &#8220;author&#8221; nil t)<br />
    (re-search-forward &#8220;\{&#8221; nil t)<br />
    (let ((start (point)))<br />
      (re-search-forward &#8220;\}&#8221; nil t)<br />
      (let ((end (point)))<br />
        (if (re-search-in-region &#8220;,&#8221; start end)<br />
			(backward-word 1)<br />
		  (if (re-search-in-region &#8220;and&#8221; start end)<br />
			  (backward-word 2)<br />
			(re-search-forward &#8220;\}&#8221; nil t)<br />
			(backward-word 1)))))<br />
    ;; (re-search-forward &#8220;and&#8221; nil t)<br />
    ;; (backward-word 2)<br />
    (let ((beg (point)))<br />
      (forward-word)<br />
      (copy-region-as-kill beg (point)))<br />
    (goto-char tmp)<br />
    (yank)<br />
    (insert &#8220;_&#8221;))<br />
  (let ((tmp (point)))<br />
    (re-search-backward &#8220;year&#8221; nil t)<br />
    (re-search-forward &#8220;\{&#8221; nil t)<br />
    (let ((beg (point)))<br />
      (forward-word)<br />
      (copy-region-as-kill beg (point)))<br />
    (goto-char tmp)<br />
    (yank)<br />
    (insert &#8220;_&#8221;))<br />
  (let ((tmp (point)))<br />
    (re-search-backward &#8220;title&#8221; nil t)<br />
    (re-search-forward &#8220;\{&#8221; nil t)<br />
    (let ((beg (point)))<br />
      (re-search-forward &#8220;\}&#8221; nil t)<br />
      (backward-char)<br />
      (copy-region-as-kill beg (point)))<br />
    (goto-char tmp)<br />
    (yank)<br />
    (insert &#8220;_&#8221;))<br />
  (let ((tmp (point)))<br />
    (re-search-backward &#8220;journal&#8221; nil t)<br />
    (re-search-forward &#8220;\{&#8221; nil t)<br />
    (let ((beg (point)))<br />
      (re-search-forward &#8220;\}&#8221; nil t)<br />
      (backward-char)<br />
      (copy-region-as-kill beg (point)))<br />
    (goto-char tmp)<br />
    (yank)<br />
    (insert &#8220;.pdf&#8221;))<br />
  (beginning-of-line)<br />
  (let ((pdf-name-beg (point)))<br />
    (end-of-line)<br />
    (replace-in-region &#8220;:&#8221; &#8220;_&#8221; pdf-name-beg (point)))</p>
<p>  ;; optional: search abstract, and delete it<br />
  (goto-char beg-pos)<br />
  (if (re-search-forward &#8220;abstract&#8221; nil t)<br />
      (progn<br />
        (beginning-of-line)<br />
        (let ((beg (point)))<br />
        (re-search-forward &#8220;\}&#8221; nil t)<br />
        (end-of-line)<br />
        (kill-region beg (point)))<br />
        (kill-line)))<br />
)</p>
<p>(defun re-search-in-region (pat start end)<br />
  &#8220;regexp search forward in region specified by start and end.&#8221;<br />
  (save-restriction<br />
    (narrow-to-region start end)<br />
    (goto-char (point-min))<br />
    (re-search-forward pat nil t)))</p>
<p>(defun replace-in-region (from-string to-string start end)<br />
  &#8220;Replace from-string with to-string in region specified by start and end.&#8221;<br />
  (save-restriction<br />
    (narrow-to-region start end)<br />
    (goto-char (point-min))<br />
    (while (search-forward  from-string nil t) (replace-match to-string nil t))<br />
    )<br />
  )</p>
<p>(provide &#8216;fbib)<br />
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br />
;;; fbib.el ends here</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zhangda.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zhangda.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zhangda.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zhangda.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zhangda.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zhangda.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zhangda.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zhangda.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zhangda.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zhangda.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zhangda.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zhangda.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zhangda.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zhangda.wordpress.com/179/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhangda.wordpress.com&amp;blog=7259137&amp;post=179&amp;subd=zhangda&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zhangda.wordpress.com/2011/02/18/automatic-formatting-bib-entry-and-generating-proper-file-name-for-pdf-file/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0b22a89d386c5b35940c9773da573dd6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhangda</media:title>
		</media:content>
	</item>
		<item>
		<title>Let Emacs be your file processing engine, and use shell to drive it for batch processing!</title>
		<link>http://zhangda.wordpress.com/2010/03/24/let-emacs-be-your-file-processing-engine-and-use-shell-to-drive-it-for-batch-processing-2/</link>
		<comments>http://zhangda.wordpress.com/2010/03/24/let-emacs-be-your-file-processing-engine-and-use-shell-to-drive-it-for-batch-processing-2/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 18:00:43 +0000</pubDate>
		<dc:creator>zhangda</dc:creator>
		
		<guid isPermaLink="false">http://zhangda.wordpress.com/2010/03/24/let-emacs-be-your-file-processing-engine-and-use-shell-to-drive-it-for-batch-processing-2/</guid>
		<description><![CDATA[Emacs has so many wonderful text processing functions that are not available elsewhere, such as align-regexp. Therefore, it will be very attractive to write an elisp script, and use shell to call Emacs to apply the script to many files. I have some examples for this implementation: In ~/my_elisp.el ;; my_elisp.el starts here ;; define [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhangda.wordpress.com&amp;blog=7259137&amp;post=167&amp;subd=zhangda&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Emacs has so many wonderful text processing functions that are not available elsewhere, such as align-regexp. Therefore, it will be very attractive to write an elisp script, and use shell to call Emacs to apply the script to many files.</p>
<p>I have some examples for this implementation:</p>
<p>In ~/my_elisp.el</p>
<p>;; my_elisp.el starts here</p>
<p>;; define the function for text processing<br />
(defun format-rpt ()<br />
&#8220;A function to format the OCR-processed reports for further excel import.&#8221;<br />
(interactive)<br />
;; align the table of data&#8211;&gt; aligned and make the numbers comma separated<br />
(goto-char (point-min))<br />
(re-search-forward &#8220;land-mark-regexp-pattern&#8221; nil t) ;; find the land mark in the file to start the alignment<br />
(beginning-of-line)<br />
(let ((beg (point))) (align-regexp beg (point-max) &#8220;\\(\\s-*\\)  &#8221; 1 1 nil)) ;; align the first time<br />
(while (re-search-forward &#8221; \\{2,\\}\\b&#8221; nil t) ;; add comma for excel importing &#8220;comma separated file&#8221;<br />
(insert &#8220;,&#8221;))<br />
(goto-char (point-min))<br />
(re-search-forward &#8220;land-mark-regexp-pattern&#8221; nil t) ;; find the land mark in the file to start the alignment<br />
(beginning-of-line)<br />
(let ((beg (point))) (align-regexp beg (point-max) &#8220;\\(\\s-*\\),&#8221; 1 4 nil)) ;; align the second time<br />
(write-file &#8220;./save_to.txt&#8221; nil) ;; save file<br />
)</p>
<p>(format-rpt) ;; call the function for text processing</p>
<p>;; my_elisp.el ends here</p>
<p>Then in bash (I used cygwin), use find to drive the Emacs:</p>
<p>find . -name &#8220;ocr.txt&#8221; -printf &#8216;%h\n&#8217;| while read dir; do (cd &#8220;$dir&#8221;; emacs &#8211;no-site-file -nw &#8211;batch ocr.txt -l ~/my_lisp) done</p>
<p>This special find calling pattern can deal with the spaces in path in Windows OS, and make it easy for cygwin.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zhangda.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zhangda.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zhangda.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zhangda.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zhangda.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zhangda.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zhangda.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zhangda.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zhangda.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zhangda.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zhangda.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zhangda.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zhangda.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zhangda.wordpress.com/167/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhangda.wordpress.com&amp;blog=7259137&amp;post=167&amp;subd=zhangda&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zhangda.wordpress.com/2010/03/24/let-emacs-be-your-file-processing-engine-and-use-shell-to-drive-it-for-batch-processing-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0b22a89d386c5b35940c9773da573dd6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhangda</media:title>
		</media:content>
	</item>
		<item>
		<title>mintty parameters</title>
		<link>http://zhangda.wordpress.com/2010/03/16/mintty-parameters/</link>
		<comments>http://zhangda.wordpress.com/2010/03/16/mintty-parameters/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 19:58:10 +0000</pubDate>
		<dc:creator>zhangda</dc:creator>
		
		<guid isPermaLink="false">http://zhangda.wordpress.com/2010/03/16/mintty-parameters/</guid>
		<description><![CDATA[When starting Mintty, it&#8217;s better to include the following parameters: -e /bin/bash &#8211;login Otherwise Mintty will use the path of windows: system PATH first, user PATH second, then cygwin path ==&#62; this will cause Windows versions of cygwin commands such as FIND to be executed. Other tip: /cygwin/etc/profile and ~/.bashrc are the common two files [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhangda.wordpress.com&amp;blog=7259137&amp;post=158&amp;subd=zhangda&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When starting Mintty, it&#8217;s better to include the following parameters:<br />
-e /bin/bash &#8211;login</p>
<p>Otherwise Mintty will use the path of windows: system PATH first, user PATH second, then cygwin path ==&gt; this will cause Windows versions of cygwin commands such as FIND to be executed. </p>
<p>Other tip: /cygwin/etc/profile and ~/.bashrc are the common two files controlling the behavior of bash shells.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zhangda.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zhangda.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zhangda.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zhangda.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zhangda.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zhangda.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zhangda.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zhangda.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zhangda.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zhangda.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zhangda.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zhangda.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zhangda.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zhangda.wordpress.com/158/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhangda.wordpress.com&amp;blog=7259137&amp;post=158&amp;subd=zhangda&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zhangda.wordpress.com/2010/03/16/mintty-parameters/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0b22a89d386c5b35940c9773da573dd6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhangda</media:title>
		</media:content>
	</item>
		<item>
		<title>hack on match-paren</title>
		<link>http://zhangda.wordpress.com/2010/02/05/hack-on-match-paren/</link>
		<comments>http://zhangda.wordpress.com/2010/02/05/hack-on-match-paren/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 14:38:22 +0000</pubDate>
		<dc:creator>zhangda</dc:creator>
		
		<guid isPermaLink="false">http://zhangda.wordpress.com/2010/02/05/hack-on-match-paren/</guid>
		<description><![CDATA[I used to use a short code &#34;match-paren&#34; (http://grok2.tripod.com/) when I program, especially in Lisp where parentheses are everywhere. I like this piece of code, for its simplicity and usefulness: if you bind this code to something like M-[, and when you press M-[ on a &#34;(&#34;, the cursor goes to the matching &#34;)&#34; automatically. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhangda.wordpress.com&amp;blog=7259137&amp;post=157&amp;subd=zhangda&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I used to use a short code &quot;match-paren&quot; (http://grok2.tripod.com/) when I program, especially in Lisp where parentheses are everywhere. I like this piece of code, for its simplicity and usefulness: if you bind this code to something like M-[, and when you press M-[ on a &quot;(&quot;, the cursor goes to the matching &quot;)&quot; automatically. This also works when mark is activated, so you can highlight the region between two matching &quot;(&quot; and &quot;)&quot; very easily. The original code is as follows:</p>
<p>(defun match-paren (arg)<br />
  &quot;Go to the matching paren if on a paren.&quot;<br />
	(interactive &quot;p&quot;)<br />
	  (cond ((looking-at &quot;\\s\(&quot;) (forward-list 1) (backward-char 1))<br />
		((looking-at &quot;\\s\)&quot;) (forward-char 1) (backward-list 1))))</p>
<p>Then sometimes I found that the code does not always work intuitively, especially when I want to highlight a region with the matching &quot;(&quot; and &quot;)&quot;, so I did the following hack:<br />
(1) when you keep hitting the key-binding, e.g., M-[, the cursor jump back and forth between its original locations, not like the original code<br />
(2) when the mark is active, the cursor jump to the matching parenthesis and move forward one step after reaching &quot;)&quot; or backward one step after reaching &quot;(&quot;, so the highlighted region contains everything between (and including) the matching &quot;(&quot; and &quot;)&quot;. I found this especially useful when you want to cut a list out when programming in Lisp.</p>
<p>Here is my hack. </p>
<p>(defun da-match-paren (arg)<br />
  &quot;Go to the matching paren if on a paren.&quot;<br />
  (interactive &quot;p&quot;)<br />
  (cond ((and mark-active (looking-at &quot;\\s\(&quot;)) (forward-list 1))<br />
        ((and mark-active (looking-back &quot;\\s\)&quot;)) (backward-list 1))<br />
        ((looking-at &quot;\\s\(&quot;) (forward-list 1) (backward-char 1))<br />
        ((looking-at &quot;\\s\)&quot;) (forward-char 1) (backward-list 1))<br />
        ))<br />
(global-set-key (kbd &quot;M-[&quot;) &#8216;da-match-paren)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zhangda.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zhangda.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zhangda.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zhangda.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zhangda.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zhangda.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zhangda.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zhangda.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zhangda.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zhangda.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zhangda.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zhangda.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zhangda.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zhangda.wordpress.com/157/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhangda.wordpress.com&amp;blog=7259137&amp;post=157&amp;subd=zhangda&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zhangda.wordpress.com/2010/02/05/hack-on-match-paren/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0b22a89d386c5b35940c9773da573dd6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhangda</media:title>
		</media:content>
	</item>
		<item>
		<title>another way to track literature</title>
		<link>http://zhangda.wordpress.com/2010/02/04/another-way-to-track-literature/</link>
		<comments>http://zhangda.wordpress.com/2010/02/04/another-way-to-track-literature/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 20:58:43 +0000</pubDate>
		<dc:creator>zhangda</dc:creator>
		
		<guid isPermaLink="false">http://zhangda.wordpress.com/2010/02/04/another-way-to-track-literature/</guid>
		<description><![CDATA[I found using NIH or NSF grant number, such as NIH RO1-EB002123, is another good way to track a series of papers from a particular research group. Actually, the corresponding authors usually pay attention to which grants a paper should mention at the Acknowledgment part, so the papers having the same grant number are often [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhangda.wordpress.com&amp;blog=7259137&amp;post=156&amp;subd=zhangda&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I found using NIH or NSF grant number, such as NIH RO1-EB002123, is another good way to track a series of papers from a particular research group. Actually, the corresponding authors usually pay attention to which grants a paper should mention at the Acknowledgment part, so the papers having the same grant number are often automatically and carefully classified according to the big project they are related to. I think this is worth mentioning in my web note.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zhangda.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zhangda.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zhangda.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zhangda.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zhangda.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zhangda.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zhangda.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zhangda.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zhangda.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zhangda.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zhangda.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zhangda.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zhangda.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zhangda.wordpress.com/156/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhangda.wordpress.com&amp;blog=7259137&amp;post=156&amp;subd=zhangda&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zhangda.wordpress.com/2010/02/04/another-way-to-track-literature/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0b22a89d386c5b35940c9773da573dd6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhangda</media:title>
		</media:content>
	</item>
		<item>
		<title>open a windows explorer at the path of the current buffer</title>
		<link>http://zhangda.wordpress.com/2010/02/03/open-the-path-of-the-current-buffer-within-emacs/</link>
		<comments>http://zhangda.wordpress.com/2010/02/03/open-the-path-of-the-current-buffer-within-emacs/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 18:15:25 +0000</pubDate>
		<dc:creator>zhangda</dc:creator>
		
		<guid isPermaLink="false">http://zhangda.wordpress.com/2010/02/03/open-the-path-of-the-current-buffer-within-emacs/</guid>
		<description><![CDATA[I use emacs in Windows. As I edit some text based files in Emacs, sometimes I need to open a window at the path of the current buffer to visit other files. It would be nice if I can just press a key in Emacs, and have this window open. Here is my simple solution [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhangda.wordpress.com&amp;blog=7259137&amp;post=152&amp;subd=zhangda&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I use emacs in Windows. As I edit some text based files in Emacs, sometimes I need to open a window at the path of the current buffer to visit other files. It would be nice if I can just press a key in Emacs, and have this window open. Here is my simple solution for this task in Emacs with Windows OS.</p>
<p>(defun open-buffer-path ()<br />
  &#8220;Run explorer on the directory of the current buffer.&#8221;<br />
  (interactive)<br />
  (shell-command (concat &#8220;explorer &#8221;  (replace-regexp-in-string &#8220;/&#8221; &#8220;\\\\&#8221; (file-name-directory (buffer-file-name)) t t))))</p>
<p>I bound this function to a key-binding:<br />
(global-set-key [M-f9] &#8216;open-buffer-path)</p>
<p>Notes: the key points in the line<br />
(shell-command (concat &#8220;explorer &#8221;  (replace-regexp-in-string &#8220;/&#8221; &#8220;\\\\&#8221; (file-name-directory (buffer-file-name)) t t)))<br />
(1) shell-command call a command specified by a string from shell<br />
(2) replace-regexp-in-string &#8220;/&#8221; &#8220;\\\\&#8221; replace the Unix-style path (using /) to Windows-style paht (using \), the optional arguments &#8220;t t&#8221; let replace-regexp-in-string replace literally.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zhangda.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zhangda.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zhangda.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zhangda.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zhangda.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zhangda.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zhangda.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zhangda.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zhangda.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zhangda.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zhangda.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zhangda.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zhangda.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zhangda.wordpress.com/152/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhangda.wordpress.com&amp;blog=7259137&amp;post=152&amp;subd=zhangda&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zhangda.wordpress.com/2010/02/03/open-the-path-of-the-current-buffer-within-emacs/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0b22a89d386c5b35940c9773da573dd6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhangda</media:title>
		</media:content>
	</item>
		<item>
		<title>how to configure NIST TNT into cygwin gcc environment</title>
		<link>http://zhangda.wordpress.com/2009/11/27/how-to-configure-nist-tnt-into-cygwin-gcc-environment/</link>
		<comments>http://zhangda.wordpress.com/2009/11/27/how-to-configure-nist-tnt-into-cygwin-gcc-environment/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 20:16:34 +0000</pubDate>
		<dc:creator>zhangda</dc:creator>
		
		<guid isPermaLink="false">http://zhangda.wordpress.com/2009/11/27/how-to-configure-nist-tnt-into-cygwin-gcc-environment/</guid>
		<description><![CDATA[NIST TNT and JAMA are very useful libraries designed for complex matrix based computation. The libraries are purely headers containing template based classes and subroutines. To configure the TNT into a cygwin/gcc programming environment, the following can be done: 1. download TNT and JAMA from nist.gov (http://math.nist.gov/tnt/download.html) 2. extract the header files into /usr/local/include/tnt 3. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhangda.wordpress.com&amp;blog=7259137&amp;post=142&amp;subd=zhangda&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>NIST TNT and JAMA are very useful libraries designed for complex matrix based computation.  The libraries are purely headers containing template based classes and subroutines. To configure the TNT into a cygwin/gcc programming environment, the following can be done:</p>
<p>1. download TNT and JAMA from nist.gov (http://math.nist.gov/tnt/download.html)</p>
<p>2. extract the header files into /usr/local/include/tnt</p>
<p>3. test a cpp file:</p>
<p>#include &lt;tnt/tnt.h&gt;<br />
#include &lt;iostream&gt;<br />
using namespace TNT;<br />
using namespace std;<br />
int main(void)<br />
{<br />
  int M = 3;<br />
  int N = 3;<br />
  Array2D&lt; double &gt; A(M,N, 0.0);    /* create MxN array; all zeros */</p>
<p>  for (int i=0; i &lt; M; i++)<br />
    for (int j=0; j &lt; N; j++)<br />
      A[i][j] = i*10+j;              /* initalize array values */</p>
<p>  Array2D&lt; double &gt; B = A.copy();       /* create a new copy */</p>
<p>  Array2D&lt; double &gt; C(B);               /* create a new view of B */<br />
  /* Both arrays (B &amp; C) share data */<br />
  for (int i=0; i&lt;M; i++)<br />
    for (int j=0; j&lt;N; j++)<br />
      cout&lt;&lt;&quot;A[&quot;&lt;&lt;i&lt;&lt;&quot;][&quot;&lt;&lt;j&lt;&lt;&quot;] = &quot;&lt;&lt;A[i][j]&lt;&lt;endl;<br />
  return 0;<br />
}</p>
<p>4. write a makefile</p>
<p>CPP = g++<br />
OFLAG = -Wall -o<br />
LFLAG = -l<br />
IFLAG = -I<br />
LIBFLAG = -L<br />
LIBDIR = /usr/local/lib/<br />
INCLUDEDIR = /usr/local/include/TNT/<br />
DEBUGF = -g -D DEBUG<br />
DEBUG = no</p>
<p>.SUFFIXES: .exe .cpp<br />
.cpp.exe:<br />
	$(CPP) $(OFLAG) $@ $&lt;<br />
	$@</p>
<p>try.exe: try.cpp<br />
	$(CPP) $(IFLAG) $(INCLUDEDIR) $(OFLAG) try.exe try.cpp</p>
<p>5. build, and run the try.exe. The result shows:</p>
<p>A[0][0] = 0<br />
A[0][1] = 1<br />
A[0][2] = 2<br />
A[1][0] = 10<br />
A[1][1] = 11<br />
A[1][2] = 12<br />
A[2][0] = 20<br />
A[2][1] = 21<br />
A[2][2] = 22</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zhangda.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zhangda.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zhangda.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zhangda.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zhangda.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zhangda.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zhangda.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zhangda.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zhangda.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zhangda.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zhangda.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zhangda.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zhangda.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zhangda.wordpress.com/142/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhangda.wordpress.com&amp;blog=7259137&amp;post=142&amp;subd=zhangda&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zhangda.wordpress.com/2009/11/27/how-to-configure-nist-tnt-into-cygwin-gcc-environment/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0b22a89d386c5b35940c9773da573dd6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhangda</media:title>
		</media:content>
	</item>
		<item>
		<title>how to set up fftw for cygwin in Win XP</title>
		<link>http://zhangda.wordpress.com/2009/11/27/how-to-set-up-fftw-for-cygwin-in-win-xp/</link>
		<comments>http://zhangda.wordpress.com/2009/11/27/how-to-set-up-fftw-for-cygwin-in-win-xp/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 20:09:28 +0000</pubDate>
		<dc:creator>zhangda</dc:creator>
		
		<guid isPermaLink="false">http://zhangda.wordpress.com/2009/11/27/how-to-set-up-fftw-for-cygwin-in-win-xp/</guid>
		<description><![CDATA[FFTW is essential for image processing, reconstruction, and other imaging related projects. How to integrate FFTW into cygwin-Emacs-gcc programming chain: 1. instruction to follow: the INSTALL file in the package 2. 3 steps to build: ./configure, make, make install 3. the files will be placed into /usr/local/include /usr/local/bin /usr/local/lib 4. test a cpp file: #include [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhangda.wordpress.com&amp;blog=7259137&amp;post=141&amp;subd=zhangda&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>FFTW is essential for image processing, reconstruction, and other imaging related projects.<br />
How to integrate FFTW into cygwin-Emacs-gcc programming chain:<br />
1. instruction to follow: the INSTALL file in the package</p>
<p>2. 3 steps to build: ./configure, make, make install</p>
<p>3. the files will be placed into<br />
/usr/local/include<br />
/usr/local/bin<br />
/usr/local/lib</p>
<p>4. test a cpp file:</p>
<p>#include &lt;fftw/fftw3.h&gt;<br />
#include &lt;iostream&gt;<br />
using namespace std;<br />
int main()<br />
{<br />
	cout &lt;&lt; &quot;fftw3.h is included&quot; &lt;&lt; endl;<br />
	fftw_complex *in, *out;<br />
	fftw_plan p;<br />
	int N = 64;//size of the fft<br />
	in = (fftw_complex*) fftw_malloc(sizeof(fftw_complex) * N);<br />
	out = (fftw_complex*) fftw_malloc(sizeof(fftw_complex) * N);<br />
	p = fftw_plan_dft_1d(N, in , out, FFTW_FORWARD, FFTW_ESTIMATE);<br />
	//now start initialize in<br />
	for(int i=0; i&lt;N; i++)<br />
	{<br />
		in[i][0] = 1;<br />
		in[i][1] = 0;<br />
	}</p>
<p>	fftw_execute(p);//actually run the fftw routine</p>
<p>	for(int i=0; i&lt;N; i++)<br />
	{<br />
		cout &lt;&lt; &quot;out[&quot; &lt;&lt; i &lt;&lt; &quot;] = &quot; &lt;&lt; out[i][0] &lt;&lt; &quot;+&quot; &lt;&lt; out[i][1] &lt;&lt; &quot;j&quot; &lt;&lt; endl;<br />
	}<br />
	fftw_destroy_plan(p);//<br />
	fftw_free(in);<br />
	fftw_free(out);<br />
}</p>
<p>5. write the makefile correctly:</p>
<p>CPP = g++<br />
OFLAG = -Wall -o<br />
LFLAG = -l<br />
IFLAG = -I<br />
LIBFLAG = -L<br />
LIBDIR = /usr/local/lib/<br />
INCLUDEDIR = /usr/local/include/<br />
DEBUGF = -g -D DEBUG<br />
DEBUG = no</p>
<p>.SUFFIXES: .exe .cpp<br />
.cpp.exe:<br />
	$(CPP) $(OFLAG) $@ $&lt;<br />
	$@</p>
<p>main.exe: main.cpp<br />
	$(CPP) $(IFLAG) $(INCLUDEDIR) $(OFLAG) main.exe main.cpp $(LIBDIR)libfftw3.a</p>
<p>6. build</p>
<p>7. test the program main.exe</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zhangda.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zhangda.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zhangda.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zhangda.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zhangda.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zhangda.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zhangda.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zhangda.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zhangda.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zhangda.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zhangda.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zhangda.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zhangda.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zhangda.wordpress.com/141/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhangda.wordpress.com&amp;blog=7259137&amp;post=141&amp;subd=zhangda&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zhangda.wordpress.com/2009/11/27/how-to-set-up-fftw-for-cygwin-in-win-xp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0b22a89d386c5b35940c9773da573dd6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zhangda</media:title>
		</media:content>
	</item>
	</channel>
</rss>
