ORG-NEWS 235 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486
  1. ORG NEWS -- history of user-visible changes. -*- mode: org; coding: utf-8 -*-
  2. #+STARTUP: overview
  3. #+LINK: doc https://orgmode.org/worg/doc.html#%s
  4. #+LINK: msg https://list.orgmode.org/%s/
  5. #+LINK: git https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=%s
  6. Copyright (C) 2012-2022 Free Software Foundation, Inc.
  7. See the end of the file for license conditions.
  8. Please send Org bug reports to mailto:emacs-orgmode@gnu.org.
  9. * Version 9.6 (not yet released)
  10. ** Important announcements and breaking changes
  11. *** Element cache is enabled by default and work for headings
  12. The old element cache code has been refactored. Emacs does not hang
  13. anymore when the cache is enabled.
  14. When cache is enabled, ~org-element-at-point~ for headings is
  15. guaranteed to return valid =:parent= property. The highest-level
  16. headings contain new =org-data= element as their parent.
  17. The new =org-data= element provides properties from top-level property
  18. drawer, buffer-global category, and =:path= property containing file
  19. path for file Org buffers.
  20. The new cache still need to be tested extensively. Please, report any
  21. warning coming from element cache. If you see warnings regularly, it
  22. would be helpful to set ~org-element--cache-self-verify~ to
  23. ='backtrace= and provide the backtrace to Org mailing list.
  24. *** Element cache persists across Emacs sessions
  25. The cache state is saved between Emacs sessions. Enabled by default.
  26. The cache persistence can be controlled via
  27. ~org-element-cache-persistent~.
  28. ** New features
  29. *** New library =org-persist.el= implements variable persistence across Emacs sessions
  30. The library stores variable data in ~org-persist-directory~ (set to XDG
  31. cache dir by default).
  32. The entry points are ~org-persist-register~, ~org-persist-unregister~,
  33. ~org-persist-read~, and ~org-persist-read-all~. Storing circular
  34. structures is supported. Storing references between different
  35. variables is also supported (see =:inherit= key in
  36. ~org-persist-register~).
  37. The library permits storing buffer-local variables. Such variables
  38. are linked to the buffer text, file =inode=, and file path.
  39. *** New =:options= attribute when exporting tables to LaTeX
  40. The =:options= attribute allows adding an optional argument with a
  41. list of various table options (between brackets in LaTeX export),
  42. since certain tabular environments, such as longtblr of the
  43. tabularray LaTeX package, provides this structure.
  44. *** New =:compact= attribute when exporting lists to Texinfo
  45. The =:compact= attribute allows exporting multiple description list
  46. items to one =@item= command and one or more =@itemx= commands. This
  47. feature can also be enabled for all description lists in a file using
  48. the =compact-itemx= export option, or globally using the
  49. ~org-texinfo-compact-itemx~ variable.
  50. *** New shorthands recognized when exporting to Texinfo
  51. Items in a description list that begin with =Function:=, =Variable:=
  52. or certain related prefixes are converted using Texinfo definition
  53. commands.
  54. ** New functions and changes in function arguments
  55. *** New function ~org-element-cache-map~ for quick mapping across Org elements
  56. When element cache is enabled, the new function provides the best
  57. possible performance to map across large Org buffers.
  58. It is recommended to provide =:next-re= and =:fail-re= parameters for
  59. best speed.
  60. Diagnostic information about execution speed can be provided according
  61. to ~org-element--cache-map-statistics~ and
  62. ~org-element--cache-map-statistics-threshold~.
  63. ~org-scan-tags~ and tag views in agenda utilise the new function.
  64. *** New function ~org-element-at-point-no-context~
  65. This function is like ~org-element-at-point~, but it does not try to
  66. update the cache and does not guarantee correct =:parent= properties
  67. for =headline= elements.
  68. This function is faster than ~org-element-at-point~ when used together
  69. with frequent buffer edits.
  70. *** Various Org API functions now use cache and accept Org elements as optional arguments
  71. ~org-in-archived-heading-p~, ~org-in-commented-heading-p~,
  72. ~org-up-heading-safe~, ~org-end-of-subtree~, ~org-goto-first-child~,
  73. ~org-back-to-heading~, ~org-entry-get-with-inheritance~, and
  74. ~org-narrow-to-subtree~ all accept Org element as an extra optional
  75. argument.
  76. ~org-get-tags~ now accepts Org element or buffer position as first
  77. argument.
  78. *** New function ~org-texinfo-kbd-macro~
  79. This function is intended for us in the definition of a ~kbd~ macro in
  80. files that are exported to Texinfo.
  81. ** Miscellaneous
  82. *** Styles are customizable in ~biblatex~ citation processor
  83. It is now possible to add new styles or modify old ones in ~biblatex~
  84. citation processor. See ~org-cite-biblatex-styles~ for more
  85. information.
  86. *** Citation processors can declare styles dynamically
  87. When a citation processor is registered, it is now possible to set
  88. ~:cite-styles~ key to a function, which will be called whenever the
  89. list of styles is required.
  90. *** Org also searches for CSL style files in default directory
  91. When CSL style file name is relative, Org first looks into
  92. default-directory before trying ~org-cite-csl-styles-dir~.
  93. *** Users can add checkers to the linting process
  94. The function ~org-lint-add-checker~ allows one to add personal checks
  95. when calling ~org-lint~. See its docstring for more information.
  96. *** New =transparent-image-converter= property for =dvipng=
  97. The =dvipng= option in ~org-preview-latex-process-alist~ has a new
  98. property =transparent-image-converter= which is used instead of
  99. =image-converter= when producing transparent images.
  100. *** =:tangle-mode= now accepts more permissions formats
  101. Previously =:tangle-mode (identity #o755)= was the only reasonable way
  102. to set the file mode. ~org-babel-interpret-file-mode~ has been
  103. introduced which will accept three new formats:
  104. + Short octals, e.g. =:tangle-mode o755=
  105. + ls-style, e.g. =:tangle-mode rwxrw-rw-=
  106. + chmod-style, e.g. =:tangle-mode u+x=
  107. Chmod-style permissions are based on the new variable
  108. ~org-babel-tangle-default-file-mode~.
  109. *** A new custom setting =org-agenda-clock-report-header= to add a header to org agenda clock report
  110. * Version 9.5
  111. ** Important announcements and breaking changes
  112. *** The =contrib/= now lives in a separate repository
  113. Org's repository has been trimmed from the =contrib/= directory.
  114. The old contents of the =contrib/= directory now lives in a separate
  115. repository at https://git.sr.ht/~bzg/org-contrib.
  116. You can install this repository by cloning it and updating your
  117. ~load-path~ accordingly. You can also install =org-contrib= as a
  118. [[https://elpa.nongnu.org/nongnu/][NonGNU ELPA]] package.
  119. *** Org ELPA and Org archives won't be available for Org > 9.5
  120. [[https://orgmode.org/elpa.html][Org ELPA]] is still available for installing Org 9.5, either with or
  121. without contributed packages, but future versions won't be available
  122. via Org ELPA, as we are deprecating this installation method.
  123. Also, Org 9.5 is available as =tar.gz= and =zip= archives, but this
  124. installation method is also deprecated.
  125. If you want to install the latest stable versions of Org, please use
  126. the GNU ELPA package. If you want to install the contributed files,
  127. please use the NonGNU ELPA package. If you want to keep up with the
  128. latest unstable Org, please install from the Git repository.
  129. See https://orgmode.org/org.html#Installation for the details.
  130. *** =ditaa.jar= is not bundled with Org anymore
  131. =ditaa.jar= used to be bundled with Org but it is not anymore.
  132. See [[https://github.com/stathissideris/ditaa][the ditaa repository]] on how to install it.
  133. *** ~org-adapt-indentation~ now defaults to =nil=
  134. If you want to automatically indent headlines' metadata, set it to
  135. =headline-data=.
  136. If you want to automatically indent every line to the headline's
  137. current indentation, set it to =t=.
  138. Indent added by =RET= and =C-j= also depends on the value of
  139. ~electric-indent-mode~. Enabling this mode by default in 9.4 revealed
  140. some bugs caused confusing behavior. If you disabled
  141. ~electric-indent-mode~ for this reason, it is time to try it again.
  142. Hopefully problems have been fixed. See [[https://orgmode.org/worg/org-faq.html#indentation][this FAQ]] for more details.
  143. *** ~org-speed-commands-user~ is obsolete, use ~org-speed-commands~
  144. Setting ~org-speed-commands-user~ in your configuration won't have any
  145. effect. Please set ~org-speed-commands~ instead, which see.
  146. *** Some =ob-*.el= files have been moved to the org-contrib repo
  147. These files have been moved to https://git.sr.ht/~bzg/org-contrib:
  148. - ob-abc.el
  149. - ob-asymptote.el
  150. - ob-coq.el
  151. - ob-ebnf.el
  152. - ob-hledger.el
  153. - ob-io.el
  154. - ob-J.el
  155. - ob-ledger.el
  156. - ob-mscgen.el
  157. - ob-picolisp.el
  158. - ob-shen.el
  159. - ob-stan.el
  160. - ob-vala.el
  161. See the discussion [[msg::87bl9rq29m.fsf@gnu.org][here]].
  162. *** Compatibility with Emacs versions
  163. We made it explicit that we aim at keeping the latest stable version
  164. of Org compatible with at least Emacs V, V-1 and V-2, where V is the
  165. stable major version of Emacs.
  166. For example, if the current major version of Emacs is 28.x, then the
  167. latest stable version of Org should be compatible with Emacs 28.x,
  168. 27.x and 26.x – but not with Emacs 25.x.
  169. See [[https://orgmode.org/worg/org-maintenance.html#emacs-compatibility][this note on Worg]] and [[git::519947e508e081e71bf67db99e27b1c171ba4dfe][this commit]].
  170. *** The keybinding for ~org-table-blank-field~ has been removed
  171. If you prefer to keep the keybinding, you can add it back to
  172. ~org-mode-map~ like so:
  173. #+begin_src emacs-lisp
  174. (define-key org-mode-map (kbd "C-c SPC") #'org-table-blank-field)
  175. #+end_src
  176. ** New features
  177. *** New citation engine
  178. Org 9.5 provides a new library =oc.el= which provides tooling to
  179. handle citations in Org, e.g., activate, follow, insert, and export
  180. them, respectively called "activate", "follow", "insert" and "export"
  181. capabilities. Libraries responsible for providing some, or all, of
  182. these capabilities are called "citation processors".
  183. The manual contains a few pointers to let you start and you may want
  184. to check [[https://blog.tecosaur.com/tmio/2021-07-31-citations.html][this blog post]]. If you need help using this new features,
  185. please ask on the mailing list.
  186. Thanks to Nicolas Goaziou for implementing this, to Bruce D’Arcus for
  187. helping him and to John Kitchin for paving the way with =org-ref.el=.
  188. *** Async session evaluation
  189. The =:async= header argument can be used for asynchronous evaluation
  190. in session blocks for certain languages.
  191. Currently, async evaluation is supported in Python. There is also
  192. functionality to implement async evaluation in other languages that
  193. use comint, but this needs to be done on a per-language basis.
  194. By default, async evaluation is disabled unless the =:async= header
  195. argument is present. You can also set =:async no= to force it off
  196. (for example if you've set =:async= in a property drawer).
  197. Async evaluation is disabled during export.
  198. *** ~ox-koma-letter.el~ is now part of Org's core
  199. ~ox-koma-letter.el~ provides a KOMA scrlttr2 back-end for the Org
  200. export engine. It used to be in the =contrib/= directory but it is
  201. now part of Org's core.
  202. *** Support exporting DOI links
  203. Org now supports export for DOI links, through its new =ol-doi.el=
  204. library. For backward compatibility, it is loaded by default.
  205. *** Add a new ~:refile-targets~ template option
  206. When exiting capture mode via ~org-capture-refile~, the variable
  207. ~org-refile-targets~ will be temporarily bound to the value of this
  208. template option.
  209. *** New startup options =#+startup: show<n>levels=
  210. These startup options complement the existing =overview=, =content=,
  211. =showall=, =showeverything= with a way to start the document with n
  212. levels shown, where n goes from 2 to 5.
  213. Example:
  214. : #+startup: show3levels
  215. *** New =u= table formula flag to enable Calc units simplification mode
  216. A new =u= mode flag for Calc formulas in Org tables has been added to
  217. enable Calc units simplification mode.
  218. *** Support fontification of inline export snippets
  219. See [[msg:87im57fh8j.fsf@gmail.com][this thread]].
  220. *** New command =org-refile-reverse= bound to =C-c C-M-w=
  221. You can now use =C-c C-M-w= to run ~org-refile-reverse~.
  222. It is almost identical to ~org-refile~, except that it temporarily
  223. toggles how ~org-reverse-note-order~ applies to the current buffer.
  224. So if ~org-refile~ would append the entry as the last entry under the
  225. target heading, ~org-refile-reverse~ will prepend it as the first
  226. entry, and vice-versa.
  227. *** LaTeX attribute ~:float~ now passes through arbitrary values
  228. LaTeX users are able to define arbitrary float types, e.g. with the
  229. float package. The Org mode LaTeX exporter is now able to process and
  230. export arbitrary float types. The user is responsible for ensuring
  231. that Org mode configures LaTeX to process any new float type.
  232. *** Support verse and quote blocks in LaTeX export
  233. The LaTeX export back-end accepts four attributes for verse blocks:
  234. =:lines=, =:center=, =:versewidth= and =:latexcode=. The three first
  235. require the external LaTeX package =verse.sty=, which is an extension
  236. of the standard LaTeX environment.
  237. The LaTeX export back-end accepts two attributes for quote blocks:
  238. =:environment=, for an arbitrary quoting environment (the default
  239. value is that of =org-latex-default-quote-environment=: ="quote"=) and
  240. =:options=.
  241. *** =org-set-tags-command= selects tags from ~org-global-tags-completion-table~
  242. Let ~org-set-tags-command~ TAB fast tag completion interface complete
  243. tags including from both buffer local and user defined persistent
  244. global list (~org-tag-alist~ and ~org-tag-persistent-alist~). Now
  245. option ~org-complete-tags-always-offer-all-agenda-tags~ is honored.
  246. *** Clocktable option =:formula %= now shows the per-file time percentages
  247. This change only has an effect when multiple files are contributing to
  248. a given clocktable (such as when =:scope agenda= has been specified).
  249. The existing behavior is that such tables have an extra 'File' column,
  250. and each individual file that contributes has its own summary line
  251. with the headline value '*File time*'. Those summary rows also
  252. produce a rollup time value for the file in the 'Time' column.
  253. Prior to this change, the built-in =%= formula did not produce a
  254. calculation for those per-file times in the '%' column (the relevant
  255. cells in the '%' column were blank). With this change, the percentage
  256. contribution of each individual file time to the total time is shown.
  257. The more agenda files you have, the more useful this behavior becomes.
  258. *** =ob-python.el= improvements to =:return= header argument
  259. The =:return= header argument in =ob-python= now works for session
  260. blocks as well as non-session blocks. Also, it now works with the
  261. =:epilogue= header argument -- previously, setting the =:return=
  262. header would cause the =:epilogue= to be ignored.
  263. This change allows more easily moving boilerplate out of the main code
  264. block and into the header. For example, for plotting, we need to add
  265. boilerplate to save the figure to a file and return the
  266. filename. Instead of doing this within the code block, we can now
  267. handle it through the header arguments as follows:
  268. #+BEGIN_SRC org
  269. ,#+header: :var fname="/home/jack/tmp/plot.svg"
  270. ,#+header: :epilogue plt.savefig(fname)
  271. ,#+header: :return fname
  272. ,#+begin_src python :results value file
  273. import matplotlib, numpy
  274. import matplotlib.pyplot as plt
  275. fig=plt.figure(figsize=(4,2))
  276. x=numpy.linspace(-15,15)
  277. plt.plot(numpy.sin(x)/x)
  278. fig.tight_layout()
  279. ,#+end_src
  280. ,#+RESULTS:
  281. [[file:/home/jack/tmp/plot.svg]]
  282. #+END_SRC
  283. As another example, we can use =:return= with the external [[https://pypi.org/project/tabulate/][tabulate]]
  284. package, to convert pandas Dataframes into orgmode tables:
  285. #+begin_src org
  286. ,#+header: :prologue from tabulate import tabulate
  287. ,#+header: :return tabulate(table, headers=table.columns, tablefmt="orgtbl")
  288. ,#+begin_src python :results value raw :session
  289. import pandas as pd
  290. table = pd.DataFrame({
  291. "a": [1,2,3],
  292. "b": [4,5,6]
  293. })
  294. ,#+end_src
  295. ,#+RESULTS:
  296. | | a | b |
  297. |---+---+---|
  298. | 0 | 1 | 4 |
  299. | 1 | 2 | 5 |
  300. | 2 | 3 | 6 |
  301. #+end_src
  302. *** Display images with width proportional to the buffer text width
  303. Previously, if you used a =:width= attribute like =#+attr_html: :width 70%= or
  304. =#+attr_latex: :width 0.7\linewidth= this would be interpreted as a 70px wide and
  305. 0.7px wide width specification respectively.
  306. Now, percentages are transformed into floats (i.e. 70% becomes 0.7),
  307. and float width specifications between 0.0 and 2.0 are now interpreted
  308. as that portion of the text width in the buffer. For instance, the
  309. above examples of =70%= and =0.7\linewidth= will result in an image
  310. with width equal to the pixel-width of the buffer text multiplied by 0.7.
  311. This functionality is implemented in a new function,
  312. ~org-display-inline-image--width~ which contains the width
  313. determination logic previously in ~org-display-inline-images~ and the
  314. new behaviour.
  315. ** New options
  316. *** Option ~org-hidden-keywords~ now also applies to #+SUBTITLE:
  317. The option ~org-hidden-keywords~ previously applied
  318. to #+TITLE:, #+AUTHOR:, #+DATE:, and #+EMAIL:. Now it can also be
  319. used to hide the #+SUBTITLE: keyword.
  320. *** New formatting directive ~%L~ for org-capture
  321. The new ~%L~ formatting directive contains the bare link target, and
  322. may be used to create links with programmatically generated
  323. descriptions.
  324. *** New option ~org-id-ts-format~
  325. Earlier, IDs generated using =ts= method had a hard-coded format (i.e. =20200923T160237.891616=).
  326. The new option allows user to customise the format.
  327. Defaults are unchanged.
  328. *** New argument for ~file-desc~ babel header
  329. It is now possible to provide the =file-desc= header argument for a
  330. babel source block but omit the description by passing an empty vector
  331. as an argument (i.e., :file-desc []). This can be useful because
  332. providing =file-desc= without an argument results in the result of
  333. =file= being used in the description. Previously, the only way to
  334. omit a file description was to omit the header argument entirely,
  335. which made it difficult/impossible to provide a default value for
  336. =file-desc=.
  337. *** New option to set ~org-link-file-path-type~ to a function
  338. ~org-link-file-path-type~ can now be set to a function that takes the
  339. full filename as an argument and returns the path to link to.
  340. For example, if you use ~project.el~, you can set this function to use
  341. relative links within a project as follows:
  342. #+begin_src emacs-lisp
  343. (setq (org-link-file-path-type
  344. (lambda (path)
  345. (let* ((proj (project-current))
  346. (root (if proj (project-root proj) default-directory)))
  347. (if (string-prefix-p (expand-file-name root) path)
  348. (file-relative-name path)
  349. (abbreviate-file-name path))))))
  350. #+end_src
  351. *** New options and new behavior for babel LaTeX SVG image files
  352. Org babel now uses a two-stage process for converting latex source
  353. blocks to SVG image files (when the extension of the output file is
  354. ~.svg~). The first stage in the process converts the latex block into
  355. a PDF file, which is then converted into an SVG file in the second
  356. stage. The TeX->PDF part uses the existing infrastructure for
  357. ~org-babel-latex-tex-to-pdf~. The PDF->SVG part uses a command
  358. specified in a new customization,
  359. ~org-babel-latex-pdf-svg-process~. By default, this uses inkscape for
  360. conversion, but since it is fully customizable, any other command can
  361. be used in its place. For instance, dvisvgm might be used here. This
  362. two-part processing replaces the previous use of htlatex to process
  363. LaTeX directly to SVG (htlatex is still used for HTML conversion).
  364. Conversion to SVG exposes a number of additional customizations that
  365. give the user full control over the contents of the latex source
  366. block. ~org-babel-latex-preamble~, ~org-babel-latex-begin-env~ and
  367. ~org-babel-latex-end-env~ are new customization options added to allow
  368. the user to specify the preamble and code that preceedes and proceeds
  369. the contents of the source block.
  370. *** New option ~org-html-meta-tags~ allows for HTML meta tags customization
  371. New variable ~org-html-meta-tags~ makes it possible to customize the
  372. =<meta>= tags used in an HTML export. Accepts either a static list of
  373. values, or a function that generates such a list (see
  374. ~org-html-meta-tags-default~ as an example of the latter).
  375. *** Option ~org-agenda-bulk-custom-functions~ now supports collecting bulk arguments
  376. When specifying a custom agenda bulk option, you can now also specify
  377. a function which collects the arguments to be used with each call to
  378. the custom function.
  379. *** New faces to improve the contextuality of Org agenda views
  380. Four new faces improve certain styles and offer more flexibility for
  381. some Org agenda views: ~org-agenda-date-weekend-today~,
  382. ~org-imminent-deadline~, ~org-agenda-structure-secondary~,
  383. ~org-agenda-structure-filter~. They inherit from existing faces in
  384. order to remain backward-compatible.
  385. Quoting from [[https://list.orgmode.org/87lf7q7gpq.fsf@protesilaos.com/][this thread]]:
  386. #+begin_quote
  387. + The 'org-imminent-deadline' is useful to disambiguate generic
  388. warnings from deadlines. For example, a warning could be rendered
  389. in a yellow colored text and have a bold weight, whereas a deadline
  390. might be red and styled with italics.
  391. + The 'org-agenda-structure-filter' applies to all tag/term filters
  392. in agenda views that search for keywords or patterns. It is
  393. designed to inherit from 'org-agenda-structure' in addition to the
  394. 'org-warning' face that was present before (and removes the
  395. generic 'warning' face from one place). This offers the benefit
  396. of consistency, as, say, an increase in font height or a change in
  397. font family in 'org-agenda-structure' will propagate to the filter
  398. as well. The whole header line thus looks part of a singular
  399. design.
  400. + The 'org-agenda-structure-secondary' complements the above for those
  401. same views where a description follows the header. For instance, the
  402. tags view provides information to "Press N r" to filter by a
  403. numbered tag. Themes/users may prefer to disambiguate this line
  404. from the header above it, such as by using a less intense color or by
  405. reducing its height relative to the 'org-agenda-structure'.
  406. + The 'org-agenda-date-weekend-today' provides the option to
  407. differentiate the current date on a weekend from the current date on
  408. weekdays.
  409. #+end_quote
  410. *** New option ~org-clock-ask-before-exiting~
  411. By default, a function is now added to ~kill-emacs-query-functions~
  412. that asks whether to clock out and save when there's a running clock.
  413. Customize ~org-clock-ask-before-exiting~~ to nil to disable this new
  414. behavior.
  415. *** Option ~org-html-inline-image-rules~ now includes .webp
  416. By default ox-html now inlines webp images.
  417. *** ~org-html-head-include-scripts~ is now =nil= by default
  418. See [[msg:498dbe2e-0cd2-c81e-7960-4a26c566a1f7@memebeam.org][this thread]].
  419. *** New option ~org-html-content-class~
  420. This is the CSS class name to use for the top level content wrapper.
  421. *** New option ~org-babel-plantuml-svg-text-to-path~
  422. ** New features
  423. *** =ob-python= improvements to =:return= header argument
  424. This option, nil by default, allows to add a SVG-specific post-export
  425. step that runs inkscape text-to-path replacement over the output file.
  426. *** You can now configure ~org-html-scripts~ and ~org-html-style-default~
  427. ~org-html-scripts~ and ~org-html-style-default~ used to be constants,
  428. you can now configure them.
  429. *** New option ~org-attach-git-dir~
  430. ~org-attach-git-dir~ will decide whether to use ~org-attach-git-dir~
  431. (the default) or use the attachment directory of the current node, if
  432. it is correctly configured as a Git repository.
  433. *** Some faces now use fixed-pitch
  434. See [[msg:875z8njaol.fsf@protesilaos.com][this thread]].
  435. *** New option ~org-attach-sync-delete-empty-dir~
  436. ~org-attach-sync-delete-empty-dir~ controls the deletion of an empty
  437. attachment directory at calls of ~org-attach-sync~. There is
  438. Never delete, Always delete and Query the user (default).
  439. *** ~org-babel-default-header-args~ can now be specified as closures or strings
  440. ~org-babel-default-header-args~ now also accepts closures that
  441. evaluate to a string. Previously, only direct strings were
  442. supported. These closures are evaluated when point is at the source
  443. block, which allows them to make use of contextual information at the
  444. relevant source block. One example that illustrates the usefulness of
  445. this addition (also given in the documentation for
  446. ~org-babel-default-header-args~) is:
  447. #+begin_src elisp
  448. (defun org-src-sha ()
  449. (let ((elem (org-element-at-point)))
  450. (concat (sha1 (org-element-property :value elem)) \".svg\")))
  451. (setq org-babel-default-header-args:latex
  452. `((:results . \"file link replace\")
  453. (:file . (lambda () (org-src-sha)))))
  454. #+end_src
  455. This will set the ~:file~ header argument to the sha1 checksum of the
  456. contents of the current latex source block.
  457. Finally, the closures are only evaluated if they're not overridden for
  458. a source block. This improves efficiency in cases where the result of
  459. a compute-expensive closure would otherwise be discarded.
  460. ** Miscellaneous
  461. *** =org-bibtex= includes =doi= and =url= entries when exporting to BiBTeX
  462. =doi= and =url= entries have been made optional for some publication
  463. types and will be exported if present for those types.
  464. *** Missing or empty placeholders in "eval" macros are now =nil=
  465. They used to be the empty string.
  466. *** =org-goto-first-child= now works before first heading
  467. When point is before first heading =org-goto-first-child= will move
  468. point to the first child heading, or return nil if no heading exist
  469. in buffer. This is in line with the fact that everything before first
  470. heading is regarded as outline level 0, i.e. the parent level of all
  471. headings in the buffer.
  472. Previously =org-goto-first-child= would do nothing before first
  473. heading, except return nil.
  474. *** Faces of all the heading text elements now conform to the headline face
  475. In the past, faces of todo keywords, emphasised text, tags, and
  476. priority cookies inherited =default= face. The resulting headline
  477. fontification was not always consistent, as discussed in [[https://lists.gnu.org/archive/html/emacs-orgmode/2020-09/msg00331.html][this bug
  478. report]]. Now, the relevant faces adapt to face used to fontify the
  479. current headline level.
  480. Users who prefer to keep the old behaviour should change their face
  481. customisation explicitly stating that =default= face is inherited.
  482. Example of old face customisation:
  483. #+begin_src emacs-lisp
  484. (setq org-todo-keyword-faces '(("TODO"
  485. :background "chocolate"
  486. :height 0.75)))
  487. #+end_src
  488. To preserve the old behaviour the above customisation should be
  489. changed to
  490. #+begin_src emacs-lisp
  491. (setq org-todo-keyword-faces '(("TODO"
  492. :inherit default
  493. :background "chocolate"
  494. :height 0.75)))
  495. #+end_src
  496. *** Storing ID-links before first heading uses title as description
  497. Storing links to files using ~org-store-link~ (=<C-c l>=) when
  498. ~org-id-link-to-org-use-id~ is not nil will now store the title as
  499. description of the link, if available. If no title exists it falls
  500. back to the filename as before.
  501. *** Change in =org-tags-expand= signature
  502. The function does not allow for a third optional parameter anymore.
  503. *** LaTeX environment =#+results= are now removed
  504. If a babel src block produces a raw LaTeX environment, it will now be
  505. recognised as a result, and so replaced when re-evaluated.
  506. *** Tag completion now uses =completing-read-multiple=
  507. Tag completion now uses =completing-read-multiple= with a simple
  508. completion table, which should allow better interoperability with
  509. custom completion functions.
  510. *** Providing =directory-empty-p= from Emacs 28 as =org-directory-empty-p=
  511. *** =org-get-last-sibling= marked as obsolete
  512. Use =org-get-previous-sibling= instead. This is just a rename to have
  513. a more consistent naming. E.g. recall the pair of funtctions
  514. =next-line= / =previous-line=.
  515. *** Make org-protocol compatible with =URLSearchParams= JavaScript class
  516. Decoder of query part of org-protocol URI recognizes "+" as an encoded
  517. space characters now, so it is possible to avoid call to =encodeURIComponent=
  518. for each parameter and use more readable expression in bookmarklet:
  519. #+begin_example
  520. 'org-protocol://store-link?' + new URLSearchParams({
  521. url: location.href, title: document.title})
  522. #+end_example
  523. *** Remove obsolete LaTeX packages from ~org-latex-default-packages-alist~
  524. The LaTeX packages =grffile= and =textcomp= are redundant, with their
  525. capabilities being merged into =graphicx= and the LaTeX core
  526. respectively a while ago.
  527. * Version 9.4
  528. ** Incompatible changes
  529. *** Possibly broken internal file links: please check and fix
  530. A bug has been affecting internal links to headlines, like
  531. : [[*Headline][A link to a headline]]
  532. Storing a link to a headline may have been broken in your setup and
  533. those links may appear as
  534. : [[*TODO Headline][A link to a headline]]
  535. Following the link above will result in an error: the TODO keyword
  536. should not be part of internal file links.
  537. You can use the following command to fix links in an Org buffer:
  538. #+begin_src emacs-lisp
  539. (defun org-fix-links ()
  540. "Fix ill-formatted internal links.
  541. E.g. replace [[*TODO Headline][headline]] by [[*Headline][headline]].
  542. Go through the buffer and ask for the replacement."
  543. (interactive)
  544. (visible-mode 1)
  545. (save-excursion
  546. (goto-char (point-min))
  547. (let ((regexp (format "\\[\\[\\*%s\\s-+"
  548. (regexp-opt org-todo-keywords-1 t))))
  549. (while (re-search-forward regexp nil t)
  550. (when (and (save-excursion
  551. (goto-char (match-beginning 0))
  552. (looking-at-p org-link-bracket-re))
  553. (y-or-n-p "Fix link (remove TODO keyword)? "))
  554. (replace-match "[[*")))))
  555. (visible-mode -1))
  556. #+end_src
  557. *** Calling conventions changes when opening or exporting custom links
  558. This changes affects export back-ends, and libraries providing new
  559. link types.
  560. Function used in ~:follow~ link parameter is required to accept a
  561. second argument. Likewise, function used in ~:export~ parameter needs
  562. to accept a fourth argument. See ~org-link-set-parameters~ for
  563. details.
  564. Eventually, the function ~org-export-custom-protocol-maybe~ is now
  565. called with a fourth argument. Even though the 3-arguments definition
  566. is still supported, at least for now, we encourage back-end developers
  567. to switch to the new signature.
  568. *** Python session return values must be top-level expression statements
  569. Python blocks with ~:session :results value~ header arguments now only
  570. return a value if the last line is a top-level expression statement.
  571. Also, when a None value is returned, "None" will be printed under
  572. "#+RESULTS:", as it already did with ~:results value~ for non-session
  573. blocks.
  574. *** In HTML export, change on how outline-container-* is set
  575. When the headline has a =CUSTOM_ID=, use this custom id to build the
  576. div id. For example, if you have =:CUSTOM_ID: my-headline= then the
  577. resulting <div> will be ~<div id="outline-container-my-headline">~.
  578. You may want to check whether your HTML files are rendered differently
  579. after this change.
  580. *** New keybinding =<C-c C-TAB>= for ~org-force-cycle-archived~
  581. ~org-force-cycle-archived~ used to be associated with =<C-TAB>= but
  582. this keybinding is used in Emacs for navigating tabs in Emacs. The
  583. new keybinding is =<C-c C-TAB>=.
  584. ** New default settings for some options
  585. These options now default to =t=:
  586. - ~org-loop-over-headlines-in-active-region~
  587. - ~org-fontify-done-headline~
  588. - ~org-src-tab-acts-natively~
  589. You may want to read the docstrings of these options to understand the
  590. consequences of this change.
  591. Also, ~org-startup-folded~ now defaults to ~showeverything~.
  592. ** New features
  593. *** =RET= and =C-j= now obey ~electric-indent-mode~
  594. Since Emacs 24.4, ~electric-indent-mode~ is enabled by default. In
  595. most major modes, this causes =RET= to reindent the current line and
  596. indent the new line, and =C-j= to insert a newline without indenting.
  597. Org mode now obeys this minor mode: when ~electric-indent-mode~ is
  598. enabled, and point is neither in a table nor on a timestamp or a link:
  599. - =RET= (bound to ~org-return~) reindents the current line and indents
  600. the new line;
  601. - =C-j= (bound to the new command ~org-return-and-maybe-indent~)
  602. merely inserts a newline.
  603. To get the previous behaviour back, disable ~electric-indent-mode~
  604. explicitly:
  605. #+begin_src emacs-lisp
  606. (add-hook 'org-mode-hook (lambda () (electric-indent-local-mode -1)))
  607. #+end_src
  608. Alternatively, if you wish to keep =RET= as the "smart-return" key,
  609. but dislike Org's default indentation of sections, you may prefer to
  610. customize ~org-adapt-indentation~ to either nil or =headline-data=.
  611. *** New allowed value for ~org-adapt-indentation~
  612. ~org-adapt-indentation~ now accepts a new value, =headline-data=.
  613. When set to this value, Org will only adapt indentation of headline
  614. data lines, such as planning/clock lines and property/logbook drawers.
  615. Also, with this setting, =org-indent-mode= will keep these data lines
  616. correctly aligned with the headline above.
  617. *** Looping agenda commands over headlines
  618. ~org-agenda-loop-over-headlines-in-active-region~ allows you to loop
  619. agenda commands over the active region.
  620. When set to =t= (the default), loop over all headlines. When set to
  621. ='start-level=, loop over headlines with the same level as the first
  622. headline in the region. When set to a string, loop over lines
  623. matching this regular expression.
  624. *** New minor mode ~org-table-header-line-mode~
  625. Turn on the display of the first data row of the table at point in the
  626. window header line when this first row is not visible anymore in the
  627. buffer.
  628. You can activate this minor mode by default by setting the option
  629. ~org-table-header-line-p~ to =t=. You can also change the face for
  630. the header line by customizing the ~org-table-header~ face.
  631. *** New minor mode ~org-list-checkbox-radio-mode~
  632. When this minor mode is on, checkboxes behave as radio buttons: if a
  633. checkbox is turned on, other checkboxes at the same level are turned
  634. off.
  635. If you want to occasionally toggle a checkbox as a radio button
  636. without turning this minor mode on, you can use =<C-c C-x C-r>= to
  637. call ~org-toggle-radio-button~.
  638. You can also add =#+ATTR_ORG: :radio t= right before the list to tell
  639. Org to use radio buttons for this list only.
  640. *** Numeric priorities are now allowed (up to 65)
  641. You can now set ~org-priority-highest/lowest/default~ to integers to
  642. use numeric priorities globally or set, for example
  643. #+PRIORITIES: 1 10 5
  644. to define a buffer-local range and default for priorities. Priority
  645. commands should work as usual. You cannot use numbers superior to 64
  646. for numeric priorities, as it would clash with priorities like [#A]
  647. where the "A" is internally converted to its numeric value of 65.
  648. *** Property drawers allowed before first headline
  649. Property drawers are now allowed before the first headline.
  650. Org mode is moving more towards making things before the first
  651. headline behave just as if it was at outline level 0. Inheritance for
  652. properties will work also for this level. In other words: defining
  653. things in a property drawer before the first headline will make them
  654. "inheritable" for all headlines.
  655. *** Refinement in window behavior on exiting Org source buffer
  656. After editing a source block, Org will restore the window layout when
  657. ~org-src-window-setup~ is set to a value that modifies the layout.
  658. *** Display remote inline images
  659. Org now knows how to display remote images inline.
  660. Whether the images are actually displayed is controlled by the new
  661. option ~org-display-remote-inline-images~.
  662. *** New option to resolve open clock at a provided time
  663. ~org-resolve-clocks~ now has a `t' option, which works just like the
  664. `k' option, but the user specifies a time of day, not a number of
  665. minutes.
  666. *** New step value =semimonth= accepted for clock tables
  667. *** Allow text rescaling in column view
  668. You can now use =C-x C-+= in column view: the columns face size will
  669. increase or decrease, together with the column header size.
  670. *** New startup option =#+startup: num=
  671. When this startup option is set, display headings as numerated.
  672. Use =#+startup: nonum= to turn this off.
  673. *** New tool for custom links
  674. Org provides a new tool ~org-link-open-as-file~, useful when defining
  675. new link types similar to "file"-type links. See docstring for
  676. details.
  677. *** New optional numeric argument for ~org-return~
  678. In situations where ~org-return~ calls ~newline~, multiple newlines
  679. can now be inserted with this prefix argument.
  680. *** New source code block header argument =:file-mode=
  681. Source code block header argument =:file-mode= can set file
  682. permissions if =:file= argument is provided.
  683. *** =ob-C.el= allows the inclusion of non-system header files
  684. In C and C++ blocks, ~:includes~ arguments that do not start with a
  685. ~<~ character will now be formatted as double-quoted ~#include~
  686. statements.
  687. *** =ob-clojure.el= supports inf-clojure.el and ClojureScript evaluation
  688. You can now set ~(setq org-babel-clojure-backend 'inf-clojure)~ and
  689. evaluate Clojure source blocks using [[https://github.com/clojure-emacs/inf-clojure][inf-clojure]]. With a header
  690. argument like =:alias "alias"= the Clojure REPL will boot with
  691. =clojure -Aalias=. Otherwise Clojure will boot with =lein=, =boot= or
  692. =tools.deps=, depending on whether the current directory contains a
  693. =project.clj=, =build.boot= or =deps.edn=, falling back on
  694. ~inf-clojure-generic-cmd~ in case no such file is present.
  695. Also, when using [[https://github.com/clojure-emacs/cider][cider]], you can now use =#+begin_src clojurescript= to
  696. execute ClojureScript code from Org files. Note that this works only
  697. if your Org file is associated with a cider session that knows how to
  698. run ClojureScript code. A bare =lein repl= session outside of a
  699. directory configured for ClojureScript will /not/ work.
  700. *** =ob-java.el= supports Java command line arguments
  701. Babel Java blocks recognize header argument =:cmdargs= and pass its
  702. value in call to =java=.
  703. *** =ob-screen.el= now accepts =:screenrc= header argument
  704. Screen blocks now recognize the =:screenrc= header argument and pass
  705. its value to the screen command via the "-c" option. The default
  706. remains =/dev/null= (i.e. a clean screen session)
  707. *** =ob-plantuml=: now supports using PlantUML executable to generate diagrams
  708. Set =org-plantuml-exec-mode= to ='plantuml= in order to use the
  709. executable instead of JAR. When using an executable it is also
  710. possible to configure executable location as well as arguments via:
  711. =org-plantuml-executable-path= and =org-plantuml-executable-args=.
  712. ** New commands
  713. *** ~org-table-header-line-mode~
  714. Turn on a minor mode to display the first data row of the table at
  715. point in the header-line when the beginning of the table is invisible.
  716. *** ~org-agenda-ctrl-c-ctrl-c~
  717. Hitting =<C-c C-c>= in an agenda view now calls ~org-agenda-set-tags~.
  718. *** ~org-hide-entry~
  719. This command is the counterpart of ~org-show-entry~.
  720. *** ~org-columns-toggle-or-columns-quit~
  721. =<C-c C-c>= bound to ~org-columns-toggle-or-columns-quit~ replaces the
  722. recent ~org-columns-set-tags-or-toggle~. Tag setting is still
  723. possible via column view value edit or with =<C-c C-q>=.
  724. *** ~org-datetree-find-month-create~
  725. Find or create a month entry for a date.
  726. ** New options and settings
  727. *** New option ~org-html-prefer-user-labels~
  728. When non-nil, use =NAME= affiliated keyword, or raw target values, to
  729. generate anchor's ID. Otherwise, consistently use internal naming
  730. scheme.
  731. =CUSTOM_ID= values are still always used, when available.
  732. *** New option for using tabs in ~org-agenda-window-setup~
  733. Choosing ~other-tab~ for ~org-agenda-window-setup~ will open the
  734. agenda view in a new tab. This will work with versions of Emacs since
  735. 27.1 when ~tab-bar-mode~ was introduced.
  736. *** New option ~org-table-header-line-p~
  737. Setting this option to =t= will activate ~org-table-header-line-mode~
  738. in org-mode buffers.
  739. *** New option ~org-startup-numerated~
  740. When this option is =t=, Org files will start using ~(org-num-mode 1)~
  741. and headings will be visually numerated.
  742. You can turn this on/off on a per-file basis with =#+startup: num= or
  743. =#+startup: nonum=.
  744. *** New option ~org-clock-auto-clockout-timer~
  745. When this option is set to a number and the user configuration
  746. contains =(org-clock-auto-clockout-insinuate)=, Org will clock out the
  747. currently clocked in task after that number of seconds of idle time.
  748. This is useful when you often forget to clock out before being idle
  749. and don't want to have to manually set the clocking time to take into
  750. account.
  751. *** New option to group captured datetime entries by month
  752. A new `:tree-type month' option was added to org-capture-templates to
  753. group new datetime entries by month.
  754. *** New option to show source buffers using "plain" display-buffer
  755. There is a new option ~plain~ to ~org-src-window-setup~ to show source
  756. buffers using ~display-buffer~. This allows users to control how
  757. source buffers are displayed by modifying ~display-buffer-alist~ or
  758. ~display-buffer-base-action~.
  759. *** New option ~org-archive-subtree-save-file-p~
  760. Archiving a subtree used to always save the target archive buffer.
  761. Commit [[git::b186d1d7][b186d1d7]] changed this behavior by always not saving the target
  762. buffer, because batch archiving from agenda could take too much time.
  763. This new option ~org-archive-subtree-save-file-p~ defaults to the
  764. value =from-org= so that archiving a subtree will save the target
  765. buffer when done from an org-mode buffer, but not from the agenda.
  766. You can also set this option to =t= or to =from-agenda=.
  767. *** New option ~org-show-notification-timeout~
  768. This option will add a timeout to notifications.
  769. *** New option ~org-latex-to-html-convert-command~
  770. This new option allows you to convert a LaTeX fragment directly into
  771. HTML.
  772. *** New option ~org-babel-shell-results-defaults-to-output~
  773. By default, source code blocks are executed in "functional mode": it
  774. means that the results of executing them are the value of their last
  775. statement (see [[https://orgmode.org/manual/Results-of-Evaluation.html][the documentation]].)
  776. The value of a shell script's execution is its exit code. But most
  777. users expect the results of executing a shell script to be its output,
  778. not its exit code.
  779. So we introduced this option, that you can set to nil if you want to
  780. stick using ~:results value~ as the implicit header.
  781. In all Babel libraries, the absence of a ~:results~ header should
  782. produce the same result than setting ~:results value~, unless there is
  783. an option to explicitly create an exception.
  784. See [[msg:CA+A2iZaziAfMeGpBqL6qGrzrWEVvLvC0DUw++T4gCF3NGuW-DQ@mail.gmail.com][this thread]] for more context.
  785. *** New option in ~org-attach-store-link-p~
  786. ~org-attach-store-link-p~ has a new option to store a file link to the
  787. attachment.
  788. *** New option ~org-fontify-todo-headline~
  789. This feature is the same as ~org-fontify-done-headline~, but for TODO
  790. headlines instead. This allows you to distinguish TODO headlines from
  791. normal headlines. The face can be customized via ~org-headline-todo~.
  792. *** New default value for ~org-file-apps~
  793. The new value uses Emacs as the application for opening directory.
  794. *** New hook ~org-agenda-filter-hook~
  795. Functions in this hook are run after ~org-agenda-filter~ is called.
  796. ** Removed or renamed functions and variables
  797. *** Deprecated ~org-flag-drawer~ function
  798. Use ~org-hide-drawer-toggle~ instead.
  799. *** Deprecated ~org-hide-block-toggle-maybe~ function
  800. Use ~org-hide-block-toggle~ instead.
  801. *** Deprecated ~org-hide-block-toggle-all~ function
  802. This function was not used in the code base, and has no clear use
  803. either. It has been marked for future removal. Please contact the
  804. mailing list if you use this function.
  805. *** Deprecated ~org-return-indent~ function
  806. In Elisp code, use ~(org-return t)~ instead. Interactively, =C-j= is
  807. now bound to ~org-return-and-maybe-indent~, which indents the new line
  808. when ~electric-indent-mode~ is disabled.
  809. *** Removed ~org-maybe-keyword-time-regexp~
  810. The variable was not used in the code base.
  811. *** Removed ~org-export-special-keywords~
  812. The variable was not used in the code base.
  813. *** Renamed ~org-at-property-block-p~
  814. The new name is ~org-at-property-drawer-p~, which is less confusing.
  815. *** Renamed ~org-columns-set-tags-or-toggle~
  816. See [[*~org-columns-toggle-or-columns-quit~]].
  817. *** Renamed priority options
  818. From ~org-lowest-priority~ to ~org-priority-lowest~.
  819. From ~org-default-priority~ to ~org-priority-default~.
  820. From ~org-highest-priority~ to ~org-priority-highest~.
  821. From ~org-enable-priority-commands~ to ~org-priority-enable-commands~.
  822. From ~org-show-priority~ to ~org-priority-show~.
  823. ** Miscellaneous
  824. *** =ob-screen.el= now respects screen =:session= name
  825. Screen babel session are now named based on the =:session= header
  826. argument (defaults to ~default~).
  827. Previously all session names had ~org-babel-session-~ prepended.
  828. *** Forward/backward paragraph functions in line with the rest of Emacs
  829. ~org-forward-paragraph~ and ~org-backward-paragraph~, bound to
  830. ~<C-UP>~ and ~<C-DOWN>~ functions mimic more closely behaviour of
  831. ~forward-paragraph~ and ~backward-paragraph~ functions when
  832. available.
  833. They also accept an optional argument for multiple calls.
  834. See their docstring for details.
  835. *** ~org-table-to-lisp~ no longer checks if point is at a table
  836. The caller is now responsible for the check. It can use, e.g.,
  837. ~org-at-table-p~.
  838. The function is also much more efficient than it used to be, even on
  839. very large tables.
  840. *** New function ~org-collect-keywords~
  841. *** Drawers' folding use an API similar to block's
  842. Tooling for folding drawers interactively or programmatically is now
  843. on par with block folding. In particular, ~org-hide-drawer-toggle~,
  844. a new function, is the central place for drawer folding.
  845. *** Duration can be read and written in compact form
  846. ~org-duration-to-minutes~ understands =1d3h5min= as a duration,
  847. whereas ~org-duration-from-minutes~ can output this compact form if
  848. the duration format contains the symbol ~compact~.
  849. *** C-n, C-p, SPC and DEL in agenda commands dispatch window
  850. You can now use =<C-n>=, =<C-p>=, =<SPC>= and =<DEL>= key to scroll up
  851. and down the agenda and attach dispatch window.
  852. *** =<C-c C-c>= in agenda calls ~org-agenda-set-tags~
  853. Both =<C-c C-q>= and =<C-c C-c>= set the tags of the headline in the
  854. Org buffer. Both keybindings are now available from the agenda too.
  855. *** Allow to use an empty HTML extension
  856. Using =(setq org-html-extension "")= or setting the HTML extension in
  857. any fashion will produce the expected output, with no trailing period
  858. to the resulting HTML file.
  859. *** Handle repeated tasks with =.+= type and hours step
  860. A task using a =.+= repeater and hours step is repeated starting from
  861. now. E.g.,
  862. #+begin_example
  863. ,,** TODO Wash my hands
  864. DEADLINE: <2019-04-05 08:00 Sun .+1h>
  865. Marking this DONE shifts the date to exactly one hour from now.
  866. #+end_example
  867. *** The format of equation reference in HTML export can now be specified
  868. By default, HTML (via MathJax) and LaTeX export equation references
  869. using different commands. LaTeX must use ~\ref{%s}~ because it is used
  870. for all labels; however, HTML (via MathJax) uses ~\eqref{%s}~ for
  871. equations producing inconsistent output. New option
  872. ~org-html-equation-reference-format~ sets the command used in HTML
  873. export.
  874. *** =ob-haskell.el= supports compilation with =:compile= header argument
  875. By default, Haskell blocks are interpreted. By adding =:compile yes=
  876. to a Haskell source block, it will be compiled, executed and the
  877. results will be displayed.
  878. *** Support for ~org-edit-special~ with LaTeX fragments
  879. Calling ~org-edit-special~ on an inline LaTeX fragment calls a new
  880. function, ~org-edit-latex-fragment~. This functions in a comparable
  881. manner to editing inline source blocks, bringing up a minibuffer set
  882. to LaTeX mode. The math-mode deliminators are read only.
  883. *** ~org-capture-current-plist~ is now accessible during ~org-capture-mode-hook~
  884. *** New =org-refile.el= file
  885. Org refile variables and functions have been moved to a new file.
  886. *** The end of a 7 years old bug
  887. This bug [[https://lists.gnu.org/archive/html/emacs-orgmode/2013-08/msg00072.html][originally reported]] by Matt Lundin and investigated by Andrew
  888. Hyatt has been fixed. Thanks to both of them.
  889. * Version 9.3
  890. ** Incompatible changes
  891. *** Change bracket link escaping syntax
  892. Org used to percent-encode sensitive characters in the URI part of the
  893. bracket links.
  894. Now, escaping mechanism uses the usual backslash character, according
  895. to the following rules:
  896. 1. All =[= and =]= characters in the URI must be escaped;
  897. 2. Every =\= character preceding either =[= or =]= must be escaped;
  898. 3. Every =\= character at the end of the URI must be escaped.
  899. When in doubt, use the function ~org-link-escape~ in order to turn
  900. a link string into its properly escaped form.
  901. The following function will help switching your links to the new
  902. syntax:
  903. #+begin_src emacs-lisp
  904. (defun org-update-link-syntax (&optional no-query)
  905. "Update syntax for links in current buffer.
  906. Query before replacing a link, unless optional argument NO-QUERY
  907. is non-nil."
  908. (interactive "P")
  909. (org-with-point-at 1
  910. (let ((case-fold-search t))
  911. (while (re-search-forward "\\[\\[[^]]*?%\\(?:2[05]\\|5[BD]\\)" nil t)
  912. (let ((object (save-match-data (org-element-context))))
  913. (when (and (eq 'link (org-element-type object))
  914. (= (match-beginning 0)
  915. (org-element-property :begin object)))
  916. (goto-char (org-element-property :end object))
  917. (let* ((uri-start (+ 2 (match-beginning 0)))
  918. (uri-end (save-excursion
  919. (goto-char uri-start)
  920. (re-search-forward "\\][][]" nil t)
  921. (match-beginning 0)))
  922. (uri (buffer-substring-no-properties uri-start uri-end)))
  923. (when (or no-query
  924. (y-or-n-p
  925. (format "Possibly obsolete URI syntax: %S. Fix? "
  926. uri)))
  927. (setf (buffer-substring uri-start uri-end)
  928. (org-link-escape (org-link-decode uri)))))))))))
  929. #+end_src
  930. The old ~org-link-escape~ and ~org-link-unescape~ functions have been
  931. renamed into ~org-link-encode~ and ~org-link-decode~.
  932. *** Change match group number in ~org-link-bracket-re~
  933. Link description, if any, is located in match group 2 instead of match
  934. group 3.
  935. *** ob-clojure does not auto prepend ~(ns ..)~ statement anymore
  936. When tangling, user usually just wants to tangle literally code instead
  937. of prepend inserting a ~(ns ..)~ statement before source block
  938. code. Now, when you have no ~:ns~ header argument specified, this
  939. behavior will not happen automatically.
  940. *** Change in behavior on exit from an Org edit buffer
  941. Org will no longer attempt to restore the window configuration in the
  942. frame to which the user returns after editing a source block with
  943. ~org-edit-src-code~. Instead, the window configuration will remain as
  944. it is.
  945. *** Change default value for ~org-email-link-description-format~
  946. When linking from a mail buffer, Org used to truncate the subject of
  947. the message to 30 characters in order to build the description of the
  948. link. This behavior was considered as too surprising. As
  949. a consequence, Org no longer truncates subjects.
  950. You can get the old behavior back with the following:
  951. : (setq org-email-link-description-format "Email %c: %.30s")
  952. *** ~:file~ header argument no longer assume "file" ~:results~
  953. The "file" ~:results~ value is now mandatory for a code block
  954. returning a link to a file. The ~:file~ or ~:file-ext~ header
  955. arguments no longer imply a "file" result is expected.
  956. *** Plain numbers are hours in Column View mode
  957. See [[git:3367ac9457]] for details.
  958. *** All LaTeX preview backends use now xcolor
  959. The dvipng backend was previously relying on fg and bg parameters to
  960. be passed to the CLI. This didn't work when xcolor was directly or
  961. indirectly used in the document (e.g. tkiz is a user of xcolor). Since
  962. every other backend was already using xcolor to set fg and bg, the CLI
  963. alternative was removed and there is no more a :use-xcolor options
  964. since now it's implicitly always true.
  965. *** Org-Attach Git commit
  966. [[*Org-Attach has been refactored and extended][Refactoring of Org-Attach]] affected the Git commit functionality. Not
  967. much, but the following changes are required if you still need to
  968. auto-commit attachments to git:
  969. - Customization of ~org-attach-annex-auto-get~ needs to be renamed to
  970. ~org-attach-git-annex-auto-get~.
  971. - Customization of ~org-attach-commit~ is no longer needed. Instead
  972. one need to require the =org-attach-git= module in the startup.
  973. ** New features
  974. *** New option to wrap source code lines in HTML export
  975. When new option ~html-wrap-src-lines~ (with variable
  976. ~org-html-wrap-src-lines~) is non-nil, HTML export wraps source code
  977. lines in HTML ~code~ elements.
  978. *** New option to handle schedules and deadlines in iCalendar export
  979. Export ignore done tasks with a deadline when
  980. ~org-icalendar-use-deadline~ contains ~event-if-todo-not-done~.
  981. Likewise, scheduled done tasks are also ignored when
  982. ~org-icalendar-use-scheduled~ contains the same symbol.
  983. *** Add ~split-window-right~ option for src block edit window placement
  984. Given the increasing popularity of wide screen monitors, splitting
  985. horizontally may make more sense than splitting vertically. An
  986. option, ~split-window-right~, to request horizontal splitting has been
  987. added to ~org-src-window-setup~.
  988. *** Org-Attach has been refactored and extended
  989. Org attach has been refactored and the functionality extended. It
  990. should now be easier to understand how it works. A few improvements
  991. and extra options have been added as well.
  992. From the initial comment in org-attach source-code:
  993. - Attachments are managed either by using a custom property DIR or by
  994. using property ID from org-id. When DIR is defined, a location in
  995. the filesystem is directly attached to the outline node. When
  996. org-id is used, attachments are stored in a folder named after the
  997. ID, in a location defined by ~org-attach-id-dir~. DIR has
  998. precedence over ID when both parameters are defined for the current
  999. outline node (also when inherited parameters are taken into
  1000. account).
  1001. From now on inheritance requires no extra property and will adhere to
  1002. ~org-attach-use-inheritance~ by default. Inheritance can be
  1003. customized to always be activated or never be activated in
  1004. ~org-attach-use-inheritance~.
  1005. The ATTACH_DIR property is deprecated in favor of the shorter
  1006. property DIR. Links to folders inside the DIR property can now be
  1007. declared as relative links. This is not enabled by default, but can
  1008. be set in ~org-attach-dir-relative~.
  1009. When adding new attachment to the outline node the preferred way of
  1010. doing so can be customized. Take a look at
  1011. ~org-attach-preferred-new-method~. It defaults to using ID since that
  1012. was the behavior before this change.
  1013. If both DIR and ID properties are set on the same node, DIR has
  1014. precedence and will be used.
  1015. One can now also choose to build attachment-directory-paths in a
  1016. customized way. This is an advanced topic, but in some case it makes
  1017. sense to parse an ID in a different way than the default one. Create
  1018. your own function and add it to the beginning of
  1019. ~org-attach-id-to-path-function~list~ if you want to customize the ID
  1020. based folder structure.
  1021. If you've used ATTACH_DIR properties to manage attachments, use the
  1022. following code to rename that property to DIR which supports the same
  1023. functionality. ATTACH_DIR_INHERIT is no longer supported and is
  1024. removed.
  1025. #+begin_src emacs-lisp
  1026. (defun org-update-attach-properties ()
  1027. "Change properties for Org-Attach."
  1028. (interactive)
  1029. (org-with-point-at 1
  1030. (while (outline-next-heading)
  1031. (let ((DIR (org--property-local-values "ATTACH_DIR" nil)))
  1032. (when DIR
  1033. (org-set-property "DIR" (car DIR))
  1034. (org-delete-property "ATTACH_DIR"))))
  1035. (org-delete-property-globally "ATTACH_DIR_INHERIT")))
  1036. #+end_src
  1037. For those who hate breaking changes, even though the changes are made
  1038. to clean things up; fear not. ATTACH_DIR will still continue to work.
  1039. It's just not documented any longer. When you get the chance, run the
  1040. code above to clean things up anyway!
  1041. **** New hooks
  1042. Two hooks are added to org-attach:
  1043. - org-attach-after-change-hook
  1044. - org-attach-open-hook
  1045. They are added mostly for internal restructuring purposes, but can
  1046. ofc. be used for other things as well.
  1047. *** New link-type: Attachment
  1048. Attachment-links are now first-class citizens. They mimic file-links
  1049. in everything they do but use the existing attachment-folder as a base
  1050. when expanding the links. Both =DIR= and =ID= properties are used to
  1051. try to resolve the links, in exactly the same way as Org-Attach uses
  1052. those properties.
  1053. *** Handle overlay specification for notes in Beamer export
  1054. This aligns Beamer notes with slide overlays.
  1055. *** Add support for lettered lists in Texinfo
  1056. Using =:enum A= or =:enum a= Texinfo attribute switches an otherwise
  1057. numbered list to a lettered list.
  1058. *** Add a dispatcher command to insert dynamic blocks
  1059. You can add new dynamic blocks with function
  1060. ~org-dynamic-block-define~. All such dynamic blocks can be used by
  1061. ~org-dynamic-block-insert-dblock~ command.
  1062. *** Babel
  1063. **** ob-emacs-lisp sets ~lexical-binding~ in Org edit buffers
  1064. When editing an Elisp src block, the editing buffer's
  1065. ~lexical-binding~ is set according to the src block's =:lexical=
  1066. parameter.
  1067. **** Add LaTeX output support in PlantUML
  1068. *** New minor mode to display headline numbering
  1069. Use =<M-x org-num-mode>= to get a visual indication of the numbering
  1070. in the outline. The numbering is also automatically updated upon
  1071. changes in the buffer.
  1072. *** New property =HTML_HEADLINE_CLASS= in HTML export
  1073. The new property =HTML_HEADLINE_CLASS= assigns a class attribute to
  1074. a headline.
  1075. *** Allow LaTeX attributes and captions for "table.el" tables
  1076. Supported LaTeX attributes are ~:float~, ~:center~, ~:font~ and
  1077. ~:caption~.
  1078. *** Attach buffer contents to headline
  1079. With =<b>= key from attachment dispatcher (=<C-c C-a>=), it is now
  1080. possible to write the contents of a buffer to a file in the headline
  1081. attachment directory.
  1082. *** iCalendar export respects a =CLASS= property
  1083. Set the =CLASS= property on an entry to specify a visibility class for
  1084. that entry only during iCalendar export. The property can be set to
  1085. anything the calendar server supports. The iCalendar standard defines
  1086. the values =PUBLIC=, =CONFIDENTIAL=, =PRIVATE=, which can be
  1087. interpreted as publicly visible, accessible to a specific group, and
  1088. private respectively.
  1089. This property can be inherited during iCalendar export, depending on
  1090. the value of ~org-use-property-inheritance~.
  1091. *** New parameter for =INCLUDE= keyword
  1092. Add =:coding CODING-SYSTEM= to include files using a different coding
  1093. system than the main Org document. For example:
  1094. #+begin_example
  1095. ,#+INCLUDE: "myfile.cmd" src cmd :coding cp850-dos
  1096. #+end_example
  1097. *** New values in clock tables' step: =month= and =year=
  1098. *** ODT export handles numbers cookies in lists
  1099. *** New cell movement functions in tables
  1100. ~S-<UP>~, ~S-<DOWN>~, ~S-<RIGHT>~, and ~S-<LEFT>~ now move cells in
  1101. the corresponding direction by swapping with the adjacent cell.
  1102. *** New option to natively fontify LaTeX snippets and environments
  1103. A 'native option was added to org-highlight-latex-and-related. It
  1104. matches the same structures than 'latex but it calls
  1105. org-src-font-lock-fontify-block instead, thus bringing about full
  1106. LaTeX font locking.
  1107. *** ~org-clone-subtree-with-time-shift~ learned to shift backward in time
  1108. =<C-c C-x c>= (~org-clone-subtree-with-time-shift~) now takes a
  1109. negative value as a valid repeater to shift time stamps in backward
  1110. in cloned subtrees. You can give, for example, ‘-3d’ to shift three
  1111. days in the past.
  1112. *** Toggle display of all vs. undone scheduled habits conveniently
  1113. =<C-u K>= (~org-habit-toggle-display-in-agenda~) in an agenda toggles
  1114. the display of all habits to those which are undone and scheduled.
  1115. This is a function for convenience.
  1116. *** New parameter for SQL Babel blocks: ~:dbconnection~
  1117. The new parameter ~:dbconnection~ allows to specify a connection name
  1118. in a SQL block header: this name is used to look up connection
  1119. parameters in ~sql-connection-alist~.
  1120. *** New =:scale= attribute supported by LaTeX exporters
  1121. The builtin "latex" exporters now accept and use a =:scale= attribute,
  1122. which scales an image by a given factor.
  1123. This attribute is wrapped around the =scale= parameter of LaTeX's
  1124. =\includegraphics= (bitmap images) or a TiKZ's =\scalebox=.
  1125. Therefore, its value should be some string palatable to LaTeX as
  1126. a positive float Its default value is an empty string (i.e. disabled).
  1127. This attribute overrides the =:width= and =:height= attributes.
  1128. #+begin_example
  1129. ,#+name: Beastie
  1130. ,#+caption: I think I saw this curious horse already, but where ?
  1131. ,#+LATEX_ATTR: :scale 2
  1132. [[https://orgmode.org/img/org-mode-unicorn-logo.png]]
  1133. #+end_example
  1134. *** Allow specifying the target for a table of contents
  1135. The =+TOC= keyword now accepts a =:target:= attribute that specifies
  1136. the headline to use for making the table of contents.
  1137. #+begin_example
  1138. ,* Target
  1139. :PROPERTIES:
  1140. :CUSTOM_ID: TargetSection
  1141. :END:
  1142. ,** Heading A
  1143. ,** Heading B
  1144. ,* Another section
  1145. ,#+TOC: headlines 1 :target "#TargetSection"
  1146. #+end_example
  1147. ** New functions
  1148. *** ~org-dynamic-block-insert-dblock~
  1149. Use default keybinding =<C-c C-x x>= to run command
  1150. ~org-dynamic-block-insert-dblock~. It will prompt user to select
  1151. dynamic block in ~org-dynamic-block-alist~.
  1152. *** ~org-table-cell-up~
  1153. *** ~org-table-cell-down~
  1154. *** ~org-table-cell-left~
  1155. *** ~org-table-cell-right~
  1156. *** ~org-habit-toggle-display-in-agenda~
  1157. ** Removed functions and variables
  1158. *** Removed Org Drill
  1159. You can install it back from MELPA.
  1160. *** ~org-babel-set-current-result-hash~
  1161. *** ~org-capture-insert-template-here~
  1162. *** ~org-attach-directory~
  1163. It has been deprecated in favor of ~org-attach-id-dir~ which is less
  1164. ambiguous given the restructured org-attach.
  1165. *** ~org-enable-fixed-width-editor~
  1166. This variable was not used through the code base.
  1167. ** Miscellaneous
  1168. *** Change signature for ~org-list-to-subtree~
  1169. The function now accepts the level of the subtree as an optional
  1170. argument. It no longer deduces it from the current level.
  1171. *** LaTeX preview is simplified
  1172. Function ~org-latex-preview~, formerly known as
  1173. ~org-toggle-latex-fragment~, has a hopefully simpler and more
  1174. predictable behavior. See its docstring for details.
  1175. *** ~org-table-copy-down~ supports patterns
  1176. When ~org-table-copy-increment~ is non-nil, it is now possible to
  1177. increment fields like =A1=, or =0A=, i.e., any string prefixed or
  1178. suffixed with a whole number.
  1179. *** No more special indentation for description items
  1180. Descriptions items are indented like regular ones, i.e., text starts
  1181. after the bullet. Special indentation used to introduce bugs when
  1182. inserting sub-items in a description list.
  1183. *** New hook: ~org-todo-repeat-hook~
  1184. This hook was actually introduced in Org 9.2.1, but wasn't advertised.
  1185. *** Org Table reads numbers starting with 0 as strings
  1186. *** Disable fast tag selection interface via prefix arg
  1187. A call of ~org-set-tags-command~ with prefix argument C-u C-u avoids
  1188. the fast tag selection interface and instead offers the plain
  1189. interface.
  1190. *** ~:mkdirp~ now supports create directory for ~:dir~ path
  1191. The ~:mkdirp~ header argument used to only work for ~:tangle~ tangle
  1192. files. Now ~:mkdirp~ works for ~:dir~ too. This is more convenient for
  1193. specify default directory and with ~:file~ header argument.
  1194. *** New variable: ~org-agenda-breadcrumbs-separator~
  1195. If breadcrumbs are showed in org-agenda with the help of "%b" format
  1196. in ~org-agenda-prefix-format~, user can customize breadcrumbs's
  1197. separator using ~org-agenda-breadcrumbs-separator~.
  1198. *** New variable ~org-attach-commands~
  1199. This variable makes it possible to customize the list of commands for
  1200. the attachment dispatcher.
  1201. *** New ID method based on timestamp
  1202. If one chooses, it is now possible to create ID's based on timestamp
  1203. (ISO8601) instead of UUID by changing org-id-method to ts.
  1204. For an improved folder structure when using timestamp as ID, make sure
  1205. to promote ~org-attach-id-ts-folder-format~ to the first element of
  1206. ~org-attach-id-to-path-function-list~ in your configuration at the
  1207. same time.
  1208. *** New customization: ~org-id-locations-relative~
  1209. New customization to make the persisting of org-id-locations between
  1210. sessions to store links to files as relative instead of absolute. The
  1211. links will be stored as relative to the path of org-id-locations-file.
  1212. *** ~org-ctrl-c-tab~ is functional before the first headline
  1213. I.e. treat the whole file as if it was a subtree.
  1214. Also fold everything below the chosen level. Former behavior was to
  1215. leave unfolded subtrees unfolded.
  1216. *** ~org-kill-note-or-show-branches~ is functional before the first headline
  1217. I.e. treat the whole file as if it was a subtree.
  1218. *** Respect narrowing when agenda command is restricted to buffer
  1219. *** ~org-table-insert-column~ inserts the column at point position
  1220. Before, the new column was inserted to the right of the column at
  1221. point position.
  1222. *** Table column deletion now consistent with row deletion
  1223. Point stays in the column at deletion, except when deleting the
  1224. rightmost column.
  1225. * Version 9.2
  1226. ** Incompatible changes
  1227. *** Removal of OrgStruct mode mode and radio lists
  1228. OrgStruct minor mode and radio lists mechanism (~org-list-send-list~
  1229. and ~org-list-radio-lists-templates~) are removed from the code base.
  1230. Note that only radio /lists/ have been removed, not radio tables.
  1231. If you want to manipulate lists like in Org in other modes, we suggest
  1232. to use =orgalist.el=, which you can install from GNU ELPA.
  1233. If you want to use Org folding outside of Org buffers, you can have a
  1234. look at the outshine package in the MELPA repository.
  1235. *** Change in the structure template expansion
  1236. Org 9.2 comes with a new template expansion mechanism, combining
  1237. ~org-insert-structure-template~ bound to ~C-c C-,~.
  1238. If you customized the ~org-structure-template-alist~ option manually,
  1239. you probably need to update it, see the docstring for accepted values.
  1240. If you prefer using previous patterns, e.g. =<s=, you can activate
  1241. them again by requiring Org Tempo library:
  1242. : (require 'org-tempo)
  1243. or add it to ~org-modules~.
  1244. If you need complex templates, look at the ~tempo-define-template~
  1245. function or at solutions like Yasnippet.
  1246. *** Change to Noweb expansion
  1247. Expansion check =:noweb-ref= only if no matching named block is found
  1248. in the buffer. As a consequence, any =:noweb-ref= value matching the
  1249. name of a source block in the buffer is ignored. A simple fix is to
  1250. give every concerned source-block, including the named one, a new,
  1251. unique, Noweb reference.
  1252. #+BEGIN_SRC org
  1253. ,#+NAME: foo
  1254. ,#+BEGIN_SRC emacs-lisp
  1255. 1
  1256. ,#+END_SRC
  1257. ,#+BEGIN_SRC emacs-lisp :noweb-ref foo
  1258. 2
  1259. ,#+END_SRC
  1260. ,#+BEGIN_SRC emacs-lisp :noweb yes
  1261. <<foo>>
  1262. ,#+END_SRC
  1263. #+END_SRC
  1264. should become
  1265. #+BEGIN_SRC org
  1266. ,#+NAME: foo
  1267. ,#+BEGIN_SRC emacs-lisp :noweb-ref bar
  1268. 1
  1269. ,#+END_SRC
  1270. ,#+BEGIN_SRC emacs-lisp :noweb-ref bar
  1271. 2
  1272. ,#+END_SRC
  1273. ,#+BEGIN_SRC emacs-lisp :noweb yes
  1274. <<bar>>
  1275. ,#+END_SRC
  1276. #+END_SRC
  1277. *** Default/accepted values of ~org-calendar-to-agenda-key~
  1278. The default value and accepted value of ~org-calendar-to-agenda-key~
  1279. changed. This is an excerpt of the new docstring:
  1280. : When set to ‘default’, bind the function to ‘c’, but only if it is
  1281. : available in the Calendar keymap. This is the default choice because
  1282. : ‘c’ can then be used to switch back and forth between agenda and calendar.
  1283. :
  1284. : When nil, ‘org-calendar-goto-agenda’ is not bound to any key.
  1285. Check the full docstring for more.
  1286. *** Change the signature of the ~org-set-effort~ function
  1287. Here is the new docstring:
  1288. : (org-set-effort &optional INCREMENT VALUE)
  1289. :
  1290. : Set the effort property of the current entry.
  1291. : If INCREMENT is non-nil, set the property to the next allowed
  1292. : value. Otherwise, if optional argument VALUE is provided, use
  1293. : it. Eventually, prompt for the new value if none of the previous
  1294. : variables is set.
  1295. *** Placeholders in =(eval ...)= macros are always strings
  1296. Within =(eval ...)= macros, =$1=-like placeholders are always replaced
  1297. with a string. As a consequence, they must not be enclosed within
  1298. quotes. As an illustration, consider the following, now valid,
  1299. examples:
  1300. #+begin_example
  1301. ,#+macro: join (eval (concat $1 $2))
  1302. ,#+macro: sum (eval (+ (string-to-number $1) (string-to-number $2)))
  1303. {{{join(a,b)}}} => ab
  1304. {{{sum(1,2)}}} => 3
  1305. #+end_example
  1306. However, there is no change in non-eval macros:
  1307. #+begin_example
  1308. ,#+macro: disp argument: $1
  1309. {{{disp(text)}}} => argument: text
  1310. #+end_example
  1311. *** =align= STARTUP value no longer narrow table columns
  1312. Columns narrowing (or shrinking) is now dynamic. See [[*Dynamically
  1313. narrow table columns]] for details. In particular, it is decoupled from
  1314. aligning.
  1315. If you need to automatically shrink columns upon opening an Org
  1316. document, use =shrink= value instead, or in addition to align:
  1317. #+BEGIN_EXAMPLE
  1318. ,#+STARTUP: align shrink
  1319. #+END_EXAMPLE
  1320. *** ~org-get-tags~ meaning change
  1321. Function ~org-get-tags~ used to return local tags to the current
  1322. headline. It now returns all the inherited tags in addition to the
  1323. local tags. In order to get the old behavior back, you can use:
  1324. : (org-get-tags nil t)
  1325. *** Alphabetic sorting in tables and lists
  1326. When sorting alphabetically, ~org-table-sort-lines~ and ~org-sort-list~
  1327. now sort according to the locale’s collation rules instead of by
  1328. code-point.
  1329. *** Change the name of the :tags clocktable option to :match
  1330. The =:match= (renamed from =:tags=) option allows to limit clock entries
  1331. to those matching a todo-tags matcher.
  1332. The old =:tags= option can be set to =t= to display a headline's tags in a
  1333. dedicated column.
  1334. This is consistent with the naming of =org-dblock-write:columnview=
  1335. options, where =:match= is also used as a headlines filter.
  1336. ** New features
  1337. *** Add ~:session~ support of ob-clojure for CIDER
  1338. You can initialize source block session with Babel default keybinding
  1339. =[C-c C-v C-z]= to use =sesman= session manager to link current
  1340. project, directory or buffer with specific Clojure session, or
  1341. =cider-jack-in= a new CIDER REPL if no CIDER REPLs available. In older
  1342. CIDER version which has not =sesman= integrated, only has
  1343. =cider-jack-in= without Clojure project is supported.
  1344. #+begin_src clojure :session
  1345. (dissoc Clojure 'JVM)
  1346. (conj clojurists "stardiviner")
  1347. #+end_src
  1348. *** Add ~:results link~ support for Babel
  1349. With this output format, create a link to the file specified in
  1350. ~:file~ header argument, without actually writing any result to it:
  1351. #+begin_example
  1352. ,#+begin_src shell :dir "data/tmp" :results link :file "crackzor_1.0.c.gz"
  1353. wget -c "https://ben.akrin.com/crackzor/crackzor_1.0.c.gz"
  1354. ,#+end_src
  1355. ,#+results:
  1356. [[file:data/tmp/crackzor_1.0.c.gz]]
  1357. #+end_example
  1358. *** Add ~:session~ support of ob-js for js-comint
  1359. #+begin_src js :session "*Javascript REPL*"
  1360. console.log("stardiviner")
  1361. #+end_src
  1362. *** Add ~:session~ support of ob-js for Indium
  1363. #+begin_src js :session "*JS REPL*"
  1364. console.log("stardiviner")
  1365. #+end_src
  1366. *** Add ~:session~ support of ob-js for skewer-mode
  1367. #+begin_src js :session "*skewer-repl*"
  1368. console.log("stardiviner")
  1369. #+end_src
  1370. *** Add support for links to LaTeX equations in HTML export
  1371. Use MathJax links when enabled (by ~org-html-with-latex~), otherwise
  1372. add a label to the rendered equation.
  1373. *** Org Tempo may used for snippet expansion of structure template.
  1374. See manual and the commentary section in ~org-tempo.el~ for details.
  1375. *** Exclude unnumbered headlines from table of contents
  1376. Set their =UNNUMBERED= property to the special =notoc= value. See
  1377. manual for details.
  1378. *** ~org-archive~ functions update status cookies
  1379. Archiving headers through ~org-archive-subtree~ and
  1380. ~org-archive-to-archive-sibling~ such as the ones listed below:
  1381. #+BEGIN_SRC org
  1382. ,* Top [1/2]
  1383. ,** DONE Completed
  1384. ,** TODO Working
  1385. #+END_SRC
  1386. Will update the status cookie in the top level header.
  1387. *** Disable =org-agenda-overriding-header= by setting to empty string
  1388. The ~org-agenda-overriding-header~ inserted into agenda views can now
  1389. be disabled by setting it to an empty string.
  1390. *** Dynamically narrow table columns
  1391. With ~C-c TAB~, it is now possible to narrow a column to the width
  1392. specified by a width cookie in the column, or to 1 character if there
  1393. is no such cookie. The same keybinding expands a narrowed column to
  1394. its previous state.
  1395. Editing the column automatically expands the whole column to its full
  1396. size.
  1397. *** =org-columns-summary-types= entries can take an optional COLLECT function
  1398. You can use this to make collection of a property from an entry
  1399. conditional on another entry. E.g. given this configuration:
  1400. #+BEGIN_SRC emacs-lisp
  1401. (defun custom/org-collect-confirmed (property)
  1402. "Return `PROPERTY' for `CONFIRMED' entries"
  1403. (let ((prop (org-entry-get nil property))
  1404. (confirmed (org-entry-get nil "CONFIRMED")))
  1405. (if (and prop (string= "[X]" confirmed))
  1406. prop
  1407. "0")))
  1408. (setq org-columns-summary-types
  1409. '(("X+" org-columns--summary-sum
  1410. custom/org-collect-confirmed)))
  1411. #+END_SRC
  1412. You can have a file =bananas.org= containing:
  1413. #+BEGIN_SRC org
  1414. ,#+columns: %ITEM %CONFIRMED %Bananas{+} %Bananas(Confirmed Bananas){X+}
  1415. ,* All shipments
  1416. ,** Shipment 1
  1417. :PROPERTIES:
  1418. :CONFIRMED: [X]
  1419. :Bananas: 4
  1420. :END:
  1421. ,** Shipment 2
  1422. :PROPERTIES:
  1423. :CONFIRMED: [ ]
  1424. :BANANAS: 7
  1425. :END:
  1426. #+END_SRC
  1427. ... and when going to the top of that file and entering column view
  1428. you should expect to see something like:
  1429. | ITEM | CONFIRMED | Bananas | Confirmed Bananas |
  1430. |---------------+-----------+---------+-------------------|
  1431. | All shipments | | 11 | 4 |
  1432. | Shipment 1 | [X] | 4 | 4 |
  1433. | Shipment 2 | [ ] | 7 | 7 |
  1434. #+BEGIN_EXAMPLE
  1435. ,#+STARTUP: shrink
  1436. #+END_EXAMPLE
  1437. *** Allow to filter by tags/property when capturing colview
  1438. You can now use =:match= to filter entries using a todo/tags/properties
  1439. matcher.
  1440. *** Add support for Oracle's database alias in Babel blocks
  1441. =ob-sql= library already support running SQL blocks against an Oracle
  1442. database using ~sqlplus~. Now it's possible to use alias names
  1443. defined in =TNSNAMES= file instead of specifying full connection
  1444. parameters. See example below.
  1445. #+BEGIN_SRC org
  1446. you can use the previous full connection parameters
  1447. ,#+BEGIN_SRC sql :engine oracle :dbuser me :dbpassword my_insecure_password :database my_db_name :dbhost my_db_host :dbport 1521
  1448. select sysdate from dual;
  1449. ,#+END_SRC
  1450. or the alias defined in your TNSNAMES file
  1451. ,#+BEGIN_SRC sql :engine oracle :dbuser me :dbpassword my_insecure_password :database my_tns_alias
  1452. select sysdate from dual;
  1453. ,#+END_SRC
  1454. #+END_SRC
  1455. *** ~org-agenda-set-restriction-lock~ toggle agenda restriction at point
  1456. You can set an agenda restriction lock with =C-x C-x <= or with =<= at the
  1457. beginning of a headline when using Org speed commands. Now, if there
  1458. is already a restriction at point, hitting =<= again (or =C-x C-x <=) will
  1459. remove it.
  1460. *** Headlines can now link to themselves in HTML export
  1461. When enabling ~org-html-self-link-headlines~ the headlines exported to
  1462. HTML contain a hyperlink to themselves.
  1463. ** New commands and functions
  1464. *** ~org-insert-structure-template~
  1465. This function can be used to wrap existing text of Org elements in
  1466. a #+BEGIN_FOO/#+END_FOO block. Bound to C-c C-x w by default.
  1467. *** ~org-export-excluded-from-toc-p~
  1468. See docstring for details.
  1469. *** ~org-timestamp-to-time~
  1470. *** ~org-timestamp-from-string~
  1471. *** ~org-timestamp-from-time~
  1472. *** ~org-attach-dired-to-subtree~
  1473. See docstring for details.
  1474. *** ~org-toggle-narrow-to-subtree~
  1475. Toggle the narrowing state of the buffer: when in a narrowed state,
  1476. widen, otherwise call ~org-narrow-to-subtree~ to narrow.
  1477. This is attached to the "s" speed command, so that hitting "s" twice
  1478. will go back to the widen state.
  1479. *** ~org-browse-news~
  1480. Browse https://orgmode.org/Changes.html to let users read information
  1481. about the last major release.
  1482. There is a new menu entry for this in the "Documentation" menu item.
  1483. *** ~org-info-find-node~
  1484. From an Org file or an agenda switch to a suitable info page depending
  1485. on the context.
  1486. The function is bound to =C-c C-x I=.
  1487. ** Removed commands and functions
  1488. *** ~org-outline-overlay-data~
  1489. Use ~org-save-outline-visibility~ instead.
  1490. *** ~org-set-outline-overlay-data~
  1491. Use ~org-save-outline-visibility~ instead.
  1492. *** ~org-get-string-indentation~
  1493. It was not used throughout the code base.
  1494. *** ~org-fix-indentation~
  1495. It was not used throughout code base.
  1496. *** ~org-context-p~
  1497. Use ~org-element-at-point~ instead.
  1498. *** ~org-preserve-lc~
  1499. It is no longer used in the code base.
  1500. *** ~org-try-structure-completion~
  1501. Org Tempo may be used as a replacement. See details above.
  1502. ** Removed options
  1503. *** org-babel-use-quick-and-dirty-noweb-expansion
  1504. See [[*Change to Noweb expansion][Change to Noweb expansion]] for explanations.
  1505. ** Miscellaneous
  1506. *** New default value for ~org-texinfo-table-scientific-notation~
  1507. It is now nil, which means numbers in scientific notation are not
  1508. handled specially by default.
  1509. *** New default value for ~org-latex-table-scientific-notation~
  1510. It is now nil, which means numbers in scientific notation are not
  1511. handled specially by default.
  1512. *** New face: ~org-upcoming-distant-deadline~
  1513. It is meant to be used as the face for distant deadlines, see
  1514. ~org-agenda-deadline-faces~
  1515. *** ~org-paste-subtree~ no longer breaks sections
  1516. Unless point is at the beginning of a headline, ~org-paste-subtree~
  1517. now pastes the tree before the next visible headline. If you need to
  1518. break the section, use ~org-yank~ instead.
  1519. *** ~org-table-insert-column~ inserts a column to the right
  1520. It used to insert it on the left. With this change,
  1521. ~org-table-insert-column~ and ~org-table-delete-column~ are
  1522. reciprocal.
  1523. *** ~org-publish-resolve-external-link~ accepts a new optional argument.
  1524. *** ~org-irc.el~ now supports exporting =irc:= links properly
  1525. Previously, irc links were exported by ~ox-md~ and ~ox-html~ as normal
  1526. file links, which lead to them being broken in web browsers. Now both
  1527. of these exporters will properly export to =irc:= links, which will
  1528. open properly in irc clients from web browsers.
  1529. *** ~org-comment-dwim~ (bound to =M-;=) now comments headings, if point is on a heading
  1530. *** Add support for open source block in window below
  1531. Set option ~org-src-window-setup~ to ~split-window-below~.
  1532. *** Alphabetic sorting in headings and tags now uses the locale’s sorting rules
  1533. When sorting alphabetically, ~org-sort-entries~ and
  1534. ~org-tags-sort-function~ now sort according to the locale’s collation
  1535. rules instead of by code-point.
  1536. *** New speed command "k" to kill (cut) the subtree at point
  1537. * Version 9.1
  1538. ** Incompatible changes
  1539. *** Variables relative to clocksum duration are obsolete
  1540. ~org-time-clocksum-format~, ~org-time-clocksum-use-fractional~ and
  1541. ~org-time-clocksum-fractional-format~ are obsolete. If you changed
  1542. them, consider modifying ~org-duration-format~ instead.
  1543. Variable ~org-time-clocksum-use-effort-durations~ is also obsolete.
  1544. Consider setting ~org-duration-units~ instead.
  1545. *** ~org-at-timestamp-p~ optional argument accepts different values
  1546. See docstrings for the allowed values. For backward compatibility,
  1547. ~(org-at-timestamp-p t)~ is still supported, but should be updated
  1548. accordingly.
  1549. *** ~org-capture-templates~ no longer accepts S-expressions as file names
  1550. Since functions are allowed there, a straightforward way to migrate
  1551. is to turn, e.g.,
  1552. : (file (sexp))
  1553. into
  1554. : (file (lambda () (sexp)))
  1555. *** Deleted contributed packages
  1556. =org-ebib.el, =org-bullets.el= and =org-mime.el= have been deleted
  1557. from the contrib/ directory.
  1558. You can now find them here :
  1559. - https://github.com/joostkremers/ebib
  1560. - https://github.com/sabof/org-bullets
  1561. - https://github.com/org-mime/org-mime
  1562. *** Change ~org-texinfo-classes~ value
  1563. The value cannot support functions to create sectioning commands
  1564. anymore. Also, the sectioning commands should include commands for
  1565. appendices. See the docstring for more information.
  1566. *** Removal of ~:sitemap-sans-extension~
  1567. The publishing property is no longer recognized, as a consequence of
  1568. changes to site-map generation.
  1569. You can get the same functionality by setting ~:sitemap-format-entry~
  1570. to the following
  1571. #+BEGIN_SRC elisp
  1572. (lambda (entry style project)
  1573. (cond ((not (directory-name-p entry))
  1574. (format "[[file:%s][%s]]"
  1575. (file-name-sans-extension entry)
  1576. (org-publish-find-title entry project)))
  1577. ((eq style 'tree) (file-name-nondirectory (directory-file-name entry)))
  1578. (t entry)))
  1579. #+END_SRC
  1580. *** Change signature for ~:sitemap-function~
  1581. ~:sitemap-function~ now expects to be called with two arguments. See
  1582. ~org-publish-project-alist~ for details.
  1583. *** Change signature for some properties in ~org-list-to-generic~
  1584. ~:istart~, ~:icount~, ~:iend~ and ~:isep~ now expect the type of the
  1585. list as their first argument.
  1586. *** Change signature for ~org-get-repeater~
  1587. The optional argument is now a string to extract the repeater from.
  1588. See docstring for details.
  1589. *** Change signature for ~org-time-string-to-time~
  1590. See docstring for changes.
  1591. *** Change order of items in ~org-agenda-time-grid~
  1592. ~org-agenda-time-grid~ gained an extra item to allow users to customize
  1593. the string displayed after times in the agenda. See docstring for
  1594. details.
  1595. *** ~tags-todo~ custom searches now include DONE keywords
  1596. Use "/!" markup when filtering TODO keywords to get only not-done TODO
  1597. keywords.
  1598. *** ~org-split-string~ returns ~("")~ when called on an empty string
  1599. It used to return nil.
  1600. *** Removal of =ob-scala.el=
  1601. See [[https://github.com/ensime/emacs-scala-mode/issues/114][this github issue]].
  1602. You can use =ob-scala.el= as packaged in scala-mode, available from the
  1603. MELPA repository.
  1604. ** New features
  1605. *** iCalendar export uses inheritance for TIMEZONE and LOCATION properties
  1606. Both these properties can be inherited during iCalendar export,
  1607. depending on the value of ~org-use-property-inheritance~.
  1608. *** iCalendar export respects a TIMEZONE property
  1609. Set the TIMEZONE property on an entry to specify a time zone for that
  1610. entry only during iCalendar export. The property value should be
  1611. specified as in "Europe/London".
  1612. *** ~org-attach~ can move directory contents
  1613. When setting a new directory for an entry, org-attach offers to move
  1614. files over from the old directory. Using a prefix arg will reset the
  1615. directory to old, ID based one.
  1616. *** New Org duration library
  1617. This new library implements tools to read and print time durations in
  1618. various formats (e.g., "H:MM", or "1d 2h 3min"...).
  1619. See ~org-duration-to-minutes~ and ~org-duration-from-minutes~
  1620. docstrings.
  1621. *** Agenda
  1622. **** New variable : ~org-agenda-show-future-repeats~
  1623. **** New variable : ~org-agenda-prefer-last-repeat~
  1624. **** New variable : ~org-deadline-past-days~
  1625. See docstring for details.
  1626. **** Binding C-c C-x < for ~org-agenda-set-restriction-lock-from-agenda~
  1627. **** New auto-align default setting for =org-agenda-tags-column=
  1628. =org-agenda-tags-column= can now be set to =auto=, which will
  1629. automatically align tags to the right edge of the window. This is now
  1630. the default setting.
  1631. *** New value for ~org-publish-sitemap-sort-folders~
  1632. The new ~ignore~ value effectively allows toggling inclusion of
  1633. directories in published site-maps.
  1634. *** Babel
  1635. **** Scheme: support for tables
  1636. **** Scheme: new variable: ~org-babel-scheme-null-to~
  1637. This new custom option allows you to use an empty list or null symbol to
  1638. format the table output, initially assigned to ~hlines~.
  1639. **** Scheme: new header ~:prologue~
  1640. A new block code header has been created for Org Babel that enables
  1641. developers to prepend code to the scheme block being processed.
  1642. Multiple ~:prologue~ headers can be added each of them using a string
  1643. with the content to be added.
  1644. The scheme blocks are prepared by surrounding the code in the block
  1645. with a let form. The content of the ~:prologue~ headers are prepended
  1646. before this let form.
  1647. **** Support for hledger accounting reports added
  1648. **** Clojure: new setting ~org-babel-clojure-sync-nrepl-timeout~
  1649. Creation of a new setting to specify the Cider timeout. By setting
  1650. the =org-babel-clojure-sync-nrepl-timeout= setting option. The value
  1651. is in seconds and if set to nil then no timeout will occur.
  1652. **** Clojure: new header ~:show-process~
  1653. A new block code header has been created for Org Babel that enables
  1654. developers to output the process of an ongoing process into a new
  1655. window/buffer.
  1656. You can tell Org Babel to output the process of a running code block.
  1657. To show that output you only have to specify the =:show-process=
  1658. option in the code block's header like this:
  1659. #+begin_example
  1660. ,#+BEGIN_SRC clojure :results output :show-process t
  1661. (dotimes [n 10]
  1662. (println n ".")
  1663. (Thread/sleep 500))
  1664. ,#+END_SRC
  1665. #+end_example
  1666. If =:show-process= is specified that way, then when you will run the
  1667. code using =C-c C-c= a new window will open in Emacs. Everything that
  1668. is output by the REPL will immediately be added to that new window.
  1669. When the processing of the code is finished, then the window and its
  1670. buffer will be closed and the results will be reported in the
  1671. =#+RESULTS= section.
  1672. Note that the =:results= parameter's behavior is *not* changed. If
  1673. =silent= is specified, then no result will be displayed. If =output=
  1674. is specified then all the output from the window will appears in the
  1675. results section. If =value= is specified, then only the last returned
  1676. value of the code will be displayed in the results section.
  1677. **** Maxima: new headers ~:prologue~ and ~:epilogue~
  1678. Babel options ~:prologue~ and ~:epilogue~ have been implemented for
  1679. Maxima source blocks which prepend and append, respectively, the given
  1680. code strings. This can be useful for specifying formatting settings
  1681. which would add clutter to exported code. For instance, you can use
  1682. this ~:prologue "fpprintprec: 2; linel: 50;"~ for presenting Maxima
  1683. results in a beamer presentation.
  1684. **** PlantUML: add support for header arguments
  1685. [[https://plantuml.com/][Plantuml]] source blocks now support the [[https://orgmode.org/manual/prologue.html#prologue][~:prologue~]], [[https://orgmode.org/manual/epilogue.html#epilogue][~:epilogue~]] and
  1686. [[https://orgmode.org/manual/var.html#var][~:var~]] header arguments.
  1687. **** SQL: new engine added ~sqsh~
  1688. A new engine was added to support ~sqsh~ command line utility for use
  1689. against Microsoft SQL Server or Sybase SQL server.
  1690. More information on ~sqsh~ can be found here: [[https://sourceforge.net/projects/sqsh/][sourceforge/sqsh]]
  1691. To use ~sqsh~ in an *sql* =SRC_BLK= set the =:engine= like this:
  1692. #+begin_example
  1693. ,#+BEGIN_SRC sql :engine sqsh :dbhost my_host :dbuser master :dbpassword pass :database support
  1694. Select * From Users
  1695. Where clue > 0
  1696. ,#+END_SRC
  1697. #+end_example
  1698. **** SQL: new engine added =vertica=
  1699. A new engine was added to support vsql command line utility for use
  1700. against HP Vertica.
  1701. More information on =vsql= can be found here: [[https://my.vertica.com/docs/7.2.x/HTML/index.htm#Authoring/ConnectingToHPVertica/vsql/UsingVsql.htm][my.vertica.com]]
  1702. To use =vertica= in an sql =SRC_BLK= set the =:engine= like this:
  1703. #+BEGIN_EXAMPLE
  1704. ,#+BEGIN_SRC sql :engine vertica :dbhost my_host :dbuser dbadmin :dbpassword pw :database vmart
  1705. SELECT * FROM nodes;
  1706. ,#+END_SRC
  1707. #+END_EXAMPLE
  1708. **** C++: New header ~:namespaces~
  1709. The new ~:namespaces~ export option can be used to specify namespaces
  1710. to be used within a C++ org source block. Its usage is similar to
  1711. ~:includes~, in that it can accept multiple, space-separated
  1712. namespaces to use. This header is equivalent to adding ~using
  1713. namespace <name>;~ in the source block. Here is a "Hello World" in C++
  1714. using ~:namespaces~:
  1715. #+begin_example
  1716. ,#+BEGIN_SRC C++ :results output :namespaces std :includes <iostream>
  1717. cout << "Hello World" << endl;
  1718. ,#+END_SRC
  1719. #+end_example
  1720. **** Support for Vala language
  1721. [[https://wiki.gnome.org/Projects/Vala][Vala]] language blocks support two special header arguments:
  1722. - ~:flags~ passes arguments to the compiler
  1723. - ~:cmdline~ passes commandline arguments to the generated executable
  1724. Support for [[https://orgmode.org/manual/var.html#var][~:var~]] does not exist yet, also there is no [[https://orgmode.org/manual/session.html#session][~:session~]]
  1725. support because Vala is a compiled language.
  1726. The Vala compiler binary can be changed via the ~defcustom~
  1727. ~org-babel-vala-compiler~.
  1728. *** New ~function~ scope argument for the Clock Table
  1729. Added a nullary function that returns a list of files as a possible
  1730. argument for the scope of the clock table.
  1731. *** Export
  1732. **** Implement vernacular table of contents in Markdown exporter
  1733. Global table of contents are generated using vanilla Markdown syntax
  1734. instead of HTML. Also #+TOC keyword, including local table of
  1735. contents, are now supported.
  1736. **** Add Slovenian translations
  1737. **** Implement ~org-export-insert-image-links~
  1738. This new function is meant to be used in back-ends supporting images
  1739. as descriptions of links, a.k.a. image links. See its docstring for
  1740. details.
  1741. **** New macro : ~{{{n}}}~
  1742. This macro creates and increment multiple counters in a document. See
  1743. manual for details.
  1744. **** Add global macros through ~org-export-global-macros~
  1745. With this variable, one can define macros available for all documents.
  1746. **** New keyword ~#+EXPORT_FILE_NAME~
  1747. Similarly to ~:EXPORT_FILE_NAME:~ property, this keyword allows the
  1748. user to specify the name of the output file upon exporting the
  1749. document. This also has an effect on publishing.
  1750. **** Horizontal rules are no longer ignored in LaTeX table math mode
  1751. **** Use ~compilation-mode~ for compilation output
  1752. **** Plain lists accept a new ~:separator~ attribute in Texinfo
  1753. The new ~:separator~ attribute splits a tag from a description list
  1754. item into multiple parts. This allows to have two-column tables with
  1755. multiple entries in the first column. See manual for more details.
  1756. **** ~latex-environment~ elements support ~caption~ keywords for LaTeX export
  1757. *** ~org-edit-special~ can edit LaTeX environments
  1758. Using ~C-c '~ on a LaTeX environment opens a sub-editing buffer. By
  1759. default, major mode in that buffer is ~latex-mode~, but it can be
  1760. changed by configuring ~org-src-lang-modes~.
  1761. *** ~org-list-to-generic~ includes a new property: ~:ifmt~
  1762. ~:ifmt~ is a function to be called on the body of each item. See
  1763. ~org-list-to-generic~ documentation for details.
  1764. *** New variable : ~org-bibtex-headline-format-function~
  1765. This allow to use a different title than entry title.
  1766. *** ~org-attach~ supports attaching files from URLs
  1767. Using ~C-c C-a u~ prompts for a URL pointing to a file to be attached
  1768. to the document.
  1769. *** New option for ~org-refile-use-outline-path~
  1770. ~org-refile-use-outline-path~ now supports the setting ~buffer-name~,
  1771. which causes refile targets to be prefixed with the buffer’s
  1772. name. This is particularly useful when used in conjunction with
  1773. ~uniquify.el~.
  1774. *** ~org-file-contents~ now allows the FILE argument to be a URL.
  1775. This allows ~#+SETUPFILE:~ to accept a URL instead of a local file
  1776. path. The URL contents are auto-downloaded and saved to a temporary
  1777. cache ~org--file-cache~. A new optional argument ~NOCACHE~ is added
  1778. to ~org-file-contents~.
  1779. *** ~org-mode-restart~ now resets the newly added ~org--file-cache~.
  1780. Using ~C-c C-c~ on any keyword (like ~#+SETUPFILE~) will reset the
  1781. that file cache.
  1782. *** New option : ~org-table-duration-hour-zero-padding~
  1783. This variable allow computed durations in tables to be zero-padded.
  1784. *** New mode switch for table formulas : =U=
  1785. This mode omits seconds in durations.
  1786. ** Removed functions
  1787. *** Org Timeline
  1788. This feature has been removed. Use a custom agenda view, possibly
  1789. narrowed to current buffer to achieve a similar functionality.
  1790. *** ~org-agenda-skip-entry-when-regexp-matches~ is obsolete
  1791. Use ~org-agenda-skip-if~ instead.
  1792. *** ~org-agenda-skip-subtree-when-regexp-matches~ is obsolete
  1793. Use ~org-agenda-skip-if~ instead.
  1794. *** ~org-agenda-skip-entry-when-regexp-matches-in-subtree~ is obsolete
  1795. Use ~org-agenda-skip-if~ instead.
  1796. *** ~org-minutes-to-clocksum-string~ is obsolete
  1797. Use ~org-duration-from-minutes~ instead.
  1798. *** ~org-hh:mm-string-to-minutes~ is obsolete
  1799. Use ~org-duration-to-minutes~ instead.
  1800. *** ~org-duration-string-to-minutes~ is obsolete
  1801. Use ~org-duration-to-minutes~ instead.
  1802. *** ~org-gnus-nnimap-cached-article-number~ is removed.
  1803. This function relied on ~nnimap-group-overview-filename~, which was
  1804. removed from Gnus circa September 2010.
  1805. ** Removed options
  1806. *** ~org-agenda-repeating-timestamp-show-all~ is removed.
  1807. For an equivalent to a nil value, set ~org-agenda-show-future-repeats~
  1808. to nil and ~org-agenda-prefer-last-repeat~ to =t=.
  1809. *** ~org-gnus-nnimap-query-article-no-from-file~ is removed.
  1810. This variable has no effect, as it was relying on a function that was
  1811. removed from Gnus circa September 2010.
  1812. *** ~org-usenet-links-prefer-google~ is obsolete.
  1813. Use ~org-gnus-prefer-web-links~ instead.
  1814. *** ~org-publish-sitemap-file-entry-format~ is deprecated
  1815. One can provide new ~:sitemap-format-entry~ property for a function
  1816. equivalent to the removed format string.
  1817. *** ~org-enable-table-editor~ is removed.
  1818. Setting it to a nil value broke some other features (e.g., speed
  1819. keys).
  1820. *** ~org-export-use-babel~ cannot be set to ~inline-only~
  1821. The variable is now a boolean.
  1822. *** ~org-texinfo-def-table-markup~ is obsolete
  1823. Use ~org-texinfo-table-default-markup~ instead.
  1824. ** New functions
  1825. *** ~org-publish-find-property~
  1826. This function can be used as a tool to format entries in a site-map,
  1827. in addition to ~org-publish-find-title~ and ~org-publish-find-date~.
  1828. *** ~org-list-to-org~
  1829. It is the reciprocal of ~org-list-to-lisp~, which see.
  1830. *** ~org-agenda-set-restriction-lock-from-agenda~
  1831. Call ~org-agenda-set-restriction-lock~ from the agenda.
  1832. ** Miscellaneous
  1833. *** The Library of Babel now on Worg
  1834. The library-of-babel.org used to be accessible from the =doc/=
  1835. directory, distributed with Org’s core. It is now accessible
  1836. from the Worg community-driven documentation [[https://orgmode.org/worg/library-of-babel.html][here]].
  1837. If you want to contribute to it, please see [[https://orgmode.org/worg/org-contribute.html][how to contribute]].
  1838. *** Allow multiple columns view
  1839. Columns view is not limited to a single buffer anymore.
  1840. *** Org Attach obeys ~dired-dwim-target~
  1841. When a Dired buffer is opened next to the Org document being edited,
  1842. the prompt for file to attach can start in the Dired buffer's
  1843. directory if `dired-dwim-target' in non-nil.
  1844. *** ~org-fill-paragraph~ can now fill a whole region
  1845. *** More specific anniversary descriptions
  1846. Anniversary descriptions (used in the agenda view, for instance)
  1847. include the point in time, when the anniversary appears. This is,
  1848. in its most general form, just the date of the anniversary. Or
  1849. more specific terms, like "today", "tomorrow" or "in n days" are
  1850. used to describe the time span.
  1851. This feature allows to automatically change the description of an
  1852. anniversary, depending on if it occurs in the next few days or
  1853. far away in the future.
  1854. *** Computed dates in tables appear as inactive time stamps
  1855. *** Save point before opening a file with an unknown search option
  1856. When following a file link with a search option (e.g., =::#custom-id=)
  1857. that doesn't exist in the target file, save position before raising an
  1858. error. As a consequence, it is possible to jump back to the original
  1859. document with ~org-mark-ring-goto~ (default binding =C-c &=).
  1860. *** ~org-get-heading~ accepts two more optional arguments
  1861. See docstring for details.
  1862. *** New option ~org-babel-uppercase-example-markers~
  1863. This variable is a ~defcustom~ and replaces the variable
  1864. ~org-babel-capitalize-example-region-markers~, which is a ~defvar~ and
  1865. is now obsolete.
  1866. *** =INCLUDE= keywords in commented trees are now ignored.
  1867. *** Default value for ~org-texinfo-text-markup-alist~ changed.
  1868. Now ~=...=~ markup uses ~@samp{}~ instead of ~@verb{}~. You can use
  1869. ~@verb{}~ again by customizing the variable.
  1870. *** Texinfo exports example blocks as ~@example~
  1871. *** Texinfo exports inline source blocks as ~@code{}~
  1872. *** Texinfo default table markup is ~@asis~
  1873. It used to be ~@samp~ but ~@asis~ is neutral and, therefore, more
  1874. suitable as a default value.
  1875. *** Texinfo default process includes ~--no-split~ option
  1876. *** New entities : ~\dollar~ and ~\USD~
  1877. *** Support for date style URLs in =org-protocol://open-source=
  1878. URLs like =https://cool-blog.com/2017/05/20/cool-post/= are covered by
  1879. rewrite rules.
  1880. *** Add (C) =COMMENT= support to ~org-structure-template-alist~
  1881. * Version 9.0
  1882. ** Incompatible changes
  1883. *** Emacs 23 support has been dropped
  1884. From now on, Org expects at least Emacs 24.3, although Emacs 24.4 or
  1885. above is suggested.
  1886. *** XEmacs support has been dropped
  1887. Incomplete compatibility layer with XEmacs has been removed. If you
  1888. want to take over maintenance of this compatibility, please contact
  1889. our mailing list.
  1890. *** New syntax for export blocks
  1891. Export blocks are explicitly marked as such at the syntax level to
  1892. disambiguate their parsing from special blocks. The new syntax is
  1893. #+BEGIN_SRC org
  1894. ,#+BEGIN_EXPORT backend
  1895. ...
  1896. ,#+END_EXPORT
  1897. #+END_SRC
  1898. instead of
  1899. #+BEGIN_SRC org
  1900. ,#+BEGIN_backend
  1901. ...
  1902. ,#+END_backend
  1903. #+END_SRC
  1904. As a consequence, =INCLUDE= keywords syntax is modified, e.g.,
  1905. #+BEGIN_SRC org
  1906. ,#+INCLUDE: "file.org" HTML
  1907. #+END_SRC
  1908. becomes
  1909. #+BEGIN_SRC org
  1910. ,#+INCLUDE: "file.org" export html
  1911. #+END_SRC
  1912. The following function repairs export blocks and =INCLUDE= keywords
  1913. using previous syntax:
  1914. #+BEGIN_SRC emacs-lisp
  1915. (defun org-repair-export-blocks ()
  1916. "Repair export blocks and INCLUDE keywords in current buffer."
  1917. (interactive)
  1918. (when (eq major-mode 'org-mode)
  1919. (let ((case-fold-search t)
  1920. (back-end-re (regexp-opt
  1921. '("HTML" "ASCII" "LATEX" "ODT" "MARKDOWN" "MD" "ORG"
  1922. "MAN" "BEAMER" "TEXINFO" "GROFF" "KOMA-LETTER")
  1923. t)))
  1924. (org-with-wide-buffer
  1925. (goto-char (point-min))
  1926. (let ((block-re (concat "^[ \t]*#\\+BEGIN_" back-end-re)))
  1927. (save-excursion
  1928. (while (re-search-forward block-re nil t)
  1929. (let ((element (save-match-data (org-element-at-point))))
  1930. (when (eq (org-element-type element) 'special-block)
  1931. (save-excursion
  1932. (goto-char (org-element-property :end element))
  1933. (save-match-data (search-backward "_"))
  1934. (forward-char)
  1935. (insert "EXPORT")
  1936. (delete-region (point) (line-end-position)))
  1937. (replace-match "EXPORT \\1" nil nil nil 1))))))
  1938. (let ((include-re
  1939. (format "^[ \t]*#\\+INCLUDE: .*?%s[ \t]*$" back-end-re)))
  1940. (while (re-search-forward include-re nil t)
  1941. (let ((element (save-match-data (org-element-at-point))))
  1942. (when (and (eq (org-element-type element) 'keyword)
  1943. (string= (org-element-property :key element) "INCLUDE"))
  1944. (replace-match "EXPORT \\1" nil nil nil 1)))))))))
  1945. #+END_SRC
  1946. Moreover, ~:export-block~ keyword used in ~org-export-define-backend~ and
  1947. ~org-export-define-derived-backend~ is no longer used and needs to be
  1948. removed.
  1949. *** Footnotes changes
  1950. **** [1]-like constructs are not valid footnotes
  1951. Using =[1]= as a footnote was already discouraged in the manual, since
  1952. it introduced too many false-positives in many Org documents. These
  1953. constructs are now unsupported.
  1954. If you used =[N]= in some of your documents, consider turning them into
  1955. =[fn:N]=.
  1956. **** /Org Footnote/ library doesn't handle non-Org buffers
  1957. Commands for footnotes in an Org document no longer try to do
  1958. something in non-Org ones. If you need to have footnotes there,
  1959. consider using the =footnote.el= library, shipped with Emacs.
  1960. In particular, ~org-footnote-tag-for-non-org-mode-files~ no longer
  1961. exists.
  1962. *** ~org-file-apps~ no longer accepts S-expressions as commands
  1963. The variable now accepts functions of two arguments instead of plain
  1964. S-expressions. Replacing an S-expression with an appropriate function
  1965. is straightforward. For example
  1966. : ("pdf" . (foo))
  1967. becomes
  1968. : ("pdf" . (lambda (file link) (foo)))
  1969. *** The ~{{{modification-time}}}~ macro can get time via =vc=
  1970. The modification time will be determined via =vc.el= if the second
  1971. argument is non-nil. See the manual for details.
  1972. *** Preparation and completion functions in publishing projects change signature
  1973. Preparation and completion functions are now called with an argument,
  1974. which is the project property list. It used to be dynamically scoped
  1975. through the ~project-plist~ variable.
  1976. *** Old Babel header properties are no longer supported
  1977. Using header arguments as property names is no longer possible. As
  1978. such, the following
  1979. #+BEGIN_EXAMPLE
  1980. ,* Headline
  1981. :PROPERTIES:
  1982. :exports: code
  1983. :var: a=1 b=2
  1984. :var+: c=3
  1985. :END:
  1986. #+END_EXAMPLE
  1987. should be written instead
  1988. #+BEGIN_EXAMPLE
  1989. ,* Headline
  1990. :PROPERTIES:
  1991. :header-args: :exports code
  1992. :header-args+: :var a=1 b=2
  1993. :header-args+: :var c=3
  1994. :END:
  1995. #+END_EXAMPLE
  1996. Please note that, however, old properties were defined at the source
  1997. block definition. Current ones are defined where the block is called.
  1998. ** New features
  1999. *** ~org-eww~ has been moved into core
  2000. *** New org-protocol key=value syntax
  2001. Org-protocol can now handle query-style parameters such as:
  2002. #+begin_example
  2003. org-protocol://store-link?url=http:%2F%2Flocalhost%2Findex.html&title=The%20title
  2004. org-protocol://capture?template=x&title=Hello&body=World&url=http:%2F%2Fexample.com
  2005. #+end_example
  2006. Old-style links such as
  2007. : org-protocol://store-link:/http:%2F%2Flocalhost%2Findex.html/The%20title
  2008. continue to be supported.
  2009. If you have defined your own handler functions for
  2010. ~org-protocol-protocol-alist~, change them to accept either a property
  2011. list (for new-style links) or a string (for old-style links). Use
  2012. ~org-protocol-parse-parameters~ to convert old-style links into property
  2013. lists.
  2014. *** New Org linter library
  2015. ~org-lint~ can check syntax and report common issues in Org documents.
  2016. *** New option ~date-tree-last~ for ~org-agenda-insert-diary-strategy~
  2017. When ~org-agenda-insert-diary-strategy~ is set to ~date-tree-last~, diary
  2018. entries are added to last in the date tree.
  2019. *** New ~vbar~ entity
  2020. ~\vbar~ or ~\vbar{}~ will be exported unconditionally as a =|=,
  2021. unlike to existing ~\vert~, which is expanded as ~&vert;~ when using
  2022. a HTML derived export back-end.
  2023. *** Export
  2024. **** New =#+latex_compiler= keyword to set LaTeX compiler.
  2025. PDFLaTeX, XeLaTeX, and LuaLaTeX are supported. See the manual for
  2026. details.
  2027. **** New option ~org-export-with-broken-links~
  2028. This option tells the export process how to behave when encountering
  2029. a broken internal link. See its docstring for more information.
  2030. **** Attributes support in custom language environments for LaTeX export
  2031. Custom language environments for LaTeX export can now define the
  2032. string to be inserted during export, using attributes to indicate the
  2033. position of the elements. See variable ~org-latex-custom-lang-environments~
  2034. for more details.
  2035. **** New Texinfo ~options~ attribute on special blocks
  2036. Using ~:options~ as a Texinfo attribute, it is possible to add
  2037. information to custom environments. See manual for details.
  2038. **** New HTML ~id~ attributes on special, example and quote blocks
  2039. If the block has a =#+NAME:= attribute assigned, then the HTML element
  2040. will have an ~id~ attribute with that name in the HTML export. This
  2041. enables one to create links to these elements in other places, e.g.,
  2042. ~<a href="#name">text</a>~.
  2043. **** Listings with captions are now numbered in HTML export
  2044. The class associated to the numbering is "listing-number". If you
  2045. don't want these blocks to be numbered, as it was the case until now,
  2046. You may want to add ~.listing-number { display: none; }~ to the CSS
  2047. used.
  2048. **** Line Numbering in SRC/EXAMPLE blocks support arbitrary start number
  2049. The ~-n~ option to ~SRC~ and ~EXAMPLE~ blocks can now take a numeric
  2050. argument to specify the staring line number for the source or example
  2051. block. The ~+n~ option can now take a numeric argument that will be
  2052. added to the last line number from the previous block as the starting
  2053. point for the SRC/EXAMPLE block.
  2054. #+BEGIN_SRC org
  2055. ,#+BEGIN_SRC emacs-lisp -n 20
  2056. ;; this will export with line number 20
  2057. (message "This is line 21")
  2058. ,#+END_SRC
  2059. ,#+BEGIN_SRC emacs-lisp +n 10
  2060. ;; This will be listed as line 31
  2061. (message "This is line 32")
  2062. ,#+END_SRC
  2063. #+END_SRC
  2064. **** Allow toggling center for images in LaTeX export
  2065. With the global variable ~org-latex-images-centered~ or the local
  2066. attribute ~:center~ it is now possible to center an image in LaTeX
  2067. export.
  2068. **** Default CSS class ~org-svg~ for SVG images in HTML export
  2069. SVG images exported in HTML are now by default assigned a CSS class
  2070. ~org-svg~ if no CSS class is specified with the ~:class~ attribute. By
  2071. default, the CSS styling of class ~org-svg~ specifies an image width of
  2072. 90\thinsp{}% of the container the image.
  2073. **** Markdown footnote export customization
  2074. Variables ~org-md-footnotes-section~ and ~org-md-footnote-format~
  2075. introduced for =ox-md.el=. Both new variables define template strings
  2076. which can be used to customize the format of the exported footnotes
  2077. section and individual footnotes, respectively.
  2078. *** Babel
  2079. **** Blocks with coderefs labels can now be evaluated
  2080. The labels are removed prior to evaluating the block.
  2081. **** Support for Lua language
  2082. **** Support for SLY in Lisp blocks
  2083. See ~org-babel-lisp-eval-fn~ to activate it.
  2084. **** Support for Stan language
  2085. New ob-stan.el library.
  2086. Evaluating a Stan block can produce two different results.
  2087. 1. Dump the source code contents to a file.
  2088. This file can then be used as a variable in other blocks, which
  2089. allows interfaces like RStan to use the model.
  2090. 2. Compile the contents to a model file.
  2091. This provides access to the CmdStan interface. To use this, set
  2092. ~org-babel-stan-cmdstan-directory~ and provide a ~:file~ argument
  2093. that does not end in ".stan".
  2094. For more information and usage examples, visit
  2095. https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-stan.html
  2096. **** Support for Oracle databases via ~sqlplus~
  2097. =ob-sql= library supports running SQL blocks against an Oracle
  2098. database using ~sqlplus~. Use with properties like this (all
  2099. mandatory):
  2100. #+BEGIN_EXAMPLE
  2101. :engine oracle
  2102. :dbhost <host.com>
  2103. :dbport <1521>
  2104. :dbuser <username>
  2105. :database <database>
  2106. :dbpassword <secret>
  2107. #+END_EXAMPLE
  2108. **** Improved support to Microsoft SQL Server via ~sqlcmd~
  2109. =ob-sql= library removes support to the ~msosql~ engine which uses the
  2110. deprecated ~osql~ command line tool, and replaces it with ~mssql~
  2111. engine which uses the ~sqlcmd~ command line tool. Use with properties
  2112. like this:
  2113. #+BEGIN_EXAMPLE
  2114. :engine mssql
  2115. :dbhost <host.com>
  2116. :dbuser <username>
  2117. :dbpassword <secret>
  2118. :database <database>
  2119. #+END_EXAMPLE
  2120. If you want to use the *trusted connection* feature, omit *both* the
  2121. =dbuser= and =dbpassword= properties and add =cmdline -E= to the properties.
  2122. If your Emacs is running in a Cygwin environment, the =ob-sql= library
  2123. can pass the converted path to the =sqlcmd= tool.
  2124. **** Improved support of header arguments for postgresql
  2125. The postgresql engine in a sql code block supports now ~:dbport~ nd
  2126. ~:dbpassword~ as header arguments.
  2127. **** Support for additional plantuml output formats
  2128. The support for output formats of [[https://plantuml.com/][plantuml]] has been extended to now
  2129. include:
  2130. All Diagrams:
  2131. - png ::
  2132. - svg ::
  2133. - eps ::
  2134. - pdf ::
  2135. - vdx ::
  2136. - txt :: ASCII art
  2137. - utxt :: ASCII art using unicode characters
  2138. Class Diagrams:
  2139. - xmi ::
  2140. - html ::
  2141. State Diagrams:
  2142. - scxml ::
  2143. The output formats are determined by the file extension specified
  2144. using the :file property, e.g.:
  2145. #+begin_src plantuml :file diagram.png
  2146. @startuml
  2147. Alice -> Bob: Authentication Request
  2148. Bob --> Alice: Authentication Response
  2149. Alice -> Bob: Another authentication Request
  2150. Alice <-- Bob: another authentication Response
  2151. @enduml
  2152. #+end_src
  2153. Please note that *pdf* *does not work out of the box* and needs additional
  2154. setup in addition to plantuml. See [[https://plantuml.com/pdf.html]] for
  2155. details and setup information.
  2156. *** Rewrite of radio lists
  2157. Radio lists, i.e, Org plain lists in foreign buffers, have been
  2158. rewritten to be on par with Radio tables. You can use a large set of
  2159. parameters to control how a given list should be rendered. See manual
  2160. for details.
  2161. *** org-bbdb-anniversaries-future
  2162. Used like ~org-bbdb-anniversaries~, it provides a few days warning for
  2163. upcoming anniversaries (default: 7 days).
  2164. *** Clear non-repeated SCHEDULED upon repeating a task
  2165. If the task is repeated, and therefore done at least one, scheduling
  2166. information is no longer relevant. It is therefore removed.
  2167. See [[git:481719fbd5751aaa9c672b762cb43aea8ee986b0][commit message]] for more information.
  2168. *** Support for ISO week trees
  2169. ISO week trees are an alternative date tree format that orders entries
  2170. by ISO week and not by month.
  2171. For example:
  2172. : * 2015
  2173. : ** 2015-W35
  2174. : ** 2015-W36
  2175. : *** 2015-08-31 Monday
  2176. They are supported in org-capture via ~file+weektree~ and
  2177. ~file+weektree+prompt~ target specifications.
  2178. *** Accept ~:indent~ parameter when capturing column view
  2179. When defining a "columnview" dynamic block, it is now possible to add
  2180. an :indent parameter, much like the one in the clock table.
  2181. On the other hand, stars no longer appear in an ITEM field.
  2182. *** Columns view
  2183. **** ~org-columns~ accepts a prefix argument
  2184. When called with a prefix argument, ~org-columns~ apply to the whole
  2185. buffer unconditionally.
  2186. **** New variable : ~org-agenda-view-columns-initially~
  2187. The variable used to be a ~defvar~, it is now a ~defcustom~.
  2188. **** Allow custom summaries
  2189. It is now possible to add new summary types, or override those
  2190. provided by Org by customizing ~org-columns-summary-types~, which see.
  2191. **** Allow multiple summaries for any property
  2192. Columns can now summarize the same property using different summary
  2193. types.
  2194. *** Preview LaTeX snippets in buffers not visiting files
  2195. *** New option ~org-attach-commit~
  2196. When non-nil, commit attachments with git, assuming the document is in
  2197. a git repository.
  2198. *** Allow conditional case-fold searches in ~org-occur~
  2199. When set to ~smart~, the new variable ~org-occur-case-fold-search~ allows
  2200. to mimic =isearch.el=: if the regexp searched contains any upper case
  2201. character (or character class), the search is case sensitive.
  2202. Otherwise, it is case insensitive.
  2203. *** More robust repeated =ox-latex= footnote handling
  2204. Repeated footnotes are now numbered by referring to a label in the
  2205. first footnote.
  2206. *** The ~org-block~ face is inherited by ~src-blocks~
  2207. This works also when =org-src-fontify-natively= is non-nil. It is also
  2208. possible to specify per-languages faces. See =org-src-block-faces= and
  2209. the manual for details.
  2210. *** Links are now customizable
  2211. Links can now have custom colors, tooltips, keymaps, display behavior,
  2212. etc. Links are now centralized in ~org-link-parameters~.
  2213. ** New functions
  2214. *** ~org-next-line-empty-p~
  2215. It replaces the deprecated ~next~ argument to ~org-previous-line-empty-p~.
  2216. *** ~org-show-children~
  2217. It is a faster implementation of ~outline-show-children~.
  2218. ** Removed functions
  2219. *** ~org-agenda-filter-by-tag-refine~ has been removed.
  2220. Use ~org-agenda-filter-by-tag~ instead.
  2221. *** ~org-agenda-todayp~ is deprecated.
  2222. Use ~org-agenda-today-p~ instead.
  2223. *** ~org-babel-get-header~ is removed.
  2224. Use ~org-babel--get-vars~ or ~assq~ instead, as applicable.
  2225. *** ~org-babel-trim~ is deprecated.
  2226. Use ~org-trim~ instead.
  2227. *** ~org-element-remove-indentation~ is deprecated.
  2228. Use ~org-remove-indentation~ instead.
  2229. *** ~org-image-file-name-regexp~ is deprecated
  2230. Use ~image-file-name-regexp~ instead.
  2231. The never-used-in-core ~extensions~ argument has been dropped.
  2232. *** ~org-list-parse-list~ is deprecated
  2233. Use ~org-list-to-lisp~ instead.
  2234. *** ~org-on-heading-p~ is deprecated
  2235. A comment to this effect was in the source code since 7.8.03, but
  2236. now a byte-compiler warning will be generated as well.
  2237. *** ~org-table-p~ is deprecated
  2238. Use ~org-at-table-p~ instead.
  2239. *** ~org-table-recognize-table.el~ is deprecated
  2240. It was not called by any org code since 2010.
  2241. *** Various reimplementations of cl-lib functions are deprecated
  2242. The affected functions are:
  2243. - ~org-count~
  2244. - ~org-remove-if~
  2245. - ~org-remove-if-not~
  2246. - ~org-reduce~
  2247. - ~org-every~
  2248. - ~org-some~
  2249. Additionally, ~org-sublist~ is deprecated in favor of ~cl-subseq~. Note
  2250. the differences in indexing conventions: ~org-sublist~ is 1-based and
  2251. end-inclusive; ~cl-subseq~ is 0-based and end-exclusive.
  2252. ** Removed options
  2253. *** Remove all options related to ~ido~ or ~iswitchb~
  2254. This includes ~org-completion-use-iswitchb~ and ~org-completion-use-ido~.
  2255. Instead Org uses regular functions, e.g., ~completion-read~ so as to
  2256. let those libraries operate.
  2257. *** Remove ~org-list-empty-line-terminates-plain-lists~
  2258. Two consecutive blank lines always terminate all levels of current
  2259. plain list.
  2260. *** ~fixltx2e~ is removed from ~org-latex-default-packages-alist~
  2261. fixltx2e is obsolete, see LaTeX News 22.
  2262. ** Miscellaneous
  2263. *** Add Icelandic smart quotes
  2264. *** Allow multiple receiver locations in radio tables and lists
  2265. *** Allow angular links within link descriptions
  2266. It is now allowed to write, e.g.,
  2267. ~[[http:orgmode.org][<file:unicorn.png>]]~ as an equivalent to
  2268. ~[[http:orgmode.org][file:unicorn.png]]~. The advantage of the former
  2269. is that spaces are allowed within the path.
  2270. *** Beamer export back-ends uses ~org-latex-prefer-user-labels~
  2271. *** ~:preparation-function~ called earlier during publishing
  2272. Functions in this list are called before any file is associated to the
  2273. current project. Thus, they can be used to generate to be published
  2274. Org files.
  2275. *** Function ~org-remove-indentation~ changes.
  2276. The new algorithm doesn't remove TAB characters not used for
  2277. indentation.
  2278. *** Secure placeholders in capture templates
  2279. Placeholders in capture templates are no longer expanded recursively.
  2280. However, ~%(...)~ constructs are expanded very late, so you can fill
  2281. the contents of the S-exp with the replacement text of non-interactive
  2282. placeholders. As before, interactive ones are still expanded as the
  2283. very last step, so the previous statement doesn't apply to them.
  2284. Note that only ~%(...)~ placeholders initially present in the
  2285. template, or introduced using a file placeholder, i.e., ~%[...]~ are
  2286. expanded. This prevents evaluating potentially malicious code when
  2287. another placeholder, e.g., ~%i~ expands to a S-exp.
  2288. *** Links stored by ~org-gnus-store-link~ in nnir groups
  2289. Since gnus nnir groups are temporary, ~org-gnus-store-link~ now refers
  2290. to the article's original group.
  2291. *** ~org-babel-check-confirm-evaluate~ is now a function instead of a macro
  2292. The calling convention has changed.
  2293. *** HTML export table row customization changes
  2294. Variable ~org-html-table-row-tags~ has been split into
  2295. ~org-html-table-row-open-tag~ and ~org-html-table-row-close-tag~.
  2296. Both new variables can be either a string or a function which will be
  2297. called with 6 parameters.
  2298. *** =ITEM= special property returns headline without stars
  2299. *** Rename ~org-insert-columns-dblock~ into ~org-columns-insert-dblock~
  2300. The previous name is, for the time being, kept as an obsolete alias.
  2301. *** ~org-trim~ can preserve leading indentation.
  2302. When setting a new optional argument to a non-nil value, ~org-trim~
  2303. preserves leading indentation while removing blank lines at the
  2304. beginning of the string. The behavior is identical for white space at
  2305. the end of the string.
  2306. *** Function ~org-info-export~ changes.
  2307. HTML links created from certain info links now point to =gnu.org= URL's rather
  2308. than just to local files. For example info links such as =info:emacs#List
  2309. Buffers= used to be converted to HTML links like this:
  2310. : <a href="emacs.html#List-Buffers">emacs#List Buffers</a>
  2311. where local file =emacs.html= is referenced.
  2312. For most folks this file does not exist.
  2313. Thus the new behavior is to generate this HTML link instead:
  2314. : <a href="https://www.gnu.org/software/emacs/manual/html_mono/emacs.html#List-Buffers">emacs#List Buffers</a>
  2315. All emacs related info links are similarly translated plus few other
  2316. =gnu.org= manuals.
  2317. *** Repeaters with a ~++~ interval and a time can be shifted to later today
  2318. Previously, if a recurring task had a timestamp of
  2319. ~<2016-01-01 Fri 20:00 ++1d>~ and was completed on =2016-01-02= at
  2320. =08:00=, the task would skip =2016-01-02= and would be rescheduled for
  2321. =2016-01-03=. Timestamps with ~++~ cookies and a specific time will
  2322. now shift to the first possible future occurrence, even if the
  2323. occurrence is later the same day the task is completed. (Timestamps
  2324. already in the future are still shifted one time further into the
  2325. future.)
  2326. *** ~org-mobile-action-alist~ is now a defconst
  2327. It used to be a defcustom, with a warning that it shouldn't be
  2328. modified anyway.
  2329. *** ~file+emacs~ and ~file+sys~ link types are deprecated
  2330. They are still supported in Org 9.0 but will eventually be removed in
  2331. a later release. Use ~file~ link type along with universal arguments
  2332. to force opening it in either Emacs or with system application.
  2333. *** New defcustom ~org-babel-J-command~ stores the j command
  2334. *** New defalias ~org-babel-execute:j~
  2335. Allows J source blocks be indicated by letter j. Previously the
  2336. indication letter was solely J.
  2337. *** ~org-open-line~ ignores tables at the very beginning of the buffer
  2338. When ~org-special-ctrl-o~ is non-nil, it is impractical to create
  2339. a blank line above a table at the beginning of the document. Now, as
  2340. a special case, ~org-open-line~ behaves normally in this situation.
  2341. *** ~org-babel-hash-show-time~ is now customizable
  2342. The experimental variable used to be more or less confidential, as
  2343. a ~defvar~.
  2344. *** New ~:format~ property to parsed links
  2345. It defines the format of the original link. Possible values are:
  2346. ~plain~, ~bracket~ and ~angle~.
  2347. * Version 8.3
  2348. ** Incompatible changes
  2349. *** Properties drawers syntax changes
  2350. Properties drawers are now required to be located right after a
  2351. headline and its planning line, when applicable.
  2352. It will break some documents as TODO states changes were sometimes
  2353. logged before the property drawer.
  2354. The following function will repair them:
  2355. #+BEGIN_SRC emacs-lisp
  2356. (defun org-repair-property-drawers ()
  2357. "Fix properties drawers in current buffer.
  2358. Ignore non Org buffers."
  2359. (when (eq major-mode 'org-mode)
  2360. (org-with-wide-buffer
  2361. (goto-char (point-min))
  2362. (let ((case-fold-search t)
  2363. (inline-re (and (featurep 'org-inlinetask)
  2364. (concat (org-inlinetask-outline-regexp)
  2365. "END[ \t]*$"))))
  2366. (org-map-entries
  2367. (lambda ()
  2368. (unless (and inline-re (org-looking-at-p inline-re))
  2369. (save-excursion
  2370. (let ((end (save-excursion (outline-next-heading) (point))))
  2371. (forward-line)
  2372. (when (org-looking-at-p org-planning-line-re) (forward-line))
  2373. (when (and (< (point) end)
  2374. (not (org-looking-at-p org-property-drawer-re))
  2375. (save-excursion
  2376. (and (re-search-forward org-property-drawer-re end t)
  2377. (eq (org-element-type
  2378. (save-match-data (org-element-at-point)))
  2379. 'drawer))))
  2380. (insert (delete-and-extract-region
  2381. (match-beginning 0)
  2382. (min (1+ (match-end 0)) end)))
  2383. (unless (bolp) (insert "\n"))))))))))))
  2384. #+END_SRC
  2385. *** Using "COMMENT" is now equivalent to commenting with "#"
  2386. If you used "COMMENT" in headlines to prevent a subtree from being
  2387. exported, you can still do it but all information within the subtree
  2388. is now commented out, i.e. no #+OPTIONS line will be parsed or taken
  2389. into account when exporting.
  2390. If you want to exclude a headline from export while using its contents
  2391. for setting options, use =:noexport:= (see =org-export-exclude-tags=.)
  2392. *** =#+CATEGORY= keywords no longer apply partially to document
  2393. It was possible to use several such keywords and have them apply to
  2394. the text below until the next one, but strongly deprecated since Org
  2395. 5.14 (2008).
  2396. =#+CATEGORY= keywords are now global to the document. You can use node
  2397. properties to set category for a subtree, e.g.,
  2398. #+BEGIN_SRC org
  2399. ,* Headline
  2400. :PROPERTIES:
  2401. :CATEGORY: some category
  2402. :END:
  2403. #+END_SRC
  2404. *** New variable to control visibility when revealing a location
  2405. ~org-show-following-heading~, ~org-show-siblings~, ~org-show-entry-below~
  2406. and ~org-show-hierarchy-above~ no longer exist. Instead, visibility is
  2407. controlled through a single variable: ~org-show-context-detail~, which
  2408. see.
  2409. *** Replace disputed keys again when reading a date
  2410. ~org-replace-disputed-keys~ has been ignored when reading date since
  2411. version 8.1, but the former behavior is restored again.
  2412. Keybinding for reading date can be customized with a new variable
  2413. ~org-read-date-minibuffer-local-map~.
  2414. *** No default title is provided when =TITLE= keyword is missing
  2415. Skipping =TITLE= keyword no longer provides the current file name, or
  2416. buffer name, as the title. Instead, simply ignore the title.
  2417. *** Default bindings of =C-c C-n= and =C-c C-p= changed
  2418. The key sequences =C-c C-n= and =C-c C-p= are now bound to
  2419. ~org-next-visible-heading~ and ~org-previous-visible-heading~
  2420. respectively, rather than the =outline-mode= versions of these
  2421. functions. The Org version of these functions skips over inline tasks
  2422. (and even-level headlines when ~org-odd-levels-only~ is set).
  2423. *** ~org-element-context~ no longer return objects in keywords
  2424. ~org-element-context~ used to return objects on some keywords, i.e.,
  2425. =TITLE=, =DATE= and =AUTHOR=. It now returns only the keyword.
  2426. *** ~org-timer-default-timer~ type changed from number to string
  2427. If you have, in your configuration, something like =(setq
  2428. org-timer-default-timer 10)= replace it with =(setq
  2429. org-timer-default-timer "10")=.
  2430. *** Functions signature changes
  2431. The following functions require an additional argument. See their
  2432. docstring for more information.
  2433. - ~org-export-collect-footnote-definitions~
  2434. - ~org-html-format-headline-function~
  2435. - ~org-html-format-inlinetask-function~
  2436. - ~org-latex-format-headline-function~
  2437. - ~org-latex-format-inlinetask-function~
  2438. - ~org-link-search~
  2439. ** New features
  2440. *** Default lexical evaluation of emacs-lisp source blocks
  2441. Emacs-lisp source blocks in Babel are now evaluated using lexical
  2442. scoping. There is a new header to control this behavior.
  2443. The default results in an eval with lexical scoping.
  2444. :lexical yes
  2445. This turns lexical scoping off in the eval (the former behavior).
  2446. :lexical no
  2447. This uses the lexical environment with x=42 in the eval.
  2448. :lexical '((x . 42))
  2449. *** Behavior of ~org-return~ changed
  2450. If point is before or after the headline title, insert a new line
  2451. without changing the headline.
  2452. *** Hierarchies of tags
  2453. The functionality of nesting tags in hierarchies is added to Org mode.
  2454. This is the generalization of what was previously called "Tag groups"
  2455. in the manual. That term is now changed to "Tag hierarchy".
  2456. The following in-buffer definition:
  2457. #+BEGIN_SRC org
  2458. ,#+TAGS: [ Group : SubOne SubTwo ]
  2459. ,#+TAGS: [ SubOne : SubOne1 SubOne2 ]
  2460. ,#+TAGS: [ SubTwo : SubTwo1 SubTwo2 ]
  2461. #+END_SRC
  2462. Should be seen as the following tree of tags:
  2463. - Group
  2464. - SubOne
  2465. - SubOne1
  2466. - SubOne2
  2467. - SubTwo
  2468. - SubTwo1
  2469. - SubTwo2
  2470. Searching for "Group" should return all tags defined above. Filtering
  2471. on SubOne filters also it's sub-tags. Etc.
  2472. There is no limit on the depth for the tag hierarchy.
  2473. *** Additional syntax for non-unique grouptags
  2474. Additional syntax is defined for grouptags if the tags in the group
  2475. don't have to be distinct on a heading.
  2476. Grouptags had to previously be defined with { }. This syntax is
  2477. already used for exclusive tags and Grouptags need their own,
  2478. non-exclusive syntax. This behavior is achieved with [ ]. Note: { }
  2479. can still be used also for Grouptags but then only one of the given
  2480. tags can be used on the headline at the same time. Example:
  2481. [ group : sub1 sub2 ]
  2482. #+BEGIN_SRC org
  2483. ,* Test :sub1:sub2:
  2484. #+END_SRC
  2485. This is a more general case than the already existing syntax for
  2486. grouptags; { }.
  2487. *** Define regular expression patterns as tags
  2488. Tags can be defined as grouptags with regular expressions as
  2489. "sub-tags".
  2490. The regular expressions in the group must be marked up within { }.
  2491. Example use:
  2492. : #+TAGS: [ Project : {P@.+} ]
  2493. Searching for the tag Project will now list all tags also including
  2494. regular expression matches for P@.+. This is good for example for
  2495. projects tagged with a common identifier, i.e. P@2014_OrgTags.
  2496. *** Filtering in the agenda on grouptags (Tag hierarchies)
  2497. Filtering in the agenda on grouptags filters all of the related tags.
  2498. Except if a filter is applied with a (double) prefix-argument.
  2499. Filtering in the agenda on subcategories does not filter the "above"
  2500. levels anymore.
  2501. If a grouptag contains a regular expression the regular expression
  2502. is also used as a filter.
  2503. *** Minor refactoring of ~org-agenda-filter-by-tag~
  2504. Now uses the argument ARG and optional argument exclude instead of
  2505. strip and narrow. ARG because the argument has multiple purposes and
  2506. makes more sense than strip now. The term "narrowing" is changed to
  2507. exclude.
  2508. The main purpose is for the function to make more logical sense when
  2509. filtering on tags now when tags can be structured in hierarchies.
  2510. *** Babel: support for sed scripts
  2511. Thanks to Bjarte Johansen for this feature.
  2512. *** Babel: support for Processing language
  2513. New ob-processing.el library.
  2514. This library implements necessary functions for implementing editing
  2515. of Processing code blocks, viewing the resulting sketches in an
  2516. external viewer, and HTML export of the sketches.
  2517. Check the documentation for more details.
  2518. Thanks to Jarmo Hurri for this feature.
  2519. *** New behavior for ~org-toggle-latex-fragment~
  2520. The new behavior is the following:
  2521. - With a double prefix argument or with a single prefix argument when
  2522. point is before the first headline, toggle overlays in the whole
  2523. buffer;
  2524. - With a single prefix argument, toggle overlays in the current
  2525. subtree;
  2526. - On latex code, toggle overlay at point;
  2527. - Otherwise, toggle overlays in the current section.
  2528. *** Additional markup with =#+INCLUDE= keyword
  2529. The content of the included file can now be optionally marked up, for
  2530. instance as HTML. See the documentation for details.
  2531. *** File links with =#+INCLUDE= keyword
  2532. Objects can be extracted via =#+INCLUDE= using file links. It is
  2533. possible to include only the contents of the object. See manual for
  2534. more information.
  2535. *** Drawers do not need anymore to be referenced in =#+DRAWERS=
  2536. One can use a drawer without listing it in the =#+DRAWERS= keyword,
  2537. which is now obsolete. As a consequence, this change also deprecates
  2538. ~org-drawers~ variable.
  2539. *** ~org-edit-special~ can edit export blocks
  2540. Using C-c ' on an export block now opens a sub-editing buffer. Major
  2541. mode in that buffer is determined by export backend name (e.g.,
  2542. "latex" \to "latex-mode"). You can define exceptions to this rule by
  2543. configuring ~org-src-lang-modes~, which see.
  2544. *** Additional =:hline= processing to ob-shell
  2545. If the argument =:hlines yes= is present in a babel call, an optional
  2546. argument =:hlines-string= can be used to define a string to use as a
  2547. representation for the lisp symbol ='hline= in the shell program. The
  2548. default is =hline=.
  2549. *** Markdown export supports switches in source blocks
  2550. For example, it is now possible to number lines using the =-n= switch in
  2551. a source block.
  2552. *** New option in ASCII export
  2553. Plain lists can have an extra margin by setting ~org-ascii-list-margin~
  2554. variable to an appropriate integer.
  2555. *** New blocks in ASCII export
  2556. ASCII export now supports =#+BEGIN_JUSTIFYRIGHT= and =#+BEGIN_JUSTIFYLEFT=
  2557. blocks. See documentation for details.
  2558. *** More back-end specific publishing options
  2559. The number of publishing options specific to each back-end has been
  2560. increased. See manual for details.
  2561. *** Export inline source blocks
  2562. Inline source code was used to be removed upon exporting. They are
  2563. now handled as standard code blocks, i.e., the source code can appear
  2564. in the output, depending on the parameters.
  2565. *** Extend ~org-export-first-sibling-p~ and ~org-export-last-sibling-p~
  2566. These functions now support any element or object, not only headlines.
  2567. *** New function: ~org-export-table-row-in-header-p~
  2568. *** New function: ~org-export-get-reference~
  2569. *** New function: ~org-element-lineage~
  2570. This function deprecates ~org-export-get-genealogy~. It also provides
  2571. more features. See docstring for details.
  2572. *** New function: ~org-element-copy~
  2573. *** New filter: ~org-export-filter-body-functions~
  2574. Functions in this filter are applied on the body of the exported
  2575. document, before wrapping it within the template.
  2576. *** New :environment parameter when exporting example blocks to LaTeX
  2577. : #+ATTR_LATEX: :environment myverbatim
  2578. : #+BEGIN_EXAMPLE
  2579. : This sentence is false.
  2580. : #+END_EXAMPLE
  2581. will be exported using =@samp(myverbatim)= instead of =@samp(verbatim)=.
  2582. *** Various improvements on radio tables
  2583. Radio tables feature now relies on Org's export framework ("ox.el").
  2584. ~:no-escape~ parameter no longer exists, but additional global
  2585. parameters are now supported: ~:raw~, ~:backend~. Moreover, there are new
  2586. parameters specific to some pre-defined translators, e.g.,
  2587. ~:environment~ and ~:booktabs~ for ~orgtbl-to-latex~. See translators
  2588. docstrings (including ~orgtbl-to-generic~) for details.
  2589. *** Non-floating minted listings in Latex export
  2590. It is not possible to specify =#+attr_latex: :float nil= in conjunction
  2591. with source blocks exported by the minted package.
  2592. *** Field formulas can now create columns as needed
  2593. Previously, evaluating formulas that referenced out-of-bounds columns
  2594. would throw an error. A new variable ~org-table-formula-create-columns~
  2595. was added to adjust this behavior. It is now possible to silently add
  2596. new columns, to do so with a warning or to explicitly ask the user
  2597. each time.
  2598. *** ASCII plot
  2599. Ability to plot values in a column through ASCII-art bars. See manual
  2600. for details.
  2601. *** New hook: ~org-archive-hook~
  2602. This hook is called after successfully archiving a subtree, with point
  2603. on the original subtree, not yet deleted.
  2604. *** New option: ~org-attach-archive-delete~
  2605. When non-nil, attachments from archived subtrees are removed.
  2606. *** New option: ~org-latex-caption-above~
  2607. This variable generalizes ~org-latex-table-caption-above~, which is now
  2608. deprecated. In addition to tables, it applies to source blocks,
  2609. special blocks and images. See docstring for more information.
  2610. *** New option: ~org-latex-prefer-user-labels~
  2611. See the docstring for more information.
  2612. *** Export unnumbered headlines
  2613. Headlines, for which the property ~UNNUMBERED~ is non-nil, are now
  2614. exported without section numbers irrespective of their levels. The
  2615. property is inherited by children.
  2616. *** Tables can be sorted with an arbitrary function
  2617. It is now possible to specify a function, both programmatically,
  2618. through a new optional argument, and interactively with ~f~ or ~F~ keys,
  2619. to sort a table.
  2620. *** Table of contents can be local to a section
  2621. The ~TOC~ keywords now accepts an optional ~local~ parameter. See manual
  2622. for details.
  2623. *** Countdown timers can now be paused
  2624. ~org-timer-pause-time~ now pauses and restarts both relative and
  2625. countdown timers.
  2626. *** New option ~only-window~ for ~org-agenda-window-setup~
  2627. When ~org-agenda-window-setup~ is set to ~only-window~, the agenda is
  2628. displayed as the sole window of the current frame.
  2629. *** ~{{{date}}}~ macro supports optional formatting argument
  2630. It is now possible to supply and optional formatting argument to
  2631. ~{{{date}}}~. See manual for details.
  2632. *** ~{{{property}}}~ macro supports optional search argument
  2633. It is now possible to supply an optional search option to
  2634. ~{{{property}}}~ in order to retrieve remote properties optional. See
  2635. manual for details.
  2636. *** New option ~org-export-with-title~
  2637. It is possible to suppress the title insertion with ~#+OPTIONS:
  2638. title:nil~ or globally using the variable ~org-export-with-title~.
  2639. *** New entities family: "\_ "
  2640. "\_ " are used to insert up to 20 contiguous spaces in various
  2641. back-ends. In particular, this family can be used to introduce
  2642. leading spaces within table cells.
  2643. *** New MathJax configuration options
  2644. Org uses the MathJax CDN by default. See the manual and the docstring
  2645. of ~org-html-mathjax-options~ for details.
  2646. *** New behavior in `org-export-options-alist'
  2647. When defining a back-end, it is now possible to specify to give
  2648. `parse' behavior on a keyword. It is equivalent to call
  2649. `org-element-parse-secondary-string' on the value.
  2650. However, parsed =KEYWORD= is automatically associated to an
  2651. =:EXPORT_KEYWORD:= property, which can be used to override the keyword
  2652. value during a subtree export. Moreover, macros are expanded in such
  2653. keywords and properties.
  2654. *** Viewport support in html export
  2655. Viewport for mobile-optimized website is now automatically inserted
  2656. when exporting to html. See ~org-html-viewport~ for details.
  2657. *** New ~#+SUBTITLE~ export keyword
  2658. Org can typeset a subtitle in some export backends. See the manual
  2659. for details.
  2660. *** Remotely edit a footnote definition
  2661. Calling ~org-edit-footnote-reference~ (C-c ') on a footnote reference
  2662. allows to edit its definition, as long as it is not anonymous, in a
  2663. dedicated buffer. It works even if buffer is currently narrowed.
  2664. *** New function ~org-delete-indentation~ bound to ~M-^~
  2665. Work as ~delete-indentation~ unless at heading, in which case text is
  2666. added to headline text.
  2667. *** Support for images in Texinfo export
  2668. ~Texinfo~ back-end now handles images. See the manual for details.
  2669. *** Support for captions in Texinfo export
  2670. Tables and source blocks can now have captions. Additionally, lists
  2671. of tables and lists of listings can be inserted in the document with
  2672. =#+TOC= keyword.
  2673. *** Countdown timer support hh:mm:ss format
  2674. In addition to setting countdown timers in minutes, they can also be
  2675. set using the hh:mm:ss format.
  2676. *** Extend ~org-clone-subtree-with-time-shift~
  2677. ~org-clone-subtree-with-time-shift~ now accepts 0 as an argument for the
  2678. number of clones, which removes the repeater from the original subtree
  2679. and creates one shifted, repeating clone.
  2680. *** New time block for clock tables: ~untilnow~
  2681. It encompasses all past closed clocks.
  2682. *** Support for the ~polyglossia~ LaTeX package
  2683. See the docstring of ~org-latex-classes~ and
  2684. ~org-latex-guess-polyglossia-language~ for details.
  2685. *** None-floating tables, graphics and blocks can have captions
  2686. *** `org-insert-heading' can be forced to insert top-level headline
  2687. ** Removed functions
  2688. *** Removed function ~org-translate-time~
  2689. Use ~org-timestamp-translate~ instead.
  2690. *** Removed function ~org-beamer-insert-options-template~
  2691. This function inserted a Beamer specific template at point or in
  2692. current subtree. Use ~org-export-insert-default-template~ instead, as
  2693. it provides more features and covers all export back-ends. It is also
  2694. accessible from the export dispatcher.
  2695. *** Removed function ~org-timer-cancel-timer~
  2696. ~org-timer-stop~ now stops both relative and countdown timers.
  2697. *** Removed function ~org-export-solidify-link-text~
  2698. This function, being non-bijective, introduced bug in internal
  2699. references. Use ~org-export-get-reference~ instead.
  2700. *** Removed function ~org-end-of-meta-data-and-drawers~
  2701. The function is superseded by ~org-end-of-meta-data~, called with an
  2702. optional argument.
  2703. *** Removed functions ~org-table-colgroup-line-p~, ~org-table-cookie-line-p~
  2704. These functions were left-over from pre 8.0 era. They are not correct
  2705. anymore. Since they are not needed, they have no replacement.
  2706. ** Removed options
  2707. *** ~org-list-empty-line-terminates-plain-lists~ is deprecated
  2708. It will be kept in code base until next release, for backward
  2709. compatibility.
  2710. If you need to separate consecutive lists with blank lines, always use
  2711. two of them, as if this option was nil (default value).
  2712. *** ~org-export-with-creator~ is a boolean
  2713. Special ~comment~ value is no longer allowed. It is possible to use a
  2714. body filter to add comments about the creator at the end of the
  2715. document instead.
  2716. *** Removed option =org-html-use-unicode-chars=
  2717. Setting this to non-nil was problematic as it converted characters
  2718. everywhere in the buffer, possibly corrupting URLs.
  2719. *** Removed option =org-babel-sh-command=
  2720. This undocumented option defaulted to the value of =shell-file-name= at
  2721. the time of loading =ob-shell=. The new behavior is to use the value
  2722. of =shell-file-name= directly when the shell language is =shell=. To chose
  2723. a different shell, either customize =shell-file-name= or bind this
  2724. variable locally.
  2725. *** Removed option =org-babel-sh-var-quote-fmt=
  2726. This undocumented option was supposed to provide different quoting
  2727. styles when changing the shell type. Changing the shell type can now
  2728. be done directly from the source block and the quoting style has to be
  2729. compatible across all shells, so a customization doesn't make sense
  2730. anymore. The chosen hard coded quoting style conforms to POSIX.
  2731. *** Removed option ~org-insert-labeled-timestamps-at-point~
  2732. Setting this option to anything else that the default value (nil)
  2733. would create invalid planning info. This dangerous option is now
  2734. removed.
  2735. *** Removed option ~org-koma-letter-use-title~
  2736. Use org-export-with-title instead. See also below.
  2737. *** Removed option ~org-entities-ascii-explanatory~
  2738. This variable has no effect since Org 8.0.
  2739. *** Removed option ~org-table-error-on-row-ref-crossing-hline~
  2740. This variable has no effect since August 2009.
  2741. *** Removed MathML-related options from ~org-html-mathjax-options~
  2742. MathJax automatically chooses the best display technology based on the
  2743. end-users browser. You may force initial usage of MathML via
  2744. ~org-html-mathjax-template~ or by setting the ~path~ property of
  2745. ~org-html-mathjax-options~.
  2746. *** Removed comment-related filters
  2747. ~org-export-filter-comment-functions~ and
  2748. ~org-export-filter-comment-block-functions~ variables do not exist
  2749. anymore.
  2750. ** Miscellaneous
  2751. *** Strip all meta data from ITEM special property
  2752. ITEM special property does not contain TODO, priority or tags anymore.
  2753. *** File names in links accept are now compatible with URI syntax
  2754. Absolute file names can now start with =///= in addition to =/=. E.g.,
  2755. =[[file:///home/me/unicorn.jpg]]=.
  2756. *** Footnotes in included files are now local to the file
  2757. As a consequence, it is possible to include multiple Org files with
  2758. footnotes in a master document without being concerned about footnote
  2759. labels colliding.
  2760. *** Mailto links now use regular URI syntax
  2761. This change deprecates old Org syntax for mailto links:
  2762. =mailto:user@domain::Subject=.
  2763. *** =QUOTE= keywords do not exist anymore
  2764. =QUOTE= keywords have been deprecated since Org 8.2.
  2765. *** Select tests to perform with the build system
  2766. The build system has been enhanced to allow test selection with a
  2767. regular expression by defining =BTEST_RE= during the test invocation.
  2768. This is especially useful during bisection to find just when a
  2769. particular test failure was introduced.
  2770. *** Exact heading search for external links ignore spaces and cookies
  2771. Exact heading search for links now ignore spaces and cookies. This is
  2772. the case for links of the form ~file:projects.org::*task title~, as well
  2773. as links of the form ~file:projects.org::some words~ when
  2774. ~org-link-search-must-match-exact-headline~ is not nil.
  2775. *** ~org-latex-hyperref-template~, ~org-latex-title-command~ formatting
  2776. New formatting keys are supported. See the respective docstrings.
  2777. Note, ~org-latex-hyperref-template~ has a new default value.
  2778. *** ~float, wasysym, marvosym~ are removed from ~org-latex-default-packages-alist~
  2779. If you require any of these package add them to your preamble via
  2780. ~org-latex-packages-alist~. Org also uses default LaTeX ~\tolerance~ now.
  2781. *** When exporting, throw an error on unresolved id/fuzzy links and code refs
  2782. This helps spotting wrong links.
  2783. * Version 8.2
  2784. ** Incompatible changes
  2785. *** =ob-sh.el= renamed to =ob-shell=
  2786. This may require two changes in user config.
  2787. 1. In =org-babel-do-load-languages=, change =(sh . t)= to =(shell . t)=.
  2788. 2. Edit =local.mk= files to change the value of =BTEST_OB_LANGUAGES=
  2789. to remove "sh" and include "shell".
  2790. *** Combine org-mac-message.el and org-mac-link-grabber into org-mac-link.el
  2791. Please remove calls to =(require 'org-mac-message)= and =(require
  2792. 'org-mac-link-grabber)= in your =.emacs= initialization file. All you
  2793. need now is =(require 'org-mac-link)=.
  2794. Additionally, replace any calls to =ogml-grab-link= to
  2795. =org-mac-grab-link=. For example, replace this line:
  2796. : (define-key org-mode-map (kbd "C-c g") 'omgl-grab-link)
  2797. with this:
  2798. : (define-key org-mode-map (kbd "C-c g") 'org-mac-grab-link)
  2799. *** HTML export: Replace =HTML_HTML5_FANCY= by =:html-html5-fancy= (...)
  2800. Some of the HTML specific export options in Org <8.1 are either nil or
  2801. t, like =#+HTML_INCLUDE_STYLE=. We replaced these binary options with
  2802. option keywords like :html-include-style.
  2803. So you need to replace
  2804. : #+HTML_INCLUDE_STYLE: t
  2805. by
  2806. : #+OPTIONS: :html-include-style t
  2807. Options affected by this change: =HTML5_FANCY=, =HTML_INCLUDE_SCRIPTS=
  2808. and =HTML_INCLUDE_STYLE=.
  2809. *** Add an argument to ~org-export-to-file~ and ~org-export-to-buffer~
  2810. ~org-export-to-file~ and ~org-export-to-file~ can run in a different
  2811. process when provided a non-nil =ASYNC= optional argument, without
  2812. relying on ~org-export-async-start~ macro.
  2813. Since =ASYNC= is the first of optional arguments, you have to shift
  2814. the other optional arguments accordingly.
  2815. *** Export back-ends are now structures
  2816. Export back-ends are now structures, and stored as such in the
  2817. communication channel during an export process. In other words, from
  2818. now on, ~(plist-get info :back-end)~ will return a structure instead
  2819. of a symbol.
  2820. Arguments in hooks and in filters are still symbols, though.
  2821. ** Important bugfixes
  2822. *** [[doc:org-insert-heading][org-insert-heading]] has been rewritten and bugs are now fixed
  2823. *** The replacement of disputed keys is now turned of when reading a date
  2824. *** Match string for sparse trees can now contain a slash in a property value
  2825. You can now have searches like SOMEPROP="aaa/bbb". Until now,
  2826. this would break because the slash would be interpreted as the
  2827. separator starting a TOTO match string.
  2828. ** New features
  2829. *** =C-c ^ x= will now sort checklist items by their checked status
  2830. See [[doc:org-sort-list][org-sort-list]]: hitting =C-c ^ x= will put checked items at the end
  2831. of the list.
  2832. *** Various LaTeX export enhancements
  2833. - Support SVG images
  2834. - Support for .pgf files
  2835. - LaTeX Babel blocks can now be exported as =.tikz= files
  2836. - Allow =latexmk= as an option for [[doc:org-latex-pdf-process][org-latex-pdf-process]]
  2837. - When using =\usepackage[AUTO]{babel}=, AUTO will automatically be
  2838. replaced with a value compatible with ~org-export-default-language~
  2839. or ~LANGUAGE~ keyword.
  2840. - The dependency on the =latexsym= LaTeX package has been removed, we
  2841. now use =amssymb= symbols by default instead.
  2842. *** New functions for paragraph motion
  2843. The commands =C-down= and =C-up= now invoke special commands
  2844. that use knowledge from the org-elements parser to move the cursor
  2845. in a paragraph-like way.
  2846. *** New entities in =org-entities.el=
  2847. Add support for ell, imath, jmath, varphi, varpi, aleph, gimel, beth,
  2848. dalet, cdots, S (§), dag, ddag, colon, therefore, because, triangleq,
  2849. leq, geq, lessgtr, lesseqgtr, ll, lll, gg, ggg, prec, preceq,
  2850. preccurlyeq, succ, succeq, succurlyeq, setminus, nexist(s), mho,
  2851. check, frown, diamond. Changes loz, vert, checkmark, smile and tilde.
  2852. *** Anonymous export back-ends
  2853. ~org-export-create-backend~ can create anonymous export back-ends,
  2854. which can then be passed to export functions like
  2855. ~org-export-to-file~, ~org-export-to-buffer~ or ~org-export-as~.
  2856. It allows for quick translation of Org syntax without the overhead of
  2857. registering a new back-end.
  2858. *** New agenda fortnight view
  2859. The agenda has not, in addition to day, week, month, and year
  2860. views, also a fortnight view covering 14 days.
  2861. ** New options
  2862. *** New option [[doc:org-bookmark-names-plist][org-bookmark-names-plist]]
  2863. This allows to specify the names of automatic bookmarks.
  2864. *** New option [[doc:org-agenda-ignore-drawer-properties][org-agenda-ignore-drawer-properties]]
  2865. This allows more flexibility when optimizing the agenda generation.
  2866. See https://orgmode.org/worg/agenda-optimization.html for details.
  2867. *** New option: [[doc:org-html-link-use-abs-url][org-html-link-use-abs-url]] to force using absolute URLs
  2868. This is an export/publishing option, and should be used either within
  2869. the =#+OPTIONS= line(s) or within a [[doc:org-publish-project-alist][org-publish-project-alist]].
  2870. Setting this option to =t= is needed when the HTML output does not
  2871. allow relative URLs. For example, the =contrib/lisp/ox-rss.el=
  2872. library produces a RSS feed, and RSS feeds need to use absolute URLs,
  2873. so a combination of =:html-link-home "..." and :html-link-use-abs-url
  2874. t= is required---see the configuration example in the comment section
  2875. of =ox-rss.el=.
  2876. *** New option [[doc:org-babel-ditaa-java-cmd][org-babel-ditaa-java-cmd]]
  2877. This makes java executable configurable for ditaa blocks.
  2878. *** New options [[doc:org-babel-latex-htlatex][org-babel-latex-htlatex]] and [[doc:org-babel-latex-htlatex-packages][org-babel-latex-htlatex-packages]]
  2879. This enables SVG generation from latex code blocks.
  2880. *** New option: [[doc:org-habit-show-done-always-green][org-habit-show-done-always-green]]
  2881. See [[https://lists.gnu.org/r/emacs-orgmode/2013-05/msg00214.html][this message]] from Max Mikhanosha.
  2882. *** New option: [[doc:org-babel-inline-result-wrap][org-babel-inline-result-wrap]]
  2883. If you set this to the following
  2884. : (setq org-babel-inline-result-wrap "$%s$")
  2885. then inline code snippets will be wrapped into the formatting string.
  2886. *** New option: [[doc:org-special-ctrl-o][org-special-ctrl-o]]
  2887. This variable can be used to turn off the special behavior of
  2888. =C-o= in tables.
  2889. ** New contributed packages
  2890. - =ox-bibtex.el= by Nicolas Goaziou :: an utility to handle BibTeX
  2891. export to both LaTeX and HTML exports. It uses the [[https://www.lri.fr/~filliatr/bibtex2html/][bibtex2html]]
  2892. software.
  2893. - =org-screenshot.el= by Max Mikhanosha :: an utility to handle
  2894. screenshots easily from Org, using the external tool [[https://freecode.com/projects/scrot][scrot]].
  2895. ** Miscellaneous
  2896. *** "QUOTE" keywords in headlines are deprecated
  2897. "QUOTE" keywords are an undocumented feature in Org. When a headline
  2898. starts with the keyword "QUOTE", its contents are parsed as
  2899. a ~quote-section~ and treated as an example block. You can achieve
  2900. the same with example blocks.
  2901. This feature is deprecated and will be removed in the next Org
  2902. release.
  2903. * Version 8.0.1
  2904. ** Installation
  2905. Installation instructions have been updated and simplified.
  2906. If you have troubles installing or updating Org, focus on these
  2907. instructions:
  2908. - when updating via a =.zip/.tar.gz= file, you only need to set the
  2909. =load-path= in your =.emacs=. Set it before any other Org
  2910. customization that would call autoloaded Org functions.
  2911. - when updating by pulling Org's Git repository, make sure to create the
  2912. correct autoloads. You can do this by running =~$ make autoloads= (to
  2913. only create the autoloads) or by running =~$ make= (to also compile
  2914. the Emacs lisp files.) =~$ make help= and =~$ make helpall= gives you
  2915. detailed explanations.
  2916. - when updating through ELPA (either from GNU ELPA or from Org ELPA),
  2917. you have to install Org's ELPA package in a session where no Org
  2918. function has been called already.
  2919. When in doubt, run =M-x org-version RET= and see if you have a mixed-up
  2920. installation.
  2921. See https://orgmode.org/org.html#Installation for details.
  2922. ** Incompatible changes
  2923. Org 8.0 is the most disruptive major version of Org.
  2924. If you configured export options, you will have to update some of them.
  2925. If you used =#+ATTR_*= keywords, the syntax of the attributes changed and
  2926. you will have to update them.
  2927. Below is a list of changes for which you need to take action.
  2928. See https://orgmode.org/worg/org-8.0.html for the most recent version of
  2929. this list and for detailed instructions on how to migrate.
  2930. **** New export engine
  2931. Org 8.0 comes with a new export engine written by Nicolas Goaziou. This
  2932. export engine relies on ~org-element.el~ (Org's syntax parser), which was
  2933. already in Org's core. This new export engine triggered the rewriting of
  2934. /all/ export back-ends.
  2935. The most visible change is the export dispatcher, accessible through the
  2936. keybinding =C-c C-e=. By default, this menu only shows some of the
  2937. built-in export formats, but you can add more formats by loading them
  2938. directly (e.g., =(require 'ox-texinfo)= or by configuring the option
  2939. [[doc:org-export-backends][org-export-backends]].
  2940. More contributed back-ends are available from the =contrib/= directory, the
  2941. corresponding files start with the =ox-= prefix.
  2942. If you customized an export back-end (like HTML or LaTeX), you will need to
  2943. rename some options so that your customization is not lost. Typically, an
  2944. option starting with =org-export-html-= is now named =org-html-=. See the
  2945. manual for details and check [[https://orgmode.org/worg/org-8.0.html][this Worg page]] for directions.
  2946. **** New syntax for #+ATTR_HTML/LaTeX/... options
  2947. : #+ATTR_HTML width="200px"
  2948. should now be written
  2949. : #+ATTR_HTML :width 200px
  2950. Keywords like =#+ATTR_HTML= and =#+ATTR_LaTeX= are defined in their
  2951. respective back-ends, and the list of supported parameters depends on
  2952. each backend. See Org's manual for details.
  2953. **** ~org-remember.el~ has been removed
  2954. You cannot use =remember.el= anymore to capture notes.
  2955. Support for remember templates has been obsoleted since long, it is
  2956. now fully removed.
  2957. Use =M-x org-capture-import-remember-templates RET= to import your
  2958. remember templates into capture templates.
  2959. **** ~org-jsinfo.el~ has been merged into ~ox-html.el~
  2960. If you were requiring ~ox-jsinfo.el~ in your ~.emacs.el~ file, you
  2961. will have to remove this requirement from your initialization file.
  2962. **** Note for third-party developers
  2963. The name of the files for export back-end have changed: we now use the
  2964. prefix =ox-= for those files (like we use the =ob-= prefix for Babel
  2965. files.) For example ~org-html.el~ is now ~ox-html.el~.
  2966. If your code relies on these files, please update the names in your
  2967. code.
  2968. **** Packages moved from core to contrib
  2969. Since packages in Org's core are meant to be part of GNU Emacs, we try
  2970. to be minimalist when it comes to adding files into core. For 8.0, we
  2971. moved some contributions into the =contrib/= directory.
  2972. The rationale for deciding that these files should live in =contrib/=
  2973. is either because they rely on third-party software that is not
  2974. included in Emacs, or because they are not targeting a significant
  2975. user-base.
  2976. - org-colview-xemacs.el
  2977. - org-mac-message.el
  2978. - org-mew.el
  2979. - org-wl.el
  2980. - ox-freedmind.el
  2981. - ox-taskjuggler.el
  2982. Note that ~ox-freedmind.el~ has been rewritten by Jambunathan,
  2983. ~org-mew.el~ has been enhanced by Tokuya Kameshima and
  2984. ~ox-taskjuggler.el~ by Nicolas Goaziou and others.
  2985. Also, the Taskjuggler exporter now uses TJ3 by default. John Hendy
  2986. wrote [[https://orgmode.org/worg/org-tutorials/org-taskjuggler3.html][a tutorial on Worg]] for the TJ3 export.
  2987. ** New packages in core
  2988. *** ~ob-makefile.el~ by Eric Schulte and Thomas S. Dye
  2989. =ob-makefile.el= implements Org Babel support for Makefile tangling.
  2990. *** ~ox-man.el~ by Luis Anaya
  2991. =ox-man.el= allows you to export Org files to =man= pages.
  2992. *** ~ox-md.el~ by Nicolas Goaziou
  2993. =ox-md.el= allows you to export Org files to Markdown files, using the
  2994. vanilla [[https://daringfireball.net/projects/markdown/][Markdown syntax]].
  2995. *** ~ox-texinfo.el~ by Jonathan Leech-Pepin
  2996. =ox-texinfo.el= allows you to export Org files to [[https://www.gnu.org/software/texinfo/][Texinfo]] files.
  2997. ** New packages in contrib
  2998. *** ~ob-julia.el~ by G. Jay Kerns
  2999. [[https://julialang.org/][Julia]] is a new programming language.
  3000. =ob-julia.el= provides Org Babel support for evaluating Julia source
  3001. code.
  3002. *** ~ob-mathomatic.el~ by Luis Anaya
  3003. [[https://www.mathomatic.org/][mathomatic]] a portable, command-line, educational CAS and calculator
  3004. software, written entirely in the C programming language.
  3005. ~ob-mathomatic.el~ provides Org Babel support for evaluating mathomatic
  3006. entries.
  3007. *** ~ob-tcl.el~ by Luis Anaya
  3008. ~ob-tcl.el~ provides Org Babel support for evaluating [[https://www.tcl.tk/][Tcl]] source code.
  3009. *** ~org-bullets.el~ by Evgeni Sabof
  3010. Display bullets instead of stars for headlines.
  3011. Also see [[https://orgmode.org/worg/org-faq.html#sec-8-12][this updated FAQ]] on how to display another character than "*"
  3012. for starting headlines.
  3013. *** ~org-favtable.el~ by Marc-Oliver Ihm
  3014. ~org-favtable.el~ helps you to create and update a table of favorite
  3015. locations in org, keeping the most frequently visited lines right at
  3016. the top. This table is called "favtable". See the documentation on
  3017. [[https://orgmode.org/worg/org-contrib/org-favtable.html][Worg]].
  3018. *** ~ox-confluence.el~ by Sébastien Delafond
  3019. ~ox-confluence.el~ lets you convert Org files to [[https://confluence.atlassian.com/display/DOC/Confluence%2BWiki%2BMarkup][Confluence Wiki]] files.
  3020. *** ~ox-deck.el~ and ~ox-s5.el~ by Rick Frankel
  3021. [[http://imakewebthings.com/deck.js/][deck.js]] is a javascript library for displaying HTML ages as
  3022. presentations. ~ox-deck.el~ exports Org files to HTML presentations
  3023. using =deck.js=.
  3024. [[https://meyerweb.com/eric/tools/s5/][s5]] is a set of scripts which also allows to display HTML pages as
  3025. presentations. ~ox-s5.el~ exports Org files to HTML presentations
  3026. using =s5=.
  3027. *** ~ox-groff.el~ by Luis Anaya and Nicolas Goaziou
  3028. The [[https://www.gnu.org/software/groff/][groff]] (GNU troff) software is a typesetting package which reads
  3029. plain text mixed with formatting commands and produces formatted
  3030. output.
  3031. Luis Anaya and Nicolas Goaziou implemented ~ox-groff.el~ to allow
  3032. conversion from Org files to groff.
  3033. *** ~ox-koma-letter.el~ by Nicolas Goaziou and Alan Schmitt
  3034. This back-end allow to export Org pages to the =KOMA Scrlttr2= format.
  3035. *** ~ox-rss.el~ by Bastien
  3036. This back-end lets you export Org pages to RSS 2.0 feeds. Combined
  3037. with the HTML publishing feature, this allows you to build a blog
  3038. entirely with Org.
  3039. ** New features
  3040. *** Export
  3041. **** New export generic options
  3042. If you use Org exporter, we advise you to re-read [[https://orgmode.org/org.html#Exporting][the manual section about
  3043. it]]. It has been updated and includes new options.
  3044. Among the new/updated export options, three are of particular importance:
  3045. - [[doc:org-export-allow-bind-keywords][org-export-allow-bind-keywords]] :: This option replaces the old option
  3046. =org-export-allow-BIND= and the default value is =nil=, not =confirm=.
  3047. You will need to explicitly set this to =t= in your initialization
  3048. file if you want to allow =#+BIND= keywords.
  3049. - [[doc:org-export-with-planning][org-export-with-planning]] :: This new option controls the export of
  3050. =SCHEDULED:, DEADLINE:, CLOSED:= lines, and planning information is
  3051. now skipped by default during export. This use to be the job of
  3052. [[doc:org-export-with-timestamps][org-export-with-timestamps]], but this latter option has been given a
  3053. new role: it controls the export of /standalone time-stamps/. When
  3054. set to =nil=, Org will not export active and inactive time-stamps
  3055. standing on a line by themselves or within a paragraph that only
  3056. contains time-stamps.
  3057. To check if an option has been introduced or its default value changed in
  3058. Org 8.0, do =C-h v [option] RET= and check if the documentation says that
  3059. the variable has been introduced (or changed) in version 24.4 of Emacs.
  3060. **** Enhanced default stylesheet for the HTML exporter
  3061. See the new default value of [[doc:org-html-style-default][org-html-style-default]].
  3062. **** New tags, classes and ids for the HTML exporter
  3063. See the new default value of [[doc:org-html-divs][org-html-divs]].
  3064. **** Support for tikz pictures in LaTeX export
  3065. **** ~org-man.el~: New export function for "man" links
  3066. **** ~org-docview.el~: New export function for docview links
  3067. *** Structure editing
  3068. **** =C-u C-u M-RET= inserts a heading at the end of the parent subtree
  3069. **** Cycling to the =CONTENTS= view keeps inline tasks folded
  3070. [[doc:org-cycle-hook][org-cycle-hook]] as a new function [[doc:org-cycle-hide-inline-tasks][org-cycle-hide-inline-tasks]] which
  3071. prevents the display of inline tasks when showing the content of a subtree.
  3072. **** =C-c -= in a region makes a list item for each line
  3073. This is the opposite of the previous behavior, where =C-c -= on a region
  3074. would create one item for the whole region, and where =C-u C-c -= would
  3075. create an item for each line. Now =C-c -= on the selected region creates
  3076. an item per line, and =C-u C-c -= creates a single item for the whole
  3077. region.
  3078. **** When transposing words, markup characters are now part of the words
  3079. In Emacs, you can transpose words with =M-t=. Transposing =*these*
  3080. _words__= will preserve markup.
  3081. **** New command [[doc:org-set-property-and-value][org-set-property-and-value]] bound to =C-c C-x P=
  3082. This command allows you to quickly add both the property and its value. It
  3083. is useful in buffers where there are many properties and where =C-c C-x p=
  3084. can slow down the flow of editing too much.
  3085. **** New commands [[doc:org-next-block][org-next-block]] and [[doc:org-previous-block][org-previous-block]]
  3086. These commands allow you to go to the previous block (=C-c M-b= or the
  3087. speedy key =B=) or to the next block (=C-c M-f= or the speedy key =F=.)
  3088. **** New commands [[doc:org-drag-line-forward][org-drag-line-forward]] and [[doc:org-drag-line-backward][org-drag-line-backward]]
  3089. These commands emulate the old behavior of =M-<down>= and =M-<up>= but are
  3090. now bound to =S-M-<down>= and =S-M-<up>= respectively, since =M-<down>= and
  3091. =M-<up>= now drag the whole element at point (a paragraph, a table, etc.)
  3092. forward and backward.
  3093. **** When a list item has a checkbox, inserting a new item uses a checkbox too
  3094. **** When sorting entries/items, only the description of links is considered
  3095. Now Org will sort this list
  3096. : - [[https://abc.org][B]]
  3097. : - [[https://def.org][A]]
  3098. like this:
  3099. : - [[https://def.org][A]]
  3100. : - [[https://abc.org][B]]
  3101. by comparing the descriptions, not the links.
  3102. Same when sorting headlines instead of list items.
  3103. **** New option =orgstruct-heading-prefix-regexp=
  3104. For example, setting this option to "^;;; " in Emacs lisp files and using
  3105. =orgstruct-mode= in those files will allow you to cycle through visibility
  3106. states as if lines starting with ";;; *..." where headlines.
  3107. In general, you want to set =orgstruct-heading-prefix-regexp= as a file
  3108. local variable.
  3109. **** New behavior of [[doc:org-clone-subtree-with-time-shift][org-clone-subtree-with-time-shift]]
  3110. The default is now to ask for a time-shift only when there is a time-stamp.
  3111. When called with a universal prefix argument =C-u=, it will not ask for a
  3112. time-shift even if there is a time-stamp.
  3113. **** New option [[doc:org-agenda-restriction-lock-highlight-subtree][org-agenda-restriction-lock-highlight-subtree]]
  3114. This defaults to =t= so that the whole subtree is highlighted when you
  3115. restrict the agenda view to it with =C-c C-x <= (or the speed command =<=).
  3116. The default setting helps ensuring that you are not adding tasks after the
  3117. restricted region. If you find this highlighting too intrusive, set this
  3118. option to =nil=.
  3119. **** New option [[doc:org-closed-keep-when-no-todo][org-closed-keep-when-no-todo]]
  3120. When switching back from a =DONE= keyword to a =TODO= keyword, Org now
  3121. removes the =CLOSED= planning information, if any. It also removes this
  3122. information when going back to a non-TODO state (e.g., with =C-c C-t SPC=).
  3123. If you want to keep the =CLOSED= planning information when removing the
  3124. TODO keyword, set [[doc:org-closed-keep-when-no-todo][org-closed-keep-when-no-todo]] to =t=.
  3125. **** New option [[doc:org-image-actual-width][org-image-actual-width]]
  3126. This option allows you to change the width of in-buffer displayed images.
  3127. The default is to use the actual width of the image, but you can use a
  3128. fixed value for all images, or fall back on an attribute like
  3129. : #+attr_html: :width 300px
  3130. *** Scheduled/deadline
  3131. **** Implement "delay" cookies for scheduled items
  3132. If you want to delay the display of a scheduled task in the agenda, you can
  3133. now use a delay cookie like this: =SCHEDULED: <2004-12-25 Sat -2d>=. The
  3134. task is still scheduled on the 25th but will appear in your agenda starting
  3135. from two days later (i.e. from March 27th.)
  3136. Imagine for example that your co-workers are not done in due time and tell
  3137. you "we need two more days". In that case, you may want to delay the
  3138. display of the task in your agenda by two days, but you still want the task
  3139. to appear as scheduled on March 25th.
  3140. In case the task contains a repeater, the delay is considered to affect all
  3141. occurrences; if you want the delay to only affect the first scheduled
  3142. occurrence of the task, use =--2d= instead. See [[doc:org-scheduled-delay-days][org-scheduled-delay-days]]
  3143. and [[doc:org-agenda-skip-scheduled-delay-if-deadline][org-agenda-skip-scheduled-delay-if-deadline]] for details on how to
  3144. control this globally or per agenda.
  3145. **** Use =C-u C-u C-c C-s= will insert a delay cookie for scheduled tasks
  3146. See the previous section for why delay cookies may be useful.
  3147. **** Use =C-u C-u C-c C-d= will insert a warning delay for deadline tasks
  3148. =C-u C-u C-c C-d= now inserts a warning delay to deadlines.
  3149. *** Calendar, diary and appts
  3150. **** New variable [[doc:org-read-date-minibuffer-local-map][org-read-date-minibuffer-local-map]]
  3151. By default, this new local map uses "." to go to today's date, like in the
  3152. normal =M-x calendar RET=. If you want to deactivate this and to reassign
  3153. the "@" key to =calendar-goto-today=, use this:
  3154. #+BEGIN_SRC emacs-lisp
  3155. ;; Unbind "." in Org's calendar:
  3156. (define-key org-read-date-minibuffer-local-map (kbd ".") nil)
  3157. ;; Bind "@" to `calendar-goto-today':
  3158. (define-key org-read-date-minibuffer-local-map
  3159. (kbd "@")
  3160. (lambda () (interactive) (org-eval-in-calendar '(calendar-goto-today))))
  3161. #+END_SRC
  3162. **** In Org's calendar, =!= displays diary entries of the date at point
  3163. This is useful when you want to check if you don't already have an
  3164. appointment when setting new ones with =C-c .= or =C-c s=. =!= will
  3165. call =diary-view-entries= and display the diary in a separate buffer.
  3166. **** [[doc:org-diary][org-diary]]: only keep the descriptions of links
  3167. [[doc:org-diary][org-diary]] returns diary information from Org files, but it returns it
  3168. in a diary buffer, not in an Org mode buffer. When links are displayed,
  3169. only show their description, not the full links.
  3170. *** Agenda
  3171. **** New agenda type =agenda*= and entry types =:scheduled* :deadline*=
  3172. When defining agenda custom commands, you can now use =agenda*=: this will
  3173. list entries that have both a date and a time. This is useful when you
  3174. want to build a list of appointments.
  3175. You can also set [[doc:org-agenda-entry-types][org-agenda-entry-types]] either globally or locally in
  3176. each agenda custom command and use =:timestamp*= and/or =:deadline*= there.
  3177. Another place where this is useful is your =.diary= file:
  3178. : %%(org-diary :scheduled*) ~/org/rdv.org
  3179. This will list only entries from =~/org/rdv.org= that are scheduled with a
  3180. time value (i.e. appointments).
  3181. **** New agenda sorting strategies
  3182. [[doc:org-agenda-sorting-strategy][org-agenda-sorting-strategy]] allows these new sorting strategies:
  3183. | Strategy | Explanations |
  3184. |----------------+------------------------------------------|
  3185. | timestamp-up | Sort by any timestamp, early first |
  3186. | timestamp-down | Sort by any timestamp, late first |
  3187. | scheduled-up | Sort by scheduled timestamp, early first |
  3188. | scheduled-down | Sort by scheduled timestamp, late first |
  3189. | deadline-up | Sort by deadline timestamp, early first |
  3190. | deadline-down | Sort by deadline timestamp, late first |
  3191. | ts-up | Sort by active timestamp, early first |
  3192. | ts-down | Sort by active timestamp, late first |
  3193. | tsia-up | Sort by inactive timestamp, early first |
  3194. | tsia-down | Sort by inactive timestamp, late first |
  3195. **** New options to limit the number of agenda entries
  3196. You can now limit the number of entries in an agenda view. This is
  3197. different from filters: filters only /hide/ the entries in the agenda,
  3198. while limits are set while generating the list of agenda entries.
  3199. These new options are available:
  3200. - [[doc:org-agenda-max-entries][org-agenda-max-entries]] :: limit by number of entries.
  3201. - [[doc:org-agenda-max-todos][org-agenda-max-todos]] :: limit by number of TODOs.
  3202. - [[doc:org-agenda-max-tags][org-agenda-max-tags]] :: limit by number of tagged entries.
  3203. - [[doc:org-agenda-max-effort][org-agenda-max-effort]] :: limit by effort (minutes).
  3204. For example, if you locally set [[doc:org-agenda-max-todos][org-agenda-max-todos]] to 3 in an agenda
  3205. view, the agenda will be limited to the first three todos. Other entries
  3206. without a TODO keyword or beyond the third TODO headline will be ignored.
  3207. When setting a limit (e.g. about an effort's sum), the default behavior is
  3208. to exclude entries that cannot be checked against (e.g. entries that have
  3209. no effort property.) To include other entries too, you can set the limit
  3210. to a negative number. For example =(setq org-agenda-max-tags -3)= will not
  3211. show the fourth tagged headline (and beyond), but it will also show
  3212. non-tagged headlines.
  3213. **** =~= in agenda view sets temporary limits
  3214. You can hit =~= in the agenda to temporarily set limits: this will
  3215. regenerate the agenda as if the limits were set. This is useful for
  3216. example when you want to only see a list of =N= tasks, or a list of tasks
  3217. that take only =N= minutes.
  3218. **** "=" in agenda view filters by regular expressions
  3219. You can now filter agenda entries by regular expressions using ~=~. =C-u
  3220. == will filter entries out. Regexp filters are cumulative. You can set
  3221. [[doc:org-agenda-regexp-filter-preset][org-agenda-regexp-filter-preset]] to suit your needs in each agenda view.
  3222. **** =|= in agenda view resets all filters
  3223. Since it's common to combine tag filters, category filters, and now regexp
  3224. filters, there is a new command =|= to reset all filters at once.
  3225. **** Allow writing an agenda to an =.org= file
  3226. You can now write an agenda view to an =.org= file. It copies the
  3227. headlines and their content (but not subheadings) into the new file.
  3228. This is useful when you want to quickly share an agenda containing the full
  3229. list of notes.
  3230. **** New commands to drag an agenda line forward (=M-<down>=) or backward (=M-<up>=)
  3231. It sometimes handy to move agenda lines around, just to quickly reorganize
  3232. your tasks, or maybe before saving the agenda to a file. Now you can use
  3233. =M-<down>= and =M-<up>= to move the line forward or backward.
  3234. This does not persist after a refresh of the agenda, and this does not
  3235. change the =.org= files who contribute to the agenda.
  3236. **** Use =%b= for displaying "breadcrumbs" in the agenda view
  3237. [[doc:org-agenda-prefix-format][org-agenda-prefix-format]] now allows to use a =%b= formatter to tell Org
  3238. to display "breadcrumbs" in the agenda view.
  3239. This is useful when you want to display the task hierarchy in your agenda.
  3240. **** Use =%l= for displaying the headline's level in the agenda view
  3241. [[doc:org-agenda-prefix-format][org-agenda-prefix-format]] allows to use a =%l= formatter to tell Org to
  3242. display entries with additional spaces corresponding to their level in the
  3243. outline tree.
  3244. **** [[doc:org-agenda-write][org-agenda-write]] will ask before overwriting an existing file
  3245. =M-x org-agenda-write RET= (or =C-c C-w= from an agenda buffer) used to
  3246. overwrite preexisting file with the same name without confirmation. It now
  3247. asks for a confirmation.
  3248. **** New commands =M-m= and =M-*= to toggle (all) mark(s) for bulk action
  3249. - [[doc:org-agenda-bulk-toggle][org-agenda-bulk-toggle]] :: this command is bound to =M-m= and toggles
  3250. the mark of the entry at point.
  3251. - [[doc:org-agenda-bulk-toggle-all][org-agenda-bulk-toggle-all]] :: this command is bound to =M-*= and
  3252. toggles all the marks in the current agenda.
  3253. **** New option [[doc:org-agenda-search-view-max-outline-level][org-agenda-search-view-max-outline-level]]
  3254. This option sets the maximum outline level to display in search view.
  3255. E.g. when this is set to 1, the search view will only show headlines of
  3256. level 1.
  3257. **** New option [[doc:org-agenda-todo-ignore-time-comparison-use-seconds][org-agenda-todo-ignore-time-comparison-use-seconds]]
  3258. This allows to compare times using seconds instead of days when honoring
  3259. options like =org-agenda-todo-ignore-*= in the agenda display.
  3260. **** New option [[doc:org-agenda-entry-text-leaders][org-agenda-entry-text-leaders]]
  3261. This allows you to get rid of the ">" character that gets added in front of
  3262. entries excerpts when hitting =E= in the agenda view.
  3263. **** New formatting string for past deadlines in [[doc:org-agenda-deadline-leaders][org-agenda-deadline-leaders]]
  3264. The default formatting for past deadlines is ="%2d d. ago: "=, which makes
  3265. it explicit that the deadline is in the past. You can configure this via
  3266. [[doc:org-agenda-deadline-leaders][org-agenda-deadline-leaders]]. Note that the width of the formatting
  3267. string is important to keep the agenda alignment clean.
  3268. **** New allowed value =repeated-after-deadline= for [[doc:org-agenda-skip-scheduled-if-deadline-is-shown][org-agenda-skip-scheduled-if-deadline-is-shown]]
  3269. When [[doc:org-agenda-skip-scheduled-if-deadline-is-shown][org-agenda-skip-scheduled-if-deadline-is-shown]] is set to
  3270. =repeated-after-deadline=, the agenda will skip scheduled items if they are
  3271. repeated beyond the current deadline.
  3272. **** New option for [[doc:org-agenda-skip-deadline-prewarning-if-scheduled][org-agenda-skip-deadline-prewarning-if-scheduled]]
  3273. This variable may be set to nil, t, the symbol `pre-scheduled', or a number
  3274. which will then give the number of days before the actual deadline when the
  3275. prewarnings should resume. The symbol `pre-scheduled' eliminates the
  3276. deadline prewarning only prior to the scheduled date.
  3277. Read the full docstring for details.
  3278. **** [[doc:org-class][org-class]] now supports holiday strings in the skip-weeks parameter
  3279. For example, this task will now be skipped only on new year's day:
  3280. : * Task
  3281. : <%%(org-class 2012 1 1 2013 12 12 2 "New Year's Day")>
  3282. *** Capture
  3283. **** Allow =C-1= as a prefix for [[doc:org-agenda-capture][org-agenda-capture]] and [[doc:org-capture][org-capture]]
  3284. With a =C-1= prefix, the capture mechanism will use the =HH:MM= value at
  3285. point (if any) or the current =HH:MM= time as the default time for the
  3286. capture template.
  3287. **** Expand keywords within %(sexp) placeholder in capture templates
  3288. If you use a =%:keyword= construct within a =%(sexp)= construct, Org will
  3289. expand the keywords before expanding the =%(sexp)=.
  3290. **** Allow to contextualize capture (and agenda) commands by checking the name of the buffer
  3291. [[doc:org-capture-templates-contexts][org-capture-templates-contexts]] and [[doc:org-agenda-custom-commands-contexts][org-agenda-custom-commands-contexts]]
  3292. allow you to define what capture templates and what agenda commands should
  3293. be available in various contexts. It is now possible for the context to
  3294. check against the name of the buffer.
  3295. *** Tag groups
  3296. Using =#+TAGS: { Tag1 : Tag2 Tag3 }= will define =Tag1= as a /group tag/
  3297. (note the colon after =Tag1=). If you search for =Tag1=, it will return
  3298. headlines containing either =Tag1=, =Tag2= or =Tag3= (or any combination
  3299. of those tags.)
  3300. You can use group tags for sparse tree in an Org buffer, for creating
  3301. agenda views, and for filtering.
  3302. See https://orgmode.org/org.html#Tag-groups for details.
  3303. *** Links
  3304. **** =C-u C-u M-x org-store-link RET= will ignore non-core link functions
  3305. Org knows how to store links from Org buffers, from info files and from
  3306. other Emacs buffers. Org can be taught how to store links from any buffer
  3307. through new link protocols (see [[https://orgmode.org/org.html#Adding-hyperlink-types]["Adding hyperlink types"]] in the manual.)
  3308. Sometimes you want Org to ignore added link protocols and store the link
  3309. as if the protocol was not known.
  3310. You can now do this with =C-u C-u M-x org-store-link RET=.
  3311. **** =C-u C-u C-u M-x org-store-link RET= on an active region will store links for each lines
  3312. Imagine for example that you want to store a link for every message in a
  3313. Gnus summary buffer. In that case =C-x h C-u C-u C-u M-x org-store-link
  3314. RET= will store a link for every line (i.e. message) if the region is
  3315. active.
  3316. **** =C-c C-M-l= will add a default description for links which don't have one
  3317. =C-c C-M-l= inserts all stored links. If a link does not have a
  3318. description, this command now adds a default one, so that we are not mixing
  3319. with-description and without-description links when inserting them.
  3320. **** No curly braces to bracket links within internal links
  3321. When storing a link to a headline like
  3322. : * See [[https://orgmode.org][Org website]]
  3323. [[doc:org-store-link][org-store-link]] used to convert the square brackets into curly brackets.
  3324. It does not anymore, taking the link description or the link path, when
  3325. there is no description.
  3326. *** Table
  3327. **** Switching between #+TBLFM lines
  3328. If you have several =#+TBLFM= lines below a table, =C-c C-c= on a line will
  3329. apply the formulas from this line, and =C-c C-c= on another line will apply
  3330. those other formulas.
  3331. **** You now use "nan" for empty fields in Calc formulas
  3332. If empty fields are of interest, it is recommended to reread the section
  3333. [[https://orgmode.org/org.html#Formula-syntax-for-Calc][3.5.2 Formula syntax for Calc]] of the manual because the description for the
  3334. mode strings has been clarified and new examples have been added towards
  3335. the end.
  3336. **** Handle localized time-stamps in formulas evaluation
  3337. If your =LOCALE= is set so that Org time-stamps use another language than
  3338. english, and if you make time computations in Org's table, it now works by
  3339. internally converting the time-stamps with a temporary =LOCALE=C= before
  3340. doing computation.
  3341. **** New lookup functions
  3342. There are now three lookup functions:
  3343. - [[doc:org-loopup-first][org-loopup-first]]
  3344. - [[doc:org-loopup-last][org-loopup-last]]
  3345. - [[doc:org-loopup-all][org-loopup-all]]
  3346. See [[https://orgmode.org/org.html#Lookup-functions][the manual]] for details.
  3347. *** Startup keywords
  3348. These new startup keywords are now available:
  3349. | Startup keyword | Option |
  3350. |----------------------------------+---------------------------------------------|
  3351. | =#+STARTUP: logdrawer= | =(setq org-log-into-drawer t)= |
  3352. | =#+STARTUP: nologdrawer= | =(setq org-log-into-drawer nil)= |
  3353. |----------------------------------+---------------------------------------------|
  3354. | =#+STARTUP: logstatesreversed= | =(setq org-log-states-order-reversed t)= |
  3355. | =#+STARTUP: nologstatesreversed= | =(setq org-log-states-order-reversed nil)= |
  3356. |----------------------------------+---------------------------------------------|
  3357. | =#+STARTUP: latexpreview= | =(setq org-startup-with-latex-preview t)= |
  3358. | =#+STARTUP: nolatexpreview= | =(setq org-startup-with-latex-preview nil)= |
  3359. *** Clocking
  3360. **** New option [[doc:org-clock-rounding-minutes][org-clock-rounding-minutes]]
  3361. E.g. if [[doc:org-clock-rounding-minutes][org-clock-rounding-minutes]] is set to 5, time is 14:47 and you
  3362. clock in: then the clock starts at 14:45. If you clock out within the next
  3363. 5 minutes, the clock line will be removed; if you clock out 8 minutes after
  3364. your clocked in, the clock out time will be 14:50.
  3365. **** New option [[doc:org-time-clocksum-use-effort-durations][org-time-clocksum-use-effort-durations]]
  3366. When non-nil, =C-c C-x C-d= uses effort durations. E.g., by default, one
  3367. day is considered to be a 8 hours effort, so a task that has been clocked
  3368. for 16 hours will be displayed as during 2 days in the clock display or in
  3369. the clocktable.
  3370. See [[doc:org-effort-durations][org-effort-durations]] on how to set effort durations and
  3371. [[doc:org-time-clocksum-format][org-time-clocksum-format]] for more on time clock formats.
  3372. **** New option [[doc:org-clock-x11idle-program-name][org-clock-x11idle-program-name]]
  3373. This allows to set the name of the program which prints X11 idle time in
  3374. milliseconds. The default is to use =x11idle=.
  3375. **** New option [[doc:org-use-last-clock-out-time-as-effective-time][org-use-last-clock-out-time-as-effective-time]]
  3376. When non-nil, use the last clock out time for [[doc:org-todo][org-todo]]. Note that this
  3377. option has precedence over the combined use of [[doc:org-use-effective-time][org-use-effective-time]] and
  3378. [[doc:org-extend-today-until][org-extend-today-until]].
  3379. **** =S-<left/right>= on a clocksum column will update the sum by updating the last clock
  3380. **** =C-u 3 C-S-<up/down>= will update clock timestamps synchronously by 3 units
  3381. **** New parameter =:wstart= for clocktables to define the week start day
  3382. **** New parameter =:mstart= to state the starting day of the month
  3383. **** Allow relative times in clocktable tstart and tend options
  3384. **** The clocktable summary is now a caption
  3385. **** =:tstart= and =:tend= and friends allow relative times like "<-1w>" or "<now>"
  3386. *** Babel
  3387. **** You can now use =C-c C-k= for [[doc:org-edit-src-abort][org-edit-src-abort]]
  3388. This allows you to quickly cancel editing a source block.
  3389. **** =C-u C-u M-x org-babel-tangle RET= tangles by the target file of the block at point
  3390. This is handy if you want to tangle all source code blocks that have the
  3391. same target than the block at point.
  3392. **** New options for auto-saving the base buffer or the source block editing buffer
  3393. When [[doc:org-edit-src-turn-on-auto-save][org-edit-src-turn-on-auto-save]] is set to =t=, editing a source block
  3394. in a new window will turn on =auto-save-mode= and save the code in a new
  3395. file under the same directory than the base Org file.
  3396. When [[doc:org-edit-src-auto-save-idle-delay][org-edit-src-auto-save-idle-delay]] is set to a number of minutes =N=,
  3397. the base Org buffer will be saved after this number of minutes of idle
  3398. time.
  3399. **** New =:post= header argument post-processes results
  3400. This header argument may be used to pass the results of the current
  3401. code block through another code block for post-processing. See the
  3402. manual for a usage example.
  3403. **** Commented out heading are ignored when collecting blocks for tangling
  3404. If you comment out a heading (with =C-c ;= anywhere on the heading or in
  3405. the subtree), code blocks from within this heading are now ignored when
  3406. collecting blocks for tangling.
  3407. **** New option [[doc:org-babel-hash-show-time][org-babel-hash-show-time]] to show a time-stamp in the result hash
  3408. **** Do not ask for confirmation if cached value is current
  3409. Do not run [[doc:org-babel-confirm-evaluate][org-babel-confirm-evaluate]] if source block has a cache and the
  3410. cache value is current as there is no evaluation involved in this case.
  3411. **** =ob-sql.el= and =ob-python.el= have been improved.
  3412. **** New Babel files only need to =(require 'ob)=
  3413. When writing a new Babel file, you now only need to use =(require 'ob)=
  3414. instead of requiring each Babel library one by one.
  3415. *** Faces
  3416. - Org now fontifies radio link targets by default
  3417. - In the agenda, use [[doc:org-todo-keyword-faces][org-todo-keyword-faces]] to highlight selected TODO keywords
  3418. - New face [[doc:org-priority][org-priority]], enhanced fontification of priority cookies in agenda
  3419. - New face [[doc:org-tag-group][org-tag-group]] for group tags
  3420. ** Miscellaneous
  3421. - New speedy key =s= pour [[doc:org-narrow-to-subtree][org-narrow-to-subtree]]
  3422. - Handling of [[doc:org-html-table-row][org-html-table-row]] has been updated (incompatible change)
  3423. - [[doc:org-export-html-table-tag][org-export-html-table-tag]] is replaced by [[doc:org-html-table-default-attributes][org-html-table-default-attributes]]
  3424. - Support using =git-annex= with Org attachments
  3425. - org-protocol: Pass optional value using query in url to capture from protocol
  3426. - When the refile history is empty, use the current filename as default
  3427. - When you cannot change the TODO state of a task, Org displays the blocking task
  3428. - New option [[doc:org-mobile-allpriorities][org-mobile-allpriorities]]
  3429. - org-bibtex.el now use =visual-line-mode= instead of the deprecated =longlines-mode=
  3430. - [[doc:org-format-latex-options][org-format-latex-options]] allows to set the foreground/background colors automatically
  3431. - New option [[doc:org-archive-file-header-format][org-archive-file-header-format]]
  3432. - New "neg" entity in [[doc:org-entities][org-entities]]
  3433. - New function [[doc:org-docview-export][org-docview-export]] to export docview links
  3434. - New =:eps= header argument for ditaa code blocks
  3435. - New option [[doc:org-gnus-no-server][org-gnus-no-server]] to start Gnus with =gnus-no-server=
  3436. - Org is now distributed with =htmlize.el= version 1.43
  3437. - ~org-drill.el~ has been updated to version 2.3.7
  3438. - ~org-mac-iCal.el~ now supports OS X versions up to 10.8
  3439. - Various improvements to ~org-contacts.el~ and =orgpan.el=
  3440. ** Outside Org
  3441. *** Spanish translation of the Org guide by David Arroyo Menéndez
  3442. David (and others) translated the Org compact guide in spanish:
  3443. You can read the [[https://orgmode.org/worg/orgguide/orgguide.es.pdf][PDF guide]].
  3444. *** ~poporg.el~ and ~outorg.el~
  3445. Two new libraries (~poporg.el~ by François Pinard and ~outorg.el~ by
  3446. Thorsten Jolitz) now enable editing of comment-sections from source-code
  3447. buffers in temporary Org-mode buffers, making the full editing power of
  3448. Org-mode available. ~outorg.el~ comes together with ~outshine.el~ and
  3449. ~navi-mode.el~, two more libraries by Thorsten Jolitz with the goal to give
  3450. source-code buffers the /look & feel/ of Org-mode buffers while greatly
  3451. improving navigation and structure editing. A detailed description can be
  3452. found here: https://orgmode.org/worg/org-tutorials/org-outside-org.html
  3453. Here are two screencasts demonstrating Thorsten's tools:
  3454. - [[https://youtu.be/nqE6YxlY0rw]["Modern conventions for Emacs Lisp files"]]
  3455. - [[https://www.youtube.com/watch?v%3DII-xYw5VGFM][Exploring Bernt Hansen's Org-mode tutorial with 'navi-mode']]
  3456. *** MobileOrg for iOS
  3457. MobileOrg for iOS back in the App Store The 1.6.0 release was focused on
  3458. the new Dropbox API and minor bug fixes but also includes a new ability to
  3459. launch in Capture mode. Track development and contribute [[https://github.com/MobileOrg/mobileorg/issues][on github]].
  3460. * Version 7.9.3
  3461. ** New option [[doc::org-agenda-use-tag-inheritance][org-agenda-use-tag-inheritance]]
  3462. [[doc::org-use-tag-inheritance][org-use-tag-inheritance]] controls whether tags are inherited when
  3463. org-tags-view is called (either in =tags=, =tags-tree= or =tags-todo=
  3464. agenda views.)
  3465. When generating other agenda types such as =agenda=, =todo= and
  3466. =todo-tree=, tags inheritance is not used when selecting the entries
  3467. to display. Still, you might want to have all tag information correct
  3468. in the agenda buffer, e.g. for tag filtering. In that case, add the
  3469. agenda type to this variable.
  3470. Setting this variable to nil should considerably speeds up the agenda
  3471. generation.
  3472. Note that the default was to display inherited tags in the agenda
  3473. lines even if `org-use-tag-inheritance' was nil. The default is now
  3474. to *never* display inherited tags in agenda lines, but to /know/ about
  3475. them when the agenda type is listed in [[doc::org-agenda-use-tag-inheritance][org-agenda-use-tag-inheritance]].
  3476. ** New default value =nil= for [[doc::org-agenda-dim-blocked-tasks][org-agenda-dim-blocked-tasks]]
  3477. Using `nil' as the default value speeds up the agenda generation. You
  3478. can hit `#' (or `C-u #') in agenda buffers to temporarily dim (or turn
  3479. invisible) blocked tasks.
  3480. ** New speedy keys for [[doc::org-speed-commands-default][org-speed-commands-default]]
  3481. You can now use `:' (instead of `;') for setting tags---this is
  3482. consistent with using the `:' key in agenda view.
  3483. You can now use `=' for [[doc::org-columns][org-columns]].
  3484. ** =org-float= is now obsolete, use =diary-float= instead
  3485. ** No GPL manual anymore
  3486. There used to be a GPL version of the Org manual, but this is not the
  3487. case anymore, the Free Software Foundation does not permit this.
  3488. The GNU FDL license is now included in the manual directly.
  3489. ** Enhanced compatibility with Emacs 22 and XEmacs
  3490. Thanks to Achim for his work on enhancing Org's compatibility with
  3491. various Emacsen. Things may not be perfect, but Org should work okay
  3492. in most environments.
  3493. * Version 7.9.2
  3494. ** New ELPA repository for Org packages
  3495. You can now add the Org ELPA repository like this:
  3496. #+BEGIN_SRC emacs-lisp
  3497. (add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/") t)
  3498. #+END_SRC
  3499. It contains both the =org-*.tar= package (the core Org distribution, also
  3500. available through https://elpa.gnu.org) and the =org-plus*.tar= package (the
  3501. extended Org distribution, with non-GNU packages from the =contrib/=
  3502. directory.)
  3503. See https://orgmode.org/elpa/
  3504. ** Overview of the new keybindings
  3505. | Keybinding | Speedy | Command |
  3506. |-----------------+--------+-----------------------------|
  3507. | =C-c C-x C-z= | | [[doc::org-clock-resolve][org-clock-resolve]] |
  3508. | =C-c C-x C-q= | | [[doc::org-clock-cancel][org-clock-cancel]] |
  3509. | =C-c C-x C-x= | | [[doc::org-clock-in-last][org-clock-in-last]] |
  3510. | =M-h= | | [[doc::org-mark-element][org-mark-element]] |
  3511. | =*= | | [[doc::org-agenda-bulk-mark-all][org-agenda-bulk-mark-all]] |
  3512. | =C-c C-M-l= | | [[doc::org-insert-all-links][org-insert-all-links]] |
  3513. | =C-c C-x C-M-v= | | [[doc::org-redisplay-inline-images][org-redisplay-inline-images]] |
  3514. | =C-c C-x E= | =E= | [[doc::org-inc-effort][org-inc-effort]] |
  3515. | | =#= | [[doc::org-toggle-comment][org-toggle-comment]] |
  3516. | | =:= | [[doc::org-columns][org-columns]] |
  3517. | | =W= | Set =APPT_WARNTIME= |
  3518. | =k= | | [[doc::org-agenda-capture][org-agenda-capture]] |
  3519. | C-c , | , | [[doc::org-priority][org-priority]] |
  3520. ** New package and Babel language
  3521. *** =org-eshell.el= by Konrad Hinsen is now in Org
  3522. =org-eshell.el= allows you to create links from [[https://www.gnu.org/software/emacs/manual/html_node/eshell/index.html][Eshell]].
  3523. *** Support for execution of Scala code blocks (see ob-scala.el)
  3524. *** Support for execution of IO code blocks (see ob-io.el)
  3525. ** Incompatible changes
  3526. - If your code relies on =org-write-agenda=, please use
  3527. [[doc::org-agenda-write][org-agenda-write]] from now on.
  3528. - If your code relies on =org-make-link=, please use =concat=
  3529. instead.
  3530. - =org-link-to-org-use-id= has been renamed to
  3531. =org-id-link-to-org-use-id= and its default value is nil. The
  3532. previous default was =create-if-interactive-and-no-custom-id=.
  3533. ** New features and user-visible changes
  3534. *** Org Element
  3535. =org-element.el= is a toolbox for parsing and analyzing "elements"
  3536. in an Org-mode buffer. This has been written by Nicolas Goaziou
  3537. and has been tested for quite some time. It is now part of Org's
  3538. core and many core functions rely on this package.
  3539. Two functions might be particularly handy for users:
  3540. =org-element-at-point= and =org-element-context=.
  3541. See the docstrings for more details.
  3542. Below is a list of editing and navigating commands that now rely
  3543. on =org-element.el=.
  3544. **** [[doc::org-fill-paragraph][org-fill-paragraph]] has been completely rewritten
  3545. The filling mechanisms now rely on org-element, trying to do the
  3546. right thing on each element in various contexts. E.g. filling in
  3547. a list item will preserve indentation; filling in message-mode
  3548. will fall back on the relevant filling functions; etc.
  3549. **** [[doc::org-metaup][org-metaup]] and [[doc::org-metadown][org-metadown]] will drag the element backward/forward
  3550. If you want to get the old behavior (i.e. moving a line up and
  3551. down), you can first select the line as an active region, then
  3552. =org-metaup= or =org-metadown= to move the region backward or
  3553. forward. This also works with regions bigger than just one line.
  3554. **** [[doc::org-up-element][org-up-element]] and [[doc::org-down-element][org-down-element]] (respectively =C-c C-^= and =C-c C-_=)
  3555. This will move the point up/down in the hierarchy of elements.
  3556. **** [[doc::org-backward-element][org-backward-element]] and [[doc::org-forward-element][org-forward-element]] (respectively =M-{= and =M-}=)
  3557. This will move the point backward/forward in the hierarchy of
  3558. elements.
  3559. **** [[doc::org-narrow-to-element][org-narrow-to-element]] will narrow to the element at point
  3560. **** [[doc::org-mark-element][org-mark-element]] will mark the element at point
  3561. This command is bound to =M-h= and will mark the element at
  3562. point. If the point is at a paragraph, it will mark the
  3563. paragraph. If the point is at a list item, it will mark the list
  3564. item. Etc.
  3565. Note that if point is at the beginning of a list, it will mark
  3566. the whole list.
  3567. To mark a subtree, you can either use =M-h= on the headline
  3568. (since there is no ambiguity about the element you're at) or
  3569. [[doc::org-mark-subtree][org-mark-subtree]] (=C-c @=) anywhere in the subtree.
  3570. Invoking [[doc::org-mark-element][org-mark-element]] repeatedly will try to mark the next
  3571. element on top of the previous one(s). E.g. hitting =M-h= twice
  3572. on a headline will mark the current subtree and the next one on
  3573. the same level.
  3574. *** Org Agenda
  3575. **** New option [[doc::org-agenda-sticky][org-agenda-sticky]]
  3576. There is a new option =org-agenda-sticky= which enables "sticky"
  3577. agendas. Sticky agendas remain opened in the background so that
  3578. you don't need to regenerate them each time you hit the
  3579. corresponding keystroke. This is a big time saver.
  3580. When [[doc::org-agenda-sticky][org-agenda-sticky]] is =non-nil=, the agenda buffer will be
  3581. named using the agenda key and its description. In sticky
  3582. agendas, the =q= key will just bury the agenda buffers and
  3583. further agenda commands will show existing buffer instead of
  3584. generating new ones.
  3585. If [[doc::org-agenda-sticky][org-agenda-sticky]] is set to =nil=, =q= will kill the single
  3586. agenda buffer.
  3587. **** New option [[doc::org-agenda-custom-commands-contexts][org-agenda-custom-commands-contexts]]
  3588. Setting this option allows you to define specific context where
  3589. agenda commands should be available from. For example, when set
  3590. to this value
  3591. #+BEGIN_SRC emacs-lisp
  3592. (setq org-agenda-custom-commands-contexts
  3593. '(("p" (in-file . "\\.txt"))))
  3594. #+END_SRC
  3595. then the =p= agenda command will only be available from buffers
  3596. visiting *.txt files. See the docstring and the manual for more
  3597. details on how to use this.
  3598. **** Changes in bulk actions
  3599. The set of commands starting with =k ...= as been deleted and the
  3600. features have been merged into the "bulk action" feature.
  3601. After you marked some entries in the agenda, if you call =B s=,
  3602. the agenda entries will be rescheduled using the date at point if
  3603. on a date header. If you are on an entry with a timestamp, you
  3604. will be prompted for a date to reschedule your marked entries to,
  3605. using the timestamp at point as the default prompt.
  3606. You can now use =k= to capture the marked entry and use the date
  3607. at point as an overriding date for the capture template.
  3608. To bind this behavior to =M-x org-capture RET= (or its
  3609. keybinding), set the new option [[doc::org-capture-use-agenda-date][org-capture-use-agenda-date]] to
  3610. =t=.
  3611. **** =N= and =P= in the agenda will move to the next/previous item
  3612. **** New command [[doc::org-agenda-bulk-mark-all][org-agenda-bulk-mark-all]] to mark all items
  3613. This new command is bound to =*= in agenda mode.
  3614. There is also a new option [[doc::org-agenda-bulk-mark-char][org-agenda-bulk-mark-char]] to set the
  3615. character to use as a mark for bulk actions.
  3616. **** New option [[doc::org-agenda-persistent-marks][org-agenda-persistent-marks]]
  3617. When set to =non-nil=, marks will remain visible after a bulk
  3618. action. You can temporarily toggle this by pressing =p= when
  3619. invoking [[doc::org-agenda-bulk-action][org-agenda-bulk-action]]. Marks are deleted if your
  3620. rebuild the agenda buffer or move to another date/span (e.g. with
  3621. =f= or =w=).
  3622. **** New option [[doc::org-agenda-skip-timestamp-if-deadline-is-shown][org-agenda-skip-timestamp-if-deadline-is-shown]]
  3623. =Non-nil= means skip timestamp line if same entry shows because
  3624. of deadline.
  3625. In the agenda of today, an entry can show up multiple times
  3626. because it has both a plain timestamp and has a nearby deadline.
  3627. When this variable is t, then only the deadline is shown and the
  3628. fact that the entry has a timestamp for or including today is not
  3629. shown. When this variable is =nil=, the entry will be shown
  3630. several times.
  3631. **** New =todo-unblocked= and =nottodo-unblocked= skip conditions
  3632. See the [[https://orgmode.org/cgit.cgi/org-mode.git/commit/?id=f426da][git commit]] for more explanations.
  3633. **** Allow category filtering in the agenda
  3634. You can now filter the agenda by category. Pressing "<" will
  3635. filter by the category of the item on the current line, and
  3636. pressing "<" again will remove the filter. You can combine tag
  3637. filters and category filters.
  3638. You can use =org-agenda-category-filter= in your custom agenda
  3639. views and =org-agenda-category-filter-preset= in your main
  3640. configuration.
  3641. See also the new command [[doc::org-agenda-filter-by-top-category][org-agenda-filter-by-top-category]]:
  3642. hitting =^= will filter by "Top" category: only show entries that
  3643. are of the same category than the Top category of the entry at
  3644. point.
  3645. *** Org Links
  3646. **** Inserting links
  3647. When inserting links through [[doc::org-insert-link][org-insert-link]], the description is
  3648. now displayed first, followed by the literal link, as the
  3649. description is often more useful when you look for the link you
  3650. want to insert.
  3651. Completion now complete both literal links and description. If
  3652. you complete a description, the literal link and its description
  3653. will be inserted directly, whereas when you complete the literal
  3654. link, you will be prompted for a description (as with Org 7.8.)
  3655. In the completion buffer, links to the current buffer are now
  3656. highlighted.
  3657. **** New templates =%h= and =%(sexp)= for abbreviated links
  3658. On top of =%s= template, which is replaced by the link tag in
  3659. abbreviated links, you can now use =%h= (which does the same than =%s=
  3660. but does not hexify the tag) and =%(sexp)= (which can run a function
  3661. that takes the tag as its own argument.)
  3662. **** New link type =help=
  3663. You can now create links from =help= buffers.
  3664. For example, if you request help for the command [[doc::org-agenda][org-agenda]] with
  3665. =C-h f org-agenda RET=, creating a link from this buffer will let
  3666. you go back to the same buffer.
  3667. **** New command [[doc::org-insert-all-links][org-insert-all-links]]
  3668. This will insert all links as list items. With a universal
  3669. prefix argument, links will not be deleted from the variable
  3670. =org-stored-links=.
  3671. This new command is bound to =C-c C-M-l=.
  3672. **** New option [[doc::org-url-hexify-p][org-url-hexify-p]]
  3673. When set to =nil=, the =URL= part of a link will not be hexified.
  3674. **** Org can now open multiple shell links
  3675. **** New option [[doc::org-doi-server-url][org-doi-server-url]] to specify an alternate DOI server
  3676. **** RET now follows time stamps links
  3677. *** Org Editing
  3678. **** [[doc::org-todo][org-todo]] and =org-archive-*= can now loop in the active region
  3679. When [[doc::org-loop-over-headlines-in-active-region][org-loop-over-headlines-in-active-region]] is =non-nil=, using
  3680. [[doc::org-todo][org-todo]] or =org-archive-*= commands in the active region will
  3681. loop over headlines. This is handy if you want to set the TODO
  3682. keyword for several items, or archive them quickly.
  3683. **** You can now set tags for headlines in a region
  3684. If [[doc::org-loop-over-headlines-in-active-region][org-loop-over-headlines-in-active-region]] is =non-nil=, then
  3685. selecting the region and hitting =C-c C-q= will set the tags for
  3686. all headlines in the region.
  3687. **** New command [[doc::org-insert-drawer][org-insert-drawer]] to insert a drawer interactively
  3688. **** Comments start with "^[ \t]*# " anywhere on a line
  3689. Note that the space after the hashtag is mandatory. Comments
  3690. with "^#+" are not supported anymore.
  3691. **** New speed key =#= to toggle the COMMENT cookie on a headline
  3692. **** =indent-region-function= is now set to [[doc::org-indent-region][org-indent-region]]
  3693. =C-M-\= should now produce useful results.
  3694. You can unindent the buffer with [[doc::org-unindent-buffer][org-unindent-buffer]].
  3695. **** New option [[doc::org-allow-promoting-top-level-subtree][org-allow-promoting-top-level-subtree]]
  3696. When =non-nil=, =S-M-<left>= will promote level-1 subtrees
  3697. containing other subtrees. The level-1 headline will be
  3698. commented out. You can revert to the previous state with =M-x
  3699. undo RET=.
  3700. *** Org Clock
  3701. **** New keybinding =C-c C-x C-z= for [[doc::org-clock-resolve][org-clock-resolve]]
  3702. **** New keybinding =C-c C-x C-q= for [[doc::org-clock-cancel][org-clock-cancel]]
  3703. **** New command [[doc::org-clock-in-last][org-clock-in-last]] to clock in the last clocked item
  3704. This command is bound to =C-c C-x C-x= and will clock in the last
  3705. clocked entry, if any.
  3706. **** =C-u M-x= [[doc::org-clock-out][org-clock-out]] =RET= now prompts for a state to switch to
  3707. **** =S-M-<up/down>= on a clock timestamps adjusts the previous/next clock
  3708. **** New option [[doc::org-clock-continuously][org-clock-continuously]]
  3709. When set to =nil=, clocking in a task will first try to find the
  3710. last clocked out task and restart from when that task was clocked
  3711. out.
  3712. You can temporarily activate continuous clocking with =C-u C-u
  3713. C-u M-x= [[doc::org-clock-in][org-clock-in]] =RET= (three universal prefix arguments)
  3714. and =C-u C-u M-x= [[doc::org-clock-in-last][org-clock-in-last]] =RET= (two universal prefix
  3715. arguments).
  3716. **** New option [[doc::org-clock-frame-title-format][org-clock-frame-title-format]]
  3717. This option sets the value of =frame-title-format= when clocking
  3718. in.
  3719. **** New options for controlling the clockreport display
  3720. [[doc::org-clock-file-time-cell-format][org-clock-file-time-cell-format]]: Format string for the file time
  3721. cells in clockreport.
  3722. [[doc::org-clock-total-time-cell-format][org-clock-total-time-cell-format]]: Format string for the total
  3723. time cells in clockreport.
  3724. **** New options for controlling the clock/timer display
  3725. [[doc::org-clock-clocked-in-display][org-clock-clocked-in-display]]: control whether the current clock
  3726. is displayed in the mode line and/or frame title.
  3727. [[doc::org-timer-display][org-timer-display]]: control whether the current timer is displayed
  3728. in the mode line and/or frame title.
  3729. This allows the clock and timer to be displayed in the frame
  3730. title instead of, or as well as, the mode line. This is useful
  3731. for people with limited space in the mode line but with ample
  3732. space in the frame title.
  3733. *** Org Appearance
  3734. **** New option [[doc::org-custom-properties][org-custom-properties]]
  3735. The visibility of properties listed in this options can be turn
  3736. on/off with [[doc::org-toggle-custom-properties-visibility][org-toggle-custom-properties-visibility]]. This might
  3737. be useful for properties used by third-part tools or that you
  3738. don't want to see temporarily.
  3739. **** New command [[doc::org-redisplay-inline-images][org-redisplay-inline-images]]
  3740. This will redisplay all images. It is bound to =C-c C-x C-M-v=.
  3741. **** New entities in =org-entities.el=
  3742. There are these new entities:
  3743. : ("tilde" "\\~{}" nil "&tilde;" "~" "~" "~")
  3744. : ("slash" "/" nil "/" "/" "/" "/")
  3745. : ("plus" "+" nil "+" "+" "+" "+")
  3746. : ("under" "\\_" nil "_" "_" "_" "_")
  3747. : ("equal" "=" nil "=" "=" "=" "=")
  3748. : ("asciicirc" "\\textasciicircum{}" nil "^" "^" "^" "^")
  3749. **** New face =org-list-dt= for definition terms
  3750. **** New face =org-date-selected= for the selected calendar day
  3751. **** New face value for =org-document-title=
  3752. The face is back to a normal height.
  3753. *** Org Columns
  3754. **** New speed command =:= to activate the column view
  3755. **** New special property =CLOCKSUM_T= to display today's clocked time
  3756. You can use =CLOCKSUM_T= the same way you use =CLOCKSUM=. It
  3757. will display the time spent on tasks for today only.
  3758. **** Use the =:COLUMNS:= property in columnview dynamic blocks
  3759. If the =:COLUMNS:= is set in a subtree, the columnview dynamic
  3760. block will use its value as the column format.
  3761. **** Consider inline tasks when computing a sum
  3762. *** Org Dates and Time Stamps
  3763. **** Enhanced [[doc::org-sparse-tree][org-sparse-tree]]
  3764. =C-c /= can now check for time ranges.
  3765. When checking for dates with =C-c /= it is useful to change the
  3766. type of dates that you are interested in. You can now do this
  3767. interactively with =c= after =C-c /= and/or by setting
  3768. [[doc::org-sparse-tree-default-date-type][org-sparse-tree-default-date-type]] to the default value you want.
  3769. **** Support for hourly repeat cookies
  3770. You can now use
  3771. : SCHEDULED: <2012-08-20 lun. 08:00 +1h>
  3772. if you want to add an hourly repeater to an entry.
  3773. **** =C-u C-u C-c .= inserts a time-stamp with no prompt
  3774. **** When (setq [[doc::org-read-date-prefer-future][org-read-date-prefer-future]] 'time), accept days in the prompt
  3775. "8am Wed" and "Wed 8am" are now acceptable values when entering a
  3776. date from the prompt. If [[doc::org-read-date-prefer-future][org-read-date-prefer-future]] is set to
  3777. =time=, this will produce the expected prompt indication.
  3778. **** New option [[doc::org-datetree-add-timestamp][org-datetree-add-timestamp]]
  3779. When set to =non-nil=, datetree entries will also have a
  3780. timestamp. This is useful if you want to see these entries in a
  3781. sparse tree with =C-c /=.
  3782. *** Org Capture
  3783. **** New command [[doc::org-capture-string][org-capture-string]]
  3784. M-x [[doc::org-capture-string][org-capture-string]] RET will prompt for a string and a capture
  3785. template. The string will be used as an annotation for the
  3786. template. This is useful when capturing in batch mode as it lets
  3787. you define the content of the template without being in Emacs.
  3788. **** New option [[doc::org-capture-templates-contexts][org-capture-templates-contexts]]
  3789. Setting this option allows you to define specific context where
  3790. capture templates should be available from. For example, when
  3791. set to this value
  3792. #+BEGIN_SRC emacs-lisp
  3793. (setq org-capture-templates-contexts
  3794. '(("c" (in-mode . "message-mode"))))
  3795. #+END_SRC
  3796. then the =c= capture template will only be available from
  3797. =message-mode= buffers. See the docstring and the manual for
  3798. more details on how to use this.
  3799. **** New =%l= template to insert the literal link
  3800. **** New option [[doc::org-capture-bookmark][org-capture-bookmark]]
  3801. Org used to automatically add a bookmark with capture a note.
  3802. You can now turn this on by setting [[doc::org-capture-bookmark][org-capture-bookmark]] to
  3803. =nil=.
  3804. **** Expand =%<num>= escape sequences into text entered for <num>'th =%^{PROMPT}= escape
  3805. See the manual for more explanations.
  3806. **** More control over empty lines
  3807. You can use =:empty-lines-before= and =:empty-lines-after= to
  3808. control the insertion of empty lines. Check the manual for more
  3809. explanations.
  3810. **** New hook [[doc::org-capture-prepare-finalize-hook][org-capture-prepare-finalize-hook]]
  3811. This new hook runs before the finalization process starts.
  3812. *** Org Export
  3813. **** New functions =orgtbl-to-table.el= and =orgtbl-to-unicode=
  3814. =orgtbl-to-table.el= convert the table to a =table.el= table, and
  3815. =orgtbl-to-unicode= will use =ascii-art-to-unicode.el= (when
  3816. available) to print beautiful tables.
  3817. **** [[doc::org-table-export][org-table-export]] now a bit clever about the target format
  3818. When you specify a file name like =table.csv=, [[doc::org-table-export][org-table-export]]
  3819. will now suggest =orgtbl-to-csv= the default method for exporting
  3820. the table.
  3821. **** New option [[doc::org-export-date-timestamp-format][org-export-date-timestamp-format]]
  3822. The option allows to set a time string format for Org timestamps
  3823. in the #+DATE option.
  3824. **** LaTeX: New options for exporting table rules :tstart, :hline and :tend
  3825. See [[doc::org-export-latex-tables-hline][org-export-latex-tables-hline]] and [[doc::org-export-latex-tables-tend][org-export-latex-tables-tend]].
  3826. **** LaTeX: You can now set =:hfmt= from =#+ATTR_LaTeX=
  3827. **** Beamer: Add support and keybinding for the =exampleblock= environment
  3828. Add support for these languages in [[doc::org-export-language-setup][org-export-language-setup]].
  3829. More languages are always welcome.
  3830. **** Beamer: New option [[doc::org-beamer-inherited-properties][org-beamer-inherited-properties]]
  3831. This option allows Beamer export to inherit some properties.
  3832. Thanks to Carsten for implementing this.
  3833. **** ODT: Add support for ODT export in org-bbdb.el
  3834. **** ODT: Add support for indented tables (see [[https://orgmode.org/cgit.cgi/org-mode.git/commit/?id=e9fd33][this commit]] for details)
  3835. **** ODT: Improve the conversion from ODT to other formats
  3836. **** ASCII: Swap the level-1/level-2 characters to underline the headlines
  3837. **** Support for Chinese, simplified Chinese, Russian, Ukrainian and Japanese
  3838. **** HTML: New option [[doc::org-export-html-date-format-string][org-export-html-date-format-string]]
  3839. Format string to format the date and time in HTML export. Thanks
  3840. to Sébastien Vauban for this patch.
  3841. *** Org Babel
  3842. **** New =:results drawer= parameter
  3843. =:results drawer= replaces =:results wrap=, which is deprecated but still
  3844. supported.
  3845. **** =:results org= now put results in a =#+BEGIN_SRC org= block
  3846. =:results org= used to put results in a =#+BEGIN_ORG= block but it now puts
  3847. results in a =#+BEGIN_SRC org= block, with comma-escaped lines.
  3848. =#+BEGIN_ORG= blocks are obsolete.
  3849. **** Exporting =#+BEGIN_SRC org= blocks exports the code
  3850. It used to exports the results of the code.
  3851. *** Miscellaneous
  3852. **** New menu entry for [[doc::org-refile][org-refile]]
  3853. **** Allow capturing to encrypted entries
  3854. If you capture to an encrypted entry, it will be decrypted before
  3855. inserting the template then re-encrypted after finalizing the capture.
  3856. **** Inactive timestamps are now handled in tables
  3857. Calc can do computation on active time-stamps like <2012-09-29 sat.>.
  3858. Inactive time-stamps in a table's cell are now internally deactivated so
  3859. that Calc formulas can operate on them.
  3860. **** [[doc::org-table-number-regexp][org-table-number-regexp]] can now accept comma as decimal mark
  3861. **** Org allows a new property =APPT_WARNTIME=
  3862. You can set it with the =W= speedy key or set it manually. When
  3863. set, exporting to iCalendar and [[doc::org-agenda-to-appt][org-agenda-to-appt]] will use the
  3864. value of this property as the number of minutes for the warning
  3865. alarm.
  3866. **** New command [[doc::org-inc-effort][org-inc-effort]]
  3867. This will increment the effort value.
  3868. It is bound to =C-c C-x E= and to =E= as a speedy command.
  3869. **** Attach: Add support for creating symbolic links
  3870. =org-attach-method= now supports a new method =lns=, allowing to
  3871. attach symbolic links.
  3872. **** Archive: you can now archive to a datetree
  3873. **** New option [[doc::org-inlinetask-show-first-star][org-inlinetask-show-first-star]]
  3874. =Non-nil= means display the first star of an inline task as
  3875. additional marker. When =nil=, the first star is not shown.
  3876. **** New option [[doc::org-latex-preview-ltxpng-directory][org-latex-preview-ltxpng-directory]]
  3877. This lets you define the path for the =ltxpng/= directory.
  3878. **** You can now use imagemagick instead of dvipng to preview LaTeX fragments
  3879. **** You can now turn off [[doc::orgstruct++-mode][orgstruct++-mode]] safely
  3880. **** =C-u C-c C-c= on list items to add check boxes
  3881. =C-u C-c C-c= will add an empty check box on a list item.
  3882. When hit from the top of the list, it will add check boxes for
  3883. all top level list items.
  3884. **** =org-list-ending-method= and =org-list-end-regexp= are now obsolete
  3885. Fall back on using =org-list-end-re= only, which see.
  3886. **** org-feed.el now expands =%(sexp)= templates
  3887. **** New option [[doc::org-protocol-data-separator][org-protocol-data-separator]]
  3888. **** New option [[doc::org-ditaa-jar-option][org-ditaa-jar-option]] to specify the ditaa jar file
  3889. **** New possible value for [[doc::org-loop-over-headlines-in-active-region][org-loop-over-headlines-in-active-region]]
  3890. When [[doc::org-loop-over-headlines-in-active-region][org-loop-over-headlines-in-active-region]] is set to
  3891. =start-level=, the command will loop over the active region but
  3892. will only act upon entries that are of the same level than the
  3893. first headline in the region.
  3894. **** New option [[doc::org-habit-show-all-today][org-habit-show-all-today]]
  3895. When set to =t=, show all (even unscheduled) habits on today's
  3896. agenda.
  3897. ** Important bug fixes
  3898. *** M-TAB on options keywords perform completion correctly again
  3899. If you hit =M-TAB= on keywords like =#+TITLE=, Org will try to
  3900. perform completion with meaningful values.
  3901. *** Add licenses to javascript embedded and external code snippets
  3902. Embedded javascript code produced when exporting an Org file to
  3903. HTML is now licensed under GPLv3 (or later), and the copyright is
  3904. owned by the Free Software Foundation, Inc.
  3905. The javascript code for embedding MathJax in the browser mentions
  3906. the MathJax copyright and the Apache 2.0 license.
  3907. The javascript code for embedding =org-injo.js= in the browser
  3908. mentions the copyright of Sebastian Rose and the GPLv3 (or later)
  3909. license.
  3910. =org-export-html-scripts= is now a variable, so that you can adapt
  3911. the code and the license to your needs.
  3912. See https://www.gnu.org/philosophy/javascript-trap.html for
  3913. explanations on why these changes were necessary.
  3914. * Version 7.8.11
  3915. ** Incompatible changes
  3916. *** Emacs 21 support has been dropped
  3917. Do not use Org mode 7.xx with Emacs 21, use [[https://orgmode.org/org-6.36c.zip][version 6.36c]] instead.
  3918. *** XEmacs support requires the XEmacs development version
  3919. To use Org mode 7.xx with XEmacs, you need to run the developer
  3920. version of XEmacs. We were about to drop XEmacs support entirely,
  3921. but Michael Sperber stepped in and made changes to XEmacs that
  3922. made it easier to keep the support. Thanks to Michael for this
  3923. last-minute save.
  3924. *** New keys for TODO sparse trees
  3925. The key =C-c C-v= is now reserved for Org Babel action. TODO
  3926. sparse trees can still be made with =C-c / t= (all not-done
  3927. states) and =C-c / T= (specific states).
  3928. *** The Agenda =org-agenda-ndays= is now obsolete
  3929. The variable =org-agenda-ndays= is obsolete - please use
  3930. =org-agenda-span= instead.
  3931. Thanks to Julien Danjou for this.
  3932. *** Changes to the intended use of =org-export-latex-classes=
  3933. So far this variable has been used to specify the complete header
  3934. of the LaTeX document, including all the =\usepackage= calls
  3935. necessary for the document. This setup makes it difficult to
  3936. maintain the list of packages that Org itself would like to call,
  3937. for example for the special symbol support it needs.
  3938. First of all, you can *opt out of this change* in the following
  3939. way: You can say: /I want to have full control over headers, and I
  3940. will take responsibility to include the packages Org needs/. If
  3941. that is what you want, add this to your configuration and skip the
  3942. rest of this section (except maybe for the description of the
  3943. =[EXTRA]= place holder):
  3944. #+begin_src emacs-lisp
  3945. (setq org-export-latex-default-packages-alist nil
  3946. org-export-latex-packages-alist nil)
  3947. #+end_src
  3948. /Continue to read here if you want to go along with the modified
  3949. setup./
  3950. There are now two variables that should be used to list the LaTeX
  3951. packages that need to be included in all classes. The header
  3952. definition in =org-export-latex-classes= should then not contain
  3953. the corresponding =\usepackage= calls (see below).
  3954. The two new variables are:
  3955. 1. =org-export-latex-default-packages-alist= :: This is the
  3956. variable where Org-mode itself puts the packages it needs.
  3957. Normally you should not change this variable. The only
  3958. reason to change it anyway is when one of these packages
  3959. causes a conflict with another package you want to use. Then
  3960. you can remove that packages and hope that you are not using
  3961. Org-mode functionality that needs it.
  3962. 2. =org-export-latex-packages-alist= :: This is the variable where
  3963. you can put the packages that you'd like to use across all
  3964. classes.
  3965. The sequence how these customizations will show up in the LaTeX
  3966. document are:
  3967. 1. Header from =org-export-latex-classes=
  3968. 2. =org-export-latex-default-packages-alist=
  3969. 3. =org-export-latex-packages-alist=
  3970. 4. Buffer-specific things set with =#+LaTeX_HEADER:=
  3971. If you want more control about which segment is placed where, or
  3972. if you want, for a specific class, have full control over the
  3973. header and exclude some of the automatic building blocks, you can
  3974. put the following macro-like place holders into the header:
  3975. #+begin_example
  3976. [DEFAULT-PACKAGES] \usepackage statements for default packages
  3977. [NO-DEFAULT-PACKAGES] do not include any of the default packages
  3978. [PACKAGES] \usepackage statements for packages
  3979. [NO-PACKAGES] do not include the packages
  3980. [EXTRA] the stuff from #+LaTeX_HEADER
  3981. [NO-EXTRA] do not include #+LaTeX_HEADER stuff
  3982. #+end_example
  3983. If you have currently customized =org-export-latex-classes=, you
  3984. should revise that customization and remove any package calls that
  3985. are covered by =org-export-latex-default-packages-alist=. This
  3986. applies to the following packages:
  3987. - inputenc
  3988. - fontenc
  3989. - fixltx2e
  3990. - graphicx
  3991. - longtable
  3992. - float
  3993. - wrapfig
  3994. - soul
  3995. - t1enc
  3996. - textcomp
  3997. - marvosym
  3998. - wasysym
  3999. - latexsym
  4000. - amssymb
  4001. - hyperref
  4002. If one of these packages creates a conflict with another package
  4003. you are using, you can remove it from
  4004. =org-export-latex-default-packages-alist=. But then you risk that
  4005. some of the advertised export features of Org will not work
  4006. properly.
  4007. You can also consider moving packages that you use in all classes
  4008. to =org-export-latex-packages-alist=. If necessary, put the place
  4009. holders so that the packages get loaded in the right sequence. As
  4010. said above, for backward compatibility, if you omit the place
  4011. holders, all the variables will dump their content at the end of
  4012. the header.
  4013. *** The constant =org-html-entities= is obsolete
  4014. Its content is now part of the new constant =org-entities=, which
  4015. is defined in the file org-entities.el. =org-html-entities= was
  4016. an internal variable, but it is possible that some users did write
  4017. code using it.
  4018. *** =org-bbdb-anniversary-format-alist= has changed
  4019. Please check the docstring and update your settings accordingly.
  4020. *** Deleted =org-mode-p=
  4021. This function has been deleted: please update your code.
  4022. ** Important new features
  4023. *** New Org to ODT exporter
  4024. Jambunathan's Org to ODT exporter is now part of Org.
  4025. To use it, it `C-c C-e o' in an Org file. See the documentation
  4026. for more information on how to customize it.
  4027. *** org-capture.el is now the default capture system
  4028. This replaces the earlier system org-remember. The manual only
  4029. describes org-capture, but for people who prefer to continue to
  4030. use org-remember, we keep a static copy of the former manual
  4031. section [[https://orgmode.org/org-remember.pdf][chapter about remember]].
  4032. The new system has a technically cleaner implementation and more
  4033. possibilities for capturing different types of data. See
  4034. [[msg:C46F10DC-DE51-43D4-AFFE-F71E440D1E1F@gmail.com][Carsten's announcement]] for more details.
  4035. To switch over to the new system:
  4036. 1. Run
  4037. : M-x org-capture-import-remember-templates RET
  4038. to get a translated version of your remember templates into the
  4039. new variable =org-capture-templates=. This will "mostly" work,
  4040. but maybe not for all cases. At least it will give you a good
  4041. place to modify your templates. After running this command,
  4042. enter the customize buffer for this variable with
  4043. : M-x customize-variable RET org-capture-templates RET
  4044. and convince yourself that everything is OK. Then save the
  4045. customization.
  4046. 2. Bind the command =org-capture= to a key, similar to what you did
  4047. with org-remember:
  4048. : (define-key global-map "\C-cc" 'org-capture)
  4049. If your fingers prefer =C-c r=, you can also use this key once
  4050. you have decided to move over completely to the new
  4051. implementation. During a test time, there is nothing wrong
  4052. with using both system in parallel.
  4053. ** New libraries
  4054. *** New Org libraries
  4055. **** org-eshell.el (Konrad Hinsen)
  4056. Implement links to eshell buffers.
  4057. **** org-special-blocks (Carsten Dominik)
  4058. This package generalizes the #+begin_foo and #+end_foo tokens.
  4059. To use, put the following in your init file:
  4060. #+BEGIN_EXAMPLE
  4061. (require 'org-special-blocks)
  4062. #+END_EXAMPLE
  4063. The tokens #+begin_center, #+begin_verse, etc. existed
  4064. previously. This package generalizes them (at least for the
  4065. LaTeX and html exporters). When a #+begin_foo token is
  4066. encountered by the LaTeX exporter, it is expanded
  4067. into \begin{foo}. The text inside the environment is not
  4068. protected, as text inside environments generally is.
  4069. When #+begin_foo is encountered by the html exporter, a div with
  4070. class foo is inserted into the HTML file. It is up to the user
  4071. to add this class to his or her stylesheet if this div is to mean
  4072. anything.
  4073. **** org-taskjuggler.el (Christian Egli)
  4074. Christian Egli's /org-taskjuggler.el/ module is now part of Org.
  4075. He also wrote a [[https://orgmode.org/worg/org-tutorials/org-taskjuggler.php][tutorial]] for it.
  4076. **** org-ctags.el (Paul Sexton)
  4077. Targets like =<<my target>>= can now be found by Emacs' etag
  4078. functionality, and Org-mode links can be used to to link to
  4079. etags, also in non-Org-mode files. For details, see the file
  4080. /org-ctags.el/.
  4081. This feature uses a new hook =org-open-link-functions= which will
  4082. call function to do something special with text links.
  4083. Thanks to Paul Sexton for this contribution.
  4084. **** org-docview.el (Jan Böcker)
  4085. This new module allows links to various file types using docview, where
  4086. Emacs displays images of document pages. Docview link types can point
  4087. to a specific page in a document, for example to page 131 of the
  4088. Org-mode manual:
  4089. : [[docview:~/.elisp/org/doc/org.pdf::131][Org-Mode Manual]]
  4090. Thanks to Jan Böcker for this contribution.
  4091. *** New Babel libraries
  4092. - ob-picolisp.el (Thorsten Jolitz)
  4093. - ob-fortran.el (Sergey Litvinov)
  4094. - ob-shen.el (Eric Schulte)
  4095. - ob-maxima.el (Eric S Fraga)
  4096. - ob-java.el (Eric Schulte)
  4097. - ob-lilypond.el (Martyn Jago)
  4098. - ob-awk.el (Eric Schulte)
  4099. ** Other new features and various enhancements
  4100. *** Hyperlinks
  4101. **** Org-Bibtex -- major improvements
  4102. Provides support for managing bibtex bibliographical references
  4103. data in headline properties. Each headline corresponds to a
  4104. single reference and the relevant bibliographic meta-data is
  4105. stored in headline properties, leaving the body of the headline
  4106. free to hold notes and comments. Org-bibtex is aware of all
  4107. standard bibtex reference types and fields.
  4108. The key new functions are
  4109. - org-bibtex-check :: queries the user to flesh out all required
  4110. (and with prefix argument optional) bibtex fields available
  4111. for the specific reference =type= of the current headline.
  4112. - org-bibtex-create :: Create a new entry at the given level,
  4113. using org-bibtex-check to flesh out the relevant fields.
  4114. - org-bibtex-yank :: Yank a bibtex entry on the kill ring as a
  4115. formatted Org-mode headline into the current buffer
  4116. - org-bibtex-export-to-kill-ring :: Export the current headline
  4117. to the kill ring as a formatted bibtex entry.
  4118. **** org-gnus.el now allows link creation from messages
  4119. You can now create links from messages. This is particularly
  4120. useful when the user wants to stored messages that he sends, for
  4121. later check. Thanks to Ulf Stegemann for the patch.
  4122. **** Modified link escaping
  4123. David Maus worked on `org-link-escape'. See [[msg:87k4gysacq.wl%dmaus@ictsoc.de][his message]]:
  4124. : Percent escaping is used in Org mode to escape certain characters
  4125. : in links that would either break the parser (e.g. square brackets
  4126. : in link target or description) or are not allowed to appear in
  4127. : a particular link type (e.g. non-ascii characters in a http:
  4128. : link).
  4129. :
  4130. : With this change in place Org will apply percent escaping and
  4131. : unescaping more consistently especially for non-ascii characters.
  4132. : Additionally some of the outstanding bugs or glitches concerning
  4133. : percent escaped links are solved.
  4134. Thanks a lot to David for this work.
  4135. **** Make =org-store-link= point to directory in a dired buffer
  4136. When, in a dired buffer, the cursor is not in a line listing a
  4137. file, `org-store-link' will store a link to the directory.
  4138. Patch by Stephen Eglen.
  4139. **** Allow regexps in =org-file-apps= to capture link parameters
  4140. The way extension regexps in =org-file-apps= are handled has
  4141. changed. Instead of matching against the file name, the regexps
  4142. are now matched against the whole link, and you can use grouping
  4143. to extract link parameters which you can then use in a command
  4144. string to be executed.
  4145. For example, to allow linking to PDF files using the syntax
  4146. =file:/doc.pdf::<page number>=, you can add the following entry
  4147. to org-file-apps:
  4148. #+begin_example
  4149. Extension: \.pdf::\([0-9]+\)\'
  4150. Command: evince "%s" -p %1
  4151. #+end_example
  4152. Thanks to Jan Böcker for a patch to this effect.
  4153. *** Dates and time
  4154. **** Allow relative time when scheduling/adding a deadline
  4155. You can now use relative duration strings like "-2d" or "++3w"
  4156. when calling =org-schedule= or =org-deadline=: it will schedule
  4157. (or set the deadline for) the item respectively two days before
  4158. today and three weeks after the current timestamp, if any.
  4159. You can use this programmatically: =(org-schedule nil "+2d")=
  4160. will work on the current entry.
  4161. You can also use this while (bulk-)rescheduling and
  4162. (bulk-)resetting the deadline of (several) items from the agenda.
  4163. Thanks to Memnon Anon for a heads up about this!
  4164. **** American-style dates are now understood by =org-read-date=
  4165. So when you are prompted for a date, you can now answer like this
  4166. #+begin_example
  4167. 2/5/3 --> 2003-02-05
  4168. 2/5 --> <CURRENT-YEAR>-02-05
  4169. #+end_example
  4170. *** Agenda
  4171. **** =org-agenda-custom-commands= has a default value
  4172. This option used to be `nil' by default. This now has a default
  4173. value, displaying an agenda and all TODOs. See the docstring for
  4174. details. Thanks to Carsten for this.
  4175. **** Improved filtering through =org-agenda-to-appt=
  4176. The new function allows the user to refine the scope of entries
  4177. to pass to =org-agenda-get-day-entries= and allows to filter out
  4178. entries using a function.
  4179. Thanks to Peter Münster for raising a related issue and to
  4180. Tassilo Horn for this idea. Also thanks to Peter Münster for
  4181. [[git:68ffb7a7][fixing a small bug]] in the final implementation.
  4182. **** Allow ap/pm times in agenda time grid
  4183. Times in the agenda can now be displayed in am/pm format. See
  4184. the new variable =org-agenda-timegrid-use-ampm=. Thanks to
  4185. C. A. Webber for a patch to this effect.
  4186. **** Agenda: Added a bulk "scattering" command
  4187. =B S= in the agenda buffer will cause tasks to be rescheduled a
  4188. random number of days into the future, with 7 as the default.
  4189. This is useful if you've got a ton of tasks scheduled for today,
  4190. you realize you'll never deal with them all, and you just want
  4191. them to be distributed across the next N days. When called with
  4192. a prefix arg, rescheduling will avoid weekend days.
  4193. Thanks to John Wiegley for this.
  4194. *** Exporting
  4195. **** Simplification of org-export-html-preamble/postamble
  4196. When set to `t', export the preamble/postamble as usual, honoring
  4197. the =org-export-email/author/creator-info= variables.
  4198. When set to a formatting string, insert this string. See the
  4199. docstring of these variable for details about available
  4200. %-sequences.
  4201. You can set =:html-preamble= in publishing project in the same
  4202. way: `t' means to honor =:email/creator/author-info=, and a
  4203. formatting string will insert a string.
  4204. **** New exporters to Latin-1 and UTF-8
  4205. While Ulf Stegemann was going through the entities list to
  4206. improve the LaTeX export, he had the great idea to provide
  4207. representations for many of the entities in Latin-1, and for all
  4208. of them in UTF-8. This means that we can now export files rich
  4209. in special symbols to Latin-1 and to UTF-8 files. These new
  4210. exporters can be reached with the commands =C-c C-e n= and =C-c
  4211. C-e u=, respectively.
  4212. When there is no representation for a given symbol in the
  4213. targeted coding system, you can choose to keep the TeX-macro-like
  4214. representation, or to get an "explanatory" representation. For
  4215. example, =\simeq= could be represented as "[approx. equal to]".
  4216. Please use the variable =org-entities-ascii-explanatory= to state
  4217. your preference.
  4218. **** HTML export: Add class to outline containers using property
  4219. The =HTML_CONTAINER_CLASS= property can now be used to add a
  4220. class name to the outline container of a node in HTML export.
  4221. **** Throw an error when creating an image from a LaTeX snippet fails
  4222. This behavior can be configured with the new option variable
  4223. =org-format-latex-signal-error=.
  4224. **** Support for creating BEAMER presentations from Org-mode documents
  4225. Org-mode documents or subtrees can now be converted directly in
  4226. to BEAMER presentation. Turning a tree into a simple
  4227. presentations is straight forward, and there is also quite some
  4228. support to make richer presentations as well. See the [[https://orgmode.org/manual/Beamer-class-export.html#Beamer-class-export][BEAMER
  4229. section]] in the manual for more details.
  4230. Thanks to everyone who has contributed to the discussion about
  4231. BEAMER support and how it should work. This was a great example
  4232. for how this community can achieve a much better result than any
  4233. individual could.
  4234. *** Refiling
  4235. **** Refile targets can now be cached
  4236. You can turn on caching of refile targets by setting the variable
  4237. =org-refile-use-cache=. This should speed up refiling if you
  4238. have many eligible targets in many files. If you need to update
  4239. the cache because Org misses a newly created entry or still
  4240. offers a deleted one, press =C-0 C-c C-w=.
  4241. **** New logging support for refiling
  4242. Whenever you refile an item, a time stamp and even a note can be
  4243. added to this entry. For details, see the new option
  4244. =org-log-refile=.
  4245. Thanks to Charles Cave for this idea.
  4246. *** Completion
  4247. **** In-buffer completion is now done using John Wiegley's pcomplete.el
  4248. Thanks to John Wiegley for much of this code.
  4249. *** Tables
  4250. **** New command =org-table-transpose-table-at-point=
  4251. See the docstring. This hack from Juan Pechiar is now part of
  4252. Org's core. Thanks to Juan!
  4253. **** Display field's coordinates when editing it with =C-c `=
  4254. When editing a field with =C-c `=, the field's coordinate will
  4255. the displayed in the buffer.
  4256. Thanks to Michael Brand for a patch to this effect.
  4257. **** Spreadsheet computation of durations and time values
  4258. If you want to compute time values use the =T= flag, either in
  4259. Calc formulas or Elisp formulas:
  4260. | Task 1 | Task 2 | Total |
  4261. |--------+--------+---------|
  4262. | 35:00 | 35:00 | 1:10:00 |
  4263. #+TBLFM: @2$3=$1+$2;T
  4264. Values must be of the form =[HH:]MM:SS=, where hours are
  4265. optional.
  4266. Thanks to Martin Halder, Eric Schulte and Carsten for code and
  4267. feedback on this.
  4268. **** Implement formulas applying to field ranges
  4269. Carsten implemented this field-ranges formulas.
  4270. : A frequently requested feature for tables has been to be able to define
  4271. : row formulas in a way similar to column formulas. The patch below allows
  4272. : things like
  4273. :
  4274. : @3=
  4275. : @2$2..@5$7=
  4276. : @I$2..@II$4=
  4277. :
  4278. : as the left hand side for table formulas in order to write a formula that
  4279. : is valid for an entire column or for a rectangular section in a
  4280. : table.
  4281. Thanks a lot to Carsten for this.
  4282. **** Sending radio tables from org buffers is now allowed
  4283. Org radio tables can no also be sent inside Org buffers. Also,
  4284. there is a new hook which get called after a table has been sent.
  4285. Thanks to Seweryn Kokot.
  4286. *** Lists
  4287. **** Improved handling of lists
  4288. Nicolas Goaziou extended and improved the way Org handles lists.
  4289. 1. Indentation of text determines again end of items in
  4290. lists. So, some text less indented than the previous item
  4291. doesn't close the whole list anymore, only all items more
  4292. indented than it.
  4293. 2. Alphabetical bullets are implemented, through the use of the
  4294. variable `org-alphabetical-lists'. This also adds alphabetical
  4295. counters like [@c] or [@W].
  4296. 3. Lists can now safely contain drawers, inline tasks, or various
  4297. blocks, themselves containing lists. Two variables are
  4298. controlling this: `org-list-forbidden-blocks', and
  4299. `org-list-export-context'.
  4300. 4. Improve `newline-and-indent' (C-j): used in an item, it will
  4301. keep text from moving at column 0. This allows to split text
  4302. and make paragraphs and still not break the list.
  4303. 5. Improve `org-toggle-item' (C-c -): used on a region with
  4304. standard text, it will change the region into one item. With a
  4305. prefix argument, it will fallback to the previous behavior and
  4306. make every line in region an item. It permits to easily
  4307. integrate paragraphs inside a list.
  4308. 6. `fill-paragraph' (M-q) now understands lists. It can freely be
  4309. used inside items, or on text just after a list, even with no
  4310. blank line around, without breaking list structure.
  4311. Thanks a lot to Nicolas for all this!
  4312. *** Inline display of linked images
  4313. Images can now be displayed inline. The key C-c C-x C-v does
  4314. toggle the display of such images. Note that only image links
  4315. that have no description part will be inlined.
  4316. *** Implement offsets for ordered lists
  4317. If you want to start an ordered plain list with a number different
  4318. from 1, you can now do it like this:
  4319. : 1. [@start:12] will star a lit a number 12
  4320. *** Babel: code block body expansion for table and preview
  4321. In org-babel, code is "expanded" prior to evaluation. I.e. the
  4322. code that is actually evaluated comprises the code block contents,
  4323. augmented with the extra code which assigns the referenced data to
  4324. variables. It is now possible to preview expanded contents, and
  4325. also to expand code during during tangling. This expansion takes
  4326. into account all header arguments, and variables.
  4327. A new keybinding `C-c M-b p' bound to `org-babel-expand-src-block'
  4328. can be used from inside of a source code block to preview its
  4329. expanded contents (which can be very useful for debugging).
  4330. tangling
  4331. The expanded body can now be tangled, this includes variable
  4332. values which may be the results of other source-code blocks, or
  4333. stored in headline properties or tables. One possible use for this
  4334. is to allow those using org-babel for their emacs initialization
  4335. to store values (e.g. usernames, passwords, etc...) in headline
  4336. properties or in tables.
  4337. Org-babel now supports three new header arguments, and new default
  4338. behavior for handling horizontal lines in tables (hlines), column
  4339. names, and rownames across all languages.
  4340. *** Editing Convenience and Appearance
  4341. **** New command =org-copy-visible= (=C-c C-x v=)
  4342. This command will copy the visible text in the region into the
  4343. kill ring. Thanks to Florian Beck for this function and to
  4344. Carsten for adding it to org.el and documenting it!
  4345. **** Make it possible to protect hidden subtrees from being killed by =C-k=
  4346. See the new variable =org-ctrl-k-protect-subtree=. This was a
  4347. request by Scott Otterson.
  4348. **** Implement pretty display of entities, sub-, and superscripts.
  4349. The command =C-c C-x \= toggles the display of Org's special
  4350. entities like =\alpha= as pretty unicode characters. Also, sub
  4351. and superscripts are displayed in a pretty way (raised/lower
  4352. display, in a smaller font). If you want to exclude sub- and
  4353. superscripts, see the variable
  4354. =org-pretty-entities-include-sub-superscripts=.
  4355. Thanks to Eric Schulte and Ulf Stegeman for making this possible.
  4356. **** New faces for title, date, author and email address lines
  4357. The keywords in these lines are now dimmed out, and the title is
  4358. displayed in a larger font, and a special font is also used for
  4359. author, date, and email information. This is implemented by the
  4360. following new faces:
  4361. =org-document-title=
  4362. =org-document-info=
  4363. =org-document-info-keyword=
  4364. In addition, the variable =org-hidden-keywords= can be used to
  4365. make the corresponding keywords disappear.
  4366. Thanks to Dan Davison for this feature.
  4367. **** Simpler way to specify faces for tags and todo keywords
  4368. The variables =org-todo-keyword-faces=, =org-tag-faces=, and
  4369. =org-priority-faces= now accept simple color names as
  4370. specifications. The colors will be used as either foreground or
  4371. background color for the corresponding keyword. See also the
  4372. variable =org-faces-easy-properties=, which governs which face
  4373. property is affected by this setting.
  4374. This is really a great simplification for setting keyword faces.
  4375. The change is based on an idea and patch by Ryan Thompson.
  4376. **** <N> in tables now means fixed width, not maximum width
  4377. Requested by Michael Brand.
  4378. **** Better level cycling function
  4379. =TAB= in an empty headline cycles the level of that headline
  4380. through likely states. Ryan Thompson implemented an improved
  4381. version of this function, which does not depend upon when exactly
  4382. this command is used. Thanks to Ryan for this improvement.
  4383. **** Adaptive filling
  4384. For paragraph text, =org-adaptive-fill-function= did not handle
  4385. the base case of regular text which needed to be filled. This is
  4386. now fixed. Among other things, it allows email-style ">"
  4387. comments to be filled correctly.
  4388. Thanks to Dan Hackney for this patch.
  4389. **** `org-reveal' (=C-c C-r=) also decrypts encrypted entries (org-crypt.el)
  4390. Thanks to Richard Riley for triggering this change.
  4391. **** Better automatic letter selection for TODO keywords
  4392. When all first letters of keywords have been used, Org now
  4393. assigns more meaningful characters based on the keywords.
  4394. Thanks to Mikael Fornius for this patch.
  4395. *** Clocking
  4396. **** Clock: Allow synchronous update of timestamps in CLOCK log
  4397. Using =S-M-<up/down>= on CLOCK log timestamps will
  4398. increase/decrease the two timestamps on this line so that
  4399. duration will keep the same. Note that duration can still be
  4400. slightly modified in case a timestamp needs some rounding.
  4401. Thanks to Rainer Stengele for this idea.
  4402. **** Localized clock tables
  4403. Clock tables now support a new new =:lang= parameter, allowing
  4404. the user to customize the localization of the table headers. See
  4405. the variable =org-clock-clocktable-language-setup= which controls
  4406. available translated strings.
  4407. **** Show clock overruns in mode line
  4408. When clocking an item with a planned effort, overrunning the
  4409. planned time is now made visible in the mode line, for example
  4410. using the new face =org-mode-line-clock-overrun=, or by adding an
  4411. extra string given by =org-task-overrun-text=.
  4412. Thanks to Richard Riley for a patch to this effect.
  4413. **** Clock reports can now include the running, incomplete clock
  4414. If you have a clock running, and the entry being clocked falls
  4415. into the scope when creating a clock table, the time so far spent
  4416. can be added to the total. This behavior depends on the setting
  4417. of =org-clock-report-include-clocking-task=. The default is
  4418. =nil=.
  4419. Thanks to Bernt Hansen for this useful addition.
  4420. *** Misc
  4421. **** Improvements with inline tasks and indentation
  4422. There is now a configurable way on how to export inline tasks.
  4423. See the new variable =org-inlinetask-export-templates=.
  4424. Thanks to Nicolas Goaziou for coding these changes.
  4425. **** A property value of =nil= now means to unset a property
  4426. This can be useful in particular with property inheritance, if
  4427. some upper level has the property, and some grandchild of it
  4428. would like to have the default settings (i.e. not overruled by a
  4429. property) back.
  4430. Thanks to Robert Goldman and Bernt Hansen for suggesting this
  4431. change.
  4432. **** New helper functions in org-table.el
  4433. There are new functions to access and write to a specific table field.
  4434. This is for hackers, and maybe for the org-babel people.
  4435. #+begin_example
  4436. org-table-get
  4437. org-table-put
  4438. org-table-current-line
  4439. org-table-goto-line
  4440. #+end_example
  4441. **** Archiving: Allow to reverse order in target node
  4442. The new option =org-archive-reversed-order= allows to have
  4443. archived entries inserted in a last-on-top fashion in the target
  4444. node.
  4445. This was requested by Tom.
  4446. **** Org-reveal: Double prefix arg shows the entire subtree of the parent
  4447. This can help to get out of an inconsistent state produced for
  4448. example by viewing from the agenda.
  4449. This was a request by Matt Lundin.
  4450. * License
  4451. This file is part of GNU Emacs.
  4452. GNU Emacs is free software: you can redistribute it and/or modify
  4453. it under the terms of the GNU General Public License as published by
  4454. the Free Software Foundation, either version 3 of the License, or
  4455. (at your option) any later version.
  4456. GNU Emacs is distributed in the hope that it will be useful,
  4457. but WITHOUT ANY WARRANTY; without even the implied warranty of
  4458. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  4459. GNU General Public License for more details.
  4460. You should have received a copy of the GNU General Public License
  4461. along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.