org 220 KB

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