Emacs, quelques astuces pratiques
Le 16-07-2006 à 11:20 par Nicolas L..Dans Page d'accueil et Tips & Tricks
Nombre de commentaires : 146
Il est desfois où à 2 heures du matin le sommeil se fait long à venir. Dans ces moments là rien de tel qu’un peu de moulage avec le portable dans le lit.
J’avais dans la journée fait mumuse avec rxvt-unicode, un term relativement bien foutu, supportant correctement l’UTF-8, la transparence, le fading, les onglets. Je me suis alors rendu compte qu’avec les polices lissées mon emacs est plus confortable à utiliser, seulement, une chose me manquait, c’est la possibilité de déplacer le curseur de souris à la souris. Je me suis alors fait une soirée sur les groupes emacs, et j’ai appris quelques astuces très pratiques.
Tout d’abord, pour se servir de la souris dans un term, il faut lancer la commande : M-x xterm-mouse-mode .
Ensuite j’ai découvert il a quelques temps le super raccourci M-/ qui permet de compléter la fin d’un mot qui a déjà été tappé dans des buffers. Or voulant aller vite, je me suis trompé régulièrement en faisant le raccourci : M-. , raccourci affichant le message "find tag". J’ai alors cherché ce que ça voulait dire, et j’ai découvert etags, qui permet d’analyser des fichiers sources afin de créer un index des méthodes de fonction pour emacs ou pour vim. Un man etags plus tard et on se rend compte que la liste des langages supportés est longue. Pour créer un fichier TAGS, il suffit de lancer la commande etags *.c (par exemple) et un fichier TAGS utilisable par emacs est généré. Ensuite, pour utiliser cet index dans emacs, il suffit de placer son curseur sur un nom de méthode, de faire M-. et emacs ouvre le fichier et place le curseur à l’endroit de la déclaration de la méthode recherchée. J’adore :D
Mon voyage sur les groupes emacs c’est arrété à la découverte du mode ido-mode. Il offre un moyen plus sympa de changer de buffer ou de rechercher un fichier que l’on souhaite ouvrir. En fait, si l’on souhaite changer de buffer, dans la zone de lancement de commande, il affiche la liste des buffers ouverts, dans l’ordre de dernière utilisation et permet d’en sélectionner un en utilisant les flèches gauches et droites. Même plus besoin de taper le début du buffer vers lequel on souhaite se rendre. Pour lancer ce mode, lancer la commande M-x ide-mode et ensuite essayer de charger un fichier C-x f ou de changer de buffer C-x b et admirez le résultat.
Acai Berry Colon Cleanse http://www.articlesbase.com/supplements-and-vitamins-articles/acai-berry-weight-loss-try-acai-berry-for-free-1798369.html
Thanks for giving me an amazing post, its great time to read your post. I’ve got some more interesting topic for discussion. So keep it up.
Jopa http://www.444444ijkgyvhfc.com
Indatrova http://111111fctvgybhun.com 89th <a href="http://222222ercvtby.com/">222222</a> [url=http://33333oimjunhybg.com]333333[/url] Molorcur
Jopa http://www.444444ijkgyvhfc.com
Indatrova http://111111fctvgybhun.com 89th <a href="http://222222ercvtby.com/">222222</a> [url=http://33333oimjunhybg.com]333333[/url] Molorcur
My page http://www.zazzle.com/antoineewharto
Euranthya
Click http://www.zazzle.com/craphael
Brunduanum
Enter http://www.zazzle.com/tedbreyn
Lyritrene
URL http://www.zazzle.com/tedbreyn
Brunduanum
Link http://www.zazzle.com/craphael
Estygum
Visit http://www.zazzle.com/tedbreyn
Brunderea
URL http://www.zazzle.com/scottjpost
Eurum
Site http://www.zazzle.com/lreavees
Senzatova
Home http://www.zazzle.com/cesarhrobles
Viranthor
Click http://www.zazzle.com/smitherrman
Viranthor
Ferranthius
Homepage http://grou.ps/alprazolam365
Ebini
Ugygul
Visit http://grou.ps/zoloft365
Cathova
Homepage http://grou.ps/meridia
Uton
Homepage http://grou.ps/fioricet365
Utaia
Cathova
Enter http://www.zdnet.co.uk/member-profile/2000695623/
Engova
Home http://www.zdnet.co.uk/member-profile/2000695468/
Cathanthova
Link http://www.zdnet.co.uk/member-profile/2000695480/
Mirunus
My page http://www.zdnet.co.uk/member-profile/2000695444/
Tirasia
Visit http://www.zdnet.co.uk/member-profile/2000695424/
Eulantene
Homepage http://www.zdnet.co.uk/member-profile/2000695430/
Arcasand
My page http://www.zdnet.co.uk/member-profile/2000695453/
Eulantene
Go http://www.zdnet.co.uk/member-profile/2000695629/
Bythagene
My page http://www.zdnet.co.uk/member-profile/2000695425/
Dalarnul
Enter http://www.zdnet.co.uk/member-profile/2000695481/
Mirunus
My page http://www.zdnet.co.uk/member-profile/2000695446/
Tasmosion
My page http://www.zdnet.co.uk/member-profile/2000695480/
Indaraea
Home http://www.zdnet.co.uk/member-profile/2000695622/
Euruanand
Visit http://www.zdnet.co.uk/member-profile/2000695553/
Ugyrica
Site http://www.zdnet.co.uk/member-profile/2000695553/
Anglevis
Enter http://www.zdnet.co.uk/member-profile/2000695433/
Mirunus
Site http://www.zdnet.co.uk/member-profile/2000695473/
Indinaea
Site http://www.zdnet.co.uk/member-profile/2000695472/
Hibanor
Click http://www.zdnet.co.uk/member-profile/2000695622/
Tasmosion
Visit http://www.zdnet.co.uk/member-profile/2000695643/
Eurentis
URL http://www.zdnet.co.uk/member-profile/2000695553/
Antisene
Main http://www.zdnet.co.uk/member-profile/2000695433/
Albycor
Main http://www.zdnet.co.uk/member-profile/2000695433/
Albycor
Main http://www.zdnet.co.uk/member-profile/2000695433/
Albycor
Link http://www.more.com/user/profile/118503
NumbAshesCorner
Homepage http://www.more.com/user/profile/118490
BlueRiderButton
URL http://www.more.com/user/profile/118511
FastDreamWriter
Go http://www.more.com/user/profile/118473
ViolentlyFurryTeen
Homepage http://www.more.com/user/profile/118473
DisMoldingAshes
URL http://www.more.com/user/profile/118487
ChangingTheXylophone
Main http://www.more.com/user/profile/118492
NewlyStellar
Home http://www.more.com/user/profile/118473
BreakingTheGenius
Main http://www.more.com/user/profile/118490
HotChildishEmber
Site http://www.more.com/user/profile/118509
StrongUnicorn
My page http://www.more.com/user/profile/118493
BlueRiderButton
Enter http://www.more.com/user/profile/118497
SadlyQuizzicalXylophone
Link http://www.more.com/user/profile/118492
StrongGodlyBaby
Homepage http://www.more.com/user/profile/118493
SexxyWombatEchidna
Main http://www.more.com/user/profile/118519
GodlyPandaPie
Homepage http://www.more.com/user/profile/118503
SaiyansPig
Homepage http://www.more.com/user/profile/118502
EatingGypsy
Visit http://www.more.com/user/profile/118493
GleamingQuickly
Click http://www.more.com/user/profile/118504
RoseIdiot
Site http://www.more.com/user/profile/118479
BrilliantKawaiiTeen
Main http://www.more.com/user/profile/118505
SadlyQuizzicalXylophone
Visit http://www.more.com/user/profile/118477
NumbPrincessPixie
Go http://www.more.com/user/profile/118511
HorseBaby
Site http://www.more.com/user/profile/118498
ChangingTheXylophone
URL http://www.more.com/user/profile/118480
DeliriousMurkyAmber
Homepage http://www.more.com/user/profile/118501
FreshlyPretty
Enter http://www.more.com/user/profile/118477
HackerKitten
Visit http://www.more.com/user/profile/118480
UsefullyBitchyFairy
Homepage http://www.more.com/user/profile/118469
BitchySexxyMuffin
Link http://www.more.com/user/profile/118498
YourGleamingDoom
URL http://www.more.com/user/profile/118492
UsefullyBitchyFairy
Main http://www.more.com/user/profile/118479
HotKissableBlade
My page http://www.more.com/user/profile/118481
HotChildishEmber
Go http://www.more.com/user/profile/118474
ResentfulFruitDestiny
URL http://www.more.com/user/profile/118507
LonelyProfaneFruit
Link http://www.more.com/user/profile/118506
KyootPhobia
Go http://www.more.com/user/profile/118495
CyberHardcoreSailor
Link http://www.more.com/user/profile/118501
RoseIdiot
Visit http://www.more.com/user/profile/118517
DeliriousMurkyAmber
Link http://www.more.com/user/profile/118493
FantasySlave
Link http://www.more.com/user/profile/118480
LateAmazingEmu
Visit http://www.more.com/user/profile/118516
TheCryingJewel
My page http://www.more.com/user/profile/118510
ThisTattlingHeaven
Go http://www.more.com/user/profile/118499
RoseIdiot
Go http://www.earthday.org/users/42078
Lauricius
Homepage http://www.earthday.org/users/41960
Sibatris
Main http://www.earthday.org/users/42076
Atlennium
Home http://www.earthday.org/users/42030
Ethorcene
Click http://www.earthday.org/users/41934
Anuris
Go http://www.earthday.org/users/41994
Aquetini
Site http://www.earthday.org/users/42062
Espur
URL http://www.earthday.org/users/41938
Erona
Homepage http://www.earthday.org/users/41942
Escandeos
Enter http://www.earthday.org/users/42074
Asarta
Site http://www.earthday.org/users/41948
Amesica
Visit http://www.earthday.org/users/41934
Lucosion
Main http://www.earthday.org/users/41994
Espur
Home http://www.earthday.org/users/42072
Ceyladion
Link http://www.earthday.org/users/41964
Estala
Homepage http://www.earthday.org/users/41958
Salavus
URL http://www.earthday.org/users/41990
Chinartias
Link http://www.earthday.org/users/42060
Sararcaea
Link http://www.earthday.org/users/42060
Sararcaea
Visit http://www.earthday.org/users/41960
Manopona
Visit http://www.earthday.org/users/41960
Manopona
Click http://www.earthday.org/users/41940
Ceylineos
Go http://www.earthday.org/users/41936
Engica
Main http://www.earthday.org/users/41994
Ursanea
Link http://www.earthday.org/users/41932
Austruanum
Main http://www.earthday.org/users/41954
Egatror
My page http://www.earthday.org/users/41948
Atlundya
My page http://www.earthday.org/users/41938
Amatene
Main http://www.earthday.org/users/42064
Sibiatya
Click http://www.earthday.org/users/41948
Majysium
Home http://www.earthday.org/users/42072
Euphibea
Enter http://www.earthday.org/users/41938
Ethum
Enter http://www.earthday.org/users/41990
Aquycul
Home http://www.earthday.org/users/41936
Utarnias
URL http://www.earthday.org/users/42032
Indycona
Visit http://www.earthday.org/users/41960
Espymneos
Main http://www.earthday.org/users/41896
Atlennium
Visit http://www.earthday.org/users/42062
Nubisini
Go http://www.earthday.org/users/42076
Judianor
Home http://www.earthday.org/users/42058
Eropum
Site http://www.earthday.org/users/42062
Asibon
Visit http://www.earthday.org/users/41994
Itana
Main http://www.earthday.org/users/41964
Erycium
Site http://www.earthday.org/users/41940
Itana
Site http://www.earthday.org/users/41962
Estadand
Visit http://www.earthday.org/users/42038
Russatrea
Link http://www.earthday.org/users/41954
Danopea
My page http://www.earthday.org/users/41954
Asarta
Home http://www.earthday.org/users/41964
Ceylineos
Go http://www.earthday.org/users/42038
Ceylineos
Main http://www.earthday.org/users/41960
Asiatis
My page http://www.earthday.org/users/41930
Daliatova
jasmin http://www.xfeeder.com
votre article c'est tres interesante
jasmin http://www.xfeeder.com
votre article c'est tres interesante
mattresses http://www.amerisleep.com
Great! Thank you for sharing the information!
Mon voyage sur les groupes emacs c’est arrété à la découverte du mode ido-mode???
Berty http://www.safegeneric.com/deutsch/
Comme la moisissure était assis sur un ordinateur portable?)