From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lute Kamstra Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and M-x term Date: Wed, 10 Sep 2003 10:44:29 +0200 Organization: CWI, Amsterdam Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1063183657 4752 80.91.224.253 (10 Sep 2003 08:47:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Sep 2003 08:47:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 10 10:47:35 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 19x0dT-0001V8-00 for ; Wed, 10 Sep 2003 10:47:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19x0bY-0002jd-Hc for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Sep 2003 04:45:36 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!news2.euro.net!newsfeed.wxs.nl!surfnet.nl!news.surfnet.nl!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 44 Original-NNTP-Posting-Host: occarina.pna.cwi.nl Original-X-Trace: news.surfnet.nl 1063183470 19723 192.16.184.200 (10 Sep 2003 08:44:30 GMT) Original-X-Complaints-To: usenet@news.surfnet.nl Original-NNTP-Posting-Date: Wed, 10 Sep 2003 08:44:30 +0000 (UTC) In-Reply-To: (Mark Plaksin's message of "Tue, 09 Sep 2003 21:39:21 -0400") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:jcBlSLItCbdEJF43OMt9jwxvd3U= Original-Xref: shelby.stanford.edu gnu.emacs.help:116496 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:12415 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12415 Mark Plaksin writes: > Here's an example. When it works it looks like this: > ~/emacs/cvs:water$ ls c* > config.bat config.log config.sub* configure.in > config.guess* config.status* configure* > > When it doesn't work it looks something like this: > ~/emacs/cvs:water$ ls c* > config.bat config.log config.sub* configure.in > config.guess* config.status* configure* > > In the second example config.sub doesn't start in the right column. Strange that this would have anything to do with the font. Could you debug term-emulate-terminal (in lisp/term.el) to see which STR is passed to it? This is probably easiest in line mode (C-c C-j), assuming the problematic behavior occurs in line mode as well. To debug a function, type C-u C-M-x when point is in the function definition to instrument it. Edebug will then be started whenever the function is called. >> So you run vi from within Emacs. Interesting. ;-) > > Ha! My main use for term is to connect to remote machines and do system > administration. Maybe gnuserv or TRAMP could be used to edit files as > root on remote machines but I haven't tried it. I also haven't thought > through whether it's a good idea or not. Even if I had it all set up, > there would always be new machines on which it was not yet set up :) > Sysadmins *must* know some vi anyhow. Don't get me wrong though I'd > love to be doing *everything* in Emacs! You could start Emacs on the remote machine. Emacs within Emacs, oh joy! Since you are doing system administration, it's your job to install The One True Editor on the machines in your care, right? ;-) By the way, TRAMP has been integrated into CVS Emacs. Lute. -- (spook) => "military SWAT Verisign" (insert-file-contents "~/.signature") => (error "`~/.signature' too rude")