Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91679874
cdsware.el
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Nov 13, 09:52
Size
1 KB
Mime Type
text/x-lisp
Expires
Fri, Nov 15, 09:52 (2 d)
Engine
blob
Format
Raw Data
Handle
22304269
Attached To
R3600 invenio-infoscience
cdsware.el
View Options
;;; cdsware.el -- CDSware-related Emacs definitions people may find useful.
;;; $Id$
;;;
;;; This file is part of the CERN Document Server Software (CDSware).
;;; Copyright (C) 2002, 2003, 2004, 2005 CERN.
;;;
;;; The CDSware is free software; you can redistribute it and/or
;;; modify it under the terms of the GNU General Public License as
;;; published by the Free Software Foundation; either version 2 of the
;;; License, or (at your option) any later version.
;;;
;;; The CDSware is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
;;; General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with CDSware; if not, write to the Free Software Foundation, Inc.,
;;; 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
;; switch off the beep
(
setq
visible-bell
t
)
;; spaces instead of tabs:
(
setq-default
indent-tabs-mode
nil
)
;; no newlines at the end:
(
setq
next-line-add-newlines
nil
)
;; fancy parens and such:
(
set-scroll-bar-mode
'right
)
(
setq
blink-cursor
nil
)
(
setq
transient-mark-mode
t
)
(
show-paren-mode
t
)
;; light yellow on dark green is cool:
(
when
(
locate-library
"color-theme"
)
(
require
'color-theme
)
(
color-theme-gnome2
))
;; setting color-syntax highlighting:
(
require
'font-lock
)
(
global-font-lock-mode
t
)
(
setq-default
font-lock-auto-fontify
t
)
;; fancy Python mode:
(
when
(
locate-library
"ipython"
)
(
require
'ipython
))
;; most WML files in CDSware are Python files
(
setq
auto-mode-alist
(
cons
'
(
"\\.wml$"
.
python-mode
)
auto-mode-alist
))
;; Pythonic things:
(
autoload
'python-mode
"python-mode"
"Python editing mode."
t
)
(
setq
interpreter-mode-alist
(
cons
'
(
"python"
.
python-mode
)
interpreter-mode-alist
))
;; choosing version control software:
(
setq
vc-default-back-end
'CVS
)
;;; end of file
Event Timeline
Log In to Comment