Article View: gnu.emacs.bug
Article #99408Re: shell-command-on-region
From: Jamie Zawinski
Date: Fri, 21 Sep 1990 21:23
Date: Fri, 21 Sep 1990 21:23
12 lines
1436 bytes
1436 bytes
toad@CS.CMU.EDU (Todd Kaufmann) writes: [ put "if ($?prompt == 0) exit" in your .cshrc ] Several other people have told me this trick (thanks, everybody.) But I still don't think it's ever appropriate for Emacs to read your .cshrc, though. Many things call shell-command-on-region, and it seems really easy for an alias to confuse them - if you have ls aliased to ls -F, and something is trying to parse the output, for example (not the best example, but you get the idea.) Things like PATH should be inherited from .login, there shouldn't be anything in .cshrc necessary to the proper operation of some program. (Right?) -- Jamie
Technical Details
Message-ID:
<JWZ.90Sep21142318@kolyma.lucid.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!isaak!escher!nadia!smurf!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!wuarchive!cs.utexas.edu!uunet!bu.edu!shelby!neon!lucid.com!jwzReferences:
<JWZ.90Sep19235137@kolyma.lucid.com> <TOAD.90Sep20143024@VIZAG.MT.CS.CMU.EDU>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,f37c36abb0176cfd X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-09-21 14:23:18 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!isaak!escher!nadia!smurf!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!wuarchive!cs.utexas.edu!uunet!bu.edu!shelby!neon!lucid.com!jwz From: jwz@lucid.com (Jamie Zawinski) Newsgroups: gnu.emacs.bug Subject: Re: shell-command-on-region Message-ID: <JWZ.90Sep21142318@kolyma.lucid.com> Date: 21 Sep 90 21:23:18 GMT References: <JWZ.90Sep19235137@kolyma.lucid.com> <TOAD.90Sep20143024@VIZAG.MT.CS.CMU.EDU> Sender: jwz@lucid.com Organization: Lucid, Inc., Menlo Park, CA Lines: 12 Posted: Fri Sep 21 22:23:18 1990 In-reply-to: toad@CS.CMU.EDU's message of 20 Sep 90 18:30:24 GMT