org 203 KB

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