From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Le Wang" Newsgroups: gmane.emacs.help Subject: Re: C-M-anything gives no response Date: 9 Jul 2006 13:32:15 -0700 Organization: http://groups.google.com Message-ID: <1152477135.928310.208190@m79g2000cwm.googlegroups.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1152477633 25795 80.91.229.2 (9 Jul 2006 20:40:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 Jul 2006 20:40:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 09 22:40:32 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fzg4t-0006Jg-5l for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Jul 2006 22:40:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fzg4s-0006m3-9Q for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Jul 2006 16:40:30 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!m79g2000cwm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 44 Original-NNTP-Posting-Host: 24.19.59.244 Original-X-Trace: posting.google.com 1152477141 28562 127.0.0.1 (9 Jul 2006 20:32:21 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 9 Jul 2006 20:32:21 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: m79g2000cwm.googlegroups.com; posting-host=24.19.59.244; posting-account=j4OimgwAAAALo-2szSZvOyX5OE1uyIeS Original-Xref: shelby.stanford.edu gnu.emacs.help:140257 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35882 Archived-At: Robin Wilson wrote: > Eli Zaretskii wrote: > > > > Also, does it help to invoke "emacs -nw -q"? Perhaps your .emacs > > customizations are the culprit? > > > > Hi > > I have in fact managaged to solve it, as I was writing this email to you > I thought of something to check, and found that it was the problem! It > was a binding I had in my .emacs which had never worked properly so I'd > stopped using, but I'd left in my .emacs. It bound TAB to a function > called indent-or-complete which meant that TAB either indented the line, > or completed it if there was something to complete. Obviously in W32 > Emacs this was causing some problems, and removing that binding has made > it all work again. So, that binding worked for you in TTY mode? Strange. If you had to use "emacs -q -nw" to get it to work. That is a very revealing piece of information, which would've been helpful when you posed your question. Always use "emacs -q" to try to repro your problem; and if the problem goes away with "-q", suspect your init files. > Thanks for your help in solving this problem, and I'll try using W32 > Emacs with Cygwin now. How is it best to set it up so that I can run > emacs filename in my cygwin terminal and get W32 emacs to load? Look into gnuclient/gnuserv to run only one emacs session. You can send files to emacs in the same way you get cygwin to interoperate with other "native" programs: % gnuclient `cygpwth -w ` Emacs understands "-m" paths too. You only need to do this for unix style absolute paths, e.b. /usr/* /home/*, it should "just work" for relative paths. -- Le