: 안녕하십니까..
: 이맥스를 한번 사용해 볼려고 고군분투 중입니다.
: 첫번째로 닥친 문제가
: 이미 존재하는 파일을 열어볼때,
: 라인이 넘어갈때 ^M 라는 문자가 문장뒤에 생깁니다.
: 이거 안나오게 할수 없나요?
: 어디선가 방법을 본것 같은데 도저히 찾을수가 없네요.
: 그리고 하나만 더..
: 지금 윈2000에서 이맥스를 사용중인데 JDK를 연결해서
: 자바 개발용으로 사용할려면 환경설정을 어떻게 고쳐주어야
: 할까요?
: 자세한 설명이나 아님 비슷한 문서가 있는곳이라도 아시는 분은
: 가르쳐 주셨으면 좋겠네요.
저도 윈도 2000에서 emacs를 jdk에 연결해서 쓰는데요.
설치하는 방법은 emacs + jdk 홈페이지 가면 자세하게 나와있습니다.
아니면 아래글 참조하세요
Emacs/JDK/JDE Installation Tutorial
Originally written by Michael Hunsaker, mhunsake at indiana.edu Modified slightly by Suzanne Menzel, menzel at cs.indiana.edu
Step 1 - Downloading The Software First, make a directory called java on your C: drive (i.e., c:java)
Next, download the following files to a temporary location such as your desktop:
emacs-20.4.zip
jdk-1_2_2_006-win.exe
JDE and Important Emacs File
Step 2 - Installing Emacs-20.4
First, where did you download the Emacs-20.4.zip file at? Go there and double-click on the file so that you can extract
the files into c:java. Once you have double-clicked on the file, it should spawn Winzip or another extracting program t
hat will take the files out of the compressed format and place them all into a folder you called c:java. Winzip will pro
bably ask you to agree to a license thing - just say I Agree. You will see one of two things: You will see a Winzip Wiza
rd screen that will help you with the extraction or You will see a Winzip Classic screen giving you a list of the files
in the zip file. It doesn't matter which screen you have but eventually you want the Winzip Classic screen. So you have
the Wizard screen, just click the button labeled Winzip Classic in the lower left hand corner. If you already have the W
inzip Classic screen up then you are okay. Now you want to Extract the files. Go to ACTIONS - EXTRACT... and choose tha
t. Winzip will ask you where to extract the files to. In that white box, you want to type c:java. Make sure you do this
correctly! This process will take around 30 seconds. When it's completed, you will see a green light turn on in the lowe
r right-hand corner of the screen. When it turns green, it has completed. You can now close Winzip. Step 3 - Installing
JDK 1.2.2_006 Where did you download the jdk-1_2_2_006-win.exe file at? Go there and double-click on the file so the in
stallation process will start up. It will simply ask you a series of questions throughout the installation - just take a
ll defaults and click Next whenever possible. The JDK program will be installed in c:jdk1.2.2 NOT c:java. Step 4 - Unzip
ping JDE and The Important Emacs File Where did you download the emacs_and_jde.zip file at? Go there and double-click o
n the file so that you can unzip the last set of files. This group of files will be unzipped into the c:java folder. Whe
n you double-click on the file, Winzip will start up. You will do the same thing you did in Step 2 for unzipping the fil
es into c:java. Double check to make sure you have the following files in c:java: 5 Folders - bin, etc, info, jde-2.1.5,
and lisp 6 Files - Bugs, Emacs, Getting Started, java.emacs, Readme, and Readme32 Step 5 - Finishing Up... Go to c:jav
ain and double-click on the file named addpm.exe. A prompt will appear asking you to install Emacs. Click OK. A window
will appear but you can just close it. That's it! You are ready to run Emacs. Click on the shortcut labeled Emacs in c:j
ava. Do not use emacs.exe in c:javain because that won't load the JDE library. If you want to, you can make a shortcut
on the desktop by going to c:java and dragging the Emacs.lnk file to the Desktop. Note that you won't see JDE on the Ema
cs menu bar right away. You must be editing a .java file in order for that menu to appear. Select "Save buffer as" from
the Files menu and then type in a filename ending with .java and the JDE menu will appear. ----------------------------
---------------------------------------------------- For more information about Emacs, here is a UITS how to guide, an
emacs link farm, and a departmental emacs reference card that is best printed back-to-back. The first screen you see wh
en you bring up Emacs invites you to type C-h (that's emacs notation for control-H) to start an on-line tutorial that wa
lks you through all the basic operations. Try it! There is also a local emacs tutorial. One glitch to be aware of when
using Emacs in the STC labs: To print, use Tools->Print->Postscript Print Buffer. If you select Print Buffer instead o
f Postscript Print Buffer, your Emacs window freezes up! Then in the Printer Setup dialog that pops up, in the Name box
select the local printer name ending in .ps. This uses a nice smallish font that gives you about 95 characters per line.
The JDE menu is self-explanatory for compiling and executing Java programs, while other menus include other essential
editing funcitons. There are, however, a few useful commands that do not show up on the menus or on most quick reference
cards:. C-x ` (that's control-backquote key) after compilation that results in one or more errors takes you to the lin
e in your program pointed to by the first error message. If you have multiple errors, repeating C-x ` moves through them
all. C-c g prompts for a line number and goes to it. C-c i properly indents the current region of code. This is a goo
d way to check if you have a missing brace or an excess brace.--이 곳에 서명을 적어주십시오. 언제부터
허걱이 내 서명...