Difference: EmacsTips (1 vs. 20)

Revision 2027 Jan 2014 - TobyCabot

Line: 1 to 1
 (back to ProgrammingNotes)

Emacs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult. I prefer emacs to IDE's because I feel that the investment in time that I spend learning it will be more likely to pay off because emacs has been around for a long time and will continue to be around for a long time. Also, more of the smartest people I've worked with have used emacs than all other development environments combined (although lately Eclipse is gaining).

Line: 30 to 30
 XSLT - http://xslt-process.sourceforge.net/

Mac - there are a few places to get emacs for the mac:

Changed:
<
<
>
>
 

Revision 1923 Jan 2014 - TobyCabot

Line: 1 to 1
 (back to ProgrammingNotes)

Emacs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult. I prefer emacs to IDE's because I feel that the investment in time that I spend learning it will be more likely to pay off because emacs has been around for a long time and will continue to be around for a long time. Also, more of the smartest people I've worked with have used emacs than all other development environments combined (although lately Eclipse is gaining).

Line: 30 to 30
 XSLT - http://xslt-process.sourceforge.net/

Mac - there are a few places to get emacs for the mac:

Changed:
<
<
>
>
 
Added:
>
>
  Windows - http://ftp.gnu.org/gnu/emacs/windows/
FAQ - http://www.gnu.org/software/emacs/windows/index.html

Revision 1822 Jun 2012 - TobyCabot

Line: 1 to 1
 (back to ProgrammingNotes)

Emacs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult. I prefer emacs to IDE's because I feel that the investment in time that I spend learning it will be more likely to pay off because emacs has been around for a long time and will continue to be around for a long time. Also, more of the smartest people I've worked with have used emacs than all other development environments combined (although lately Eclipse is gaining).

Line: 34 to 34
 
Changed:
<
<
Windows - you can use cygwin's bash as a shell within emacs by putting c:\cygwin\bin in your windows path before running emacs. this link might also help.
>
>
Windows - http://ftp.gnu.org/gnu/emacs/windows/
FAQ - http://www.gnu.org/software/emacs/windows/index.html

you can use cygwin's bash as a shell within emacs by putting c:\cygwin\bin in your windows path before running emacs. this link might also help.

 
  • .emacs: .emacs file for Windows emacs
Line: 46 to 49
  Emacs Starter Kit - http://www.emacsblog.org/2008/12/05/emacs-starter-kit/
Changed:
<
<
Debian Snapshot - http://emacs.orebokech.com/
>
>
Emacs Snapshot for Debian - http://emacs.naquadah.org/
 
META FILEATTACHMENT attr="" comment=".emacs file for Windows emacs" date="1064850692" name=".emacs" path=".emacs" size="2790" user="tobyc" version="1.1"

Revision 1715 Apr 2012 - TobyCabot

Line: 1 to 1
 (back to ProgrammingNotes)

Emacs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult. I prefer emacs to IDE's because I feel that the investment in time that I spend learning it will be more likely to pay off because emacs has been around for a long time and will continue to be around for a long time. Also, more of the smartest people I've worked with have used emacs than all other development environments combined (although lately Eclipse is gaining).

Line: 42 to 42
 Tips - http://wttools.sourceforge.net/emacs-stuff/package.html
http://www.emacswiki.org/cgi-bin/wiki/EmacsNiftyTricks
http://news.slashdot.org/article.pl?sid=08/11/07/0533222
Added:
>
>
http://emacsrocks.com/
  Emacs Starter Kit - http://www.emacsblog.org/2008/12/05/emacs-starter-kit/

Revision 1608 May 2009 - TobyCabot

Line: 1 to 1
 (back to ProgrammingNotes)

Emacs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult. I prefer emacs to IDE's because I feel that the investment in time that I spend learning it will be more likely to pay off because emacs has been around for a long time and will continue to be around for a long time. Also, more of the smartest people I've worked with have used emacs than all other development environments combined (although lately Eclipse is gaining).

Line: 31 to 31
  Mac - there are a few places to get emacs for the mac:
