unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Le Wang" <l26wang@gmail.com>
Subject: Re: C-M-anything gives no response
Date: 9 Jul 2006 13:32:15 -0700	[thread overview]
Message-ID: <1152477135.928310.208190@m79g2000cwm.googlegroups.com> (raw)
In-Reply-To: <jLudnTwuZIgfxizZRVnyrw@pipex.net>


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 <file>`

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

      reply	other threads:[~2006-07-09 20:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-09 12:36 C-M-anything gives no response Robin Wilson
2006-07-09 16:57 ` B. T. Raven
2006-07-09 17:30 ` Eric Hanchrow
     [not found] ` <mailman.3928.1152466722.9609.help-gnu-emacs@gnu.org>
2006-07-09 18:12   ` Robin Wilson
2006-07-09 19:06     ` Eli Zaretskii
     [not found]     ` <mailman.3930.1152471988.9609.help-gnu-emacs@gnu.org>
2006-07-09 19:39       ` Robin Wilson
2006-07-09 20:32         ` Le Wang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1152477135.928310.208190@m79g2000cwm.googlegroups.com \
    --to=l26wang@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).