Programming

Windows의 Emacs

procodes 2020. 8. 28. 08:15
반응형

Windows의 Emacs


Windows에서 Emacs를 어떻게 실행합니까?

Windows에서 사용하기에 가장 좋은 Emacs는 무엇이며 어디서 다운로드 할 수 있습니까? .emacs 파일은 어디에 있습니까?


나는 EmacsW32를 사용 하며 훌륭하게 작동합니다. 편집 : 이제 일반 GNU Emacs 24를 사용합니다. 아래를 참조하십시오.

자세한 내용은 EmacsWiki 페이지 를 참조하십시오.

나에게 가장 큰 장점은 다음과 같습니다.

  • 실행중인 서버가없는 경우 Emacs 서버를 시작하는 emacsclient 버전이 있습니다 (동일한 Emacs 창에서 모든 파일 열기).
  • Nxml과 같은 몇 가지 유용한 패키지가 포함되어 있습니다.
  • Windows 설치 프로그램이 있거나 소스에서 빌드 할 수 있습니다.

그리고 XEmacs와 관련하여 Steve Yegge 의이 게시물따르면 :

요약하면, 저는 XEmacs가 시장 점유율이 훨씬 낮고 성능이 떨어지고 버그가 많으며 안정성이 훨씬 낮으며이 시점에서 GNU Emacs보다 기능이 적다고 주장했습니다. 모든 것을 더하면 큰 차이로 약한 후보입니다.

편집 : 이제 일반 GNU Emacs 24를 사용합니다. 또한 Nxml이 포함되어 있으며 소스에서 설치하거나 빌드 할 수 있으며이 래퍼 를 사용하면 서버가 실행되지 않으면 Emacs 서버가 시작됩니다. 건배!


Windows 용 GNU Emacs에는 Emacs를 시작하는 두 개의 실행 파일이 있습니다 : "emacs.exe"와 "runemacs.exe". 전자는 DOS 프롬프트 창을 백그라운드에 유지하지만 후자는 그렇지 않으므로 해당 배포를 선택하고 바로 가기를 만들려면 "runemacs.exe"를 실행해야합니다.


사용자 초기화 파일의 위치를 ​​찾는 가장 쉬운 방법 :

C-h v user-init-file

그것을 여는 가장 쉬운 방법은 ( 스크래치 버퍼에서) :

(find-file user-init-file)

평가하려면 Cj를 누르십시오.


글쎄요, 저는 개인적으로 GNU Emacs 인 Emacs로 시작한 이래로 제가 사용해온 것을 정말 좋아합니다. 그것도 창문 용으로 만들어진 것 같습니다 . 이 링크는 .emacs 파일 질문에 대한 답변도 제공합니다 . 여기에서 다운로드 할 수 있습니다 . 아마도 버전 22.2 (최신)를 받아야합니다.

이번이 처음이라면 즐기시기 바랍니다! 나는 내가 emacs를 절대적으로 좋아한다는 것을 안다!


나는 cygwin에서 실행합니다. 또한 meta-!를 사용하여 명령을 내릴 수있는 Unix 환경을 제공합니다.


바닐라 버전의 emacs를 사용합니다 . 내 경험상 이것은 매우 안정적이고 간단하며 필요한 모든 것을 수행하며 필요하지 않은 부풀음을 추가하지 않습니다. 이맥스 파일에 배치 할 수 있습니다 C : \ 사용자 \ Yourname 활용할는 경우 홈페이지 환경 변수가 설정됩니다. 이것은 사용자 기반으로 작동하고 Linux에서 emacs 동작을 모방하기 때문에이를 처리하는 좋은 방법입니다. emacs / windows 폴더 gnu 소프트웨어 저장소 미러 에서 zip을 다운로드 할 수 있습니다 . 라는 파일이 필요합니다 .emacs-xx.x-bin-i686-pc-mingw32.zip

여기 에 Windows 용 emacs를 구성하는 몇 가지 훌륭한 지침이 있습니다 . 기본적으로 "설치"는 다음과 같이 요약됩니다.

  1. emacs / windows / emacs-version-bin-i686-pc-mingw32.zip 의 gnu 미러 에서 emacs를 다운로드 하고 적절한 폴더에 압축을 풉니 다. 바람직하게는 C : \ 이맥스 파일명에 공백을 방지 할 수 있습니다.
  2. 설정 홈페이지 에 환경 변수를 C : \ 사용자 \ 사용자 이름 (또는 무엇이든 당신이 원하는). 사용자 전용 변수로 만드십시오 (사용자 이름과 관련된 경우). 여기에 .emacs 파일이 있습니다.
  3. 시작 메뉴 또는 바탕 화면 바로 가기를 원하면 bin / runemacs.exe 바로 가기를 만듭니다 .
  4. 추가 C를 : \ 이맥스 \ 이맥스 - XX.X \ 빈 \ 경로 (사용자 또는 시스템)에, 그래서 당신은 명령 줄에서 실행할 수 있습니다.

또한 64 비트 Windows 시스템 용 emacs-w64를 고려할 수 있습니다.

emacs-w64 : http://sourceforge.net/projects/emacsbinw64/


http://www.gnu.org/software/emacs/windows/ntemacs.html을 참조 하십시오 . 섹션 2.1은 어디서 구할 수 있는지 설명하고 섹션 3.5에서는 .emacs 파일이 어디로 가는지 설명합니다 (기본적으로 HOME 환경 변수에 지정된대로 홈 디렉토리에 있음).


