XEmacs Tips for Programmers A lunchtime seminar. XEmacs Background  XEmacs not Emacs on Linux hosts  XEmacs is a specialized LISP interpreter  Built-in.

Slides:



Advertisements
Similar presentations
B2PDF b2pdf is the new and innovative release of our powerful command line tool for PDF customization b2pdf is a robust stand alone PDF file generation.
Advertisements

Mainframe-caliber tools for UNIX Treehouse Software, Inc.
Learning Unix/Linux Bioinformatics Orientation 2008 Eric Bishop.
Software Configuration Management Donna Albino LIS489, December 3, 2014.
Cygwin Training Seminar March 4, 2004 MDL AWIPS (Room 10246)
XP Information Technology Center - KFUPM1 Microsoft Office FrontPage 2003 Creating a Web Site.
Introduction to EMACS and XEMACS CMSC 121 Introduction to UNIX Much of the material in these slides was taken from Dan Hood’s CMSC 121 Lecture Notes.
Chapter 2 Accessing Your System and the Common Desktop Environment.
1 UQC122S3 Real-Time and Embedded Systems GCC as a cross compiler.
One Editor To Rule Them All Dan Berger Titus Winters
Linux+ Guide to Linux Certification, Second Edition
Eclipse Introduction Dwight Deugo Nesa Matic
A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8.
There is a certain way that an HTML file should be set up. The HTML section declares a beginning and an ending. Within the HTML, there should be a HEAD.
Compilers and Interpreters. Translation to machine language Every high level language needs to be translated to machine code There are different ways.
Introduction to EMACS and XEMACS CMSC 121 Introduction to UNIX Much of the material in these slides was taken from Dan Hood’s CMSC 121 Lecture Notes.
Chapter 10 Application Development. Chapter Goals Describe the application development process and the role of methodologies, models and tools Compare.
Doxygen and Javadoc By Derzsy Noemi.
PART A Emac Lisp   Emac Lisp is a programming language  Emacs Lisp is a dialect.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction What is Unix? An operation system (OS), similar to Windows, MacOS X Why learn Unix? Greatest Software.
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
CSE 326: Your Computing Environment Steve Martin Aiman Erbad.
Section 6.1 Explain the development of operating systems Differentiate between operating systems Section 6.2 Demonstrate knowledge of basic GUI components.
F13 Forensic tool analysis Dr. John P. Abraham Professor UTPA.
Debugging Tips for Programmers. Outline Script debugging Script debugging –C shell –BASH/Bourne/Korn shell tips Compiled language debugging Compiled language.
- Circle markers produced by TAsimage: They do not match was is produced on screen. The line width is too thick. Some other markers need to be tune a bit.
Software Tools and Processes Training and Discussion October 16, :00-4:30 p.m. Jim Willenbring.
Introduction Purpose This course describes the process of installing the KPIT GNU toolchain on your PC. Objective Learn how easy it is to get information.
Grades Please hand in your homework Quizzes coming back today Current grade on back with missing assignments Anything missing can be turned in late There.
Yannick Patois – CVS and Autobuild tools at CCIN2P3 – hepix - October, n° 1 CVS setup at CC-IN2P3 and Datagrid edg- build tools CVS management,
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction Unix-like system is everywhere Linux Android for smartphones Google Chrome OS for Chromebook Web.
Linux+ Guide to Linux Certification Chapter Four Exploring Linux Filesystems.
HTML Hyper Text Markup Language A simple introduction.
CMSBrownBag,05/29/2007 B.Mangano How to “use” CMSSW on own Linux Box and be happy In this context “use” means: - check-out pre-compiled CMSSW code - run.
SWEN 302: AGILE METHODS Roma Klapaukh & Alex Potanin.
An Intro to Concurrent Versions System (CVS) ECE 417/617: Elements of Software Engineering Stan Birchfield Clemson University.
Copyright © 2015 – Curt Hill Version Control Systems Why use? What systems? What functions?
Internet Business Foundations © 2004 ProsoftTraining All rights reserved.
Editing & Compiling: UNIX vs. IDE and an Intro to Architecture.
Word 2007 What’s New. Ribbon Interface Replaces toolbars and menus Contains tabs and grouped commands Each tab corresponds to task Related items grouped.
CS4710 Why Progam?. Why learn to program? Utility of programming skills: understand tools modify tools create your own automate repetitive tasks automate.
INFSO-RI Enabling Grids for E-sciencE SCDB C. Loomis / Michel Jouvin (LAL-Orsay) Quattor Tutorial LCG T2 Workshop June 16, 2006.
City College of New York 1 Player Stage Gazebo Rex Wong CCNY Robotic Lab A robotic research and development environment.
Prepared by: Steve Teo Contributors: Tong Huu Khiem.
EMACS Jim Vallino Proud emacs user since The truth about editors Editors are like religions. Everyone has one that they like.
In the Labs… X-Bot 2003 by Overtech Technologies.
Chapter Eleven The X Window System. 2 Lesson A Starting and Navigating an X Window System.
Unix Machine In Computer Science for Teaching Cliff Zou Spring 2015.
 Programming - the process of creating computer programs.
