lunatechian (lunatech-ian)

one relating to, belonging to, or resembling lunatech

freedom from legacy systems!!

Dear Manager,
I thank you from the bottom of my heart for approvimg my request to move my work desktop to a RedHat system. FreeBSD4 sucks donkey balls (as Eric Cartman would say). Linux is so super-sweet (even if it is RHEL)
Now to move my home directory.
Your sincere slave
Raj Shekhar

Defined tags for this entry: , , , ,

some thoughts on portable device

Almost 2 months back, I got myself an ipod shuffle. After using it for some time, I am totally in love with it. I can now understand why the Macheads sell out their souls to Apple - the bargain is well worth it ;-) .

I was thinking about why portable devices like ipod and mobile phones are so close to their owners and I came up with this list.

  • They are truly personal. You can customize them (think mobile wallpapers, ringtones, playlists) quite a lot.
  • The are small and portable (duh!)
  • They can serve multiple purposes. A mobile phone can also serve as a watch, address book, radio, m3 player, camera. A ipod can also be used as a memory stick, FM transmitter and it can also fit in your car's music system.
  • These devices become useful as soon as you buy them. You can start using a mobile phone as soon as you insert your sim card into it and you can start using your ipod as soon as you transfer music into it. Instant karma! :-)
  • They have long battery life.

This list is just something to keep in mind when I am designing my Killer App (TM).

Defined tags for this entry: , ,

emacs registers

If you have not heard about emacs registers, you are missing a very powerful tool in your arsenal. Think of registers as "clipboard" on steroids. I had been using registers to store text -i.e. C-x r s a to copy region into register "a" and C-x r i a to insert text from register "a".

Today, while reading the gnu.emacs.help newsgroup, I came to know that you could save your current (emacs)frames layout to the register and then restore it back again.

  • `C-x r w R' Save the state of the selected frame's windows in register R (`window-configuration-to-register').
  • `C-x r j R' restore a window or frame configuration stored in register R.

Here is the email where I saw this.

Re: how to keep/restore my view and mode?


On 20 Sep 2006 22:23:54 -0700 Leo Hou wrote:

> Dear all, > > I am not sure if I am using the right term of "view" and "mode". My > problem is as follows: > > I am using C-x 3 and "follow-mode" to view my source code. Every time I > compile, the other column becomes the result of make. I need to use a > lot of keys to switch it back to normal: C-x o; C-x k; C-x o; M-x > follow-mode > Is there a better way?

C-x r w <some letter or number> to store a window layout and C-x r j <the same number or letter> to restore it. And there is no need to kill the compilation buffer. It gets reused anyway.

David

Defined tags for this entry: , ,