Windows에서 GNU emacs와 Xemacs를 모두 실행했습니다. 나는 그것을 나의 기본 편집자, 이메일 클라이언트 등으로 사용했지만 "단지"편집자가 아닙니다.

최근에 Vista에 재설치했을 때 최신 GNU 버전을 설치했습니다. 잘 작동합니다. Xemacs도 그렇습니다.하지만 GNU가 함께한 것처럼 보이므로 Xemacs가 더 이상 매력적이지 않습니다.


꽤 안정적이고 비교적 조만간 출시 될 GNU Emacs 23의 개발 버전을 사용하는 것이 좋습니다. 아래 링크에서 주간 바이너리 빌드를 얻을 수 있습니다.

zip 아카이브로 최신 GNU Emacs


조직 모드, I-do 등을 설정하는 .emacs 구성이 준비된 휴대용 버전이 있습니다. 여기에는 조직 샘플 파일도 포함되어 있습니다. 나는 그것이 새로운 이민자들에게 더 나은 출발점이라고 생각합니다.

기본적으로 runemacs.bat로 실행하면 모든 것이 준비됩니다.

http://nd.edu/~gsong/portable_emacs.html


시작하기에 가장 좋은 곳은 GNU Emacs 용 MS Windows 바이너리를 구하는 것입니다. GNU Emacs :

http://www.gnu.org/software/emacs/

(아, 그리고 그 URL을 어떻게 찾았 습니까? Emacs 매뉴얼에서 노드 Distribution . 어디에서나 Emacs에 액세스 할 수있는 경우 여기에서 해당 정보를 찾을 수 있습니다.)

On that page you will see everything you need to know about obtaining Emacs. In particular, you will find a section called Obtaining/Downloading GNU Emacs, which links to a nearby GNU mirror. Clicking that link takes you to a page of links that download all Emacs releases since release 21.

More imporantly here, on that page of links you will also see a directory link named windows. Click that to get a page of links to Emacs binaries (executables) for MS Windows. That is the page you want.

Knowing the above information can help when you need to find the page again, if you haven't bookmarked it. But here is the final URL, directly: http://mirror.anl.gov/pub/gnu/emacs/windows/


When forced to use Windows, I ...

Download "Emacs for windows", and save it in some directory (henceforth referred to as EMACS_SOMEWHERE)

Drop a .cmd file in "Startup" to map, "My Documents" to H: drive with subst, or if "My Documents" resides on a remote server, I use the "Map Network Drive" thing in Explorer to have "My Documents" named H:. Then I create an environment variable named HOME in Windows and give it the name of "H:\". Now I can drop my .emacs file in "My Documents" and it will be read by emacs when it launches.

Then I create the H:\bin directory. Then I add "H:\bin" to my Windows "Path" environment variable.

Then I create a H:\bin\emacs.cmd file. It contains one line:

@call drive:\EMACS_SOMEWHERE\emacs-23.2\bin\emacsclientw.exe --alternate-editor=c:\programs\emacs-23.2\bin\runemacs.exe -n -c %*

This is a fair bit of work, but it will enable me to run the one and same emacs from either a windows command prompt or from a cygwin command prompt, provided that /cygdrive/h/bin is added to my cygwin PATH variable. Haven't used this setup for a while but as I recall, when I call the emacs.cmd with a new file over and over, they all end up being buffers in the one and same emacs session.


There was https://bitbucket.org/Haroogan/emacs-for-windows with the latest Emacs 25, but the whole page has been removed. The benefit of this build and the emacs-w64 above is that they come with jpg, png, tiff DLLs as well as lxml DLL, which is needed for the new eww web browser.


To access the .emacs file for your profile the easiest way is to open up emacs. Then do C-x C-, type in ~USERNAME/.emacs (or you can use init.el or one of the other flavours). Type your stuff into the file and C-x C-s (I think) to save it.

The actual file is located (in Windows XP) in c:\Documents and Settings\USERNAME.emacs.d(whatever you named the file), or the equivalent spelling/location on your system.


You can download GNU Emacs NT from here direct. It works fine in windows, make sure you create a shortcut to the runemacs.exe file rather than the emacs.exe file so it doesn't show a command prompt before opening!

XEmacs is less stable than GNU Emacs, and a lot of extensions are specifically written for GNU. I would recommend GNU > X.

You can place the .emacs file in the root of the drive it's installed on. Not sure whether you can add it elsewhere too...


Im using emacs32, I only have one problem with it really:

https://stackoverflow.com/questions/3625738/comint-previous-matching-input-in-emacsw32-is-not-interactive


I've encountered this problem, and discovered the fault (at least in my case) to be the existence of c:\site-lisp\site-start.el, a file that was created when EmacsW32 was installed, and which was not removed when I uninstalled it. (Vanilla GNU Emacs for Windows has c:\site-lisp in its load-path, and will try to load this file, which somehow winds up triggering that error.)

Solution: removing that whole directory (c:\site-lisp) worked for me, but you should just be able to remove the site-start.el file.


If You Mean Emacs as Latex Editor for Windows 7.

Emacs4LS (Emacs 4 Latex Support under Windows 7) for newcomer for Emacs. http://chunqishi.github.io/emacs4ls/

  1. Easy Steps to Install.
  2. Plugins Built-In.

I prefer to run Windows 10 + VcXsrv + Emacs 25 client in WSL. Emacs is my shell.

참고URL : https://stackoverflow.com/questions/41300/emacs-in-windows

반응형