org 224 KB

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