Emacs Exam Room Configuration

Source: Internet
Author: User

The year \ (noip\) examination Room configuration do not remember
There's something going on here.

"C-s""C-a""RET"t"gray15""gray")(setq default-cursor-type 'bar)(setq4)(setq"awk")(set-frame-parameter (selected-frame) 'alpha (list8550))

Deluxe Edition Super Configuration

(Global-set-key [F9] ' Compile-file) (Global-set-key [F10] ' Gud-gdb) (Global-set-key (KBD"C-s") ' Save-buffer ' (Global-set-key (KBD"C-z") ' Undo ' (Global-set-key (KBD"RET") ' Newline-and-indent ' (global-linum-modeT) (Show-paren-modeT) (Define-key Key-translation-map (kbd"C-d") (KBD"M-p m-y")) (Global-set-key (KBD"M-p m-y") ' Kill-whole-line ' (Define-key key-translation-map (kbd"C-a") (KBD"C-x h"))(setqC-default-style"awk");;; Exam Room Essentials(Ido-modeT)(setqDefault-frame-alist ' ((vertical-scroll-bars) (top. -) (left. $) (width. -) (height. +) (Background-color."GREY15") (Foreground-color."Grey") (Cursor-color."Gold1") (Mouse-color."Gold1") (Tool-bar-lines.0) (Menu-bar-lines.1) (Scroll-bar-lines.0) (Right-fringe) (Left-fringe))) (Global-hl-line-mode1) (Set-face-background ' Highlight"Gray5") (Set-face-foreground ' region"Cyan") (Set-face-background ' region"Blue") (Set-face-foreground ' secondary-selection"Skyblue") (Set-face-background ' secondary-selection"Darkblue");;;;; Set org mode(setqorg-startup-indentedT);(setq org-log-done ' time);(s.etq org-log-done ' note);;;; Irrelevant(Set-cursor-color"Wheat") (Set-mouse-color"Wheat") (Global-font-lock-modeT);; Highlight;;;;; Set compilation information(DefunCompile-file() (interactive) (Compile(format "g++-o%s%s-g-lm-wall"(File-name-sans-extension (Buffer-name)) (Buffer-name))));;( Global-set-key (kbd "<f9>") ' Compile-file);;;;; Set up one-click Debugging;;;;; Change the title of the Emacs title bar(setqFrame-title-format"Yyb");;;;; Allow the pasting of Emacs and other external programs(setqX-select-enable-clipboardT);; Show column number(setqColumn-number-modeT);; Sets the width of tab to 2 spaces(setqDefault-tab-width4)(setqC-basic-offset4);;;;; Enable time display settings on the bar above the Minibuffer (forget what's called)(Display-time-mode1);;;;; Time using 24-hour system(setqDisplay-time-24hr-formatT);;;;; Time display includes date and specific time(setqDisplay-time-day-and-dateT);;;;; The frequency of change in time, how many units? (setqDisplay-time-intervalTen);;;;; is with a roller mouse(Mouse-wheel-modeT);;;;; Backup Settings;;;;; Emacs also has an auto-save feature, which, by default in ~/.emacs.d/auto-save-list, is very useful, I have no changes here, see Sams teach yourself emacs in 24hours (I referred to as SAMS24) ;;;;; Backup Setup method, direct copy(setqBackup-by-copyingT);; auto Disk(setqAuto-save-modeT);;;;; Get rid of annoying warning bells(setqVisible-bellNil)(setqRing-bell-function ' Ignore);;;;; The hands don't flash, I have to spend my eyes.(Blink-cursor-mode-1);;;;; Scrolling page is more comfortable, do not scroll the whole page(setqScroll-step1Scroll-margin3scroll-conservatively10000);;;;; Set Delete save record as 200, can be easily restored after infinite(setqKill-ring-max $);;;;; Modify Transparency(Set-frame-parameter (Selected-frame) ' Alpha (List  -  -)) (Add-to-list ' Default-frame-alist (Cons' Alpha (List  -  -)) (Setq-default Cursor-type ' bar) (Show-paren-mode1);; Bracket Matching(Fset ' yes-or-no-p ' y-or-n-p);; of soy sauce(setqMake-backup-filesNil) (Global-auto-revert-modeT); automatic Reload file(Global-set-key (KBD"<f8>") ' Gdb-many-windows ' (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.' (Blink-cursor-modeNil) ' (Column-number-modeT) ' (Cua-modeT Nil(cua-base)) ' (Display-time-modeT) ' (Inhibit-startup-screenT) ' (Show-paren-modeT)) (custom-set-faces;; Custom-set-faces 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.' (Default (T(: Family"Ubuntu Mono": Foundry"Unknown": Slant Normal:weight Normal:height143: Width normal)))) (Auto-insert-mode));;; Adds Hook to Find-files-hook(setqAuto-insert-directory"~/.emacs.d/mytemplates/");;; Or use custom, *note* Trailing slash important(setqAuto-insert-queryNil);;; If you don ' t want to be prompted before insertion(Define-auto-insert"\." "Moban.cpp")

Emacs Exam Room Configuration

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.