Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 16 Mar 2004 08:28:09 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: The Thodes cc: bug-gnu-emacs AT gnu DOT org, cygwin AT cygwin DOT com Subject: Re: Bug in GNU Emacs... In-Reply-To: <001001c40b04$780b55c0$b87b9a40@yourxu5v9frokn> Message-ID: References: <001001c40b04$780b55c0$b87b9a40 AT yourxu5v9frokn> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: X-Scanned-By: MIMEDefang 2.39 On Mon, 15 Mar 2004, The Thodes wrote: > When I open the attached file (main.cpp) using "emacs main.cpp" (this works > without loading my ".emacs" too) on i686-pc-cygwin (Cygwin 1.5.5 on Windows > XP Home 5.1.2600 SP1), go to the beginning of any line that is not already > flush left, and press the TAB key, the line becomes flush left. I am using > GNU Emacs 21.2.1 installed thru Cygwin Setup and the output from cygcheck is > as follows: > [inline cygcheck output snipped] For the future, please attach the output of cygcheck, rather than including it inline (see for details). Also, this is not a bug in emacs -- this is expected behavior. In line 5 of your file, you forgot to close the angle bracket for the include statement, and thus emacs thinks that all of the rest of the program is part of the include. Next time, please try your program with other indenting software, e.g. GNU indent, or astyle, or even vim, before reporting it as a bug. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/