Even _more_ things you may want to consider for x?emacs (what gates from hell have you opened now TheDamian !!)
;;display the current time (plus a seconds ticker) in the mode bar of
+the frame
(display-time)
(custom-set-variables
;; syntax highlighter changes background colour of expression from ope
+ning brace to closing brace
'(paren-mode (quote sexp) nil (paren))
;;indent the line the appropriate amount when the author hits the ';'
+key (but only in perl code)
'(cperl-autoindent-on-semi t)
;;show column numbers for all modes
'(column-number-mode t)
;;show line number in all modes
'(line-number-mode t)
;; always turn on highlighting for all modes
'(font-lock-mode t nil (font-lock)))
;; I dont like the default Cperl colours for hashes and comments - you
+ can set them this way. Makes comments really stand out on a grey or
+black ackground.
(custom-set-faces
'(cperl-hash-face ((((class color) (background light)) (:foreground "
+Red" :bold t))))
'(font-lock-comment-face ((((class color) (background light)) (:foreg
+round "blue4" :background "white")))))
...it is better to be approximately right than precisely wrong. - Warren Buffet
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|