Emacs: minor fixes.

master
Ambrevar 2012-11-12 21:16:41 +01:00
parent 9685218e65
commit d72b84ab4c
6 changed files with 68 additions and 12 deletions

View File

@ -178,6 +178,12 @@
file-noext
".aux "
file-noext
".glg"
file-noext
".glo"
file-noext
".gls"
file-noext
".idx "
file-noext
".ilg "
@ -197,6 +203,8 @@
".tns "
file-noext
".toc "
file-noext
".xdy"
)
)
)
@ -243,11 +251,11 @@
;; variables:
;; $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $<
(let ((file (file-name-nondirectory buffer-file-name)))
(format "%s -c -o %s.o %s %s %s"
(format "%s -o %s %s %s %s"
(or (getenv "CC") "gcc")
(file-name-sans-extension file)
(or (getenv "CPPFLAGS") "-DDEBUG=9")
(or (getenv "CFLAGS") "-ansi -pedantic -Wall -Wextra -Wshadow -lm -g3 -O0")
(or (getenv "CFLAGS") "-ansi -pedantic -std=c99 -Wall -Wextra -Wshadow -lm -g3 -O0")
file))))))
;;==============================================================================

View File

@ -5,8 +5,12 @@ emacs-mediawiki-bzr
emacs-yasnippet
firefox-extension-video-downloadhelper
fortune-mod-tbbt
gitso
google-talkplugin
libpng12
linux-rt
linux-rt-docs
linux-rt-headers
movgrab
mutt-android-patch
package-query

View File

@ -3,6 +3,7 @@ abs
acpi
alsa-utils
antiword
apvlv
arch-wiki-lite
aspell-en
aspell-fr
@ -22,6 +23,7 @@ calc
ccrypt
cdrtools
chrpath
clisp
cmus
coreutils
cronie
@ -32,11 +34,13 @@ cyrus-sasl
dash
device-mapper
dhcpcd
dia
diffutils
djvulibre
dosfstools
dropbox
dropbox-cli
dwb
e2fsprogs
emacs-lua-mode
emacs-mediawiki-bzr
@ -64,6 +68,7 @@ ghostscript
gimp
git
gitg
gitso
glibc
gnumeric
gnuplot
@ -71,6 +76,7 @@ google-talkplugin
grep
gsfonts
gstreamer0.10-ugly-plugins
guile
gzip
handbrake
hdparm
@ -83,9 +89,9 @@ hunspell-fr
ifplugd
indent
inetutils
initscripts
inkscape
iotop
iproute2
iptables
iputils
jfsutils
@ -107,6 +113,9 @@ linux
linux-firmware
linux-lts
linux-manpages
linux-rt
linux-rt-docs
linux-rt-headers
lirc-utils
lm_sensors
logrotate
@ -129,6 +138,7 @@ movgrab
mpg123
mplayer2
mtools
mumble
mutt-android-patch
namcap
nano
@ -174,7 +184,6 @@ slock
splint
strace
submarine
subversion
sudo
swi-prolog
sxiv
@ -183,8 +192,8 @@ syslinux
syslog-ng
sysstat
systemd
systemd-sysvcompat
sysvbanner
sysvinit
tar
task
tcc

View File

