[Bug 882579] New: csh.cshrc produces spurious errors when (t)csh is called from Emacs non-interactively
https://bugzilla.novell.com/show_bug.cgi?id=882579 https://bugzilla.novell.com/show_bug.cgi?id=882579#c0 Summary: csh.cshrc produces spurious errors when (t)csh is called from Emacs non-interactively Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: i686 OS/Version: openSUSE 13.1 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Stromeko@NexGo.DE QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; noOS;) Gecko/20100101 Firefox/4.0 Invocations from Emacs to (t)csh for non-interactive shells (i.e. via call-process-shell-command) produce spurious erros from tset and stty since there is no terminal available. Moving the block that deals with Emacs' shell-mode until after the test for an interactive shell resolves the problem. # # Only for interactive shells # if (! ${?prompt}) goto done # # Avoid trouble with Emacs shell mode # if ($?EMACS) then setenv LS_OPTIONS '-N --color=none -T 0'; path tset -I -Q path stty cooked pass8 dec nl -echo # if ($?tcsh) unset edit endif Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=882579
https://bugzilla.novell.com/show_bug.cgi?id=882579#c
Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=882579
https://bugzilla.novell.com/show_bug.cgi?id=882579#c1
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=882579
https://bugzilla.novell.com/show_bug.cgi?id=882579#c2
--- Comment #2 from Achim Gratz
https://bugzilla.novell.com/show_bug.cgi?id=882579
https://bugzilla.novell.com/show_bug.cgi?id=882579#c3
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=882579
https://bugzilla.novell.com/show_bug.cgi?id=882579#c5
--- Comment #5 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com