emacs & auctex

AUCTeX ?????? http://www.emacs.cn/Tex/AucTex

Emacs+AucTeX+RefTeX+Outline-minor-mode http://edu.stuccess.com/KnowCenter/Emacs/program/Latex/00000001.htm

?Windows???Emacs

http://learn.tsinghua.edu.cn:8080/2004211031/publish/GNU/ntemacs.html#sec3

AUCTeX ????

http://heli.bokee.com/5442640.html

30??????Emacs

http://jasonal.spaces.live.com/blog/cns!E9B3AD00B7B35ECC!1655.entry

30??????Emacs (??)

??

????? Emacs ?????????30???????????????? ???????????????????????????????IT??? ???????????????????????????? Emacs ??? ??????????????Emacs ??????????

?? Emacs ?????????????????????????????? ??????????????????????????????????? ???? Windows ???????????n??????????????? ??????????????????????????????????? ??????????????????????????????????? ??????????????????????????? Emacs ????? ??????????????????????????????????? ????????????????

??? Emacs ???????????????????? Emacs ????? ?????? Tutorial ?????Emacs23 ???????????????? ????????? Tutor ????????????

????

???????Emacs ????????????? Ctrl ? Alt ????? ??? C ? M ?????:

  • C-x ?? Ctrl+x?
  • M-x ?? Alt+x?
  • C-M-f ?? Ctrl+Alt+f?
  • M-% ?? Alt+%????? Alt+Shift+5
  • C-x C-f ?? Ctrl+x ???? Ctrl+f????????? Ctrl ???? ????????????

?????????? C ? M ?? ctrl ? alt ??Shift ??? S ???

?????????<>?????<RET>???<SPC>???<up>?????<f1> ?????????????

???????? alt ?? M????????30?????

?????

Windows ??

Windows ????? http://ntemacs.sf.net ??????????????? ??Emacs23.x ????? 7zip ???????????????????? ??

????????5???????????????????:)

Linux ?? (windows ??????)

???? CVS ? Emacs ????????????? CVS Emacs23:

$ cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co -r emacs-unicode-2 emacs

??:

$ cd emacs $ ./configure —enable-font-backend —with-xft —with-freetype —with-gtk

?? configure ?????????????????????? make:

$ make bootstrap

???? src/emacs ???????????????????

$ sudo make install

????

?????

Windows ????? Emacs bin ???? runemacs.exe ???Linux ??? ? emacs & ?????

?? Emacs ?????????? (????)?Emacs GUI

?? Emacs ? C-x C-c (?? Ctrl+x ??? Ctrl+c)?

???????

?? Emacs ??? C-x C-f?minibuffer (?? Emacs ?????) ???? ????????????????????<RET>????????????? ?????????????<RET>??????????????<RET>??? ???? .. ?<RET>????????

??????????????????????????? C-x C-s ??? ??

???????

???????? C-x ????????????? Emacs ???????? ?????? C-x ??????? minibuffer ?? C-x- ??? Emacs ?? ??????????????????????????? C-g?minibuffer ?? C-x C-g is undefined ???? Emacs ????????C-g ????? ????????????? C-x C-h ???????? buffer????? C-x ????????C-h ??????????????????????? ?????C-c ???????????????????????????? ???????????????

?????????????

??????????????? 10 ????

??????????????????????? C-@?minibuffer ?? Mark set?????? mark??????????????????? Mark ? ???????????????? C-w??????????C-w ????? C-x u ???????????C-x u ?????????????????? ??????M-x ???? transient-mark-mode ????????????? ?????????M-x ??? Emacs ???

Emacs ???????????????????? C-x C-x ?????? (point) ? Mark ??????????????????????

? C-g ????????

??? C-@ ???????? M-w??????????????? C-y??? ?????????? M-y???????????????????????? ?? M-y ?????????????

C-k ?????????? C-k ?????????????? C-y ???? ??? n ??????

