org 237 KB

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