User:Xfq

From WikEmacs
Revision as of 23:00, 25 October 2012 by Xfq (talk | contribs) (xfq)
Jump to navigation Jump to search

I've used Emacs for many years now, but have never reached its maximum potential.

My name is Xue Fuqiao. I have been a GNU/Linux user since 2009. I began to use GNU Emacs since 2010 and began to write programs in Emacs Lisp since 2012. I'm learning more and more about this extensible, customizable, self-documenting real-time display editor. I use GNU Emacs for nearly everything I do.

Iā€™m currently a student of NCUT. My major is Communication Engineering.

I'm a Free Software Supporter.

I Use

  • Google
  • GTK+ 3
  • QWERTY
  • Ubuntu 12.10
  • Unity
  • C
  • Lenovo ideapad y530
  • GNU Aspell
  • Regular Expression
  • HTC Z560e
  • GNU make
  • GDB
  • UTF-8
  • fontconfig
  • ALSA
  • SELinux
  • IPv4
  • monospace
  • English and Chinese
  • Firefox
  • Thunderbird
  • flymake

My GNU Emacs Installation

./configure --without-toolkit-scroll-bars --with-wide-int

make

src/emacs -Q

make install

My Accounts

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)

My ~/.Xdefaults

Emacs.bitmapIcon: off