Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.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@cygwin.com To: The Thodes cc: bug-gnu-emacs@gnu.org, cygwin@cygwin.com Subject: Re: Bug in GNU Emacs... In-Reply-To: <001001c40b04$780b55c0$b87b9a40@yourxu5v9frokn> Message-ID: References: <001001c40b04$780b55c0$b87b9a40@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@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.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/