Changed:
<
<
>
>
 

Windows - you can use cygwin's bash as a shell within emacs by putting c:\cygwin\bin in your windows path before running emacs. this link might also help.

Line: 45 to 45
  Emacs Starter Kit - http://www.emacsblog.org/2008/12/05/emacs-starter-kit/
Added:
>
>
Debian Snapshot - http://emacs.orebokech.com/
 
META FILEATTACHMENT attr="" comment=".emacs file for Windows emacs" date="1064850692" name=".emacs" path=".emacs" size="2790" user="tobyc" version="1.1"

Revision 1506 Dec 2008 - TobyCabot

Line: 1 to 1
 (back to ProgrammingNotes)

Emacs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult. I prefer emacs to IDE's because I feel that the investment in time that I spend learning it will be more likely to pay off because emacs has been around for a long time and will continue to be around for a long time. Also, more of the smartest people I've worked with have used emacs than all other development environments combined (although lately Eclipse is gaining).

Added:
>
>
Packages - here's a great idea; a package manager for emacs (like cpan for perl): http://tromey.com/elpa/
 C style - p.322 M-x c-set-style GNU|K&R|BSD|Stroustrup|Whitesmith|Ellemtel Vovida code appears to use Stroustrup.

Tabs - to replace tabs with spaces mark a region then M-x untabify (M-x tabify goes the other way). Useful variables related to tabs are

Line: 27 to 29
  XSLT - http://xslt-process.sourceforge.net/
Added:
>
>
Mac - there are a few places to get emacs for the mac:
 Windows - you can use cygwin's bash as a shell within emacs by putting c:\cygwin\bin in your windows path before running emacs. this link might also help.

  • .emacs: .emacs file for Windows emacs
Line: 36 to 43
 http://www.emacswiki.org/cgi-bin/wiki/EmacsNiftyTricks
http://news.slashdot.org/article.pl?sid=08/11/07/0533222
Added:
>
>
Emacs Starter Kit - http://www.emacsblog.org/2008/12/05/emacs-starter-kit/
 
META FILEATTACHMENT attr="" comment=".emacs file for Windows emacs" date="1064850692" name=".emacs" path=".emacs" size="2790" user="tobyc" version="1.1"

Revision 1401 Dec 2008 - TobyCabot

Line: 1 to 1
 (back to ProgrammingNotes)

Emacs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult. I prefer emacs to IDE's because I feel that the investment in time that I spend learning it will be more likely to pay off because emacs has been around for a long time and will continue to be around for a long time. Also, more of the smartest people I've worked with have used emacs than all other development environments combined (although lately Eclipse is gaining).

Line: 19 to 19
  Code Browsing - http://ecb.sourceforge.net/ I haven't played with this package yet but it looks good
Changed:
<
<
Java - a good integrated development environment for Java is JDEE at http://jdee.sunsite.dk/. It's not that easy to install (it has lots of dependencies).
>
>
Java - a good integrated development environment for Java is JDEE at http://jdee.sourceforge.net/. It's not that easy to install (it has lots of dependencies).
  SQL - yes, there's a mode for editing SQL queries: http://www.pezaris.com/sql-mode/

Revision 1308 Nov 2008 - TobyCabot

Line: 1 to 1
 (back to ProgrammingNotes)

Emacs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult. I prefer emacs to IDE's because I feel that the investment in time that I spend learning it will be more likely to pay off because emacs has been around for a long time and will continue to be around for a long time. Also, more of the smartest people I've worked with have used emacs than all other development environments combined (although lately Eclipse is gaining).

Line: 34 to 34
  Tips - http://wttools.sourceforge.net/emacs-stuff/package.html
http://www.emacswiki.org/cgi-bin/wiki/EmacsNiftyTricks
Changed:
<
<
>
>
http://news.slashdot.org/article.pl?sid=08/11/07/0533222
 
META FILEATTACHMENT attr="" comment=".emacs file for Windows emacs" date="1064850692" name=".emacs" path=".emacs" size="2790" user="tobyc" version="1.1"

