I'll add this solution here as modifying the PATH can have unwanted side effects elsewhere. To set the find program to the wanted find.exe, for example provided by git:
(setq find-program "c:/Git/usr/bin/find.exe")
The proper fix would be
(if (and (memq system-type '(ms-dos windows-nt))
(not (file-remote-p default-directory)))
(error "chgrp not supported on this system"))
I've fixed this in the Emacs repository, will appear with Emacs 27.1.
#+BEGIN_SRC plantuml :file my_file.jpg
gives you a jpg file
#+BEGIN_SRC plantuml :file my_file.png
gives you a png file
#+BEGIN_SRC plantuml :file my_file.txt
gives you a txt file
#+BEGIN_SRC plantuml :file my_file.svg
gives you a svg file
The images are produced by imagemagick
This may save people some time so I will answer here. If you do not wish to add the cygwin bin directory to your path (or any of the other ones suggested in the other answers), you can set the path of the program ediff uses by setting the variable ediff-diff-program. For example you could set it to C:\cygwin\bin (or whatever the actual path is in your case) ...
Those Control-M characters (^M) are no doubt end-of-line chars used by your OS - probably MS Windows.
(Please provide your OS/platform in the question. And if it's Windows then state how you are using OS command ls - e.g., Cygwin, ls-lisp.el, or something else.)
You can control this ^M display using the buffer coding for line endings. Something like this ...
GPG is just an implementation of the PGP encryption standard, you can read more about it here; gpg keys can be a real pain, particularly on Windows, maybe try downloading the key and then using M-x package-import-keyring from within emacs to load the key manually?
I executed the following elisp code and the problem was fixed:
'("Cambria Math" . "iso10646-1"))
But I don't understand why on my old PC emacs is able to display 𝔱𝔢𝔰𝔱 without any configuration at all (emacs -Q).
If someone can help me understand why on one PC above code ...
The font you are using cannot display those particular characters. Try a different font.
(You likely see those boxes for some, but not for all, characters.)
Try also, and first, if you haven't already, starting Emacs using emacs -Q (no init file), to eliminate any possible complications coming from your init file.
along with a message about the desktop file already being in use
Emacsclient does not attempt to process the desktop file, so you are clearly starting a new instance of Emacs.
If emacsclient can't connect to the server, but you either passed it -a '' or --alternate-editor='' or else have the ALTERNATE_EDITOR environment variable set to an empty string, ...
Two things were actually missing:
- libxml2 dependency
- proper setting of nov-unzip-program
I could add libxml2 the easy way by going to Emacs FTP, download the dependencies, and apply them in my Emacs installation directory.
For the set of nov-unzip-program I had to download Unzip for Windows, and set the path in init.el:
(setq nov-unzip-program "C:\\My\\...
So at the end I used the idea proposed by @lawlist: I just put (remove-hook 'kill-emacs-hook 'pcache-kill-emacs-hook) at the end of my .emacs. I'm not sure what was meant by "keep in mind, that you must unload it after the pcache library loads it" as I'm not that well versed in emacs/lisp. However what I was looking for is achieved even if this solution ...
So firstly, I assume you mean you've set your Windows key to do nothing in AHK with something like: LWin::Return. If this is the case, the Windows menu certainly shouldn't be opening in Emacs.
If you are trying to disable a single keypress of the Windows key in emacs, you should be able to simply set (setq w32-pass-lwindow-to-system nil). I've tested this ...
The answer is don't use cua-mode on Linux, it's OK if you are on windows (but not on wsl of course). It works fine when using M-w and C-y and the definition of the macro becomes:
(lambda (&optional arg)
(quote ([down home 67108896 19 124 return left ...
The Tramp manual describes how to access a remote Windows machine. It uses Samba's smbclient program. A remote path looks like this: /smb:user%DOMAIN@machine:/share/path/to/file. The %DOMAIN part is optional. share is the name of a share on that machine.
However, this is only the first part. Samba does not support to run remote processes on a Windows ...
I had the same issue. After looking at the source code I figured out it is expecting a file name as a parameter. This code should work:
#+BEGIN_SRC plantuml :file plantuml.svg
(*) --> "First Activity"
-->[You can put also labels] "Second Activity"
After reading many tutorials and readmes I was unable to install Emacs and spacemacs on my machine until now. It is super easy.
create a folder in a directory you wish to install (eg I'd like to install on drive c:/
add a new user variable named HOME and valued to the created folder (eg c:/emacs/
download the latest version of Emacs
extract the content of ...
I am afraid that moving files manually will mess up my system, confuse my package manager and only work until the next update. Instead, you can simply added the true path for ditaa.jar to your .emacs or .emacs.d/init.el. In my case:
(setq org-ditaa-jar-path "/usr/share/ditaa/lib/ditaa.jar")