C-x u ?????????????? windows ???????????? C-x u ????????????????? C-x u????????????? ?????? redu?

???

  • C-@ ????
  • C-w ??
  • M-w ??
  • C-y ??
  • M-y ??????????
  • C-k ????
  • C-x u ??

??

?? windows ????????????????????????????? ????????????????Emacs ??????? C-s ???? minibuffer ?? I-search: ?????????????????? windows? ?? w?Emacs ???? w?????? w ?????? i?Emacs ?? wi? ????Emacs ???????? wi????? n?Emacs ?? win????? ?? incremetal search??????????? windows????????? ? win ????? windows ?????????? dows ????? C-s ?? ??????C-r ???????????????????????? C-s ? ??????? C-g ????????????

C-s ? C-r ?????????????????? Emacs ????? C-r Emacs???????????????

??????????????????????????????????? ?????????????????????????

C-M-s ? C-M-r ???????????? C-s ??? M-r ???????? ???????????? Emacs ???????????????????? ??

??

M-% ? query-replace??????????????? Emacs ?????? ???y ???n ????! ?????????q ???? ???????

Emacs ???????????????????????????????? ?????? ! ????????????????

C-M-% ??????????

???

  • C-s ? C-r ??????
  • C-% ??
  • C-M-s ? C-M-r ???????????
  • C-M-% ???????

????

????????20????????????????

???????????

Emacs ?????????????

C-h t ??? tutorial?????????? tutorial?? M-x ?? help-with-tutorial-spec-language ??????????? <tab> Emacs ? ??????????? <tab> ????????

C-h a ? apropos command??????????????Emacs ?????? ??????????????????????????????????? ????? C-h a ?? upcase word ?? up word?Emacs ????????? ????? upcase-word????????? M-u????????????? ? M-u ?????

C-h k ??????????????????? M-; ??????? C-h k? ??? M-; ????? M-; ??? comment-dwim?dwim ? do what i mean ??????????????????????????????????? ????????????????

C-h c ?????????????

C-h f ??????

C-h v ??????

C-h ????????????C-h ? ???????????

????

Emacs ?????????1000?????1000?????????????? ?????????????????????? home ???? .emacs ?? Emacs ????????????????? Emacs ??C-x C-f ~/.emacs ? ?? .emacs ???????????????????home ??????? ?? M-x getenv <RET> home <RET> ?? home ????Linux ??????? Windows ???????? C:\Documents and Settings\username\Application Data ??????????? home ????

  • ? ????->??->??->???? ????? HOME ???????? ??
  • ???? [HKEY_CURRENT_USER\SOFTWARE\GNU\Emacs] (???? GNU ? Emacs???????) ?? HOME ??????????? home ???

Emacs ???????? Elisp?Emacs ??????? Elisp ?????? ? M-x info ????? .emacs ???????????????

  • (setq variable-name value) ???????? (setq transient-mark-mode t) ??????????
  • (require ‘extension) ????????
  • (load “file-name”) ???? .el ??
  • (global-key-binding (kbd “C-c f”) ‘function-name) ????????
  • (define-key dired-mode (kbd “j”) ‘dired-next-line) ???????? dired-mode ???
  • (if …) ?????????

????????? .emacs ??: quick.emacs.el

?????????? home ??????? .emacs ????.

??? runemacs.exe -q -l quick.emacs.el ??? emacs ?????????

??

????????30?????????????????????????? Emacs ???????????????????? Windows ??????? ??????????????????????????????????? ????? isearch ????????????????????????? ??????????????????????????????????? ???

http://www.emacs.cn/Tex/AucTex

http://edu.stuccess.com/KnowCenter/Emacs/program/Latex/00000001.htm

http://learn.tsinghua.edu.cn:8080/2004211031/publish/GNU/ntemacs.html#sec3

http://heli.bokee.com/5442640.html

Leave a Reply

Your email address will not be published. Required fields are marked *