Help in Emacs

I have never seen such an text editor, with so much documentation for almost everything available to it. Working on it, puts me many times, looking unknowingly and with amazement to the keyword, thanks there is this online help available for Emacs,  which can be easily called from withing Emacs.

Quickly find help in Emacs with its online documentation.

  • The Landing page, if you are very new: C – h t (opens the Emacs Tutorial)
  • Help on any function: F1 f function name
  • Help on summary of help commands: F1 F1
  • Help for topics: C – h a
  • Help on the topic in the Emacs index, shows the first result: C – h i d m emacs <RET> i topic <RET>
  • Similar, but searched the text, instead of just indexes: C – h i d m emacs <RET> s topic <RET>
  • Emacs FAQ: C – h C -f
  • Available Emacs packages: C – h p
Advertisements

Udev!!!

I worked with it, read about it in so many forums and linux tech docs, never fully understood the potential it possess. Someone while working reminded me again by asking if I am aware about udev, a quick google gave me many pages which understand the concept, and after reading some of them , looks like i never fully understand its capabilities. So, previously there was this /dev directory, which possibly have names for all the devices which possibly might get connected to your system which is running Linux OS, udev essentially helped the developers to stop writing those names in /dev and allowed udev to create device symlinks from SysFS(/sys on most linux systems), which in turn identifies every device connected to the system.

I believe, because it gave flexibility to the HW vendors, and developers to attach any device to any port and have the system display the same name every time when a device is connected to the system, for ex you sony camera would always be named and detected as Sony camera, to whichever port on the system you connect to, unlike previously when pen drives or printers connected to different ports will give different name every-time they are inserted or boots up.

Well, I may not go into the details of configuring and customising , please visit Greg’s Redhat article on udev.

Setting up feed for my blog.

Being such an inconsistent writer, may be a good idea to allow feeding this page from certain sites which I prefer and think are good options, besides the posts that I do, may be work on setting this up today. In face had to do all hose settings organization and all for showing my pages properly as well. Looks like any page posted as quote do not let the title visible.

Hello, World from Org2Blog/wp-new-entry.

This is my test blog post from Aquamacs.

Well, i am just going to write a brief about how I made this post work.

First of all, let me point you to this wonderful link, which list down the way to make emacs and org-mode work with wodpress and make this post possible.

So, here what i did.

I had this melpa and elpa repostiory already configured. so quickly did M-x package-install return; org2blog return
some quick configuration changes in my .emacs file to incorporate the org2blog settings and wordpress cofiguration.
(setq org2blog/wp-blog-alist
    '(("pablumfication"
       :url "http://username.wordpress.com/xmlrpc.php"
       :username "admin")))
Now, we just need to login to our wordpress blog, M-x org2blog/wp-login return
and start writing post with M-x org2blog/wp-new-entry return
Happy blogging C-c p return.

Git Simplified.

Set up with github. (Very good tutorial from Lifehacker)
How the Heck do i use Github

To remove the origin
git remote remove origin

To add origin
git remote add origin https://github.com/<username>/<repository name>.git

— Please do not add the “< >” while using the above command.
for e.g. https://github.com/omps/webdevel.git

use the origin as SSH and without authentication.
you can follow the stack overflow question on this. 
or can just add 
“git remote add origin ssh://git@github.com/<username>/<repository name>.git

To push to the repository.
git push origin master
If you have created the directly locally and wanted to push it to the github.com server, you may need to force the origin master.
i did as “git push origin master –force”, please note that this may wipe your existing content.

How to deploy keys.
Github article.

Generating keys
A very good github tutorial related to generating keys for github.

When the permission is denied.
github’s own manual to fix it.

More to come…….