* NTEmacs problem
@ 1999-06-18 6:45 Alan Patterson
1999-06-18 7:18 ` Vadim Egorov
1999-06-30 22:10 ` Alan Patterson
0 siblings, 2 replies; 4+ messages in thread
From: Alan Patterson @ 1999-06-18 6:45 UTC (permalink / raw)
To: cygwin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 750 bytes --]
Hi,
   I have now managed to get the shell running,
but it only runs the windows shell. I have placed the suggested lisp code
in my $HOME/.emacs file but it doesn't seem to get loaded ?
Also, I would like to know if ntemacs can use the cygwin feature
of opening text files in text mode. I.e. can I edit windows text files
that have the \r\n EOLs.
Thanks in advance,
   Alan
--
Alan Patterson                  Â
Algorithm Software Engineer
Nexan Telemed Ltd.           Â
+44 1223 713500
The Quorum, Barnwell Rd,   +44 1223 713501 (fax)
Cambridge CB5 8RE.         Â
alan.patterson@nexan.com
Â
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NTEmacs problem
1999-06-18 6:45 NTEmacs problem Alan Patterson
@ 1999-06-18 7:18 ` Vadim Egorov
1999-06-30 22:10 ` Vadim Egorov
1999-06-30 22:10 ` Alan Patterson
1 sibling, 1 reply; 4+ messages in thread
From: Vadim Egorov @ 1999-06-18 7:18 UTC (permalink / raw)
To: Alan Patterson; +Cc: cygwin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1999 bytes --]
Hi,
For running shell Emacs uses shell-file-name and
explicit-shell-file-name
variables. In my ~/.emacs I have:
(setq shell-file-name "bash.exe")
(setq explicit-shell-file-name shell-file-name)
(setq explicit-sh-args '("-login" "-i"))
(setq shell-command-switch "-c")
(setq archive-zip-use-pkzip nil)
(setenv "SHELL" "/bin/bash")
(setq comint-process-echoes nil)
(setq w32-quote-process-args ?\")
(setq process-coding-system-alist
(cons '("bash" . raw-text-unix)
process-coding-system-alist))
(setq process-coding-system-alist
(cons '("gdb" . raw-text-unix)
process-coding-system-alist))
And it works ok.
Emacs runs ~/.emacs on startup - if HOME variable set in Emacs
environment.
(You can check it M-: (getenv "HOME") RET )
Emacs usually tries to auto detect EOL conversion but you have a few
ways to
customize this behavior - check Emacs mauls and FAQ - and this has
nothing
with cygwin.
But I would suggest ntemacs-users@cs.washington.edu mailing list for
such
questions.
Regards
Vadim
Alan Patterson wrote:
>
> Hi,
> I have now managed to get the shell running, but it only runs the
> windows shell. I have placed the suggested lisp code in my
> $HOME/.emacs file but it doesn't seem to get loaded ?
>
> Also, I would like to know if ntemacs can use the cygwin feature of
> opening text files in text mode. I.e. can I edit windows text files
> that have the \r\n EOLs.
>
> Thanks in advance,
> Alan
>
> --
> Alan Patterson Algorithm Software Engineer
> Nexan Telemed Ltd. +44 1223 713500
> The Quorum, Barnwell Rd, +44 1223 713501 (fax)
> Cambridge CB5 8RE. alan.patterson@nexan.com
>
--
*********************************************
Vadim Egorov, 1C * ÷ÃÃÃà åÃÃÃÃÃ,1C
egorovv@1c.ru * egorovv@1c.ru
*********************************************
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NTEmacs problem
1999-06-18 7:18 ` Vadim Egorov
@ 1999-06-30 22:10 ` Vadim Egorov
0 siblings, 0 replies; 4+ messages in thread
From: Vadim Egorov @ 1999-06-30 22:10 UTC (permalink / raw)
To: Alan Patterson; +Cc: cygwin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1999 bytes --]
Hi,
For running shell Emacs uses shell-file-name and
explicit-shell-file-name
variables. In my ~/.emacs I have:
(setq shell-file-name "bash.exe")
(setq explicit-shell-file-name shell-file-name)
(setq explicit-sh-args '("-login" "-i"))
(setq shell-command-switch "-c")
(setq archive-zip-use-pkzip nil)
(setenv "SHELL" "/bin/bash")
(setq comint-process-echoes nil)
(setq w32-quote-process-args ?\")
(setq process-coding-system-alist
(cons '("bash" . raw-text-unix)
process-coding-system-alist))
(setq process-coding-system-alist
(cons '("gdb" . raw-text-unix)
process-coding-system-alist))
And it works ok.
Emacs runs ~/.emacs on startup - if HOME variable set in Emacs
environment.
(You can check it M-: (getenv "HOME") RET )
Emacs usually tries to auto detect EOL conversion but you have a few
ways to
customize this behavior - check Emacs mauls and FAQ - and this has
nothing
with cygwin.
But I would suggest ntemacs-users@cs.washington.edu mailing list for
such
questions.
Regards
Vadim
Alan Patterson wrote:
>
> Hi,
> I have now managed to get the shell running, but it only runs the
> windows shell. I have placed the suggested lisp code in my
> $HOME/.emacs file but it doesn't seem to get loaded ?
>
> Also, I would like to know if ntemacs can use the cygwin feature of
> opening text files in text mode. I.e. can I edit windows text files
> that have the \r\n EOLs.
>
> Thanks in advance,
> Alan
>
> --
> Alan Patterson Algorithm Software Engineer
> Nexan Telemed Ltd. +44 1223 713500
> The Quorum, Barnwell Rd, +44 1223 713501 (fax)
> Cambridge CB5 8RE. alan.patterson@nexan.com
>
--
*********************************************
Vadim Egorov, 1C * ÷ÃÃÃà åÃÃÃÃÃ,1C
egorovv@1c.ru * egorovv@1c.ru
*********************************************
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* NTEmacs problem
1999-06-18 6:45 NTEmacs problem Alan Patterson
1999-06-18 7:18 ` Vadim Egorov
@ 1999-06-30 22:10 ` Alan Patterson
1 sibling, 0 replies; 4+ messages in thread
From: Alan Patterson @ 1999-06-30 22:10 UTC (permalink / raw)
To: cygwin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 750 bytes --]
Hi,
   I have now managed to get the shell running,
but it only runs the windows shell. I have placed the suggested lisp code
in my $HOME/.emacs file but it doesn't seem to get loaded ?
Also, I would like to know if ntemacs can use the cygwin feature
of opening text files in text mode. I.e. can I edit windows text files
that have the \r\n EOLs.
Thanks in advance,
   Alan
--
Alan Patterson                  Â
Algorithm Software Engineer
Nexan Telemed Ltd.           Â
+44 1223 713500
The Quorum, Barnwell Rd,   +44 1223 713501 (fax)
Cambridge CB5 8RE.         Â
alan.patterson@nexan.com
Â
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-06-30 22:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-18 6:45 NTEmacs problem Alan Patterson
1999-06-18 7:18 ` Vadim Egorov
1999-06-30 22:10 ` Vadim Egorov
1999-06-30 22:10 ` Alan Patterson
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).