Revision 1203 Jan 2008 - TobyCabot

Line: 1 to 1
 (back to ProgrammingNotes)

Emacs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult. I prefer emacs to IDE's because I feel that the investment in time that I spend learning it will be more likely to pay off because emacs has been around for a long time and will continue to be around for a long time. Also, more of the smartest people I've worked with have used emacs than all other development environments combined (although lately Eclipse is gaining).

Line: 9 to 9
 
  • indent-tabs-mode - t for spaces, nil for tabs
  • tab-width - number of spaces per tab
  • c-tab-always-indent - if t, will always indent a line of code. if nil, will indent only if you hit the tab key at the beginning of the line.
Added:
>
>
You can embed these commands in a comment on the first line of a file. Let's say you want to interact with files created by people using Eclipse with its completely retarded default config of hard 4-character tabs. Just make sure that this text is somewhere on the first line of the file, either inside a /* ... */ or after a //:

-*- indent-tabs-mode: t; tab-width: 4 -*-

  Ant - to use ant instead of make to compile programs inside emacs, you'll want to run ant with the -emacs flag which makes the output more plain but allows emacs to find error messages. The easy way to do this is to add (custom-set-variables '(compile-command "ant -emacs")) to your .emacs file.

Revision 1127 Dec 2007 - TobyCabot

Line: 1 to 1
 (back to ProgrammingNotes)

Emacs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult. I prefer emacs to IDE's because I feel that the investment in time that I spend learning it will be more likely to pay off because emacs has been around for a long time and will continue to be around for a long time. Also, more of the smartest people I've worked with have used emacs than all other development environments combined (although lately Eclipse is gaining).

Line: 20 to 20
  SQL - yes, there's a mode for editing SQL queries: http://www.pezaris.com/sql-mode/
