wok-next diff emacs/stuff/default.el @ rev 19205

linux: add parport_serial.ko.xz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 12 09:23:56 2016 +0200 (2016-06-12)
parents 4cf5da7c32ac
children
line diff
     1.1 --- a/emacs/stuff/default.el	Sat Aug 22 11:15:56 2009 +0200
     1.2 +++ b/emacs/stuff/default.el	Sun Jun 12 09:23:56 2016 +0200
     1.3 @@ -1,9 +1,9 @@
     1.4  ;; Emacs default file for SliTaz
     1.5 -;; (C) GNU gpl v3 - SliTaz GNU/Linux 2009
     1.6 -;; Last update: 2009-08-22
     1.7 +;; (C) GNU gpl v3 - SliTaz GNU/Linux 2009-2013
     1.8 +;; Last update: 2013-02-21
     1.9  ;;
    1.10  ;; Add support for SliTaz receipt files
    1.11 -;; force emacs in shell-script-mode                                 
    1.12 +;; force emacs in shell-script-mode
    1.13  (setq auto-mode-alist (cons '("receipt" . shell-script-mode) auto-mode-alist))
    1.14  
    1.15  ;; Force emacs to use tabs
    1.16 @@ -12,7 +12,7 @@
    1.17  (setq indent-tabs-mode t)
    1.18  (setq-default indent-tabs-mode t)
    1.19  
    1.20 -;;  bind the TAB key 
    1.21 +;;  bind the TAB key
    1.22  (global-set-key (kbd "TAB") 'self-insert-command)
    1.23  
    1.24  ;;  set the tab width
    1.25 @@ -21,39 +21,41 @@
    1.26  (setq c-basic-indent 4)
    1.27  
    1.28  
    1.29 -;; Following lines has been grabbed from dot emacs file for Maemo (nokia tablets):
    1.30 -;; christof sietchtabr at gmail                                                                                         
    1.31 -;;                                                                                                             
    1.32 -;; the dired, list-directory, and gzip fixes all come from the                                                 
    1.33 -;; packager of the emacs deb and responses from other maemo community members                                        
    1.34 -;; http://danielsz.freeshell.org/code/mine/emacs-for-maemo/index.shtml                                         
    1.35 -;;                                                                                                             
    1.36 -;; make dired work                                                                                             
    1.37 -;; --dired option is not supported on busybox ls command                                                       
    1.38 +;; Following lines has been grabbed from dot emacs file for Maemo:
    1.39 +;; christof sietchtabr at gmail
    1.40 +;;
    1.41 +;; the dired, list-directory, and gzip fixes all come from the
    1.42 +;; packager of the emacs deb and responses from other maemo community members
    1.43 +;; http://danielsz.freeshell.org/code/mine/emacs-for-maemo/index.shtml
    1.44 +;;
    1.45 +;; make dired work
    1.46 +;; --dired option is not supported on busybox ls command
    1.47  (setq dired-use-ls-dired nil)
    1.48  
    1.49 -;; make list-directory work                                                                                    
    1.50 -;; -F not supported by busybox ls command                                                                      
    1.51 +;; make list-directory work
    1.52 +;; -F not supported by busybox ls command
    1.53  (setq list-directory-brief-switches "-C")
    1.54  
    1.55 +;; we *REALLY* don't want to spew file backups all over the fs.
    1.56 +;; code to place all backups in one location
    1.57 +(when (not (file-directory-p "~/.emacs.backup"))
    1.58 +  (make-directory "~/.emacs.backup"))
    1.59 +(if (file-directory-p "~/.emacs.backup")
    1.60 +    (setq backup-directory-alist '(("." . "~/.emacs.backup"))))
    1.61  
    1.62 -;; we *REALLY* don't want to spew file backups all over the fs.                                                
    1.63 -;; code to place all backups in one location                                                                   
    1.64 -(when (not (file-directory-p "~/.backup"))
    1.65 -  (make-directory "~/.backup"))
    1.66 -(if (file-directory-p "~/.backup")
    1.67 -    (setq backup-directory-alist '(("." . "~/.backup"))))
    1.68 -
    1.69 -;; custom variable setting to make info work using busybox gzip                                          
    1.70 -
    1.71 +;; custom variable setting to make info work using busybox gzip
    1.72  (custom-set-variables
    1.73 -  ;; custom-set-variables was added by Custom.                                                                 
    1.74 -  ;; If you edit it by hand, you could mess it up, so be careful.                                              
    1.75 -  ;; Your init file should contain only one such instance.                                                     
    1.76 -  ;; If there is more than one, they won't work right.                                                         
    1.77 - '(jka-compr-compression-info-list (quote (["\\.Z\\(~\\|\\.~[0-9]+~\\)?\\'" "compressing" "compress" ("-c") "u\
    1.78 -ncompressing" "uncompress" ("-c") nil t "^_\x9d"] ["\\.bz2\\(~\\|\\.~[0-9]+~\\)?\\'" "bzip2ing" "bzip2" nil "b\
    1.79 -unzip2ing" "bzip2" ("-d") nil t "BZh"] ["\\.tbz\\'" "bzip2ing" "bzip2" nil "bunzip2ing" "bzip2" ("-d") nil nil\
    1.80 - "BZh"] ["\\.tgz\\'" "compressing" "gzip" ("-c") "uncompressing" "gzip" ("-c" "-q" "-d") t nil "^_\x8b"] ["\\.\
    1.81 -g?z\\(~\\|\\.~[0-9]+~\\)?\\'" "compressing" "gzip" ("-c") "uncompressing" "gzip" ("-c" "-d") t t "^_\x8b"] ["\\
    1.82 -\.dz\\'" nil nil nil "uncompressing" "gzip" ("-c" "-d") nil t "^_\x8b"]))))
    1.83 +;; custom-set-variables was added by Custom.
    1.84 +;; If you edit it by hand, you could mess it up, so be careful.
    1.85 +;; Your init file should contain only one such instance.
    1.86 +;; If there is more than one, they won't work right.
    1.87 + '(jka-compr-compression-info-list (quote (["\\.Z\\(~\\|\\.~[0-9]+~\\)?\\'" \
    1.88 +"compressing" "compress" ("-c") "uncompressing" "uncompress" \
    1.89 +("-c") nil t "^_\x9d"] ["\\.bz2\\(~\\|\\.~[0-9]+~\\)?\\'" "bzip2ing" ^
    1.90 +"bzip2" nil "bunzip2ing" "bzip2" ("-d") nil t "BZh"] ["\\.tbz\\'" "bzip2ing" \
    1.91 +"bzip2" nil "bunzip2ing" "bzip2" ("-d") nil nil "BZh"] \
    1.92 +["\\.tgz\\'" "compressing" "gzip" ("-c") "uncompressing" "gzip" \
    1.93 +("-c" "-q" "-d") t nil "^_\x8b"] ["\\.g?z\\(~\\|\\.~[0-9]+~\\)?\\'" \
    1.94 +"compressing" "gzip" ("-c") "uncompressing" "gzip" ("-c" "-d") t t \
    1.95 +"^_\x8b"] ["\\.dz\\'" nil nil nil "uncompressing" "gzip" ("-c" "-d") nil \
    1.96 +t "^_\x8b"]))))