Added: 3 years ago
From: mina86ng
Views: 96,321
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (134)

Sign In or Sign Up now to post a comment!
  • yes it can, and way more. your editor is old generation already

  • No - my editor can't do that, but it can edit and i need only one hand to do anything in it.

  • @dragonexblaster, sorry, but why would you type with one hand? I cannot see benefits of that.

  • @mina86ng One handed typing is surfing for porn, no? ^_^

  • @mina86ng so you can masturbate to the awesome code you're writing *while* writing it, isn't that obvious? endorphines increase productivity by up to 327%, which more than makes up for the loss of 50% of the digits used for typing.

    now that you do know the benefits, use them wisely.

  • @mina86ng Unless you only have one hand.

  • @dragonexblaster note that emacs is perfectly capable of being used with one hand and zero shortcuts. The main problem here is that your editor is limited so it does not need the complex shortcut system of emacs. The way emacs works like this is because if it has chosen to go menu dive approach the user would be buried in a mountain of menus as emacs has tons of functionality that goes far beyond any editor or IDE out there. So what feels weird in the start makes perfect sense later.

  • Neat. How many hands did you need to do that?:wq

  • Very impressive

  • I love doing things in emacs, because at the end almost all things I create with it are plain text, so if ever I cannot use emacs, I can still read the files with any other program - including cat, if need be. And then get back all the power when I have emacs again - and keep the changes I did with the simpler programs.

    That’s something I cannot do with most of the graphical stuff. And if you ever had to program over an SSH connection you really value that emacs works in the terminal, too.

  • I use joe personally...

  • EMACS is simply amazing. I hate to be mean but a WYSIWYG editor (for tables) does the same trick at least for me. I use nano myself for pure text but that is like swearing in the church I assume ;) Thanks for the video tough!

  • @Flowlops You just type it. “M-x” means pressing x while you hold Alt (technically meta but don't mind that).

    You can run tutorial to get all the Emacs basics, including how to read key shortcuts. Just use “C-h t” (ie. Ctrl+H followed by T) or if that doesn't work “M-x help-with-tutorial RET”.

  • @Flowlops “M-x customize-face RET default RET” should do the trick. You can customize all kinds of stuff via “M-x customize RET”.

  • I am impressed... but il stick to nano

  • @daeheadshot How can you even compare Nano to emacs?

    Thats like comparing notepad to MSWord

  • @ForeverWiked I stick with nano because it is easy, and i __DON'T NEED__ emacs to do what i do.

    Nano is perfect for what i do.

  • @daeheadshot like what though? Why even use a terminal text editor if you're going such simple things? I'm not saying nano is useless. I use nano when I have to change a line or read a file quicky but for serious work I use emacs

  • :wq

  • Nice.

  • 6 notepad users disliked this

  • Quite a nice solution for a non-existing problem.

  • Why would my Editor DO that?

  • vim is the best :)

  • Good job.

  • If you leave the source table there, won't all the extra dashes break the SGML comment?

  • @davidrhoskin Yes, it is a valid concern, I haven't thought about it. In practice though, I'm yet to find a web-browser that would have troubles with multiple minus signs inside the comment.

  • @mina86ng Heh, I only thought of it because it happened to me in Firefox once. I guess it wouldn't matter if each line was a multiple of 4. (I think XHTML mode might even turn off SGML comments, but I'm not sure.)

    Anyhow, very cool editing!

  • is emacs only for linux? I use windows

  • @poojkhgf No, Emacs can run on Windows (which I think I have done in the past). I'm unsure of how recent versions are available for Windows though.

  • @mina86ng Thanks I went to the site and they had a link to Xemacs which has some improvements for use with windows (but also for linux). I am using it now and like it. The keyboard usage seems the same. I had kept away from emacs as people said it was far too complicated so I used Vim but I think emacs is easier!

  • @poojkhgf I think it's unfair to say Emacs is more complicated then Vim. They are, in my opinion, similarly complicated expect in different ways.

  • hmm.. I like nano :P

  • Very impressive. I'll definitely have to try Emacs someday, but for now, I'm sticking with Vim :).

  • its overkill considering the learning curve, I'll stick with Netbeans

  • I'm a big fan of Vim (and older Vi), but Emacs is great for writing code-- especially lower level languages or HTML, which can be a pain sometimes! :P

    Though I don't like scripting with Emacs... I feel that it's easier with Vim or another, simplified text editor (but that's just my opinion).

    BTW! Look up Vimium! It's Google Chrome that works with Vim commands!!!!!!

    (And yes... I know I'm geeky.)

  • "Break out Emacs and modify that Perl script!!"

    XD

  • nano all the way! us noobs dont have time to learn vi(m). lol jk, im gonna put aside time to learn both emacs and vi (though emacs is more traditional so easier, vi is installed on everything! my toaster probably has it!)

  • Very impressive!!! Looking forward to a good html5 mode

  • But I can just use a web editor for that. Your text editor doesn't have to do everything. Simpler is better. That's why I use vi.

  • @ericfontainejazz For me (configured the way I want) Emacs is much more convenient than any other editor, but if you prefer “dedicated” applications (which may or may not be better) then it's up to you.

    Note however, that you can use orgtbl-mode to expert tables to other formats like LaTeX. Moreover, Emacs' calc has some functions that are not available in “normal” spreadsheets.

    But ultimately, one's using whatever she chooses. It's good to be aware of alternatives though.

  • @mina86ng, thanks for that info about using orgtbl-mode to export tables to LaTeX. I'll try that out. But yes, with free software, we have the freedom to choose what our text editor does and can write modifications to suit our needs!

  • @mina86ng I like how you used "she" as the generic gender rather than he. It's refreshing to see that. Anywhere else I see either "he" or "he/she."

  • @mina I have them correctly...is there anything else that could cause this to fail?

  • @52cards52 Sorry, I don't know what can be an issue. The only think I can think of is what I've already said: the names in SEND and BEGIN/END lines do not match. Maybe Google can help?

  • I've copied this verbatim...and it says it doesn't know where to insert the table...any idea why?

  • @52cards52 The BEGIN/END/SEND lines are crucial. Are you sure you've got all the names correctly?

  • If emacs is so great to edit HTML, why does RMS's website look so crappy?

  • I got a list of books to download!

  • I love emacs! I don't know how people can stand vim!

  • Nice book listing, I'm wondering, which one is the third?

  • Comment removed

  • I'm just learning programming(Java), and my teacher keeps telling us to use vim, because that's what he uses, but I gotta say, Emacs can do it better (built-in compiler, auto-indent, having a shell open right next to your file), and all I had to learn were some pretty basic keystrokes. So, I'm using emacs for now, although figuring out "C" meant Ctrl and "M" meant Alt took me a while. haha

  • yeah my editor looks like its very pretty indeed

  • And who needs this shit? At least my editor doesn't look like it is from 1970.

  • @floCompyler No, your editor is cute. This is good for GUI-oriented developers who only code in front of "beautiful" GUIs.

    What are you? A programmer or a stylist?

  • I love vim but I just may have to start using emacs. :)

  • I have tried Emacs quite often but the learning curve is way to huge for me. I always feel retarded when using it since I am using barely any of the potential it has. It is one hell of a program but only if you use it properly. Might pick up some books on it.

  • @roflschofel, no one becomes an expert after the first use. If you feel like Emacs could be editor for you just stick with it a while longer. First you'll be using only the basic functions that every editor has but with time you'll be learning more and more tricks. I find it helpful to read EmacsWiki which has a huge amount of nifty tricks. Reading NEWS file from Emacs distribution is helpful too.

  • @roflschofel please don't try to learn vim. it could be harmful for your mental health.

  • I think this is played backwards!!!

  • nano ftw

  • This is more an "org-mode" promotion video than emacs. However it's the first time I heard of this wonderful mode! I can't believe I actually learned something from youtube^^. Open office is not bad, but once you get used to editing in emacs, it's a nightmare using GUI's key bindings (especially the arrows...) and it's so much lighter than any spreadsheet program... really, thanks for showing me the way to this great mode. Even more thanks to the developers!

  • Time spent learning all these short cuts:

    134 hours total.

    Time saved implementing these short cuts over a typical programming career:

    0.5 hour total.

    You emacs programmers sure are smart.

  • @AtheismandSkepticism I'd say 134 hours is rather small estimate for learning all the features of Emacs. Nonetheless, one learns such things in the course of just using Emacs (I found built-in tutorial enough to get me started with just editing) and once you know certain tricks you can do things that would otherwise take you "0.5 hour" in an instant. What you're missing is that the "134 hours" are not spent learning the one trick but rather gazillion different trictks.

  • @AtheismandSkepticism Putting aside how grossly exaggerated your figures are: time spent when it's urgent is much more worth than otherwise.

  • @AtheismandSkepticism That's not true. I'm an engineer, not a programmer. I write some code, not much and I'm not one of these people who uses an editor to do a presentation. I use vim and emacs or whatever else I've got and feel comfortable with. I must say that it took me 5-10 minutes to learn the basic commands. It saves me 5-10 minutes each time I write code. Not to mention that it's just enjoyable to write in emacs or vim. I wish open office or word had these shortcuts. also this is POSIX.

  • @AtheismandSkepticism Oh yeah and by the way, the official emacs manual is about 1000 pages I think. If you add to that the various manuals that come with the mode I think 134 hours will be quite a short period of time to learn the whole of emacs. However not many people need all the features. Anyway when you learn emacs you've also learned bash shortcuts etc..

  • Here is how I do HTML. In vim! Ha! Take that! Ahem.

    islug.org/2010/07/27/writing-h­tml-with-vim/

  • @peltkore Honestly? You say that binding for inserting tags is comparable with orgtbl-mode's capability to easily rearrange rows and cols and perform calculations? I don't want to sound negative about vim but come on...

    Also, F-keys are way too far away on keyboard in my humble opinion.

  • Either way , two of those books are bloody expensive!

  • I just prefer to edit the whole document in org-mode and then export it to latex, pdf ,xml, html ascii report etc etc.

  • I don't understand why people use vim, at least. I used vim for a few months and I'm still way faster using the mouse with a modern gui editor like gedit.

  • @gairabad I find it way faster to press C-s to search rather then go to some multi-level menus. Switching to buffer by name is also, in my opinion, faster then using mouse to find it in tab list or wherever.

    Seeing how many users Emacs and vim still have I'd say that it is not only my opinion.

    And have you tried Vimperator, the Firefox extension? I'm using something similar for Opera and not using mouse actually seems for me faster and easier in every-day browsing.

  • @mina86ng Gui editors typically allow you to search with cntrl-f. Just because software is popular doesn't mean it's good--see windows. Common gui editor features like double-click to select word, triple-click to select line, type to replace selected text, easy copy/paste, etc. make the gui faster than vim motions.

  • @gairabad C-f was just an example and maybe a silly one. Nonetheless, I find it easier to select a word with a few key strokes rather then with mouse. Both vim and Emacs have notion of registers which I haven't seen in any GUI editors and even if it one would have it, in my opinion, it'd be slower to choose a register form a pop-up menu rather then pressing a key. I just find Emacs more powerful then any GUI editor I have ever used and being able to use all the functions with KB just suits me.

  • @mina86ng i find it way faster to press ctrl + f rather than go to some multi level menus or learn vim shortcuts :D

  • @ThisIsCleverUsername again, search was probably not the best example. Nonetheless, I prefer Emacs' inline search rather then some “Find” dialogue.

    My point is, that if you dedicate some time to learn all those bindings you may discover that it's easier to use only keyboard then keyboard and mouse.

    Also, note that both Emacs and vim are pretty damn powerful editors and there are not many (if any) GUI editors that can do what Emacs or vim can and that may be another reason for them.

  • And by the way -- you cannot use GUI editors (or should I say GUI only editors since Emacs is fully capable of using GUI) in console which for Unx/Linux users may be a valuable feature.

  • @mina86ng well maybe if someone has to write 100 scripts(etc) a day without using GUI (i mean in the console) then it is valuable to learn all these shortcuts... but for average user it is easier to spend 2seconds on looking for something in the menus than learning shortcuts

  • @ThisIsCleverUsername only you need to look for those things each time you use them. Navigating menus is not so ergonomic. And once you learn those bindings you can use them quickly all the time.

    You've said yourself you prefer Ctrl+f to navigating menus? I imagine you also prefer Ctrl+C/X/V, selecting with Shift, Ctrl+Z/Y, etc. There are various key shortcuts for mostly used functions in all editors. The difference is that in Emacs and vim there are key shortcuts for all the functions.

  • Though I'm a Vim user, I admit this is cool stuff, though I'm also sure there's already a plugin out there who can do that, too.

  • Yes, because my text editor is emacs.

  • Don't miss the next episode, "Git Power: Can your version control system (un)do THIS!"

  • I prefer a GUI so that I can use a mouse. Somehow, I learned to be faster while using a mouse for highlighting strings for moving or removal than just a keyboard.

    Hell, I use Leafpad or Vi when just doing a quick edit from the terminal. I might tray Emacs for a few days, see if it grows on me.

  • @Hermetiqa Emacs supports mouse. You don't have to run it in terminal. It runs under X, Windows or Mac and have all the bells and whistles of GUI. Often, however, it turns out that you can handle just fine without mouse.

  • @Hermetiqa

    You can use a mouse in the vi terminal, just do:

    :set mouse=a

    and BLAM! You can use the mouse with vi in the terminal.

  • @MAJORdorMo1992 I was always wondering what's the deal with using editor in a terminal. Sure, you can use mouse but in a limited manner. Also, some key-bindings won't work (including C-h and backspace being the same key).

    My college at work used to use Emacs in terminal before I convinced him to use the X-Window version.

    But as of Vim, it seems that resistance towards using GUI features where available is so huge... Why is that?

  • @mina86ng

    I'm sure a lot of it is just bigotry. I've use vim instead of gvim simply because gvim doesn't provide any extra functionality.

  • @MAJORdorMo1992 Exactly my point -- why gvim does not provide any additional functionality? This is beyond me.

  • @mina86ng

    Well, what COULD it add that vim doesn't already have?

    I mean, it adds GUI wrappers for things like search and replace and spell checking, but any seasoned vim user can use those features just as fast in the terminal.

  • @MAJORdorMo1992, as I've said, it would add support for more key-bindings, better mouse handling, more text display options. Does scroll work under terminal? How about on-the-fly displaying of Math formulas in LaTeX documents.

  • @mina86ng

    Scroll certainly works under the terminal. You can do pretty much anything you'd want to use the mouse for in the terminal, though most vim users would rather touch the mouse as little as possible. I dunno about the displaying of math formulas. I've never used LaTeX documents, I just use it for programming. ^_^

  • Of course VI can do things like that in a more efficient way, and much more... Strange question. ;-)

  • There's a difference between using tables for layout and for tabular data. In the second case there's nothing wrong about tables and in fact they may be preferable way to show content.

  • Emacs is very nice.

    And that can probably run on any old machine with Linux =)

  • CSS has nothing to do here. CSS won't do calculations nor let you edit tables in sane way (HTML is not good for editing by hand and it's even more true for tables). Besides you'll probably need to define some styles for the table anyway.

  • THIS FUCKING OWNS

  • One thing in Emacs is that if you are coding a program in C for example, it will automatically indent text for you to help organize your code. Very efficient!

  • @HumanTurkey Erm.. So does vi and virtually EVERY OTHER EDITOR EXCEPT Microsoft Notepad (and PICO, TECO, etc.). Even gedit.

  • Well, I know a little of Vi, but I didn't know it could also auto-indent. Thanks for telling me that.

  • gedit

  • Hahahaha.

  • While I'm interested in learning Emacs, this flick is like a youkor (yukor? yuker?) game where those who "know" how to play are smart enough to know the rules but too stupid to slow down enough for novices to learn what the heck is going on!

  • Cool! =)

  • Whats so good about emacs? Vim FTW! And now to save and close this comment.

    :wq

  • emacs is totally more powerful!

    vi makes you switch modes, but all you have to do in emacs is hold down ctrl-alt-esc-tab twice, and then hit del with your nose, while you get your neighbor to press shift on their computer.

  • emacs is for girls - VI rocks!

  • I tried to use Emacs, but I couldn't really enjoy it. I still know how to get around in it if I had to. I even tried Viper, it's not wirth it IMO. Any way I outlook on is that Emacs does a lot of great things, unfortunantly it's just missing a decent text editor.

  • i like geany and nano but this one is powerfull still looks to complicated i dont like to spend much time trying to work with a text editor.

    Im computer engeneering student if i have to program a lot doesnt geany do the trick? or eclipse although i never used it and i now its heavy like hell but he can do a lot of things too.

    Geany vs Eclipse vs Emacs who wins? if emacs does its close win or far?

  • geany is way too amputated.once you learn emacs you'll learn that geany has more in common with notepad than it does with a real editor (such as emacs or vim)

  • That HTML is very poorly formatted.

  • It's automatically generated so why do you care? All you have to do is edit the table in the comment and export it. Besides, you can configure the way it exports the table or even write your own method.

  • To each his own, but this is definitely not true.

  • The thing is, with Emacs you need to spend some time to get extremely powerful, customizable and effective environment. With other text editors, you spend little time to get.... well... a text editor.

    Moreover, you need to learn neither Linux (Emacs runs on Windows) nor lisp to use Emacs (the former is nice programmer's exercise thought).

  • Comment removed

  • Emacs has been around for thirty years and whatever you learn to do in Emacs, you can (and will be able to) do everywhere, even on extremely weird machines. Even if you spend a year learning now, you will save an awful lot of time in the future.

  • That's pretty cool. All you need now is a decent text editor

    [ducks]

  • That's a common misconception about Emacs. Emacs is actually a complete operating system *including* a *great* text editor. :]

  • cool

  • And thank you for posting this demo video.

  • Long live Emacs!

  • I'm a vim user, but I must admit that this thing seems very nice.

    And, obviously, a Vim script could be able to do that. ;)

  • i wasnt aware of the "formulas" capability of orgtbl mode, that made my day

  • You can even solve integrals with org-mode and orgtbl-mode :]

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more