Saturday, August 20, 2011

Emacs' blablabla


Diciamo qualcos'altro su Emacs, o GNU-Emacs per gli illuminati ubuntiani.
Il capitoletto di Johnson pare esaustivo.

L'unica cosa un po' incasinata all'inizio mi è stata la gestione delle finestre.
Suggerisco per chi come me non se n'è accorto subito, una banale osservazione.
Zum beispiel, potete cliccare sull'immagine seguente per ingrandirla.

Ora, aperto il nuovo file, fatto partire R col pulsante in altro a sinistra, capita che usando quest'ultimo, ad esempio nella finestra sottostante, digitando un help(qualcosa) oppure volendo godere dell'autocompletamento delle parole premendo TAB (funzione a me sacra :D ), l'altra finestra venga occupata dall'output;
tra ciò che è scritto immediatamente sotto al riquadro della finestra che stiamo usando, c'è una scritta in grassetto (nell'immagine quassù, il mouse ci punta sopra ;-) ), ovvero il nome del buffer (non chiedetemi l'esatta definizione di buffer: a quanto pare è il file o la funzionalità o qualsiasi cosa che riuscite a far saltare fuori dentro una finestra...), che in quel momento è mostrato dalla finestra : 
cliccandoci col sinistro o col destro si "switcha" tra i buffer avanti o indietro, quindi dopo aver consultato un help basta cliccare lì col destro e la finestra precedente torna a sorriderci.

Chiudo suggerendo una nociva chicca off-topic:

su Ubuntu nel Gestore Pacchetti consiglio di installare il pacchetto emacs-goodies-el, che riempie Emacs di un sacco di inezie, tra cui addirittura dei videogame eseguibili andando su Tools/Games nella barra del menù di Emacs. XD

Quotando nuovamente Johnson:
I once met a person who said Emacs was his operating system. He went to work, started
Emacs, wrote in it, read mail in it, browsed the web in it, read Usenet in it, kept his calendar
and diary in it and (mind you, I did not believe this part) he sometimes cooked lunch with
it. Emacs can be a whole way of life, if you want it to be, because it is very “extensible.” It
is open to the creation of modules to do all kinds of things.

I do not live in Emacs and I have never used most of its features. I have read the Emacs
tutorial many times and have repeatedly been amazed by the un-helpfulness of it. It reflects
the fact that Emacs was written before there were mouses on computers and graphical user
interfaces. If you have a mouse and a GUI, you can do just about anything with Emacs, so
there is not much benefit in remembering lots of complicated keystroke sequences.

But there are a few that really help.

No comments:

Post a Comment