Changed:
<
<
DOS - If you have to edit DOS files (which is likely if you program for a living wink then Emacs works very well indeed. You can use it to translate into DOS or Unix format : C-x RET f unix RET or C-x RET f dos RET (don't forget to save the file after you do). For more info see the manual.
>
>
DOS - If you have to edit DOS files (which is likely if you program for a living wink ) then Emacs works very well indeed. You can use it to translate into DOS or Unix format : C-x RET f unix RET or C-x RET f dos RET (don't forget to save the file after you do). For more info see the manual.
  XSLT - http://xslt-process.sourceforge.net/
Line: 29 to 29
 
  • .emacs: .emacs file for Windows emacs
Changed:
<
<
Tips - http://wttools.sourceforge.net/emacs-stuff/package.html
>
>
Tips - http://wttools.sourceforge.net/emacs-stuff/package.html
http://www.emacswiki.org/cgi-bin/wiki/EmacsNiftyTricks
 
META FILEATTACHMENT attr="" comment=".emacs file for Windows emacs" date="1064850692" name=".emacs" path=".emacs" size="2790" user="tobyc" version="1.1"

Revision 1007 Feb 2005 - TobyCabot

Line: 1 to 1
 (back to ProgrammingNotes)

Emacs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult. I prefer emacs to IDE's because I feel that the investment in time that I spend learning it will be more likely to pay off because emacs has been around for a long time and will continue to be around for a long time. Also, more of the smartest people I've worked with have used emacs than all other development environments combined (although lately Eclipse is gaining).

C style - p.322 M-x c-set-style GNU|K&R|BSD|Stroustrup|Whitesmith|Ellemtel Vovida code appears to use Stroustrup.

Changed:
<
<
Tabs - to replace tabs with spaces mark a region then M-x untabify.
>
>
Tabs - to replace tabs with spaces mark a region then M-x untabify (M-x tabify goes the other way). Useful variables related to tabs are
  • indent-tabs-mode - t for spaces, nil for tabs
  • tab-width - number of spaces per tab
  • c-tab-always-indent - if t, will always indent a line of code. if nil, will indent only if you hit the tab key at the beginning of the line.
  Ant - to use ant instead of make to compile programs inside emacs, you'll want to run ant with the -emacs flag which makes the output more plain but allows emacs to find error messages. The easy way to do this is to add (custom-set-variables '(compile-command "ant -emacs")) to your .emacs file.

Revision 918 Mar 2004 - TobyCabot

Line: 1 to 1
 (back to ProgrammingNotes)

Emacs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult. I prefer emacs to IDE's because I feel that the investment in time that I spend learning it will be more likely to pay off because emacs has been around for a long time and will continue to be around for a long time. Also, more of the smartest people I've worked with have used emacs than all other development environments combined (although lately Eclipse is gaining).

Line: 25 to 25
 
  • .emacs: .emacs file for Windows emacs
Added:
>
>
Tips - http://wttools.sourceforge.net/emacs-stuff/package.html
 
META FILEATTACHMENT attr="" comment=".emacs file for Windows emacs" date="1064850692" name=".emacs" path=".emacs" size="2790" user="tobyc" version="1.1"

Revision 817 Feb 2004 - TWikiGuest

Line: 1 to 1
Changed:
<
<
(back to ProgrammingTips)
>
>
(back to ProgrammingNotes)
  Emacs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult. I prefer emacs to IDE's because I feel that the investment in time that I spend learning it will be more likely to pay off because emacs has been around for a long time and will continue to be around for a long time. Also, more of the smartest people I've worked with have used emacs than all other development environments combined (although lately Eclipse is gaining).

Revision 718 Oct 2003 - TobyCabot

Line: 1 to 1
 (back to ProgrammingTips)

Emacs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult. I prefer emacs to IDE's because I feel that the investment in time that I spend learning it will be more likely to pay off because emacs has been around for a long time and will continue to be around for a long time. Also, more of the smartest people I've worked with have used emacs than all other development environments combined (although lately Eclipse is gaining).

Line: 11 to 11
  Compiling - M-x compile, then C-x ` (i.e. back-tick) to go to the next error.
Added:
>
>
Code Browsing - http://ecb.sourceforge.net/ I haven't played with this package yet but it looks good
 Java - a good integrated development environment for Java is JDEE at http://jdee.sunsite.dk/. It's not that easy to install (it has lots of dependencies).
Added:
>
>
SQL - yes, there's a mode for editing SQL queries: http://www.pezaris.com/sql-mode/
 DOS - If you have to edit DOS files (which is likely if you program for a living wink then Emacs works very well indeed. You can use it to translate into DOS or Unix format : C-x RET f unix RET or C-x RET f dos RET (don't forget to save the file after you do). For more info see the manual.

XSLT - http://xslt-process.sourceforge.net/

Revision 629 Sep 2003 - TobyCabot

Line: 1 to 1
 (back to ProgrammingTips)
Changed:
<
<
Emacs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult. I prefer emacs to IDE's because I feel that the investment in time that I spend learning it will be more likely to pay off because emacs has been around for a long time and will continue to be around for a long time. Also, more of the smartest people I've worked with have used emacs than all other development environments combined.
>
>
Emacs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult. I prefer emacs to IDE's because I feel that the investment in time that I spend learning it will be more likely to pay off because emacs has been around for a long time and will continue to be around for a long time. Also, more of the smartest people I've worked with have used emacs than all other development environments combined (although lately Eclipse is gaining).
  C style - p.322 M-x c-set-style GNU|K&R|BSD|Stroustrup|Whitesmith|Ellemtel Vovida code appears to use Stroustrup.
Line: 17 to 17
  XSLT - http://xslt-process.sourceforge.net/
Changed:
<
<
-- TobyCabot - 24 Dec 2001 - 11 Nov 2002
>
>
Windows - you can use cygwin's bash as a shell within emacs by putting c:\cygwin\bin in your windows path before running emacs. this link might also help.

  • .emacs: .emacs file for Windows emacs

META FILEATTACHMENT attr="" comment=".emacs file for Windows emacs" date="1064850692" name=".emacs" path=".emacs" size="2790" user="tobyc" version="1.1"

Revision 506 Feb 2003 - TobyCabot

Line: 1 to 1
 (back to ProgrammingTips)

Emacs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult. I prefer emacs to IDE's because I feel that the investment in time that I spend learning it will be more likely to pay off because emacs has been around for a long time and will continue to be around for a long time. Also, more of the smartest people I've worked with have used emacs than all other development environments combined.

Line: 15 to 15
  DOS - If you have to edit DOS files (which is likely if you program for a living wink then Emacs works very well indeed. You can use it to translate into DOS or Unix format : C-x RET f unix RET or C-x RET f dos RET (don't forget to save the file after you do). For more info see the manual.
Added:
>
>
XSLT - http://xslt-process.sourceforge.net/
 -- TobyCabot - 24 Dec 2001 - 11 Nov 2002

Revision 411 Nov 2002 - TobyCabot

Line: 1 to 1
 (back to ProgrammingTips)

Emacs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult. I prefer emacs to IDE's because I feel that the investment in time that I spend learning it will be more likely to pay off because emacs has been around for a long time and will continue to be around for a long time. Also, more of the smartest people I've worked with have used emacs than all other development environments combined.

Line: 13 to 13
  Java - a good integrated development environment for Java is JDEE at http://jdee.sunsite.dk/. It's not that easy to install (it has lots of dependencies).
Changed:
<
<
-- TobyCabot - 24 Dec 2001
>
>
DOS - If you have to edit DOS files (which is likely if you program for a living wink then Emacs works very well indeed. You can use it to translate into DOS or Unix format : C-x RET f unix RET or C-x RET f dos RET (don't forget to save the file after you do). For more info see the manual.

-- TobyCabot - 24 Dec 2001 - 11 Nov 2002

Revision 324 Dec 2001 - TobyCabot

Line: 1 to 1
Changed:
<
<
Eamcs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult.
>
>
(back to ProgrammingTips)

Emacs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult. I prefer emacs to IDE's because I feel that the investment in time that I spend learning it will be more likely to pay off because emacs has been around for a long time and will continue to be around for a long time. Also, more of the smartest people I've worked with have used emacs than all other development environments combined.

  C style - p.322 M-x c-set-style GNU|K&R|BSD|Stroustrup|Whitesmith|Ellemtel Vovida code appears to use Stroustrup.
Line: 9 to 11
  Compiling - M-x compile, then C-x ` (i.e. back-tick) to go to the next error.
Changed:
<
<
-- TobyCabot - 08 Jun 2001
>
>
Java - a good integrated development environment for Java is JDEE at http://jdee.sunsite.dk/. It's not that easy to install (it has lots of dependencies).

-- TobyCabot - 24 Dec 2001

Revision 207 Nov 2001 - TobyCabot

Line: 1 to 1
 Eamcs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult.

C style - p.322 M-x c-set-style GNU|K&R|BSD|Stroustrup|Whitesmith|Ellemtel Vovida code appears to use Stroustrup.

Tabs - to replace tabs with spaces mark a region then M-x untabify.

Added:
>
>
Ant - to use ant instead of make to compile programs inside emacs, you'll want to run ant with the -emacs flag which makes the output more plain but allows emacs to find error messages. The easy way to do this is to add (custom-set-variables '(compile-command "ant -emacs")) to your .emacs file.

Compiling - M-x compile, then C-x ` (i.e. back-tick) to go to the next error.

 -- TobyCabot - 08 Jun 2001

Revision 108 Jun 2001 - TobyCabot

Line: 1 to 1
Added:
>
>
Eamcs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult.

C style - p.322 M-x c-set-style GNU|K&R|BSD|Stroustrup|Whitesmith|Ellemtel Vovida code appears to use Stroustrup.

Tabs - to replace tabs with spaces mark a region then M-x untabify.

-- TobyCabot - 08 Jun 2001

View topic | History: r20 < r19 < r18 < r17 | More topic actions...
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding The Caboteria? Send feedback