org 245 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802
  1. This is org, produced by makeinfo version 4.8 from org.texi.
  2. INFO-DIR-SECTION Emacs
  3. START-INFO-DIR-ENTRY
  4. * Org Mode: (org). outline-based notes management and organizer
  5. END-INFO-DIR-ENTRY
  6. This manual is for Org-mode (version 4.51).
  7. Copyright (C) 2004, 2005, 2006 Free Software Foundation
  8. Permission is granted to copy, distribute and/or modify this
  9. document under the terms of the GNU Free Documentation License,
  10. Version 1.1 or any later version published by the Free Software
  11. Foundation; with no Invariant Sections, with the Front-Cover texts
  12. being "A GNU Manual," and with the Back-Cover Texts as in (a)
  13. below. A copy of the license is included in the section entitled
  14. "GNU Free Documentation License."
  15. (a) The FSF's Back-Cover Text is: "You have freedom to copy and
  16. modify this GNU Manual, like GNU software. Copies published by
  17. the Free Software Foundation raise funds for GNU development."
  18. 
  19. File: org, Node: Top, Next: Introduction, Prev: (dir), Up: (dir)
  20. Org Mode Manual
  21. ***************
  22. This manual is for Org-mode (version 4.51).
  23. Copyright (C) 2004, 2005, 2006 Free Software Foundation
  24. Permission is granted to copy, distribute and/or modify this
  25. document under the terms of the GNU Free Documentation License,
  26. Version 1.1 or any later version published by the Free Software
  27. Foundation; with no Invariant Sections, with the Front-Cover texts
  28. being "A GNU Manual," and with the Back-Cover Texts as in (a)
  29. below. A copy of the license is included in the section entitled
  30. "GNU Free Documentation License."
  31. (a) The FSF's Back-Cover Text is: "You have freedom to copy and
  32. modify this GNU Manual, like GNU software. Copies published by
  33. the Free Software Foundation raise funds for GNU development."
  34. * Menu:
  35. * Introduction:: Getting started
  36. * Document structure:: A tree works like your brain
  37. * Tables:: Pure magic for quick formatting
  38. * Hyperlinks:: Notes in context
  39. * TODO items:: Every tree branch can be a TODO item
  40. * Timestamps:: Assign date and time to items
  41. * Tags:: Tagging headlines and matching sets of tags
  42. * Agenda views:: Collecting information into views
  43. * Embedded LaTeX:: LaTeX fragments and formulas
  44. * Exporting:: Sharing and publishing of notes
  45. * Publishing:: Create a web site of linked Org-mode files
  46. * Miscellaneous:: All the rest which did not fit elsewhere
  47. * Extensions and Hacking:: It is possible to write add-on code
  48. * History and Acknowledgments:: How Org-mode came into being
  49. * Index:: The fast road to specific information
  50. * Key Index:: Key bindings and where they are described
  51. --- The Detailed Node Listing ---
  52. Introduction
  53. * Summary:: Brief summary of what Org-mode does
  54. * Installation:: How to install a downloaded version of Org-mode
  55. * Activation:: How to activate Org-mode for certain buffers.
  56. * Feedback:: Bug reports, ideas, patches etc.
  57. Document Structure
  58. * Outlines:: Org-mode is based on outline-mode
  59. * Headlines:: How to typeset org-tree headlines
  60. * Visibility cycling:: Show and hide, much simplified
  61. * Motion:: Jumping to other headlines
  62. * Structure editing:: Changing sequence and level of headlines
  63. * Archiving:: Move done task trees to a different place
  64. * Sparse trees:: Matches embedded in context
  65. * Plain lists:: Additional structure within an entry
  66. Archiving
  67. * ARCHIVE tag:: Marking a tree as inactive
  68. * Moving subtrees:: Moving a tree to an archive file
  69. Tables
  70. * Built-in table editor:: Simple tables
  71. * Narrow columns:: Stop wasting space in tables
  72. * Table calculations:: Compute a field from other fields
  73. * orgtbl-mode:: The table editor as minor mode
  74. * table.el:: Complex tables
  75. Calculations in tables
  76. * Formula syntax:: How to write a formula
  77. * Lisp formulas:: An alternative way to write formulas
  78. * Column formulas:: Formulas valid for all fields in a column
  79. * Advanced features:: Field names, parameters and automatic recalc
  80. * Named-field formulas:: Formulas valid in single fields
  81. * Editing/debugging formulas:: Changing a stored formula
  82. * Appetizer:: Taste the power of calc
  83. Hyperlinks
  84. * Link format:: How links in Org-mode are formatted
  85. * Internal links:: Links to other places in the current file
  86. * External links:: URL-like links to the world
  87. * Handling links:: Creating, inserting and following
  88. * Link abbreviations:: Shortcuts for writing complex links
  89. * Search options:: Linking to a specific location
  90. * Custom searches:: When the default search is not enough
  91. * Remember:: Org-trees store quick notes
  92. Internal links
  93. * Radio targets:: Make targets trigger links in plain text.
  94. * CamelCase links:: Activating CamelCase words as links
  95. TODO items
  96. * TODO basics:: Marking and displaying TODO entries
  97. * TODO extensions:: Workflow and assignments
  98. * Priorities:: Some things are more important than others
  99. * Breaking down tasks:: Splitting a task into managable pieces
  100. * Checkboxes:: Tick-off lists
  101. Extended use of TODO keywords
  102. * Workflow states:: From TODO to DONE in steps
  103. * TODO types:: I do this, Fred the rest
  104. * Per file keywords:: Different files, different requirements
  105. Timestamps
  106. * Time stamps:: Assigning a time to a tree entry
  107. * Creating timestamps:: Commands which insert timestamps
  108. * Progress logging:: Documenting when what work was done.
  109. Creating timestamps
  110. * The date/time prompt::
  111. Progress Logging
  112. * Closing items:: When was this entry marked DONE?
  113. * Clocking work time:: When exactly did you work on this item?
  114. Tags
  115. * Tag inheritance:: Tags use the tree structure of the outline
  116. * Setting tags:: How to assign tags to a headline
  117. * Tag searches:: Searching for combinations of tags
  118. Agenda Views
  119. * Agenda files:: Files being searched for agenda information
  120. * Agenda dispatcher:: Keyboard access to agenda views
  121. * Weekly/Daily agenda:: The calendar page with current tasks
  122. * Global TODO list:: All unfinished action items
  123. * Matching headline tags:: Structured information with fine-tuned search
  124. * Timeline:: Time-sorted view for single file
  125. * Presentation and sorting:: How agenda items are prepared for display
  126. * Agenda commands:: Remote editing of org trees
  127. * Custom agenda views:: Defining special searches and views
  128. The weekly/daily agenda
  129. * Calendar/Diary integration:: Integrating Anniversaries and more
  130. Presentation and sorting
  131. * Categories:: Not all tasks are equal
  132. * Time-of-day specifications:: How the agenda knows the time
  133. * Sorting of agenda items:: The order of things
  134. Custom agenda views
  135. * Storing searches:: Type once, use often
  136. * Block agenda:: All the stuff you need in a single buffer
  137. * Setting Options:: Changing the rules
  138. * Batch processing:: Agenda views from the command line
  139. Embedded LaTeX
  140. * Math symbols:: TeX macros for symbols and Greek letters
  141. * Subscripts and Superscripts:: Simple syntax for raising/lowering text
  142. * LaTeX fragments:: Complex formulas made easy
  143. * Processing LaTeX fragments:: Previewing LaTeX processing
  144. * CDLaTeX mode:: Speed up entering of formulas
  145. Exporting
  146. * ASCII export:: Exporting to plain ASCII
  147. * HTML export:: Exporting to HTML
  148. * XOXO export:: Exporting to XOXO
  149. * iCalendar export:: Exporting in iCalendar format
  150. * Text interpretation:: How the exporter looks at the file
  151. Text interpretation by the exporter
  152. * Comment lines:: Some lines will not be exported
  153. * Enhancing text:: Subscripts, symbols and more
  154. * Export options:: How to influence the export settings
  155. Publishing
  156. * Configuration:: Defining projects
  157. * Sample configuration:: Example projects
  158. * Triggering publication:: Publication commands
  159. Configuration
  160. * Project alist:: The central configuration variable
  161. * Sources and destinations:: From here to there
  162. * Selecting files:: What files are part of the project?
  163. * Publishing action:: Setting the function doing the publishing
  164. * Publishing options:: Tweaking HTML export
  165. * Publishing links:: Which links keep working after publishing?
  166. * Project page index:: Publishing a list of project files
  167. Sample configuration
  168. * Simple example:: One-component publishing
  169. * Complex example:: A multi-component publishing example
  170. Miscellaneous
  171. * Completion:: M-TAB knows what you need
  172. * Customization:: Adapting Org-mode to your taste
  173. * In-buffer settings:: Overview of the #+KEYWORDS
  174. * The very busy C-c C-c key:: When in doubt, press C-c C-c
  175. * Clean view:: Getting rid of leading stars in the outline
  176. * TTY keys:: Using Org-mode on a tty
  177. * Interaction:: Other Emacs packages
  178. * Bugs:: Things which do not work perfectly
  179. Interaction with other packages
  180. * Cooperation:: Packages Org-mode cooperates with
  181. * Conflicts:: Packages that lead to conflicts
  182. Extensions, Hooks and Hacking
  183. * Extensions:: Existing 3rd-part extensions
  184. * Dynamic blocks:: Automatically filled blocks
  185. 
  186. File: org, Node: Introduction, Next: Document structure, Prev: Top, Up: Top
  187. 1 Introduction
  188. **************
  189. * Menu:
  190. * Summary:: Brief summary of what Org-mode does
  191. * Installation:: How to install a downloaded version of Org-mode
  192. * Activation:: How to activate Org-mode for certain buffers.
  193. * Feedback:: Bug reports, ideas, patches etc.
  194. 
  195. File: org, Node: Summary, Next: Installation, Prev: Introduction, Up: Introduction
  196. 1.1 Summary
  197. ===========
  198. Org-mode is a mode for keeping notes, maintaining ToDo lists, and doing
  199. project planning with a fast and effective plain-text system.
  200. Org-mode develops organizational tasks around NOTES files that
  201. contain information about projects as plain text. Org-mode is
  202. implemented on top of outline-mode, which makes it possible to keep the
  203. content of large files well structured. Visibility cycling and
  204. structure editing help to work with the tree. Tables are easily
  205. created with a built-in table editor. Org-mode supports ToDo items,
  206. deadlines, time stamps, and scheduling. It dynamically compiles
  207. entries into an agenda that utilizes and smoothly integrates much of
  208. the Emacs calendar and diary. Plain text URL-like links connect to
  209. websites, emails, Usenet messages, BBDB entries, and any files related
  210. to the projects. For printing and sharing of notes, an Org-mode file
  211. can be exported as a structured ASCII file, as HTML, or (todo and
  212. agenda items only) as an iCalendar file. It can also serve as a
  213. publishing tool for a set of linked webpages.
  214. Org-mode keeps simple things simple. When first fired up, it should
  215. feel like a straightforward, easy to use outliner. Complexity is not
  216. imposed, but a large amount of functionality is available when you need
  217. it. Org-mode can be used on different levels and in different ways, for
  218. example:
  219. * as an outline extension with visibility cycling and structure editing
  220. * as an ASCII system and table editor for taking structured notes
  221. * as an ASCII table editor with spreadsheet-like capabilities
  222. * as a TODO list editor
  223. * as a full agenda and planner with deadlines and work scheduling
  224. * as a simple hypertext system, with HTML export
  225. * as a publishing tool to create a set of interlinked webpages
  226. The Org-mode table editor can be integrated into any major mode by
  227. activating the minor Orgtbl-mode.
  228. There is a website for Org-mode which provides links to the newest
  229. version of Org-mode, as well as additional information, frequently asked
  230. questions (FAQ), links to tutorials etc. This page is located at
  231. `http://www.astro.uva.nl/~dominik/Tools/org/'.
  232. 
  233. File: org, Node: Installation, Next: Activation, Prev: Summary, Up: Introduction
  234. 1.2 Installation
  235. ================
  236. Important: If Org-mode is part of the Emacs distribution or an XEmacs
  237. package, please skip this section and go directly to *Note Activation::.
  238. If you have downloaded Org-mode from the Web, you must take the
  239. following steps to install it: Go into the Org-mode distribution
  240. directory and edit the top section of the file `Makefile'. You must
  241. set the name of the Emacs binary (likely either `emacs' or `xemacs'),
  242. and the paths to the directories where local Lisp and Info files are
  243. kept. If you don't have access to the system-wide directories, create
  244. your own two directories for these files, enter them into the Makefile,
  245. and make sure Emacs finds the Lisp files by adding the following line
  246. to `.emacs':
  247. (setq load-path (cons "~/path/to/lispdir" load-path))
  248. XEmacs users now need to install the file `noutline.el' from the
  249. `xemacs' subdirectory of the Org-mode distribution. Use the command:
  250. make install-noutline
  251. Now byte-compile and install the Lisp files with the shell commands:
  252. make
  253. make install
  254. If you want to install the info documentation, use this command:
  255. make install-info
  256. Then add to `.emacs':
  257. ;; This line only if org-mode is not part of the X/Emacs distribution.
  258. (require 'org-install)
  259. 
  260. File: org, Node: Activation, Next: Feedback, Prev: Installation, Up: Introduction
  261. 1.3 Activation
  262. ==============
  263. Add the following lines to your `.emacs' file. The last two lines
  264. define _global_ keys for the commands `org-store-link' and `org-agenda'
  265. - please choose suitable keys yourself.
  266. ;; The following lines are always needed. Choose your own keys.
  267. (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
  268. (define-key global-map "\C-cl" 'org-store-link)
  269. (define-key global-map "\C-ca" 'org-agenda)
  270. Furthermore, you must activate `font-lock-mode' in org-mode buffers,
  271. because significant functionality depends on font-locking being active.
  272. You can do this with either one of the following two lines (XEmacs
  273. user must use the second option):
  274. (global-font-lock-mode 1) ; for all buffers
  275. (add-hook 'org-mode-hook 'turn-on-font-lock) ; org-mode buffers only
  276. With this setup, all files with extension `.org' will be put into
  277. Org-mode. As an alternative, make the first line of a file look like
  278. this:
  279. MY PROJECTS -*- mode: org; -*-
  280. which will select Org-mode for this buffer no matter what the file's
  281. name is. See also the variable `org-insert-mode-line-in-empty-file'.
  282. 
  283. File: org, Node: Feedback, Prev: Activation, Up: Introduction
  284. 1.4 Feedback
  285. ============
  286. If you find problems with Org-mode, or if you have questions, remarks,
  287. or ideas about it, please contact the maintainer Carsten Dominik at
  288. <dominik@science.uva.nl>.
  289. For bug reports, please provide as much information as possible,
  290. including the version information of Emacs (`C-h v emacs-version
  291. <RET>') and Org-mode (`C-h v org-version <RET>'), as well as the
  292. Org-mode related setup in `.emacs'. If an error occurs, a traceback
  293. can be very useful. Often a small example file helps, along with clear
  294. information about:
  295. 1. What exactly did you do?
  296. 2. What did you expect to happen?
  297. 3. What happened instead?
  298. Thank you for helping to improve this mode.
  299. 
  300. File: org, Node: Document structure, Next: Tables, Prev: Introduction, Up: Top
  301. 2 Document Structure
  302. ********************
  303. Org-mode is based on outline mode and provides flexible commands to
  304. edit the structure of the document.
  305. * Menu:
  306. * Outlines:: Org-mode is based on outline-mode
  307. * Headlines:: How to typeset org-tree headlines
  308. * Visibility cycling:: Show and hide, much simplified
  309. * Motion:: Jumping to other headlines
  310. * Structure editing:: Changing sequence and level of headlines
  311. * Archiving:: Move done task trees to a different place
  312. * Sparse trees:: Matches embedded in context
  313. * Plain lists:: Additional structure within an entry
  314. 
  315. File: org, Node: Outlines, Next: Headlines, Prev: Document structure, Up: Document structure
  316. 2.1 Outlines
  317. ============
  318. Org-mode is implemented on top of outline-mode. Outlines allow to
  319. organize a document in a hierarchical structure, which (at least for
  320. me) is the best representation of notes and thoughts. Overview over
  321. this structure is achieved by folding (hiding) large parts of the
  322. document to show only the general document structure and the parts
  323. currently being worked on. Org-mode greatly simplifies the use of
  324. outlines by compressing the entire show/hide functionality into a
  325. single command `org-cycle', which is bound to the <TAB> key.
  326. 
  327. File: org, Node: Headlines, Next: Visibility cycling, Prev: Outlines, Up: Document structure
  328. 2.2 Headlines
  329. =============
  330. Headlines define the structure of an outline tree. The headlines in
  331. Org-mode start with one or more stars, on the left margin. For example:
  332. * Top level headline
  333. ** Second level
  334. *** 3rd level
  335. some text
  336. *** 3rd level
  337. more text
  338. * Another top level headline
  339. Some people find the many stars too noisy and would prefer an outline
  340. that has whitespace followed by a single star as headline starters.
  341. *Note Clean view:: describes a setup to realize this.
  342. 
  343. File: org, Node: Visibility cycling, Next: Motion, Prev: Headlines, Up: Document structure
  344. 2.3 Visibility cycling
  345. ======================
  346. Outlines make it possible to hide parts of the text in the buffer.
  347. Org-mode uses just two commands, bound to <TAB> and `S-<TAB>' to change
  348. the visibility in the buffer.
  349. `<TAB>'
  350. _Subtree cycling_: Rotate current subtree between the states
  351. ,-> FOLDED -> CHILDREN -> SUBTREE --.
  352. '-----------------------------------'
  353. The cursor must be on a headline for this to work(1). When the
  354. cursor is at the beginning of the buffer and the first line is not
  355. a headline, then <TAB> actually runs global cycling (see
  356. below)(2). Also when called with a prefix argument (`C-u <TAB>'),
  357. global cycling is invoked.
  358. `S-<TAB>'
  359. `C-u <TAB>'
  360. _Global cycling_: Rotate the entire buffer between the states
  361. ,-> OVERVIEW -> CONTENTS -> SHOW ALL --.
  362. '--------------------------------------'
  363. Note that inside tables, `S-<TAB>' jumps to the previous field.
  364. `C-c C-a'
  365. Show all.
  366. When Emacs first visits an Org-mode file, the global state is set to
  367. OVERVIEW, i.e. only the top level headlines are visible. This can be
  368. configured through the variable `org-startup-folded', or on a per-file
  369. basis by adding one of the following lines anywhere in the buffer:
  370. #+STARTUP: overview
  371. #+STARTUP: content
  372. #+STARTUP: showall
  373. ---------- Footnotes ----------
  374. (1) see, however, the option `org-cycle-emulate-tab'.
  375. (2) see the option `org-cycle-global-at-bob'.
  376. 
  377. File: org, Node: Motion, Next: Structure editing, Prev: Visibility cycling, Up: Document structure
  378. 2.4 Motion
  379. ==========
  380. The following commands jump to other headlines in the buffer.
  381. `C-c C-n'
  382. Next heading.
  383. `C-c C-p'
  384. Previous heading.
  385. `C-c C-f'
  386. Next heading same level.
  387. `C-c C-b'
  388. Previous heading same level.
  389. `C-c C-u'
  390. Backward to higher level heading.
  391. `C-c C-j'
  392. Jump to a different place without changing the current outline
  393. visibility. Shows the document structure in a temporary buffer,
  394. where you can use visibility cycling (<TAB>) to find your
  395. destination. After pressing <RET>, the cursor moves to the
  396. selected location in the original buffer, and the headings
  397. hierarchy above it is made visible.
  398. 
  399. File: org, Node: Structure editing, Next: Archiving, Prev: Motion, Up: Document structure
  400. 2.5 Structure editing
  401. =====================
  402. `M-<RET>'
  403. Insert new heading with same level as current. If the cursor is
  404. in a plain list item, a new item is created (*note Plain lists::).
  405. To force creation of a new headline, use a prefix arg, or first
  406. press <RET> to get to the beginning of the next line. When this
  407. command is used in the middle of a line, the line is split and the
  408. rest of the line becomes the new headline. If the command is used
  409. at the beginning of a headline, the new headline is created before
  410. the current line. If at the beginning of any other line, the
  411. content of that line is made the new heading.
  412. `M-S-<RET>'
  413. Insert new TODO entry with same level as current heading.
  414. `M-<left>'
  415. Promote current heading by one level.
  416. `M-<right>'
  417. Demote current heading by one level.
  418. `M-S-<left>'
  419. Promote the current subtree by one level.
  420. `M-S-<right>'
  421. Demote the current subtree by one level.
  422. `M-S-<up>'
  423. Move subtree up (swap with previous subtree of same level).
  424. `M-S-<down>'
  425. Move subtree down (swap with next subtree of same level).
  426. `C-c C-x C-w'
  427. `C-c C-x C-k'
  428. Kill subtree, i.e. remove it from buffer but save in kill ring.
  429. `C-c C-x M-w'
  430. Copy subtree to kill ring.
  431. `C-c C-x C-y'
  432. Yank subtree from kill ring. This does modify the level of the
  433. subtree to make sure the tree fits in nicely at the yank position.
  434. The yank level can also be specified with a prefix arg, or by
  435. yanking after a headline marker like `****'.
  436. When there is an active region (transient-mark-mode), promotion and
  437. demotion work on all headlines in the region. To select a region of
  438. headlines, it is best to place both point and mark at the beginning of a
  439. line, mark at the beginning of the first headline, and point at the line
  440. just after the last headline to change. Note that when the cursor is
  441. inside a table (*note Tables::), the Meta-Cursor keys have different
  442. functionality.
  443. 
  444. File: org, Node: Archiving, Next: Sparse trees, Prev: Structure editing, Up: Document structure
  445. 2.6 Archiving
  446. =============
  447. When a project represented by a (sub)tree is finished, you may want to
  448. move the tree out of the way and to stop it from contributing to the
  449. agenda. Org-mode knows two ways of archiving. You can mark a tree with
  450. the ARCHIVE tag, or you can move an entire (sub)tree to a different
  451. location.
  452. * Menu:
  453. * ARCHIVE tag:: Marking a tree as inactive
  454. * Moving subtrees:: Moving a tree to an archive file
  455. 
  456. File: org, Node: ARCHIVE tag, Next: Moving subtrees, Prev: Archiving, Up: Archiving
  457. 2.6.1 The ARCHIVE tag
  458. ---------------------
  459. A headline that is marked with the ARCHIVE tag (*note Tags::) stays at
  460. its location in the outline tree, but behaves in the following way:
  461. - It does not open when you attempt to do so with a visibility
  462. cycling command (*note Visibility cycling::). You can force
  463. cycling archived subtrees with `C-<TAB>', or by setting the option
  464. `org-cycle-open-archived-trees'. Also normal outline commands like
  465. `show-all' will open archived subtrees.
  466. - During sparse tree construction (*note Sparse trees::), matches in
  467. archived subtrees are not exposed, unless you configure the option
  468. `org-sparse-tree-open-archived-trees'.
  469. - During agenda view construction (*note Agenda views::), the
  470. content of archived trees is ignored unless you configure the
  471. option `org-agenda-skip-archived-trees'.
  472. - Archived trees are not exported (*note Exporting::), only the
  473. headline is. Configure the details using the variable
  474. `org-export-with-archived-trees'.
  475. The following commands help managing the ARCHIVE tag:
  476. `C-c C-x C-a'
  477. Toggle the ARCHIVE tag for the current headline. When the tag is
  478. set, the headline changes to a shadowish face, and the subtree
  479. below it is hidden.
  480. `C-u C-c C-x C-a'
  481. Check if any direct children of the current headline should be
  482. archived. To do this, each subtree is checked for open TODO
  483. entries. If none are found, the command offers to set the ARCHIVE
  484. tag for the child. If the cursor is _not_ on a headline when this
  485. command is invoked, the level 1 trees will be checked.
  486. `C-TAB'
  487. Cycle a tree even if it is tagged with ARCHIVE.
  488. 
  489. File: org, Node: Moving subtrees, Prev: ARCHIVE tag, Up: Archiving
  490. 2.6.2 Moving subtrees
  491. ---------------------
  492. Once an entire project is finished, you may want to move it to a
  493. different location, either in the current file, or even in a different
  494. file, the archive file.
  495. `C-c $'
  496. Archive the subtree starting at the cursor position to the location
  497. given by `org-archive-location'.
  498. `C-u C-c $'
  499. Check if any direct children of the current headline could be
  500. moved to the archive. To do this, each subtree is checked for
  501. open TODO entries. If none are found, the command offers to move
  502. it to the archive location. If the cursor is _not_ on a headline
  503. when this command is invoked, the level 1 trees will be checked.
  504. The default archive location is a file in the same directory as the
  505. current file, with the name derived by appending `_archive' to the
  506. current file name. For information and examples on how to change this,
  507. see the documentation string of the variable `org-archive-location'.
  508. 
  509. File: org, Node: Sparse trees, Next: Plain lists, Prev: Archiving, Up: Document structure
  510. 2.7 Sparse trees
  511. ================
  512. An important feature of Org-mode is the ability to construct _sparse
  513. trees_ for selected information in an outline tree. A sparse tree
  514. means that the entire document is folded as much as possible, but the
  515. selected information is made visible along with the headline structure
  516. above it(1). Just try it out and you will see immediately how it works.
  517. Org-mode contains several commands creating such trees. The most
  518. basic one is `org-occur':
  519. `C-c /'
  520. Occur. Prompts for a regexp and shows a sparse tree with all
  521. matches. If the match is in a headline, the headline is made
  522. visible. If the match is in the body of an entry, headline and
  523. body are made visible. In order to provide minimal context, also
  524. the full hierarchy of headlines above the match is shown, as well
  525. as the headline following the match. Each match is also
  526. highlighted; the highlights disappear when the bufer is changes an
  527. editing command, or by pressing `C-c C-c'. When called with a
  528. `C-u' prefix argument, previous highlights are kept, so several
  529. calls to this command can be stacked.
  530. For frequently used sparse trees of specific search strings, you can
  531. use the variable `org-agenda-custom-commands' to define fast keyboard
  532. access to specific sparse trees. These commands will then be
  533. accessible through the agenda dispatcher (*note Agenda dispatcher::).
  534. For example:
  535. (setq org-agenda-custom-commands
  536. '(("f" occur-tree "FIXME")))
  537. will define the key `C-c a f' as a shortcut for creating a sparse tree
  538. matching the string `FIXME'.
  539. Other commands use sparse trees as well. For example `C-c C-v'
  540. creates a sparse TODO tree (*note TODO basics::).
  541. To print a sparse tree, you can use the Emacs command
  542. `ps-print-buffer-with-faces' which does not print invisible parts of
  543. the document (2). Or you can use the command `C-c C-e v' to export
  544. only the visible part of the document and print the resulting file.
  545. ---------- Footnotes ----------
  546. (1) See also the variables `org-show-hierarchy-above' and
  547. `org-show-following-heading'.
  548. (2) This does not work under XEmacs, because XEmacs uses selective
  549. display for outlining, not text properties.
  550. 
  551. File: org, Node: Plain lists, Prev: Sparse trees, Up: Document structure
  552. 2.8 Plain lists
  553. ===============
  554. Within an entry of the outline tree, hand-formatted lists can provide
  555. additional structure. They also provide a way to create lists of
  556. checkboxes (*note Checkboxes::). Org-mode supports editing such lists,
  557. and the HTML exporter (*note Exporting::) does parse and format them.
  558. Org-mode knows ordered and unordered lists. Unordered list items
  559. start with `-', `+', or `*'(1) as bullets. Ordered list items start
  560. with `1.' or `1)'. Items belonging to the same list must have the same
  561. indentation on the first line. In particular, if an ordered list
  562. reaches number `10.', then the 2-digit numbers must be written
  563. left-aligned with the other numbers in the list. Indentation also
  564. determines the end of a list item. It ends before the next line that
  565. is indented like the bullet/number, or less. For example:
  566. ** Lord of the Rings
  567. My favorite scenes are (in this order)
  568. 1. The attack of the Rohirrim
  569. 2. Eowyns fight with the witch king
  570. + this was already my favorite scene in the book
  571. + I really like Miranda Otto.
  572. 3. Peter Jackson being shot by Legolas
  573. - on DVD only
  574. He makes a really funny face when it happens.
  575. But in the end, not individual scenes matter but the film as a whole.
  576. Org-mode supports these lists by tuning filling and wrapping
  577. commands to deal with them correctly(2).
  578. The following commands act on items when the cursor is in the first
  579. line of an item (the line with the bullet or number).
  580. `<TAB>'
  581. Items can be folded just like headline levels if you set the
  582. variable `org-cycle-include-plain-lists'. The level of an item is
  583. then given by the indentation of the bullet/number. Items are
  584. always subordinate to real headlines, however; the hierarchies
  585. remain completely separated.
  586. `M-<RET>'
  587. Insert new item at current level. With prefix arg, force a new
  588. heading (*note Structure editing::). If this command is used in
  589. the middle of a line, the line is _split_ and the rest of the line
  590. becomes the new item. If this command is executed in the
  591. _whitespace before a bullet or number_, the new item is created
  592. _before_ the current item. If the command is executed in the
  593. white space before the text that is part of an item but does not
  594. contain the bullet, a bullet is added to the current line.
  595. `M-S-<RET>'
  596. Insert a new item with a checkbox (*note Checkboxes::).
  597. `S-<up>'
  598. `S-<down>'
  599. Jump to the previous/next item in the current list.
  600. `M-S-<up>'
  601. `M-S-<down>'
  602. Move the item including subitems up/down (swap with previous/next
  603. item of same indentation). If the list is ordered, renumbering is
  604. automatic.
  605. `M-S-<left>'
  606. `M-S-<right>'
  607. Decrease/increase the indentation of the item, including subitems.
  608. Initially, the item tree is selected based on current indentation.
  609. When these commands are executed several times in direct
  610. succession, the initially selected region is used, even if the new
  611. indentation would imply a different hierarchy. To use the new
  612. hierarchy, break the command chain with a cursor motion or so.
  613. `C-c C-c'
  614. If there is a checkbox (*note Checkboxes::) in the item line,
  615. toggle the state of the checkbox. Otherwise, if this is an
  616. ordered list, renumber the ordered list at the cursor.
  617. ---------- Footnotes ----------
  618. (1) When using `*' as a bullet, lines must be indented or they will
  619. be seen as top-level headlines. Also, when you are hiding leading
  620. stars to get a clean outline view, plain list items starting with a
  621. star are visually indistinguishable from true headlines. In short:
  622. even though `*' is supported, it may be better not to use it for plain
  623. list items
  624. (2) Org-mode only changes the filling settings for Emacs. For
  625. XEmacs, you should use Kyle E. Jones' `filladapt.el'. To turn is on,
  626. put into `.emacs':
  627. (require 'filladapt)
  628. 
  629. File: org, Node: Tables, Next: Hyperlinks, Prev: Document structure, Up: Top
  630. 3 Tables
  631. ********
  632. Org-mode has a very fast and intuitive table editor built-in.
  633. Spreadsheet-like calculations are supported in connection with the
  634. Emacs `calc' package.
  635. * Menu:
  636. * Built-in table editor:: Simple tables
  637. * Narrow columns:: Stop wasting space in tables
  638. * Table calculations:: Compute a field from other fields
  639. * orgtbl-mode:: The table editor as minor mode
  640. * table.el:: Complex tables
  641. 
  642. File: org, Node: Built-in table editor, Next: Narrow columns, Prev: Tables, Up: Tables
  643. 3.1 The built-in table editor
  644. =============================
  645. Org-mode makes it easy to format tables in plain ASCII. Any line with
  646. `|' as the first non-white character is considered part of a table.
  647. `|' is also the column separator. A table might look like this:
  648. | Name | Phone | Age |
  649. |-------+-------+-----|
  650. | Peter | 1234 | 17 |
  651. | Anna | 4321 | 25 |
  652. A table is re-aligned automatically each time you press <TAB> or
  653. <RET> or `C-c C-c' inside the table. <TAB> also moves to the next
  654. field (<RET> to the next row) and creates new table rows at the end of
  655. the table or before horizontal lines. The indentation of the table is
  656. set by the first line. Any line starting with `|-' is considered as a
  657. horizontal separator line and will be expanded on the next re-align to
  658. span the whole table width. So, to create the above table, you would
  659. only type
  660. |Name|Phone|Age|
  661. |-
  662. and then press <TAB> to align the table and start filling in fields.
  663. When typing text into a field, Org-mode treats <DEL>, <Backspace>,
  664. and all character keys in a special way, so that inserting and deleting
  665. avoids shifting other fields. Also, when typing _immediately after the
  666. cursor was moved into a new field with `<TAB>', `S-<TAB>' or `<RET>'_,
  667. the field is automatically made blank. If this behavior is too
  668. unpredictable for you, configure the variables
  669. `org-enable-table-editor' and `org-table-auto-blank-field'.
  670. Creation and conversion
  671. .......................
  672. `C-c |'
  673. Convert the active region to table. If every line contains at
  674. least one TAB character, the function assumes that the material is
  675. tab separated. If not, lines are split at whitespace into fields.
  676. You can use a prefix argument to indicate the minimum number of
  677. consecutive spaces required to identify a field separator
  678. (default: just one).
  679. If there is no active region, this command creates an empty
  680. Org-mode table. But it's easier just to start typing, like
  681. `|Name|Phone|Age <RET> |- <TAB>'.
  682. Re-aligning and field motion
  683. ............................
  684. `C-c C-c'
  685. Re-align the table without moving the cursor.
  686. `<TAB>'
  687. Re-align the table, move to the next field. Creates a new row if
  688. necessary.
  689. `S-<TAB>'
  690. Re-align, move to previous field.
  691. `<RET>'
  692. Re-align the table and move down to next row. Creates a new row if
  693. necessary. At the beginning or end of a line, <RET> still does
  694. NEWLINE, so it can be used to split a table.
  695. Column and row editing
  696. ......................
  697. `M-<left>'
  698. `M-<right>'
  699. Move the current column left/right.
  700. `M-S-<left>'
  701. Kill the current column.
  702. `M-S-<right>'
  703. Insert a new column to the left of the cursor position.
  704. `M-<up>'
  705. `M-<down>'
  706. Move the current row up/down.
  707. `M-S-<up>'
  708. Kill the current row or horizontal line.
  709. `M-S-<down>'
  710. Insert a new row above (with arg: below) the current row.
  711. `C-c -'
  712. Insert a horizontal line below current row. With prefix arg, the
  713. line is created above the current line.
  714. `C-c ^'
  715. Sort the table lines in the region. Point and mark must be in the
  716. first and last line to be included, and must be in the column that
  717. should be used for sorting. The command prompts for numerical
  718. versus alphanumerical sorting.
  719. Regions
  720. .......
  721. `C-c C-x M-w'
  722. Copy a rectangular region from a table to a special clipboard.
  723. Point and mark determine edge fields of the rectangle. The
  724. process ignores horizontal separator lines.
  725. `C-c C-x C-w'
  726. Copy a rectangular region from a table to a special clipboard, and
  727. blank all fields in the rectangle. So this is the "cut" operation.
  728. `C-c C-x C-y'
  729. Paste a rectangular region into a table. The upper right corner
  730. ends up in the current field. All involved fields will be
  731. overwritten. If the rectangle does not fit into the present table,
  732. the table is enlarged as needed. The process ignores horizontal
  733. separator lines.
  734. `C-c C-q'
  735. Wrap several fields in a column like a paragraph. If there is an
  736. active region, and both point and mark are in the same column, the
  737. text in the column is wrapped to minimum width for the given
  738. number of lines. A prefix ARG may be used to change the number of
  739. desired lines. If there is no region, the current field is split
  740. at the cursor position and the text fragment to the right of the
  741. cursor is prepended to the field one line down. If there is no
  742. region, but you specify a prefix ARG, the current field is made
  743. blank, and the content is appended to the field above.
  744. Calculations
  745. ............
  746. `C-c ='
  747. Install a new formula for the current column and replace current
  748. field with the result of the formula.
  749. `C-u C-c ='
  750. Install a new formula for the current field, which must be a named
  751. field. Evaluate the formula and replace the field content with the
  752. result.
  753. `C-c ''
  754. Edit all formulas associated with the current table in a separate
  755. buffer.
  756. `C-c *'
  757. Recalculate the current row by applying the stored formulas from
  758. left to right. When called with a `C-u' prefix, recalculate the
  759. entire table, starting with the first non-header line (i.e. below
  760. the first horizontal separator line). For details, see *Note
  761. Table calculations::.
  762. `C-#'
  763. Rotate the calculation mark in first column through the states `',
  764. `#', `*', `!', `$'. For the meaning of these marks see *Note
  765. Advanced features::. When there is an active region, change all
  766. marks in the region.
  767. `C-c ?'
  768. Which table column is the cursor in? Displays number >0 in echo
  769. area.
  770. `C-c +'
  771. Sum the numbers in the current column, or in the rectangle defined
  772. by the active region. The result is shown in the echo area and can
  773. be inserted with `C-y'.
  774. `S-<RET>'
  775. When current field is empty, copy from first non-empty field above.
  776. When not empty, copy current field down to next row and move cursor
  777. along with it. Depending on the variable
  778. `org-table-copy-increment', integer field values will be
  779. incremented during copy. This key is also used by CUA-mode (*note
  780. Cooperation::).
  781. Miscellaneous
  782. .............
  783. `C-c `'
  784. Edit the current field in a separate window. This is useful for
  785. fields that are not fully visible (*note Narrow columns::). When
  786. called with a `C-u' prefix, just make the full field visible, so
  787. that it can be edited in place.
  788. `C-c <TAB>'
  789. This is an alias for `C-u C-c `' to make the current field fully
  790. visible.
  791. `M-x org-table-import'
  792. Import a file as a table. The table should be TAB- or whitespace
  793. separated. Useful, for example, to import an Excel table or data
  794. from a database, because these programs generally can write
  795. TAB-separated text files. This command works by inserting the
  796. file into the buffer and then converting the region to a table.
  797. Any prefix argument is passed on to the converter, which uses it
  798. to determine the separator.
  799. `M-x org-table-export'
  800. Export the table as a TAB-separated file. Useful for data
  801. exchange with, for example, Excel or database programs.
  802. If you don't like the automatic table editor because it gets in your
  803. way on lines which you would like to start with `|', you can turn it
  804. off with
  805. (setq org-enable-table-editor nil)
  806. Then the only table command that still works is `C-c C-c' to do a
  807. manual re-align.
  808. 
  809. File: org, Node: Narrow columns, Next: Table calculations, Prev: Built-in table editor, Up: Tables
  810. 3.2 Narrow columns
  811. ==================
  812. The width of columns is automatically determined by the table editor.
  813. Sometimes a single field or a few fields need to carry more text,
  814. leading to inconveniently wide columns. To limit(1) the width of a
  815. column, one field anywhere in the column may contain just the string
  816. `<N>' where `N' is an integer specifying the width of the column in
  817. characters. The next re-align will then set the width of this column
  818. to no more than this value.
  819. |---+------------------------------| |---+--------|
  820. | | | | | <6> |
  821. | 1 | one | | 1 | one |
  822. | 2 | two | ----\ | 2 | two |
  823. | 3 | This is a long chunk of text | ----/ | 3 | This=> |
  824. | 4 | four | | 4 | four |
  825. |---+------------------------------| |---+--------|
  826. Fields that are wider become clipped and end in the string `=>'. Note
  827. that the full text is still in the buffer, it is only invisible. To
  828. see the full text, hold the mouse over the field - a tooltip window
  829. will show the full content. To edit such a field, use the command `C-c
  830. `' (that is `C-c' followed by the backquote). This will open a new
  831. window with the full field. Edit it and finish with `C-c C-c'.
  832. When visiting a file containing a table with narrowed columns, the
  833. necessary character hiding has not yet happened, and the table needs to
  834. be aligned before it looks nice. Setting the option
  835. `org-startup-align-all-tables' will realign all tables in a file upon
  836. visiting, but also slow down startup. You can also set this option on
  837. a per-file basis with:
  838. #+STARTUP: align
  839. #+STARTUP: noalign
  840. ---------- Footnotes ----------
  841. (1) This feature does not work on XEmacs.
  842. 
  843. File: org, Node: Table calculations, Next: orgtbl-mode, Prev: Narrow columns, Up: Tables
  844. 3.3 Calculations in tables
  845. ==========================
  846. The table editor makes use of the Emacs `calc' package to implement
  847. spreadsheet-like capabilities. It can also evaluate Emacs Lisp forms to
  848. derive fields from other fields. Org-mode has two levels of complexity
  849. for table calculations. On the basic level, tables do only horizontal
  850. computations, so a field can be computed from other fields _in the same
  851. row_, and Org-mode assumes that there is only one formula for each
  852. column. This is very efficient to work with and enough for many tasks.
  853. On the complex level, columns and individual fields can be named for
  854. easier referencing in formulas, individual named fields can have their
  855. own formula associated with them, and recalculation can be automated.
  856. * Menu:
  857. * Formula syntax:: How to write a formula
  858. * Lisp formulas:: An alternative way to write formulas
  859. * Column formulas:: Formulas valid for all fields in a column
  860. * Advanced features:: Field names, parameters and automatic recalc
  861. * Named-field formulas:: Formulas valid in single fields
  862. * Editing/debugging formulas:: Changing a stored formula
  863. * Appetizer:: Taste the power of calc
  864. 
  865. File: org, Node: Formula syntax, Next: Lisp formulas, Prev: Table calculations, Up: Table calculations
  866. 3.3.1 Formula syntax
  867. --------------------
  868. A formula can be any algebraic expression understood by the Emacs
  869. `calc' package. Note that `calc' has the slightly non-standard
  870. convention that `/' has lower precedence than `*', so that `a/b*c' is
  871. interpreted as `a/(b*c)'. Before evaluation by `calc-eval' (*note
  872. calc-eval: (calc)Calling Calc from Your Programs.), variable
  873. substitution takes place:
  874. $ refers to the current field
  875. $3 refers to the field in column 3 of the current row
  876. $3..$7 a vector of the fields in columns 3-7 of current row
  877. $P1..$P3 vector of column range, using column names
  878. &2 second data field above the current, in same column
  879. &5-2 vector from fifth to second field above current
  880. &III-II vector of fields between 2nd and 3rd hline above
  881. &III vector of fields between third hline above and current field
  882. $name a named field, parameter or constant
  883. The range vectors can be directly fed into the calc vector functions
  884. like `vmean' and `vsum'.
  885. `$name' is interpreted as the name of a column, parameter or
  886. constant. Constants are defined globally through the variable
  887. `org-table-formula-constants'. If you have the `constants.el' package,
  888. it will also be used to resolve constants, including natural constants
  889. like `$h' for Planck's constant, and units like `$km' for kilometers.
  890. Column names and parameters can be specified in special table lines.
  891. These are described below, see *Note Advanced features::.
  892. A formula can contain an optional mode string after a semicolon.
  893. This string consists of flags to influence calc's modes(1) during
  894. execution, e.g. `p20' to switch the internal precision to 20 digits,
  895. `n3', `s3', `e2' or `f4' to switch to normal, scientific, engineering,
  896. or fixed display format, respectively, and `D', `R', `F', and `S' to
  897. turn on degrees, radians, fraction and symbolic modes, respectively.
  898. In addition, you may provide a `printf' format specifier to reformat
  899. the final result. A few examples:
  900. $1+$2 Sum of first and second field
  901. $1+$2;%.2f Same, format result to two decimals
  902. exp($2)+exp($1) Math functions can be used
  903. $;%.1f Reformat current cell to 1 decimal
  904. ($3-32)*5/9 Degrees F -> C conversion
  905. $c/$1/$cm Hz -> cm conversion, using `constants.el'
  906. tan($1);Dp3s1 Compute in degrees, precision 3, display SCI 1
  907. sin($1);Dp3%.1e Same, but use printf specifier for display
  908. vmean($2..$7) Compute column range mean, using vector function
  909. vsum(&III) Sum numbers from 3rd hline above, up to here
  910. taylor($3,x=7,2) taylor series of $3, at x=7, second degree
  911. ---------- Footnotes ----------
  912. (1) By default, Org-mode uses the standard calc modes (precision 12,
  913. angular units degrees, fraction and symbolic modes off). The display
  914. format, however, has been changed to `(float 5)' to keep tables compact.
  915. The default settings can be configured using the variable
  916. `org-calc-default-modes'.
  917. 
  918. File: org, Node: Lisp formulas, Next: Column formulas, Prev: Formula syntax, Up: Table calculations
  919. 3.3.2 Emacs Lisp forms as formulas
  920. ----------------------------------
  921. It is also possible to write a formula in Emacs lisp; this can be useful
  922. for string manipulation and control structures. If a formula starts
  923. with a single quote followed by an opening parenthesis, then it is
  924. evaluated as a lisp form. The evaluation should return either a string
  925. or a number. Just as with `calc' formulas, you can provide a format
  926. specifier after a semicolon. A few examples:
  927. swap the first two characters of the content of column 1
  928. '(concat (substring "$1" 1 2) (substring "$1" 0 1) (substring "$1" 2))
  929. Add columns 1 and 2, equivalent to the calc's `$1+$2'
  930. '(+ $1 $2)
  931. 
  932. File: org, Node: Column formulas, Next: Advanced features, Prev: Lisp formulas, Up: Table calculations
  933. 3.3.3 Column formulas
  934. ---------------------
  935. To apply a formula to a field, type it directly into the field,
  936. preceded by an equal sign, like `=$1+$2'. When you press <TAB> or
  937. <RET> or `C-c C-c' with the cursor still in the field, the formula will
  938. be stored as the formula for the current column, evaluated and the
  939. current field replaced with the result. If the field contains only
  940. `=', the previously stored formula for this column is used.
  941. For each column, Org-mode will remember the most recently used
  942. formula. The information is stored in a special line starting with
  943. `#+TBLFM' directly below the table. When adding/deleting/moving
  944. columns with the appropriate commands, the stored equations will be
  945. modified accordingly. When a column used in a calculation is removed,
  946. references to this column become invalid and will cause an error upon
  947. applying the equation.
  948. Instead of typing an equation into the field, you may also use the
  949. command `C-c ='. It prompts for a formula (with default taken from the
  950. `#+TBLFM:' line) and applies it to the current field. A numerical
  951. prefix (e.g. `C-5 C-c =') will apply it to that many consecutive fields
  952. in the current column.
  953. To recompute all the fields in a line, use the command `C-c *'. It
  954. re-applies all stored equations to the current row, from left to right.
  955. With a `C-u' prefix, this will be done to every line in the table, so
  956. use this command it you want to make sure the entire table is
  957. up-to-date. `C-u C-c C-c' is another way to update the entire table.
  958. Global updating does not touch the line(s) above the first horizontal
  959. separator line, assuming that this is the table header.
  960. 
  961. File: org, Node: Advanced features, Next: Named-field formulas, Prev: Column formulas, Up: Table calculations
  962. 3.3.4 Advanced features
  963. -----------------------
  964. If you want the recalculation of fields to happen automatically, or if
  965. you want to be able to assign a formula to an individual field (instead
  966. of an entire column) you need to reserve the first column of the table
  967. for special marking characters. Here is an example of a table that
  968. collects exam results of students and makes use of these features:
  969. |---+---------+--------+--------+--------+-------+------|
  970. | | Student | Prob 1 | Prob 2 | Prob 3 | Total | Note |
  971. |---+---------+--------+--------+--------+-------+------|
  972. | ! | | P1 | P2 | P3 | Tot | |
  973. | # | Maximum | 10 | 15 | 25 | 50 | 10.0 |
  974. | ^ | | m1 | m2 | m3 | mt | |
  975. |---+---------+--------+--------+--------+-------+------|
  976. | # | Peter | 10 | 8 | 23 | 41 | 8.2 |
  977. | # | Sara | 6 | 14 | 19 | 39 | 7.8 |
  978. | # | Sam | 2 | 4 | 3 | 9 | 1.8 |
  979. |---+---------+--------+--------+--------+-------+------|
  980. | | Average | | | | 29.7 | |
  981. | ^ | | | | | at | |
  982. | $ | max=50 | | | | | |
  983. |---+---------+--------+--------+--------+-------+------|
  984. #+TBLFM: $6=vsum($P1..$P3)::$7=10*$Tot/$max;%.1f::$at=vmean(&II);%.1f
  985. Important: Please note that for these special tables, recalculating the
  986. table with `C-u C-c *' will only affect rows that are marked `#' or
  987. `*', and named fields. The column formulas are not applied in rows
  988. with empty first field.
  989. The marking characters have the following meaning:
  990. `!'
  991. The fields in this line define names for the columns, so that you
  992. may refer to a column as `$Tot' instead of `$6'.
  993. `^'
  994. This row defines names for the fields _above_ the row. With such
  995. a definition, any formula in the table may use `$m1' to refer to
  996. the value `10'. Also, named fields can have their own formula
  997. associated with them.
  998. `_'
  999. Similar to `^', but defines names for the fields in the row
  1000. _below_.
  1001. `$'
  1002. Fields in this row can define _parameters_ for formulas. For
  1003. example, if a field in a `$' row contains `max=50', then formulas
  1004. in this table can refer to the value 50 using `$max'. Parameters
  1005. work exactly like constants, only that they can be defined on a
  1006. per-table basis. Changing a parameter and then recalculating the
  1007. table can be useful.
  1008. `#'
  1009. Fields in this row are automatically recalculated when pressing
  1010. <TAB> or <RET> or `S-<TAB>' in this row. Also, this row is
  1011. selected for a global recalculation with `C-u C-c *'. Unmarked
  1012. lines will be left alone by this command.
  1013. `*'
  1014. Selects this line for global recalculation with `C-u C-c *', but
  1015. not for automatic recalculation. Use this when automatic
  1016. recalculation slows down editing too much.
  1017. `'
  1018. Unmarked lines are exempt from recalculation with `C-u C-c *'.
  1019. All lines that should be recalculated should be marked with `#' or
  1020. `*'.
  1021. 
  1022. File: org, Node: Named-field formulas, Next: Editing/debugging formulas, Prev: Advanced features, Up: Table calculations
  1023. 3.3.5 Named-field formulas
  1024. --------------------------
  1025. A named field can have its own formula associated with it. In the
  1026. example above, this is used for the `at' field that contains the
  1027. average result of the students. To enter a formula for a named field,
  1028. just type it into the buffer, preceded by `:='. Or use `C-u C-c ='.
  1029. This equation will be stored below the table like `$name=...'. Any
  1030. recalculation in the table (even if only requested for the current
  1031. line) will also update all named field formulas.
  1032. 
  1033. File: org, Node: Editing/debugging formulas, Next: Appetizer, Prev: Named-field formulas, Up: Table calculations
  1034. 3.3.6 Editing and debugging formulas
  1035. ------------------------------------
  1036. To edit a column or field formula, use the commands `C-c =' and `C-u
  1037. C-c =', respectively. The currently active expression is then
  1038. presented as default in the minibuffer, where it may be edited.
  1039. Note that making a table field blank does not remove the formula
  1040. associated with the field - during the next recalculation the field
  1041. will be filled again. To remove a formula from a field, you have to
  1042. give an empty reply when prompted for the formula, or to edit the
  1043. `#+TBLFM' line.
  1044. You may edit the `#+TBLFM' directly and re-apply the changed
  1045. equations with `C-c C-c' in that line, or with the normal recalculation
  1046. commands in the table.
  1047. In particular for large tables with many formulas, it is convenient
  1048. to use the command `C-c '' to edit the formulas of the current table in
  1049. a separate buffer. That buffer will show the formulas one per line,
  1050. and you are free to edit, add and remove formulas. Press `C-c ?' on a
  1051. `$...' expression to get information about its interpretation.
  1052. Exiting the buffer with `C-c C-c' only stores the modified formulas
  1053. below the table. Exiting with `C-u C-c C-c' also applies them to the
  1054. entire table. `C-c C-q' exits without installing the changes.
  1055. When the evaluation of a formula leads to an error, the field content
  1056. becomes the string `#ERROR'. If you would like see what is going on
  1057. during variable substitution and calculation in order to find a bug,
  1058. turn on formula debugging in the menu and repeat the calculation, for
  1059. example by pressing `C-c = <RET>' in a field. Detailed information
  1060. will be displayed.
  1061. 
  1062. File: org, Node: Appetizer, Prev: Editing/debugging formulas, Up: Table calculations
  1063. 3.3.7 Appetizer
  1064. ---------------
  1065. Finally, just to whet your appetite on what can be done with the
  1066. fantastic `calc' package, here is a table that computes the Taylor
  1067. series for a couple of functions (homework: try that with Excel :-)
  1068. |---+-------------+---+-----+--------------------------------------|
  1069. | | Func | n | x | Result |
  1070. |---+-------------+---+-----+--------------------------------------|
  1071. | # | exp(x) | 1 | x | 1 + x |
  1072. | # | exp(x) | 2 | x | 1 + x + x^2 / 2 |
  1073. | # | exp(x) | 3 | x | 1 + x + x^2 / 2 + x^3 / 6 |
  1074. | # | x^2+sqrt(x) | 2 | x=0 | x*(0.5 / 0) + x^2 (2 - 0.25 / 0) / 2 |
  1075. | # | x^2+sqrt(x) | 2 | x=1 | 2 + 2.5 x - 2.5 + 0.875 (x - 1)^2 |
  1076. | * | tan(x) | 3 | x | 0.0175 x + 1.77e-6 x^3 |
  1077. |---+-------------+---+-----+--------------------------------------|
  1078. #+TBLFM: $5=taylor($2,$4,$3);n3
  1079. 
  1080. File: org, Node: orgtbl-mode, Next: table.el, Prev: Table calculations, Up: Tables
  1081. 3.4 The Orgtbl minor mode
  1082. =========================
  1083. If you like the intuitive way the Org-mode table editor works, you
  1084. might also want to use it in other modes like text-mode or mail-mode.
  1085. The minor mode Orgtbl-mode makes this possible. You can always toggle
  1086. the mode with `M-x orgtbl-mode'. To turn it on by default, for example
  1087. in mail mode, use
  1088. (add-hook 'mail-mode-hook 'turn-on-orgtbl)
  1089. 
  1090. File: org, Node: table.el, Prev: orgtbl-mode, Up: Tables
  1091. 3.5 The `table.el' package
  1092. ==========================
  1093. Complex ASCII tables with automatic line wrapping, column- and
  1094. row-spanning, and alignment can be created using the Emacs table
  1095. package by Takaaki Ota (`http://sourceforge.net/projects/table', and
  1096. also part of Emacs 22). When <TAB> or `C-c C-c' is pressed in such a
  1097. table, Org-mode will call `table-recognize-table' and move the cursor
  1098. into the table. Inside a table, the keymap of Org-mode is inactive.
  1099. In order to execute Org-mode-related commands, leave the table.
  1100. `C-c C-c'
  1101. Recognize `table.el' table. Works when the cursor is in a
  1102. table.el table.
  1103. `C-c ~'
  1104. Insert a table.el table. If there is already a table at point,
  1105. this command converts it between the table.el format and the
  1106. Org-mode format. See the documentation string of the command
  1107. `org-convert-table' for the restrictions under which this is
  1108. possible.
  1109. 
  1110. File: org, Node: Hyperlinks, Next: TODO items, Prev: Tables, Up: Top
  1111. 4 Hyperlinks
  1112. ************
  1113. Just like HTML, Org-mode provides links inside a file, and external
  1114. links to other files, Usenet articles, emails, and much more.
  1115. * Menu:
  1116. * Link format:: How links in Org-mode are formatted
  1117. * Internal links:: Links to other places in the current file
  1118. * External links:: URL-like links to the world
  1119. * Handling links:: Creating, inserting and following
  1120. * Link abbreviations:: Shortcuts for writing complex links
  1121. * Search options:: Linking to a specific location
  1122. * Custom searches:: When the default search is not enough
  1123. * Remember:: Org-trees store quick notes
  1124. 
  1125. File: org, Node: Link format, Next: Internal links, Prev: Hyperlinks, Up: Hyperlinks
  1126. 4.1 Link format
  1127. ===============
  1128. Org-mode will recognize plain URL-like links and activate them as
  1129. clickable links. The general link format, however, looks like this:
  1130. [[link][description]] or alternatively [[link]]
  1131. Once a link in the buffer is complete (all brackets present),
  1132. Org-mode will change the display so that `description' is displayed
  1133. instead of `[[link][description]]' and `link' is displayed instead of
  1134. `[[link]]'. Links will be highlighted in the face `org-link', which by
  1135. default is an underlined face. You can directly edit the visible part
  1136. of a link. Note that this can be either the `link' part (if there is
  1137. no description) or the `description' part. To edit also the invisible
  1138. `link' part, use `C-c C-l' with the cursor on the link.
  1139. If you place the cursor at the beginning or just behind the end of
  1140. the displayed text and press <BACKSPACE>, you will remove the
  1141. (invisible) bracket at that location. This makes the link incomplete
  1142. and the internals are again displayed as plain text. Inserting the
  1143. missing bracket hides the link internals again. To show the internal
  1144. structure of all links, use the menu entry `Org->Hyperlinks->Literal
  1145. links'.
  1146. 
  1147. File: org, Node: Internal links, Next: External links, Prev: Link format, Up: Hyperlinks
  1148. 4.2 Internal links
  1149. ==================
  1150. If the link does not look like a URL, it is considered to be internal in
  1151. the current file. Links such as `[[My Target]]' or `[[My Target][Find
  1152. my target]]' lead to a text search in the current file. The link can
  1153. be followed with `C-c C-o' when the cursor is on the link, or with a
  1154. mouse click (*note Handling links::). The preferred match for such a
  1155. link is a dedicated target: the same string in double angular brackets.
  1156. Targets may be located anywhere; often it is convenient to put them
  1157. into a comment line. For example
  1158. # <<My Target>>
  1159. In HTML export (*note HTML export::), such targets will become named
  1160. anchors for direct access through `http' links(1).
  1161. If no dedicated target exists, Org-mode will search for the words in
  1162. the link. In the above example the search would be for `my target'.
  1163. Links starting with a star like `*My Target' restrict the search to
  1164. headlines. When searching, Org-mode will first try an exact match, but
  1165. then move on to more and more lenient searches. For example, the link
  1166. `[[*My Targets]]' will find any of the following:
  1167. ** My targets
  1168. ** TODO my targets are bright
  1169. ** my 20 targets are
  1170. To insert a link targeting a headline, in-buffer completion can be
  1171. used. Just type a star followed by a few optional letters into the
  1172. buffer and press `M-<TAB>'. All headlines in the current buffer will be
  1173. offered as completions. *Note Handling links::, for more commands
  1174. creating links.
  1175. Following a link pushes a mark onto Org-mode's own mark ring. You
  1176. can return to the previous position with `C-c &'. Using this command
  1177. several times in direct succession goes back to positions recorded
  1178. earlier.
  1179. * Menu:
  1180. * Radio targets:: Make targets trigger links in plain text.
  1181. * CamelCase links:: Activating CamelCase words as links
  1182. ---------- Footnotes ----------
  1183. (1) Note that text before the first headline will never be exported,
  1184. so the first such target must be after the first headline.
  1185. 
  1186. File: org, Node: Radio targets, Next: CamelCase links, Prev: Internal links, Up: Internal links
  1187. 4.2.1 Radio targets
  1188. -------------------
  1189. You can configure Org-mode to link any occurrences of certain target
  1190. names in normal text. So without explicitly creating a link, the text
  1191. connects to the target radioing its position. Radio targets are
  1192. enclosed by triple angular brackets. For example, a target `<<<My
  1193. Target>>>' causes each occurrence of `my target' in normal text to
  1194. become activated as a link. The Org-mode file is scanned automatically
  1195. for radio targets only when the file is first loaded into Emacs. To
  1196. update the target list during editing, press `C-c C-c' with the cursor
  1197. on or at a target.
  1198. 
  1199. File: org, Node: CamelCase links, Prev: Radio targets, Up: Internal links
  1200. 4.2.2 CamelCase words as links
  1201. ------------------------------
  1202. Org-mode also supports CamelCase words as links. This feature is not
  1203. turned on by default because of the inconsistencies this system suffers
  1204. from. It is also possible that this feature will disappear entirely in
  1205. a future version of Org-mode. To activate CamelCase words as links, you
  1206. need to customize the option `org-activate-links'. A CamelCase word
  1207. then leads to a text search such that `CamelCaseLink' is equivalent to
  1208. `[[camel case link]]'.
  1209. 
  1210. File: org, Node: External links, Next: Handling links, Prev: Internal links, Up: Hyperlinks
  1211. 4.3 External links
  1212. ==================
  1213. Org-mode supports links to files, websites, Usenet and email messages,
  1214. and BBDB database entries. External links are URL-like locators. They
  1215. start with a short identifying string followed by a colon. There can be
  1216. no space after the colon. The following list shows examples for each
  1217. link type.
  1218. http://www.astro.uva.nl/~dominik on the web
  1219. file:/home/dominik/images/jupiter.jpg file, absolute path
  1220. file:papers/last.pdf file, relative path
  1221. news:comp.emacs Usenet link
  1222. mailto:adent@galaxy.net Mail link
  1223. vm:folder VM folder link
  1224. vm:folder#id VM message link
  1225. vm://myself@some.where.org/folder#id VM on remote machine
  1226. wl:folder WANDERLUST folder link
  1227. wl:folder#id WANDERLUST message link
  1228. mhe:folder MH-E folder link
  1229. mhe:folder#id MH-E message link
  1230. rmail:folder RMAIL folder link
  1231. rmail:folder#id RMAIL message link
  1232. gnus:group GNUS group link
  1233. gnus:group#id GNUS article link
  1234. bbdb:Richard Stallman BBDB link
  1235. shell:ls *.org A shell command
  1236. elisp:(find-file-other-frame "Elisp.org") An elisp form to evaluate
  1237. A link should be enclosed in double brackets and may contain a
  1238. descriptive text to be displayed instead of the url (*note Link
  1239. format::), for example:
  1240. [[http://www.gnu.org/software/emacs/][GNU Emacs]]
  1241. Org-mode also finds external links in the normal text and activates
  1242. them as links. If spaces must be part of the link (for example in
  1243. `bbdb:Richard Stallman'), or you need to remove ambiguities about the
  1244. end of the link, enclose them in angular brackets.
  1245. 
  1246. File: org, Node: Handling links, Next: Link abbreviations, Prev: External links, Up: Hyperlinks
  1247. 4.4 Handling links
  1248. ==================
  1249. Org-mode provides methods to create a link in the correct syntax, to
  1250. insert it into an org-mode file, and to follow the link.
  1251. `C-c l'
  1252. Store a link to the current location. This is a _global_ command
  1253. which can be used in any buffer to create a link. The link will be
  1254. stored for later insertion into an Org-mode buffer (see below).
  1255. For Org-mode files, if there is a `<<target>>' at the cursor, the
  1256. link points to the target. Otherwise it points to the current
  1257. headline. For VM, RMAIL, WANDERLUST, MH-E, GNUS and BBDB buffers,
  1258. the link will indicate the current article/entry. For W3 and W3M
  1259. buffers, the link goes to the current URL. For any other files,
  1260. the link will point to the file, with a search string (*note
  1261. Search options::) pointing to the contents of the current line.
  1262. If there is an active region, the selected words will form the
  1263. basis of the search string. If the automatically created link is
  1264. not working correctly or accurately enough, you can write custom
  1265. functions to select the search string and to do the search for
  1266. particular file types - see *Note Custom searches::. The key
  1267. binding `C-c l' is only a suggestion - see *Note Installation::.
  1268. `C-c C-l'
  1269. Insert a link. This prompts for a link to be inserted into the
  1270. buffer. You can just type a link, using text for an internal
  1271. link, or one of the link type prefixes mentioned in the examples
  1272. above. Through completion, all links stored during the current
  1273. session can be accessed(1). The link will be inserted into the
  1274. buffer, along with a descriptive text. Note that you don't have
  1275. to use this command to insert a link. Links in Org-mode are plain
  1276. text, and you can type or paste them straight into the buffer. By
  1277. using this command, the links are automatically enclosed in double
  1278. brackets, and you will be asked for the optional descriptive text.
  1279. If the link is a `file:' link and the linked file is located in
  1280. the same directory as the current file or a subdirectory of it, the
  1281. path of the file will be inserted relative to the current
  1282. directory.
  1283. `C-u C-c C-l'
  1284. When `C-c C-l' is called with a `C-u' prefix argument, a link to a
  1285. file will be inserted and you may use file name completion to
  1286. select the name of the file. The path to the file is inserted
  1287. relative to the directory of the current org file, if the linked
  1288. file is in the current directory or in a subdirectory of it, or if
  1289. the path is written relative to the current directory using `../'.
  1290. Otherwise an absolute path is used, if possible with `~/' for
  1291. your home directory. You can force an absolute path with two
  1292. `C-u' prefixes.
  1293. `C-c C-l with cursor on existing link'
  1294. When the cursor is on an existing link, `C-c C-l' allows you to
  1295. edit the link and description parts of the link.
  1296. `C-c C-o'
  1297. Open link at point. This will launch a web browser for URLs (using
  1298. `browse-url-at-point'), run vm/mh-e/wanderlust/rmail/gnus/bbdb for
  1299. the corresponding links, and execute the command in a shell link.
  1300. When the cursor is on an internal link, this commands runs the
  1301. corresponding search. When the cursor is on a TAG list in a
  1302. headline, it creates the corresponding TAGS view. If the cursor
  1303. is on a time stamp, it compiles the agenda for that date.
  1304. Furthermore, it will visit text and remote files in `file:' links
  1305. with Emacs and select a suitable application for local non-text
  1306. files. Classification of files is based on file extension only.
  1307. See option `org-file-apps'. If you want to override the default
  1308. application and visit the file with Emacs, use a `C-u' prefix.
  1309. `mouse-2'
  1310. `mouse-1'
  1311. On links, `mouse-2' will open the link just as `C-c C-o' would.
  1312. Under Emacs 22, also `mouse-1' will follow a link.
  1313. `mouse-3'
  1314. Like `mouse-2', but force file links to be opened with Emacs, and
  1315. internal links to be displayed in another window(2).
  1316. `C-c %'
  1317. Push the current position onto the mark ring, to be able to return
  1318. easily. Commands following an internal link do this automatically.
  1319. `C-c &'
  1320. Jump back to a recorded position. A position is recorded by the
  1321. commands following internal links, and by `C-c %'. Using this
  1322. command several times in direct succession moves through a ring of
  1323. previously recorded positions.
  1324. ---------- Footnotes ----------
  1325. (1) After insertion of a stored link, the link will be removed from
  1326. the list of stored links. To keep it in the list later use, use a
  1327. triple `C-u' prefix to `C-c C-l', or configure the option
  1328. `org-keep-stored-link-after-insertion'.
  1329. (2) See the variable `org-display-internal-link-with-indirect-buffer'
  1330. 
  1331. File: org, Node: Link abbreviations, Next: Search options, Prev: Handling links, Up: Hyperlinks
  1332. 4.5 Link abbreviatons
  1333. =====================
  1334. Long URLs can be cumbersome to type, and often many similar links are
  1335. needed in a document. For this you can use link abbreviations. An
  1336. abbreviated link looks like this
  1337. [[linkword::tag][description]]
  1338. where the tag is optional. Such abbreviations are resolved according to
  1339. the information in the variable `org-link-abbrev-alist' that relates
  1340. the linkwords to replacement text. Here is an example:
  1341. (setq org-link-abbrev-alist
  1342. '(("bugzilla" . "http://10.1.2.9/bugzilla/show_bug.cgi?id=")
  1343. ("google" . "http://www.google.com/search?q=")
  1344. ("ads" . "http://adsabs.harvard.edu/cgi-bin/
  1345. nph-abs_connect?author=%s&db_key=AST")))
  1346. If the replacement text contains the string `%s', it will be
  1347. replaced with the tag. Otherwise the tag will be appended to the string
  1348. in order to create the link. You may also specify a function that will
  1349. be called with the tag as the only argument to create the link.
  1350. With the above setting, you could link to a specific bug with
  1351. `[[bugzilla::129]]', search the web for OrgMode with
  1352. `[[google::OrgMode]]' and find out what the Org-mode author is doing
  1353. besides Emacs hacking with `[[ads::Dominik,C]]'.
  1354. If you need special abbreviations just for a single Org-mode buffer,
  1355. you can define them in the file with
  1356. #+LINK: bugzilla http://10.1.2.9/bugzilla/show_bug.cgi?id=
  1357. #+LINK: google http://www.google.com/search?q=%s
  1358. In-buffer completion *note Completion:: can be used after `[' to
  1359. complete link abbreviations.
  1360. 
  1361. File: org, Node: Search options, Next: Custom searches, Prev: Link abbreviations, Up: Hyperlinks
  1362. 4.6 Search options in file links
  1363. ================================
  1364. File links can contain additional information to make Emacs jump to a
  1365. particular location in the file when following a link. This can be a
  1366. line number or a search option after a double(1) colon. For example,
  1367. when the command `C-c l' creates a link (*note Handling links::) to a
  1368. file, it encodes the words in the current line as a search string that
  1369. can be used to find this line back later when following the link with
  1370. `C-c C-o'.
  1371. Here is the syntax of the different ways to attach a search to a file
  1372. link, together with an explanation:
  1373. [[file:~/code/main.c::255]]
  1374. [[file:~/xx.org::My Target]]
  1375. [[file:~/xx.org::*My Target]]
  1376. [[file:~/xx.org::/regexp/]]
  1377. `255'
  1378. Jump to line 255.
  1379. `My Target'
  1380. Search for a link target `<<My Target>>', or do a text search for
  1381. `my target', similar to the search in internal links, see *Note
  1382. Internal links::. In HTML export (*note HTML export::), such a
  1383. file link will become an HTML reference to the corresponding named
  1384. anchor in the linked file.
  1385. `*My Target'
  1386. In an Org-mode file, restrict search to headlines.
  1387. `/regexp/'
  1388. Do a regular expression search for `regexp'. This uses the Emacs
  1389. command `occur' to list all matches in a separate window. If the
  1390. target file is in Org-mode, `org-occur' is used to create a sparse
  1391. tree with the matches.
  1392. As a degenerate case, a file link with an empty file name can be used
  1393. to search the current file. For example, `<file:::find me>' does a
  1394. search for `find me' in the current file, just as `[[find me]]' would.
  1395. ---------- Footnotes ----------
  1396. (1) For backward compatibility, line numbers can also follow a
  1397. single colon.
  1398. 
  1399. File: org, Node: Custom searches, Next: Remember, Prev: Search options, Up: Hyperlinks
  1400. 4.7 Custom Searches
  1401. ===================
  1402. The default mechanism for creating search strings and for doing the
  1403. actual search related to a file link may not work correctly in all
  1404. cases. For example, BibTeX database files have many entries like
  1405. `year="1993"' which would not result in good search strings, because
  1406. the only unique identification for a BibTeX entry is the citation key.
  1407. If you come across such a problem, you can write custom functions to
  1408. set the right search string for a particular file type, and to do the
  1409. search for the string in the file. Using `add-hook', these functions
  1410. need to be added to the hook variables
  1411. `org-create-file-search-functions' and
  1412. `org-execute-file-search-functions'. See the docstring for these
  1413. variables for more information. Org-mode actually uses this mechanism
  1414. for BibTeX database files, and you can use the corresponding code as an
  1415. implementation example. Search for `BibTeX links' in the source file.
  1416. 
  1417. File: org, Node: Remember, Prev: Custom searches, Up: Hyperlinks
  1418. 4.8 Remember
  1419. ============
  1420. Another way to create org entries with links to other files is through
  1421. the _Remember_ package by John Wiegley. _Remember_ lets you store
  1422. quick notes with little interruption of your work flow. See
  1423. `http://www.emacswiki.org/cgi-bin/wiki/RememberMode' for more
  1424. information. The notes produced by _Remember_ can be stored in
  1425. different ways, and Org-mode files are a good target. Org-mode allows
  1426. you to file away notes either to a default file, or directly to the
  1427. correct location in your Org-mode outline tree. The following
  1428. customization will tell _Remember_ to use org files as target, and to
  1429. create annotations compatible with Org-mode links.
  1430. (setq org-directory "~/path/to/my/orgfiles/")
  1431. (setq org-default-notes-file "~/.notes")
  1432. (setq remember-annotation-functions '(org-remember-annotation))
  1433. (setq remember-handler-functions '(org-remember-handler))
  1434. (add-hook 'remember-mode-hook 'org-remember-apply-template)
  1435. In combination with Org-mode, you can use templates to generate
  1436. different types of remember notes. For example, if you would like to
  1437. use one template to create general TODO entries, and another one for
  1438. journal entries, you could use:
  1439. (setq org-remember-templates
  1440. '((?t "* TODO %?\n %i\n %a" "~/org/TODO.org")
  1441. (?j "* %U %?\n\n %i\n %a" "~/org/JOURNAL.org")))
  1442. In these entries, the character specifies how to select the template,
  1443. the first string specifies the template, and the (optional) second
  1444. string specifies a default file (overruling `org-default-notes-file')
  1445. as a target for this note.
  1446. When you call `M-x remember' to remember something, org will prompt
  1447. for a key to select the template and then prepare the buffer like
  1448. * TODO
  1449. <file:link to where you called remember>
  1450. or
  1451. * [2006-03-21 Tue 15:37]
  1452. <file:link to where you called remember>
  1453. See the variable `org-remember-templates' for more details.
  1454. When you are finished composing a note with remember, you have to
  1455. press `C-c C-c' to file the note away. The handler first prompts for a
  1456. target file - if you press <RET>, the value of `org-default-notes-file'
  1457. is used. Then the command offers the headings tree of the selected
  1458. file. You can either immediately press <RET> to get the note appended
  1459. to the file. Or you can use vertical cursor motion (<up> and <down>)
  1460. and visibility cycling (<TAB>) to find a better place. Pressing <RET>
  1461. or <left> or <right> leads to the following result.
  1462. Cursor Key Note gets inserted
  1463. position
  1464. buffer-start <RET> as level 2 heading at end of file
  1465. on headline <RET> as sublevel of the heading at cursor
  1466. <left> as same level, before current heading
  1467. <right> as same level, after current heading
  1468. not on <RET> at cursor position, level taken from context.
  1469. headline Or use prefix arg to specify level
  1470. manually.
  1471. So a fast way to store the note is to press `C-c C-c <RET> <RET>' to
  1472. append it to the default file. Even shorter would be `C-u C-c C-c',
  1473. which does the same without even showing the tree. But with little
  1474. extra effort, you can push it directly to the correct location.
  1475. Before inserting the text into a tree, the function ensures that the
  1476. text has a headline, i.e. a first line that starts with a `*'. If not,
  1477. a headline is constructed from the current date and some additional
  1478. data. If the variable `org-adapt-indentation' is non-nil, the entire
  1479. text is also indented so that it starts in the same column as the
  1480. headline (after the asterisks).
  1481. 
  1482. File: org, Node: TODO items, Next: Timestamps, Prev: Hyperlinks, Up: Top
  1483. 5 TODO items
  1484. ************
  1485. Org-mode does not maintain TODO lists as a separate document. TODO
  1486. items are an integral part of the notes file, because TODO items
  1487. usually come up while taking notes! With Org-mode, you simply mark any
  1488. entry in a tree as being a TODO item. In this way, the information is
  1489. not duplicated, and the entire context from which the item emerged is
  1490. always present when you check.
  1491. Of course, this technique causes TODO items to be scattered
  1492. throughout your file. Org-mode provides methods to give you an
  1493. overview over all things you have to do.
  1494. * Menu:
  1495. * TODO basics:: Marking and displaying TODO entries
  1496. * TODO extensions:: Workflow and assignments
  1497. * Priorities:: Some things are more important than others
  1498. * Breaking down tasks:: Splitting a task into managable pieces
  1499. * Checkboxes:: Tick-off lists
  1500. 
  1501. File: org, Node: TODO basics, Next: TODO extensions, Prev: TODO items, Up: TODO items
  1502. 5.1 Basic TODO functionality
  1503. ============================
  1504. Any headline can become a TODO item by starting it with the word TODO,
  1505. for example:
  1506. *** TODO Write letter to Sam Fortune
  1507. The most important commands to work with TODO entries are:
  1508. `C-c C-t'
  1509. Rotate the TODO state of the current item between
  1510. ,-> (unmarked) -> TODO -> DONE --.
  1511. '--------------------------------'
  1512. The same rotation can also be done "remotely" from the timeline and
  1513. agenda buffers with the `t' command key (*note Agenda commands::).
  1514. `S-<right>'
  1515. `S-<left>'
  1516. Select the following/preceding TODO state, similar to cycling.
  1517. Mostly useful if more than two TODO states are possible (*note
  1518. TODO extensions::).
  1519. `C-c C-v'
  1520. View TODO items in a _sparse tree_ (*note Sparse trees::). Folds
  1521. the entire buffer, but shows all TODO items and the headings
  1522. hierarchy above them. With prefix arg, show also the DONE
  1523. entries. With numerical prefix N, show the tree for the Nth
  1524. keyword in the variable `org-todo-keywords'.
  1525. `C-c a t'
  1526. Show the global TODO list. This collects the TODO items from all
  1527. agenda files (*note Agenda views::) into a single buffer. The
  1528. buffer is in `agenda-mode', so there are commands to examine and
  1529. manipulate the TODO entries directly from that buffer (*note
  1530. Agenda commands::). *Note Global TODO list::, for more
  1531. information.
  1532. 
  1533. File: org, Node: TODO extensions, Next: Priorities, Prev: TODO basics, Up: TODO items
  1534. 5.2 Extended use of TODO keywords
  1535. =================================
  1536. The default implementation of TODO entries is just two states: TODO and
  1537. DONE. You can, however, use the TODO feature for more complicated
  1538. things by configuring the variables `org-todo-keywords' and
  1539. `org-todo-interpretation'. Using special setup, you can even use TODO
  1540. keywords in different ways in different org files.
  1541. Note that tags are another way to classify headlines in general and
  1542. TODO items in particular (*note Tags::).
  1543. * Menu:
  1544. * Workflow states:: From TODO to DONE in steps
  1545. * TODO types:: I do this, Fred the rest
  1546. * Per file keywords:: Different files, different requirements
  1547. 
  1548. File: org, Node: Workflow states, Next: TODO types, Prev: TODO extensions, Up: TODO extensions
  1549. 5.2.1 TODO keywords as workflow states
  1550. --------------------------------------
  1551. You can use TODO keywords to indicate different states in the process
  1552. of working on an item, for example:
  1553. (setq org-todo-keywords '("TODO" "FEEDBACK" "VERIFY" "DONE")
  1554. org-todo-interpretation 'sequence)
  1555. Changing these variables only becomes effective in a new Emacs
  1556. session. With this setup, the command `C-c C-t' will cycle an entry
  1557. from TODO to FEEDBACK, then to VERIFY, and finally to DONE. You may
  1558. also use a prefix argument to quickly select a specific state. For
  1559. example `C-3 C-c C-t' will change the state immediately to VERIFY. If
  1560. you define many keywords, you can use in-buffer completion (see *Note
  1561. Completion::) to insert these words into the buffer.
  1562. 
  1563. File: org, Node: TODO types, Next: Per file keywords, Prev: Workflow states, Up: TODO extensions
  1564. 5.2.2 TODO keywords as types
  1565. ----------------------------
  1566. The second possibility is to use TODO keywords to indicate different
  1567. types of action items. For example, you might want to indicate that
  1568. items are for "work" or "home". If you are into David Allen's _Getting
  1569. Things DONE_, you might want to use todo types `NEXTACTION', `WAITING',
  1570. `MAYBE'. Or, when you work with several people on a single project,
  1571. you might want to assign action items directly to persons, by using
  1572. their names as TODO keywords. This would be set up like this:
  1573. (setq org-todo-keywords '("Fred" "Sara" "Lucy" "Mike" "DONE")
  1574. org-todo-interpretation 'type)
  1575. In this case, different keywords do not indicate a sequence, but
  1576. rather different types. So it is normally not useful to change from
  1577. one type to another. Therefore, in this case the behavior of the
  1578. command `C-c C-t' is changed slightly(1). When used several times in
  1579. succession, it will still cycle through all names. But when you return
  1580. to the item after some time and execute `C-c C-t' again, it will switch
  1581. from each name directly to DONE. Use prefix arguments or completion to
  1582. quickly select a specific name. You can also review the items of a
  1583. specific TODO type in a sparse tree by using a numeric prefix to `C-c
  1584. C-v'. For example, to see all things Lucy has to do, you would use
  1585. `C-3 C-c C-v'. To collect Lucy's items from all agenda files into a
  1586. single buffer, you would use the prefix arg as well when creating the
  1587. global todo list: `C-3 C-c t'.
  1588. ---------- Footnotes ----------
  1589. (1) This is also true for the `t' command in the timeline and agenda
  1590. buffers.
  1591. 
  1592. File: org, Node: Per file keywords, Prev: TODO types, Up: TODO extensions
  1593. 5.2.3 Setting up TODO keywords for individual files
  1594. ---------------------------------------------------
  1595. It can be very useful to use different aspects of the TODO mechanism in
  1596. different files, which is not possible with the global settings
  1597. described above. For file-local settings, you need to add special
  1598. lines to the file which set the keywords and interpretation for that
  1599. file only. For example, to set one of the two examples discussed
  1600. above, you need one of the following lines, starting in column zero
  1601. anywhere in the file:
  1602. #+SEQ_TODO: TODO FEEDBACK VERIFY DONE
  1603. #+TYP_TODO: Fred Sara Lucy Mike DONE
  1604. To make sure you are using the correct keyword, type `#+' into the
  1605. buffer and then use `M-<TAB>' completion.
  1606. Remember that the last keyword must always mean that the item is DONE
  1607. (although you may use a different word). Also note that in each file,
  1608. only one of the two aspects of TODO keywords can be used. After
  1609. changing one of these lines, use `C-c C-c' with the cursor still in the
  1610. line to make the changes known to Org-mode(1).
  1611. If you want to use very many keywords, for example when working with
  1612. a large group of people, you may split the names over several lines:
  1613. #+TYP_TODO: Fred Sara Lucy Mike
  1614. #+TYP_TODO: Luis George Jules Jessica
  1615. #+TYP_TODO: Kim Arnold Peter
  1616. #+TYP_TODO: DONE
  1617. ---------- Footnotes ----------
  1618. (1) Org-mode parses these lines only when Org-mode is activated
  1619. after visiting a file. `C-c C-c' with the cursor in a line starting
  1620. with `#+' is simply restarting Org-mode for the current buffer.
  1621. 
  1622. File: org, Node: Priorities, Next: Breaking down tasks, Prev: TODO extensions, Up: TODO items
  1623. 5.3 Priorities
  1624. ==============
  1625. If you use Org-mode extensively to organize your work, you may end up
  1626. with a number of TODO entries so large that you'd like to prioritize
  1627. them. This can be done by placing a _priority cookie_ into the
  1628. headline, like this
  1629. *** TODO [#A] Write letter to Sam Fortune
  1630. With its standard setup, Org-mode supports priorities `A', `B', and
  1631. `C'. `A' is the highest priority. An entry without a cookie is
  1632. treated as priority `B'. Priorities make a difference only in the
  1633. agenda (*note Weekly/Daily agenda::).
  1634. `C-c ,'
  1635. Set the priority of the current headline. The command prompts for
  1636. a priority character `A', `B' or `C'. When you press <SPC>
  1637. instead, the priority cookie is removed from the headline. The
  1638. priorities can also be changed "remotely" from the timeline and
  1639. agenda buffer with the `,' command (*note Agenda commands::).
  1640. `S-<up>'
  1641. `S-<down>'
  1642. Increase/decrease priority of current headline. Note that these
  1643. keys are also used to modify time stamps (*note Creating
  1644. timestamps::). Furthermore, these keys are also used by CUA-mode
  1645. (*note Conflicts::).
  1646. 
  1647. File: org, Node: Breaking down tasks, Next: Checkboxes, Prev: Priorities, Up: TODO items
  1648. 5.4 Breaking tasks down into subtasks
  1649. =====================================
  1650. It is often advisable to break down large tasks into smaller, managable
  1651. subtasks. You can do this by creating an outline tree below a TODO
  1652. item, with detailed subtasks on the tree(1). Another possibility is
  1653. the use of checkboxes to ideantify (a hierarchy of) a large number of
  1654. subtasks (*note Checkboxes::).
  1655. ---------- Footnotes ----------
  1656. (1) To keep subtasks out of the global TODO list, see the
  1657. `org-agenda-todo-list-sublevels'.
  1658. 
  1659. File: org, Node: Checkboxes, Prev: Breaking down tasks, Up: TODO items
  1660. 5.5 Checkboxes
  1661. ==============
  1662. Every item in a plain list (*note Plain lists::) can be made a checkbox
  1663. by starting it with the string `[ ]'. This feature is similar to TODO
  1664. items (*note TODO items::), but more lightweight. Checkboxes are not
  1665. included into the global TODO list, so they are often great to split a
  1666. task into a number of simple steps. Or you can use them in a shopping
  1667. list. To toggle a checkbox, use `C-c C-c', or try Piotr Zielinski's
  1668. `org-mouse.el'. Here is an example of a checkbox list.
  1669. * TODO Organize party [3/6]
  1670. - call people [1/3]
  1671. - [ ] Peter
  1672. - [X] Sarah
  1673. - [ ] Sam
  1674. - [X] order food
  1675. - [ ] think about what music to play
  1676. - [X] talk to the neighbors
  1677. The `[3/6]' and `[1/3]' in the first and second line are cookies
  1678. indicating how many checkboxes are present in this entry, and how many
  1679. of them have been checked off. This can give you an idea on how many
  1680. checkboxes remain, even without opening a folded entry. The cookies
  1681. can be placed into a headline or into (the first line of) a plain list
  1682. item. Each cookie covers all checkboxes structurally below that
  1683. headline/item. You have to insert the cookie yourself by typing either
  1684. `[/]' or `[%]'. In the first case you get an `n out of m' result, in
  1685. the second case you get information about the percentage of checkboxes
  1686. checked (in the above example, this would be `[50%]' and `[33%],
  1687. respectively').
  1688. The following commands work with checkboxes:
  1689. `C-c C-c'
  1690. Toggle checkbox at point.
  1691. `C-c C-x C-b'
  1692. Toggle checkbox at point.
  1693. - If there is an active region, toggle the first checkbox in
  1694. the region and set all remaining boxes to the same status as
  1695. the first. If you want to toggle all boxes in the region
  1696. independently, use a prefix argument.
  1697. - If the cursor is in a headline, toggle checkboxes in the
  1698. region between this headline and the next (so _not_ the
  1699. entire subtree).
  1700. - If no active region, just toggle the checkbox at point.
  1701. `M-S-<RET>'
  1702. Insert a new item with a checkbox. This works only if the cursor
  1703. is already in a plain list item (*note Plain lists::).
  1704. `C-c #'
  1705. Update the checkbox statistics in the current outline entry. When
  1706. called with a `C-u' prefix, update the entire file. Checkbox
  1707. statistic cookies are updated automatically if you toggle
  1708. checkboxes with `C-c C-c' and make new ones with `M-S-<RET>'. If
  1709. you delete boxes or add/change them by hand, use this command to
  1710. get things back into synch. Or simply toggle any checkbox twice
  1711. with `C-c C-c'.
  1712. 
  1713. File: org, Node: Timestamps, Next: Tags, Prev: TODO items, Up: Top
  1714. 6 Timestamps
  1715. ************
  1716. Items can be labeled with timestamps to make them useful for project
  1717. planning.
  1718. * Menu:
  1719. * Time stamps:: Assigning a time to a tree entry
  1720. * Creating timestamps:: Commands which insert timestamps
  1721. * Progress logging:: Documenting when what work was done.
  1722. 
  1723. File: org, Node: Time stamps, Next: Creating timestamps, Prev: Timestamps, Up: Timestamps
  1724. 6.1 Time stamps, deadlines and scheduling
  1725. =========================================
  1726. A time stamp is a specification of a date (possibly with time) in a
  1727. special format, either `<2003-09-16 Tue>' or `<2003-09-16 Tue 09:39>'.
  1728. A time stamp can appear anywhere in the headline or body of an org-tree
  1729. entry. Its presence allows entries to be shown on specific dates in
  1730. the agenda (*note Weekly/Daily agenda::). We distinguish:
  1731. PLAIN TIME STAMP
  1732. A simple time stamp just assigns a date/time to an item. This is
  1733. just like writing down an appointment in a paper agenda, or like
  1734. writing down an event in a diary, when you want to take note of
  1735. when something happened. In the timeline and agenda displays, the
  1736. headline of an entry associated with a plain time stamp will be
  1737. shown exactly on that date.
  1738. TIME STAMP RANGE
  1739. Two time stamps connected by `--' denote a time range. The
  1740. headline will be shown on the first and last day of the range, and
  1741. on any dates that are displayed and fall in the range. Here is an
  1742. example:
  1743. ** Meeting in Amsterdam
  1744. <2004-08-23 Mon>--<2004-08-26 Thu>
  1745. TIME STAMP WITH SCHEDULED KEYWORD
  1746. If a time stamp is preceded by the word `SCHEDULED:', it means you
  1747. are planning to start working on that task on the given date. So
  1748. this is not about recording an event, but about planning your
  1749. work. The headline will be listed under the given date. In
  1750. addition, a reminder that the scheduled date has passed will be
  1751. present in the compilation for _today_, until the entry is marked
  1752. DONE. I.e., the task will automatically be forwarded until
  1753. completed.
  1754. *** TODO Call Trillian for a date on New Years Eve.
  1755. SCHEDULED: <2004-12-25 Sat>
  1756. TIME STAMP WITH DEADLINE KEYWORD
  1757. If a time stamp is preceded by the word `DEADLINE:', the task
  1758. (most likely a TODO item) is supposed to be finished on that date,
  1759. and it will be listed then. In addition, the compilation for
  1760. _today_ will carry a warning about the approaching or missed
  1761. deadline, starting `org-deadline-warning-days' before the due
  1762. date, and continuing until the entry is marked DONE. An example:
  1763. *** TODO write article about the Earth for the Guide
  1764. The editor in charge is <bbdb:Ford Prefect>
  1765. DEADLINE: <2004-02-29 Sun>
  1766. TIME STAMP WITH CLOSED KEYWORD
  1767. When `org-log-done' is non-nil, Org-mode will automatically insert
  1768. a special time stamp each time a TODO entry is marked done (*note
  1769. Progress logging::). This time stamp is enclosed in square
  1770. brackets instead of angular brackets.
  1771. TIME RANGE WITH CLOCK KEYWORD
  1772. When using the clock to time the work that is being done on
  1773. specific items, time ranges preceded by the CLOCK keyword are
  1774. inserted automatically into the file. The time stamps are
  1775. enclosed in square brackets instead of angular brackets. *Note
  1776. Clocking work time::.
  1777. 
  1778. File: org, Node: Creating timestamps, Next: Progress logging, Prev: Time stamps, Up: Timestamps
  1779. 6.2 Creating timestamps
  1780. =======================
  1781. For Org-mode to recognize time stamps, they need to be in the specific
  1782. format. All commands listed below produce time stamps in the correct
  1783. format.
  1784. `C-c .'
  1785. Prompt for a date and insert a corresponding time stamp. When the
  1786. cursor is at a previously used time stamp, it is updated to NOW.
  1787. When this command is used twice in succession, a time range is
  1788. inserted.
  1789. `C-u C-c .'
  1790. Like `C-c .', but use the alternative format which contains date
  1791. and time. The default time can be rounded to multiples of 5
  1792. minutes, see the option `org-time-stamp-rounding-minutes'.
  1793. `C-c !'
  1794. Like `C-c .', but insert an inactive time stamp not triggering the
  1795. agenda.
  1796. `C-c <'
  1797. Insert a time stamp corresponding to the cursor date in the
  1798. Calendar.
  1799. `C-c >'
  1800. Access the Emacs calendar for the current date. If there is a
  1801. timestamp in the current line, goto the corresponding date instead.
  1802. `C-c C-o'
  1803. Access the agenda for the date given by the time stamp at point
  1804. (*note Weekly/Daily agenda::).
  1805. `C-c C-d'
  1806. Insert `DEADLINE' keyword along with a stamp. The insertion will
  1807. happen in the line directly following the headline.
  1808. `C-c C-w'
  1809. Create a sparse tree with all deadlines that are either past-due,
  1810. or which will become due within `org-deadline-warning-days'. With
  1811. `C-u' prefix, show all deadlines in the file. With a numeric
  1812. prefix, check that many days. For example, `C-1 C-c C-w' shows
  1813. all deadlines due tomorrow.
  1814. `C-c C-s'
  1815. Insert `SCHEDULED' keyword along with a stamp. The insertion will
  1816. happen in the line directly following the headline. Any CLOSED
  1817. timestamp will be removed.
  1818. `S-<left>'
  1819. `S-<right>'
  1820. Change date at cursor by one day. These key bindings conflict with
  1821. CUA-mode (*note Conflicts::).
  1822. `S-<up>'
  1823. `S-<down>'
  1824. Change the item under the cursor in a timestamp. The cursor can
  1825. be on a year, month, day, hour or minute. Note that if the cursor
  1826. is not at a time stamp, these same keys modify the priority of an
  1827. item. (*note Priorities::). The key bindings also conflict with
  1828. CUA-mode (*note Conflicts::).
  1829. `C-c C-y'
  1830. Evaluate a time range by computing the difference between start and
  1831. end. With prefix arg, insert result after the time range (in a
  1832. table: into the following column).
  1833. * Menu:
  1834. * The date/time prompt::
  1835. 
  1836. File: org, Node: The date/time prompt, Prev: Creating timestamps, Up: Creating timestamps
  1837. 6.2.1 The date/time prompt
  1838. --------------------------
  1839. When Org-mode prompts for a date/time, the prompt suggests to enter an
  1840. ISO date. But it will in fact accept any string containing some date
  1841. and/or time information. You can, for example, use `C-y' to paste a
  1842. (possibly multi-line) string copied from an email message. Org-mode
  1843. will find whatever information is in there and will replace anything not
  1844. specified with the current date and time. For example:
  1845. 3-2-5 --> 2003-02-05
  1846. feb 15 --> currentyear-02-15
  1847. sep 12 9 --> 2009-09-12
  1848. 12:45 --> today 12:45
  1849. 22 sept 0:34 --> currentyear-09-22 0:34
  1850. 12 --> currentyear-currentmonth-12
  1851. Fri --> nearest Friday (today or later)
  1852. The function understands English month and weekday abbreviations. If
  1853. you want to use unabbreviated names and/or other languages, configure
  1854. the variables `parse-time-months' and `parse-time-weekdays'.
  1855. Parallel to the minibuffer prompt, a calendar is popped up(1). You
  1856. can control the calendar fully from the minibuffer:
  1857. `<'
  1858. Scroll calendar backwards by one month.
  1859. `>'
  1860. Scroll calendar forwards by one month.
  1861. `mouse-1'
  1862. Select date by clicking on it.
  1863. `S-<right>'
  1864. One day forward.
  1865. `S-<left>'
  1866. One day back.
  1867. `S-<down>'
  1868. One week forward.
  1869. `S-<up>'
  1870. One week back.
  1871. `M-S-<right>'
  1872. One month forward.
  1873. `M-S-<left>'
  1874. One month back.
  1875. `<RET>'
  1876. Choose date in calendar (only if nothing typed into minibuffer).
  1877. ---------- Footnotes ----------
  1878. (1) If you don't need/want the calendar, configure the variable
  1879. `org-popup-calendar-for-date-prompt'.
  1880. 
  1881. File: org, Node: Progress logging, Prev: Creating timestamps, Up: Timestamps
  1882. 6.3 Progress Logging
  1883. ====================
  1884. Org-mode can automatically record a time stamp when you mark a TODO item
  1885. as DONE. You can also measure precisely the time you spent on specific
  1886. items in a project by starting and stopping a clock when you start and
  1887. stop working on an aspect of a project.
  1888. * Menu:
  1889. * Closing items:: When was this entry marked DONE?
  1890. * Clocking work time:: When exactly did you work on this item?
  1891. 
  1892. File: org, Node: Closing items, Next: Clocking work time, Prev: Progress logging, Up: Progress logging
  1893. 6.3.1 Closing items
  1894. -------------------
  1895. If you want to keep track of _when_ a certain TODO item was finished,
  1896. turn on logging with
  1897. (setq org-log-done t)
  1898. Then each time you turn a TODO entry into DONE using either `C-c C-t'
  1899. in the Org-mode buffer or `t' in the agenda buffer, a line `CLOSED:
  1900. [timestamp]' will be inserted just after the headline. If you turn the
  1901. entry back into a TODO item again through further state cycling, that
  1902. line will be removed again. In the timeline (*note Timeline::) and in
  1903. the agenda (*note Weekly/Daily agenda::), you can then use the `l' key
  1904. to display the TODO items closed on each day, giving you an overview of
  1905. what has been done on a day. See the variable `org-log-done' for the
  1906. possibility to record an additional note together with a timestamp.
  1907. 
  1908. File: org, Node: Clocking work time, Prev: Closing items, Up: Progress logging
  1909. 6.3.2 Clocking work time
  1910. ------------------------
  1911. Org-mode allows you to clock the time you spent on specific tasks in a
  1912. project. When you start working on an item, you can start the clock.
  1913. When you stop working on that task, or when you mark the task done, the
  1914. clock is stopped and the corresponding time interval is recorded. It
  1915. also computes the total time spent on each subtree of a project.
  1916. `C-c C-x C-i'
  1917. Start the clock on the current item (clock-in). This inserts the
  1918. CLOCK keyword together with a timestamp.
  1919. `C-c C-x C-o'
  1920. Stop the clock (clock-out). The inserts another timestamp at the
  1921. same location where the clock was last started. It also directly
  1922. computes the resulting time in inserts it after the time range as
  1923. `=> HH:MM'.
  1924. `C-c C-y'
  1925. Recompute the time interval after changing one of the time stamps.
  1926. This is only necessary if you edit the time stamps directly. If
  1927. you change them with `S-<cursor>' keys, the update is automatic.
  1928. `C-c C-t'
  1929. Changing the TODO state of an item to DONE automatically stops the
  1930. clock if it is running in this same item.
  1931. `C-c C-x C-x'
  1932. Cancel the current clock. This is useful if a clock was started by
  1933. mistake, or if you ended up working on something else.
  1934. `C-c C-x C-d'
  1935. Display time summaries for each subtree in the current buffer.
  1936. This puts overlays at the end of each headline, showing the total
  1937. time recorded under that heading, including the time of any
  1938. subheadings. You can use visibility cycling to study the tree, but
  1939. the overlays disappear automatically when the buffer is changed.
  1940. `C-c C-x C-r'
  1941. Insert a dynamic block (*note Dynamic blocks::) containing a clock
  1942. report as an org-mode table into the current file.
  1943. #+BEGIN: clocktable :maxlevel 2 :emphasize nil
  1944. #+END: clocktable
  1945. If such a block already exists, its content is replaced by the new
  1946. table. The `BEGIN' line can specify options:
  1947. :maxlevels Maximum level depth to which times are listed in the table.
  1948. :emphasize When `t', emphasize level one and level two items
  1949. :block The time block to consider. This block is specified relative
  1950. to the current time and may be any of these keywords:
  1951. `today', `yesterday', `thisweek', `lastweek',
  1952. `thismonth', `lastmonth', `thisyear', or `lastyear'.
  1953. :tstart A time string specifying when to start considering times
  1954. :tend A time string specifying when to stop considering times
  1955. So to get a clock summary for the current day, you could write
  1956. #+BEGIN: clocktable :maxlevel 2 :block today
  1957. #+END: clocktable
  1958. and to use a specific time range you could write(1)
  1959. #+BEGIN: clocktable :tstart "<2006-08-10 Thu 10:00>"
  1960. :tend "<2006-08-10 Thu 12:00>"
  1961. #+END: clocktable
  1962. `C-u C-c C-x C-u'
  1963. Update all dynamic blocks (*note Dynamic blocks::). This is
  1964. useful if you have several clocktable blocks in a buffer.
  1965. The `l' key may be used in the timeline (*note Timeline::) and in
  1966. the agenda (*note Weekly/Daily agenda::) to show which tasks have been
  1967. worked on or closed during a day.
  1968. See the variable `org-log-done' for the possibility to record an
  1969. additional note together with a the clock-out time stamp.
  1970. ---------- Footnotes ----------
  1971. (1) Note that all parameters must be specified in a single line -
  1972. the line is broken here only to fit it onto the manual.
  1973. 
  1974. File: org, Node: Tags, Next: Agenda views, Prev: Timestamps, Up: Top
  1975. 7 Tags
  1976. ******
  1977. If you wish to implement a system of labels and contexts for
  1978. cross-correlating information, an excellent way is to assign tags to
  1979. headlines. Org-mode has extensive support for using tags.
  1980. Every headline can contain a list of tags, at the end of the
  1981. headline. Tags are normal words containing letters, numbers, `_', and
  1982. `@'. Tags must be preceded and followed by a single colon; like
  1983. `:WORK:'. Several tags can be specified like `:WORK:URGENT:'.
  1984. * Menu:
  1985. * Tag inheritance:: Tags use the tree structure of the outline
  1986. * Setting tags:: How to assign tags to a headline
  1987. * Tag searches:: Searching for combinations of tags
  1988. 
  1989. File: org, Node: Tag inheritance, Next: Setting tags, Prev: Tags, Up: Tags
  1990. 7.1 Tag inheritance
  1991. ===================
  1992. Tags make use of the hierarchical structure of outline trees. If a
  1993. heading has a certain tag, all subheadings will inherit the tag as
  1994. well. For example, in the list
  1995. * Meeting with the French group :WORK:
  1996. ** Summary by Frank :BOSS:NOTES:
  1997. *** TODO Prepare slides for him :ACTION:
  1998. the final heading will have the tags `:WORK:', `:BOSS:', `:NOTES:', and
  1999. `:ACTION:'. When executing tag searches and Org-mode finds that a
  2000. certain headline matches the search criterion, it will not check any
  2001. sublevel headline, assuming that these likely also match, and that the
  2002. list of matches can become very long. This may not be what you want,
  2003. however, and you can influence inheritance and searching using the
  2004. variables `org-use-tag-inheritance' and `org-tags-match-list-sublevels'.
  2005. 
  2006. File: org, Node: Setting tags, Next: Tag searches, Prev: Tag inheritance, Up: Tags
  2007. 7.2 Setting tags
  2008. ================
  2009. Tags can simply be typed into the buffer at the end of a headline.
  2010. After a colon, `M-<TAB>' offers completion on tags. There is also a
  2011. special command for inserting tags:
  2012. `C-c C-c'
  2013. Enter new tags for the current headline. Org-mode will either
  2014. offer completion or a special single-key interface for setting
  2015. tags, see below. After pressing <RET>, the tags will be inserted
  2016. and aligned to `org-tags-column'. When called with a `C-u'
  2017. prefix, all tags in the current buffer will be aligned to that
  2018. column, just to make things look nice. TAGS are automatically
  2019. realigned after promotion, demotion, and TODO state changes (*note
  2020. TODO basics::).
  2021. Org will support tag insertion based on a _list of tags_. By
  2022. default this list is constructed dynamically, containing all tags
  2023. currently used in the buffer. You may also globally specify a hard list
  2024. of tags with the variable `org-tag-alist'. Finally you can set the
  2025. allowed tags for a given file with lines like
  2026. #+TAGS: @WORK @HOME @TENNISCLUB
  2027. #+TAGS: Laptop Car PC Sailboat
  2028. The default support method is minibuffer completion. However,
  2029. Org-mode also implements a much better method: _fast tag selection_.
  2030. This method allows to select and deselect tags with a single key per
  2031. tag. To function efficiently, you should assign unique keys to all
  2032. tags. This can be done globally with
  2033. (setq org-tag-alist '(("@WORK" . ?w) ("@HOME" . ?h) ("Laptop" . ?l)))
  2034. or on a per-file basis with
  2035. #+TAGS: @WORK(w) @HOME(h) @TENNISCLUB(t) Laptop(l) PC(p)
  2036. You can also group together tags that are mutually exclusive. With
  2037. curly braces(1)
  2038. #+TAGS: { @WORK(w) @HOME(h) @TENNISCLUB(t) } Laptop(l) PC(p)
  2039. you indicate that at most one of `@WORK', `@HOME', and `@TENNISCLUB'
  2040. should be selected.
  2041. Don't forget to press `C-c C-c' with the cursor in one of these lines
  2042. to activate any changes.
  2043. If at least one tag has a selection key, pressing `C-c C-c' will
  2044. automatically present you with a special interface, listing inherited
  2045. tags, the tags of the current headline, and a list of all legal tags
  2046. with corresponding keys(2). Pressing keys for the tags will add or
  2047. remove them from the list of tags in the current line. Selecting a tag
  2048. in a group of mutually exclusive tags will turn off any other tags from
  2049. that group. <SPC> clears all tags for this line, `RET' accepts the
  2050. modified set, and `C-g' aborts without installing changes. This method
  2051. lets you assign tags to a headline with very few keys. With the above
  2052. setup, you could clear the current tags and set `@HOME', `Laptop' and
  2053. `PC' tags with just the following keys: `C-c C-c <SPC> h l p <RET>'.
  2054. Switching from `@HOME' to `@WORK' would be done with `C-c C-c w <RET>'.
  2055. What if you have globally defined your preferred set of tags using
  2056. the variable `org-tag-alist', but would like to use a dynamic tag list
  2057. in a specific file? Just add an empty TAGS option line to that file:
  2058. #+TAGS:
  2059. ---------- Footnotes ----------
  2060. (1) In `org-mode-alist' use `'(:startgroup)' and `'(:endgroup)',
  2061. respectively. Several groups are allowed.
  2062. (2) Keys will automatically assigned to tags which have no
  2063. configured keys.
  2064. 
  2065. File: org, Node: Tag searches, Prev: Setting tags, Up: Tags
  2066. 7.3 Tag searches
  2067. ================
  2068. Once a tags system has been set up, it can be used to collect related
  2069. information into special lists.
  2070. `C-c \'
  2071. Create a sparse tree with all headlines matching a tags search.
  2072. `C-c a m'
  2073. Create a global list of tag matches from all agenda files. *Note
  2074. Matching headline tags::.
  2075. `C-c a M'
  2076. Create a global list of tag matches from all agenda files, but
  2077. check only TODO items and force checking subitems (see variable
  2078. `org-tags-match-list-sublevels').
  2079. A tags search string can use Boolean operators `&' for AND and `|'
  2080. for OR. `&' binds more strongly than `|'. Parenthesis are currently
  2081. not implemented. A tag may also be preceded by `-', to select against
  2082. it, and `+' is syntactic sugar for positive selection. The AND
  2083. operator `&' is optional when `+' or `-' is present. For example,
  2084. `+WORK-BOSS' would select all headlines that are tagged `:WORK:', but
  2085. discard those also tagged `:BOSS:'. The search string `WORK|LAPTOP'
  2086. selects all lines tagged `:WORK:' or `:LAPTOP:'. The string
  2087. `WORK|LAPTOP&NIGHT' requires that the `:LAPTOP:' lines are also tagged
  2088. `NIGHT'.
  2089. 
  2090. File: org, Node: Agenda views, Next: Embedded LaTeX, Prev: Tags, Up: Top
  2091. 8 Agenda Views
  2092. **************
  2093. Due to the way Org-mode works, TODO items, time-stamped items, and
  2094. tagged headlines can be scattered throughout a file or even a number of
  2095. files. To get an overview over open action items, or over events that
  2096. are important for a particular date, this information must be collected,
  2097. sorted and displayed in an organized way.
  2098. Org-mode can select items based on various criteria, and display them
  2099. in a separate buffer. Five different view types are provided:
  2100. * an _agenda_ that is like a calendar and shows information for
  2101. specific dates
  2102. * a _TODO list_ that covers all unfinished action items,
  2103. * a _tags view_ that shows information based on the tags associated
  2104. with headlines in the outline tree,
  2105. * a _timeline view_ that shows all events in a single Org-mode file,
  2106. in time-sorted view
  2107. * _custom views_ that are special tag and keyword searches and
  2108. combinations of different views.
  2109. The extracted information is displayed in a special _agenda buffer_.
  2110. This buffer is read-only, but provides commands to visit the
  2111. corresponding locations in the original Org-mode files, and even to
  2112. edit these files remotely.
  2113. Two variables control how the agenda buffer is displayed and whether
  2114. the window configuration is restored when the agenda exits:
  2115. `org-agenda-window-setup' and `org-agenda-restore-windows-after-quit'.
  2116. * Menu:
  2117. * Agenda files:: Files being searched for agenda information
  2118. * Agenda dispatcher:: Keyboard access to agenda views
  2119. * Weekly/Daily agenda:: The calendar page with current tasks
  2120. * Global TODO list:: All unfinished action items
  2121. * Matching headline tags:: Structured information with fine-tuned search
  2122. * Timeline:: Time-sorted view for single file
  2123. * Presentation and sorting:: How agenda items are prepared for display
  2124. * Agenda commands:: Remote editing of org trees
  2125. * Custom agenda views:: Defining special searches and views
  2126. 
  2127. File: org, Node: Agenda files, Next: Agenda dispatcher, Prev: Agenda views, Up: Agenda views
  2128. 8.1 Agenda files
  2129. ================
  2130. The information to be shown is collected from all _agenda files_, the
  2131. files listed in the variable `org-agenda-files'(1). Thus even if you
  2132. only work with a single Org-mode file, this file should be put into
  2133. that list(2). You can customize `org-agenda-files', but the easiest
  2134. way to maintain it is through the following commands
  2135. `C-c ['
  2136. Add current file to the list of agenda files. The file is added to
  2137. the front of the list. If it was already in the list, it is moved
  2138. to the front. With prefix arg, file is added/moved to the end.
  2139. `C-c ]'
  2140. Remove current file from the list of agenda files.
  2141. `C-,'
  2142. Cycle through agenda file list, visiting one file after the other.
  2143. The Org menu contains the current list of files and can be used to
  2144. visit any of them.
  2145. ---------- Footnotes ----------
  2146. (1) If the value of that variable is not a list, but a single file
  2147. name, then the list of agenda files will be maintained in that external
  2148. file.
  2149. (2) When using the dispatcher, pressing `1' before selecting a
  2150. command will actually limit the command to the current file, and ignore
  2151. `org-agenda-files' until the next dispatcher command.
  2152. 
  2153. File: org, Node: Agenda dispatcher, Next: Weekly/Daily agenda, Prev: Agenda files, Up: Agenda views
  2154. 8.2 The agenda dispatcher
  2155. =========================
  2156. The views are created through a dispatcher that should be bound to a
  2157. global key, for example `C-c a' (*note Installation::). In the
  2158. following we will assume that `C-c a' is indeed how the dispatcher is
  2159. accessed and list keyboard access to commands accordingly. After
  2160. pressing `C-c a', an additional letter is required to execute a
  2161. command. The dispatcher offers the following default commands:
  2162. `a'
  2163. Create the calendar-like agenda (*note Weekly/Daily agenda::).
  2164. `t / T'
  2165. Create a list of all TODO items (*note Global TODO list::).
  2166. `m / M'
  2167. Create a list of headlines matching a TAGS expression (*note
  2168. Matching headline tags::).
  2169. `L'
  2170. Create the timeline view for the current buffer (*note Timeline::).
  2171. `1'
  2172. Restrict an agenda command to the current buffer. After pressing
  2173. `1', you still need to press the character selecting the command.
  2174. `0'
  2175. If there is an active region, restrict the following agenda
  2176. command to the region. Otherwise, restrict it to the current
  2177. subtree. After pressing `0', you still need to press the
  2178. character selecting the command.
  2179. You can also define custom commands that will be accessible through
  2180. the dispatcher, just like the default commands. This includes the
  2181. possibility to create extended agenda buffers that contain several
  2182. blocks together, for example the weekly agenda, the global TODO list and
  2183. a number of special tags matches. *Note Custom agenda views::.
  2184. 
  2185. File: org, Node: Weekly/Daily agenda, Next: Global TODO list, Prev: Agenda dispatcher, Up: Agenda views
  2186. 8.3 The weekly/daily agenda
  2187. ===========================
  2188. The purpose of the weekly/daily _agenda_ is to act like a page of a
  2189. paper agenda, showing all the tasks for the current week or day.
  2190. `C-c a a'
  2191. Compile an agenda for the current week from a list of org files.
  2192. The agenda shows the entries for each day. With a `C-u' prefix (or
  2193. when the variable `org-agenda-include-all-todo' is `t'), all
  2194. unfinished TODO items (including those without a date) are also
  2195. listed at the beginning of the buffer, before the first date.
  2196. Remote editing from the agenda buffer means, for example, that you
  2197. can change the dates of deadlines and appointments from the agenda
  2198. buffer. The commands available in the Agenda buffer are listed in
  2199. *Note Agenda commands::.
  2200. * Menu:
  2201. * Calendar/Diary integration:: Integrating Anniversaries and more
  2202. 
  2203. File: org, Node: Calendar/Diary integration, Prev: Weekly/Daily agenda, Up: Weekly/Daily agenda
  2204. 8.3.1 Calendar/Diary integration
  2205. --------------------------------
  2206. Emacs contains the calendar and diary by Edward M. Reingold. The
  2207. calendar displays a three-month calendar with holidays from different
  2208. countries and cultures. The diary allows you to keep track of
  2209. anniversaries, lunar phases, sunrise/set, recurrent appointments
  2210. (weekly, monthly) and more. In this way, it is quite complementary to
  2211. Org-mode. It can be very useful to combine output from Org-mode with
  2212. the diary.
  2213. In order to include entries from the Emacs diary into Org-mode's
  2214. agenda, you only need to customize the variable
  2215. (setq org-agenda-include-diary t)
  2216. After that, everything will happen automatically. All diary entries
  2217. including holidays, anniversaries etc will be included in the agenda
  2218. buffer created by Org-mode. <SPC>, <TAB>, and <RET> can be used from
  2219. the agenda buffer to jump to the diary file in order to edit existing
  2220. diary entries. The `i' command to insert new entries for the current
  2221. date works in the agenda buffer, as well as the commands `S', `M', and
  2222. `C' to display Sunrise/Sunset times, show lunar phases and to convert
  2223. to other calendars, respectively. `c' can be used to switch back and
  2224. forth between calendar and agenda.
  2225. 
  2226. File: org, Node: Global TODO list, Next: Matching headline tags, Prev: Weekly/Daily agenda, Up: Agenda views
  2227. 8.4 The global TODO list
  2228. ========================
  2229. The global TODO list contains all unfinished TODO items, formatted and
  2230. collected into a single place.
  2231. `C-c a t'
  2232. Show the global TODO list. This collects the TODO items from all
  2233. agenda files (*note Agenda views::) into a single buffer. The
  2234. buffer is in `agenda-mode', so there are commands to examine and
  2235. manipulate the TODO entries directly from that buffer (*note
  2236. Agenda commands::).
  2237. `C-c a T'
  2238. Like the above, but allows selection of a specific TODO keyword.
  2239. You can also do this by specifying a prefix argument to `C-c a t'.
  2240. With a `C-u' prefix you are prompted for a keyword. With a
  2241. numeric prefix, the Nth keyword in `org-todo-keywords' is selected. The
  2242. `r' key in the agenda buffer regenerates it, and you can give a
  2243. prefix argument to this command to change the selected TODO
  2244. keyword, for example `3 r'. If you often need a search for a
  2245. specific keyword, define a custom command for it (*note Agenda
  2246. dispatcher::).
  2247. Remote editing of TODO items means that you can change the state of a
  2248. TODO entry with a single key press. The commands available in the TODO
  2249. list are described in *Note Agenda commands::.
  2250. Normally the global todo list simply shows all headlines with TODO
  2251. keywords. This list can become very long. There are two ways to keep
  2252. it more compact:
  2253. - Some people view a TODO item that has been _scheduled_ for
  2254. execution (*note Time stamps::) as no longer _open_. Configure the
  2255. variable `org-agenda-todo-ignore-scheduled' to exclude scheduled
  2256. items from the global TODO list.
  2257. - TODO items may have sublevels to break up the task into subtasks.
  2258. In such cases it may be enough to list only the highest level TODO
  2259. headline and omit the sublevels from the global list. Configure
  2260. the variable `org-agenda-todo-list-sublevels' to get this behavior.
  2261. 
  2262. File: org, Node: Matching headline tags, Next: Timeline, Prev: Global TODO list, Up: Agenda views
  2263. 8.5 Matching headline tags
  2264. ==========================
  2265. If headlines in the agenda files are marked with _tags_ (*note Tags::),
  2266. you can select headlines based on the tags that apply to them and
  2267. collect them into an agenda buffer.
  2268. `C-c a m'
  2269. Produce a list of all headlines that match a given set of tags.
  2270. The command prompts for a selection criterion, which is a boolean
  2271. logic expression with tags, like `+WORK+URGENT-WITHBOSS' or
  2272. `WORK|HOME' (*note Tags::). If you often need a specific search,
  2273. define a custom command for it (*note Agenda dispatcher::).
  2274. `C-c a M'
  2275. Like `C-c a m', but only select headlines that are also TODO items
  2276. and force checking subitems (see variable
  2277. `org-tags-match-list-sublevels').
  2278. The commands available in the tags list are described in *Note
  2279. Agenda commands::.
  2280. 
  2281. File: org, Node: Timeline, Next: Presentation and sorting, Prev: Matching headline tags, Up: Agenda views
  2282. 8.6 Timeline for a single file
  2283. ==============================
  2284. The timeline summarizes all time-stamped items from a single Org-mode
  2285. file in a _time-sorted view_. The main purpose of this command is to
  2286. give an overview over events in a project.
  2287. `C-c a L'
  2288. Show a time-sorted view of the org file, with all time-stamped
  2289. items. When called with a `C-u' prefix, all unfinished TODO
  2290. entries (scheduled or not) are also listed under the current date.
  2291. The commands available in the timeline buffer are listed in *Note
  2292. Agenda commands::.
  2293. 
  2294. File: org, Node: Presentation and sorting, Next: Agenda commands, Prev: Timeline, Up: Agenda views
  2295. 8.7 Presentation and sorting
  2296. ============================
  2297. Before displaying items in an agenda view, Org-mode visually prepares
  2298. the items and sorts them. Each item occupies a single line. The line
  2299. starts with a _prefix_ that contains the _category_ (*note
  2300. Categories::) of the item and other important information. You can
  2301. customize the prefix using the option `org-agenda-prefix-format'. The
  2302. prefix is followed by a cleaned-up version of the outline headline
  2303. associated with the item.
  2304. * Menu:
  2305. * Categories:: Not all tasks are equal
  2306. * Time-of-day specifications:: How the agenda knows the time
  2307. * Sorting of agenda items:: The order of things
  2308. 
  2309. File: org, Node: Categories, Next: Time-of-day specifications, Prev: Presentation and sorting, Up: Presentation and sorting
  2310. 8.7.1 Categories
  2311. ----------------
  2312. The category is a broad label assigned to each agenda item. By default,
  2313. the category is simply derived from the file name, but you can also
  2314. specify it with a special line in the buffer, like this:
  2315. #+CATEGORY: Thesis
  2316. If there are several such lines in a file, each specifies the
  2317. category for the text below it (but the first category also applies to
  2318. any text before the first CATEGORY line). The display in the agenda
  2319. buffer looks best if the category is not longer than 10 characters.
  2320. 
  2321. File: org, Node: Time-of-day specifications, Next: Sorting of agenda items, Prev: Categories, Up: Presentation and sorting
  2322. 8.7.2 Time-of-Day Specifications
  2323. --------------------------------
  2324. Org-mode checks each agenda item for a time-of-day specification. The
  2325. time can be part of the time stamp that triggered inclusion into the
  2326. agenda, for example as in `<2005-05-10 Tue 19:00>'. Time ranges can be
  2327. specified with two time stamps, like
  2328. `<2005-05-10 Tue 20:30>--<2005-05-10 Tue 22:15>'.
  2329. In the headline of the entry itself, a time(range) may also appear as
  2330. plain text (like `12:45' or a `8:30-1pm'. If the agenda integrates the
  2331. Emacs diary (*note Calendar/Diary integration::), time specifications
  2332. in diary entries are recognized as well.
  2333. For agenda display, Org-mode extracts the time and displays it in a
  2334. standard 24 hour format as part of the prefix. The example times in
  2335. the previous paragraphs would end up in the agenda like this:
  2336. 8:30-13:00 Arthur Dent lies in front of the bulldozer
  2337. 12:45...... Ford Prefect arrives and takes Arthur to the pub
  2338. 19:00...... The Vogon reads his poem
  2339. 20:30-22:15 Marwin escorts the Hitchhikers to the bridge
  2340. If the agenda is in single-day mode, or for the display of today, the
  2341. timed entries are embedded in a time grid, like
  2342. 8:00...... ------------------
  2343. 8:30-13:00 Arthur Dent lies in front of the bulldozer
  2344. 10:00...... ------------------
  2345. 12:00...... ------------------
  2346. 12:45...... Ford Prefect arrives and takes Arthur to the pub
  2347. 14:00...... ------------------
  2348. 16:00...... ------------------
  2349. 18:00...... ------------------
  2350. 19:00...... The Vogon reads his poem
  2351. 20:00...... ------------------
  2352. 20:30-22:15 Marwin escorts the Hitchhikers to the bridge
  2353. The time grid can be turned on and off with the variable
  2354. `org-agenda-use-time-grid', and can be configured with
  2355. `org-agenda-time-grid'.
  2356. 
  2357. File: org, Node: Sorting of agenda items, Prev: Time-of-day specifications, Up: Presentation and sorting
  2358. 8.7.3 Sorting of agenda items
  2359. -----------------------------
  2360. Before being inserted into a view, the items are sorted. How this is
  2361. done depends on the type of view.
  2362. * For the daily/weekly agenda, the items for each day are sorted.
  2363. The default order is to first collect all items containing an
  2364. explicit time-of-day specification. These entries will be shown
  2365. at the beginning of the list, as a _schedule_ for the day. After
  2366. that, items remain grouped in categories, in the sequence given by
  2367. `org-agenda-files'. Within each category, items are sorted by
  2368. priority (*note Priorities::), which is composed of the base
  2369. priority (2000 for priority `A', 1000 for `B', and 0 for `C'),
  2370. plus additional increments for overdue scheduled or deadline items.
  2371. * For the TODO list, items remain in the order of categories, but
  2372. within each category, sorting takes place according to priority
  2373. (*note Priorities::).
  2374. * For tags matches, items are not sorted at all, but just appear in
  2375. the sequence in which they are found in the agenda files.
  2376. Sorting can be customized using the variable
  2377. `org-agenda-sorting-strategy'.
  2378. 
  2379. File: org, Node: Agenda commands, Next: Custom agenda views, Prev: Presentation and sorting, Up: Agenda views
  2380. 8.8 Commands in the agenda buffer
  2381. =================================
  2382. Entries in the agenda buffer are linked back to the org file or diary
  2383. file where they originate. You are not allowed to edit the agenda
  2384. buffer itself, but commands are provided to show and jump to the
  2385. original entry location, and to edit the org-files "remotely" from the
  2386. agenda buffer. In this way, all information is stored only once,
  2387. removing the risk that your agenda and note files may diverge.
  2388. Some commands can be executed with mouse clicks on agenda lines. For
  2389. the other commands, the cursor needs to be in the desired line.
  2390. Motion
  2391. ......
  2392. `n'
  2393. Next line (same as <up>).
  2394. `p'
  2395. Previous line (same as <down>).
  2396. View/GoTo org file
  2397. ..................
  2398. `mouse-3'
  2399. `<SPC>'
  2400. Display the original location of the item in another window.
  2401. `L'
  2402. Display original location and recenter that window.
  2403. `mouse-2'
  2404. `mouse-1'
  2405. `<TAB>'
  2406. Go to the original location of the item in another window. Under
  2407. Emacs 22, `mouse-1' will also works for this.
  2408. `<RET>'
  2409. Go to the original location of the item and delete other windows.
  2410. `f'
  2411. Toggle Follow mode. In Follow mode, as you move the cursor through
  2412. the agenda buffer, the other window always shows the corresponding
  2413. location in the org file. The initial setting for this mode in new
  2414. agenda buffers can be set with the variable
  2415. `org-agenda-start-with-follow-mode'.
  2416. `l'
  2417. Toggle Logbook mode. In Logbook mode, entries that where marked
  2418. DONE while logging was on (variable `org-log-done') are shown in
  2419. the agenda, as are entries that have been clocked on that day.
  2420. Change display
  2421. ..............
  2422. `o'
  2423. Delete other windows.
  2424. `w'
  2425. Switch to weekly view (7 days displayed together).
  2426. `d'
  2427. Switch to daily view (just one day displayed).
  2428. `D'
  2429. Toggle the inclusion of diary entries. See *Note Calendar/Diary
  2430. integration::.
  2431. `g'
  2432. Toggle the time grid on and off. See also the variables
  2433. `org-agenda-use-time-grid' and `org-agenda-time-grid'.
  2434. `r'
  2435. Recreate the agenda buffer, for example to reflect the changes
  2436. after modification of the time stamps of items with S-<left> and
  2437. S-<right>. When the buffer is the global todo list, a prefix
  2438. argument is interpreted to create a selective list for a specific
  2439. TODO keyword.
  2440. `s'
  2441. Save all Org-mode buffers in the current Emacs session.
  2442. `<right>'
  2443. Display the following `org-agenda-ndays' days. For example, if
  2444. the display covers a week, switch to the following week. With
  2445. prefix arg, go forward that many times `org-agenda-ndays' days.
  2446. `<left>'
  2447. Display the previous dates.
  2448. `.'
  2449. Goto today.
  2450. Remote editing
  2451. ..............
  2452. `0-9'
  2453. Digit argument.
  2454. `t'
  2455. Change the TODO state of the item, both in the agenda and in the
  2456. original org file.
  2457. `T'
  2458. Show all tags associated with the current item. Because of
  2459. inheritance, this may be more than the tags listed in the line
  2460. itself.
  2461. `:'
  2462. Set tags for the current headline.
  2463. `a'
  2464. Toggle the ARCHIVE tag for the current headline.
  2465. `,'
  2466. Set the priority for the current item. Org-mode prompts for the
  2467. priority character. If you reply with <SPC>, the priority cookie
  2468. is removed from the entry.
  2469. `p'
  2470. Display weighted priority of current item.
  2471. `+'
  2472. `S-<up>'
  2473. Increase the priority of the current item. The priority is
  2474. changed in the original buffer, but the agenda is not resorted.
  2475. Use the `r' key for this.
  2476. `-'
  2477. `S-<down>'
  2478. Decrease the priority of the current item.
  2479. `C-c C-s'
  2480. Schedule this item
  2481. `C-c C-d'
  2482. Set a deadline for this item.
  2483. `S-<right>'
  2484. Change the time stamp associated with the current line by one day
  2485. into the future. With prefix argument, change it by that many
  2486. days. For example, `3 6 5 S-<right>' will change it by a year.
  2487. The stamp is changed in the original org file, but the change is
  2488. not directly reflected in the agenda buffer. Use the `r' key to
  2489. update the buffer.
  2490. `S-<left>'
  2491. Change the time stamp associated with the current line by one day
  2492. into the past.
  2493. `>'
  2494. Change the time stamp associated with the current line to today.
  2495. The key `>' has been chosen, because it is the same as `S-.' on my
  2496. keyboard.
  2497. `I'
  2498. Start the clock on the current item. If a clock is running
  2499. already, it is stopped first.
  2500. `O'
  2501. Stop the previously started clock.
  2502. `X'
  2503. Cancel the currently running clock.
  2504. Calendar commands
  2505. .................
  2506. `c'
  2507. Open the Emacs calendar and move to the date at the agenda cursor.
  2508. `c'
  2509. When in the calendar, compute and show the Org-mode agenda for the
  2510. date at the cursor.
  2511. `i'
  2512. Insert a new entry into the diary. Prompts for the type of entry
  2513. (day, weekly, monthly, yearly, anniversary, cyclic) and creates a
  2514. new entry in the diary, just as `i d' etc. would do in the
  2515. calendar. The date is taken from the cursor position.
  2516. `M'
  2517. Show the phases of the moon for the three months around current
  2518. date.
  2519. `S'
  2520. Show sunrise and sunset times. The geographical location must be
  2521. set with calendar variables, see documentation of the Emacs
  2522. calendar.
  2523. `C'
  2524. Convert the date at cursor into many other cultural and historic
  2525. calendars.
  2526. `H'
  2527. Show holidays for three month around the cursor date.
  2528. `C-c C-x C-c'
  2529. Export a single iCalendar file containing entries from all agenda
  2530. files.
  2531. Quit and Exit
  2532. .............
  2533. `q'
  2534. Quit agenda, remove the agenda buffer.
  2535. `x'
  2536. Exit agenda, remove the agenda buffer and all buffers loaded by
  2537. Emacs for the compilation of the agenda. Buffers created by the
  2538. user to visit org files will not be removed.
  2539. 
  2540. File: org, Node: Custom agenda views, Prev: Agenda commands, Up: Agenda views
  2541. 8.9 Custom agenda views
  2542. =======================
  2543. Custom agenda commands serve two purposes: to store and quickly access
  2544. frequently used TODO and tags searches, and to create special composite
  2545. agenda buffers. Custom agenda commands will be accessible through the
  2546. dispatcher (*note Agenda dispatcher::), just like the default commands.
  2547. * Menu:
  2548. * Storing searches:: Type once, use often
  2549. * Block agenda:: All the stuff you need in a single buffer
  2550. * Setting Options:: Changing the rules
  2551. * Batch processing:: Agenda views from the command line
  2552. 
  2553. File: org, Node: Storing searches, Next: Block agenda, Prev: Custom agenda views, Up: Custom agenda views
  2554. 8.9.1 Storing searches
  2555. ----------------------
  2556. The first application of custom searches is the definition of keyboard
  2557. shortcuts for frequently used searches, either creating an agenda
  2558. buffer, or a sparse tree (the latter covering of course only the current
  2559. buffer). Custom commands are configured in the variable
  2560. `org-agenda-custom-commands'. You can customize this variable, for
  2561. example by pressing `C-c a C'. You can also directly set it with Emacs
  2562. Lisp in `.emacs'. The following example contains all valid search
  2563. types:
  2564. (setq org-agenda-custom-commands
  2565. '(("w" todo "WAITING")
  2566. ("W" todo-tree "WAITING")
  2567. ("u" tags "+BOSS-URGENT")
  2568. ("v" tags-todo "+BOSS-URGENT")
  2569. ("U" tags-tree "+BOSS-URGENT")
  2570. ("f" occur-tree "\\<FIXME\\>")))
  2571. The initial single-character string in each entry defines the character
  2572. you have to press after the dispatcher command `C-c a' in order to
  2573. access the command. The second parameter is the search type, followed
  2574. by the string or regular expression to be used for the matching. The
  2575. example above will therefore define:
  2576. `C-c a w'
  2577. as a global search for TODO entries with `WAITING' as the TODO
  2578. keyword
  2579. `C-c a W'
  2580. as the same search, but only in the current buffer and displaying
  2581. the results as a sparse tree
  2582. `C-c a u'
  2583. as a global tags search for headlines marked `:BOSS:' but not
  2584. `:URGENT:'
  2585. `C-c a v'
  2586. as the same search as `C-c a u', but limiting the search to
  2587. headlines that are also TODO items
  2588. `C-c a U'
  2589. as the same search as `C-c a u', but only in the current buffer and
  2590. displaying the result as a sparse tree
  2591. `C-c a f'
  2592. to create a sparse tree (again: current buffer only) with all
  2593. entries containing the word `FIXME'.
  2594. 
  2595. File: org, Node: Block agenda, Next: Setting Options, Prev: Storing searches, Up: Custom agenda views
  2596. 8.9.2 Block agenda
  2597. ------------------
  2598. Another possibility is the construction of agenda views that comprise
  2599. the results of _several_ commands, each of which creates a block in the
  2600. agenda buffer. The available commands include `agenda' for the daily
  2601. or weekly agenda (as created with `C-c a a'), `alltodo' for the global
  2602. todo list (as constructed with `C-c a t'), and the matching commands
  2603. discussed above: `todo', `tags', and `tags-todo'. Here are two
  2604. examples:
  2605. (setq org-agenda-custom-commands
  2606. '(("h" "Agenda and Home-related tasks"
  2607. ((agenda)
  2608. (tags-todo "HOME")
  2609. (tags "GARDEN")))
  2610. ("o" "Agenda and Office-related tasks"
  2611. ((agenda)
  2612. (tags-todo "WORK")
  2613. (tags "OFFICE")))))
  2614. This will define `C-c a h' to create a multi-block view for stuff you
  2615. need to attend to at home. The resulting agenda buffer will contain
  2616. your agenda for the current week, all TODO items that carry the tag
  2617. `HOME', and also all lines tagged with `GARDEN'. Finally the command
  2618. `C-c a o' provides a similar view for office tasks.
  2619. 
  2620. File: org, Node: Setting Options, Next: Batch processing, Prev: Block agenda, Up: Custom agenda views
  2621. 8.9.3 Setting Options for custom commands
  2622. -----------------------------------------
  2623. Org-mode contains a number of variables regulating agenda construction
  2624. and display. The global variables define the behavior for all agenda
  2625. commands, including the custom commands. However, if you want to change
  2626. some settings just for a single custom view, you can do so. Setting
  2627. options requires inserting a list of variable names and values at the
  2628. right spot in `org-agenda-custom-commands'. For example:
  2629. (setq org-agenda-custom-commands
  2630. '(("w" todo "WAITING"
  2631. ((org-agenda-sorting-strategy '(priority-down))
  2632. (org-agenda-prefix-format " Mixed: ")))
  2633. ("U" tags-tree "+BOSS-URGENT"
  2634. ((org-show-following-heading nil)
  2635. (org-show-hierarchy-above nil)))))
  2636. Now the `C-c a w' command will sort the collected entries only by
  2637. priority, and the prefix format is modified to just say ` Mixed:'
  2638. instead of giving the category of the entry. The sparse tags tree of
  2639. `C-c a U' will now turn out ultra-compact, because neither the headline
  2640. hierarchy above the match, nor the headline following the match will be
  2641. shown.
  2642. For command sets creating a block agenda,
  2643. `org-agenda-custom-commands' has two separate spots for setting
  2644. options. You can add options that should be valid for just a single
  2645. command in the set, and options that should be valid for all commands in
  2646. the set. The former are just added to the command entry, the latter
  2647. must come after the list of command entries. Going back to the block
  2648. agenda example (*note Block agenda::), let's change the sorting strategy
  2649. for the `C-c a h' commands to `priority-down', but let's sort the
  2650. results for GARDEN tags query in the opposite order, `priority-up'.
  2651. This would look like this:
  2652. (setq org-agenda-custom-commands
  2653. '(("h" "Agenda and Home-related tasks"
  2654. ((agenda)
  2655. (tags-todo "HOME")
  2656. (tags "GARDEN" ((org-agenda-sorting-strategy '(priority-up)))))
  2657. ((org-agenda-sorting-strategy '(priority-down))))
  2658. ("o" "Agenda and Office-related tasks"
  2659. ((agenda)
  2660. (tags-todo "WORK")
  2661. (tags "OFFICE")))))
  2662. As you see, the values and parenthesis setting is a little complex.
  2663. When in doubt, use the customize interface to set this variable - it
  2664. fully supports its structure. Just one caveat: When setting options in
  2665. this interface, the _values_ are just lisp expressions. So if the
  2666. value is a string, you need to add the double quotes around the value
  2667. yourself.
  2668. 
  2669. File: org, Node: Batch processing, Prev: Setting Options, Up: Custom agenda views
  2670. 8.9.4 Creating agenda views in batch processing
  2671. -----------------------------------------------
  2672. If you want to print or otherwise reprocess agenda views, it can be
  2673. useful to create an agenda from the command line. This is the purpose
  2674. of the function `org-batch-agenda'. It takes as a parameter one of the
  2675. strings that are the keys in `org-agenda-custom-commands'. For
  2676. example, to directly print the current TODO list, you could use
  2677. emacs -batch -l ~/.emacs -eval '(org-batch-agenda "t")' | lpr
  2678. You may also modify parameters on the fly like this:
  2679. emacs -batch -l ~/.emacs \
  2680. -eval '(org-batch-agenda "a" \
  2681. org-agenda-ndays 300 \
  2682. org-agenda-include-diary nil \
  2683. org-agenda-files (quote ("~/org/project.org")))' \
  2684. | lpr
  2685. which will produce a 300 day agenda, fully restricted to the Org file
  2686. `~/org/projects.org', not even including the diary.
  2687. 
  2688. File: org, Node: Embedded LaTeX, Next: Exporting, Prev: Agenda views, Up: Top
  2689. 9 Embedded LaTeX
  2690. ****************
  2691. Plain ASCII is normally sufficient for almost all note taking. One
  2692. exception, however, are scientific notes which need to be able to
  2693. contain mathematical symbols and the occasional formula. LaTeX(1) is
  2694. widely used to typeset scientific documents. Org-mode supports
  2695. embedding LaTeX code into its files, because many academics are used to
  2696. read LaTeX source code, and because it can be readily processed into
  2697. images for HTML production.
  2698. It is not necessary to mark LaTeX macros and code in any special way.
  2699. If you observe a few conventions, Org-mode knows how to find it and what
  2700. to do with it.
  2701. * Menu:
  2702. * Math symbols:: TeX macros for symbols and Greek letters
  2703. * Subscripts and Superscripts:: Simple syntax for raising/lowering text
  2704. * LaTeX fragments:: Complex formulas made easy
  2705. * Processing LaTeX fragments:: Previewing LaTeX processing
  2706. * CDLaTeX mode:: Speed up entering of formulas
  2707. ---------- Footnotes ----------
  2708. (1) LaTeX is a macro system based on Donald E. Knuth's TeX system.
  2709. Many of the features described here as "LaTeX" are really from TeX, but
  2710. for simplicity I am blurring this distinction.
  2711. 
  2712. File: org, Node: Math symbols, Next: Subscripts and Superscripts, Prev: Embedded LaTeX, Up: Embedded LaTeX
  2713. 9.1 Math symbols
  2714. ================
  2715. You can use LaTeX macros to insert special symbols like `\alpha' to
  2716. indicate the Greek letter, or `\to' to indicate an arrow. Completion
  2717. for these macros is available, just type `\' and maybe a few letters,
  2718. and press `M-<TAB>' to see possible completions. Unlike LaTeX code,
  2719. Org-mode allows these macros to be present without surrounding math
  2720. delimiters, for example:
  2721. Angles are written as Greek letters \alpha, \beta and \gamma.
  2722. During HTML export (*note HTML export::), these symbols are
  2723. translated into the proper syntax for HTML, for the above examples this
  2724. is `&alpha;' and `&rarr;', respectively.
  2725. 
  2726. File: org, Node: Subscripts and Superscripts, Next: LaTeX fragments, Prev: Math symbols, Up: Embedded LaTeX
  2727. 9.2 Subscripts and Superscripts
  2728. ===============================
  2729. Just like in LaTeX, `^' and `_' are used to indicate super- and
  2730. subscripts. Again, these can be used without embedding them in
  2731. math-mode delimiters. To increase the readability of ASCII text, it is
  2732. not necessary (but OK) to surround multi-character sub- and superscripts
  2733. with curly braces. For example
  2734. The mass if the sun is M_sun = 1.989 x 10^30 kg. The radius of
  2735. the sun is R_{sun} = 6.96 x 10^8 m.
  2736. To avoid interpretation as raised or lowered text, you can quote `^'
  2737. and `_' with a backslash: `\_' and `\^'.
  2738. During HTML export (*note HTML export::), subscript and superscripts
  2739. are surrounded with `<sub>' and `<sup>' tags, respectively.
  2740. 
  2741. File: org, Node: LaTeX fragments, Next: Processing LaTeX fragments, Prev: Subscripts and Superscripts, Up: Embedded LaTeX
  2742. 9.3 LaTeX fragments
  2743. ===================
  2744. With symbols, sub- and superscripts, HTML is pretty much at its end when
  2745. it comes to representing mathematical formulas(1). More complex
  2746. expressions need a dedicated formula processor. To this end, Org-mode
  2747. can contain arbitrary LaTeX fragments. It provides commands to preview
  2748. the typeset result of these fragments, and upon export to HTML, all
  2749. fragments will be converted to images and inlined into the HTML
  2750. document. For this to work you need to be on a system with a working
  2751. LaTeX installation. You also need the `dvipng' program, available at
  2752. `http://sourceforge.net/projects/dvipng/'.
  2753. LaTeX fragments don't need any special marking at all. The following
  2754. snippets will be identified as LaTeX source code:
  2755. * Environments of any kind. The only requirement is that the
  2756. `\begin' statement appears on a new line, preceded by only
  2757. whitespace.
  2758. * Text within the usual LaTeX math delimiters. To avoid conflicts
  2759. with currency specifications, single `$' characters are only
  2760. recognized as math delimiters if the enclosed text contains at
  2761. most two line breaks, is directly attached to the `$' characters
  2762. with no whitespace in between, and if the closing `$' is followed
  2763. by whitespace or punctuation. For the other delimiters, there is
  2764. no such restriction, so when in doubt, use `\(...\)' as inline
  2765. math delimiters.
  2766. For example:
  2767. \begin{equation} % arbitrary environments,
  2768. x=\sqrt{b} % even tables, figures
  2769. \end{equation} % etc
  2770. If $a^2=b$ and \( b=2 \), then the solution must be
  2771. either $$ a=+\sqrt{2} $$ or \[ a=-\sqrt{2} \].
  2772. If you need any of the delimiter ASCII sequences for other purposes, you
  2773. can configure the option `org-format-latex-options' to deselect the
  2774. ones you do not wish to have interpreted by the LaTeX converter.
  2775. ---------- Footnotes ----------
  2776. (1) Yes, there is MathML, but that is not yet fully supported by
  2777. many browsers, and there is no decent converter for turning LaTeX of
  2778. ASCII representations of formulas into MathML. So for the time being,
  2779. converting formulas into images seems the way to go.
  2780. 
  2781. File: org, Node: Processing LaTeX fragments, Next: CDLaTeX mode, Prev: LaTeX fragments, Up: Embedded LaTeX
  2782. 9.4 Processing LaTeX fragments
  2783. ==============================
  2784. LaTeX fragments can be processed to produce a preview images of the
  2785. typeset expressions:
  2786. `C-c C-x C-l'
  2787. Produce a preview image of the LaTeX fragment at point and overlay
  2788. it over the source code. If there is no fragment at point,
  2789. process all fragments in the current entry (between two
  2790. headlines). When called with a prefix argument, process the
  2791. entire subtree. When called with two prefix arguments, or when
  2792. the cursor is before the first headline, process the entire buffer.
  2793. `C-c C-c'
  2794. Remove the overlay preview images.
  2795. During HTML export (*note HTML export::), all LaTeX fragments are
  2796. converted into images and inlined into the document if the following
  2797. setting is active:
  2798. (setq org-export-with-LaTeX-fragments t)
  2799. 
  2800. File: org, Node: CDLaTeX mode, Prev: Processing LaTeX fragments, Up: Embedded LaTeX
  2801. 9.5 Using CDLaTeX to enter math
  2802. ===============================
  2803. CDLaTeX-mode is a minor mode that is normally used in combination with a
  2804. major LaTeX mode like AUCTeX in order to speed-up insertion of
  2805. environments and math templates. Inside Org-mode, you can make use of
  2806. some of the features of cdlatex-mode. You need to install `cdlatex.el'
  2807. and `texmathp.el' (the latter comes also with AUCTeX) from
  2808. `http://www.astro.uva.nl/~dominik/Tools/cdlatex'. Don't turn
  2809. cdlatex-mode itself under Org-mode, but use the light version
  2810. `org-cdlatex-mode' that comes as part of Org-mode. Turn it on for the
  2811. current buffer with `M-x org-cdlatex-mode', or for all Org-mode files
  2812. with
  2813. (add-hook 'org-mode-hook 'turn-on-org-cdlatex)
  2814. When this mode is enabled, the following features are present (for
  2815. more details see the documentation of cdlatex-mode):
  2816. * Environment templates can be inserted with `C-c {'.
  2817. * The <TAB> key will do template expansion if the cursor is inside a
  2818. LaTeX fragment(1). For example, <TAB> will expand `fr' to
  2819. `\frac{}{}' and position the cursor correctly inside the first
  2820. brace. Another <TAB> will get you into the second brace. Even
  2821. outside fragments, <TAB> will expand environment abbreviations at
  2822. the beginning of a line. For example, if you write `equ' at the
  2823. beginning of a line and press <TAB>, this abbreviation will be
  2824. expanded to an `equation' environment. To get a list of all
  2825. abbreviations, type `M-x cdlatex-command-help'.
  2826. * Pressing `_' and `^' inside a LaTeX fragment will insert these
  2827. characters together with a pair of braces. If you use <TAB> to
  2828. move out of the braces, and if the braces surround only a single
  2829. character or macro, they are removed again (depending on the
  2830. variable `cdlatex-simplify-sub-super-scripts').
  2831. * Pressing the backquote ``' followed by a character inserts math
  2832. macros, also outside LaTeX fragments. If you wait more than 1.5
  2833. seconds after the backquote, a help window will pop up.
  2834. * Pressing the normal quote `'' followed by another character
  2835. modifies the symbol before point with an accent or a font. If you
  2836. wait more than 1.5 seconds after the backquote, a help window will
  2837. pop up. Character modification will work only inside LaTeX
  2838. fragments, outside the quote is normal.
  2839. ---------- Footnotes ----------
  2840. (1) Org-mode has a method to test if the cursor is inside such a
  2841. fragment, see the documentation of the function
  2842. `org-inside-LaTeX-fragment-p'.
  2843. 
  2844. File: org, Node: Exporting, Next: Publishing, Prev: Embedded LaTeX, Up: Top
  2845. 10 Exporting
  2846. ************
  2847. Org-mode documents can be exported into a variety of other formats. For
  2848. printing and sharing of notes, ASCII export produces a readable and
  2849. simple version of an Org-mode file. HTML export allows you to publish a
  2850. notes file on the web, while the XOXO format provides a solid base for
  2851. exchange with a broad range of other applications. To incorporate
  2852. entries with associated times like deadlines or appointments into a
  2853. desktop calendar program like iCal, Org-mode can also produce extracts
  2854. in the iCalendar format. Currently Org-mode only supports export, not
  2855. import of these different formats.
  2856. When exporting, Org-mode uses special conventions to enrich the
  2857. output produced. *Note Text interpretation::, for more details.
  2858. `C-c C-e'
  2859. Dispatcher for export and publishing commands. Displays a
  2860. help-window listing the additional key(s) needed to launch an
  2861. export or publishing command.
  2862. * Menu:
  2863. * ASCII export:: Exporting to plain ASCII
  2864. * HTML export:: Exporting to HTML
  2865. * XOXO export:: Exporting to XOXO
  2866. * iCalendar export:: Exporting in iCalendar format
  2867. * Text interpretation:: How the exporter looks at the file
  2868. 
  2869. File: org, Node: ASCII export, Next: HTML export, Prev: Exporting, Up: Exporting
  2870. 10.1 ASCII export
  2871. =================
  2872. ASCII export produces a simple and very readable version of an Org-mode
  2873. file.
  2874. `C-c C-e a'
  2875. Export as ASCII file. If there is an active region, only the
  2876. region will be exported. For an org file `myfile.org', the ASCII
  2877. file will be `myfile.txt'. The file will be overwritten without
  2878. warning.
  2879. `C-c C-e v a'
  2880. Export only the visible part of the document.
  2881. In the exported version, the first 3 outline levels will become
  2882. headlines, defining a general document structure. Additional levels
  2883. will be exported as itemized lists. If you want that transition to
  2884. occur at a different level, specify it with a prefix argument. For
  2885. example,
  2886. C-1 C-c C-e a
  2887. creates only top level headlines and does the rest as items. When
  2888. headlines are converted to items, the indentation of the text following
  2889. the headline is changed to fit nicely under the item. This is done with
  2890. the assumption that the first bodyline indicates the base indentation of
  2891. the body text. Any indentation larger than this is adjusted to preserve
  2892. the layout relative to the first line. Should there be lines with less
  2893. indentation than the first, these are left alone.
  2894. 
  2895. File: org, Node: HTML export, Next: XOXO export, Prev: ASCII export, Up: Exporting
  2896. 10.2 HTML export
  2897. ================
  2898. Org-mode contains an HTML (XHTML 1.0 strict) exporter with extensive
  2899. HTML formatting, in ways similar to John Grubers _markdown_ language,
  2900. but with additional support for tables.
  2901. `C-c C-e h'
  2902. Export as HTML file `myfile.html'.
  2903. `C-c C-e b'
  2904. Export as HTML file and open it with a browser.
  2905. `C-c C-e v h'
  2906. `C-c C-e v b'
  2907. Export only the visible part of the document.
  2908. In the exported version, the first 3 outline levels will become
  2909. headlines, defining a general document structure. Additional levels
  2910. will be exported as itemized lists. If you want that transition to
  2911. occur at a different level, specify it with a prefix argument. For
  2912. example,
  2913. C-2 C-c C-e b
  2914. creates two levels of headings and does the rest as items.
  2915. If you want to include HTML tags which should be interpreted as such,
  2916. mark them with `@' as in `@<b>bold text@</b>'. Plain `<' and `>' are
  2917. always transformed to `&lt;' and `&gt;' in HTML export.
  2918. Internal links (*note Internal links::) will continue to work in HTML
  2919. files only if they match a dedicated `<<target>>'. Automatic links
  2920. created by radio targets (*note Radio targets::) will also work in the
  2921. HTML file. Links to external files will still work if the HTML file is
  2922. in the same directory as the Org-mode file. Links to other `.org'
  2923. files will be translated into HTML links under the assumption that an
  2924. HTML version also exists of the linked file. For information related to
  2925. linking files while publishing them to a publishing directory see *Note
  2926. Publishing links::.
  2927. You can also give style information for the exported file. The HTML
  2928. exporter assigns the following CSS classes to appropriate parts of the
  2929. document - your style specifications may change these:
  2930. .todo TODO keywords
  2931. .done the DONE keyword
  2932. .timestamp time stamp
  2933. .timestamp-kwd keyword associated with a time stamp, like SCHEDULED
  2934. .tag tag in a headline
  2935. .target target for links
  2936. The default style specification can be configured through the option
  2937. `org-export-html-style'. If you want to use a file-local style, you
  2938. may use file variables, best wrapped into a COMMENT section at the end
  2939. of the outline tree. For example:
  2940. * COMMENT HTML style specifications
  2941. # Local Variables:
  2942. # org-export-html-style: " <style type=\"text/css\">
  2943. # p {font-weight: normal; color: gray; }
  2944. # h1 {color: black; }
  2945. # </style>"
  2946. # End:
  2947. Remember to execute `M-x normal-mode' after changing this to make
  2948. the new style visible to Emacs. This command restarts org-mode for the
  2949. current buffer and forces Emacs to re-evaluate the local variables
  2950. section in the buffer.
  2951. 
  2952. File: org, Node: XOXO export, Next: iCalendar export, Prev: HTML export, Up: Exporting
  2953. 10.3 XOXO export
  2954. ================
  2955. Org-mode contains an exporter that produces XOXO-style output.
  2956. Currently, this exporter only handles the general outline structure and
  2957. does not interpret any additional Org-mode features.
  2958. `C-c C-e x'
  2959. Export as XOXO file `myfile.html'.
  2960. `C-c C-e v x'
  2961. Export only the visible part of the document.
  2962. 
  2963. File: org, Node: iCalendar export, Next: Text interpretation, Prev: XOXO export, Up: Exporting
  2964. 10.4 iCalendar export
  2965. =====================
  2966. Some people like to use Org-mode for keeping track of projects, but
  2967. still prefer a standard calendar application for anniversaries and
  2968. appointments. In this case it can be useful to have deadlines and
  2969. other time-stamped items in Org-mode files show up in the calendar
  2970. application. Org-mode can export calendar information in the standard
  2971. iCalendar format.
  2972. `C-c C-e i'
  2973. Create iCalendar entries for the current file and store them in
  2974. the same directory, using a file extension `.ics'.
  2975. `C-c C-e I'
  2976. Like `C-c C-e i', but do this for all files in `org-agenda-files'.
  2977. For each of these files, a separate iCalendar file will be
  2978. written.
  2979. `C-c C-e c'
  2980. Create a single large iCalendar file from all files in
  2981. `org-agenda-files' and write it to the file given by
  2982. `org-combined-agenda-icalendar-file'.
  2983. How this calendar is best read and updated, depends on the
  2984. application you are using. For example, when using iCal under Apple
  2985. MacOS X, you could create a new calendar `OrgMode' (the default name
  2986. for the calendar created by `C-c C-e c', see the variables
  2987. `org-icalendar-combined-name' and
  2988. `org-combined-agenda-icalendar-file'). Then set Org-mode to overwrite
  2989. the corresponding file `~/Library/Calendars/OrgMode.ics'. You may even
  2990. use AppleScript to make iCal re-read the calendar files each time a new
  2991. version of `OrgMode.ics' is produced. Here is the setup needed for
  2992. this:
  2993. (setq org-combined-agenda-icalendar-file
  2994. "~/Library/Calendars/OrgMode.ics")
  2995. (add-hook 'org-after-save-iCalendar-file-hook
  2996. (lambda ()
  2997. (shell-command
  2998. "osascript -e 'tell application \"iCal\" to reload calendars'")))
  2999. 
  3000. File: org, Node: Text interpretation, Prev: iCalendar export, Up: Exporting
  3001. 10.5 Text interpretation by the exporter
  3002. ========================================
  3003. The exporter backends interpret additional structure in the Org-mode
  3004. file in order to produce better output.
  3005. * Menu:
  3006. * Comment lines:: Some lines will not be exported
  3007. * Enhancing text:: Subscripts, symbols and more
  3008. * Export options:: How to influence the export settings
  3009. 
  3010. File: org, Node: Comment lines, Next: Enhancing text, Prev: Text interpretation, Up: Text interpretation
  3011. 10.5.1 Comment lines
  3012. --------------------
  3013. Lines starting with `#' in column zero are treated as comments and will
  3014. never be exported. Also entire subtrees starting with the word
  3015. `COMMENT' will never be exported. Finally, any text before the first
  3016. headline will not be exported either.
  3017. `C-c ;'
  3018. Toggle the COMMENT keyword at the beginning of an entry.
  3019. 
  3020. File: org, Node: Enhancing text, Next: Export options, Prev: Comment lines, Up: Text interpretation
  3021. 10.5.2 Enhancing text for export
  3022. --------------------------------
  3023. Some of the export backends of Org-mode allow for sophisticated text
  3024. formatting, this is true in particular for the HTML backend. Org-mode
  3025. has a number of typing conventions that allow to produce a richly
  3026. formatted output.
  3027. * Plain lists `-', `*' or `+' as bullet, or with `1.' or `2)' as
  3028. enumerator will be recognized and transformed if the backend
  3029. supports lists. See *Note Plain lists::.
  3030. * You can make words *bold*, /italic/, _underlined_, `=code=', and
  3031. `+strikethrough+'.
  3032. * Many TeX macros and entire LaTeX fragments are converted into HTML
  3033. entities or images (*note Embedded LaTeX::).
  3034. * Tables are transformed into native tables under the exporter, if
  3035. the export backend supports this. Data fields before the first
  3036. horizontal separator line will be formatted as table header fields.
  3037. * If a headline starts with the word `QUOTE', the text below the
  3038. headline will be typeset as fixed-width, to allow quoting of
  3039. computer codes etc. Lines starting with `:' are also typeset in
  3040. fixed-width font.
  3041. `C-c :'
  3042. Toggle fixed-width for entry (QUOTE) or region, see below.
  3043. * A double backslash _at the end of a line_ enforces a line break at
  3044. this position.
  3045. If these conversions conflict with your habits of typing ASCII text,
  3046. they can all be turned off with corresponding variables (see the
  3047. customization group `org-export-general', and the following section
  3048. which explains how to set export options with special lines in a buffer.
  3049. 
  3050. File: org, Node: Export options, Prev: Enhancing text, Up: Text interpretation
  3051. 10.5.3 Export options
  3052. ---------------------
  3053. The exporter recognizes special lines in the buffer which provide
  3054. additional information. These lines may be put anywhere in the file.
  3055. The whole set of lines can be inserted into the buffer with `C-c C-e
  3056. t'. For individual lines, a good way to make sure the keyword is
  3057. correct is to type `#+' and then use `M-<TAB>' completion (*note
  3058. Completion::).
  3059. `C-c C-e t'
  3060. Insert template with export options, see example below.
  3061. #+TITLE: the title to be shown (default is the buffer name)
  3062. #+AUTHOR: the author (default taken from `user-full-name')
  3063. #+EMAIL: his/her email address (default from `user-mail-address')
  3064. #+LANGUAGE: language for HTML, e.g. `en' (`org-export-default-language')
  3065. #+TEXT: Some descriptive text to be inserted at the beginning.
  3066. #+TEXT: Several lines may be given.
  3067. #+OPTIONS: H:2 num:t toc:t \n:nil @:t ::t |:t ^:t *:nil TeX:t LaTeX:t
  3068. The OPTIONS line is a compact form to specify export settings. Here
  3069. you can:
  3070. H: set the number of headline levels for export
  3071. num: turn on/off section-numbers
  3072. toc: turn on/off table of contents
  3073. \n: turn on/off linebreak-preservation
  3074. @: turn on/off quoted HTML tags
  3075. :: turn on/off fixed-width sections
  3076. |: turn on/off tables
  3077. ^: turn on/off TeX-like syntax for sub- and superscripts.
  3078. *: turn on/off emphasized text (bold, italic, underlined)
  3079. TeX: turn on/off simple TeX macros in plain text
  3080. LaTeX: turn on/off LaTeX fragments
  3081. 
  3082. File: org, Node: Publishing, Next: Miscellaneous, Prev: Exporting, Up: Top
  3083. 11 Publishing
  3084. *************
  3085. Org-mode includes(1) a publishing management system that allows you to
  3086. configure automatic HTML conversion of _projects_ composed of
  3087. interlinked org files. This system is called _org-publish_. You can
  3088. also configure org-publish to automatically upload your exported HTML
  3089. pages and related attachments, such as images and source code files, to
  3090. a web server. Org-publish turns org-mode into a web-site authoring
  3091. tool.
  3092. Org-publish has been contributed to Org-mode by David O'Toole.
  3093. * Menu:
  3094. * Configuration:: Defining projects
  3095. * Sample configuration:: Example projects
  3096. * Triggering publication:: Publication commands
  3097. ---------- Footnotes ----------
  3098. (1) `org-publish.el' is not yet part of Emacs, so if you are using
  3099. `org.el' as it comes with Emacs, you need to download this file
  3100. separately. Also make sure org.el is at least version 4.27.
  3101. 
  3102. File: org, Node: Configuration, Next: Sample configuration, Prev: Publishing, Up: Publishing
  3103. 11.1 Configuration
  3104. ==================
  3105. Publishing needs significant configuration to specify files, destination
  3106. and many other properties of a project.
  3107. * Menu:
  3108. * Project alist:: The central configuration variable
  3109. * Sources and destinations:: From here to there
  3110. * Selecting files:: What files are part of the project?
  3111. * Publishing action:: Setting the function doing the publishing
  3112. * Publishing options:: Tweaking HTML export
  3113. * Publishing links:: Which links keep working after publishing?
  3114. * Project page index:: Publishing a list of project files
  3115. 
  3116. File: org, Node: Project alist, Next: Sources and destinations, Prev: Configuration, Up: Configuration
  3117. 11.1.1 The variable `org-publish-project-alist'
  3118. -----------------------------------------------
  3119. Org-publish is configured almost entirely through setting the value of
  3120. one variable, called `org-publish-project-alist'. Each element of the
  3121. list configures one project, and may be in one of the two following
  3122. forms:
  3123. ("project-name" :property value :property value ...)
  3124. or
  3125. ("project-name" :components ("project-name" "project-name" ...))
  3126. In both cases, projects are configured by specifying property values.
  3127. A project defines the set of files that will be published, as well as
  3128. the publishing configuration to use when publishing those files. When
  3129. a project takes the second form listed above, the individual members of
  3130. the "components" property are taken to be components of the project,
  3131. which group together files requiring different publishing options. When
  3132. you publish such a "meta-project" all the components will also publish.
  3133. 
  3134. File: org, Node: Sources and destinations, Next: Selecting files, Prev: Project alist, Up: Configuration
  3135. 11.1.2 Sources and destinations for files
  3136. -----------------------------------------
  3137. Most properties are optional, but some should always be set. In
  3138. particular, org-publish needs to know where to look for source files,
  3139. and where to put published files.
  3140. `:base-directory' Directory containing publishing source files
  3141. `:publishing-directory'Directory (possibly remote) where output files
  3142. will be published.
  3143. `:preparation-function'Function called before starting publishing
  3144. process, for example to run `make' for updating
  3145. files to be published.
  3146. 
  3147. File: org, Node: Selecting files, Next: Publishing action, Prev: Sources and destinations, Up: Configuration
  3148. 11.1.3 Selecting files
  3149. ----------------------
  3150. By default, all files with extension `.org' in the base directory are
  3151. considered part of the project. This can be modified by setting the
  3152. properties
  3153. `:base-extension' Extension (without the dot!) of source files. This
  3154. actually is a regular expression.
  3155. `:exclude' Regular expression to match file names that should
  3156. not be published, even though they have been selected
  3157. on the basis of their extension.
  3158. `:include' List of files to be included regardless of
  3159. `:base-extension' and `:exclude'.
  3160. 
  3161. File: org, Node: Publishing action, Next: Publishing options, Prev: Selecting files, Up: Configuration
  3162. 11.1.4 Publishing Action
  3163. ------------------------
  3164. Publishing means that a file is copied to the destination directory and
  3165. possibly transformed in the process. The default transformation is to
  3166. export Org-mode files as HTML files, and this is done by the function
  3167. `org-publish-org-to-html' which calls the HTML exporter (*note HTML
  3168. export::). Other files like images only need to be copied to the
  3169. publishing destination. For non-Org-mode files, you need to specify
  3170. the publishing function.
  3171. `:publishing-function' Function executing the publication of a file.
  3172. This may also be a list of functions, which will
  3173. all be called in turn.
  3174. The function must accept two arguments: a property list containing at
  3175. least a `:publishing-directory' property, and the name of the file to
  3176. be published. It should take the specified file, make the necessary
  3177. transformation (if any) and place the result into the destination
  3178. folder. You can write your own publishing function, but `org-publish'
  3179. provides one for attachments (files that only need to be copied):
  3180. `org-publish-attachment'.
  3181. 
  3182. File: org, Node: Publishing options, Next: Publishing links, Prev: Publishing action, Up: Configuration
  3183. 11.1.5 Options for the HTML exporter
  3184. ------------------------------------
  3185. The property list can be used to set many export options for the HTML
  3186. exporter. In most cases, these properties correspond to user variables
  3187. in Org-mode. The table below lists these properties along with the
  3188. variable they belong to. See the documentation string for the
  3189. respective variable for details.
  3190. `:language' `org-export-default-language'
  3191. `:headline-levels' `org-export-headline-levels'
  3192. `:section-numbers' `org-export-with-section-numbers'
  3193. `:table-of-contents' `org-export-with-toc'
  3194. `:archived-trees' `org-export-with-archived-trees'
  3195. `:emphasize' `org-export-with-emphasize'
  3196. `:sub-superscript' `org-export-with-sub-superscripts'
  3197. `:TeX-macros' `org-export-with-TeX-macros'
  3198. `:LaTeX-fragments' `org-export-with-LaTeX-fragments'
  3199. `:fixed-width' `org-export-with-fixed-width'
  3200. `:timestamps' `org-export-with-timestamps'
  3201. .
  3202. `:tags' `org-export-with-tags'
  3203. .
  3204. `:tables' `org-export-with-tables'
  3205. `:table-auto-headline' `org-export-highlight-first-table-line'
  3206. `:style' `org-export-html-style'
  3207. `:convert-org-links' `org-export-html-link-org-files-as-html'
  3208. `:inline-images' `org-export-html-inline-images'
  3209. `:expand-quoted-html' `org-export-html-expand'
  3210. `:timestamp' `org-export-html-with-timestamp'
  3211. `:publishing-directory'`org-export-publishing-directory'
  3212. `:preamble' `org-export-html-preamble'
  3213. `:postamble' `org-export-html-postamble'
  3214. `:auto-preamble' `org-export-html-auto-preamble'
  3215. `:auto-postamble' `org-export-html-auto-postamble'
  3216. `:author' `user-full-name'
  3217. `:email' `user-mail-address'
  3218. When a property is given a value in org-publish-project-alist, its
  3219. setting overrides the value of the corresponding user variable (if any)
  3220. during publishing. options set within a file (*note Export options::),
  3221. however, override everything.
  3222. 
  3223. File: org, Node: Publishing links, Next: Project page index, Prev: Publishing options, Up: Configuration
  3224. 11.1.6 Links between published files
  3225. ------------------------------------
  3226. To create a link from one Org-mode file to another, you would use
  3227. something like `[[file:foo.org][The foo]]' or simply `file:foo.org.'
  3228. (*note Hyperlinks::). Upon publishing this link becomes a link to
  3229. `foo.html'. In this way, you can interlink the pages of your "org web"
  3230. project and the links will work as expected when you publish them to
  3231. HTML.
  3232. You may also link to related files, such as images. Provided you are
  3233. careful with relative pathnames, and provided you have also configured
  3234. org-publish to upload the related files, these links will work too.
  3235. *Note Complex example:: for an example of this usage.
  3236. Sometime an Org-mode file to be published may contain links that are
  3237. only valid in your production environment, but not in the publishing
  3238. location. In this case, use the property
  3239. `:link-validation-function' Function to validate links
  3240. to define a function for checking link validity. This function must
  3241. accept two arguments, the file name and a directory relative to which
  3242. the file name is interpreted in the production environment. If this
  3243. function returns `nil', then the HTML generator will only insert a
  3244. description into the HTML file, but no link. One option for this
  3245. function is `org-publish-validate-link' which checks if the given file
  3246. is part of any project in `org-publish-project-alist'.
  3247. 
  3248. File: org, Node: Project page index, Prev: Publishing links, Up: Configuration
  3249. 11.1.7 Project page index
  3250. -------------------------
  3251. The following properties may be used to control publishing of an index
  3252. of files or summary page for a given project.
  3253. `:auto-index' When non-nil, publish an index during
  3254. org-publish-current-project or org-publish-all.
  3255. `:index-filename' Filename for output of index. Defaults to `index.org'
  3256. (which becomes `index.html').
  3257. `:index-title' Title of index page. Defaults to name of file.
  3258. `:index-function' Plugin function to use for generation of index.
  3259. Defaults to `org-publish-org-index', which generates
  3260. a plain list of links to all files in the project.
  3261. 
  3262. File: org, Node: Sample configuration, Next: Triggering publication, Prev: Configuration, Up: Publishing
  3263. 11.2 Sample configuration
  3264. =========================
  3265. Below we provide two example configurations. The first one is a simple
  3266. project publishing only a set of Org-mode files. The second example is
  3267. more complex, with a multi-component project.
  3268. * Menu:
  3269. * Simple example:: One-component publishing
  3270. * Complex example:: A multi-component publishing example
  3271. 
  3272. File: org, Node: Simple example, Next: Complex example, Prev: Sample configuration, Up: Sample configuration
  3273. 11.2.1 Example: simple publishing configuration
  3274. -----------------------------------------------
  3275. This example publishes a set of Org-mode files to the `public_html'
  3276. directory on the local machine.
  3277. (setq org-publish-project-alist
  3278. '(("org"
  3279. :base-directory "~/org/"
  3280. :publishing-directory "~/public_html"
  3281. :section-numbers nil
  3282. :table-of-contents nil
  3283. :style "<link rel=stylesheet
  3284. href=\"../other/mystyle.css\"
  3285. type=\"text/css\">")))
  3286. 
  3287. File: org, Node: Complex example, Prev: Simple example, Up: Sample configuration
  3288. 11.2.2 Example: complex publishing configuration
  3289. ------------------------------------------------
  3290. This more complicated example publishes an entire website, including
  3291. org files converted to HTML, image files, emacs lisp source code, and
  3292. stylesheets. The publishing-directory is remote and private files are
  3293. excluded.
  3294. To ensure that links are preserved, care should be taken to replicate
  3295. your directory structure on the web server, and to use relative file
  3296. paths. For example, if your org files are kept in `~/org' and your
  3297. publishable images in `~/images', you'd link to an image with
  3298. file:../images/myimage.png
  3299. On the web server, the relative path to the image should be the
  3300. same. You can accomplish this by setting up an "images" folder in the
  3301. right place on the webserver, and publishing images to it.
  3302. (setq org-publish-project-alist
  3303. '(("orgfiles"
  3304. :base-directory "~/org/"
  3305. :base-extension "org"
  3306. :publishing-directory "/ssh:user@host:~/html/notebook/"
  3307. :publishing-function org-publish-org-to-html
  3308. :exclude "PrivatePage.org" ;; regexp
  3309. :headline-levels 3
  3310. :section-numbers nil
  3311. :table-of-contents nil
  3312. :style "<link rel=stylesheet
  3313. href=\"../other/mystyle.css\" type=\"text/css\">"
  3314. :auto-preamble t
  3315. :auto-postamble nil)
  3316. ("images"
  3317. :base-directory "~/images/"
  3318. :base-extension "jpg\\|gif\\|png"
  3319. :publishing-directory "/ssh:user@host:~/html/images/"
  3320. :publishing-function org-publish-attachment)
  3321. ("other"
  3322. :base-directory "~/other/"
  3323. :base-extension "css\\|el"
  3324. :publishing-directory "/ssh:user@host:~/html/other/"
  3325. :publishing-function org-publish-attachment)
  3326. ("website" :components ("orgfiles" "images" "other"))))
  3327. 
  3328. File: org, Node: Triggering publication, Prev: Sample configuration, Up: Publishing
  3329. 11.3 Triggering publication
  3330. ===========================
  3331. Once org-publish is properly configured, you can publish with the
  3332. following functions:
  3333. `C-c C-e c'
  3334. Prompt for a specific project and publish all files that belong to
  3335. it.
  3336. `C-c C-e p'
  3337. Publish the project containing the current file.
  3338. `C-c C-e f'
  3339. Publish only the current file.
  3340. `C-c C-e a'
  3341. Publish all projects.
  3342. Org uses timestamps to track when a file has changed. The above
  3343. functions normally only publish changed files. You can override this and
  3344. force publishing of all files by giving a prefix argument.
  3345. 
  3346. File: org, Node: Miscellaneous, Next: Extensions and Hacking, Prev: Publishing, Up: Top
  3347. 12 Miscellaneous
  3348. ****************
  3349. * Menu:
  3350. * Completion:: M-TAB knows what you need
  3351. * Customization:: Adapting Org-mode to your taste
  3352. * In-buffer settings:: Overview of the #+KEYWORDS
  3353. * The very busy C-c C-c key:: When in doubt, press C-c C-c
  3354. * Clean view:: Getting rid of leading stars in the outline
  3355. * TTY keys:: Using Org-mode on a tty
  3356. * Interaction:: Other Emacs packages
  3357. * Bugs:: Things which do not work perfectly
  3358. 
  3359. File: org, Node: Completion, Next: Customization, Prev: Miscellaneous, Up: Miscellaneous
  3360. 12.1 Completion
  3361. ===============
  3362. Org-mode supports in-buffer completion. This type of completion does
  3363. not make use of the minibuffer. You simply type a few letters into the
  3364. buffer and use the key to complete text right there.
  3365. `M-<TAB>'
  3366. Complete word at point
  3367. * At the beginning of a headline, complete TODO keywords.
  3368. * After `\', complete TeX symbols supported by the exporter.
  3369. * After `*', complete headlines in the current buffer so that
  3370. they can be used in search links like `[[*find this
  3371. headline]]'.
  3372. * After `:', complete tags. The list of tags is taken from the
  3373. variable `org-tag-alist' (possibly set through the `#+TAGS'
  3374. in-buffer option, *note Setting tags::), or it is created
  3375. dynamically from all tags used in the current buffer.
  3376. * After `[', complete link abbreviations (*note Link
  3377. abbreviations::).
  3378. * After `#+', complete the special keywords like `TYP_TODO' or
  3379. `OPTIONS' which set file-specific options for Org-mode. When
  3380. the option keyword is already complete, pressing `M-<TAB>'
  3381. again will insert example settings for this keyword.
  3382. * In the line after `#+STARTUP: ', complete startup keywords,
  3383. i.e. valid keys for this line.
  3384. * Elsewhere, complete dictionary words using ispell.
  3385. 
  3386. File: org, Node: Customization, Next: In-buffer settings, Prev: Completion, Up: Miscellaneous
  3387. 12.2 Customization
  3388. ==================
  3389. There are more than 100 variables that can be used to customize
  3390. Org-mode. For the sake of compactness of the manual, we are not
  3391. describing the variables here. A structured overview of customization
  3392. variables is available with `M-x org-customize'. Or select `Browse Org
  3393. Group' from the `Org->Customization' menu. Many settings can also be
  3394. activated on a per-file basis, by putting special lines into the buffer
  3395. (*note In-buffer settings::).
  3396. 
  3397. File: org, Node: In-buffer settings, Next: The very busy C-c C-c key, Prev: Customization, Up: Miscellaneous
  3398. 12.3 Summary of in-buffer settings
  3399. ==================================
  3400. Org-mode uses special lines in the buffer to define settings on a
  3401. per-file basis. These lines start with a `#+' followed by a keyword, a
  3402. colon, and then individual words defining a setting. Several setting
  3403. words can be in the same line, but you can also have multiple lines for
  3404. the keyword. While these settings are described throughout the manual,
  3405. here is a summary. After changing any of those lines in the buffer,
  3406. press `C-c C-c' with the cursor still in the line to activate the
  3407. changes immediately. Otherwise they become effective only when the
  3408. file is visited again in a new Emacs session.
  3409. `#+STARTUP:'
  3410. This line sets options to be used at startup of org-mode, when an
  3411. Org-mode file is being visited. The first set of options deals
  3412. with the initial visibility of the outline tree. The
  3413. corresponding variable for global default settings is
  3414. `org-startup-folded', with a default value `t', which means
  3415. `overview'.
  3416. overview top-level headlines only
  3417. content all headlines
  3418. showall no folding at all, show everything
  3419. Then there are options for aligning tables upon visiting a file.
  3420. This is useful in files containing narrowed table columns. The
  3421. corresponding variable is `org-startup-align-all-tables', with a
  3422. default value `nil'.
  3423. align align all tables
  3424. noalign don't align tables on startup
  3425. Logging when a TODO item is marked DONE (variable `org-log-done')
  3426. can be configured using these options.
  3427. logging record a timestamp when an item is marked DONE
  3428. nologging don't record when items are marked DONE
  3429. Here are the options for hiding leading stars in outline headings.
  3430. The corresponding variables are `org-hide-leading-stars' and
  3431. `org-odd-levels-only', both with a default setting `nil' (meaning
  3432. `showstars' and `oddeven').
  3433. hidestars make all but one of the stars starting a headline invisible.
  3434. showstars show all stars starting a headline
  3435. odd allow only odd outline levels (1,3,...)
  3436. oddeven allow all outline levels
  3437. `#+SEQ_TODO: #+TYP_TODO:'
  3438. These lines set the TODO keywords and their interpretation in the
  3439. current file. The corresponding variables are `org-todo-keywords'
  3440. and `org-todo-interpretation'.
  3441. `#+TAGS: TAG1(c1) TAG2(c2)'
  3442. These lines (several such lines are allowed) specify the legal
  3443. tags in this file, and (potentially) the corresponding _fast tag
  3444. selection_ keys. The corresponding variable is `org-tag-alist'.
  3445. `#+LINK: linkword replace'
  3446. These lines (several are allowed) specify link abbreviations.
  3447. *Note Link abbreviations::. The corresponding variable is
  3448. `org-link-abbrev-alist'.
  3449. `#+CATEGORY:'
  3450. This line sets the category for the agenda file. The category
  3451. applies for all subsequent lines until the next `#+CATEGORY' line,
  3452. or the end of the file.
  3453. `#+TBLFM:'
  3454. This line contains the formulas for the table directly above the
  3455. line.
  3456. `#+TITLE:, #+AUTHOR:, #+EMAIL:, #+LANGUAGE:, #+TEXT:, #+OPTIONS:'
  3457. These lines provide settings for exporting files. For more
  3458. details see *Note Export options::.
  3459. 
  3460. File: org, Node: The very busy C-c C-c key, Next: Clean view, Prev: In-buffer settings, Up: Miscellaneous
  3461. 12.4 The very busy C-c C-c key
  3462. ==============================
  3463. The key `C-c C-c' has many purposes in org-mode, which are all
  3464. mentioned scattered throughout this manual. One specific function of
  3465. this key is to add _tags_ to a headline (*note Tags::). In many other
  3466. circumstances it means something like _Hey Org-mode, look here and
  3467. update according to what you see here_. Here is a summary of what this
  3468. means in different contexts.
  3469. - If there are highlights in the buffer from the creation of a sparse
  3470. tree, or from clock display, remove these highlights.
  3471. - If the cursor is in one of the special `#+KEYWORD' lines, this
  3472. triggers scanning the buffer for these lines and updating the
  3473. information.
  3474. - If the cursor is inside a table, realign the table. This command
  3475. works even if the automatic table editor has been turned off.
  3476. - If the cursor is on a `#+TBLFM' line, re-apply the formulas to the
  3477. entire table.
  3478. - If the cursor is inside a table created by the `table.el' package,
  3479. activate that table.
  3480. - If the current buffer is a remember buffer, close the note and
  3481. file it. With a prefix argument, file it, without further
  3482. interaction, to the default location.
  3483. - If the cursor is on a `<<<target>>>', update radio targets and
  3484. corresponding links in this buffer.
  3485. - If the cursor is in a plain list item with a checkbox, toggle the
  3486. status of the checkbox.
  3487. - If the cursor is on a numbered item in a plain list, renumber the
  3488. ordered list.
  3489. 
  3490. File: org, Node: Clean view, Next: TTY keys, Prev: The very busy C-c C-c key, Up: Miscellaneous
  3491. 12.5 A cleaner outline view
  3492. ===========================
  3493. Some people find it noisy and distracting that the Org-mode headlines
  3494. are starting with a potentially large number of stars. For example the
  3495. tree from *Note Headlines:::
  3496. * Top level headline
  3497. ** Second level
  3498. *** 3rd level
  3499. some text
  3500. *** 3rd level
  3501. more text
  3502. * Another top level headline
  3503. Unfortunately this is deeply ingrained into the code of Org-mode and
  3504. cannot be easily changed. You can, however, modify the display in such
  3505. a way that all leading stars become invisible and the outline more easy
  3506. to read. To do this, customize the variable `org-hide-leading-stars'
  3507. like this:
  3508. (setq org-hide-leading-stars t)
  3509. or change this on a per-file basis with one of the lines (anywhere in
  3510. the buffer)
  3511. #+STARTUP: showstars
  3512. #+STARTUP: hidestars
  3513. Press `C-c C-c' with the cursor in a `STARTUP' line to activate the
  3514. modifications.
  3515. With stars hidden, the tree becomes:
  3516. * Top level headline
  3517. * Second level
  3518. * 3rd level
  3519. some text
  3520. * 3rd level
  3521. more text
  3522. * Another top level headline
  3523. Note that the leading stars are not truly replaced by whitespace, they
  3524. are only fontified with the face `org-hide' that uses the background
  3525. color as font color. If are are not using either white or black
  3526. background, you may have to customize this face to get the wanted
  3527. effect. Another possibility is to set this font such that the extra
  3528. stars are almost invisible, for example using the color `grey90' on a
  3529. white background.
  3530. Things become cleaner still if you skip all the even levels and use
  3531. only odd levels 1, 3, 5..., effectively adding two stars to go from one
  3532. outline level to the next:
  3533. * Top level headline
  3534. * Second level
  3535. * 3rd level
  3536. some text
  3537. * 3rd level
  3538. more text
  3539. * Another top level headline
  3540. In order to make the structure editing and export commands handle this
  3541. convention correctly, use
  3542. (setq org-odd-levels-only t)
  3543. or set this on a per-file basis with one of the following lines (don't
  3544. forget to press `C-c C-c' with the cursor in the startup line to
  3545. activate changes immediately).
  3546. #+STARTUP: odd
  3547. #+STARTUP: oddeven
  3548. You can convert an Org-mode file from single-star-per-level to the
  3549. double-star-per-level convention with `M-x org-convert-to-odd-levels
  3550. RET' in that file. The reverse operation is `M-x
  3551. org-convert-to-oddeven-levels'.
  3552. 
  3553. File: org, Node: TTY keys, Next: Interaction, Prev: Clean view, Up: Miscellaneous
  3554. 12.6 Using org-mode on a tty
  3555. ============================
  3556. Org-mode uses a number of keys that are not accessible on a tty. This
  3557. applies to most special keys like cursor keys, <TAB> and <RET>, when
  3558. these are combined with modifier keys like <Meta> and/or <Shift>.
  3559. Org-mode uses these bindings because it needs to provide keys for a
  3560. large number of commands, and because these keys appeared particularly
  3561. easy to remember. In order to still be able to access the core
  3562. functionality of Org-mode on a tty, alternative bindings are provided.
  3563. Here is a complete list of these bindings, which are obviously more
  3564. cumbersome to use. Note that sometimes a work-around can be better.
  3565. For example changing a time stamp is really only fun with `S-<cursor>'
  3566. keys. On a tty you would rather use `C-c .' to re-insert the
  3567. timestamp.
  3568. Default Alternative 1 Alternative 2
  3569. `S-<TAB>' `C-u <TAB>'
  3570. `M-<left>' `C-c C-x l' `<Esc> <left>'
  3571. `M-S-<left>'`C-c C-x L'
  3572. `M-<right>' `C-c C-x r' `<Esc>
  3573. <right>'
  3574. `M-S-<right>'`C-c C-x R'
  3575. `M-<up>' `C-c C-x u' `<Esc> <up>'
  3576. `M-S-<up>' `C-c C-x U'
  3577. `M-<down>' `C-c C-x d' `<Esc> <down>'
  3578. `M-S-<down>'`C-c C-x D'
  3579. `S-<RET>' `C-c C-x c'
  3580. `M-<RET>' `C-c C-x m' `<Esc> <RET>'
  3581. `M-S-<RET>' `C-c C-x M'
  3582. `S-<left>' `C-c C-x
  3583. <left>'
  3584. `S-<right>' `C-c C-x
  3585. <right>'
  3586. `S-<up>' `C-c C-x
  3587. <up>'
  3588. `S-<down>' `C-c C-x
  3589. <down>'
  3590. 
  3591. File: org, Node: Interaction, Next: Bugs, Prev: TTY keys, Up: Miscellaneous
  3592. 12.7 Interaction with other packages
  3593. ====================================
  3594. Org-mode lives in the world of GNU Emacs and interacts in various ways
  3595. with other code out there.
  3596. * Menu:
  3597. * Cooperation:: Packages Org-mode cooperates with
  3598. * Conflicts:: Packages that lead to conflicts
  3599. 
  3600. File: org, Node: Cooperation, Next: Conflicts, Prev: Interaction, Up: Interaction
  3601. 12.7.1 Packages that Org-mode cooperates with
  3602. ---------------------------------------------
  3603. `calc.el' by Dave Gillespie
  3604. Org-mode uses the calc package for implementing spreadsheet
  3605. functionality in its tables (*note Table calculations::).
  3606. Org-modes checks for the availability of calc by looking for the
  3607. function `calc-eval' which should be autoloaded in your setup if
  3608. calc has been installed properly. As of Emacs 22, calc is part of
  3609. the Emacs distribution. Another possibility for interaction
  3610. between the two packages is using calc for embedded calculations.
  3611. *Note Embedded Mode: (calc)Embedded Mode.
  3612. `constants.el' by Carsten Dominik
  3613. In a table formula (*note Table calculations::), it is possible to
  3614. use names for natural constants or units. Instead of defining
  3615. your own constants in the variable `org-table-formula-constants',
  3616. install the `constants' package which defines a large number of
  3617. constants and units, and lets you use unit prefixes like `M' for
  3618. `Mega' etc. You will need version 2.0 of this package, available
  3619. at `http://www.astro.uva.nl/~dominik/Tools'. Org-mode checks for
  3620. the function `constants-get', which has to be autoloaded in your
  3621. setup. See the installation instructions in the file
  3622. `constants.el'.
  3623. `cdlatex.el' by Carsten Dominik
  3624. Org-mode can make use of the cdlatex package to efficiently enter
  3625. LaTeX fragments into Org-mode files. See *Note CDLaTeX mode::.
  3626. `remember.el' by John Wiegley
  3627. Org mode cooperates with remember, see *Note Remember::.
  3628. `Remember.el' is not part of Emacs, find it on the web.
  3629. `table.el' by Takaaki Ota
  3630. Org mode cooperates with table.el, see *Note table.el::.
  3631. `table.el' is part of Emacs 22.
  3632. 
  3633. File: org, Node: Conflicts, Prev: Cooperation, Up: Interaction
  3634. 12.7.2 Packages that lead to conflicts with Org-mode
  3635. ----------------------------------------------------
  3636. `allout.el' by Ken Manheimer
  3637. Startup of Org-mode may fail with the error message
  3638. `(wrong-type-argument keymapp nil)' when there is an outdated
  3639. version `allout.el' on the load path, for example the version
  3640. distributed with Emacs 21.x. Upgrade to Emacs 22 and this problem
  3641. will disappear. If for some reason you cannot do this, make sure
  3642. that org.el is loaded _before_ `allout.el', for example by putting
  3643. `(require 'org)' early enough into your `.emacs' file.
  3644. `CUA.el' by Kim. F. Storm
  3645. Keybindings in Org-mode conflict with the `S-<cursor>' keys used
  3646. by CUA-mode (as well as pc-select-mode and s-region-mode) to
  3647. select and extend the region. If you want to use one of these
  3648. packages along with Org-mode, configure the variable
  3649. `org-CUA-compatible'. When set, Org-mode will move the following
  3650. keybindings in org-mode files, and in the agenda buffer (but not
  3651. during date selection).
  3652. S-UP -> M-p S-DOWN -> M-n
  3653. S-LEFT -> M-- S-RIGHT -> M-+
  3654. S-RET -> C-S-RET
  3655. Yes, these are unfortunately more difficult to remember. If you
  3656. want to have other replacement keys, look at the variable
  3657. `org-disputed-keys'.
  3658. `windmove.el' by Hovav Shacham
  3659. Also this package uses the `S-<cursor>' keys, so everything written
  3660. in the paragraph above about CUA mode also applies here.
  3661. 
  3662. File: org, Node: Bugs, Prev: Interaction, Up: Miscellaneous
  3663. 12.8 Bugs
  3664. =========
  3665. Here is a list of things that should work differently, but which I have
  3666. found too hard to fix.
  3667. * If a table field starts with a link, and if the corresponding table
  3668. column is narrowed (*note Narrow columns::) to a width too small to
  3669. display the link, the field would look entirely empty even though
  3670. it is not. To prevent this, Org-mode throws an error. The
  3671. work-around is to make the column wide enough to fit the link, or
  3672. to add some text (at least 2 characters) before the link in the
  3673. same field.
  3674. * Narrowing table columns does not work on XEmacs, because the
  3675. `format' function does not transport text properties.
  3676. * Text in an entry protected with the `QUOTE' keyword should not
  3677. autowrap.
  3678. * When the application called by `C-c C-o' to open a file link fails
  3679. (for example because the application does not exist or refuses to
  3680. open the file), it does so silently. No error message is
  3681. displayed.
  3682. * The remote-editing commands in the agenda buffer cannot be undone
  3683. with `undo' called from within the agenda buffer. But you can go
  3684. to the corresponding buffer (using <TAB> or <RET> and execute
  3685. `undo' there.
  3686. * Recalculating a table line applies the formulas from left to right.
  3687. If a formula uses _calculated_ fields further down the row,
  3688. multiple recalculation may be needed to get all fields consistent.
  3689. * A single letter cannot be made bold, for example `*a*'.
  3690. * The exporters work well, but could be made more efficient.
  3691. 
  3692. File: org, Node: Extensions and Hacking, Next: History and Acknowledgments, Prev: Miscellaneous, Up: Top
  3693. Appendix A Extensions, Hooks and Hacking
  3694. ****************************************
  3695. This appendix lists extensions for Org-mode written by other authors.
  3696. It also covers some aspects where users can easily extend the
  3697. functionality of Org-mode.
  3698. * Menu:
  3699. * Extensions:: Existing 3rd-part extensions
  3700. * Dynamic blocks:: Automatically filled blocks
  3701. 
  3702. File: org, Node: Extensions, Next: Dynamic blocks, Prev: Extensions and Hacking, Up: Extensions and Hacking
  3703. A.1 Third-party extensions for Org-mode
  3704. =======================================
  3705. The following extensions for Org-mode have been written by other people:
  3706. `org-mouse.el' by Piotr Zielinski
  3707. This package implements extended mouse functionality for Org-mode.
  3708. It allows you to cycle visibility and to edit the document
  3709. structure with the mouse. Best of all, it provides a
  3710. context-sensitive menu on <mouse-3> that changes depending on the
  3711. context of a mouse-click. `org-mouse.el' is freely available at
  3712. `http://www.cl.cam.ac.uk/~pz215/files/org-mouse.el'.
  3713. `org-publish.el' by David O'Toole
  3714. This package provides facilities for publishing related sets of
  3715. Org-mode files together with linked files like images as a
  3716. webpages. It is highly configurable and can be used for other
  3717. publishing purposes as well. As of Org-mode version 4.30,
  3718. `org-publish.el' is part of the Org-mode distribution. It is not
  3719. yet part of Emacs, however, a delay caused by the preparations for
  3720. the 22.1 release. In the mean time, `org-publish.el' can be
  3721. downloaded from David's site:
  3722. `http://dto.freeshell.org/e/org-publish.el'.
  3723. `org-blog.el' by David O'Toole
  3724. A blogging plug-in for `org-publish.el'.
  3725. `http://dto.freeshell.org/notebook/OrgMode.html'.
  3726. `org-blogging.el' by Bastien Guerry
  3727. Publish Org-mode files as blogs.
  3728. `http://www.cognition.ens.fr/~guerry/org-blogging.html'.
  3729. 
  3730. File: org, Node: Dynamic blocks, Prev: Extensions, Up: Extensions and Hacking
  3731. A.2 Dynamic blocks
  3732. ==================
  3733. Org-mode documents can contain _dynamic blocks_. These are specially
  3734. marked regions that are updated by some user-written function. A good
  3735. example for such a block is the clock table inserted by the command
  3736. `C-c C-x C-r' (*note Clocking work time::).
  3737. Dynamic block are enclosed by a BEGIN-END structure that assigns a
  3738. name to the block and can also specify parameters for the function
  3739. producing the content of the block.
  3740. #+BEGIN: myblock :parameter1 value1 :parameter2 value2 ...
  3741. #+END:
  3742. Dynamic blocks are updated with the following commands
  3743. `C-c C-x C-u'
  3744. Update dynamic block at point.
  3745. `C-u C-c C-x C-u'
  3746. Update all dynamic blocks in the current file.
  3747. Updating a dynamic block means to remove all the text between BEGIN
  3748. and END, parse the BEGIN line for parameters and then call the specific
  3749. writer function for this block to insert the new content. For a block
  3750. with name `myblock', the writer function is `org-dblock-write:myblock'
  3751. with as only parameter a property list with the parameters given in the
  3752. begin line. Here is a trivial example of a block that keeps track of
  3753. when the block update function was last run:
  3754. #+BEGIN: block-update-time :format "on %m/%d/%Y at %H:%M"
  3755. #+END:
  3756. The corresponding block writer function could look like this:
  3757. (defun org-dblock-write:block-update-time (params)
  3758. (let ((fmt (or (plist-get params :format) "%d. %m. %Y")))
  3759. (insert "Last block update at: "
  3760. (format-time-string fmt (current-time)))))
  3761. If you want to make sure that all dynamic blocks are always
  3762. up-to-date, you could add the function `org-update-all-dblocks' to a
  3763. hook, for example `before-save-hook'. `org-update-all-dblocks' is
  3764. written in a way that is does nothing in buffers that are not in
  3765. Org-mode.
  3766. 
  3767. File: org, Node: History and Acknowledgments, Next: Index, Prev: Extensions and Hacking, Up: Top
  3768. Appendix B History and Acknowledgments
  3769. **************************************
  3770. Org-mode was borne in 2003, out of frustration over the user interface
  3771. of the Emacs outline-mode. All I wanted was to make working with an
  3772. outline tree possible without having to remember more than 10 commands
  3773. just for hiding and unhiding parts of the outline tree, and to allow to
  3774. restructure a tree easily. Visibility cycling and structure editing
  3775. were originally implemented in the package `outline-magic.el', but
  3776. quickly moved to the more general `org.el'. TODO entries, basic time
  3777. stamps, and table support were added next, and highlight the two main
  3778. goals that Org-mode still has today: To create a new, outline-based,
  3779. plain text mode with innovative and intuitive editing features, and to
  3780. incorporate project planning functionality directly into a notes file.
  3781. Since the first release, hundreds of emails to me or on
  3782. `emacs-orgmode@gnu.org' have provided a constant stream of bug reports,
  3783. feedback, new ideas, and sometimes even patches and add-on code. Many
  3784. thanks to everyone who has helped to improve this package. I am trying
  3785. to keep here a list of the people who had significant influence in
  3786. shaping one or more aspects of Org-mode. The list may not be complete,
  3787. if I have forgotten someone, please accept my apologies and let me know.
  3788. * Thomas Baumann contributed the code for links to the MH-E email
  3789. system.
  3790. * Alex Bochannek provided a patch for rounding time stamps.
  3791. * Charles Cave's suggestion sparked the implementation of templates
  3792. for Remember.
  3793. * Pavel Chalmoviansky influenced the agenda treatment of items with
  3794. specified time.
  3795. * Gregory Chernov patched support for lisp forms into table
  3796. calculations and improved XEmacs compatibility, in particular by
  3797. porting `nouline.el' to XEmacs.
  3798. * Sacha Chua suggested to copy some linking code from Planner.
  3799. * Eddward DeVilla proposed and tested checkbox statistics.
  3800. * Kees Dullemond inspired the use of narrowed tabled columns.
  3801. * Christian Egli converted the documentation into TeXInfo format,
  3802. patched CSS formatting into the HTML exporter, and inspired the
  3803. agenda.
  3804. * Nic Ferrier contributed mailcap and XOXO support.
  3805. * Niels Giessen had the idea to automatically archive DONE trees.
  3806. * Bastien Guerry provided extensive feedback.
  3807. * Kai Grossjohann pointed out key-binding conflicts with other
  3808. packages.
  3809. * Leon Liu asked for embedded LaTeX and tested it.
  3810. * Stefan Monnier provided a patch to keep the Emacs-Lisp compiler
  3811. happy.
  3812. * Todd Neal provided patches for links to Info files and elisp forms.
  3813. * Tim O'Callaghan suggested in-file links, search options for general
  3814. file links, and TAGS.
  3815. * Oliver Oppitz suggested multi-state TODO items.
  3816. * Scott Otterson sparked the introduction of descriptive text for
  3817. links, among other things.
  3818. * Pete Phillips helped during the development of the TAGS feature,
  3819. and provided frequent feedback.
  3820. * T.V. Raman reported bugs and suggested improvements.
  3821. * Matthias Rempe (Oelde) provided ideas, Windows support, and quality
  3822. control.
  3823. * Kevin Rogers contributed code to access VM files on remote hosts.
  3824. * Frank Ruell solved the mystery of the `keymapp nil' bug, a
  3825. conflict with `allout.el'.
  3826. * Jason Riedy sent a patch to fix a bug with export of TODO keywerds.
  3827. * Philip Rooke created the Org-mode reference card and provided lots
  3828. of feedback.
  3829. * Christian Schlauer proposed angular brackets around links, among
  3830. other things.
  3831. * Linking to VM/BBDB/GNUS was inspired by Tom Shannon's
  3832. `organizer-mode.el'.
  3833. * Daniel Sinder came up with the idea of internal archiving by
  3834. locking subtrees.
  3835. * Dale Smith proposed link abbreviations.
  3836. * David O'Toole wrote `org-publish.el' and drafted the manual
  3837. chapter about publishing.
  3838. * Ju"rgen Vollmer contributed code generating the table of contents
  3839. in HTML output.
  3840. * Chris Wallace provided a patch implementing the `QUOTE' keyword.
  3841. * David Wainberg suggested archiving, and improvements to the linking
  3842. system.
  3843. * John Wiegley wrote `emacs-wiki.el' and `planner.el'. The
  3844. development of Org-mode was fully independent, and both systems are
  3845. really different beasts in their basic ideas and implementation
  3846. details. I later looked at John's code, however, and learned from
  3847. his implementation of (i) links where the link itself is hidden
  3848. and only a description is shown, and (ii) popping up a calendar to
  3849. select a date.
  3850. * Carsten Wimmer suggested some changes and helped fix a bug in
  3851. linking to GNUS.
  3852. * Roland Winkler requested additional keybindings to make Org-mode
  3853. work on a tty.
  3854. * Piotr Zielinski wrote `org-mouse.el', proposed angenda blocks and
  3855. contributed various ideas and code snippets.
  3856. 
  3857. File: org, Node: Index, Next: Key Index, Prev: History and Acknowledgments, Up: Top
  3858. Index
  3859. *****
  3860. �[index�]
  3861. * Menu:
  3862. * abbreviation, links: Link abbreviations. (line 6)
  3863. * acknowledgments: History and Acknowledgments.
  3864. (line 6)
  3865. * action, for publishing: Publishing action. (line 6)
  3866. * activation: Activation. (line 6)
  3867. * active region <1>: HTML export. (line 10)
  3868. * active region <2>: ASCII export. (line 9)
  3869. * active region <3>: Built-in table editor.
  3870. (line 165)
  3871. * active region: Structure editing. (line 51)
  3872. * agenda: Weekly/Daily agenda. (line 6)
  3873. * agenda dispatcher: Agenda dispatcher. (line 6)
  3874. * agenda files: Agenda files. (line 6)
  3875. * agenda files, removing buffers: Agenda commands. (line 211)
  3876. * agenda views: Agenda views. (line 6)
  3877. * agenda views, custom: Custom agenda views. (line 6)
  3878. * agenda, batch production: Batch processing. (line 6)
  3879. * agenda, with block views: Block agenda. (line 6)
  3880. * allout.el: Conflicts. (line 6)
  3881. * angular brackets, around links: External links. (line 38)
  3882. * applescript, for calendar update: iCalendar export. (line 38)
  3883. * archive locations: Moving subtrees. (line 21)
  3884. * archiving: Archiving. (line 6)
  3885. * ASCII export: ASCII export. (line 6)
  3886. * author: Feedback. (line 6)
  3887. * autoload: Activation. (line 6)
  3888. * BBDB links: External links. (line 6)
  3889. * block agenda: Block agenda. (line 6)
  3890. * bold text: Enhancing text. (line 15)
  3891. * bug reports: Feedback. (line 6)
  3892. * bugs: Bugs. (line 6)
  3893. * C-c C-c, overview: The very busy C-c C-c key.
  3894. (line 6)
  3895. * calc package: Table calculations. (line 6)
  3896. * calc.el: Cooperation. (line 6)
  3897. * calculations, in tables <1>: Table calculations. (line 6)
  3898. * calculations, in tables: Built-in table editor.
  3899. (line 135)
  3900. * calendar commands, from agenda: Agenda commands. (line 172)
  3901. * calendar integration: Calendar/Diary integration.
  3902. (line 6)
  3903. * calendar, for selecting date: The date/time prompt.
  3904. (line 25)
  3905. * CamelCase link completion: Completion. (line 6)
  3906. * CamelCase links: Internal links. (line 6)
  3907. * CamelCase links, completion of: CamelCase links. (line 6)
  3908. * category: Categories. (line 6)
  3909. * CDLaTeX: CDLaTeX mode. (line 6)
  3910. * cdlatex.el: Cooperation. (line 29)
  3911. * checkbox statistics: Checkboxes. (line 23)
  3912. * checkboxes: Checkboxes. (line 6)
  3913. * children, subtree visibility state: Visibility cycling. (line 10)
  3914. * clean outline view: Clean view. (line 6)
  3915. * CLOCK keyword: Time stamps. (line 61)
  3916. * CLOSED keyword: Time stamps. (line 55)
  3917. * column formula: Column formulas. (line 6)
  3918. * commands, in agenda buffer: Agenda commands. (line 6)
  3919. * comment lines: Comment lines. (line 6)
  3920. * completion, of CamelCase links <1>: Completion. (line 6)
  3921. * completion, of CamelCase links: CamelCase links. (line 6)
  3922. * completion, of dictionary words: Completion. (line 6)
  3923. * completion, of file names: Handling links. (line 43)
  3924. * completion, of links: Handling links. (line 27)
  3925. * completion, of option keywords <1>: Completion. (line 6)
  3926. * completion, of option keywords: Export options. (line 6)
  3927. * Completion, of option keywords: Per file keywords. (line 17)
  3928. * completion, of tags <1>: Completion. (line 6)
  3929. * completion, of tags: Setting tags. (line 11)
  3930. * completion, of TeX symbols: Completion. (line 6)
  3931. * completion, of TODO keywords <1>: Completion. (line 6)
  3932. * completion, of TODO keywords: Workflow states. (line 12)
  3933. * constants, in calculations: Formula syntax. (line 26)
  3934. * constants.el: Cooperation. (line 14)
  3935. * contents, global visibility state: Visibility cycling. (line 22)
  3936. * copying, of subtrees: Structure editing. (line 6)
  3937. * creating timestamps: Creating timestamps. (line 6)
  3938. * CUA.el: Conflicts. (line 15)
  3939. * custom agenda views: Custom agenda views. (line 6)
  3940. * custom search strings: Custom searches. (line 6)
  3941. * customization: Customization. (line 6)
  3942. * cutting, of subtrees: Structure editing. (line 6)
  3943. * cycling, of TODO states: TODO basics. (line 13)
  3944. * cycling, visibility: Visibility cycling. (line 6)
  3945. * daily agenda: Weekly/Daily agenda. (line 6)
  3946. * date stamps <1>: Time stamps. (line 6)
  3947. * date stamps: Timestamps. (line 6)
  3948. * date, reading in minibuffer: The date/time prompt.
  3949. (line 6)
  3950. * DEADLINE keyword: Time stamps. (line 43)
  3951. * deadlines: Time stamps. (line 6)
  3952. * demotion, of subtrees: Structure editing. (line 6)
  3953. * diary entries, creating from agenda: Agenda commands. (line 179)
  3954. * diary integration: Calendar/Diary integration.
  3955. (line 6)
  3956. * dictionary word completion: Completion. (line 6)
  3957. * directories, for publishing: Sources and destinations.
  3958. (line 6)
  3959. * dispatching agenda commands: Agenda dispatcher. (line 6)
  3960. * display changing, in agenda: Agenda commands. (line 59)
  3961. * document structure: Document structure. (line 6)
  3962. * DONE, final TODO keyword: Per file keywords. (line 20)
  3963. * editing tables: Tables. (line 6)
  3964. * editing, of table formulas: Editing/debugging formulas.
  3965. (line 6)
  3966. * elisp links: External links. (line 6)
  3967. * emphasized text: Export options. (line 25)
  3968. * enhancing text: Enhancing text. (line 6)
  3969. * evaluate time range: Creating timestamps. (line 66)
  3970. * exporting: Exporting. (line 6)
  3971. * exporting, not: Comment lines. (line 6)
  3972. * extended TODO keywords: TODO extensions. (line 6)
  3973. * external archiving: Moving subtrees. (line 6)
  3974. * external links: External links. (line 6)
  3975. * external links, in HTML export: HTML export. (line 35)
  3976. * FAQ: Summary. (line 41)
  3977. * feedback: Feedback. (line 6)
  3978. * file links: External links. (line 6)
  3979. * file links, searching: Search options. (line 6)
  3980. * file name completion: Handling links. (line 43)
  3981. * files for agenda: Agenda files. (line 6)
  3982. * files, adding to agenda list: Agenda files. (line 12)
  3983. * files, selecting for publishing: Selecting files. (line 6)
  3984. * fixed width: Enhancing text. (line 25)
  3985. * fixed-width sections: Export options. (line 25)
  3986. * folded, subtree visibility state: Visibility cycling. (line 10)
  3987. * folding, sparse trees: Sparse trees. (line 6)
  3988. * following links: Handling links. (line 58)
  3989. * format specifier: Formula syntax. (line 34)
  3990. * format, of links: Link format. (line 6)
  3991. * formula editing: Editing/debugging formulas.
  3992. (line 6)
  3993. * formula syntax: Formula syntax. (line 6)
  3994. * formula, for named table field: Named-field formulas.
  3995. (line 6)
  3996. * formula, for table column: Column formulas. (line 6)
  3997. * formula, in tables: Built-in table editor.
  3998. (line 135)
  3999. * global cycling: Visibility cycling. (line 22)
  4000. * global keybindings: Activation. (line 6)
  4001. * global TODO list: Global TODO list. (line 6)
  4002. * global visibility states: Visibility cycling. (line 22)
  4003. * GNUS links: External links. (line 6)
  4004. * hand-formatted lists: Enhancing text. (line 11)
  4005. * headline levels: Export options. (line 25)
  4006. * headline levels, for exporting <1>: HTML export. (line 21)
  4007. * headline levels, for exporting: ASCII export. (line 18)
  4008. * headline navigation: Motion. (line 6)
  4009. * headline tagging: Tags. (line 6)
  4010. * headline, promotion and demotion: Structure editing. (line 6)
  4011. * headlines: Headlines. (line 6)
  4012. * hide text: Visibility cycling. (line 6)
  4013. * hiding leading stars: Clean view. (line 6)
  4014. * history: History and Acknowledgments.
  4015. (line 6)
  4016. * HTML export: HTML export. (line 6)
  4017. * hyperlinks: Hyperlinks. (line 6)
  4018. * iCalendar export: iCalendar export. (line 6)
  4019. * in-buffer settings: In-buffer settings. (line 6)
  4020. * index, of published pages: Project page index. (line 6)
  4021. * Info links: External links. (line 6)
  4022. * inheritance, of tags: Tag inheritance. (line 6)
  4023. * inserting links: Handling links. (line 27)
  4024. * installation: Installation. (line 6)
  4025. * internal archiving: ARCHIVE tag. (line 6)
  4026. * internal links: Internal links. (line 6)
  4027. * internal links, in HTML export: HTML export. (line 35)
  4028. * introduction: Introduction. (line 6)
  4029. * italic text: Enhancing text. (line 15)
  4030. * jumping, to headlines: Motion. (line 6)
  4031. * keybindings, global: Activation. (line 6)
  4032. * keyword options: Per file keywords. (line 6)
  4033. * LaTeX fragments <1>: Export options. (line 25)
  4034. * LaTeX fragments: LaTeX fragments. (line 6)
  4035. * LaTeX fragments, export: Enhancing text. (line 18)
  4036. * LaTeX fragments, preview: Processing LaTeX fragments.
  4037. (line 6)
  4038. * LaTeX interpretation: Embedded LaTeX. (line 6)
  4039. * linebreak preservation: Export options. (line 25)
  4040. * linebreak, forced: Enhancing text. (line 32)
  4041. * link abbreviations: Link abbreviations. (line 6)
  4042. * link completion: Handling links. (line 27)
  4043. * link format: Link format. (line 6)
  4044. * links, external: External links. (line 6)
  4045. * links, handling: Handling links. (line 6)
  4046. * links, in HTML export: HTML export. (line 35)
  4047. * links, internal: Internal links. (line 6)
  4048. * links, publishing: Publishing links. (line 6)
  4049. * links, radio targets: Radio targets. (line 6)
  4050. * links, returning to: Handling links. (line 85)
  4051. * Lisp forms, as table formulas: Lisp formulas. (line 6)
  4052. * lists, hand-formatted: Enhancing text. (line 11)
  4053. * lists, ordered: Plain lists. (line 6)
  4054. * lists, plain: Plain lists. (line 6)
  4055. * logging, of progress: Progress logging. (line 6)
  4056. * maintainer: Feedback. (line 6)
  4057. * mark ring: Handling links. (line 81)
  4058. * marking characters, tables: Advanced features. (line 34)
  4059. * matching, of tags: Matching headline tags.
  4060. (line 6)
  4061. * matching, tags: Tags. (line 6)
  4062. * math symbols: Math symbols. (line 6)
  4063. * MH-E links: External links. (line 6)
  4064. * minor mode for tables: orgtbl-mode. (line 6)
  4065. * mode, for calc: Formula syntax. (line 34)
  4066. * motion commands in agenda: Agenda commands. (line 19)
  4067. * motion, between headlines: Motion. (line 6)
  4068. * name, of column or field: Formula syntax. (line 26)
  4069. * named field formula: Named-field formulas.
  4070. (line 6)
  4071. * names as TODO keywords: TODO types. (line 6)
  4072. * narrow columns in tables: Narrow columns. (line 6)
  4073. * occur, command: Sparse trees. (line 6)
  4074. * option keyword completion: Completion. (line 6)
  4075. * options, for custom agenda views: Setting Options. (line 6)
  4076. * options, for customization: Customization. (line 6)
  4077. * options, for export: Export options. (line 6)
  4078. * options, for publishing: Publishing options. (line 6)
  4079. * ordered lists: Plain lists. (line 6)
  4080. * org-agenda, command: Weekly/Daily agenda. (line 9)
  4081. * org-blog.el: Extensions. (line 25)
  4082. * org-blogging.el: Extensions. (line 29)
  4083. * org-mode, turning on: Activation. (line 22)
  4084. * org-mouse.el: Extensions. (line 8)
  4085. * org-publish-project-alist: Project alist. (line 6)
  4086. * org-publish.el: Extensions. (line 14)
  4087. * orgtbl-mode: orgtbl-mode. (line 6)
  4088. * outline tree: Headlines. (line 6)
  4089. * outline-mode: Outlines. (line 6)
  4090. * outlines: Outlines. (line 6)
  4091. * overview, global visibility state: Visibility cycling. (line 22)
  4092. * packages, interaction with other: Interaction. (line 6)
  4093. * pasting, of subtrees: Structure editing. (line 6)
  4094. * per file keywords: Per file keywords. (line 6)
  4095. * plain lists: Plain lists. (line 6)
  4096. * plain text external links: External links. (line 38)
  4097. * presentation, of agenda items: Presentation and sorting.
  4098. (line 6)
  4099. * printing sparse trees: Sparse trees. (line 41)
  4100. * priorities: Priorities. (line 6)
  4101. * priorities, of agenda items: Sorting of agenda items.
  4102. (line 6)
  4103. * progress logging: Progress logging. (line 6)
  4104. * projects, for publishing: Project alist. (line 6)
  4105. * promotion, of subtrees: Structure editing. (line 6)
  4106. * publishing: Publishing. (line 6)
  4107. * quoted HTML tags: Export options. (line 25)
  4108. * radio targets: Radio targets. (line 6)
  4109. * ranges, time: Time stamps. (line 6)
  4110. * recomputing table fields: Column formulas. (line 27)
  4111. * region, active <1>: HTML export. (line 10)
  4112. * region, active <2>: ASCII export. (line 9)
  4113. * region, active <3>: Built-in table editor.
  4114. (line 165)
  4115. * region, active: Structure editing. (line 51)
  4116. * remember.el <1>: Cooperation. (line 33)
  4117. * remember.el: Remember. (line 6)
  4118. * remote editing, from agenda: Agenda commands. (line 100)
  4119. * richer text: Enhancing text. (line 6)
  4120. * RMAIL links: External links. (line 6)
  4121. * SCHEDULED keyword: Time stamps. (line 30)
  4122. * scheduling: Time stamps. (line 6)
  4123. * search option in file links: Search options. (line 6)
  4124. * search strings, custom: Custom searches. (line 6)
  4125. * searching for tags: Tag searches. (line 6)
  4126. * section-numbers: Export options. (line 25)
  4127. * setting tags: Setting tags. (line 6)
  4128. * SHELL links: External links. (line 6)
  4129. * show all, command: Visibility cycling. (line 31)
  4130. * show all, global visibility state: Visibility cycling. (line 22)
  4131. * show hidden text: Visibility cycling. (line 6)
  4132. * sorting, of agenda items: Sorting of agenda items.
  4133. (line 6)
  4134. * sparse tree, for deadlines: Creating timestamps. (line 41)
  4135. * sparse tree, for TODO: TODO basics. (line 26)
  4136. * sparse tree, tag based: Tags. (line 6)
  4137. * sparse trees: Sparse trees. (line 6)
  4138. * special keywords: In-buffer settings. (line 6)
  4139. * spreadsheet capabilities: Table calculations. (line 6)
  4140. * statistics, for checkboxes: Checkboxes. (line 23)
  4141. * storing links: Handling links. (line 9)
  4142. * structure editing: Structure editing. (line 6)
  4143. * structure of document: Document structure. (line 6)
  4144. * sublevels, inclusion into tags match: Tag inheritance. (line 6)
  4145. * sublevels, inclusion into todo list: Global TODO list. (line 31)
  4146. * subscript: Subscripts and Superscripts.
  4147. (line 6)
  4148. * subtree cycling: Visibility cycling. (line 10)
  4149. * subtree visibility states: Visibility cycling. (line 10)
  4150. * subtree, cut and paste: Structure editing. (line 6)
  4151. * subtree, subtree visibility state: Visibility cycling. (line 10)
  4152. * subtrees, cut and paste: Structure editing. (line 6)
  4153. * summary: Summary. (line 6)
  4154. * superscript: Subscripts and Superscripts.
  4155. (line 6)
  4156. * syntax, of formulas: Formula syntax. (line 6)
  4157. * table editor, builtin: Built-in table editor.
  4158. (line 6)
  4159. * table editor, table.el: table.el. (line 6)
  4160. * table of contents: Export options. (line 25)
  4161. * table.el <1>: Cooperation. (line 34)
  4162. * table.el: table.el. (line 6)
  4163. * tables <1>: Export options. (line 25)
  4164. * tables: Tables. (line 6)
  4165. * tables, export: Enhancing text. (line 21)
  4166. * tag completion: Completion. (line 6)
  4167. * tag searches: Tag searches. (line 6)
  4168. * tags: Tags. (line 6)
  4169. * tags view: Matching headline tags.
  4170. (line 6)
  4171. * tags, setting: Setting tags. (line 6)
  4172. * targets, for links: Internal links. (line 6)
  4173. * targets, radio: Radio targets. (line 6)
  4174. * tasks, breaking down: Breaking down tasks. (line 6)
  4175. * templates, for remember: Remember. (line 23)
  4176. * TeX interpretation: Embedded LaTeX. (line 6)
  4177. * TeX macros <1>: Export options. (line 25)
  4178. * TeX macros: Math symbols. (line 6)
  4179. * TeX macros, export: Enhancing text. (line 18)
  4180. * TeX symbol completion: Completion. (line 6)
  4181. * TeX-like syntax for sub- and superscripts: Export options. (line 25)
  4182. * thanks: History and Acknowledgments.
  4183. (line 6)
  4184. * time grid: Time-of-day specifications.
  4185. (line 26)
  4186. * time stamps <1>: Time stamps. (line 6)
  4187. * time stamps: Timestamps. (line 6)
  4188. * time, reading in minibuffer: The date/time prompt.
  4189. (line 6)
  4190. * time-of-day specification: Time-of-day specifications.
  4191. (line 6)
  4192. * time-sorted view: Timeline. (line 6)
  4193. * timeline, single file: Timeline. (line 6)
  4194. * timerange: Time stamps. (line 21)
  4195. * timestamp: Time stamps. (line 13)
  4196. * timestamps, creating: Creating timestamps. (line 6)
  4197. * TODO items: TODO items. (line 6)
  4198. * TODO keywords completion: Completion. (line 6)
  4199. * TODO list, global: Global TODO list. (line 6)
  4200. * TODO types: TODO types. (line 6)
  4201. * TODO workflow: Workflow states. (line 6)
  4202. * transient-mark-mode <1>: HTML export. (line 10)
  4203. * transient-mark-mode <2>: ASCII export. (line 9)
  4204. * transient-mark-mode <3>: Built-in table editor.
  4205. (line 165)
  4206. * transient-mark-mode: Structure editing. (line 51)
  4207. * trees, sparse: Sparse trees. (line 6)
  4208. * trees, visibility: Visibility cycling. (line 6)
  4209. * tty keybindings: TTY keys. (line 6)
  4210. * types as TODO keywords: TODO types. (line 6)
  4211. * underlined text: Enhancing text. (line 15)
  4212. * URL links: External links. (line 6)
  4213. * USENET links: External links. (line 6)
  4214. * variables, for customization: Customization. (line 6)
  4215. * vectors, in table calculations: Formula syntax. (line 23)
  4216. * visibility cycling: Visibility cycling. (line 6)
  4217. * visible text, printing: Sparse trees. (line 41)
  4218. * VM links: External links. (line 6)
  4219. * WANDERLUST links: External links. (line 6)
  4220. * weekly agenda: Weekly/Daily agenda. (line 6)
  4221. * windmove.el: Conflicts. (line 33)
  4222. * workflow states as TODO keywords: Workflow states. (line 6)
  4223. * XEmacs: Installation. (line 6)
  4224. * XOXO export: XOXO export. (line 6)
  4225. 
  4226. File: org, Node: Key Index, Prev: Index, Up: Top
  4227. Key Index
  4228. *********
  4229. �[index�]
  4230. * Menu:
  4231. * ': CDLaTeX mode. (line 43)
  4232. * +: Agenda commands. (line 126)
  4233. * ,: Agenda commands. (line 118)
  4234. * -: Agenda commands. (line 132)
  4235. * .: Agenda commands. (line 94)
  4236. * :: Agenda commands. (line 112)
  4237. * <: The date/time prompt.
  4238. (line 28)
  4239. * <left>: Agenda commands. (line 91)
  4240. * <RET> <1>: Agenda commands. (line 41)
  4241. * <RET> <2>: The date/time prompt.
  4242. (line 53)
  4243. * <RET>: Built-in table editor.
  4244. (line 64)
  4245. * <right>: Agenda commands. (line 86)
  4246. * <SPC>: Agenda commands. (line 28)
  4247. * <TAB> <1>: CDLaTeX mode. (line 23)
  4248. * <TAB> <2>: Agenda commands. (line 35)
  4249. * <TAB> <3>: Built-in table editor.
  4250. (line 57)
  4251. * <TAB> <4>: Plain lists. (line 37)
  4252. * <TAB>: Visibility cycling. (line 10)
  4253. * > <1>: Agenda commands. (line 154)
  4254. * >: The date/time prompt.
  4255. (line 29)
  4256. * ^: CDLaTeX mode. (line 33)
  4257. * _: CDLaTeX mode. (line 33)
  4258. * `: CDLaTeX mode. (line 39)
  4259. * a: Agenda commands. (line 115)
  4260. * C: Agenda commands. (line 194)
  4261. * c: Agenda commands. (line 172)
  4262. * C-#: Built-in table editor.
  4263. (line 155)
  4264. * C-,: Agenda files. (line 18)
  4265. * C-a a L: Timeline. (line 10)
  4266. * C-c !: Creating timestamps. (line 21)
  4267. * C-c #: Checkboxes. (line 55)
  4268. * C-c $: Moving subtrees. (line 10)
  4269. * C-c %: Handling links. (line 81)
  4270. * C-c &: Handling links. (line 85)
  4271. * C-c ' <1>: Editing/debugging formulas.
  4272. (line 20)
  4273. * C-c ': Built-in table editor.
  4274. (line 144)
  4275. * C-c *: Built-in table editor.
  4276. (line 148)
  4277. * C-c +: Built-in table editor.
  4278. (line 165)
  4279. * C-c ,: Priorities. (line 18)
  4280. * C-c -: Built-in table editor.
  4281. (line 92)
  4282. * C-c .: Creating timestamps. (line 10)
  4283. * C-c /: Sparse trees. (line 15)
  4284. * C-c :: Enhancing text. (line 29)
  4285. * C-c ;: Comment lines. (line 11)
  4286. * C-c <: Creating timestamps. (line 25)
  4287. * C-c <TAB>: Built-in table editor.
  4288. (line 187)
  4289. * C-c =: Built-in table editor.
  4290. (line 135)
  4291. * C-c >: Creating timestamps. (line 29)
  4292. * C-c ? <1>: Editing/debugging formulas.
  4293. (line 20)
  4294. * C-c ?: Built-in table editor.
  4295. (line 161)
  4296. * C-c [: Agenda files. (line 12)
  4297. * C-c \: Tag searches. (line 9)
  4298. * C-c ]: Agenda files. (line 15)
  4299. * C-c ^: Built-in table editor.
  4300. (line 96)
  4301. * C-c `: Built-in table editor.
  4302. (line 181)
  4303. * C-c a a: Weekly/Daily agenda. (line 9)
  4304. * C-c a C: Storing searches. (line 9)
  4305. * C-c a M: Matching headline tags.
  4306. (line 15)
  4307. * C-c a m: Matching headline tags.
  4308. (line 10)
  4309. * C-c a M: Tag searches. (line 14)
  4310. * C-c a m: Tag searches. (line 10)
  4311. * C-c a T: Global TODO list. (line 14)
  4312. * C-c a t <1>: Global TODO list. (line 9)
  4313. * C-c a t: TODO basics. (line 33)
  4314. * C-c C-a: Visibility cycling. (line 31)
  4315. * C-c C-b: Motion. (line 15)
  4316. * C-c C-c <1>: The very busy C-c C-c key.
  4317. (line 6)
  4318. * C-c C-c <2>: Processing LaTeX fragments.
  4319. (line 15)
  4320. * C-c C-c <3>: Setting tags. (line 10)
  4321. * C-c C-c <4>: Checkboxes. (line 37)
  4322. * C-c C-c <5>: table.el. (line 6)
  4323. * C-c C-c <6>: Editing/debugging formulas.
  4324. (line 16)
  4325. * C-c C-c <7>: Built-in table editor.
  4326. (line 54)
  4327. * C-c C-c: Plain lists. (line 74)
  4328. * C-c C-d <1>: Agenda commands. (line 139)
  4329. * C-c C-d: Creating timestamps. (line 37)
  4330. * C-c C-e: Exporting. (line 19)
  4331. * C-c C-e a: ASCII export. (line 9)
  4332. * C-c C-e b: HTML export. (line 11)
  4333. * C-c C-e c: iCalendar export. (line 20)
  4334. * C-c C-e h: HTML export. (line 10)
  4335. * C-c C-e I: iCalendar export. (line 15)
  4336. * C-c C-e i: iCalendar export. (line 13)
  4337. * C-c C-e t: Export options. (line 13)
  4338. * C-c C-e v <1>: XOXO export. (line 11)
  4339. * C-c C-e v: Sparse trees. (line 41)
  4340. * C-c C-e v a: ASCII export. (line 13)
  4341. * C-c C-e v b: HTML export. (line 14)
  4342. * C-c C-e v h: HTML export. (line 14)
  4343. * C-c C-e x: XOXO export. (line 10)
  4344. * C-c C-f: Motion. (line 12)
  4345. * C-c C-j: Motion. (line 21)
  4346. * C-c C-l: Handling links. (line 27)
  4347. * C-c C-n: Motion. (line 8)
  4348. * C-c C-o <1>: Creating timestamps. (line 33)
  4349. * C-c C-o: Handling links. (line 58)
  4350. * C-c C-p: Motion. (line 9)
  4351. * C-c C-q <1>: Editing/debugging formulas.
  4352. (line 20)
  4353. * C-c C-q: Built-in table editor.
  4354. (line 119)
  4355. * C-c C-s <1>: Agenda commands. (line 136)
  4356. * C-c C-s: Creating timestamps. (line 48)
  4357. * C-c C-t <1>: Clocking work time. (line 25)
  4358. * C-c C-t: TODO basics. (line 13)
  4359. * C-c C-u: Motion. (line 18)
  4360. * C-c C-v: TODO basics. (line 26)
  4361. * C-c C-w: Creating timestamps. (line 41)
  4362. * C-c C-x C-a: ARCHIVE tag. (line 28)
  4363. * C-c C-x C-b: Checkboxes. (line 38)
  4364. * C-c C-x C-c: Agenda commands. (line 201)
  4365. * C-c C-x C-d: Clocking work time. (line 33)
  4366. * C-c C-x C-i: Clocking work time. (line 12)
  4367. * C-c C-x C-k: Structure editing. (line 36)
  4368. * C-c C-x C-l: Processing LaTeX fragments.
  4369. (line 9)
  4370. * C-c C-x C-o: Clocking work time. (line 14)
  4371. * C-c C-x C-r: Clocking work time. (line 40)
  4372. * C-c C-x C-u: Dynamic blocks. (line 21)
  4373. * C-c C-x C-w <1>: Built-in table editor.
  4374. (line 108)
  4375. * C-c C-x C-w: Structure editing. (line 36)
  4376. * C-c C-x C-x: Clocking work time. (line 29)
  4377. * C-c C-x C-y <1>: Built-in table editor.
  4378. (line 112)
  4379. * C-c C-x C-y: Structure editing. (line 43)
  4380. * C-c C-x M-w <1>: Built-in table editor.
  4381. (line 105)
  4382. * C-c C-x M-w: Structure editing. (line 40)
  4383. * C-c C-y <1>: Clocking work time. (line 20)
  4384. * C-c C-y: Creating timestamps. (line 66)
  4385. * C-c l: Handling links. (line 9)
  4386. * C-c {: CDLaTeX mode. (line 21)
  4387. * C-c |: Built-in table editor.
  4388. (line 40)
  4389. * C-c ~: table.el. (line 18)
  4390. * C-TAB: ARCHIVE tag. (line 38)
  4391. * C-u C-c $: Moving subtrees. (line 12)
  4392. * C-u C-c .: Creating timestamps. (line 16)
  4393. * C-u C-c =: Built-in table editor.
  4394. (line 139)
  4395. * C-u C-c C-l: Handling links. (line 43)
  4396. * C-u C-c C-x C-a: ARCHIVE tag. (line 31)
  4397. * C-u C-c C-x C-u <1>: Dynamic blocks. (line 22)
  4398. * C-u C-c C-x C-u: Clocking work time. (line 67)
  4399. * D: Agenda commands. (line 68)
  4400. * d: Agenda commands. (line 65)
  4401. * f: Agenda commands. (line 44)
  4402. * g: Agenda commands. (line 72)
  4403. * H: Agenda commands. (line 198)
  4404. * i: Agenda commands. (line 179)
  4405. * I: Agenda commands. (line 159)
  4406. * l: Agenda commands. (line 51)
  4407. * L: Agenda commands. (line 32)
  4408. * M: Agenda commands. (line 185)
  4409. * M-<down>: Built-in table editor.
  4410. (line 82)
  4411. * M-<left> <1>: Built-in table editor.
  4412. (line 72)
  4413. * M-<left>: Structure editing. (line 18)
  4414. * M-<RET> <1>: Plain lists. (line 42)
  4415. * M-<RET>: Structure editing. (line 6)
  4416. * M-<right> <1>: Built-in table editor.
  4417. (line 72)
  4418. * M-<right>: Structure editing. (line 21)
  4419. * M-<TAB> <1>: Completion. (line 10)
  4420. * M-<TAB> <2>: Setting tags. (line 6)
  4421. * M-<TAB>: Per file keywords. (line 17)
  4422. * M-<up>: Built-in table editor.
  4423. (line 82)
  4424. * M-S-<down> <1>: Built-in table editor.
  4425. (line 89)
  4426. * M-S-<down> <2>: Plain lists. (line 59)
  4427. * M-S-<down>: Structure editing. (line 33)
  4428. * M-S-<left> <1>: The date/time prompt.
  4429. (line 50)
  4430. * M-S-<left> <2>: Built-in table editor.
  4431. (line 76)
  4432. * M-S-<left> <3>: Plain lists. (line 65)
  4433. * M-S-<left>: Structure editing. (line 24)
  4434. * M-S-<RET> <1>: Checkboxes. (line 52)
  4435. * M-S-<RET> <2>: Plain lists. (line 52)
  4436. * M-S-<RET>: Structure editing. (line 15)
  4437. * M-S-<right> <1>: The date/time prompt.
  4438. (line 47)
  4439. * M-S-<right> <2>: Built-in table editor.
  4440. (line 79)
  4441. * M-S-<right> <3>: Plain lists. (line 65)
  4442. * M-S-<right>: Structure editing. (line 27)
  4443. * M-S-<up> <1>: Built-in table editor.
  4444. (line 86)
  4445. * M-S-<up> <2>: Plain lists. (line 59)
  4446. * M-S-<up>: Structure editing. (line 30)
  4447. * mouse-1 <1>: Agenda commands. (line 35)
  4448. * mouse-1 <2>: The date/time prompt.
  4449. (line 32)
  4450. * mouse-1: Handling links. (line 72)
  4451. * mouse-2 <1>: Agenda commands. (line 35)
  4452. * mouse-2: Handling links. (line 72)
  4453. * mouse-3 <1>: Agenda commands. (line 28)
  4454. * mouse-3: Handling links. (line 77)
  4455. * n: Agenda commands. (line 19)
  4456. * O: Agenda commands. (line 161)
  4457. * o: Agenda commands. (line 59)
  4458. * P: Agenda commands. (line 123)
  4459. * p: Agenda commands. (line 20)
  4460. * q: Agenda commands. (line 208)
  4461. * r <1>: Agenda commands. (line 76)
  4462. * r: Global TODO list. (line 20)
  4463. * S: Agenda commands. (line 189)
  4464. * s: Agenda commands. (line 83)
  4465. * S-<down> <1>: Agenda commands. (line 132)
  4466. * S-<down> <2>: The date/time prompt.
  4467. (line 41)
  4468. * S-<down> <3>: Creating timestamps. (line 58)
  4469. * S-<down> <4>: Priorities. (line 25)
  4470. * S-<down>: Plain lists. (line 55)
  4471. * S-<left> <1>: Agenda commands. (line 150)
  4472. * S-<left> <2>: The date/time prompt.
  4473. (line 38)
  4474. * S-<left> <3>: Creating timestamps. (line 53)
  4475. * S-<left>: TODO basics. (line 20)
  4476. * S-<RET>: Built-in table editor.
  4477. (line 170)
  4478. * S-<right> <1>: Agenda commands. (line 142)
  4479. * S-<right> <2>: The date/time prompt.
  4480. (line 35)
  4481. * S-<right> <3>: Creating timestamps. (line 53)
  4482. * S-<right>: TODO basics. (line 20)
  4483. * S-<TAB> <1>: Built-in table editor.
  4484. (line 61)
  4485. * S-<TAB>: Visibility cycling. (line 22)
  4486. * S-<up> <1>: Agenda commands. (line 126)
  4487. * S-<up> <2>: The date/time prompt.
  4488. (line 44)
  4489. * S-<up> <3>: Creating timestamps. (line 58)
  4490. * S-<up> <4>: Priorities. (line 25)
  4491. * S-<up>: Plain lists. (line 55)
  4492. * T: Agenda commands. (line 107)
  4493. * t: Agenda commands. (line 103)
  4494. * w: Agenda commands. (line 62)
  4495. * x: Agenda commands. (line 211)
  4496. * X: Agenda commands. (line 164)
  4497. 
  4498. Tag Table:
  4499. Node: Top964
  4500. Node: Introduction10239
  4501. Node: Summary10654
  4502. Node: Installation12921
  4503. Node: Activation14299
  4504. Node: Feedback15548
  4505. Node: Document structure16317
  4506. Node: Outlines17091
  4507. Node: Headlines17751
  4508. Node: Visibility cycling18374
  4509. Ref: Visibility cycling-Footnote-119849
  4510. Ref: Visibility cycling-Footnote-219907
  4511. Node: Motion19957
  4512. Node: Structure editing20741
  4513. Node: Archiving22850
  4514. Node: ARCHIVE tag23408
  4515. Node: Moving subtrees25201
  4516. Node: Sparse trees26242
  4517. Ref: Sparse trees-Footnote-128373
  4518. Ref: Sparse trees-Footnote-228465
  4519. Node: Plain lists28580
  4520. Ref: Plain lists-Footnote-132105
  4521. Ref: Plain lists-Footnote-232462
  4522. Node: Tables32644
  4523. Node: Built-in table editor33192
  4524. Node: Narrow columns40800
  4525. Ref: Narrow columns-Footnote-142739
  4526. Node: Table calculations42785
  4527. Node: Formula syntax44105
  4528. Ref: Formula syntax-Footnote-147010
  4529. Node: Lisp formulas47310
  4530. Node: Column formulas48099
  4531. Node: Advanced features49861
  4532. Node: Named-field formulas53115
  4533. Node: Editing/debugging formulas53755
  4534. Node: Appetizer55513
  4535. Node: orgtbl-mode56616
  4536. Node: table.el57107
  4537. Node: Hyperlinks58084
  4538. Node: Link format58857
  4539. Node: Internal links60150
  4540. Ref: Internal links-Footnote-162139
  4541. Node: Radio targets62271
  4542. Node: CamelCase links62986
  4543. Node: External links63580
  4544. Node: Handling links65711
  4545. Ref: Handling links-Footnote-170363
  4546. Ref: Handling links-Footnote-270600
  4547. Node: Link abbreviations70674
  4548. Node: Search options72353
  4549. Ref: Search options-Footnote-174131
  4550. Node: Custom searches74212
  4551. Node: Remember75260
  4552. Node: TODO items78950
  4553. Node: TODO basics79932
  4554. Node: TODO extensions81459
  4555. Node: Workflow states82254
  4556. Node: TODO types83122
  4557. Ref: TODO types-Footnote-184780
  4558. Node: Per file keywords84862
  4559. Ref: Per file keywords-Footnote-186316
  4560. Node: Priorities86517
  4561. Node: Breaking down tasks87761
  4562. Ref: Breaking down tasks-Footnote-188281
  4563. Node: Checkboxes88377
  4564. Node: Timestamps91113
  4565. Node: Time stamps91503
  4566. Node: Creating timestamps94600
  4567. Node: The date/time prompt97143
  4568. Ref: The date/time prompt-Footnote-198827
  4569. Node: Progress logging98933
  4570. Node: Closing items99463
  4571. Node: Clocking work time100367
  4572. Ref: Clocking work time-Footnote-1103930
  4573. Node: Tags104056
  4574. Node: Tag inheritance104818
  4575. Node: Setting tags105755
  4576. Ref: Setting tags-Footnote-1108887
  4577. Ref: Setting tags-Footnote-2108999
  4578. Node: Tag searches109079
  4579. Node: Agenda views110288
  4580. Node: Agenda files112381
  4581. Ref: Agenda files-Footnote-1113341
  4582. Ref: Agenda files-Footnote-2113490
  4583. Node: Agenda dispatcher113683
  4584. Node: Weekly/Daily agenda115300
  4585. Node: Calendar/Diary integration116265
  4586. Node: Global TODO list117603
  4587. Node: Matching headline tags119655
  4588. Node: Timeline120599
  4589. Node: Presentation and sorting121262
  4590. Node: Categories122040
  4591. Node: Time-of-day specifications122704
  4592. Node: Sorting of agenda items124682
  4593. Node: Agenda commands125964
  4594. Node: Custom agenda views131852
  4595. Node: Storing searches132527
  4596. Node: Block agenda134439
  4597. Node: Setting Options135669
  4598. Node: Batch processing138381
  4599. Node: Embedded LaTeX139511
  4600. Ref: Embedded LaTeX-Footnote-1140603
  4601. Node: Math symbols140793
  4602. Node: Subscripts and Superscripts141558
  4603. Node: LaTeX fragments142402
  4604. Ref: LaTeX fragments-Footnote-1144510
  4605. Node: Processing LaTeX fragments144772
  4606. Node: CDLaTeX mode145718
  4607. Ref: CDLaTeX mode-Footnote-1148202
  4608. Node: Exporting148350
  4609. Node: ASCII export149664
  4610. Node: HTML export150954
  4611. Node: XOXO export153790
  4612. Node: iCalendar export154229
  4613. Node: Text interpretation156052
  4614. Node: Comment lines156531
  4615. Node: Enhancing text157002
  4616. Node: Export options158694
  4617. Node: Publishing160361
  4618. Ref: Publishing-Footnote-1161157
  4619. Node: Configuration161353
  4620. Node: Project alist162071
  4621. Node: Sources and destinations163137
  4622. Node: Selecting files163867
  4623. Node: Publishing action164615
  4624. Node: Publishing options165848
  4625. Node: Publishing links168000
  4626. Node: Project page index169513
  4627. Node: Sample configuration170291
  4628. Node: Simple example170783
  4629. Node: Complex example171456
  4630. Node: Triggering publication173532
  4631. Node: Miscellaneous174217
  4632. Node: Completion174851
  4633. Node: Customization176322
  4634. Node: In-buffer settings176907
  4635. Node: The very busy C-c C-c key180328
  4636. Node: Clean view181972
  4637. Node: TTY keys184549
  4638. Node: Interaction186158
  4639. Node: Cooperation186555
  4640. Node: Conflicts188422
  4641. Node: Bugs190014
  4642. Node: Extensions and Hacking191637
  4643. Node: Extensions192123
  4644. Node: Dynamic blocks193693
  4645. Node: History and Acknowledgments195620
  4646. Node: Index200628
  4647. Node: Key Index227059
  4648. 
  4649. End Tag Table