-- __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ Jeffrey G. Micono 505.844.6767 Ktech Corporation 505.268.3379 __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ >From jbsvax.eksystems.com!barnwell Wed Mar 19 10:28:31 1997 Return-Path: <barnwell_at_jbsvax.eksystems.com> Received: by pascal.physics.smu.edu (/\oo/\ Smail3.1.29.1 #29.5) id <m0w7ODy-000RAxC_at_pascal.physics.smu.edu>; Wed, 19 Mar 97 10:28 CST Date: Wed, 19 Mar 1997 11:26:23 -0500 Message-Id: <97031911262366_at_jbsvax.eksystems.com> Reply-To: barnwell_at_eksystems.com From: barnwell_at_jbsvax.eksystems.com (Barnwell_at_eksystems.com voice 508-303-6905) To: jain_at_pascal.physics.smu.edu Subject: Re: Smart Emacs... X-VMS-To: SMTP%"jain_at_pascal.physics.smu.edu" Status: OR both emacs ( we use 19.30 but I think its worked since 19.15 or so) and xemacs try entering font-lock-mode >From hexadecimal.uoregon.edu!stevev Wed Mar 19 10:34:26 1997 Return-Path: <stevev_at_hexadecimal.uoregon.edu> Received: by pascal.physics.smu.edu (/\oo/\ Smail3.1.29.1 #29.5) id <m0w7OJm-000RAxC_at_pascal.physics.smu.edu>; Wed, 19 Mar 97 10:34 CST Received: (from stevev_at_localhost) by hexadecimal.uoregon.edu (8.8.5/8.8.5) id IAA06773; Wed, 19 Mar 1997 08:34:24 -0800 (PST) Date: Wed, 19 Mar 1997 08:34:24 -0800 (PST) Message-Id: <199703191634.IAA06773_at_hexadecimal.uoregon.edu> From: Steve VanDevender <stevev_at_hexadecimal.uoregon.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: jain_at_pascal.physics.smu.edu (Rakesh Jain) Subject: Smart Emacs... In-Reply-To: <m0w7Nd1-0009e3C_at_smuhep1.physics.smu.edu> References: <m0w7Nd1-0009e3C_at_smuhep1.physics.smu.edu> Status: OR Rakesh Jain writes: > hi there, > > which version of emacs support the color options for a language editor. > (change color for different part of the program) > > Thanks > Rakesh Try GNU Emacs 19.34 (from prep.ai.mit.edu:pub/gnu/emacs-19.34.tar.gz) or XEmacs 19.14 (soon to be 19.15) from ftp.xemacs.org:pub/xemacs. >From sol.cstp.umkc.edu!stous Wed Mar 19 11:56:51 1997 Return-Path: <stous_at_sol.cstp.umkc.edu> Received: by pascal.physics.smu.edu (/\oo/\ Smail3.1.29.1 #29.5) id <m0w7PbW-000RAzC_at_pascal.physics.smu.edu>; Wed, 19 Mar 97 11:56 CST Received: (from stous_at_localhost) by sol.cstp.umkc.edu (8.8.5/SMI-SVR4) id LAA26305 for jain_at_pascal.physics.smu.edu; Wed, 19 Mar 1997 11:56:47 -0600 (CST) From: Mikel Stous <stous_at_ctr.cstp.umkc.edu> Message-Id: <199703191756.LAA26305_at_sol.cstp.umkc.edu> Subject: Re: Smart Emacs... To: jain_at_pascal.physics.smu.edu (Rakesh Jain) Date: Wed, 19 Mar 1997 11:56:46 -0600 (CST) In-Reply-To: <m0w7Nd1-0009e3C_at_smuhep1.physics.smu.edu> from "Rakesh Jain" at Mar 19, 97 09:50:14 am X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Status: O Rakesh Jain wrote: > > hi there, > > which version of emacs support the color options for a language editor. > (change color for different part of the program) > I think they have for a long while. Here's a copy of one of my emacs power users ".emacs" file. I'm not an expert but you can email him how-to set it up. He's rhalker_at_cstp.umkc.edu Mikel -------------.emacs------------------ (setq inihibit-default-init t) (setq c-echo-syntactic-information-p t) (setq gnus-default-nntp-server "news.umkc.edu") (setq Info-default-directory "/usr/local/info") (transient-mark-mode t) (display-time);;displays the time (setq load-path (cons "/s/localfw/ravi/e/emacs/cc-mode" load-path)) (setq load-path (cons "/s/localfw/ravi/e/emacs/html-helper-mode" load-path)) (require 'cc-mode) (setq font-lock-maximum-decoration t) (require 'font-lock) (setq display-time-day-and-date t) (setq-default c-basic-offset 4) (setq c-auto-newline t) (setq c-indent-level 3) (setq c-continued-statement-offset 2) (setq c-argdecl-indent 3) (setq c-brace-offset 1) (setq c-label-offset 3) (add-hook 'c-mode-hook 'turn-on-font-lock) (global-font-lock-mode 1) ;;(make-face-italic 'font-lock-comment-face) (setq font-lock-support-mode 'lazy-lock-mode) (setq font-lock-support-mode 'fast-lock-mode) (setq font-lock-maximum-decoration '((c-mode . t) (c++-mode . t))) (add-hook 'c-mode-common-hook '(lambda () (c-toggle-auto-hungry-state 1))) (add-hook 'font-lock-mode-hook 'turn-on-fast-lock) (setq lpr-add-switches t) (global-set-key [S-tab] 'dabbrev-expand);;dynamic command competion in C Shift-tab ;(global-set-key [RET] 'newline-and-indent) (define-key c-mode-map "\C-m" 'newline-and-indent) ;;(setq c-set-offset 'case-label '*) ;;(setq c-set-offset 'statement-case-intro '*) ;;(define-key c-mode-map RET 'newline-and-indent) (cond (window-system (set-face-background 'highlight "RoyalBlue"))) ;(setq baud-rate 5);;to change the scroll speed (font-lock-make-faces t) (setq frame-title-format '("%b : " default-directory " (" current-machine ")")) ;; set the frame title with full path ;;(setq load-path (cons "/s/localfw/e/emacs/cc-mode" load-path)) ;;(defun my-font-lock-setup () ;; (set-face-foreground font-lock-comment-face "moccasin") ;; (set-face-foreground font-lock-type-face "pink") ;; (remove-hook 'font-lock-mode-hook 'my-font-lock-setup)) ;; (and window-system ;; (add-hook 'font-lock-mode-hook 'my-font-lock-setup)) ;; ;; (fmakunbound 'c-mode) ;; (makunbound 'c-mode-map) ;; (fmakunbound 'c++-mode) ;; (makunbound 'c++-mode-map) ;; (makunbound 'c-style-alist) ;;(require 'cc-mode) ;;(setq auto-mode-alist ;; (append ;; '(("\\.C$" . c++-mode) ;; ("\\.H$" . c++-mode) ;; ("\\. ;; ("\\.h$" . c-mode) ;; ("\\.m$" . objc-mode) ;; ) auto-mode-alist)) ;;(autoload 'c++-mode "cc-mode" "C++ Editing Mode" t) ;; (autoload 'c-mode "cc-mode" "C Editing Mode" t) ;; (autoload 'objc-mode "cc-mode" "Objective-C Editing Mode" t) ;; ;;Version 2.4.1 is obsolete, so that URL won't work anymore. The ;;current version can be grabbed at ;; ;; ftp://ftp.python.org/pub/emacs/cc-mode-4.282.tar.gz ;; ;;It looks like the "current version" is also presented by a soft ;;link, so perhaps this would be better: ;; ;; ftp://ftp.python.org/pub/emacs/cc-mode.tar.gz (make-face-italic 'font-lock-comment-face) (setq hilit-mode-enable-list '(Info-mode dired-mode)) (require 'hilit19) ;; for html-mode ;(require 'html-helper-mode) ;(autoload 'html-helper-mode "html-helper-mode" "Yay HTML" t) ;(setq auto-mode-alist (cons '("\\.html$" . html-helper-mode) ; auto-mode-alist)) ;(add-hook 'html-helper-load-hook '(lambda () (require 'html-font))) (copy-face 'bold 'font-lock-keyword-face) ; or italic/... (set-face-foreground 'font-lock-keyword-face "Gold");;"ForestGreen") (setq font-lock-keyword-face 'font-lock-keyword-face) (setq font-lock-verbose t) ;(add-hook 'html-helper-mode-hook '(lambda () (font-lock-mode 1))) ;(setq html-helper-do-write-file-hooks t) ;(setq html-helper-build-new-buffer t) ;(setq html-helper-address-string ; "<a href=\"http://www.santafe.edu/~nelson/\">Nelson Minar <nelson_at_santafe.edu></a>") >From digitalink.com!joe.wilson Wed Mar 19 12:11:14 1997 Return-Path: <joe.wilson_at_digitalink.com> Received: by pascal.physics.smu.edu (/\oo/\ Smail3.1.29.1 #29.5) id <m0w7PpR-000RAzC_at_pascal.physics.smu.edu>; Wed, 19 Mar 97 12:11 CST Received: from mjolnir.digitalink.com by excaliber.digitalink.com; (5.65v3.0/1.1.8.2/15Jan96-0459PM) id AA32716; Wed, 19 Mar 1997 13:19:30 -0500 Received: from argos by mjolnir.digitalink.com; (5.65v3.2/1.1.8.2/10Jan96-0415PM) id AA18778; Wed, 19 Mar 1997 13:10:37 -0500 Sender: root_at_mjolnir.digitalink.com Message-Id: <33302C1A.276A4F71_at_digitalink.com> Date: Wed, 19 Mar 1997 13:10:34 -0500 From: Joe Wilson <joe.wilson_at_digitalink.com> Organization: washingtonpost.com X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.29 i586) Mime-Version: 1.0 To: Rakesh Jain <jain_at_pascal.physics.smu.edu> Subject: Re: Smart Emacs... References: <m0w7Nd1-0009e3C_at_smuhep1.physics.smu.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Status: OR Rakesh Jain wrote: > which version of emacs support the color options for a language editor. > (change color for different part of the program) That is a function of the Lisp add-ins you choose to install. Unfortunately, I have only ever used the Fortran add-in and I don't remember what the file names are. J -- *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#* *# *# Joe Wilson Digital Ink - www.washingtonpost.com *# Systems Analyst Programmer (C, C++, DOS, VB, Windows, UNIX) *# (703) 469-2644 1560 Wilson Blvd, Arlington, VA 22209 *# *# He who can no longer pause to wonder and stand rapt in awe, *# is as good as dead; his eyes are closed. --Albert Einstein *# *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*Received on Wed Mar 19 1997 - 19:49:21 NZST
This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT