Skip to content

Il sito di Ivan Piffer

Narrow screen resolution Wide screen resolution Increase font size Decrease font size Default font size    Default color brown color green color red color blue color
You are here: HOME
Skip to content

feed RSS

Leggimi qui
feed image
feed image
feed image
feed image
feed image
feed image
Feed RSS PRIMA PAGINA senza immagini

Chatta con me


Le parole piu' usate sul sito

Programmazione funzionale - guida emacs PDF Stampa E-mail
Valutazione utente: / 1
ScarsoOttimo 
Scritto da Ivan Piffer   
giovedì 01 marzo 2007

Sono sempre stato molto restio all'uso di emacs (ho sempre usato vi, anche perche' si trova dappertutto... emacs un po' meno).

Devo ammettere che pero' il binomio emacs-OCaml e' ottimo (penso che ci sia una cosa simile anche per il linguaggio R).

Ecco qui i comandi base di emacs (che devo studiarmi!): il C sta per control

Basic Editing

Starting Emacs
"emacs file" Opens emacs. "file" is either the name of the file you want to edit, or the new file you are creating.
C-x C-c
Quits emacs
C-g
Sometimes you can get all tripped up with commands, if you do, use this command to be put back in the text doc you were working on.
C-h
Online help. I suggest you use this. It is well written so newbies to emacs should seasily understand it.
C-x C-f
Opens a file into emacs.
C-x C-v
Open another file in place of the current one.
C-x C-s
Save
C-x C-w
Save as
C-x u
Undo. Multiple undo is supported in emacs.
C-x i
Inset a file at where the cursor (referred to as pointer by most emacs users)


Reading Usenet News with Gnus

note: first open up /etc/nntpserver (as root) with a text editor, and put in your news server.
Opening Gnus
You first open emacs (just type "emacs"), then type "M-x gnus", then hit return. Give it some time, it will have to download all your nesgroups. If you see it "Garbage collecting" just sit back for a minute. After emacs is done retrieving the newsgroups from your server you will see about 3 newsgroups displayed.
q
quits gnu news
s
saves the .newsrc file
A k
Lists all the newsgroups on the server. You will see a K in front of them, it stands for "kill", don't worry about it.
u
Subscribe or unsubscribe to currently highlighted newsgroup.
SPACE
Start reading the newsgroup the cursor (pointer) is on. You move through the newsgroups using the up and down arrows.
l (lowercase L)
Lists newsgroups that you have subscribed to.
SPACE
When you are reading a newsgroup, SPACE moves down a page at a time.
DEL
When you are reading a newsgroup the DEL key moves back one page at a time.
a
Create a news post, use it wisely.
F
Post a reply.
C-C C-C
Post the article.
q
When you are reading a newsgroup, q gets you back to the your list of newsgroups.
 

Commenti
Nuovo Cerca RSS
Commenta
Nome:
Email:
 
Website:
Titolo:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
 

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."


Ultimo aggiornamento ( lunedì 17 novembre 2008 )
 
< Prec.   Pros. >