; All plug-ins are decompressed ~ /. Emacs. d directory ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; basic configuration ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (add-to-list 'Load-path "~ /. Emacs. d "); display the line number (require 'linum) (Global-linum-mode t); do not generate a temporary file (setq-default make-backup-files nil );; disable start information (setq inhibit-startup-message T); and auto-complete brackets (defun my-mode-auto-pair () (interactive) (make-local-variable 'skeleton-pair-alist) (setq
. Named IPA http://www.emacswiki.org/emacs/InPlaceAnnotations
Manually add some customization. This function is immediately added to Emacs. This is hard to imagine for people without relevant experience.
(When (require 'ipa nil 'noerror) (require 'cl) (Global-set-Key (KBD "C-c a I") 'ipa-insert) (Global-set-Key (KBD "C-c a e") 'ipa-edit) (Global-set-Key (KBD
;;; Emacs Configuration File;; Set row height(Setq-default line-spacing 5)(Custom-set-variables;; Custom-set-variables was added by Custom.;; If you edit it by hand, you could mess it up and so is careful.;; Your init file should contain only one such instance.;; If there is more than one, the they won ' t work right.' (package-selected-packages (quote (Php-mode)))' (Truncate-partial-width-windows t))(custom-set-faces;; Custom-set-faces was added by Custom.;; If you edit it by hand, you could me
= (' global-c $cur ') >}$ com Plete-f funcs global$ Global kmem_
The use of GNU Global in Emacs
Installation configuration Emacs
$HOME/.emacs+------------------------------------------------------| (Setq Load-path (cons "/home/owner/global" Load-path)) | (AutoLoad ' Gtags-mode "gtags" "" t)(Global-set-key (kbd "m-(Global-set-key (kbd "m-(Global-set-key (
; } Fieldset,img { border:0; } Address,caption,cite,code,dfn,em,strong,th,var { font-weight:normal; Font-style:normal; } Ol,ul { List-style:none; } caption,th { Text-align:left; } H1,h2,h3,h4,h5,h6 { font-weight:normal; font-size:100%; } Q:before,q:after { content:; } abbr,acronym {border:0; }
OK, I believe you have already understood the purpose of CSS reset, perhaps you can also according to their own preferences, write a CSS reset system, after all, the needs of everyone and habits
depend on the files in prerequisites, and their generation rules are defined in command. To put it bluntly, if more than one prerequisites file is newer than the target file, the command defined by command will be executed. This is the Makefile rule. That is, the core content in Makefile.
In the end, Makefile is like this, as if my document should be over. Haha. This is the main line and core of Makefile, but it is not enough to write a Makefile. I will give you some experience in the future. T
, if a project has three header files and eight C files, we want to complete the three rules described above, our makefile should look like the following.
Edit: Main. o kbd. O command. O display. O insert. O search. O files. O utils. oCC-O edit main. o kbd. O command. O display. O insert. O search. O files. O utils. o
Main. O: Main. c defs. hCC-C main. cKBD. O: KBD
Address: http://blog.csdn.net/hide1713/article/details/1647209
More pictures see http://ecb.sourceforge.net/ First download the installation packages of the two software ECB
Http://ecb.sourceforge.net/ Cedet
Http://cedet.sourceforge.net/ Then Tar zxvf ecb-2.32.tar.gz CD cedet-1.0pre4 Make (ECB needs to setCedet = ~ /. Emacs. d/cedet-1.0pre7)
After the cedet is generatedThere should be one under your user directory. emacs file (previous point ). t
My Emacs version: GNU Emacs 23.1.1 (X86_64-redhat-linux-gnu, GTK + version 2.18.9)1: Download http://ftp.twaren.net/Unix/NonGNU/color-theme/color-theme-6.6.0.tar.gz and unzip yourself2: Copy the color-theme-6.6.0.tar.gz extracted Color-theme.el and Theme folder to the ~/.EMACS.D folder (if the ~/.EMACS.D folder does not exist, please establish first).3: Create configuration file. Emacs. The directory is in your home directory, under the user directory.The configuration file is:;; Add ~/.emacs.d/
is bound to c-c c-a by default. If you call Go-import-add with a prefix it'll prompt you to provive an alternate name for the import. to does this type c-u c-c c-a . If No list of imports exists Go-import-add would create one. If the import is adding was currently in the list of imports but commented out it'll be uncommented. Pretty good stuff for a very common pattern. One point to keep on mind is that go-import-add will The only work once the a package declaration in P Lace. Go-remove-
the makefile rule. That is, the core content in makefile.
In the end, makefile is like this, as if my document should be over. Haha. This is the main line and core of makefile, but it is not enough to write a makefile. I will give you some experience in the future. There are plenty of contents. :)
Ii. Example
As mentioned above, if a project has three header files and eight C files, we want to complete the three rules described above, our makefile should look like the following.
Edit: Main. o
))
Brackets automatically completedEmacs is used for programming most of the time. Programming is rarely used to encounter unpaired parentheses. In this case, why not let Emacs pair us? The following statements are automatically completed (, [, {, and (setq skeleton-pair t)(local-set-key (kbd "[") 'skeleton-pair-insert-maybe)(local-set-key (kbd "(") 'skeleton-pair-insert-maybe)(local-set-key (
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.