org 204 KB

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