Byoung-Jo CHOI Fall 2007 SW Project II Advanced Linux Programming.
CATI Pitié-Salpêtrière CATI: A national platform for advanced Neuroimaging In Alzheimer’s Disease Standardized MRI and PET acquisitions Across a wide network.
Linux+ Guide to Linux Certification, Second Edition Chapter 4 Exploring Linux Filesystems.
Installing Applications in FreeBSD lctseng. Computer Center, CS, NCTU 2 Before we start  Permission issue root: the super user Like administrator in.
GDT Tips and Tricks. GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona GDT Tips.
Intoduction to Andriod studio Environment With a hello world program.
Learning Unix/Linux Based on slides from: Eric Bishop.
Introduction of Wget. Wget Wget is a package for retrieving files using HTTP and FTP, the most widely-used Internet protocols. Wget is non-interactive,
Debugging using By: Samuel Ashby. What is debugging?  A bug is an error in either a program or the hardware itself.  Debugging is first locating and.
Chapter 3: Mastering Editors Chapter 3 Mastering Editors (Emacs)
Being Productive With Emacs Part 2
Class Projects and Environment
The eclipse IDE IDE = “Integrated Development Environment”
SUSE Linux Enterprise Desktop Administration
Build Automation with Gradle
Engineering Innovation Center
Using Visual Studio and VS Code for Embedded C/C++ Development
JCreator Settings Only
Class Projects and Environment
Video Notes.
Presentation transcript:

XEmacs Tips for Programmers A lunchtime seminar

XEmacs Background  XEmacs not Emacs on Linux hosts  XEmacs is a specialized LISP interpreter  Built-in knowledge of fonts, files, buffers, etc.  ‘Infinitely’ customizable  Lots of packages/tools available  Thousands of “levers and knobs” to play with  With its great flexibility, it can also be intimidating  Options and Customize pulldown menus can help

XEmacs Tips for Programmers  More help at your finger tips  Under Help pulldown menu  Info  FAQ  Tutorial  init.el example  Look at other users’ init.el files.   Newsgroups on Usenet  comp.emacs.xemacs  comp.emacs

XEmacs Tips for Programmers  Many packages and tools for programmers exist that are bundled with XEmacs  Compare or merge files and directories  Access to CM tools like RCS, SCCS, CVS  Compilation mode  Search utilities like grep, etags and fume  Can even run GNU debugger within XEmacs  Language modes

XEmacs Tips for Programmers  Compare tool called “Ediff”  Based on UNIX diff command  Allows user to easily compare and merge files and even entire directories

XEmacs Tips for Programmers  I find that the Ediff toolbar GUI is helpful  Options->Customize->Emacs->Programming->Tools->Ediff (setq ediff-use-toolbar-p t)

XEmacs Tips for Programmers  Configuration Management  None for PVCS   My attempt to do so resulted in pscmd  XEmacs ‘knows’ about CVS, RCS and SCCS  Checking in and out code is very easy.  CVS: not so familiar with it, but willing to help

XEmacs Tips for Programmers  Compilation can be done locally  Environment inherited from parent  Can run a pre-compilation 'hook'  Remote compilation is very cool, IMHO  A bit more effort to set up  By default, ‘rsh’ commands are used – no good here at MDL.  Override 'hook' allows XEmacs to use ssh instead  Directory trees on local and remote host have to look the same. (?)

XEmacs Tips for Programmers  In compilation mode, XEmacs can parse output from compiler to locate the problem(s) in your code.  Anyone using this functionality on IBM? (setq compilation-error-regexp-systems-list (quote (qnu comma)) compilation-mouse-motion-initiate-parsing nil compilation-ask-about-save t compile-command “gmake “)

XEmacs Tips for Programmers Etags and Fume packages What the heck are those? They help programmers find routines quickly Fume lists routines within files Etags finds routines distributed among files and directories GNU Global is a new package for function searches Haven't tried it, looks promising.

XEmacs Tips for Programmers To enable FUnction MEnu (FUME) For Emacs TAGs (etags), it’s ready for use by default You need to run etags command first though (require ‘function-menu) (add-hook ‘find-file-hooks ‘fume-add-menubar-entry)

XEmacs Tips for Programmers  Language sensitive editing  Formatting styles available for many programming languages  C, Python, Java, LISP & FORTRAN  Available styles for “C” like languages  GNU, K&R, BSD, Stroustrup, Whitesmith,Ellemtel  Can even create your own! But....  Ellemtel style matches MDL standard, so use that  MDL FORTRAN programming style is F77 and XEmacs uses that by default.

XEmacs Tips for programmers  To set programming style for C languages  See ~oberfiel/.xemacs/customize- programming.el for more info. (setq c-set-style “ellemtel”)

XEmacs Tips for Programmers  EFS and TRAMP packages  Allows users to view/edit remote files as if they were local.  EFS uses ftp  A problem at MDL: intranet ftp is disabled  TRAMP uses ssh  Useful between MDL and NCEP IBM?  Using TRAMP and remote compilation package could speed up the development process?

XEmacs Tips for Programmers  Both EFS and TRAMP are triggered by special find-file name syntax  EFS  Tramp  For tramp to work  Use SSH to access remote machine w/o password