From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Romain FRANCOISE Newsgroups: gmane.emacs.help Subject: Re: eshell and jobs Date: Wed, 29 Jan 2003 17:20:08 +0100 Organization: orebokech dot com Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87fzrc7wsn.fsf@orebokech.com> References: <2iy95589rj.fsf@kite.ssc.wisc.edu> <84wukobex3.fsf@lucy.is.informatik.uni-duisburg.de> <841y2w6jj2.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1043857517 16650 80.91.224.249 (29 Jan 2003 16:25:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 29 Jan 2003 16:25:17 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18dv1Y-0004KN-00 for ; Wed, 29 Jan 2003 17:25:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18dv1w-0008MI-07 for gnu-help-gnu-emacs@m.gmane.org; Wed, 29 Jan 2003 11:25:40 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!nntp.theplanet.net!inewsm1.nntp.theplanet.net!195.40.4.120.MISMATCH!easynet-quince!easynet.net!feed.news.nacamar.de!newsfeed01.sul.t-online.de!t-online.de!fr.clara.net!heighliner.fr.clara.net!lirmm.fr!cines.fr!univ-lyon1.fr!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 51 Original-NNTP-Posting-Host: j446-b.resj.insa-lyon.fr Original-X-Trace: demo2.univ-lyon1.fr 1043857297 17150 134.214.166.176 (29 Jan 2003 16:21:37 GMT) Original-X-Complaints-To: abuse@univ-lyon1.fr Original-NNTP-Posting-Date: 29 Jan 2003 16:21:37 GMT Mail-Copies-To: nobody Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEU5Kh1GMCV8eXQNCwdX SD8rJx3g7Oy5vr0QGRcrGxAPMhoBAAACbklEQVR4nGXUwWrcMBAG4DFkob7ZQQvtsUKJejeF 3aONQnL0kgrsY02wzzWJ/QAh4N4cFkH1tv1HtjeUCvay345nNDNeesyyzHtfClNIPuM4Dm3b NgQ4nrODE8b8B/6cZYfTvxHPAfC0bFpFL/ASwDMdLzEMNyvgnF20yQZH76bp9ciVSam4iLG9 oyo7Zt/94fEw/Z4RovI0TUVxWzH42vvq8Gb9jJoZSqEnqgPMuyn6Uc+iMOEUK8SeUpHvv8yF VMnueFXokcH7naXI5PvaX49qt7cnoZsFTmWUGrO377pXJrfS6OaNLCBK8X1ua6F7Y5QZe/1c MTjihImrxQDgpvQvFe04gstM4vl6aCQEfRSKaAWTeCqGblR87+bzRPS6RqDmAk0KrXr6BHi8 wPs9oJd6aPsKsHcLwDWg69H2BpDu8U1I4a8C8KB+BnAzQwy4BYQBvkwhooz4STMJAOoC3H1A 4uMAPL22qxhQfyS42AV44E+WIUcElEFzCsCvN4DYAPPb4OsKNkqJ9wTNHSQe1S2QoLtJzBEG d+YcTc6ARXBEziJA8a/x6QPgp64kojK6V+0CaoU/rkxpJrqXbTiduVvgzHD28zUn5v5+AIWq IrmEPG+AuyUUe16U225sO/UBnHwW2HNsGlJssPPOQoTUbV9g3peI0ltbopHYG3SkkxvMFDtv CTuHNcD8LlAiMbcLglXDsm2Ax+PyEb/nDEMnzcMGsef3T/cM6KG6AOoquagxQNs/TCugxVYU YUwM3c0F4hpvLE9j/b+oFkgislaE/R/WPwwAhoFSE8vZtV5jxm8ToRt8h6QUBXe3G8Ppq79B Pm8I2clBOAAAAABJRU5ErkJggg== User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:HzfihKFIhl60TTZrtDw2wNAWIe8= Original-Xref: shelby.stanford.edu gnu.emacs.help:109530 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6048 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6048 kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes: > It seems the `then' branch here is what is normally invoked. I have > no idea what the `else' branch does. It's for cases when we're not supposed to output something on the command line, e.g. when called for a file redirection, or something. Or in eshell scripts. Or when called non-interactively, or by another function. John will know better. :) Anyway, what it does in eshell/make is to tell Eshell to use the real make ("*make") instead of the Emacs compile interface in such cases. >> (throw 'eshell-replace-command >> (let ((l (eshell-stringify-list (eshell-flatten-list args)))) >> (eshell-parse-command (car l) (cdr l)))))) > Can anyone explain what this might mean? If not called with output focus, just return the command, separating the command itself from its arguments. Not sure if it really works though. :) >> (put 'eshell/ec 'eshell-no-numeric-conversions t) > It seems that eshell can recognize numbers and do something with > them. But what? If Eshell recognizes numbers in the argument list, it passes them as numbers to Lisp functions (not as strings). ,---- | From esh-util.el: | | NOTE: If you find that numeric conversions are intefering with the | specification of filenames (for example, in calling `find-file', or | some other Lisp function that deals with files, not numbers), add the | following in your .emacs file: | | (put 'find-file 'eshell-no-numeric-conversions t) | | Any function with the property `eshell-no-numeric-conversions' set to | a non-nil value, will be passed strings, not numbers, even when an | argument matches `eshell-number-regexp'." `---- The usual No Expert(tm) disclaimer applies, of course. -- Romain FRANCOISE | There are doors that let you it's a miracle -- http://orebokech.com/ | in.