This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: emacs in its own window



Andy Koppe wrote:
> 
> (Or, as Ken said, install the X version of emacs and invoke it as
> emacs-X11.)
> 
In fact, with X emacs installed (at least 23.0.92), emacs will invoke
emacs-X11:

public_html> type emacs
emacs is /usr/bin/emacs
public_html> ll /usr/bin/emacs*
lrwxrwxrwx 1 emagiro EEI-ATusers       23 May 17 19:35 /usr/bin/emacs ->
/etc/alternatives/emacs
-rwxr-xr-x 1 emagiro root        15838208 May 17 21:06
/usr/bin/emacs-X11.exe
-rwxr-xr-x 1 emagiro root        15408128 May 17 21:06
/usr/bin/emacs-nox.exe
-rwxr-xr-x 1 emagiro root           20480 May 17 21:06
/usr/bin/emacsclient.exe
public_html> ll /etc/alternatives/emacs
lrwxrwxrwx 1 emagiro EEI-ATusers 22 May 17 19:35 /etc/alternatives/emacs ->
/usr/bin/emacs-X11.exe

I use the following batch file to start emacs from a 'shortcut' (as I use
M-x shell, I don't need an x term):

public_html> cat /Emacs.bat
@echo off

C:
chdir C:\cygwin2\bin

bash --login -c "/usr/bin/startx /usr/bin/emacs -g 80x40+88+69 -- /usr/bin/X
:0 -multiwindow -clipboard"

Marc
-- 
View this message in context: http://www.nabble.com/emacs-in-its-own-window-tp23358625p23655438.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]