Category: emacs
-
rnc-mode: Emacs mode to edit Relax-NG Compact files
- https://elpa.gnu.org/packages/rnc-mode.html
- https://elpa.gnu.org – GNU Emacs Lisp Package Archive
-
EmacsWiki: NTEmacs With Cygwin
This is great!!!
Now I can do “Search Files…” in Emacs’s dired-mode again — just like “everywhere”.
How to get it to start in the user’s home directory? Create a shortcut for runemacs.exe, move it to AppData\Roaming\Microsoft\Windows\Start Menu\Programs\ ! Modify the properties of that shorcut accordingly!
-
tramp says: “Cannot find local copy program: pscp” – but that does not mean there is something wrong with your emacs/tramp/PuTTY set-up
Every now and then I come across this error message:
Cannot find local copy program: pscp
This only occurs for “bigger” files (e.g. a 40k file), not for small files, because small files are being dealt with by plink.
tramp-do-copy-or-rename-file-out-of-band (in lisp/net/tramp-sh.el) tries to find the copy-program on exec-path instead of PATH, so we have to add putty-directory to exec-path as well. I amended this page to deal with the situation:
Fixed 😆
-
my 2017 Windows working environment
All these packages resp. utilities do not require Windows admin rights for getting them “installed” – actually they do not need “a Windows system installation”.
Below C:\Users\jhayek I created a couple of subdirectories:
- opt: every package resp. utility has its own subdirectory below there
- bin: some .bat and .sh (BusyBox ash) scripts go there
Packages resp. utilities:
- GNU Emacs
- busybox-w32: includes a shell and a lot of Unix utilities
- Strawberry Perl
- https://ConEmu.github.io — a Windows console alternative, where you can paste text w/o using the mouse 😎
- xmlstarlet
After having worked with this set-up for a couple of days, I have to admit: this is not just a minimalist Unix-ish working environment, but it is rather enjoyable working environment. I do not have the GNU utilities with all their advantages (nice long command line options and lots of features) – but for most purposes the utilities built into busybox-w32 are good enough for my purposes. What a great idea it was to think of “busybox for Windows” a couple of days ago – and actually find “busybox-w32”!!! I had to consider a lightweight alternative of Cygwin, because on my new client’s Windows computers it’s not available.
ConEmu makes busybox-w32 and its shell (the “ash”) even more enjoyable.
GNU Emacs is as good as always – I can’t really describe how sad it is to not have it available in a serious working environment.
Strawberry Perl so far has all the modules, that my utilities need. I am really glad to have that “distribution”.
xmlstarlet is my XPath and XML Swiss Army Knife.
With all these utilities and packages available it’s even quite fun to work on Windows 7 😆
-
GNU Emacs: “find-tag” – from “use” to “definition”
In case of Perl files you have to help “the mode” by creating a TAGS file beforehand through running “etags …”.
In case of JavaScript files it works out of the box and w/o etags or anything like that.
I have been using Emacs (and VI) for dozens of years now, but I did not really bother using that feature – my tactile, typing and editor capabilities are good enough to get around w/o find-tag.
But now somebody at work sort of kept nagging, how to achieve that, so eventually I looked it up. And I am glad I did. And also to find out the differences.
-
emacs: how to remove that useless toolbar?
That useless toolbar has been sitting there for many, many years, always stole visible space on my screens, I never ever used it, and I never ever got the idea it should get removed – until now. Actually yesterday I found out, how to remove KDE Konsole’s menu bar – I had tried to remove everything unnecessary from around Konsole’s core functionality: giving access to a shell / command line / … .
Update 2016-08-26: A couple of days with the toolbar removed, and my emacs looks as minimalistic as I want it to look. It’s a joy.
-
“GNU Emacs For Mac OS X”: emacsformacosx.com has been down since 2016-03-23 – but it’s up again
Site Not Found
I hope this will be fixed within a couple of days. That’s the site, where I have been downloading my newest Emacsen from.