From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Artur Hefczyc Newsgroups: gmane.emacs.help Subject: Re: Emacs newbie - Syntax Highlighting and Indentation Date: Sat, 15 Nov 2003 10:47:22 +0100 Organization: Aster City Net Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <878ymi9d5h.fsf@141-moc-9.acn.waw.pl> References: Reply-To: DONTkobit@SPAMplusnet.MEpl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1068890413 23828 80.91.224.253 (15 Nov 2003 10:00:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 Nov 2003 10:00:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 15 11:00:10 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AKxDu-0007As-00 for ; Sat, 15 Nov 2003 11:00:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AKyB3-0006RY-5V for geh-help-gnu-emacs@m.gmane.org; Sat, 15 Nov 2003 06:01:17 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news.man.poznan.pl!newsfeed.gazeta.pl!news.astercity.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-NNTP-Posting-Host: 212.76.54.141 Original-X-Trace: foka1.acn.pl 1068889271 11873 212.76.54.141 (15 Nov 2003 09:41:11 GMT) Original-X-Complaints-To: abuse@astercity.net Original-NNTP-Posting-Date: Sat, 15 Nov 2003 09:41:11 +0000 (UTC) X-Tech-Contact: usenet@astercity.net X-Server-Info: http://www.astercity.net/news/ User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:02t+NwJ859h1Xs3jNOFCjMq8CZ4= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEWZnZ3Iy9WTkI0NBA/H oYr09Ph6ZFJAKRng2dewemz3jcCRAAACR0lEQVR4nFWSvWvjQBDF1+a42jJyUKkTwcnVLtzGZrjL ljki2PJsi3HUHRi0tSGCrc2isP/tvVn5SyNceH779r0ZSZGnk59bvtVhIaVCRd3jfH/r7xc90LUn 2lvboGftVQBFzV3d6Y5tYwWfBVAEDoEhsRZnrb0CW5Ej+pKOHQB6dZnT0ljaWBfw2gOxxw/0Yp6g st9yNCZdXhVEajWN9zRsBZwlSmq6iwbcm5xBotRI7ZaLy4j20BOcL4rvcYKGA2z4sLxcNS7m8W4Z FKobKIriIKAOmgH39qpQAhYNttnVAIuBYmEFhBC6AYhxayINwPYGxjsJFbyQbn9nPpat14GiBFu4 XYX8TQCABx/uQD7HBB6nEddWL/HtqhxAzUMQgLkDV60xqeYI8p8hxLBce9641jlHACrPi0eSTHj9 vquOLjOexLpQYwAJFYLXAO6hIjHPC1H0Y5A+vahvXz4C7LdA0D5uOCmAEOJVGJGlp/GwX03SJ76A OWxlbLFaJelTo6NDBBQJ80mN0l916B0K3noxlpXwFu/eexWP7/+l5DV5j0G7k9gFlcsGt7N3DK41 ZKuUSNQK/W0xK41MoTWFVZIgNj7Dhp9LqTQOXqHvQAB420rfvOEPFpUlxwQ/APtsIik/cVf3Q77x xLnjWv0tz2VS7Cm25ZkotHpF+U7rTRRk2TEzqrzV5zpJzlc5dw/MzPUK9AeKt605C5DnHvzhUS9o TTlQPPBHD0pXHodgIyauLc0QTHnk2iMEpWnvU5kJf8wMEslo5j+pJm2vs6mv0wAAAABJRU5ErkJg gg== Original-Xref: shelby.stanford.edu gnu.emacs.help:118308 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:14249 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14249 David Rasmussen writes: > Thanks to everyone. As an aside, let me just mention that emacs for windows must > somehow be cygwin-aware. When I start emacs from a normal Windows command prompt > or from a shortcut, it saves .emacs in c:\ > But if I start emacs from cygwin (no, I do not have emacs for cygwin installed, > it _is_ the same emacs I am starting from cygwin, that I started from the > command prompt and the desktop just before), it saves .emacs in > c:\cygwin\home\david\ I use the second way of 2 above - regular NTEmacs ran from cygwin environment. I suggest to write simple windows script starting always emacs under cygwin: cat > startemacs.bat set HOME="c:/cygwin/home/david" set PATH="c:/cygwin/bin;c:/cygwin/usr/bin;"%HOME% cd %HOME% c:/path/to/emacs/emacs.exe Or something like above. It has many advantages over emacs in 'pure' windows environment. It then can use all cygwin tools like bash, sed, grep, diff and others. Look in my article mentioned in earlier post, it should contain more detailed info about this. Artur -- Artur Hefczyc, Open Source Developer: http://www.geotools.org/ http://generguide.sourceforge.net/ http://wttools.sourceforge.net/ http://maven-plugins.sourceforge.net/