Difference between revisions of "User:Xfq"
Jump to navigation
Jump to search
(xfq) |
(→.emacs) |
||
Line 113: | Line 113: | ||
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t) | (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t) | ||
(require 'mediawiki) | (require 'mediawiki) | ||
− | (setq mediawiki-site-alist '(("WikEmacs" "http://wikemacs.org/w/" "Xfq" " | + | (setq mediawiki-site-alist '(("WikEmacs" "http://wikemacs.org/w/" "Xfq" "s!cr!t" "Main Page"))) |
(setq mediawiki-site-default "WikEmacs") | (setq mediawiki-site-default "WikEmacs") | ||
(setq mediawiki-mode-hook (lambda () | (setq mediawiki-mode-hook (lambda () |
Revision as of 09:41, 25 October 2012
I've used Emacs for many years now, but have never reached its maximum potential.
My name is Xue Fuqiao.
I’m currently a student of NCUT. My major is Communication Engineering.
I'm a Free Software Supporter.
I Use
- Eshell and Bash
- QWERTY
- Ubuntu
- Unity
- C
- Lenovo ideapad y530
- GNU Aspell
- Regular Expression
- HTC one S
- GNU make
- GDB
- UTF-8
- fontconfig
- ALSA
- SELinux
- IPv4
- monospace
- English and Chinese
- Firefox
- Thunderbird
- flymake
My GNU Emacs Invocation
- emacs --font="Monospace-12" --reverse-video &
My GNU Emacs Installation
./configure --without-toolkit-scroll-bars --with-wide-int make src/emacs -Q make install
My Accounts
- Stack Overflow
XueFuqiao
RSI
Started physiotherapy on June, 2012.
My Init Files
.emacs
(auto-compression-mode 1)
(which-function-mode 1)
(line-number-mode 1)
(column-number-mode 1)
(menu-bar-mode -1)
(scroll-bar-mode -1)
(show-paren-mode 1)
(tool-bar-mode -1)
(transient-mark-mode 0)
(setq user-mail-address "xfq.free@gmail.com")
(setq user-full-name "Xue Fuqiao")
(setq echo-keystrokes 0.1)
(setq disabled-command-function nil)
(add-to-list 'load-path "~/elisp/")
(diary)
(add-hook 'text-mode-hook 'turn-on-auto-fill)
(require 'package)
(package-initialize)
;; Not sure which one should come first, but you certainly one of these.
;; As of sept. 2012, this package is not in ELPA
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/") t)
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t)
(require 'mediawiki)
(setq mediawiki-site-alist '(("WikEmacs" "http://wikemacs.org/w/" "Xfq" "s!cr!t" "Main Page")))
(setq mediawiki-site-default "WikEmacs")
(setq mediawiki-mode-hook (lambda ()
(visual-line-mode 1)))
(define-key mediawiki-mode-map (kbd "C-c o") 'mediawiki-browse)
(set-register ?e '(file . "~/.emacs"))
(set-register ?i '(file . "~/org/ideas.org"))
(defun toggle-fullscreen ()
"Toggle full screen on X11"
(interactive)
(when (eq window-system 'x)
(set-frame-parameter
nil 'fullscreen
(when (not (frame-parameter nil 'fullscreen)) 'fullboth))))
(global-set-key [f11] 'toggle-fullscreen)
;; (load "xfq")
;; '(savehist-mode t nil (savehist))
;; '(uniquify-buffer-name-style (quote forward) nil (uniquify))
;; (setq-default calendar-mark-holidays-flag t)
;; (setq-default calendar-view-holidays-initially-flag t)
;; (setq-default confirm-kill-emacs (quote yes-or-no-p))
;; (setq-default display-time-day-and-date t)
;; (setq-default global-hl-line-mode t)
;; (setq-default gud-tooltip-echo-area t)
;; (setq-default gud-tooltip-mode t)
;; (setq-default initial-buffer-choice "~/.emacs")
;; (setq-default kill-do-not-save-duplicates t)
;; (setq-default tooltip-mode t)
;; (setq-default tooltip-use-echo-area t)
;; (setq-default w32-use-w32-font-dialog nil)
;; (setq-default x-gtk-file-dialog-help-text nil)
;; (setq-default x-select-enable-clipboard t)
;; (setq-default x-select-enable-primary t))
;; (setq-default abbrev-file-name "~/.emacs.d/abbrev_defs")
;; (setq-default use-dialog-box nil)
;; (setq-default file-dialog nil)
;; (setq-default abbrev-mode t)
;; (setq-default global-ede-mode t)
;; (setq-default comment-multi-line t)
;; (setq-default diary-show-holidays-flag nil)
;; (setq-default display-battery-mode t)
;; (setq-default global-cwarn-mode t)
;; (setq-default gpm-mouse-mode nil)
;; (setq-default holiday-bahai-holidays nil)
;; (setq-default holiday-christian-holidays nil)
;; (setq-default holiday-hebrew-holidays nil)
;; (setq-default holiday-islamic-holidays nil)
;; (setq-default holiday-oriental-holidays nil)
;; (setq-default iswitchb-mode nil)
;; (setq-default mouse-1-click-in-non-selected-windows nil)
;; (setq-default mouse-drag-copy-region nil)
;; (setq-default mouse-highlight nil)
;; (setq-default mouse-wheel-follow-mouse nil)
;; (setq-default mouse-wheel-mode nil)
;; (setq-default mouse-wheel-progressive-speed nil)
;; (setq-default mouse-yank-at-point t)
;; (setq-default save-interprogram-paste-before-kill nil)
;; (setq-default semantic-mode t)
;; (setq-default size-indication-mode t)
;; (setq-default special-display-frame-alist nil)