Obviously the tab character should move forward to the next column divisible by the tab size -- it's not just a replacement for a fixed number of spaces!
Performance is truly impressive. And I really love how small the codebase actually is. I've been dreaming about writing my own text editor for quite some time. This will really help me to get started, thanks a lot nsf!
p.s. panic on opening a directory isn't really a best way to say that you don't support viewing directories...
I agree this panic is quite annoying sometimes. Will make a proper error message when I have time. A very minor issue at the moment. You see I'm not really actively working on it anymore, I use the godit for all of my text editing tasks and if some feature/bug annoys me a lot in godit - I fix it. Directory opening by accident happens sometimes, lol, and when you see a panic message, you panic as well, but then phew.. :)
A couple of weeks ago I was searching for go programs in order to see examples of how I could organize a toy project I was starting. I found godit and after reading the source I think it is a good way to organize a small project. Eventually you can start moving functionality to packages once they grow big enough.
And the tooling helps. There is no Makefile and no instructions, so I tried `go build` and it just works.
Emacs is big, startup is slow and you have to carry a pile of elisp scripts which fulfil your feature needs. All features has to be written in elisp of course that could be an issue too. Just a matter of taste.
I love Emacs. I use it all the time. But the default shortcuts are the most stupid thing ever. That Control-x (C-x in Emacs lingua) is insanity at its best: due to the stupid non-symmetric layout of typical staggered keyboards 'x' in itself is one the hardest key to type (the equivalent with the right hand is way easier : '>' on a QWERTY keyboard). I'm a touch-typist and to hit 'x' I need to move my whole hand a bit. To hit '>' I just need to move on finger. I blame this on the fact that keyboard are using a staggered layout instead of a matrix or symmetric layout but whatever.
Then Control. Zomg. Control has to be accessed with the left pinky if you're a touch-typist: some very touch-typist friendly keyboards like the HHKB Pro 2 don't even botter with a right control key.
So to hit "C-x" you're supposed to use the two leftmost fingers of your left hand: this alone has to be one of the most RSI inducing keyboard shortcut ever.
But in Emacs everything is configurable. So I'm using "C-," to replace "C-x" and "M-," to replace "M-x".
It shall never cease to amaze me (in a very sad way) that when people "copy Emacs", the first thing they copy are the Emacs shortcuts. The Emacs shortcuts are the lamest thing ever in Emacs.
I love Emacs but I hate its default shortcuts. Emacs is not about its shortcuts: Emacs is about tailoring it to your needs by using Lisp.
I'm also wondering why that constant loss of energy in editors which shall never produce anything close to what one million lines of elisp code are providing. I'd much rather see that energy spend on creating a bridge for the Go-completion facility in Emacs, the real thing.
[+] [-] alisnic|13 years ago|reply
[+] [-] klapinat0r|13 years ago|reply
> - tabstop_length = 8
> + tabstop_length = 4
[+] [-] mbrock|13 years ago|reply
[+] [-] vidarh|13 years ago|reply
[+] [-] paulnechifor|13 years ago|reply
[+] [-] BitMastro|13 years ago|reply
[+] [-] user3487|13 years ago|reply
[+] [-] the_kraken|13 years ago|reply
[deleted]
[+] [-] frozenport|13 years ago|reply
[+] [-] buster|13 years ago|reply
[+] [-] mich41|13 years ago|reply
[+] [-] struppi|13 years ago|reply
So, yes, a tab size of 8 is insane...
[+] [-] silon3|13 years ago|reply
[+] [-] densh|13 years ago|reply
p.s. panic on opening a directory isn't really a best way to say that you don't support viewing directories...
[+] [-] nsf|13 years ago|reply
[+] [-] dbaupp|13 years ago|reply
[+] [-] nsf|13 years ago|reply
[+] [-] rbonvall|13 years ago|reply
And the tooling helps. There is no Makefile and no instructions, so I tried `go build` and it just works.
[+] [-] timclark|13 years ago|reply
[+] [-] human_error|13 years ago|reply
[+] [-] nsf|13 years ago|reply
[+] [-] unknown|13 years ago|reply
[deleted]
[+] [-] nemo1618|13 years ago|reply
I've been searching for something less bloated than Vim for a while (straight vi doesn't cut it).
[+] [-] jaequery|13 years ago|reply
[+] [-] nsf|13 years ago|reply
[+] [-] pekk|13 years ago|reply
[+] [-] martinced|13 years ago|reply
I love Emacs. I use it all the time. But the default shortcuts are the most stupid thing ever. That Control-x (C-x in Emacs lingua) is insanity at its best: due to the stupid non-symmetric layout of typical staggered keyboards 'x' in itself is one the hardest key to type (the equivalent with the right hand is way easier : '>' on a QWERTY keyboard). I'm a touch-typist and to hit 'x' I need to move my whole hand a bit. To hit '>' I just need to move on finger. I blame this on the fact that keyboard are using a staggered layout instead of a matrix or symmetric layout but whatever.
Then Control. Zomg. Control has to be accessed with the left pinky if you're a touch-typist: some very touch-typist friendly keyboards like the HHKB Pro 2 don't even botter with a right control key.
So to hit "C-x" you're supposed to use the two leftmost fingers of your left hand: this alone has to be one of the most RSI inducing keyboard shortcut ever.
But in Emacs everything is configurable. So I'm using "C-," to replace "C-x" and "M-," to replace "M-x".
It shall never cease to amaze me (in a very sad way) that when people "copy Emacs", the first thing they copy are the Emacs shortcuts. The Emacs shortcuts are the lamest thing ever in Emacs.
I love Emacs but I hate its default shortcuts. Emacs is not about its shortcuts: Emacs is about tailoring it to your needs by using Lisp.
I'm also wondering why that constant loss of energy in editors which shall never produce anything close to what one million lines of elisp code are providing. I'd much rather see that energy spend on creating a bridge for the Go-completion facility in Emacs, the real thing.
[+] [-] nsf|13 years ago|reply
It's ok to disagree with godit, it's not meant for everybody. Frankly, just for me. And if someone else likes it, I don't mind sharing it.
Go-completion facility in Emacs is available. `github.com/nsf/gocode` has two plugins for emacs (auto-complete-mode and company-mode).