Emacs: some fixes.

master
Ambrevar 2012-08-10 18:12:08 +01:00
parent 636e810d41
commit cc8cfb01d2
5 changed files with 21 additions and 10 deletions

View File

@ -54,6 +54,7 @@ fortune-mod
fortune-mod-tbbt
gawk
gcc
gcc-go
gcc-libs
gcolor2
gdb
@ -64,10 +65,12 @@ glibc
gnuchess
gnu-netcat
gnuplot
go
grep
grub
gsasl
gsharkdown
gtk3
gzip
handbrake-cli-svn
handbrake-svn

View File

@ -25,7 +25,6 @@ bash
bc
binutils
bison
boost
boost-libs
bullet
bzip2
@ -37,7 +36,6 @@ catdvi
cdparanoia
cifs-utils
cloog
cmake
cmus
colord
compositeproto
@ -111,6 +109,7 @@ fuse
gawk
gc
gcc
gcc-go
gcc-libs
gcolor2
gd
@ -139,6 +138,7 @@ gnu-netcat
gnupg
gnuplot
gnutls
go
gpgme
gpm
grep
@ -156,6 +156,7 @@ gstreamer0.10-ffmpeg
gstreamer0.10-good
gstreamer0.10-python
gtk2
gtk3
gtkmm
gtkspell
gtk-update-icon-cache
@ -283,7 +284,6 @@ librsvg
libsamplerate
libsasl
libsigc++
libsigsegv
libsm
libsndfile
libsoup
@ -484,7 +484,6 @@ sysfsutils
syslog-ng
systemd-tools
sysvinit
t1lib
talloc
tar
task

14
.emacs
View File

@ -149,6 +149,7 @@ browse-url-browser-function 'browse-url-generic)
;; General purpose. Hightlight the following:
;; Digits, FIXME, TODO.
;; FIXME: Digits regex are not perfect, and may make emacs slow. Sure?
(mapcar
(lambda (mode)
(font-lock-add-keywords
@ -159,6 +160,7 @@ browse-url-browser-function 'browse-url-generic)
("[^[:alnum:]_]\\([[:digit:]]*\\.?[[:digit:]]+\\)[^[:alnum:]_.]" 1 font-lock-constant-face)
("\\<\\(FIXME\\):" 1 font-lock-warning-face prepend)
("\\<\\(TODO\\):" 1 font-lock-warning-face prepend)
("\\<\\(WARNING\\):" 1 font-lock-warning-face prepend)
)))
'( text-mode
sh-mode emacs-lisp-mode lua-mode
@ -594,6 +596,18 @@ the line."
(define-key mediawiki-mode-map (kbd "C-c o") 'mediawiki-browse)
))
;;==============================================================================
;; HTML
;;==============================================================================
(add-hook 'html-mode-hook
(lambda ()
(turn-off-auto-fill)
(toggle-truncate-lines)
))
;;==============================================================================
;; DoxyMacs
;;==============================================================================

View File

@ -132,7 +132,6 @@
("qqns" "quelques-uns" nil 1)
("qqs" "quelques" nil 1)
("quelque" "quelque" nil 1)
("ques" "question" nil 1)
("ss" "sous" nil 1)
("ssi" "si et seulement si" nil 1)
("stp" "s'il te plaît" nil 1)
@ -147,7 +146,7 @@
("tt" "tout" nil 3)
("tte" "toute" nil 1)
("ttes" "toutes" nil 1)
("we" "weekend" nil 6)
("w-e" "weekend" nil 6)
("ya" "il y a" nil 6)
("yen" "il y en" nil 1)
("ê" "être" nil 1)

View File

@ -3,12 +3,8 @@
switch ($1)
{
case $2:
{
$0
break;
}
default:
{
break;
}
}