@ -9,6 +9,7 @@ alsa-utils
antiword
apr
apr-util
apvlv
archlinux-keyring
arch-wiki-lite
aspell
@ -41,6 +42,7 @@ ccrypt
cdparanoia
cdrtools
chrpath
clisp
cloog
cmus
colord
@ -64,12 +66,16 @@ dconf
desktop-file-utils
device-mapper
dhcpcd
dia
dialog
diffutils
dirmngr
djvulibre
dnssec-anchors
docbook-xml
docbook-xsl
dosfstools
dwb
e2fsprogs
elfutils
emacs-lua-mode
@ -143,6 +149,8 @@ gsettings-desktop-schemas
gsfonts
gsl
gsm
gst-plugins-base-libs
gstreamer
gstreamer0.10
gstreamer0.10-base
gstreamer0.10-ugly
@ -153,8 +161,10 @@ gtkmm
gtksourceview3
gtkspell
gtk-update-icon-cache
guile
gzip
handbrake
harfbuzz
hdparm
heirloom-mailx
hicolor-icon-theme
@ -173,7 +183,6 @@ imagemagick
imlib2
indent
inetutils
initscripts
inkscape
inputproto
iotop
@ -185,6 +194,7 @@ iso-codes
jack
jasper
jfsutils
js
json-c
kbd
kbproto
@ -202,6 +212,7 @@ lesspipe
lib32-gcc-libs
lib32-glibc
libarchive
libart-lgpl
libass
libassuan
libasyncns
@ -271,6 +282,7 @@ libsamplerate
libsasl
libsidplay
libsigc++
libsigsegv
libsm
libsndfile
libsoup
@ -290,7 +302,6 @@ libva
libvdpau
libvorbis
libvpx
libwebkit
libwmf
libx11
libxau
@ -310,6 +321,7 @@ libxinerama
libxkbfile
libxml2
libxmu
libxp
libxpm
libxrandr
libxrender
@ -332,6 +344,7 @@ lirc-utils
lm_sensors
logrotate
lrzip
lsb-release
lshw
lsof
ltrace
@ -359,6 +372,7 @@ mpg123
mplayer2
mtdev
mtools
mumble
namcap
nano
nawk
@ -372,6 +386,7 @@ net-tools
ngrep
nspr
nss
nss-myhostname
ntfs-3g
ntfsprogs
numlockx
@ -398,6 +413,8 @@ pcre
perl
perl-digest-sha1
perl-error
perl-test-pod
perl-yaml-syck
pinentry
pixman
pkg-config
@ -412,7 +429,9 @@ popt
postgresql-libs
ppl
ppp
printproto
procps-ng
protobuf
psmisc
pth
pwgen
@ -422,16 +441,20 @@ pygobject-devel
pygtk
python
python2
python2-beaker
python2-cairo
python2-dbus
python2-distribute
python2-gobject2
python2-mako
python2-markupsafe
python2-notify
python-cairo
python-dbus-common
python-gobject
python-notify
python-pyelftools
qpdf
qt
randrproto
ranger
readline
@ -467,8 +490,8 @@ syslinux
syslog-ng
sysstat
systemd
systemd-sysvcompat
sysvbanner
sysvinit
sysvinit-tools
tar
task
@ -477,6 +500,7 @@ tcsh
texi2html
texinfo
tig
tightvnc
tree
ttf-dejavu
ttf-droid
@ -501,12 +525,15 @@ vicious
videoproto
vlock
w3m
webkitgtk2
wget
which
wipe
wpa_supplicant
wv
wxgtk
wxpython
x11vnc
x264
xcb-proto
xcb-util
@ -526,6 +553,7 @@ xfsprogs
xineramaproto
xkeyboard-config
xmlrpc-c
xmlto
xorg-bdftopcf
xorg-fonts-alias
xorg-fonts-encodings

View File

@ -14,6 +14,7 @@ eukdate
eurosym
fancyhdr
geometry
glossaries
graphics
graphics-pln
hyperref
@ -44,4 +45,6 @@ was
wrapfig
xargs
xcolor
xfor
xindy
xkeyval

View File

@ -183,7 +183,7 @@ cpuusage()
fi
}
codescan ()
charset_scan ()
{
IFS="
"
@ -199,7 +199,7 @@ codescan ()
## Confert all 'bad' encoding to UTF-8/LF.
#
## It will fail for encoding other than ISO-8859-1 and cp1252.
utf8conv ()
charset_2utf8 ()
{
local CODING
@ -670,6 +670,9 @@ texclean ()
find "$WORKDIR" -type f \( \
-name "*.aux" -o \
-name "*.glg" -o \
-name "*.glo" -o \
-name "*.gls" -o \
-name "*.idx" -o \
-name "*.ilg" -o \
-name "*.ind" -o \
@ -679,7 +682,8 @@ texclean ()
-name "*.out" -o \
-name "*.snm" -o \
-name "*.tns" -o \
-name "*.toc" \) \
-name "*.toc" -o \
-name "*.xdy" \) \
-print \
-delete
}