org 335 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884
  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 5.01).
  7. Copyright (C) 2004, 2005, 2006, 2007 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 5.01).
  23. Copyright (C) 2004, 2005, 2006, 2007 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. * Tags:: Tagging headlines and matching sets of tags
  41. * Properties::
  42. * Timestamps:: Assign date and time to items
  43. * Agenda views:: Collecting information into views
  44. * Embedded LaTeX:: LaTeX fragments and formulas
  45. * Exporting:: Sharing and publishing of notes
  46. * Publishing:: Create a web site of linked Org-mode files
  47. * Miscellaneous:: All the rest which did not fit elsewhere
  48. * Extensions and Hacking:: It is possible to write add-on code
  49. * History and Acknowledgments:: How Org-mode came into being
  50. * Index:: The fast road to specific information
  51. * Key Index:: Key bindings and where they are described
  52. --- The Detailed Node Listing ---
  53. Introduction
  54. * Summary:: Brief summary of what Org-mode does
  55. * Installation:: How to install a downloaded version of Org-mode
  56. * Activation:: How to activate Org-mode for certain buffers.
  57. * Feedback:: Bug reports, ideas, patches etc.
  58. Document Structure
  59. * Outlines:: Org-mode is based on outline-mode
  60. * Headlines:: How to typeset org-tree headlines
  61. * Visibility cycling:: Show and hide, much simplified
  62. * Motion:: Jumping to other headlines
  63. * Structure editing:: Changing sequence and level of headlines
  64. * Archiving:: Move done task trees to a different place
  65. * Sparse trees:: Matches embedded in context
  66. * Plain lists:: Additional structure within an entry
  67. * Drawers::
  68. Archiving
  69. * ARCHIVE tag:: Marking a tree as inactive
  70. * Moving subtrees:: Moving a tree to an archive file
  71. Tables
  72. * Built-in table editor:: Simple tables
  73. * Narrow columns:: Stop wasting space in tables
  74. * Column groups:: Grouping to trigger vertical lines
  75. * orgtbl-mode:: The table editor as minor mode
  76. * The spreadsheet:: The table editor has spreadsheet capabilities.
  77. The spreadsheet
  78. * References:: How to refer to another field or range
  79. * Formula syntax for Calc:: Using Calc to compute stuff
  80. * Formula syntax for Lisp:: Writing formulas in Emacs Lisp
  81. * Field formulas:: Formulas valid for a single field
  82. * Column formulas:: Formulas valid for an entire column
  83. * Editing and debugging formulas:: Fixing formulas
  84. * Updating the table:: Recomputing all dependent fields
  85. * Advanced features:: Field names, parameters and automatic recalc
  86. Hyperlinks
  87. * Link format:: How links in Org-mode are formatted
  88. * Internal links:: Links to other places in the current file
  89. * External links:: URL-like links to the world
  90. * Handling links:: Creating, inserting and following
  91. * Link abbreviations:: Shortcuts for writing complex links
  92. * Search options:: Linking to a specific location
  93. * Custom searches:: When the default search is not enough
  94. * Remember:: Org-trees store quick notes
  95. Internal links
  96. * Radio targets:: Make targets trigger links in plain text.
  97. Remember
  98. * Setting up remember:: Some code for .emacs to get things going
  99. * Remember templates:: Define the outline of different note types
  100. * Storing notes:: Directly get the note to where it belongs
  101. TODO items
  102. * TODO basics:: Marking and displaying TODO entries
  103. * TODO extensions:: Workflow and assignments
  104. * Priorities:: Some things are more important than others
  105. * Breaking down tasks:: Splitting a task into manageable pieces
  106. * Checkboxes:: Tick-off lists
  107. Extended use of TODO keywords
  108. * Workflow states:: From TODO to DONE in steps
  109. * TODO types:: I do this, Fred the rest
  110. * Multiple sets in one file:: Mixing it all, and still finding your way
  111. * Per file keywords:: Different files, different requirements
  112. Tags
  113. * Tag inheritance:: Tags use the tree structure of the outline
  114. * Setting tags:: How to assign tags to a headline
  115. * Tag searches:: Searching for combinations of tags
  116. Properties
  117. * Property syntax:: How properties are spelled out
  118. * Special properties:: Access to other Org-mode features
  119. * Property searches:: Matching property values
  120. * Column view:: Tabular viewing and editing
  121. * Property API:: Properties for Lisp programmers
  122. Column View
  123. * Defining columns:: The COLUMNS format property
  124. * Using column view:: How to create and use column view
  125. Timestamps
  126. * Time stamps:: Assigning a time to a tree entry
  127. * Creating timestamps:: Commands which insert timestamps
  128. * Deadlines and scheduling:: Planning your work
  129. * Progress logging:: Documenting when what work was done.
  130. Creating timestamps
  131. * The date/time prompt:: How org-mode helps you entering date and time
  132. * Custom time format:: Making dates look differently
  133. Deadlines and Scheduling
  134. * Inserting deadline/schedule::
  135. * Repeated tasks::
  136. Progress Logging
  137. * Closing items:: When was this entry marked DONE?
  138. * Tracking TODO state changes:: When did the status change?
  139. * Clocking work time:: When exactly did you work on this item?
  140. Agenda Views
  141. * Agenda files:: Files being searched for agenda information
  142. * Agenda dispatcher:: Keyboard access to agenda views
  143. * Built-in agenda views:: What is available out of the box?
  144. * Presentation and sorting:: How agenda items are prepared for display
  145. * Agenda commands:: Remote editing of org trees
  146. * Custom agenda views:: Defining special searches and views
  147. The built-in agenda views
  148. * Weekly/Daily agenda:: The calendar page with current tasks
  149. * Global TODO list:: All unfinished action items
  150. * Matching tags and properties:: Structured information with fine-tuned search
  151. * Timeline:: Time-sorted view for single file
  152. * Stuck projects:: Find projects you need to review
  153. Presentation and sorting
  154. * Categories:: Not all tasks are equal
  155. * Time-of-day specifications:: How the agenda knows the time
  156. * Sorting of agenda items:: The order of things
  157. Custom agenda views
  158. * Storing searches:: Type once, use often
  159. * Block agenda:: All the stuff you need in a single buffer
  160. * Setting Options:: Changing the rules
  161. * Exporting Agenda Views:: Writing agendas to files.
  162. * Extracting Agenda Information for other programs::
  163. Embedded LaTeX
  164. * Math symbols:: TeX macros for symbols and Greek letters
  165. * Subscripts and Superscripts:: Simple syntax for raising/lowering text
  166. * LaTeX fragments:: Complex formulas made easy
  167. * Processing LaTeX fragments:: Previewing LaTeX processing
  168. * CDLaTeX mode:: Speed up entering of formulas
  169. Exporting
  170. * ASCII export:: Exporting to plain ASCII
  171. * HTML export:: Exporting to HTML
  172. * XOXO export:: Exporting to XOXO
  173. * iCalendar export:: Exporting in iCalendar format
  174. * Text interpretation:: How the exporter looks at the file
  175. HTML export
  176. * Export commands:: How to invoke HTML export
  177. * Quoting HTML tags:: Using direct HTML in Org-mode
  178. * Links:: How hyperlinks get transferred to HTML
  179. * Images:: To inline or not to inline?
  180. * CSS support:: Style specifications
  181. Text interpretation by the exporter
  182. * Comment lines:: Some lines will not be exported
  183. * Initial text:: Text before the first headline
  184. * Footnotes:: Numbers like [1]
  185. * Enhancing text:: Subscripts, symbols and more
  186. * Export options:: How to influence the export settings
  187. Publishing
  188. * Configuration:: Defining projects
  189. * Sample configuration:: Example projects
  190. * Triggering publication:: Publication commands
  191. Configuration
  192. * Project alist:: The central configuration variable
  193. * Sources and destinations:: From here to there
  194. * Selecting files:: What files are part of the project?
  195. * Publishing action:: Setting the function doing the publishing
  196. * Publishing options:: Tweaking HTML export
  197. * Publishing links:: Which links keep working after publishing?
  198. * Project page index:: Publishing a list of project files
  199. Sample configuration
  200. * Simple example:: One-component publishing
  201. * Complex example:: A multi-component publishing example
  202. Miscellaneous
  203. * Completion:: M-TAB knows what you need
  204. * Customization:: Adapting Org-mode to your taste
  205. * In-buffer settings:: Overview of the #+KEYWORDS
  206. * The very busy C-c C-c key:: When in doubt, press C-c C-c
  207. * Clean view:: Getting rid of leading stars in the outline
  208. * TTY keys:: Using Org-mode on a tty
  209. * Interaction:: Other Emacs packages
  210. * Bugs:: Things which do not work perfectly
  211. Interaction with other packages
  212. * Cooperation:: Packages Org-mode cooperates with
  213. * Conflicts:: Packages that lead to conflicts
  214. Extensions, Hooks and Hacking
  215. * Extensions:: Existing 3rd-part extensions
  216. * Tables in arbitrary syntax:: Orgtbl for LaTeX and other programs
  217. * Dynamic blocks:: Automatically filled blocks
  218. * Special agenda views:: Customized views
  219. * Using the property API:: Writing programs that use entry properties
  220. Tables in arbitrary syntax
  221. * Radio tables:: Sending and receiving
  222. * A LaTeX example:: Step by step, almost a tutorial
  223. * Translator functions:: Copy and modify
  224. 
  225. File: org, Node: Introduction, Next: Document structure, Prev: Top, Up: Top
  226. 1 Introduction
  227. **************
  228. * Menu:
  229. * Summary:: Brief summary of what Org-mode does
  230. * Installation:: How to install a downloaded version of Org-mode
  231. * Activation:: How to activate Org-mode for certain buffers.
  232. * Feedback:: Bug reports, ideas, patches etc.
  233. 
  234. File: org, Node: Summary, Next: Installation, Prev: Introduction, Up: Introduction
  235. 1.1 Summary
  236. ===========
  237. Org-mode is a mode for keeping notes, maintaining TODO lists, and doing
  238. project planning with a fast and effective plain-text system.
  239. Org-mode develops organizational tasks around NOTES files that
  240. contain lists or information about projects as plain text. Org-mode is
  241. implemented on top of outline-mode, which makes it possible to keep the
  242. content of large files well structured. Visibility cycling and
  243. structure editing help to work with the tree. Tables are easily created
  244. with a built-in table editor. Org-mode supports TODO items, deadlines,
  245. time stamps, and scheduling. It dynamically compiles entries into an
  246. agenda that utilizes and smoothly integrates much of the Emacs calendar
  247. and diary. Plain text URL-like links connect to websites, emails,
  248. Usenet messages, BBDB entries, and any files related to the projects.
  249. For printing and sharing of notes, an Org-mode file can be exported as a
  250. structured ASCII file, as HTML, or (todo and agenda items only) as an
  251. iCalendar file. It can also serve as a publishing tool for a set of
  252. linked webpages.
  253. An important design aspect that distinguishes Org-mode from for
  254. example Planner/Muse is that it encourages to store every piece of
  255. information only once. In Planner, you have project pages, day pages
  256. and possibly other files, duplicating some information such as tasks.
  257. In Org-mode, you only have notes files. In your notes you mark entries
  258. as tasks, label them with tags and timestamps. All necessary lists
  259. like a schedule for the day, the agenda for a meeting, tasks lists
  260. selected by tags etc are created dynamically when you need them.
  261. Org-mode keeps simple things simple. When first fired up, it should
  262. feel like a straightforward, easy to use outliner. Complexity is not
  263. imposed, but a large amount of functionality is available when you need
  264. it. Org-mode can be used on different levels and in different ways, for
  265. example as:
  266. * outline extension with visibility cycling and structure editing
  267. * ASCII system and table editor for taking structured notes
  268. * ASCII table editor with spreadsheet-like capabilities
  269. * TODO list editor
  270. * full agenda and planner with deadlines and work scheduling
  271. * environment to implement David Allen's GTD system
  272. * simple hypertext system, with HTML export
  273. * publishing tool to create a set of interlinked webpages
  274. Org-mode's automatic, context sensitive table editor with spreadsheet
  275. capabilities can be integrated into any major mode by activating the
  276. minor Orgtbl-mode. Using a translation step, it can be used to maintain
  277. tables in arbitrary file types, for example in LaTeX.
  278. There is a website for Org-mode which provides links to the newest
  279. version of Org-mode, as well as additional information, frequently asked
  280. questions (FAQ), links to tutorials etc. This page is located at
  281. `http://www.astro.uva.nl/~dominik/Tools/org/'.
  282. 
  283. File: org, Node: Installation, Next: Activation, Prev: Summary, Up: Introduction
  284. 1.2 Installation
  285. ================
  286. Important: If Org-mode is part of the Emacs distribution or an XEmacs
  287. package, please skip this section and go directly to *Note Activation::.
  288. If you have downloaded Org-mode from the Web, you must take the
  289. following steps to install it: Go into the Org-mode distribution
  290. directory and edit the top section of the file `Makefile'. You must
  291. set the name of the Emacs binary (likely either `emacs' or `xemacs'),
  292. and the paths to the directories where local Lisp and Info files are
  293. kept. If you don't have access to the system-wide directories, create
  294. your own two directories for these files, enter them into the Makefile,
  295. and make sure Emacs finds the Lisp files by adding the following line
  296. to `.emacs':
  297. (setq load-path (cons "~/path/to/lispdir" load-path))
  298. XEmacs users now need to install the file `noutline.el' from the
  299. `xemacs' subdirectory of the Org-mode distribution. Use the command:
  300. make install-noutline
  301. Now byte-compile and install the Lisp files with the shell commands:
  302. make
  303. make install
  304. If you want to install the info documentation, use this command:
  305. make install-info
  306. Then add to `.emacs':
  307. ;; This line only if org-mode is not part of the X/Emacs distribution.
  308. (require 'org-install)
  309. 
  310. File: org, Node: Activation, Next: Feedback, Prev: Installation, Up: Introduction
  311. 1.3 Activation
  312. ==============
  313. Add the following lines to your `.emacs' file. The last two lines
  314. define _global_ keys for the commands `org-store-link' and `org-agenda'
  315. - please choose suitable keys yourself.
  316. ;; The following lines are always needed. Choose your own keys.
  317. (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
  318. (define-key global-map "\C-cl" 'org-store-link)
  319. (define-key global-map "\C-ca" 'org-agenda)
  320. Furthermore, you must activate `font-lock-mode' in org-mode buffers,
  321. because significant functionality depends on font-locking being active.
  322. You can do this with either one of the following two lines (XEmacs
  323. user must use the second option):
  324. (global-font-lock-mode 1) ; for all buffers
  325. (add-hook 'org-mode-hook 'turn-on-font-lock) ; org-mode buffers only
  326. With this setup, all files with extension `.org' will be put into
  327. Org-mode. As an alternative, make the first line of a file look like
  328. this:
  329. MY PROJECTS -*- mode: org; -*-
  330. which will select Org-mode for this buffer no matter what the file's
  331. name is. See also the variable `org-insert-mode-line-in-empty-file'.
  332. 
  333. File: org, Node: Feedback, Prev: Activation, Up: Introduction
  334. 1.4 Feedback
  335. ============
  336. If you find problems with Org-mode, or if you have questions, remarks,
  337. or ideas about it, please contact the maintainer Carsten Dominik at
  338. <dominik at science dot uva dot nl>.
  339. For bug reports, please provide as much information as possible,
  340. including the version information of Emacs (`C-h v emacs-version
  341. <RET>') and Org-mode (`C-h v org-version <RET>'), as well as the
  342. Org-mode related setup in `.emacs'. If an error occurs, a backtrace
  343. can be very useful (see below on how to create one). Often a small
  344. example file helps, along with clear information about:
  345. 1. What exactly did you do?
  346. 2. What did you expect to happen?
  347. 3. What happened instead?
  348. Thank you for helping to improve this mode.
  349. How to create a useful backtrace
  350. ................................
  351. If working with Org-mode produces an error with a message you don't
  352. understand, you may have hit a bug. The best way to report this is by
  353. providing, in addition to what was mentioned above, a _Backtrace_.
  354. This is information from the built-in debugger about where and how the
  355. error occurred. Here is how to produce a useful backtrace:
  356. 1. Start a fresh Emacs or XEmacs, and make sure that it will load the
  357. original Lisp code in `org.el' instead of the compiled version in
  358. `org.elc'. The backtrace contains much more information if it is
  359. produced with uncompiled code. To do this, either rename `org.elc'
  360. to something else before starting Emacs, or ask Emacs explicitly
  361. to load `org.el' by using the command line
  362. emacs -l /path/to/org.el
  363. 2. Go to the `Options' menu and select `Enter Debugger on Error'
  364. (XEmacs has this option in the `Troubleshooting' sub-menu).
  365. 3. Do whatever you have to do to hit the error. Don't forget to
  366. document the steps you take.
  367. 4. When you hit the error, a `*Backtrace*' buffer will appear on the
  368. screen. Save this buffer to a file (for example using `C-x C-w')
  369. and attach it to your bug report.
  370. 
  371. File: org, Node: Document structure, Next: Tables, Prev: Introduction, Up: Top
  372. 2 Document Structure
  373. ********************
  374. Org-mode is based on outline mode and provides flexible commands to
  375. edit the structure of the document.
  376. * Menu:
  377. * Outlines:: Org-mode is based on outline-mode
  378. * Headlines:: How to typeset org-tree headlines
  379. * Visibility cycling:: Show and hide, much simplified
  380. * Motion:: Jumping to other headlines
  381. * Structure editing:: Changing sequence and level of headlines
  382. * Archiving:: Move done task trees to a different place
  383. * Sparse trees:: Matches embedded in context
  384. * Plain lists:: Additional structure within an entry
  385. * Drawers::
  386. 
  387. File: org, Node: Outlines, Next: Headlines, Prev: Document structure, Up: Document structure
  388. 2.1 Outlines
  389. ============
  390. Org-mode is implemented on top of outline-mode. Outlines allow to
  391. organize a document in a hierarchical structure, which (at least for
  392. me) is the best representation of notes and thoughts. Overview over
  393. this structure is achieved by folding (hiding) large parts of the
  394. document to show only the general document structure and the parts
  395. currently being worked on. Org-mode greatly simplifies the use of
  396. outlines by compressing the entire show/hide functionality into a
  397. single command `org-cycle', which is bound to the <TAB> key.
  398. 
  399. File: org, Node: Headlines, Next: Visibility cycling, Prev: Outlines, Up: Document structure
  400. 2.2 Headlines
  401. =============
  402. Headlines define the structure of an outline tree. The headlines in
  403. Org-mode start with one or more stars, on the left margin(1). For
  404. example:
  405. * Top level headline
  406. ** Second level
  407. *** 3rd level
  408. some text
  409. *** 3rd level
  410. more text
  411. * Another top level headline
  412. Some people find the many stars too noisy and would prefer an outline
  413. that has whitespace followed by a single star as headline starters.
  414. *Note Clean view:: describes a setup to realize this.
  415. An empty line after the end of a subtree is considered part of it and
  416. will be hidden when the subtree is folded. However, if you leave at
  417. least two empty lines, one empty line will remain visible after folding
  418. the subtree, in order to structure the collapsed view. See the
  419. variable `org-cycle-separator-lines' for modifying this behavior.
  420. ---------- Footnotes ----------
  421. (1) See the variable `org-special-ctrl-a' to configure special
  422. behavior of `C-a' in headlines.
  423. 
  424. File: org, Node: Visibility cycling, Next: Motion, Prev: Headlines, Up: Document structure
  425. 2.3 Visibility cycling
  426. ======================
  427. Outlines make it possible to hide parts of the text in the buffer.
  428. Org-mode uses just two commands, bound to <TAB> and `S-<TAB>' to change
  429. the visibility in the buffer.
  430. `<TAB>'
  431. _Subtree cycling_: Rotate current subtree among the states
  432. ,-> FOLDED -> CHILDREN -> SUBTREE --.
  433. '-----------------------------------'
  434. The cursor must be on a headline for this to work(1). When the
  435. cursor is at the beginning of the buffer and the first line is not
  436. a headline, then <TAB> actually runs global cycling (see
  437. below)(2). Also when called with a prefix argument (`C-u <TAB>'),
  438. global cycling is invoked.
  439. `S-<TAB>'
  440. `C-u <TAB>'
  441. _Global cycling_: Rotate the entire buffer among the states
  442. ,-> OVERVIEW -> CONTENTS -> SHOW ALL --.
  443. '--------------------------------------'
  444. When `S-<TAB>' is called with a numerical prefix N, the CONTENTS
  445. view up to headlines of level N will be shown. Note that inside
  446. tables, `S-<TAB>' jumps to the previous field.
  447. `C-c C-a'
  448. Show all.
  449. `C-c C-r'
  450. Reveal context around point, showing the current entry, the
  451. following heading and the hierarchy above. Useful for working
  452. near a location exposed by a sparse tree command (*note Sparse
  453. trees::) or an agenda command (*note Agenda commands::). With
  454. prefix arg show, on each level, all sibling headings.
  455. `C-c C-x b'
  456. Show the current subtree in an indirect buffer(3). With numerical
  457. prefix ARG, go up to this level and then take that tree. If ARG is
  458. negative, go up that many levels. With `C-u' prefix, do not remove
  459. the previously used indirect buffer.
  460. When Emacs first visits an Org-mode file, the global state is set to
  461. OVERVIEW, i.e. only the top level headlines are visible. This can be
  462. configured through the variable `org-startup-folded', or on a per-file
  463. basis by adding one of the following lines anywhere in the buffer:
  464. #+STARTUP: overview
  465. #+STARTUP: content
  466. #+STARTUP: showall
  467. ---------- Footnotes ----------
  468. (1) see, however, the option `org-cycle-emulate-tab'.
  469. (2) see the option `org-cycle-global-at-bob'.
  470. (3) The indirect buffer (*note Indirect Buffers: (emacs)Indirect
  471. Buffers.) will contain the entire buffer, but will be narrowed to the
  472. current tree. Editing the indirect buffer will also change the
  473. original buffer, but without affecting visibility in that buffer.
  474. 
  475. File: org, Node: Motion, Next: Structure editing, Prev: Visibility cycling, Up: Document structure
  476. 2.4 Motion
  477. ==========
  478. The following commands jump to other headlines in the buffer.
  479. `C-c C-n'
  480. Next heading.
  481. `C-c C-p'
  482. Previous heading.
  483. `C-c C-f'
  484. Next heading same level.
  485. `C-c C-b'
  486. Previous heading same level.
  487. `C-c C-u'
  488. Backward to higher level heading.
  489. `C-c C-j'
  490. Jump to a different place without changing the current outline
  491. visibility. Shows the document structure in a temporary buffer,
  492. where you can use the following keys to find your destination:
  493. <TAB> Cycle visibility.
  494. <down> / <up> Next/previous visible headline.
  495. n / p Next/previous visible headline.
  496. f / b Next/previous headline same level.
  497. u One level up.
  498. 0-9 Digit argument.
  499. <RET> Select this location.
  500. 
  501. File: org, Node: Structure editing, Next: Archiving, Prev: Motion, Up: Document structure
  502. 2.5 Structure editing
  503. =====================
  504. `M-<RET>'
  505. Insert new heading with same level as current. If the cursor is
  506. in a plain list item, a new item is created (*note Plain lists::).
  507. To force creation of a new headline, use a prefix arg, or first
  508. press <RET> to get to the beginning of the next line. When this
  509. command is used in the middle of a line, the line is split and the
  510. rest of the line becomes the new headline. If the command is used
  511. at the beginning of a headline, the new headline is created before
  512. the current line. If at the beginning of any other line, the
  513. content of that line is made the new heading. If the command is
  514. used at the end of a folded subtree (i.e. behind the ellipses at
  515. the end of a headline), then a headline like the current one will
  516. be inserted after the end of the subtree.
  517. `M-S-<RET>'
  518. Insert new TODO entry with same level as current heading.
  519. `M-<left>'
  520. Promote current heading by one level.
  521. `M-<right>'
  522. Demote current heading by one level.
  523. `M-S-<left>'
  524. Promote the current subtree by one level.
  525. `M-S-<right>'
  526. Demote the current subtree by one level.
  527. `M-S-<up>'
  528. Move subtree up (swap with previous subtree of same level).
  529. `M-S-<down>'
  530. Move subtree down (swap with next subtree of same level).
  531. `C-c C-x C-w'
  532. `C-c C-x C-k'
  533. Kill subtree, i.e. remove it from buffer but save in kill ring.
  534. `C-c C-x M-w'
  535. Copy subtree to kill ring.
  536. `C-c C-x C-y'
  537. Yank subtree from kill ring. This does modify the level of the
  538. subtree to make sure the tree fits in nicely at the yank position.
  539. The yank level can also be specified with a prefix arg, or by
  540. yanking after a headline marker like `****'.
  541. `C-c ^'
  542. Sort same-level entries. When there is an active region, all
  543. entries in the region will be sorted. Otherwise the children of
  544. the current headline are sorted. The command prompts for the
  545. sorting method, which can be alphabetically, numerically, by time
  546. (using the first time stamp in each entry), and each of these in
  547. reverse order. With a `C-u' prefix, sorting will be
  548. case-sensitive. With two `C-u C-u' prefixes, duplicate entries
  549. will also be removed.
  550. When there is an active region (transient-mark-mode), promotion and
  551. demotion work on all headlines in the region. To select a region of
  552. headlines, it is best to place both point and mark at the beginning of a
  553. line, mark at the beginning of the first headline, and point at the line
  554. just after the last headline to change. Note that when the cursor is
  555. inside a table (*note Tables::), the Meta-Cursor keys have different
  556. functionality.
  557. 
  558. File: org, Node: Archiving, Next: Sparse trees, Prev: Structure editing, Up: Document structure
  559. 2.6 Archiving
  560. =============
  561. When a project represented by a (sub)tree is finished, you may want to
  562. move the tree out of the way and to stop it from contributing to the
  563. agenda. Org-mode knows two ways of archiving. You can mark a tree with
  564. the ARCHIVE tag, or you can move an entire (sub)tree to a different
  565. location.
  566. * Menu:
  567. * ARCHIVE tag:: Marking a tree as inactive
  568. * Moving subtrees:: Moving a tree to an archive file
  569. 
  570. File: org, Node: ARCHIVE tag, Next: Moving subtrees, Prev: Archiving, Up: Archiving
  571. 2.6.1 The ARCHIVE tag
  572. ---------------------
  573. A headline that is marked with the ARCHIVE tag (*note Tags::) stays at
  574. its location in the outline tree, but behaves in the following way:
  575. - It does not open when you attempt to do so with a visibility
  576. cycling command (*note Visibility cycling::). You can force
  577. cycling archived subtrees with `C-<TAB>', or by setting the option
  578. `org-cycle-open-archived-trees'. Also normal outline commands like
  579. `show-all' will open archived subtrees.
  580. - During sparse tree construction (*note Sparse trees::), matches in
  581. archived subtrees are not exposed, unless you configure the option
  582. `org-sparse-tree-open-archived-trees'.
  583. - During agenda view construction (*note Agenda views::), the
  584. content of archived trees is ignored unless you configure the
  585. option `org-agenda-skip-archived-trees'.
  586. - Archived trees are not exported (*note Exporting::), only the
  587. headline is. Configure the details using the variable
  588. `org-export-with-archived-trees'.
  589. The following commands help managing the ARCHIVE tag:
  590. `C-c C-x C-a'
  591. Toggle the ARCHIVE tag for the current headline. When the tag is
  592. set, the headline changes to a shadowish face, and the subtree
  593. below it is hidden.
  594. `C-u C-c C-x C-a'
  595. Check if any direct children of the current headline should be
  596. archived. To do this, each subtree is checked for open TODO
  597. entries. If none are found, the command offers to set the ARCHIVE
  598. tag for the child. If the cursor is _not_ on a headline when this
  599. command is invoked, the level 1 trees will be checked.
  600. `C-TAB'
  601. Cycle a tree even if it is tagged with ARCHIVE.
  602. 
  603. File: org, Node: Moving subtrees, Prev: ARCHIVE tag, Up: Archiving
  604. 2.6.2 Moving subtrees
  605. ---------------------
  606. Once an entire project is finished, you may want to move it to a
  607. different location, either in the current file, or even in a different
  608. file, the archive file.
  609. `C-c C-x C-s'
  610. Archive the subtree starting at the cursor position to the location
  611. given by `org-archive-location'.
  612. `C-u C-c C-x C-s'
  613. Check if any direct children of the current headline could be
  614. moved to the archive. To do this, each subtree is checked for
  615. open TODO entries. If none are found, the command offers to move
  616. it to the archive location. If the cursor is _not_ on a headline
  617. when this command is invoked, the level 1 trees will be checked.
  618. The default archive location is a file in the same directory as the
  619. current file, with the name derived by appending `_archive' to the
  620. current file name. For information and examples on how to change this,
  621. see the documentation string of the variable `org-archive-location'.
  622. There is also an in-buffer option for setting this variable, for example
  623. #+ARCHIVE: %s_done::
  624. You may have several such lines in the buffer, they will then be valid
  625. for the entries following the line (the first will also apply to any
  626. text before it).
  627. 
  628. File: org, Node: Sparse trees, Next: Plain lists, Prev: Archiving, Up: Document structure
  629. 2.7 Sparse trees
  630. ================
  631. An important feature of Org-mode is the ability to construct _sparse
  632. trees_ for selected information in an outline tree. A sparse tree
  633. means that the entire document is folded as much as possible, but the
  634. selected information is made visible along with the headline structure
  635. above it(1). Just try it out and you will see immediately how it works.
  636. Org-mode contains several commands creating such trees. The most
  637. basic one is `org-occur':
  638. `C-c /'
  639. Occur. Prompts for a regexp and shows a sparse tree with all
  640. matches. If the match is in a headline, the headline is made
  641. visible. If the match is in the body of an entry, headline and
  642. body are made visible. In order to provide minimal context, also
  643. the full hierarchy of headlines above the match is shown, as well
  644. as the headline following the match. Each match is also
  645. highlighted; the highlights disappear when the buffer is changes
  646. an editing command, or by pressing `C-c C-c'. When called with a
  647. `C-u' prefix argument, previous highlights are kept, so several
  648. calls to this command can be stacked.
  649. For frequently used sparse trees of specific search strings, you can
  650. use the variable `org-agenda-custom-commands' to define fast keyboard
  651. access to specific sparse trees. These commands will then be
  652. accessible through the agenda dispatcher (*note Agenda dispatcher::).
  653. For example:
  654. (setq org-agenda-custom-commands
  655. '(("f" occur-tree "FIXME")))
  656. will define the key `C-c a f' as a shortcut for creating a sparse tree
  657. matching the string `FIXME'.
  658. Other commands use sparse trees as well. For example `C-c C-v'
  659. creates a sparse TODO tree (*note TODO basics::).
  660. To print a sparse tree, you can use the Emacs command
  661. `ps-print-buffer-with-faces' which does not print invisible parts of
  662. the document (2). Or you can use the command `C-c C-e v' to export
  663. only the visible part of the document and print the resulting file.
  664. ---------- Footnotes ----------
  665. (1) See also the variables `org-show-hierarchy-above',
  666. `org-show-following-heading', and `org-show-siblings' for detailed
  667. control on how much context is shown around each match.
  668. (2) This does not work under XEmacs, because XEmacs uses selective
  669. display for outlining, not text properties.
  670. 
  671. File: org, Node: Plain lists, Next: Drawers, Prev: Sparse trees, Up: Document structure
  672. 2.8 Plain lists
  673. ===============
  674. Within an entry of the outline tree, hand-formatted lists can provide
  675. additional structure. They also provide a way to create lists of
  676. checkboxes (*note Checkboxes::). Org-mode supports editing such lists,
  677. and the HTML exporter (*note Exporting::) does parse and format them.
  678. Org-mode knows ordered and unordered lists. Unordered list items
  679. start with `-', `+', or `*'(1) as bullets. Ordered list items start
  680. with `1.' or `1)'. Items belonging to the same list must have the same
  681. indentation on the first line. In particular, if an ordered list
  682. reaches number `10.', then the 2-digit numbers must be written
  683. left-aligned with the other numbers in the list. Indentation also
  684. determines the end of a list item. It ends before the next line that
  685. is indented like the bullet/number, or less. Empty lines are part of
  686. the previous item, so you can have several paragraphs in one item. If
  687. you would like an empty line to terminate all currently open plain
  688. lists, configure the variable `org-empty-line-terminates-plain-lists'.
  689. Here is an example:
  690. ** Lord of the Rings
  691. My favorite scenes are (in this order)
  692. 1. The attack of the Rohirrim
  693. 2. Eowyns fight with the witch king
  694. + this was already my favorite scene in the book
  695. + I really like Miranda Otto.
  696. 3. Peter Jackson being shot by Legolas
  697. - on DVD only
  698. He makes a really funny face when it happens.
  699. But in the end, not individual scenes matter but the film as a whole.
  700. Org-mode supports these lists by tuning filling and wrapping
  701. commands to deal with them correctly(2).
  702. The following commands act on items when the cursor is in the first
  703. line of an item (the line with the bullet or number).
  704. `<TAB>'
  705. Items can be folded just like headline levels if you set the
  706. variable `org-cycle-include-plain-lists'. The level of an item is
  707. then given by the indentation of the bullet/number. Items are
  708. always subordinate to real headlines, however; the hierarchies
  709. remain completely separated.
  710. If `org-cycle-include-plain-lists' has not been set, <TAB> fixes
  711. the indentation of the curent line in a heuristic way.
  712. `M-<RET>'
  713. Insert new item at current level. With prefix arg, force a new
  714. heading (*note Structure editing::). If this command is used in
  715. the middle of a line, the line is _split_ and the rest of the line
  716. becomes the new item. If this command is executed in the
  717. _whitespace before a bullet or number_, the new item is created
  718. _before_ the current item. If the command is executed in the
  719. white space before the text that is part of an item but does not
  720. contain the bullet, a bullet is added to the current line.
  721. `M-S-<RET>'
  722. Insert a new item with a checkbox (*note Checkboxes::).
  723. `S-<up>'
  724. `S-<down>'
  725. Jump to the previous/next item in the current list.
  726. `M-S-<up>'
  727. `M-S-<down>'
  728. Move the item including subitems up/down (swap with previous/next
  729. item of same indentation). If the list is ordered, renumbering is
  730. automatic.
  731. `M-S-<left>'
  732. `M-S-<right>'
  733. Decrease/increase the indentation of the item, including subitems.
  734. Initially, the item tree is selected based on current indentation.
  735. When these commands are executed several times in direct
  736. succession, the initially selected region is used, even if the new
  737. indentation would imply a different hierarchy. To use the new
  738. hierarchy, break the command chain with a cursor motion or so.
  739. `C-c C-c'
  740. If there is a checkbox (*note Checkboxes::) in the item line,
  741. toggle the state of the checkbox. If not, make this command makes
  742. sure that all the items on this list level use the same bullet.
  743. Furthermore, if this is an ordered list, make sure the numbering
  744. is ok.
  745. `C-c -'
  746. Cycle the entire list level through the different itemize/enumerate
  747. bullets (`-', `+', `*', `1.', `1)'). With prefix arg, select the
  748. nth bullet from this list.
  749. ---------- Footnotes ----------
  750. (1) When using `*' as a bullet, lines must be indented or they will
  751. be seen as top-level headlines. Also, when you are hiding leading
  752. stars to get a clean outline view, plain list items starting with a
  753. star are visually indistinguishable from true headlines. In short:
  754. even though `*' is supported, it may be better not to use it for plain
  755. list items.
  756. (2) Org-mode only changes the filling settings for Emacs. For
  757. XEmacs, you should use Kyle E. Jones' `filladapt.el'. To turn this on,
  758. put into `.emacs': `(require 'filladapt)'
  759. 
  760. File: org, Node: Drawers, Prev: Plain lists, Up: Document structure
  761. 2.9 Drawers
  762. ===========
  763. Sometimes you want to keep information associated with an entry, but you
  764. normally don't want to see it, except when explicitly asking for it.
  765. For this, Org-mode has _drawers_. Drawers need to be configured with
  766. the variable `org-drawers', and look like this:
  767. ** This is a headline
  768. Still outside the drawer
  769. :DRAWERNAME:
  770. This is inside the drawer.
  771. :END:
  772. After the drawer.
  773. Visibility cycling (*note Visibility cycling::) on the headline will
  774. hide and show the entry, but keep the drawer collapsed to a single line.
  775. In order to look inside the drawer, you need to move the cursor to the
  776. drawer line and press <TAB> there. Org-mode uses a drawer for storing
  777. properties (*note Properties::).
  778. 
  779. File: org, Node: Tables, Next: Hyperlinks, Prev: Document structure, Up: Top
  780. 3 Tables
  781. ********
  782. Org-mode has a very fast and intuitive table editor built-in.
  783. Spreadsheet-like calculations are supported in connection with the
  784. Emacs `calc' package.
  785. * Menu:
  786. * Built-in table editor:: Simple tables
  787. * Narrow columns:: Stop wasting space in tables
  788. * Column groups:: Grouping to trigger vertical lines
  789. * orgtbl-mode:: The table editor as minor mode
  790. * The spreadsheet:: The table editor has spreadsheet capabilities.
  791. 
  792. File: org, Node: Built-in table editor, Next: Narrow columns, Prev: Tables, Up: Tables
  793. 3.1 The built-in table editor
  794. =============================
  795. Org-mode makes it easy to format tables in plain ASCII. Any line with
  796. `|' as the first non-white character is considered part of a table.
  797. `|' is also the column separator. A table might look like this:
  798. | Name | Phone | Age |
  799. |-------+-------+-----|
  800. | Peter | 1234 | 17 |
  801. | Anna | 4321 | 25 |
  802. A table is re-aligned automatically each time you press <TAB> or
  803. <RET> or `C-c C-c' inside the table. <TAB> also moves to the next
  804. field (<RET> to the next row) and creates new table rows at the end of
  805. the table or before horizontal lines. The indentation of the table is
  806. set by the first line. Any line starting with `|-' is considered as a
  807. horizontal separator line and will be expanded on the next re-align to
  808. span the whole table width. So, to create the above table, you would
  809. only type
  810. |Name|Phone|Age|
  811. |-
  812. and then press <TAB> to align the table and start filling in fields.
  813. When typing text into a field, Org-mode treats <DEL>, <Backspace>,
  814. and all character keys in a special way, so that inserting and deleting
  815. avoids shifting other fields. Also, when typing _immediately after the
  816. cursor was moved into a new field with `<TAB>', `S-<TAB>' or `<RET>'_,
  817. the field is automatically made blank. If this behavior is too
  818. unpredictable for you, configure the variables
  819. `org-enable-table-editor' and `org-table-auto-blank-field'.
  820. Creation and conversion
  821. .......................
  822. `C-c |'
  823. Convert the active region to table. If every line contains at
  824. least one TAB character, the function assumes that the material is
  825. tab separated. If not, lines are split at whitespace into fields.
  826. You can use a prefix argument to indicate the minimum number of
  827. consecutive spaces required to identify a field separator
  828. (default: just one).
  829. If there is no active region, this command creates an empty
  830. Org-mode table. But it's easier just to start typing, like
  831. `|Name|Phone|Age <RET> |- <TAB>'.
  832. Re-aligning and field motion
  833. ............................
  834. `C-c C-c'
  835. Re-align the table without moving the cursor.
  836. `<TAB>'
  837. Re-align the table, move to the next field. Creates a new row if
  838. necessary.
  839. `S-<TAB>'
  840. Re-align, move to previous field.
  841. `<RET>'
  842. Re-align the table and move down to next row. Creates a new row if
  843. necessary. At the beginning or end of a line, <RET> still does
  844. NEWLINE, so it can be used to split a table.
  845. Column and row editing
  846. ......................
  847. `M-<left>'
  848. `M-<right>'
  849. Move the current column left/right.
  850. `M-S-<left>'
  851. Kill the current column.
  852. `M-S-<right>'
  853. Insert a new column to the left of the cursor position.
  854. `M-<up>'
  855. `M-<down>'
  856. Move the current row up/down.
  857. `M-S-<up>'
  858. Kill the current row or horizontal line.
  859. `M-S-<down>'
  860. Insert a new row above (with arg: below) the current row.
  861. `C-c -'
  862. Insert a horizontal line below current row. With prefix arg, the
  863. line is created above the current line.
  864. `C-c ^'
  865. Sort the table lines in the region. The position of point
  866. indicates the column to be used for sorting, and the range of
  867. lines is the range between the nearest horizontal separator lines,
  868. or the entire table. If point is before the first column, you
  869. will be prompted for the sorting column. If there is an active
  870. region, the mark specifies the first line and the sorting column,
  871. while point should be in the last line to be included into the
  872. sorting. The command prompts for the sorting type
  873. (alphabetically, numerically, or by time). When called with a
  874. prefix argument, alphabetic sorting will be case-sensitive.
  875. Regions
  876. .......
  877. `C-c C-x M-w'
  878. Copy a rectangular region from a table to a special clipboard.
  879. Point and mark determine edge fields of the rectangle. The
  880. process ignores horizontal separator lines.
  881. `C-c C-x C-w'
  882. Copy a rectangular region from a table to a special clipboard, and
  883. blank all fields in the rectangle. So this is the "cut" operation.
  884. `C-c C-x C-y'
  885. Paste a rectangular region into a table. The upper right corner
  886. ends up in the current field. All involved fields will be
  887. overwritten. If the rectangle does not fit into the present table,
  888. the table is enlarged as needed. The process ignores horizontal
  889. separator lines.
  890. `C-c C-q'
  891. Wrap several fields in a column like a paragraph. If there is an
  892. active region, and both point and mark are in the same column, the
  893. text in the column is wrapped to minimum width for the given
  894. number of lines. A prefix ARG may be used to change the number of
  895. desired lines. If there is no region, the current field is split
  896. at the cursor position and the text fragment to the right of the
  897. cursor is prepended to the field one line down. If there is no
  898. region, but you specify a prefix ARG, the current field is made
  899. blank, and the content is appended to the field above.
  900. Calculations
  901. ............
  902. `C-c +'
  903. Sum the numbers in the current column, or in the rectangle defined
  904. by the active region. The result is shown in the echo area and can
  905. be inserted with `C-y'.
  906. `S-<RET>'
  907. When current field is empty, copy from first non-empty field above.
  908. When not empty, copy current field down to next row and move cursor
  909. along with it. Depending on the variable
  910. `org-table-copy-increment', integer field values will be
  911. incremented during copy. This key is also used by CUA-mode (*note
  912. Cooperation::).
  913. Miscellaneous
  914. .............
  915. `C-c `'
  916. Edit the current field in a separate window. This is useful for
  917. fields that are not fully visible (*note Narrow columns::). When
  918. called with a `C-u' prefix, just make the full field visible, so
  919. that it can be edited in place.
  920. `C-c <TAB>'
  921. This is an alias for `C-u C-c `' to make the current field fully
  922. visible.
  923. `M-x org-table-import'
  924. Import a file as a table. The table should be TAB- or whitespace
  925. separated. Useful, for example, to import an Excel table or data
  926. from a database, because these programs generally can write
  927. TAB-separated text files. This command works by inserting the
  928. file into the buffer and then converting the region to a table.
  929. Any prefix argument is passed on to the converter, which uses it
  930. to determine the separator.
  931. `C-c |'
  932. Tables can also be imported by pasting tabular text into the
  933. org-mode buffer, selecting the pasted text with `C-x C-x' and then
  934. using the `C-c |' command (see above under Creation and conversion.
  935. `M-x org-table-export'
  936. Export the table as a TAB-separated file. Useful for data
  937. exchange with, for example, Excel or database programs.
  938. If you don't like the automatic table editor because it gets in your
  939. way on lines which you would like to start with `|', you can turn it
  940. off with
  941. (setq org-enable-table-editor nil)
  942. Then the only table command that still works is `C-c C-c' to do a
  943. manual re-align.
  944. 
  945. File: org, Node: Narrow columns, Next: Column groups, Prev: Built-in table editor, Up: Tables
  946. 3.2 Narrow columns
  947. ==================
  948. The width of columns is automatically determined by the table editor.
  949. Sometimes a single field or a few fields need to carry more text,
  950. leading to inconveniently wide columns. To limit(1) the width of a
  951. column, one field anywhere in the column may contain just the string
  952. `<N>' where `N' is an integer specifying the width of the column in
  953. characters. The next re-align will then set the width of this column
  954. to no more than this value.
  955. |---+------------------------------| |---+--------|
  956. | | | | | <6> |
  957. | 1 | one | | 1 | one |
  958. | 2 | two | ----\ | 2 | two |
  959. | 3 | This is a long chunk of text | ----/ | 3 | This=> |
  960. | 4 | four | | 4 | four |
  961. |---+------------------------------| |---+--------|
  962. Fields that are wider become clipped and end in the string `=>'. Note
  963. that the full text is still in the buffer, it is only invisible. To
  964. see the full text, hold the mouse over the field - a tool-tip window
  965. will show the full content. To edit such a field, use the command `C-c
  966. `' (that is `C-c' followed by the backquote). This will open a new
  967. window with the full field. Edit it and finish with `C-c C-c'.
  968. When visiting a file containing a table with narrowed columns, the
  969. necessary character hiding has not yet happened, and the table needs to
  970. be aligned before it looks nice. Setting the option
  971. `org-startup-align-all-tables' will realign all tables in a file upon
  972. visiting, but also slow down startup. You can also set this option on
  973. a per-file basis with:
  974. #+STARTUP: align
  975. #+STARTUP: noalign
  976. ---------- Footnotes ----------
  977. (1) This feature does not work on XEmacs.
  978. 
  979. File: org, Node: Column groups, Next: orgtbl-mode, Prev: Narrow columns, Up: Tables
  980. 3.3 Column groups
  981. =================
  982. When Org-mode exports tables, it does so by default without vertical
  983. lines because that is visually more satisfying in general. Occasionally
  984. however, vertical lines can be useful to structure a table into groups
  985. of columns, much like horizontal lines can do for groups of rows. In
  986. order to specify column groups, you can use a special row where the
  987. first field contains only `/'. The further fields can either contain
  988. `<' to indicate that this column should start a group, `>' to indicate
  989. the end of a column, or `<>' to make a column a group of its own.
  990. Boundaries between colum groups will upon export be marked with
  991. vertical lines. Here is an example:
  992. | | N | N^2 | N^3 | N^4 | sqrt(n) | sqrt[4](N) |
  993. |---+----+-----+-----+-----+---------+------------|
  994. | / | <> | < | | > | < | > |
  995. | # | 1 | 1 | 1 | 1 | 1 | 1 |
  996. | # | 2 | 4 | 8 | 16 | 1.4142 | 1.1892 |
  997. | # | 3 | 9 | 27 | 81 | 1.7321 | 1.3161 |
  998. |---+----+-----+-----+-----+---------+------------|
  999. #+TBLFM: $3=$2^2::$4=$2^3::$5=$2^4::$6=sqrt($2)::$7=sqrt(sqrt(($2))
  1000. It is also sufficient to just insert the colum group starters after
  1001. every vertical line you'd like to have:
  1002. | N | N^2 | N^3 | N^4 | sqrt(n) | sqrt[4](N) |
  1003. |----+-----+-----+-----+---------+------------|
  1004. | / | < | | | < | |
  1005. 
  1006. File: org, Node: orgtbl-mode, Next: The spreadsheet, Prev: Column groups, Up: Tables
  1007. 3.4 The Orgtbl minor mode
  1008. =========================
  1009. If you like the intuitive way the Org-mode table editor works, you
  1010. might also want to use it in other modes like text-mode or mail-mode.
  1011. The minor mode Orgtbl-mode makes this possible. You can always toggle
  1012. the mode with `M-x orgtbl-mode'. To turn it on by default, for example
  1013. in mail mode, use
  1014. (add-hook 'mail-mode-hook 'turn-on-orgtbl)
  1015. Furthermore, with some special setup, it is possible to maintain
  1016. tables in arbitrary syntax with Orgtbl-mode. For example, it is
  1017. possible to construct LaTeX tables with the underlying ease and power of
  1018. Orgtbl-mode, including spreadsheet capabilities. For details, see
  1019. *Note Tables in arbitrary syntax::.
  1020. 
  1021. File: org, Node: The spreadsheet, Prev: orgtbl-mode, Up: Tables
  1022. 3.5 The spreadsheet
  1023. ===================
  1024. The table editor makes use of the Emacs `calc' package to implement
  1025. spreadsheet-like capabilities. It can also evaluate Emacs Lisp forms to
  1026. derive fields from other fields. While fully featured, Org-mode's
  1027. implementation is not identical to other spreadsheets. For example,
  1028. Org-mode knows the concept of a _column formula_ that will be applied
  1029. to all non-header fields in a column without having to copy the formula
  1030. to each relevant field.
  1031. * Menu:
  1032. * References:: How to refer to another field or range
  1033. * Formula syntax for Calc:: Using Calc to compute stuff
  1034. * Formula syntax for Lisp:: Writing formulas in Emacs Lisp
  1035. * Field formulas:: Formulas valid for a single field
  1036. * Column formulas:: Formulas valid for an entire column
  1037. * Editing and debugging formulas:: Fixing formulas
  1038. * Updating the table:: Recomputing all dependent fields
  1039. * Advanced features:: Field names, parameters and automatic recalc
  1040. 
  1041. File: org, Node: References, Next: Formula syntax for Calc, Prev: The spreadsheet, Up: The spreadsheet
  1042. 3.5.1 References
  1043. ----------------
  1044. To compute fields in the table from other fields, formulas must
  1045. reference other fields or ranges. In Org-mode, fields can be referenced
  1046. by name, by absolute coordinates, and by relative coordinates. To find
  1047. out what the coordinates of a field are, press `C-c ?' in that field,
  1048. or press `C-c }' to toggle the display of a grid.
  1049. Field references
  1050. ................
  1051. Formulas can reference the value of another field in two ways. Like in
  1052. any other spreadsheet, you may reference fields with a letter/number
  1053. combination like `B3', meaning the 2nd field in the 3rd row.
  1054. Org-mode also uses another, more general operator that looks like this:
  1055. @row$column
  1056. Column references can be absolute like `1', `2',...`N', or relative to
  1057. the current column like `+1' or `-2'.
  1058. The row specification only counts data lines and ignores horizontal
  1059. separator lines (hlines). You can use absolute row numbers `1'...`N',
  1060. and row numbers relative to the current row like `+3' or `-1'. Or
  1061. specify the row relative to one of the hlines: `I' refers to the first
  1062. hline, `II' to the second etc. `-I' refers to the first such line
  1063. above the current line, `+I' to the first such line below the current
  1064. line. You can also write `III+2' which is the second data line after
  1065. the third hline in the table. Relative row numbers like `-3' will not
  1066. cross hlines if the current line is too close to the hline. Instead,
  1067. the value directly at the hline is used.
  1068. `0' refers to the current row and column. Also, if you omit either
  1069. the column or the row part of the reference, the current row/column is
  1070. implied.
  1071. Org-mode's references with _unsigned_ numbers are fixed references
  1072. in the sense that if you use the same reference in the formula for two
  1073. different fields, the same field will be referenced each time.
  1074. Org-mode's references with _signed_ numbers are floating references
  1075. because the same reference operator can reference different fields
  1076. depending on the field being calculated by the formula.
  1077. Here are a few examples:
  1078. @2$3 2nd row, 3rd column
  1079. C2 same as previous
  1080. $5 column 5 in the current row
  1081. E& same as previous
  1082. @2 current column, row 2
  1083. @-1$-3 the field one row up, three columns to the left
  1084. @-I$2 field just under hline above current row, column 2
  1085. Range references
  1086. ................
  1087. You may reference a rectangular range of fields by specifying two field
  1088. references connected by two dots `..'. If both fields are in the
  1089. current row, you may simply use `$2..$7', but if at least one field is
  1090. in a different row, you need to use the general `@row$column' format at
  1091. least for the first field (i.e the reference must start with `@' in
  1092. order to be interpreted correctly). Examples:
  1093. $1..$3 First three fields in the current row.
  1094. $P..$Q Range, using column names (see under Advanced)
  1095. @2$1..@4$3 6 fields between these two fields.
  1096. A2..C4 Same as above.
  1097. @-1$-2..@-1 3 numbers from the column to the left, 2 up to current row
  1098. Range references return a vector of values that can be fed into Calc
  1099. vector functions. Empty fields in ranges are normally suppressed, so
  1100. that the vector contains only the non-empty fields (but see the `E'
  1101. mode switch below). If there are no non-empty fields, `[0]' is
  1102. returned to avoid syntax errors in formulas.
  1103. Named references
  1104. ................
  1105. `$name' is interpreted as the name of a column, parameter or constant.
  1106. Constants are defined globally through the variable
  1107. `org-table-formula-constants', and locally (for the file) through a
  1108. line like
  1109. #+CONSTANTS: c=299792458. pi=3.14 eps=2.4e-6
  1110. Also properties (*note Properties::) can be used as constants in table
  1111. formulas: For a property `:XYZ:' use the name `$PROP_XYZ', and the
  1112. property will be searched in the current outline entry and in the
  1113. hierarchy above it. If you have the `constants.el' package, it will
  1114. also be used to resolve constants, including natural constants like
  1115. `$h' for Planck's constant, and units like `$km' for kilometers(1).
  1116. Column names and parameters can be specified in special table lines.
  1117. These are described below, see *Note Advanced features::. All names
  1118. must start with a letter, and further consist of letters and numbers.
  1119. ---------- Footnotes ----------
  1120. (1) `Constant.el' can supply the values of constants in two
  1121. different unit systems, `SI' and `cgs'. Which one is used depends on
  1122. the value of the variable `constants-unit-system'. You can use the
  1123. `#+STARTUP' options `constSI' and `constcgs' to set this value for the
  1124. current buffer.
  1125. 
  1126. File: org, Node: Formula syntax for Calc, Next: Formula syntax for Lisp, Prev: References, Up: The spreadsheet
  1127. 3.5.2 Formula syntax for Calc
  1128. -----------------------------
  1129. A formula can be any algebraic expression understood by the Emacs
  1130. `Calc' package. Note that `calc' has the non-standard convention that
  1131. `/' has lower precedence than `*', so that `a/b*c' is interpreted as
  1132. `a/(b*c)'. Before evaluation by `calc-eval' (*note calc-eval:
  1133. (calc)Calling Calc from Your Programs.), variable substitution takes
  1134. place according to the rules described above. The range vectors can be
  1135. directly fed into the calc vector functions like `vmean' and `vsum'.
  1136. A formula can contain an optional mode string after a semicolon.
  1137. This string consists of flags to influence Calc and other modes during
  1138. execution. By default, Org-mode uses the standard calc modes (precision
  1139. 12, angular units degrees, fraction and symbolic modes off. The display
  1140. format, however, has been changed to `(float 5)' to keep tables
  1141. compact. The default settings can be configured using the variable
  1142. `org-calc-default-modes'.
  1143. p20 switch the internal precision to 20 digits
  1144. n3 s3 e2 f4 normal, scientific, engineering, or fixed display format
  1145. D R angle modes: degrees, radians
  1146. F S fraction and symbolic modes
  1147. N interpret all fields as numbers, use 0 for non-numbers
  1148. T force text interpretation
  1149. E keep empty fields in ranges
  1150. In addition, you may provide a `printf' format specifier to reformat
  1151. the final result. A few examples:
  1152. $1+$2 Sum of first and second field
  1153. $1+$2;%.2f Same, format result to two decimals
  1154. exp($2)+exp($1) Math functions can be used
  1155. $0;%.1f Reformat current cell to 1 decimal
  1156. ($3-32)*5/9 Degrees F -> C conversion
  1157. $c/$1/$cm Hz -> cm conversion, using `constants.el'
  1158. tan($1);Dp3s1 Compute in degrees, precision 3, display SCI 1
  1159. sin($1);Dp3%.1e Same, but use printf specifier for display
  1160. vmean($2..$7) Compute column range mean, using vector function
  1161. vmean($2..$7);EN Same, but treat empty fields as 0
  1162. taylor($3,x=7,2) taylor series of $3, at x=7, second degree
  1163. Calc also contains a complete set of logical operations. For example
  1164. if($1<20,teen,string("")) "teen" if age $1 less than 20, else empty
  1165. 
  1166. File: org, Node: Formula syntax for Lisp, Next: Field formulas, Prev: Formula syntax for Calc, Up: The spreadsheet
  1167. 3.5.3 Emacs Lisp forms as formulas
  1168. ----------------------------------
  1169. It is also possible to write a formula in Emacs Lisp; this can be useful
  1170. for string manipulation and control structures, if the Calc's
  1171. functionality is not enough. If a formula starts with a single quote
  1172. followed by an opening parenthesis, then it is evaluated as a lisp form.
  1173. The evaluation should return either a string or a number. Just as with
  1174. `calc' formulas, you can specify modes and a printf format after a
  1175. semicolon. With Emacs Lisp forms, you need to be concious about the way
  1176. field references are interpolated into the form. By default, a
  1177. reference will be interpolated as a Lisp string (in double quotes)
  1178. containing the field. If you provide the `N' mode switch, all
  1179. referenced elements will be numbers (non-number fields will be zero) and
  1180. interpolated as Lisp numbers, without quotes. If you provide the `L'
  1181. flag, all fields will be interpolated literally, without quotes. I.e.,
  1182. if you want a reference to be interpreted as a string by the Lisp form,
  1183. enclode the reference operator itself in double quotes, like `"$3"'.
  1184. Ranges are inserted as space-separated fields, so you can embed them in
  1185. list or vector syntax. A few examples, note how the `N' mode is used
  1186. when we do computations in lisp.
  1187. Swap the first two characters of the content of column 1
  1188. '(concat (substring $1 1 2) (substring $1 0 1) (substring $1 2))
  1189. Add columns 1 and 2, equivalent to the Calc's `$1+$2'
  1190. '(+ $1 $2);N
  1191. Compute the sum of columns 1-4, like Calc's `vsum($1..$4)'
  1192. '(apply '+ '($1..$4));N
  1193. 
  1194. File: org, Node: Field formulas, Next: Column formulas, Prev: Formula syntax for Lisp, Up: The spreadsheet
  1195. 3.5.4 Field formulas
  1196. --------------------
  1197. To assign a formula to a particular field, type it directly into the
  1198. field, preceded by `:=', for example `:=$1+$2'. When you press <TAB>
  1199. or <RET> or `C-c C-c' with the cursor still in the field, the formula
  1200. will be stored as the formula for this field, evaluated, and the
  1201. current field replaced with the result.
  1202. Formulas are stored in a special line starting with `#+TBLFM:'
  1203. directly below the table. If you typed the equation in the 4th field of
  1204. the 3rd data line in the table, the formula will look like
  1205. `@3$4=$1+$2'. When inserting/deleting/swapping column and rows with
  1206. the appropriate commands, absolute references (but not relative ones)
  1207. in stored formulas are modified in order to still reference the same
  1208. field. Of cause this is not true if you edit the table structure with
  1209. normal editing commands - then you must fix the equations yourself.
  1210. Instead of typing an equation into the field, you may also use the
  1211. following command
  1212. `C-u C-c ='
  1213. Install a new formula for the current field. The command prompts
  1214. for a formula, with default taken from the `#+TBLFM:' line, applies
  1215. it to the current field and stores it.
  1216. 
  1217. File: org, Node: Column formulas, Next: Editing and debugging formulas, Prev: Field formulas, Up: The spreadsheet
  1218. 3.5.5 Column formulas
  1219. ---------------------
  1220. Often in a table, the same formula should be used for all fields in a
  1221. particular column. Instead of having to copy the formula to all fields
  1222. in that column, org-mode allows to assign a single formula to an entire
  1223. column. If the table contains horizontal separator hlines, everything
  1224. before the first such line is considered part of the table _header_ and
  1225. will not be modified by column formulas.
  1226. To assign a formula to a column, type it directly into any field in
  1227. the column, preceded by an equal sign, like `=$1+$2'. When you press
  1228. <TAB> or <RET> or `C-c C-c' with the cursor still in the field, the
  1229. formula will be stored as the formula for the current column, evaluated
  1230. and the current field replaced with the result. If the field contains
  1231. only `=', the previously stored formula for this column is used. For
  1232. each column, Org-mode will only remember the most recently used
  1233. formula. In the `TBLFM:' line, column formulas will look like
  1234. `$4=$1+$2'.
  1235. Instead of typing an equation into the field, you may also use the
  1236. following command:
  1237. `C-c ='
  1238. Install a new formula for the current column and replace current
  1239. field with the result of the formula. The command prompts for a
  1240. formula, with default taken from the `#+TBLFM' line, applies it to
  1241. the current field and stores it. With a numerical prefix (e.g.
  1242. `C-5 C-c =') will apply it to that many consecutive fields in the
  1243. current column.
  1244. 
  1245. File: org, Node: Editing and debugging formulas, Next: Updating the table, Prev: Column formulas, Up: The spreadsheet
  1246. 3.5.6 Editing and Debugging formulas
  1247. ------------------------------------
  1248. You can edit individual formulas in the minibuffer or directly in the
  1249. field. Org-mode can also prepare a special buffer with all active
  1250. formulas of a table. When offering a formula for editing, Org-mode
  1251. converts references to the standard format (like `B3' or `D&') if
  1252. possible. If you prefer to only work with the internal format (like
  1253. `@3$2' or `$4'), configure the variable
  1254. `org-table-use-standard-references'.
  1255. `C-c ='
  1256. `C-u C-c ='
  1257. Edit the formula associated with the current column/field in the
  1258. minibuffer. See *Note Column formulas:: and *Note Field
  1259. formulas::.
  1260. `C-u C-u C-c ='
  1261. Re-insert the active formula (either a field formula, or a column
  1262. formula) into the current field, so that you can edit it directly
  1263. in the field. The advantage over editing in the minibuffer is
  1264. that you can use the command `C-c ?'.
  1265. `C-c ?'
  1266. While editing a formula in a table field, highlight the field(s)
  1267. referenced by the reference at the cursor position in the formula.
  1268. `C-c }'
  1269. Toggle the display of row and column numbers for a table, using
  1270. overlays. These are updated each time the table is aligned, you
  1271. can force it with `C-c C-c'.
  1272. `C-c {'
  1273. Toggle the formula debugger on and off. See below.
  1274. `C-c ''
  1275. Edit all formulas for the current table in a special buffer, where
  1276. the formulas will be displayed one per line. If the current field
  1277. has an active formula, the cursor in the formula editor will mark
  1278. it. While inside the special buffer, Org-mode will automatically
  1279. highlight any field or range reference at the cursor position.
  1280. You may edit, remove and add formulas, and use the following
  1281. commands:
  1282. `C-c C-c'
  1283. `C-x C-s'
  1284. Exit the formula editor and store the modified formulas.
  1285. With `C-u' prefix, also apply the new formulas to the entire
  1286. table.
  1287. `C-c C-q'
  1288. Exit the formula editor without installing changes.
  1289. `C-c C-r'
  1290. Toggle all references in the formula editor between standard
  1291. (like `B3') and internal (like `@3$2').
  1292. `<TAB>'
  1293. Pretty-print or indent lisp formula at point. When in a line
  1294. containing a lisp formula, format the formula according to
  1295. Emacs Lisp rules. Another <TAB> collapses the formula back
  1296. again. In the open formula, <TAB> re-indents just like in
  1297. Emacs-lisp-mode.
  1298. `M-<TAB>'
  1299. Complete Lisp symbols, just like in Emacs-lisp-mode.
  1300. `S-<up>/<down>/<left>/<right>'
  1301. Shift the reference at point. For example, if the reference
  1302. is `B3' and you press `S-<right>', it will become `C3'. This
  1303. also works for relative references, and for hline references.
  1304. `M-S-<up>/<down>'
  1305. Move the test line for column formulas in the Org-mode buffer
  1306. up and down.
  1307. `M-<up>/<down>'
  1308. Scroll the window displaying the table.
  1309. `C-c }'
  1310. Turn the coordinate grid in the table on and off.
  1311. Making a table field blank does not remove the formula associated
  1312. with the field, because that is stored in a different line (the `TBLFM'
  1313. line) - during the next recalculation the field will be filled again.
  1314. To remove a formula from a field, you have to give an empty reply when
  1315. prompted for the formula, or to edit the `#+TBLFM' line.
  1316. You may edit the `#+TBLFM' directly and re-apply the changed
  1317. equations with `C-c C-c' in that line, or with the normal recalculation
  1318. commands in the table.
  1319. Debugging formulas
  1320. ..................
  1321. When the evaluation of a formula leads to an error, the field content
  1322. becomes the string `#ERROR'. If you would like see what is going on
  1323. during variable substitution and calculation in order to find a bug,
  1324. turn on formula debugging in the `Tbl' menu and repeat the calculation,
  1325. for example by pressing `C-u C-u C-c = <RET>' in a field. Detailed
  1326. information will be displayed.
  1327. 
  1328. File: org, Node: Updating the table, Next: Advanced features, Prev: Editing and debugging formulas, Up: The spreadsheet
  1329. 3.5.7 Updating the Table
  1330. ------------------------
  1331. Recalculation of a table is normally not automatic, but needs to be
  1332. triggered by a command. See *Note Advanced features:: for a way to make
  1333. recalculation at least semi-automatically.
  1334. In order to recalculate a line of a table or the entire table, use
  1335. the following commands:
  1336. `C-c *'
  1337. Recalculate the current row by first applying the stored column
  1338. formulas from left to right, and all field formulas in the current
  1339. row.
  1340. `C-u C-c *'
  1341. `C-u C-c C-c'
  1342. Recompute the entire table, line by line. Any lines before the
  1343. first hline are left alone, assuming that these are part of the
  1344. table header.
  1345. `C-u C-u C-c *'
  1346. Iterate the table by recomputing it until no further changes occur.
  1347. This may be necessary if some computed fields use the value of
  1348. other fields that are computed later in the calculation sequence.
  1349. 
  1350. File: org, Node: Advanced features, Prev: Updating the table, Up: The spreadsheet
  1351. 3.5.8 Advanced features
  1352. -----------------------
  1353. If you want the recalculation of fields to happen automatically, or if
  1354. you want to be able to assign names to fields and columns, you need to
  1355. reserve the first column of the table for special marking characters.
  1356. `C-#'
  1357. Rotate the calculation mark in first column through the states `',
  1358. `#', `*', `!', `$'. The meaning of these characters is discussed
  1359. below. When there is an active region, change all marks in the
  1360. region.
  1361. Here is an example of a table that collects exam results of students
  1362. and makes use of these features:
  1363. |---+---------+--------+--------+--------+-------+------|
  1364. | | Student | Prob 1 | Prob 2 | Prob 3 | Total | Note |
  1365. |---+---------+--------+--------+--------+-------+------|
  1366. | ! | | P1 | P2 | P3 | Tot | |
  1367. | # | Maximum | 10 | 15 | 25 | 50 | 10.0 |
  1368. | ^ | | m1 | m2 | m3 | mt | |
  1369. |---+---------+--------+--------+--------+-------+------|
  1370. | # | Peter | 10 | 8 | 23 | 41 | 8.2 |
  1371. | # | Sara | 6 | 14 | 19 | 39 | 7.8 |
  1372. | # | Sam | 2 | 4 | 3 | 9 | 1.8 |
  1373. |---+---------+--------+--------+--------+-------+------|
  1374. | | Average | | | | 29.7 | |
  1375. | ^ | | | | | at | |
  1376. | $ | max=50 | | | | | |
  1377. |---+---------+--------+--------+--------+-------+------|
  1378. #+TBLFM: $6=vsum($P1..$P3)::$7=10*$Tot/$max;%.1f::$at=vmean(@-II..@-I);%.1f
  1379. Important: Please note that for these special tables, recalculating the
  1380. table with `C-u C-c *' will only affect rows that are marked `#' or
  1381. `*', and fields that have a formula assigned to the field itself. The
  1382. column formulas are not applied in rows with empty first field.
  1383. The marking characters have the following meaning:
  1384. `!'
  1385. The fields in this line define names for the columns, so that you
  1386. may refer to a column as `$Tot' instead of `$6'.
  1387. `^'
  1388. This row defines names for the fields _above_ the row. With such
  1389. a definition, any formula in the table may use `$m1' to refer to
  1390. the value `10'. Also, if you assign a formula to a names field, it
  1391. will be stored as `$name=...'.
  1392. `_'
  1393. Similar to `^', but defines names for the fields in the row
  1394. _below_.
  1395. `$'
  1396. Fields in this row can define _parameters_ for formulas. For
  1397. example, if a field in a `$' row contains `max=50', then formulas
  1398. in this table can refer to the value 50 using `$max'. Parameters
  1399. work exactly like constants, only that they can be defined on a
  1400. per-table basis.
  1401. `#'
  1402. Fields in this row are automatically recalculated when pressing
  1403. <TAB> or <RET> or `S-<TAB>' in this row. Also, this row is
  1404. selected for a global recalculation with `C-u C-c *'. Unmarked
  1405. lines will be left alone by this command.
  1406. `*'
  1407. Selects this line for global recalculation with `C-u C-c *', but
  1408. not for automatic recalculation. Use this when automatic
  1409. recalculation slows down editing too much.
  1410. `'
  1411. Unmarked lines are exempt from recalculation with `C-u C-c *'.
  1412. All lines that should be recalculated should be marked with `#' or
  1413. `*'.
  1414. `/'
  1415. Do not export this line. Useful for lines that contain the
  1416. narrowing `<N>' markers.
  1417. Finally, just to whet your appetite on what can be done with the
  1418. fantastic `calc' package, here is a table that computes the Taylor
  1419. series of degree `n' at location `x' for a couple of functions
  1420. (homework: try that with Excel :-)
  1421. |---+-------------+---+-----+--------------------------------------|
  1422. | | Func | n | x | Result |
  1423. |---+-------------+---+-----+--------------------------------------|
  1424. | # | exp(x) | 1 | x | 1 + x |
  1425. | # | exp(x) | 2 | x | 1 + x + x^2 / 2 |
  1426. | # | exp(x) | 3 | x | 1 + x + x^2 / 2 + x^3 / 6 |
  1427. | # | x^2+sqrt(x) | 2 | x=0 | x*(0.5 / 0) + x^2 (2 - 0.25 / 0) / 2 |
  1428. | # | x^2+sqrt(x) | 2 | x=1 | 2 + 2.5 x - 2.5 + 0.875 (x - 1)^2 |
  1429. | * | tan(x) | 3 | x | 0.0175 x + 1.77e-6 x^3 |
  1430. |---+-------------+---+-----+--------------------------------------|
  1431. #+TBLFM: $5=taylor($2,$4,$3);n3
  1432. 
  1433. File: org, Node: Hyperlinks, Next: TODO items, Prev: Tables, Up: Top
  1434. 4 Hyperlinks
  1435. ************
  1436. Just like HTML, Org-mode provides links inside a file, and external
  1437. links to other files, Usenet articles, emails, and much more.
  1438. * Menu:
  1439. * Link format:: How links in Org-mode are formatted
  1440. * Internal links:: Links to other places in the current file
  1441. * External links:: URL-like links to the world
  1442. * Handling links:: Creating, inserting and following
  1443. * Link abbreviations:: Shortcuts for writing complex links
  1444. * Search options:: Linking to a specific location
  1445. * Custom searches:: When the default search is not enough
  1446. * Remember:: Org-trees store quick notes
  1447. 
  1448. File: org, Node: Link format, Next: Internal links, Prev: Hyperlinks, Up: Hyperlinks
  1449. 4.1 Link format
  1450. ===============
  1451. Org-mode will recognize plain URL-like links and activate them as
  1452. clickable links. The general link format, however, looks like this:
  1453. [[link][description]] or alternatively [[link]]
  1454. Once a link in the buffer is complete (all brackets present),
  1455. Org-mode will change the display so that `description' is displayed
  1456. instead of `[[link][description]]' and `link' is displayed instead of
  1457. `[[link]]'. Links will be highlighted in the face `org-link', which by
  1458. default is an underlined face. You can directly edit the visible part
  1459. of a link. Note that this can be either the `link' part (if there is
  1460. no description) or the `description' part. To edit also the invisible
  1461. `link' part, use `C-c C-l' with the cursor on the link.
  1462. If you place the cursor at the beginning or just behind the end of
  1463. the displayed text and press <BACKSPACE>, you will remove the
  1464. (invisible) bracket at that location. This makes the link incomplete
  1465. and the internals are again displayed as plain text. Inserting the
  1466. missing bracket hides the link internals again. To show the internal
  1467. structure of all links, use the menu entry `Org->Hyperlinks->Literal
  1468. links'.
  1469. 
  1470. File: org, Node: Internal links, Next: External links, Prev: Link format, Up: Hyperlinks
  1471. 4.2 Internal links
  1472. ==================
  1473. If the link does not look like a URL, it is considered to be internal in
  1474. the current file. Links such as `[[My Target]]' or `[[My Target][Find
  1475. my target]]' lead to a text search in the current file. The link can
  1476. be followed with `C-c C-o' when the cursor is on the link, or with a
  1477. mouse click (*note Handling links::). The preferred match for such a
  1478. link is a dedicated target: the same string in double angular brackets.
  1479. Targets may be located anywhere; sometimes it is convenient to put
  1480. them into a comment line. For example
  1481. # <<My Target>>
  1482. In HTML export (*note HTML export::), such targets will become named
  1483. anchors for direct access through `http' links(1).
  1484. If no dedicated target exists, Org-mode will search for the words in
  1485. the link. In the above example the search would be for `my target'.
  1486. Links starting with a star like `*My Target' restrict the search to
  1487. headlines. When searching, Org-mode will first try an exact match, but
  1488. then move on to more and more lenient searches. For example, the link
  1489. `[[*My Targets]]' will find any of the following:
  1490. ** My targets
  1491. ** TODO my targets are bright
  1492. ** my 20 targets are
  1493. To insert a link targeting a headline, in-buffer completion can be
  1494. used. Just type a star followed by a few optional letters into the
  1495. buffer and press `M-<TAB>'. All headlines in the current buffer will be
  1496. offered as completions. *Note Handling links::, for more commands
  1497. creating links.
  1498. Following a link pushes a mark onto Org-mode's own mark ring. You
  1499. can return to the previous position with `C-c &'. Using this command
  1500. several times in direct succession goes back to positions recorded
  1501. earlier.
  1502. * Menu:
  1503. * Radio targets:: Make targets trigger links in plain text.
  1504. ---------- Footnotes ----------
  1505. (1) Note that text before the first headline is usually not
  1506. exported, so the first such target should be after the first headline.
  1507. 
  1508. File: org, Node: Radio targets, Prev: Internal links, Up: Internal links
  1509. 4.2.1 Radio targets
  1510. -------------------
  1511. You can configure Org-mode to link any occurrences of certain target
  1512. names in normal text. So without explicitly creating a link, the text
  1513. connects to the target radioing its position. Radio targets are
  1514. enclosed by triple angular brackets. For example, a target `<<<My
  1515. Target>>>' causes each occurrence of `my target' in normal text to
  1516. become activated as a link. The Org-mode file is scanned automatically
  1517. for radio targets only when the file is first loaded into Emacs. To
  1518. update the target list during editing, press `C-c C-c' with the cursor
  1519. on or at a target.
  1520. 
  1521. File: org, Node: External links, Next: Handling links, Prev: Internal links, Up: Hyperlinks
  1522. 4.3 External links
  1523. ==================
  1524. Org-mode supports links to files, websites, Usenet and email messages,
  1525. and BBDB database entries. External links are URL-like locators. They
  1526. start with a short identifying string followed by a colon. There can be
  1527. no space after the colon. The following list shows examples for each
  1528. link type.
  1529. http://www.astro.uva.nl/~dominik on the web
  1530. file:/home/dominik/images/jupiter.jpg file, absolute path
  1531. file:papers/last.pdf file, relative path
  1532. news:comp.emacs Usenet link
  1533. mailto:adent@galaxy.net Mail link
  1534. vm:folder VM folder link
  1535. vm:folder#id VM message link
  1536. vm://myself@some.where.org/folder#id VM on remote machine
  1537. wl:folder WANDERLUST folder link
  1538. wl:folder#id WANDERLUST message link
  1539. mhe:folder MH-E folder link
  1540. mhe:folder#id MH-E message link
  1541. rmail:folder RMAIL folder link
  1542. rmail:folder#id RMAIL message link
  1543. gnus:group GNUS group link
  1544. gnus:group#id GNUS article link
  1545. bbdb:Richard Stallman BBDB link
  1546. shell:ls *.org A shell command
  1547. elisp:(find-file-other-frame "Elisp.org") An elisp form to evaluate
  1548. A link should be enclosed in double brackets and may contain a
  1549. descriptive text to be displayed instead of the url (*note Link
  1550. format::), for example:
  1551. [[http://www.gnu.org/software/emacs/][GNU Emacs]]
  1552. If the description is a file name or URL that points to an image, HTML
  1553. export (*note HTML export::) will inline the image as a clickable
  1554. button. If there is no description at all and the link points to an
  1555. image, that image will be inlined into the exported HTML file.
  1556. Org-mode also finds external links in the normal text and activates
  1557. them as links. If spaces must be part of the link (for example in
  1558. `bbdb:Richard Stallman'), or if you need to remove ambiguities about
  1559. the end of the link, enclose them in angular brackets.
  1560. 
  1561. File: org, Node: Handling links, Next: Link abbreviations, Prev: External links, Up: Hyperlinks
  1562. 4.4 Handling links
  1563. ==================
  1564. Org-mode provides methods to create a link in the correct syntax, to
  1565. insert it into an org-mode file, and to follow the link.
  1566. `C-c l'
  1567. Store a link to the current location. This is a _global_ command
  1568. which can be used in any buffer to create a link. The link will be
  1569. stored for later insertion into an Org-mode buffer (see below).
  1570. For Org-mode files, if there is a `<<target>>' at the cursor, the
  1571. link points to the target. Otherwise it points to the current
  1572. headline. For VM, RMAIL, WANDERLUST, MH-E, GNUS and BBDB buffers,
  1573. the link will indicate the current article/entry. For W3 and W3M
  1574. buffers, the link goes to the current URL. For any other files,
  1575. the link will point to the file, with a search string (*note
  1576. Search options::) pointing to the contents of the current line.
  1577. If there is an active region, the selected words will form the
  1578. basis of the search string. If the automatically created link is
  1579. not working correctly or accurately enough, you can write custom
  1580. functions to select the search string and to do the search for
  1581. particular file types - see *Note Custom searches::. The key
  1582. binding `C-c l' is only a suggestion - see *Note Installation::.
  1583. `C-c C-l'
  1584. Insert a link. This prompts for a link to be inserted into the
  1585. buffer. You can just type a link, using text for an internal
  1586. link, or one of the link type prefixes mentioned in the examples
  1587. above. All links stored during the current session are part of
  1588. the history for this prompt, so you can access them with <up> and
  1589. <down>. Completion, on the other hand, will help you to insert
  1590. valid link prefixes like `http:' or `ftp:', including the prefixes
  1591. defined through link abbreviations (*note Link abbreviations::).
  1592. The link will be inserted into the buffer(1), along with a
  1593. descriptive text. If some text was selected when this command is
  1594. called, the selected text becomes the default description.
  1595. Note that you don't have to use this command to insert a link.
  1596. Links in Org-mode are plain text, and you can type or paste them
  1597. straight into the buffer. By using this command, the links are
  1598. automatically enclosed in double brackets, and you will be asked
  1599. for the optional descriptive text.
  1600. `C-u C-c C-l'
  1601. When `C-c C-l' is called with a `C-u' prefix argument, a link to a
  1602. file will be inserted and you may use file name completion to
  1603. select the name of the file. The path to the file is inserted
  1604. relative to the directory of the current org file, if the linked
  1605. file is in the current directory or in a subdirectory of it, or if
  1606. the path is written relative to the current directory using `../'.
  1607. Otherwise an absolute path is used, if possible with `~/' for
  1608. your home directory. You can force an absolute path with two
  1609. `C-u' prefixes.
  1610. `C-c C-l (with cursor on existing link)'
  1611. When the cursor is on an existing link, `C-c C-l' allows you to
  1612. edit the link and description parts of the link.
  1613. `C-c C-o'
  1614. Open link at point. This will launch a web browser for URLs (using
  1615. `browse-url-at-point'), run vm/mh-e/wanderlust/rmail/gnus/bbdb for
  1616. the corresponding links, and execute the command in a shell link.
  1617. When the cursor is on an internal link, this commands runs the
  1618. corresponding search. When the cursor is on a TAG list in a
  1619. headline, it creates the corresponding TAGS view. If the cursor
  1620. is on a time stamp, it compiles the agenda for that date.
  1621. Furthermore, it will visit text and remote files in `file:' links
  1622. with Emacs and select a suitable application for local non-text
  1623. files. Classification of files is based on file extension only.
  1624. See option `org-file-apps'. If you want to override the default
  1625. application and visit the file with Emacs, use a `C-u' prefix.
  1626. `mouse-2'
  1627. `mouse-1'
  1628. On links, `mouse-2' will open the link just as `C-c C-o' would.
  1629. Under Emacs 22, also `mouse-1' will follow a link.
  1630. `mouse-3'
  1631. Like `mouse-2', but force file links to be opened with Emacs, and
  1632. internal links to be displayed in another window(2).
  1633. `C-c %'
  1634. Push the current position onto the mark ring, to be able to return
  1635. easily. Commands following an internal link do this automatically.
  1636. `C-c &'
  1637. Jump back to a recorded position. A position is recorded by the
  1638. commands following internal links, and by `C-c %'. Using this
  1639. command several times in direct succession moves through a ring of
  1640. previously recorded positions.
  1641. `C-c C-x C-n'
  1642. `C-c C-x C-p'
  1643. Move forward/backward to the next link in the buffer. At the
  1644. limit of the buffer, the search fails once, and then wraps around.
  1645. The key bindings for this are really too long, you might want to
  1646. bind this also to `C-n' and `C-p'
  1647. (add-hook 'org-load-hook
  1648. (lambda ()
  1649. (define-key 'org-mode-map "\C-n" 'org-next-link)
  1650. (define-key 'org-mode-map "\C-p" 'org-previous-link)))
  1651. ---------- Footnotes ----------
  1652. (1) After insertion of a stored link, the link will be removed from
  1653. the list of stored links. To keep it in the list later use, use a
  1654. triple `C-u' prefix to `C-c C-l', or configure the option
  1655. `org-keep-stored-link-after-insertion'.
  1656. (2) See the variable `org-display-internal-link-with-indirect-buffer'
  1657. 
  1658. File: org, Node: Link abbreviations, Next: Search options, Prev: Handling links, Up: Hyperlinks
  1659. 4.5 Link abbreviations
  1660. ======================
  1661. Long URLs can be cumbersome to type, and often many similar links are
  1662. needed in a document. For this you can use link abbreviations. An
  1663. abbreviated link looks like this
  1664. [[linkword:tag][description]]
  1665. where the tag is optional. Such abbreviations are resolved according to
  1666. the information in the variable `org-link-abbrev-alist' that relates
  1667. the linkwords to replacement text. Here is an example:
  1668. (setq org-link-abbrev-alist
  1669. '(("bugzilla" . "http://10.1.2.9/bugzilla/show_bug.cgi?id=")
  1670. ("google" . "http://www.google.com/search?q=")
  1671. ("ads" . "http://adsabs.harvard.edu/cgi-bin/
  1672. nph-abs_connect?author=%s&db_key=AST")))
  1673. If the replacement text contains the string `%s', it will be
  1674. replaced with the tag. Otherwise the tag will be appended to the string
  1675. in order to create the link. You may also specify a function that will
  1676. be called with the tag as the only argument to create the link.
  1677. With the above setting, you could link to a specific bug with
  1678. `[[bugzilla:129]]', search the web for `OrgMode' with
  1679. `[[google:OrgMode]]' and find out what the Org-mode author is doing
  1680. besides Emacs hacking with `[[ads:Dominik,C]]'.
  1681. If you need special abbreviations just for a single Org-mode buffer,
  1682. you can define them in the file with
  1683. #+LINK: bugzilla http://10.1.2.9/bugzilla/show_bug.cgi?id=
  1684. #+LINK: google http://www.google.com/search?q=%s
  1685. In-buffer completion *note Completion:: can be used after `[' to
  1686. complete link abbreviations.
  1687. 
  1688. File: org, Node: Search options, Next: Custom searches, Prev: Link abbreviations, Up: Hyperlinks
  1689. 4.6 Search options in file links
  1690. ================================
  1691. File links can contain additional information to make Emacs jump to a
  1692. particular location in the file when following a link. This can be a
  1693. line number or a search option after a double(1) colon. For example,
  1694. when the command `C-c l' creates a link (*note Handling links::) to a
  1695. file, it encodes the words in the current line as a search string that
  1696. can be used to find this line back later when following the link with
  1697. `C-c C-o'.
  1698. Here is the syntax of the different ways to attach a search to a file
  1699. link, together with an explanation:
  1700. [[file:~/code/main.c::255]]
  1701. [[file:~/xx.org::My Target]]
  1702. [[file:~/xx.org::*My Target]]
  1703. [[file:~/xx.org::/regexp/]]
  1704. `255'
  1705. Jump to line 255.
  1706. `My Target'
  1707. Search for a link target `<<My Target>>', or do a text search for
  1708. `my target', similar to the search in internal links, see *Note
  1709. Internal links::. In HTML export (*note HTML export::), such a
  1710. file link will become an HTML reference to the corresponding named
  1711. anchor in the linked file.
  1712. `*My Target'
  1713. In an Org-mode file, restrict search to headlines.
  1714. `/regexp/'
  1715. Do a regular expression search for `regexp'. This uses the Emacs
  1716. command `occur' to list all matches in a separate window. If the
  1717. target file is in Org-mode, `org-occur' is used to create a sparse
  1718. tree with the matches.
  1719. As a degenerate case, a file link with an empty file name can be used
  1720. to search the current file. For example, `[[file:::find me]]' does a
  1721. search for `find me' in the current file, just as `[[find me]]' would.
  1722. ---------- Footnotes ----------
  1723. (1) For backward compatibility, line numbers can also follow a
  1724. single colon.
  1725. 
  1726. File: org, Node: Custom searches, Next: Remember, Prev: Search options, Up: Hyperlinks
  1727. 4.7 Custom Searches
  1728. ===================
  1729. The default mechanism for creating search strings and for doing the
  1730. actual search related to a file link may not work correctly in all
  1731. cases. For example, BibTeX database files have many entries like
  1732. `year="1993"' which would not result in good search strings, because
  1733. the only unique identification for a BibTeX entry is the citation key.
  1734. If you come across such a problem, you can write custom functions to
  1735. set the right search string for a particular file type, and to do the
  1736. search for the string in the file. Using `add-hook', these functions
  1737. need to be added to the hook variables
  1738. `org-create-file-search-functions' and
  1739. `org-execute-file-search-functions'. See the docstring for these
  1740. variables for more information. Org-mode actually uses this mechanism
  1741. for BibTeX database files, and you can use the corresponding code as an
  1742. implementation example. Search for `BibTeX links' in the source file.
  1743. 
  1744. File: org, Node: Remember, Prev: Custom searches, Up: Hyperlinks
  1745. 4.8 Remember
  1746. ============
  1747. Another way to create org entries with links to other files is through
  1748. the remember package by John Wiegley. Remember lets you store quick
  1749. notes with little interruption of your work flow. See
  1750. `http://www.emacswiki.org/cgi-bin/wiki/RememberMode' for more
  1751. information. The notes produced by Remember can be stored in different
  1752. ways, and Org-mode files are a good target. Org-mode significantly
  1753. expands the possibilities of remember: You may define templates for
  1754. different note types, and to associate target files and headlines with
  1755. specific templates. It also allows you to select the location where a
  1756. note should be stored interactively, on the fly.
  1757. * Menu:
  1758. * Setting up remember:: Some code for .emacs to get things going
  1759. * Remember templates:: Define the outline of different note types
  1760. * Storing notes:: Directly get the note to where it belongs
  1761. 
  1762. File: org, Node: Setting up remember, Next: Remember templates, Prev: Remember, Up: Remember
  1763. 4.8.1 Setting up remember
  1764. -------------------------
  1765. The following customization will tell remember to use org files as
  1766. target, and to create annotations compatible with Org-mode links.
  1767. (setq org-directory "~/path/to/my/orgfiles/")
  1768. (setq org-default-notes-file "~/.notes")
  1769. (setq remember-annotation-functions '(org-remember-annotation))
  1770. (setq remember-handler-functions '(org-remember-handler))
  1771. (add-hook 'remember-mode-hook 'org-remember-apply-template)
  1772. 
  1773. File: org, Node: Remember templates, Next: Storing notes, Prev: Setting up remember, Up: Remember
  1774. 4.8.2 Remember templates
  1775. ------------------------
  1776. In combination with Org-mode, you can use templates to generate
  1777. different types of remember notes. For example, if you would like to
  1778. use one template to create general TODO entries, another one for
  1779. journal entries, and a third one for collecting random ideas, you could
  1780. use:
  1781. (setq org-remember-templates
  1782. '((?t "* TODO %?\n %i\n %a" "~/org/TODO.org")
  1783. (?j "* %U %?\n\n %i\n %a" "~/org/JOURNAL.org")
  1784. (?i "* %^{Title}\n %i\n %a" "~/org/JOURNAL.org" "New Ideas")))
  1785. In these entries, the character specifies how to select the template.
  1786. The first string specifies the template. Two more (optional) strings
  1787. give the file in which, and the headline under which the new note
  1788. should be stored. The file defaults (if not present or `nil') to
  1789. `org-default-notes-file', the heading to
  1790. `org-remember-default-headline'. Both defaults help to get to the
  1791. storing location quickly, but you can change the location interactively
  1792. while storing the note.
  1793. When you call `M-x remember' (or `M-x org-remember') to remember
  1794. something, org will prompt for a key to select the template (if you have
  1795. more than one template) and then prepare the buffer like
  1796. * TODO
  1797. [[file:link to where you called remember]]
  1798. or
  1799. * [2006-03-21 Tue 15:37]
  1800. [[file:link to where you called remember]]
  1801. During expansion of the template, special `%'-escapes allow dynamic
  1802. insertion of content:
  1803. %^{prompt} prompt the user for a string and replace this sequence with it.
  1804. %t time stamp, date only
  1805. %T time stamp with date and time
  1806. %u, %U like the above, but inactive time stamps
  1807. %^t like `%t', but prompt for date. Similarly `%^T', `%^u', `%^U'
  1808. You may define a prompt like `%^{Birthday}t'
  1809. %n user name (taken from `user-full-name')
  1810. %a annotation, normally the link created with `org-store-link'
  1811. %i initial content, the region when remember is called with C-u.
  1812. The entire text will be indented like `%i' itself.
  1813. %^g prompt for tags, with completion on tags in target file.
  1814. %^G prompt for tags, with completion all tags in all agenda files.
  1815. %:keyword specific information for certain link types, see below
  1816. For specific link types, the following keywords will be defined:
  1817. Link type | Available keywords
  1818. -------------------+----------------------------------------------
  1819. bbdb | %:name %:company
  1820. vm, wl, mh, rmail | %:type %:subject %:message-id
  1821. | %:from %:fromname %:fromaddress
  1822. | %:to %:toname %:toaddress
  1823. | %:fromto (either "to NAME" or "from NAME")(1)
  1824. gnus | %:group, for messages also all email fields
  1825. w3, w3m | %:url
  1826. info | %:file %:node
  1827. calendar | %:date"
  1828. To place the cursor after template expansion use:
  1829. %? After completing the template, position cursor here.
  1830. If you change you mind about which template to use, call `org-remember'
  1831. in the remember buffer. You may then select a new template that will
  1832. be filled with the previous context information.
  1833. ---------- Footnotes ----------
  1834. (1) This will always be the other, not the user. See the variable
  1835. `org-from-is-user-regexp'.
  1836. 
  1837. File: org, Node: Storing notes, Prev: Remember templates, Up: Remember
  1838. 4.8.3 Storing notes
  1839. -------------------
  1840. When you are finished preparing a note with remember, you have to press
  1841. `C-c C-c' to file the note away. The handler first prompts for a
  1842. target file - if you press <RET>, the value specified for the template
  1843. is used. Then the command offers the headings tree of the selected
  1844. file, with the cursor position at the default headline (if you had
  1845. specified one in the template). You can either immediately press <RET>
  1846. to get the note placed there. Or you can use the following keys to
  1847. find a better location:
  1848. <TAB> Cycle visibility.
  1849. <down> / <up> Next/previous visible headline.
  1850. n / p Next/previous visible headline.
  1851. f / b Next/previous headline same level.
  1852. u One level up.
  1853. Pressing <RET> or <left> or <right> then leads to the following
  1854. result.
  1855. Cursor Key Note gets inserted
  1856. position
  1857. buffer-start <RET> as level 2 heading at end of file
  1858. on headline <RET> as sublevel of the heading at cursor
  1859. <left>/<right>as same level, before/after current heading
  1860. not on <RET> at cursor position, level taken from context.
  1861. headline
  1862. So a fast way to store the note to its default location is to press
  1863. `C-c C-c <RET> <RET>'. Even shorter would be `C-u C-c C-c', which does
  1864. the same without even asking for a file or showing the tree.
  1865. Before inserting the text into a tree, the function ensures that the
  1866. text has a headline, i.e. a first line that starts with a `*'. If not,
  1867. a headline is constructed from the current date and some additional
  1868. data. If the variable `org-adapt-indentation' is non-nil, the entire
  1869. text is also indented so that it starts in the same column as the
  1870. headline (after the asterisks).
  1871. 
  1872. File: org, Node: TODO items, Next: Tags, Prev: Hyperlinks, Up: Top
  1873. 5 TODO items
  1874. ************
  1875. Org-mode does not maintain TODO lists as a separate document. TODO
  1876. items are an integral part of the notes file, because TODO items
  1877. usually come up while taking notes! With Org-mode, you simply mark any
  1878. entry in a tree as being a TODO item. In this way, the information is
  1879. not duplicated, and the entire context from which the item emerged is
  1880. always present when you check.
  1881. Of course, this technique causes TODO items to be scattered
  1882. throughout your file. Org-mode provides methods to give you an
  1883. overview over all things you have to do.
  1884. * Menu:
  1885. * TODO basics:: Marking and displaying TODO entries
  1886. * TODO extensions:: Workflow and assignments
  1887. * Priorities:: Some things are more important than others
  1888. * Breaking down tasks:: Splitting a task into manageable pieces
  1889. * Checkboxes:: Tick-off lists
  1890. 
  1891. File: org, Node: TODO basics, Next: TODO extensions, Prev: TODO items, Up: TODO items
  1892. 5.1 Basic TODO functionality
  1893. ============================
  1894. Any headline can become a TODO item by starting it with the word TODO,
  1895. for example:
  1896. *** TODO Write letter to Sam Fortune
  1897. The most important commands to work with TODO entries are:
  1898. `C-c C-t'
  1899. Rotate the TODO state of the current item among
  1900. ,-> (unmarked) -> TODO -> DONE --.
  1901. '--------------------------------'
  1902. The same rotation can also be done "remotely" from the timeline and
  1903. agenda buffers with the `t' command key (*note Agenda commands::).
  1904. `S-<right>'
  1905. `S-<left>'
  1906. Select the following/preceding TODO state, similar to cycling.
  1907. Mostly useful if more than two TODO states are possible (*note
  1908. TODO extensions::).
  1909. `C-c C-v'
  1910. View TODO items in a _sparse tree_ (*note Sparse trees::). Folds
  1911. the entire buffer, but shows all TODO items and the headings
  1912. hierarchy above them. With prefix arg, search for a specific
  1913. TODO. You will be prompted for the keyword, and you can also give
  1914. a list of keywords like `kwd1|kwd2|...'. With numerical prefix N,
  1915. show the tree for the Nth keyword in the variable
  1916. `org-todo-keywords'. With two prefix args, find all TODO and DONE
  1917. entries.
  1918. `C-c a t'
  1919. Show the global TODO list. This collects the TODO items from all
  1920. agenda files (*note Agenda views::) into a single buffer. The
  1921. buffer is in `agenda-mode', so there are commands to examine and
  1922. manipulate the TODO entries directly from that buffer (*note
  1923. Agenda commands::). *Note Global TODO list::, for more
  1924. information.
  1925. `S-M-<RET>'
  1926. Insert a new TODO entry below the current one.
  1927. 
  1928. File: org, Node: TODO extensions, Next: Priorities, Prev: TODO basics, Up: TODO items
  1929. 5.2 Extended use of TODO keywords
  1930. =================================
  1931. The default implementation of TODO entries is just two states: TODO and
  1932. DONE. You can use the TODO feature for more complicated things by
  1933. configuring the variable `org-todo-keywords'. With special setup, the
  1934. TODO keyword system can work differently in different files.
  1935. Note that tags are another way to classify headlines in general and
  1936. TODO items in particular (*note Tags::).
  1937. * Menu:
  1938. * Workflow states:: From TODO to DONE in steps
  1939. * TODO types:: I do this, Fred the rest
  1940. * Multiple sets in one file:: Mixing it all, and still finding your way
  1941. * Per file keywords:: Different files, different requirements
  1942. 
  1943. File: org, Node: Workflow states, Next: TODO types, Prev: TODO extensions, Up: TODO extensions
  1944. 5.2.1 TODO keywords as workflow states
  1945. --------------------------------------
  1946. You can use TODO keywords to indicate different _sequential_ states in
  1947. the process of working on an item, for example(1):
  1948. (setq org-todo-keywords
  1949. '((sequence "TODO" "FEEDBACK" "VERIFY" "|" "DONE" "DELEGATED")))
  1950. The vertical bar separates the TODO keywords (states that _need
  1951. action_) from the DONE states (which need _no further action_. If you
  1952. don't provide the separator bar, the last state is used as the DONE
  1953. state. With this setup, the command `C-c C-t' will cycle an entry from
  1954. TODO to FEEDBACK, then to VERIFY, and finally to DONE and DELEGATED.
  1955. You may also use a prefix argument to quickly select a specific state.
  1956. For example `C-3 C-c C-t' will change the state immediately to VERIFY.
  1957. If you define many keywords, you can use in-buffer completion (see
  1958. *Note Completion::) to insert these words into the buffer. Changing a
  1959. todo state can be logged with a timestamp, see *Note Tracking TODO
  1960. state changes:: for more information.
  1961. ---------- Footnotes ----------
  1962. (1) Changing this variable only becomes effective after restarting
  1963. Org-mode in a buffer.
  1964. 
  1965. File: org, Node: TODO types, Next: Multiple sets in one file, Prev: Workflow states, Up: TODO extensions
  1966. 5.2.2 TODO keywords as types
  1967. ----------------------------
  1968. The second possibility is to use TODO keywords to indicate different
  1969. _types_ of action items. For example, you might want to indicate that
  1970. items are for "work" or "home". Or, when you work with several people
  1971. on a single project, you might want to assign action items directly to
  1972. persons, by using their names as TODO keywords. This would be set up
  1973. like this:
  1974. (setq org-todo-keywords '((type "Fred" "Sara" "Lucy" "|" "DONE")))
  1975. In this case, different keywords do not indicate a sequence, but
  1976. rather different types. So the normal work flow would be to assign a
  1977. task to a person, and later to mark it DONE. Org-mode supports this
  1978. style by adapting the workings of the command `C-c C-t'(1). When used
  1979. several times in succession, it will still cycle through all names, in
  1980. order to first select the right type for a task. But when you return
  1981. to the item after some time and execute `C-c C-t' again, it will switch
  1982. from any name directly to DONE. Use prefix arguments or completion to
  1983. quickly select a specific name. You can also review the items of a
  1984. specific TODO type in a sparse tree by using a numeric prefix to `C-c
  1985. C-v'. For example, to see all things Lucy has to do, you would use
  1986. `C-3 C-c C-v'. To collect Lucy's items from all agenda files into a
  1987. single buffer, you would use the prefix arg as well when creating the
  1988. global todo list: `C-3 C-c t'.
  1989. ---------- Footnotes ----------
  1990. (1) This is also true for the `t' command in the timeline and agenda
  1991. buffers.
  1992. 
  1993. File: org, Node: Multiple sets in one file, Next: Per file keywords, Prev: TODO types, Up: TODO extensions
  1994. 5.2.3 Multiple keyword sets in one file
  1995. ---------------------------------------
  1996. Sometimes you may want to use different sets of TODO keywords in
  1997. parallel. For example, you may want to have the basic `TODO'/`DONE',
  1998. but also a workflow for bug fixing, and a separate state indicating
  1999. that an item has been canceled (so it is not DONE, but also does not
  2000. require action). Your setup would then look like this:
  2001. (setq org-todo-keywords
  2002. '((sequence "TODO" "|" "DONE")
  2003. (sequence "REPORT" "BUG" "KNOWNCAUSE" "|" "FIXED")
  2004. (sequence "|" "CANCELED")))
  2005. The keywords should all be different, this helps Org-mode to keep
  2006. track of which subsequence should be used for a given entry. In this
  2007. setup, `C-c C-t' only operates within a subsequence, so it switches from
  2008. `DONE' to (nothing) to `TODO', and from `FIXED' to (nothing) to
  2009. `REPORT'. Therefore you need a mechanism to initially select the
  2010. correct sequence. Besides the obvious ways like typing a keyword or
  2011. using completion, you may also apply the following commands:
  2012. `C-S-<right>'
  2013. `C-S-<left>'
  2014. These keys jump from one TODO subset to the next. In the above
  2015. example, `C-S-<right>' would jump from `TODO' or `DONE' to
  2016. `REPORT', and any of the words in the second row to `CANCELED'.
  2017. `S-<right>'
  2018. `S-<left>'
  2019. `S-<<left>>' and `S-<<right>>' and walk through _all_ keywords
  2020. from all sets, so for example `S-<<right>>' would switch from
  2021. `DONE' to `REPORT' in the example above.
  2022. 
  2023. File: org, Node: Per file keywords, Prev: Multiple sets in one file, Up: TODO extensions
  2024. 5.2.4 Setting up keywords for individual files
  2025. ----------------------------------------------
  2026. It can be very useful to use different aspects of the TODO mechanism in
  2027. different files. For file-local settings, you need to add special lines
  2028. to the file which set the keywords and interpretation for that file
  2029. only. For example, to set one of the two examples discussed above, you
  2030. need one of the following lines, starting in column zero anywhere in the
  2031. file:
  2032. #+SEQ_TODO: TODO FEEDBACK VERIFY | DONE CANCELED
  2033. or
  2034. #+TYP_TODO: Fred Sara Lucy Mike | DONE
  2035. A setup for using several sets in parallel would be:
  2036. #+SEQ_TODO: "TODO" "|" "DONE"
  2037. #+SEQ_TODO: "REPORT" "BUG" "KNOWNCAUSE" "|" "FIXED"
  2038. #+SEQ_TODO: "|" "CANCELED"
  2039. To make sure you are using the correct keyword, type `#+' into the
  2040. buffer and then use `M-<TAB>' completion.
  2041. Remember that the keywords after the vertical bar (or the last
  2042. keyword if no bar is there) must always mean that the item is DONE
  2043. (although you may use a different word). After changing one of these
  2044. lines, use `C-c C-c' with the cursor still in the line to make the
  2045. changes known to Org-mode(1).
  2046. ---------- Footnotes ----------
  2047. (1) Org-mode parses these lines only when Org-mode is activated
  2048. after visiting a file. `C-c C-c' with the cursor in a line starting
  2049. with `#+' is simply restarting Org-mode for the current buffer.
  2050. 
  2051. File: org, Node: Priorities, Next: Breaking down tasks, Prev: TODO extensions, Up: TODO items
  2052. 5.3 Priorities
  2053. ==============
  2054. If you use Org-mode extensively to organize your work, you may end up
  2055. with a number of TODO entries so large that you'd like to prioritize
  2056. them. This can be done by placing a _priority cookie_ into the
  2057. headline, like this
  2058. *** TODO [#A] Write letter to Sam Fortune
  2059. With its standard setup, Org-mode supports priorities `A', `B', and
  2060. `C'. `A' is the highest priority. An entry without a cookie is
  2061. treated as priority `B'. Priorities make a difference only in the
  2062. agenda (*note Weekly/Daily agenda::).
  2063. `C-c ,'
  2064. Set the priority of the current headline. The command prompts for
  2065. a priority character `A', `B' or `C'. When you press <SPC>
  2066. instead, the priority cookie is removed from the headline. The
  2067. priorities can also be changed "remotely" from the timeline and
  2068. agenda buffer with the `,' command (*note Agenda commands::).
  2069. `S-<up>'
  2070. `S-<down>'
  2071. Increase/decrease priority of current headline. Note that these
  2072. keys are also used to modify time stamps (*note Creating
  2073. timestamps::). Furthermore, these keys are also used by CUA-mode
  2074. (*note Conflicts::).
  2075. You can change the range of allowed priorities by setting the
  2076. variables `org-highest-priority', `org-lowest-priority', and
  2077. `org-default-priority'. For an individual buffer, you may set these
  2078. values (highest, lowest, default) like this (please make sure that the
  2079. highest priority is earlier in the alphabet than the lowest priority):
  2080. #+PRIORITIES: A C B
  2081. 
  2082. File: org, Node: Breaking down tasks, Next: Checkboxes, Prev: Priorities, Up: TODO items
  2083. 5.4 Breaking tasks down into subtasks
  2084. =====================================
  2085. It is often advisable to break down large tasks into smaller, manageable
  2086. subtasks. You can do this by creating an outline tree below a TODO
  2087. item, with detailed subtasks on the tree(1). Another possibility is
  2088. the use of checkboxes to identify (a hierarchy of) a large number of
  2089. subtasks (*note Checkboxes::).
  2090. ---------- Footnotes ----------
  2091. (1) To keep subtasks out of the global TODO list, see the
  2092. `org-agenda-todo-list-sublevels'.
  2093. 
  2094. File: org, Node: Checkboxes, Prev: Breaking down tasks, Up: TODO items
  2095. 5.5 Checkboxes
  2096. ==============
  2097. Every item in a plain list (*note Plain lists::) can be made a checkbox
  2098. by starting it with the string `[ ]'. This feature is similar to TODO
  2099. items (*note TODO items::), but more lightweight. Checkboxes are not
  2100. included into the global TODO list, so they are often great to split a
  2101. task into a number of simple steps. Or you can use them in a shopping
  2102. list. To toggle a checkbox, use `C-c C-c', or try Piotr Zielinski's
  2103. `org-mouse.el'. Here is an example of a checkbox list.
  2104. * TODO Organize party [3/6]
  2105. - call people [1/3]
  2106. - [ ] Peter
  2107. - [X] Sarah
  2108. - [ ] Sam
  2109. - [X] order food
  2110. - [ ] think about what music to play
  2111. - [X] talk to the neighbors
  2112. The `[3/6]' and `[1/3]' in the first and second line are cookies
  2113. indicating how many checkboxes are present in this entry, and how many
  2114. of them have been checked off. This can give you an idea on how many
  2115. checkboxes remain, even without opening a folded entry. The cookies
  2116. can be placed into a headline or into (the first line of) a plain list
  2117. item. Each cookie covers all checkboxes structurally below that
  2118. headline/item. You have to insert the cookie yourself by typing either
  2119. `[/]' or `[%]'. In the first case you get an `n out of m' result, in
  2120. the second case you get information about the percentage of checkboxes
  2121. checked (in the above example, this would be `[50%]' and `[33%],
  2122. respectively').
  2123. The following commands work with checkboxes:
  2124. `C-c C-c'
  2125. Toggle checkbox at point.
  2126. `C-c C-x C-b'
  2127. Toggle checkbox at point.
  2128. - If there is an active region, toggle the first checkbox in
  2129. the region and set all remaining boxes to the same status as
  2130. the first. If you want to toggle all boxes in the region
  2131. independently, use a prefix argument.
  2132. - If the cursor is in a headline, toggle checkboxes in the
  2133. region between this headline and the next (so _not_ the
  2134. entire subtree).
  2135. - If there is no active region, just toggle the checkbox at
  2136. point.
  2137. `M-S-<RET>'
  2138. Insert a new item with a checkbox. This works only if the cursor
  2139. is already in a plain list item (*note Plain lists::).
  2140. `C-c #'
  2141. Update the checkbox statistics in the current outline entry. When
  2142. called with a `C-u' prefix, update the entire file. Checkbox
  2143. statistic cookies are updated automatically if you toggle
  2144. checkboxes with `C-c C-c' and make new ones with `M-S-<RET>'. If
  2145. you delete boxes or add/change them by hand, use this command to
  2146. get things back into synch. Or simply toggle any checkbox twice
  2147. with `C-c C-c'.
  2148. 
  2149. File: org, Node: Tags, Next: Properties, Prev: TODO items, Up: Top
  2150. 6 Tags
  2151. ******
  2152. If you wish to implement a system of labels and contexts for
  2153. cross-correlating information, an excellent way is to assign tags to
  2154. headlines. Org-mode has extensive support for using tags.
  2155. Every headline can contain a list of tags, at the end of the
  2156. headline. Tags are normal words containing letters, numbers, `_', and
  2157. `@'. Tags must be preceded and followed by a single colon; like
  2158. `:WORK:'. Several tags can be specified like `:WORK:URGENT:'.
  2159. * Menu:
  2160. * Tag inheritance:: Tags use the tree structure of the outline
  2161. * Setting tags:: How to assign tags to a headline
  2162. * Tag searches:: Searching for combinations of tags
  2163. 
  2164. File: org, Node: Tag inheritance, Next: Setting tags, Prev: Tags, Up: Tags
  2165. 6.1 Tag inheritance
  2166. ===================
  2167. Tags make use of the hierarchical structure of outline trees. If a
  2168. heading has a certain tag, all subheadings will inherit the tag as
  2169. well. For example, in the list
  2170. * Meeting with the French group :WORK:
  2171. ** Summary by Frank :BOSS:NOTES:
  2172. *** TODO Prepare slides for him :ACTION:
  2173. the final heading will have the tags `:WORK:', `:BOSS:', `:NOTES:', and
  2174. `:ACTION:'. When executing tag searches and Org-mode finds that a
  2175. certain headline matches the search criterion, it will not check any
  2176. sublevel headline, assuming that these likely also match, and that the
  2177. list of matches can become very long. This may not be what you want,
  2178. however, and you can influence inheritance and searching using the
  2179. variables `org-use-tag-inheritance' and `org-tags-match-list-sublevels'.
  2180. 
  2181. File: org, Node: Setting tags, Next: Tag searches, Prev: Tag inheritance, Up: Tags
  2182. 6.2 Setting tags
  2183. ================
  2184. Tags can simply be typed into the buffer at the end of a headline.
  2185. After a colon, `M-<TAB>' offers completion on tags. There is also a
  2186. special command for inserting tags:
  2187. `C-c C-c'
  2188. Enter new tags for the current headline. Org-mode will either
  2189. offer completion or a special single-key interface for setting
  2190. tags, see below. After pressing <RET>, the tags will be inserted
  2191. and aligned to `org-tags-column'. When called with a `C-u'
  2192. prefix, all tags in the current buffer will be aligned to that
  2193. column, just to make things look nice. TAGS are automatically
  2194. realigned after promotion, demotion, and TODO state changes (*note
  2195. TODO basics::).
  2196. Org will support tag insertion based on a _list of tags_. By
  2197. default this list is constructed dynamically, containing all tags
  2198. currently used in the buffer. You may also globally specify a hard list
  2199. of tags with the variable `org-tag-alist'. Finally you can set the
  2200. default tags for a given file with lines like
  2201. #+TAGS: @WORK @HOME @TENNISCLUB
  2202. #+TAGS: Laptop Car PC Sailboat
  2203. If you have globally defined your preferred set of tags using the
  2204. variable `org-tag-alist', but would like to use a dynamic tag list in a
  2205. specific file: Just add an empty TAGS option line to that file:
  2206. #+TAGS:
  2207. The default support method for entering tags is minibuffer
  2208. completion. However, Org-mode also implements a much better method:
  2209. _fast tag selection_. This method allows to select and deselect tags
  2210. with a single key per tag. To function efficiently, you should assign
  2211. unique keys to most tags. This can be done globally with
  2212. (setq org-tag-alist '(("@WORK" . ?w) ("@HOME" . ?h) ("Laptop" . ?l)))
  2213. or on a per-file basis with
  2214. #+TAGS: @WORK(w) @HOME(h) @TENNISCLUB(t) Laptop(l) PC(p)
  2215. You can also group together tags that are mutually exclusive. With
  2216. curly braces(1)
  2217. #+TAGS: { @WORK(w) @HOME(h) @TENNISCLUB(t) } Laptop(l) PC(p)
  2218. you indicate that at most one of `@WORK', `@HOME', and `@TENNISCLUB'
  2219. should be selected.
  2220. Don't forget to press `C-c C-c' with the cursor in one of these lines
  2221. to activate any changes.
  2222. If at least one tag has a selection key, pressing `C-c C-c' will
  2223. automatically present you with a special interface, listing inherited
  2224. tags, the tags of the current headline, and a list of all legal tags
  2225. with corresponding keys(2). In this interface, you can use the
  2226. following keys:
  2227. `a-z...'
  2228. Pressing keys assigned to tags will add or remove them from the
  2229. list of tags in the current line. Selecting a tag in a group of
  2230. mutually exclusive tags will turn off any other tags from that
  2231. group.
  2232. `<TAB>'
  2233. Enter a tag in the minibuffer, even if the tag is not in the
  2234. predefined list. You will be able to complete on all tags present
  2235. in the buffer.
  2236. `<SPC>'
  2237. Clear all tags for this line.
  2238. `<RET>'
  2239. Accept the modified set.
  2240. `C-g'
  2241. Abort without installing changes.
  2242. `q'
  2243. If `q' is not assigned to a tag, it aborts like `C-g'.
  2244. `!'
  2245. Turn off groups of mutually exclusive tags. Use this to (as an
  2246. exception) assign several tags from such a group.
  2247. `C-c'
  2248. Toggle auto-exit after the next change (see below). If you are
  2249. using expert mode, the first `C-c' will display the selection
  2250. window.
  2251. This method lets you assign tags to a headline with very few keys. With
  2252. the above setup, you could clear the current tags and set `@HOME',
  2253. `Laptop' and `PC' tags with just the following keys: `C-c C-c <SPC> h l
  2254. p <RET>'. Switching from `@HOME' to `@WORK' would be done with `C-c
  2255. C-c w <RET>' or alternatively with `C-c C-c C-c w'. Adding the
  2256. non-predefined tag `Sarah' could be done with `C-c C-c <TAB> S a r a h
  2257. <RET> <RET>'.
  2258. If you find that most of the time, you need only a single keypress to
  2259. modify your list of tags, set the variable
  2260. `org-fast-tag-selection-single-key'. Then you no longer have to press
  2261. <RET> to exit fast tag selection - it will immediately exit after the
  2262. first change. If you then occasionally need more keys, press `C-c' to
  2263. turn off auto-exit for the current tag selection process (in effect:
  2264. start selection with `C-c C-c C-c' instead of `C-c C-c'). If you set
  2265. the variable to the value `expert', the special window is not even
  2266. shown for single-key tag selection, it comes up only when you press an
  2267. extra `C-c'.
  2268. ---------- Footnotes ----------
  2269. (1) In `org-mode-alist' use `'(:startgroup)' and `'(:endgroup)',
  2270. respectively. Several groups are allowed.
  2271. (2) Keys will automatically be assigned to tags which have no
  2272. configured keys.
  2273. 
  2274. File: org, Node: Tag searches, Prev: Setting tags, Up: Tags
  2275. 6.3 Tag searches
  2276. ================
  2277. Once a tags system has been set up, it can be used to collect related
  2278. information into special lists.
  2279. `C-c \'
  2280. Create a sparse tree with all headlines matching a tags search.
  2281. With a `C-u' prefix argument, ignore headlines that are not a TODO
  2282. line.
  2283. `C-c a m'
  2284. Create a global list of tag matches from all agenda files. *Note
  2285. Matching tags and properties::.
  2286. `C-c a M'
  2287. Create a global list of tag matches from all agenda files, but
  2288. check only TODO items and force checking subitems (see variable
  2289. `org-tags-match-list-sublevels').
  2290. A tags search string can use Boolean operators `&' for AND and `|'
  2291. for OR. `&' binds more strongly than `|'. Parenthesis are currently
  2292. not implemented. A tag may also be preceded by `-', to select against
  2293. it, and `+' is syntactic sugar for positive selection. The AND
  2294. operator `&' is optional when `+' or `-' is present. Examples:
  2295. `+WORK-BOSS'
  2296. Select headlines tagged `:WORK:', but discard those also tagged
  2297. `:BOSS:'.
  2298. `WORK|LAPTOP'
  2299. Selects lines tagged `:WORK:' or `:LAPTOP:'.
  2300. `WORK|LAPTOP&NIGHT'
  2301. Like before, but require the `:LAPTOP:' lines to be tagged also
  2302. `NIGHT'.
  2303. If you are using multi-state TODO keywords (*note TODO
  2304. extensions::), it can be useful to also match on the TODO keyword.
  2305. This can be done by adding a condition after a slash to a tags match.
  2306. The syntax is similar to the tag matches, but should be applied with
  2307. consideration: For example, a positive selection on several TODO
  2308. keywords can not meaningfully be combined with boolean AND. However,
  2309. _negative selection_ combined with AND can be meaningful. To make sure
  2310. that only lines are checked that actually have any TODO keyword, use
  2311. `C-c a M', or equivalently start the todo part after the slash with `!'.
  2312. Examples:
  2313. `WORK/WAITING'
  2314. Select `:WORK:'-tagged TODO lines with the specific TODO keyword
  2315. `WAITING'.
  2316. `WORK/!-WAITING-NEXT'
  2317. Select `:WORK:'-tagged TODO lines that are neither `WAITING' nor
  2318. `NEXT'
  2319. `WORK/+WAITING|+NEXT'
  2320. Select `:WORK:'-tagged TODO lines that are either `WAITING' or
  2321. `NEXT'.
  2322. Any element of the tag/todo match can be a regular expression - in
  2323. this case it must be enclosed in curly braces. For example,
  2324. `WORK+{^BOSS.*}' matches headlines that contain the tag `WORK' and any
  2325. tag starting with `BOSS'.
  2326. You can also require a headline to be of a certain level, by writing
  2327. instead of any TAG an expression like `LEVEL=3'. For example, a search
  2328. `+LEVEL=3+BOSS/-DONE' lists all level three headlines that have the tag
  2329. BOSS and are _not_ marked with the todo keyword DONE.
  2330. 
  2331. File: org, Node: Properties, Next: Timestamps, Prev: Tags, Up: Top
  2332. 7 Properties
  2333. ************
  2334. Properties are a set of key-value pairs associated with an entry. There
  2335. are two main applications for properties in Org-mode. First, properties
  2336. are like tags, but with a value. For example, in a file where you
  2337. document bugs and plan releases of a piece of software, instead of using
  2338. tags like `:release_1:', `:release_2:', it can be more efficient to use
  2339. a property `RELEASE' with a value `1.0' or `2.0'. Second, you can use
  2340. properties to implement (very basic) database capabilities in an
  2341. Org-mode buffer, for example to create a list of Music CD's you own.
  2342. * Menu:
  2343. * Property syntax:: How properties are spelled out
  2344. * Special properties:: Access to other Org-mode features
  2345. * Property searches:: Matching property values
  2346. * Column view:: Tabular viewing and editing
  2347. * Property API:: Properties for Lisp programmers
  2348. 
  2349. File: org, Node: Property syntax, Next: Special properties, Prev: Properties, Up: Properties
  2350. 7.1 Property Syntax
  2351. ===================
  2352. Properties are key-value pairs. They need to be inserted into a special
  2353. drawer (*note Drawers::) with the name `PROPERTIES'. Each property is
  2354. specified on a single line, with the key (surrounded by colons) first,
  2355. and the value after it. Here is an example:
  2356. * CD collection
  2357. ** Classic
  2358. *** Goldberg Variations
  2359. :PROPERTIES:
  2360. :Title: Goldberg Variations
  2361. :Composer: J.S. Bach
  2362. :Artist: Glen Gould
  2363. :END:
  2364. The following commands help to insert properties:
  2365. `M-<TAB>'
  2366. After an initial colon in a line, complete property keys. All
  2367. keys used in the current file will be offered as possible
  2368. completions.
  2369. 
  2370. File: org, Node: Special properties, Next: Property searches, Prev: Property syntax, Up: Properties
  2371. 7.2 Special Properties
  2372. ======================
  2373. Several properties are special, because they can be used to access other
  2374. features of Org-mode like the TODO status:
  2375. TODO The TODO keyword of the entry.
  2376. TAGS The tags defined directly in the headline.
  2377. ALLTAGS All tags, including inherited ones.
  2378. PRIORITY The priority of the entry, a string with a single letter.
  2379. DEADLINE The deadline time string, without the angular brackets.
  2380. SCHEDULED The scheduling time stamp, without the angular brackets.
  2381. 
  2382. File: org, Node: Property searches, Next: Column view, Prev: Special properties, Up: Properties
  2383. 7.3 Property searches
  2384. =====================
  2385. To create sparse trees and special lists with selection based on
  2386. properties, the same commands are used as for tag searches (*note Tag
  2387. searches::), and the same logic applies. For example, a search string
  2388. +WORK-BOSS+PRIORITY="A"+coffee="unlimited"+with={Sarah\|Denny}
  2389. finds entries tagged `:WORK:' but not `:BOSS:', which also have a
  2390. priority value `A', a `:coffee:' property with the value `unlimited',
  2391. and a `:with:' property that is matched by the regular expression
  2392. `Sarah\|Denny'.
  2393. 
  2394. File: org, Node: Column view, Next: Property API, Prev: Property searches, Up: Properties
  2395. 7.4 Column View
  2396. ===============
  2397. If different items in a document have similar properties, it can be nice
  2398. to view and edit those properties in a table-like format, in _column
  2399. view_. Org-mode implements columns by overlaying a tabular structure
  2400. over the headline of an item. So the column view does not use a
  2401. special buffer, it happens in exactly the same buffer where the outline
  2402. is, and only temporarily changes the look of this buffer - not the
  2403. content. This has the advantage that you can still change the
  2404. visibility of the outline tree. For example, you get a compact table by
  2405. switching to CONTENTS view, but you can still open, read, and edit the
  2406. entry below each headline. Or, you can switch to column view after
  2407. executing a sparse tree command and in this way get a table only for the
  2408. selected items. Column view also works in agenda buffers (*note Agenda
  2409. views::) where queries have collected selected items, possibly from a
  2410. number of files.
  2411. * Menu:
  2412. * Defining columns:: The COLUMNS format property
  2413. * Using column view:: How to create and use column view
  2414. 
  2415. File: org, Node: Defining columns, Next: Using column view, Prev: Column view, Up: Column view
  2416. 7.4.1 Defining Columns
  2417. ----------------------
  2418. Setting up a column view first requires defining the columns. A column
  2419. definition is a property itself and looks like this:
  2420. :COLUMNS: %25ITEM %TAGS %PRIORITY %TODO
  2421. This definition means that column 1 should be the first 25
  2422. characters of the item itself, i.e. of the headline. You probably
  2423. always should start the column definition with the ITEM specifier -
  2424. just select a useful width for it. The other specifiers create columns
  2425. for the local tags, for the priority and for the TODO state. When no
  2426. width is given after the `%' character, the column will be exactly as
  2427. wide as it need to be in order to fully display all values.
  2428. If a `COLUMNS' property is present in an entry, it defines columns
  2429. for the entry itself, and for the entire subtree below it. Since the
  2430. column definition is part of the hierarchical structure of the
  2431. document, you can define columns on level 1 that are general enough for
  2432. all sublevels, and more specific columns further down, when you edit a
  2433. deeper part of the tree. Here is an example:
  2434. * People
  2435. :PROPERTIES:
  2436. :COLUMNS: %25ITEM %Name
  2437. :END:
  2438. ** Family
  2439. :PROPERTIES:
  2440. :COLUMNS: %25ITEM %Name %3Age
  2441. :END:
  2442. *** Sam
  2443. Info about Sam, including a property list with Name and Age.
  2444. *** Sarah
  2445. Info about Sarah, including a property list with Name and Age.
  2446. ** Office
  2447. :PROPERTIES:
  2448. :COLUMNS: %25ITEM %Name %Function %Salary
  2449. :END:
  2450. *** Boss
  2451. Info about the Boss, including a property list with Name,
  2452. Function and Salary (if only we knew....).
  2453. Now we have defined three different sets of columns. If you switch
  2454. to column view in the _Family_ section, you will get a different table
  2455. than if you do it in the _Office_ section. However, if you switch to
  2456. column view with the cursor on the _People_ section, the table will
  2457. cover all entries, but contain only the _Name_ column.
  2458. If no COLUMNS property applies to a given location, Org-mode uses a
  2459. default format specified in the variable `org-default-columns-format'.
  2460. This format in particular also applies when column view is invoked with
  2461. the cursor before the first headline. You can set the default format
  2462. on a per-file basis with a line (don't forget to press `C-c C-c' to
  2463. activate any changes to this line).
  2464. #+COLUMNS: %25ITEM ....."
  2465. 
  2466. File: org, Node: Using column view, Prev: Defining columns, Up: Column view
  2467. 7.4.2 Using Column View
  2468. -----------------------
  2469. `C-c C-x C-c'
  2470. Create the column view for the local environment. This command
  2471. searches the hierarchy, up from point, for a `COLUMNS' property
  2472. that defines a format. When one is found, the column view table
  2473. is established for the entire subtree.
  2474. `<left> <right> <up> <down>'
  2475. Move through the column view from field to field.
  2476. `e'
  2477. Edit the property at point. For the special properties, this will
  2478. invoke the same interface that you normally use to change that
  2479. property. For example, when editing a TAGS property, the tag
  2480. completion or fast selection interface will pop up.
  2481. `v'
  2482. View the full value of this property. This is useful if the width
  2483. of the column is smaller than that of the value.
  2484. `q'
  2485. Exit column view.
  2486. 
  2487. File: org, Node: Property API, Prev: Column view, Up: Properties
  2488. 7.5 The Property API
  2489. ====================
  2490. There is a full API for accessing and changing properties. This API can
  2491. be used by Emacs Lisp programs to work with properties and to implement
  2492. features based on them. For more information see *Note Using the
  2493. property API::.
  2494. 
  2495. File: org, Node: Timestamps, Next: Agenda views, Prev: Properties, Up: Top
  2496. 8 Timestamps
  2497. ************
  2498. Items can be labeled with timestamps to make them useful for project
  2499. planning.
  2500. * Menu:
  2501. * Time stamps:: Assigning a time to a tree entry
  2502. * Creating timestamps:: Commands which insert timestamps
  2503. * Deadlines and scheduling:: Planning your work
  2504. * Progress logging:: Documenting when what work was done.
  2505. 
  2506. File: org, Node: Time stamps, Next: Creating timestamps, Prev: Timestamps, Up: Timestamps
  2507. 8.1 Time stamps, deadlines and scheduling
  2508. =========================================
  2509. A time stamp is a specification of a date (possibly with time or a range
  2510. of times) in a special format, either `<2003-09-16 Tue>' or
  2511. `<2003-09-16 Tue 09:39>' or `<2003-09-16 Tue 12:00-12:30>'(1). A time
  2512. stamp can appear anywhere in the headline or body of an org-tree entry.
  2513. Its presence causes entries to be shown on specific dates in the agenda
  2514. (*note Weekly/Daily agenda::). We distinguish:
  2515. PLAIN TIME STAMP
  2516. A simple time stamp just assigns a date/time to an item. This is
  2517. just like writing down an appointment in a paper agenda, or like
  2518. writing down an event in a diary, when you want to take note of
  2519. when something happened. In the timeline and agenda displays, the
  2520. headline of an entry associated with a plain time stamp will be
  2521. shown exactly on that date.
  2522. * Meet Peter at the movies <2006-11-01 Wed 19:15>
  2523. * Discussion on climate change <2006-11-02 Thu 20:00-22:00>
  2524. TIME STAMP WITH REPEATER INTERVAL
  2525. A time stamp may contain a _repeater interval_, indicating that it
  2526. applies not only on the given date, but again and again after a
  2527. certain interval of N days (d), weeks (w), months(m), or years(y).
  2528. The following will show up in the agenda every Wednesday:
  2529. * Pick up Sam at school <2007-05-16 Wed 12:30 +1w>
  2530. DIARY-STYLE SEXP ENTRIES
  2531. For more complex date specifications, Org-mode supports using the
  2532. special sexp diary entries implemented in the Emacs calendar/diary
  2533. package. For example
  2534. * The nerd meeting on every 2nd Thursday of the month
  2535. <%%(diary-float t 4 2)>
  2536. TIME/DATE RANGE
  2537. Two time stamps connected by `--' denote a range. The headline
  2538. will be shown on the first and last day of the range, and on any
  2539. dates that are displayed and fall in the range. Here is an
  2540. example:
  2541. ** Meeting in Amsterdam
  2542. <2004-08-23 Mon>--<2004-08-26 Thu>
  2543. INACTIVE TIME STAMP
  2544. Just like a plain time stamp, but with square brackets instead of
  2545. angular ones. These time stamps are inactive in the sense that
  2546. they do _not_ trigger an entry to show up in the agenda.
  2547. * Gillian comes late for the fifth time [2006-11-01 Wed]
  2548. ---------- Footnotes ----------
  2549. (1) This is the standard ISO date/time format. If you cannot get
  2550. used to these, see *Note Custom time format::
  2551. 
  2552. File: org, Node: Creating timestamps, Next: Deadlines and scheduling, Prev: Time stamps, Up: Timestamps
  2553. 8.2 Creating timestamps
  2554. =======================
  2555. For Org-mode to recognize time stamps, they need to be in the specific
  2556. format. All commands listed below produce time stamps in the correct
  2557. format.
  2558. `C-c .'
  2559. Prompt for a date and insert a corresponding time stamp. When the
  2560. cursor is at a previously used time stamp, it is updated to NOW.
  2561. When this command is used twice in succession, a time range is
  2562. inserted.
  2563. `C-u C-c .'
  2564. Like `C-c .', but use the alternative format which contains date
  2565. and time. The default time can be rounded to multiples of 5
  2566. minutes, see the option `org-time-stamp-rounding-minutes'.
  2567. `C-c !'
  2568. Like `C-c .', but insert an inactive time stamp that will not cause
  2569. an agenda entry.
  2570. `C-c <'
  2571. Insert a time stamp corresponding to the cursor date in the
  2572. Calendar.
  2573. `C-c >'
  2574. Access the Emacs calendar for the current date. If there is a
  2575. timestamp in the current line, goto the corresponding date instead.
  2576. `C-c C-o'
  2577. Access the agenda for the date given by the time stamp or -range at
  2578. point (*note Weekly/Daily agenda::).
  2579. `S-<left>'
  2580. `S-<right>'
  2581. Change date at cursor by one day. These key bindings conflict with
  2582. CUA-mode (*note Conflicts::).
  2583. `S-<up>'
  2584. `S-<down>'
  2585. Change the item under the cursor in a timestamp. The cursor can
  2586. be on a year, month, day, hour or minute. Note that if the cursor
  2587. is in a headline and not at a time stamp, these same keys modify
  2588. the priority of an item. (*note Priorities::). The key bindings
  2589. also conflict with CUA-mode (*note Conflicts::).
  2590. `C-c C-y'
  2591. Evaluate a time range by computing the difference between start and
  2592. end. With prefix arg, insert result after the time range (in a
  2593. table: into the following column).
  2594. * Menu:
  2595. * The date/time prompt:: How org-mode helps you entering date and time
  2596. * Custom time format:: Making dates look differently
  2597. 
  2598. File: org, Node: The date/time prompt, Next: Custom time format, Prev: Creating timestamps, Up: Creating timestamps
  2599. 8.2.1 The date/time prompt
  2600. --------------------------
  2601. When Org-mode prompts for a date/time, the prompt suggests to enter an
  2602. ISO date. But it will in fact accept any string containing some date
  2603. and/or time information. You can, for example, use `C-y' to paste a
  2604. (possibly multi-line) string copied from an email message. Org-mode
  2605. will find whatever information is in there and will replace anything not
  2606. specified with the current date and time. For example:
  2607. 3-2-5 --> 2003-02-05
  2608. feb 15 --> currentyear-02-15
  2609. sep 12 9 --> 2009-09-12
  2610. 12:45 --> today 12:45
  2611. 22 sept 0:34 --> currentyear-09-22 0:34
  2612. 12 --> currentyear-currentmonth-12
  2613. Fri --> nearest Friday (today or later)
  2614. +4 --> 4 days from now (if +N is the only thing given)
  2615. The function understands English month and weekday abbreviations. If
  2616. you want to use unabbreviated names and/or other languages, configure
  2617. the variables `parse-time-months' and `parse-time-weekdays'.
  2618. Parallel to the minibuffer prompt, a calendar is popped up(1). When
  2619. you exit the date prompt, either by clicking on a date in the calendar,
  2620. or by pressing <RET>, the date selected in the calendar will be
  2621. combined with the information entered at the prompt. You can control
  2622. the calendar fully from the minibuffer:
  2623. `<'
  2624. Scroll calendar backwards by one month.
  2625. `>'
  2626. Scroll calendar forwards by one month.
  2627. `mouse-1'
  2628. Select date by clicking on it.
  2629. `S-<right>'
  2630. One day forward.
  2631. `S-<left>'
  2632. One day back.
  2633. `S-<down>'
  2634. One week forward.
  2635. `S-<up>'
  2636. One week back.
  2637. `M-S-<right>'
  2638. One month forward.
  2639. `M-S-<left>'
  2640. One month back.
  2641. `<RET>'
  2642. Choose date in calendar (only if nothing was typed into
  2643. minibuffer).
  2644. ---------- Footnotes ----------
  2645. (1) If you don't need/want the calendar, configure the variable
  2646. `org-popup-calendar-for-date-prompt'.
  2647. 
  2648. File: org, Node: Custom time format, Prev: The date/time prompt, Up: Creating timestamps
  2649. 8.2.2 Custom time format
  2650. ------------------------
  2651. Org-mode uses the standard ISO notation for dates and times as it is
  2652. defined in ISO 8601. If you cannot get used to this and require another
  2653. representation of date and time to keep you happy, you can get it by
  2654. customizing the variables `org-display-custom-times' and
  2655. `org-time-stamp-custom-formats'.
  2656. `C-c C-x C-t'
  2657. Toggle the display of custom formats for dates and times.
  2658. Org-mode needs the default format for scanning, so the custom date/time
  2659. format does not _replace_ the default format - instead it is put _over_
  2660. the default format using text properties. This has the following
  2661. consequences:
  2662. * You cannot place the cursor onto a time stamp anymore, only before
  2663. or after.
  2664. * The `S-<up>/<down>' keys can no longer be used to adjust each
  2665. component of a time stamp. If the cursor is at the beginning of
  2666. the stamp, `S-<up>/<down>' will change the stamp by one day, just
  2667. like `S-<left>/<right>'. At the end of the stamp, the time will
  2668. be changed by one minute.
  2669. * If the time stamp contains a range of clock times or a repeater,
  2670. these will not be overlayed, but remain in the buffer as they were.
  2671. * When you delete a time stamp character-by-character, it will only
  2672. disappear from the buffer after _all_ (invisible) characters
  2673. belonging to the ISO timestamp have been removed.
  2674. * If the custom time stamp format is longer than the default and you
  2675. are using dates in tables, table alignment will be messed up. If
  2676. the custom format is shorter, things do work as expected.
  2677. 
  2678. File: org, Node: Deadlines and scheduling, Next: Progress logging, Prev: Creating timestamps, Up: Timestamps
  2679. 8.3 Deadlines and Scheduling
  2680. ============================
  2681. A time stamp may be preceded by special keywords to facilitate planning
  2682. of work:
  2683. DEADLINE
  2684. The task (most likely a TODO item) is supposed to be finished on
  2685. that date, and it will be listed then. In addition, the
  2686. compilation for _today_ will carry a warning about the approaching
  2687. or missed deadline, starting `org-deadline-warning-days' before
  2688. the due date, and continuing until the entry is marked DONE. An
  2689. example:
  2690. *** TODO write article about the Earth for the Guide
  2691. The editor in charge is [[bbdb:Ford Prefect]]
  2692. DEADLINE: <2004-02-29 Sun>
  2693. SCHEDULED
  2694. You are planning to start working on that task on the given date.
  2695. The headline will be listed under the given date(1). In addition,
  2696. a reminder that the scheduled date has passed will be present in
  2697. the compilation for _today_, until the entry is marked DONE.
  2698. I.e., the task will automatically be forwarded until completed.
  2699. *** TODO Call Trillian for a date on New Years Eve.
  2700. SCHEDULED: <2004-12-25 Sat>
  2701. * Menu:
  2702. * Inserting deadline/schedule::
  2703. * Repeated tasks::
  2704. ---------- Footnotes ----------
  2705. (1) It will still be listed on that date after it has been marked
  2706. DONE. If you don't like this, set the variable
  2707. `org-agenda-skip-scheduled-if-done'.
  2708. 
  2709. File: org, Node: Inserting deadline/schedule, Next: Repeated tasks, Prev: Deadlines and scheduling, Up: Deadlines and scheduling
  2710. 8.3.1 Inserting deadline/schedule
  2711. ---------------------------------
  2712. The following commands allow to quickly insert a deadline or to schedule
  2713. an item:
  2714. `C-c C-d'
  2715. Insert `DEADLINE' keyword along with a stamp. The insertion will
  2716. happen in the line directly following the headline.
  2717. `C-c C-w'
  2718. Create a sparse tree with all deadlines that are either past-due,
  2719. or which will become due within `org-deadline-warning-days'. With
  2720. `C-u' prefix, show all deadlines in the file. With a numeric
  2721. prefix, check that many days. For example, `C-1 C-c C-w' shows
  2722. all deadlines due tomorrow.
  2723. `C-c C-s'
  2724. Insert `SCHEDULED' keyword along with a stamp. The insertion will
  2725. happen in the line directly following the headline. Any CLOSED
  2726. timestamp will be removed.
  2727. 
  2728. File: org, Node: Repeated tasks, Prev: Inserting deadline/schedule, Up: Deadlines and scheduling
  2729. 8.3.2 Repeated Tasks
  2730. --------------------
  2731. Some tasks need to be repeated again and again, and Org-mode therefore
  2732. allows to use a repeater in a DEADLINE or SCHEDULED time stamp, for
  2733. example:
  2734. ** TODO Pay the rent
  2735. DEADLINE: <2005-10-01 Sat +1m>
  2736. Deadlines and scheduled items produce entries in the agenda when they
  2737. are over-due, so it is important to be able to mark such an entry as
  2738. completed once you have done so. When you mark a DEADLINE or a SCHEDULE
  2739. with the todo keyword DONE, it will no longer produce entries in the
  2740. agenda. The problem with this is, however, that then also the _next_
  2741. instance of the repeated entry will not be active. Org-mode deals with
  2742. this in the following way: When you try to mark such an entry DONE
  2743. (using `C-c C-t'), it will shift the base date of the repeating time
  2744. stamp by the repeater interval, and immediately set the entry state
  2745. back to TODO. In the example above, setting the state to DONE would
  2746. actually switch the date like this:
  2747. ** TODO Pay the rent
  2748. DEADLINE: <2005-11-01 Tue +1m>
  2749. You will also be prompted for a note that will be put under the
  2750. DEADLINE line to keep a record that you actually acted on the previous
  2751. instance of this deadline.
  2752. As a consequence of shifting the base date, this entry will no
  2753. longer be visible in the agenda when checking past dates, but all
  2754. future instances will be visible.
  2755. You may have both scheduling and deadline information for a specific
  2756. task - just make sure that the repeater intervals on both are the same.
  2757. 
  2758. File: org, Node: Progress logging, Prev: Deadlines and scheduling, Up: Timestamps
  2759. 8.4 Progress Logging
  2760. ====================
  2761. Org-mode can automatically record a time stamp when you mark a TODO item
  2762. as DONE, or even each time when you change the state of a TODO item.
  2763. You can also measure precisely the time you spent on specific items in a
  2764. project by starting and stopping a clock when you start and stop working
  2765. on an aspect of a project.
  2766. * Menu:
  2767. * Closing items:: When was this entry marked DONE?
  2768. * Tracking TODO state changes:: When did the status change?
  2769. * Clocking work time:: When exactly did you work on this item?
  2770. 
  2771. File: org, Node: Closing items, Next: Tracking TODO state changes, Prev: Progress logging, Up: Progress logging
  2772. 8.4.1 Closing items
  2773. -------------------
  2774. If you want to keep track of _when_ a certain TODO item was finished,
  2775. turn on logging with(1)
  2776. (setq org-log-done t)
  2777. Then each time you turn a TODO entry into DONE using either `C-c C-t'
  2778. in the Org-mode buffer or `t' in the agenda buffer, a line `CLOSED:
  2779. [timestamp]' will be inserted just after the headline. If you turn the
  2780. entry back into a TODO item through further state cycling, that line
  2781. will be removed again. In the timeline (*note Timeline::) and in the
  2782. agenda (*note Weekly/Daily agenda::), you can then use the `l' key to
  2783. display the TODO items closed on each day, giving you an overview of
  2784. what has been done on a day. If you want to record a note along with
  2785. the timestamp, use(2)
  2786. (setq org-log-done '(done))
  2787. ---------- Footnotes ----------
  2788. (1) The corresponding in-buffer setting is: `#+STARTUP: logdone'
  2789. (2) The corresponding in-buffer setting is: `#+STARTUP: lognotedone'
  2790. 
  2791. File: org, Node: Tracking TODO state changes, Next: Clocking work time, Prev: Closing items, Up: Progress logging
  2792. 8.4.2 Tracking TODO state changes
  2793. ---------------------------------
  2794. When TODO keywords are used as workflow states (*note Workflow
  2795. states::), you might want to keep track of when a state change occurred,
  2796. and you may even want to attach notes to that state change. With the
  2797. setting
  2798. (setq org-log-done '(state))
  2799. each state change will prompt you for a note that will be attached to
  2800. the current headline. Very likely you do not want this verbose tracking
  2801. all the time, so it is probably better to configure this behavior with
  2802. in-buffer options. For example, if you are tracking purchases, put
  2803. these into a separate file that starts with:
  2804. #+SEQ_TODO: TODO ORDERED INVOICE PAYED RECEIVED SENT
  2805. #+STARTUP: lognotestate
  2806. 
  2807. File: org, Node: Clocking work time, Prev: Tracking TODO state changes, Up: Progress logging
  2808. 8.4.3 Clocking work time
  2809. ------------------------
  2810. Org-mode allows you to clock the time you spent on specific tasks in a
  2811. project. When you start working on an item, you can start the clock.
  2812. When you stop working on that task, or when you mark the task done, the
  2813. clock is stopped and the corresponding time interval is recorded. It
  2814. also computes the total time spent on each subtree of a project.
  2815. `C-c C-x C-i'
  2816. Start the clock on the current item (clock-in). This inserts the
  2817. CLOCK keyword together with a timestamp.
  2818. `C-c C-x C-o'
  2819. Stop the clock (clock-out). The inserts another timestamp at the
  2820. same location where the clock was last started. It also directly
  2821. computes the resulting time in inserts it after the time range as
  2822. `=> HH:MM'. See the variable `org-log-done' for the possibility to
  2823. record an additional note together with the clock-out time
  2824. stamp(1).
  2825. `C-c C-y'
  2826. Recompute the time interval after changing one of the time stamps.
  2827. This is only necessary if you edit the time stamps directly. If
  2828. you change them with `S-<cursor>' keys, the update is automatic.
  2829. `C-c C-t'
  2830. Changing the TODO state of an item to DONE automatically stops the
  2831. clock if it is running in this same item.
  2832. `C-c C-x C-x'
  2833. Cancel the current clock. This is useful if a clock was started by
  2834. mistake, or if you ended up working on something else.
  2835. `C-c C-x C-d'
  2836. Display time summaries for each subtree in the current buffer.
  2837. This puts overlays at the end of each headline, showing the total
  2838. time recorded under that heading, including the time of any
  2839. subheadings. You can use visibility cycling to study the tree, but
  2840. the overlays disappear when you change the buffer (see variable
  2841. `org-remove-highlights-with-change') or press `C-c C-c'.
  2842. `C-c C-x C-r'
  2843. Insert a dynamic block (*note Dynamic blocks::) containing a clock
  2844. report as an org-mode table into the current file.
  2845. #+BEGIN: clocktable :maxlevel 2 :emphasize nil
  2846. #+END: clocktable
  2847. If such a block already exists, its content is replaced by the new
  2848. table. The `BEGIN' line can specify options:
  2849. :maxlevels Maximum level depth to which times are listed in the table.
  2850. :emphasize When `t', emphasize level one and level two items
  2851. :block The time block to consider. This block is specified relative
  2852. to the current time and may be any of these keywords:
  2853. `today', `yesterday', `thisweek', `lastweek',
  2854. `thismonth', `lastmonth', `thisyear', or `lastyear'.
  2855. :tstart A time string specifying when to start considering times
  2856. :tend A time string specifying when to stop considering times
  2857. So to get a clock summary for the current day, you could write
  2858. #+BEGIN: clocktable :maxlevel 2 :block today
  2859. #+END: clocktable
  2860. and to use a specific time range you could write(2)
  2861. #+BEGIN: clocktable :tstart "<2006-08-10 Thu 10:00>"
  2862. :tend "<2006-08-10 Thu 12:00>"
  2863. #+END: clocktable
  2864. `C-u C-c C-x C-u'
  2865. Update all dynamic blocks (*note Dynamic blocks::). This is
  2866. useful if you have several clocktable blocks in a buffer.
  2867. The `l' key may be used in the timeline (*note Timeline::) and in
  2868. the agenda (*note Weekly/Daily agenda::) to show which tasks have been
  2869. worked on or closed during a day.
  2870. ---------- Footnotes ----------
  2871. (1) The corresponding in-buffer setting is: `#+STARTUP:
  2872. lognoteclock-out'
  2873. (2) Note that all parameters must be specified in a single line -
  2874. the line is broken here only to fit it onto the manual.
  2875. 
  2876. File: org, Node: Agenda views, Next: Embedded LaTeX, Prev: Timestamps, Up: Top
  2877. 9 Agenda Views
  2878. **************
  2879. Due to the way Org-mode works, TODO items, time-stamped items, and
  2880. tagged headlines can be scattered throughout a file or even a number of
  2881. files. To get an overview over open action items, or over events that
  2882. are important for a particular date, this information must be collected,
  2883. sorted and displayed in an organized way.
  2884. Org-mode can select items based on various criteria, and display them
  2885. in a separate buffer. Six different view types are provided:
  2886. * an _agenda_ that is like a calendar and shows information for
  2887. specific dates,
  2888. * a _TODO list_ that covers all unfinished action items,
  2889. * a _tags view_, showings headlines based on the tags associated
  2890. with them,
  2891. * a _timeline view_ that shows all events in a single Org-mode file,
  2892. in time-sorted view,
  2893. * a _stuck projects view_ showing projects that currently don't move
  2894. along, and
  2895. * _custom views_ that are special tag/keyword searches and
  2896. combinations of different views.
  2897. The extracted information is displayed in a special _agenda buffer_.
  2898. This buffer is read-only, but provides commands to visit the
  2899. corresponding locations in the original Org-mode files, and even to
  2900. edit these files remotely.
  2901. Two variables control how the agenda buffer is displayed and whether
  2902. the window configuration is restored when the agenda exits:
  2903. `org-agenda-window-setup' and `org-agenda-restore-windows-after-quit'.
  2904. * Menu:
  2905. * Agenda files:: Files being searched for agenda information
  2906. * Agenda dispatcher:: Keyboard access to agenda views
  2907. * Built-in agenda views:: What is available out of the box?
  2908. * Presentation and sorting:: How agenda items are prepared for display
  2909. * Agenda commands:: Remote editing of org trees
  2910. * Custom agenda views:: Defining special searches and views
  2911. 
  2912. File: org, Node: Agenda files, Next: Agenda dispatcher, Prev: Agenda views, Up: Agenda views
  2913. 9.1 Agenda files
  2914. ================
  2915. The information to be shown is collected from all _agenda files_, the
  2916. files listed in the variable `org-agenda-files'(1). Thus even if you
  2917. only work with a single Org-mode file, this file should be put into
  2918. that list(2). You can customize `org-agenda-files', but the easiest
  2919. way to maintain it is through the following commands
  2920. `C-c ['
  2921. Add current file to the list of agenda files. The file is added to
  2922. the front of the list. If it was already in the list, it is moved
  2923. to the front. With prefix arg, file is added/moved to the end.
  2924. `C-c ]'
  2925. Remove current file from the list of agenda files.
  2926. `C-,'
  2927. `C-''
  2928. Cycle through agenda file list, visiting one file after the other.
  2929. The Org menu contains the current list of files and can be used to
  2930. visit any of them.
  2931. ---------- Footnotes ----------
  2932. (1) If the value of that variable is not a list, but a single file
  2933. name, then the list of agenda files will be maintained in that external
  2934. file.
  2935. (2) When using the dispatcher, pressing `1' before selecting a
  2936. command will actually limit the command to the current file, and ignore
  2937. `org-agenda-files' until the next dispatcher command.
  2938. 
  2939. File: org, Node: Agenda dispatcher, Next: Built-in agenda views, Prev: Agenda files, Up: Agenda views
  2940. 9.2 The agenda dispatcher
  2941. =========================
  2942. The views are created through a dispatcher that should be bound to a
  2943. global key, for example `C-c a' (*note Installation::). In the
  2944. following we will assume that `C-c a' is indeed how the dispatcher is
  2945. accessed and list keyboard access to commands accordingly. After
  2946. pressing `C-c a', an additional letter is required to execute a
  2947. command. The dispatcher offers the following default commands:
  2948. `a'
  2949. Create the calendar-like agenda (*note Weekly/Daily agenda::).
  2950. `t / T'
  2951. Create a list of all TODO items (*note Global TODO list::).
  2952. `m / M'
  2953. Create a list of headlines matching a TAGS expression (*note
  2954. Matching tags and properties::).
  2955. `L'
  2956. Create the timeline view for the current buffer (*note Timeline::).
  2957. `# / !'
  2958. Create a list of stuck projects (*note Stuck projects::).
  2959. `1'
  2960. Restrict an agenda command to the current buffer. After pressing
  2961. `1', you still need to press the character selecting the command.
  2962. `0'
  2963. If there is an active region, restrict the following agenda
  2964. command to the region. Otherwise, restrict it to the current
  2965. subtree. After pressing `0', you still need to press the
  2966. character selecting the command.
  2967. You can also define custom commands that will be accessible through
  2968. the dispatcher, just like the default commands. This includes the
  2969. possibility to create extended agenda buffers that contain several
  2970. blocks together, for example the weekly agenda, the global TODO list and
  2971. a number of special tags matches. *Note Custom agenda views::.
  2972. 
  2973. File: org, Node: Built-in agenda views, Next: Presentation and sorting, Prev: Agenda dispatcher, Up: Agenda views
  2974. 9.3 The built-in agenda views
  2975. =============================
  2976. In this section we describe the built-in views.
  2977. * Menu:
  2978. * Weekly/Daily agenda:: The calendar page with current tasks
  2979. * Global TODO list:: All unfinished action items
  2980. * Matching tags and properties:: Structured information with fine-tuned search
  2981. * Timeline:: Time-sorted view for single file
  2982. * Stuck projects:: Find projects you need to review
  2983. 
  2984. File: org, Node: Weekly/Daily agenda, Next: Global TODO list, Prev: Built-in agenda views, Up: Built-in agenda views
  2985. 9.3.1 The weekly/daily agenda
  2986. -----------------------------
  2987. The purpose of the weekly/daily _agenda_ is to act like a page of a
  2988. paper agenda, showing all the tasks for the current week or day.
  2989. `C-c a a'
  2990. Compile an agenda for the current week from a list of org files.
  2991. The agenda shows the entries for each day. With a `C-u' prefix (or
  2992. when the variable `org-agenda-include-all-todo' is `t'), all
  2993. unfinished TODO items (including those without a date) are also
  2994. listed at the beginning of the buffer, before the first date.
  2995. Remote editing from the agenda buffer means, for example, that you
  2996. can change the dates of deadlines and appointments from the agenda
  2997. buffer. The commands available in the Agenda buffer are listed in
  2998. *Note Agenda commands::.
  2999. Calendar/Diary integration
  3000. ..........................
  3001. Emacs contains the calendar and diary by Edward M. Reingold. The
  3002. calendar displays a three-month calendar with holidays from different
  3003. countries and cultures. The diary allows you to keep track of
  3004. anniversaries, lunar phases, sunrise/set, recurrent appointments
  3005. (weekly, monthly) and more. In this way, it is quite complementary to
  3006. Org-mode. It can be very useful to combine output from Org-mode with
  3007. the diary.
  3008. In order to include entries from the Emacs diary into Org-mode's
  3009. agenda, you only need to customize the variable
  3010. (setq org-agenda-include-diary t)
  3011. After that, everything will happen automatically. All diary entries
  3012. including holidays, anniversaries etc will be included in the agenda
  3013. buffer created by Org-mode. <SPC>, <TAB>, and <RET> can be used from
  3014. the agenda buffer to jump to the diary file in order to edit existing
  3015. diary entries. The `i' command to insert new entries for the current
  3016. date works in the agenda buffer, as well as the commands `S', `M', and
  3017. `C' to display Sunrise/Sunset times, show lunar phases and to convert
  3018. to other calendars, respectively. `c' can be used to switch back and
  3019. forth between calendar and agenda.
  3020. If you are using the diary only for sexp entries and holidays, it is
  3021. faster to not use the above setting, but instead to copy or even move
  3022. the entries into an Org-mode file. Org-mode evaluates diary-style sexp
  3023. entries, and does it faster because there is no overhead for first
  3024. creating the diary display. Note that the sexp entries must start at
  3025. the left margin, no white space is allowed before them. For example,
  3026. the following segment of an Org-mode file will be processed and entries
  3027. will be made in the agenda:
  3028. * Birthdays and similar stuff
  3029. #+CATEGORY: Holiday
  3030. %%(org-calendar-holiday) ; special function for holiday names
  3031. #+CATEGORY: Ann
  3032. %%(diary-anniversary 14 5 1956) Arthur Dent is %d years old
  3033. %%(diary-anniversary 2 10 1869) Mahatma Gandhi would be %d years old
  3034. 
  3035. File: org, Node: Global TODO list, Next: Matching tags and properties, Prev: Weekly/Daily agenda, Up: Built-in agenda views
  3036. 9.3.2 The global TODO list
  3037. --------------------------
  3038. The global TODO list contains all unfinished TODO items, formatted and
  3039. collected into a single place.
  3040. `C-c a t'
  3041. Show the global TODO list. This collects the TODO items from all
  3042. agenda files (*note Agenda views::) into a single buffer. The
  3043. buffer is in `agenda-mode', so there are commands to examine and
  3044. manipulate the TODO entries directly from that buffer (*note
  3045. Agenda commands::).
  3046. `C-c a T'
  3047. Like the above, but allows selection of a specific TODO keyword.
  3048. You can also do this by specifying a prefix argument to `C-c a t'.
  3049. With a `C-u' prefix you are prompted for a keyword, and you may
  3050. also specify several keywords by separating them with `|' as
  3051. boolean OR operator. With a numeric prefix, the Nth keyword in
  3052. `org-todo-keywords' is selected. The `r' key in the agenda buffer
  3053. regenerates it, and you can give a prefix argument to this command
  3054. to change the selected TODO keyword, for example `3 r'. If you
  3055. often need a search for a specific keyword, define a custom
  3056. command for it (*note Agenda dispatcher::).
  3057. Matching specific TODO keywords can also be done as part of a tags
  3058. search (*note Tag searches::).
  3059. Remote editing of TODO items means that you can change the state of a
  3060. TODO entry with a single key press. The commands available in the TODO
  3061. list are described in *Note Agenda commands::.
  3062. Normally the global todo list simply shows all headlines with TODO
  3063. keywords. This list can become very long. There are two ways to keep
  3064. it more compact:
  3065. - Some people view a TODO item that has been _scheduled_ for
  3066. execution (*note Time stamps::) as no longer _open_. Configure the
  3067. variable `org-agenda-todo-ignore-scheduled' to exclude scheduled
  3068. items from the global TODO list.
  3069. - TODO items may have sublevels to break up the task into subtasks.
  3070. In such cases it may be enough to list only the highest level TODO
  3071. headline and omit the sublevels from the global list. Configure
  3072. the variable `org-agenda-todo-list-sublevels' to get this behavior.
  3073. 
  3074. File: org, Node: Matching tags and properties, Next: Timeline, Prev: Global TODO list, Up: Built-in agenda views
  3075. 9.3.3 Matching Tags and Properties
  3076. ----------------------------------
  3077. If headlines in the agenda files are marked with _tags_ (*note Tags::),
  3078. you can select headlines based on the tags that apply to them and
  3079. collect them into an agenda buffer.
  3080. `C-c a m'
  3081. Produce a list of all headlines that match a given set of tags.
  3082. The command prompts for a selection criterion, which is a boolean
  3083. logic expression with tags, like `+WORK+URGENT-WITHBOSS' or
  3084. `WORK|HOME' (*note Tags::). If you often need a specific search,
  3085. define a custom command for it (*note Agenda dispatcher::).
  3086. `C-c a M'
  3087. Like `C-c a m', but only select headlines that are also TODO items
  3088. and force checking subitems (see variable
  3089. `org-tags-match-list-sublevels'). Matching specific todo keywords
  3090. together with a tags match is also possible, see *Note Tag
  3091. searches::.
  3092. The commands available in the tags list are described in *Note
  3093. Agenda commands::.
  3094. 
  3095. File: org, Node: Timeline, Next: Stuck projects, Prev: Matching tags and properties, Up: Built-in agenda views
  3096. 9.3.4 Timeline for a single file
  3097. --------------------------------
  3098. The timeline summarizes all time-stamped items from a single Org-mode
  3099. file in a _time-sorted view_. The main purpose of this command is to
  3100. give an overview over events in a project.
  3101. `C-c a L'
  3102. Show a time-sorted view of the org file, with all time-stamped
  3103. items. When called with a `C-u' prefix, all unfinished TODO
  3104. entries (scheduled or not) are also listed under the current date.
  3105. The commands available in the timeline buffer are listed in *Note
  3106. Agenda commands::.
  3107. 
  3108. File: org, Node: Stuck projects, Prev: Timeline, Up: Built-in agenda views
  3109. 9.3.5 Stuck projects
  3110. --------------------
  3111. If you are following a system like David Allen's GTD to organize your
  3112. work, one of the "duties" you have is a regular review to make sure
  3113. that all projects move along. A _stuck_ project is a project that has
  3114. no defined next actions, so it will never show up in the TODO lists
  3115. Org-mode produces. During the review, you need to identify such
  3116. projects and define next actions for them.
  3117. `C-c a #'
  3118. List projects that are stuck.
  3119. `C-c a !'
  3120. Customize the variable `org-stuck-projects' to define what a stuck
  3121. project is and how to find it.
  3122. You almost certainly will have to configure this view before it will
  3123. work for you. The built-in default assumes that all your projects are
  3124. level-2 headlines, and that a project is not stuck if it has at least
  3125. one entry marked with a todo keyword TODO or NEXT or NEXTACTION.
  3126. Lets assume that you, in your own way of using Org-mode, identify
  3127. projects with a tag PROJECT, and that you use a todo keyword MAYBE to
  3128. indicate a project that should not be considered yet. Lets further
  3129. assume that the todo keyword DONE marks finished projects, and that NEXT
  3130. and TODO indicate next actions. The tag @SHOP indicates shopping and
  3131. is a next action even without the NEXT tag. Finally, if the project
  3132. contains the special word IGNORE anywhere, it should not be listed
  3133. either. In this case you would start by identifying eligible projects
  3134. with a tags/todo match `+PROJECT/-MAYBE-DONE', and then check for TODO,
  3135. NEXT, @SHOP, and IGNORE in the subtree to identify projects that are
  3136. not stuck. The correct customization for this is
  3137. (setq org-stuck-projects
  3138. '("+PROJECT/-MAYBE-DONE" ("NEXT" "TODO") ("@SHOP")
  3139. "\\<IGNORE\\>"))
  3140. 
  3141. File: org, Node: Presentation and sorting, Next: Agenda commands, Prev: Built-in agenda views, Up: Agenda views
  3142. 9.4 Presentation and sorting
  3143. ============================
  3144. Before displaying items in an agenda view, Org-mode visually prepares
  3145. the items and sorts them. Each item occupies a single line. The line
  3146. starts with a _prefix_ that contains the _category_ (*note
  3147. Categories::) of the item and other important information. You can
  3148. customize the prefix using the option `org-agenda-prefix-format'. The
  3149. prefix is followed by a cleaned-up version of the outline headline
  3150. associated with the item.
  3151. * Menu:
  3152. * Categories:: Not all tasks are equal
  3153. * Time-of-day specifications:: How the agenda knows the time
  3154. * Sorting of agenda items:: The order of things
  3155. 
  3156. File: org, Node: Categories, Next: Time-of-day specifications, Prev: Presentation and sorting, Up: Presentation and sorting
  3157. 9.4.1 Categories
  3158. ----------------
  3159. The category is a broad label assigned to each agenda item. By default,
  3160. the category is simply derived from the file name, but you can also
  3161. specify it with a special line in the buffer, like this:
  3162. #+CATEGORY: Thesis
  3163. If there are several such lines in a file, each specifies the
  3164. category for the text below it (but the first category also applies to
  3165. any text before the first CATEGORY line). The display in the agenda
  3166. buffer looks best if the category is not longer than 10 characters.
  3167. 
  3168. File: org, Node: Time-of-day specifications, Next: Sorting of agenda items, Prev: Categories, Up: Presentation and sorting
  3169. 9.4.2 Time-of-Day Specifications
  3170. --------------------------------
  3171. Org-mode checks each agenda item for a time-of-day specification. The
  3172. time can be part of the time stamp that triggered inclusion into the
  3173. agenda, for example as in `<2005-05-10 Tue 19:00>'. Time ranges can be
  3174. specified with two time stamps, like
  3175. `<2005-05-10 Tue 20:30>--<2005-05-10 Tue 22:15>'.
  3176. In the headline of the entry itself, a time(range) may also appear as
  3177. plain text (like `12:45' or a `8:30-1pm'. If the agenda integrates the
  3178. Emacs diary (*note Weekly/Daily agenda::), time specifications in diary
  3179. entries are recognized as well.
  3180. For agenda display, Org-mode extracts the time and displays it in a
  3181. standard 24 hour format as part of the prefix. The example times in
  3182. the previous paragraphs would end up in the agenda like this:
  3183. 8:30-13:00 Arthur Dent lies in front of the bulldozer
  3184. 12:45...... Ford Prefect arrives and takes Arthur to the pub
  3185. 19:00...... The Vogon reads his poem
  3186. 20:30-22:15 Marwin escorts the Hitchhikers to the bridge
  3187. If the agenda is in single-day mode, or for the display of today, the
  3188. timed entries are embedded in a time grid, like
  3189. 8:00...... ------------------
  3190. 8:30-13:00 Arthur Dent lies in front of the bulldozer
  3191. 10:00...... ------------------
  3192. 12:00...... ------------------
  3193. 12:45...... Ford Prefect arrives and takes Arthur to the pub
  3194. 14:00...... ------------------
  3195. 16:00...... ------------------
  3196. 18:00...... ------------------
  3197. 19:00...... The Vogon reads his poem
  3198. 20:00...... ------------------
  3199. 20:30-22:15 Marwin escorts the Hitchhikers to the bridge
  3200. The time grid can be turned on and off with the variable
  3201. `org-agenda-use-time-grid', and can be configured with
  3202. `org-agenda-time-grid'.
  3203. 
  3204. File: org, Node: Sorting of agenda items, Prev: Time-of-day specifications, Up: Presentation and sorting
  3205. 9.4.3 Sorting of agenda items
  3206. -----------------------------
  3207. Before being inserted into a view, the items are sorted. How this is
  3208. done depends on the type of view.
  3209. * For the daily/weekly agenda, the items for each day are sorted.
  3210. The default order is to first collect all items containing an
  3211. explicit time-of-day specification. These entries will be shown
  3212. at the beginning of the list, as a _schedule_ for the day. After
  3213. that, items remain grouped in categories, in the sequence given by
  3214. `org-agenda-files'. Within each category, items are sorted by
  3215. priority (*note Priorities::), which is composed of the base
  3216. priority (2000 for priority `A', 1000 for `B', and 0 for `C'),
  3217. plus additional increments for overdue scheduled or deadline items.
  3218. * For the TODO list, items remain in the order of categories, but
  3219. within each category, sorting takes place according to priority
  3220. (*note Priorities::).
  3221. * For tags matches, items are not sorted at all, but just appear in
  3222. the sequence in which they are found in the agenda files.
  3223. Sorting can be customized using the variable
  3224. `org-agenda-sorting-strategy'.
  3225. 
  3226. File: org, Node: Agenda commands, Next: Custom agenda views, Prev: Presentation and sorting, Up: Agenda views
  3227. 9.5 Commands in the agenda buffer
  3228. =================================
  3229. Entries in the agenda buffer are linked back to the org file or diary
  3230. file where they originate. You are not allowed to edit the agenda
  3231. buffer itself, but commands are provided to show and jump to the
  3232. original entry location, and to edit the org-files "remotely" from the
  3233. agenda buffer. In this way, all information is stored only once,
  3234. removing the risk that your agenda and note files may diverge.
  3235. Some commands can be executed with mouse clicks on agenda lines. For
  3236. the other commands, the cursor needs to be in the desired line.
  3237. Motion
  3238. ......
  3239. `n'
  3240. Next line (same as <up>).
  3241. `p'
  3242. Previous line (same as <down>).
  3243. View/GoTo org file
  3244. ..................
  3245. `mouse-3'
  3246. `<SPC>'
  3247. Display the original location of the item in another window.
  3248. `L'
  3249. Display original location and recenter that window.
  3250. `mouse-2'
  3251. `mouse-1'
  3252. `<TAB>'
  3253. Go to the original location of the item in another window. Under
  3254. Emacs 22, `mouse-1' will also works for this.
  3255. `<RET>'
  3256. Go to the original location of the item and delete other windows.
  3257. `f'
  3258. Toggle Follow mode. In Follow mode, as you move the cursor through
  3259. the agenda buffer, the other window always shows the corresponding
  3260. location in the org file. The initial setting for this mode in new
  3261. agenda buffers can be set with the variable
  3262. `org-agenda-start-with-follow-mode'.
  3263. `b'
  3264. Display the entire subtree of the current item in an indirect
  3265. buffer. With numerical prefix ARG, go up to this level and then
  3266. take that tree. If ARG is negative, go up that many levels. With
  3267. `C-u' prefix, do not remove the previously used indirect buffer.
  3268. `l'
  3269. Toggle Logbook mode. In Logbook mode, entries that where marked
  3270. DONE while logging was on (variable `org-log-done') are shown in
  3271. the agenda, as are entries that have been clocked on that day.
  3272. Change display
  3273. ..............
  3274. `o'
  3275. Delete other windows.
  3276. `d w m y'
  3277. Switch to day/week/month/year view.
  3278. `D'
  3279. Toggle the inclusion of diary entries. See *Note Weekly/Daily
  3280. agenda::.
  3281. `g'
  3282. Toggle the time grid on and off. See also the variables
  3283. `org-agenda-use-time-grid' and `org-agenda-time-grid'.
  3284. `r'
  3285. Recreate the agenda buffer, for example to reflect the changes
  3286. after modification of the time stamps of items with S-<left> and
  3287. S-<right>. When the buffer is the global todo list, a prefix
  3288. argument is interpreted to create a selective list for a specific
  3289. TODO keyword.
  3290. `s'
  3291. Save all Org-mode buffers in the current Emacs session.
  3292. `<right>'
  3293. Display the following `org-agenda-ndays' days. For example, if
  3294. the display covers a week, switch to the following week. With
  3295. prefix arg, go forward that many times `org-agenda-ndays' days.
  3296. `<left>'
  3297. Display the previous dates.
  3298. `.'
  3299. Goto today.
  3300. Remote editing
  3301. ..............
  3302. `0-9'
  3303. Digit argument.
  3304. `C-_'
  3305. Undo a change due to a remote editing command. The change is
  3306. undone both in the agenda buffer and in the remote buffer.
  3307. `t'
  3308. Change the TODO state of the item, both in the agenda and in the
  3309. original org file.
  3310. `C-k'
  3311. Delete the current agenda item along with the entire subtree
  3312. belonging to it in the original Org-mode file. If the text to be
  3313. deleted remotely is longer than one line, the kill needs to be
  3314. confirmed by the user. See variable `org-agenda-confirm-kill'.
  3315. `$'
  3316. Archive the subtree corresponding to the current headline.
  3317. `T'
  3318. Show all tags associated with the current item. Because of
  3319. inheritance, this may be more than the tags listed in the line
  3320. itself.
  3321. `:'
  3322. Set tags for the current headline.
  3323. `a'
  3324. Toggle the ARCHIVE tag for the current headline.
  3325. `,'
  3326. Set the priority for the current item. Org-mode prompts for the
  3327. priority character. If you reply with <SPC>, the priority cookie
  3328. is removed from the entry.
  3329. `P'
  3330. Display weighted priority of current item.
  3331. `+'
  3332. `S-<up>'
  3333. Increase the priority of the current item. The priority is
  3334. changed in the original buffer, but the agenda is not resorted.
  3335. Use the `r' key for this.
  3336. `-'
  3337. `S-<down>'
  3338. Decrease the priority of the current item.
  3339. `C-c C-s'
  3340. Schedule this item
  3341. `C-c C-d'
  3342. Set a deadline for this item.
  3343. `S-<right>'
  3344. Change the time stamp associated with the current line by one day
  3345. into the future. With prefix argument, change it by that many
  3346. days. For example, `3 6 5 S-<right>' will change it by a year.
  3347. The stamp is changed in the original org file, but the change is
  3348. not directly reflected in the agenda buffer. Use the `r' key to
  3349. update the buffer.
  3350. `S-<left>'
  3351. Change the time stamp associated with the current line by one day
  3352. into the past.
  3353. `>'
  3354. Change the time stamp associated with the current line to today.
  3355. The key `>' has been chosen, because it is the same as `S-.' on my
  3356. keyboard.
  3357. `I'
  3358. Start the clock on the current item. If a clock is running
  3359. already, it is stopped first.
  3360. `O'
  3361. Stop the previously started clock.
  3362. `X'
  3363. Cancel the currently running clock.
  3364. Calendar commands
  3365. .................
  3366. `c'
  3367. Open the Emacs calendar and move to the date at the agenda cursor.
  3368. `c'
  3369. When in the calendar, compute and show the Org-mode agenda for the
  3370. date at the cursor.
  3371. `i'
  3372. Insert a new entry into the diary. Prompts for the type of entry
  3373. (day, weekly, monthly, yearly, anniversary, cyclic) and creates a
  3374. new entry in the diary, just as `i d' etc. would do in the
  3375. calendar. The date is taken from the cursor position.
  3376. `M'
  3377. Show the phases of the moon for the three months around current
  3378. date.
  3379. `S'
  3380. Show sunrise and sunset times. The geographical location must be
  3381. set with calendar variables, see documentation of the Emacs
  3382. calendar.
  3383. `C'
  3384. Convert the date at cursor into many other cultural and historic
  3385. calendars.
  3386. `H'
  3387. Show holidays for three month around the cursor date.
  3388. `C-c C-x C-c'
  3389. Export a single iCalendar file containing entries from all agenda
  3390. files.
  3391. Exporting to a file
  3392. ...................
  3393. `C-x C-w'
  3394. Write the agenda view to a file. Depending on the extension of the
  3395. selected file name, the view will be exported as HTML (extension
  3396. `.html' or `.htm'), Postscript (extension `.ps'), or plain text
  3397. (any other extension). Use the variable
  3398. `org-agenda-exporter-settings' to set options for `ps-print' and
  3399. for `htmlize' to be used during export.
  3400. Quit and Exit
  3401. .............
  3402. `q'
  3403. Quit agenda, remove the agenda buffer.
  3404. `x'
  3405. Exit agenda, remove the agenda buffer and all buffers loaded by
  3406. Emacs for the compilation of the agenda. Buffers created by the
  3407. user to visit org files will not be removed.
  3408. 
  3409. File: org, Node: Custom agenda views, Prev: Agenda commands, Up: Agenda views
  3410. 9.6 Custom agenda views
  3411. =======================
  3412. Custom agenda commands serve two purposes: to store and quickly access
  3413. frequently used TODO and tags searches, and to create special composite
  3414. agenda buffers. Custom agenda commands will be accessible through the
  3415. dispatcher (*note Agenda dispatcher::), just like the default commands.
  3416. * Menu:
  3417. * Storing searches:: Type once, use often
  3418. * Block agenda:: All the stuff you need in a single buffer
  3419. * Setting Options:: Changing the rules
  3420. * Exporting Agenda Views:: Writing agendas to files.
  3421. * Extracting Agenda Information for other programs::
  3422. 
  3423. File: org, Node: Storing searches, Next: Block agenda, Prev: Custom agenda views, Up: Custom agenda views
  3424. 9.6.1 Storing searches
  3425. ----------------------
  3426. The first application of custom searches is the definition of keyboard
  3427. shortcuts for frequently used searches, either creating an agenda
  3428. buffer, or a sparse tree (the latter covering of course only the current
  3429. buffer). Custom commands are configured in the variable
  3430. `org-agenda-custom-commands'. You can customize this variable, for
  3431. example by pressing `C-c a C'. You can also directly set it with Emacs
  3432. Lisp in `.emacs'. The following example contains all valid search
  3433. types:
  3434. (setq org-agenda-custom-commands
  3435. '(("w" todo "WAITING")
  3436. ("W" todo-tree "WAITING")
  3437. ("u" tags "+BOSS-URGENT")
  3438. ("v" tags-todo "+BOSS-URGENT")
  3439. ("U" tags-tree "+BOSS-URGENT")
  3440. ("f" occur-tree "\\<FIXME\\>")))
  3441. The initial single-character string in each entry defines the character
  3442. you have to press after the dispatcher command `C-c a' in order to
  3443. access the command. The second parameter is the search type, followed
  3444. by the string or regular expression to be used for the matching. The
  3445. example above will therefore define:
  3446. `C-c a w'
  3447. as a global search for TODO entries with `WAITING' as the TODO
  3448. keyword
  3449. `C-c a W'
  3450. as the same search, but only in the current buffer and displaying
  3451. the results as a sparse tree
  3452. `C-c a u'
  3453. as a global tags search for headlines marked `:BOSS:' but not
  3454. `:URGENT:'
  3455. `C-c a v'
  3456. as the same search as `C-c a u', but limiting the search to
  3457. headlines that are also TODO items
  3458. `C-c a U'
  3459. as the same search as `C-c a u', but only in the current buffer and
  3460. displaying the result as a sparse tree
  3461. `C-c a f'
  3462. to create a sparse tree (again: current buffer only) with all
  3463. entries containing the word `FIXME'.
  3464. 
  3465. File: org, Node: Block agenda, Next: Setting Options, Prev: Storing searches, Up: Custom agenda views
  3466. 9.6.2 Block agenda
  3467. ------------------
  3468. Another possibility is the construction of agenda views that comprise
  3469. the results of _several_ commands, each of which creates a block in the
  3470. agenda buffer. The available commands include `agenda' for the daily
  3471. or weekly agenda (as created with `C-c a a'), `alltodo' for the global
  3472. todo list (as constructed with `C-c a t'), and the matching commands
  3473. discussed above: `todo', `tags', and `tags-todo'. Here are two
  3474. examples:
  3475. (setq org-agenda-custom-commands
  3476. '(("h" "Agenda and Home-related tasks"
  3477. ((agenda)
  3478. (tags-todo "HOME")
  3479. (tags "GARDEN")))
  3480. ("o" "Agenda and Office-related tasks"
  3481. ((agenda)
  3482. (tags-todo "WORK")
  3483. (tags "OFFICE")))))
  3484. This will define `C-c a h' to create a multi-block view for stuff you
  3485. need to attend to at home. The resulting agenda buffer will contain
  3486. your agenda for the current week, all TODO items that carry the tag
  3487. `HOME', and also all lines tagged with `GARDEN'. Finally the command
  3488. `C-c a o' provides a similar view for office tasks.
  3489. 
  3490. File: org, Node: Setting Options, Next: Exporting Agenda Views, Prev: Block agenda, Up: Custom agenda views
  3491. 9.6.3 Setting Options for custom commands
  3492. -----------------------------------------
  3493. Org-mode contains a number of variables regulating agenda construction
  3494. and display. The global variables define the behavior for all agenda
  3495. commands, including the custom commands. However, if you want to change
  3496. some settings just for a single custom view, you can do so. Setting
  3497. options requires inserting a list of variable names and values at the
  3498. right spot in `org-agenda-custom-commands'. For example:
  3499. (setq org-agenda-custom-commands
  3500. '(("w" todo "WAITING"
  3501. ((org-agenda-sorting-strategy '(priority-down))
  3502. (org-agenda-prefix-format " Mixed: ")))
  3503. ("U" tags-tree "+BOSS-URGENT"
  3504. ((org-show-following-heading nil)
  3505. (org-show-hierarchy-above nil)))))
  3506. Now the `C-c a w' command will sort the collected entries only by
  3507. priority, and the prefix format is modified to just say ` Mixed:'
  3508. instead of giving the category of the entry. The sparse tags tree of
  3509. `C-c a U' will now turn out ultra-compact, because neither the headline
  3510. hierarchy above the match, nor the headline following the match will be
  3511. shown.
  3512. For command sets creating a block agenda,
  3513. `org-agenda-custom-commands' has two separate spots for setting
  3514. options. You can add options that should be valid for just a single
  3515. command in the set, and options that should be valid for all commands in
  3516. the set. The former are just added to the command entry, the latter
  3517. must come after the list of command entries. Going back to the block
  3518. agenda example (*note Block agenda::), let's change the sorting strategy
  3519. for the `C-c a h' commands to `priority-down', but let's sort the
  3520. results for GARDEN tags query in the opposite order, `priority-up'.
  3521. This would look like this:
  3522. (setq org-agenda-custom-commands
  3523. '(("h" "Agenda and Home-related tasks"
  3524. ((agenda)
  3525. (tags-todo "HOME")
  3526. (tags "GARDEN"
  3527. ((org-agenda-sorting-strategy '(priority-up)))))
  3528. ((org-agenda-sorting-strategy '(priority-down))))
  3529. ("o" "Agenda and Office-related tasks"
  3530. ((agenda)
  3531. (tags-todo "WORK")
  3532. (tags "OFFICE")))))
  3533. As you see, the values and parenthesis setting is a little complex.
  3534. When in doubt, use the customize interface to set this variable - it
  3535. fully supports its structure. Just one caveat: When setting options in
  3536. this interface, the _values_ are just lisp expressions. So if the
  3537. value is a string, you need to add the double quotes around the value
  3538. yourself.
  3539. 
  3540. File: org, Node: Exporting Agenda Views, Next: Extracting Agenda Information for other programs, Prev: Setting Options, Up: Custom agenda views
  3541. 9.6.4 Exporting Agenda Views
  3542. ----------------------------
  3543. If you are away from your computer, it can be very useful to have a
  3544. printed version of some agenda views to carry around. Org-mode can
  3545. export custom agenda views as plain text, HTML(1) and postscript. If
  3546. you want to do this only occasionally, use the commend
  3547. `C-x C-w'
  3548. Write the agenda view to a file. Depending on the extension of the
  3549. selected file name, the view will be exported as HTML (extension
  3550. `.html' or `.htm'), Postscript (extension `.ps'), or plain text
  3551. (any other extension). Use the variable
  3552. `org-agenda-exporter-settings' to set options for `ps-print' and
  3553. for `htmlize' to be used during export, for example
  3554. (setq org-agenda-exporter-settings
  3555. '((ps-number-of-columns 2)
  3556. (ps-landscape-mode t)
  3557. (htmlize-output-type 'css)))
  3558. If you need to export certain agenda views frequently, you can
  3559. associate any custom agenda command with a list of output file names
  3560. (2). Here is an example that first does define custom commands for the
  3561. agenda and the global todo list, together with a number of files to
  3562. which to export them. Then we define two block agenda commands and
  3563. specify filenames for them as well. File names can be relative to the
  3564. current working directory, or absolute.
  3565. (setq org-agenda-custom-commands
  3566. '(("X" agenda "" nil ("agenda.html" "agenda.ps"))
  3567. ("Y" alltodo "" nil ("todo.html" "todo.txt" "todo.ps"))
  3568. ("h" "Agenda and Home-related tasks"
  3569. ((agenda)
  3570. (tags-todo "HOME")
  3571. (tags "GARDEN"))
  3572. nil
  3573. ("~/views/home.html"))
  3574. ("o" "Agenda and Office-related tasks"
  3575. ((agenda)
  3576. (tags-todo "WORK")
  3577. (tags "OFFICE"))
  3578. nil
  3579. ("~/views/office.ps"))))
  3580. The extension of the file name determines the type of export. If it
  3581. is `.html', Org-mode will use the `htmlize.el' package to convert the
  3582. buffer to HTML and save it to this file name. If the extension is
  3583. `.ps', `ps-print-buffer-with-faces' is used to produce postscript
  3584. output. Any other extension produces a plain ASCII file.
  3585. The export files are _not_ created when you use one of those
  3586. commands interactively. Instead, there is a special command to produce
  3587. _all_ specified files in one step:
  3588. `C-c a e'
  3589. Export all agenda views that have export filenames associated with
  3590. them.
  3591. You can use the options section of the custom agenda commands to also
  3592. set options for the export commands. For example:
  3593. (setq org-agenda-custom-commands
  3594. '(("X" agenda ""
  3595. ((ps-number-of-columns 2)
  3596. (ps-landscape-mode t)
  3597. (org-agenda-prefix-format " [ ] ")
  3598. (org-agenda-with-colors nil)
  3599. (org-agenda-remove-tags t))
  3600. ("theagenda.ps"))))
  3601. This command sets two options for the postscript exporter, to make it
  3602. print in two columns in landscape format - the resulting page can be cut
  3603. in two and then used in a paper agenda. The remaining settings modify
  3604. the agenda prefix to omit category and scheduling information, and
  3605. instead include a checkbox to check off items. We also remove the tags
  3606. to make the lines compact, and we don't want to use colors for the
  3607. black-and-white printer. Settings specified in
  3608. `org-agenda-exporter-settings' will also apply, but the settings in
  3609. `org-agenda-custom-commands' take precedence.
  3610. From the command line you may also use
  3611. emacs -f org-batch-store-agenda-views -kill
  3612. or, if you need to modify some parameters
  3613. emacs -eval '(org-batch-store-agenda-views \
  3614. org-agenda-ndays 30 \
  3615. org-agenda-include-diary nil \
  3616. org-agenda-files (quote ("~/org/project.org")))' \
  3617. -kill
  3618. which will create the agenda views restricted to the file
  3619. `~/org/project.org', without diary entries and with 30 days extent.
  3620. ---------- Footnotes ----------
  3621. (1) You need to install Hrvoje Niksic' `htmlize.el'.
  3622. (2) If you want to store standard views like the weekly agenda or
  3623. the global TODO list as well, you need to define custom commands for
  3624. them in order to be able to specify filenames.
  3625. 
  3626. File: org, Node: Extracting Agenda Information for other programs, Prev: Exporting Agenda Views, Up: Custom agenda views
  3627. 9.6.5 Extracting Agenda Information for other programs
  3628. ------------------------------------------------------
  3629. Org-mode provides commands to access agenda information for the command
  3630. line in emacs batch mode. This extracted information can be sent
  3631. directly to a printer, or it can be read by a program that does further
  3632. processing of the data. The first of these commands is the function
  3633. `org-batch-agenda', that produces an agenda view and sends it as ASCII
  3634. text to STDOUT. The command takes a single string as parameter. If
  3635. the string has length 1, it is used as a key to one of the commands you
  3636. have configured in `org-agenda-custom-commands', basically any key you
  3637. can use after `C-c a'. For example, to directly print the current TODO
  3638. list, you could use
  3639. emacs -batch -l ~/.emacs -eval '(org-batch-agenda "t")' | lpr
  3640. If the parameter is a string with 2 or more characters, it is used
  3641. as a tags/todo match string. For example, to print your local shopping
  3642. list (all items with the tag `shop', but excluding the tag `NewYork'),
  3643. you could use
  3644. emacs -batch -l ~/.emacs \
  3645. -eval '(org-batch-agenda "+shop-NewYork")' | lpr
  3646. You may also modify parameters on the fly like this:
  3647. emacs -batch -l ~/.emacs \
  3648. -eval '(org-batch-agenda "a" \
  3649. org-agenda-ndays 30 \
  3650. org-agenda-include-diary nil \
  3651. org-agenda-files (quote ("~/org/project.org")))' \
  3652. | lpr
  3653. which will produce a 30 day agenda, fully restricted to the Org file
  3654. `~/org/projects.org', not even including the diary.
  3655. If you want to process the agenda data in more sophisticated ways,
  3656. you can use the command `org-batch-agenda-csv' to get a comma-separated
  3657. list of values for each agenda item. Each line in the output will
  3658. contain a number of fields separated by commas. The fields in a line
  3659. are:
  3660. category The category of the item
  3661. head The headline, without TODO kwd, TAGS and PRIORITY
  3662. type The type of the agenda entry, can be
  3663. todo selected in TODO match
  3664. tagsmatch selected in tags match
  3665. diary imported from diary
  3666. deadline a deadline
  3667. scheduled scheduled
  3668. timestamp appointment, selected by timestamp
  3669. closed entry was closed on date
  3670. upcoming-deadline warning about nearing deadline
  3671. past-scheduled forwarded scheduled item
  3672. block entry has date block including date
  3673. todo The todo keyword, if any
  3674. tags All tags including inherited ones, separated by colons
  3675. date The relevant date, like 2007-2-14
  3676. time The time, like 15:00-16:50
  3677. extra String with extra planning info
  3678. priority-l The priority letter if any was given
  3679. priority-n The computed numerical priority
  3680. Time and date will only be given if a timestamp (or deadline/scheduled)
  3681. lead to the selection of the item.
  3682. A CSV list like this is very easy to use in a post processing script.
  3683. For example, here is a Perl program that gets the TODO list from
  3684. Emacs/org-mode and prints all the items, preceded by a checkbox:
  3685. #!/usr/bin/perl
  3686. # define the Emacs command to run
  3687. $cmd = "emacs -batch -l ~/.emacs -eval '(org-batch-agenda-csv \"t\")'";
  3688. # run it and capture the output
  3689. $agenda = qx{$cmd 2>/dev/null};
  3690. # loop over all lines
  3691. foreach $line (split(/\n/,$agenda)) {
  3692. # get the individual values
  3693. ($category,$head,$type,$todo,$tags,$date,$time,$extra,
  3694. $priority_l,$priority_n) = split(/,/,$line);
  3695. # proccess and print
  3696. print "[ ] $head\n";
  3697. }
  3698. 
  3699. File: org, Node: Embedded LaTeX, Next: Exporting, Prev: Agenda views, Up: Top
  3700. 10 Embedded LaTeX
  3701. *****************
  3702. Plain ASCII is normally sufficient for almost all note taking. One
  3703. exception, however, are scientific notes which need to be able to
  3704. contain mathematical symbols and the occasional formula. LaTeX(1) is
  3705. widely used to typeset scientific documents. Org-mode supports
  3706. embedding LaTeX code into its files, because many academics are used to
  3707. read LaTeX source code, and because it can be readily processed into
  3708. images for HTML production.
  3709. It is not necessary to mark LaTeX macros and code in any special way.
  3710. If you observe a few conventions, Org-mode knows how to find it and what
  3711. to do with it.
  3712. * Menu:
  3713. * Math symbols:: TeX macros for symbols and Greek letters
  3714. * Subscripts and Superscripts:: Simple syntax for raising/lowering text
  3715. * LaTeX fragments:: Complex formulas made easy
  3716. * Processing LaTeX fragments:: Previewing LaTeX processing
  3717. * CDLaTeX mode:: Speed up entering of formulas
  3718. ---------- Footnotes ----------
  3719. (1) LaTeX is a macro system based on Donald E. Knuth's TeX system.
  3720. Many of the features described here as "LaTeX" are really from TeX, but
  3721. for simplicity I am blurring this distinction.
  3722. 
  3723. File: org, Node: Math symbols, Next: Subscripts and Superscripts, Prev: Embedded LaTeX, Up: Embedded LaTeX
  3724. 10.1 Math symbols
  3725. =================
  3726. You can use LaTeX macros to insert special symbols like `\alpha' to
  3727. indicate the Greek letter, or `\to' to indicate an arrow. Completion
  3728. for these macros is available, just type `\' and maybe a few letters,
  3729. and press `M-<TAB>' to see possible completions. Unlike LaTeX code,
  3730. Org-mode allows these macros to be present without surrounding math
  3731. delimiters, for example:
  3732. Angles are written as Greek letters \alpha, \beta and \gamma.
  3733. During HTML export (*note HTML export::), these symbols are
  3734. translated into the proper syntax for HTML, for the above examples this
  3735. is `&alpha;' and `&rarr;', respectively.
  3736. 
  3737. File: org, Node: Subscripts and Superscripts, Next: LaTeX fragments, Prev: Math symbols, Up: Embedded LaTeX
  3738. 10.2 Subscripts and Superscripts
  3739. ================================
  3740. Just like in LaTeX, `^' and `_' are used to indicate super- and
  3741. subscripts. Again, these can be used without embedding them in
  3742. math-mode delimiters. To increase the readability of ASCII text, it is
  3743. not necessary (but OK) to surround multi-character sub- and superscripts
  3744. with curly braces. For example
  3745. The mass if the sun is M_sun = 1.989 x 10^30 kg. The radius of
  3746. the sun is R_{sun} = 6.96 x 10^8 m.
  3747. To avoid interpretation as raised or lowered text, you can quote `^'
  3748. and `_' with a backslash: `\_' and `\^'.
  3749. During HTML export (*note HTML export::), subscript and superscripts
  3750. are surrounded with `<sub>' and `<sup>' tags, respectively.
  3751. 
  3752. File: org, Node: LaTeX fragments, Next: Processing LaTeX fragments, Prev: Subscripts and Superscripts, Up: Embedded LaTeX
  3753. 10.3 LaTeX fragments
  3754. ====================
  3755. With symbols, sub- and superscripts, HTML is pretty much at its end when
  3756. it comes to representing mathematical formulas(1). More complex
  3757. expressions need a dedicated formula processor. To this end, Org-mode
  3758. can contain arbitrary LaTeX fragments. It provides commands to preview
  3759. the typeset result of these fragments, and upon export to HTML, all
  3760. fragments will be converted to images and inlined into the HTML
  3761. document. For this to work you need to be on a system with a working
  3762. LaTeX installation. You also need the `dvipng' program, available at
  3763. `http://sourceforge.net/projects/dvipng/'. The LaTeX header that will
  3764. be used when processing a fragment can be configured with the variable
  3765. `org-format-latex-header'.
  3766. LaTeX fragments don't need any special marking at all. The following
  3767. snippets will be identified as LaTeX source code:
  3768. * Environments of any kind. The only requirement is that the
  3769. `\begin' statement appears on a new line, preceded by only
  3770. whitespace.
  3771. * Text within the usual LaTeX math delimiters. To avoid conflicts
  3772. with currency specifications, single `$' characters are only
  3773. recognized as math delimiters if the enclosed text contains at
  3774. most two line breaks, is directly attached to the `$' characters
  3775. with no whitespace in between, and if the closing `$' is followed
  3776. by whitespace or punctuation. For the other delimiters, there is
  3777. no such restriction, so when in doubt, use `\(...\)' as inline
  3778. math delimiters.
  3779. For example:
  3780. \begin{equation} % arbitrary environments,
  3781. x=\sqrt{b} % even tables, figures
  3782. \end{equation} % etc
  3783. If $a^2=b$ and \( b=2 \), then the solution must be
  3784. either $$ a=+\sqrt{2} $$ or \[ a=-\sqrt{2} \].
  3785. If you need any of the delimiter ASCII sequences for other purposes, you
  3786. can configure the option `org-format-latex-options' to deselect the
  3787. ones you do not wish to have interpreted by the LaTeX converter.
  3788. ---------- Footnotes ----------
  3789. (1) Yes, there is MathML, but that is not yet fully supported by
  3790. many browsers, and there is no decent converter for turning LaTeX of
  3791. ASCII representations of formulas into MathML. So for the time being,
  3792. converting formulas into images seems the way to go.
  3793. 
  3794. File: org, Node: Processing LaTeX fragments, Next: CDLaTeX mode, Prev: LaTeX fragments, Up: Embedded LaTeX
  3795. 10.4 Processing LaTeX fragments
  3796. ===============================
  3797. LaTeX fragments can be processed to produce a preview images of the
  3798. typeset expressions:
  3799. `C-c C-x C-l'
  3800. Produce a preview image of the LaTeX fragment at point and overlay
  3801. it over the source code. If there is no fragment at point,
  3802. process all fragments in the current entry (between two
  3803. headlines). When called with a prefix argument, process the
  3804. entire subtree. When called with two prefix arguments, or when
  3805. the cursor is before the first headline, process the entire buffer.
  3806. `C-c C-c'
  3807. Remove the overlay preview images.
  3808. During HTML export (*note HTML export::), all LaTeX fragments are
  3809. converted into images and inlined into the document if the following
  3810. setting is active:
  3811. (setq org-export-with-LaTeX-fragments t)
  3812. 
  3813. File: org, Node: CDLaTeX mode, Prev: Processing LaTeX fragments, Up: Embedded LaTeX
  3814. 10.5 Using CDLaTeX to enter math
  3815. ================================
  3816. CDLaTeX-mode is a minor mode that is normally used in combination with a
  3817. major LaTeX mode like AUCTeX in order to speed-up insertion of
  3818. environments and math templates. Inside Org-mode, you can make use of
  3819. some of the features of cdlatex-mode. You need to install `cdlatex.el'
  3820. and `texmathp.el' (the latter comes also with AUCTeX) from
  3821. `http://www.astro.uva.nl/~dominik/Tools/cdlatex'. Don't turn
  3822. cdlatex-mode itself under Org-mode, but use the light version
  3823. `org-cdlatex-mode' that comes as part of Org-mode. Turn it on for the
  3824. current buffer with `M-x org-cdlatex-mode', or for all Org-mode files
  3825. with
  3826. (add-hook 'org-mode-hook 'turn-on-org-cdlatex)
  3827. When this mode is enabled, the following features are present (for
  3828. more details see the documentation of cdlatex-mode):
  3829. * Environment templates can be inserted with `C-c {'.
  3830. * The <TAB> key will do template expansion if the cursor is inside a
  3831. LaTeX fragment(1). For example, <TAB> will expand `fr' to
  3832. `\frac{}{}' and position the cursor correctly inside the first
  3833. brace. Another <TAB> will get you into the second brace. Even
  3834. outside fragments, <TAB> will expand environment abbreviations at
  3835. the beginning of a line. For example, if you write `equ' at the
  3836. beginning of a line and press <TAB>, this abbreviation will be
  3837. expanded to an `equation' environment. To get a list of all
  3838. abbreviations, type `M-x cdlatex-command-help'.
  3839. * Pressing `_' and `^' inside a LaTeX fragment will insert these
  3840. characters together with a pair of braces. If you use <TAB> to
  3841. move out of the braces, and if the braces surround only a single
  3842. character or macro, they are removed again (depending on the
  3843. variable `cdlatex-simplify-sub-super-scripts').
  3844. * Pressing the backquote ``' followed by a character inserts math
  3845. macros, also outside LaTeX fragments. If you wait more than 1.5
  3846. seconds after the backquote, a help window will pop up.
  3847. * Pressing the normal quote `'' followed by another character
  3848. modifies the symbol before point with an accent or a font. If you
  3849. wait more than 1.5 seconds after the backquote, a help window will
  3850. pop up. Character modification will work only inside LaTeX
  3851. fragments, outside the quote is normal.
  3852. ---------- Footnotes ----------
  3853. (1) Org-mode has a method to test if the cursor is inside such a
  3854. fragment, see the documentation of the function
  3855. `org-inside-LaTeX-fragment-p'.
  3856. 
  3857. File: org, Node: Exporting, Next: Publishing, Prev: Embedded LaTeX, Up: Top
  3858. 11 Exporting
  3859. ************
  3860. Org-mode documents can be exported into a variety of other formats. For
  3861. printing and sharing of notes, ASCII export produces a readable and
  3862. simple version of an Org-mode file. HTML export allows you to publish a
  3863. notes file on the web, while the XOXO format provides a solid base for
  3864. exchange with a broad range of other applications. To incorporate
  3865. entries with associated times like deadlines or appointments into a
  3866. desktop calendar program like iCal, Org-mode can also produce extracts
  3867. in the iCalendar format. Currently Org-mode only supports export, not
  3868. import of these different formats.
  3869. When exporting, Org-mode uses special conventions to enrich the
  3870. output produced. *Note Text interpretation::, for more details.
  3871. `C-c C-e'
  3872. Dispatcher for export and publishing commands. Displays a
  3873. help-window listing the additional key(s) needed to launch an
  3874. export or publishing command.
  3875. * Menu:
  3876. * ASCII export:: Exporting to plain ASCII
  3877. * HTML export:: Exporting to HTML
  3878. * XOXO export:: Exporting to XOXO
  3879. * iCalendar export:: Exporting in iCalendar format
  3880. * Text interpretation:: How the exporter looks at the file
  3881. 
  3882. File: org, Node: ASCII export, Next: HTML export, Prev: Exporting, Up: Exporting
  3883. 11.1 ASCII export
  3884. =================
  3885. ASCII export produces a simple and very readable version of an Org-mode
  3886. file.
  3887. `C-c C-e a'
  3888. Export as ASCII file. If there is an active region, only the
  3889. region will be exported. For an org file `myfile.org', the ASCII
  3890. file will be `myfile.txt'. The file will be overwritten without
  3891. warning.
  3892. `C-c C-e v a'
  3893. Export only the visible part of the document.
  3894. In the exported version, the first 3 outline levels will become
  3895. headlines, defining a general document structure. Additional levels
  3896. will be exported as itemized lists. If you want that transition to
  3897. occur at a different level, specify it with a prefix argument. For
  3898. example,
  3899. C-1 C-c C-e a
  3900. creates only top level headlines and does the rest as items. When
  3901. headlines are converted to items, the indentation of the text following
  3902. the headline is changed to fit nicely under the item. This is done with
  3903. the assumption that the first bodyline indicates the base indentation of
  3904. the body text. Any indentation larger than this is adjusted to preserve
  3905. the layout relative to the first line. Should there be lines with less
  3906. indentation than the first, these are left alone.
  3907. 
  3908. File: org, Node: HTML export, Next: XOXO export, Prev: ASCII export, Up: Exporting
  3909. 11.2 HTML export
  3910. ================
  3911. Org-mode contains an HTML (XHTML 1.0 strict) exporter with extensive
  3912. HTML formatting, in ways similar to John Grubers _markdown_ language,
  3913. but with additional support for tables.
  3914. * Menu:
  3915. * Export commands:: How to invoke HTML export
  3916. * Quoting HTML tags:: Using direct HTML in Org-mode
  3917. * Links:: How hyperlinks get transferred to HTML
  3918. * Images:: To inline or not to inline?
  3919. * CSS support:: Style specifications
  3920. 
  3921. File: org, Node: Export commands, Next: Quoting HTML tags, Prev: HTML export, Up: HTML export
  3922. 11.2.1 HTML export commands
  3923. ---------------------------
  3924. `C-c C-e h'
  3925. Export as HTML file `myfile.html'.
  3926. `C-c C-e b'
  3927. Export as HTML file and open it with a browser.
  3928. `C-c C-e H'
  3929. Export to a temporary buffer, do not create a file.
  3930. `C-c C-e H'
  3931. Export the active region to a temporary buffer. With prefix arg,
  3932. do not produce file header and foot, but just the plain HTML
  3933. section for the region. This is good for cut-and-paste operations.
  3934. `C-c C-e v h'
  3935. `C-c C-e v b'
  3936. `C-c C-e v H'
  3937. `C-c C-e v R'
  3938. Export only the visible part of the document.
  3939. `M-x org-export-region-as-html'
  3940. Convert the region to HTML under the assumption that it was
  3941. org-mode syntax before. This is a global command that can be
  3942. invoked in any buffer.
  3943. In the exported version, the first 3 outline levels will become
  3944. headlines, defining a general document structure. Additional levels
  3945. will be exported as itemized lists. If you want that transition to
  3946. occur at a different level, specify it with a prefix argument. For
  3947. example,
  3948. C-2 C-c C-e b
  3949. creates two levels of headings and does the rest as items.
  3950. 
  3951. File: org, Node: Quoting HTML tags, Next: Links, Prev: Export commands, Up: HTML export
  3952. 11.2.2 Quoting HTML tags
  3953. ------------------------
  3954. Plain `<' and `>' are always transformed to `&lt;' and `&gt;' in HTML
  3955. export. If you want to include simple HTML tags which should be
  3956. interpreted as such, mark them with `@' as in `@<b>bold text@</b>'.
  3957. Note that this really works only for simple tags. For more extensive
  3958. HTML that should be copied verbatim to the exported file use either
  3959. #+HTML: Literal HTML code for export
  3960. or
  3961. #+BEGIN_HTML
  3962. All lines between these markers are exported literally
  3963. #+END_HTML
  3964. 
  3965. File: org, Node: Links, Next: Images, Prev: Quoting HTML tags, Up: HTML export
  3966. 11.2.3 Links
  3967. ------------
  3968. Internal links (*note Internal links::) will continue to work in HTML
  3969. files only if they match a dedicated `<<target>>'. Automatic links
  3970. created by radio targets (*note Radio targets::) will also work in the
  3971. HTML file. Links to external files will still work if the HTML file is
  3972. in the same directory as the Org-mode file. Links to other `.org'
  3973. files will be translated into HTML links under the assumption that an
  3974. HTML version also exists of the linked file. For information related to
  3975. linking files while publishing them to a publishing directory see *Note
  3976. Publishing links::.
  3977. 
  3978. File: org, Node: Images, Next: CSS support, Prev: Links, Up: HTML export
  3979. 11.2.4 Images
  3980. -------------
  3981. HTML export can inline images given as links in the Org-mode file, and
  3982. it can make an image the clickable part of a link. By default(1),
  3983. images are inlined if a link does not have a description. So
  3984. `[[file:myimg.jpg]]' will be inlined, while `[[file:myimg.jpg][the
  3985. image]]' will just produce a link `the image' that points to the image.
  3986. If the description part itself is a `file:' link or a `http:' URL
  3987. pointing to an image, this image will be inlined and activated so that
  3988. clicking on the image will activate the link. For example, to include
  3989. a thumbnail that will link to a high resolution version of the image,
  3990. you could use:
  3991. [[file:highres.jpg][file:thumb.jpg]]
  3992. and you could use `http' addresses just as well.
  3993. ---------- Footnotes ----------
  3994. (1) but see the variable `org-export-html-inline-images'
  3995. 
  3996. File: org, Node: CSS support, Prev: Images, Up: HTML export
  3997. 11.2.5 CSS support
  3998. ------------------
  3999. You can also give style information for the exported file. The HTML
  4000. exporter assigns the following CSS classes to appropriate parts of the
  4001. document - your style specifications may change these:
  4002. .todo TODO keywords
  4003. .done the DONE keyword
  4004. .timestamp time stamp
  4005. .timestamp-kwd keyword associated with a time stamp, like SCHEDULED
  4006. .tag tag in a headline
  4007. .target target for links
  4008. The default style specification can be configured through the option
  4009. `org-export-html-style'. If you want to use a file-local style, you
  4010. may use file variables, best wrapped into a COMMENT section at the end
  4011. of the outline tree. For example(1):
  4012. * COMMENT html style specifications
  4013. # Local Variables:
  4014. # org-export-html-style: " <style type=\"text/css\">
  4015. # p {font-weight: normal; color: gray; }
  4016. # h1 {color: black; }
  4017. # </style>"
  4018. # End:
  4019. Remember to execute `M-x normal-mode' after changing this to make
  4020. the new style visible to Emacs. This command restarts org-mode for the
  4021. current buffer and forces Emacs to re-evaluate the local variables
  4022. section in the buffer.
  4023. ---------- Footnotes ----------
  4024. (1) Under Emacs 21, the continuation lines for a variable value
  4025. should have no `#' at the start of the line.
  4026. 
  4027. File: org, Node: XOXO export, Next: iCalendar export, Prev: HTML export, Up: Exporting
  4028. 11.3 XOXO export
  4029. ================
  4030. Org-mode contains an exporter that produces XOXO-style output.
  4031. Currently, this exporter only handles the general outline structure and
  4032. does not interpret any additional Org-mode features.
  4033. `C-c C-e x'
  4034. Export as XOXO file `myfile.html'.
  4035. `C-c C-e v x'
  4036. Export only the visible part of the document.
  4037. 
  4038. File: org, Node: iCalendar export, Next: Text interpretation, Prev: XOXO export, Up: Exporting
  4039. 11.4 iCalendar export
  4040. =====================
  4041. Some people like to use Org-mode for keeping track of projects, but
  4042. still prefer a standard calendar application for anniversaries and
  4043. appointments. In this case it can be useful to have deadlines and
  4044. other time-stamped items in Org-mode files show up in the calendar
  4045. application. Org-mode can export calendar information in the standard
  4046. iCalendar format. If you also want to have TODO entries included in the
  4047. export, configure the variable `org-icalendar-include-todo'.
  4048. `C-c C-e i'
  4049. Create iCalendar entries for the current file and store them in
  4050. the same directory, using a file extension `.ics'.
  4051. `C-c C-e I'
  4052. Like `C-c C-e i', but do this for all files in `org-agenda-files'.
  4053. For each of these files, a separate iCalendar file will be
  4054. written.
  4055. `C-c C-e c'
  4056. Create a single large iCalendar file from all files in
  4057. `org-agenda-files' and write it to the file given by
  4058. `org-combined-agenda-icalendar-file'.
  4059. How this calendar is best read and updated, depends on the
  4060. application you are using. The FAQ covers this issue.
  4061. 
  4062. File: org, Node: Text interpretation, Prev: iCalendar export, Up: Exporting
  4063. 11.5 Text interpretation by the exporter
  4064. ========================================
  4065. The exporter backends interpret additional structure in the Org-mode
  4066. file in order to produce better output.
  4067. * Menu:
  4068. * Comment lines:: Some lines will not be exported
  4069. * Initial text:: Text before the first headline
  4070. * Footnotes:: Numbers like [1]
  4071. * Enhancing text:: Subscripts, symbols and more
  4072. * Export options:: How to influence the export settings
  4073. 
  4074. File: org, Node: Comment lines, Next: Initial text, Prev: Text interpretation, Up: Text interpretation
  4075. 11.5.1 Comment lines
  4076. --------------------
  4077. Lines starting with `#' in column zero are treated as comments and will
  4078. never be exported. Also entire subtrees starting with the word
  4079. `COMMENT' will never be exported.
  4080. `C-c ;'
  4081. Toggle the COMMENT keyword at the beginning of an entry.
  4082. 
  4083. File: org, Node: Initial text, Next: Footnotes, Prev: Comment lines, Up: Text interpretation
  4084. 11.5.2 Text before the first headline
  4085. -------------------------------------
  4086. Org-mode normally ignores any text before the first headline when
  4087. exporting, leaving this region for internal links to speed up navigation
  4088. etc. However, in publishing-oriented files, you might want to have some
  4089. text before the first headline, like a small introduction, special HTML
  4090. code with a navigation bar, etc. You can ask to have this part of the
  4091. file exported as well by setting the variable
  4092. `org-export-skip-text-before-1st-heading' to `nil'. On a per-file
  4093. basis, you can get the same effect with
  4094. #+OPTIONS: skip:nil
  4095. The text before the first headline will be fully processed (*note
  4096. Enhancing text::), and the first non-comment line becomes the title of
  4097. the exported document. If you need to include literal HTML, use the
  4098. special constructs described in *Note Quoting HTML tags::. The table
  4099. of contents is normally inserted directly before the first headline of
  4100. the file. If you would like to get it to a different location, insert
  4101. the string `[TABLE-OF-CONTENTS]' on a line by itself at the desired
  4102. location.
  4103. Finally, if you want to use the space before the first headline for
  4104. internal purposes, but _still_ want to place something before the first
  4105. headline when exporting the file, you can use the `#+TEXT' construct:
  4106. #+OPTIONS: skip:t
  4107. #+TEXT: This text will go before the *first* headline.
  4108. #+TEXT: We place the table of contents here:
  4109. #+TEXT: [TABLE-OF-CONTENTS]
  4110. #+TEXT: This goes between the table of contents and the first headline
  4111. 
  4112. File: org, Node: Footnotes, Next: Enhancing text, Prev: Initial text, Up: Text interpretation
  4113. 11.5.3 Footnotes
  4114. ----------------
  4115. Numbers in square brackets are treated as footnotes, so that you can use
  4116. the Emacs package `footnote.el' to create footnotes. For example:
  4117. The org-mode homepage[1] clearly needs help from
  4118. a good web designer.
  4119. [1] The link is: http://www.astro.uva.nl/~dominik/Tools/org
  4120. Note that the `footnote' package uses `C-c !' to invoke its commands.
  4121. This binding conflicts with the org-mode command for inserting inactive
  4122. time stamps. You could use the variable `footnote-prefix' to switch
  4123. footnotes commands to another key. Or, if you are too used to this
  4124. binding, you could use `org-replace-disputed-keys' and
  4125. `org-disputed-keys' to change the settings in Org-mode.
  4126. 
  4127. File: org, Node: Enhancing text, Next: Export options, Prev: Footnotes, Up: Text interpretation
  4128. 11.5.4 Enhancing text for export
  4129. --------------------------------
  4130. Some of the export backends of Org-mode allow for sophisticated text
  4131. formatting, this is true in particular for the HTML backend. Org-mode
  4132. has a number of typing conventions that allow to produce a richly
  4133. formatted output.
  4134. * Plain lists `-', `*' or `+' as bullet, or with `1.' or `2)' as
  4135. enumerator will be recognized and transformed if the backend
  4136. supports lists. See *Note Plain lists::.
  4137. * You can make words *bold*, /italic/, _underlined_, `=code=', and
  4138. even `+strikethrough+'(1).
  4139. * A line consisting of only dashes, and at least 5 of them, will be
  4140. exported as a horizontal line (`<hr/>' in HTML).
  4141. * Many TeX macros and entire LaTeX fragments are converted into HTML
  4142. entities or images (*note Embedded LaTeX::).
  4143. * Tables are transformed into native tables under the exporter, if
  4144. the export backend supports this. Data fields before the first
  4145. horizontal separator line will be formatted as table header fields.
  4146. * If a headline starts with the word `QUOTE', the text below the
  4147. headline will be typeset as fixed-width, to allow quoting of
  4148. computer codes etc. Lines starting with `:' are also typeset in
  4149. fixed-width font.
  4150. `C-c :'
  4151. Toggle fixed-width for entry (QUOTE) or region, see below.
  4152. * A double backslash _at the end of a line_ enforces a line break at
  4153. this position.
  4154. If these conversions conflict with your habits of typing ASCII text,
  4155. they can all be turned off with corresponding variables. See the
  4156. customization group `org-export-general', and the following section
  4157. which explains how to set export options with special lines in a buffer.
  4158. ---------- Footnotes ----------
  4159. (1) but remember that strikethrough is typographically evil and
  4160. should never be used.
  4161. 
  4162. File: org, Node: Export options, Prev: Enhancing text, Up: Text interpretation
  4163. 11.5.5 Export options
  4164. ---------------------
  4165. The exporter recognizes special lines in the buffer which provide
  4166. additional information. These lines may be put anywhere in the file.
  4167. The whole set of lines can be inserted into the buffer with `C-c C-e
  4168. t'. For individual lines, a good way to make sure the keyword is
  4169. correct is to type `#+' and then use `M-<TAB>' completion (*note
  4170. Completion::).
  4171. `C-c C-e t'
  4172. Insert template with export options, see example below.
  4173. #+TITLE: the title to be shown (default is the buffer name)
  4174. #+AUTHOR: the author (default taken from `user-full-name')
  4175. #+EMAIL: his/her email address (default from `user-mail-address')
  4176. #+LANGUAGE: language for HTML, e.g. `en' (`org-export-default-language')
  4177. #+TEXT: Some descriptive text to be inserted at the beginning.
  4178. #+TEXT: Several lines may be given.
  4179. #+OPTIONS: H:2 num:t toc:t \n:nil @:t ::t |:t ^:t f:t *:nil TeX:t LaTeX:t skip:t
  4180. The OPTIONS line is a compact form to specify export settings. Here
  4181. you can:
  4182. H: set the number of headline levels for export
  4183. num: turn on/off section-numbers
  4184. toc: turn on/off table of contents, or set level limit (integer)
  4185. \n: turn on/off linebreak-preservation
  4186. @: turn on/off quoted HTML tags
  4187. :: turn on/off fixed-width sections
  4188. |: turn on/off tables
  4189. ^: turn on/off TeX-like syntax for sub- and superscripts. If
  4190. you write "^:{}", `a_{b}' will be interpreted, but
  4191. the simple `a_b' will be left as it is.
  4192. f: turn on/off foototes like this[1].
  4193. *: turn on/off emphasized text (bold, italic, underlined)
  4194. TeX: turn on/off simple TeX macros in plain text
  4195. LaTeX: turn on/off LaTeX fragments
  4196. skip: turn on/off skipping the text before the first heading
  4197. 
  4198. File: org, Node: Publishing, Next: Miscellaneous, Prev: Exporting, Up: Top
  4199. 12 Publishing
  4200. *************
  4201. Org-mode includes(1) a publishing management system that allows you to
  4202. configure automatic HTML conversion of _projects_ composed of
  4203. interlinked org files. This system is called _org-publish_. You can
  4204. also configure org-publish to automatically upload your exported HTML
  4205. pages and related attachments, such as images and source code files, to
  4206. a web server. Org-publish turns org-mode into a web-site authoring
  4207. tool.
  4208. Org-publish has been contributed to Org-mode by David O'Toole.
  4209. * Menu:
  4210. * Configuration:: Defining projects
  4211. * Sample configuration:: Example projects
  4212. * Triggering publication:: Publication commands
  4213. ---------- Footnotes ----------
  4214. (1) `org-publish.el' is not yet part of Emacs, so if you are using
  4215. `org.el' as it comes with Emacs, you need to download this file
  4216. separately. Also make sure org.el is at least version 4.27.
  4217. 
  4218. File: org, Node: Configuration, Next: Sample configuration, Prev: Publishing, Up: Publishing
  4219. 12.1 Configuration
  4220. ==================
  4221. Publishing needs significant configuration to specify files, destination
  4222. and many other properties of a project.
  4223. * Menu:
  4224. * Project alist:: The central configuration variable
  4225. * Sources and destinations:: From here to there
  4226. * Selecting files:: What files are part of the project?
  4227. * Publishing action:: Setting the function doing the publishing
  4228. * Publishing options:: Tweaking HTML export
  4229. * Publishing links:: Which links keep working after publishing?
  4230. * Project page index:: Publishing a list of project files
  4231. 
  4232. File: org, Node: Project alist, Next: Sources and destinations, Prev: Configuration, Up: Configuration
  4233. 12.1.1 The variable `org-publish-project-alist'
  4234. -----------------------------------------------
  4235. Org-publish is configured almost entirely through setting the value of
  4236. one variable, called `org-publish-project-alist'. Each element of the
  4237. list configures one project, and may be in one of the two following
  4238. forms:
  4239. ("project-name" :property value :property value ...)
  4240. or
  4241. ("project-name" :components ("project-name" "project-name" ...))
  4242. In both cases, projects are configured by specifying property values.
  4243. A project defines the set of files that will be published, as well as
  4244. the publishing configuration to use when publishing those files. When
  4245. a project takes the second form listed above, the individual members of
  4246. the "components" property are taken to be components of the project,
  4247. which group together files requiring different publishing options. When
  4248. you publish such a "meta-project" all the components will also publish.
  4249. 
  4250. File: org, Node: Sources and destinations, Next: Selecting files, Prev: Project alist, Up: Configuration
  4251. 12.1.2 Sources and destinations for files
  4252. -----------------------------------------
  4253. Most properties are optional, but some should always be set. In
  4254. particular, org-publish needs to know where to look for source files,
  4255. and where to put published files.
  4256. `:base-directory' Directory containing publishing source files
  4257. `:publishing-directory'Directory (possibly remote) where output files
  4258. will be published.
  4259. `:preparation-function'Function called before starting publishing
  4260. process, for example to run `make' for updating
  4261. files to be published.
  4262. 
  4263. File: org, Node: Selecting files, Next: Publishing action, Prev: Sources and destinations, Up: Configuration
  4264. 12.1.3 Selecting files
  4265. ----------------------
  4266. By default, all files with extension `.org' in the base directory are
  4267. considered part of the project. This can be modified by setting the
  4268. properties
  4269. `:base-extension' Extension (without the dot!) of source files. This
  4270. actually is a regular expression.
  4271. `:exclude' Regular expression to match file names that should
  4272. not be published, even though they have been selected
  4273. on the basis of their extension.
  4274. `:include' List of files to be included regardless of
  4275. `:base-extension' and `:exclude'.
  4276. 
  4277. File: org, Node: Publishing action, Next: Publishing options, Prev: Selecting files, Up: Configuration
  4278. 12.1.4 Publishing Action
  4279. ------------------------
  4280. Publishing means that a file is copied to the destination directory and
  4281. possibly transformed in the process. The default transformation is to
  4282. export Org-mode files as HTML files, and this is done by the function
  4283. `org-publish-org-to-html' which calls the HTML exporter (*note HTML
  4284. export::). Other files like images only need to be copied to the
  4285. publishing destination. For non-Org-mode files, you need to specify
  4286. the publishing function.
  4287. `:publishing-function' Function executing the publication of a file.
  4288. This may also be a list of functions, which will
  4289. all be called in turn.
  4290. The function must accept two arguments: a property list containing at
  4291. least a `:publishing-directory' property, and the name of the file to
  4292. be published. It should take the specified file, make the necessary
  4293. transformation (if any) and place the result into the destination
  4294. folder. You can write your own publishing function, but `org-publish'
  4295. provides one for attachments (files that only need to be copied):
  4296. `org-publish-attachment'.
  4297. 
  4298. File: org, Node: Publishing options, Next: Publishing links, Prev: Publishing action, Up: Configuration
  4299. 12.1.5 Options for the HTML exporter
  4300. ------------------------------------
  4301. The property list can be used to set many export options for the HTML
  4302. exporter. In most cases, these properties correspond to user variables
  4303. in Org-mode. The table below lists these properties along with the
  4304. variable they belong to. See the documentation string for the
  4305. respective variable for details.
  4306. `:language' `org-export-default-language'
  4307. `:headline-levels' `org-export-headline-levels'
  4308. `:section-numbers' `org-export-with-section-numbers'
  4309. `:table-of-contents' `org-export-with-toc'
  4310. `:archived-trees' `org-export-with-archived-trees'
  4311. `:emphasize' `org-export-with-emphasize'
  4312. `:sub-superscript' `org-export-with-sub-superscripts'
  4313. `:TeX-macros' `org-export-with-TeX-macros'
  4314. `:LaTeX-fragments' `org-export-with-LaTeX-fragments'
  4315. `:fixed-width' `org-export-with-fixed-width'
  4316. `:timestamps' `org-export-with-timestamps'
  4317. .
  4318. `:tags' `org-export-with-tags'
  4319. .
  4320. `:tables' `org-export-with-tables'
  4321. `:table-auto-headline' `org-export-highlight-first-table-line'
  4322. `:style' `org-export-html-style'
  4323. `:convert-org-links' `org-export-html-link-org-files-as-html'
  4324. `:inline-images' `org-export-html-inline-images'
  4325. `:expand-quoted-html' `org-export-html-expand'
  4326. `:timestamp' `org-export-html-with-timestamp'
  4327. `:publishing-directory'`org-export-publishing-directory'
  4328. `:preamble' `org-export-html-preamble'
  4329. `:postamble' `org-export-html-postamble'
  4330. `:auto-preamble' `org-export-html-auto-preamble'
  4331. `:auto-postamble' `org-export-html-auto-postamble'
  4332. `:author' `user-full-name'
  4333. `:email' `user-mail-address'
  4334. When a property is given a value in org-publish-project-alist, its
  4335. setting overrides the value of the corresponding user variable (if any)
  4336. during publishing. options set within a file (*note Export options::),
  4337. however, override everything.
  4338. 
  4339. File: org, Node: Publishing links, Next: Project page index, Prev: Publishing options, Up: Configuration
  4340. 12.1.6 Links between published files
  4341. ------------------------------------
  4342. To create a link from one Org-mode file to another, you would use
  4343. something like `[[file:foo.org][The foo]]' or simply `file:foo.org.'
  4344. (*note Hyperlinks::). Upon publishing this link becomes a link to
  4345. `foo.html'. In this way, you can interlink the pages of your "org web"
  4346. project and the links will work as expected when you publish them to
  4347. HTML.
  4348. You may also link to related files, such as images. Provided you are
  4349. careful with relative pathnames, and provided you have also configured
  4350. org-publish to upload the related files, these links will work too.
  4351. *Note Complex example:: for an example of this usage.
  4352. Sometime an Org-mode file to be published may contain links that are
  4353. only valid in your production environment, but not in the publishing
  4354. location. In this case, use the property
  4355. `:link-validation-function' Function to validate links
  4356. to define a function for checking link validity. This function must
  4357. accept two arguments, the file name and a directory relative to which
  4358. the file name is interpreted in the production environment. If this
  4359. function returns `nil', then the HTML generator will only insert a
  4360. description into the HTML file, but no link. One option for this
  4361. function is `org-publish-validate-link' which checks if the given file
  4362. is part of any project in `org-publish-project-alist'.
  4363. 
  4364. File: org, Node: Project page index, Prev: Publishing links, Up: Configuration
  4365. 12.1.7 Project page index
  4366. -------------------------
  4367. The following properties may be used to control publishing of an index
  4368. of files or summary page for a given project.
  4369. `:auto-index' When non-nil, publish an index during
  4370. org-publish-current-project or org-publish-all.
  4371. `:index-filename' Filename for output of index. Defaults to `index.org'
  4372. (which becomes `index.html').
  4373. `:index-title' Title of index page. Defaults to name of file.
  4374. `:index-function' Plugin function to use for generation of index.
  4375. Defaults to `org-publish-org-index', which generates
  4376. a plain list of links to all files in the project.
  4377. 
  4378. File: org, Node: Sample configuration, Next: Triggering publication, Prev: Configuration, Up: Publishing
  4379. 12.2 Sample configuration
  4380. =========================
  4381. Below we provide two example configurations. The first one is a simple
  4382. project publishing only a set of Org-mode files. The second example is
  4383. more complex, with a multi-component project.
  4384. * Menu:
  4385. * Simple example:: One-component publishing
  4386. * Complex example:: A multi-component publishing example
  4387. 
  4388. File: org, Node: Simple example, Next: Complex example, Prev: Sample configuration, Up: Sample configuration
  4389. 12.2.1 Example: simple publishing configuration
  4390. -----------------------------------------------
  4391. This example publishes a set of Org-mode files to the `public_html'
  4392. directory on the local machine.
  4393. (setq org-publish-project-alist
  4394. '(("org"
  4395. :base-directory "~/org/"
  4396. :publishing-directory "~/public_html"
  4397. :section-numbers nil
  4398. :table-of-contents nil
  4399. :style "<link rel=stylesheet
  4400. href=\"../other/mystyle.css\"
  4401. type=\"text/css\">")))
  4402. 
  4403. File: org, Node: Complex example, Prev: Simple example, Up: Sample configuration
  4404. 12.2.2 Example: complex publishing configuration
  4405. ------------------------------------------------
  4406. This more complicated example publishes an entire website, including
  4407. org files converted to HTML, image files, emacs lisp source code, and
  4408. stylesheets. The publishing-directory is remote and private files are
  4409. excluded.
  4410. To ensure that links are preserved, care should be taken to replicate
  4411. your directory structure on the web server, and to use relative file
  4412. paths. For example, if your org files are kept in `~/org' and your
  4413. publishable images in `~/images', you'd link to an image with
  4414. file:../images/myimage.png
  4415. On the web server, the relative path to the image should be the
  4416. same. You can accomplish this by setting up an "images" folder in the
  4417. right place on the webserver, and publishing images to it.
  4418. (setq org-publish-project-alist
  4419. '(("orgfiles"
  4420. :base-directory "~/org/"
  4421. :base-extension "org"
  4422. :publishing-directory "/ssh:user@host:~/html/notebook/"
  4423. :publishing-function org-publish-org-to-html
  4424. :exclude "PrivatePage.org" ;; regexp
  4425. :headline-levels 3
  4426. :section-numbers nil
  4427. :table-of-contents nil
  4428. :style "<link rel=stylesheet
  4429. href=\"../other/mystyle.css\" type=\"text/css\">"
  4430. :auto-preamble t
  4431. :auto-postamble nil)
  4432. ("images"
  4433. :base-directory "~/images/"
  4434. :base-extension "jpg\\|gif\\|png"
  4435. :publishing-directory "/ssh:user@host:~/html/images/"
  4436. :publishing-function org-publish-attachment)
  4437. ("other"
  4438. :base-directory "~/other/"
  4439. :base-extension "css\\|el"
  4440. :publishing-directory "/ssh:user@host:~/html/other/"
  4441. :publishing-function org-publish-attachment)
  4442. ("website" :components ("orgfiles" "images" "other"))))
  4443. 
  4444. File: org, Node: Triggering publication, Prev: Sample configuration, Up: Publishing
  4445. 12.3 Triggering publication
  4446. ===========================
  4447. Once org-publish is properly configured, you can publish with the
  4448. following functions:
  4449. `C-c C-e C'
  4450. Prompt for a specific project and publish all files that belong to
  4451. it.
  4452. `C-c C-e P'
  4453. Publish the project containing the current file.
  4454. `C-c C-e F'
  4455. Publish only the current file.
  4456. `C-c C-e A'
  4457. Publish all projects.
  4458. Org uses timestamps to track when a file has changed. The above
  4459. functions normally only publish changed files. You can override this and
  4460. force publishing of all files by giving a prefix argument.
  4461. 
  4462. File: org, Node: Miscellaneous, Next: Extensions and Hacking, Prev: Publishing, Up: Top
  4463. 13 Miscellaneous
  4464. ****************
  4465. * Menu:
  4466. * Completion:: M-TAB knows what you need
  4467. * Customization:: Adapting Org-mode to your taste
  4468. * In-buffer settings:: Overview of the #+KEYWORDS
  4469. * The very busy C-c C-c key:: When in doubt, press C-c C-c
  4470. * Clean view:: Getting rid of leading stars in the outline
  4471. * TTY keys:: Using Org-mode on a tty
  4472. * Interaction:: Other Emacs packages
  4473. * Bugs:: Things which do not work perfectly
  4474. 
  4475. File: org, Node: Completion, Next: Customization, Prev: Miscellaneous, Up: Miscellaneous
  4476. 13.1 Completion
  4477. ===============
  4478. Org-mode supports in-buffer completion. This type of completion does
  4479. not make use of the minibuffer. You simply type a few letters into the
  4480. buffer and use the key to complete text right there.
  4481. `M-<TAB>'
  4482. Complete word at point
  4483. * At the beginning of a headline, complete TODO keywords.
  4484. * After `\', complete TeX symbols supported by the exporter.
  4485. * After `*', complete headlines in the current buffer so that
  4486. they can be used in search links like `[[*find this
  4487. headline]]'.
  4488. * After `:' in a headline, complete tags. The list of tags is
  4489. taken from the variable `org-tag-alist' (possibly set through
  4490. the `#+TAGS' in-buffer option, *note Setting tags::), or it
  4491. is created dynamically from all tags used in the current
  4492. buffer.
  4493. * After `:' and not in a headline, complete property keys. The
  4494. list of keys is constructed dynamically from all keys used in
  4495. the current buffer.
  4496. * After `[', complete link abbreviations (*note Link
  4497. abbreviations::).
  4498. * After `#+', complete the special keywords like `TYP_TODO' or
  4499. `OPTIONS' which set file-specific options for Org-mode. When
  4500. the option keyword is already complete, pressing `M-<TAB>'
  4501. again will insert example settings for this keyword.
  4502. * In the line after `#+STARTUP: ', complete startup keywords,
  4503. i.e. valid keys for this line.
  4504. * Elsewhere, complete dictionary words using ispell.
  4505. 
  4506. File: org, Node: Customization, Next: In-buffer settings, Prev: Completion, Up: Miscellaneous
  4507. 13.2 Customization
  4508. ==================
  4509. There are more than 180 variables that can be used to customize
  4510. Org-mode. For the sake of compactness of the manual, I am not
  4511. describing the variables here. A structured overview of customization
  4512. variables is available with `M-x org-customize'. Or select `Browse Org
  4513. Group' from the `Org->Customization' menu. Many settings can also be
  4514. activated on a per-file basis, by putting special lines into the buffer
  4515. (*note In-buffer settings::).
  4516. 
  4517. File: org, Node: In-buffer settings, Next: The very busy C-c C-c key, Prev: Customization, Up: Miscellaneous
  4518. 13.3 Summary of in-buffer settings
  4519. ==================================
  4520. Org-mode uses special lines in the buffer to define settings on a
  4521. per-file basis. These lines start with a `#+' followed by a keyword, a
  4522. colon, and then individual words defining a setting. Several setting
  4523. words can be in the same line, but you can also have multiple lines for
  4524. the keyword. While these settings are described throughout the manual,
  4525. here is a summary. After changing any of those lines in the buffer,
  4526. press `C-c C-c' with the cursor still in the line to activate the
  4527. changes immediately. Otherwise they become effective only when the
  4528. file is visited again in a new Emacs session.
  4529. `#+ARCHIVE: %s_done::'
  4530. This line sets the archive location for the agenda file. It
  4531. applies for all subsequent lines until the next `#+CATEGORY' line,
  4532. or the end of the file. The first such line also applies to any
  4533. entries before it. The corresponding variable is
  4534. `org-archive-location'.
  4535. `#+CATEGORY:'
  4536. This line sets the category for the agenda file. The category
  4537. applies for all subsequent lines until the next `#+CATEGORY' line,
  4538. or the end of the file. The first such line also applies to any
  4539. entries before it.
  4540. `#+COLUMNS: %25ITEM .....'
  4541. Set the default format for columns view. This format applies when
  4542. columns view is invoked in location where no COLUMNS property
  4543. applies.
  4544. `#+CONSTANTS: name1=value1 ...'
  4545. Set file-local values for constants to be used in table formulas.
  4546. This line set the local variable
  4547. `org-table-formula-constants-local'. The global version of theis
  4548. variable is `org-table-formula-constants'. corresponding
  4549. `#+LINK: linkword replace'
  4550. These lines (several are allowed) specify link abbreviations.
  4551. *Note Link abbreviations::. The corresponding variable is
  4552. `org-link-abbrev-alist'.
  4553. `#+PRIORITIES: highest lowest default'
  4554. This line sets the limits and the default for the priorities. All
  4555. three must be either letters A-Z or numbers 0-9. The highest
  4556. priority must have a lower ASCII number that the lowest priority.
  4557. `#+STARTUP:'
  4558. This line sets options to be used at startup of org-mode, when an
  4559. Org-mode file is being visited. The first set of options deals
  4560. with the initial visibility of the outline tree. The
  4561. corresponding variable for global default settings is
  4562. `org-startup-folded', with a default value `t', which means
  4563. `overview'.
  4564. overview top-level headlines only
  4565. content all headlines
  4566. showall no folding at all, show everything
  4567. Then there are options for aligning tables upon visiting a file.
  4568. This is useful in files containing narrowed table columns. The
  4569. corresponding variable is `org-startup-align-all-tables', with a
  4570. default value `nil'.
  4571. align align all tables
  4572. noalign don't align tables on startup
  4573. Logging TODO state changes and clock intervals (variable
  4574. `org-log-done') can be configured using these options.
  4575. logging record a timestamp when an item is marked DONE
  4576. nologging don't record when items are marked DONE
  4577. lognotedone record timestamp and a note when DONE
  4578. lognotestate record timestamp, note when TODO state changes
  4579. logrepeat record a not when re-instating a repeating item
  4580. nologrepeat do not record when re-instating repeating item
  4581. lognoteclock-out record timestamp and a note when clocking out
  4582. Here are the options for hiding leading stars in outline headings.
  4583. The corresponding variables are `org-hide-leading-stars' and
  4584. `org-odd-levels-only', both with a default setting `nil' (meaning
  4585. `showstars' and `oddeven').
  4586. hidestars make all but one of the stars starting a headline invisible.
  4587. showstars show all stars starting a headline
  4588. odd allow only odd outline levels (1,3,...)
  4589. oddeven allow all outline levels
  4590. To turn on custom format overlays over time stamps (variables
  4591. `org-put-time-stamp-overlays' and
  4592. `org-time-stamp-overlay-formats'), use
  4593. customtime overlay custom time format
  4594. The following options influence the table spreadsheet (variable
  4595. `constants-unit-system').
  4596. constcgs `constants.el' should use the c-g-s unit system
  4597. constSI `constants.el' should use the SI unit system
  4598. `#+TAGS: TAG1(c1) TAG2(c2)'
  4599. These lines (several such lines are allowed) specify the legal
  4600. tags in this file, and (potentially) the corresponding _fast tag
  4601. selection_ keys. The corresponding variable is `org-tag-alist'.
  4602. `#+TBLFM:'
  4603. This line contains the formulas for the table directly above the
  4604. line.
  4605. `#+TITLE:, #+AUTHOR:, #+EMAIL:, #+LANGUAGE:, #+TEXT:, #+OPTIONS:'
  4606. These lines provide settings for exporting files. For more
  4607. details see *Note Export options::.
  4608. `#+SEQ_TODO: #+TYP_TODO:'
  4609. These lines set the TODO keywords and their interpretation in the
  4610. current file. The corresponding variables are `org-todo-keywords'
  4611. and `org-todo-interpretation'.
  4612. 
  4613. File: org, Node: The very busy C-c C-c key, Next: Clean view, Prev: In-buffer settings, Up: Miscellaneous
  4614. 13.4 The very busy C-c C-c key
  4615. ==============================
  4616. The key `C-c C-c' has many purposes in org-mode, which are all
  4617. mentioned scattered throughout this manual. One specific function of
  4618. this key is to add _tags_ to a headline (*note Tags::). In many other
  4619. circumstances it means something like _Hey Org-mode, look here and
  4620. update according to what you see here_. Here is a summary of what this
  4621. means in different contexts.
  4622. - If there are highlights in the buffer from the creation of a sparse
  4623. tree, or from clock display, remove these highlights.
  4624. - If the cursor is in one of the special `#+KEYWORD' lines, this
  4625. triggers scanning the buffer for these lines and updating the
  4626. information.
  4627. - If the cursor is inside a table, realign the table. This command
  4628. works even if the automatic table editor has been turned off.
  4629. - If the cursor is on a `#+TBLFM' line, re-apply the formulas to the
  4630. entire table.
  4631. - If the cursor is inside a table created by the `table.el' package,
  4632. activate that table.
  4633. - If the current buffer is a remember buffer, close the note and
  4634. file it. With a prefix argument, file it, without further
  4635. interaction, to the default location.
  4636. - If the cursor is on a `<<<target>>>', update radio targets and
  4637. corresponding links in this buffer.
  4638. - If the cursor is in a plain list item with a checkbox, toggle the
  4639. status of the checkbox.
  4640. - If the cursor is on a numbered item in a plain list, renumber the
  4641. ordered list.
  4642. 
  4643. File: org, Node: Clean view, Next: TTY keys, Prev: The very busy C-c C-c key, Up: Miscellaneous
  4644. 13.5 A cleaner outline view
  4645. ===========================
  4646. Some people find it noisy and distracting that the Org-mode headlines
  4647. are starting with a potentially large number of stars. For example the
  4648. tree from *Note Headlines:::
  4649. * Top level headline
  4650. ** Second level
  4651. *** 3rd level
  4652. some text
  4653. *** 3rd level
  4654. more text
  4655. * Another top level headline
  4656. Unfortunately this is deeply ingrained into the code of Org-mode and
  4657. cannot be easily changed. You can, however, modify the display in such
  4658. a way that all leading stars become invisible and the outline more easy
  4659. to read. To do this, customize the variable `org-hide-leading-stars'
  4660. like this:
  4661. (setq org-hide-leading-stars t)
  4662. or change this on a per-file basis with one of the lines (anywhere in
  4663. the buffer)
  4664. #+STARTUP: showstars
  4665. #+STARTUP: hidestars
  4666. Press `C-c C-c' with the cursor in a `STARTUP' line to activate the
  4667. modifications.
  4668. With stars hidden, the tree becomes:
  4669. * Top level headline
  4670. * Second level
  4671. * 3rd level
  4672. some text
  4673. * 3rd level
  4674. more text
  4675. * Another top level headline
  4676. Note that the leading stars are not truly replaced by whitespace, they
  4677. are only fontified with the face `org-hide' that uses the background
  4678. color as font color. If you are not using either white or black
  4679. background, you may have to customize this face to get the wanted
  4680. effect. Another possibility is to set this font such that the extra
  4681. stars are almost invisible, for example using the color `grey90' on a
  4682. white background.
  4683. Things become cleaner still if you skip all the even levels and use
  4684. only odd levels 1, 3, 5..., effectively adding two stars to go from one
  4685. outline level to the next:
  4686. * Top level headline
  4687. * Second level
  4688. * 3rd level
  4689. some text
  4690. * 3rd level
  4691. more text
  4692. * Another top level headline
  4693. In order to make the structure editing and export commands handle this
  4694. convention correctly, use
  4695. (setq org-odd-levels-only t)
  4696. or set this on a per-file basis with one of the following lines (don't
  4697. forget to press `C-c C-c' with the cursor in the startup line to
  4698. activate changes immediately).
  4699. #+STARTUP: odd
  4700. #+STARTUP: oddeven
  4701. You can convert an Org-mode file from single-star-per-level to the
  4702. double-star-per-level convention with `M-x org-convert-to-odd-levels
  4703. RET' in that file. The reverse operation is `M-x
  4704. org-convert-to-oddeven-levels'.
  4705. 
  4706. File: org, Node: TTY keys, Next: Interaction, Prev: Clean view, Up: Miscellaneous
  4707. 13.6 Using org-mode on a tty
  4708. ============================
  4709. Org-mode uses a number of keys that are not accessible on a tty. This
  4710. applies to most special keys like cursor keys, <TAB> and <RET>, when
  4711. these are combined with modifier keys like <Meta> and/or <Shift>.
  4712. Org-mode uses these bindings because it needs to provide keys for a
  4713. large number of commands, and because these keys appeared particularly
  4714. easy to remember. In order to still be able to access the core
  4715. functionality of Org-mode on a tty, alternative bindings are provided.
  4716. Here is a complete list of these bindings, which are obviously more
  4717. cumbersome to use. Note that sometimes a work-around can be better.
  4718. For example changing a time stamp is really only fun with `S-<cursor>'
  4719. keys. On a tty you would rather use `C-c .' to re-insert the
  4720. timestamp.
  4721. Default Alternative 1 Alternative 2
  4722. `S-<TAB>' `C-u <TAB>'
  4723. `M-<left>' `C-c C-x l' `<Esc> <left>'
  4724. `M-S-<left>'`C-c C-x L'
  4725. `M-<right>' `C-c C-x r' `<Esc>
  4726. <right>'
  4727. `M-S-<right>'`C-c C-x R'
  4728. `M-<up>' `C-c C-x u' `<Esc> <up>'
  4729. `M-S-<up>' `C-c C-x U'
  4730. `M-<down>' `C-c C-x d' `<Esc> <down>'
  4731. `M-S-<down>'`C-c C-x D'
  4732. `S-<RET>' `C-c C-x c'
  4733. `M-<RET>' `C-c C-x m' `<Esc> <RET>'
  4734. `M-S-<RET>' `C-c C-x M'
  4735. `S-<left>' `C-c <left>'
  4736. `S-<right>' `C-c <right>'
  4737. `S-<up>' `C-c <up>'
  4738. `S-<down>' `C-c <down>'
  4739. `C-S-<left>'`C-c C-x
  4740. <left>'
  4741. `C-S-<right>'`C-c C-x
  4742. <right>'
  4743. 
  4744. File: org, Node: Interaction, Next: Bugs, Prev: TTY keys, Up: Miscellaneous
  4745. 13.7 Interaction with other packages
  4746. ====================================
  4747. Org-mode lives in the world of GNU Emacs and interacts in various ways
  4748. with other code out there.
  4749. * Menu:
  4750. * Cooperation:: Packages Org-mode cooperates with
  4751. * Conflicts:: Packages that lead to conflicts
  4752. 
  4753. File: org, Node: Cooperation, Next: Conflicts, Prev: Interaction, Up: Interaction
  4754. 13.7.1 Packages that Org-mode cooperates with
  4755. ---------------------------------------------
  4756. `calc.el' by Dave Gillespie
  4757. Org-mode uses the calc package for implementing spreadsheet
  4758. functionality in its tables (*note The spreadsheet::). Org-mode
  4759. checks for the availability of calc by looking for the function
  4760. `calc-eval' which should be autoloaded in your setup if calc has
  4761. been installed properly. As of Emacs 22, calc is part of the Emacs
  4762. distribution. Another possibility for interaction between the two
  4763. packages is using calc for embedded calculations. *Note Embedded
  4764. Mode: (calc)Embedded Mode.
  4765. `constants.el' by Carsten Dominik
  4766. In a table formula (*note The spreadsheet::), it is possible to use
  4767. names for natural constants or units. Instead of defining your own
  4768. constants in the variable `org-table-formula-constants', install
  4769. the `constants' package which defines a large number of constants
  4770. and units, and lets you use unit prefixes like `M' for `Mega' etc.
  4771. You will need version 2.0 of this package, available at
  4772. `http://www.astro.uva.nl/~dominik/Tools'. Org-mode checks for the
  4773. function `constants-get', which has to be autoloaded in your
  4774. setup. See the installation instructions in the file
  4775. `constants.el'.
  4776. `cdlatex.el' by Carsten Dominik
  4777. Org-mode can make use of the cdlatex package to efficiently enter
  4778. LaTeX fragments into Org-mode files. See *Note CDLaTeX mode::.
  4779. `remember.el' by John Wiegley
  4780. Org mode cooperates with remember, see *Note Remember::.
  4781. `Remember.el' is not part of Emacs, find it on the web.
  4782. `table.el' by Takaaki Ota
  4783. Complex ASCII tables with automatic line wrapping, column- and
  4784. row-spanning, and alignment can be created using the Emacs table
  4785. package by Takaaki Ota (`http://sourceforge.net/projects/table',
  4786. and also part of Emacs 22). When <TAB> or `C-c C-c' is pressed in
  4787. such a table, Org-mode will call `table-recognize-table' and move
  4788. the cursor into the table. Inside a table, the keymap of Org-mode
  4789. is inactive. In order to execute Org-mode-related commands, leave
  4790. the table.
  4791. `C-c C-c'
  4792. Recognize `table.el' table. Works when the cursor is in a
  4793. table.el table.
  4794. `C-c ~'
  4795. Insert a table.el table. If there is already a table at
  4796. point, this command converts it between the table.el format
  4797. and the Org-mode format. See the documentation string of the
  4798. command `org-convert-table' for the restrictions under which
  4799. this is possible.
  4800. `table.el' is part of Emacs 22.
  4801. `footnote.el' by Steven L. Baur
  4802. Org-mode recognizes numerical footnotes as provided by this package
  4803. (*note Footnotes::).
  4804. 
  4805. File: org, Node: Conflicts, Prev: Cooperation, Up: Interaction
  4806. 13.7.2 Packages that lead to conflicts with Org-mode
  4807. ----------------------------------------------------
  4808. `allout.el' by Ken Manheimer
  4809. Startup of Org-mode may fail with the error message
  4810. `(wrong-type-argument keymapp nil)' when there is an outdated
  4811. version `allout.el' on the load path, for example the version
  4812. distributed with Emacs 21.x. Upgrade to Emacs 22 and this problem
  4813. will disappear. If for some reason you cannot do this, make sure
  4814. that org.el is loaded _before_ `allout.el', for example by putting
  4815. `(require 'org)' early enough into your `.emacs' file.
  4816. `CUA.el' by Kim. F. Storm
  4817. Keybindings in Org-mode conflict with the `S-<cursor>' keys used
  4818. by CUA-mode (as well as pc-select-mode and s-region-mode) to
  4819. select and extend the region. If you want to use one of these
  4820. packages along with Org-mode, configure the variable
  4821. `org-CUA-compatible'. When set, Org-mode will move the following
  4822. keybindings in org-mode files, and in the agenda buffer (but not
  4823. during date selection).
  4824. S-UP -> M-p S-DOWN -> M-n
  4825. S-LEFT -> M-- S-RIGHT -> M-+
  4826. Yes, these are unfortunately more difficult to remember. If you
  4827. want to have other replacement keys, look at the variable
  4828. `org-disputed-keys'.
  4829. `windmove.el' by Hovav Shacham
  4830. Also this package uses the `S-<cursor>' keys, so everything written
  4831. in the paragraph above about CUA mode also applies here.
  4832. `footnote.el' by Steven L. Baur
  4833. Org-mode supports the syntax of the footnote package, but only the
  4834. numerical footnote markers. Also, the default key for footnote
  4835. commands, `C-c !' is already used by org-mode. You could use the
  4836. variable `footnote-prefix' to switch footnotes commands to another
  4837. key. Or, you could use `org-replace-disputed-keys' and
  4838. `org-disputed-keys' to change the settings in Org-mode.
  4839. 
  4840. File: org, Node: Bugs, Prev: Interaction, Up: Miscellaneous
  4841. 13.8 Bugs
  4842. =========
  4843. Here is a list of things that should work differently, but which I have
  4844. found too hard to fix.
  4845. * If a table field starts with a link, and if the corresponding table
  4846. column is narrowed (*note Narrow columns::) to a width too small to
  4847. display the link, the field would look entirely empty even though
  4848. it is not. To prevent this, Org-mode throws an error. The
  4849. work-around is to make the column wide enough to fit the link, or
  4850. to add some text (at least 2 characters) before the link in the
  4851. same field.
  4852. * Narrowing table columns does not work on XEmacs, because the
  4853. `format' function does not transport text properties.
  4854. * Text in an entry protected with the `QUOTE' keyword should not
  4855. autowrap.
  4856. * When the application called by `C-c C-o' to open a file link fails
  4857. (for example because the application does not exist or refuses to
  4858. open the file), it does so silently. No error message is
  4859. displayed.
  4860. * Recalculating a table line applies the formulas from left to right.
  4861. If a formula uses _calculated_ fields further down the row,
  4862. multiple recalculation may be needed to get all fields consistent.
  4863. You may use the command `org-table-iterate' (`C-u C-c *') to
  4864. recalculate until convergence.
  4865. * A single letter cannot be made bold, for example `*a*'.
  4866. * The exporters work well, but could be made more efficient.
  4867. 
  4868. File: org, Node: Extensions and Hacking, Next: History and Acknowledgments, Prev: Miscellaneous, Up: Top
  4869. Appendix A Extensions, Hooks and Hacking
  4870. ****************************************
  4871. This appendix lists extensions for Org-mode written by other authors.
  4872. It also covers some aspects where users can extend the functionality of
  4873. Org-mode.
  4874. * Menu:
  4875. * Extensions:: Existing 3rd-part extensions
  4876. * Tables in arbitrary syntax:: Orgtbl for LaTeX and other programs
  4877. * Dynamic blocks:: Automatically filled blocks
  4878. * Special agenda views:: Customized views
  4879. * Using the property API:: Writing programs that use entry properties
  4880. 
  4881. File: org, Node: Extensions, Next: Tables in arbitrary syntax, Prev: Extensions and Hacking, Up: Extensions and Hacking
  4882. A.1 Third-party extensions for Org-mode
  4883. =======================================
  4884. The following extensions for Org-mode have been written by other people:
  4885. `org-publish.el' by David O'Toole
  4886. This package provides facilities for publishing related sets of
  4887. Org-mode files together with linked files like images as webpages.
  4888. It is highly configurable and can be used for other publishing
  4889. purposes as well. As of Org-mode version 4.30, `org-publish.el'
  4890. is part of the Org-mode distribution. It is not yet part of
  4891. Emacs, however, a delay caused by the preparations for the 22.1
  4892. release. In the mean time, `org-publish.el' can be downloaded
  4893. from David's site: `http://dto.freeshell.org/e/org-publish.el'.
  4894. `org-mouse.el' by Piotr Zielinski
  4895. This package implements extended mouse functionality for Org-mode.
  4896. It allows you to cycle visibility and to edit the document
  4897. structure with the mouse. Best of all, it provides a
  4898. context-sensitive menu on <mouse-3> that changes depending on the
  4899. context of a mouse-click. As of Org-mode version 4.53,
  4900. `org-mouse.el' is part of the Org-mode distribution. It is not
  4901. yet part of Emacs, however, a delay caused by the preparations for
  4902. the 22.1 release. In the mean time, `org-mouse.el' can be
  4903. downloaded from Piotr's site:
  4904. `http://www.cl.cam.ac.uk/~pz215/files/org-mouse.el'.
  4905. `org-blog.el' by David O'Toole
  4906. A blogging plug-in for `org-publish.el'.
  4907. `http://dto.freeshell.org/notebook/OrgMode.html'.
  4908. `blorg.el' by Bastien Guerry
  4909. Publish Org-mode files as blogs.
  4910. `http://www.cognition.ens.fr/~guerry/blorg.html'.
  4911. `org2rem.el' by Bastien Guerry
  4912. Translates Org-mode files into something readable by Remind.
  4913. `http://www.cognition.ens.fr/~guerry/u/org2rem.el'.
  4914. 
  4915. File: org, Node: Tables in arbitrary syntax, Next: Dynamic blocks, Prev: Extensions, Up: Extensions and Hacking
  4916. A.2 Tables in arbitrary syntax
  4917. ==============================
  4918. Since Orgtbl-mode can be used as a minor mode in arbitrary buffers, a
  4919. frequent feature request has been to make it work with native tables in
  4920. specific languages, for example LaTeX. However, this is extremely hard
  4921. to do in a general way, would lead to a customization nightmare, and
  4922. would take away much of the simplicity of the Orgtbl-mode table editor.
  4923. This appendix describes a different approach. We keep the
  4924. Orgtbl-mode table in its native format (the source table), and use a
  4925. custom function to translate the table to the correct syntax, and to
  4926. install it in the right location (the target table). This puts the
  4927. burden of writing conversion functions on the user, but it allows for a
  4928. very flexible system.
  4929. * Menu:
  4930. * Radio tables:: Sending and receiving
  4931. * A LaTeX example:: Step by step, almost a tutorial
  4932. * Translator functions:: Copy and modify
  4933. 
  4934. File: org, Node: Radio tables, Next: A LaTeX example, Prev: Tables in arbitrary syntax, Up: Tables in arbitrary syntax
  4935. A.2.1 Radio tables
  4936. ------------------
  4937. To define the location of the target table, you first need to create two
  4938. lines that are comments in the current mode, but contain magic words for
  4939. Orgtbl-mode to find. Orgtbl-mode will insert the translated table
  4940. between these lines, replacing whatever was there before. For example:
  4941. /* BEGIN RECEIVE ORGTBL table_name */
  4942. /* END RECEIVE ORGTBL table_name */
  4943. Just above the source table, we put a special line that tells
  4944. Orgtbl-mode how to translate this table and where to install it. For
  4945. example:
  4946. #+ORGTBL: SEND table_name translation_function arguments....
  4947. `table_name' is the reference name for the table that is also used in
  4948. the receiver lines. `translation_function' is the Lisp function that
  4949. does the translation. Furthermore, the line can contain a list of
  4950. arguments (alternating key and value) at the end. The arguments will be
  4951. passed as a property list to the translation function for
  4952. interpretation. A few standard parameters are already recognized and
  4953. acted upon before the translation function is called:
  4954. `:skip N'
  4955. Skip the first N lines of the table. Hlines do count!
  4956. `:skipcols (n1 n2 ...)'
  4957. List of columns that should be skipped. If the table has a column
  4958. with calculation marks, that column is automatically discarded as
  4959. well. Please note that the translator function sees the table
  4960. _after_ the removal of these columns, the function never knows
  4961. that there have been additional columns.
  4962. The one problem remaining is how to keep the source table in the buffer
  4963. without disturbing the normal workings of the file, for example during
  4964. compilation of a C file or processing of a LaTeX file. There are a
  4965. number of different solutions:
  4966. * The table could be placed in a block comment if that is supported
  4967. by the language. For example, in C-mode you could wrap the table
  4968. between `/*' and `*/' lines.
  4969. * Sometimes it is possible to put the table after some kind of END
  4970. statement, for example `\bye' in TeX and `\end{document}' in LaTeX.
  4971. * You can just comment the table line by line whenever you want to
  4972. process the file, and uncomment it whenever you need to edit the
  4973. table. This only sounds tedious - the command `M-x
  4974. orgtbl-toggle-comment' does make this comment-toggling very easy,
  4975. in particular if you bind it to a key.
  4976. 
  4977. File: org, Node: A LaTeX example, Next: Translator functions, Prev: Radio tables, Up: Tables in arbitrary syntax
  4978. A.2.2 A LaTeX example
  4979. ---------------------
  4980. The best way to wrap the source table in LaTeX is to use the `comment'
  4981. environment provided by `comment.sty'. It has to be activated by
  4982. placing `\usepackage{comment}' into the document header. Orgtbl-mode
  4983. can insert a radio table skeleton(1) with the command `M-x
  4984. orgtbl-insert-radio-table'. You will be prompted for a table name,
  4985. lets say we use `salesfigures'. You will then get the following
  4986. template:
  4987. % BEGIN RECEIVE ORGTBL salesfigures
  4988. % END RECEIVE ORGTBL salesfigures
  4989. \begin{comment}
  4990. #+ORGTBL: SEND salesfigures orgtbl-to-latex
  4991. | | |
  4992. \end{comment}
  4993. The `#+ORGTBL: SEND' line tells orgtbl-mode to use the function
  4994. `orgtbl-to-latex' to convert the table into LaTeX and to put it into
  4995. the receiver location with name `salesfigures'. You may now fill in
  4996. the table, feel free to use the spreadsheet features(2):
  4997. % BEGIN RECEIVE ORGTBL salesfigures
  4998. % END RECEIVE ORGTBL salesfigures
  4999. \begin{comment}
  5000. #+ORGTBL: SEND salesfigures orgtbl-to-latex
  5001. | Month | Days | Nr sold | per day |
  5002. |-------+------+---------+---------|
  5003. | Jan | 23 | 55 | 2.4 |
  5004. | Feb | 21 | 16 | 0.8 |
  5005. | March | 22 | 278 | 12.6 |
  5006. #+TBLFM: $4=$3/$2;%.1f
  5007. % $ (optional extra dollar to keep font-lock happy, see footnote)
  5008. \end{comment}
  5009. When you are done, press `C-c C-c' in the table to get the converted
  5010. table inserted between the two marker lines.
  5011. Now lets assume you want to make the table header by hand, because
  5012. you want to control how columns are aligned etc. In this case we make
  5013. sure that the table translator does skip the first 2 lines of the source
  5014. table, and tell the command to work as a splice, i.e. to not produce
  5015. header and footer commands of the target table:
  5016. \begin{tabular}{lrrr}
  5017. Month & \multicolumn{1}{c}{Days} & Nr.\ sold & per day\\
  5018. % BEGIN RECEIVE ORGTBL salesfigures
  5019. % END RECEIVE ORGTBL salesfigures
  5020. \end{tabular}
  5021. %
  5022. \begin{comment}
  5023. #+ORGTBL: SEND salesfigures orgtbl-to-latex :splice t :skip 2
  5024. | Month | Days | Nr sold | per day |
  5025. |-------+------+---------+---------|
  5026. | Jan | 23 | 55 | 2.4 |
  5027. | Feb | 21 | 16 | 0.8 |
  5028. | March | 22 | 278 | 12.6 |
  5029. #+TBLFM: $4=$3/$2;%.1f
  5030. \end{comment}
  5031. The LaTeX translator function `orgtbl-to-latex' is already part of
  5032. Orgtbl-mode. It uses a `tabular' environment to typeset the table and
  5033. marks horizontal lines with `\hline'. Furthermore, it interprets the
  5034. following parameters:
  5035. `:splice nil/t'
  5036. When set to t, return only table body lines, don't wrap them into a
  5037. tabular environment. Default is nil.
  5038. `:fmt fmt'
  5039. A format to be used to wrap each field, should contain `%s' for the
  5040. original field value. For example, to wrap each field value in
  5041. dollars, you could use `:fmt "$%s$"'. This may also be a property
  5042. list with column numbers and formats. for example `:fmt (2 "$%s$"
  5043. 4 "%s\\%%")'.
  5044. `:efmt efmt'
  5045. Use this format to print numbers with exponentials. The format
  5046. should have `%s' twice for inserting mantissa and exponent, for
  5047. example `"%s\\times10^{%s}"'. The default is `"%s\\,(%s)"'. This
  5048. may also be a property list with column numbers and formats, for
  5049. example `:efmt (2 "$%s\\times10^{%s}$" 4 "$%s\\cdot10^{%s}$")'.
  5050. After `efmt' has been applied to a value, `fmt' will also be
  5051. applied.
  5052. ---------- Footnotes ----------
  5053. (1) By default this works only for LaTeX, HTML, and TeXInfo.
  5054. Configure the variable `orgtbl-radio-tables' to install templates for
  5055. other modes.
  5056. (2) If the `#+TBLFM' line contains an odd number of dollar
  5057. characters, this may cause problems with font-lock in latex-mode. As
  5058. shown in the example you can fix this by adding an extra line inside the
  5059. `comment' environment that is used to balance the dollar expressions.
  5060. If you are using AUCTeX with the font-latex library, a much better
  5061. solution is to add the `comment' environment to the variable
  5062. `LaTeX-verbatim-environments'.
  5063. 
  5064. File: org, Node: Translator functions, Prev: A LaTeX example, Up: Tables in arbitrary syntax
  5065. A.2.3 Translator functions
  5066. --------------------------
  5067. Orgtbl-mode has several translator functions built-in:
  5068. `orgtbl-to-latex', `orgtbl-to-html', and `orgtbl-to-texinfo'. Except
  5069. for `orgtbl-to-html'(1), these all use a generic translator,
  5070. `orgtbl-to-generic'. For example, `orgtbl-to-latex' itself is a very
  5071. short function that computes the column definitions for the `tabular'
  5072. environment, defines a few field and line separators and then hands
  5073. over to the generic translator. Here is the entire code:
  5074. (defun orgtbl-to-latex (table params)
  5075. "Convert the orgtbl-mode TABLE to LaTeX."
  5076. (let* ((alignment (mapconcat (lambda (x) (if x "r" "l"))
  5077. org-table-last-alignment ""))
  5078. (params2
  5079. (list
  5080. :tstart (concat "\\begin{tabular}{" alignment "}")
  5081. :tend "\\end{tabular}"
  5082. :lstart "" :lend " \\\\" :sep " & "
  5083. :efmt "%s\\,(%s)" :hline "\\hline")))
  5084. (orgtbl-to-generic table (org-combine-plists params2 params))))
  5085. As you can see, the properties passed into the function (variable
  5086. PARAMS) are combined with the ones newly defined in the function
  5087. (variable PARAMS2). The ones passed into the function (i.e. the ones
  5088. set by the `ORGTBL SEND' line) take precedence. So if you would like
  5089. to use the LaTeX translator, but wanted the line endings to be
  5090. `\\[2mm]' instead of the default `\\', you could just overrule the
  5091. default with
  5092. #+ORGTBL: SEND test orgtbl-to-latex :lend " \\\\[2mm]"
  5093. For a new language, you can either write your own converter function
  5094. in analogy with the LaTeX translator, or you can use the generic
  5095. function directly. For example, if you have a language where a table
  5096. is started with `!BTBL!', ended with `!ETBL!', and where table lines are
  5097. started with `!BL!', ended with `!EL!' and where the field separator is
  5098. a TAB, you could call the generic translator like this (on a single
  5099. line!):
  5100. #+ORGTBL: SEND test orgtbl-to-generic :tstart "!BTBL!" :tend "!ETBL!"
  5101. :lstart "!BL! " :lend " !EL!" :sep "\t"
  5102. Please check the documentation string of the function
  5103. `orgtbl-to-generic' for a full list of parameters understood by that
  5104. function and remember that you can pass each of them into
  5105. `orgtbl-to-latex', `orgtbl-to-texinfo', and any other function using
  5106. the generic function.
  5107. Of course you can also write a completely new function doing
  5108. complicated things the generic translator cannot do. A translator
  5109. function takes two arguments. The first argument is the table, a list
  5110. of lines, each line either the symbol `hline' or a list of fields. The
  5111. second argument is the property list containing all parameters
  5112. specified in the `#+ORGTBL: SEND' line. The function must return a
  5113. single string containing the formatted table. If you write a generally
  5114. useful translator, please post it on `emacs-orgmode@gnu.org' so that
  5115. others can benefit from your work.
  5116. ---------- Footnotes ----------
  5117. (1) The HTML translator uses the same code that produces tables
  5118. during HTML export.
  5119. 
  5120. File: org, Node: Dynamic blocks, Next: Special agenda views, Prev: Tables in arbitrary syntax, Up: Extensions and Hacking
  5121. A.3 Dynamic blocks
  5122. ==================
  5123. Org-mode documents can contain _dynamic blocks_. These are specially
  5124. marked regions that are updated by some user-written function. A good
  5125. example for such a block is the clock table inserted by the command
  5126. `C-c C-x C-r' (*note Clocking work time::).
  5127. Dynamic block are enclosed by a BEGIN-END structure that assigns a
  5128. name to the block and can also specify parameters for the function
  5129. producing the content of the block.
  5130. #+BEGIN: myblock :parameter1 value1 :parameter2 value2 ...
  5131. #+END:
  5132. Dynamic blocks are updated with the following commands
  5133. `C-c C-x C-u'
  5134. Update dynamic block at point.
  5135. `C-u C-c C-x C-u'
  5136. Update all dynamic blocks in the current file.
  5137. Updating a dynamic block means to remove all the text between BEGIN
  5138. and END, parse the BEGIN line for parameters and then call the specific
  5139. writer function for this block to insert the new content. For a block
  5140. with name `myblock', the writer function is `org-dblock-write:myblock'
  5141. with as only parameter a property list with the parameters given in the
  5142. begin line. Here is a trivial example of a block that keeps track of
  5143. when the block update function was last run:
  5144. #+BEGIN: block-update-time :format "on %m/%d/%Y at %H:%M"
  5145. #+END:
  5146. The corresponding block writer function could look like this:
  5147. (defun org-dblock-write:block-update-time (params)
  5148. (let ((fmt (or (plist-get params :format) "%d. %m. %Y")))
  5149. (insert "Last block update at: "
  5150. (format-time-string fmt (current-time)))))
  5151. If you want to make sure that all dynamic blocks are always
  5152. up-to-date, you could add the function `org-update-all-dblocks' to a
  5153. hook, for example `before-save-hook'. `org-update-all-dblocks' is
  5154. written in a way that is does nothing in buffers that are not in
  5155. Org-mode.
  5156. 
  5157. File: org, Node: Special agenda views, Next: Using the property API, Prev: Dynamic blocks, Up: Extensions and Hacking
  5158. A.4 Special Agenda Views
  5159. ========================
  5160. Org-mode provides a special hook that can be used to narrow down the
  5161. selection made by any of the agenda views. You may specify a function
  5162. that is used at each match to verify if the match should indeed be part
  5163. of the agenda view, and if not, how much should be skipped.
  5164. Let's say you want to produce a list of projects that contain a
  5165. WAITING tag anywhere in the project tree. Let's further assume that
  5166. you have marked all tree headings that define a project with the todo
  5167. keyword PROJECT. In this case you would run a todo search for the
  5168. keyword PROJECT, but skip the match unless there is a WAITING tag
  5169. anywhere in the subtree belonging to the project line.
  5170. To achieve this, you must write a function that searches the subtree
  5171. for the tag. If the tag is found, the function must return `nil' to
  5172. indicate that this match should not be skipped. If there is no such
  5173. tag, return the location of the end of the subtree, to indicate that
  5174. search should continue from there.
  5175. (defun my-skip-unless-waiting ()
  5176. "Skip trees that are not waiting"
  5177. (let ((subtree-end (save-excursion (org-end-of-subtree t))))
  5178. (if (re-search-forward ":WAITING:" subtree-end t)
  5179. nil ; tag found, do not skip
  5180. subtree-end))) ; tag not found, continue after end of subtree
  5181. Furthermore you must write a command that uses `let' to temporarily
  5182. put this function into the variable `org-agenda-skip-function', sets
  5183. the header string for the agenda buffer, and calls the todo-list
  5184. generator while asking for the specific TODO keyword PROJECT. The
  5185. function must also accept one argument MATCH, but it can choose to
  5186. ignore it(1) (as we do in the example below). Here is the example:
  5187. (defun my-org-waiting-projects (&optional match)
  5188. "Produce a list of projects that contain a WAITING tag.
  5189. MATCH is being ignored."
  5190. (interactive)
  5191. (let ((org-agenda-skip-function 'my-skip-unless-waiting)
  5192. (org-agenda-overriding-header "Projects waiting for something: "))
  5193. ;; make the list
  5194. (org-todo-list "PROJECT")))
  5195. ---------- Footnotes ----------
  5196. (1) MATCH must be present in case you want to define a custom
  5197. command for producing this special list. Custom commands always supply
  5198. the MATCH argument, but it can be empty if you do not specify it while
  5199. defining the command(*note Custom agenda views::).
  5200. 
  5201. File: org, Node: Using the property API, Prev: Special agenda views, Up: Extensions and Hacking
  5202. A.5 Using the property API
  5203. ==========================
  5204. Here is a description of the functions that can be used to work with
  5205. properties.
  5206. -- Function: org-entry-properties &optional pom which
  5207. Get all properties of the entry at point-or-marker POM. This
  5208. includes the TODO keyword, the tags, time strings for deadline,
  5209. scheduled, and clocking, and any additional properties defined in
  5210. the entry. The return value is an alist, keys may occur multiple
  5211. times if the property key was used several times. POM may also be
  5212. nil, in which case the current entry is used. If WHICH is nil or
  5213. `all', get all properties. If WHICH is `special' or `standard',
  5214. only get that subclass.
  5215. -- Function: org-entry-get pom property &optional inherit
  5216. Get value of PROPERTY for entry at point-or-marker POM. If
  5217. INHERIT is non-nil and the entry does not have the property, then
  5218. also check higher levels of the hierarchy.
  5219. -- Function: org-entry-delete pom property
  5220. Delete the property PROPERTY from entry at point-or-marker POM.
  5221. -- Function: org-entry-put pom property value
  5222. Set PROPERTY to VALUE for entry at point-or-marker POM.
  5223. -- Function: org-buffer-property-keys &optional include-specials
  5224. Get all property keys in the current buffer.
  5225. -- Function: org-insert-property-drawer
  5226. Insert a property drawer at point.
  5227. 
  5228. File: org, Node: History and Acknowledgments, Next: Index, Prev: Extensions and Hacking, Up: Top
  5229. Appendix B History and Acknowledgments
  5230. **************************************
  5231. Org-mode was borne in 2003, out of frustration over the user interface
  5232. of the Emacs outline-mode. I was trying to organize my notes and
  5233. projects, and using Emacs seemed to be the natural way to go. However,
  5234. having to remember eleven different commands with two or three keys per
  5235. command, only to hide and unhide parts of the outline tree, that seemed
  5236. entirely unacceptable to me. Also, when using outlines to take notes, I
  5237. constantly want to restructure the tree, organizing it parallel to my
  5238. thoughts and plans. _Visibility cycling_ and _structure editing_ were
  5239. originally implemented in the package `outline-magic.el', but quickly
  5240. moved to the more general `org.el'. As this environment became
  5241. comfortable for project planning, the next step was adding _TODO
  5242. entries_, basic _time stamps_, and _table support_. These areas
  5243. highlight the two main goals that Org-mode still has today: To create a
  5244. new, outline-based, plain text mode with innovative and intuitive
  5245. editing features, and to incorporate project planning functionality
  5246. directly into a notes file.
  5247. Since the first release, literally thousands of emails to me or on
  5248. `emacs-orgmode@gnu.org' have provided a constant stream of bug reports,
  5249. feedback, new ideas, and sometimes patches and add-on code. Many
  5250. thanks to everyone who has helped to improve this package. I am trying
  5251. to keep here a list of the people who had significant influence in
  5252. shaping one or more aspects of Org-mode. The list may not be complete,
  5253. if I have forgotten someone, please accept my apologies and let me know.
  5254. * Russel Adams came up with the idea for drawers.
  5255. * Thomas Baumann contributed the code for links to the MH-E email
  5256. system.
  5257. * Alex Bochannek provided a patch for rounding time stamps.
  5258. * Charles Cave's suggestion sparked the implementation of templates
  5259. for Remember.
  5260. * Pavel Chalmoviansky influenced the agenda treatment of items with
  5261. specified time.
  5262. * Gregory Chernov patched support for lisp forms into table
  5263. calculations and improved XEmacs compatibility, in particular by
  5264. porting `nouline.el' to XEmacs.
  5265. * Sacha Chua suggested to copy some linking code from Planner.
  5266. * Eddward DeVilla proposed and tested checkbox statistics. He also
  5267. came up with the idea of properties, and that there should be an
  5268. API for them.
  5269. * Kees Dullemond used to edit projects lists directly in HTML and so
  5270. inspired some of the early development, including HTML export. He
  5271. also asked for a way to narrow wide table columns.
  5272. * Christian Egli converted the documentation into TeXInfo format,
  5273. patched CSS formatting into the HTML exporter, and inspired the
  5274. agenda.
  5275. * David Emery provided a patch for custom CSS support in exported
  5276. HTML agendas.
  5277. * Nic Ferrier contributed mailcap and XOXO support.
  5278. * John Foerch figured out how to make incremental search show context
  5279. around a match in a hidden outline tree.
  5280. * Niels Giessen had the idea to automatically archive DONE trees.
  5281. * Bastien Guerry provided extensive feedback and some patches, and
  5282. translated David O'Toole's tutorial into French.
  5283. * Kai Grossjohann pointed out key-binding conflicts with other
  5284. packages.
  5285. * Scott Jaderholm proposed footnotes, control over whitespace between
  5286. folded entries, and column view for properties.
  5287. * Shidai Liu ("Leo") asked for embedded LaTeX and tested it. He also
  5288. provided frequent feedback and some patches.
  5289. * Jason F. McBrayer suggested agenda export to CSV format.
  5290. * Dmitri Minaev sent a patch to set priority limits on a per-file
  5291. basis.
  5292. * Stefan Monnier provided a patch to keep the Emacs-Lisp compiler
  5293. happy.
  5294. * Rick Moynihan proposed to allow multiple TODO sequences in a file.
  5295. * Todd Neal provided patches for links to Info files and elisp forms.
  5296. * Tim O'Callaghan suggested in-file links, search options for general
  5297. file links, and TAGS.
  5298. * Takeshi Okano translated the manual and David O'Toole's tutorial
  5299. into Japanese.
  5300. * Oliver Oppitz suggested multi-state TODO items.
  5301. * Scott Otterson sparked the introduction of descriptive text for
  5302. links, among other things.
  5303. * Pete Phillips helped during the development of the TAGS feature,
  5304. and provided frequent feedback.
  5305. * T.V. Raman reported bugs and suggested improvements.
  5306. * Matthias Rempe (Oelde) provided ideas, Windows support, and quality
  5307. control.
  5308. * Kevin Rogers contributed code to access VM files on remote hosts.
  5309. * Frank Ruell solved the mystery of the `keymapp nil' bug, a
  5310. conflict with `allout.el'.
  5311. * Jason Riedy sent a patch to fix a bug with export of TODO keywords.
  5312. * Philip Rooke created the Org-mode reference card and provided lots
  5313. of feedback.
  5314. * Christian Schlauer proposed angular brackets around links, among
  5315. other things.
  5316. * Linking to VM/BBDB/GNUS was inspired by Tom Shannon's
  5317. `organizer-mode.el'.
  5318. * Daniel Sinder came up with the idea of internal archiving by
  5319. locking subtrees.
  5320. * Dale Smith proposed link abbreviations.
  5321. * David O'Toole wrote `org-publish.el' and drafted the manual
  5322. chapter about publishing.
  5323. * Ju"rgen Vollmer contributed code generating the table of contents
  5324. in HTML output.
  5325. * Chris Wallace provided a patch implementing the `QUOTE' keyword.
  5326. * David Wainberg suggested archiving, and improvements to the linking
  5327. system.
  5328. * John Wiegley wrote `emacs-wiki.el' and `planner.el'. The
  5329. development of Org-mode was fully independent, and both systems are
  5330. really different beasts in their basic ideas and implementation
  5331. details. I later looked at John's code, however, and learned from
  5332. his implementation of (i) links where the link itself is hidden
  5333. and only a description is shown, and (ii) popping up a calendar to
  5334. select a date.
  5335. * Carsten Wimmer suggested some changes and helped fix a bug in
  5336. linking to GNUS.
  5337. * Roland Winkler requested additional keybindings to make Org-mode
  5338. work on a tty.
  5339. * Piotr Zielinski wrote `org-mouse.el', proposed agenda blocks and
  5340. contributed various ideas and code snippets.
  5341. 
  5342. File: org, Node: Index, Next: Key Index, Prev: History and Acknowledgments, Up: Top
  5343. Index
  5344. *****
  5345. �[index�]
  5346. * Menu:
  5347. * abbreviation, links: Link abbreviations. (line 6)
  5348. * acknowledgments: History and Acknowledgments.
  5349. (line 6)
  5350. * action, for publishing: Publishing action. (line 6)
  5351. * activation: Activation. (line 6)
  5352. * active region <1>: Export commands. (line 6)
  5353. * active region <2>: ASCII export. (line 9)
  5354. * active region <3>: Built-in table editor.
  5355. (line 141)
  5356. * active region: Structure editing. (line 64)
  5357. * agenda: Weekly/Daily agenda. (line 6)
  5358. * agenda dispatcher: Agenda dispatcher. (line 6)
  5359. * agenda files: Agenda files. (line 6)
  5360. * agenda files, removing buffers: Agenda commands. (line 236)
  5361. * agenda views: Agenda views. (line 6)
  5362. * agenda views, custom: Custom agenda views. (line 6)
  5363. * agenda views, exporting <1>: Exporting Agenda Views.
  5364. (line 6)
  5365. * agenda views, exporting: Agenda commands. (line 225)
  5366. * agenda views, user-defined: Special agenda views.
  5367. (line 6)
  5368. * agenda, pipe: Extracting Agenda Information for other programs.
  5369. (line 6)
  5370. * agenda, with block views: Block agenda. (line 6)
  5371. * align, STARTUP keyword: In-buffer settings. (line 63)
  5372. * allout.el: Conflicts. (line 6)
  5373. * angular brackets, around links: External links. (line 43)
  5374. * API, for properties: Using the property API.
  5375. (line 6)
  5376. * archive locations: Moving subtrees. (line 21)
  5377. * archiving: Archiving. (line 6)
  5378. * ASCII export: ASCII export. (line 6)
  5379. * author: Feedback. (line 6)
  5380. * autoload: Activation. (line 6)
  5381. * backtrace of an error: Feedback. (line 27)
  5382. * BBDB links: External links. (line 6)
  5383. * block agenda: Block agenda. (line 6)
  5384. * blorg.el: Extensions. (line 32)
  5385. * bold text: Enhancing text. (line 15)
  5386. * Boolean logic, for tag searches: Tag searches. (line 23)
  5387. * bug reports: Feedback. (line 6)
  5388. * bugs: Bugs. (line 6)
  5389. * C-c C-c, overview: The very busy C-c C-c key.
  5390. (line 6)
  5391. * calc package: The spreadsheet. (line 6)
  5392. * calc.el: Cooperation. (line 6)
  5393. * calculations, in tables <1>: The spreadsheet. (line 6)
  5394. * calculations, in tables: Built-in table editor.
  5395. (line 141)
  5396. * calendar commands, from agenda: Agenda commands. (line 188)
  5397. * calendar integration: Weekly/Daily agenda. (line 24)
  5398. * calendar, for selecting date: The date/time prompt.
  5399. (line 26)
  5400. * category: Categories. (line 6)
  5401. * CDLaTeX: CDLaTeX mode. (line 6)
  5402. * cdlatex.el: Cooperation. (line 29)
  5403. * checkbox statistics: Checkboxes. (line 23)
  5404. * checkboxes: Checkboxes. (line 6)
  5405. * children, subtree visibility state: Visibility cycling. (line 10)
  5406. * clean outline view: Clean view. (line 6)
  5407. * column formula: Column formulas. (line 6)
  5408. * commands, in agenda buffer: Agenda commands. (line 6)
  5409. * comment lines: Comment lines. (line 6)
  5410. * completion, of dictionary words: Completion. (line 6)
  5411. * completion, of file names: Handling links. (line 43)
  5412. * completion, of link abbreviations: Completion. (line 6)
  5413. * completion, of links: Handling links. (line 25)
  5414. * completion, of option keywords <1>: Completion. (line 6)
  5415. * completion, of option keywords <2>: Export options. (line 6)
  5416. * completion, of option keywords: Per file keywords. (line 23)
  5417. * completion, of property keys: Completion. (line 6)
  5418. * completion, of tags <1>: Completion. (line 6)
  5419. * completion, of tags: Setting tags. (line 11)
  5420. * completion, of TeX symbols: Completion. (line 6)
  5421. * completion, of TODO keywords <1>: Completion. (line 6)
  5422. * completion, of TODO keywords: Workflow states. (line 15)
  5423. * constants, in calculations: References. (line 82)
  5424. * constants.el: Cooperation. (line 14)
  5425. * constcgs, STARTUP keyword: In-buffer settings. (line 88)
  5426. * constSI, STARTUP keyword: In-buffer settings. (line 88)
  5427. * content, STARTUP keyword: In-buffer settings. (line 56)
  5428. * contents, global visibility state: Visibility cycling. (line 22)
  5429. * copying, of subtrees: Structure editing. (line 6)
  5430. * creating timestamps: Creating timestamps. (line 6)
  5431. * CUA.el: Conflicts. (line 15)
  5432. * custom agenda views: Custom agenda views. (line 6)
  5433. * custom date/time format: Custom time format. (line 6)
  5434. * custom search strings: Custom searches. (line 6)
  5435. * customization: Customization. (line 6)
  5436. * customtime, STARTUP keyword: In-buffer settings. (line 85)
  5437. * cutting, of subtrees: Structure editing. (line 6)
  5438. * cycling, of TODO states: TODO basics. (line 13)
  5439. * cycling, visibility: Visibility cycling. (line 6)
  5440. * daily agenda: Weekly/Daily agenda. (line 6)
  5441. * date format, custom: Custom time format. (line 6)
  5442. * date range: Time stamps. (line 41)
  5443. * date stamps <1>: Time stamps. (line 6)
  5444. * date stamps: Timestamps. (line 6)
  5445. * date, reading in minibuffer: The date/time prompt.
  5446. (line 6)
  5447. * DEADLINE keyword: Deadlines and scheduling.
  5448. (line 10)
  5449. * deadlines: Time stamps. (line 6)
  5450. * debugging, of table formulas: Editing and debugging formulas.
  5451. (line 97)
  5452. * demotion, of subtrees: Structure editing. (line 6)
  5453. * diary entries, creating from agenda: Agenda commands. (line 193)
  5454. * diary integration: Weekly/Daily agenda. (line 24)
  5455. * dictionary word completion: Completion. (line 6)
  5456. * directories, for publishing: Sources and destinations.
  5457. (line 6)
  5458. * dispatching agenda commands: Agenda dispatcher. (line 6)
  5459. * display changing, in agenda: Agenda commands. (line 65)
  5460. * document structure: Document structure. (line 6)
  5461. * DONE, final TODO keyword: Per file keywords. (line 26)
  5462. * drawers: Drawers. (line 6)
  5463. * dynamic blocks: Dynamic blocks. (line 6)
  5464. * editing tables: Tables. (line 6)
  5465. * editing, of table formulas: Editing and debugging formulas.
  5466. (line 6)
  5467. * elisp links: External links. (line 6)
  5468. * emphasized text: Export options. (line 25)
  5469. * enhancing text: Enhancing text. (line 6)
  5470. * evaluate time range: Creating timestamps. (line 48)
  5471. * even, STARTUP keyword: In-buffer settings. (line 78)
  5472. * exporting: Exporting. (line 6)
  5473. * exporting agenda views <1>: Exporting Agenda Views.
  5474. (line 12)
  5475. * exporting agenda views: Agenda commands. (line 225)
  5476. * exporting, not: Comment lines. (line 6)
  5477. * extended TODO keywords: TODO extensions. (line 6)
  5478. * extension, third-party: Extensions. (line 6)
  5479. * external archiving: Moving subtrees. (line 6)
  5480. * external links: External links. (line 6)
  5481. * external links, in HTML export: Links. (line 6)
  5482. * FAQ: Summary. (line 53)
  5483. * feedback: Feedback. (line 6)
  5484. * field formula: Field formulas. (line 6)
  5485. * field references: References. (line 15)
  5486. * file links: External links. (line 6)
  5487. * file links, searching: Search options. (line 6)
  5488. * file name completion: Handling links. (line 43)
  5489. * files for agenda: Agenda files. (line 6)
  5490. * files, adding to agenda list: Agenda files. (line 12)
  5491. * files, selecting for publishing: Selecting files. (line 6)
  5492. * fixed width: Enhancing text. (line 28)
  5493. * fixed-width sections: Export options. (line 25)
  5494. * folded, subtree visibility state: Visibility cycling. (line 10)
  5495. * folding, sparse trees: Sparse trees. (line 6)
  5496. * following links: Handling links. (line 58)
  5497. * footnote.el <1>: Conflicts. (line 35)
  5498. * footnote.el <2>: Cooperation. (line 56)
  5499. * footnote.el: Footnotes. (line 6)
  5500. * footnotes <1>: Export options. (line 25)
  5501. * footnotes: Footnotes. (line 6)
  5502. * format specifier: Formula syntax for Calc.
  5503. (line 14)
  5504. * format, of links: Link format. (line 6)
  5505. * formula debugging: Editing and debugging formulas.
  5506. (line 97)
  5507. * formula editing: Editing and debugging formulas.
  5508. (line 6)
  5509. * formula syntax, Calc: Formula syntax for Calc.
  5510. (line 6)
  5511. * formula, for individual table field: Field formulas. (line 6)
  5512. * formula, for table column: Column formulas. (line 6)
  5513. * formula, in tables: Built-in table editor.
  5514. (line 141)
  5515. * global cycling: Visibility cycling. (line 22)
  5516. * global keybindings: Activation. (line 6)
  5517. * global TODO list: Global TODO list. (line 6)
  5518. * global visibility states: Visibility cycling. (line 22)
  5519. * GNUS links: External links. (line 6)
  5520. * grouping columns in tables: Column groups. (line 6)
  5521. * hand-formatted lists: Enhancing text. (line 11)
  5522. * headline levels: Export options. (line 25)
  5523. * headline levels, for exporting <1>: Export commands. (line 34)
  5524. * headline levels, for exporting: ASCII export. (line 18)
  5525. * headline navigation: Motion. (line 6)
  5526. * headline tagging: Tags. (line 6)
  5527. * headline, promotion and demotion: Structure editing. (line 6)
  5528. * headlines: Headlines. (line 6)
  5529. * hide text: Visibility cycling. (line 6)
  5530. * hidestars, STARTUP keyword: In-buffer settings. (line 78)
  5531. * hiding leading stars: Clean view. (line 6)
  5532. * history: History and Acknowledgments.
  5533. (line 6)
  5534. * horizontal rules, in exported files: Enhancing text. (line 18)
  5535. * HTML export: HTML export. (line 6)
  5536. * HTML, and orgtbl-mode: Translator functions.
  5537. (line 6)
  5538. * hyperlinks: Hyperlinks. (line 6)
  5539. * iCalendar export: iCalendar export. (line 6)
  5540. * images, inline in HTML: Images. (line 6)
  5541. * in-buffer settings: In-buffer settings. (line 6)
  5542. * inactive timestamp: Time stamps. (line 50)
  5543. * index, of published pages: Project page index. (line 6)
  5544. * Info links: External links. (line 6)
  5545. * inheritance, of tags: Tag inheritance. (line 6)
  5546. * inlining images in HTML: Images. (line 6)
  5547. * inserting links: Handling links. (line 25)
  5548. * installation: Installation. (line 6)
  5549. * internal archiving: ARCHIVE tag. (line 6)
  5550. * internal links: Internal links. (line 6)
  5551. * internal links, in HTML export: Links. (line 6)
  5552. * introduction: Introduction. (line 6)
  5553. * italic text: Enhancing text. (line 15)
  5554. * jumping, to headlines: Motion. (line 6)
  5555. * keybindings, global: Activation. (line 6)
  5556. * keyword options: Per file keywords. (line 6)
  5557. * LaTeX fragments <1>: Export options. (line 25)
  5558. * LaTeX fragments: LaTeX fragments. (line 6)
  5559. * LaTeX fragments, export: Enhancing text. (line 21)
  5560. * LaTeX fragments, preview: Processing LaTeX fragments.
  5561. (line 6)
  5562. * LaTeX interpretation: Embedded LaTeX. (line 6)
  5563. * LaTeX, and orgtbl-mode: A LaTeX example. (line 6)
  5564. * level, require for tags match: Tag searches. (line 68)
  5565. * linebreak preservation: Export options. (line 25)
  5566. * linebreak, forced: Enhancing text. (line 35)
  5567. * link abbreviations: Link abbreviations. (line 6)
  5568. * link abbreviations, completion of: Completion. (line 6)
  5569. * link completion: Handling links. (line 25)
  5570. * link format: Link format. (line 6)
  5571. * links, external: External links. (line 6)
  5572. * links, finding next/previous: Handling links. (line 91)
  5573. * links, handling: Handling links. (line 6)
  5574. * links, in HTML export: Links. (line 6)
  5575. * links, internal: Internal links. (line 6)
  5576. * links, publishing: Publishing links. (line 6)
  5577. * links, radio targets: Radio targets. (line 6)
  5578. * links, returning to: Handling links. (line 85)
  5579. * Lisp forms, as table formulas: Formula syntax for Lisp.
  5580. (line 6)
  5581. * lists, hand-formatted: Enhancing text. (line 11)
  5582. * lists, ordered: Plain lists. (line 6)
  5583. * lists, plain: Plain lists. (line 6)
  5584. * logdone, STARTUP keyword: In-buffer settings. (line 67)
  5585. * logging, of progress: Progress logging. (line 6)
  5586. * lognoteclock-out, STARTUP keyword: In-buffer settings. (line 67)
  5587. * lognotedone, STARTUP keyword: In-buffer settings. (line 67)
  5588. * lognotestate, STARTUP keyword: In-buffer settings. (line 67)
  5589. * logrepeat, STARTUP keyword: In-buffer settings. (line 67)
  5590. * maintainer: Feedback. (line 6)
  5591. * mark ring: Handling links. (line 81)
  5592. * marking characters, tables: Advanced features. (line 40)
  5593. * matching, of properties: Matching tags and properties.
  5594. (line 6)
  5595. * matching, of tags: Matching tags and properties.
  5596. (line 6)
  5597. * matching, tags: Tags. (line 6)
  5598. * math symbols: Math symbols. (line 6)
  5599. * MH-E links: External links. (line 6)
  5600. * minor mode for tables: orgtbl-mode. (line 6)
  5601. * mode, for calc: Formula syntax for Calc.
  5602. (line 14)
  5603. * motion commands in agenda: Agenda commands. (line 19)
  5604. * motion, between headlines: Motion. (line 6)
  5605. * name, of column or field: References. (line 82)
  5606. * named references: References. (line 82)
  5607. * names as TODO keywords: TODO types. (line 6)
  5608. * narrow columns in tables: Narrow columns. (line 6)
  5609. * noalign, STARTUP keyword: In-buffer settings. (line 63)
  5610. * nologging, STARTUP keyword: In-buffer settings. (line 67)
  5611. * nologrepeat, STARTUP keyword: In-buffer settings. (line 67)
  5612. * occur, command: Sparse trees. (line 6)
  5613. * odd, STARTUP keyword: In-buffer settings. (line 78)
  5614. * option keyword completion: Completion. (line 6)
  5615. * options, for custom agenda views: Setting Options. (line 6)
  5616. * options, for customization: Customization. (line 6)
  5617. * options, for export: Export options. (line 6)
  5618. * options, for publishing: Publishing options. (line 6)
  5619. * ordered lists: Plain lists. (line 6)
  5620. * org-agenda, command: Weekly/Daily agenda. (line 9)
  5621. * org-blog.el: Extensions. (line 28)
  5622. * org-mode, turning on: Activation. (line 22)
  5623. * org-mouse.el: Extensions. (line 16)
  5624. * org-publish-project-alist: Project alist. (line 6)
  5625. * org-publish.el: Extensions. (line 8)
  5626. * org2rem.el: Extensions. (line 36)
  5627. * orgtbl-mode <1>: Tables in arbitrary syntax.
  5628. (line 6)
  5629. * orgtbl-mode: orgtbl-mode. (line 6)
  5630. * outline tree: Headlines. (line 6)
  5631. * outline-mode: Outlines. (line 6)
  5632. * outlines: Outlines. (line 6)
  5633. * overview, global visibility state: Visibility cycling. (line 22)
  5634. * overview, STARTUP keyword: In-buffer settings. (line 56)
  5635. * packages, interaction with other: Interaction. (line 6)
  5636. * pasting, of subtrees: Structure editing. (line 6)
  5637. * per file keywords: Per file keywords. (line 6)
  5638. * plain lists: Plain lists. (line 6)
  5639. * plain text external links: External links. (line 43)
  5640. * presentation, of agenda items: Presentation and sorting.
  5641. (line 6)
  5642. * printing sparse trees: Sparse trees. (line 41)
  5643. * priorities: Priorities. (line 6)
  5644. * priorities, of agenda items: Sorting of agenda items.
  5645. (line 6)
  5646. * progress logging: Progress logging. (line 6)
  5647. * projects, for publishing: Project alist. (line 6)
  5648. * promotion, of subtrees: Structure editing. (line 6)
  5649. * properties: Properties. (line 6)
  5650. * publishing: Publishing. (line 6)
  5651. * quoted HTML tags: Export options. (line 25)
  5652. * radio tables: Radio tables. (line 6)
  5653. * radio targets: Radio targets. (line 6)
  5654. * range references: References. (line 60)
  5655. * ranges, time: Time stamps. (line 6)
  5656. * recomputing table fields: Updating the table. (line 6)
  5657. * references: References. (line 6)
  5658. * references, named: References. (line 82)
  5659. * references, to fields: References. (line 15)
  5660. * references, to ranges: References. (line 60)
  5661. * region, active <1>: Export commands. (line 6)
  5662. * region, active <2>: ASCII export. (line 9)
  5663. * region, active <3>: Built-in table editor.
  5664. (line 141)
  5665. * region, active: Structure editing. (line 64)
  5666. * regular expressions, with tags search: Tag searches. (line 63)
  5667. * remember.el <1>: Cooperation. (line 33)
  5668. * remember.el: Remember. (line 6)
  5669. * remote editing, from agenda: Agenda commands. (line 103)
  5670. * remote editing, undo: Agenda commands. (line 104)
  5671. * richer text: Enhancing text. (line 6)
  5672. * RMAIL links: External links. (line 6)
  5673. * SCHEDULED keyword: Deadlines and scheduling.
  5674. (line 22)
  5675. * scheduling: Time stamps. (line 6)
  5676. * Scripts, for agenda processing: Extracting Agenda Information for other programs.
  5677. (line 6)
  5678. * search option in file links: Search options. (line 6)
  5679. * search strings, custom: Custom searches. (line 6)
  5680. * searching for tags: Tag searches. (line 6)
  5681. * section-numbers: Export options. (line 25)
  5682. * setting tags: Setting tags. (line 6)
  5683. * SHELL links: External links. (line 6)
  5684. * show all, command: Visibility cycling. (line 33)
  5685. * show all, global visibility state: Visibility cycling. (line 22)
  5686. * show hidden text: Visibility cycling. (line 6)
  5687. * showall, STARTUP keyword: In-buffer settings. (line 56)
  5688. * showstars, STARTUP keyword: In-buffer settings. (line 78)
  5689. * sorting, of agenda items: Sorting of agenda items.
  5690. (line 6)
  5691. * sparse tree, for deadlines: Inserting deadline/schedule.
  5692. (line 11)
  5693. * sparse tree, for TODO: TODO basics. (line 26)
  5694. * sparse tree, tag based: Tags. (line 6)
  5695. * sparse trees: Sparse trees. (line 6)
  5696. * special keywords: In-buffer settings. (line 6)
  5697. * spreadsheet capabilities: The spreadsheet. (line 6)
  5698. * statistics, for checkboxes: Checkboxes. (line 23)
  5699. * storing links: Handling links. (line 9)
  5700. * structure editing: Structure editing. (line 6)
  5701. * structure of document: Document structure. (line 6)
  5702. * sublevels, inclusion into tags match: Tag inheritance. (line 6)
  5703. * sublevels, inclusion into todo list: Global TODO list. (line 34)
  5704. * subscript: Subscripts and Superscripts.
  5705. (line 6)
  5706. * subtree cycling: Visibility cycling. (line 10)
  5707. * subtree visibility states: Visibility cycling. (line 10)
  5708. * subtree, cut and paste: Structure editing. (line 6)
  5709. * subtree, subtree visibility state: Visibility cycling. (line 10)
  5710. * subtrees, cut and paste: Structure editing. (line 6)
  5711. * summary: Summary. (line 6)
  5712. * superscript: Subscripts and Superscripts.
  5713. (line 6)
  5714. * syntax, of formulas: Formula syntax for Calc.
  5715. (line 6)
  5716. * table editor, built-in: Built-in table editor.
  5717. (line 6)
  5718. * table editor, table.el: Cooperation. (line 37)
  5719. * table of contents: Export options. (line 25)
  5720. * table.el: Cooperation. (line 34)
  5721. * tables <1>: Export options. (line 25)
  5722. * tables: Tables. (line 6)
  5723. * tables, export: Enhancing text. (line 24)
  5724. * tables, in other modes: Tables in arbitrary syntax.
  5725. (line 6)
  5726. * tag completion: Completion. (line 6)
  5727. * tag searches: Tag searches. (line 6)
  5728. * tags: Tags. (line 6)
  5729. * tags view: Matching tags and properties.
  5730. (line 6)
  5731. * tags, setting: Setting tags. (line 6)
  5732. * targets, for links: Internal links. (line 6)
  5733. * targets, radio: Radio targets. (line 6)
  5734. * tasks, breaking down: Breaking down tasks. (line 6)
  5735. * templates, for remember: Remember templates. (line 6)
  5736. * TeX interpretation: Embedded LaTeX. (line 6)
  5737. * TeX macros <1>: Export options. (line 25)
  5738. * TeX macros: Math symbols. (line 6)
  5739. * TeX macros, export: Enhancing text. (line 21)
  5740. * TeX symbol completion: Completion. (line 6)
  5741. * TeX-like syntax for sub- and superscripts: Export options. (line 25)
  5742. * thanks: History and Acknowledgments.
  5743. (line 6)
  5744. * time format, custom: Custom time format. (line 6)
  5745. * time grid: Time-of-day specifications.
  5746. (line 26)
  5747. * time stamps <1>: Time stamps. (line 6)
  5748. * time stamps: Timestamps. (line 6)
  5749. * time, reading in minibuffer: The date/time prompt.
  5750. (line 6)
  5751. * time-of-day specification: Time-of-day specifications.
  5752. (line 6)
  5753. * time-sorted view: Timeline. (line 6)
  5754. * timeline, single file: Timeline. (line 6)
  5755. * timerange: Time stamps. (line 41)
  5756. * timestamp: Time stamps. (line 14)
  5757. * timestamp, inactive: Time stamps. (line 50)
  5758. * timestamp, with repeater interval: Time stamps. (line 25)
  5759. * timestamps, creating: Creating timestamps. (line 6)
  5760. * TODO items: TODO items. (line 6)
  5761. * TODO keyword matching: Global TODO list. (line 17)
  5762. * TODO keyword matching, with tags search: Tag searches. (line 40)
  5763. * todo keyword sets: Multiple sets in one file.
  5764. (line 6)
  5765. * TODO keywords completion: Completion. (line 6)
  5766. * TODO list, global: Global TODO list. (line 6)
  5767. * TODO types: TODO types. (line 6)
  5768. * TODO workflow: Workflow states. (line 6)
  5769. * transient-mark-mode <1>: Export commands. (line 6)
  5770. * transient-mark-mode <2>: ASCII export. (line 9)
  5771. * transient-mark-mode <3>: Built-in table editor.
  5772. (line 141)
  5773. * transient-mark-mode: Structure editing. (line 64)
  5774. * translator function: Translator functions.
  5775. (line 6)
  5776. * trees, sparse: Sparse trees. (line 6)
  5777. * trees, visibility: Visibility cycling. (line 6)
  5778. * tty keybindings: TTY keys. (line 6)
  5779. * types as TODO keywords: TODO types. (line 6)
  5780. * underlined text: Enhancing text. (line 15)
  5781. * undoing remote-editing events: Agenda commands. (line 104)
  5782. * updating, table: Updating the table. (line 6)
  5783. * URL links: External links. (line 6)
  5784. * USENET links: External links. (line 6)
  5785. * variables, for customization: Customization. (line 6)
  5786. * vectors, in table calculations: Formula syntax for Calc.
  5787. (line 11)
  5788. * visibility cycling: Visibility cycling. (line 6)
  5789. * visible text, printing: Sparse trees. (line 41)
  5790. * VM links: External links. (line 6)
  5791. * WANDERLUST links: External links. (line 6)
  5792. * weekly agenda: Weekly/Daily agenda. (line 6)
  5793. * windmove.el: Conflicts. (line 32)
  5794. * workflow states as TODO keywords: Workflow states. (line 6)
  5795. * XEmacs: Installation. (line 6)
  5796. * XOXO export: XOXO export. (line 6)
  5797. 
  5798. File: org, Node: Key Index, Prev: Index, Up: Top
  5799. Key Index
  5800. *********
  5801. �[index�]
  5802. * Menu:
  5803. * $: Agenda commands. (line 118)
  5804. * ': CDLaTeX mode. (line 43)
  5805. * +: Agenda commands. (line 140)
  5806. * ,: Agenda commands. (line 132)
  5807. * -: Agenda commands. (line 146)
  5808. * .: Agenda commands. (line 95)
  5809. * :: Agenda commands. (line 126)
  5810. * <: The date/time prompt.
  5811. (line 32)
  5812. * <left>: Agenda commands. (line 92)
  5813. * <RET> <1>: Agenda commands. (line 39)
  5814. * <RET> <2>: The date/time prompt.
  5815. (line 57)
  5816. * <RET> <3>: Setting tags. (line 76)
  5817. * <RET>: Built-in table editor.
  5818. (line 62)
  5819. * <right>: Agenda commands. (line 87)
  5820. * <SPC> <1>: Agenda commands. (line 28)
  5821. * <SPC>: Setting tags. (line 73)
  5822. * <TAB> <1>: CDLaTeX mode. (line 23)
  5823. * <TAB> <2>: Agenda commands. (line 33)
  5824. * <TAB> <3>: Setting tags. (line 68)
  5825. * <TAB> <4>: Editing and debugging formulas.
  5826. (line 57)
  5827. * <TAB> <5>: Built-in table editor.
  5828. (line 55)
  5829. * <TAB> <6>: Plain lists. (line 41)
  5830. * <TAB>: Visibility cycling. (line 10)
  5831. * > <1>: Agenda commands. (line 168)
  5832. * >: The date/time prompt.
  5833. (line 33)
  5834. * ^: CDLaTeX mode. (line 33)
  5835. * _: CDLaTeX mode. (line 33)
  5836. * `: CDLaTeX mode. (line 39)
  5837. * a: Agenda commands. (line 129)
  5838. * b: Agenda commands. (line 49)
  5839. * C: Agenda commands. (line 208)
  5840. * c: Agenda commands. (line 188)
  5841. * C-#: Advanced features. (line 9)
  5842. * C-': Agenda files. (line 18)
  5843. * C-,: Agenda files. (line 18)
  5844. * C-_: Agenda commands. (line 104)
  5845. * C-a a L: Timeline. (line 10)
  5846. * C-c ! <1>: Footnotes. (line 14)
  5847. * C-c !: Creating timestamps. (line 19)
  5848. * C-c #: Checkboxes. (line 56)
  5849. * C-c %: Handling links. (line 81)
  5850. * C-c &: Handling links. (line 85)
  5851. * C-c ': Editing and debugging formulas.
  5852. (line 36)
  5853. * C-c *: Updating the table. (line 13)
  5854. * C-c +: Built-in table editor.
  5855. (line 141)
  5856. * C-c ,: Priorities. (line 18)
  5857. * C-c - <1>: Built-in table editor.
  5858. (line 90)
  5859. * C-c -: Plain lists. (line 88)
  5860. * C-c .: Creating timestamps. (line 10)
  5861. * C-c /: Sparse trees. (line 15)
  5862. * C-c :: Enhancing text. (line 32)
  5863. * C-c ;: Comment lines. (line 10)
  5864. * C-c <: Creating timestamps. (line 23)
  5865. * C-c <TAB>: Built-in table editor.
  5866. (line 161)
  5867. * C-c = <1>: Editing and debugging formulas.
  5868. (line 14)
  5869. * C-c =: Column formulas. (line 26)
  5870. * C-c >: Creating timestamps. (line 27)
  5871. * C-c ?: Editing and debugging formulas.
  5872. (line 24)
  5873. * C-c [: Agenda files. (line 12)
  5874. * C-c \: Tag searches. (line 9)
  5875. * C-c ]: Agenda files. (line 15)
  5876. * C-c ^ <1>: Built-in table editor.
  5877. (line 94)
  5878. * C-c ^: Structure editing. (line 52)
  5879. * C-c `: Built-in table editor.
  5880. (line 157)
  5881. * C-c a !: Stuck projects. (line 14)
  5882. * C-c a #: Stuck projects. (line 13)
  5883. * C-c a a: Weekly/Daily agenda. (line 9)
  5884. * C-c a C: Storing searches. (line 9)
  5885. * C-c a e: Exporting Agenda Views.
  5886. (line 57)
  5887. * C-c a M: Matching tags and properties.
  5888. (line 15)
  5889. * C-c a m: Matching tags and properties.
  5890. (line 10)
  5891. * C-c a M: Tag searches. (line 16)
  5892. * C-c a m: Tag searches. (line 12)
  5893. * C-c a T: Global TODO list. (line 14)
  5894. * C-c a t <1>: Global TODO list. (line 9)
  5895. * C-c a t: TODO basics. (line 36)
  5896. * C-c C-a: Visibility cycling. (line 33)
  5897. * C-c C-b: Motion. (line 15)
  5898. * C-c C-c <1>: Cooperation. (line 37)
  5899. * C-c C-c <2>: The very busy C-c C-c key.
  5900. (line 6)
  5901. * C-c C-c <3>: Processing LaTeX fragments.
  5902. (line 15)
  5903. * C-c C-c <4>: Setting tags. (line 10)
  5904. * C-c C-c <5>: Checkboxes. (line 37)
  5905. * C-c C-c <6>: Editing and debugging formulas.
  5906. (line 46)
  5907. * C-c C-c <7>: Built-in table editor.
  5908. (line 54)
  5909. * C-c C-c: Plain lists. (line 81)
  5910. * C-c C-d <1>: Agenda commands. (line 153)
  5911. * C-c C-d: Inserting deadline/schedule.
  5912. (line 9)
  5913. * C-c C-e: Exporting. (line 19)
  5914. * C-c C-e a: ASCII export. (line 9)
  5915. * C-c C-e b: Export commands. (line 7)
  5916. * C-c C-e c: iCalendar export. (line 21)
  5917. * C-c C-e H: Export commands. (line 10)
  5918. * C-c C-e h: Export commands. (line 6)
  5919. * C-c C-e I: iCalendar export. (line 16)
  5920. * C-c C-e i: iCalendar export. (line 14)
  5921. * C-c C-e R: Export commands. (line 13)
  5922. * C-c C-e t: Export options. (line 13)
  5923. * C-c C-e v <1>: XOXO export. (line 11)
  5924. * C-c C-e v: Sparse trees. (line 41)
  5925. * C-c C-e v a: ASCII export. (line 13)
  5926. * C-c C-e v b: Export commands. (line 18)
  5927. * C-c C-e v H: Export commands. (line 18)
  5928. * C-c C-e v h: Export commands. (line 18)
  5929. * C-c C-e v R: Export commands. (line 18)
  5930. * C-c C-e x: XOXO export. (line 10)
  5931. * C-c C-f: Motion. (line 12)
  5932. * C-c C-j: Motion. (line 21)
  5933. * C-c C-l: Handling links. (line 25)
  5934. * C-c C-n: Motion. (line 8)
  5935. * C-c C-o <1>: Creating timestamps. (line 31)
  5936. * C-c C-o: Handling links. (line 58)
  5937. * C-c C-p: Motion. (line 9)
  5938. * C-c C-q <1>: Editing and debugging formulas.
  5939. (line 50)
  5940. * C-c C-q: Built-in table editor.
  5941. (line 125)
  5942. * C-c C-r <1>: Editing and debugging formulas.
  5943. (line 53)
  5944. * C-c C-r: Visibility cycling. (line 34)
  5945. * C-c C-s <1>: Agenda commands. (line 150)
  5946. * C-c C-s: Inserting deadline/schedule.
  5947. (line 18)
  5948. * C-c C-t <1>: Clocking work time. (line 27)
  5949. * C-c C-t: TODO basics. (line 13)
  5950. * C-c C-u: Motion. (line 18)
  5951. * C-c C-v: TODO basics. (line 26)
  5952. * C-c C-w: Inserting deadline/schedule.
  5953. (line 11)
  5954. * C-c C-x b: Visibility cycling. (line 41)
  5955. * C-c C-x C-a: ARCHIVE tag. (line 28)
  5956. * C-c C-x C-b: Checkboxes. (line 38)
  5957. * C-c C-x C-c <1>: Agenda commands. (line 215)
  5958. * C-c C-x C-c: Using column view. (line 6)
  5959. * C-c C-x C-d: Clocking work time. (line 35)
  5960. * C-c C-x C-i: Clocking work time. (line 12)
  5961. * C-c C-x C-k: Structure editing. (line 39)
  5962. * C-c C-x C-l: Processing LaTeX fragments.
  5963. (line 9)
  5964. * C-c C-x C-n: Handling links. (line 91)
  5965. * C-c C-x C-o: Clocking work time. (line 14)
  5966. * C-c C-x C-p: Handling links. (line 91)
  5967. * C-c C-x C-r: Clocking work time. (line 43)
  5968. * C-c C-x C-s: Moving subtrees. (line 10)
  5969. * C-c C-x C-t: Custom time format. (line 12)
  5970. * C-c C-x C-u: Dynamic blocks. (line 21)
  5971. * C-c C-x C-w <1>: Built-in table editor.
  5972. (line 114)
  5973. * C-c C-x C-w: Structure editing. (line 39)
  5974. * C-c C-x C-x: Clocking work time. (line 31)
  5975. * C-c C-x C-y <1>: Built-in table editor.
  5976. (line 118)
  5977. * C-c C-x C-y: Structure editing. (line 46)
  5978. * C-c C-x M-w <1>: Built-in table editor.
  5979. (line 111)
  5980. * C-c C-x M-w: Structure editing. (line 43)
  5981. * C-c C-y <1>: Clocking work time. (line 22)
  5982. * C-c C-y: Creating timestamps. (line 48)
  5983. * C-c l: Handling links. (line 9)
  5984. * C-c { <1>: CDLaTeX mode. (line 21)
  5985. * C-c {: Editing and debugging formulas.
  5986. (line 33)
  5987. * C-c |: Built-in table editor.
  5988. (line 40)
  5989. * C-c }: Editing and debugging formulas.
  5990. (line 28)
  5991. * C-c ~: Cooperation. (line 48)
  5992. * C-k: Agenda commands. (line 112)
  5993. * C-S-<left>: Multiple sets in one file.
  5994. (line 25)
  5995. * C-S-<right>: Multiple sets in one file.
  5996. (line 25)
  5997. * C-TAB: ARCHIVE tag. (line 38)
  5998. * C-u C-c *: Updating the table. (line 16)
  5999. * C-u C-c .: Creating timestamps. (line 14)
  6000. * C-u C-c = <1>: Editing and debugging formulas.
  6001. (line 14)
  6002. * C-u C-c =: Field formulas. (line 24)
  6003. * C-u C-c C-c: Updating the table. (line 19)
  6004. * C-u C-c C-l: Handling links. (line 43)
  6005. * C-u C-c C-x C-a: ARCHIVE tag. (line 31)
  6006. * C-u C-c C-x C-s: Moving subtrees. (line 12)
  6007. * C-u C-c C-x C-u <1>: Dynamic blocks. (line 22)
  6008. * C-u C-c C-x C-u: Clocking work time. (line 70)
  6009. * C-u C-u C-c *: Updating the table. (line 22)
  6010. * C-u C-u C-c =: Editing and debugging formulas.
  6011. (line 18)
  6012. * C-x C-s: Editing and debugging formulas.
  6013. (line 46)
  6014. * C-x C-w <1>: Exporting Agenda Views.
  6015. (line 11)
  6016. * C-x C-w: Agenda commands. (line 224)
  6017. * D: Agenda commands. (line 69)
  6018. * d: Agenda commands. (line 66)
  6019. * e: Using column view. (line 13)
  6020. * f: Agenda commands. (line 42)
  6021. * g: Agenda commands. (line 73)
  6022. * H: Agenda commands. (line 212)
  6023. * i: Agenda commands. (line 193)
  6024. * I: Agenda commands. (line 173)
  6025. * l: Agenda commands. (line 55)
  6026. * L: Agenda commands. (line 30)
  6027. * M: Agenda commands. (line 199)
  6028. * m: Agenda commands. (line 66)
  6029. * M-<down> <1>: Editing and debugging formulas.
  6030. (line 76)
  6031. * M-<down>: Built-in table editor.
  6032. (line 80)
  6033. * M-<left> <1>: Built-in table editor.
  6034. (line 72)
  6035. * M-<left>: Structure editing. (line 21)
  6036. * M-<RET> <1>: Plain lists. (line 49)
  6037. * M-<RET>: Structure editing. (line 6)
  6038. * M-<right> <1>: Built-in table editor.
  6039. (line 72)
  6040. * M-<right>: Structure editing. (line 24)
  6041. * M-<TAB> <1>: Completion. (line 10)
  6042. * M-<TAB> <2>: Property syntax. (line 22)
  6043. * M-<TAB> <3>: Setting tags. (line 6)
  6044. * M-<TAB> <4>: Per file keywords. (line 23)
  6045. * M-<TAB>: Editing and debugging formulas.
  6046. (line 64)
  6047. * M-<up> <1>: Editing and debugging formulas.
  6048. (line 76)
  6049. * M-<up>: Built-in table editor.
  6050. (line 80)
  6051. * M-S-<down> <1>: Editing and debugging formulas.
  6052. (line 72)
  6053. * M-S-<down> <2>: Built-in table editor.
  6054. (line 87)
  6055. * M-S-<down> <3>: Plain lists. (line 66)
  6056. * M-S-<down>: Structure editing. (line 36)
  6057. * M-S-<left> <1>: The date/time prompt.
  6058. (line 54)
  6059. * M-S-<left> <2>: Built-in table editor.
  6060. (line 74)
  6061. * M-S-<left> <3>: Plain lists. (line 72)
  6062. * M-S-<left>: Structure editing. (line 27)
  6063. * M-S-<RET> <1>: Checkboxes. (line 53)
  6064. * M-S-<RET> <2>: Plain lists. (line 59)
  6065. * M-S-<RET>: Structure editing. (line 18)
  6066. * M-S-<right> <1>: The date/time prompt.
  6067. (line 51)
  6068. * M-S-<right> <2>: Built-in table editor.
  6069. (line 77)
  6070. * M-S-<right> <3>: Plain lists. (line 72)
  6071. * M-S-<right>: Structure editing. (line 30)
  6072. * M-S-<up> <1>: Editing and debugging formulas.
  6073. (line 72)
  6074. * M-S-<up> <2>: Built-in table editor.
  6075. (line 84)
  6076. * M-S-<up> <3>: Plain lists. (line 66)
  6077. * M-S-<up>: Structure editing. (line 33)
  6078. * mouse-1 <1>: Agenda commands. (line 33)
  6079. * mouse-1 <2>: The date/time prompt.
  6080. (line 36)
  6081. * mouse-1: Handling links. (line 72)
  6082. * mouse-2 <1>: Agenda commands. (line 33)
  6083. * mouse-2: Handling links. (line 72)
  6084. * mouse-3 <1>: Agenda commands. (line 28)
  6085. * mouse-3: Handling links. (line 77)
  6086. * n: Agenda commands. (line 19)
  6087. * O: Agenda commands. (line 177)
  6088. * o: Agenda commands. (line 65)
  6089. * P: Agenda commands. (line 137)
  6090. * p: Agenda commands. (line 20)
  6091. * q <1>: Agenda commands. (line 235)
  6092. * q: Using column view. (line 23)
  6093. * r <1>: Agenda commands. (line 77)
  6094. * r: Global TODO list. (line 22)
  6095. * S: Agenda commands. (line 203)
  6096. * s: Agenda commands. (line 84)
  6097. * S-<down> <1>: Agenda commands. (line 146)
  6098. * S-<down> <2>: The date/time prompt.
  6099. (line 45)
  6100. * S-<down> <3>: Creating timestamps. (line 40)
  6101. * S-<down> <4>: Priorities. (line 23)
  6102. * S-<down> <5>: Editing and debugging formulas.
  6103. (line 67)
  6104. * S-<down>: Plain lists. (line 62)
  6105. * S-<left> <1>: Agenda commands. (line 164)
  6106. * S-<left> <2>: The date/time prompt.
  6107. (line 42)
  6108. * S-<left> <3>: Creating timestamps. (line 35)
  6109. * S-<left> <4>: Multiple sets in one file.
  6110. (line 29)
  6111. * S-<left> <5>: TODO basics. (line 20)
  6112. * S-<left>: Editing and debugging formulas.
  6113. (line 67)
  6114. * S-<RET>: Built-in table editor.
  6115. (line 144)
  6116. * S-<right> <1>: Agenda commands. (line 156)
  6117. * S-<right> <2>: The date/time prompt.
  6118. (line 39)
  6119. * S-<right> <3>: Creating timestamps. (line 35)
  6120. * S-<right> <4>: Multiple sets in one file.
  6121. (line 29)
  6122. * S-<right> <5>: TODO basics. (line 20)
  6123. * S-<right>: Editing and debugging formulas.
  6124. (line 67)
  6125. * S-<TAB> <1>: Built-in table editor.
  6126. (line 59)
  6127. * S-<TAB>: Visibility cycling. (line 22)
  6128. * S-<up> <1>: Agenda commands. (line 140)
  6129. * S-<up> <2>: The date/time prompt.
  6130. (line 48)
  6131. * S-<up> <3>: Creating timestamps. (line 40)
  6132. * S-<up> <4>: Priorities. (line 23)
  6133. * S-<up> <5>: Editing and debugging formulas.
  6134. (line 67)
  6135. * S-<up>: Plain lists. (line 62)
  6136. * S-M-<RET>: TODO basics. (line 44)
  6137. * T: Agenda commands. (line 121)
  6138. * t: Agenda commands. (line 108)
  6139. * v: Using column view. (line 19)
  6140. * w: Agenda commands. (line 66)
  6141. * x: Agenda commands. (line 236)
  6142. * X: Agenda commands. (line 180)
  6143. * y: Agenda commands. (line 66)
  6144. 
  6145. Tag Table:
  6146. Node: Top970
  6147. Node: Introduction12310
  6148. Node: Summary12725
  6149. Node: Installation15734
  6150. Node: Activation17112
  6151. Node: Feedback18361
  6152. Node: Document structure20437
  6153. Node: Outlines21223
  6154. Node: Headlines21883
  6155. Ref: Headlines-Footnote-122891
  6156. Node: Visibility cycling22990
  6157. Ref: Visibility cycling-Footnote-125200
  6158. Ref: Visibility cycling-Footnote-225258
  6159. Ref: Visibility cycling-Footnote-325308
  6160. Node: Motion25578
  6161. Node: Structure editing26532
  6162. Node: Archiving29358
  6163. Node: ARCHIVE tag29916
  6164. Node: Moving subtrees31709
  6165. Node: Sparse trees33020
  6166. Ref: Sparse trees-Footnote-135152
  6167. Ref: Sparse trees-Footnote-235334
  6168. Node: Plain lists35449
  6169. Ref: Plain lists-Footnote-139646
  6170. Ref: Plain lists-Footnote-240004
  6171. Node: Drawers40185
  6172. Node: Tables41026
  6173. Node: Built-in table editor41607
  6174. Node: Narrow columns48846
  6175. Ref: Narrow columns-Footnote-150781
  6176. Node: Column groups50827
  6177. Node: orgtbl-mode52360
  6178. Node: The spreadsheet53163
  6179. Node: References54250
  6180. Ref: References-Footnote-158701
  6181. Node: Formula syntax for Calc58990
  6182. Node: Formula syntax for Lisp61447
  6183. Node: Field formulas63165
  6184. Node: Column formulas64473
  6185. Node: Editing and debugging formulas66072
  6186. Node: Updating the table70225
  6187. Node: Advanced features71260
  6188. Node: Hyperlinks75785
  6189. Node: Link format76558
  6190. Node: Internal links77851
  6191. Ref: Internal links-Footnote-179776
  6192. Node: Radio targets79911
  6193. Node: External links80602
  6194. Node: Handling links83006
  6195. Ref: Handling links-Footnote-188293
  6196. Ref: Handling links-Footnote-288530
  6197. Node: Link abbreviations88604
  6198. Node: Search options90283
  6199. Ref: Search options-Footnote-192063
  6200. Node: Custom searches92144
  6201. Node: Remember93192
  6202. Node: Setting up remember94179
  6203. Node: Remember templates94761
  6204. Ref: Remember templates-Footnote-198207
  6205. Node: Storing notes98305
  6206. Node: TODO items100192
  6207. Node: TODO basics101169
  6208. Node: TODO extensions102933
  6209. Node: Workflow states103752
  6210. Ref: Workflow states-Footnote-1104927
  6211. Node: TODO types105020
  6212. Ref: TODO types-Footnote-1106603
  6213. Node: Multiple sets in one file106685
  6214. Node: Per file keywords108296
  6215. Ref: Per file keywords-Footnote-1109585
  6216. Node: Priorities109786
  6217. Node: Breaking down tasks111396
  6218. Ref: Breaking down tasks-Footnote-1111916
  6219. Node: Checkboxes112012
  6220. Node: Tags114767
  6221. Node: Tag inheritance115527
  6222. Node: Setting tags116464
  6223. Ref: Setting tags-Footnote-1120987
  6224. Ref: Setting tags-Footnote-2121099
  6225. Node: Tag searches121182
  6226. Node: Properties123899
  6227. Node: Property syntax124884
  6228. Node: Special properties125705
  6229. Node: Property searches126366
  6230. Node: Column view127009
  6231. Node: Defining columns128199
  6232. Node: Using column view130710
  6233. Node: Property API131627
  6234. Node: Timestamps131969
  6235. Node: Time stamps132418
  6236. Ref: Time stamps-Footnote-1134846
  6237. Node: Creating timestamps134962
  6238. Node: The date/time prompt137036
  6239. Ref: The date/time prompt-Footnote-1139024
  6240. Node: Custom time format139130
  6241. Node: Deadlines and scheduling140822
  6242. Ref: Deadlines and scheduling-Footnote-1142172
  6243. Node: Inserting deadline/schedule142327
  6244. Node: Repeated tasks143265
  6245. Node: Progress logging144904
  6246. Node: Closing items145559
  6247. Ref: Closing items-Footnote-1146493
  6248. Ref: Closing items-Footnote-2146562
  6249. Node: Tracking TODO state changes146635
  6250. Node: Clocking work time147491
  6251. Ref: Clocking work time-Footnote-1151137
  6252. Ref: Clocking work time-Footnote-2151215
  6253. Node: Agenda views151341
  6254. Node: Agenda files153292
  6255. Ref: Agenda files-Footnote-1154258
  6256. Ref: Agenda files-Footnote-2154407
  6257. Node: Agenda dispatcher154600
  6258. Node: Built-in agenda views156297
  6259. Node: Weekly/Daily agenda156877
  6260. Node: Global TODO list159819
  6261. Node: Matching tags and properties162097
  6262. Node: Timeline163186
  6263. Node: Stuck projects163858
  6264. Node: Presentation and sorting165709
  6265. Node: Categories166500
  6266. Node: Time-of-day specifications167164
  6267. Node: Sorting of agenda items169135
  6268. Node: Agenda commands170417
  6269. Node: Custom agenda views177503
  6270. Node: Storing searches178222
  6271. Node: Block agenda180134
  6272. Node: Setting Options181364
  6273. Node: Exporting Agenda Views184103
  6274. Ref: Exporting Agenda Views-Footnote-1188387
  6275. Ref: Exporting Agenda Views-Footnote-2188444
  6276. Node: Extracting Agenda Information for other programs188630
  6277. Node: Embedded LaTeX192756
  6278. Ref: Embedded LaTeX-Footnote-1193850
  6279. Node: Math symbols194040
  6280. Node: Subscripts and Superscripts194807
  6281. Node: LaTeX fragments195653
  6282. Ref: LaTeX fragments-Footnote-1197889
  6283. Node: Processing LaTeX fragments198151
  6284. Node: CDLaTeX mode199099
  6285. Ref: CDLaTeX mode-Footnote-1201585
  6286. Node: Exporting201733
  6287. Node: ASCII export203047
  6288. Node: HTML export204337
  6289. Node: Export commands204956
  6290. Node: Quoting HTML tags206200
  6291. Node: Links206830
  6292. Node: Images207527
  6293. Ref: Images-Footnote-1208398
  6294. Node: CSS support208459
  6295. Ref: CSS support-Footnote-1209778
  6296. Node: XOXO export209891
  6297. Node: iCalendar export210330
  6298. Node: Text interpretation211549
  6299. Node: Comment lines212140
  6300. Node: Initial text212535
  6301. Node: Footnotes214204
  6302. Node: Enhancing text215019
  6303. Ref: Enhancing text-Footnote-1216878
  6304. Node: Export options216968
  6305. Node: Publishing218913
  6306. Ref: Publishing-Footnote-1219709
  6307. Node: Configuration219905
  6308. Node: Project alist220623
  6309. Node: Sources and destinations221689
  6310. Node: Selecting files222419
  6311. Node: Publishing action223167
  6312. Node: Publishing options224400
  6313. Node: Publishing links226552
  6314. Node: Project page index228065
  6315. Node: Sample configuration228843
  6316. Node: Simple example229335
  6317. Node: Complex example230008
  6318. Node: Triggering publication232084
  6319. Node: Miscellaneous232769
  6320. Node: Completion233403
  6321. Node: Customization235073
  6322. Node: In-buffer settings235656
  6323. Node: The very busy C-c C-c key240989
  6324. Node: Clean view242633
  6325. Node: TTY keys245210
  6326. Node: Interaction246820
  6327. Node: Cooperation247217
  6328. Node: Conflicts250093
  6329. Node: Bugs252096
  6330. Node: Extensions and Hacking253592
  6331. Node: Extensions254263
  6332. Node: Tables in arbitrary syntax256210
  6333. Node: Radio tables257287
  6334. Node: A LaTeX example259790
  6335. Ref: A LaTeX example-Footnote-1263436
  6336. Ref: A LaTeX example-Footnote-2263584
  6337. Node: Translator functions264019
  6338. Ref: Translator functions-Footnote-1267128
  6339. Node: Dynamic blocks267216
  6340. Node: Special agenda views269188
  6341. Ref: Special agenda views-Footnote-1271498
  6342. Node: Using the property API271758
  6343. Node: History and Acknowledgments273239
  6344. Node: Index279623
  6345. Node: Key Index312363
  6346. 
  6347. End Tag Table