Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?

Comment Re:Um, why? (Score 1) 252

Leaving the standard key bindings in place allows one to be immediately productive anywhere

I have a 90 line .emacs file that allow me to be even more productive on my computers. You win some and you lose some.

Sure I get it. Mine is 540 lines, carried forward from the mid 1980s when I was a LISP coder, but I can work without it - 99% standard key bindings and all. And back then, you couldn't carry your config around on a USB drive...

Comment Re:Um, why? (Score 1) 252

What a bad idea. Why insist everybody does that just to satisfy your needs? It's trivial to write a bit of elisp to save their keymap and load your own. Having your configuration on usb or online is even better.

It's not to satisfy *my* needs - geesh - the recommendation is so anyone can drop down and be useful - either with a new configuration or to work with someone else - w/o having to carry around their own key mapping. You don't go around aliasing "grep" to be "awk" or redo the layout of /etc and such things? [ If you do, you'll never be in charge of one of my systems. :-) ]

The standard mappings are pretty well thought out and consistent. Why trouble yourself or others with *your* desire to simply be different? Customization (of anything) should be done for a specific operational purpose, not a whim or because of laziness.

P.S. I don't have bad ideas - at least none that I offer up.

Comment Re:Original vi (Score 1) 252

You were modded "Funny" but your post was pretty accurate - though the two modes are Edit and Command. People either don't know or don't remember that "vi" was originally a visual extension of "ex". From Wikipedia:

The original code for vi was written by Bill Joy in 1976, as the visual mode for a line editor called ex that Joy had written with Chuck Haley.

If I remember correctly, Bill Joy basically wrote Vi over a weekend.

Comment Re:Um, why? (Score 1) 252

I have been on ...I think two systems in my life that had emacs, but no vi.

The sysadmins were psychotic assholes.

I don't think I've ever seen a unix, linux or BSD system that didn't have some kind of vi on it. I've seen very many that don't have emacs.

I really don't see why emacs still exists, I can only assume it does something better than vi that I don't know about.

Us psychotic assholes love Emacs, but it didn't make us that way...
I've been using it since the mid 1980s for everything and I haven't killed anyone - yet.

True that most systems come with Vi (or a clone) in the base install - probably because it's small, simple and everyone that knows Emacs also knows Vi. But to your last point, Emacs does just about everything better than Vi (except start time) and probably every other editor on the planet. Sure, it's not super simple to learn and/or master, but the powerful and the standard key-bindings are fairly well though out. Give it some time and you'll be amazed. It can also emulate several other popular editors, which is the basis of this thread.

Comment Re: Emacs key bindings (Score 1) 252

Maybe if the Ctrl key was back on the left side of the keyboard next to the `A` (as God intended it to be) you wouldn't have that problem.

Ah the old PC vs. Sun keyboard challenge. I still have to deal with both every day.

The other nice thing about leaving the standard Emacs key bindings in place is they are generally the default bindings for the Emacs modes in other applications, like Tcsh, Bash, Ksh, readline(), etc...

Comment Re:Um, why? (Score 2) 252

You.do know/you can change those 'bindings' to anything you want right?

I've used Emacs since the mid 1980s and I've always discouraged changing the standard key bindings and only encourage people to extend using unbound keys sequences. The reason comes from trying to help a co-worker, a long time ago, who had extensively re-bound the standard keys. I couldn't function within his editing sessions and he couldn't function in any other.

Leaving the standard key bindings in place allows one to be immediately productive anywhere, anytime. Unless you have a good reason, like a physical limitation or keyboard issue, I recommend leaving things standard as much as possible. I carry this philosophy to other areas of sysadmin and life as well. This way others can easily step in when needed - like if I get hit by a bus...

Comment Re:Um, why? (Score 1) 252

Also Emacs has very good Prolog mode that communicates directly with the Prolog debugger so you can do line by line execution, watch variables, etc.

That's great if you program prolog but I've not used prolog since university. Slime seems to be a lisp thing. I've never used lisp.

What else have you got?

Anything having to do with LISP works pretty well w/Emacs - because the editor is primarily written in LISP.

What else about Emacs or XEmacs? Just about anything you can imagine and/or write.

  • See: Emacs Features and Great Emacs Features
  • FTP directly in/out of a buffer.
  • Edit an unlimited number of files at once, in an unlimited number of windows and/or sub-windows (as desired).
  • IDE for various languages w/compiler integration.
  • Full regular-expressions Macros, basically w/o limits.
  • Extensibility, customization, basically w/o limits.
  • Language and formatting support for just about every programming and text language.
  • SQL mode - run SQL Plus within Emacs.
  • A few games.
  • Okay, the list actually never ends.

Once you're proficient with Emacs, there's no need to know any other editor. I've been using Emacs (or XEmacs) since the mid 1980s for system admin/programming on many types of systems and application programming in many, many languages. If you know Perl and Emacs, you can do almost anything.

Comment Re:Killer 'Do Not Track' App? (Score 1) 207

I seem to remember the impetus for this stupid technology was that a Mozilla researcher was about to make available some technology that either blocked tracking cookies or made them relatively anonymous, but then Google and others stepped in and stopped it, and came up with this easily ignorable solution instead. Has anyone else heard of this or am I making it up?

Interesting, but I am pretty sure DNT was Mozilla's Idea.

Hmm... From Mozilla Foundation:

The Mozilla Foundation was founded by the Netscape-affiliated Mozilla Organization, and is funded almost exclusively by Google Inc.

Comment Re:two words (Score 1) 362

I've heard those points you make and believe they're probably correct. The main problem with fructose is that it is *only* metabolized in the liver, whereas glucose can be metabolized by every cell in the body. Furthermore, fructose is metabolized very much like alcohol, but also raises bad cholesterol and does some other nasty things. The video has a very detailed and informative explanation of how glucose, fructose and alcohol are metabolized. Increased fiber helps mitigate the bad effects.

While it's long and very detailed in places, I can't recommend the video highly enough. Definitely made me (almost) completely eliminate my soda consumption - one a day two years ago, to one every couple of weeks (or fewer) now. I experimented last year and only had about five sodas the entire year.

Comment Re:Welcome to Capitalism (Score 1) 611

Because she spent her entire life saying people who accepted help from the government (or anyone) were parasites.

In the end, Ayn Rand because the kind of parasite she spent her life waging jihad against. Yet she never apologized or admitted she was wrong. She simply sponged up those Big Gubment welfare checks.

You'll probably enjoy this 2010 article The Truth About the Tea Party - commonly referred to as "Tea and Crackers" that interviews (mainly) old, white people railing against government hand-outs from their Medicare paid-for electric wheelchairs.

Slashdot Top Deals

"You can't get very far in this world without your dossier being there first." -- Arthur Miller