New answers tagged

2

When using the flag --without-ns, that means do not build Emacs specifically for the MacOS platform. How about using --with-ns instead, or no flag at all? The build script should automatically build Emacs for MacOS when building on that platform -- i.e., when not using --with-ns or --without-ns. The package Emacs.app will be in the nextstep folder of the ...


0

This method worked for me. I have Emacs on Windows and Flycheck could not find the executable for my c/c++-gcc checker. I have added: (setq flycheck-c/c++-gcc-executable "D:\\StandaloneApps\\strawberry\\c\\bin\\gcc.exe") in my init.el file, and now .. Flycheck works in C/C++ mode. ( now, you can guess that I point to the gcc.exe packaged with perl ...


0

If you find the problem persists after granting Emacs full disk access: from here on the problem remains because Emacs on MacOS gets launched indirectly, from a Ruby script. Your Emacs binary has full disk access, but Ruby does not. One way to get around this is to get the Ruby script out of the way, and replace it with a symlink to the correct binary for ...


1

(file-error "Cannot open load file" "no such file or directory" "gnuplot") means that it was looking for gnuplot.el or gnuplot.elc, but couldn't find it. It was doing this because it was trying to call the function gnuplot-mode in order to activate Gnuplot mode. Are you sure that Gnuplot mode is actually installed? It sounds ...


1

I don't believe there is a way to access the menu search feature from Emacs directly, but there is a workaround if you are using the Mitsuharu version of Mac Emacs: use M-x menu-bar-open, then type the standard key Cmd-? to open the menu search. You might try binding s-? to menu-bar-open so that you can get to the search by pressing it twice.


0

One solution only for macOS is to use a combination of AppleScript to get the filepaths from the clipboard, call it from Emacs with shell-command-to-string, and insert text in the buffer. Save this AppleScript in a location such as ~/code/AppleScript/clipboard to paths.scpt: -- get clipboard set sel to (the clipboard as text) set one_path to POSIX path of (...


Top 50 recent answers are included