Anonymous avatar Anonymous committed 7154e29

added outline

Comments (0)

Files changed (394)

 (pymacs-load "bikeemacs" "brm-")
 (brm-init)
 
+;; ido mode
+(require 'ido)
+(ido-mode t)
+
 ;; Inicio da comfiguracao python-mode.
 
 
                  'py-beginning-of-def-or-class)
             (setq outline-regexp "def\\|class ")))
 
+
+;; yasnippet
+(require 'yasnippet)
+(yas/initialize)
+(yas/load-directory "~/.emacs.d/snippets")
+(eval-when-compile (require 'cl))
+
+
+;; python outline mode
+(setq auto-mode-alist (append '(
+	("\\.texi" . texi-outline)
+	("\\.py" . python-outline))
+             auto-mode-alist))
+
 (defun py-next-block ()
   "go to the next block.  Cf. `forward-sexp' for lisp-mode"
   (interactive)
 (define-key global-map [delete]
 'delete-char)
 
+;; soft tabs
 
+(setq indent-tabs-mode nil)
+

auto-save-list/.saves-17039-lhonda-desktop~

+/home/lhonda/vm/dev/goodstuff/backend/src/main/gsbe/models/post.py
+/home/lhonda/vm/dev/goodstuff/backend/src/main/gsbe/models/#post.py#
+/home/lhonda/vm/dev/goodstuff/backend/src/main/gsbe/storage/mobstor.py
+/home/lhonda/vm/dev/goodstuff/backend/src/main/gsbe/storage/#mobstor.py#
+/home/lhonda/vm/dev/goodstuff/backend/src/main/gsbe/__init__.py
+/home/lhonda/vm/dev/goodstuff/backend/src/main/gsbe/#__init__.py#
+/home/lhonda/vm/dev/goodstuff/backend/src/main/gsbe/settings_dev.py
+/home/lhonda/vm/dev/goodstuff/backend/src/main/gsbe/#settings_dev.py#
+/home/lhonda/vm/dev/goodstuff/backend/src/main/gsbe/settings_performance.py
+/home/lhonda/vm/dev/goodstuff/backend/src/main/gsbe/#settings_performance.py#
+/home/lhonda/vm/dev/goodstuff/tags
+/home/lhonda/vm/dev/goodstuff/#tags#

find-recursive.el

+;; find-recursive.el -- Find files recursively into a directory
+;; ;;
+;; ;; Copyright (C) 2001 Ovidiu Predescu 
+;; ;; 
+;; ;; Author: Ovidiu Predescu <ovidiu@cup.hp.com>
+;; ;; Date: March 26, 2001
+;; ;;
+;; ;; This program is free software; you can redistribute it and/or 
+;; ;; modify it under the terms of the GNU General Public License 
+;; ;; as published by the Free Software Foundation; either version 2 
+;; ;; of the License, or (at your option) any later version. 
+;; ;;  
+;; ;; This program is distributed in the hope that it will be useful, 
+;; ;; but WITHOUT ANY WARRANTY; without even the implied warranty of 
+;; ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
+;; ;; GNU General Public License for more details. 
+;; ;;  
+;; ;; You should have received a copy of the GNU General Public License 
+;; ;; along with this program; if not, write to the Free Software 
+;; ;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 
+;;  
+;;  ;; 
+;;  ;; Setup: put this file in your Lisp path and add the following line in 
+;;  ;; your .emacs: 
+;;  ;; 
+;;  ;; (require 'find-recursive) 
+;;  ;; 
+;;
+;;  (require 'cl)
+;;
+;;  (defcustom find-recursive-exclude-files '(".*.class$" ".*~$" ".*.elc$")
+;;    "List of regular expressions of files to be excluded when recursively searching for files."
+;;      :type '(repeat (string :tag "File regexp")))
+;;
+;;      (defun find-file-recursively (file-regexp directory)
+;;        (interactive "sFile name to search for recursively: \nDIn directory: ")
+;;          (let ((directory (if (equal (substring directory -1) "/")
+;;          		       directory
+;;          		       		     (concat directory "/")))
+;;          		       		     	(matches
+;;          		       		     		 (find-recursive-filter-out
+;;          		       		     		 	  find-recursive-exclude-files
+;;          		       		     		 	  	  (find-recursive-directory-relative-files directory "" file-regexp))))
+;;          		       		     		 	  	      (cond ((eq (length matches) 0) (message "No file(s) found!"))
+;;          		       		     		 	  	      	   ((eq (length matches) 1)
+;;          		       		     		 	  	      	   	    (find-file (concat directory (car matches))))
+;;          		       		     		 	  	      	   	    	   (t
+;;          		       		     		 	  	      	   	    	   	    (run-with-timer 0.001 nil
+;;          		       		     		 	  	      	   	    	   	    			    (lambda ()
+;;          		       		     		 	  	      	   	    	   	    			    			      (dispatch-event
+;;          		       		     		 	  	      	   	    	   	    			    			      			       (make-event 'key-press '(key tab)))))
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    (let ((file (completing-read "Choose file: "
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   (mapcar 'list matches)
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   nil t)))
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   		(if (or (eq file nil) (equal file ""))
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    (message "No file selected.")
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  (find-file (concat directory file))))))))
+;;
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  (defun find-recursive-directory-relative-files (directory
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  relative-directory
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					  file-regexp)
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    (let* ((full-dir (concat directory "/" relative-directory))
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 (matches
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  (mapcar
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   (function (lambda (x)
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       (concat relative-directory x)))
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   (find-recursive-filter-out '(nil)
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   				(directory-files full-dir nil
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 file-regexp nil t))))
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 (inner
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  (mapcar
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   (function
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    (lambda (dir)
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      (find-recursive-directory-relative-files directory
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 (concat relative-directory
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 dir "/")
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 file-regexp)))
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   (find-recursive-filter-out '(nil "\\." "\\.\\.")
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   				(directory-files full-dir nil ".*"
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										 nil 'directories)))))
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     (mapcar (function (lambda (dir) (setq matches (append matches dir))))
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	    inner)
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	        matches))
+;;
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	        (defun find-recursive-filter-out (remove-list list)
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	          "Remove all the elements in *remove-list* from *list*"
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	            (if (eq list nil)
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                  nil
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      (let ((elem (car list))
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	  (rest (cdr list)))
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        (if (some
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   (lambda (regexp)
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     (if (or (eq elem nil) (eq regexp nil))
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 nil
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       (not (eq (string-match regexp elem) nil))))
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   remove-list)
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  (find-recursive-filter-out remove-list rest)
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	(cons elem (find-recursive-filter-out remove-list rest))))))
+;;
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	(defvar find-recursive-running-xemacs (string-match "XEmacs\\|Lucid" emacs-version))
+;;
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	(if find-recursive-running-xemacs
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	    nil
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      (defadvice directory-files (after
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      directory-files-xemacs
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      (dirname &optional full match nosort files-only)
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			      activate)
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			          "Add an additional argument, FILES-ONLY to the list of arguments
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			          for GNU Emacs. If the symbol is t, then only the files in the
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			          directory will be returned. If FILES-ONLY is nil, then both files and
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			          directories are selected. If FILES-ONLY is not nil and not t, then
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			          only sundirectories are returned."
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              (setq ad-return-value
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              	  (cond ((null files-only) ad-return-value)
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              	  		((eq files-only t)
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              	  				 (find-recursive-remove-if (lambda (f)
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              	  				 					     (file-directory-p
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              	  				 					     					      (concat dirname "/" f)))
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              	  				 					     					      					   ad-return-value))
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              	  				 					     					      					   		(t
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              	  				 					     					      					   				 (find-recursive-remove-if (lambda (f)
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              	  				 					     					      					   				 					     (not (file-directory-p
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              	  				 					     					      					   				 					     						   (concat dirname "/" f))))
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              	  				 					     					      					   				 					     						   					   ad-return-value)))))
+;;
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              	  				 					     					      					   				 					     						   					     (defun find-recursive-remove-if (func list)
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              	  				 					     					      					   				 					     						   					         "Removes all elements satisfying FUNC from LIST."
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              	  				 					     					      					   				 					     						   					             (let ((result nil))
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              	  				 					     					      					   				 					     						   					                   (while list
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              	  				 					     					      					   				 					     						   					                   	(if (not (funcall func (car list)))
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              	  				 					     					      					   				 					     						   					                   		    (setq result (cons (car list) result)))
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              	  				 					     					      					   				 					     						   					                   		    	(setq list (cdr list)))
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              	  				 					     					      					   				 					     						   					                   		    	      (nreverse result))))
+;;
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              	  				 					     					      					   				 					     						   					                   		    	      (global-set-key [(control x) (meta f)] 'find-file-recursively)
+;;
+;;          		       		     		 	  	      	   	    	   	    			    			      			       	    					   					   				    		  					  					    	 	  	   		       	   										 	 	  	   	    	      						 							 						 	   										     	                      	        	   	     		 	       	   	  	      			      			      			              	  				 					     					      					   				 					     						   					                   		    	      (provide 'find-recursive)
+;;

python-outline.el

+;; Outline mode extension
+;; ----------------------
+;;
+;; Author: Ronny Wikh <rw at strakt.com>, May 2002
+;;
+;; A simple extension of the outline mode with functions provided
+;; for python and texi modes.
+;;
+;; The mode simply adds toggles for outline/show everything and
+;; outline/show paragraph, where the 'paragraph' concept is
+;; modified to mean classes and function definitions in python
+;; and chapters and subsections in texi.
+;;
+;; Toggle entry is bound to C-c C-e
+;; Toggle all is bound to C-c C-a
+;;
+;; The default is that a buffer is started in outline mode. This
+;; behaviour is controlled by the variable 'outline-start-hidden'
+;; which can be set in your .emacs:
+;; 
+;; (setq outline-start-hidden t) to start in outline (default) or
+;; (setq outline-start-hidden nil) to start showing everything
+;;
+;; Activation of the mode can be done manually by calling the function
+;;
+;; 'python-outline' for python mode,
+;; 'texi-outline' for texi mode
+;;
+;; or automatically by inserting the following lines into your .emacs file:
+;;
+;; (setq auto-mode-alist (append '(
+;;		("\\.texi" . texi-outline)
+;;		("\\.py" . python-outline))
+;;              auto-mode-alist))
+;;
+;; Modes for other languages can easily be added by providing suitable
+;; regexp expressions for that specific language in new functions.
+;;
+
+(defvar outline-start-hidden t "Start outline hidden")
+
+(defun outline-setup (regexp)
+  "Setup outline mode"
+  (defvar outline-toggle-all-flag nil "toggle all flag")
+  (make-variable-buffer-local 'outline-toggle-all-flag)
+  (defvar cpos_save nil "current cursor position")
+  (outline-minor-mode)
+  (setq outline-regexp regexp)
+  (define-key outline-minor-mode-map "\C-c\C-e" 'outline-toggle-entry)
+  (define-key outline-minor-mode-map "\C-c\C-a" 'outline-toggle-all)
+  (if outline-start-hidden
+      (progn
+	(setq outline-toggle-all-flag t)
+	(hide-body)))
+
+  (defun outline-toggle-entry () (interactive)
+    "Toggle outline hiding for the entry under the cursor"
+    (if (progn
+	  (setq cpos_save (point))
+	  (end-of-line)
+	  (get-char-property (point) 'invisible))
+	(progn 
+	  (show-subtree)
+	  (goto-char cpos_save))
+      (progn 
+	(hide-leaves)
+	(goto-char cpos_save))))
+	
+  (defun outline-toggle-all () (interactive)
+    "Toggle outline hiding for the entire file"
+    (if outline-toggle-all-flag
+	(progn
+	  (setq outline-toggle-all-flag nil)
+	  (show-all))
+      (progn 
+	(setq outline-toggle-all-flag t)
+	(hide-body))))
+)
+
+(defun python-outline () (interactive)
+  "Python outline mode"
+  (python-mode)
+  (outline-setup "^class \\|[ 	]*def \\|^#"))
+
+(defun texi-outline () (interactive)
+  "Texinfo outline mode"
+  (texinfo-mode)
+  (outline-setup "^@chap\\|@\\(sub\\)*section"))

Binary file added.

snippets/text-mode/cc-mode/c++-mode/beginend

+#name : v.begin(), v.end()
+# --
+${1:v}.begin(), $1.end

snippets/text-mode/cc-mode/c++-mode/class

+#name : class ... { ... }
+# --
+class ${1:Name}
+{
+public:
+    ${1:$(yas/substr text "[^: ]*")}($2);
+    virtual ~${1:$(yas/substr text "[^: ]*")}();
+};

snippets/text-mode/cc-mode/c++-mode/ns

+#name : namespace ...
+# --
+namespace 

snippets/text-mode/cc-mode/c++-mode/template

+#name : template <typename ...>
+# --
+template <typename ${T}>

snippets/text-mode/cc-mode/c++-mode/using

+#name : using namespace ... 
+# --
+using namespace ${std};
+$0

snippets/text-mode/cc-mode/c-mode/fopen

+#name : FILE *fp = fopen(..., ...);
+# --
+FILE *${fp} = fopen(${"file"}, "${r}");

snippets/text-mode/cc-mode/csharp-mode/attrib

+#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+#name : private attribute ....;
+# --
+/// <summary>
+/// $3
+/// </summary>
+private $1 $2;

snippets/text-mode/cc-mode/csharp-mode/attrib.1

+#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+#name : private attribute ....; public property ... ... { ... }
+# --
+/// <summary>
+/// $3
+/// </summary>
+private $1 $2;
+
+/// <summary>
+/// $4
+/// </summary>
+/// <value>$5</value>
+public $1 $2
+{
+    get {
+        return this.$2;
+    }
+    set {
+        this.$2 = value;
+    }
+}

snippets/text-mode/cc-mode/csharp-mode/attrib.2

+#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+#name : private _attribute ....; public Property ... ... { ... }
+# --
+/// <summary>
+/// $3
+/// </summary>
+private $1 ${2:$(if (> (length text) 0) (format "_%s%s" (downcase (substring text 0 1)) (substring text 1 (length text))) "")};
+
+/// <summary>
+/// ${3:Description}
+/// </summary>
+/// <value><c>$1</c></value>
+public ${1:Type} ${2:Name}
+{
+    get {
+        return this.${2:$(if (> (length text) 0) (format "_%s%s" (downcase (substring text 0 1)) (substring text 1 (length text))) "")};
+    }
+    set {
+        this.${2:$(if (> (length text) 0) (format "_%s%s" (downcase (substring text 0 1)) (substring text 1 (length text))) "")} = value;
+    }
+}

snippets/text-mode/cc-mode/csharp-mode/class

+#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+#name : class ... { ... }
+# --
+${5:public} class ${1:Name}
+{
+    #region Ctor & Destructor
+    /// <summary>
+    /// ${3:Standard Constructor}
+    /// </summary>
+    public $1($2)
+    {
+    }
+
+    /// <summary>
+    /// ${4:Default Destructor}
+    /// </summary>    
+    public ~$1()
+    {
+    }
+    #endregion
+}

snippets/text-mode/cc-mode/csharp-mode/comment

+#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+#name : /// <summary> ... </summary>
+# --
+/// <summary>
+/// $1
+/// </summary>

snippets/text-mode/cc-mode/csharp-mode/comment.1

+#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+#name : /// <param name="..."> ... </param>
+# --
+/// <param name="$1">$2</param>

snippets/text-mode/cc-mode/csharp-mode/comment.2

+#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+#name : /// <param name="..."> ... </param>
+# --
+/// <returns>$1</returns>

snippets/text-mode/cc-mode/csharp-mode/comment.3

+#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+#name : /// <exception cref="..."> ... </exception>
+# --
+/// <exception cref="$1">$2</exception>

snippets/text-mode/cc-mode/csharp-mode/method

+#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+#name : public void Method { ... }
+# --
+/// <summary>
+/// ${5:Description}
+/// </summary>${2:$(if (string= (upcase text) "VOID") "" (format "%s%s%s" "\n/// <returns><c>" text "</c></returns>"))}
+${1:public} ${2:void} ${3:MethodName}($4)
+{
+$0
+}

snippets/text-mode/cc-mode/csharp-mode/namespace

+#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+#name : namespace .. { ... }
+# --
+namespace $1
+{
+$0
+}

snippets/text-mode/cc-mode/csharp-mode/prop

+#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+#name : property ... ... { ... }
+# --
+/// <summary>
+/// $5
+/// </summary>
+/// <value>$6</value>
+$1 $2 $3
+{
+    get {
+        return this.$4;
+    }
+    set {
+        this.$4 = value;
+    }
+}

snippets/text-mode/cc-mode/csharp-mode/region

+#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+#name : #region ... #endregion
+# --
+#region $1
+$0
+#endregion

snippets/text-mode/cc-mode/csharp-mode/using

+#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+#name : using ...;
+# --
+using $1;

snippets/text-mode/cc-mode/csharp-mode/using.1

+#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+#name : using System;
+# --
+using System;

snippets/text-mode/cc-mode/csharp-mode/using.2

+#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+#name : using System....;
+# --
+using System.$1;

snippets/text-mode/cc-mode/do

+#name : do { ... } while (...)
+# --
+do
+{
+    $0
+} while (${1:condition});

snippets/text-mode/cc-mode/for

+#name : for (...; ...; ...) { ... }
+# --
+for (${1:int i = 0}; ${2:i < N}; ${3:++i})
+{
+    $0
+}

snippets/text-mode/cc-mode/if

+#name : if (...) { ... }
+# --
+if (${1:condition})
+{
+    $0
+}

snippets/text-mode/cc-mode/inc

+#name : #include "..."
+# --
+#include "$1"

snippets/text-mode/cc-mode/inc.1

+#name : #include <...>
+# --
+#include <$1>

snippets/text-mode/cc-mode/main

+#name: int main(argc, argv) { ... }
+# --
+int main(int argc, char *argv[])
+{
+    $0
+    return 0;
+}

snippets/text-mode/cc-mode/objc-mode/prop

+#name : foo { ... } ; setFoo { ... }
+# --
+- (${1:id})${2:foo}
+{
+    return $2;
+}
+
+- (void)set${2:$(capitalize text)}:($1)aValue
+{
+    [$2 autorelease];
+    $2 = [aValue retain];
+}
+$0

snippets/text-mode/cc-mode/once

+#name : #ifndef XXX; #define XXX; #endif
+# --
+#ifndef ${1:_`(upcase (file-name-nondirectory (file-name-sans-extension (buffer-file-name))))`_H_}
+#define $1
+
+$0
+
+#endif /* $1 */

snippets/text-mode/cc-mode/struct

+#name : struct ... { ... }
+# --
+struct ${1:name}
+{
+    $0
+};

snippets/text-mode/css-mode/bg

+#name : background-color: ...
+# --
+background-color: #${1:DDD};

snippets/text-mode/css-mode/bg.1

+#name : background-image: ...
+# --
+background-image: url($1);

snippets/text-mode/css-mode/bor

+#name : border size style color
+# --
+border: ${1:1px} ${2:solid} #${3:999};

snippets/text-mode/css-mode/cl

+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : clear: ...
+# --
+clear: $1;

snippets/text-mode/css-mode/disp.block

+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : display: block
+# --
+dislpay: block;

snippets/text-mode/css-mode/disp.inline

+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : display: inline
+# --
+dislpay: inline;

snippets/text-mode/css-mode/disp.none

+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : display: none
+# --
+dislpay: none;

snippets/text-mode/css-mode/ff

+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : font-family: ...
+# --
+font-family: $1;

snippets/text-mode/css-mode/fs

+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : font-size: ...
+# --
+font-size: ${12px};

snippets/text-mode/css-mode/mar.bottom

+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : margin-bottom: ...
+# --
+margin-bottom: $1;

snippets/text-mode/css-mode/mar.left

+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : margin-left: ...
+# --
+margin-left: $1;

snippets/text-mode/css-mode/mar.mar

+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : margin: ...
+# --
+margin: $1;

snippets/text-mode/css-mode/mar.margin

+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : margin top right bottom left
+# --
+margin: ${top} ${right} ${bottom} ${left};

snippets/text-mode/css-mode/mar.right

+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : margin-right: ...
+# --
+margin-right: $1;

snippets/text-mode/css-mode/mar.top

+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : margin-top: ...
+# --
+margin-top: $1;

snippets/text-mode/css-mode/pad.bottom

+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : padding-bottom: ...
+# --
+padding-bottom: $1;

snippets/text-mode/css-mode/pad.left

+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : padding-left: ...
+# --
+padding-left: $1;

snippets/text-mode/css-mode/pad.pad

+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : padding: ...
+# --
+padding: $1;

snippets/text-mode/css-mode/pad.padding

+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : padding: top right bottom left
+# --
+padding: ${top} ${right} ${bottom} ${left};

snippets/text-mode/css-mode/pad.right

+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : padding-right: ...
+# --
+padding-right: $1;

snippets/text-mode/css-mode/pad.top

+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : padding-top: ...
+# --
+padding-top: $1;

snippets/text-mode/email

+#name : (user's email)
+# --
+`user-mail-address`

snippets/text-mode/erlang-mode/after

+#name : after ... ->
+# --
+after
+    $1 -> $0

snippets/text-mode/erlang-mode/begin

+#name : begin ... end
+# --
+begin
+    $0
+end

snippets/text-mode/erlang-mode/beh

+#name : -behaviour(...).
+# --
+-behaviour(${1:gen_server}).
+$0

snippets/text-mode/erlang-mode/case

+#name : case ... of ... end
+# --
+case $1 of
+    $0
+end

snippets/text-mode/erlang-mode/compile

+#name : -compile(...).
+# --
+-compile([${1:export_all}]).
+$0

snippets/text-mode/erlang-mode/def

+#name : -define(...,...).
+# --
+-define($1,$2).
+$0

snippets/text-mode/erlang-mode/exp

+#name : -export([]).
+#contributor : hitesh <hitesh.jasani@gmail.com>
+# --
+-export([${1:start/0}]).
+$0

snippets/text-mode/erlang-mode/fun

+#name : fun (...) -> ... end
+# --
+fun ($1) -> $0 end

snippets/text-mode/erlang-mode/if

+#name : if ... -> ... ; true -> ... end
+# --
+if
+    $1 -> $2;
+    true -> $0
+end

snippets/text-mode/erlang-mode/ifdef

+#name : -ifdef(...). ... -endif.
+# --
+-ifdef($1).
+$0
+-endif.

snippets/text-mode/erlang-mode/ifndef

+#name : -ifndef(...). ... -endif.
+# --
+-ifndef($1).
+$0
+-endif.

snippets/text-mode/erlang-mode/imp

+#name : -import([]).
+#contributor : hitesh <hitesh.jasani@gmail.com>
+# --
+-import(${1:lists}, [${2:map/2, sum/1}]).
+$0

snippets/text-mode/erlang-mode/inc

+#name : -include("...").
+# --
+-include("$1").
+$0

snippets/text-mode/erlang-mode/inc.lib

+#name : -include_lib("...").
+# --
+-include_lib("$1").
+$0

snippets/text-mode/erlang-mode/loop

+#name : loop(...) -> receive _ -> loop(...) end.
+# --
+${1:loop}($2) ->
+    receive
+	${3:_} ->
+	    $1($2)
+    end.
+$0

snippets/text-mode/erlang-mode/mod

+#name : -module().
+#contributor : hitesh <hitesh.jasani@gmail.com>
+# --
+-module(${1:$(file-name-nondirectory 
+               (file-name-sans-extension (buffer-file-name)))}).
+$0
+

snippets/text-mode/erlang-mode/rcv

+#name : receive ... -> ... end
+# --
+receive
+    $1 -> $0
+end

snippets/text-mode/erlang-mode/rcv.after

+#name : receive after ... -> ... end
+# --
+receive
+after
+    $1 -> $0
+end

snippets/text-mode/erlang-mode/rec

+#name : -record(...,{...}).
+# --
+-record($1,{$2}).
+$0

snippets/text-mode/erlang-mode/try

+#name : try ... of ... catch after end
+# --
+try $1 of
+    $0
+catch
+after
+end

snippets/text-mode/erlang-mode/undef

+#name : -undef(...).
+# --
+-undef($1).
+$0

snippets/text-mode/f90-mode/au

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : automatic
+# --
+automatic $0 

snippets/text-mode/f90-mode/bd

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : block data
+# --
+block data $0

snippets/text-mode/f90-mode/c

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : continue
+# --
+continue $0

snippets/text-mode/f90-mode/ch

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : character
+# --
+character $0

snippets/text-mode/f90-mode/cx

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : complex
+# --
+complex $0

snippets/text-mode/f90-mode/dc

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : double complex
+# --
+double complex $0

snippets/text-mode/f90-mode/do

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : do while (...) end do
+# --
+do while (${1:condition})
+   $0
+end do

snippets/text-mode/f90-mode/dp

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : double precision
+# --
+double precision $0

snippets/text-mode/f90-mode/eq

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : equivalence
+# --
+equivalence $0

snippets/text-mode/f90-mode/ib

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : implicit byte
+# --
+implicit byte $0

snippets/text-mode/f90-mode/ic

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : implicit complex
+# --
+implicit complex $0

snippets/text-mode/f90-mode/ich

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : implicit character
+# --
+implicit character $0

snippets/text-mode/f90-mode/if

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : if then end if
+# --
+if ( ${1:condition} ) then
+   $0
+end if

snippets/text-mode/f90-mode/ii

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : implicit integer 
+# --
+implicit integer $0

snippets/text-mode/f90-mode/il

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : implicit logical
+# --
+implicit logical $0

snippets/text-mode/f90-mode/in

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : implicit none
+# --
+implicit none

snippets/text-mode/f90-mode/inc

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : include
+# --
+include $0

snippets/text-mode/f90-mode/intr

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : intrinsic
+# --
+intrinsic $0

snippets/text-mode/f90-mode/ir

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : implicit real
+# --
+implicit real $0

snippets/text-mode/f90-mode/l

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : logical
+# --
+logical $0

snippets/text-mode/f90-mode/pa

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : parameter
+# --
+parameter $0

snippets/text-mode/f90-mode/pr

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : program ... end program ...
+# --
+program ${1:name}
+  $0
+end program ${1:name}

snippets/text-mode/f90-mode/re

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : read (*,*)
+# --
+read (${1:*},${2:*}) $0

snippets/text-mode/f90-mode/st

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : structure
+# --
+structure $0

snippets/text-mode/f90-mode/su

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : subroutine
+# --
+subroutine $0

snippets/text-mode/f90-mode/wr

+#contributor: Li Zhu <http://www.zhuli.name>
+#name : write (*,*)
+# --
+write (${1:*},${2:*}) $0

snippets/text-mode/html-mode/body

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <body>...</body>
+# --
+<body$1>
+  $0
+</body>

snippets/text-mode/html-mode/br

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <br />
+# --
+<br />

snippets/text-mode/html-mode/code

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <code>...</code>
+# --
+<code>
+  $0
+</code>

snippets/text-mode/html-mode/code.class

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <code class="...">...</code>
+# --
+<code class="$1">
+  $0
+</code>

snippets/text-mode/html-mode/dd

+#contributor : Rodrigo Setti <rodrigosetti@gmail.com>
+#name : <dd> ... </dd>
+#group : list
+# --
+<dd>$1</dd>

snippets/text-mode/html-mode/div

+#name : <div...>...</div>
+# --
+<div$1>$0</div>

snippets/text-mode/html-mode/div.class

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <div class="...">...</div>
+# --
+<div class="$1">
+  $0
+</div>

snippets/text-mode/html-mode/div.id

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <div id="...">...</div>
+# --
+<div id="$1">
+  $0
+</div>

snippets/text-mode/html-mode/div.id-class

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <div id="..." class="...">...</div>
+# --
+<div id="$1" class="$2">
+  $0
+</div>

snippets/text-mode/html-mode/dl

+#contributor : Rodrigo Setti <rodrigosetti@gmail.com>
+#name : <dl> ... </dl>
+#group : list
+# --
+<dl>
+    $0
+</dl>

snippets/text-mode/html-mode/dl.id

+#contributor : Rodrigo Setti <rodrigosetti@gmail.com>
+#name : <dl> ... </dl>
+#group : list
+# --
+<dl id="$1">
+    $0
+</dl>

snippets/text-mode/html-mode/doctype

+#name : Doctype HTML 4.01 Strict
+#group : meta
+# --
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

snippets/text-mode/html-mode/doctype.xhml1

+#name : DocType XHTML 1.0 frameset
+#group : meta
+# --
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

snippets/text-mode/html-mode/doctype.xhtml1_1

+#name : DocType XHTML 1.1
+#group : meta
+# --
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

snippets/text-mode/html-mode/doctype.xhtml1_strict

+#name : DocType XHTML 1.0 Strict
+#group : meta
+# --
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

snippets/text-mode/html-mode/doctype.xhtml1_transitional

+#name : DocType XHTML 1.0 Transitional
+#group : meta
+# --
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

snippets/text-mode/html-mode/dt

+#contributor : Rodrigo Setti <rodrigosetti@gmail.com>
+#name : <dt> ... </dt>
+#group : list
+# --
+<dt>$1</dt>

snippets/text-mode/html-mode/form

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name :<form method="..." id="..." action="..."></form>
+# --
+<form method="$1" id="$2" action="$3">
+  $0
+</form>

snippets/text-mode/html-mode/h1

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <h1>...</h1>
+#group : header
+# --
+<h1>$1</h1>

snippets/text-mode/html-mode/h2

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <h2>...</h2>
+#group : header
+# --
+<h2>$1</h2>

snippets/text-mode/html-mode/h3

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <h3>...</h3>
+#group : header
+# --
+<h3>$1</h3>

snippets/text-mode/html-mode/h4

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <h4>...</h4>
+#group : header
+# --
+<h4>$1</h4>

snippets/text-mode/html-mode/h5

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <h5>...</h5>
+#group : header
+# --
+<h5>$1</h5>

snippets/text-mode/html-mode/h6

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <h6>...</h6>
+#group : header
+# --
+<h6>$1</h6>

snippets/text-mode/html-mode/head

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <head>...</head>
+# --
+<head>
+  $0
+</head>

snippets/text-mode/html-mode/hr

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <hr />
+# --
+<hr />

snippets/text-mode/html-mode/href

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <a href="...">...</a>
+# --
+<a href="$1">$2</a>

snippets/text-mode/html-mode/html

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <html>...</html>
+# --
+<html>
+  $0
+</html>

snippets/text-mode/html-mode/html.xmlns

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <html xmlns="...">...</html>
+# --
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${1:en}" lang="${2:en}">
+  $0
+</html>

snippets/text-mode/html-mode/img

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <img src="..." class="..." alt="..." />
+# --
+<img src="$1" class="$2" alt="$3" />

snippets/text-mode/html-mode/input

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <input ... />
+# --
+<input type="$1" name="$2" value="$3" />

snippets/text-mode/html-mode/li

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <li>...</li>
+#group : list
+# --
+<li>$1</li>

snippets/text-mode/html-mode/li.class

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <li class="...">...</li>
+#group : list
+# --
+<li class="$1">$2</li>

snippets/text-mode/html-mode/link.stylesheet

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <link stylesheet="..." />
+# --
+<link rel="${1:stylesheet}" href="${2:url}" type="${3:text/css}" media="${4:screen}" />

snippets/text-mode/html-mode/link.stylesheet-ie

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <!--[if IE]><link stylesheet="..." /><![endif]-->
+# --
+<!--[if IE]>
+<link rel="${1:stylesheet}" href="${2:url}" type="${3:text/css}" media="${4:screen}" />
+<![endif]-->

snippets/text-mode/html-mode/mailto

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <a href="mailto:...@...">...</a>
+# --
+<a href="mailto:$1@$2">$0</a>

snippets/text-mode/html-mode/meta

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#group : meta
+#name : <meta name="..." content="..." />
+# --
+<meta name="${1:generator}" content="${2:content}" />

snippets/text-mode/html-mode/meta.http-equiv

+#contributor : Jimmy Wu <frozenthrone88@gmail.com>
+#name : <meta http-equiv="..." content="..." />
+#group : meta
+# --
+<meta name="${1:Content-Type}" content="${2:text/html; charset=UTF-8}" />