Hi there,

Today i am going to tell  you about my presentation on emacs about the DocView mode .    

DocView mode is a major mode for viewing DVI, PostScript (PS), PDF, OpenDocument, and Microsoft Office documents.  It provides features such as slicing, zooming, and searching inside documents.  It works by converting the document to a set of images using the gs(GhostScript) and displaying those images. In either DocView mode or DocView minor mode, C-c C-t toggle b/w DocView and the underlying file contents, C-c C-t for text document.                                

You can explicitly enable DocView mode with the command M-x doc-view-mode  

1)Searching :-                                                                                                                                          To begin a search, type C-s (doc-view-search) or C-r (doc-view-search-backward).  This reads a regular expression using a minibuffer, then echoes the number of matches found within the document.  You can move forward and back among the matches by typing C-s and C-r.                  

2)Slicing:-                                                                                                                                           With DocView you can hide the margins by selecting a slice of pages to display.  A slice is a rectangle within the page area; once you specify a slice in DocView, it applies to whichever page you look at.      

To specify the slice numerically, type s s(doc-view-set-slice); then enter the top left pixel position and the slice's width and height.                        A more convenient graphical way to specify the slice is with s m (doc-view-set-slice-using-mouse), where you use the mouse to select the slice.  Simply press and hold the left mouse button at the upper-left corner of the region you want to have in the slice, then move the mouse pointer to the lower-right corner and release the button.                                                

To cancel the selected slice, type s r(doc-view-reset-slice)

Git Git Git

last week was in a way simple, but complicated. The git was very interesting topic. The importance of git in a programmers life is bit important,i think. The main usage of the git is the storing of all your packages so that we can experiment on our codes without fear that it cannot be recovered if corrupted.

Another plus point is that we can collaborate with other programmers also through this distributive version control systems.

I'll tell you about some of the git commands :-          
git init                                                                                                                                       will create a new local GIT repository. The following Git command will create a repository in the current directory:
     git init
git add                                                                                                                     is used to add files to the staging area. For example, the basic Git command is.
git add <file.txt>
git commit                                                                                                             will create a snapshot of the changes and save it to the git directory.
git commit –m “Initial Commit”
git status                                                                                                                                       displays the list of changed files together with the files that are yet to be staged or committed.
git status

good bye till next week ;)