org 198 KB

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