ChangeLog.2 696 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993
  1. 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
  2. Prefer xpalloc to doubling buffers by hand
  3. * src/lread.c (grow_read_buffer): New function, which uses xpalloc.
  4. (read1): Use it for simplicity.
  5. * src/macros.c (store_kbd_macro_char):
  6. * src/minibuf.c (read_minibuf_noninteractive):
  7. * src/term.c (encode_terminal_code):
  8. * src/xrdb.c (magic_db):
  9. Prefer xpalloc to growing buffers by hand.
  10. This doesn’t fix any bugs, but simplifies the code a bit.
  11. 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
  12. Merge from gnulib
  13. This incorporates:
  14. 2015-11-05 timespec-sub: fix overflow bug; add tests
  15. 2015-11-04 intprops: revise _WRAPV macros, revert _OVERFLOW
  16. 2015-11-03 intprops: add parentheses
  17. * lib/intprops.h, lib/timespec-add.c, lib/timespec-sub.c:
  18. Copy from gnulib.
  19. 2015-11-07 David Reitter <david.reitter@gmail.com>
  20. Provide NS notification objects where required to eliminate warnings
  21. * nsterm.m (windowDidResize:, toggleFullScreen:):
  22. Call notification functions with notification objects
  23. as per delegate APIs.
  24. 2015-11-07 Noam Postavsky <npostavs@users.sourceforge.net>
  25. Add test for bug #21824
  26. * test/automated/buffer-tests.el: New file.
  27. (overlay-modification-hooks-message-other-buf): New test.
  28. 2015-11-07 Kelvin White <kwhite@gnu.org>
  29. * lisp/erc/erc-pcomplete.el (pcomplete-erc-nicks): Fix bug#18771.
  30. 2015-11-07 David Reitter <david.reitter@gmail.com>
  31. Ignore fullscreen exit notifications on NS when frame is dead
  32. * nsterm.m (windowDidResize:, windowWillExitFullScreen:)
  33. (windowDidExitFullScreen:): Return if frame is dead.
  34. These functions may be called when a fullscreen frame
  35. is closed; they are called before, not after.
  36. May address Bug#21428.
  37. 2015-11-07 Eli Zaretskii <eliz@gnu.org>
  38. Speed up lookup in redisplay--variables
  39. * lisp/frame.el (redisplay--variables): Make it a hash-table.
  40. * src/xdisp.c (maybe_set_redisplay): Access redisplay--variables
  41. as a hash-table. This speeds up this function by an order of
  42. magnitude: where previously a setq was slowed down by 100% by
  43. introducing the maybe_set_redisplay test, it is now only 5%
  44. slower.
  45. (syms_of_xdisp) <redisplay--variables>: Doc fix.
  46. 2015-11-07 Artur Malabarba <bruce.connor.am@gmail.com>
  47. * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix a bug.
  48. The defsubst was being created as:
  49. (cl-defsubst name (args) ("DOC") ...)
  50. * test/automated/cl-lib-tests.el (cl-lib-struct-constructors):
  51. Add test.
  52. 2015-11-07 Mihai Olteanu <mihai_olteanu@fastmail.fm> (tiny change)
  53. Update doc string of hexl-mode
  54. * lisp/hexl.el (hexl-mode): Doc fix. (Bug#21800)
  55. 2015-11-07 Eli Zaretskii <eliz@gnu.org>
  56. Fix error in copy-abbrev-table
  57. * lisp/abbrev.el (define-abbrev): Don't erase the :abbrev-table-modiff
  58. property of the abbrev-table. (Bug#21828)
  59. * test/automated/abbrev-tests.el: New file.
  60. 2015-11-07 Michael Albinus <michael.albinus@gmx.de>
  61. Add test to auto-revert-tests.el for Bug#21841
  62. * test/automated/auto-revert-tests.el
  63. (auto-revert-test01-auto-revert-several-files): New test.
  64. (auto-revert-test02-auto-revert-tail-mode)
  65. (auto-revert-test03-auto-revert-mode-dired): Rename them.
  66. 2015-11-07 Martin Rudalics <rudalics@gmx.at>
  67. * doc/lispref/windows.texi (Coordinates and Windows): Fix typo.
  68. 2015-11-07 Martin Rudalics <rudalics@gmx.at>
  69. In x_consider_frame_title don't set title of tooltip frames
  70. * src/xdisp.c (x_consider_frame_title): Return immediately for
  71. tooltip frames to avoid displaying empty tooltips.
  72. 2015-11-06 Anders Lindgren <andlind@gmail.com>
  73. Fixed NextStep fullscreen problem (bug#21770).
  74. * src/nsterm.m (ns_constrain_all_frames): Don't constrain
  75. fullscreen frames.
  76. 2015-11-06 Eli Zaretskii <eliz@gnu.org>
  77. Ensure redisplay after evaluation
  78. * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp):
  79. Revert last change.
  80. * lisp/frame.el (redisplay--variables): Populate the
  81. redisplay--variables list.
  82. * src/xdisp.c (maybe_set_redisplay): New function.
  83. (syms_of_xdisp) <redisplay--variables>: New variable.
  84. * src/window.h (maybe_set_redisplay): Declare prototype.
  85. * src/data.c (set_internal): Call maybe_set_redisplay. (Bug#21835)
  86. 2015-11-06 Artur Malabarba <bruce.connor.am@gmail.com>
  87. * test/automated/subr-tests.el (subr-test-when): Fix again.
  88. 2015-11-06 Eli Zaretskii <eliz@gnu.org>
  89. Don't invoke overlay modification hooks in wrong buffer
  90. * src/buffer.c (report_overlay_modification): When called with
  91. AFTER non-zero, don't invoke overlay modification hooks if the
  92. buffer recorded in last_overlay_modification_hooks is different
  93. from the current buffer. (Bug#21824)
  94. 2015-11-06 Juanma Barranquero <lekktu@gmail.com>
  95. * admin/notes/repo: Fix a few obsolete references to Bazaar.
  96. 2015-11-06 Artur Malabarba <bruce.connor.am@gmail.com>
  97. * test/automated/subr-tests.el (subr-test-when): Fix test.
  98. 2015-11-06 Martin Rudalics <rudalics@gmx.at>
  99. Avoid division by zero crash observed by Yuan MEI
  100. See http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html.
  101. * src/dispnew.c (required_matrix_height, required_matrix_width):
  102. Avoid division by zero.
  103. * src/xterm.c (x_term_init): Init dpyinfo->smallest_font_height and
  104. dpyinfo->smallest_char_width to 1.
  105. 2015-11-06 Eli Zaretskii <eliz@gnu.org>
  106. Ensure redisplay after "C-x C-e"
  107. * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp): Make sure
  108. redisplay happens to account for any side effects of the evaluated
  109. sexp. (Bug#21835)
  110. 2015-11-06 Michael Albinus <michael.albinus@gmx.de>
  111. Skip some file notification tests for cygwin
  112. * test/automated/file-notify-tests.el (file-notify--test-with-events):
  113. Remove argument TIMEOUT. Adapt all callees.
  114. (file-notify-test02-events, file-notify-test04-file-validity):
  115. Skip for cygwin. (Bug#21804)
  116. 2015-11-05 Stephen Leake <stephen_leake@stephe-leake.org>
  117. * lisp/progmodes/xref.el: Require semantic/symref during compilation.
  118. 2015-11-05 Daiki Ueno <ueno@gnu.org>
  119. Suppress redundant Pinentry startup messages
  120. * lisp/net/pinentry.el (pinentry-start): Add optional QUIET argument.
  121. * lisp/epg.el: Declare `pinentry-start'.
  122. (epg--start): Call `pinentry-start' with QUIET argument set.
  123. 2015-11-05 Xue Fuqiao <xfq.free@gmail.com>
  124. * doc/emacs/ack.texi (Acknowledgments): Updates.
  125. 2015-11-05 Juanma Barranquero <lekktu@gmail.com>
  126. * test/automated/elisp-mode-test.el: Silence some run-time warnings.
  127. (xref-elisp-deftest): Bind `find-file-suppress-same-file-warnings' to t.
  128. 2015-11-05 Tassilo Horn <tsdh@gnu.org>
  129. * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
  130. Add prettification support for \times.
  131. 2015-11-05 Juanma Barranquero <lekktu@gmail.com>
  132. * test/automated/process-tests.el: Skip tests when bash is unavailable.
  133. (process-test-sentinel-accept-process-output)
  134. (process-test-sentinel-sit-for): skip-unless bash executable found.
  135. 2015-11-05 Eli Zaretskii <eliz@gnu.org>
  136. Add test for bug #21831
  137. * test/automated/process-tests.el
  138. (start-process-should-not-modify-arguments): New test. (Bug#21831)
  139. Suggested by Nicolas Richard <youngfrog@members.fsf.org>
  140. 2015-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
  141. * lisp/emacs-lisp/eieio-compat.el: Typo caught by tests.
  142. (eieio--generic-static-object-generalizer): Fix typo.
  143. * test/automated/eieio-tests.el: Byte-compile it again. It looks
  144. like the underlying cause of bug#17852 was fixed in the mean time.
  145. 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
  146. Revert "* lisp/subr.el (when): Use `macroexp-progn'"
  147. This reverts commit 8e843831eaf271801836b7a3e4dd3b4fb0bb72b8.
  148. It breaks bootstrapping (duh).
  149. 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
  150. * lisp/files.el (report-errors): Obsolete.
  151. (normal-mode, hack-local-variables, dir-locals-find-file):
  152. Use `with-demoted-errors' instead.
  153. 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
  154. * lisp/subr.el (when): Use `macroexp-progn'.
  155. * test/automated/subr-tests.el (subr-test-when): New test.
  156. 2015-11-04 Juanma Barranquero <lekktu@gmail.com>
  157. * lisp/progmodes/xref.el: Doc fixes.
  158. (xref-make-file-location, xref-make-buffer-location, xref-make)
  159. (xref-make-bogus-location, xref-make-match): Add cross-references.
  160. (xref--insert-xrefs): Fix typo in docstring.
  161. 2015-11-04 Anders Lindgren <andlind@gmail.com>
  162. Render fringe bitmaps correctly on NextStep (bug#21301)
  163. The fringe bitmaps were inverted, the background was not transparent,
  164. the image data was horizontally mirrored, and periodic fringe bitmaps
  165. were not supported.
  166. * src/nsimage.m ([EmacsImage initFromXBM:width:height:fg:bg:]):
  167. When both background and foreground colors are 0, set the background
  168. alpha channel to 0 (making the background transparent). When
  169. copying the image data, do this from the most significant bit
  170. (leftmost) to the least (rightmost), to avoid mirroring.
  171. * src/nsterm.m (ns_draw_fringe_bitmap): Don't invert the image bits.
  172. Add support for periodic images (e.g. the empty line indicator).
  173. 2015-11-03 Michael Heerdegen <michael_heerdegen@web.de>
  174. * lisp/emacs-lisp/pcase.el (pcase): Tweak docstring.
  175. 2015-11-03 Nicolas Petton <nicolas@petton.fr>
  176. * admin/MAINTAINERS: Add seq-tests.el, map-tests.el, and thunk-tests.el.
  177. * admin/MAINTAINERS: Add thunk.el.
  178. 2015-11-03 Jay Belanger <jay.p.belanger@gmail.com>
  179. * lisp/calc/calc (calc-bug-address): Change maintainer address.
  180. 2015-11-03 Michael Albinus <michael.albinus@gmx.de>
  181. Fix a stupid error in gfilenotify.c
  182. * src/gfilenotify.c (dir_monitor_callback): Cancel monitor only,
  183. if we've got a `deleted' signal AND the file name is the watched one.
  184. 2015-11-03 Stephen Leake <stephen_leake@stephe-leake.org>
  185. Fix Bug#21816; case insensitive file system in elisp-mode-tests.el
  186. * test/automated/elisp-mode-tests.el (xref-elisp-test-run):
  187. Use case-insensitive string compare for file names.
  188. (emacs-test-dir): Add 'downcase' to cause case differences (at
  189. least on my system).
  190. 2015-11-02 Juanma Barranquero <lekktu@gmail.com>
  191. flymake-tests.el (warning-predicate-rx-gcc): Fix check
  192. * test/automated/flymake-tests.el (warning-predicate-rx-gcc):
  193. Also check that "make" is available, not just "gcc".
  194. 2015-11-02 Ken Brown <kbrown@cornell.edu>
  195. Document behavior of collation on Cygwin
  196. * test/automated/fns-tests.el (fns-tests-collate-sort): Mark as
  197. expected failure on Cygwin.
  198. * doc/lispref/strings.texi (Text Comparison): Document that
  199. punctuation and whitespace are not ignored for sorting on Cygwin.
  200. 2015-11-02 Dani Moncayo <dmoncayo@gmail.com>
  201. * build-aux/msys-to-w32: Prevent double slashes in w32 path list.
  202. 2015-11-01 Glenn Morris <rgm@gnu.org>
  203. * lisp/progmodes/f90.el (f90-no-block-limit): Add associate.
  204. (Bug#21794)
  205. * test/automated/f90.el (f90-test-bug21794): New test.
  206. 2015-11-01 Juanma Barranquero <lekktu@gmail.com>
  207. Fix incompatibility with TCC in test for bug#18745
  208. * test/automated/process-tests.el (process-test-quoted-batfile):
  209. Remove spaces unrelated to the bug being tested.
  210. 2015-11-01 Michael Albinus <michael.albinus@gmx.de>
  211. Improve completion in tramp-gvfs.el
  212. * lisp/net/tramp-gvfs.el (tramp-zeroconf-parse-device-names):
  213. Rename from `tramp-zeroconf-parse-service-device-names'.
  214. (tramp-zeroconf-parse-webdav-device-names): Remove. Code merged
  215. with `tramp-zeroconf-parse-device-names'.
  216. (tramp-gvfs-parse-device-names): New defun.
  217. (top): Use it when `tramp-zeroconf-parse-device-names' is not
  218. applicable.
  219. * lisp/net/tramp.el (tramp-set-completion-function): The argument
  220. could also be a zeroconf service type.
  221. 2015-10-31 Thomas Fitzsimmons <fitzsim@fitzsim.org>
  222. * lisp/net/ntlm.el: Change version to 2.0.0.
  223. 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
  224. Fix bug#21762
  225. * lisp/progmodes/python.el (python-syntax-closing-paren-p): Check with
  226. `eql' instead of `=' to accommodate the case that (syntax-after (point))
  227. returns nil.
  228. * test/automated/python-tests.el (python-indent-inside-paren-7):
  229. New test.
  230. 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
  231. * test/automated/python-tests.el: Avoid warnings.
  232. (python-tests-with-temp-buffer, python-tests-with-temp-file):
  233. Bind `python-indent-guess-indent-offset' to nil.
  234. 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
  235. * src/alloc.c: Silence compiler warnings.
  236. (pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): #ifdef DOUG_LEA_MALLOC.
  237. 2015-10-31 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
  238. * etc/NEWS: Fix js-jsx-mode entry punctuation.
  239. 2015-10-31 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
  240. Add JSX indentation via js-jsx-mode (Bug#21799)
  241. * progmodes/js.el: Add JSX indentation support.
  242. (js--jsx-end-tag-re)
  243. (js--jsx-after-tag-re): New variables.
  244. (js--jsx-find-before-tag)
  245. (js--jsx-indented-element-p)
  246. (js--as-sgml)
  247. (js--expression-in-sgml-indent-line)
  248. (js-jsx-indent-line)
  249. (js-jsx-mode): New functions.
  250. * test/indent/js-jsx.el: New file.
  251. * etc/NEWS: Add information about js-jsx-mode.
  252. 2015-10-31 Michael Albinus <michael.albinus@gmx.de>
  253. Minor fix in filenotify.el
  254. * lisp/filenotify.el (file-notify--event-file-name)
  255. (file-notify--event-file1-name): Normalize result with
  256. `directory-file-name'.
  257. 2015-10-31 Eli Zaretskii <eliz@gnu.org>
  258. Avoid errors in redisplay--pre-redisplay-functions
  259. * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't
  260. use 'bobp', instead compare window-point with 1. (Bug#21730)
  261. 2015-10-30 Paul Eggert <eggert@cs.ucla.edu>
  262. Merge from gnulib
  263. This incorporates:
  264. 2015-10-30 intprops: add WRAPV and const flavors for GCC 5
  265. 2015-10-25 stdalign: port to Sun C 5.9
  266. * doc/misc/texinfo.tex, lib/intprops.h, lib/stdalign.in.h:
  267. Copy from gnulib.
  268. 2015-10-30 Eli Zaretskii <eliz@gnu.org>
  269. * src/w32proc.c (_NLSCMPERROR): Fix a typo in the name of this macro.
  270. (w32_compare_strings): Adjust for the correction.
  271. 2015-10-30 Michael Albinus <michael.albinus@gmx.de>
  272. * test/automated/vc-tests.el (vc-test--state)
  273. (vc-test--working-revision, vc-test--checkout-model):
  274. Add result messages.
  275. 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
  276. * test/automated/faces-tests.el: Add another test
  277. 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
  278. * lisp/faces.el (faces--attribute-at-point): Fix bug
  279. introduced by previous commit.
  280. 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
  281. * test/automated/faces-tests.el: New file.
  282. 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
  283. * lisp/faces.el: Refactor common code and fix a bug.
  284. (faces--attribute-at-point): New function. Fix a bug when the
  285. face at point is a list of faces and the desired attribute is not
  286. on the first one.
  287. (foreground-color-at-point, background-color-at-point): Use it.
  288. 2015-10-30 Przemysław Wojnowski <esperanto@cumego.com>
  289. * etc/tutorials/TUTORIAL.translators: Fix PL names.
  290. 2015-10-30 Juanma Barranquero <lekktu@gmail.com>
  291. * lisp/character-fold.el: Provide `character-fold'.
  292. 2015-10-30 Tassilo Horn <tsdh@gnu.org>
  293. * etc/themes/tsdh-dark-theme.el (tsdh-dark): Add more faces
  294. for Gnus and ivy.
  295. 2015-10-30 Michael Albinus <michael.albinus@gmx.de>
  296. Some minor fixes for tramp-gvfs.el
  297. * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
  298. An attribute returned by gvfs-info might be empty. In case of
  299. undetermined uid or gid, return "UNKNOWN" or -1, respectively.
  300. (tramp-zeroconf-parse-service-device-names): New defun.
  301. Derived from `tramp-zeroconf-parse-workstation-device-names'.
  302. (top): Add completion functions for "afp" and "smb" methods.
  303. 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
  304. * test/automated/character-fold-tests.el: New file
  305. 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
  306. * test/automated/sort-tests.el: New file.
  307. Tests in this file are randomly generated and then tested with
  308. regular, reverse, and case-fold sorting.
  309. 2015-10-30 Eli Zaretskii <eliz@gnu.org>
  310. Describe known problems with pinning Emacs to taskbar
  311. * etc/PROBLEMS: Describe the problem with pinning Emacs to taskbar
  312. on Windows 10. For the details, see the discussion starting at
  313. http://lists.gnu.org/archive/html/help-emacs-windows/2015-09/msg00000.html.
  314. 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
  315. * lisp/isearch.el: Avoid an error that blocks isearch.
  316. (isearch-update): Don't error if `isearch--current-buffer' has
  317. been killed.
  318. * test/automated/isearch-tests.el (isearch--test-update):
  319. New file.
  320. 2015-10-30 Phil Sainty <psainty@orcon.net.nz>
  321. Fix documentation of 'beginning/end-of-buffer'
  322. * lisp/simple.el (beginning-of-buffer, end-of-buffer): Clarify
  323. conditions under which the mark will be pushed at the previous
  324. position. (Bug#21748)
  325. 2015-10-30 Tassilo Horn <tsdh@gnu.org>
  326. Add RefTeX feature idea: editing RefTeX TOC buffers
  327. More face defs for ivy, swiper, ace-window, eshell
  328. 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
  329. * lisp/gnus/auth-source.el: Silence lexical-binding warnings.
  330. (auth-source-netrc-use-gpg-tokens): Simplify (symbol-value 'VAR) to
  331. just VAR.
  332. (auth-source-backend-parse): Use make-instance.
  333. (auth-source-search): Remove unused key args.
  334. Remove unused vars `accessor-key' and `backend'. Avoid `eval'.
  335. (auth-source-search-backends): Use slot names rather than their initarg.
  336. (auth-source-netrc-create):
  337. (auth-source-delete):
  338. (auth-source-secrets-create, auth-source-plstore-search)
  339. (auth-source-macos-keychain-create, auth-source-macos-keychain-search)
  340. (auth-source-plstore-create, auth-source-netrc-search)
  341. (auth-source-netrc-parse): Remove unused key args.
  342. (auth-source-forget+): Simplify the arglist.
  343. (auth-source-macos-keychain-search-items)
  344. (auth-source-token-passphrase-callback-function): Mark unused args.
  345. (auth-source-epa-extract-gpg-token): Remove unused var `plain'.
  346. (pp-escape-newlines): Declare.
  347. (auto-source--symbol-keyword): New function.
  348. (auth-source-plstore-create, auth-source-netrc-create)
  349. (auth-source-netrc-normalize): Use it.
  350. (auth-source-netrc-search): Don't pass :delete to
  351. auth-source-netrc-parse since it doesn't use it.
  352. (auth-source-plstore-create, auth-source-netrc-create): Use plist-get
  353. symbol-value to index in keyword args.
  354. (auth-source-macos-keychain-result-append): Avoid setq.
  355. (auth-source-netrc-create): Remove unused vars `file' and `add'.
  356. (auth-source-user-or-password): Remove unused var `cname'.
  357. 2015-10-29 Juri Linkov <juri@linkov.net>
  358. * lisp/dired.el (dired-unmark-all-files-query): Declare.
  359. (dired-unmark-all-files): Let-bind it and use instead of ‘query’.
  360. (Bug#21746)
  361. 2015-10-29 Juri Linkov <juri@linkov.net>
  362. * lisp/ielm.el (ielm-indent-line): Use non-nil arg of comint-bol
  363. to go to the beginning of text line instead of command line.
  364. http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02360.html
  365. 2015-10-29 Eli Zaretskii <eliz@gnu.org>
  366. Fix encoding of saving *Help* buffers
  367. * lisp/help-fns.el (describe-function-1): If we use curved quotes,
  368. set help buffer's buffer-file-coding-system to UTF-8. (Bug#21780)
  369. 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
  370. * lisp/emacs-lisp/cl-generic.el: Add (major-mode MODE) context.
  371. (cl--generic-derived-specializers): New function.
  372. (cl--generic-derived-generalizer): New generalizer.
  373. (cl-generic-generalizers): New specializer (derived-mode MODE).
  374. (cl--generic-split-args): Apply the rewriter, if any.
  375. (cl-generic-define-context-rewriter): New macro.
  376. (major-mode): Use it to define a new context-rewriter, so we can write
  377. `(major-mode MODE)' instead of `(major-mode (derived-mode MODE))'.
  378. * lisp/frame.el (window-system): New context-rewriter so we can write
  379. `(window-system VAL)' instead of (window-system (eql VAL)).
  380. (cl--generic-split-args): Apply the rewriter, if any.
  381. (frame-creation-function): Use the new syntax.
  382. * lisp/term/x-win.el (window-system-initialization)
  383. (handle-args-function, frame-creation-function)
  384. (gui-backend-set-selection, gui-backend-selection-owner-p)
  385. (gui-backend-selection-exists-p, gui-backend-get-selection):
  386. * lisp/term/w32-win.el (window-system-initialization)
  387. (handle-args-function, frame-creation-function)
  388. (gui-backend-set-selection, gui-backend-get-selection)
  389. (gui-backend-selection-owner-p, gui-backend-selection-exists-p):
  390. * lisp/term/pc-win.el (gui-backend-get-selection)
  391. (gui-backend-selection-exists-p, gui-backend-selection-owner-p)
  392. (gui-backend-set-selection, window-system-initialization)
  393. (frame-creation-function, handle-args-function):
  394. * lisp/term/ns-win.el (window-system-initialization)
  395. (handle-args-function, frame-creation-function)
  396. (gui-backend-set-selection, gui-backend-selection-exists-p)
  397. (gui-backend-get-selection):
  398. * lisp/startup.el (handle-args-function):
  399. * lisp/term/xterm.el (gui-backend-get-selection)
  400. (gui-backend-set-selection): Use the new syntax.
  401. 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
  402. * test/indent/css-mode.css: Add tests for url(...) syntax.
  403. 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
  404. * lisp/emacs-lisp/smie.el: Use `declare' for `pure'.
  405. (smie-precs->prec2, smie-merge-prec2s, smie-bnf->prec2)
  406. (smie-prec2->grammar): Use `declare'.
  407. 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
  408. * lisp/emacs-lisp/cl-generic.el: Accomodate future changes.
  409. (cl--generic-generalizer): Add `name' field.
  410. (cl-generic-make-generalizer): Add corresponding `name' argument.
  411. (cl-generic-define-generalizer): New macro.
  412. (cl--generic-head-generalizer, cl--generic-eql-generalizer)
  413. (cl--generic-struct-generalizer, cl--generic-typeof-generalizer)
  414. (cl--generic-t-generalizer): Use it.
  415. (cl-generic-ensure-function): Add `noerror' argument.
  416. (cl-generic-define): Use it so we don't follow aliases.
  417. (cl-generic-define-method): Preserve pre-existing ordering of methods.
  418. (cl--generic-arg-specializer): New function.
  419. (cl--generic-cache-miss): Use it.
  420. (cl-generic-generalizers): Only fset a temporary definition
  421. during bootstrap.
  422. (cl--generic-struct-tag, cl--generic-struct-specializers):
  423. Allow extra arguments.
  424. * lisp/emacs-lisp/eieio-compat.el
  425. (eieio--generic-static-symbol-generalizer)
  426. (eieio--generic-static-object-generalizer):
  427. Use cl-generic-define-generalizer.
  428. (eieio--generic-static-symbol-specializers): Allow extra arguments.
  429. * lisp/emacs-lisp/eieio-core.el (eieio--generic-generalizer)
  430. (eieio--generic-subclass-generalizer):
  431. Use cl-generic-define-generalizer.
  432. (eieio--generic-subclass-specializers): Allow extra arguments.
  433. 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
  434. * lisp/emacs-lisp/bytecomp.el (compile-defun): Add defvars in scope.
  435. 2015-10-29 Michael Albinus <michael.albinus@gmx.de>
  436. Add "afp" method to Tramp
  437. * doc/misc/tramp.texi (GVFS based methods): Describe `afp' method.
  438. * lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "afp" method.
  439. (tramp-gvfs-handle-expand-file-name)
  440. (tramp-gvfs-handler-mounted-unmounted)
  441. (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec)
  442. (tramp-gvfs-maybe-open-connection): Support also "afp".
  443. (tramp-gvfs-handle-file-attributes): Handle the case of empty
  444. "owner::user" and "owner::group" entries.
  445. 2015-10-29 Andy Moreton <andrewjmoreton@gmail.com>
  446. Handle negative coordinates in ‘x_calc_absolute_position’
  447. * src/w32term.c (x_calc_absolute_position): Find display origin to
  448. allow for negative coordinates.
  449. 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
  450. (internal--syntax-propertize): Save match-data here (bug#21766)
  451. * lisp/emacs-lisp/syntax.el (internal--syntax-propertize): Save match-data.
  452. * lisp/simple.el (delete-trailing-whitespace): Undo last change.
  453. 2015-10-28 Dmitry Gutov <dgutov@yandex.ru>
  454. Don't require default-directory to end with a slash
  455. * doc/lispref/files.texi (Magic File Names): Document the change
  456. in unhandled-file-name-directory.
  457. * lisp/url/url-handlers.el
  458. (url-handler-unhandled-file-name-directory): Update accordingly.
  459. * src/buffer.c (default-directory): Update the docsting.
  460. * src/fileio.c (unhandled-file-name-directory): Default to calling
  461. `file-name-as-directory'
  462. (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02294.html).
  463. 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
  464. * lisp/isearch.el: Delete some outdated comments.
  465. 2015-10-28 Vibhav Pant <vibhavp@gmail.com>
  466. Fix eshell/clear not working if the output has a small line count
  467. * lisp/eshell/esh-mode.el (eshell/clear): Use (window-size) as the
  468. number of newlines to be inserted. This fixes the issue where
  469. eshell/clear wouldn't work if the prompt was not at the bottom of the
  470. window, and the output wasn't too long.
  471. 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
  472. * lisp/files.el (write-file): Use vc-refresh-state.
  473. * lisp/autorevert.el (auto-revert-handler): Use vc-refresh-state.
  474. * lisp/vc/pcvs.el (cvs-revert-if-needed): Use vc-refresh-state.
  475. 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
  476. * lisp/emacs-lisp/macroexp.el: Tweak macroexp-if optimizations.
  477. (macroexp-unprogn): Make sure we never return an empty list.
  478. (macroexp-if): Remove unused (and unsafe) optimization.
  479. Optimize (if A T (if B T E)) into (if (or A B) T E) instead, which does
  480. occur occasionally.
  481. 2015-10-28 Juanma Barranquero <lekktu@gmail.com>
  482. Fix bug#21766 and add test
  483. * lisp/simple.el (delete-trailing-whitespace): Save match data when
  484. calling `skip-syntax-backward'.
  485. * test/automated/simple-test.el (simple-delete-trailing-whitespace):
  486. New test.
  487. 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
  488. * doc/lispref/sequences.texi (Sequence Functions): Fix typo.
  489. 2015-10-28 Paul Eggert <eggert@cs.ucla.edu>
  490. * src/dispnew.c (init_display): Simplify overflow checking.
  491. 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
  492. * lisp/character-fold.el (character-fold-to-regexp): Fix case
  493. where string ends in space
  494. 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
  495. * lisp/emacs-lisp/seq.el (seq-mapn): New function.
  496. * doc/lispref/sequences.texi (Sequence Functions): Document seq-mapn.
  497. 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
  498. * lisp/character-fold.el: Make compatible with lax-whitespace.
  499. (character-fold-to-regexp): Rework internals to play nice with
  500. lax-whitespacing.
  501. When the user types a space, we want to match the table entry for
  502. ?\s, which is generally a regexp like "[ ...]". However, the
  503. `search-spaces-regexp' variable doesn't "see" spaces inside these
  504. regexp constructs, so we need to use "\\( \\|[ ...]\\)" instead (to
  505. manually expose a space).
  506. Furthermore, the lax search engine acts on a bunch of spaces, not
  507. on individual spaces, so if the string contains sequential spaces
  508. like " ", we need to keep them grouped together like this:
  509. "\\( \\|[ ...][ ...]\\)".
  510. 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
  511. * lisp/isearch.el: Refactor momentary messages.
  512. (isearch--momentary-message): New function.
  513. (isearch-toggle-lax-whitespace, isearch-toggle-case-fold)
  514. (isearch-toggle-invisible): Use it.
  515. 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
  516. * lisp/isearch.el: Define all toggles with `isearch-define-mode-toggle'.
  517. (isearch-define-mode-toggle): New macro.
  518. (isearch-toggle-invisible): Rename to
  519. `isearch-define-mode-toggle'.
  520. (isearch-toggle-case-fold, isearch-toggle-invisible)
  521. (isearch-toggle-regexp, isearch-toggle-lax-whitespace): Define
  522. with `isearch-define-mode-toggle'.
  523. 2015-10-28 Michael Albinus <michael.albinus@gmx.de>
  524. Avoid using `add-to-list' on a let-local var in tramp-smb.el
  525. * lisp/net/tramp-compat.el (tramp-compat-delete-dups): New defun.
  526. * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Use it.
  527. 2015-10-28 Anders Lindgren <andlind@gmail.com>
  528. Merge branch 'master' of /Volumes/HD2/build/emacs-git-ssh
  529. Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/emacs
  530. Merge branch 'master' of /Volumes/HD2/build/emacs-git-ssh
  531. 2015-10-28 Michael Albinus <michael.albinus@gmx.de>
  532. * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files):
  533. Revert 692bce5b9eccfae19ae2a5a23a9ccd8d6bf86076, `delete-dups'
  534. does not exist in XEmacs 21.4.
  535. 2015-10-28 Anders Lindgren <andlind@gmail.com>
  536. Fixed OS X startup crash
  537. Input events started to arrive before ns_term_init() was finished.
  538. Solved by blocking input. This also seems to correct the "You
  539. can't open the application "Emacs" because it may be damaged or
  540. incomplete" error issued when double-clicking on the Emacs
  541. application.
  542. * nsterm.m (ns_constrain_all_frames, ns_init_term): Block input.
  543. * nsterm.m (ns_send_appdefined, EmacsApp): Trace output.
  544. 2015-10-28 Anders Lindgren <andlind@gmail.com>
  545. Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/emacs
  546. 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
  547. * src/process.c (Fget_buffer_process): Improve docstring.
  548. Document the fact that it doesn't return dead processes.
  549. 2015-10-28 Anders Lindgren <andlind@gmail.com>
  550. Fix incorrect NextStep tool-bar-mode -- wrong number of rows in frame.
  551. * nsterm.h (struct ns_output): New flag, in_animation.
  552. * nsfns.m (Fx_create_frame): Initialize in_animation flag.
  553. * nsmenu.m (free_frame_tool_bar, update_frame_tool_bar): Set
  554. in_animation flag around call to "setVisible". Set new tool bar
  555. height before call to setVisible.
  556. * nsterm.m (x_set_window_size): Don't call [view setRow:
  557. andColumns:] as this fools the subsequent call to updateFrameSize
  558. from performing the real resize.
  559. (windowDidResize): Don't update anything when in_animation is
  560. non-zero.
  561. Trace output.
  562. * nsmenu.m (free_frame_tool_bar, update_frame_tool_bar)
  563. (EmacsToolbar):
  564. * nsterm.m (x_set_window_size, updateFrameSize)
  565. ([EmacsView setRows: andColumns:])
  566. 2015-10-28 Nicolas Petton <nicolas@petton.fr>
  567. * lisp/emacs-lisp/thunk.el (thunk-delay): Fix the macro.
  568. 2015-10-28 Tassilo Horn <tsdh@gnu.org>
  569. Prettify TeX macros not ending in a word char
  570. * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
  571. Prettify macros which don't end in a word character.
  572. 2015-10-27 Dmitry Gutov <dgutov@yandex.ru>
  573. Pipe Hg commit descriptions through 'tabindent'
  574. * lisp/vc/vc-hg.el (vc-hg-log-format): Pipe commit description
  575. through 'tabindent'.
  576. (vc-hg-log-view-mode): Set tab-width to 2 locally.
  577. (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02259.html)
  578. 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
  579. * lisp/net/tramp-smb.el: Avoid using `add-to-list' on a let-local var.
  580. (tramp-smb-handle-directory-files): Use `delete-dups'.
  581. * lisp/net/tramp.el (auto-save-file-name-transforms): Declare.
  582. 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
  583. * lisp/international/ccl.el: Use lexical-binding.
  584. (ccl-compile-if): Remove unused var `false-ic'.
  585. (ccl-compile-write-repeat): Remove unused var `i'.
  586. (ccl-compile-map-single): Remove unused var `id'.
  587. (ccl-dump, ccl-dump-binary): Use explicit let-binding to bind the
  588. dynamic var `ccl-code'.
  589. 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
  590. * lisp/json.el (json-new-object): Optimize trivial `list' call.
  591. 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
  592. * lisp/help.el: Fix bug with incorrect arglist string.
  593. (help-add-fundoc-usage): Don't mistake a mis-formatted string
  594. for a list.
  595. 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
  596. * lisp/gnus/gnus-topic.el: Silence some warnings.
  597. (gnus-topic-prepare-topic): Remove unused var `topic'.
  598. (gnus-topic-remove-topic): Mark unused arg `hide'.
  599. (gnus-tmp-header): Declare.
  600. (gnus-topic-goto-missing-group): Remove unused var `entry'.
  601. (gnus-topic-unmark-topic): Mark unused arg `dummy'.
  602. (gnus-topic-copy-matching): Mark unused arg `copyp'.
  603. Move initialization of `topic' into its declaration.
  604. 2015-10-27 Stephen Leake <stephen_leake@stephe-leake.org>
  605. Minor CEDET fixes
  606. * lisp/cedet/cedet-global.el (cedet-gnu-global-gtags-call):
  607. Handle warnings from gtags about invalid options.
  608. (cedet-gnu-global-create/update-database): Do incremental update
  609. properly.
  610. * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
  611. Get monotone root right.
  612. 2015-10-27 Michael Albinus <michael.albinus@gmx.de>
  613. Fall back to polling in autorevert when needed
  614. * lisp/autorevert.el (auto-revert-notify-handler): When a
  615. `stopped' event arrives from file notification, fall back to polling.
  616. * test/automated/file-notify-tests.el
  617. (file-notify-test03-autorevert): Extend test for polling when file
  618. notification ceases to work.
  619. 2015-10-27 Dmitry Gutov <dgutov@yandex.ru>
  620. Show full commit messages in 'hg log' when appropriate
  621. * lisp/vc/vc-hg.el (vc-hg-log-format): New variable.
  622. (vc-hg-print-log, vc-hg-expanded-log-entry): Use it.
  623. (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02191.html)
  624. 2015-10-27 Nicolas Petton <nicolas@petton.fr>
  625. Use a plain SVG file for the icon
  626. * etc/images/icons/hicolor/scalable/apps/emacs.svg: Use a plain SVG
  627. format instead of the Inkscape SVG format.
  628. 2015-10-27 Michael Albinus <michael.albinus@gmx.de>
  629. Fix subtle bug in auto-revert-tests.el
  630. * test/automated/auto-revert-tests.el
  631. (auto-revert-test02-auto-revert-mode-dired): Narrow *Messages*
  632. buffer where it belongs to. (Bug#21668)
  633. 2015-10-26 Nicolas Petton <nicolas@petton.fr>
  634. * lisp/emacs-lisp/map.el: Better docstrings.
  635. * lisp/emacs-lisp/seq.el: Better docstrings.
  636. * lisp/emacs-lisp/seq.el: Rename all seq arguments to sequence.
  637. 2015-10-26 Phillip Lord <phillip.lord@russet.org.uk>
  638. * lisp/emacs-lisp/ert.el: Print results without newline escaping.
  639. 2015-10-26 Stephen Leake <stephen_leake@stephe-leake.org>
  640. Clarify that load-path contents should be directory file names
  641. * doc/lispref/files.texi (Directory Names): Define and use "directory
  642. file name". Recommend `expand-file-name'.
  643. * src/lread.c (load-path): Fix doc string; elements are directory file
  644. names.
  645. 2015-10-26 Eli Zaretskii <eliz@gnu.org>
  646. Fix simple-test.el test
  647. * test/automated/simple-test.el (simple-test--dummy-buffer):
  648. Make sure indentation doesn't use TABs, otherwise the 6th test
  649. might fail.
  650. 2015-10-26 Mark Oteiza <mvoteiza@udel.edu>
  651. * lisp/net/eww.el (eww-bookmark-prepare): Use truncate-string-to-width.
  652. `substring' does not account for full width characters.
  653. 2015-10-26 Michael Albinus <michael.albinus@gmx.de>
  654. Further work on `stopped' events in filenotify.el
  655. * doc/lispref/os.texi (File Notifications): Rework examples.
  656. * lisp/filenotify.el (file-notify--rm-descriptor): Optional parameter.
  657. (file-notify--rm-descriptor, file-notify-callback): Improve check
  658. for sending `stopped' event.
  659. (file-notify-add-watch): Check for more events for `inotify'.
  660. * test/automated/file-notify-tests.el
  661. (file-notify--test-expected-events): New defvar.
  662. (file-notify--test-with-events): Use it.
  663. (file-notify--test-cleanup): Make it more robust when deleting
  664. directories.
  665. (file-notify--test-event-test): Check also for watched directories.
  666. (file-notify--test-event-handler): Suppress temporary .#files.
  667. (file-notify-test02-events, file-notify-test04-file-validity):
  668. Rework `stopped' events.
  669. (file-notify-test05-dir-validity): Wait for events when appropriate.
  670. 2015-10-26 Artur Malabarba <bruce.connor.am@gmail.com>
  671. * src/keyboard.c (post-command-hook): Shorten docstring.
  672. 2015-10-26 Tassilo Horn <tsdh@gnu.org>
  673. Fix infinite loop in sh-script's SMIE code
  674. * lisp/progmodes/sh-script.el (sh-smie-sh-forward-token): Fix infinite
  675. loop (bug#21747).
  676. 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
  677. * lisp/isearch.el (search-default-regexp-mode): Revert to nil.
  678. Character-fold search _still_ doesn't play well with
  679. lax-whitespace. So disable it by default (again) for now.
  680. 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
  681. * lisp/isearch.el: No visual feedback for default search mode.
  682. During an isearch where character-folding is the default, we don't
  683. want to take up minibuffer space just to tell the user that
  684. "Char-fold " is on. The same goes for other modes, if the user
  685. changes the default. In contrast, if the user toggles OFF the
  686. default mode, they should see "Literal", to distinguish it from
  687. the default mode.
  688. (isearch--describe-regexp-mode): Return "" if describing the
  689. default mode, and return "literal " if describing a plain search
  690. and it is not default.
  691. 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
  692. * test/automated/simple-test.el: New file.
  693. Define tests for `newline' and `open-line'.
  694. 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
  695. * lisp/simple.el (open-line): Integrate with electric-indent-mode.
  696. Also run `post-self-insert-hook' when called interactively.
  697. 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
  698. * lisp/simple.el (open-line): Fix docstring.
  699. Also explain apparently redundant line.
  700. 2015-10-25 Thomas Fitzsimmons <fitzsim@fitzsim.org>
  701. Alexandru Harsanyi <AlexHarsanyi@gmail.com>
  702. Sync with soap-client repository, version 3.0.1
  703. * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
  704. Bump version to 3.0.1.
  705. * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Update home page.
  706. 2015-10-25 Eli Zaretskii <eliz@gnu.org>
  707. * lisp/progmodes/grep.el (grep): Doc fix. (Bug#21754)
  708. 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
  709. * src/keyboard.c (post-command-hook): Extend the docstring.
  710. Mainly, explain how to use it without hanging Emacs, or giving the
  711. impression that it is hanging. Also mention `pre-command-hook'.
  712. (pre-command-hook): Mention `post-command-hook'.
  713. 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
  714. * lisp/custom.el (custom-declare-variable): Shorten code again.
  715. Without using pcase this time. We can't use pcase because it is
  716. loaded after custom in loadup.el. Also add a comment explaining
  717. this to future dummies like me.
  718. 2015-10-25 Michael Albinus <michael.albinus@gmx.de>
  719. * doc/lispref/os.texi (File Notifications): Document `stopped event'.
  720. 2015-10-25 Michael Albinus <michael.albinus@gmx.de>
  721. Introduce `stopped' event in file notification
  722. * lisp/filenotify.el (file-notify--rm-descriptor): New defun.
  723. (file-notify-rm-watch): Use it.
  724. (file-notify-callback): Implement `stopped' event.
  725. (file-notify-add-watch): Mention `stopped' in the docstring.
  726. Check, that upper directory exists.
  727. * test/automated/file-notify-tests.el (file-notify-test01-add-watch):
  728. Add two test cases.
  729. (file-notify-test02-events): Handle also `stopped' event.
  730. (file-notify-test04-file-validity): Add another test case.
  731. 2015-10-25 Paul Eggert <eggert@cs.ucla.edu>
  732. Revert commit that broke 'make bootstrap'
  733. * lisp/custom.el (custom-declare-variable): Revert commit
  734. 79fac080d277fed07b3c192890ad59d36d9f83b6. custom.el needs to work
  735. even when pcase has not been defined yet, when doing bootstrapping.
  736. 2015-10-25 Paul Eggert <eggert@cs.ucla.edu>
  737. Port recent inline functions fix to Standard C
  738. * src/lisp.h (LISP_MACRO_DEFUN, LISP_MACRO_DEFUN_VOID): Remove.
  739. All uses rewritten to define the function directly rather than to
  740. use a macro to define the function. This conforms to Standard C,
  741. which does not allow stray semicolons at the top level. I hope it
  742. also avoids the problems with TAGS. Those macros, though clever,
  743. were pretty confusing anyway, and it wasn’t clear they were worth
  744. the aggravation even without the TAGS problem.
  745. 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
  746. * lisp/isearch.el: Make character-fold search the default again.
  747. 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
  748. * lisp/character-fold.el: Many improvements.
  749. (character-fold-search-forward, character-fold-search-backward):
  750. New command.
  751. (character-fold-to-regexp): Remove lax-whitespace hack.
  752. (character-fold-search): Remove variable. Only isearch and
  753. query-replace use char-folding, and they both have their own
  754. variables to configure that.
  755. 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
  756. * lisp/isearch.el: Generalize definition of regexp-function toggles.
  757. (isearch-specify-regexp-function): New macro for specifying
  758. possible values of `isearch-regexp-function'.
  759. (isearch-toggle-character-fold, isearch-toggle-symbol)
  760. (isearch-toggle-word): Define with `isearch-specify-regexp-function'.
  761. 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
  762. * lisp/isearch.el (search-default-regexp-mode): New variable.
  763. (isearch-mode): Use it.
  764. 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
  765. * lisp/isearch.el (search-exit-option, search-slow-window-lines)
  766. (search-slow-speed, search-upper-case)
  767. (search-nonincremental-instead, search-whitespace-regexp)
  768. (search-invisible, isearch-hide-immediately)
  769. (isearch-resume-in-command-history, search-ring-max)
  770. (regexp-search-ring-max, search-ring-update, search-highlight)
  771. (isearch-fail): Delete :group entries.
  772. 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
  773. * lisp/custom.el (custom-declare-variable): Shorten code a bit.
  774. 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
  775. addpm.c: Silence some warnings.
  776. * nt/addpm.c (DdeCommand): Cast pData argument of DdeClientTransaction
  777. to LPBYTE.
  778. (add_registry): Pass NULL to optional lpClass argument of
  779. RegCreateKeyEx, not an empty string.
  780. 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
  781. addpm.c: Do not add obsolete GTK libraries to the path.
  782. * nt/addpm.c (REG_GTK, REG_RUNEMACS_PATH): Delete.
  783. (add_registry): Remove variables `size' and `gtk_key'.
  784. Do not add the GTK DLL directory to the library search path; it is
  785. confusing behavior (in particular, the same Emacs version with and
  786. without invoking addpm will use a different path), and the GTK image
  787. libraries are obsolete anyway.
  788. 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
  789. addpm.c: Replace existing registry entries, but do not create new ones
  790. * nt/addpm.c (add_registry): If the Emacs registry key exists, replace
  791. existing values from previous versions, but do not add new ones; the
  792. key could exist for other reasons unrelated to old Emacsen, like X-style
  793. resources, or to set some environment variables like HOME or LANG, and
  794. in that case we don't want to populate it with obsolete values.
  795. 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
  796. * nt/addpm.c (add_registry): Do not compute unused return value.
  797. 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
  798. addpm.c: Don't pass REG_OPTION_NON_VOLATILE to RegOpenKeyEx
  799. * nt/addpm.c (add_registry): Pass 0 to ulOptions argument of
  800. RegOpenKeyEx, not REG_OPTION_NON_VOLATILE. This doesn't change
  801. current behavior because REG_OPTION_NON_VOLATILE is defined to
  802. be 0L anyway, but that option is actually documented only for
  803. RegCreateKeyEx.
  804. 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
  805. * src/w32notify.c (Fw32notify_add_watch): Fix version check.
  806. 2015-10-24 Eli Zaretskii <eliz@gnu.org>
  807. Update frame title when redisplay scrolls selected window
  808. * src/xdisp.c (redisplay_window): Reconsider the frame's title
  809. when the mode-line of the frame's selected window needs to be
  810. updated.
  811. 2015-10-24 Eli Zaretskii <eliz@gnu.org>
  812. Update frame title when scrolling the selected window
  813. * src/window.c (wset_update_mode_line): New function, sets either
  814. the window's update_mode_line flag or the global update_mode_lines
  815. variable.
  816. (Fset_window_start, set_window_buffer, window_scroll_pixel_based)
  817. (window_scroll_line_based): Call it instead of only setting the
  818. window's update_mode_line flag.
  819. 2015-10-24 Eli Zaretskii <eliz@gnu.org>
  820. An even better fix for bug#21739
  821. * src/window.c (set_window_buffer): If the window is the frame's
  822. selected window, set update_mode_lines, not the window's
  823. update_mode_line flag.
  824. * src/buffer.c (Fkill_buffer): Undo last change.
  825. (set_update_modelines_for_buf): Function deleted.
  826. 2015-10-24 Thomas Fitzsimmons <fitzsim@fitzsim.org>
  827. Alexandru Harsanyi <AlexHarsanyi@gmail.com>
  828. Sync with soap-client repository, version 3.0.0
  829. * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
  830. Bump version to 3.0.0.
  831. * lisp/net/soap-inspect.el: Merge in changes from Emacs master branch.
  832. * lisp/net/soap-client.el: Merge in changes from Emacs master branch.
  833. * lisp/net/soap-inspect.el: Shorten first line description.
  834. * lisp/net/soap-client.el: Make a small whitespace fix.
  835. * lisp/net/soap-inspect.el: Update copyright years.
  836. * lisp/net/soap-client.el (soap-encoded-namespaces): Move above
  837. first use in soap-encode-xs-element.
  838. * lisp/net/soap-client.el (soap-type-is-array?): new defun
  839. (soap-encode-xs-element): handle array elements in this function
  840. (soap-encode-xs-complex-type): flag error if asked to encode an
  841. array type, this is handled in `soap-encode-xs-element'
  842. * lisp/net/soap-inspect.el (soap-inspect-xs-attribute-group):
  843. Do not print type for attribute group.
  844. * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute-group)
  845. New function.
  846. (soap-inspect-xs-attribute-group): Likewise.
  847. * lisp/net/soap-inspect.el
  848. (soap-resolve-references-for-xs-attribute-group): Resolve
  849. references of attributes in an attribute group.
  850. * lisp/net/soap-client.el (soap-decode-xs-attributes): Process attribute
  851. type directly, not through soap-wsdl-get.
  852. * lisp/net/soap-client.el (soap-xs-parse-attribute): Leave reference
  853. nil if reference attribute is nil.
  854. * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
  855. Convert XML schema attributes to xsd:string.
  856. * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute):
  857. New function.
  858. (soap-sample-value-for-xs-simple-type): Prepend attributes to result.
  859. (soap-sample-value-for-xs-complex-type): Likewise.
  860. (soap-inspect-xs-attribute): New function.
  861. (soap-inspect-xs-simple-type): Print attributes.
  862. (soap-inspect-xs-complex-type): Likewise.
  863. * lisp/net/soap-inspect.el (soap-resolve-references-for-xs-simple-type):
  864. Resolve references for attributes.
  865. (soap-resolve-references-for-xs-complex-type): Likewise.
  866. * lisp/net/soap-client.el (soap-xml-node-find-matching-child):
  867. Rename from soap-xml-node-first-child.
  868. (soap-xs-parse-attribute): Call soap-xml-node-find-matching-child.
  869. (soap-xs-parse-simple-type): Likewise.
  870. * lisp/net/soap-client.el (soap-invoke-async): Add error checking.
  871. * lisp/net/soap-client.el (soap-invoke-internal): New function.
  872. (soap-invoke-async): Call soap-invoke-internal.
  873. (soap-invoke): Likewise.
  874. * lisp/net/soap-client.el (soap-invoke-async): Ensure buffer passed to
  875. url-retrieve callback is killed.
  876. * lisp/net/soap-client.el (soap-parse-wsdl-phase-validate-node):
  877. Rename function.
  878. (soap-parse-wsdl-phase-fetch-imports): Likewise.
  879. (soap-parse-wsdl-phase-parse-schema): Likewise.
  880. (soap-parse-wsdl-phase-fetch-schema): Likewise.
  881. (soap-parse-wsdl-phase-finish-parsing): Likewise.
  882. (soap-parse-wsdl): Update calls.
  883. * lisp/net/soap-client.el (soap-invoke-async): Fix callback invocation.
  884. * lisp/net/soap-client.el (soap-invoke-async): New function.
  885. (soap-invoke): Reimplement using soap-invoke-async.
  886. * lisp/net/soap-client.el (soap-parse-server-response):
  887. Improve docstring.
  888. (soap-invoke): Inline call to soap-parse-server-response.
  889. * lisp/net/soap-client.el (soap-decode-xs-complex-type):
  890. Prevent incorrect warning.
  891. * lisp/net/soap-client.el (soap-parse-server-response):
  892. Rename soap-process-url-response. Destroy the mime part.
  893. (soap-invoke): Call soap-parse-server-response.
  894. * lisp/net/soap-client.el: Update copyright date.
  895. * lisp/net/soap-client.el: Fix checkdoc issues.
  896. * lisp/net/soap-client.el: Fix indentation and long lines.
  897. * lisp/net/soap-client.el (soap-time-format): Remove variable.
  898. (soap-encode-xs-basic-type): Simplify date-time format detection.
  899. (soap-decode-xs-basic-type): Remove soap-time-format support.
  900. * lisp/net/soap-client.el (soap-process-url-response): New function.
  901. (soap-fetch-xml-from-url): Call soap-process-url-response.
  902. (soap-parse-wsdl-phase-1): New function.
  903. (soap-parse-wsdl-phase-2): Likewise.
  904. (soap-parse-wsdl-phase-3): Likewise.
  905. (soap-parse-wsdl-phase-4): Likewise.
  906. (soap-parse-wsdl-phase-5): Likewise.
  907. (soap-parse-wsdl): Call phase functions.
  908. * lisp/net/soap-client.el (soap-decode-xs-basic-type):
  909. Remove one-argument and call.
  910. * lisp/net/soap-client.el (soap-decode-date-time): Improve docstring.
  911. * lisp/net/soap-client.el (soap-xmlschema-imports): Remove variable.
  912. (soap-parse-schema): Add wsdl argument. Look up XML schema
  913. imports from wsdl.
  914. (soap-load-wsdl): Do not set soap-xmlschema-imports.
  915. (soap-parse-wsdl): Get XML schema imports from wsdl.
  916. * lisp/net/soap-client.el (soap-current-file): Remove variable.
  917. (soap-wsdl): Add current-file slot.
  918. (soap-fetch-xml-from-url): Add wsdl argument. Look up current
  919. file from wsdl.
  920. (soap-fetch-xml-from-file): Likewise.
  921. (soap-fetch-xml): Likewise.
  922. (soap-load-wsdl): Always create wsdl object first.
  923. (soap-parse-wsdl): Pass wsdl to soap-fetch-xml.
  924. * lisp/net/soap-client.el (soap-xs-element): Add is-group slot.
  925. (soap-xs-parse-element): Set is-group slot.
  926. (soap-resolve-references-for-xs-element): Skip is-group elements.
  927. (soap-xs-complex-type): Add is-group slot.
  928. (soap-xs-parse-complex-type): Set is-group slot.
  929. (soap-xs-parse-sequence): Parse xsd:group elements.
  930. (soap-resolve-references-for-xs-complex-type): Inline elements
  931. from referenced xsd:group nodes.
  932. (soap-parse-schema): Parse xsd:group nodes.
  933. * lisp/net/soap-client.el (soap-invoke):
  934. Don't set url-http-version to 1.0.
  935. * lisp/net/soap-client.el (soap-decode-xs-complex-type):
  936. Allow choice nodes to accept multiple values.
  937. * lisp/net/soap-client.el (soap-encode-body): Check parameters argument
  938. for extra header values.
  939. * lisp/net/soap-client.el (soap-well-known-xmlns):
  940. Add wsa and wsaw tags.
  941. (soap-operation): Add input-action and output-action slots.
  942. (soap-parse-operation): Parse wsaw:Action nodes.
  943. (soap-encode-body): Encode service-url for WS-Addressing.
  944. (soap-create-envelope): Likewise.
  945. (soap-invoke): Update soap-create-envelope call to provide
  946. service-url argument.
  947. * lisp/net/soap-client.el (soap-decode-xs-complex-type):
  948. Support xsi:type override attribute.
  949. (soap-decode-array): Likewise.
  950. * lisp/net/soap-client.el (soap-parse-schema):
  951. Handle location attribute.
  952. * lisp/net/soap-client.el (soap-decode-type): Check that multiRef
  953. matched validation regexp.
  954. * lisp/net/soap-client.el (soap-encode-xs-simple-type):
  955. Encode xsd:list nodes.
  956. (soap-decode-xs-simple-type): Decode xsd:list nodes.
  957. * lisp/net/soap-client.el (soap-get-candidate-elements):
  958. Fix reference handling.
  959. * lisp/net/soap-client.el (soap-xs-simple-type): Add is-list slot.
  960. (soap-xs-parse-simple-type): Call soap-xs-add-list for xsd:list nodes.
  961. (soap-xs-add-list): New function.
  962. * lisp/net/soap-client.el (soap-encode-xs-element): When a boolean is
  963. expected, interpret nil as "false".
  964. * lisp/net/soap-client.el (soap-make-xs-basic-types): Add gYearMonth,
  965. gYear, gMonthDay, gDay and gMonth.
  966. * lisp/net/soap-client.el (soap-time-format): New variable.
  967. (soap-encode-xs-basic-type): Handle dateTime, time, date,
  968. gYearMonth, gYear, gMonthDay, gDay and gMonth.
  969. (soap-decode-date-time): New function.
  970. (soap-decode-xs-basic-type): Use soap-decode-date-time.
  971. * lisp/net/soap-client.el (soap-encode-xs-basic-type): Validate value
  972. after encoding.
  973. (soap-decode-xs-basic-type): Validate value before decoding.
  974. * lisp/net/soap-client.el (soap-validate-xs-basic-type): New function.
  975. (soap-validate-xs-simple-type): Call soap-validate-xs-basic-type.
  976. * lisp/net/soap-client.el (soap-xs-add-union): Append result to base
  977. instead of overwriting it.
  978. (soap-validate-xs-simple-type): Add union support.
  979. * lisp/net/soap-client.el (soap-xs-add-restriction): Translate pattern
  980. to Emacs regexp using xsdre-translate.
  981. (soap-validate-xs-simple-type): Validate value against pattern.
  982. * lisp/net/soap-client.el (soap-xs-add-union): Preserve WSDL order of
  983. inline simpleType nodes.
  984. (soap-decode-type): Handle union types.
  985. * lisp/net/soap-client.el (soap-decode-xs-attributes): Decode basic-type
  986. attributes.
  987. * lisp/net/soap-client.el (soap-get-xs-attributes-from-groups): Rename
  988. from soap-xs-attribute-group-consolidate, all callers updated
  989. (soap-get-xs-attributes): Rename from
  990. soap-xs-attributes-consolidate, all callers updated
  991. * lisp/net/soap-client.el (soap-xs-type): Add attribute-group slot.
  992. (soap-xs-attribute-group): New type.
  993. (soap-xs-parse-attribute-group): New function.
  994. (soap-resolve-references-for-xs-attribute-group): Likewise.
  995. (soap-xs-add-extension): Handle attribute groups.
  996. (soap-resolve-references-for-xs-simple-type): Likewise.
  997. (soap-xs-parse-complex-type): Likewise.
  998. (soap-xs-parse-extension-or-restriction): Likewise.
  999. (soap-resolve-references-for-xs-complex-type): Likewise.
  1000. (soap-xs-attribute-group-consolidate): New function.
  1001. (soap-xs-attributes-consolidate): Handle attribute groups.
  1002. (soap-parse-schema): Likewise.
  1003. * lisp/net/soap-client.el (soap-encode-xs-basic-type):
  1004. Fix boolean encoding.
  1005. * lisp/net/soap-client.el (soap-encode-xs-complex-type): Print ref
  1006. element names in warnings.
  1007. * lisp/net/soap-client.el (soap-decode-xs-complex-type): Fix splicing.
  1008. * lisp/net/soap-client.el (soap-decode-xs-complex-type):
  1009. Eliminate invalid warnings for choice types.
  1010. * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
  1011. Also encode base type attributes.
  1012. * lisp/net/soap-client.el (soap-encode-xs-complex-type): Fix compilation
  1013. warning. Print e-name in warnings, or element if e-name is nil.
  1014. * lisp/net/soap-client.el (soap-xs-element): Add alternatives slot.
  1015. (soap-xs-parse-element): Set substitution-group.
  1016. (soap-resolve-references-for-xs-element): Populate alternatives slot.
  1017. (soap-get-candidate-elements): New function.
  1018. (soap-encode-xs-complex-type): Iterate through all candidate elements.
  1019. Handle types with nil type indicator. Fix warning logic.
  1020. * lisp/net/soap-client.el (soap-current-wsdl): Move declaration
  1021. earlier in the file to prevent compiler warning.
  1022. * lisp/net/soap-client.el (soap-node-optional): New function.
  1023. (soap-node-multiple): Likewise.
  1024. (soap-xs-parse-element): Call soap-node-optional and
  1025. soap-node-multiple.
  1026. (soap-xs-complex-type): Add optional? and multiple? slots.
  1027. (soap-xml-get-children-fq): New function.
  1028. (soap-xs-element-get-fq-name): Likewise.
  1029. (soap-xs-complex-type-optional-p): Likewise.
  1030. (soap-xs-complex-type-multiple-p): Likewise.
  1031. (soap-xs-attributes-consolidate): Likewise.
  1032. (soap-decode-xs-attributes): Likewise.
  1033. (soap-decode-xs-complex-type): Decode types with nil type indicator.
  1034. Support children that use local namespaces. Decode attributes.
  1035. Add type considerations to optional? and multiple? warnings.
  1036. * lisp/net/soap-client.el (soap-xs-parse-extension-or-restriction):
  1037. Store parsed attributes.
  1038. (soap-encode-xs-complex-type-attributes): Encode custom attributes.
  1039. * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
  1040. Don't add the xsi:type attribute (Exchange refuses requests which have
  1041. this attribute).
  1042. * lisp/net/soap-client.el, soap-inspect.el: Convert to lexical binding,
  1043. correct compiler warnings about unused function arguments and
  1044. local variables.
  1045. * lisp/net/soap-client.el (soap-decode-xs-complex-type): Handle nil
  1046. type indicator.
  1047. (soap-parse-envelope): Handle response headers.
  1048. (soap-parse-response): Likewise. Only return non-nil decoded values.
  1049. * lisp/net/soap-client.el (soap-validate-xs-simple-type):
  1050. Return validated value.
  1051. * lisp/net/soap-client.el (soap-xs-parse-element)
  1052. (soap-xs-parse-simple-type)
  1053. (soap-xs-parse-complex-type)
  1054. (soap-parse-message)
  1055. (soap-parse-operation): Add the current namespace to the element
  1056. being created.
  1057. (soap-resolve-references-for-xs-element)
  1058. (soap-resolve-references-for-xs-simple-type)
  1059. (soap-resolve-references-for-xs-complex-type)
  1060. (soap-resolve-references-for-operation): Resolve the namespace to
  1061. the namespace tag.
  1062. (soap-make-wsdl): specify a namespace tag when creating the xsd
  1063. and soapenc namespaces
  1064. (soap-wsdl-resolve-references): don't update namespace tags in
  1065. elements here
  1066. (soap-parse-port-type): bind the urn: to soap-target-xmlns
  1067. (soap-encode-body): don't add nil namespace tags to
  1068. soap-encoded-namespaces
  1069. * lisp/net/soap-inspect.el: Use `soap-make-wsdl` to construct the object
  1070. for registering the soap-inspect method. Make debbugs tests pass.
  1071. * lisp/net/soap-client.el (soap-decode-any-type): Use soap-l2fq on the
  1072. type name, also skip string only nodes when decoding a structure.
  1073. (soap-xs-parse-complex-type): (BUG) Dispatch parsing for choice
  1074. types too.
  1075. (soap-encode-body): Grab the header value from the param table.
  1076. * lisp/net/soap-client.el (soap-should-encode-value-for-xs-element):
  1077. New function.
  1078. (soap-encode-xs-element): Don't encode nil value unless needed.
  1079. * lisp/net/soap-client.el (soap-bound-operation): New slot `soap-body`.
  1080. (soap-parse-binding): Parse the message parts required in the body.
  1081. (soap-encode-body): Encode only the parts that are declared to be
  1082. part of the body.
  1083. * lisp/net/soap-client.el (soap-encode-xs-element): use the fq name
  1084. when writing out the tag.
  1085. (soap-encode-body): Remove hack that inserts the xmlns in the
  1086. element attributes list.
  1087. * lisp/net/soap-client.el (soap-xs-attribute): Add "default" slot.
  1088. (soap-xs-parse-attribute): Default slot is set from the XML
  1089. "fixed" attribute.
  1090. (soap-encode-xs-complex-type-attributes): Encode any attributes
  1091. that have a default value. Also, don't put the xsi:nil attribute
  1092. when the complex type has no content anyway.
  1093. * lisp/net/soap-client.el (soap-well-known-xmlns):
  1094. Add the xml namespace.
  1095. (soap-local-xmlns): Start with the xml namespace.
  1096. (soap-xml-node-first-child): Skip xsd:annotation nodes too.
  1097. (soap-make-xs-basic-types): More xsd types added.
  1098. (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
  1099. Handle "language", "time", "date", "nonNegativeInteger".
  1100. (soap-resolve-references-for-xs-element): Don't signal an error if
  1101. the element does not have a type.
  1102. (soap-xs-parse-simple-type): Subtypes are handled with ecase,
  1103. added stum for xsd:list.
  1104. (soap-xs-add-union): Call soap-l2fq on all union members.
  1105. (soap-xs-add-extension): Call soap-l2fq on the base member.
  1106. (soap-resolve-references-for-xs-simple-type): Don't signal an
  1107. error if the simple type has no base.
  1108. (soap-resolve-references-for-xs-simple-type): Bugfix, call
  1109. soap-wsdl-get on each type of the base.
  1110. * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
  1111. Referenced type can be eiher a simple type or a basic type.
  1112. (soap-xs-add-restriction)
  1113. (soap-xs-parse-extension-or-restriction): Use `soap-l2fq' on base.
  1114. (soap-make-xs-basic-types)
  1115. (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
  1116. Add support for more XMLSchema basic types.
  1117. (soap-current-file, soap-xmlschema-imports): New defvars.
  1118. (soap-parse-schema): Add locations from xsd:import tags to
  1119. `soap-xmlschema-imports'.
  1120. (soap-wsdl): Make destructor private.
  1121. (soap-make-wsdl): New defun, SOAP-WSDL object constructor.
  1122. (soap-wsdl-add-alias): Check if we try to replace aliases.
  1123. (soap-fetch-xml-from-url, soap-fetch-xml-from-file)
  1124. (soap-fetch-xml): New defuns.
  1125. (soap-load-wsdl): Update to load the WSDL from either a file or
  1126. an url.
  1127. (soap-load-wsdl-from-url): Now an alias to `soap-load-wsdl'.
  1128. (soap-parse-wsdl): Process wsdl:import tags and imports from
  1129. `soap-xmlschema-imports'.
  1130. * lisp/net/soap-client.el (soap-l2wk): Bugfix: call symbolp instead of
  1131. symbol-name.
  1132. (soap-l2fq): Make the name part always a string.
  1133. (soap-name-p): New defun, used for name tests.
  1134. * lisp/net/soap-inspect.el (soap-sample-value-for-xs-complex-type):
  1135. Supply sample values for choice types with a special tag.
  1136. * lisp/net/soap-client.el (soap-encode-xs-complex-type):
  1137. Handle anonymous elements correctly.
  1138. (soap-encode-value): Accept nodes that have no namespace tag.
  1139. * lisp/net/soap-client.el (soap-invoke): Encode the string for
  1140. `url-request-data' as UTF-8. Fixes issue 16.
  1141. 2015-10-24 Nicolas Petton <nicolas@petton.fr>
  1142. Update the new icon
  1143. Move the E slightly to the right in the circle.
  1144. * etc/images/icons/hicolor/128x128/apps/emacs.png:
  1145. * etc/images/icons/hicolor/16x16/apps/emacs.png:
  1146. * etc/images/icons/hicolor/24x24/apps/emacs.png:
  1147. * etc/images/icons/hicolor/32x32/apps/emacs.png:
  1148. * etc/images/icons/hicolor/48x48/apps/emacs.png:
  1149. * etc/images/icons/hicolor/scalable/apps/emacs.svg:
  1150. * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
  1151. * nt/icons/emacs.ico: New icom update.
  1152. 2015-10-24 Eli Zaretskii <eliz@gnu.org>
  1153. Avoid missing inline functions from lisp.h in TAGS
  1154. * src/lisp.h (LISP_MACRO_DEFUN): Mention in the commentary the
  1155. need to end each invocation with a semi-colon.
  1156. Add a semi-colon at the end of each invocation of LISP_MACRO_DEFUN
  1157. and LISP_MACRO_DEFUN_VOID. This is to avoid missing in TAGS
  1158. inline functions defined immediately after each invocation, and
  1159. also avoid tagging every invocation of these macros.
  1160. 2015-10-24 Eli Zaretskii <eliz@gnu.org>
  1161. A better fix for bug#21739
  1162. * src/buffer.c (set_update_modelines_for_buf): New function.
  1163. (Fkill_buffer): Use it to set the global variable
  1164. update_mode_lines if the killed buffer was displayed in some
  1165. window. Don't set windows_or_buffers_changed. This is a better
  1166. fix for bug#21739 than the previous fix, since it will cause only
  1167. redisplay of mode lines, not of entire windows, but will still
  1168. catch attention of x_consider_frame_title in xdisp.c, which
  1169. redraws the frame title.
  1170. 2015-10-24 Tassilo Horn <tsdh@gnu.org>
  1171. * lisp/dired-aux.el (dired-compress-files-alist): Add support for
  1172. tar.bz2 and tar.xz archives.
  1173. 2015-10-23 Eli Zaretskii <eliz@gnu.org>
  1174. Fix infloop in redisplay introduced by a recent change
  1175. * src/xdisp.c (redisplay_internal): Avoid inflooping when
  1176. redisplaying the selected window sets the selected frame's
  1177. redisplay flag. (Bug#21745)
  1178. 2015-10-23 Nicolas Petton <nicolas@petton.fr>
  1179. * lisp/emacs-lisp/thunk.el: Better documentation.
  1180. 2015-10-23 Nicolas Petton <nicolas@petton.fr>
  1181. Replace the old icon for Windows and Mac OSX
  1182. * nt/icons/emacs.ico:
  1183. * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
  1184. Use the new icons.
  1185. 2015-10-23 Stephen Leake <stephen_leake@stephe-leake.org>
  1186. * lisp/emacs-lisp/package.el (package-autoload-ensure-default-file):
  1187. `load-path' should contain only directory names.
  1188. 2015-10-23 Nicolas Petton <nicolas@petton.fr>
  1189. New library thunk.el
  1190. thunk.el is extracted from stream.el in ELPA, with additional tests.
  1191. * lisp/emacs-lisp/thunk.el: New file.
  1192. * test/automated/thunk-tests.el: New file.
  1193. * etc/NEWS: Add information about thunk.el
  1194. 2015-10-23 Michael Albinus <michael.albinus@gmx.de>
  1195. Fix bug#21669
  1196. * lisp/filenotify.el (file-notify-rm-watch): Improve check for
  1197. calling low-level functions.
  1198. * test/automated/file-notify-tests.el (file-notify--test-timeout):
  1199. Decrase to 6 seconds for remote directories.
  1200. (file-notify-test02-events): Expect different number of
  1201. `attribute-changed' events for the local and remote cases. Apply
  1202. short delays between the operations, in order to receive all
  1203. events in the remote case. Combine `attribute-change' tests.
  1204. (Bug#21669)
  1205. 2015-10-23 Eli Zaretskii <eliz@gnu.org>
  1206. Decode the HTML source when displaying it in EWW
  1207. * lisp/net/eww.el (eww-view-source): Decode the HTML source
  1208. according to its headers.
  1209. 2015-10-23 Nicolas Petton <nicolas@petton.fr>
  1210. New default icon
  1211. * etc/images/icons/hicolor/128x128/apps/emacs23.png:
  1212. * etc/images/icons/hicolor/16x16/apps/emacs23.png:
  1213. * etc/images/icons/hicolor/24x24/apps/emacs23.png:
  1214. * etc/images/icons/hicolor/32x32/apps/emacs23.png:
  1215. * etc/images/icons/hicolor/48x48/apps/emacs23.png:
  1216. * etc/images/icons/hicolor/scalable/apps/emacs23.svg:
  1217. * etc/images/icons/hicolor/scalable/mimetypes/emacs-document23.svg:
  1218. Move the old logo files to emacs23.*.
  1219. * etc/images/icons/hicolor/128x128/apps/emacs.png:
  1220. * etc/images/icons/hicolor/16x16/apps/emacs.png:
  1221. * etc/images/icons/hicolor/24x24/apps/emacs.png:
  1222. * etc/images/icons/hicolor/32x32/apps/emacs.png:
  1223. * etc/images/icons/hicolor/48x48/apps/emacs.png:
  1224. * etc/images/icons/hicolor/scalable/apps/emacs.svg:
  1225. * etc/images/icons/hicolor/scalable/mimetypes/emacs-document.svg:
  1226. New files.
  1227. * etc/images/icons/README: Update the copyright information.
  1228. 2015-10-23 Eli Zaretskii <eliz@gnu.org>
  1229. Fix redisplay of frame title when current buffer is killed
  1230. * src/buffer.c (Fkill_buffer): Set windows_or_buffers_changed to a
  1231. non-zero value, to redisplay more than just the affected windows.
  1232. (Bug#21739)
  1233. 2015-10-23 Anders Lindgren <andlind@gmail.com>
  1234. NextSten maximization and NSTRACE rewrite
  1235. Full-height, full-width, and maximized windows now cover the
  1236. entire screen (except the menu bar), including the part where the
  1237. system dock is placed. The system zoom animation is no longer
  1238. used.
  1239. Made NonMaximized->FullWidth->FullHeight->NonMaximized restore the
  1240. original size.
  1241. * src/nsterm.m (ns_menu_bar_height): New function, return height of
  1242. the menu bar, or 0 when it's hidden.
  1243. (constrain_frame_rect): New function for constraining a frame.
  1244. (ns_constrain_all_frames): Set frame size explicitly rather than
  1245. relying on the system doing it for us by writing back the current
  1246. frame size.
  1247. (windowWillUseStandardFrame): Register non-maximized width or
  1248. height as new user size. When entering full width or height,
  1249. the other size component is taken from the user size.
  1250. (fullscreenState): New method for accessing the fullscreen state.
  1251. (constrainFrameRect): Restrict frame to be placed under the menu bar,
  1252. if present. The old version, sometimes, restricted the height of a
  1253. frame to the screen, this version never does this.
  1254. (zoom): Perform zoom by setting the frame to the full size of the
  1255. screen (minus the menu bar). The default system function, with the
  1256. zoom animation, is no longer used, as the final frame size doesn't
  1257. cover the entire screen.
  1258. Rework how to constrain resizing to the character grid. The old
  1259. system used "resizeIncrements" in NSWindows. However, once a frame
  1260. was resized so that it was not aligned to the text grid, it
  1261. remained unaligned even after a resize. In addition, it conflicted
  1262. when resizing a fullheight window.
  1263. * src/nsterm.m (windowWillResize): Restrict frame size to text grid,
  1264. unless when pixelwise frame resizing is enabled.
  1265. (updateFrameSize, initFrameFromEmacs)
  1266. (toggleFullScreen, handleFS): Don't set resizeIncrements.
  1267. Redesign the NS trace system. The call structure is represented
  1268. using indentations and vertical lines. The NSTRACE macro accepts
  1269. printf-style arguments. New macros for printing various
  1270. information.
  1271. * src/nsterm.h (NSTRACE_ENABLED): Macro to enable trace system.
  1272. (NSTRACE, NSTRACE_WHEN, NSTRACE_UNLESS): Macros to start a new
  1273. block (typically a function), accept printf-style arguments.
  1274. (NSTRACE_MSG): Macro for extra information, accepts
  1275. printf-style arguments.
  1276. (NSTRACE_what): Macros for printing various types.
  1277. (NSTRACE_FMT_what): Macro with printf format string snippets.
  1278. (NSTRACE_ARG_what): Macros for passing printf-style arguments,
  1279. corresponds to NSTRACE_FMT_what.
  1280. (NSTRACE_RETURN): Macro to print return value, accept
  1281. printf-style arguments.
  1282. (NSTRACE_RETURN_what): Macros to print return value for
  1283. various types.
  1284. * nsterm.m: Remove old NSTRACE macro
  1285. * src/nsterm.m (nstrace_num): Trace counter.
  1286. (nstrace_depth): Current call depth.
  1287. (nstrace_leave): NSTRACE support function, called when the
  1288. local variable "nstrace_enabled" goes out of scope using the
  1289. "cleanup" extension.
  1290. (ns_print_fullscreen_type_name): NSTRACE_FSTYPE support function.
  1291. (constrain_frame_rect, ns_constrain_all_frames)
  1292. (ns_update_auto_hide_menu_bar, ns_update_begin)
  1293. (ns_update_window_begin, update_window_end, ns_update_end)
  1294. (ns_focus, ns_unfocus, ns_ring_bell, ns_frame_raise_lower)
  1295. (ns_frame_rehighlight, x_make_frame_visible)
  1296. (x_make_frame_invisible, x_iconify_frame, x_free_frame_resources)
  1297. (x_destroy_window, x_set_offset, x_set_window_size)
  1298. (ns_fullscreen_hook, ns_lisp_to_color, ns_color_to_lisp)
  1299. (ns_defined_color, frame_set_mouse_pixel_position)
  1300. (note_mouse_movement, ns_mouse_position, ns_frame_up_to_date)
  1301. (ns_define_frame_cursor, x_get_keysym_name, ns_redraw_scroll_bars)
  1302. (ns_clear_frame, ns_clear_frame_area, ns_scroll_run)
  1303. (ns_after_update_window_line, ns_shift_glyphs_for_insert)
  1304. (dumpcursor, ns_draw_vertical_window_border)
  1305. (ns_draw_window_divider, ns_draw_relief)
  1306. (ns_dumpglyphs_box_or_relief, ns_maybe_dumpglyphs_background)
  1307. (ns_dumpglyphs_image, ns_draw_glyph_string, ns_send_appdefined)
  1308. (ns_read_socket, ns_select, ns_set_vertical_scroll_bar)
  1309. (ns_set_horizontal_scroll_bar, ns_condemn_scroll_bars)
  1310. (ns_redeem_scroll_bar, ns_judge_scroll_bars, ns_delete_terminal)
  1311. (ns_create_terminal, ns_term_init, sendEvent)
  1312. (applicationDidFinishLaunching, applicationDidBecomeActive)
  1313. (timeout_handler, fd_handler, EmacsView_dealloc, changeFont)
  1314. (acceptsFirstResponder, resetCursorRects, keyDown, mouseDown)
  1315. (deltaIsZero, rightMouseDown, otherMouseDown, mouseUp)
  1316. (rightMouseUp, otherMouseUp, scrollWheel, mouseMoved)
  1317. (mouse_autoselect_window, in_window, mouseDragged)
  1318. (rightMouseDragged, otherMouseDragged, windowShouldClose)
  1319. (updateFrameSize, windowWillResize, windowDidResize)
  1320. (windowDidBecomeKey, windowDidResignKey, windowWillMiniaturize)
  1321. (initFrameFromEmacs, windowDidMove, windowDidDeminiaturize)
  1322. (windowDidExpose, windowDidMiniaturize, windowWillEnterFullScreen)
  1323. (windowDidEnterFullScreen, windowWillExitFullScreen)
  1324. (windowDidExitFullScreen, toggleFullScreen, handleFS, setFSValue)
  1325. (mouseEntered, mouseExited, menuDown, toolbarClicked, drawRect)
  1326. (draggingEntered, performDragOperation, validRequestorForSendType)
  1327. (setMiniwindowImage, constrainFrameRect, performZoom, zoom)
  1328. (EmacsScroller_initFrame, EmacsScroller_setFrame)
  1329. (EmacsScroller_dealloc, condemn, reprieve, judge)
  1330. (resetCursorRects, setPosition, EmacsScroller_mouseDown)
  1331. (EmacsScroller_mouseDragged, syms_of_nsterm): Use new trace system.
  1332. * nsfns.m: Remove old NSTRACE macro
  1333. * src/nsfns.m (x_set_icon_name, ns_set_name, x_explicitly_set_name)
  1334. (x_implicitly_set_name, x_set_title, ns_set_name_as_filename)
  1335. (ns_implicitly_set_icon_type, x_set_icon_type): Use new trace system.
  1336. * nsimage.m: Remove old NSTRACE macro
  1337. * src/nsimage.m (ns_image_from_XBM, ns_image_for_XPM)
  1338. (ns_image_from_bitmap_file, ns_load_image): Use new trace system.
  1339. * nsmenu.m: Remove old NSTRACE macro
  1340. * src/nsmenu.m (ns_update_menubar, ns_menu_show, ns_popup_dialog):
  1341. Use new trace system.
  1342. 2015-10-22 Katsumi Yamaoka <yamaoka@jpl.org>
  1343. No need to use eval-and-compile
  1344. * lisp/gnus/auth-source.el: Do require epg (when compiling) before
  1345. autoload epg functions.
  1346. 2015-10-22 Katsumi Yamaoka <yamaoka@jpl.org>
  1347. Fix auth-source-epa-make-gpg-token compilation (bug#21724)
  1348. * lisp/gnus/auth-source.el: Add eval-and-compile to autoloads for
  1349. epg-context-set-passphrase-callback, epg-decrypt-string, and
  1350. epg-encrypt-string; require epg when compiling for the setf-method
  1351. for epg-context-armor. (bug#21724)
  1352. 2015-10-22 Eli Zaretskii <eliz@gnu.org>
  1353. Include file cleanup for w32 files in src directory
  1354. * src/w32xfns.c: Don't include keyboard.h, window.h, charset.h,
  1355. fontset.h, blockinput.h.
  1356. * src/w32uniscribe.c: Don't include dispextern.h, character.h,
  1357. charset.h, fontset.h.
  1358. * src/w32term.c: Don't include systty.h, systime.h, charset.h,
  1359. character.h, ccl.h, dispextern.h, disptab.h, intervals.h,
  1360. process.h, atimer.h, keymap.h, w32heap.h. Include bitmap/gray.xbm
  1361. in an ifdef-ed away block.
  1362. Include fcntl.h for CYGWIN.
  1363. (set_frame_param): Remove unused function.
  1364. * src/w32select.c: Don't include charset.h and composite.h.
  1365. (setup_config, Fw32_get_clipboard_data): Avoid compiler warnings
  1366. due to pointer signedness mismatches.
  1367. * src/w32reg.c (w32_get_string_resource): Avoid compiler warnings
  1368. due to pointer signedness mismatches.
  1369. * src/w32proc.c: Include unistd.h. Don't include systime.h,
  1370. process.h, dispextern.h.
  1371. (sys_spawnve, Fw32_short_file_name, Fw32_long_file_name)
  1372. (Fw32_application_type): Avoid compiler warnings due to pointer
  1373. signedness mismatches.
  1374. * src/w32menu.c: Don't include keymap.h, termhooks.h, window.h,
  1375. character.h, charset.h, dispextern.h.
  1376. (simple_dialog_show, add_menu_item): Avoid compiler warnings due
  1377. to pointer signedness mismatches.
  1378. * src/w32inevt.c: Don't include dispextern.h, window.h,
  1379. termhooks.h, w32heap.h.
  1380. * src/w32font.c: Don't include dispextern.h, character.h,
  1381. charset.h, fontset.h, font.h.
  1382. (intern_font_name, add_font_entity_to_list)
  1383. (registry_to_w32_charset, w32_to_x_charset, fill_in_logfont)
  1384. (list_all_matching_fonts): Avoid compiler warnings due to pointer
  1385. signedness mismatches.
  1386. * src/w32fns.c: Don't include character.h, intervals.h,
  1387. dispextern.h, epaths.h, charset.h, ccl.h, fontset.h, systime.h,
  1388. termhooks.h, w32heap.h, bitmap/gray.xbm, font.h, w32font.h.
  1389. (w32_color_map_lookup, add_system_logical_colors_to_map)
  1390. (x_decode_color, x_set_name, FPRINTF_WM_CHARS, Fxw_color_defined_p)
  1391. (Fxw_color_values, x_display_info_for_name, Fset_message_beep)
  1392. (x_create_tip_frame, Fx_file_dialog, Fsystem_move_file_to_trash)
  1393. (w32_parse_hot_key, Ffile_system_info, w32_kbd_patch_key): Avoid
  1394. compiler warnings, mainly due to pointer signedness mismatches.
  1395. (unwind_create_frame_1): Remove unused function.
  1396. * src/w32console.c: Don't include character.h, disptab.h, frame.h,
  1397. window.h, termhooks.h, dispextern.h.
  1398. (w32con_write_glyphs, w32con_write_glyphs_with_face): Fix pointer
  1399. signedness mismatch.
  1400. * src/w32.c: Include c-strcase.h and systty.h. Don't include
  1401. w32heap.h.
  1402. 2015-10-22 Tassilo Horn <tsdh@gnu.org>
  1403. Improve doc-view wrt. auto-revert-mode
  1404. * lisp/doc-view.el (doc-view-revert-buffer): Don't revert when file
  1405. is corrupted (bug#21729).
  1406. (doc-view-mode): Set doc-view-revert-buffer as revert-buffer-function.
  1407. 2015-10-22 Oleh Krehel <ohwoeowho@gmail.com>
  1408. Describe dired-do-compress-to in the manual
  1409. * etc/NEWS: Update.
  1410. * lisp/dired-aux.el: Fix typo.
  1411. * doc/emacs/dired.texi: Add entry.
  1412. 2015-10-22 Jürgen Hötzel <juergen@archlinux.org>
  1413. Further fix for proper locale handling in tramp-gvfs.el
  1414. * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
  1415. Just suppress LC_MESSAGES locale category settings.
  1416. 2015-10-21 Paul Eggert <eggert@cs.ucla.edu>
  1417. New lispref section “Security Considerations”
  1418. This attempts to document some of the issues recently discussed
  1419. on emacs-devel, and to indicate other such issues. The section
  1420. could be a lot longer.
  1421. * doc/lispref/os.texi (Security Considerations):
  1422. New node.
  1423. * doc/lispref/elisp.texi (Top):
  1424. * doc/lispref/processes.texi (Shell Arguments):
  1425. * lisp/subr.el (shell-quote-argument):
  1426. * src/callproc.c (syms_of_callproc):
  1427. Reference it.
  1428. 2015-10-21 Paul Eggert <eggert@cs.ucla.edu>
  1429. Merge from gnulib
  1430. This incorporates:
  1431. 2015-10-18 stdalign: work around pre-4.9 GCC x86 bug
  1432. 2015-10-18 time_rz: avoid warning from bleeding-edge gcc's -Wnonnull
  1433. * doc/misc/texinfo.tex, lib/stdalign.in.h, lib/time_rz.c:
  1434. Copy from gnulib.
  1435. 2015-10-21 Katsumi Yamaoka <yamaoka@jpl.org>
  1436. * lisp/gnus/mailcap.el (mailcap-mime-data): Remove fboundp checks.
  1437. (mailcap-viewer-passes-test): Do it instead. Thanks to Stefan Monnier.
  1438. 2015-10-21 Ken Brown <kbrown@cornell.edu>
  1439. Further include-file cleanup
  1440. * src/sheap.c: Include stdlib.h.
  1441. * src/unexcw.c: Include string.h.
  1442. 2015-10-21 Eli Zaretskii <eliz@gnu.org>
  1443. Fix logic in 'server-kill-emacs-query-function'
  1444. * lisp/server.el (server-kill-emacs-query-function): Correct the
  1445. logic that controls whether the user is asked for confirmation.
  1446. (Bug#21723)
  1447. 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
  1448. * lisp/isearch.el (isearch-search-fun-default): Simplify logic.
  1449. (isearch--lax-regexp-function-p): New function.
  1450. 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
  1451. * lisp/isearch.el: Support lax-whitespace in regexp-function searches.
  1452. (isearch-search-fun-default): Let-bind `search-spaces-regexp'
  1453. around `isearch-regexp-function'.
  1454. 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
  1455. * lisp/isearch.el: Rename word search to regexp-function search.
  1456. `isearch-word' went well beyond its original purpose, and the name
  1457. no longer makes sense. It is now called
  1458. `isearch-regexp-function', and its value should always be a function
  1459. that converts a string to a regexp (though setting it to t is still
  1460. supported for now).
  1461. (isearch-word): Make obsolete.
  1462. (isearch-regexp-function): New variable.
  1463. (isearch-mode, isearch-done, isearch--state, isearch--set-state)
  1464. (with-isearch-suspended, isearch-toggle-regexp)
  1465. (isearch-toggle-word, isearch-toggle-symbol)
  1466. (isearch-toggle-character-fold, isearch-query-replace)
  1467. (isearch-occur, isearch-highlight-regexp)
  1468. (isearch-search-and-update, isearch-message-prefix)
  1469. (isearch-search-fun-default, isearch-search)
  1470. (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
  1471. Use it.
  1472. (isearch-lazy-highlight-regexp-function): New var.
  1473. (isearch-lazy-highlight-word): Make obsolete.
  1474. (isearch--describe-regexp-mode): New function.
  1475. (isearch--describe-word-mode): Make obsolete.
  1476. * lisp/info.el (Info-isearch-search):
  1477. * lisp/replace.el (replace-search, replace-highlight):
  1478. * lisp/obsolete/longlines.el (longlines-search-function):
  1479. * lisp/hexl.el (hexl-isearch-search-function):
  1480. * lisp/cedet/semantic/senator.el (senator-isearch-search-fun):
  1481. Use the new var.
  1482. 2015-10-21 Oleh Krehel <ohwoeowho@gmail.com>
  1483. Add dired-do-compress-to command bound to "c"
  1484. * lisp/dired-aux.el (dired-shell-command): Use the caller's
  1485. `default-directory', return the result of `process-file'.
  1486. (dired-compress-file-suffixes): Add comment on why "tar -zxf" isn't
  1487. used by default.
  1488. (dired-compress-files-alist): New defvar.
  1489. (dired-do-compress-to): New command.
  1490. * lisp/dired.el (dired-mode-map): Bind `dired-do-compress-to' to "c".
  1491. (dired-do-compress-to): Add an autoload entry.
  1492. * etc/NEWS: Add two entries.
  1493. 2015-10-21 Tassilo Horn <tsdh@gnu.org>
  1494. Make RefTeX work with LaTeX subfiles package
  1495. * lisp/textmodes/reftex.el (reftex-TeX-master-file): Recognize subfiles
  1496. document class argument as master file for referencing purposes.
  1497. 2015-10-21 Katsumi Yamaoka <yamaoka@jpl.org>
  1498. * lisp/gnus/mailcap.el (mailcap-mailcap-entry-passes-test): Doc fix.
  1499. 2015-10-20 Paul Eggert <eggert@cs.ucla.edu>
  1500. Include-file cleanup for src directory
  1501. Omit ‘#include "foo.h"’ unless the file needs foo.h (Bug#21707).
  1502. In a few cases, add ‘#include "foo.h"’ if the file needs foo.h
  1503. but does not include it directly. As a general rule, a source
  1504. file should include foo.h if it needs the interfaces that foo.h
  1505. defines.
  1506. * src/alloc.c: Don’t include process.h. Include dispextern.h,
  1507. systime.h.
  1508. * src/atimer.c: Don’t include blockinput.h.
  1509. * src/buffer.c: Include coding.h, systime.h. Don’t include
  1510. keyboard.h, coding.h.
  1511. * src/callint.c: Don’t include commands.h, keymap.h.
  1512. * src/callproc.c: Don’t include character.h, ccl.h, composite.h,
  1513. systty.h, termhooks.h.
  1514. * src/casetab.c: Don’t include character.h.
  1515. * src/category.c: Don’t include charset.h, keymap.h.
  1516. * src/ccl.h: Don’t include character.h.
  1517. * src/character.c: Don’t include charset.h.
  1518. * src/charset.c: Don’t include disptab.h.
  1519. * src/chartab.c: Don’t include ccl.h.
  1520. * src/cm.c: Don’t include frame.h, termhooks.h.
  1521. * src/cmds.c: Don’t include window.h, dispextern.h.
  1522. * src/coding.c: Don’t include window.h, frame.h.
  1523. * src/composite.c: Include composite.h. Don’t include window.h,
  1524. font.h.
  1525. * src/data.c: Don’t include syssignal.h, termhooks.h, font.h.
  1526. * src/dbusbind.c: Don’t include frame.h.
  1527. * src/decompress.c: Don’t include character.h.
  1528. * src/dired.c: Don’t include character.h, commands.h, charset.h.
  1529. * src/dispnew.c: Don’t include character.h, indent.h, intervals.h,
  1530. process.h, timespec.h. Include systime.h.
  1531. * src/doc.c: Include coding.h. Don’t include keyboard.h.
  1532. * src/editfns.c: Include composite.h. Don’t include frame.h.
  1533. * src/emacs.c: Include fcntl.h, coding.h. Don’t include
  1534. commands.h, systty.h..
  1535. * src/fileio.c: Don’t include intervals.h, dispextern.h.
  1536. Include composite.h.
  1537. * src/filelock.c: Don’t include character.h, systime.h.
  1538. * src/fns.c: Don’t include time.h, commands.h, keyboard.h,
  1539. keymap.h, frame.h, blockinput.h, xterm.h. Include composite.h.
  1540. * src/font.c: Include termhooks.h.
  1541. * src/font.h: Don’t include ccl.h, frame.h. Add forward decls of
  1542. struct composition_it, struct face, struct glyph_string.
  1543. * src/fontset.c: Don’t include buffer.h, ccl.h, keyboard.h,
  1544. intervals.h, window.h, termhooks.h.
  1545. * src/frame.c: Don’t include character.h, commands.h, font.h.
  1546. * src/frame.h: Don’t include dispextern.h.
  1547. * src/fringe.c: Don’t include character.h.
  1548. * src/ftcrfont.c: Don’t include dispextern.h, frame.h,
  1549. character.h, charset.h, fontset.h.
  1550. * src/ftfont.c: Don’t include frame.h, blockinput.h, coding.h,
  1551. fontset.h.
  1552. * src/ftxfont.c: Don’t include dispextern.h, character.h,
  1553. charset.h, fontset.h.
  1554. * src/gfilenotify.c: Don’t include frame.h, process.h.
  1555. * src/gtkutil.c: Include dispextern.h, frame.h, systime.h.
  1556. Don’t include syssignal.h, buffer.h, charset.h, font.h.
  1557. * src/gtkutil.h: Don’t include frame.h.
  1558. * src/image.c: Include fcntl.h and stdio.h instead of sysstdio.h.
  1559. Don’t include character.h.
  1560. * src/indent.c: Don’t include keyboard.h, termchar.h.
  1561. * src/inotify.c: Don’t include character.h, frame.h.
  1562. * src/insdel.c: Include composite.h. Don’t include blockinput.h.
  1563. * src/intervals.c: Don’t include character.h, keyboard.h.
  1564. * src/intervals.h: Don’t include dispextern.h, composite.h.
  1565. * src/keyboard.c: Don’t include sysstdio.h, disptab.h, puresize.h.
  1566. Include coding.h.
  1567. * src/keyboard.h: Don’t incldue systime.h.
  1568. * src/keymap.c: Don’t include charset.h, frame.h.
  1569. * src/lread.c: Include dispextern.h and systime.h.
  1570. Don’t include frame.h. Include systime.h.
  1571. * src/macros.c: Don’t include commands.h, character.h, buffer.h.
  1572. * src/menu.c: Include character.h, coding.h. Don’t include
  1573. dispextern.h.
  1574. * src/menu.h: Don’t include systime.h.
  1575. * src/minibuf.c: Don’t include commands.h, dispextern.h, syntax.h,
  1576. intervals.h, termhooks.h.
  1577. * src/print.c: Include coding.h. Don’t include keyboard.h,
  1578. window.h, dispextern.h, termchar.h, termhooks.h, font.h.
  1579. Add forward decl of struct terminal.
  1580. * src/process.c: Don’t include termhooks.h, commands.h,
  1581. dispextern.h, composite.h.
  1582. * src/region-cache.c: Don’t include character.h.
  1583. * src/scroll.c: Don’t include keyboard.h, window.h.
  1584. * src/search.c: Don’t include category.h, commands.h.
  1585. * src/sound.c: Don’t include dispextern.h.
  1586. * src/syntax.c: Don’t include command.h, keymap.h.
  1587. * src/sysdep.c: Don’t include window.h, dispextern.h.
  1588. * src/systime.h: Use ‘#ifdef emacs’, not ‘#ifdef EMACS_LISP_H’,
  1589. * src/term.c: Don’t include systty.h, intervals.h, xterm.h.
  1590. * src/terminal.c: Include character.h.
  1591. Don’t include charset.h, coding.h.
  1592. * src/textprop.c: Don’t include character.h.
  1593. * src/undo.c: Don’t include character.h, commands.h, window.h.
  1594. * src/unexsol.c: Don’t include character.h, charset.h.
  1595. * src/widget.c: Include widget.h. Don’t include keyboard.h,
  1596. window.h, dispextern.h, blockinput.h, character.h, font.h.
  1597. * src/widgetprv.h: Don’t include widget.h.
  1598. * src/window.c: Don’t include character.h, menu.h, intervals.h.
  1599. * src/xdisp.c: Include composite.h, systime.h. Don’t include
  1600. macros.h, process.h.
  1601. * src/xfaces.c: Don’t include charset.h, keyboard.h, termhooks.h,
  1602. intervals.h.
  1603. * src/xfns.c: Don’t include menu.h, character.h, intervals.h,
  1604. epaths.h, fontset.h, systime.h, atimer.h, termchar.h.
  1605. * src/xfont.c: Don’t include dispextern.h, fontset.h, ccl.h.
  1606. * src/xftfont.c: Don’t include dispextern.h, character.h, fontset.h.
  1607. * src/xgselect.c: Don’t include timespec.h, frame.h.
  1608. Include systime.h.
  1609. * src/xgselect.h: Don’t include time.h.
  1610. Use a forward decl to struct timespec instead.
  1611. * src/xmenu.c: Don’t include keymap.h, character.h, charset.h,
  1612. dispextern.h. Include systime.h.
  1613. * src/xml.c: Don’t include character.h.
  1614. * src/xrdb.c [USE_MOTIF]: Don’t include keyboard.h.
  1615. * src/xselect.c: Don’t include dispextern.h, character.h,
  1616. buffer.h, process.h.
  1617. * src/xsmfns.c: Don’t include systime.h, sysselect.h.
  1618. * src/xterm.c: Don’t include syssignal.h, charset.h, disptab.h,
  1619. intervals.h process.h, keymap.h, xgselect.h. Include composite.h.
  1620. 2015-10-20 Paul Eggert <eggert@cs.ucla.edu>
  1621. (/ N) now returns the reciprocal of N
  1622. This is more compatible with Common Lisp and XEmacs (Bug#21690). See:
  1623. http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg01053.html
  1624. * lisp/color.el (color-hue-to-rgb, color-hsl-to-rgb)
  1625. (color-xyz-to-srgb, color-xyz-to-lab):
  1626. * lisp/emacs-lisp/cl-extra.el (cl-float-limits):
  1627. * lisp/net/shr-color.el (shr-color-hue-to-rgb)
  1628. (shr-color-hsl-to-rgb-fractions):
  1629. Exploit the change to simplify the code a bit.
  1630. * lisp/emacs-lisp/bytecomp.el (byte-compile-quo):
  1631. Don’t complain about single-argument calls to ‘/’.
  1632. * src/data.c (arith_driver, float_arith_driver):
  1633. Implement the change.
  1634. 2015-10-20 Dmitry Gutov <dgutov@yandex.ru>
  1635. Call vc-dir-refresh after stash operations
  1636. * lisp/vc/vc-git.el (vc-git-stash-apply-at-point)
  1637. (vc-git-stash-pop-at-point): Call vc-dir-refresh (bug#13960).
  1638. * lisp/vc/vc-dir.el (vc-dir-resynch-file): Expand FNAME as well,
  1639. since it can be abbreviated (as returned by vc-find-root).
  1640. 2015-10-20 Dmitry Gutov <dgutov@yandex.ru>
  1641. * lisp/vc/vc-svn.el:
  1642. * lisp/vc/vc-mtn.el:
  1643. * lisp/vc/vc-hg.el:
  1644. * lisp/vc/vc-cvs.el:
  1645. * lisp/vc/vc-git.el:
  1646. * lisp/vc/vc-bzr.el: Don't declare vc-exec-after anymore.
  1647. Its usages have been replaced with vc-run-delayed.
  1648. 2015-10-20 Dima Kogan <dima@secretsauce.net>
  1649. Fix memory leak in fontset handling
  1650. * src/font.c (copy_font_spec): Make a deep copy of the input
  1651. argument FONT. (Bug#21651)
  1652. 2015-10-20 Michael Sperber <mike@xemacs.org>
  1653. * lisp/gnus/mailcap.el (mailcap-mime-data):
  1654. Conditonalize `doc-view-mode', which does not exist on XEmacs.
  1655. 2015-10-20 Oleh Krehel <ohwoeowho@gmail.com>
  1656. Update the way directories are compressed
  1657. * lisp/dired-aux.el (dired-compress-file-suffixes): Update the recipe
  1658. for *.tar.gz decompression to use a pipe.
  1659. Add an entry for the default directory compression (to *.tar.g).
  1660. (dired-compress-file): Update.
  1661. See https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg00949.html.
  1662. 2015-10-20 Michael Sperber <mike@xemacs.org>
  1663. Unbreak `group' option for `mail-sources'
  1664. * nnml.el (nnml-retrieve-groups, nnml-request-scan):
  1665. * nnmail.el (nnmail-get-new-mail-per-group)
  1666. (nnmail-get-new-mail-1): Unbreak `group' option for `mail-sources'.
  1667. 2015-10-19 Nicolas Petton <nicolas@petton.fr>
  1668. New function seq-position
  1669. * lisp/emacs-lisp/seq.el (seq-position): New function.
  1670. * test/automated/seq-tests.el: New tests for seq-position.
  1671. * doc/lispref/sequences.texi: Add documentation for `seq-position'.
  1672. 2015-10-19 Ken Brown <kbrown@cornell.edu>
  1673. Enable --with-wide-int build on 32-bit Cygwin
  1674. * src/sheap.c (STATIC_HEAP_SIZE): Remove distinction between x86
  1675. and x86_64 to enable --with-wide-int build on 32-bit Cygwin.
  1676. 2015-10-19 Glenn Morris <rgm@gnu.org>
  1677. * doc/emacs/ack.texi (Acknowledgments): Small, sad, update.
  1678. 2015-10-19 Eli Zaretskii <eliz@gnu.org>
  1679. Resurrect image loading under auto-image-file-mode
  1680. * src/image.c (x_find_image_fd): Handle the case of -2 returned by
  1681. 'openp' specially. This special case was lost in the changes on
  1682. 2015-08-18. (Bug#21685)
  1683. 2015-10-19 Eli Zaretskii <eliz@gnu.org>
  1684. Fix return value of 'set-file-extended-attributes'
  1685. * lisp/files.el (set-file-extended-attributes): Return non-nil
  1686. when setting either ACLs or SELinux context succeeds. Document
  1687. the return value. (Bug#21699)
  1688. * doc/lispref/files.texi (Changing Files): Document the return
  1689. value of set-file-extended-attributes.
  1690. 2015-10-19 Eli Zaretskii <eliz@gnu.org>
  1691. Improve documentation of functions that change files
  1692. * doc/lispref/files.texi (Changing Files): Document that these
  1693. functions signal an error on failure.
  1694. 2015-10-18 Eli Zaretskii <eliz@gnu.org>
  1695. Fix doc string of 'shell-quote-argument'
  1696. * lisp/subr.el (shell-quote-argument): Doc fix. (Bug#21702)
  1697. 2015-10-18 Michael Albinus <michael.albinus@gmx.de>
  1698. Some minor Tramp changes
  1699. * doc/misc/tramp.texi (Obtaining Tramp): Add http git cloning.
  1700. * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
  1701. Expand `tramp-auto-save-directory'.
  1702. 2015-10-18 Michael Albinus <michael.albinus@gmx.de>
  1703. Minor edits in Tramp
  1704. * lisp/net/tramp-adb.el (directory-listing-before-filename-regexp):
  1705. Declare it.
  1706. * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
  1707. Remove declaration.
  1708. 2015-10-17 Mark Oteiza <mvoteiza@udel.edu>
  1709. * lisp/emacs-lisp/eldoc.el: Add back-to-indentation to the command list.
  1710. 2015-10-17 Eli Zaretskii <eliz@gnu.org>
  1711. Avoid crashes when redisplayng a window changes faces or fonts
  1712. * src/xdisp.c (redisplay_internal): If redisplaying the selected
  1713. window or one of the frames turns on the frame's 'redisplay' flag,
  1714. redisplay again. (Bug#21428)
  1715. * src/frame.c (x_set_font): Set the frame's 'fonts_changed' flag.
  1716. 2015-10-17 Michael Albinus <michael.albinus@gmx.de>
  1717. Solve timimg issues in file-notify-tests.el
  1718. * test/automated/file-notify-tests.el (file-notify-test02-events):
  1719. Rectify `attribute-change' tests. There are timing issues with
  1720. gfilenotify. (Bug#21669)
  1721. 2015-10-16 Paul Eggert <eggert@cs.ucla.edu>
  1722. Fix quoting of data within htmlfontify doc
  1723. * doc/misc/htmlfontify.texi (Data Structures, Customization):
  1724. Fix quoting of data structures. A Lisp quote is needed only
  1725. when data appears within Lisp code.
  1726. 2015-10-16 Artur Malabarba <bruce.connor.am@gmail.com>
  1727. * lisp/emacs-lisp/package.el: Reload archive-contents if
  1728. priorities change.
  1729. (package--old-archive-priorities): New variable.
  1730. (package-read-all-archive-contents, package-menu--refresh): Use it
  1731. to decide when the `package-archive-contents' needs to be read
  1732. again.
  1733. 2015-10-16 Paul Eggert <eggert@cs.ucla.edu>
  1734. Make src headers idempotent and standalone
  1735. Redo src/*.h so that each include file is idempotent (that is, can
  1736. be included multiple times with the latter inclusions having no
  1737. effect) and standalone (that is, can be included by itself,
  1738. with no include file other than config.h needed as a prerequisite).
  1739. This is standard practice in GNU programs nowadays.
  1740. * lwlib/lwlib-widget.h, src/buffer.h, src/category.h, src/character.h:
  1741. * src/charset.h, src/coding.h, src/commands.h, src/disptab.h:
  1742. * src/fontset.h, src/gnutls.h, src/indent.h, src/keymap.h, src/macros.h:
  1743. * src/regex.h [emacs]:
  1744. * src/syntax.h, src/systty.h, src/termhooks.h:
  1745. Include lisp.h, for Lisp_Object.
  1746. * src/buffer.h, src/category.h, src/cm.h, src/commands.h, src/disptab.h:
  1747. * src/indent.h, src/intervals.h, src/keyboard.h, src/macros.h:
  1748. * src/process.h, src/puresize.h, src/region-cache.h, src/syntax.h:
  1749. * src/syssignal.h, src/sysstdio.h, src/systty.h, src/termchar.h:
  1750. * src/termopts.h, src/tparam.h, src/unexec.h:
  1751. Protect against multiple inclusion.
  1752. * src/buffer.h: Include character.h, for STRING_CHAR.
  1753. * src/emacsgtkfixed.h (struct frame):
  1754. * src/fontset.h (struct face):
  1755. * src/region-cache.h (struct buffer):
  1756. * src/termhooks.h (struct glyph):
  1757. * src/xsettings.h (struct x_display_info):
  1758. Add possibly-forward decl.
  1759. * src/syntax.h: Include buffer.h, for BVAR.
  1760. * src/sysselect.h: Include lisp.h, for eassume.
  1761. * src/termchar.h: Include <stdio.h>, for FILE.
  1762. * src/widget.h: Include <X11/IntrinsicP.h>, for Widget.
  1763. * src/xsettings.h: Include <X11/Xlib.h>, for XEvent.
  1764. 2015-10-16 Jürgen Hötzel <juergen@archlinux.org>
  1765. Handle symlink targets containing spaces in tramp-gvfs.el
  1766. * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
  1767. Handle symlink targets containing spaces.
  1768. 2015-10-16 Artur Malabarba <bruce.connor.am@gmail.com>
  1769. * lisp/custom.el (custom-theme-load-path): Demote to defvar.
  1770. `custom-theme-load-path' was a defcustom, but it shouldn't be for the
  1771. same reason that `load-path' shouldn't. Setting it via the customize
  1772. interface is a trap for the user.
  1773. Installed themes commonly add themselves to this variable, which means
  1774. its value is not fit for being saved (it will permanently remember dirs
  1775. that don't exist anymore).
  1776. This is aggravated by the fact that Emacs always applies the `user'
  1777. theme on top of any theme that's loaded, since this will apply the old
  1778. variable value and remove any new directories that had been recently
  1779. added by themes themselves.
  1780. Not to mention, we already have `custom-theme-directory', which is safe
  1781. to customize.
  1782. 2015-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
  1783. * lisp/mpc.el: Rename the new toggling commands.
  1784. (mpc-toggle-consume, mpc-toggle-repeat, mpc-toggle-single)
  1785. (mpc-toggle-shuffle): Add "-toggle" in the name.
  1786. 2015-10-16 Eli Zaretskii <eliz@gnu.org>
  1787. Improve the doc string of 'completion-boundaries'
  1788. * lisp/minibuffer.el (completion-boundaries): Rename the argument
  1789. TABLE to COLLECTION, for consistency with other high-level
  1790. completion functions. Document how COLLECTION is called if it
  1791. is a function. (Bug#21644)
  1792. 2015-10-16 Oleh Krehel <ohwoeowho@gmail.com>
  1793. * lisp/dired-aux.el (dired-shell-command): Fix compile warning.
  1794. 2015-10-16 Oleh Krehel <ohwoeowho@gmail.com>
  1795. Make dired-do-compress work for *.zip files
  1796. * lisp/dired-aux.el (dired-check-process): Transform the top-level
  1797. comment into a docstring.
  1798. (dired-shell-command): New command. This mirrors
  1799. `dired-check-process', but is more user-friendly for passing
  1800. arguments.
  1801. (dired-compress-file-suffixes): Allow to specify the command switches
  1802. along with input (%i) and output (%o) inside the PROGRAM part.
  1803. Add an entry for *.zip files, and update the entry for *.tar.gz files
  1804. to the new style. Update the docstring.
  1805. (dired-compress-file): When PROGRAM matches %i or %o, use the new
  1806. logic.
  1807. (dired-update-file-line): Avoid an error when at end of buffer.
  1808. Fixes bug#21637.
  1809. 2015-10-16 Eli Zaretskii <eliz@gnu.org>
  1810. Minor improvement in documentation of internals
  1811. * doc/lispref/internals.texi (Writing Emacs Primitives): Document QUIT.
  1812. 2015-10-16 Eli Zaretskii <eliz@gnu.org>
  1813. Improve documentation of COLLECTION in completion functions
  1814. * doc/lispref/minibuf.texi (Minibuffer Completion): Add a
  1815. cross-reference to "Programmed Completion".
  1816. * src/minibuf.c (Fcompleting_read): Improve the doc string.
  1817. (Bug#21644)
  1818. 2015-10-16 Eli Zaretskii <eliz@gnu.org>
  1819. Add more release info to etc/HISTORY
  1820. * etc/HISTORY: Add more release information about 19.x and 20.x
  1821. versions.
  1822. 2015-10-15 Paul Eggert <eggert@cs.ucla.edu>
  1823. New file etc/HISTORY
  1824. * admin/FOR-RELEASE: Procedure for etc/HISTORY.
  1825. * etc/HISTORY: New file.
  1826. * etc/NEWS: Mention it.
  1827. 2015-10-15 Dmitry Gutov <dgutov@yandex.ru>
  1828. js-mode: Don't misindent generator methods
  1829. * lisp/progmodes/js.el (js--looking-at-operator-p): Distinguish
  1830. generator methods from multiplication operator
  1831. (https://github.com/mooz/js2-mode/issues/275).
  1832. 2015-10-15 Paul Eggert <eggert@cs.ucla.edu>
  1833. Fix animation timeout delay calculation
  1834. * lisp/image.el (image-animate-timeout):
  1835. Don’t assume speed is floating-point.
  1836. 2015-10-15 Mark Oteiza <mvoteiza@udel.edu>
  1837. Add commands for controlling MPD modes
  1838. * lisp/mpc.el (mpc-cmd-consume, mpc-cmd-random, mpc-cmd-repeat)
  1839. (mpc-cmd-single): New functions.
  1840. (mpc-consume, mpc-repeat, mpc-single, mpc-shuffle): New commands.
  1841. (mpc-mode-menu): Add new commands as menu items.
  1842. 2015-10-15 Dmitry Gutov <dgutov@yandex.ru>
  1843. Refer to `(elisp)Basic Completion' in completing-read docstring
  1844. * src/minibuf.c (Fcompleting_read): Refer to `(elisp)Basic
  1845. Completion' in the docstring (bug#21644).
  1846. 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
  1847. * lisp/mpc.el (mpc-format): Always push form to pred
  1848. 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
  1849. Spelling fixes
  1850. * configure.ac (bitmapdir): Fix misspelling of bmd_acc.
  1851. * test/automated/coding-tests.el (ert-test-coding-bogus-coding-systems):
  1852. Fix misspelling of nonexistent file name.
  1853. 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
  1854. * lisp/mpc.el (mpc-mode-menu, mpc-toggle-play): Fix docstrings
  1855. 2015-10-14 Michael Albinus <michael.albinus@gmx.de>
  1856. Some editing fixes in Tramp
  1857. * lisp/net/tramp-gvfs.el:
  1858. * doc/misc/tramp.texi: "customer option" -> "custom option".
  1859. * lisp/net/tramp.el (tramp-completion-function-alist): Fix docstring.
  1860. 2015-10-14 Jürgen Hötzel <juergen@archlinux.org>
  1861. Use proper localization in tramp-gvfs.el
  1862. * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
  1863. Suppress localized settings in order to proper parse gfvs output.
  1864. 2015-10-14 Warren Lynn <wrn.lynn@gmail.com> (tiny change)
  1865. * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
  1866. Quote argument in proper order. (Bug#21562)
  1867. 2015-10-14 Nicolas Petton <nicolas@petton.fr>
  1868. Fix typos in docstrings
  1869. * lisp/emacs-lisp/map.el:
  1870. * lisp/emacs-lisp/seq.el: Fix typos in the docstrings of the pcase
  1871. macros.
  1872. 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
  1873. * lisp/mpc.el (mpc-volume-refresh): Check if buffer is live.
  1874. 2015-10-14 Oleh Krehel <ohwoeowho@gmail.com>
  1875. Make dired-jump work with tar-subfile-mode
  1876. * lisp/dired-x.el (dired-jump): When in `tar-subfile-mode', instead of
  1877. emitting an error, switch to `tar-superior-buffer'.
  1878. 2015-10-14 Juanma Barranquero <lekktu@gmail.com>
  1879. * .gitignore: Add build-aux/ar-lib.
  1880. 2015-10-14 Nicolas Petton <nicolas@petton.fr>
  1881. Better docstrings in seq.el and map.el
  1882. * lisp/emacs-lisp/map.el:
  1883. * lisp/emacs-lisp/seq.el: Improve the docstring for the pcase patterns.
  1884. 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
  1885. Merge from gnulib
  1886. This incorporates:
  1887. 2015-10-13 binary-io, u64, unistd: port to strict C
  1888. 2015-09-26 c-ctype: do not worry about EBCDIC + char signed
  1889. 2015-09-25 c-ctype: port better to z/OS EBCDIC
  1890. 2015-09-25 gnulib-common.m4: fix gl_PROG_AR_RANLIB/AM_PROG_AR clash
  1891. * doc/misc/texinfo.tex, lib/binary-io.c, lib/c-ctype.h, lib/u64.c:
  1892. * lib/unistd.c, m4/gnulib-common.m4, m4/gnulib-comp.m4:
  1893. Copy from gnulib.
  1894. 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
  1895. Take XPNTR private
  1896. * src/alloc.c (PURE_POINTER_P): Remove.
  1897. All uses replaced with PURE_P.
  1898. (XPNTR_OR_SYMBOL_OFFSET): New function.
  1899. (XPNTR): Move here from lisp.h.
  1900. Reimplement in terms of XPNTR_OR_SYMBOL_OFFSET.
  1901. (mark_maybe_object, valid_lisp_object_p, survives_gc_p):
  1902. Remove unnecessary cast.
  1903. (purecopy): Use XPNTR_OR_SYMBOL_OFFSET instead of XPNTR,
  1904. to avoid an unnecessary runtime test for symbols.
  1905. * src/lisp.h (lisp_h_XPNTR, XPNTR): Remove, moving XPNTR to alloc.c.
  1906. Only alloc.c needs XPNTR now.
  1907. 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
  1908. Add MPC play/pause command
  1909. * lisp/mpc.el (mpc-toggle-play): New command.
  1910. (mpc-mode-map): Bind it to "s".
  1911. (mpc-mode-menu): Add corresponding menu item.
  1912. 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
  1913. Add bindings and menu items for prev and next tracks
  1914. * lisp/mpc.el (mpc-mode-map): Bind ">" to mpc-next,
  1915. "<" to mpc-prev.
  1916. (mpc-mode-menu): Add corresponding menu items
  1917. 2015-10-13 Ken Raeburn <raeburn@raeburn.org>
  1918. Reduce face-related consing during frame creation.
  1919. * faces.el (face--attributes-unspecified): Compute the "unspecified"
  1920. attribute list once.
  1921. (face-spec-reset-face): Use it instead of building the list.
  1922. 2015-10-13 Ken Raeburn <raeburn@permabit.com>
  1923. Do process ConfigureNotify events indicating size changes.
  1924. * src/xterm.c (handle_one_xevent): If consecutive ConfigureNotify
  1925. events don't have the same size, process each one.
  1926. 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
  1927. Derive mpc-mode from special-mode
  1928. lisp/mpc.el (mpc-mode-map): Make from sparse keymap. Unbind g.
  1929. (mpc-mode): Derive from special mode.
  1930. (mpc-songs-mode-map): Don't set parent keymap.
  1931. 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
  1932. Fix error messages for when covers are not found.
  1933. The last change to mpc-format let the binding to file call
  1934. mpc-file-local-copy with nil argument. Instead, employ if-let here
  1935. so nil bindings don't result in needless computation and errors.
  1936. * lisp/mpc.el: Require 'subr-x at compile time.
  1937. * lisp/mpc.el (mpc-format): Use if-let.
  1938. 2015-10-13 Oleh Krehel <ohwoeowho@gmail.com>
  1939. Make dired-do-compress work for *.tar.gz files
  1940. * lisp/dired-aux.el (dired-compress-file-suffixes): Associate
  1941. "tar -zxvf" to *.tar.gz; update docstring.
  1942. (dired-compress-file): Allow to specify switches after the command in
  1943. `dired-compress-file-suffixes'.
  1944. 2015-10-13 Oleh Krehel <ohwoeowho@gmail.com>
  1945. Make dired-do-compress work for directories
  1946. * lisp/dired-aux.el (dired-compress-file): When FILE is a directory,
  1947. instead of emitting an error, call "tar -czf FILE.tar.gz FILE".
  1948. Also convert the top comment into a docstring.
  1949. 2015-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
  1950. * lisp/mpc.el (mpc-songs-refresh): Don't side-effect `active'
  1951. ... since it might come straight from the memoizing table.
  1952. 2015-10-13 Juanma Barranquero <lekktu@gmail.com>
  1953. * src/w32fns.c (x_change_tool_bar_height): Remove unused variable frame.
  1954. 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
  1955. Use special-mode in eww list modes
  1956. * lisp/net/eww.el (eww-bookmark-mode, eww-history-mode)
  1957. (eww-buffers-mode): Derive from special-mode and remove redundant
  1958. setting of buffer-read-only.
  1959. (eww-mode-map): Remove redundant keymap parent setting.
  1960. (eww-bookmark-mode-map, eww-history-mode-map, eww-buffers-mode-map):
  1961. Remove redundant keymap suppressions and mappings.
  1962. 2015-10-13 Martin Rudalics <rudalics@gmx.at>
  1963. Allow setting frame pixel sizes from frame parameters (Bug#21415)
  1964. Also fix some misfeatures in frame (re-)sizing code, add more
  1965. debugging information and remove some dead code.
  1966. * lisp/frame.el (frame-notice-user-settings, make-frame): Change
  1967. parameter names when setting `frame-size-history'.
  1968. (frame--size-history): New function.
  1969. * src/frame.c (frame_inhibit_resize): If frame has not been made
  1970. yet, return t if inhibit_horizontal_resize or
  1971. inhibit_vertical_resize bit have been set.
  1972. (adjust_frame_size): Simplify.
  1973. (make_frame): Initialize inhibit_horizontal_resize,
  1974. inhibit_vertical_resize, tool_bar_redisplayed, tool_bar_resized.
  1975. (Fframe_after_make_frame): Reset inhibit_horizontal_resize and
  1976. inhibit_vertical_resize slots.
  1977. (x_set_frame_parameters): Handle `text-pixels' specification for
  1978. width and height parameters. Don't consider new_height or
  1979. new_width changes. Call adjust_frame_size instead of
  1980. Fset_frame_size.
  1981. (x_figure_window_size): Two new arguments x_width and y_width
  1982. returning frame's figures width and height. Calculate tool bar
  1983. height before frame sizes so SET_FRAME_HEIGHT can pick it up.
  1984. Handle `text-pixels' specification for width and height
  1985. parameters.
  1986. (Qtext_pixels, Qx_set_frame_parameters, Qset_frame_size)
  1987. (Qx_set_window_size_1, Qx_set_window_size_2)
  1988. (Qx_set_window_size_3, Qx_set_menu_bar_lines)
  1989. (Qupdate_frame_menubar, Qfree_frame_menubar_1)
  1990. (Qfree_frame_menubar_2): New symbols.
  1991. * src/frame.h (structure frame): New booleans
  1992. tool_bar_redisplayed, tool_bar_resized,
  1993. inhibit_horizontal_resize, inhibit_vertical_resize.
  1994. (x_figure_window_size): Update external declaration.
  1995. * src/gtkutil.c (xg_frame_set_char_size): Set size hints before
  1996. calling gtk_window_resize.
  1997. (update_frame_tool_bar): Make inhibiting of frame resizing more
  1998. discriminative. Set tool_bar_resized bit.
  1999. * src/nsfns.m (x_set_tool_bar_lines): Make inhibiting of frame
  2000. resizing more discriminative. Call adjust_frame_size instead of
  2001. x_set_window_size.
  2002. (Fx_create_frame): Handle x_width and x_height if
  2003. set by x_figure_window_size.
  2004. * src/nsterm.m (x_set_window_size): For GNUSTEP build don't
  2005. subtract 3 from tool bar height.
  2006. (x_set_window_size): Add frame_size_history_add call.
  2007. (x_new_font): Call adjust_frame_size instead of
  2008. x_set_window_size.
  2009. * src/w32fns.c (x_change_tool_bar_height): Reset
  2010. tool_bar_redisplayed and tool_bar_resized bits when adding tool
  2011. bar. Make inhibiting of frame resizing more discriminative.
  2012. (w32_wnd_proc): Remove dead code in WM_WINDOWPOSCHANGING case.
  2013. (Fx_create_frame): Handle x_width and x_height if set by
  2014. x_figure_window_size. Set size hints before adjusting frame size.
  2015. (x_create_tip_frame): Adjust x_figure_window_size call.
  2016. * src/w32term.c (x_set_window_size): Add frame_size_history_add
  2017. call.
  2018. * src/widget.c (set_frame_size): Remove dead code. Add
  2019. frame_size_history_add call. When frame_resize_pixelwise is t
  2020. use FRAME_PIXEL_WIDTH and FRAME_PIXEL_HEIGHT instead of
  2021. pixel_width and pixel_height.
  2022. (update_various_frame_slots): Remove dead code.
  2023. (EmacsFrameResize): Add more information in
  2024. frame_size_history_add call.
  2025. (EmacsFrameQueryGeometry): Round only when frame_resize_pixelwise
  2026. is not set.
  2027. * src/xdisp.c (redisplay_tool_bar): Set tool_bar_redisplayed bits.
  2028. * src/xfns.c (x_set_menu_bar_lines): Change argument name.
  2029. (x_change_tool_bar_height): Reset tool_bar_redisplayed and
  2030. tool_bar_resized bits when adding tool bar. Make inhibiting of
  2031. frame resizing more discriminative.
  2032. (Fx_create_frame): Handle x_width and x_height if set by
  2033. x_figure_window_size. Set size hints before adjusting frame size.
  2034. (x_create_tip_frame): Adjust x_figure_window_size call.
  2035. * src/xmenu.c (update_frame_menubar): Don't handle Lucid specially.
  2036. (set_frame_menubar): On Lucid never add core-border-width to
  2037. avoid that adding XtNinternalBorderWidth adds it again.
  2038. (free_frame_menubar): Handle frame_inhibit_resize true for Motif.
  2039. * src/xterm.c (x_new_font): In non-toolkit case handle size
  2040. change of menu bar.
  2041. (x_set_window_size_1): Fix calls to frame_size_history_add.
  2042. (x_wm_set_size_hint): Remove dead code. Set
  2043. size_hints.min_width and size_hints.min_height to base_width and
  2044. base_height.
  2045. 2015-10-13 Michael Albinus <michael.albinus@gmx.de>
  2046. * test/automated/file-notify-tests.el (file-notify--test-timeout):
  2047. Add docstring. Increase to 10 seconds for remote
  2048. directories. (Bug#21669)
  2049. 2015-10-12 Paul Eggert <eggert@cs.ucla.edu>
  2050. Unmacroize ebrowse.c and etags.c a bit
  2051. * lib-src/ebrowse.c (READ_CHUNK_SIZE): Now an enum constant.
  2052. (streq, filename_eq, set_flag, has_flag): Now inline functions.
  2053. (set_flag): First arg is now an address, not an lvalue.
  2054. All callers changed.
  2055. (filename_eq, set_flag, has_flag):
  2056. Rename from FILENAME_EQ, SET_FLAG, HAS_FLAG.
  2057. All callers changed.
  2058. * lib-src/etags.c (streq, strcaseeq, strneq, strncaseeq):
  2059. Now inline functions. Remove asserts that are unnecessary these
  2060. days (and in some cases were too-generous anyway).
  2061. 2015-10-12 Mark Oteiza <mvoteiza@udel.edu>
  2062. Use highlight for current items
  2063. * lisp/mpc.el (mpc-select-make-overlay, mpc-tagbrowser-all-select):
  2064. Apply highlight face instead of region face.
  2065. 2015-10-12 Mark Oteiza <mvoteiza@udel.edu>
  2066. Search for more cover image names in MPC
  2067. * lisp/mpc.el (mpc-format): Also look for .folder.jpg or folder.jpg
  2068. case insensitively
  2069. 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
  2070. Remove or comment out unused variables
  2071. * src/w32fns.c (x_set_mouse_color): Comment out variables cursor,
  2072. nontext_cursor, mode_cursor, hand_cursor and count.
  2073. (x_change_tool_bar_height): Remove variable old_text_height.
  2074. (deliver_wm_chars): Remove variable strip_Alt.
  2075. (Fw32_shell_execute): Remove variable document_a.
  2076. (Fw32_frame_geometry): Remove variable fullboth.
  2077. * src/w32term.c (w32_setup_relief_color): Comment out variable
  2078. w32_display_info.
  2079. (w32_horizontal_scroll_bar_handle_click): Remove variables start, end.
  2080. (w32_read_socket): Comment out variables rows, columns.
  2081. * src/w32uniscribe.c (uniscribe_check_otf_1): Remove variable rest.
  2082. 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
  2083. * src/w32proc.c (sys_select): Fix bitwise test.
  2084. 2015-10-12 Eli Zaretskii <eliz@gnu.org>
  2085. Minor typo corrections in doc strings
  2086. * lisp/menu-bar.el (popup-menu, popup-menu-normalize-position):
  2087. Doc fixes.
  2088. 2015-10-12 Eli Zaretskii <eliz@gnu.org>
  2089. * nt/INSTALL: Recommend MSYS Automake/Autoconf from ezwinports.
  2090. 2015-10-12 Eli Zaretskii <eliz@gnu.org>
  2091. Attempt to avoid crashes in plist-member
  2092. * src/fns.c (Fplist_member): Don't call QUIT between a CONSP test
  2093. and a call to XCDR. (Bug#21655)
  2094. 2015-10-12 Mike FABIAN <mfabian@redhat.com>
  2095. * lisp/select.el (gui-get-primary-selection): In
  2096. gui-get-primary-selection use gui--selection-value-internal (Bug#20906)
  2097. 2015-10-12 Tassilo Horn <tsdh@gnu.org>
  2098. Support RTF in doc-view
  2099. * lisp/doc-view.el (doc-view-set-doc-type): Add entry for RTF extension.
  2100. 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
  2101. * src/w32fns.c (get_wm_chars): Increment counter, not pointer.
  2102. 2015-10-11 Nicolas Petton <nicolas@petton.fr>
  2103. Replace the usage of an obsolete function in auth-source.el
  2104. * lisp/gnus/auth-source.el (auth-source-epa-make-gpg-token):
  2105. Replace an usage of `epg-context-set-armor' with `setf'.
  2106. 2015-10-11 Nicolas Petton <nicolas@petton.fr>
  2107. * lisp/gnus/auth-source.el: Use sharp-quoting with functions.
  2108. 2015-10-11 Jay Belanger <jay.p.belanger@gmail.com>
  2109. Have calc-yank recognize numbers in different bases.
  2110. * lisp/calc/calc-yank.el (math-number-regexp): New function.
  2111. (calc-yank): Use `math-number-regexp' to recognize numbers.
  2112. 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
  2113. Handle an opaque-move X11 window manager operation more efficiently
  2114. * src/xterm.c (handle_one_xevent): If a ConfigureNotify event is
  2115. followed by more ConfigureNotify events for the same window, process
  2116. only the last one.
  2117. 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
  2118. Fix cursor setting for tip frame; re-enable cursor generation
  2119. * src/xfns.c (x_create_tip_frame): Include the cursor in the window
  2120. attributes sent when creating the new X window. Don't skip setting
  2121. the pointerColor parameter.
  2122. 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
  2123. Rewrite x_set_mouse_color to sync less
  2124. We can track serial numbers of X requests and correlate error events
  2125. with the associated requests. This way we can identify errors for
  2126. specific calls without having to use XSync after every one.
  2127. * src/xfns.c (enum mouse_cursor): New type.
  2128. (struct mouse_cursor_types, struct mouse_cursor_data): New types.
  2129. (mouse_cursor_types): New array listing the Lisp variables and default
  2130. cursor appearances for each cursor type.
  2131. (x_set_mouse_color_handler): New function; checks error event serial
  2132. number against submitted requests.
  2133. (x_set_mouse_color): Updated to use the new error handler callback,
  2134. and to be more table-driven, to simplify repetitious code.
  2135. 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
  2136. Add x_catch_errors_with_handler
  2137. * src/xterm.c (struct x_error_message_stack): Add new fields for a
  2138. callback function and associated data pointer.
  2139. (x_error_catcher): If the callback function is set, call it after
  2140. saving the error message string.
  2141. (x_catch_errors_with_handler): Renamed from x_catch_errors but now
  2142. accepts a callback function and data pointer.
  2143. (x_catch_errors): Now a wrapper function.
  2144. * src/xterm.h (x_special_error_handler): New typedef.
  2145. (x_catch_errors_with_handler): Declare.
  2146. 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
  2147. Introduce x_uncatch_errors_after_check to reduce XSync calls
  2148. Both x_had_errors_p and x_check_errors call XSync, so if they're
  2149. immediately followed by x_uncatch_errors, its XSync call will be
  2150. redundant, resulting in a wasted round trip to the X server.
  2151. * src/xterm.c (x_uncatch_errors_after_check): New routine; a copy of
  2152. x_uncatch_errors without the XSync call.
  2153. (XTmouse_position, x_wm_supports):
  2154. * src/xfns.c (x_set_mouse_color):
  2155. * src/xmenu.c (Fx_menu_bar_open_internal):
  2156. * src/xselect.c (x_own_selection, x_get_foreign_selection):
  2157. (Fx_get_atom_name): Call it instead of x_uncatch_errors.
  2158. * src/xterm.h (x_uncatch_errors_after_check): Declare.
  2159. 2015-10-10 Jay Belanger <jay.p.belanger@gmail.com>
  2160. Document the optional prefix to `calc-yank'
  2161. * doc/misc/calc.texi (Yanking into the Stack): Document the optional
  2162. prefix to `calc-yank'.
  2163. * lisp/calc/calc-yank.el (calc-yank): Ensure that things killed from
  2164. the Calc buffer are yanked back unchanged.
  2165. 2015-10-10 Mark Oteiza <mvoteiza@udel.edu>
  2166. * lisp/calendar/calendar.el: Display buffer before executing body.
  2167. In each use of this macro, the modeline is derived from a window width
  2168. calculation, which will be wrong if (display-buffer) splits the window
  2169. horizontally.
  2170. 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
  2171. Use ‘echo’ safely with ‘\’ or leading ‘-’
  2172. POSIX says that ‘echo FOO’ produces implementation-defined output
  2173. if FOO contains leading ‘-’, or ‘\’ anywhere, so don’t assume GNU
  2174. behavior in that case.
  2175. * Makefile.in (removenullpaths): Remove.
  2176. (epaths-force): Rewrite to avoid the need for ‘echo’.
  2177. (install-etc): Be clearer about escaping the shell metacharacters
  2178. ‘\’ and ‘$’.
  2179. * Makefile.in (install-arch-indep, install-etcdoc):
  2180. * admin/charsets/mapconv, admin/merge-gnulib, admin/merge-pkg-config:
  2181. * admin/quick-install-emacs, build-aux/gitlog-to-emacslog:
  2182. * configure.ac, lib-src/rcs2log, make-dist:
  2183. * src/Makefile.in (lisp.mk):
  2184. Don’t assume ‘echo’ outputs ‘\’ and leading ‘-’ unscathed.
  2185. For example, use ‘printf '%s\n' "$foo"’ rather than ‘echo "$foo"’
  2186. if $foo can contain arbitrary characters.
  2187. * lisp/Makefile.in (TAGS): Use ‘ls’, not ‘echo’, to avoid ‘\’ issues.
  2188. * doc/lispref/two-volume.make (vol1.pdf):
  2189. * test/etags/make-src/Makefile (web ftp publish):
  2190. Use ‘printf’ rather than ‘echo -e’.
  2191. 2015-10-10 Kaushal Modi <kaushal.modi@gmail.com>
  2192. Allow numbers with different radixes to be yanked.
  2193. * lisp/calc/calc-yank.el (calc-yank): Allow radixes besides the
  2194. default base 10.
  2195. 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
  2196. Improve CHECK_IMPURE and PURE_P speedup
  2197. * src/data.c (Faset): Use XVECTOR and XSTRING rather than XPNTR.
  2198. 2015-10-10 Jay Belanger <jay.p.belanger@gmail.com>
  2199. Use events instead of chars to keep track of steps.
  2200. * lisp/calc/calc-prog.el (calc-kbd-loop): Use events instead of chars
  2201. to keep track of steps.
  2202. 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
  2203. Fix --enable-gcc-warnings problem with older GCC
  2204. * src/puresize.h: Add INLINE_HEADER_BEGIN, INLINE_HEADER_END.
  2205. This is for building with --enable-gcc-warnings with
  2206. GCC 4.6 through 5.0.
  2207. 2015-10-10 Eli Zaretskii <eliz@gnu.org>
  2208. Fix vertical-motion in truncated lines that end in a stretch
  2209. * src/indent.c (Fvertical_motion): Expect overshoot when point is
  2210. beyond window margin and lines are truncated, even if we have a
  2211. stretch at point. (Bug#21468)
  2212. 2015-10-10 Eli Zaretskii <eliz@gnu.org>
  2213. Avoid link-time errors due to inline functions
  2214. * src/emacs.c: Include puresize.h, to avoid link-time errors in
  2215. unoptimized builds due to PURE_P and CHECK_IMPURE, which are now
  2216. inline functions.
  2217. 2015-10-10 Andreas Schwab <schwab@linux-m68k.org>
  2218. * src/data.c (Faset): Fix last change.
  2219. 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
  2220. CHECK_IMPURE and PURE_P speedup
  2221. * src/intervals.c (create_root_interval):
  2222. Do CHECK_IMPURE only for strings; not needed for buffers.
  2223. Prefer ! STRINGP to BUFFERP, for a tad more speed.
  2224. * src/puresize.h (CHECK_IMPURE, PURE_P):
  2225. Now inline functions instead of macros.
  2226. (PURE_P): Don’t use XPNTR; that is now the caller’s responsibility.
  2227. All callers changed.
  2228. (CHECK_IMPURE): New argument PTR, to save us the work of running XPNTR.
  2229. All callers changed.
  2230. 2015-10-09 Noah Friedman <friedman@splode.com>
  2231. (tramp-open-connection-setup-interactive-shell): Send -onlcr as well.
  2232. 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
  2233. * lisp/progmodes/cc-mode.el (c-after-font-lock-init): Only *move*
  2234. our after-change-function, rather than re-adding it if it was removed.
  2235. 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
  2236. * lisp/cedet/ede: Silence some compiler warnings
  2237. * lisp/cedet/ede.el: Require cl-lib. Silence some compiler warnings.
  2238. (ede-menu-obj-of-class-p): Use cl-some rather than `eval'.
  2239. (ede-apply-object-keymap, ede-reset-all-buffers)
  2240. (ede-auto-add-to-target): Use dolist.
  2241. (ede-new, ede-flush-deleted-projects, ede-global-list-sanity-check):
  2242. Use field names rather than initarg names in `oref'.
  2243. (ede-load-project-file): Remove unused var `file'.
  2244. (ede-map-any-target-p): Use cl-some rather than ede-map-targets.
  2245. (ede-set): Remove unused var `a'.
  2246. * lisp/cedet/ede/emacs.el: Silence some compiler warnings.
  2247. (ede-project-autoload): Avoid the old-style "name" argument.
  2248. (ede-emacs-find-matching-target): Use field names rather than initarg
  2249. names in `oref'.
  2250. * lisp/cedet/ede/linux.el: Silence some compiler warnings.
  2251. (ede-linux-load, ede-project-autoload): Avoid the old-style
  2252. "name" argument.
  2253. (ede-linux-find-matching-target): Use field names rather than initarg
  2254. names in `oref'.
  2255. 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
  2256. * lisp/textmodes/reftex.el: Silence byte-compiler warnings.
  2257. 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
  2258. * lisp/progmodes/prolog.el (prolog-smie-rules): Try and avoid
  2259. indenting too far after ":-".
  2260. 2015-10-09 Eli Zaretskii <eliz@gnu.org>
  2261. Update case-table and categories of recently added characters
  2262. * lisp/international/characters.el: Update information about Latin
  2263. Extended-C, Latin Extended-D, Latin Extended-E, Cyrillic Extended,
  2264. Georgian, Glagolitic, Deseret, Old Hungarian, and Warang Citi
  2265. blocks. (Byug#21654)
  2266. 2015-10-09 Martin Rudalics <rudalics@gmx.at>
  2267. * src/frame.c (adjust_frame_size): In minibuffer-only windows
  2268. don't count minibuffer height twice. (Bug#21643)
  2269. 2015-10-09 Eli Zaretskii <eliz@gnu.org>
  2270. Avoid inflooping in font-lock
  2271. * lisp/font-lock.el (font-lock-extend-region-wholelines): Bind
  2272. inhibit-field-text-motion around the call to
  2273. line-beginning-position, to avoid inflooping. (Bug#21615)
  2274. 2015-10-09 Tassilo Horn <tsdh@gnu.org>
  2275. Refactor duplicated code; ensure default is in completions
  2276. * lisp/textmodes/reftex-cite.el (reftex--query-search-regexps):
  2277. New function.
  2278. (reftex-extract-bib-entries): Use it.
  2279. (reftex-extract-bib-entries-from-thebibliography): Use it.
  2280. 2015-10-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
  2281. * doc/misc/autotype.texi (Skeletons as Abbrevs): "if" -> "ifst"
  2282. in the example.
  2283. 2015-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
  2284. * lisp/calc/calc.el: Silence byte-compiler warnings.
  2285. (calc-scan-for-dels): Use ignore-errors.
  2286. (calc-dispatch, calc-do-dispatch): Make unused arg optional.
  2287. (calc-read-key-sequence): Remove unused var `prompt2'.
  2288. (calc-kill-stack-buffer): Remove unused var `buflist'.
  2289. (calc): Remove unused var `oldbuf'.
  2290. (calc-refresh): Use inhibit-read-only.
  2291. (calc-can-abbrev-vectors): Declare.
  2292. (calc-record): Remove unused var `mainbuf'.
  2293. (math-sub-bignum): Remove unused var `sum'.
  2294. (math-svo-c, math-svo-wid, math-svo-off): Declare.
  2295. 2015-10-08 Daiki Ueno <ueno@gnu.org>
  2296. Use g_clear_error instead of g_error_free
  2297. * src/image.c: Define g_clear_error instead of g_error_free.
  2298. (init_svg_functions): Resolve symbol g_clear_error instead of
  2299. g_error_free.
  2300. (svg_load_image): Use g_clear_error instead of g_error_free, to
  2301. suppress GLib warnings when ERR is not set. See bug#21641.
  2302. 2015-10-08 Paul Eggert <eggert@cs.ucla.edu>
  2303. * src/image.c (image_size_error): Simplify.
  2304. 2015-10-08 Paul Eggert <eggert@cs.ucla.edu>
  2305. Fix problems caught with --enable-gcc-warnings
  2306. * src/image.c (lookup_rgb_color):
  2307. * src/xfns.c (x_defined_color):
  2308. * src/xterm.c (x_parse_color):
  2309. Remove unused locals.
  2310. 2015-10-08 Jay Belanger <jay.p.belanger@gmail.com>
  2311. * lisp/calc/calc.el (calc-digit-start-entry): Fix typo.
  2312. 2015-10-08 Jay Belanger <jay.p.belanger@gmail.com>
  2313. Format initial input uniformly
  2314. * lisp/calc/calc.el (calc-digit-start-entry): New function.
  2315. * lisp/calc/calc.el (calcDigit-start):
  2316. * lisp/calc/calc-aent.el (calc-alg-digit-entry):
  2317. Use `calc-digit-start-entry' to format input.
  2318. 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
  2319. Disable non-working pointerColor setting for X tooltip frame
  2320. It generates a bunch of server traffic, but there's some bug wherein
  2321. the new mouse cursor settings don't seem to get used. In most
  2322. situations the cursor isn't likely to be seen anyway, so it's not
  2323. urgent to fix.
  2324. * src/xfns.c (x_create_tip_frame): Don't set pointerColor.
  2325. 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
  2326. Reduce some unnecessary X calls
  2327. * src/xfns.c (x_real_pos_and_offsets): Remove a redundant XGetGeometry
  2328. call. If border width is wanted, get it from the XGetGeometry call
  2329. instead of calling XGetWindowAttributes on the same window. Skip some
  2330. X calls if we've already detected an error from the X server.
  2331. * src/xterm.c (x_wm_supports): Delete x_sync before x_had_errors_p.
  2332. (handle_one_xevent): Delete XSync call before x_uncatch_errors.
  2333. 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
  2334. Reduce color allocation/query traffic in the TrueColor case
  2335. When working with an X visual with TrueColor class, pixel values can
  2336. be generated from the RGB values according to mask value provided by
  2337. the server on connection. Some of the image-handling code was already
  2338. doing this.
  2339. * src/xterm.h (x_make_truecolor_pixel): New function; code taken from
  2340. lookup_rgb_color.
  2341. (x_mutable_colormap): New function.
  2342. * src/image.c (lookup_rgb_color): Move pixel composition code to
  2343. x_make_truecolor_pixel.
  2344. (x_kill_gs_process): Call x_mutable_colormap.
  2345. * src/xfaces.c (x_free_colors, x_free_dpy_colors): Call
  2346. x_mutable_colormap.
  2347. * src/xftfont.c (xftfont_get_colors): Call x_query_colors.
  2348. * src/xterm.c (x_query_colors): For a TrueColor display, decompose the
  2349. pixel value into RGB values directly, and don't send a request to the
  2350. server.
  2351. (x_alloc_nearest_color): For a TrueColor display, construct the pixel
  2352. value with x_make_truecolor_pixel.
  2353. (x_copy_color): For an immutable color map, just return the provided
  2354. pixel value.
  2355. 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
  2356. Cache XParseColor results in the X display info structure
  2357. With repeated lookups of foreground and background colors for multiple
  2358. faces per frame, we issue a lot of redundant color name lookups to the
  2359. X server, waiting every time for the response. On a remote network
  2360. with, say, 30ms round-trip time, this can add nearly a full second to
  2361. creation of a new frame.
  2362. * src/gtkutil.c (xg_check_special_colors): Call x_parse_color.
  2363. * src/image.c (get_spec_bg_or_alpha_as_argb):
  2364. (xpm_init_color_cache, xpm_lookup_color):
  2365. * src/xfns.c (x_defined_color):
  2366. * src/xterm.c (x_parse_color): New function; caches color names not
  2367. starting with "#" in the display-info structure.
  2368. (x_delete_display): Delete the cache content.
  2369. * src/xterm.h (struct color_name_cache_entry): New type.
  2370. (x_parse_color): Declare.
  2371. (struct x_display_info): Add a new field for the cache.
  2372. 2015-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
  2373. * src/syntax.c (syms_of_syntax): Make syntax-propertize--done local.
  2374. 2015-10-07 Eli Zaretskii <eliz@gnu.org>
  2375. Fix segfault in image_size_error
  2376. * src/image.c (image_size_error): Pass a Lisp string to
  2377. image_error, not a C string. (Bug#21641)
  2378. 2015-10-07 Simen Heggestøyl <simenheg@gmail.com>
  2379. Highlight CSS variable definitions
  2380. * lisp/textmodes/css-mode.el (css-nmstart-re): Tweak regexp to accept
  2381. CSS variables. (Bug#21638)
  2382. 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
  2383. * test/automated/tabulated-list-test.el: New file.
  2384. Test bug#21639 and some basic functionality.
  2385. 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
  2386. * lisp/emacs-lisp/tabulated-list.el (tabulated-list-sort):
  2387. Check if column can be sorted before trying. (Bug#21639)
  2388. 2015-10-07 Nicolas Richard <youngfrog@members.fsf.org>
  2389. Add test for `self-insert-command' (bug#21633)
  2390. * test/automated/cmds-tests.el: New file.
  2391. 2015-10-07 Martin Rudalics <rudalics@gmx.at>
  2392. * src/window.c (resize_frame_windows): Don't set root window's
  2393. top position when resizing horizontally.
  2394. 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
  2395. * lisp/progmodes/prog-mode.el (prettify-symbols-alist):
  2396. Document more possible values.
  2397. 2015-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
  2398. * lisp/textmodes/tex-mode.el: Use lexical-binding.
  2399. 2015-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
  2400. * lisp/indent.el (indent--default-inside-comment): New function.
  2401. (indent-for-tab-command): Use it for `noindent' indentation.
  2402. 2015-10-06 Paul Eggert <eggert@cs.ucla.edu>
  2403. Fix bug in GC_CHECK_MARKED_OBJECTS check
  2404. * src/alloc.c (mark_object): Fix bug in checking code.
  2405. When GC_CHECK_MARKED_OBJECTS is defined, the bug caused
  2406. CHECK_ALLOCATED_AND_LIVE_SYMBOL to repeatedly do the
  2407. CHECK_ALLOCATED and CHECK_LIVE tests for the first symbol in each
  2408. bucket. The bug did not affect behavior either in the normal case
  2409. where GC_CHECK_MARKED_OBJECTS is not defined, or where Emacs does
  2410. not have an internal error that a properly-written
  2411. CHECK_ALLOCATED_AND_LIVE_SYMBOL would detect.
  2412. 2015-10-06 Tassilo Horn <tsdh@gnu.org>
  2413. * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
  2414. Add prettified version for \\Bbb{Q}.
  2415. 2015-10-06 Artur Malabarba <bruce.connor.am@gmail.com>
  2416. * test/automated/package-test.el (package-test-install-single):
  2417. Add a test for bug#21625.
  2418. 2015-10-06 Aaron Ecay <aaronecay@gmail.com>
  2419. * lisp/emacs-lisp/package.el (package-install): Fix error when pkg is
  2420. not a package-desc object. Also clarify documentation. (Bug#21625)
  2421. 2015-10-06 Eli Zaretskii <eliz@gnu.org>
  2422. Fix display of characters adjacent to ZWJ and ZWNJ
  2423. * src/bidi.c (bidi_resolve_neutral): Treat all Bn (a.k.a. "control")
  2424. characters the same as directional formatting controls.
  2425. (bidi_level_of_next_char): Include all Bn characters in rule L1,
  2426. as mandated by the UBA.
  2427. 2015-10-06 Andreas Schwab <schwab@suse.de>
  2428. * src/cmds.c (Fself_insert_command): Don't use XFASTINT on a negative
  2429. number. (Bug#21633)
  2430. 2015-10-05 Xue Fuqiao <xfq.free@gmail.com>
  2431. * doc/lispref/objects.texi (Window Type): Add a cross reference.
  2432. * src/buffer.c (syms_of_buffer): Typo fix. (Bug#21622)
  2433. 2015-10-05 Eli Zaretskii <eliz@gnu.org>
  2434. * lisp/language/misc-lang.el (composition-function-table):
  2435. Fix entries for Arabic and Syriac.
  2436. 2015-10-05 Damien Cassou <damien@cassou.me>
  2437. Add first unit tests for auth-source.el
  2438. * test/automated/auth-source-tests.el: New file.
  2439. 2015-10-05 Eli Zaretskii <eliz@gnu.org>
  2440. Remove redundant redisplay code
  2441. * src/xdisp.c (redisplay_internal, try_cursor_movement)
  2442. (try_window_reusing_current_matrix, try_window_id): Remove
  2443. redundant restrictions on redisplay optimizations based on the
  2444. frame's 'redisplay' flag. See
  2445. http://osdir.com/ml/general/2015-10/msg02110.html for the relevant
  2446. discussions.
  2447. 2015-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
  2448. * src/xdisp.c (windows_or_buffers_changed): Improve docstring.
  2449. 2015-10-04 Xue Fuqiao <xfq.free@gmail.com>
  2450. Update tutorials/TUTORIAL.cn
  2451. * etc/tutorials/TUTORIAL.cn: Improve translation.
  2452. 2015-10-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
  2453. * src/macfont.m (macfont_encode_char, syms_of_macfont):
  2454. Remove unused vars.
  2455. 2015-10-04 Stefan Merten <stefan@merten-home.de>
  2456. Pull in version numbers from rst.el upstream release.
  2457. * lisp/textmodes/rst.el (rst-cvs-header, rst-svn-rev)
  2458. (rst-svn-timestamp, rst-official-version)
  2459. (rst-official-cvs-rev, rst-package-emacs-version-alist):
  2460. Update version numbers.
  2461. 2015-10-04 Eli Zaretskii <eliz@gnu.org>
  2462. * test/automated/coding-tests.el: New file.
  2463. 2015-10-04 Michael Albinus <michael.albinus@gmx.de>
  2464. Improve XEmacs compatibility of Tramp
  2465. * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
  2466. Declare if it doesn't exist.
  2467. (file-remote-p): Remove defalias, which was necessary for GNU Emacs 21.
  2468. (redisplay): Make it an alias if it doesn't exist.
  2469. * lisp/net/tramp.el (tramp-get-remote-tmpdir): Don't use
  2470. `file-remote-p' (due to XEmacs compatibility).
  2471. * lisp/net/trampver.el (locate-dominating-file)
  2472. (tramp-compat-replace-regexp-in-string): Autoload.
  2473. (tramp-repository-get-version): Do not dupe byte-compiler.
  2474. 2015-09-02 K. Handa <handa@gnu.org>
  2475. fix for the case that M17N_FLT_USE_NEW_FEATURE is not defined
  2476. * src/ftfont.c (ftfont_drive_otf) [not M17N_FLT_USE_NEW_FEATURE]:
  2477. Adjusted for the change of type of elements in the array
  2478. MFLTGlyphString.glyphs.
  2479. 2015-10-04 Eli Zaretskii <eliz@gnu.org>
  2480. Michael Heerdegen <michael_heerdegen@web.de>
  2481. shr: fix too long lines in rendered buffers (Bug#21012)
  2482. * lisp/net/shr.el (shr-insert-document, shr-fill-text):
  2483. Correct calculation of available width.
  2484. (shr-find-fill-point): Don't overflow window edge if shr-kinsoku-shorten
  2485. is nil.
  2486. 2015-10-04 Vincent Belaïche <vincentb1@users.sourceforge.net>
  2487. Restore blank line before next section, erroneously erased
  2488. in my previous commit
  2489. * etc/compilation.txt (symbol ant): Add an additional trailing blank
  2490. line to this section, so that there are two of them immediately before
  2491. the next section.
  2492. 2015-10-04 Vincent Belaïche <vincentb1@users.sourceforge.net>
  2493. Support MSW filename style for ant compilation error regexp
  2494. * etc/compilation.txt (symbol ant):
  2495. * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
  2496. Support MSW filename style.
  2497. 2015-10-03 Paul Eggert <eggert@cs.ucla.edu>
  2498. * nt/INSTALL: Minor spelling and quote fixes.
  2499. * lisp/ibuffer.el: Fix docstring length (Bug#21541).
  2500. 2015-10-03 Simen Heggestøyl <simenheg@gmail.com>
  2501. Maintain ordering of JSON object keys by default
  2502. * lisp/json.el (json-object-type): Mention order handling in doc-string.
  2503. (json--plist-reverse): New utility function.
  2504. (json-read-object): Maintain ordering for alists and plists.
  2505. (json-pretty-print): Ensure that ordering is maintained.
  2506. * test/automated/json-tests.el (test-json-plist-reverse): New test for
  2507. `json--plist-reverse'.
  2508. (json-read-simple-alist): Update test to accommodate for changes in
  2509. `json-read-object'.
  2510. * etc/NEWS: Document the new behavior of the pretty printing functions.
  2511. 2015-10-03 Andreas Schwab <schwab@linux-m68k.org>
  2512. * src/coding.c (complement_process_encoding_system): Revert last change.
  2513. 2015-10-03 Ulf Jasper <ulf.jasper@web.de>
  2514. * admin/MAINTAINERS: Add entry for Ulf Jasper.
  2515. 2015-10-03 Xue Fuqiao <xfq.free@gmail.com>
  2516. Doc fix for `defmacro'
  2517. * doc/lispref/objects.texi (Macro Type): `defmacro' is a macro now.
  2518. 2015-10-03 Andreas Schwab <schwab@linux-m68k.org>
  2519. More validatation of coding systems
  2520. * src/fileio.c (Finsert_file_contents): Remove redundant
  2521. coding-system check.
  2522. (choose_write_coding_system): Likewise.
  2523. * src/coding.c (complement_process_encoding_system): Check argument
  2524. for valid coding system.
  2525. 2015-10-03 Eli Zaretskii <eliz@gnu.org>
  2526. Avoid crashes in coding_inherit_eol_type
  2527. * src/coding.c (coding_inherit_eol_type): Check the validity of
  2528. the arguments. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
  2529. (Bug#21602)
  2530. 2015-10-03 Eli Zaretskii <eliz@gnu.org>
  2531. More validatation of coding system in 'write-region'
  2532. * src/coding.c (choose_write_coding_system): More validation of
  2533. coding-system from various sources. Suggested by Andreas Schwab
  2534. <schwab@linux-m68k.org>. (Bug#21602)
  2535. 2015-10-03 Eli Zaretskii <eliz@gnu.org>
  2536. Avoid crashes due to invalid coding-system
  2537. * src/fileio.c (choose_write_coding_system)
  2538. (Finsert_file_contents): Check validity of coding-system-for-write
  2539. and coding-system-for-read bound by the caller. (Bug#21602)
  2540. 2015-10-03 Tassilo Horn <tsdh@gnu.org>
  2541. Adapt to new prettify-symbols-unprettify-at-point default
  2542. * etc/NEWS: Mention that unprettication of symbol at point is off
  2543. by default.
  2544. 2015-10-03 Tassilo Horn <tsdh@gnu.org>
  2545. Revert my two recent process.c changes
  2546. Revert "Improve last commit to process.c" and "Remove callback-handled
  2547. channels from Available set" because they did not fix bug#21313.
  2548. This reverts commits bfa1aa8e2bdaf14adbbf1e9e824051d3f740694c and
  2549. 27f871907cc24f33a7d12ac3a4ab71a88f0bc554.
  2550. 2015-10-02 Markus Triska <triska@metalevel.at>
  2551. * lisp/progmodes/prolog.el: Update and extend operator table.
  2552. (prolog-smie-grammar): Add multifile, public etc.
  2553. 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
  2554. Allow autogen even when Git is not installed
  2555. * autogen.sh: Test ‘git status’ before trying to use Git.
  2556. 2015-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
  2557. * lisp/vc/vc-git.el (vc-git-region-history): Handle local changes.
  2558. Adjust lto/lfrom when we have uncommitted changes.
  2559. 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
  2560. Fix problems found by clang 3.5.0
  2561. * src/cmds.c (Fdelete_char): Don’t assume XINT returns int.
  2562. * src/font.c (font_parse_family_registry):
  2563. Use &"str"[X] instead of "str"+X, to pacify clang -Wstring-plus-int.
  2564. 2015-10-02 Eli Zaretskii <eliz@gnu.org>
  2565. * nt/INSTALL: Update instructions for running autogen.sh.
  2566. * nt/INSTALL: Point to ezwinports for libXpm binaries.
  2567. 2015-10-02 Daniel Colascione <dancol@dancol.org>
  2568. Fix winner in cl-lib not loaded case
  2569. * lisp/winner.el (winner-change-fun): Don't use cl-lib functions
  2570. without requiring CL
  2571. 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
  2572. Fix a few problems with directed quotes
  2573. This is in response to a problem report by Kaushal Modi in:
  2574. http://bugs.gnu.org/21588#25
  2575. * lisp/cedet/mode-local.el (describe-mode-local-overload):
  2576. * lisp/emacs-lisp/bytecomp.el (byte-compile-fix-header):
  2577. * lisp/info-xref.el (info-xref-check-all-custom):
  2578. * lisp/mail/emacsbug.el (report-emacs-bug-hook):
  2579. Prefer directed to undirected single quotes in diagnostics.
  2580. 2015-10-01 Eli Zaretskii <eliz@gnu.org>
  2581. Revert "Attempt to fix slow redisplay caused by last changes"
  2582. * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
  2583. (try_cursor_movement): Don't relax requirements for redisplay
  2584. optimizations for the selected frame. (Bug#21597)
  2585. This reverts commit c4c1fb97727ff52bcfa83ad5ed94a64a93d12e59.
  2586. 2015-10-01 Eli Zaretskii <eliz@gnu.org>
  2587. Fix slow redisplay when daemon frame exists
  2588. * src/xdisp.c (redisplay_internal): Don't consider daemon frames
  2589. when looking for frames that need to be redisplayed. (Bug#21597)
  2590. 2015-10-01 Eli Zaretskii <eliz@gnu.org>
  2591. Attempt to fix slow redisplay caused by last changes
  2592. * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
  2593. (try_cursor_movement): Relax requirements for redisplay
  2594. optimizations for the selected frame. (Bug#21597)
  2595. 2015-10-01 Stephen Leake <stephen_leake@stephe-leake.org>
  2596. * src/dired.c (Ffile_name_completion, Ffile_name_all_completions):
  2597. Improve doc string.
  2598. 2015-10-01 Stephen Leake <stephen_leake@stephe-leake.org>
  2599. * lisp/minibuffer.el (minibuffer-completion-help):
  2600. Set default base-size, in case completion table does not set it.
  2601. 2015-10-01 Eli Zaretskii <eliz@gnu.org>
  2602. Fix GUD display of GDB output with non-ASCII text
  2603. * lisp/progmodes/gdb-mi.el (gdb-mi-decode-strings): New defcustom.
  2604. (gdb-mi-decode): New function.
  2605. (gud-gdbmi-marker-filter): If gdb-mi-decode-strings is non-nil,
  2606. decode octal escapes in GDB output. (Bug#21572)
  2607. 2015-10-01 Eli Zaretskii <eliz@gnu.org>
  2608. * nt/INSTALL: Document where to find XPM support files.
  2609. 2015-10-01 Tassilo Horn <tsdh@gnu.org>
  2610. Un- and re-prettification are not exclusive
  2611. * lisp/progmodes/prog-mode.el (prettify-symbols--post-command-hook):
  2612. Re-apply prettification to previous symbol also when unprettifying
  2613. next one.
  2614. 2015-10-01 Tassilo Horn <tsdh@gnu.org>
  2615. Don't unprettify symbol at point by default
  2616. * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
  2617. Default to disabled (nil).
  2618. 2015-09-30 Artur Malabarba <bruce.connor.am@gmail.com>
  2619. * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
  2620. Support unprettifying when point is after a symbol.
  2621. * etc/NEWS: Document `prettify-symbols-unprettify-at-point'.
  2622. 2015-09-30 Eli Zaretskii <eliz@gnu.org>
  2623. Avoid assertion violations in push_prefix_prop
  2624. * src/xdisp.c (push_prefix_prop): Avoid assertion violations when
  2625. a line that has a line-prefix defined starts with an image. (Bug#21428)
  2626. 2015-09-30 Eli Zaretskii <eliz@gnu.org>
  2627. Disable some display optimizations when frames need redisplay
  2628. These optimizations were previously disabled by the
  2629. windows_or_buffers_changed flag, which now is not set
  2630. when only some frames need to be redrawn.
  2631. * src/xdisp.c (redisplay_internal): Redisplay any frame whose
  2632. 'redisplay' flag is set.
  2633. (try_window_reusing_current_matrix, try_window_id)
  2634. (try_cursor_movement): Disable these optimizations when the
  2635. frame's 'redisplay' flag is set.
  2636. 2015-09-30 Tassilo Horn <tsdh@gnu.org>
  2637. Don't modify buffer by unprettification
  2638. * lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol):
  2639. (prettify-symbols--post-command-hook, prettify-symbols-mode): Don't
  2640. modify buffer when setting/removing custom prettify-symbols-start/end
  2641. text properties. Add them to font-lock-extra-managed-props, too.
  2642. 2015-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
  2643. Try to avoid redisplaying all frames when creating a new one
  2644. * src/xfns.c (x_set_menu_bar_lines, x_change_tool_bar_height):
  2645. * src/xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face)
  2646. (Finternal_set_lisp_face_attribute, update_face_from_frame_parameter):
  2647. * src/frame.c (x_set_screen_gamma): Set the specific frame's
  2648. `redisplay' bit rather than windows_or_buffers_changed.
  2649. * src/window.c (apply_window_adjustment): Remove redundant setting of
  2650. windows_or_buffers_changed.
  2651. * src/xdisp.c (redisplay_internal): Set the specific frame's
  2652. `redisplay' bit rather than update_mode_lines in response to
  2653. cursor_type_changed.
  2654. (syms_of_xdisp): Use hash-tables for redisplay_*_cause tables.
  2655. (AINC): Adjust accordingly.
  2656. 2015-09-30 Tassilo Horn <tsdh@gnu.org>
  2657. Implement unprettification of symbol at point
  2658. * lisp/progmodes/prog-mode.el: Implement feature for unprettifying the
  2659. symbol at point.
  2660. (prettify-symbols--current-symbol-bounds): New variable.
  2661. (prettify-symbols--post-command-hook): New function.
  2662. (prettify-symbols-unprettify-at-point): New defcustom.
  2663. (prettify-symbols-mode): Use it.
  2664. (prettify-symbols--compose-symbol): Use them.
  2665. 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
  2666. * src/macfont.m (mac_font_descriptor_supports_languages):
  2667. Regard "zh" as synonym of "zh-Hans".
  2668. 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
  2669. Work around crash when displaying etc/HELLO on OS X 10.11
  2670. * src/macfont.m (mac_font_get_weight)
  2671. (mac_font_descriptor_get_adjusted_weight): New functions.
  2672. (macfont_store_descriptor_attributes): Adjust weight.
  2673. 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
  2674. * src/macfont.m: Fix compilation with USE_CT_GLYPH_INFO.
  2675. 2015-09-30 Nicolas Petton <nicolas@petton.fr>
  2676. * lisp/arc-mode.el (archive-rar-summarize): Better alignment
  2677. of the columns.
  2678. 2015-09-30 Nicolas Petton <nicolas@petton.fr>
  2679. Use unar and lsar to handle RAR archives in arc-mode
  2680. * lisp/arc-mode.el (archive-rar-extract, archive-extract-by-file): Rely
  2681. on unar and lsar instead of unrar-free for RAR archives (bug#17663).
  2682. 2015-09-30 Wieland Hoffmann <themineo@gmail.com> (tiny change)
  2683. Clarify :create in auth-source's docs
  2684. * lisp/gnus/auth-source.el (auth-source-search):
  2685. Clarify :create's meaning.
  2686. 2015-09-30 Phil Sainty <psainty@orcon.net.nz>
  2687. Avoid empty -path arguments in rgrep
  2688. * lisp/progmodes/grep.el (rgrep-default-command): Remove nil from
  2689. the list produced according to grep-find-ignored-directories,
  2690. before passing it to Find/Grep invocation. (Bug#21548)
  2691. 2015-09-30 Eli Zaretskii <eliz@gnu.org>
  2692. Clarify documentation of pos-visible-in-window-p
  2693. * src/window.c (Fpos_visible_in_window_p): Clarify the meaning of
  2694. t for POS. See
  2695. http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg01040.html
  2696. for the original report.
  2697. * doc/lispref/windows.texi (Window Start and End): Clarify the
  2698. meaning of t for the POSITION argument of pos-visible-in-window-p.
  2699. 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
  2700. * lisp/progmodes/prolog.el: Fix various indentation cases.
  2701. (prolog-operator-chars): New const (add \\).
  2702. (prolog-smie-forward-token, prolog-smie-backward-token): Use it.
  2703. (prolog-smie-rules): Add rules according to bug#21526.
  2704. 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
  2705. * lisp/progmodes/sh-script.el: Old "dumb" continued line indent.
  2706. (sh-indent-after-continuation): Add new value `always' (bug#17620)
  2707. (sh-smie-sh-rules): Remove old handling of continued lines.
  2708. (sh-smie--indent-continuation): New function.
  2709. (sh-set-shell): Use it.
  2710. 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
  2711. * lisp/progmodes/octave.el: Use grammar more; Handle enumeration fun.
  2712. Remove redundant :group keyword args.
  2713. (octave-begin-keywords, octave-else-keywords, octave-end-keywords):
  2714. Remove variables.
  2715. (octave-operator-table, octave-smie-bnf-table): Use let-when-compile to
  2716. turn them into compile-time variables.
  2717. Auto-generate the "foo ... end" rules from the "foo ... endfoo" rules.
  2718. Add rules for break, continue, return, global, and persistent.
  2719. Refine the rule for "until".
  2720. (octave-smie--funcall-p, octave-smie--end-index-p)
  2721. (octave-smie--in-parens-p): New functions.
  2722. (octave-smie-backward-token, octave-smie-forward-token): Use them to
  2723. distinguish the "enumeration" function and the "end" index from
  2724. their corresponding keywords.
  2725. (octave--block-offset-keywords): New constant.
  2726. (octave-smie-rules): Use it. Adjust rules for new global/persistent
  2727. parsing.
  2728. (octave-reserved-words): Redefine using octave-smie-grammar.
  2729. (octave-font-lock-keywords): Use octave-smie--funcall-p and
  2730. octave-smie--end-index-p.
  2731. 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
  2732. * lisp/emacs-lisp/lisp-mode.el (let-when-compile): Work like let*.
  2733. 2015-09-29 Eli Zaretskii <eliz@gnu.org>
  2734. * nt/INSTALL: Remove references to GTK site.
  2735. That site no longer offers Windows downloads.
  2736. 2015-09-29 Eli Zaretskii <eliz@gnu.org>
  2737. * nt/INSTALL: Add instructions for installing Git.
  2738. 2015-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
  2739. * lisp/net/shr.el (shr-colorize-region): Allow 88-color tty to
  2740. use colors. Suggested by Eli Zaretskii.
  2741. 2015-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
  2742. * lisp/net/shr.el (shr-colorize-region): Don't do it on a system
  2743. not supporting 256 above colors (bug#21557).
  2744. 2015-09-28 Dmitry Gutov <dgutov@yandex.ru>
  2745. Revert "Don't rely on defaults in decoding UTF-8 encoded Lisp files"
  2746. This reverts commit db828f62f6f17414fbbc3206dac123dc73dd6055.
  2747. 2015-09-28 Nicolas Petton <nicolas@petton.fr>
  2748. Add documentation for seq.el
  2749. * doc/lispref/sequences.texi: Add documentation regarding extending
  2750. seq.el, as well as missing documentation for seq-elt, seq-length, seq-p,
  2751. seq-do and seq-map.
  2752. 2015-09-28 Nicolas Petton <nicolas@petton.fr>
  2753. Better documentation for seq-some
  2754. * doc/lispref/sequences.texi:
  2755. * lisp/emacs-lisp/seq.el: Update the documentation of seq-some to
  2756. guarantee that the returned value is the first non-nil value that
  2757. resulted from applying the predicate.
  2758. 2015-09-28 Nicolas Petton <nicolas@petton.fr>
  2759. * lisp/arc-mode.el: Sharp-quote function arguments.
  2760. 2015-09-28 Eli Zaretskii <eliz@gnu.org>
  2761. Avoid redisplay error in ediff-regions-wordwise
  2762. * lisp/vc/ediff-util.el
  2763. (ediff-clone-buffer-for-region-comparison): Make sure the mark is
  2764. set before activating it. (Bug#21567)
  2765. 2015-09-28 Eli Zaretskii <eliz@gnu.org>
  2766. Another attempt to fix crashes due to prematurely freed faces
  2767. * src/xdisp.c (redisplay_internal): Inhibit freeing of realized
  2768. faces for as long as we might have desired matrices that reference
  2769. those faces. (Bug#21428)
  2770. 2015-09-28 Tassilo Horn <tsdh@gnu.org>
  2771. Add auctex development list email address
  2772. 2015-09-28 Tassilo Horn <tsdh@gnu.org>
  2773. * admin/MAINTAINERS: Add entries for AUCTeX team and myself.
  2774. 2015-09-28 Arash Esbati <esbati@gmx.de> (tiny change)
  2775. Improve wrapfig package support and caption parsing
  2776. * lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin):
  2777. Correct description string and add wraptable environment.
  2778. (reftex-default-context-regexps): Improve caption regexp.
  2779. 2015-09-28 Anders Lindgren <andlind@gmail.com>
  2780. Respect value of frame_resize_pixelwise when handling fullscreen state
  2781. * src/nsterm.m (handleFS): Respect frame_resize_pixelwise when
  2782. setting size increments.
  2783. 2015-09-27 Michael Albinus <michael.albinus@gmx.de>
  2784. * src/gfilenotify.c (Fgfile_add_watch): Cleanup temporary variable.
  2785. 2015-09-27 Simen Heggestøyl <simenheg@gmail.com>
  2786. Add prettify-symbols-alist for js-mode
  2787. * lisp/progmodes/js.el (js--prettify-symbols-alist): New defconst.
  2788. (js-mode): Use it.
  2789. 2015-09-27 Eli Zaretskii <eliz@gnu.org>
  2790. * nt/subdirs.el: File deleted (no longer used).
  2791. 2015-09-26 Alan Mackenzie <acm@muc.de>
  2792. Fix follow-scroll-up/down, making them replacements for scroll-up/down
  2793. 1. Allow point to move between follow windows in scroll operations.
  2794. 2. Fix bug where `right-char' just before EOB caused spurious scrolling,
  2795. when EOB was isolated in the last follow window.
  2796. * lisp/follow.el (follow-fixed-window): New variable.
  2797. (follow-get-scrolled-point): New function.
  2798. (follow-scrol-up, follow-scroll-down): Add autoload cookies.
  2799. Reformulate the code. Put `scroll-command' properties on the functions.
  2800. Correct minor errors in ...-down's doc string and code.
  2801. (follow-calc-win-end): Amend incomplete doc string. Use
  2802. `pos-visible-in-window-p' to check whether EOB is in the window.
  2803. (follow-estimate-first-window-start): Correct an off-by-1 error.
  2804. (follow-adjust-window): Add handling for explicit scrolling operations.
  2805. 2015-09-26 Paul Eggert <eggert@cs.ucla.edu>
  2806. * admin/MAINTAINERS: Add self, plus list some more files
  2807. sans maintaners.
  2808. 2015-09-26 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
  2809. New DWIM commands for changing letter-case
  2810. * lisp/simple.el (upcase-dwim, downcase-dwim, capitalize-dwim):
  2811. New functions. (Bug#21501)
  2812. 2015-09-26 Eli Zaretskii <eliz@gnu.org>
  2813. * etc/PROBLEMS: Document problems with pasting on MS-Windows.
  2814. 2015-09-26 Eli Zaretskii <eliz@gnu.org>
  2815. Make face realization be more frame-specific
  2816. * src/frame.h (struct f): New flag face_change.
  2817. * src/xfaces.c (Finternal_make_lisp_face)
  2818. (Finternal_copy_lisp_face, Finternal_set_lisp_face_attribute)
  2819. (update_face_from_frame_parameter): Set the face_change flag only
  2820. for the frame whose faces are affected.
  2821. * src/xdisp.c (init_iterator): If a frame's face_change flag is
  2822. set, free faces only on that frame.
  2823. (redisplay_internal): Disable "display optimization 1" if the
  2824. frame's face_change flag is set.
  2825. (redisplay_window): Don't allow skipping a window's redisplay if
  2826. its frame's face_change flag is set.
  2827. * src/frame.c (x_set_screen_gamma): Instead of calling
  2828. Fclear_face_cache, call clear_face_cache and set
  2829. windows_or_buffers_changed to a non-zero value. This avoids
  2830. setting the global face_change flag that triggers face realization
  2831. on all frames and thorough redisplay of all of them.
  2832. * lisp/term/tty-colors.el (tty-register-default-colors): Don't
  2833. clear face cache if the selected frame is a GUI frame.
  2834. 2015-09-26 Tassilo Horn <tsdh@gnu.org>
  2835. Remove font-latex specific check
  2836. * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
  2837. Use syntax-ppss data to identify verbatim contents.
  2838. 2015-09-25 Tassilo Horn <tsdh@gnu.org>
  2839. * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
  2840. Fix some false negatives.
  2841. 2015-09-25 Eli Zaretskii <eliz@gnu.org>
  2842. Reorder Windows version in Emacs manifests
  2843. * nt/emacs-x64.manifest:
  2844. * nt/emacs-x86.manifest: Reorder Windows version from lowest to
  2845. highest.
  2846. 2015-09-25 Eli Zaretskii <eliz@gnu.org>
  2847. Update Emacs manifest files for Windows 10
  2848. * nt/emacs-x86.manifest:
  2849. * nt/emacs-x64.manifest: Declare compatibility with Windows 10.
  2850. 2015-09-25 Eli Zaretskii <eliz@gnu.org>
  2851. Avoid non-ASCII decoding errors in C src files
  2852. * src/nsterm.m:
  2853. * src/lisp.h:
  2854. * src/editfns.c:
  2855. * src/doprnt.c: Add 'coding' cookies -- these files include
  2856. Unicode characters and should be decoded as UTF-8.
  2857. 2015-09-25 Alan Mackenzie <acm@muc.de>
  2858. Resurrect edebug-set-initial-mode, repurposing it to set the global mode
  2859. * lisp/emacs-lisp/edebug.el (edebug-initial-mode-alist): Uncomment, and
  2860. amend to match current modes and functions.
  2861. (edebug-set-initial-mode): Uncomment and change from setting a defun's
  2862. `edebug-initial-mode''s property to setting the variable
  2863. `edebug-initial-mode'.
  2864. (top level): Create new binding C-x C-a C-m for
  2865. `edebug-set-initial-mode'.
  2866. * doc/lispref/edebug.texi (Edebug Execution Modes): Document
  2867. `edebug-set-initial-mode' and its new key binding.
  2868. (Edebug Options): Mention the new command in the pertinent place.
  2869. * etc/NEWS: Write entry for this change.
  2870. 2015-09-25 Eli Zaretskii <eliz@gnu.org>
  2871. Avoid non-ASCII decoding errors in Texinfo files
  2872. * doc/misc/tramp.texi:
  2873. * doc/lispref/strings.texi:
  2874. * doc/lispref/positions.texi:
  2875. * doc/lispref/help.texi:
  2876. * doc/lispref/functions.texi:
  2877. * doc/lispintro/emacs-lisp-intro.texi:
  2878. * doc/emacs/text.texi:
  2879. * doc/emacs/modes.texi:
  2880. * doc/emacs/mini.texi:
  2881. * doc/emacs/display.texi:
  2882. * doc/emacs/custom.texi:
  2883. * doc/emacs/basic.texi: Add 'coding' cookies -- these files use
  2884. Unicode characters and should be decoded as UTF-8.
  2885. * doc/lispref/frames.texi (Size Parameters): Don't use a non-ASCII
  2886. apostrophe unnecessarily.
  2887. 2015-09-25 Paul Eggert <eggert@cs.ucla.edu>
  2888. Merge from gnulib
  2889. This incorporates:
  2890. 2015-09-25 c-ctype: rewrite to use inline functions
  2891. 2015-09-24 maint: add coding cookies to non-ASCII sources
  2892. 2015-09-24 gitlog-to-changelog: trim only trailing whitespaces
  2893. * build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
  2894. * lib/acl-internal.c, lib/acl-internal.h, lib/c-ctype.c:
  2895. * lib/c-ctype.h, lib/get-permissions.c, lib/qcopy-acl.c:
  2896. * lib/set-permissions.c:
  2897. Copy from gnulib.
  2898. 2015-09-24 Paul Eggert <eggert@cs.ucla.edu>
  2899. Update publicsuffix.txt from upstream
  2900. * etc/publicsuffix.txt: Update from
  2901. https://publicsuffix.org/list/effective_tld_names.dat
  2902. dated 2015-09-24 17:29:21 UTC.
  2903. 2015-09-24 Eli Zaretskii <eliz@gnu.org>
  2904. Prevent timers from messing up TTY menus
  2905. * src/term.c (tty_menu_activate): Inhibit redisplay for as long as
  2906. the TTY menu is open. (Bug#21530)
  2907. 2015-09-24 Paul Eggert <eggert@cs.ucla.edu>
  2908. No need to mention K&R C in c-mode intro
  2909. 2015-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
  2910. Fix recent bootstrap problems
  2911. * src/syntax.c (parse_sexp_propertize): Fix last fix.
  2912. * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): Fix paren typo.
  2913. * lisp/emacs-lisp/lisp-mode.el: Require cl-lib for cl-progv.
  2914. 2015-09-24 Michael Albinus <michael.albinus@gmx.de>
  2915. * src/gfilenotify.c (Fgfile_add_watch): Decrease polling rate.
  2916. 2015-09-23 Ivan Andrus <darthandrus@gmail.com>
  2917. Properly quote nested xml comments (Bug#6267) (Bug#20001)
  2918. * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): New function.
  2919. (nxml-mode): Set comment-quote-nested-function.
  2920. 2015-09-23 Ivan Andrus <darthandrus@gmail.com>
  2921. Allow major-modes full control over quoting nested comments
  2922. * lisp/newcomment.el (comment-quote-nested-function): New variable.
  2923. (comment-quote-nested-default): New function.
  2924. (comment-quote-nested): Use `comment-quote-nested-function'.
  2925. 2015-09-23 Paul Eggert <eggert@cs.ucla.edu>
  2926. Prefer CALLN in a few more places
  2927. * src/macfont.m (macfont_set_family_cache):
  2928. * src/nsterm.m (append2):
  2929. * src/xterm.c (x_cr_export_frames):
  2930. Prefer CALLN to allocating the arg arrays by hand.
  2931. 2015-09-23 Michael Albinus <michael.albinus@gmx.de>
  2932. Adapt file-notify-test02-events test case
  2933. * test/automated/file-notify-tests.el (file-notify-test02-events):
  2934. Create a new watch for every test.
  2935. 2015-09-23 Michael Albinus <michael.albinus@gmx.de>
  2936. Continue gfilenotify.c implementation of missing parts
  2937. * lisp/filenotify.el (file-notify-add-watch): Append `flags' to
  2938. `gfile-add-watch' call.
  2939. (file-notify-rm-watch): Modify `file-notify-descriptors' only
  2940. after calling the low level functions.
  2941. * src/gfilenotify.c (dir_monitor_callback): Check, whether
  2942. event_type is expected.
  2943. (Fgfile_add_watch): Allow also `change'and `attribute-change' for FLAGS.
  2944. (Fgfile_rm_watch): Fix typo.
  2945. (syms_of_gfilenotify): Declare Qchange and Qattribute_change.
  2946. 2015-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
  2947. * src/syntax.c (parse_sexp_propertize): Handle spurious
  2948. e_property_truncated flag.
  2949. (update_syntax_table_forward): Remove invalid assertion.
  2950. 2015-09-23 Eli Zaretskii <eliz@gnu.org>
  2951. * src/xdisp.c (produce_stretch_glyph): Support ':relative-width'
  2952. space display spec on text-mode terminals, by calling
  2953. PRODUCE_GLYPHS instead of x_produce_glyphs. Remove the
  2954. HAVE_WINDOW_SYSTEM guards from the supporting code, as well as the
  2955. test for a GUI frame.
  2956. 2015-09-23 Oleh Krehel <ohwoeowho@gmail.com>
  2957. Move let-when-compile to lisp-mode.el
  2958. This fixes the bootstrapping problem of `let-when-compile' using
  2959. `cl-progv' while being in subr.el (i.e. before cl stuff was loaded).
  2960. 2015-09-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
  2961. * lisp/url/url-http.el (url-http-parse-headers): Do not
  2962. automatically include Authorization header in redirect.
  2963. (Bug#21350)
  2964. 2015-09-22 Eli Zaretskii <eliz@gnu.org>
  2965. Clarify documentation of ':relative-width'
  2966. * doc/lispref/display.texi (Specified Space): Document that
  2967. ':relative-width' is only supported on GUI frames.
  2968. 2015-09-22 Eli Zaretskii <eliz@gnu.org>
  2969. Fix 'current-column' in presence of :relative-width
  2970. * src/indent.c (check_display_width): Support ':relative-width'
  2971. in a display spec that specifies a stretch glyph. (Bug#21533)
  2972. 2015-09-22 Ken Manheimer <ken.manheimer@gmail.com>
  2973. Reformat the pdbtrack remote-file fix ChangeLog.2 entry
  2974. ... to conform better to CONTRIBUTE guidelines.
  2975. 2015-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
  2976. * lisp/progmodes/prolog.el: Fix indentation of empty line
  2977. * lisp/emacs-lisp/smie.el (smie-rules-function): Document new
  2978. `empty-line-token' element.
  2979. (smie-indent-empty-line): New function.
  2980. (smie-indent-functions): Add it.
  2981. * lisp/progmodes/prolog.el (prolog-smie-rules): Fix :list-intro
  2982. behavior and use the new `empty-line-token' element (bug#21526).
  2983. (prolog-mode-variables): Fix comment-start-skip setting to match
  2984. comment-start.
  2985. * test/indent/prolog.prolog: Add nested indentation tests.
  2986. * lisp/newcomment.el (comment-normalize-vars): Fix default value of
  2987. comment-start-skip not to misuse submatch 1.
  2988. 2015-09-22 Alan Mackenzie <acm@muc.de>
  2989. Make description of `edebug-initial-mode' user friendly
  2990. Fixes bug#21365.
  2991. * dec/lispref/edebug.texi (Edebug Execution Modes): Change the
  2992. description of `edebug-initial-mode' from that of its implementation
  2993. to that of its visual effect and use. Move the paragraph higher up.
  2994. 2015-09-22 Eli Zaretskii <eliz@gnu.org>
  2995. lisp/progmodes/gud.el (gud-format-command): Fix last commit
  2996. * lisp/progmodes/gud.el (gud-format-command): Don't use Tramp internal
  2997. functions 'tramp-file-name-localname' and 'tramp-dissect-file-name'.
  2998. 2015-09-22 Tassilo Horn <tsdh@gnu.org>
  2999. Improve last commit to process.c
  3000. 2015-09-22 Michael Albinus <michael.albinus@gmx.de>
  3001. Implement gfile-valid-p
  3002. * lisp/filenotify.el (file-notify-callback): Fix typo.
  3003. (gfile-valid-p): Remove defalias.
  3004. * src/gfilenotify.c (dir_monitor_callback): Cancel the monitor if
  3005. the file or directory to be watched is deleted.
  3006. (Fgfile_add_watch): Make watch_object a triple.
  3007. (Fgfile_rm_watch): Check, whether watch is cancelled already.
  3008. (Fgfile_valid_p): New defun.
  3009. (syms_of_gfilenotify): Declare Sgfile_valid_p.
  3010. 2015-09-22 Tassilo Horn <tsdh@gnu.org>
  3011. Remove callback-handled channels from Available set
  3012. * src/process.c (wait_reading_process_output): Remove channel from
  3013. Available set if it is handled by a callback, e.g., dbus or
  3014. inotify (bug#21313).
  3015. 2015-09-21 Mark Oteiza <mvoteiza@udel.edu>
  3016. Use lunate epsilon for TeX \epsilon
  3017. * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
  3018. Add \varepsilon using GREEK SMALL LETTER EPSILON, and change
  3019. \epsilon to use GREEK LUNATE EPSILON SYMBOL
  3020. 2015-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
  3021. * lisp/progmodes/prolog.el: Fix nested electric if-then-else
  3022. * lisp/progmodes/prolog.el (prolog-find-unmatched-paren): Use innermost
  3023. rather than outermost paren (bug#21526).
  3024. 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
  3025. Improve git diff hunk headers for .el, .texi
  3026. Problem reported by Alan Mackenzie in:
  3027. http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00826.html
  3028. * .gitattributes (*.el, *.texi): New patterns.
  3029. * autogen.sh: Configure diff.elisp.xfuncname and
  3030. diff.texinfo.xfuncname if using Git.
  3031. 2015-09-21 Eli Zaretskii <eliz@gnu.org>
  3032. Don't rely on defaults in decoding UTF-8 encoded Lisp files
  3033. * lisp/replace.el:
  3034. * lisp/textmodes/rst.el:
  3035. * lisp/whitespace.el: Add an explicit UTF-8 encoding tag.
  3036. 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
  3037. Clarify or replace a few \u escapes
  3038. * doc/lispref/nonascii.texi (Character Properties)
  3039. More-detailed commentary for \u escapes.
  3040. * lisp/progmodes/python.el (python--prettify-symbols-alist):
  3041. * lisp/replace.el (query-replace-from-to-separator):
  3042. * lisp/textmodes/rst.el (rst-bullets, rst-re-alist-def)
  3043. (rst-mode-syntax-table):
  3044. * lisp/whitespace.el (whitespace-display-mappings):
  3045. Prefer actual character to \u escape when this makes the code
  3046. easier to follow in the usual case where Unicode chars can be
  3047. displayed.
  3048. 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
  3049. Pacify GCC -Wmaybe-uninitialized in xdisp.c
  3050. * src/xdisp.c (face_before_or_after_it_pos): Use do-while rather
  3051. than while loop to avoid GCC -Wmaybe-uninitialized diagnostic with
  3052. charpos. The loop should always execute at least once anyway.
  3053. 2015-09-21 Tassilo Horn <tsdh@gnu.org>
  3054. Signal error on invalid regexp
  3055. * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
  3056. Signal an error when the user tries searching with a regexp
  3057. matching the empty string.
  3058. 2015-09-21 Eli Zaretskii <eliz@gnu.org>
  3059. Another fix of file-notify-tests for w32notify
  3060. * test/automated/file-notify-tests.el (file-notify-test02-events):
  3061. Further adaptation for w32notify: reduce the number of expected
  3062. 'changed' events. (Bug#21435)
  3063. 2015-09-21 Michael Albinus <michael.albinus@gmx.de>
  3064. Adapt tests and manual for w32notify
  3065. * doc/lispref/os.texi (File Notifications): w32notify does not
  3066. send `attribute-changed' events.
  3067. * test/automated/file-notify-tests.el (file-notify--test-with-events):
  3068. Simplify parameters. Adapt all callees.
  3069. (file-notify-test02-events): w32notify does not send
  3070. `attribute-changed' events.
  3071. (file-notify-test04-file-validity, file-notify-test05-dir-validity):
  3072. Do not skip in case of w32notify. Simply ignore this part of the test.
  3073. 2015-09-21 Dima Kogan <dima@secretsauce.net>
  3074. Fix setting breakpoints when remote-debugging
  3075. * lisp/progmodes/gud.el (gud-format-command): Send localized file
  3076. names to the debugger running on the remote. (Bug#13304)
  3077. 2015-09-21 Nicolas Petton <nicolas@petton.fr>
  3078. Better docstring and parameter name for seq-find
  3079. * lisp/emacs-lisp/seq.el (seq-find): Improve the docstring and rename
  3080. the parameter `sentinel' to `default'.
  3081. * doc/lispref/sequences.texi (Sequence Functions): Update the
  3082. documentation for `seq-find' accordingly.
  3083. 2015-09-21 Eli Zaretskii <eliz@gnu.org>
  3084. Avoid infinite recursion while displaying box face
  3085. * src/xdisp.c (face_before_or_after_it_pos): Fix calculation of
  3086. the previous string/buffer character position under bidi
  3087. iteration. (Bug#21428)
  3088. 2015-09-21 Anders Lindgren <andlind@gmail.com>
  3089. Keep upper edge unchanged when changing size of NS frame
  3090. * src/nsterm.m (x_set_window_size): Keep upper frame edge unchanged
  3091. (Bug#21415).
  3092. 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
  3093. * lisp/progmodes/prolog.el: Improve handling of if/then/else.
  3094. (prolog-smie-rules): Accomodate standard if/then/else special
  3095. indentation.
  3096. (prolog-mode): Add . to electric-indent-chars.
  3097. (prolog-electric--if-then-else): Re-indent the line before adding space
  3098. after the new char (bug#21526).
  3099. 2015-09-20 Mark Oteiza <mvoteiza@udel.edu>
  3100. Add prettify symbols to python-mode
  3101. * lisp/progmodes/python.el (python-prettify-symbols-alist):
  3102. New variable.
  3103. (python-mode): Use it
  3104. 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
  3105. * lisp/emacs-lisp/syntax.el (syntax-begin-function): Make obsolete.
  3106. 2015-09-20 Jostein Kjønigsen <jostein@secure.kjonigsen.net> (tiny change)
  3107. (compilation-error-regexp-alist-alist): Tone down guile-file
  3108. * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
  3109. Make guile-file a bit less enthusiastic (bug#21496).
  3110. 2015-09-20 Drew Csillag <drew@thecsillags.com>
  3111. * lisp/progmodes/m4-mode.el (m4-font-lock-keywords):
  3112. Fix m4_* highlighting.
  3113. * lisp/progmodes/m4-mode.el (m4-font-lock-keywords): Fix recognition
  3114. of commands when they have a "m4_" prefix.
  3115. 2015-09-20 Paul Eggert <eggert@cs.ucla.edu>
  3116. '.' -> `.' in doc string
  3117. * lisp/emacs-lisp/timer.el (run-at-time): In doc string, quote
  3118. individual chars with grave quotes instead of straight quotes, as
  3119. this works better when they are translated to curved quotes.
  3120. 2015-09-20 Michael Albinus <michael.albinus@gmx.de>
  3121. Improve file notifications, especially for Tramp
  3122. * doc/lispref/files.texi (Magic File Names):
  3123. Mention `file-notify-valid-p'.
  3124. * doc/lispref/os.texi (File Notifications):
  3125. Describe `file-notify-valid-p'.
  3126. * etc/NEWS: Add `file-notify-valid-p'.
  3127. * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
  3128. Improve implementation.
  3129. (tramp-gvfs-monitor-file-process-filter): Rename from
  3130. `tramp-gvfs-file-gvfs-monitor-file-process-filter'. Delete
  3131. process if appropriate.
  3132. * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
  3133. Improve implementation.
  3134. (tramp-sh-gvfs-monitor-dir-process-filter): Rename from
  3135. `tramp-sh-file-gvfs-monitor-dir-process-filter'. Delete process
  3136. if appropriate.
  3137. (tramp-sh-inotifywait-process-filter): Rename from
  3138. `tramp-sh-file-inotifywait-process-filter'. Delete process if
  3139. appropriate.
  3140. * lisp/net/tramp.el (tramp-handle-file-notify-rm-watch):
  3141. Use `delete-process'.
  3142. (tramp-handle-file-notify-valid-p): Check also, that file or
  3143. directory to be watched still exists.
  3144. * test/automated/file-notify-tests.el (file-notify--test-timeout):
  3145. New defun. Use it at all places a timeout is needed.
  3146. (file-notify--test-cleanup): Delete directories recursively.
  3147. Cleanup also Tramp connections.
  3148. (file-notify-test02-events): Add tests for `attribute-change'.
  3149. (file-notify-test04-file-validity, file-notify-test05-dir-validity):
  3150. Add tests for `file-notify-rm-watch'.
  3151. 2015-09-20 Paul Eggert <eggert@cs.ucla.edu>
  3152. Use %s to format strings instead of splicing them
  3153. If FOO might contain quotes that are part of a file or variable
  3154. name, the quotes should not be translated when showing FOO’s name
  3155. in a diagnostic. So, for example, (message (concat (FOO ": bar")))
  3156. is not quite right, as it would translate FOO’s quotes.
  3157. Change it to (message "%s: bar" FOO) instead.
  3158. * lisp/allout.el (allout-process-exposed):
  3159. * lisp/calc/calc-ext.el (calc-do-prefix-help):
  3160. * lisp/calc/calc-store.el (calc-store-into):
  3161. * lisp/calendar/todo-mode.el (todo-category-completions):
  3162. * lisp/cedet/semantic/complete.el (semantic-completion-message):
  3163. * lisp/org/ob-latex.el (convert-pdf):
  3164. * lisp/org/org-crypt.el (org-crypt-check-auto-save):
  3165. * lisp/org/ox-latex.el (org-latex-compile):
  3166. * lisp/org/ox-man.el (org-man-compile):
  3167. * lisp/org/ox-odt.el (org-odt--export-wrap):
  3168. * lisp/org/ox-texinfo.el (org-texinfo-compile):
  3169. * lisp/progmodes/ruby-mode.el (ruby-in-ppss-context-p):
  3170. * lisp/progmodes/verilog-mode.el (verilog-batch-execute-func)
  3171. (verilog-signals-combine-bus, verilog-read-defines)
  3172. (verilog-getopt-file, verilog-expand-dirnames)
  3173. (verilog-modi-lookup, verilog-modi-modport-lookup-one):
  3174. * lisp/term/ns-win.el (ns-spi-service-call):
  3175. Use %s to avoid translating quotes of file names etc. in diagnostics.
  3176. 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
  3177. * lisp/progmodes/js.el (js--syntax-begin-function): Remove.
  3178. (js-mode): Don't set syntax-begin-function.
  3179. 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
  3180. * lisp/font-lock.el (font-lock-compile-keywords): Don't assume
  3181. syntax-begin-function is a symbol.
  3182. 2015-09-20 Eli Zaretskii <eliz@gnu.org>
  3183. Improve documentation of 'run-at-time'
  3184. * lisp/emacs-lisp/timer.el (run-at-time): Improve the doc string.
  3185. In particular, don't refer to 'diary-entry-time', because it is
  3186. unavailable until diary-lib is loaded. Also, refer to
  3187. 'timer-duration-words', not 'timer-duration', as the latter's doc
  3188. string says nothing about the accepted strings.
  3189. 2015-09-19 Jay Belanger <jay.p.belanger@gmail.com>
  3190. * lisp/calc/calc-ext.el (calc-do-prefix-help): Tidy up error message.
  3191. 2015-09-19 Ken Manheimer <ken.manheimer@gmail.com>
  3192. Repair pdbtrack remote file tracking
  3193. * lisp/progmodes/python.el (python-pdbtrack-set-tracked-buffer):
  3194. Rectify pdbtrack so it follows transitions from one remote source
  3195. file to the next.
  3196. 2015-09-19 Artur Malabarba <bruce.connor.am@gmail.com>
  3197. * lisp/emacs-lisp/timer.el (run-at-time): Docstring formatting.
  3198. 2015-09-19 Eli Zaretskii <eliz@gnu.org>
  3199. Adapt vc-src to the old-new vc-checkin API
  3200. * lisp/vc/vc-src.el (vc-src-checkin): Accept and ignore an
  3201. additional optional parameter.
  3202. 2015-09-19 Simen Heggestøyl <simenheg@gmail.com>
  3203. Add overflow module to CSS property list
  3204. * lisp/textmodes/css-mode.el (css-property-ids): Add properties
  3205. from CSS Overflow Module Level 3.
  3206. 2015-09-19 Eli Zaretskii <eliz@gnu.org>
  3207. Fix documentation of "C-u C-x v v"
  3208. * doc/emacs/maintaining.texi (Advanced C-x v v): Make the
  3209. documentation of "C-u C-x v v" match what the code does.
  3210. Resurrect the ability to specify a revision in vc-next-action
  3211. * lisp/vc/vc-bzr.el (vc-bzr-checkin):
  3212. * lisp/vc/vc-dav.el (vc-dav-checkin):
  3213. * lisp/vc/vc-git.el (vc-git-checkin):
  3214. * lisp/vc/vc-hg.el (vc-hg-checkin):
  3215. * lisp/vc/vc-mtn.el (vc-mtn-checkin): Accept and silently ignore
  3216. an additional optional argument, the revision to checkin.
  3217. * lisp/vc/vc-sccs.el (vc-sccs-checkin):
  3218. * lisp/vc/vc-cvs.el (vc-cvs-checkin):
  3219. * lisp/vc/vc-rcs.el (vc-rcs-checkin): Allow to optionally specify
  3220. a revision to checkin.
  3221. * lisp/vc/vc.el (vc-next-action): Allow to optionally specify the
  3222. revision when checking in files.
  3223. See http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00688.html
  3224. for the details.
  3225. 2015-09-18 Wilson Snyder <wsnyder@wsnyder.org>
  3226. * lisp/progmodes/verilog-mode.el (verilog-forward-sexp-function)
  3227. (verilog-decls-princ, verilog-modport-princ)
  3228. (verilog-modi-modport-lookup-one): Fix checkdoc warnings.
  3229. 2015-09-17 Jay Belanger <jay.p.belanger@gmail.com>
  3230. Fix the routine for help on Calc's prefixes
  3231. * lisp/calc/calc-ext.el (calc-prefix-help-retry): New variable.
  3232. (calc-do-prefix-help): Use `read-char' to determine the next Calc
  3233. command.
  3234. 2015-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
  3235. * lisp/font-lock.el (font-lock-beginning-of-syntax-function): Remove.
  3236. (font-lock-fontify-block): Don't let-bind it.
  3237. (font-lock-compile-keywords): Don't use it.
  3238. (font-lock-set-defaults): Don't set it. Allow the variable alist to
  3239. start one slot earlier, instead.
  3240. * lisp/emacs-lisp/syntax.el (font-lock-beginning-of-syntax-function):
  3241. Don't declare.
  3242. (syntax-ppss): Don't use it either.
  3243. * lisp/font-core.el (font-lock-defaults): Remove SYNTAX-BEGIN
  3244. from docstring.
  3245. * doc/emacs/display.texi (Font Lock): Don't mention
  3246. font-lock-beginning-of-syntax-function.
  3247. * doc/lispref/modes.texi (Font Lock Basics): Update description of
  3248. font-lock-defaults.
  3249. (Syntactic Font Lock): Remove font-lock-beginning-of-syntax-function.
  3250. * lisp/loadhist.el (unload-feature-special-hooks):
  3251. Remove font-lock-beginning-of-syntax-function.
  3252. * lisp/obsolete/lazy-lock.el (lazy-lock-fontify-region):
  3253. * lisp/emacs-lisp/lisp.el (beginning-of-defun-raw): Don't let-bind
  3254. font-lock-beginning-of-syntax-function.
  3255. 2015-09-17 Paul Eggert <eggert@cs.ucla.edu>
  3256. Backslash cleanup in Elisp source files
  3257. This patch should not change behavior. It typically omits backslashes
  3258. where they are redundant (e.g., in the string literal "^\$").
  3259. In a few places, insert backslashes where they make regular
  3260. expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
  3261. "^\\*", which has the same effect as a regular expression.
  3262. Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
  3263. and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
  3264. RCS IDs, as that makes it clearer that the backslash is intended.
  3265. Some more minor backslash fixes
  3266. * test/automated/compile-tests.el (compile-tests--test-regexps-data):
  3267. * test/automated/info-xref.el (info-xref-test-write-file):
  3268. Double backslashes in strings.
  3269. Fix several backslash typos in Elisp strings
  3270. * lisp/calendar/todo-mode.el (todo-files, todo-rename-file)
  3271. (todo-find-filtered-items-file, todo-reset-nondiary-marker)
  3272. (todo-reset-done-string, todo-reset-comment-string)
  3273. (todo-reset-highlight-item):
  3274. * lisp/erc/erc-networks.el (erc-networks-alist):
  3275. * lisp/gnus/gnus-art.el (gnus-button-handle-library):
  3276. * lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group-url):
  3277. * lisp/gnus/nntp.el (nntp-via-shell-prompt)
  3278. (nntp-telnet-shell-prompt):
  3279. * lisp/gnus/spam-report.el (spam-report-gmane-regex):
  3280. * lisp/image-dired.el (image-dired-rotate-original):
  3281. (image-dired-get-exif-file-name):
  3282. * lisp/international/latin1-disp.el (latin1-display-ucs-per-lynx):
  3283. * lisp/mail/undigest.el (rmail-digest-parse-rfc1153strict):
  3284. * lisp/mh-e/mh-letter.el (mh-file-is-vcard-p):
  3285. * lisp/mh-e/mh-mime.el (mh-file-mime-type-substitutions):
  3286. * lisp/net/shr-color.el (shr-color->hexadecimal):
  3287. * lisp/org/org-bibtex.el (org-bibtex-fields):
  3288. * lisp/org/org-docview.el (org-docview-export):
  3289. * lisp/org/org-entities.el (org-entities):
  3290. * lisp/org/ox-icalendar.el (org-icalendar-cleanup-string):
  3291. * lisp/progmodes/cperl-mode.el (cperl-indent-exp):
  3292. * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp)
  3293. (ebnf-style-database):
  3294. * lisp/progmodes/idlw-help.el (idlwave-do-context-help1):
  3295. * lisp/progmodes/ruby-mode.el (ruby-imenu-create-index-in-block):
  3296. * lisp/progmodes/sql.el (sql-product-alist):
  3297. * lisp/progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist)
  3298. (verilog-error-font-lock-keywords)
  3299. (verilog-assignment-operator-re):
  3300. * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist):
  3301. * lisp/textmodes/reftex-parse.el (reftex-parse-from-file):
  3302. * lisp/vc/add-log.el (change-log-version-number-regexp-list):
  3303. Fix typo by replacing ‘\’ with ‘\\’ in a string literal.
  3304. For example, to get the regular expression ‘\.’ use the string
  3305. literal "\\.", not "\." (which is equivalent to ".").
  3306. * lisp/emulation/viper-util.el (viper-glob-unix-files):
  3307. Remove stray ‘\j’ from string.
  3308. * lisp/gnus/nntp.el (nntp-via-shell-prompt)
  3309. (nntp-telnet-shell-prompt):
  3310. Treat > like $ when matching a shell prompt.
  3311. * lisp/progmodes/make-mode.el (makefile-browse):
  3312. Properly quote a diagnostic.
  3313. Fix minor quoting problems in diagnostics
  3314. * lisp/tutorial.el (tutorial--describe-nonstandard-key):
  3315. * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
  3316. Follow text-quoting-style in diagnostic, and quote a file name.
  3317. 2015-09-17 Eli Zaretskii <eliz@gnu.org>
  3318. * doc/lispref/frames.texi (Cursor Parameters):
  3319. Document 'x-stretch-cursor'.
  3320. 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
  3321. Omit unnecessary \ before paren in C docstrings
  3322. Although \( is needed in docstrings in Elisp code, it is not needed in
  3323. docstrings in C code, since C function definitiions do not start with
  3324. a parenthesis. The backslashes made the docstrings a bit harder to
  3325. read and to format in columns. Also, some C docstrings had ( in
  3326. column 1 and this did not appear to be causing any problems. So,
  3327. simplify C docstrings by replacing \( with ( and \) with ).
  3328. A few more minor quoting fixes in a script and a text file
  3329. Minor quoting fixes in scripts and doc
  3330. Prefer straight quotes in random script files, as they are not
  3331. converted. Prefer grave quotes in a couple of places in the manual
  3332. that were missed earlier, as these quotes are converted.
  3333. Minor backslash fixes in manuals and scripts
  3334. * Makefile.in (install-arch-indep):
  3335. * admin/charsets/compact.awk:
  3336. * admin/charsets/gb180302.awk (gb_to_index):
  3337. * admin/charsets/gb180304.awk (gb_to_index):
  3338. Avoid undefined behavior in Awk regular expression backslashes.
  3339. * doc/misc/efaq.texi (Matching parentheses):
  3340. Omit unnecessary backslashes.
  3341. * doc/misc/gnus-faq.texi (FAQ 5-8):
  3342. Avoid undefined behavior in suggested sed backslash usage.
  3343. Add -Wswitch to --enable-gcc-warnings
  3344. Make --enable-gcc-warnings a bit pickier, by also using -Wswitch.
  3345. * configure.ac (WERROR_CFLAGS): Don’t add -Wno-switch.
  3346. * lib-src/etags.c (main, consider_token, C_entries):
  3347. * src/coding.c (encode_invocation_designation):
  3348. * src/data.c (Ftype_of):
  3349. * src/eval.c (Fdefvaralias, default_toplevel_binding)
  3350. (Fbacktrace__locals, mark_specpdl):
  3351. * src/lisp.h (record_xmalloc):
  3352. * src/syntax.c (scan_lists, scan_sexps_forward):
  3353. * src/window.c (window_relative_x_coord):
  3354. * src/xdisp.c (push_it, pop_it):
  3355. * src/xterm.c (xg_scroll_callback, x_check_fullscreen):
  3356. Error out or do nothing (as appropriate) if a switch statement
  3357. with an enum value does not cover all of the enum.
  3358. * src/dispextern.h (struct iterator_stack_entry.u.comp):
  3359. Remove unused member discovered by using -Wswitch.
  3360. * src/lisp.h (record_xmalloc): Add a ‘+ 0’ to pacify -Wswitch.
  3361. * src/vm-limit.c (check_memory_limits):
  3362. Simplify warning-diagnostic computation by using a table.
  3363. etags ‘fatal’ function is now printf-like
  3364. * lib-src/etags.c (fatal): Now printf-like. All callers changed.
  3365. Also, now static; not clear why it needed to be extern.
  3366. (verror): New function, with most of the old contents of ‘error’.
  3367. (fatal, error): Use it.
  3368. 2015-09-16 Eli Zaretskii <eliz@gnu.org>
  3369. More adaptations in file-notify-tests.el
  3370. * test/automated/file-notify-tests.el
  3371. (file-notify-test05-dir-validity): Skip for w32notify in
  3372. batch-mode. (Bug#21432)
  3373. 2015-09-16 Michael Albinus <michael.albinus@gmx.de>
  3374. Adapt test in file-notify-tests.el
  3375. * test/automated/file-notify-tests.el
  3376. (file-notify-test04-file-validity): Skip for w32notify in
  3377. batch-mode. Add test lost last commit.
  3378. 2015-09-16 Dima Kogan <dima@secretsauce.net>
  3379. winner no longer holds on to dead frames
  3380. * lisp/winner.el (winner-change-fun): Cull dead frames.
  3381. This prevents a potentially massive memory leak. See:
  3382. http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00619.html
  3383. 2015-09-16 Michael Albinus <michael.albinus@gmx.de>
  3384. Use common report_file_notify_error function
  3385. * src/fileio.c (report_file_notify_error): New function.
  3386. * src/inotify.c (report_inotify_error): Remove function.
  3387. (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
  3388. (Finotify_rm_watch): Use report_file_notify_error.
  3389. * src/lisp.h (report_file_notify_error): Declare external function.
  3390. * src/w32notify.c (report_w32notify_error): Remove function.
  3391. (Fw32notify_add_watch, Fw32notify_rm_watch):
  3392. Use report_file_notify_error.
  3393. 2015-09-16 Jay Belanger <jay.p.belanger@gmail.com>
  3394. Fix documentation.
  3395. * doc/misc/calc.texi (Single-Variable Statistics): Fix the wording of
  3396. the documentation of the root mean square.
  3397. 2015-09-16 Martin Rudalics <rudalics@gmx.at>
  3398. Remove tool_bar_redisplayed_once and associated code.
  3399. * src/frame.h (tool_bar_redisplayed_once): Remove slot.
  3400. * src/frame.c (make_frame, x_set_font): Remove initialization of
  3401. f->tool_bar_redisplayed_once.
  3402. * src/w32fns.c (x_change_tool_bar_height):
  3403. * src/xfns.c (x_change_tool_bar_height): Don't check for
  3404. f->tool_bar_redisplayed_once.
  3405. * src/xdisp.c (redisplay_internal): Remove handling of
  3406. f->tool_bar_redisplayed_once.
  3407. 2015-09-16 Eli Zaretskii <eliz@gnu.org>
  3408. Restore some of the quoting in the manuals
  3409. * doc/lispref/windows.texi (Coordinates and Windows)
  3410. (Coordinates and Windows):
  3411. * doc/lispref/variables.texi (Lexical Binding)
  3412. (File Local Variables):
  3413. * doc/lispref/text.texi (Format Properties):
  3414. * doc/lispref/symbols.texi (Symbol Components):
  3415. * doc/lispref/strings.texi (Creating Strings):
  3416. * doc/lispref/sequences.texi (Sequence Functions):
  3417. * doc/lispref/searching.texi (Regexp Special, Regexp Search)
  3418. (Search and Replace):
  3419. * doc/lispref/processes.texi (Bindat Spec):
  3420. * doc/lispref/os.texi (Idle Timers):
  3421. * doc/lispref/objects.texi (Basic Char Syntax):
  3422. * doc/lispref/numbers.texi (Float Basics, Random Numbers):
  3423. * doc/lispref/nonascii.texi (Character Properties):
  3424. * doc/lispref/modes.texi (Major Mode Conventions, Mode Hooks)
  3425. (Mode Line Variables):
  3426. * doc/lispref/minibuf.texi (Text from Minibuffer):
  3427. * doc/lispref/loading.texi (Autoload):
  3428. * doc/lispref/keymaps.texi (Controlling Active Maps):
  3429. * doc/lispref/frames.texi (Frame Layout, Size and Position)
  3430. (Size Parameters, Implied Frame Resizing):
  3431. * doc/lispref/files.texi (Changing Files, Magic File Names):
  3432. * doc/lispref/eval.texi (Self-Evaluating Forms):
  3433. * doc/lispref/display.texi (Progress, Abstract Display)
  3434. (Abstract Display Example, Bidirectional Display):
  3435. * doc/lispref/commands.texi (Event Mod):
  3436. * doc/emacs/windows.texi (Displaying Buffers):
  3437. * doc/emacs/trouble.texi (Bug Criteria, Checklist):
  3438. * doc/emacs/text.texi (Enriched Text):
  3439. * doc/emacs/programs.texi (MixedCase Words):
  3440. * doc/emacs/picture-xtra.texi (Insert in Picture)
  3441. (Tabs in Picture):
  3442. * doc/emacs/misc.texi (Emacs Server, Printing):
  3443. * doc/emacs/mini.texi (Minibuffer History):
  3444. * doc/emacs/maintaining.texi (Old Revisions, VC Change Log)
  3445. (Pulling / Pushing):
  3446. * doc/emacs/killing.texi (Yanking, Cut and Paste, Clipboard):
  3447. * doc/emacs/help.texi (Help, Help Echo):
  3448. * doc/emacs/glossary.texi (Glossary):
  3449. * doc/emacs/frames.texi (Mouse Commands, Creating Frames)
  3450. (Frame Commands):
  3451. * doc/emacs/files.texi (Reverting, Saving, Directories):
  3452. * doc/emacs/entering.texi (Exiting):
  3453. * doc/emacs/emacs.texi (Top):
  3454. * doc/emacs/cmdargs.texi (Window Size X, Icons X):
  3455. * doc/emacs/anti.texi (Antinews): Restore quoting of text where
  3456. appropriate or replace quoting with @dfn.
  3457. * doc/misc/ediff.texi (Window and Frame Configuration):
  3458. * doc/lispref/processes.texi (Network Feature Testing):
  3459. * doc/lispref/display.texi (Display Margins): Quote the phrase
  3460. after "a.k.a." where appropriate.
  3461. 2015-09-16 Tassilo Horn <tsdh@gnu.org>
  3462. Clarify reftex-extra-bindings docs
  3463. * lisp/textmodes/reftex-vars.el (reftex-extra-bindings):
  3464. * doc/misc/reftex.texi (Key Bindings): Document that the variable
  3465. only has an effect at load-time.
  3466. 2015-09-16 Daniel McClanahan <danieldmcclanahan@gmail.com> (tiny change)
  3467. * lisp/emacs-lisp/lisp-mode.el (lisp--el-match-keyword): Fix
  3468. search argument. (Bug#21492) (Bug#21493)
  3469. 2015-09-16 Tassilo Horn <tsdh@gnu.org>
  3470. * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
  3471. Add pretty symbols for \qquad and \varrho.
  3472. 2015-09-15 Jay Belanger <jay.p.belanger@gmail.com>
  3473. Add new functions for the root mean square of a (Calc) vector
  3474. * lisp/calc/calc-stats.el (calcFunc-rms, calc-vector-rms):
  3475. New functions.
  3476. * lisp/calc/calc-ext.el (calc-init-extensions): Add keybinding for
  3477. `calc-vector-rms', add autoloads for `calc-vector-rms' and
  3478. `calcFunc-rms'.
  3479. * lisp/calc/calc-map.el (calc-u-oper-keys): Add entry for
  3480. `calcFunc-rms'.
  3481. * lisp/calc/calc-menu.el (calc-vectors-menu): Add entry for
  3482. `calc-vector-rms'.
  3483. * doc/misc/calc.texi (Single-Variable Statistics): Document the rms
  3484. command.
  3485. 2015-09-15 Stephen Leake <stephen_leake@stephe-leake.org>
  3486. Add monotone EDE generic project
  3487. * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
  3488. Add monotone generic project.
  3489. Revert premature commit
  3490. * doc/lispref/files.texi: Revert premature commit of change to
  3491. file-name-all-completions.
  3492. Fix a bug in elisp--xref-find-definitions related to cl-generic defaults
  3493. * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Fix bug
  3494. with cl-generic defaults.
  3495. (elisp--xref-find-references): Add doc string.
  3496. * test/automated/elisp-mode-tests.el (xref-elisp-generic-*): Improve
  3497. tests to find bug.
  3498. Fix bugs in eieio-oref-default related to class symbols
  3499. * lisp/emacs-lisp/eieio-core.el (class-p): Handle symbol properly.
  3500. (eieio-oref-default): Handle class properly.
  3501. 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
  3502. Quote “fullboth” when defining it
  3503. * doc/lispref/frames.texi (Size Parameters): Use @dfn for “fullboth”
  3504. and rewrite the containing paragraph, which was awkward. (Bug#21472).
  3505. 2015-09-15 Eli Zaretskii <eliz@gnu.org>
  3506. Minor doc fix in emacs/ack.texi
  3507. * doc/emacs/ack.texi (Acknowledgments): Fix an xref missing the
  3508. first argument.
  3509. 2015-09-15 Michael Albinus <michael.albinus@gmx.de>
  3510. Adapt tests in auto-revert-tests.el
  3511. * test/automated/auto-revert-tests.el (auto-revert--timeout):
  3512. Make it a defconst.
  3513. (auto-revert--wait-for-revert): New defun.
  3514. (auto-revert-test00-auto-revert-mode)
  3515. (auto-revert-test01-auto-revert-tail-mode)
  3516. (auto-revert-test02-auto-revert-mode-dired): Use it.
  3517. 2015-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
  3518. * lisp/emacs-lisp/lisp-mode.el (lisp-mode-symbol-regexp): New const.
  3519. Use it everywhere "\\(\\sw\\|\\s_\\|\\\\.\\)+" was used.
  3520. (cl-lib-fdefs): Add defgeneric.
  3521. (cl-kw): Add all elements of eieio-kw and cl-lib-kw.
  3522. (eieio-kw, cl-lib-kw, el-kw): Remove.
  3523. 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
  3524. Quote less in manuals
  3525. The manuals often used quotes ``...'' when it is better to use @dfn or
  3526. @code or capitalized words or no quoting at all. For example, there is
  3527. no need for the `` and '' in “if a variable has one effect for
  3528. @code{nil} values and another effect for ``non-@code{nil}'' values”.
  3529. Reword the Emacs, Lisp intro, and Lisp reference manuals to eliminate
  3530. unnecessary quoting like this, and to use @dfn etc. instead when called
  3531. for (Bug#21472).
  3532. 2015-09-15 Mark Oteiza <mvoteiza@udel.edu>
  3533. * lisp/custom.el (load-theme): Only compute hash when needed.
  3534. 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
  3535. Pacify --enable-gcc-warnings
  3536. * src/inotify.c (report_inotify_error): Declare it _Noreturn.
  3537. 2015-09-15 Michael Albinus <michael.albinus@gmx.de>
  3538. Improve error reports in inotify.c
  3539. * src/inotify.c (report_inotify_error): New function. Clone of
  3540. report_w32notify_error.
  3541. (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
  3542. (Finotify_rm_watch): Use it.
  3543. 2015-09-15 Eli Zaretskii <eliz@gnu.org>
  3544. Fix the file-notify tests for watch validation on w32
  3545. * test/automated/file-notify-tests.el
  3546. (file-notify-test04-file-validity): Move the directory deletion
  3547. out of the file-notify--test-with-events macro.
  3548. (file-notify-test04-file-validity)
  3549. (file-notify-test05-dir-validity): Enlarge the timeout of
  3550. read-event to 0.5, as 0.1 is borderline on w32. (Bug#21432)
  3551. 2015-09-15 Tassilo Horn <tsdh@gnu.org>
  3552. Use OPEN BOX instead of space for \quad.
  3553. * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Use OPEN BOX
  3554. character for \quad instead of a space.
  3555. 2015-09-15 Eli Zaretskii <eliz@gnu.org>
  3556. Add missing *.pbm images
  3557. * etc/images/connect.pbm: New file.
  3558. * etc/images/custom/down-pushed.pbm: New file.
  3559. * etc/images/custom/down.pbm: New file.
  3560. * etc/images/custom/right-pushed.pbm: New file.
  3561. * etc/images/custom/right.pbm: New file.
  3562. * etc/images/describe.pbm: New file.
  3563. * etc/images/disconnect.pbm: New file.
  3564. * etc/images/ezimage/bits.pbm: New file.
  3565. * etc/images/ezimage/bitsbang.pbm: New file.
  3566. * etc/images/ezimage/box-minus.pbm: New file.
  3567. * etc/images/ezimage/box-plus.pbm: New file.
  3568. * etc/images/ezimage/box.pbm: New file.
  3569. * etc/images/ezimage/checkmark.pbm: New file.
  3570. * etc/images/ezimage/dir-minus.pbm: New file.
  3571. * etc/images/ezimage/dir-plus.pbm: New file.
  3572. * etc/images/ezimage/dir.pbm: New file.
  3573. * etc/images/ezimage/doc-minus.pbm: New file.
  3574. * etc/images/ezimage/doc-plus.pbm: New file.
  3575. * etc/images/ezimage/doc.pbm: New file.
  3576. * etc/images/ezimage/info.pbm: New file.
  3577. * etc/images/ezimage/key.pbm: New file.
  3578. * etc/images/ezimage/label.pbm: New file.
  3579. * etc/images/ezimage/lock.pbm: New file.
  3580. * etc/images/ezimage/mail.pbm: New file.
  3581. * etc/images/ezimage/page-minus.pbm: New file.
  3582. * etc/images/ezimage/page-plus.pbm: New file.
  3583. * etc/images/ezimage/page.pbm: New file.
  3584. * etc/images/ezimage/tag-gt.pbm: New file.
  3585. * etc/images/ezimage/tag-minus.pbm: New file.
  3586. * etc/images/ezimage/tag-plus.pbm: New file.
  3587. * etc/images/ezimage/tag-type.pbm: New file.
  3588. * etc/images/ezimage/tag-v.pbm: New file.
  3589. * etc/images/ezimage/tag.pbm: New file.
  3590. * etc/images/ezimage/unlock.pbm: New file.
  3591. * etc/images/gnus/important.pbm: New file.
  3592. * etc/images/gnus/mail-send.pbm: New file.
  3593. * etc/images/gnus/receipt.pbm: New file.
  3594. * etc/images/gnus/toggle-subscription.pbm: New file.
  3595. * etc/images/gnus/unimportant.pbm: New file.
  3596. * etc/images/gud/all.pbm: New file.
  3597. * etc/images/gud/rcont.pbm: New file.
  3598. * etc/images/gud/recstart.pbm: New file.
  3599. * etc/images/gud/recstop.pbm: New file.
  3600. * etc/images/gud/rfinish.pbm: New file.
  3601. * etc/images/gud/rnext.pbm: New file.
  3602. * etc/images/gud/rnexti.pbm: New file.
  3603. * etc/images/gud/rstep.pbm: New file.
  3604. * etc/images/gud/rstepi.pbm: New file.
  3605. * etc/images/gud/thread.pbm: New file.
  3606. * etc/images/lock-broken.pbm: New file.
  3607. * etc/images/lock-ok.pbm: New file.
  3608. * etc/images/lock.pbm: New file.
  3609. * etc/images/mail/copy.pbm: New file.
  3610. * etc/images/mail/forward.pbm: New file.
  3611. * etc/images/mail/not-spam.pbm: New file.
  3612. * etc/images/mail/outbox.pbm: New file.
  3613. * etc/images/mail/preview.pbm: New file.
  3614. * etc/images/mail/save-draft.pbm: New file.
  3615. * etc/images/mh-logo.pbm: New file.
  3616. * etc/images/mpc/add.pbm: New file.
  3617. * etc/images/mpc/ffwd.pbm: New file.
  3618. * etc/images/mpc/next.pbm: New file.
  3619. * etc/images/mpc/pause.pbm: New file.
  3620. * etc/images/mpc/play.pbm: New file.
  3621. * etc/images/mpc/prev.pbm: New file.
  3622. * etc/images/mpc/rewind.pbm: New file.
  3623. * etc/images/mpc/stop.pbm: New file.
  3624. * etc/images/redo.pbm: New file.
  3625. * etc/images/smilies/braindamaged.pbm: New file.
  3626. * etc/images/smilies/cry.pbm: New file.
  3627. * etc/images/smilies/dead.pbm: New file.
  3628. * etc/images/smilies/evil.pbm: New file.
  3629. * etc/images/smilies/forced.pbm: New file.
  3630. * etc/images/smilies/grin.pbm: New file.
  3631. * etc/images/smilies/indifferent.pbm: New file.
  3632. * etc/images/sort-ascending.pbm: New file.
  3633. * etc/images/sort-column-ascending.pbm: New file.
  3634. * etc/images/sort-criteria.pbm: New file.
  3635. * etc/images/sort-descending.pbm: New file.
  3636. * etc/images/sort-row-ascending.pbm: New file.
  3637. * etc/images/unchecked.pbm: New file.
  3638. * etc/images/zoom-in.pbm: New file.
  3639. * etc/images/README: Update instructions for PBM files.
  3640. Add separator.pbm tool-bar image
  3641. * etc/images/separator.pbm: New file. Having it avoids the side
  3642. effect of changing the tool-bar height when the default font's size
  3643. changes and XPM image support is not available, due to the SPC
  3644. characters that are left in the Lisp string used to display the tool
  3645. bar, because there are no images to display instead of those SPC
  3646. characters.
  3647. Make show-paren-match face visible on mono-color displays
  3648. * lisp/faces.el (show-paren-match): Use the underline face for
  3649. mono-color displays. (Bug#21481)
  3650. 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
  3651. Don’t double-encode non-ASCII mail clipboard
  3652. * lisp/mail/mailclient.el (mailclient-send-it):
  3653. Also fix the case when mailclient-place-body-on-clipboard-flag
  3654. is non-nil. Problem reported by Eli Zaretskii (Bug#21471#37).
  3655. 2015-09-14 Michael Albinus <michael.albinus@gmx.de>
  3656. Adapt file-notify-tests.el test cases
  3657. * lisp/filenotify.el (file-notify-rm-watch): Ignore `file-notify-error'.
  3658. * src/inotify.c (Finotify_valid_p): Adapt docstring.
  3659. * test/automated/file-notify-tests.el
  3660. (file-notify-test03-autorevert)
  3661. (file-notify-test04-file-validity)
  3662. (file-notify-test04-file-validity-remote)
  3663. (file-notify-test05-dir-validity)
  3664. (file-notify-test05-dir-validity-remote): Adapt docstring.
  3665. (file-notify-test04-file-validity): Let events arrive before
  3666. calling final `file-notify-valid-p'. Do not ignore errors.
  3667. (file-notify-test05-dir-validity): Do not manipulate
  3668. `temporary-file-directory', it isn't necessary. Let events arrive
  3669. before calling final `file-notify-valid-p'. Do not ignore errors.
  3670. 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
  3671. Don’t double-encode non-ASCII for mail client
  3672. * lisp/mail/mailclient.el (mailclient-encode-string-as-url):
  3673. Use RFC 6068’s list of unreserved characters.
  3674. (mailclient-send-it): When encoding the body as a URL,
  3675. first decode it as per Content-Type: and Content-Transfer-Encoding:,
  3676. as URLs must use percent-encoded UTF-8 (Bug#21471).
  3677. * doc/misc/url.texi (mailto): Update RFC number.
  3678. 2015-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
  3679. * lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use dolist.
  3680. 2015-09-14 Alan Mackenzie <acm@muc.de>
  3681. Replace `cadar' with `cadr/car', since `cadar' is problematic on Emacs
  3682. (c-make-init-lang-vars-fun): Replace two occurrences of `cadar' with
  3683. `cadr/car'.
  3684. 2015-09-14 Eli Zaretskii <eliz@gnu.org>
  3685. Clarify documentation of char-table extra slots
  3686. * doc/lispref/sequences.texi (Char-Tables): Clarify that extra
  3687. slot numbers are zero-based. (Bug#21467)
  3688. 2015-09-14 Alan Mackenzie <acm@muc.de>
  3689. Elisp mode: Make font-lock and imenu handle escaped characters in symbols
  3690. Fixes bug#21449.
  3691. * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression)
  3692. (lisp--el-match-keyword, lisp-el-font-lock-keywords-1)
  3693. (lisp-cl-font-lock-keywords-1, lisp-el-font-lock-keywords-2)
  3694. (lisp-cl-font-lock-keywords-2, lisp-string-in-doc-position-p):
  3695. Insert "\\|\\\\." into regexps which match symbols.
  3696. 2015-09-14 Eli Zaretskii <eliz@gnu.org>
  3697. Improve the doc string of w32notify-valid-p
  3698. * src/w32notify.c (Fw32notify_valid_p): Mention in the doc string
  3699. that removing a watch makes its object invalid.
  3700. 2015-09-14 Tassilo Horn <tsdh@gnu.org>
  3701. Fix tests for file-notify-valid-p
  3702. * test/automated/file-notify-tests.el (file-notify--test-cleanup):
  3703. Use delete-directory to delete file-notify--test-tmpfile if it is
  3704. a directory. Likewise for file-notify--test-tmpfile1.
  3705. (file-notify-test04-file-validity)
  3706. (file-notify-test05-dir-validity): Delete the parent directory of
  3707. the test. Ignore errors when cleaning up after the test.
  3708. 2015-09-14 Eli Zaretskii <eliz@gnu.org>
  3709. Report file-notify-error in w32notify.c
  3710. * src/w32notify.c (report_w32notify_error): New function.
  3711. (Fw32notify_add_watch, Fw32notify_rm_watch): Use it to report
  3712. errors, instead of calling report_file_error. (Bug#21432)
  3713. Implement w32notify-valid-p
  3714. * src/w32notify.c (Fw32notify_valid_p): New function. (Bug#21432)
  3715. * lisp/filenotify.el (w32notify-valid-p): No longer an alias for
  3716. 'identity'.
  3717. 2015-09-14 Tassilo Horn <tsdh@gnu.org>
  3718. Test file-notify-valid-p
  3719. * test/automated/file-notify-tests.el
  3720. (file-notify-test04-file-validity, file-notify-test05-dir-validity):
  3721. New tests.
  3722. 2015-09-13 Eli Zaretskii <eliz@gnu.org>
  3723. Fix markup in ELisp manual
  3724. * doc/lispref/frames.texi (Font and Color Parameters): Fix markup
  3725. of the 'alpha' parameter value. (Bug#21470)
  3726. 2015-09-13 Michael Albinus <michael.albinus@gmx.de>
  3727. Introduce `file-notify-valid-p'
  3728. * lisp/filenotify.el (file-notify-valid-p): New defun.
  3729. (gfile-valid-p, w32notify-valid-p): Make them an alias to `identity'.
  3730. * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist)
  3731. * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
  3732. * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist)
  3733. * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
  3734. <file-notify-valid-p>: Add handler.
  3735. * lisp/net/tramp.el (tramp-file-name-for-operation):
  3736. Add `file-notify-valid-p'.
  3737. (tramp-handle-file-notify-valid-p): New defun.
  3738. * src/inotify.c (Finotify_valid_p): New defun.
  3739. (syms_of_inotify): Declare Sinotify_valid_p.
  3740. 2015-09-13 Paul Eggert <eggert@cs.ucla.edu>
  3741. Port Unicode char detection to FreeBSD+svgalib
  3742. Problem reported by Ashish SHUKLA in:
  3743. http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00531.html
  3744. * configure.ac: Check for struct unipair.unicode instead of for
  3745. <linux/kd.h>, since that’s more specific to what the code
  3746. actually needs.
  3747. * src/terminal.c: Use HAVE_STRUCT_UNIPAIR_UNICODE, not HAVE_LINUX_KD_H.
  3748. * src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468).
  3749. 2015-09-13 Eli Zaretskii <eliz@gnu.org>
  3750. Fix vertical cursor motion across overlay strings with newlines
  3751. * src/indent.c (Fvertical_motion): Don't leave point in the middle
  3752. of an overlay string with newlines, as that will position the
  3753. cursor after the string at whatever column is there. (Bug#21468)
  3754. 2015-09-12 Michael Albinus <michael.albinus@gmx.de>
  3755. Fix tests in file-notify-tests.el
  3756. * test/automated/file-notify-tests.el: Remove Tramp declarations.
  3757. (file-notify-test00-availability): Print remote command w/o Tramp
  3758. internal functions.
  3759. (file-notify-test02-events, file-notify-test02-events-remote):
  3760. Adapt docstring.
  3761. (file-notify-test03-autorevert): Use `format-message' when
  3762. inspecting *Messages* buffer.
  3763. 2015-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
  3764. Bind inhibit-modification-hooks rather than a/b-c-f
  3765. * lisp/wid-edit.el (widget-editable-list-insert-before)
  3766. (widget-editable-list-delete-at):
  3767. * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres)
  3768. (cperl-font-lock-unfontify-region-function):
  3769. * lisp/progmodes/antlr-mode.el (save-buffer-state-x):
  3770. * lisp/obsolete/longlines.el (longlines-mode):
  3771. * lisp/obsolete/fast-lock.el (save-buffer-state):
  3772. * lisp/mouse.el (mouse-save-then-kill-delete-region):
  3773. * lisp/gnus/message.el (message-hide-headers):
  3774. * lisp/eshell/esh-mode.el (eshell-send-input, eshell-output-filter):
  3775. * lisp/ibuffer.el (ibuffer-update-title-and-summary)
  3776. (ibuffer-redisplay-engine): Bind inhibit-modification-hooks to t rather
  3777. than after/before-change-functions to nil.
  3778. 2015-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
  3779. (jit-lock-deferred-fontify): Pay attention to skipped redisplays
  3780. * lisp/jit-lock.el (jit-lock-deferred-fontify): Make sure we refresh
  3781. the buffers, even if the forced redisplay is interrupted.
  3782. * lisp/emacs-lisp/eieio-core.el (class-p): Accept class objects
  3783. Merge syntax-propertize--done and parse-sexp-propertize-done
  3784. * lisp/emacs-lisp/syntax.el (syntax-propertize--done): Remove.
  3785. (syntax-propertize): Set syntax-propertize--done even if
  3786. syntax-propertize-function is nil. Avoid recursive invocations.
  3787. (syntax-propertize-chunks): New var.
  3788. (internal--syntax-propertize): Use it. Rename from syntax--jit-propertize.
  3789. Simplify.
  3790. (parse-sexp-propertize-function): Don't set any more.
  3791. * src/syntax.c (SETUP_SYNTAX_TABLE): Call parse_sexp_propertize as needed.
  3792. (parse_sexp_propertize): Don't assume charpos is not yet propertized.
  3793. Call Qinternal__syntax_propertize instead of
  3794. Vparse_sexp_propertize_function. Truncate e_property if needed.
  3795. (update_syntax_table_forward): Streamline.
  3796. (syms_of_syntax): Define Qinternal__syntax_propertize.
  3797. (syntax_propertize__done): Rename from parse_sexp_propertize_done.
  3798. 2015-09-11 Paul Eggert <eggert@cs.ucla.edu>
  3799. Prefer straight quoting in some text files
  3800. Mostly this just changes ` to ' in static text. Some exceptions:
  3801. * INSTALL.REPO: Use curved quotes, as the diagnostic in question
  3802. typically does that now.
  3803. * admin/quick-install-emacs (TRY, top level):
  3804. Use straight quoting in diagnostics.
  3805. * src/README: Fix working-directory confusion.
  3806. * CONTRIBUTE: Move send-email here from git-workflow.
  3807. 2015-09-11 Michael Albinus <michael.albinus@gmx.de>
  3808. Improve file notifications in Tramp
  3809. * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
  3810. Set proper events to watch for.
  3811. (tramp-sh-file-gvfs-monitor-dir-process-filter): Report only
  3812. watched events.
  3813. 2015-09-11 Eli Zaretskii <eliz@gnu.org>
  3814. Fix NS build with --enable-checking='glyphs'
  3815. * src/nsfns.m (unwind_create_frame): Make the preprocessor
  3816. conditionals for referencing 'dpyinfo' consistent throughout the
  3817. function. (Bug#21426)
  3818. 2015-09-10 Nicolas Petton <nicolas@petton.fr>
  3819. Add seq-find
  3820. This function is similar to `seq-some' but returns the found element.
  3821. In the cases where nil can be the found element, a sentinel optional
  3822. argument can be provided to avoid ambiguities.
  3823. * lisp/emacs-lisp/seq.el (seq-find): New function.
  3824. * test/automated/seq-tests.el (test-seq-find): Add tests for `seq-find'.
  3825. * doc/lispref/sequences.texi (Sequence Functions): Add documentation for
  3826. seq-find.
  3827. 2015-09-10 Tassilo Horn <tsdh@gnu.org>
  3828. Document file-notify--test-with-events.
  3829. * test/automated/file-notify-tests.el (file-notify--test-with-events):
  3830. Add docstring.
  3831. 2015-09-10 Michael Albinus <michael.albinus@gmx.de>
  3832. Report used native library in file-notify-tests.el
  3833. * test/automated/file-notify-tests.el
  3834. (tramp-get-remote-gvfs-monitor-dir)
  3835. (tramp-get-remote-inotifywait): Declare them.
  3836. (file-notify-test00-availability): Print used native library.
  3837. 2015-09-10 Mark Oteiza <mvoteiza@udel.edu>
  3838. * lisp/mpc.el (mpc--proc-connect): Use file-name-absolute-p.
  3839. (mpc-file-local-copy): Check for absolute path. Check more config
  3840. locations.
  3841. 2015-09-10 Eli Zaretskii <eliz@gnu.org>
  3842. Improve documentation of categories
  3843. * doc/lispref/syntax.texi (Categories): Clarify the example of
  3844. using define-category and modify-category-entry. (Bug#21448)
  3845. 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
  3846. Revert some stray curved quotes I missed earlier
  3847. Problem reported by David Kastrup in:
  3848. http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00440.html
  3849. * lisp/international/mule-cmds.el (leim-list-header):
  3850. Use format-message with an ASCII-only format.
  3851. Prefer NUMBERP to spelling it out
  3852. * src/editfns.c (styled_format):
  3853. * src/frame.h (NUMVAL):
  3854. * src/image.c (parse_image_spec):
  3855. * src/lisp.h (CHECK_NUMBER_OR_FLOAT)
  3856. (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER):
  3857. * src/process.c (Fsignal_process):
  3858. * src/xdisp.c (calc_pixel_width_or_height, on_hot_spot_p):
  3859. * src/xfaces.c (check_lface_attrs):
  3860. * src/xselect.c (x_fill_property_data, x_send_client_event):
  3861. Use NUMBERP rather than INTEGERP || FLOATP.
  3862. 2015-09-10 Tassilo Horn <tsdh@gnu.org>
  3863. Improve file-notify-tests
  3864. * test/automated/file-notify-tests.el: Use lexical-binding.
  3865. (file-notify--test-cleanup): New function.
  3866. (file-notify-test00-availability, file-notify-test01-add-watch)
  3867. (file-notify-test02-events, file-notify-test03-autorevert): Use it.
  3868. (file-notify--test-with-events): New macro.
  3869. (file-notify-test02-events): Use it.
  3870. 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
  3871. Add patch-sending instructions to git-workflow
  3872. From a suggestion by Mitchel Humpherys in:
  3873. http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00421.html
  3874. * admin/notes/git-workflow (Sending patches): New section.
  3875. Port to GIFLIB 5.0.6 and later
  3876. Problem reported by Mitchel Humpherys in:
  3877. http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00420.html
  3878. * src/image.c (HAVE_GIFERRORSTRING) [HAVE_GIF]: New macro.
  3879. (GifErrorString, init_gif_functions) [HAVE_GIF && WINDOWSNT]:
  3880. (gif_load) [HAVE_GIF]: Use it.
  3881. 2015-09-10 Glenn Morris <rgm@gnu.org>
  3882. * lisp/cedet/ede/auto.el (ede-project-autoload): Doc fix.
  3883. 2015-09-09 Glenn Morris <rgm@gnu.org>
  3884. * test/automated/file-notify-tests.el (file-notify-test02-events):
  3885. Fix recent change.
  3886. 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
  3887. Refix movemail GCC pacification
  3888. Problem reported by Ken Brown in:
  3889. http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00406.html
  3890. * lib-src/movemail.c (main): Fix previous change.
  3891. 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
  3892. * lisp/calendar/time-date.el (time-to-seconds, time-less-p):
  3893. Mark unused vars with underscore.
  3894. * src/syntax.c (SETUP_SYNTAX_TABLE): Move truncation...
  3895. (parse_sexp_propertize): ...from here.
  3896. * lisp/filenotify.el: Use lexical-binding
  3897. (file-notify-add-watch): Avoid add-to-list.
  3898. 2015-09-09 Tassilo Horn <tsdh@gnu.org>
  3899. Start checking event types in file-notify tests
  3900. * test/automated/file-notify-tests.el (file-notify--test-events):
  3901. New variable.
  3902. (file-notify--test-event-handler): Append received event to
  3903. file-notify--test-events for later analysis.
  3904. (file-notify-test02-events): Assert that the expected notifications have
  3905. arrived in the expected order.
  3906. 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
  3907. Merge from gnulib and texinfo
  3908. This incorporates:
  3909. 2015-08-03 Improve port of stdalign to C++11
  3910. * lib/stdalign.in.h: Copy from gnulib.
  3911. * doc/misc/texinfo.tex: Copy from texinfo.
  3912. 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
  3913. Make syntax.c call syntax-propertize on demand
  3914. * lisp/emacs-lisp/syntax.el (syntax--jit-propertize): New function.
  3915. (parse-sexp-propertize-function): Use it.
  3916. (syntax-propertize): Disable parse-sexp-propertize-function.
  3917. * src/syntax.c (parse_sexp_propertize, update_syntax_table_forward):
  3918. New functions.
  3919. (syms_of_syntax): New vars `parse-sexp-propertize-done' and
  3920. `parse-sexp-propertize-function'.
  3921. * src/syntax.h (struct gl_state_s): Add `e_property_truncated' field.
  3922. (UPDATE_SYNTAX_TABLE_FORWARD): Use update_syntax_table_forward.
  3923. (SETUP_BUFFER_SYNTAX_TABLE): Set e_property_truncated.
  3924. * lisp/progmodes/elisp-mode.el (elisp-byte-code-syntax-propertize):
  3925. Don't assume `point' is set.
  3926. 2015-09-09 Eli Zaretskii <eliz@gnu.org>
  3927. Fix indentation of an @example in ELisp manual
  3928. * doc/lispref/syntax.texi (Categories): Untabify the example.
  3929. (Bug#21448)
  3930. 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
  3931. Define internal-char-font even if --without-x
  3932. The function is used now even in non-graphical environments.
  3933. Problem reported by Glenn Morris in:
  3934. http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00401.html
  3935. * src/font.c (Finternal_char_font): Move here ...
  3936. * src/fontset.c (Finternal_char_font): ... from here.
  3937. 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
  3938. * lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers):
  3939. Remove warning.
  3940. 2015-09-09 Eli Zaretskii <eliz@gnu.org>
  3941. Fix display of complex local data types in GDB-MI
  3942. * lisp/progmodes/gdb-mi.el (gdb-locals-handler-custom): If a
  3943. variable has no value, display "<complex data type>" as a
  3944. placeholder, instead of a confusing "nil". (Bug#21438)
  3945. 2015-09-09 Oleh Krehel <ohwoeowho@gmail.com>
  3946. Remove redundant redefinition of seq-drop-while from seq.el
  3947. * lisp/emacs-lisp/seq.el (seq-drop-while): Define only once.
  3948. 2015-09-09 Phil Sainty <psainty@orcon.net.nz>
  3949. * lisp/emacs-lisp/package.el (package--ensure-init-file):
  3950. More robust check for `package-initialize' calls in init file.
  3951. This function accepts an optional argument, but calls passing
  3952. an argument would not have been detected.
  3953. 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
  3954. Port movemail to RHEL 6 with --enable-gcc-warnings
  3955. * lib-src/movemail.c (main): Declare local only if needed.
  3956. Port recent Linux console changes to RHEL 6
  3957. * src/terminal.c [HAVE_LINUX_KD_H]: Include <sys/ioctl.h>.
  3958. Improvements for curved quotes on Linux consule
  3959. This should help Emacs work better out-of-the-box on Linux consoles,
  3960. which have only limited support for displaying Unicode characters.
  3961. Also, undo the recent change that caused text-quoting-style to
  3962. affect quote display on terminals, so that the two features are
  3963. independent. See Alan Mackenzie in:
  3964. http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00244.html
  3965. Finally, add a style parameter to startup--setup-quote-display,
  3966. so that this function can also be invoked after startup, with
  3967. different styles depending on user preference at the time.
  3968. * configure.ac: Check for linux/kd.h header.
  3969. * doc/emacs/display.texi (Text Display): Document quote display.
  3970. * doc/lispref/display.texi (Active Display Table):
  3971. * etc/NEWS:
  3972. * lisp/startup.el (startup--setup-quote-display, command-line):
  3973. text-quoting-style no longer affects quote display.
  3974. * doc/lispref/frames.texi (Terminal Parameters): Fix typo.
  3975. * lisp/international/mule-util.el (char-displayable-p):
  3976. * lisp/startup.el (startup--setup-quote-display):
  3977. On a text terminal supporting glyph codes, use the reported
  3978. glyph codes instead of the terminal coding system, as this
  3979. is more accurate on the Linux console.
  3980. * lisp/startup.el (startup--setup-quote-display):
  3981. New optional arg STYLE.
  3982. * src/fontset.c (Finternal_char_font):
  3983. Report glyph codes for a text terminal, if they are available.
  3984. Currently this is supported only for the Linux console.
  3985. * src/termhooks.h (struct terminal): New member glyph-code-table.
  3986. * src/terminal.c [HAVE_LINUX_KD_H]: Include <errno.h>, <linux/kd.h>.
  3987. (calculate_glyph_code_table) [HAVE_LINUX_KD_H]: New function.
  3988. (terminal_glyph_code): New function.
  3989. 2015-09-08 Juri Linkov <juri@linkov.net>
  3990. * lisp/info.el (Info-fontify-node): Don't stop at the non-title
  3991. underline. (Bug#21433)
  3992. 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
  3993. * lisp/calendar/time-date.el (with-decoded-time-value): Fix debug spec.
  3994. 2015-09-08 Tassilo Horn <tsdh@gnu.org>
  3995. Fix double-reporting of rename events with inotify
  3996. * lisp/filenotify.el (file-notify-callback): Fix double-reporting
  3997. of rename events with inotify (bug#21435).
  3998. 2015-09-08 Vasilij Schneidermann <v.schneidermann@gmail.com> (tiny change)
  3999. * lisp/play/tetris.el (tetris-move-down): New command (bug#21360).
  4000. (tetris-mode-map): Use it.
  4001. 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
  4002. Remove a few simple cases of global redisplay
  4003. * src/dispnew.c (redraw_frame): Don't redisplay all frames.
  4004. * src/xdisp.c (echo_area_display): Set the frame's `redisplay' bit
  4005. rather than returning a "resized_p" boolean.
  4006. (redisplay_internal): Adjust call accordingly.
  4007. * src/xfaces.c (free_realized_faces): Don't redisplay all frames.
  4008. (free_all_realized_faces): Set windows_or_buffers_changed so as to ease
  4009. tracking of this undesirable situation.
  4010. * src/process.c (status_notify): Avoid global redisplay (bug#11822)
  4011. * src/process.c (status_notify): Only set the update_mode_line on the
  4012. relevant buffers rather than setting it globally.
  4013. 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
  4014. * lisp/electric.el (electric-quote-post-self-insert-function):
  4015. Don't use syntax-ppss if comment-use-syntax is nil (e.g. message-mode).
  4016. (electric-quote-mode): Activate everywhere in message-mode.
  4017. 2015-09-07 Paul Eggert <eggert@cs.ucla.edu>
  4018. Go back to grave quoting in source-code docstrings etc.
  4019. This reverts almost all my recent changes to use curved quotes
  4020. in docstrings and/or strings used for error diagnostics.
  4021. There are a few exceptions, e.g., Bahá’í proper names.
  4022. * admin/unidata/unidata-gen.el (unidata-gen-table):
  4023. * lisp/abbrev.el (expand-region-abbrevs):
  4024. * lisp/align.el (align-region):
  4025. * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet)
  4026. (outlineify-sticky):
  4027. * lisp/apropos.el (apropos-library):
  4028. * lisp/bookmark.el (bookmark-default-annotation-text):
  4029. * lisp/button.el (button-category-symbol, button-put)
  4030. (make-text-button):
  4031. * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
  4032. * lisp/calc/calc-embed.el (calc-do-embedded):
  4033. * lisp/calc/calc-ext.el (calc-user-function-list):
  4034. * lisp/calc/calc-graph.el (calc-graph-show-dumb):
  4035. * lisp/calc/calc-help.el (calc-describe-key)
  4036. (calc-describe-thing, calc-full-help):
  4037. * lisp/calc/calc-lang.el (calc-c-language)
  4038. (math-parse-fortran-vector-end, math-parse-tex-sum)
  4039. (math-parse-eqn-matrix, math-parse-eqn-prime)
  4040. (calc-yacas-language, calc-maxima-language, calc-giac-language)
  4041. (math-read-giac-subscr, math-read-math-subscr)
  4042. (math-read-big-rec, math-read-big-balance):
  4043. * lisp/calc/calc-misc.el (calc-help, report-calc-bug):
  4044. * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
  4045. (calc-auto-recompute):
  4046. * lisp/calc/calc-prog.el (calc-fix-token-name)
  4047. (calc-read-parse-table-part, calc-user-define-invocation)
  4048. (math-do-arg-check):
  4049. * lisp/calc/calc-store.el (calc-edit-variable):
  4050. * lisp/calc/calc-units.el (math-build-units-table-buffer):
  4051. * lisp/calc/calc-vec.el (math-read-brackets):
  4052. * lisp/calc/calc-yank.el (calc-edit-mode):
  4053. * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
  4054. * lisp/calendar/appt.el (appt-display-message):
  4055. * lisp/calendar/diary-lib.el (diary-check-diary-file)
  4056. (diary-mail-entries, diary-from-outlook):
  4057. * lisp/calendar/icalendar.el (icalendar-export-region)
  4058. (icalendar--convert-float-to-ical)
  4059. (icalendar--convert-date-to-ical)
  4060. (icalendar--convert-ical-to-diary)
  4061. (icalendar--convert-recurring-to-diary)
  4062. (icalendar--add-diary-entry):
  4063. * lisp/calendar/time-date.el (format-seconds):
  4064. * lisp/calendar/timeclock.el (timeclock-mode-line-display)
  4065. (timeclock-make-hours-explicit, timeclock-log-data):
  4066. * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
  4067. (todo-item-mark, todo-check-format)
  4068. (todo-insert-item--next-param, todo-edit-item--next-key)
  4069. (todo-mode):
  4070. * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
  4071. * lisp/cedet/mode-local.el (describe-mode-local-overload)
  4072. (mode-local-print-binding, mode-local-describe-bindings-2):
  4073. * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
  4074. * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
  4075. * lisp/cus-start.el (standard):
  4076. * lisp/cus-theme.el (describe-theme-1):
  4077. * lisp/custom.el (custom-add-dependencies, custom-check-theme)
  4078. (custom--sort-vars-1, load-theme):
  4079. * lisp/descr-text.el (describe-text-properties-1, describe-char):
  4080. * lisp/dired-x.el (dired-do-run-mail):
  4081. * lisp/dired.el (dired-log):
  4082. * lisp/emacs-lisp/advice.el (ad-read-advised-function)
  4083. (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
  4084. (ad-disable-advice, ad-remove-advice, ad-set-argument)
  4085. (ad-set-arguments, ad--defalias-fset, ad-activate)
  4086. (ad-deactivate):
  4087. * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
  4088. (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
  4089. (byte-optimize-while, byte-optimize-apply):
  4090. * lisp/emacs-lisp/byte-run.el (defun, defsubst):
  4091. * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
  4092. (byte-compile-log-file, byte-compile-format-warn)
  4093. (byte-compile-nogroup-warn, byte-compile-arglist-warn)
  4094. (byte-compile-cl-warn)
  4095. (byte-compile-warn-about-unresolved-functions)
  4096. (byte-compile-file, byte-compile--declare-var)
  4097. (byte-compile-file-form-defmumble, byte-compile-form)
  4098. (byte-compile-normal-call, byte-compile-check-variable)
  4099. (byte-compile-variable-ref, byte-compile-variable-set)
  4100. (byte-compile-subr-wrong-args, byte-compile-setq-default)
  4101. (byte-compile-negation-optimizer)
  4102. (byte-compile-condition-case--old)
  4103. (byte-compile-condition-case--new, byte-compile-save-excursion)
  4104. (byte-compile-defvar, byte-compile-autoload)
  4105. (byte-compile-lambda-form)
  4106. (byte-compile-make-variable-buffer-local, display-call-tree)
  4107. (batch-byte-compile):
  4108. * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use):
  4109. * lisp/emacs-lisp/chart.el (chart-space-usage):
  4110. * lisp/emacs-lisp/check-declare.el (check-declare-scan)
  4111. (check-declare-warn, check-declare-file)
  4112. (check-declare-directory):
  4113. * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
  4114. (checkdoc-message-text-engine):
  4115. * lisp/emacs-lisp/cl-extra.el (cl-parse-integer)
  4116. (cl--describe-class):
  4117. * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
  4118. (cl--generic-describe, cl-generic-generalizers):
  4119. * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
  4120. (cl-symbol-macrolet):
  4121. * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
  4122. * lisp/emacs-lisp/copyright.el (copyright)
  4123. (copyright-update-directory):
  4124. * lisp/emacs-lisp/edebug.el (edebug-read-list):
  4125. * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
  4126. * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
  4127. (eieio-oref):
  4128. * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
  4129. * lisp/emacs-lisp/eieio-speedbar.el:
  4130. (eieio-speedbar-child-make-tag-lines)
  4131. (eieio-speedbar-child-description):
  4132. * lisp/emacs-lisp/eieio.el (defclass, change-class):
  4133. * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
  4134. (elint-init-form, elint-check-defalias-form)
  4135. (elint-check-let-form):
  4136. * lisp/emacs-lisp/ert.el (ert-get-test, ert-results-mode-menu)
  4137. (ert-results-pop-to-backtrace-for-test-at-point)
  4138. (ert-results-pop-to-messages-for-test-at-point)
  4139. (ert-results-pop-to-should-forms-for-test-at-point)
  4140. (ert-describe-test):
  4141. * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
  4142. (find-function-library):
  4143. * lisp/emacs-lisp/generator.el (iter-yield):
  4144. * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
  4145. * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
  4146. * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
  4147. * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
  4148. * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
  4149. (advice--make, define-advice):
  4150. * lisp/emacs-lisp/package-x.el (package-upload-file):
  4151. * lisp/emacs-lisp/package.el (package-version-join)
  4152. (package-disabled-p, package-activate-1, package-activate)
  4153. (package--download-one-archive)
  4154. (package--download-and-read-archives)
  4155. (package-compute-transaction, package-install-from-archive)
  4156. (package-install, package-install-selected-packages)
  4157. (package-delete, package-autoremove, describe-package-1)
  4158. (package-install-button-action, package-delete-button-action)
  4159. (package-menu-hide-package, package-menu--list-to-prompt)
  4160. (package-menu--perform-transaction)
  4161. (package-menu--find-and-notify-upgrades):
  4162. * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
  4163. * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
  4164. * lisp/emacs-lisp/ring.el (ring-previous, ring-next):
  4165. * lisp/emacs-lisp/rx.el (rx-check, rx-anything)
  4166. (rx-check-any-string, rx-check-any, rx-check-not, rx-=)
  4167. (rx-repeat, rx-check-backref, rx-syntax, rx-check-category)
  4168. (rx-form):
  4169. * lisp/emacs-lisp/smie.el (smie-config-save):
  4170. * lisp/emacs-lisp/subr-x.el (internal--check-binding):
  4171. * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
  4172. * lisp/emacs-lisp/testcover.el (testcover-1value):
  4173. * lisp/emacs-lisp/timer.el (timer-event-handler):
  4174. * lisp/emulation/viper-cmd.el (viper-toggle-parse-sexp-ignore-comments)
  4175. (viper-toggle-search-style, viper-kill-buffer)
  4176. (viper-brac-function):
  4177. * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
  4178. * lisp/env.el (setenv):
  4179. * lisp/erc/erc-button.el (erc-nick-popup):
  4180. * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login, english):
  4181. * lisp/eshell/em-dirs.el (eshell/cd):
  4182. * lisp/eshell/em-glob.el (eshell-glob-regexp)
  4183. (eshell-glob-entries):
  4184. * lisp/eshell/em-pred.el (eshell-parse-modifiers):
  4185. * lisp/eshell/esh-opt.el (eshell-show-usage):
  4186. * lisp/facemenu.el (facemenu-add-new-face)
  4187. (facemenu-add-new-color):
  4188. * lisp/faces.el (read-face-name, read-face-font, describe-face)
  4189. (x-resolve-font-name):
  4190. * lisp/files-x.el (modify-file-local-variable):
  4191. * lisp/files.el (locate-user-emacs-file, find-alternate-file)
  4192. (set-auto-mode, hack-one-local-variable--obsolete)
  4193. (dir-locals-set-directory-class, write-file, basic-save-buffer)
  4194. (delete-directory, copy-directory, recover-session)
  4195. (recover-session-finish, insert-directory)
  4196. (file-modes-char-to-who, file-modes-symbolic-to-number)
  4197. (move-file-to-trash):
  4198. * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer):
  4199. * lisp/find-cmd.el (find-generic, find-to-string):
  4200. * lisp/finder.el (finder-commentary):
  4201. * lisp/font-lock.el (font-lock-fontify-buffer):
  4202. * lisp/format.el (format-write-file, format-find-file)
  4203. (format-insert-file):
  4204. * lisp/frame.el (get-device-terminal, select-frame-by-name):
  4205. * lisp/fringe.el (fringe--check-style):
  4206. * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
  4207. * lisp/help-fns.el (help-fns--key-bindings)
  4208. (help-fns--compiler-macro, help-fns--parent-mode)
  4209. (help-fns--obsolete, help-fns--interactive-only)
  4210. (describe-function-1, describe-variable):
  4211. * lisp/help.el (describe-mode)
  4212. (describe-minor-mode-from-indicator):
  4213. * lisp/image.el (image-type):
  4214. * lisp/international/ccl.el (ccl-dump):
  4215. * lisp/international/fontset.el (x-must-resolve-font-name):
  4216. * lisp/international/mule-cmds.el (prefer-coding-system)
  4217. (select-safe-coding-system-interactively)
  4218. (select-safe-coding-system, activate-input-method)
  4219. (toggle-input-method, describe-current-input-method)
  4220. (describe-language-environment):
  4221. * lisp/international/mule-conf.el (code-offset):
  4222. * lisp/international/mule-diag.el (describe-character-set)
  4223. (list-input-methods-1):
  4224. * lisp/mail/feedmail.el (feedmail-run-the-queue):
  4225. * lisp/mouse.el (minor-mode-menu-from-indicator):
  4226. * lisp/mpc.el (mpc-playlist-rename):
  4227. * lisp/msb.el (msb--choose-menu):
  4228. * lisp/net/ange-ftp.el (ange-ftp-shell-command):
  4229. * lisp/net/imap.el (imap-interactive-login):
  4230. * lisp/net/mairix.el (mairix-widget-create-query):
  4231. * lisp/net/newst-backend.el (newsticker--sentinel-work):
  4232. * lisp/net/newst-treeview.el (newsticker--treeview-load):
  4233. * lisp/net/rlogin.el (rlogin):
  4234. * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
  4235. * lisp/obsolete/otodo-mode.el (todo-more-important-p):
  4236. * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
  4237. * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
  4238. * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
  4239. * lisp/org/ob-core.el (org-babel-goto-named-src-block)
  4240. (org-babel-goto-named-result):
  4241. * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
  4242. * lisp/org/ob-ref.el (org-babel-ref-resolve):
  4243. * lisp/org/org-agenda.el (org-agenda-prepare):
  4244. * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
  4245. (org-clock-resolve):
  4246. * lisp/org/org-ctags.el (org-ctags-ask-rebuild-tags-file-then-find-tag):
  4247. * lisp/org/org-feed.el (org-feed-parse-atom-entry):
  4248. * lisp/org/org-habit.el (org-habit-parse-todo):
  4249. * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
  4250. (org-mouse-context-menu):
  4251. * lisp/org/org-table.el (org-table-edit-formulas):
  4252. * lisp/org/ox.el (org-export-async-start):
  4253. * lisp/proced.el (proced-log):
  4254. * lisp/progmodes/ada-mode.el (ada-get-indent-case)
  4255. (ada-check-matching-start, ada-goto-matching-start):
  4256. * lisp/progmodes/ada-prj.el (ada-prj-display-page):
  4257. * lisp/progmodes/ada-xref.el (ada-find-executable):
  4258. * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
  4259. * lisp/progmodes/etags.el (etags-tags-apropos-additional):
  4260. * lisp/progmodes/flymake.el (flymake-parse-err-lines)
  4261. (flymake-start-syntax-check-process):
  4262. * lisp/progmodes/python.el (python-shell-get-process-or-error)
  4263. (python-define-auxiliary-skeleton):
  4264. * lisp/progmodes/sql.el (sql-comint):
  4265. * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
  4266. * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate):
  4267. * lisp/recentf.el (recentf-open-files):
  4268. * lisp/replace.el (query-replace-read-from)
  4269. (occur-after-change-function, occur-1):
  4270. * lisp/scroll-bar.el (scroll-bar-columns):
  4271. * lisp/server.el (server-get-auth-key):
  4272. * lisp/simple.el (execute-extended-command)
  4273. (undo-outer-limit-truncate, list-processes--refresh)
  4274. (compose-mail, set-variable, choose-completion-string)
  4275. (define-alternatives):
  4276. * lisp/startup.el (site-run-file, tty-handle-args, command-line)
  4277. (command-line-1):
  4278. * lisp/subr.el (noreturn, define-error, add-to-list)
  4279. (read-char-choice, version-to-list):
  4280. * lisp/term/common-win.el (x-handle-xrm-switch)
  4281. (x-handle-name-switch, x-handle-args):
  4282. * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
  4283. * lisp/textmodes/reftex-ref.el (reftex-label):
  4284. * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
  4285. * lisp/textmodes/two-column.el (2C-split):
  4286. * lisp/tutorial.el (tutorial--describe-nonstandard-key)
  4287. (tutorial--find-changed-keys):
  4288. * lisp/type-break.el (type-break-noninteractive-query):
  4289. * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
  4290. (wdired-do-perm-changes):
  4291. * lisp/whitespace.el (whitespace-report-region):
  4292. Prefer grave quoting in source-code strings used to generate help
  4293. and diagnostics.
  4294. * lisp/faces.el (face-documentation):
  4295. No need to convert quotes, since the result is a docstring.
  4296. * lisp/info.el (Info-virtual-index-find-node)
  4297. (Info-virtual-index, info-apropos):
  4298. Simplify by generating only curved quotes, since info files are
  4299. typically that ways nowadays anyway.
  4300. * lisp/international/mule-diag.el (list-input-methods):
  4301. Don’t assume text quoting style is curved.
  4302. * lisp/org/org-bibtex.el (org-bibtex-fields):
  4303. Revert my recent changes, going back to the old quoting style.
  4304. 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
  4305. * lisp/emacs-lisp/package.el: Reduce autoloading before compiling.
  4306. (package--autoloads-file-name)
  4307. (package--activate-autoloads-and-load-path): New function.
  4308. (package-activate-1): Delegate autoloading and load-path
  4309. configuration to `package--activate-autoloads-and-load-path'.
  4310. (package--compile): Before compilation, call
  4311. `package--activate-autoloads-and-load-path' instead of
  4312. `package-activate-1'.
  4313. 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
  4314. * src/keyboard.c (read_key_sequence): Complete last fix (bug#21403).
  4315. 2015-09-07 Eli Zaretskii <eliz@gnu.org>
  4316. Fix deletion of symlinks to directories on MS-Windows
  4317. * src/w32.c (sys_unlink): If 'unlink' fails, and the argument is a
  4318. symlink to a directory, try again with 'rmdir'.
  4319. (is_symlink): If the argument is a symlink to a directory, set a
  4320. bit in the return value to indicate that fact.
  4321. 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
  4322. * lisp/emacs-lisp/package.el (package-initialize): Set enable-at-startup
  4323. When `package-initialize' is called as part of loading the init file,
  4324. the user probably doesn't want it to be called again afterwards.
  4325. In this situation, `package-initialize' now sets
  4326. `package-enable-at-startup' to nil to prevent that. The user can have
  4327. the old behavior by setting this variable to t after the call to
  4328. `package-initialize'. (Bug#21423)
  4329. * doc/emacs/package.texi (Package Installation): Document it.
  4330. * doc/lispref/package.texi (Packaging Basics): Document it.
  4331. * etc/NEWS: Document it.
  4332. 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
  4333. Bump version of ntlm.el to 2.00
  4334. * lisp/net/ntlm.el: Bump version to 2.00. New maintainer.
  4335. Add comm keyword.
  4336. 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
  4337. * doc/misc/gnus.texi (Mail Source Specifiers):
  4338. Allow :mailbox to be a list.
  4339. 2015-09-06 Dmitry Gutov <dgutov@yandex.ru>
  4340. * lisp/progmodes/etags.el (etags-tags-completion-table):
  4341. Allow even one non-regular character before the implicit tag name.
  4342. Reported at http://emacs.stackexchange.com/questions/15269/.
  4343. 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
  4344. Add support for NTLMv2 authentication
  4345. * lisp/net/ntlm.el (ntlm): New customization group.
  4346. (ntlm-compatibility-level): New defcustom.
  4347. (ntlm-compute-timestamp): New function.
  4348. (ntlm-generate-nonce): Likewise.
  4349. (ntlm-build-auth-response): Add support for NTLMv2 authentication.
  4350. 2015-09-06 Artur Malabarba <bruce.connor.am@gmail.com>
  4351. * lisp/emacs-lisp/package.el: Rename custom faces.
  4352. All of the recently introduced faces, like `package-name-face', have
  4353. been renamed to no end in `-face' to comply with the convention
  4354. described in (info "(elisp) Defining Faces").
  4355. (package-name, package-description)
  4356. (package-status-built-in, package-status-external)
  4357. (package-status-available, package-status-new)
  4358. (package-status-held, package-status-disabled)
  4359. (package-status-installed, package-status-dependency)
  4360. (package-status-unsigned, package-status-incompat)
  4361. (package-status-avail-obso): New faces.
  4362. (package-menu--print-info-simple): Use them.
  4363. 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
  4364. mail-source.el: Make the imap mail-source's :mailbox handle a list
  4365. * lisp/gnus/mail-source.el (mail-source-fetch-imap):
  4366. Allow :mailbox to be a list.
  4367. 2015-09-06 Eric Abrahamsen <eric@ericabrahamsen.net>
  4368. nnimap.el: Handle nil arg to nnimap-request-group
  4369. * lisp/gnus/nnimap.el (nnimap-request-group): Handle nil "info" arg.
  4370. This arg isn't always passed in, check it's not nil before making it
  4371. into a list. The active arg will also be nil if the group is new,
  4372. check for that.
  4373. 2015-09-06 Michael Albinus <michael.albinus@gmx.de>
  4374. File notifications: Support renaming over directory boundaries
  4375. * lisp/filenotify.el (file-notify-handle-event):
  4376. (file-notify--pending-event): Adapt docstring.
  4377. (file-notify--descriptor, file-notify-callback): Reimplement in
  4378. order to support renaming over directory boundaries.
  4379. (file-notify-add-watch): Adapt `file-notify--descriptor' call.
  4380. * doc/lispref/os.texi (File Notifications): Remove limitation of
  4381. file renaming to the same directory.
  4382. 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
  4383. Spelling fix (Bug#21420)
  4384. 2015-09-05 Nicolas Petton <nicolas@petton.fr>
  4385. Improve the semantic of map-some
  4386. Update map-some to return the returned by the predicate, similar to
  4387. seq-some.
  4388. * lisp/emacs-lisp/map.el (map-some): Update the function to return the
  4389. return value of the predicate.
  4390. * test/automated/map-tests.el (test-map-some): Update the test to check
  4391. for non-nil values only.
  4392. Rename map-contains-key-p and map-some-p
  4393. Remove the "-p" suffix from both function names.
  4394. * lisp/emacs-lisp/map.el (map-contains-key, map-some):
  4395. Rename the functions.
  4396. * test/automated/map-tests.el (test-map-contains-key, test-map-some):
  4397. Update both test functions.
  4398. Improve the semantic of seq-some
  4399. Update seq-some to return non-nil if the predicate returns non-nil for
  4400. any element of the seq, in which case the returned value is the one
  4401. returned by the predicate.
  4402. * lisp/emacs-lisp/seq.el (seq-some): Update the function and its
  4403. docstring.
  4404. * test/automated/seq-tests.el (test-seq-some): Add a regression test.
  4405. * doc/lispref/sequences.texi (Sequence Functions): Update the
  4406. documentation for seq-some.
  4407. Rename seq-some-p to seq-some and seq-contains-p to seq-contains
  4408. * lisp/emacs-lisp/seq.el (seq-some, seq-contains): Rename the functions
  4409. without the "-p" prefix.
  4410. * test/automated/seq-tests.el (test-seq-some, test-seq-contains): Update
  4411. the tests accordingly.
  4412. * doc/lispref/sequences.texi (Sequence Functions): Update the
  4413. documentation for seq.el.
  4414. 2015-09-05 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
  4415. text-quoting-style for usage of fn names with ‘’
  4416. * lisp/help.el (help--docstring-quote): Don’t assume
  4417. text-quoting-style is ‘curve’ when generating usage strings for
  4418. functions whose names contain curved quotes.
  4419. 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
  4420. Fix fix for describe-function keybinding confusion
  4421. This fixes a bug introduced by the previous patch.
  4422. * lisp/help-fns.el (help-fns--signature):
  4423. Last arg of help-fns--signature is now a buffer, or nil if a
  4424. raw signature is wanted. All callers changed.
  4425. (describe-function-1): Use this to do the right thing with signatures.
  4426. 2015-09-05 Johan Bockgård <bojohan@gnu.org>
  4427. * doc/lispref/frames.texi (Mouse Tracking): Fix typo.
  4428. Use PAT rather than UPAT in pcase macros
  4429. * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
  4430. * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>: Use PAT rather
  4431. than UPAT.
  4432. 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
  4433. Fix describe-function keybinding confusion
  4434. * lisp/help-fns.el (describe-function-1): Compute signature
  4435. in the original buffer, not in standard-output, so that
  4436. substitute-command-keys uses the proper keybindings.
  4437. This fixes Bug#21412, introduced in commit
  4438. 2015-06-11T10:23:46-0700!eggert@cs.ucla.edu.
  4439. 2015-09-05 Xue Fuqiao <xfq.free@gmail.com>
  4440. * doc/emacs/programs.texi (Program Modes): Remove an index entry.
  4441. 2015-09-05 Robert Pluim <rpluim@gmail.com> (tiny change)
  4442. Avoid read error messages from 'inotify'
  4443. * src/process.c (wait_reading_process_output): Add a
  4444. 'tls_available' set and manipulate it instead of 'Available' when
  4445. checking TLS inputs. Assign the value to 'Available' only if we
  4446. find any TLS data waiting to be read. This avoids error messages
  4447. from 'inotify' that tries to read data it shouldn't. (Bug#21337)
  4448. 2015-09-05 Eli Zaretskii <eliz@gnu.org>
  4449. Avoid errors in thing-at-point with 2nd argument non-nil
  4450. * lisp/thingatpt.el (thing-at-point): Only call 'length' on
  4451. sequences. (Bug#21391)
  4452. 2015-09-05 Philip <pipcet@gmail.com> (tiny change)
  4453. Fix segfaults due to using a stale face ID
  4454. * src/xdisp.c (forget_escape_and_glyphless_faces): New function.
  4455. (display_echo_area_1, redisplay_internal): Call it to avoid
  4456. reusing stale face IDs for 'escape-glyph' and 'glyphless-char'
  4457. faces, which could case a segfault if the frame's face cache was
  4458. freed since the last redisplay. (Bug#21394)
  4459. * src/xfaces.c (free_realized_faces):
  4460. Call forget_escape_and_glyphless_faces.
  4461. * src/dispextern.h (forget_escape_and_glyphless_faces): Add prototype.
  4462. 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
  4463. Fix minor problems with " in manual
  4464. 2015-09-04 Michael Albinus <michael.albinus@gmx.de>
  4465. * doc/misc/tramp.texi (Frequently Asked Questions): New item for ad-hoc
  4466. multi-hop files.
  4467. 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
  4468. Support automated ‘make check’ in non-C locale
  4469. This lets the builder optionally test Emacs behavior in other locales.
  4470. The C locale is still the default for tests.
  4471. * test/automated/Makefile.in (TEST_LOCALE): New macro.
  4472. (emacs): Use it.
  4473. * test/automated/flymake-tests.el (flymake-tests--current-face):
  4474. Use C locale for subprocesses so that tests behave as expected.
  4475. * test/automated/python-tests.el:
  4476. (python-shell-prompt-validate-regexps-1)
  4477. (python-shell-prompt-validate-regexps-2)
  4478. (python-shell-prompt-validate-regexps-3)
  4479. (python-shell-prompt-validate-regexps-4)
  4480. (python-shell-prompt-validate-regexps-5)
  4481. (python-shell-prompt-validate-regexps-6)
  4482. (python-shell-prompt-set-calculated-regexps-1):
  4483. Adjust expected output to match locale.
  4484. * test/automated/tildify-tests.el (tildify-test--test)
  4485. (tildify-space-test--test, tildify-space-undo-test--test):
  4486. This test assumes UTF-8 encoding.
  4487. 2015-09-03 Paul Eggert <eggert@cs.ucla.edu>
  4488. Fix some more docstring etc. quoting problems
  4489. Mostly these fixes prevent the transliteration of apostrophes
  4490. that should stay apostrophes. Also, prefer curved quotes in
  4491. Bahá’í proper names, as that’s the preferred Bahá’í style and
  4492. these names are chock-full of non-ASCII characters anyway.
  4493. * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload)
  4494. (eieio-defclass-internal):
  4495. * lisp/emacs-lisp/eieio.el (defclass):
  4496. * lisp/hi-lock.el (hi-lock-mode):
  4497. Don’t transliterate Lisp apostrophes when generating a
  4498. doc string or diagnostic.
  4499. * lisp/international/mule-diag.el (list-coding-systems-1):
  4500. * lisp/international/ogonek.el (ogonek-jak, ogonek-how):
  4501. * lisp/mail/sendmail.el (sendmail-query-user-about-smtp):
  4502. * lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer):
  4503. * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
  4504. Substitute quotes before putting them in the help buffer.
  4505. 2015-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
  4506. Re-add the notion of echo_prompt lost in the translation
  4507. * src/keyboard.h (struct kboard): Replace echo_after_prompt with new
  4508. echo_prompt which contains the actual string. Update all uses.
  4509. * src/keyboard.c (kset_echo_prompt): New function.
  4510. (echo_update): Add echo_prompt at the very beginning.
  4511. (read_char): Remove workaround for bug#19875, not needed any more.
  4512. (read_key_sequence): Set echo_prompt rather than echo_string
  4513. (bug#21403).
  4514. (mark_kboards): Mark echo_prompt.
  4515. Fix disassembly of non-compiled lexical functions (bug#21377)
  4516. * lisp/emacs-lisp/bytecomp.el (byte-compile): Handle `closure' arg.
  4517. * lisp/emacs-lisp/disass.el: Use lexical-binding.
  4518. (disassemble): Recognize `closure's as well.
  4519. (disassemble-internal): Use indirect-function and
  4520. help-function-arglist, and accept `closure's.
  4521. (disassemble-internal): Use interactive-form.
  4522. (disassemble-1): Use functionp.
  4523. * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
  4524. Don't compose inside verbatim blocks!
  4525. 2015-09-03 Mark Oteiza <mvoteiza@udel.edu>
  4526. * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "man:"
  4527. (bug#19441).
  4528. * lisp/mpc.el (mpc--proc-connect): Handle unix sockets (bug#19394).
  4529. 2015-09-03 Dmitry Gutov <dgutov@yandex.ru>
  4530. vc-git-mode-line-string: Explicitly re-apply the face
  4531. * lisp/vc/vc-git.el (vc-git-mode-line-string): Explicitly re-apply
  4532. the face (bug#21404).
  4533. 2015-09-02 Paul Eggert <eggert@cs.ucla.edu>
  4534. Treat initial-scratch-message as a doc string
  4535. * doc/emacs/building.texi (Lisp Interaction):
  4536. * doc/lispref/os.texi (Startup Summary):
  4537. * etc/NEWS: Document this.
  4538. * lisp/startup.el (initial-scratch-message):
  4539. Look up find-file’s key rather than hardcoding it.
  4540. (command-line-1): Substitute the doc string.
  4541. This also substitutes the quotes, which will help test display
  4542. quoting at startup.
  4543. Fix describe-char bug with glyphs on terminals
  4544. * lisp/descr-text.el (describe-char): Terminals can have glyphs in
  4545. buffers too, so don’t treat them differently from graphic displays.
  4546. Without this fix, describe-char would throw an error on a terminal
  4547. if given a glyph with a non-default face.
  4548. Follow text-quoting-style in display table init
  4549. This attempts to fix a problem reported by Alan Mackenzie in:
  4550. http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00112.html
  4551. * doc/lispref/display.texi (Active Display Table):
  4552. Mention how text-quoting-style affects it.
  4553. * doc/lispref/help.texi (Keys in Documentation):
  4554. Say how to set text-quoting-style in ~/.emacs.
  4555. * etc/NEWS: Document the change.
  4556. * lisp/startup.el (startup--setup-quote-display):
  4557. Follow user preference if text-quoting-style is set.
  4558. (command-line): Setup quote display again if user expresses
  4559. a preference in .emacs.
  4560. 2015-09-02 K. Handa <handa@gnu.org>
  4561. Fix typo
  4562. * src/ftfont.c (ftfont_drive_otf): otf_positioning_type_components_mask
  4563. -> OTF_positioning_type_components_mask.
  4564. Fix previous change
  4565. * src/ftfont.c (ftfont_drive_otf): Remember some bits of
  4566. OTF_Glyph->positioning_type in MFLTGlyphFT->libotf_positioning_type.
  4567. 2015-09-01 David Caldwell <david@porkrind.org> (tiny change)
  4568. * lisp/vc/vc-hooks.el (vc-refresh-state): New command.
  4569. Rename from vc-find-file-hook and make interactive.
  4570. (vc-find-file-hook): Redefine as obsolete alias.
  4571. 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
  4572. Escape ` and ' in doc
  4573. Escape apostrophes and grave accents in docstrings if they are
  4574. are supposed to stand for themselves and are not quotes. Remove
  4575. apostrophes from docstring examples like ‘'(calendar-nth-named-day
  4576. -1 0 10 year)’ that confuse source code with data. Do some other
  4577. minor docstring fixups as well, e.g., insert a missing close quote.
  4578. 2015-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
  4579. Generalize the prefix-command machinery of C-u
  4580. * lisp/simple.el (prefix-command-echo-keystrokes-functions)
  4581. (prefix-command-preserve-state-hook): New hooks.
  4582. (internal-echo-keystrokes-prefix): New function.
  4583. (prefix-command--needs-update, prefix-command--last-echo): New vars.
  4584. (prefix-command-update, prefix-command-preserve): New functions.
  4585. (reset-this-command-lengths): New compatibility definition.
  4586. (universal-argument--mode): Call prefix-command-update.
  4587. (universal-argument, universal-argument-more, negative-argument)
  4588. (digit-argument): Call prefix-command-preserve-state.
  4589. * src/keyboard.c: Call internal-echo-keystrokes-prefix to build
  4590. the "prefix argument" to echo.
  4591. (this_command_key_count_reset, before_command_key_count)
  4592. (before_command_echo_length): Delete variables.
  4593. (echo_add_key): Always add a space.
  4594. (echo_char): Remove.
  4595. (echo_dash): Don't give up when this_command_key_count is 0, since that
  4596. is now the case after a prefix command.
  4597. (echo_update): New function, extracted from echo_now.
  4598. (echo_now): Use it.
  4599. (add_command_key, read_char, record_menu_key): Remove old disabled code.
  4600. (command_loop_1): Don't refrain from pushing an undo boundary when
  4601. prefix-arg is set. Remove other prefix-arg special case, now handled
  4602. directly in the prefix commands instead. But call echo_now if there's
  4603. a prefix state to echo.
  4604. (read_char, record_menu_key): Use echo_update instead of echo_char.
  4605. (read_key_sequence): Use echo_now rather than echo_dash/echo_char.
  4606. (Freset_this_command_lengths): Delete function.
  4607. (syms_of_keyboard): Define Qinternal_echo_keystrokes_prefix.
  4608. (syms_of_keyboard): Don't defsubr Sreset_this_command_lengths.
  4609. * lisp/simple.el: Use those new hooks for C-u.
  4610. (universal-argument--description): New function.
  4611. (prefix-command-echo-keystrokes-functions): Use it.
  4612. (universal-argument--preserve): New function.
  4613. (prefix-command-preserve-state-hook): Use it.
  4614. (command-execute): Call prefix-command-update if needed.
  4615. * lisp/kmacro.el (kmacro-step-edit-prefix-commands)
  4616. (kmacro-step-edit-prefix-index): Delete variables.
  4617. (kmacro-step-edit-query, kmacro-step-edit-insert): Remove ad-hoc
  4618. support for prefix arg commands.
  4619. (kmacro-step-edit-macro): Don't bind kmacro-step-edit-prefix-index.
  4620. * lisp/emulation/cua-base.el (cua--prefix-override-replay)
  4621. (cua--shift-control-prefix): Use prefix-command-preserve-state.
  4622. Remove now unused arg `arg'.
  4623. (cua--prefix-override-handler, cua--prefix-repeat-handler)
  4624. (cua--shift-control-c-prefix, cua--shift-control-x-prefix):
  4625. Update accordingly.
  4626. (cua--prefix-override-timeout): Don't call reset-this-command-lengths
  4627. any more.
  4628. (cua--keep-active, cua-exchange-point-and-mark): Don't set mark-active
  4629. if the mark is not set.
  4630. 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
  4631. Rework quoting in Emacs Lisp Introduction
  4632. * doc/lispintro/emacs-lisp-intro.texi (Sample let Expression)
  4633. (if in more detail, type-of-animal in detail, else): Rework the
  4634. early example to use " rather than ' so that we don’t burden
  4635. complete novices with the low-priority detail of text quoting style.
  4636. (Complete zap-to-char, kill-region, Complete copy-region-as-kill)
  4637. (kill-new function, kill-ring-yank-pointer)
  4638. (Complete forward-sentence, Loading Files)
  4639. (Code for current-kill, Code for current-kill, yank):
  4640. Resurrect the Emacs 22 versions of the code, which uses grave
  4641. quoting style in doc strings.
  4642. (Complete zap-to-char): Mention how quoting works in doc strings.
  4643. Setup quote display only if interactive
  4644. * lisp/startup.el (command-line):
  4645. Skip call to startup--setup-quote-display if noninteractive.
  4646. Without this change, python-shell-prompt-validate-regexps-1
  4647. fails in test/automated/python-tests.el when run in an
  4648. en_US.utf8 locale on Fedora.
  4649. 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
  4650. Use defalias at the top level
  4651. * lisp/gnus/gnus-util.el (gnus-format-message):
  4652. * lisp/net/tls.el (tls-format-message): Use defalias at the top level
  4653. so as to make eval-and-compile unnecessary. Thanks to Stefan Monnier.
  4654. 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
  4655. terminal-init-w32console mimicks command-line
  4656. Problem reported by Eli Zaretskii.
  4657. * lisp/startup.el (startup--setup-quote-display):
  4658. New function, refactored from a part of ‘command-line’.
  4659. (command-line): Use it.
  4660. * lisp/term/w32console.el (terminal-init-w32console):
  4661. Use it, so that this function stays consistent with ‘command-line’.
  4662. Display replacement quotes with shadow glyphs
  4663. * lisp/startup.el (command-line): When displaying ASCII
  4664. replacements for curved quotes, use a shadow glyph instead of a
  4665. regular one, to avoid ambiguity.
  4666. 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
  4667. * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Mask "Password:".
  4668. 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
  4669. Docstring fixes re quotes in C code
  4670. Fix some docstring quoting problems, mostly by escaping apostrophe.
  4671. 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
  4672. Some Tramp password fixes
  4673. * lisp/net/tramp.el (tramp-clear-passwd): Clear also the passwords
  4674. of the hops.
  4675. * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Move "-p" "Password:"
  4676. at the beginning of the command. Otherwise, it could be
  4677. interpreted as password prompt if the remote host echoes the
  4678. command.
  4679. (tramp-remote-coding-commands): Add "openssl enc -base64".
  4680. 2015-09-01 Dmitry Gutov <dgutov@yandex.ru>
  4681. Make vc-git-working-revision always return the commit hash
  4682. * lisp/vc/vc-git.el (vc-git-working-revision):
  4683. Return the commit hash (bug#21383).
  4684. (vc-git--symbolic-ref): New function, extracted from above.
  4685. (vc-git-mode-line-string): Use it.
  4686. 2015-09-01 K. Handa <handa@gnu.org>
  4687. Use the new type MFLTGlyphFT for MFLTGlyphString.glyphs
  4688. * src/ftfont.c (MFLTGlyphFT): New type.
  4689. (ftfont_get_glyph_id, ftfont_get_metrics, ftfont_drive_otf)
  4690. (ftfont_shape_by_flt): Make MFLTGlyphFT the actual type of
  4691. elements in the array MFLTGlyphString.glyphs.
  4692. 2015-09-01 Stephen Leake <stephen_leake@stephe-leake.org>
  4693. Improve comments in elisp-mode.el, elisp-mode-tests.el
  4694. * lisp/progmodes/elisp-mode.el: Clean up FIXMEs, comments.
  4695. Delete Emacs 25 test in mode-local.el
  4696. * lisp/cedet/mode-local.el (describe-mode-local-overload):
  4697. Fix missed an edit in previous commit.
  4698. Show all known mode-local overrides in *Help*
  4699. * lisp/cedet/mode-local.el (describe-mode-local-overload):
  4700. Assume Emacs 25. Add all known mode-local overrides.
  4701. 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
  4702. * lisp/gnus/gnus-sum.el (gnus-summary-search-article):
  4703. Ensure that the article where the search word is found is displayed
  4704. and pointed to in the summary buffer.
  4705. 2015-08-31 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
  4706. * lisp/newcomment.el (comment-dwim): Use `use-region-p'.
  4707. When the region is active, but is empty (length 0), act as though
  4708. the region was not active; that is, put a comment at the end of
  4709. the line. (Bug#21119)
  4710. 2015-08-31 Katsumi Yamaoka <yamaoka@jpl.org>
  4711. Port tls.el to older Emacs
  4712. * lisp/net/tls.el (tls-format-message):
  4713. Alias to format-message, or format if not available.
  4714. (open-tls-stream): Use it.
  4715. 2015-08-31 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
  4716. hideif.el: Recognize .h++ as C++ header
  4717. * lisp/progmodes/hideif.el (hide-ifdef-header-regexp): Add .h++.
  4718. isearch: Document character folding mode
  4719. * lisp/isearch.el (isearch-forward):
  4720. Mention `isearch-toggle-character-fold' in doc string.
  4721. 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
  4722. Quoting fixes in ERC and Eshell
  4723. * lisp/erc/erc-autoaway.el (erc-autoaway-set-away):
  4724. * lisp/erc/erc-backend.el (define-erc-response-handler):
  4725. * lisp/erc/erc-fill.el (erc-fill-static-center):
  4726. * lisp/eshell/em-dirs.el (eshell-save-some-last-dir):
  4727. * lisp/eshell/em-glob.el (eshell-glob-entries):
  4728. * lisp/eshell/em-hist.el (eshell-save-some-history):
  4729. * lisp/eshell/em-unix.el (eshell-remove-entries, eshell/rm)
  4730. (eshell-shuffle-files):
  4731. * lisp/eshell/esh-cmd.el (eshell-do-eval):
  4732. * lisp/eshell/esh-proc.el (eshell-process-interact)
  4733. (eshell-query-kill-processes):
  4734. Respect ‘text-quoting-style’ in diagnostics and doc strings.
  4735. Quoting fixes in Gnus
  4736. * lisp/gnus/gnus-agent.el:
  4737. (gnus-agent-possibly-synchronize-flags-server):
  4738. * lisp/gnus/gnus-art.el (gnus-article-browse-delete-temp-files):
  4739. * lisp/gnus/gnus-eform.el (gnus-edit-form):
  4740. * lisp/gnus/gnus-group.el (gnus-group-edit-group)
  4741. (gnus-group-nnimap-edit-acl):
  4742. * lisp/gnus/gnus-topic.el (gnus-topic-edit-parameters):
  4743. * lisp/gnus/mail-source.el (mail-source-delete-old-incoming):
  4744. * lisp/gnus/message.el (message-strip-subject-encoded-words)
  4745. (message-check-recipients, message-send-form-letter):
  4746. * lisp/gnus/mm-decode.el (mm-display-part):
  4747. * lisp/gnus/mm-uu.el (mm-uu-pgp-signed-extract-1):
  4748. * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
  4749. (mml-smime-get-ldap-cert):
  4750. * lisp/gnus/spam-report.el (spam-report-process-queue):
  4751. Respect ‘text-quoting-style’ in diagnostics.
  4752. * lisp/gnus/gnus-art.el (article-display-face)
  4753. * lisp/gnus/gnus-fun.el (gnus-display-x-face-in-from):
  4754. Use straight quoting in email.
  4755. * lisp/gnus/rfc2231.el (rfc2231-decode-encoded-string):
  4756. Escape apostrophes in doc strings.
  4757. Quoting fixes in lisp mail, mh-e, net, url
  4758. * lisp/mail/emacsbug.el (report-emacs-bug)
  4759. (report-emacs-bug-hook): Use straight quotes in outgoing email,
  4760. * lisp/mail/feedmail.el (feedmail-message-action-help-blat):
  4761. * lisp/mail/rmail.el (rmail-unknown-mail-followup-to):
  4762. * lisp/mail/rmailout.el (rmail-output-read-file-name):
  4763. * lisp/net/imap.el (imap-interactive-login):
  4764. * lisp/net/tls.el (open-tls-stream):
  4765. * lisp/url/url-auth.el (url-register-auth-scheme):
  4766. Respect ‘text-quoting-style’ in diagnostics.
  4767. * lisp/mh-e/mh-e.el (mh-sortm-args):
  4768. Quote docstring example using text quotes, not as a Lisp quote.
  4769. 2015-08-31 Stephen Leake <stephen_leake@stephe-leake.org>
  4770. Fix some byte-compiler warnings in EDE
  4771. This fixes a bug that caused ede-generic-new-autoloader to overwrite the
  4772. existing autoloader list, rather than add to it.
  4773. * lisp/cedet/ede/auto.el (ede-project-class-files): Delete obsolete name
  4774. argument to eieio class constructor.
  4775. (ede-show-supported-projects): New.
  4776. (ede-add-project-autoload): Replace obsolete `eieio-object-name-string'
  4777. with (oref ... name).
  4778. (ede-auto-load-project): Use slot name, not initarg key.
  4779. * lisp/cedet/ede/generic.el (ede-generic-load)
  4780. (ede-generic-find-matching-target): Use slot name, not initarg key.
  4781. (ede-find-target): Use oref-default on class name.
  4782. (ede-generic-new-autoloader): Delete obsolete name argument to eieio
  4783. class constructor.
  4784. (ede-enable-generic-projects): Make project type names unique.
  4785. 2015-08-31 Eli Zaretskii <eliz@gnu.org>
  4786. Fix directory accessibility tests for w32 network volumes
  4787. * src/w32.c (faccessat): Don't fail with network volumes without a
  4788. share.
  4789. (w32_accessible_directory_p): Handle network volumes without a
  4790. share.
  4791. Fix handling long file names in readdir on MS-Windows
  4792. * src/w32.c (sys_readdir): Append "\*" to the directory after
  4793. converting it to UTF-16/ANSI, not before, to avoid overflowing the
  4794. 260-character limit on file names in filename_to_utf16/ansi.
  4795. Make file-accessible-directory-p reliable on MS-Windows
  4796. * src/w32.c (w32_accessible_directory_p): New function.
  4797. * src/w32.h (w32_accessible_directory_p): Add prototype.
  4798. * src/fileio.c (file_accessible_directory_p) [WINDOWSNT]: Call
  4799. w32_accessible_directory_p to test a directory for accessibility
  4800. by the current user. (Bug#21346)
  4801. (Ffile_accessible_directory_p): Remove the w32 specific caveat
  4802. from the doc string.
  4803. 2015-08-31 Martin Rudalics <rudalics@gmx.at>
  4804. Don't call do_pending_window_change in signal handlers (Bug#21380)
  4805. * src/gtkutil.c (xg_frame_resized):
  4806. * src/xterm.c (x_set_window_size):
  4807. * src/w32term.c (x_set_window_size): Don't call
  4808. do_pending_window_change.
  4809. 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
  4810. Quoting fixes in lisp/org
  4811. * lisp/org/org-agenda.el (org-search-view, org-todo-list)
  4812. (org-tags-view):
  4813. * lisp/org/org-capture.el (org-capture-mode)
  4814. * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
  4815. (org-ctags-ask-append-topic):
  4816. * lisp/org/org.el (org-time-string-to-time)
  4817. (org-time-string-to-absolute):
  4818. * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
  4819. (org-ctags-ask-append-topic):
  4820. * lisp/org/org.el (org-time-string-to-time)
  4821. (org-time-string-to-absolute):
  4822. Respect ‘text-quoting-style’ in diagnostics.
  4823. * lisp/org/org-agenda.el (org-agenda-custom-commands)
  4824. (org-agenda-dim-blocked-tasks): Plural of TODO is TODOs, not TODO’s.
  4825. * lisp/org/org-capture.el (org-capture-fill-template):
  4826. Avoid contraction in output file that might be ASCII.
  4827. * lisp/org/org-compat.el (format-message):
  4828. Define if not already defined, for backward compatibility.
  4829. * lisp/org/org-src.el (org-edit-src-save):
  4830. * lisp/org/org.el (org-cycle, org-ctrl-c-ctrl-c):
  4831. Escape apostrophes in diagnostics.
  4832. Treat “instead” strings as docstrings
  4833. * lisp/emacs-lisp/bytecomp.el (byte-compile-form):
  4834. * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
  4835. Substitute quotes in instead strings.
  4836. 2015-08-31 Nicolas Petton <nicolas@petton.fr>
  4837. Better documentation of seq-let
  4838. * doc/lispref/sequences.texi (Sequence Functions): Rephrase the
  4839. documentation of seq-let.
  4840. 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
  4841. * lisp/international/ccl.el: Fix quoting.
  4842. Quoting fixes in lisp/international and lisp/leim
  4843. * lisp/international/ccl.el (ccl-dump, ccl-dump-call):
  4844. * lisp/international/ja-dic-utl.el (skkdic-lookup-key):
  4845. * lisp/international/mule-cmds.el:
  4846. (select-safe-coding-system-interactively, leim-list-file-name):
  4847. * lisp/international/quail.el (quail-use-package, quail-help):
  4848. * lisp/international/titdic-cnv.el (tit-process-header)
  4849. (miscdic-convert):
  4850. Respect text quoting style in doc strings and diagnostics.
  4851. * lisp/international/quail.el (lisp/international/quail.el):
  4852. * lisp/leim/quail/ethiopic.el ("ethiopic"):
  4853. Escape apostrophes in doc strings.
  4854. Make ‘text-quoting-style’ a plain defvar
  4855. It doesn’t need customization, as it’s likely useful only by experts.
  4856. Suggested by Stefan Monnier in:
  4857. http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg01020.html
  4858. * lisp/cus-start.el: Remove doc.c section for builtin customized vars.
  4859. Quoting fixes in lisp/textmodes
  4860. * lisp/textmodes/bibtex.el (bibtex-validate)
  4861. (bibtex-validate-globally, bibtex-search-entries):
  4862. * lisp/textmodes/ispell.el (ispell-command-loop):
  4863. * lisp/textmodes/page-ext.el (search-pages, pages-directory):
  4864. * lisp/textmodes/texinfmt.el (texinfmt-version)
  4865. (texinfo-format-region, texinfo-format-buffer-1):
  4866. * lisp/textmodes/two-column.el (2C-split):
  4867. Respect text quoting style in doc strings and diagnostics.
  4868. * lisp/textmodes/conf-mode.el (conf-mode-map, conf-quote-normal):
  4869. * lisp/textmodes/sgml-mode.el (sgml-specials, sgml-mode):
  4870. Escape apostrophes in doc strings.
  4871. Documentation fixes re quotes
  4872. Prefer curved quotes in examples if users will typically see
  4873. curved quotes when the examples run.
  4874. Mention format-message when appropriate.
  4875. Don’t use @code in examples.
  4876. Quote an apostrophe with @kbd.
  4877. Quoting fixes in lisp/progmodes
  4878. * lisp/progmodes/cc-engine.el (c-bos-report-error):
  4879. * lisp/progmodes/cpp.el (cpp-edit-reset):
  4880. * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
  4881. * lisp/progmodes/etags.el (etags-tags-apropos-additional)
  4882. (etags-tags-apropos, list-tags, tags-apropos):
  4883. * lisp/progmodes/executable.el (executable-set-magic):
  4884. * lisp/progmodes/octave.el (octave-sync-function-file-names)
  4885. (octave-help, octave-find-definition-default-filename)
  4886. (octave-find-definition):
  4887. Respect text quoting style in doc strings and diagnostics.
  4888. * lisp/progmodes/cc-langs.el (c-populate-syntax-table):
  4889. * lisp/progmodes/verilog-mode.el (verilog-auto-reset-widths):
  4890. * lisp/progmodes/vhdl-mode.el (vhdl-electric-quote):
  4891. Escape apostrophes in doc strings.
  4892. * lisp/progmodes/cmacexp.el (c-macro-expansion):
  4893. Use straight quoting in ASCII comment.
  4894. * lisp/progmodes/idlwave.el (idlwave-auto-fill-split-string)
  4895. (idlwave-pad-keyword):
  4896. * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate)
  4897. (vhdl-electric-open-bracket, vhdl-electric-close-bracket):
  4898. (vhdl-electric-semicolon, vhdl-electric-comma)
  4899. (vhdl-electric-period, vhdl-electric-equal):
  4900. Use directed quotes in diagnostics and doc strings.
  4901. 2015-08-30 Xue Fuqiao <xfq.free@gmail.com>
  4902. Minor documentation and NEWS tweak
  4903. * doc/lispintro/emacs-lisp-intro.texi (fwd-para let):
  4904. Add an index entry.
  4905. * etc/NEWS: Fix a typo in character-fold-to-regexp.
  4906. 2015-08-30 Michael Albinus <michael.albinus@gmx.de>
  4907. * lisp/net/tramp-sh.el (tramp-convert-file-attributes):
  4908. Revert patch from 2015-08-24. Tramp shall behave like for local files.
  4909. * test/automated/tramp-tests.el (tramp-test18-file-attributes):
  4910. Adapt test.
  4911. 2015-08-30 Paul Eggert <eggert@cs.ucla.edu>
  4912. Text quoting fixes in cedet, emulation, emacs-lisp
  4913. * lisp/cedet/ede.el (ede-check-project-directory):
  4914. * lisp/cedet/semantic/analyze/debug.el
  4915. (semantic-analyzer-debug-insert-include-summary):
  4916. * lisp/cedet/semantic/bovine/c.el (semantic-c-describe-environment):
  4917. * lisp/cedet/semantic/decorate/include.el
  4918. (semantic-decoration-unknown-include-describe)
  4919. (semantic-decoration-all-include-summary):
  4920. * lisp/cedet/semantic/ia.el (semantic-ia-fast-jump):
  4921. * lisp/emulation/edt.el (edt-load-keys):
  4922. * lisp/emulation/viper-cmd.el
  4923. (viper-display-current-destructive-command)
  4924. (viper-query-replace, viper-brac-function):
  4925. * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-compile):
  4926. * lisp/emulation/viper-macs.el (viper-unrecord-kbd-macro):
  4927. Respect text quoting style in doc string or diagnostic.
  4928. * lisp/cedet/mode-local.el (describe-mode-local-overload):
  4929. Use format-message to avoid overtranslating quotes.
  4930. * lisp/emacs-lisp/checkdoc.el (checkdoc-in-sample-code-p):
  4931. Escape an apostrophe in a docstring.
  4932. * lisp/emacs-lisp/warnings.el (lwarn): Fix doc string.
  4933. 2015-08-29 Daniel Colascione <dancol@dancol.org>
  4934. Fix which-func for curly quotes: look for symbol, not message
  4935. * lisp/progmodes/which-func.el (which-func-ff-hook): Look for new
  4936. imenu-unavailable error symbol instead of trying to match message
  4937. exactly.
  4938. * lisp/imenu.el (imenu-unavailable): New error.
  4939. (imenu-unavailable-error): New function.
  4940. 2015-08-29 Eli Zaretskii <eliz@gnu.org>
  4941. Fix Python tests on MS-Windows
  4942. * test/automated/python-tests.el
  4943. (python-shell-calculate-command-1): Run python-shell-interpreter
  4944. through shell-quote-argument before comparing with what
  4945. python-shell-calculate-command returns.
  4946. (python-shell-calculate-pythonpath-1)
  4947. (python-shell-calculate-pythonpath-2)
  4948. (python-shell-calculate-process-environment-2): Use path-separator
  4949. instead of a literal ':'.
  4950. (python-shell-calculate-exec-path-2)
  4951. (python-shell-calculate-exec-path-3)
  4952. (python-shell-calculate-exec-path-4)
  4953. (python-shell-with-environment-1)
  4954. (python-shell-with-environment-2): Run "/env/bin" through
  4955. expand-file-name before comparing with exec-path. (Bug#21375)
  4956. 2015-08-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
  4957. Use Core Text types/functions/variables/enumerators directly
  4958. * src/macfont.h (FontDescriptorRef, FontRef, FontSymbolicTraits)
  4959. (CharacterCollection): Remove typedefs. All uses replaced with
  4960. definitions.
  4961. (MAC_FONT_NAME_ATTRIBUTE, MAC_FONT_FAMILY_NAME_ATTRIBUTE)
  4962. (MAC_FONT_TRAITS_ATTRIBUTE, MAC_FONT_SIZE_ATTRIBUTE)
  4963. (MAC_FONT_CASCADE_LIST_ATTRIBUTE)
  4964. (MAC_FONT_CHARACTER_SET_ATTRIBUTE, MAC_FONT_LANGUAGES_ATTRIBUTE)
  4965. (MAC_FONT_FORMAT_ATTRIBUTE, MAC_FONT_SYMBOLIC_TRAIT)
  4966. (MAC_FONT_WEIGHT_TRAIT, MAC_FONT_WIDTH_TRAIT)
  4967. (MAC_FONT_SLANT_TRAIT): Remove macros. All uses replaced with
  4968. definitions.
  4969. (MAC_FONT_TRAIT_ITALIC, MAC_FONT_TRAIT_BOLD)
  4970. (MAC_FONT_TRAIT_MONO_SPACE, MAC_FONT_TRAIT_COLOR_GLYPHS)
  4971. (MAC_FONT_FORMAT_BITMAP)
  4972. (MAC_CHARACTER_COLLECTION_IDENTITY_MAPPING)
  4973. (MAC_CHARACTER_COLLECTION_ADOBE_JAPAN1): Remove enumerators.
  4974. All uses replaced with definitions.
  4975. (kCTFontTraitItalic, kCTFontTraitBold, kCTFontTraitMonoSpace)
  4976. (kCTFontTraitColorGlyphs, kCTCharacterCollectionIdentityMapping)
  4977. (kCTCharacterCollectionAdobeJapan1 kCTFontOrientationDefault):
  4978. Add compatibility enumerators for older versions.
  4979. (mac_font_descriptor_create_with_attributes)
  4980. (mac_font_descriptor_create_matching_font_descriptors)
  4981. (mac_font_descriptor_create_matching_font_descriptor)
  4982. (mac_font_descriptor_copy_attribute)
  4983. (mac_font_descriptor_supports_languages)
  4984. (mac_font_create_with_name, mac_font_get_size)
  4985. (mac_font_copy_family_name, mac_font_copy_character_set)
  4986. (mac_font_get_glyphs_for_characters, mac_font_get_ascent)
  4987. (mac_font_get_descent, mac_font_get_leading)
  4988. (mac_font_get_underline_position)
  4989. (mac_font_get_underline_thickness, mac_font_copy_graphics_font)
  4990. (mac_font_copy_non_synthetic_table): Remove macros. All uses
  4991. replaced with definitions.
  4992. (mac_font_create_preferred_family_for_attributes)
  4993. (mac_font_get_advance_width_for_glyph)
  4994. (mac_font_get_bounding_rect_for_glyph)
  4995. (mac_font_create_available_families, mac_font_shape):
  4996. Remove macros for renamed functions.
  4997. (mac_nsctfont_copy_font_descriptor): Remove unused macro.
  4998. * src/macterm.m (mac_font_descriptor_supports_languages):
  4999. Rename from mac_ctfont_descriptor_supports_languages.
  5000. (mac_font_create_preferred_family_for_attributes): Rename from
  5001. mac_ctfont_create_preferred_family_for_attributes.
  5002. (mac_font_get_advance_width_for_glyph): Rename from
  5003. mac_ctfont_get_advance_width_for_glyph.
  5004. Use kCTFontOrientationDefault also for older versions.
  5005. (mac_font_get_bounding_rect_for_glyph): Rename from
  5006. mac_ctfont_get_bounding_rect_for_glyph.
  5007. Use kCTFontOrientationDefault also for older versions.
  5008. (mac_font_create_available_families): Rename from
  5009. mac_ctfont_create_available_families.
  5010. (mac_font_equal_in_postscript_name): Rename from
  5011. mac_ctfont_equal_in_postscript_name. All uses changed.
  5012. (mac_font_create_line_with_string_and_font): Rename from
  5013. mac_ctfont_create_line_with_string_and_font. All uses changed.
  5014. (mac_font_shape): Rename from mac_ctfont_shape.
  5015. (mac_font_family_compare): Remove unused declaration.
  5016. 2015-08-29 Paul Eggert <eggert@cs.ucla.edu>
  5017. Fix minor text quoting in calc, calendar, vc
  5018. * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
  5019. * lisp/calc/calc-help.el (calc-j-prefix-help):
  5020. * lisp/calc/calc-misc.el (calc-help):
  5021. * lisp/calc/calc.el (calc-algebraic-mode, calc-mode):
  5022. Escape an apostrophe in a docstring.
  5023. * lisp/calc/calc-forms.el (calc-hms-notation):
  5024. * lisp/calc/calc-mode.el (calc-display-raw, calc-algebraic-mode):
  5025. Escape an apostrophe in a diagnostic.
  5026. * lisp/calc/calc-misc.el (calc-help):
  5027. * lisp/calendar/diary-lib.el (diary-include-files):
  5028. * lisp/calendar/todo-mode.el (todo-prefix, todo-item-mark):
  5029. * lisp/vc/diff-mode.el (diff-delete-trailing-whitespace):
  5030. * lisp/vc/ediff-diff.el (ediff-same-contents):
  5031. * lisp/vc/ediff-merg.el (ediff-re-merge):
  5032. * lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
  5033. * lisp/vc/ediff-util.el (ediff-test-save-region)
  5034. (ediff-status-info):
  5035. * lisp/vc/ediff.el (ediff-merge-revisions)
  5036. (ediff-merge-revisions-with-ancestor):
  5037. * lisp/vc/pcvs.el (cvs-mode-checkout, cvs-vc-command-advice):
  5038. * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
  5039. Respect text quoting style in doc string or diagnostic.
  5040. * lisp/calc/calc-prog.el (calc-kbd-push, calc-kbd-pop):
  5041. * lisp/vc/add-log.el (change-log-goto-source):
  5042. Avoid double-formatting.
  5043. * lisp/vc/ediff-init.el (format-message):
  5044. New backward-compatibility alias.
  5045. 2015-08-28 Paul Eggert <eggert@cs.ucla.edu>
  5046. Fix minor text quoting problems in lisp top level
  5047. * lisp/apropos.el (apropos-describe-plist):
  5048. * lisp/cus-theme.el (customize-themes):
  5049. * lisp/dired.el (dired-log):
  5050. * lisp/help-fns.el (describe-variable):
  5051. * lisp/hexl.el (hexl-insert-multibyte-char):
  5052. * lisp/info.el (Info-finder-find-node):
  5053. * lisp/json.el (json-read-string):
  5054. * lisp/novice.el (disabled-command-function)
  5055. (disabled-command-function):
  5056. * lisp/startup.el (normal-mouse-startup-screen):
  5057. * lisp/woman.el (WoMan-log, WoMan-warn):
  5058. Respect text quoting style in doc string or diagnostic.
  5059. * lisp/replace.el (replace-character-fold):
  5060. * src/syntax.c (Fmodify_syntax_entry):
  5061. Escape an apostrophe in a docstring.
  5062. * lisp/tempo.el (tempo-define-template):
  5063. Remove confusing apostrophe from docstring.
  5064. * lisp/whitespace.el (whitespace-mark-x):
  5065. Use directed quotes in docstring.
  5066. 2015-08-28 Simen Heggestøyl <simenheg@gmail.com>
  5067. Fix indentation rule in css-mode
  5068. * lisp/textmodes/css-mode.el (css-smie-rules): Fix indentation of
  5069. brackets in presence of pseudo-selectors. (Bug#21328)
  5070. 2015-08-28 Eli Zaretskii <eliz@gnu.org>
  5071. Fix a bug in recording a macro while flyspell-mode is active
  5072. * lisp/subr.el (sit-for): Don't call read-event when recording a
  5073. macro. (Bug#21329)
  5074. 2015-08-27 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
  5075. Tweak startup screen quoting
  5076. * lisp/startup.el (normal-splash-screen): Use standard
  5077. "M-" abbrevation rather than a confusingly-different one.
  5078. (normal-no-mouse-startup-screen): Follow ‘text-quoting-style’.
  5079. 2015-08-27 Paul Eggert <eggert@cs.ucla.edu>
  5080. Add test case for ‘format’ bug and refactor
  5081. * src/editfns.c (styled_format): Refactor internally, mostly by
  5082. moving declarations closer to uses. This should not affect behavior.
  5083. * test/automated/textprop-tests.el (textprop-tests-format): New test.
  5084. Fix ‘format’ bug with property offsets
  5085. * src/editfns.c (styled_format): Fix recently-introduced ‘format’
  5086. bug in calculating string property offsets (Bug#21351).
  5087. Use straight quotes in lib-src diagnostics
  5088. These auxiliary programs can’t use Emacs’s text-quoting-style,
  5089. and it’s too much trouble to redo that mechanism by hand.
  5090. So just use straight quotes for now.
  5091. * lib-src/ebrowse.c (main):
  5092. * lib-src/emacsclient.c (decode_options, main):
  5093. * lib-src/etags.c (Ada_help, default_C_help, Cplusplus_help)
  5094. (Forth_help, HTML_help, Lisp_help, Makefile_help, Objc_help)
  5095. (Perl_help, PHP_help, Python_help, Scheme_help, TeX_help, auto_help)
  5096. (none_help, print_language_names, print_help, add_regex)
  5097. (suggest_asking_for_help):
  5098. * lib-src/make-docfile.c (write_c_args, scan_c_stream):
  5099. Use straight quotes in diagnostics.
  5100. ‘text-quoting-style’ fixes for admin
  5101. * admin/admin.el (cusver-scan, cusver-check):
  5102. * admin/authors.el (authors-canonical-file-name):
  5103. * admin/bzrmerge.el (bzrmerge-missing):
  5104. Respect ‘text-quoting-style’ in diagnostics.
  5105. 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
  5106. Assume GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS
  5107. This removes the need for GCPRO1 etc. Suggested by Stefan Monnier in:
  5108. http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00918.html
  5109. * doc/lispref/internals.texi (Writing Emacs Primitives):
  5110. * etc/NEWS:
  5111. Document the change.
  5112. * src/alloc.c (gcprolist, dump_zombies, MAX_ZOMBIES, zombies)
  5113. (nzombies, ngcs, avg_zombies, max_live, max_zombies, avg_live)
  5114. (Fgc_status, check_gcpros, relocatable_string_data_p, gc-precise):
  5115. * src/bytecode.c (mark_byte_stack) [BYTE_MARK_STACK]:
  5116. * src/eval.c (gcpro_level) [DEBUG_GCPRO]:
  5117. * src/lisp.h (struct handler.gcpro, struct gcpro, GC_MARK_STACK)
  5118. (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS)
  5119. (GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES)
  5120. (BYTE_MARK_STACK, GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6)
  5121. (GCPRO7, UNGCPRO, RETURN_UNGCPRO):
  5122. Remove. All uses removed. The code now assumes
  5123. GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS.
  5124. * src/bytecode.c (relocate_byte_stack):
  5125. Rename from unmark_byte_stack, since it now only relocates.
  5126. All callers changed.
  5127. * src/frame.c (make_frame): Add an IF_LINT to pacify GCC 5.2
  5128. with GCPROs removed.
  5129. * src/systime.h: Use EMACS_LISP_H as the canary instead of GCPRO1.
  5130. * test/automated/finalizer-tests.el (finalizer-basic)
  5131. (finalizer-circular-reference, finalizer-cross-reference)
  5132. (finalizer-error):
  5133. * test/automated/generator-tests.el (cps-test-iter-close-finalizer):
  5134. Remove tests, as they depend on gc-precise.
  5135. 2015-08-26 Nicolas Petton <nicolas@petton.fr>
  5136. Improve seq-concatenate for new sequence types
  5137. Use the new `seq-into-sequence' in seqs passed to `seq-concatenate' to
  5138. ensure that concatenation happens on sequences only. This makes it
  5139. possible to use `seq-concatenate' for new types of seqs.
  5140. * lisp/emacs-lisp/seq.el (seq-into-sequence, seq-concatenate):
  5141. New function used in `seq-concatenate'.
  5142. * test/automated/seq-tests.el (test-seq-into-sequence): New unit test
  5143. for seq-into-sequence.
  5144. 2015-08-26 Stephen Leake <stephen_leake@stephe-leake.org>
  5145. Add mode local overrides to xref-find-definitions
  5146. * lisp/cedet/mode-local.el (xref-mode-local--override-present)
  5147. (xref-mode-local-overload): New; add mode local overrides to
  5148. xref-find-definitions.
  5149. * test/automated/elisp-mode-tests.el: Add mode local override tests.
  5150. (xref-elisp-test-run): Handle indented defuns.
  5151. (xref-elisp-generic-*): Improve doc strings.
  5152. * lisp/progmodes/elisp-mode.el (elisp-xref-find-def-functions): New.
  5153. (elisp--xref-find-definitions): Use it.
  5154. Add mode local overrides to describe-function
  5155. * lisp/cedet/mode-local.el (describe-mode-local-overload):
  5156. New; add mode local overrides to describe-function.
  5157. * etc/NEWS: Document change.
  5158. 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
  5159. Prefer straight quoting in some etc text files
  5160. These files are plain text and might be used by non-Emacs apps.
  5161. They’re mostly ASCII, so just use straight quotes.
  5162. Fix quoting in ‘message_with_string’
  5163. * src/nsfont.m (nsfont_open): Use directed quotes in format; they
  5164. should work now.
  5165. * src/xdisp.c (message_to_stderr): New function, refactored from
  5166. part of ‘message3_nolog’.
  5167. (message3_nolog): Use it.
  5168. (message_with_string): Use it. Don’t mishandle NUL bytes when
  5169. noninteractive. Prefer AUTO_STRING when it’s most likely faster.
  5170. Use ‘format-message’, not ‘format’, so that quotes are translated.
  5171. 2015-08-26 Eli Zaretskii <eliz@gnu.org>
  5172. Mention false positives of file-accessible-directory on w32
  5173. * src/fileio.c (Ffile_accessible_directory_p): Doc fix.
  5174. (Bug#21346)
  5175. 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
  5176. Treat error strings as help
  5177. * src/print.c (print_error_message): Translate quotes and command
  5178. keys in errmsg so that users see, e.g., "Symbol’s value as
  5179. variable is void: foo" when text-quoting-style is curved.
  5180. 2015-08-26 Michael Albinus <michael.albinus@gmx.de>
  5181. * lisp/net/tramp-cache.el (top): Use `message', not `format-message'.
  5182. 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
  5183. Top-level elisp files respect ‘text-quoting-style’
  5184. In top-level elisp files, use format-message in diagnostic formats,
  5185. so that they follow user preference as per ‘text-quoting-style’
  5186. rather than being hard-coded to quote `like this'.
  5187. * lisp/allout.el (allout-get-configvar-values):
  5188. * lisp/apropos.el (apropos-symbols-internal):
  5189. * lisp/dired-aux.el (dired-do-shell-command, dired-create-files)
  5190. (dired-do-create-files-regexp, dired-create-files-non-directory):
  5191. * lisp/dired-x.el (dired-do-run-mail):
  5192. * lisp/dired.el (dired-log, dired-dnd-handle-local-file):
  5193. * lisp/disp-table.el (standard-display-european):
  5194. * lisp/find-dired.el (find-dired):
  5195. * lisp/forms.el (forms-mode):
  5196. * lisp/ido.el (ido-buffer-internal):
  5197. * lisp/info.el (Info-index-next):
  5198. * lisp/outline.el (outline-invent-heading):
  5199. * lisp/printing.el (pr-ps-outfile-preprint, pr-i-ps-send):
  5200. * lisp/proced.el (proced-log):
  5201. * lisp/ps-print.el (ps-print-preprint, ps-get-size):
  5202. * lisp/recentf.el (recentf-open-files, recentf-save-list):
  5203. * lisp/savehist.el (savehist-save):
  5204. * lisp/server.el (server-ensure-safe-dir):
  5205. * lisp/ses.el (ses-rename-cell):
  5206. * lisp/simple.el (list-processes--refresh):
  5207. * lisp/startup.el (command-line):
  5208. * lisp/strokes.el (strokes-unset-last-stroke)
  5209. (strokes-execute-stroke):
  5210. Use format-message so that quotes are restyled.
  5211. * lisp/cus-edit.el (custom-raised-buttons, customize-browse):
  5212. Don’t quote ‘raised’.
  5213. * lisp/descr-text.el (describe-char):
  5214. * lisp/dirtrack.el (dirtrack-debug-message):
  5215. * lisp/hexl.el (hexl-insert-multibyte-char):
  5216. Apply substitute-command-keys to help string.
  5217. * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
  5218. (wdired-do-perm-changes):
  5219. Let dired-log do the formatting.
  5220. 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
  5221. Go back to grave quoting in Tramp
  5222. * lisp/net/tramp-adb.el:
  5223. * lisp/net/tramp-cache.el:
  5224. * lisp/net/tramp-compat.el:
  5225. * lisp/net/tramp-gvfs.el:
  5226. * lisp/net/tramp-gw.el:
  5227. * lisp/net/tramp-sh.el:
  5228. * lisp/net/tramp-smb.el:
  5229. * lisp/net/tramp.el:
  5230. Stick with grave quoting in diagnostics strings. This is more
  5231. portable to older Emacs, desirable for Tramp.
  5232. * lisp/net/tramp-cache.el: Use ‘format-message’, not ‘format’,
  5233. for diagnostic that needs requoting.
  5234. * lisp/net/tramp-compat.el (format-message):
  5235. Fall back on simple ‘format’, since that’s good enough now.
  5236. Go back to grave quoting in Gnus
  5237. * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
  5238. * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
  5239. (gnus-agent-fetch-headers):
  5240. * lisp/gnus/gnus-int.el (gnus-start-news-server):
  5241. * lisp/gnus/gnus-registry.el:
  5242. (gnus-registry--split-fancy-with-parent-internal)
  5243. (gnus-registry-post-process-groups):
  5244. * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
  5245. * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
  5246. * lisp/gnus/gnus-topic.el (gnus-topic-rename):
  5247. * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
  5248. * lisp/gnus/spam.el (spam-check-blackholes):
  5249. Stick with grave quoting in diagnostics strings. This is more
  5250. portable to older Emacs, desirable for Gnus.
  5251. Fix customization of text-quoting-style
  5252. * lisp/cus-edit.el (custom-guess-type, custom-variable-documentation):
  5253. * lisp/wid-edit.el (widget-docstring):
  5254. Get raw docstring here since it’s cooked later and should not be
  5255. cooked twice.
  5256. * lisp/cus-edit.el (custom-group-value-create):
  5257. Cook the docstring before inserting it.
  5258. * lisp/cus-start.el (text-quoting-style): Quote the customization
  5259. docstrings according to the new rules. Give curved examples.
  5260. format-message now curves ` and '
  5261. That way, the caller doesn’t have to use curved quotes to
  5262. get diagnostics that match the text-quoting-style preferences.
  5263. Suggested by Dmitry Gutov in:
  5264. http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00893.html
  5265. This means we no longer need %qs, so remove that format.
  5266. While we’re at it, fix an unlikely bug and lessen the pressure
  5267. on the garbage collector by processing the string once rather
  5268. than twice in the usual case.
  5269. * doc/lispref/strings.texi (Formatting Strings):
  5270. * etc/NEWS: Document this.
  5271. * lisp/subr.el (format-message): Remove; now done in C.
  5272. * src/callint.c (Fcall_interactively):
  5273. * src/editfns.c (Fmessage, Fmessage_box):
  5274. Use Fformat_message instead of Finternal__text_restyle
  5275. followed by Fformat.
  5276. * src/doc.c (LSQM, RSQM): Remove; all uses changed to use
  5277. uLSQM and uRSQM.
  5278. (Fsubstitute_command_keys): Prefer AUTO_STRING to build_string
  5279. when pure ASCII now suffices. Fix unlikely bug when parsing
  5280. unibyte string containing non-ASCII bytes. Use inline code
  5281. rather than memcpy, as it’s a tiny number of bytes.
  5282. (Finternal__text_restyle): Remove; no longer used.
  5283. (syms_of_doc): Don’t declare it.
  5284. * src/editfns.c (Fformat): Rewrite in terms of new function
  5285. ‘styled_format’.
  5286. (Fformat_message): New function, moved here from subr.el.
  5287. (styled_format): New function, with the old guts of Fformat,
  5288. except it now optionally transliterates quotes, and it transliterates
  5289. traditional grave accent and apostrophe quoting as well.
  5290. Remove recently-added q flag; no longer needed or used.
  5291. (syms_of_editfns): Define format-message.
  5292. * src/lisp.h (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
  5293. Remove; no longer need to be global symbols.
  5294. * src/xdisp.c (vadd_to_log): Use Fformat_message, not Fformat,
  5295. so that callers can use `%s'.
  5296. * src/image.c (image_size_error, xbm_load_image, xbm_load)
  5297. (xpm_load, pbm_load, png_load_body, jpeg_load_body, tiff_load)
  5298. (gif_load, imagemagick_load_image, imagemagick_load, svg_load)
  5299. (svg_load_image, gs_load, x_kill_gs_process):
  5300. * src/lread.c (load_warn_old_style_backquotes):
  5301. * src/xfaces.c (load_pixmap):
  5302. * src/xselect.c (x_clipboard_manager_error_1):
  5303. Use `%s' instead of %qs in formats.
  5304. 2015-08-25 Eli Zaretskii <eliz@gnu.org>
  5305. Minor fixes in doc/emacs/search.texi
  5306. * doc/emacs/search.texi (Basic Isearch): Fix a typo.
  5307. (Special Isearch): Use @w{} to generate several consecutive spaces
  5308. with Texinfo 6. (Bug#21345)
  5309. 2015-08-25 Michael Albinus <michael.albinus@gmx.de>
  5310. * lisp/net/tramp-sh.el (tramp-awk-encode, tramp-awk-decode)
  5311. (tramp-awk-coding-test): New defconsts.
  5312. (tramp-remote-coding-commands): Use them.
  5313. (tramp-find-inline-encoding): Check for Perl only if necessary.
  5314. 2015-08-25 Xue Fuqiao <xfq.free@gmail.com>
  5315. * doc/lispintro/emacs-lisp-intro.texi (Run a Program): Add some
  5316. index entries for the special form `quote'.
  5317. 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
  5318. Spelling fixes
  5319. Gnus format-message typo fix
  5320. * lisp/gnus/gnus-util.el (gnus-format-message):
  5321. Fix typo when running in older Emacs.
  5322. Prefer directed to neutral quotes in docstings and diagnostics.
  5323. In docstrings, escape apostrophes that would otherwise be translated
  5324. to curved quotes using the newer, simpler rules.
  5325. * admin/unidata/unidata-gen.el (unidata-gen-table):
  5326. * lisp/align.el (align-region):
  5327. * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet):
  5328. * lisp/bookmark.el (bookmark-default-annotation-text):
  5329. * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
  5330. * lisp/calc/calc-lang.el (math-read-giac-subscr)
  5331. (math-read-math-subscr):
  5332. * lisp/calc/calc-misc.el (report-calc-bug):
  5333. * lisp/calc/calc-prog.el (calc-fix-token-name)
  5334. (calc-read-parse-table-part):
  5335. * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
  5336. * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
  5337. * lisp/dabbrev.el (dabbrev-expand):
  5338. * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
  5339. * lisp/emacs-lisp/elint.el (elint-get-top-forms):
  5340. * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
  5341. * lisp/emulation/viper-cmd.el (viper-toggle-search-style):
  5342. * lisp/erc/erc-button.el (erc-nick-popup):
  5343. * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login):
  5344. * lisp/eshell/em-dirs.el (eshell/cd):
  5345. * lisp/eshell/em-glob.el (eshell-glob-regexp):
  5346. * lisp/eshell/em-pred.el (eshell-parse-modifiers):
  5347. * lisp/eshell/esh-arg.el (eshell-parse-arguments):
  5348. * lisp/eshell/esh-opt.el (eshell-show-usage):
  5349. * lisp/files-x.el (modify-file-local-variable):
  5350. * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer)
  5351. (filesets-update-pre010505):
  5352. * lisp/find-cmd.el (find-generic, find-to-string):
  5353. * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
  5354. * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
  5355. (gnus-agent-fetch-headers):
  5356. * lisp/gnus/gnus-int.el (gnus-start-news-server):
  5357. * lisp/gnus/gnus-registry.el:
  5358. (gnus-registry--split-fancy-with-parent-internal):
  5359. * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
  5360. * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
  5361. * lisp/gnus/gnus-topic.el (gnus-topic-rename):
  5362. * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
  5363. * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
  5364. * lisp/gnus/spam.el (spam-check-blackholes):
  5365. * lisp/mail/feedmail.el (feedmail-run-the-queue):
  5366. * lisp/mpc.el (mpc-playlist-rename):
  5367. * lisp/net/ange-ftp.el (ange-ftp-shell-command):
  5368. * lisp/net/mairix.el (mairix-widget-create-query):
  5369. * lisp/net/tramp-cache.el:
  5370. * lisp/obsolete/otodo-mode.el (todo-more-important-p):
  5371. * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
  5372. * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
  5373. * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
  5374. * lisp/org/ob-core.el (org-babel-goto-named-src-block)
  5375. (org-babel-goto-named-result):
  5376. * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
  5377. * lisp/org/ob-ref.el (org-babel-ref-resolve):
  5378. * lisp/org/org-agenda.el (org-agenda-prepare):
  5379. * lisp/org/org-bibtex.el (org-bibtex-fields):
  5380. * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
  5381. (org-clock-resolve):
  5382. * lisp/org/org-feed.el (org-feed-parse-atom-entry):
  5383. * lisp/org/org-habit.el (org-habit-parse-todo):
  5384. * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
  5385. (org-mouse-context-menu):
  5386. * lisp/org/org-table.el (org-table-edit-formulas):
  5387. * lisp/org/ox.el (org-export-async-start):
  5388. * lisp/play/dunnet.el (dun-score, dun-help, dun-endgame-question)
  5389. (dun-rooms, dun-endgame-questions):
  5390. * lisp/progmodes/ada-mode.el (ada-goto-matching-start):
  5391. * lisp/progmodes/ada-xref.el (ada-find-executable):
  5392. * lisp/progmodes/antlr-mode.el (antlr-options-alists):
  5393. * lisp/progmodes/flymake.el (flymake-parse-err-lines)
  5394. (flymake-start-syntax-check-process):
  5395. * lisp/progmodes/python.el (python-define-auxiliary-skeleton):
  5396. * lisp/progmodes/sql.el (sql-comint):
  5397. * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
  5398. * lisp/server.el (server-get-auth-key):
  5399. * lisp/subr.el (version-to-list):
  5400. * lisp/textmodes/reftex-ref.el (reftex-label):
  5401. * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
  5402. * lisp/vc/ediff-diff.el (ediff-same-contents):
  5403. * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
  5404. * test/automated/tramp-tests.el (tramp-test33-asynchronous-requests):
  5405. Use directed rather than neutral quotes in diagnostics.
  5406. Treat ' like ’ even when not matching `
  5407. This is simpler and easier to explain, and should encourage better
  5408. typography. Do this in Electric Quote mode and when translating
  5409. quotes in docstrings. Inspired by a suggestion by Dmitry Gutov in:
  5410. https://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00806.html
  5411. * doc/emacs/text.texi (Quotation Marks):
  5412. * doc/lispref/help.texi (Keys in Documentation):
  5413. * etc/NEWS:
  5414. Document this.
  5415. * lisp/electric.el (electric-quote-post-self-insert-function):
  5416. * src/doc.c (Fsubstitute_command_keys):
  5417. Always treat ' like ’ even when not matched by an open quote.
  5418. 2015-08-25 Glenn Morris <rgm@gnu.org>
  5419. * doc/emacs/cal-xtra.texi (Holiday Customizing): Fix typo in example.
  5420. * lisp/calendar/holidays.el (calendar-holidays): Fix doc typo.
  5421. 2015-08-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
  5422. * src/macfont.m (macfont_create_family_with_symbol):
  5423. Accept localized names.
  5424. 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
  5425. Tramp diagnostics as per ‘text-quoting-style’
  5426. * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename)
  5427. (tramp-adb-get-ls-command, tramp-adb-handle-make-directory)
  5428. (tramp-adb-handle-delete-directory)
  5429. (tramp-adb-handle-delete-file)
  5430. (tramp-adb-handle-file-local-copy)
  5431. (tramp-adb-handle-write-region, tramp-adb-handle-copy-file)
  5432. (tramp-adb-send-command-and-check, tramp-adb-wait-for-output)
  5433. (tramp-adb-maybe-open-connection):
  5434. * lisp/net/tramp-cache.el:
  5435. * lisp/net/tramp-compat.el (tramp-compat-temporary-file-directory)
  5436. (tramp-compat-octal-to-decimal)
  5437. (tramp-compat-coding-system-change-eol-conversion):
  5438. * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler)
  5439. (tramp-gvfs-do-copy-or-rename-file)
  5440. (tramp-gvfs-handle-delete-directory)
  5441. (tramp-gvfs-handle-delete-file)
  5442. (tramp-gvfs-handle-expand-file-name)
  5443. (tramp-gvfs-handle-file-local-copy)
  5444. (tramp-gvfs-handle-file-notify-add-watch)
  5445. (tramp-gvfs-handle-make-directory)
  5446. (tramp-gvfs-handle-write-region, tramp-gvfs-url-file-name):
  5447. * lisp/net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
  5448. (tramp-gw-aux-proc-sentinel, tramp-gw-open-connection):
  5449. * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
  5450. (tramp-sh-handle-set-visited-file-modtime)
  5451. (tramp-sh-handle-set-file-modes)
  5452. (tramp-sh-handle-file-name-all-completions)
  5453. (tramp-sh-handle-add-name-to-file, tramp-do-copy-or-rename-file)
  5454. (tramp-do-copy-or-rename-file-directly)
  5455. (tramp-do-copy-or-rename-file-out-of-band)
  5456. (tramp-sh-handle-make-directory)
  5457. (tramp-sh-handle-delete-directory, tramp-sh-handle-delete-file)
  5458. (tramp-sh-handle-insert-directory, tramp-process-sentinel)
  5459. (tramp-sh-handle-start-file-process)
  5460. (tramp-sh-handle-file-local-copy)
  5461. (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
  5462. (tramp-sh-handle-file-notify-add-watch, tramp-maybe-send-script)
  5463. (tramp-find-file-exists-command, tramp-open-shell)
  5464. (tramp-find-shell)
  5465. (tramp-open-connection-setup-interactive-shell)
  5466. (tramp-find-inline-encoding, tramp-find-inline-compress)
  5467. (tramp-compute-multi-hops, tramp-maybe-open-connection)
  5468. (tramp-wait-for-output, tramp-send-command-and-check)
  5469. (tramp-send-command-and-read, tramp-get-remote-path)
  5470. (tramp-get-ls-command, tramp-get-ls-command-with-dired)
  5471. (tramp-get-ls-command-with-quoting-style)
  5472. (tramp-get-test-command, tramp-get-remote-ln)
  5473. (tramp-get-remote-perl, tramp-get-remote-stat)
  5474. (tramp-get-remote-readlink, tramp-get-remote-trash)
  5475. (tramp-get-remote-touch, tramp-get-remote-gvfs-monitor-dir)
  5476. (tramp-get-remote-inotifywait, tramp-get-remote-id)
  5477. (tramp-get-remote-python):
  5478. * lisp/net/tramp-smb.el (tramp-smb-errors)
  5479. (tramp-smb-handle-add-name-to-file, tramp-smb-handle-copy-file)
  5480. (tramp-smb-handle-delete-directory)
  5481. (tramp-smb-handle-delete-file)
  5482. (tramp-smb-handle-file-local-copy)
  5483. (tramp-smb-handle-make-directory)
  5484. (tramp-smb-handle-make-directory-internal)
  5485. (tramp-smb-handle-make-symbolic-link)
  5486. (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-acl)
  5487. (tramp-smb-handle-set-file-modes)
  5488. (tramp-smb-handle-write-region, tramp-smb-get-file-entries):
  5489. * lisp/net/tramp.el (tramp-debug-message, tramp-error)
  5490. (tramp-process-actions):
  5491. Generate diagnostics according to ‘text-quoting-style’, by
  5492. using curved quotes in format strings and ‘format-message’
  5493. when appropriate.
  5494. * lisp/net/tramp-compat.el (format-message):
  5495. Define a replacement, if it’s an older version of Emacs
  5496. that doesn’t have it already.
  5497. * etc/NEWS: Clarify text-quoting-style and electric-quote-mode.
  5498. 2015-08-24 Xue Fuqiao <xfq.free@gmail.com>
  5499. Fix documentation for `save-excursion'
  5500. * doc/lispref/positions.texi (Excursions):
  5501. * doc/lispintro/emacs-lisp-intro.texi (save-excursion)
  5502. (Template for save-excursion, Point and mark): `save-excursion'
  5503. does not save&restore the mark any more.
  5504. 2015-08-24 Michael Albinus <michael.albinus@gmx.de>
  5505. * lisp/net/tramp-sh.el (tramp-stat-marker, tramp-stat-quoted-marker):
  5506. New defconsts.
  5507. (tramp-do-file-attributes-with-stat)
  5508. (tramp-do-directory-files-and-attributes-with-stat): Use them.
  5509. (tramp-convert-file-attributes): Remove double slashes in symlinks.
  5510. * test/automated/tramp-tests.el (tramp-test18-file-attributes):
  5511. Handle symlinks with "//" in the file name.
  5512. Revert fbb5531fa11d13854b274d28ccd329c9b6652cfc for tramp.el.
  5513. 2015-08-24 Nicolas Petton <nicolas@petton.fr>
  5514. Fix cl-subseq and cl-concatenate
  5515. * lisp/emacs-lisp/cl-extra.el (cl-subseq, cl-concatenate): Do not use
  5516. seq functions.
  5517. * lisp/emacs-lisp/seq.el (seq-concatenate): Call cl-concatenate in
  5518. seq-concatenate.
  5519. 2015-08-24 Pip Cet <pipcet@gmail.com> (tiny change)
  5520. Fix full-screen code when there is no window manager (Bug#21317)
  5521. * src/xterm.h (x_wm_supports): Declare external.
  5522. * src/xterm.c (wm_suppports): Rename to `x_wm_supports', export.
  5523. (do_ewmh_fullscreen, x_ewmh_activate_frame): Adjust for rename.
  5524. (x_check_fullscreen): Call `x_wm_set_size_hint', restore
  5525. `fullscreen' frame parameter.
  5526. * src/gtkutil.c (x_wm_set_size_hint): Set size hints when running
  5527. without a window manager.
  5528. 2015-08-24 Glenn Morris <rgm@gnu.org>
  5529. * lisp/version.el (emacs-version): No longer include build host.
  5530. * doc/lispref/intro.texi (Version Info): Update example.
  5531. 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
  5532. * doc/lispref/elisp.texi: Fix typo in previous change.
  5533. More-conservative ‘format’ quote restyling
  5534. Instead of restyling curved quotes for every call to ‘format’,
  5535. create a new function ‘format-message’ that does the restyling,
  5536. and using the new function instead of ‘format’ only in contexts
  5537. where this seems appropriate.
  5538. Problem reported by Dmitry Gutov and Andreas Schwab in:
  5539. http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00826.html
  5540. http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00827.html
  5541. * doc/lispref/commands.texi (Using Interactive):
  5542. * doc/lispref/control.texi (Signaling Errors, Signaling Errors):
  5543. * doc/lispref/display.texi (Displaying Messages, Progress):
  5544. * doc/lispref/elisp.texi:
  5545. * doc/lispref/help.texi (Keys in Documentation):
  5546. * doc/lispref/minibuf.texi (Minibuffer Misc):
  5547. * doc/lispref/strings.texi (Formatting Strings):
  5548. * etc/NEWS:
  5549. Document the changes.
  5550. * lisp/abbrev.el (expand-region-abbrevs):
  5551. * lisp/apropos.el (apropos-library):
  5552. * lisp/calc/calc-ext.el (calc-record-message)
  5553. (calc-user-function-list):
  5554. * lisp/calc/calc-help.el (calc-describe-key, calc-full-help):
  5555. * lisp/calc/calc-lang.el (math-read-big-balance):
  5556. * lisp/calc/calc-store.el (calc-edit-variable):
  5557. * lisp/calc/calc-units.el (math-build-units-table-buffer):
  5558. * lisp/calc/calc-yank.el (calc-edit-mode):
  5559. * lisp/calendar/icalendar.el (icalendar-export-region)
  5560. (icalendar--add-diary-entry):
  5561. * lisp/cedet/mode-local.el (mode-local-print-binding)
  5562. (mode-local-describe-bindings-2):
  5563. * lisp/cedet/semantic/complete.el (semantic-completion-message):
  5564. * lisp/cedet/semantic/edit.el (semantic-parse-changes-failed):
  5565. * lisp/cedet/semantic/wisent/comp.el (wisent-log):
  5566. * lisp/cedet/srecode/insert.el (srecode-insert-show-error-report):
  5567. * lisp/descr-text.el (describe-text-properties-1, describe-char):
  5568. * lisp/dframe.el (dframe-message):
  5569. * lisp/dired-aux.el (dired-query):
  5570. * lisp/emacs-lisp/byte-opt.el (byte-compile-log-lap-1):
  5571. * lisp/emacs-lisp/bytecomp.el (byte-compile-log)
  5572. (byte-compile-log-file, byte-compile-warn, byte-compile-form):
  5573. * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
  5574. (cconv-analyze-form):
  5575. * lisp/emacs-lisp/check-declare.el (check-declare-warn):
  5576. * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
  5577. * lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet):
  5578. * lisp/emacs-lisp/edebug.el (edebug-format):
  5579. * lisp/emacs-lisp/eieio-core.el (eieio-oref):
  5580. * lisp/emacs-lisp/eldoc.el (eldoc-minibuffer-message)
  5581. (eldoc-message):
  5582. * lisp/emacs-lisp/elint.el (elint-file, elint-log):
  5583. * lisp/emacs-lisp/find-func.el (find-function-library):
  5584. * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
  5585. * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
  5586. * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
  5587. * lisp/emacs-lisp/package.el (package-compute-transaction)
  5588. (package-install-button-action, package-delete-button-action)
  5589. (package-menu--list-to-prompt):
  5590. * lisp/emacs-lisp/timer.el (timer-event-handler):
  5591. * lisp/emacs-lisp/warnings.el (lwarn, warn):
  5592. * lisp/emulation/viper-cmd.el:
  5593. (viper-toggle-parse-sexp-ignore-comments)
  5594. (viper-kill-buffer, viper-brac-function):
  5595. * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
  5596. * lisp/facemenu.el (facemenu-add-new-face):
  5597. * lisp/faces.el (face-documentation, read-face-name)
  5598. (face-read-string, read-face-font, describe-face):
  5599. * lisp/files.el (find-alternate-file, hack-local-variables)
  5600. (hack-one-local-variable--obsolete, write-file)
  5601. (basic-save-buffer, delete-directory):
  5602. * lisp/format.el (format-write-file, format-find-file)
  5603. (format-insert-file):
  5604. * lisp/help-fns.el (help-fns--key-bindings)
  5605. (help-fns--compiler-macro, help-fns--obsolete)
  5606. (help-fns--interactive-only, describe-function-1)
  5607. (describe-variable):
  5608. * lisp/help.el (describe-mode):
  5609. * lisp/info-xref.el (info-xref-output):
  5610. * lisp/info.el (Info-virtual-index-find-node)
  5611. (Info-virtual-index, info-apropos):
  5612. * lisp/international/kkc.el (kkc-error):
  5613. * lisp/international/mule-cmds.el:
  5614. (select-safe-coding-system-interactively)
  5615. (select-safe-coding-system, describe-input-method):
  5616. * lisp/international/mule-conf.el (code-offset):
  5617. * lisp/international/mule-diag.el (describe-character-set)
  5618. (list-input-methods-1):
  5619. * lisp/international/quail.el (quail-error):
  5620. * lisp/minibuffer.el (minibuffer-message):
  5621. * lisp/mpc.el (mpc--debug):
  5622. * lisp/msb.el (msb--choose-menu):
  5623. * lisp/net/ange-ftp.el (ange-ftp-message):
  5624. * lisp/net/gnutls.el (gnutls-message-maybe):
  5625. * lisp/net/newst-backend.el (newsticker--sentinel-work):
  5626. * lisp/net/newst-treeview.el (newsticker--treeview-load):
  5627. * lisp/net/nsm.el (nsm-query-user):
  5628. * lisp/net/rlogin.el (rlogin):
  5629. * lisp/net/soap-client.el (soap-warning):
  5630. * lisp/net/tramp.el (tramp-debug-message):
  5631. * lisp/nxml/nxml-outln.el (nxml-report-outline-error):
  5632. * lisp/nxml/nxml-parse.el (nxml-parse-error):
  5633. * lisp/nxml/rng-cmpct.el (rng-c-error):
  5634. * lisp/nxml/rng-match.el (rng-compile-error):
  5635. * lisp/nxml/rng-uri.el (rng-uri-error):
  5636. * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
  5637. * lisp/org/org-ctags.el:
  5638. (org-ctags-ask-rebuild-tags-file-then-find-tag):
  5639. * lisp/proced.el (proced-log):
  5640. * lisp/progmodes/ebnf2ps.el (ebnf-log):
  5641. * lisp/progmodes/flymake.el (flymake-log):
  5642. * lisp/progmodes/vhdl-mode.el (vhdl-warning-when-idle):
  5643. * lisp/replace.el (occur-1):
  5644. * lisp/simple.el (execute-extended-command)
  5645. (undo-outer-limit-truncate, define-alternatives):
  5646. * lisp/startup.el (command-line):
  5647. * lisp/subr.el (error, user-error, add-to-list):
  5648. * lisp/tutorial.el (tutorial--describe-nonstandard-key)
  5649. (tutorial--find-changed-keys):
  5650. * src/callint.c (Fcall_interactively):
  5651. * src/editfns.c (Fmessage, Fmessage_box):
  5652. Restyle the quotes of format strings intended for use as a
  5653. diagnostic, when restyling seems appropriate.
  5654. * lisp/subr.el (format-message): New function.
  5655. * src/doc.c (Finternal__text_restyle): New function.
  5656. (syms_of_doc): Define it.
  5657. 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
  5658. * etc/NEWS: The new ‘q’ flag is not an incompatible change.
  5659. 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
  5660. python.el: Fix python-shell-buffer-substring on indented code
  5661. (Bug#21086)
  5662. * lisp/progmodes/python.el (python-shell-buffer-substring):
  5663. Respect current line indentation when calculating string.
  5664. * test/automated/python-tests.el
  5665. (python-shell-buffer-substring-10)
  5666. (python-shell-buffer-substring-11)
  5667. (python-shell-buffer-substring-12): New tests.
  5668. 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
  5669. Fix minor glitches from ‘format’ reversion
  5670. * doc/lispref/strings.texi (Formatting Strings):
  5671. After reversion, ‘text-quoting-style’ is documented in ‘Keys in
  5672. Documentation’, not below.
  5673. * src/syntax.c (Finternal_describe_syntax_value):
  5674. Prefer AUTO_STRING to build_string where either will do, as
  5675. AUTO_STRING is a bit faster.
  5676. 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
  5677. python.el: Defer shell setup code until first interactive prompt
  5678. * lisp/progmodes/python.el
  5679. (python-shell-comint-watch-for-first-prompt-output-filter):
  5680. New function.
  5681. (inferior-python-mode): Use it.
  5682. (python-shell-first-prompt-hook): New hook.
  5683. (python-shell-send-setup-code)
  5684. (python-shell-completion-native-turn-on-maybe-with-msg): Attach to
  5685. this hook instead of inferior-python-hook.
  5686. 2015-08-23 Nicolas Petton <nicolas@petton.fr>
  5687. Remove the calls to `seq-into` from `seq-concatenate`
  5688. Since most new types of seq would have to be defined as sequences (cons
  5689. cells or CL structs, mostly), there is no need to convert the seqs to
  5690. sequences (which can be a fairly expensive operation).
  5691. * lisp/emacs-lisp/seq.el (seq-concatenate): Do not ensure that seqs are
  5692. sequences.
  5693. 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
  5694. python.el: Fix completion for pdb interactions
  5695. * lisp/progmodes/python.el (python-shell-completion-setup-code):
  5696. Simplify. Toggle print_mode for native wrapped completer.
  5697. (python-shell-completion-native-setup): Ensure process buffer.
  5698. Add print_mode attribute to completer wrapper to toggle returning
  5699. or printing candidates.
  5700. (python-shell-completion-native-get-completions): Cleanup.
  5701. (python-shell-completion-get-completions): Cleanup.
  5702. (python-shell-completion-at-point): Perform prompt checks.
  5703. Force fallback completion in pdb interactions.
  5704. 2015-08-23 Nicolas Petton <nicolas@petton.fr>
  5705. Make seq.el more extensible by using cl-defmethod
  5706. * lisp/emacs-lisp/seq.el: Define seq.el functions using cl-defmethod to
  5707. make it easier to extend seq.el with new "seq types".
  5708. * test/automated/seq-tests.el (test-setf-seq-elt): New test.
  5709. * lisp/emacs-lisp/cl-extra.el (cl-subseq): Move back the definition of
  5710. subseq in cl-extra.el, and use it in seq.el.
  5711. 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
  5712. python.el: Fix prompt detection with user overridden interpreter
  5713. * lisp/progmodes/python.el (python-shell-prompt-detect):
  5714. Honor buffer local python-shell-interpreter and
  5715. python-shell-interpreter-interactive-arg.
  5716. 2015-08-23 Eli Zaretskii <eliz@gnu.org>
  5717. Support exec-directory with non-ASCII characters on Windows
  5718. * src/w32proc.c (sys_spawnve): Make sure exec-directory is encoded
  5719. in the system's ANSI codepage, when it is used for invoking
  5720. cmdproxy.
  5721. 2015-08-23 Andreas Schwab <schwab@linux-m68k.org>
  5722. Revert "Extend ‘format’ to translate curved quotes"
  5723. This reverts commit 244c801689d2f7a80480d83cd7d092d4762ebe08.
  5724. Revert "Prefer ‘format’ to ‘substitute-command-keys’"
  5725. This reverts commit 6af5aad26411ffe21c3fe4bc5438347110910111.
  5726. 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
  5727. * doc/lispintro/emacs-lisp-intro.texi (Switching Buffers):
  5728. Clarify "invisible window".
  5729. 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
  5730. * doc/emacs/modes.texi (Choosing Modes): Minor doc fix for
  5731. magic-fallback-mode-alist.
  5732. 2015-08-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
  5733. python.el: fallback completion, ffap and eldoc setup enhancements
  5734. Setup codes are now sent continuously so that the current frame is
  5735. always taken into account. This allows working within debuggers
  5736. and always keeping a fresh version of setup codes that will return
  5737. proper results.
  5738. * lisp/progmodes/python.el (python-shell-setup-codes): Cleanup.
  5739. (python-shell-send-setup-code): Send code only when
  5740. python-shell-setup-codes is non-nil.
  5741. (python-shell-completion-string-code): Cleanup trailing newline.
  5742. (python-shell-completion-get-completions): Always use
  5743. python-shell-completion-setup-code.
  5744. (python-ffap-setup-code): Work with any object, not only modules.
  5745. (python-ffap-string-code): Cleanup trailing newline.
  5746. (python-ffap-module-path): Always use python-ffap-setup-code.
  5747. (python-eldoc-string-code): Cleanup trailing newline.
  5748. (python-eldoc--get-doc-at-point): Always use
  5749. python-eldoc-setup-code. Return non-nil only if docstring is
  5750. found.
  5751. python.el: Increase native completion robustness
  5752. * lisp/progmodes/python.el (python-shell-completion-native-setup):
  5753. Make completer print real candidates and just return dummy ones to
  5754. avoid input modification.
  5755. (python-shell-completion-native-get-completions): Set
  5756. comint-redirect-insert-matching-regexp to non-nil and make
  5757. comint-redirect-finished-regexp match the last dummy candidate.
  5758. Use python-shell-accept-process-output to wait for the full list
  5759. of candidates.
  5760. 2015-08-22 Eli Zaretskii <eliz@gnu.org>
  5761. Fix invocation of programs via cmdproxy.exe
  5762. * src/w32proc.c (sys_spawnve): Use exec-directory, not
  5763. invocation-directory, for finding cmdproxy.exe. When Emacs is
  5764. run from the source tree, look for cmdproxy.exe in the same source
  5765. tree. (Bug#21323)
  5766. 2015-08-22 Simen Heggestøyl <simenheg@gmail.com>
  5767. Handle comments inside unquoted URIs in css-mode
  5768. * lisp/textmodes/css-mode.el (css--uri-re): New defconst.
  5769. (css-syntax-propertize-function): New defconst.
  5770. (css--font-lock-keywords): Handle parens around unquoted URIs.
  5771. (css-mode): Set `syntax-propertize-function'.
  5772. 2015-08-22 Eli Zaretskii <eliz@gnu.org>
  5773. Support invocation of Hunspell with multiple dictionaries
  5774. * lisp/textmodes/ispell.el (ispell-parse-hunspell-affix-file):
  5775. Support lists of dictionaries of the form "DICT1,DICT2,...".
  5776. (ispell-hunspell-add-multi-dic): New command. (Bug#20495)
  5777. Minor formatting changes in ispell.el
  5778. * lisp/textmodes/ispell.el (ispell-create-debug-buffer)
  5779. (ispell-print-if-debug, ispell-aspell-find-dictionary)
  5780. (ispell-aspell-add-aliases, ispell-hunspell-dict-paths-alist)
  5781. (ispell-hunspell-dictionary-alist)
  5782. (ispell-hunspell-fill-dictionary-entry)
  5783. (ispell-find-hunspell-dictionaries, ispell-send-replacement)
  5784. (ispell-buffer-with-debug, ispell-complete-word)
  5785. (ispell-current-dictionary, ispell-current-personal-dictionary)
  5786. (ispell-accept-output, ispell-minor-mode)
  5787. (ispell-personal-dictionary, ispell-dictionary-alist)
  5788. (ispell-really-aspell, ispell-really-hunspell)
  5789. (ispell-encoding8-command, ispell-aspell-supports-utf8)
  5790. (ispell-aspell-dictionary-alist, ispell-set-spellchecker-params):
  5791. Fix whitespace, inconsistent capitalization, and arguments in doc
  5792. strings.
  5793. 2015-08-22 Martin Rudalics <rudalics@gmx.at>
  5794. * lisp/window.el (adjust-window-trailing-edge): Fix bug where this
  5795. function refused to resize a size-preserved window.
  5796. 2015-08-22 Eli Zaretskii <eliz@gnu.org>
  5797. * doc/lispref/windows.texi (Selecting Windows): Improve
  5798. documentation and indexing of 'window-use-time'.
  5799. 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
  5800. * lisp/progmodes/cc-vars.el, lisp/progmodes/cc-styles.el:
  5801. * lisp/progmodes/cc-mode.el, lisp/progmodes/cc-menus.el:
  5802. * lisp/progmodes/cc-langs.el, lisp/progmodes/cc-guess.el:
  5803. * lisp/progmodes/cc-fonts.el, lisp/progmodes/cc-engine.el:
  5804. * lisp/progmodes/cc-defs.el, lisp/progmodes/cc-cmds.el:
  5805. * lisp/progmodes/cc-bytecomp.el, lisp/progmodes/cc-awk.el:
  5806. * lisp/progmodes/cc-align.el, lisp/net/soap-client.el:
  5807. Fix up commenting style.
  5808. 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
  5809. text-quoting-style in emacs-lisp diagnostics
  5810. * lisp/emacs-lisp/advice.el (ad-read-advised-function)
  5811. (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
  5812. (ad-disable-advice, ad-remove-advice, ad-set-argument)
  5813. (ad-set-arguments):
  5814. * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
  5815. (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
  5816. (byte-optimize-while, byte-optimize-apply):
  5817. * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
  5818. (byte-compile-log-file, byte-compile-format-warn)
  5819. (byte-compile-nogroup-warn, byte-compile-arglist-warn)
  5820. (byte-compile-cl-warn)
  5821. (byte-compile-warn-about-unresolved-functions)
  5822. (byte-compile-file, byte-compile-fix-header)
  5823. (byte-compile--declare-var, byte-compile-file-form-defmumble)
  5824. (byte-compile-form, byte-compile-normal-call)
  5825. (byte-compile-variable-ref, byte-compile-variable-set)
  5826. (byte-compile-subr-wrong-args, byte-compile-setq-default)
  5827. (byte-compile-negation-optimizer)
  5828. (byte-compile-condition-case--old)
  5829. (byte-compile-condition-case--new, byte-compile-save-excursion)
  5830. (byte-compile-defvar, byte-compile-autoload)
  5831. (byte-compile-lambda-form)
  5832. (byte-compile-make-variable-buffer-local, display-call-tree)
  5833. (batch-byte-compile):
  5834. * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
  5835. (cconv-analyze-form):
  5836. * lisp/emacs-lisp/chart.el (chart-space-usage):
  5837. * lisp/emacs-lisp/check-declare.el (check-declare-scan)
  5838. (check-declare-warn, check-declare-file)
  5839. (check-declare-directory):
  5840. * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
  5841. (checkdoc-message-text-engine):
  5842. * lisp/emacs-lisp/cl-extra.el (cl-parse-integer):
  5843. * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
  5844. (cl-symbol-macrolet):
  5845. * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
  5846. * lisp/emacs-lisp/copyright.el (copyright)
  5847. (copyright-update-directory):
  5848. * lisp/emacs-lisp/edebug.el (edebug-read-list):
  5849. * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
  5850. * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
  5851. (eieio-oref, eieio-oset-default):
  5852. * lisp/emacs-lisp/eieio-speedbar.el:
  5853. (eieio-speedbar-child-make-tag-lines)
  5854. (eieio-speedbar-child-description):
  5855. * lisp/emacs-lisp/eieio.el (defclass, change-class):
  5856. * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
  5857. (elint-init-form, elint-check-defalias-form)
  5858. (elint-check-let-form):
  5859. * lisp/emacs-lisp/ert.el (ert-get-test):
  5860. * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
  5861. (find-function-library):
  5862. * lisp/emacs-lisp/generator.el (iter-yield):
  5863. * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
  5864. * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
  5865. * lisp/emacs-lisp/package-x.el (package-upload-file):
  5866. * lisp/emacs-lisp/package.el (package-version-join)
  5867. (package-disabled-p, package-activate-1, package-activate)
  5868. (package--download-one-archive)
  5869. (package--download-and-read-archives)
  5870. (package-compute-transaction, package-install-from-archive)
  5871. (package-install, package-install-selected-packages)
  5872. (package-delete, package-autoremove)
  5873. (package-install-button-action, package-delete-button-action)
  5874. (package-menu-hide-package, package-menu--list-to-prompt)
  5875. (package-menu--perform-transaction)
  5876. (package-menu--find-and-notify-upgrades):
  5877. * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
  5878. * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
  5879. * lisp/emacs-lisp/ring.el (ring-next, ring-previous):
  5880. * lisp/emacs-lisp/rx.el (rx-check, rx-anything):
  5881. * lisp/emacs-lisp/smie.el (smie-config-save):
  5882. * lisp/emacs-lisp/subr-x.el (internal--check-binding):
  5883. * lisp/emacs-lisp/testcover.el (testcover-1value):
  5884. Use curved quotes in diagnostic format strings.
  5885. 2015-08-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
  5886. python.el: Ensure remote process-environment on non-interactive processes
  5887. * lisp/progmodes/python.el
  5888. (python-shell-tramp-refresh-process-environment): New function.
  5889. (python-shell-with-environment): Use it.
  5890. * test/automated/python-tests.el (python-shell-with-environment-2):
  5891. Update.
  5892. python.el: Enhancements to process environment setup.
  5893. * lisp/progmodes/python.el (python-shell-process-environment)
  5894. (python-shell-extra-pythonpaths, python-shell-exec-path)
  5895. (python-shell-virtualenv-root): Update docstring. Remove :safe.
  5896. (python-shell-setup-codes): Remove :safe.
  5897. (python-shell-remote-exec-path): New defcustom.
  5898. (python-shell--add-to-path-with-priority): New macro.
  5899. (python-shell-calculate-pythonpath): Give priority to
  5900. python-shell-extra-pythonpaths. Update docstring.
  5901. (python-shell-calculate-process-environment): Give priority to
  5902. python-shell-process-environment. Update docstring.
  5903. (python-shell-calculate-exec-path): Give priority to
  5904. python-shell-exec-path and calculated virtualenv bin directory.
  5905. Update docstring.
  5906. (python-shell-tramp-refresh-remote-path): New function.
  5907. (python-shell-with-environment): Use it when working remotely and
  5908. do not modify tramp-remote-path. Allow nesting.
  5909. (python-shell-calculate-command): Remove useless
  5910. python-shell-with-environment call.
  5911. * test/automated/python-tests.el (python-shell-calculate-pythonpath-1)
  5912. (python-shell-calculate-pythonpath-2)
  5913. (python-shell-calculate-process-environment-6)
  5914. (python-shell-calculate-process-environment-7)
  5915. (python-shell-calculate-process-environment-8)
  5916. (python-shell-calculate-exec-path-3)
  5917. (python-shell-calculate-exec-path-4)
  5918. (python-shell-calculate-exec-path-5)
  5919. (python-shell-calculate-exec-path-6)
  5920. (python-shell-with-environment-3): New tests.
  5921. (python-shell-calculate-process-environment-2)
  5922. (python-shell-calculate-process-environment-3)
  5923. (python-shell-calculate-process-environment-4)
  5924. (python-shell-calculate-process-environment-5)
  5925. (python-shell-calculate-exec-path-1)
  5926. (python-shell-calculate-exec-path-2)
  5927. (python-shell-with-environment-1)
  5928. (python-shell-with-environment-2): Update and simplify.
  5929. 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
  5930. Avoid hard-coding "M-x command" in docstrings
  5931. * lisp/calendar/todo-mode.el (todo-mode):
  5932. * lisp/desktop.el (desktop-save-mode):
  5933. * lisp/edmacro.el (edit-kbd-macro):
  5934. * lisp/emacs-lisp/package.el (package-menu-execute):
  5935. * lisp/emulation/viper-cmd.el (viper-ask-level):
  5936. * lisp/emulation/viper-init.el (viper-expert-level):
  5937. * lisp/filesets.el (filesets-add-buffer):
  5938. * lisp/follow.el (follow-mode):
  5939. * lisp/gnus/auth-source.el (auth-sources):
  5940. * lisp/international/ogonek.el (ogonek-informacja)
  5941. (ogonek-information):
  5942. * lisp/net/tramp.el (tramp-process-actions):
  5943. * lisp/org/org-gnus.el (org-gnus-no-new-news):
  5944. * lisp/org/org.el (org-ellipsis):
  5945. * lisp/progmodes/python.el (python-shell-get-process-or-error):
  5946. * lisp/progmodes/vhdl-mode.el (vhdl-mode):
  5947. * lisp/server.el (server-start):
  5948. * lisp/type-break.el (type-break-noninteractive-query):
  5949. * lisp/userlock.el (ask-user-about-supersession-help):
  5950. * lisp/whitespace.el (whitespace-report-region):
  5951. Prefer (substitute-command-keys "`\\[foo-command]'")
  5952. to "`M-x foo-command'" in docstrings and the like.
  5953. 2015-08-21 Tassilo Horn <tsdh@gnu.org>
  5954. Use add-function for prettify-symbols-compose-predicate
  5955. * lisp/textmodes/tex-mode.el (tex-common-initialization): Set
  5956. prettify-symbols-compose-predicate in terms of add-function.
  5957. * etc/NEWS: Mention prettify-symbols-compose-predicate and
  5958. prettify-symbols-mode support in tex-mode.
  5959. 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
  5960. * lisp/emacs-lisp/smie.el (smie-indent-current-column): New fun.
  5961. (smie-indent-exps, smie-indent-keyword): Use it.
  5962. * test/indent/css-mode.css: Test alignment with leading comment.
  5963. 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
  5964. Respect text-quoting-style in (*Finder*) menus
  5965. * lisp/info.el (info--prettify-description):
  5966. Treat description as a docstring, so that it's requoted as
  5967. per text-quoting-style.
  5968. 2015-08-21 Martin Rudalics <rudalics@gmx.at>
  5969. Document `window-use-time' in Elisp manual
  5970. * doc/lispref/windows.texi (Selecting Windows): Document
  5971. `window-use-time'.
  5972. 2015-08-21 Eli Zaretskii <eliz@gnu.org>
  5973. * src/w32uniscribe.c (_WIN32_WINNT): Define to 0x0600.
  5974. This is a cleaner fix for Bug#21260 than the previous change.
  5975. 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
  5976. Respect text-quoting-style in calc
  5977. In calc, tespect text-quoting-style preference in diagnostic
  5978. formats and fix a few similar problems in docstrings.
  5979. * lisp/calc/calc-aent.el (math-read-factor):
  5980. * lisp/calc/calc-embed.el (calc-do-embedded):
  5981. * lisp/calc/calc-ext.el (calc-user-function-list)
  5982. * lisp/calc/calc-graph.el (calc-graph-show-dumb):
  5983. * lisp/calc/calc-help.el (calc-describe-key)
  5984. (calc-describe-thing):
  5985. * lisp/calc/calc-lang.el (calc-c-language)
  5986. (math-parse-fortran-vector-end, math-parse-tex-sum)
  5987. (math-parse-eqn-matrix, math-parse-eqn-prime)
  5988. (calc-yacas-language, calc-maxima-language, calc-giac-language)
  5989. (math-read-big-rec, math-read-big-balance):
  5990. * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
  5991. (calc-auto-recompute):
  5992. * lisp/calc/calc-prog.el (calc-user-define-invocation)
  5993. (math-do-arg-check):
  5994. * lisp/calc/calc-store.el (calc-edit-variable):
  5995. * lisp/calc/calc-units.el (math-build-units-table-buffer):
  5996. * lisp/calc/calc-vec.el (math-read-brackets):
  5997. * lisp/calc/calc-yank.el (calc-edit-mode):
  5998. * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
  5999. Use curved quotes in diagnostic format strings.
  6000. * lisp/calc/calc-help.el (calc-describe-thing):
  6001. Format docstrings with substitute-command-keys.
  6002. * lisp/calc/calc-help.el (calc-j-prefix-help):
  6003. * lisp/calc/calc-misc.el (calc-help):
  6004. * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
  6005. Escape a docstring "`".
  6006. 2015-08-21 Eli Zaretskii <eliz@gnu.org>
  6007. Fix documentation of 'menu-set-font' and 'set-frame-font'
  6008. * lisp/menu-bar.el (menu-set-font): Doc fix. (Bug#21303)
  6009. * doc/lispref/frames.texi (Frame Font): Document that
  6010. set-frame-font with the last argument 't' will also make the font
  6011. the default for the future GUI frames.
  6012. Document '--create-frame' option to emacsclient
  6013. * doc/emacs/misc.texi (emacsclient Options): Document the
  6014. '--create-frame' option. (Bug#21308)
  6015. 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
  6016. * lisp/progmodes/js.el (js-mode): Don't eagerly syntax propertize.
  6017. 2015-08-21 Eli Zaretskii <eliz@gnu.org>
  6018. Document 'get-mru-window' in the ELisp manual
  6019. * doc/lispref/windows.texi (Cyclic Window Ordering): Document
  6020. 'get-mru-window'. (Bug#21306)
  6021. Clarify documentation of 'get-buffer-window-list'
  6022. * doc/lispref/windows.texi (Buffers and Windows): Mention that the
  6023. current window, if relevant, will be the first in the list
  6024. returned by 'get-buffer-window-list'.
  6025. * lisp/window.el (get-buffer-window-list): Doc fix. (Bug#21305)
  6026. 2015-08-21 Vasilij Schneidermann <v.schneidermann@gmail.com>
  6027. In `ielm' use `pop-to-buffer-same-window' (Bug#20848)
  6028. * lisp/ielm.el (ielm): Use `pop-to-buffer-same-window' instead of
  6029. `switch-to-buffer'.
  6030. 2015-08-21 Kaushal Modi <kaushal.modi@gmail.com> (tiny change)
  6031. In woman.el use `display-buffer' instead of `switch-to-buffer' (Bug#21047)
  6032. * lisp/woman.el (woman-really-find-file, WoMan-find-buffer): Use
  6033. `display-buffer' instead of `switch-to-buffer'.
  6034. 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
  6035. Follow user preference in calendar diagnostics
  6036. Respect text-quoting-style preference in diagnostic formats by
  6037. using curved quotes (which are translated as per text-quoting-style)
  6038. instead of grave accent and apostrophe (which are not).
  6039. * lisp/calendar/appt.el (appt-display-message):
  6040. * lisp/calendar/diary-lib.el (diary-check-diary-file)
  6041. (diary-mail-entries, diary-from-outlook):
  6042. * lisp/calendar/icalendar.el (icalendar-export-region)
  6043. (icalendar--convert-float-to-ical)
  6044. (icalendar--convert-date-to-ical)
  6045. (icalendar--convert-ical-to-diary)
  6046. (icalendar--convert-recurring-to-diary)
  6047. (icalendar--add-diary-entry):
  6048. * lisp/calendar/time-date.el (format-seconds):
  6049. * lisp/calendar/timeclock.el (timeclock-mode-line-display)
  6050. (timeclock-make-hours-explicit):
  6051. * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
  6052. (todo-item-mark, todo-check-format)
  6053. (todo-insert-item--next-param, todo-edit-item--next-key)
  6054. (todo-mode):
  6055. Use curved quotes in diagnostic format strings.
  6056. * lisp/calendar/icalendar.el (icalendar-import-format-sample):
  6057. * test/automated/icalendar-tests.el (icalendar--import-format-sample):
  6058. Just use straight quoting for simple test case.
  6059. 2015-08-21 Michael Albinus <michael.albinus@gmx.de>
  6060. * src/gfilenotify.c (Fgfile_add_watch):
  6061. Handle errors from g_file_monitor.
  6062. 2015-08-21 Martin Rudalics <rudalics@gmx.at>
  6063. In frames.texi use "minibuffer-less frame" instead of "non-minibuffer frame"
  6064. * doc/lispref/frames.texi (Frame Layout): Use "minibuffer-less
  6065. frame" instead of "non-minibuffer frame".
  6066. Fix frame geometry related text
  6067. * doc/lispref/frames.texi (Frame Layout):
  6068. Rename `x-frame-geometry' to `frame-geometry'.
  6069. * doc/lispref/frames.texi (Mouse Position):
  6070. * doc/lispref/windows.texi (Coordinates and Windows):
  6071. Use `set-mouse-absolute-pixel-position' instead of
  6072. `x-set-mouse-absolute-pixel-position'.
  6073. Sanitize frame geometry related functions
  6074. * src/nsfns.m (Fx_frame_geometry): Rename to Fns_frame_geometry.
  6075. (Fx_frame_edges): Rename to Fns_frame_edges.
  6076. * src/w32fns.c (Fx_frame_geometry): Rename to Fw32_frame_geometry.
  6077. (Fx_frame_edges): Rename to Fw32_frame_edges.
  6078. (Fx_mouse_absolute_pixel_position): Rename to
  6079. Fw32_mouse_absolute_pixel_position.
  6080. (Fx_set_mouse_absolute_pixel_position): Rename to
  6081. Fw32_set_mouse_absolute_pixel_position.
  6082. * lisp/frame.el (x-frame-geometry, w32-frame-geometry)
  6083. (ns-frame-geometry, x-frame-edges, w32-frame-edges)
  6084. (ns-frame-edges, w32-mouse-absolute-pixel-position)
  6085. (x-mouse-absolute-pixel-position)
  6086. (w32-set-mouse-absolute-pixel-position)
  6087. (x-set-mouse-absolute-pixel-position): Declare.
  6088. (frame-geometry, mouse-absolute-pixel-position)
  6089. (set-mouse-absolute-pixel-position): New functions.
  6090. (frame-edges): Rewrite in terms of x-/w32-/ns-frame-edges.
  6091. 2015-08-21 Eli Zaretskii <eliz@gnu.org>
  6092. Fix MinGW64 build broken by latest w32uniscribe.c changes
  6093. * src/w32uniscribe.c (UNISCRIBE_OPENTYPE): Define to 0x0100, for
  6094. MinGW64. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
  6095. (Bug#21260)
  6096. 2015-08-21 Tassilo Horn <tsdh@gnu.org>
  6097. Add TeX defaults for prettify-symbol-mode
  6098. * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
  6099. Rename from tex-prettify-symbols-alist.
  6100. (tex--prettify-symbols-compose-p): New function.
  6101. (tex-common-initialization): Use them as prettify-symbols-alist
  6102. and prettify-symbols-compose-predicate.
  6103. Generalize prettify-symbols to arbitrary modes
  6104. * lisp/progmodes/prog-mode.el
  6105. (prettify-symbols-default-compose-p): New function.
  6106. (prettify-symbols-compose-predicate): New variable.
  6107. (prettify-symbols--compose-symbol): Use it.
  6108. 2015-08-20 Paul Eggert <eggert@cs.ucla.edu>
  6109. Don't quote symbols 'like-this' in docstrings etc.
  6110. * admin/unidata/uvs.el (uvs-insert-fields-as-bytes):
  6111. * lisp/allout-widgets.el (allout-widgets-count-buttons-in-region):
  6112. * lisp/allout.el (allout-add-resumptions, allout-mode):
  6113. * lisp/calculator.el (calculator-operators):
  6114. * lisp/cedet/data-debug.el (dd-propertize):
  6115. * lisp/cedet/ede/proj-prog.el (ede-proj-target-makefile-program):
  6116. * lisp/cedet/semantic/analyze/debug.el:
  6117. (semantic-analyzer-debug-global-miss-text):
  6118. * lisp/cedet/semantic/lex-spp.el:
  6119. (semantic-lex-spp-replace-or-symbol-or-keyword):
  6120. * lisp/cedet/semantic/symref.el:
  6121. (semantic-symref-cleanup-recent-buffers-fcn):
  6122. * lisp/cedet/semantic/tag.el (semantic-tag-class):
  6123. * lisp/cedet/srecode/el.el (srecode-semantic-handle-:el-custom):
  6124. * lisp/gnus/nnmairix.el (nnmairix-propagate-marks-upon-close):
  6125. * lisp/gnus/pop3.el (pop3-authentication-scheme):
  6126. * lisp/help-fns.el (describe-function-orig-buffer):
  6127. * lisp/imenu.el (imenu--history-list):
  6128. * lisp/mail/feedmail.el (feedmail-confirm-outgoing)
  6129. (feedmail-display-full-frame, feedmail-deduce-bcc-where)
  6130. (feedmail-queue-default-file-slug)
  6131. (feedmail-queue-buffer-file-name):
  6132. * lisp/net/mairix.el (mairix-searches-mode-map):
  6133. * lisp/net/newst-backend.el (newsticker-retrieval-method)
  6134. (newsticker-auto-mark-filter-list):
  6135. * lisp/obsolete/vi.el (vi-mode):
  6136. * lisp/progmodes/cc-engine.el (c-literal-type):
  6137. * lisp/progmodes/cpp.el (cpp-face):
  6138. * lisp/progmodes/ebrowse.el (ebrowse-electric-list-looper):
  6139. * lisp/progmodes/elisp-mode.el (elisp--xref-make-xref):
  6140. * lisp/progmodes/pascal.el (pascal-auto-lineup):
  6141. * lisp/progmodes/prog-mode.el (prog-widen):
  6142. * lisp/progmodes/verilog-mode.el (verilog-regexp-words)
  6143. (verilog-auto-lineup, verilog-auto-reset-widths)
  6144. (verilog-auto-arg-format, verilog-auto-inst-template-numbers):
  6145. * lisp/textmodes/flyspell.el (flyspell-maybe-correct-transposition)
  6146. (flyspell-maybe-correct-doubling):
  6147. * lisp/textmodes/table.el (table-justify, table-justify-cell)
  6148. (table-justify-row, table-justify-column, table-insert-sequence)
  6149. (table--justify-cell-contents):
  6150. * lisp/url/url-auth.el (url-get-authentication):
  6151. * lisp/window.el (display-buffer-record-window):
  6152. * lisp/xml.el (xml-parse-file, xml-parse-region):
  6153. * src/gfilenotify.c (Fgfile_add_watch):
  6154. Don't quote symbols with apostrophes in doc strings.
  6155. Use asymmetric quotes instead.
  6156. * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
  6157. Likewise for symbol in diagnostic.
  6158. * lisp/image.el (image-extension-data):
  6159. * lisp/register.el (frame-configuration-to-register):
  6160. * src/buffer.c (syms_of_buffer):
  6161. Remove bogus apostrophes after symbols.
  6162. * lisp/thumbs.el (thumbs-conversion-program):
  6163. Quote Lisp string values using double-quotes, not apostrophes.
  6164. 2015-08-20 Martin Rudalics <rudalics@gmx.at>
  6165. Describe frame geometry and related functions in Elisp manual
  6166. * doc/lispref/display.texi (Size of Displayed Text, Line Height)
  6167. (Showing Images): Update references.
  6168. * doc/lispref/elisp.texi (Top): Update node listing.
  6169. * doc/lispref/frames.texi (Frame Geometry): New node.
  6170. Move `Size and Position' section here.
  6171. (Size Parameters): Update references.
  6172. (Mouse Position): Update references and nomenclature.
  6173. Describe new functions `x-mouse-absolute-pixel-position' and
  6174. `x-set-mouse-absolute-pixel-position'.
  6175. * doc/lispref/windows.texi (Window Sizes): Update references.
  6176. (Resizing Windows): Update references. Move description of
  6177. `fit-frame-to-buffer' here.
  6178. (Coordinates and Windows): Update nomenclature and references.
  6179. Describe new arguments of `window-edges'. Comment out
  6180. descriptions of `window-left-column', `window-top-line',
  6181. `window-pixel-left' and `window-pixel-top'. Describe
  6182. `window-absolute-pixel-position'.
  6183. 2015-08-20 Alan Mackenzie <acm@muc.de>
  6184. Handling of `c-parse-state'. Fix low level bug.
  6185. * lisp/progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
  6186. Add "CASE 3.5" to handle `cache-pos' being only slightly before `here'.
  6187. 2015-08-20 Andreas Politz <politza@hochschule-trier.de>
  6188. * lisp/wid-edit.el (widget-color--choose-action): Quit *Color*
  6189. window instead of deleting it.
  6190. 2015-08-20 Martin Rudalics <rudalics@gmx.at>
  6191. In w32fns.c's Fx_frame_geometry rewrite check whether frame has a titlebar
  6192. * src/w32fns.c (Fx_frame_geometry): Use title_bar.rgstate[0] to
  6193. determine whether frame has a titlebar.
  6194. Suggested by Eli Zaretskii <eliz@gnu.org>
  6195. 2015-08-20 Tassilo Horn <tsdh@gnu.org>
  6196. Add a prettify-symbols-alist for (La)TeX
  6197. * lisp/textmodes/tex-mode.el (tex-prettify-symbols-alist):
  6198. New variable holding an alist suitable as prettify-symbols-alist in
  6199. (La)TeX modes.
  6200. 2015-08-19 Alan Mackenzie <acm@muc.de>
  6201. Make electric-pair-mode, delete-selection-mode and CC Mode cooperate.
  6202. Fixes debbugs#21275.
  6203. In Emacs >= 25, let electric-pair-mode take precedence over
  6204. delete-selection-mode.
  6205. * lisp/delsel.el (delete-selection-uses-region-p): New function,
  6206. previously a lambda expression in a property value for
  6207. `self-insert-command'.
  6208. (top-level): Set the `delete-selection' property of
  6209. `self-insert-command' to `delete-selection-uses-region-p'.
  6210. * lisp/progmodes/cc-cmds.el (top-level): Give the `delete-selection'
  6211. property for c-electric-\(brace\|paren\) the value
  6212. `delete-selection-uses-region-p' when the latter function exists.
  6213. 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
  6214. Fix key binding quoting in tutorial *Help*
  6215. * lisp/tutorial.el (tutorial--describe-nonstandard-key):
  6216. When generating help for custom key bindings, use the user-preferred
  6217. quoting style rather than hardcoding the grave style.
  6218. 2015-08-19 Eli Zaretskii <eliz@gnu.org>
  6219. Improve and future-proof OTF fonts support in w32uniscribe.c
  6220. * src/w32uniscribe.c (uniscribe_otf_capability): Add commentary
  6221. about the expected results and why the new Uniscribe APIs are not
  6222. used in this function.
  6223. (ScriptGetFontScriptTags_Proc, ScriptGetFontLanguageTags_Proc)
  6224. (ScriptGetFontFeatureTags_Proc): New function typedefs.
  6225. (uniscribe_new_apis): New static variable.
  6226. (uniscribe_check_features): New function, implements OTF features
  6227. verification while correctly accounting for features in the list
  6228. after the nil member, if any.
  6229. (uniscribe_check_otf_1): New function, retrieves the features
  6230. supported by the font for the requested script and language using
  6231. the Uniscribe APIs available from Windows Vista onwards.
  6232. (uniscribe_check_otf): If the new Uniscribe APIs are available,
  6233. use them in preference to reading the font data directly. Call
  6234. uniscribe_check_features to verify that the requested features are
  6235. supported, replacing the original incomplete code.
  6236. (syms_of_w32uniscribe): Initialize function pointers for the new
  6237. Uniscribe APIs. (Bug#21260)
  6238. (otf_features): Scan the script, langsys, and feature arrays back
  6239. to front, so that the result we return has them in alphabetical
  6240. order, like ftfont.c does.
  6241. * src/w32fns.c (syms_of_w32fns) <w32-disable-new-uniscribe-apis>:
  6242. New variable for debugging w32uniscribe.c code.
  6243. 2015-08-19 Artur Malabarba <bruce.connor.am@gmail.com>
  6244. * lisp/isearch.el (isearch-search-fun-default): Revert a5bdb87
  6245. Remove usage of `isearch-lax-whitespace' inside the `iearch-word'
  6246. clause of `isearch-search-fun-default'. That lax variable does not
  6247. refer to lax-whitespacing. Related to (bug#21777).
  6248. This reverts commit a5bdb872edb9f031fe041faf9a8c0be432e5f64c.
  6249. * lisp/character-fold.el (character-fold-search): Set to nil.
  6250. Default to nil for now, until someone implements proper
  6251. lax-whitespacing with char-fold searching.
  6252. 2015-08-19 Martin Rudalics <rudalics@gmx.at>
  6253. Fix doc-string of `help-mode-finish'.
  6254. * lisp/help-mode.el (help-mode-finish): Fix doc-string.
  6255. In nsimage.m include coding.h (Bug#21292)
  6256. * src/nsimage.m (top-level): Include coding.h (Bug#21292).
  6257. Move window edge functions to Elisp.
  6258. * src/window.c (Fwindow_edges, Fwindow_pixel_edges)
  6259. (Fwindow_absolute_pixel_edges, Fwindow_inside_edges)
  6260. (Fwindow_inside_pixel_edges, Fwindow_inside_absolute_pixel_edges):
  6261. Move to window.el.
  6262. (calc_absolute_offset): Remove.
  6263. * lisp/frame.el (frame-edges): New function.
  6264. * lisp/window.el (window-edges, window-pixel-edges)
  6265. (window-absolute-pixel-edges): Move here from window.c.
  6266. (window-body-edges, window-body-pixel-edges)
  6267. (window-absolute-body-pixel-edges): Move here from window.c and
  6268. rename "inside" to "body". Keep old names as aliases.
  6269. (window-absolute-pixel-position): New function.
  6270. 2015-08-19 Katsumi Yamaoka <yamaoka@jpl.org>
  6271. [Gnus]: Use overlay functions directly
  6272. * lisp/gnus/gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part)
  6273. (gnus-insert-mime-button, gnus-mime-buttonize-attachments-in-header)
  6274. (gnus-article-highlight-signature, gnus-article-extend-url-button)
  6275. (gnus-article-add-button, gnus-insert-prev-page-button)
  6276. (gnus-insert-next-page-button, gnus-insert-mime-security-button):
  6277. * lisp/gnus/gnus-cite.el (gnus-cite-delete-overlays)
  6278. (gnus-cite-add-face):
  6279. * lisp/gnus/gnus-html.el (gnus-html-wash-tags):
  6280. * lisp/gnus/gnus-salt.el (gnus-tree-read-summary-keys)
  6281. (gnus-tree-recenter, gnus-highlight-selected-tree):
  6282. * lisp/gnus/gnus-sum.el (gnus-summary-show-all-threads)
  6283. (gnus-summary-show-thread, gnus-summary-hide-thread)
  6284. (gnus-highlight-selected-summary):
  6285. * lisp/gnus/gnus-util.el (gnus-put-overlay-excluding-newlines):
  6286. * lisp/gnus/message.el (message-fix-before-sending)
  6287. (message-toggle-image-thumbnails):
  6288. * lisp/gnus/mm-decode.el (mm-convert-shr-links):
  6289. * lisp/gnus/sieve.el (sieve-highlight, sieve-insert-scripts):
  6290. Use overlay functions directly instead of using gnus-overlay-*,
  6291. message-overlay-*, and sieve-overlay-*.
  6292. * lisp/gnus/gnus-sum.el (gnus-remove-overlays):
  6293. * lisp/gnus/gnus.el (gnus-make-overlay, gnus-copy-overlay)
  6294. (gnus-delete-overlay, gnus-overlay-get, gnus-overlay-put)
  6295. (gnus-move-overlay, gnus-overlay-buffer, gnus-overlay-start)
  6296. (gnus-overlay-end, gnus-overlays-at, gnus-overlays-in):
  6297. * lisp/gnus/message.el (message-delete-overlay, message-make-overlay)
  6298. (message-overlay-get, message-overlay-put, message-overlays-in):
  6299. * lisp/gnus/sieve.el (sieve-make-overlay, sieve-overlay-put)
  6300. (sieve-overlays-at): Remove.
  6301. 2015-08-19 Martin Rudalics <rudalics@gmx.at>
  6302. In w32fns.c condition TITLEBAR_INFO declaration on WINDOWS version
  6303. * src/w32fns.c (TITLEBAR_INFO): Make it a typedef so MinGW64
  6304. builds can use the declaration from the system headers.
  6305. (GetTitleBarInfo_Proc, Fx_frame_geometry): Adapt to new
  6306. definition of TITLEBAR_INFO.
  6307. Suggested by Eli Zaretskii <eliz@gnu.org>
  6308. 2015-08-19 Glenn Morris <rgm@gnu.org>
  6309. * lisp/gnus/nnmaildir.el (nnmaildir-flag-mark-mapping): Add "P".
  6310. 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
  6311. Use new q ‘format’ flag when fixing quotes in C
  6312. * src/image.c (image_size_error): New function. All uses of
  6313. image_error with "Invalid image size ..." changed to use it.
  6314. * src/image.c (image_size_error, xbm_load_image, xbm_load)
  6315. (xpm_load, xpm_load_image, xpm_load, pbm_load, png_load_body)
  6316. (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
  6317. (imagemagick_load, svg_load, svg_load_image, gs_load)
  6318. (x_kill_gs_process):
  6319. * src/lread.c (load_warn_old_style_backquotes):
  6320. * src/xfaces.c (load_pixmap):
  6321. * src/xselect.c (x_clipboard_manager_error_1):
  6322. Use %qs, not uLSQM and uRSQM.
  6323. * src/syntax.c (Finternal_describe_syntax_value):
  6324. Prefer Fsubstitute_command_keys to Fformat, as this lets
  6325. us use AUTO_STRING.
  6326. * src/xdisp.c (vadd_to_log): Use AUTO_STRING on the format argument,
  6327. as it's now guaranteed to be ASCII.
  6328. * src/xselect.c (x_clipboard_manager_error_2):
  6329. Avoid grave accent in low-level stderr diagnostic.
  6330. 2015-08-19 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
  6331. New q flag for ‘format’
  6332. * doc/lispref/processes.texi (Sentinels):
  6333. Don't hardwire grave quoting style in example.
  6334. * doc/lispref/strings.texi (Formatting Strings):
  6335. * etc/NEWS:
  6336. Document new q flag.
  6337. * src/editfns.c (Fformat): Implement it.
  6338. 2015-08-18 Daiki Ueno <ueno@gnu.org>
  6339. pinentry.el: Add debugging support
  6340. * lisp/net/pinentry.el (pinentry-debug): New variable.
  6341. (pinentry-debug-buffer): New variable.
  6342. (pinentry--process-filter): Send input to the debug buffer, if
  6343. `pinentry-debug' is set.
  6344. pinentry.el: Improve multiline prompt
  6345. * lisp/net/pinentry.el (pinentry--prompt): Simplify the interface.
  6346. (pinentry--process-filter): Use `pinentry--prompt' for CONFIRM
  6347. command.
  6348. 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
  6349. Fix multibyte confusion in diagnostics
  6350. * src/print.c (print_error_message):
  6351. Don't assume that the caller's name is unibyte.
  6352. * src/xdisp.c (vadd_to_log):
  6353. Don't assume that the formatted diagnostic is unibyte.
  6354. Fix file name encodings in diagnostics
  6355. Also, close some minor races when opening image files, by opening
  6356. them once instead of multiple times.
  6357. * src/gtkutil.c (xg_get_image_for_pixmap):
  6358. * src/image.c (xpm_load, tiff_load, gif_load, imagemagick_load)
  6359. (svg_load):
  6360. * src/nsimage.m (allocInitFromFile:):
  6361. * src/xfns.c (xg_set_icon):
  6362. Encode file name, since x_find_image_file no longer does that.
  6363. * src/image.c (x_find_image_fd): New function.
  6364. (x_find_image_file): Use it. Do not encode resulting file name,
  6365. since callers sometimes need it decoded.
  6366. (slurp_file): File arg is now a fd, not a file name.
  6367. All callers changed. This saves us having to open the file twice.
  6368. (xbm_load, xpm_load, pbm_load, png_load_body, jpeg_load_body)
  6369. (svg_load):
  6370. Use x_find_image_fd and fdopen to save a file-open.
  6371. Report file name that failed.
  6372. * src/lread.c (openp): If PREDICATE is t, open the file in binary mode.
  6373. 2015-08-18 Dmitry Gutov <dgutov@yandex.ru>
  6374. Allow blink-matching-paren to jump off screen
  6375. * doc/emacs/programs.texi (Matching): Mention the
  6376. `blink-matching-paren' value `jump-offscreen'.
  6377. * lisp/simple.el (blink-matching-paren): New possible value.
  6378. (blink-matching-paren-on-screen): Clarify the docstring.
  6379. (blink-matching-open): Handle `jump-offscreen' (bug#21286).
  6380. Refine the previous change
  6381. * lisp/simple.el (blink-matching-open): Use minibuffer-message
  6382. outside of save-excursion (bug#21286).
  6383. 2015-08-18 Martin Rudalics <rudalics@gmx.at>
  6384. Rewrite and add frame geometry related functions.
  6385. * src/frame.c (Fframe_position): New function.
  6386. (Fset_frame_position): Rename parameters and rewrite doc-string.
  6387. (syms_of_frame): Remove Qframe_position, Qframe_outer_size,
  6388. Qtitle_height and Qframe_inner_size. Add Qouter_edges,
  6389. Qouter_position, Qouter_size, Qnative_edges, Qinner_edges,
  6390. Qtitle_bar_size.
  6391. * src/nsfns.m (frame_geometry): New function.
  6392. (Fx_frame_geometry): Call frame_geometry.
  6393. (Fx_frame_edges): New function.
  6394. * src/w32fns.c (C_CHILDREN_TITLEBAR, TITLEBAR_INFO)
  6395. (GetTitleBarInfo_Proc): Define these so we can use the
  6396. GetTitleBarInfo API.
  6397. (Fw32_frame_menu_bar_size, Fw32_frame_rect): Remove.
  6398. (Fx_frame_geometry): Rewrite.
  6399. (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
  6400. (Fx_set_mouse_absolute_pixel_position): New functions.
  6401. * src/xfns.c (frame_geometry): New function.
  6402. (Fx_frame_geometry): Call frame_geometry.
  6403. (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
  6404. (Fx_set_mouse_absolute_pixel_position): New functions.
  6405. 2015-08-18 Michael Albinus <michael.albinus@gmx.de>
  6406. Improve Tramp's compatibility
  6407. * lisp/net/tramp.el (tramp-get-method-parameter):
  6408. * lisp/net/tramp-adb.el (tramp-adb-parse-device-names)
  6409. (tramp-adb-get-device):
  6410. * lisp/net/trampver.el (tramp-repository-get-version):
  6411. Use `tramp-compat-replace-regexp-in-string'.
  6412. 2015-08-18 Pierre Téchoueyres <pierre.techoueyres@free.fr> (tiny change)
  6413. * lisp/net/tramp-cmds.el (tramp-reporter-dump-variable):
  6414. Encode/decode string.
  6415. 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
  6416. Clarify what happens to match data on failure
  6417. Problem reported by Ernesto Alfonso (Bug#21279).
  6418. * doc/lispref/searching.texi (Regexp Search, Simple Match Data):
  6419. Document more carefully what happens to match data after a failed
  6420. search.
  6421. * src/search.c (Fmatch_beginning, Fmatch_end): Document that
  6422. the return value is undefined if the last search failed.
  6423. (Fmatch_data): Simplify doc string line 1.
  6424. 2015-08-18 Daiki Ueno <ueno@gnu.org>
  6425. Revert "pinentry.el: Support external passphrase cache"
  6426. This reverts commit e086e55a664ec27fbca7b3231c4b32cb78a89337.
  6427. pinentry.el shouldn't directly interact with the secrets service,
  6428. but ask the caller to cache the passphrase.
  6429. 2015-08-17 Xue Fuqiao <xfq.free@gmail.com>
  6430. * doc/emacs/sending.texi (Mail Misc): Fix two index entries for
  6431. Message mode hooks.
  6432. 2015-08-17 Daiki Ueno <ueno@gnu.org>
  6433. epg.el: Make gpgconf output parsing future proof
  6434. * lisp/epg.el (epg--start): Count the number of fields in "gpgconf
  6435. --list-options" output.
  6436. pinentry.el: Support external passphrase cache
  6437. * lisp/net/pinentry.el (pinentry-use-secrets): New user option.
  6438. (pinentry--allow-external-password-cache): New local variable.
  6439. (pinentry--key-info): New local variable.
  6440. (secrets-enabled, secrets-search-items, secrets-get-secret):
  6441. Declare.
  6442. (pinentry--send-passphrase): New function, split from
  6443. `pinentry--process-filter'.
  6444. (pinentry--process-filter): Use secrets.el to retrieve passphrase
  6445. from login keyring.
  6446. pinentry.el: Popup window for multiline prompt
  6447. * lisp/net/pinentry.el (pinentry): New custom group.
  6448. (pinentry-popup-prompt-window): New user option.
  6449. (pinentry-prompt-window-height): New user option.
  6450. (pinentry--prompt-buffer): New variable.
  6451. (pinentry-prompt-mode-map): New variable.
  6452. (pinentry-prompt-mode): New function.
  6453. (pinentry--prompt): New function.
  6454. (pinentry--process-filter): Use `pinentry--prompt' instead of
  6455. `read-passwd' and `y-or-n-p'.
  6456. 2015-08-17 Katsumi Yamaoka <yamaoka@jpl.org>
  6457. message.el: Silent the byte compiler
  6458. * lisp/gnus/message.el (message-overlay-put, message-make-overlay)
  6459. (message-kill-all-overlays, message-overlays-in, message-overlay-get)
  6460. (message-delete-overlay, message-window-inside-pixel-edges):
  6461. Declare before using.
  6462. * lisp/gnus/message.el (message-overlay-get, message-overlays-in)
  6463. (message-window-inside-pixel-edges): XEmacs compatible functions.
  6464. 2015-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
  6465. * lisp/gnus/message.el (message-toggle-image-thumbnails): New command.
  6466. 2015-08-17 Noah Friedman <friedman@splode.com>
  6467. * lisp/simple.el (blink-matching-open): Restore point before
  6468. calling minibuffer-message.
  6469. 2015-08-17 Ronnie Schnell <ronnie@driver-aces.com>
  6470. * lisp/play/dunnet.el: Update version number in header (now
  6471. matches help).
  6472. 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
  6473. Curved quotes in --batch diagnostics in non-UTF-8
  6474. When run with --batch, check that curved quotes are compatible with
  6475. the system locale before outputting them in diagnostics.
  6476. Problem reported by Eli Zaretskii in:
  6477. http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00594.html
  6478. * lisp/startup.el (command-line): Set internal--text-quoting-flag
  6479. after the standard display table is initialized.
  6480. * src/doc.c (default_to_grave_quoting_style): New function.
  6481. (text_quoting_style): Use it.
  6482. (text_quoting_flag): New static var, visible to Lisp as
  6483. internal--text-quoting-flag.
  6484. * src/emacs.c: Include <wchar.h> if available.
  6485. (using_utf8): New function.
  6486. (main): Use it to initialize text_quoting_flag.
  6487. * src/regex.h (btowc) [WIDE_CHAR_SUPPORT && emacs]:
  6488. Don't define, as it's not needed and it clashes with wchar.h.
  6489. 2015-08-17 Glenn Morris <rgm@gnu.org>
  6490. * doc/misc/tramp.texi (Configuration): Reword to avoid warning
  6491. from makeinfo about spurious "Note:" cross-reference, and for grammar.
  6492. 2015-08-17 Ilya Zakharevich <ilya@math.berkeley.edu>
  6493. Minor change in variable initialization on MS-Windows
  6494. * src/w32fns.c <after_dead_key>: Initialize to -1.
  6495. (deliver_wm_chars): If after_deadkey is zero, don't set after_dead
  6496. non-zero.
  6497. Fix a bug with LWindow key remapping on MS-Windows
  6498. * src/w32fns.c (deliver_wm_chars): Fix a typo. (Bug#21276)
  6499. 2015-08-17 Eli Zaretskii <eliz@gnu.org>
  6500. Improve fontset support for latest OTF script tags
  6501. * lisp/international/fontset.el (otf-script-alist): Add some
  6502. missing script tags.
  6503. (setup-default-fontset): Include settings for v2 versions of the
  6504. script tags used by some modern OTF/TTF fonts.
  6505. 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
  6506. Spelling fixes
  6507. 2015-08-16 Paul Eggert <eggert@cs.ucla.edu>
  6508. Use curved quotes in core elisp diagnostics
  6509. In the core elisp files, use curved quotes in diagnostic formats,
  6510. so that they follow user preference as per ‘text-quoting-style’
  6511. rather than being hard-coded to quote `like this'.
  6512. * lisp/abbrev.el (expand-region-abbrevs):
  6513. * lisp/button.el (button-category-symbol, button-put)
  6514. (make-text-button):
  6515. * lisp/cus-start.el:
  6516. * lisp/custom.el (custom-add-dependencies, custom-check-theme)
  6517. (custom--sort-vars-1, load-theme):
  6518. * lisp/emacs-lisp/byte-run.el (defun, defsubst):
  6519. * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
  6520. (cl-generic-generalizers):
  6521. * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
  6522. * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
  6523. * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
  6524. (advice--make, define-advice):
  6525. * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
  6526. * lisp/emacs-lisp/timer.el (timer-event-handler):
  6527. * lisp/env.el (setenv):
  6528. * lisp/facemenu.el (facemenu-add-new-face)
  6529. (facemenu-add-new-color):
  6530. * lisp/faces.el (face-documentation, read-face-name)
  6531. (face-read-string, read-face-font, face-spec-set-match-display)
  6532. (read-color, x-resolve-font-name):
  6533. * lisp/files.el (locate-user-emacs-file, find-alternate-file)
  6534. (set-auto-mode, hack-local-variables)
  6535. (hack-one-local-variable--obsolete)
  6536. (dir-locals-set-directory-class, write-file)
  6537. (basic-save-buffer, delete-directory, copy-directory)
  6538. (recover-session, recover-session-finish, insert-directory)
  6539. (file-modes-char-to-who, file-modes-symbolic-to-number)
  6540. (move-file-to-trash):
  6541. * lisp/font-lock.el (font-lock-fontify-buffer):
  6542. * lisp/format.el (format-write-file, format-find-file)
  6543. (format-insert-file):
  6544. * lisp/frame.el (get-device-terminal, select-frame-by-name):
  6545. * lisp/fringe.el (fringe--check-style):
  6546. * lisp/help.el (describe-minor-mode-from-indicator):
  6547. * lisp/image.el (image-type):
  6548. * lisp/international/fontset.el (x-must-resolve-font-name):
  6549. * lisp/international/mule-cmds.el (prefer-coding-system)
  6550. (select-safe-coding-system-interactively)
  6551. (select-safe-coding-system, activate-input-method)
  6552. (toggle-input-method, describe-current-input-method):
  6553. * lisp/international/mule-conf.el (code-offset):
  6554. * lisp/mouse.el (minor-mode-menu-from-indicator):
  6555. * lisp/replace.el (query-replace-read-from)
  6556. (occur-after-change-function, occur-1):
  6557. * lisp/scroll-bar.el (scroll-bar-columns):
  6558. * lisp/simple.el (execute-extended-command)
  6559. (undo-outer-limit-truncate, compose-mail, set-variable)
  6560. (choose-completion-string, define-alternatives):
  6561. * lisp/startup.el (site-run-file, tty-handle-args)
  6562. (command-line, command-line-1):
  6563. * lisp/subr.el (noreturn, define-error, add-to-list)
  6564. (read-char-choice):
  6565. * lisp/term/common-win.el (x-handle-xrm-switch)
  6566. (x-handle-name-switch, x-handle-args):
  6567. * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
  6568. Use curved quotes in diagnostics.
  6569. * lisp/international/mule.el (find-auto-coding):
  6570. Use " to quote in a diagnostic, to be consistent with the rest of
  6571. this file.
  6572. Convert lisp/term/x-win.el to UTF-8
  6573. * lisp/term/x-win.el: Convert to UTF-8. This doesn't affect
  6574. runtime behavior, and the file is multilingual so compile-time
  6575. appearance shouldn't be an issue.
  6576. * admin/notes/unicode: Document this.
  6577. 2015-08-16 Wilson Snyder <wsnyder@wsnyder.org>
  6578. Update verilog-mode.el to 2015-05-14-6232468-vpo-GNU.
  6579. * lisp/progmodes/verilog-mode.el: Fix some non-automated indent
  6580. issues and comments, bug#943.
  6581. (verilog-type-font-keywords): Cycle delay operators like ##1 and
  6582. ##[0:$] are now highlighted in their entirety similarly to the #
  6583. delay-control operator. Likewise, the followed-by operators #-#
  6584. and #=# are no longer partially highlighed.
  6585. (verilog-backward-syntactic-ws-quick)
  6586. (verilog-skip-backward-comments): Minor performance improvements
  6587. to buffer traversal functions for reduced latency.
  6588. (verilog-calc-1, verilog-in-deferred-immediate-final-p): When the
  6589. keyword 'final' follows 'assert/assume/cover', then it is part of
  6590. a deferred immediate assertion item and should not be treated as a
  6591. final construct for indentation. Reported by Yuri Sugihara.
  6592. (verilog-do-indent): Virtual task/function/class definition lines
  6593. should not be considered as declarations. Reported by Enzo Chi.
  6594. (verilog-do-indent): Do not falsely indent to '=' of
  6595. property/sequence operators on subsequent lines of a multi-line
  6596. statement.
  6597. (verilog-assignment-operator-re): Fix '!==' operator and add
  6598. support for '<->', ':/', '#-#', and '#=#' operators.
  6599. (verilog-calculate-indent, verilog-label-be): Enable
  6600. case-sensitive regular expression parsing when looking for
  6601. keywords.
  6602. (verilog-calc-1): Detect 'pure virtual method' declarations which
  6603. exist in abstract classes. Reported by Enzo Chi and Kaushal Modi.
  6604. (verilog-backward-ws&directives): When moving back to the start of
  6605. a line and the preceeding line ended with an escaped-newline, then
  6606. jump up one line. This properly consumes a multi-line
  6607. pre-processor directive. Reported by Kaushal Modi.
  6608. (verilog-dpi-import-export-re, verilog-extended-complete-re)
  6609. (verilog-calc-1): Teach verilog-mode to properly indent after a
  6610. DPI import/export statement that resides outside of a module.
  6611. Reported by Kaushal Modi.
  6612. (verilog-extended-complete-re): Update regexp to match both
  6613. "DPI-C" and "DPI". Reported by Kaushal Modi.
  6614. 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
  6615. substitute-command-keys a few more doc strings
  6616. * lisp/allout.el (outlineify-sticky):
  6617. * lisp/files.el (hack-one-local-variable--obsolete):
  6618. * lisp/help-fns.el (help-fns--obsolete, describe-variable):
  6619. Use substitute-command-keys on some doc strings so that
  6620. they don't use hard-coded key bindings or quoting styles.
  6621. Fix quoting in Fformat calls
  6622. * src/image.c (xbm_read_bitmap_data, xbm_load_image, xbm_load)
  6623. (xpm_load, xpm_load_image, pbm_load, png_load_body)
  6624. (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
  6625. (imagemagick_load, svg_load, svg_load_image, gs_load)
  6626. (x_kill_gs_process):
  6627. * src/lread.c (load_warn_old_style_backquotes):
  6628. * src/xfaces.c (load_pixmap):
  6629. * src/xselect.c (x_clipboard_manager_error_1):
  6630. Quote diagnostics according to user preference when calling
  6631. Fformat or its derivatives.
  6632. 2015-08-15 Glenn Morris <rgm@gnu.org>
  6633. * admin/admin.el (set-version, set-copyright): Remove deleted files.
  6634. 2015-08-15 Stephen Leake <stephen_leake@stephe-leake.org>
  6635. Allow describe-function helpers to access buffer-local values
  6636. This will be used by cedet/mode-local.el `describe-mode-local-override'
  6637. on `help-fns-describe-function-functions' in upstream CEDET.
  6638. * lisp/help-fns.el (describe-function-orig-buffer): New, let-bound in
  6639. `describe-function'.
  6640. (describe-function): Bind it, save it on the help xref stack.
  6641. Handle pulse-background being nil
  6642. * lisp/cedet/pulse.el (pulse-lighten-highlight): Inherit
  6643. pulse-background, handle it being nil.
  6644. 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
  6645. Fix "\`" confusion in Lisp strings
  6646. * admin/authors.el (authors-canonical-author-name):
  6647. Fix typo by using "\\`" not "\`" in string RE.
  6648. * lisp/obsolete/complete.el (PC-complete-as-file-name):
  6649. * lisp/obsolete/vi.el (vi-backward-blank-delimited-word):
  6650. * lisp/progmodes/verilog-mode.el (verilog-mode-map):
  6651. Use plain "`", not the equivalent-but-confusing "\`", in strings.
  6652. * lisp/textmodes/texinfmt.el: Fix comment likewise.
  6653. 2015-08-15 Dani Moncayo <dmoncayo@gmail.com>
  6654. * nt/zipdist.bat: Remove -- no longer used.
  6655. 2015-08-15 Jürgen Hötzel <juergen@archlinux.org>
  6656. * lisp/net/tramp-sh.el (tramp-remote-selinux-p): Use "selinuxenabled"
  6657. rather than "getenforce".
  6658. (tramp-sh-handle-set-file-selinux-context): Do not
  6659. cache SELinux context if not all context components are given.
  6660. 2015-08-15 Eli Zaretskii <eliz@gnu.org>
  6661. Add doc strings to 2 help-mode.el functions
  6662. * lisp/help-mode.el (help-mode-setup, help-mode-finish): Add doc
  6663. strings. (Bug#21263)
  6664. Remove files used by the old MS-Windows specific build procedure
  6665. * admin/unidata/makefile.w32-in:
  6666. * doc/emacs/makefile.w32-in:
  6667. * doc/lispintro/makefile.w32-in:
  6668. * doc/lispref/makefile.w32-in:
  6669. * doc/misc/makefile.w32-in:
  6670. * leim/makefile.w32-in:
  6671. * lib-src/makefile.w32-in:
  6672. * lib/makefile.w32-in:
  6673. * lisp/makefile.w32-in:
  6674. * nt/INSTALL.OLD:
  6675. * nt/config.nt:
  6676. * nt/emacs-src.tags:
  6677. * nt/envadd.bat:
  6678. * nt/gmake.defs:
  6679. * nt/makefile.w32-in:
  6680. * nt/multi-install-info.bat:
  6681. * nt/nmake.defs:
  6682. * nt/paths.h:
  6683. * src/makefile.w32-in: Files deleted.
  6684. * nt/configure.bat: Remove everything except the blurb about the
  6685. new build procedure.
  6686. * make-dist: Remove references to makefile.w32-in in various
  6687. directories, and to files in nt/ that were deleted.
  6688. * etc/NEWS: Mention the fact that the files were dropped.
  6689. 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
  6690. * doc/emacs/mule.texi (Charsets): Give fuller title for ISO-IR.
  6691. (Bug#21248)
  6692. 2015-08-14 Paul Eggert <eggert@cs.ucla.edu>
  6693. Default to inotify instead of gfile
  6694. * configure.ac (with_file_notification): Fix typo that
  6695. prevented suppression of file notification if HAVE_NS.
  6696. (NOTIFY_OBJ): Prefer inotify to gfile if both exist and
  6697. with_file_notification is 'yes' (Bug#21241).
  6698. * etc/NEWS: Mention this.
  6699. Fix broken URLs for ISO-IR
  6700. * doc/emacs/mule.texi (Charsets):
  6701. * lisp/international/mule-conf.el:
  6702. Fix broken URL (Bug#21248).
  6703. Low-level diagnostics now use ‘text-quoting-style’
  6704. * src/doprnt.c (doprnt):
  6705. Format ` and ' as per ‘text-quoting-style’.
  6706. * src/xdisp.c (vmessage, message): Mention that the format should
  6707. not contain ` or '.
  6708. Prefer ‘format’ to ‘substitute-command-keys’
  6709. * src/character.h (uLSQM, uRSQM): Move here ...
  6710. * src/doc.c (uLSQM, uRSQM): ... from here.
  6711. * src/doc.c (Fsubstitute_command_keys):
  6712. * src/syntax.c (Finternal_describe_syntax_value):
  6713. * lisp/cedet/mode-local.el (mode-local-print-binding)
  6714. (mode-local-describe-bindings-2):
  6715. * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
  6716. * lisp/cus-theme.el (describe-theme-1):
  6717. * lisp/descr-text.el (describe-text-properties-1, describe-char):
  6718. * lisp/emacs-lisp/cl-extra.el (cl--describe-class):
  6719. * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
  6720. * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
  6721. * lisp/emacs-lisp/package.el (describe-package-1):
  6722. * lisp/faces.el (describe-face):
  6723. * lisp/help-fns.el (help-fns--key-bindings)
  6724. (help-fns--compiler-macro, help-fns--parent-mode)
  6725. (help-fns--obsolete, help-fns--interactive-only)
  6726. (describe-function-1, describe-variable):
  6727. * lisp/help.el (describe-mode):
  6728. Prefer ‘format’ to ‘substitute-command-keys’ when either will do
  6729. to implement quoting style. This generally makes the code simpler.
  6730. Extend ‘format’ to translate curved quotes
  6731. This is a followup to the recent doc string change, and deals with
  6732. diagnostics and the like. This patch is more conservative than
  6733. the doc string change, in that the behavior of ‘format’ changes
  6734. only if its first arg contains curved quotes and the user prefers
  6735. straight or grave quotes. (Come to think of it, perhaps we should
  6736. be similarly conservative with doc strings too, but that can wait.)
  6737. The upside of this conservatism is that existing usage is almost
  6738. surely unaffected. The downside is that we'll eventually have to
  6739. change Emacs's format strings to use curved quotes in places where
  6740. the user might want curved quotes, but that's a simple and
  6741. mechanical translation that I'm willing to do later. (Bug#21222)
  6742. * doc/lispref/help.texi (Keys in Documentation):
  6743. Move description of text-quoting-style from here ...
  6744. * doc/lispref/strings.texi (Formatting Strings):
  6745. ... to here, and describe new behavior of ‘format’.
  6746. * etc/NEWS: Describe new behavior.
  6747. * lisp/calc/calc-help.el (calc-describe-thing):
  6748. * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
  6749. * lisp/info.el (Info-find-index-name):
  6750. Use ‘concat’ rather than ‘format’ to avoid misinterpretation
  6751. of recently-added curved quotes.
  6752. * src/doc.c (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
  6753. Move from here ...
  6754. * src/lisp.h: ... to here.
  6755. * src/doc.c (text_quoting_style): New function.
  6756. (Fsubstitute_command_keys): Use it.
  6757. * src/editfns.c (Fformat): Implement new behavior.
  6758. * src/lisp.h (enum text_quoting_style): New enum.
  6759. 2015-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
  6760. * src/keyboard.c: Use false/true instead of 0/1 for booleans.
  6761. * src/keyboard.h (struct kboard): Mark kbd_queue_has_data as boolean.
  6762. 2015-08-14 Michael Albinus <michael.albinus@gmx.de>
  6763. * lisp/net/tramp-sh.el (tramp-sh-handle-file-acl): Do not redirect
  6764. stderr to /dev/null, this is done in `tramp-send-command-and-check'.
  6765. 2015-08-14 Jürgen Hötzel <juergen@archlinux.org>
  6766. Flush file properties in Tramp
  6767. * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-modes)
  6768. (tramp-sh-handle-set-file-times):
  6769. * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-modes)
  6770. (tramp-adb-handle-set-file-times): Flush the file properties of
  6771. the directory.
  6772. 2015-08-14 Ronnie Schnell <ronnie@driver-aces.com>
  6773. * doc/emacs/misc.text (Amusements): Fixed typo.
  6774. 2015-08-14 Eli Zaretskii <eliz@gnu.org>
  6775. Don't miss warnings about removing string text properties while dumping
  6776. * src/alloc.c (purecopy): Warn about removing a string's text
  6777. properties even when the same string was already pure-copied
  6778. earlier.
  6779. * lisp/progmodes/elisp-mode.el (elisp--xref-format)
  6780. (elisp--xref-format-extra): Fix the commentary.
  6781. 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
  6782. * lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049).
  6783. 2015-08-13 Magnus Henoch <magnus.henoch@gmail.com>
  6784. * lisp/progmodes/compile.el: Use lexical-binding.
  6785. (compilation-move-to-column): Assume 8-wide TABs (bug#21038).
  6786. 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
  6787. (uniquify-ask-about-buffer-names-p): Remove, unused (bug#21037)
  6788. * lisp/uniquify.el: Remove redundant `:group's.
  6789. 2015-08-13 Jürgen Hötzel <juergen@archlinux.org>
  6790. * lisp/net/tramp-adb.el
  6791. (tramp-adb-handle-directory-files-and-attributes): Make a copy of
  6792. result to prevent modification of the tramp-cache by side effects.
  6793. Use the correct cache key.
  6794. 2015-08-13 Paul Eggert <eggert@cs.ucla.edu>
  6795. Make add_to_log varargs
  6796. * src/alloc.c (run_finalizer_handler):
  6797. * src/charset.c (load_charset_map_from_vector):
  6798. * src/nsimage.m (ns_load_image):
  6799. * src/xfaces.c (load_pixmap, load_color2):
  6800. Simplify, now that add_to_log has a variable number of args.
  6801. * src/image.c (image_error): Take a variable number of args.
  6802. Callers simplified.
  6803. * src/lisp.h (add_to_log, vadd_to_log): Adjust to new APIs.
  6804. * src/xdisp.c (format_nargs, vadd_to_log): New functions.
  6805. (add_to_log): Make varargs, and reimplement in terms of vadd_to_log.
  6806. * src/xfaces.c (merge_face_ref): Fix typo that omitted color name.
  6807. Optional args for holiday-greek-orthodox-easter
  6808. * etc/NEWS: Document this.
  6809. * lisp/calendar/holidays.el (holiday-greek-orthodox-easter):
  6810. Add optional args N and STRING, mimicking the API and code of
  6811. ‘holiday-easter-etc’. From suggestion by Foivos S. Zakkak (Bug#21256).
  6812. 2015-08-13 Stephen Leake <stephen_leake@stephe-leake.org>
  6813. xref-find-definitions: Exclude more generic function items.
  6814. * lisp/emacs-lisp/cl-generic.el (cl--generic-search-method):
  6815. Add doc string.
  6816. (cl--generic-find-defgeneric-regexp): New.
  6817. (find-function-regexp-alist): Add it.
  6818. * lisp/emacs-lisp/find-func.el (find-feature-regexp): Move here from
  6819. elisp-mode.el, change to search for ";;; Code:"
  6820. (find-alias-regexp): Move here from elisp-mode.el, cleaned up.
  6821. (find-function-regexp-alist): Add them.
  6822. * lisp/progmodes/elisp-mode.el:
  6823. (elisp--xref-format, elisp--xref-format-extra): Change back to
  6824. defvar due to bug#21237.
  6825. (elisp--xref-find-definitions): Exclude co-located default methods for
  6826. generic functions. Also exclude implicitly declared defgeneric.
  6827. (elisp--xref-find-definitions): Handle C source properly. Exclude minor
  6828. mode variables defined by 'define-minor-mode'.
  6829. * test/automated/elisp-mode-tests.el: Declare generic functions, add
  6830. tests for them.
  6831. (xref-elisp-test-run): Fix bug.
  6832. (emacs-test-dir): Improve initial value.
  6833. (find-defs-defun-defvar-el): Don't expect defvar.
  6834. (find-defs-feature-el): Match change to find-feature-regexp.
  6835. 2015-08-13 Eli Zaretskii <eliz@gnu.org>
  6836. Improve warning about purecopy of strings with properties
  6837. * src/alloc.c (purecopy): Show the offending string with the
  6838. warning about removing its text properties.
  6839. 2015-08-12 Alan Mackenzie <acm@muc.de>
  6840. Introduce new macros to cover Emacs's new names in cl-lib.el
  6841. This also eliminates `mapcan' warnings in XEmacs.
  6842. * lisp/progmodes/cc-defs.el (c--mapcan-status): New variable to
  6843. characterise [X]Emacs versions.
  6844. (top-level): Require either 'cl or 'cl-lib, depending on
  6845. c--mapcan-status.
  6846. Change this back to cc-external-require from an eval-when-compile
  6847. require.
  6848. (c--mapcan, c--set-difference, c--intersection, c--macroexpand-all)
  6849. (c--delete-duplicates): New macros which expand into either old or new
  6850. names.
  6851. (c-make-keywords-re, c-lang-defconst, c-lang-const): Use the new macros
  6852. rather than the old names.
  6853. * lisp/progmodes/cc-engine.el (c-declare-lang-variables): Use c--mapcan
  6854. rather than mapcan.
  6855. * lisp/progmodes/cc-fonts.el (c-compose-keywords-list): Use c--mapcan.
  6856. * lisp/progmodes/cc-langs.el (top-level): Require either 'cl or 'cl-lib,
  6857. depending on c--mapcan-status.
  6858. (c-filter-ops, c-all-op-syntax-tokens, c-assignment-op-regexp)
  6859. (c-type-start-kwds, c-prefix-spec-kwds, c-specifier-key)
  6860. (c-not-decl-init-keywords, c-not-primitive-type-keywords)
  6861. (c-paren-any-kwds, c-<>-sexp-kwds, c-block-stmt-kwds, c-expr-kwds)
  6862. (c-decl-block-key, c-keywords, c-keywords-obarray)
  6863. (c-regular-keywords-regexp, c-primary-expr-regexp)
  6864. (c-primary-expr-regexp, c-block-prefix-disallowed-chars)
  6865. (c-known-type-key, c-nonlabel-token-key)
  6866. (c-make-init-lang-vars-fun): Use the new macros rather than the old
  6867. names.
  6868. 2015-08-12 Oleh Krehel <ohwoeowho@gmail.com>
  6869. loadhist.el (read-feature): Conform to completing-read
  6870. * lisp/loadhist.el (read-feature): According to `completing-read'
  6871. documentation, if collection is a list, then it must be a list of
  6872. strings, not a list of symbols like before.
  6873. 2015-08-12 David Kastrup <dak@gnu.org>
  6874. Deal gracefully with up-events (Bug#19746)
  6875. * src/keyboard.c (apply_modifiers_uncached, parse_solitary_modifier)
  6876. (parse_modifiers_uncached): React gracefully to "up-" modifiers:
  6877. those may easily be injected by user-level Lisp code.
  6878. (read_key_sequence): Discard unbound up-events like unbound
  6879. down-events: they are even more likely only relevant for special
  6880. purposes.
  6881. While Emacs will not produce up-events on its own currently (those are
  6882. converted to drag or click events before being converted to
  6883. Lisp-readable structures), the input queue can be made to contain them
  6884. by synthesizing events to `unread-command-events'. Emacs should deal
  6885. consistently with such events.
  6886. 2015-08-12 Eli Zaretskii <eliz@gnu.org>
  6887. Fix display of thin lines whose newline has line-height property of t
  6888. * src/xdisp.c (append_space_for_newline): Don't try to fix ascent
  6889. and descent values of non-empty glyph rows, since they could have
  6890. forced low values deliberately. (Bug#21243)
  6891. 2015-08-12 Richard Stallman <rms@gnu.org>
  6892. Offer to combine multiple To or CC fields.
  6893. * lisp/mail/sendmail.el (mail-combine-fields): New function.
  6894. (mail-send): Call 'mail-combine-fields'.
  6895. Don't decrypt encrypted files.
  6896. * lisp/mail/mail-utils.el (mail-file-babyl-p): Bind epa-inhibit to t.
  6897. Handle encrypted mbox files.
  6898. * lisp/mail/rmailout.el (rmail-output-as-mbox): Decrypt and reencrypt
  6899. the mbox file if necessary.
  6900. Re-enable mime processing after decryption. Add 'decrypt' keyword.
  6901. * lisp/mail/rmail.el (rmail-epa-decrypt-1): New subroutine.
  6902. (rmail-epa-decrypt): rmail-epa-decrypt-1 broken out.
  6903. In a mime message, reenable Mime and show the parts that
  6904. were shown before.
  6905. Add keyword "decrypt" if anything decrypted.
  6906. epa-inhibit inhibits auto-recognition of .gpg files
  6907. * lisp/epa-file.el (epa-inhibit): New variable.
  6908. (epa-file-handler): Check epa-inhibit.
  6909. 2015-08-12 Artur Malabarba <bruce.connor.am@gmail.com>
  6910. * lisp/emacs-lisp/lisp-mnt.el (lm-header): Add save-excursion.
  6911. 2015-08-11 Fabián Ezequiel Gallina <fgallina@gnu.org>
  6912. Respect python.el imenu when semantic-mode is off
  6913. Fixes bug#21220
  6914. * lisp/cedet/semantic/wisent/python.el: Do not force
  6915. wisent-python-default-setup on python-mode-hook.
  6916. 2015-08-11 Paul Eggert <eggert@cs.ucla.edu>
  6917. Give names to Unicode code points in C code
  6918. * src/character.h (NO_BREAK_SPACE, SOFT_HYPHEN)
  6919. (ZERO_WIDTH_NON_JOINER, ZERO_WIDTH_JOINER, HYPHEN)
  6920. (NON_BREAKING_HYPHEN, LEFT_SINGLE_QUOTATION_MARK)
  6921. (RIGHT_SINGLE_QUOTATION_MARK, PARAGRAPH_SEPARATOR)
  6922. (LEFT_POINTING_ANGLE_BRACKET, RIGHT_POINTING_ANGLE_BRACKET)
  6923. (LEFT_ANGLE_BRACKET, RIGHT_ANGLE_BRACKET)
  6924. (OBJECT_REPLACEMENT_CHARACTER):
  6925. New named constants for Unicode code points.
  6926. * src/bidi.c (bidi_fetch_char, CANONICAL_EQU):
  6927. * src/composite.c (char_composable_p):
  6928. * src/lread.c (readevalloop, read1):
  6929. * src/xdisp.c (get_next_display_element):
  6930. Use them.
  6931. * src/doc.c (LEFT_SINGLE_QUOTATION_POINT):
  6932. Remove; now in character.h.
  6933. 2015-08-11 Stephen Leake <stephen_leake@stephe-leake.org>
  6934. elisp--xref-find-definitions handle cl-defstuct default constructor
  6935. * lisp/progmodes/elisp-mode.el (elisp-xref-find): Add FIXME.
  6936. (elisp--xref-format-extra): Rename from elisp--xref-format-cl-defmethod.
  6937. (elisp--xref-find-definitions): Handle cl-defstuct default constructor.
  6938. * test/automated/elisp-mode-tests.el (xref-elisp-test-run): Split out
  6939. from xref-elisp-test for ease of debugging.
  6940. (xref-elisp-deftest): Rename from xref-elisp-test.
  6941. (find-defs-constructor): New test.
  6942. (find-defs-defgeneric-el): Match batch test config.
  6943. (compile): Required for find-defs compilation-minor-mode test.
  6944. (find-defs-defvar-el): Match code change.
  6945. (find-defs-face-el): Match code change.
  6946. * lisp/progmodes/xref.el (xref-find-function, xref-find-definitions):
  6947. Improve doc string.
  6948. 2015-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
  6949. * lisp/replace.el (perform-replace): Document `replacements'.
  6950. (perform-replace): Move the description of the format of `replacements'
  6951. from the body's comment to the doc string.
  6952. 2015-08-11 Jürgen Hötzel <juergen@archlinux.org>
  6953. * lisp/net/tramp-adb.el (tramp-adb-prompt): Match leading escape
  6954. sequence. Recent adb version send initial escape sequences, even
  6955. when terminal type is set to TERM=dumb.
  6956. 2015-08-10 Stephen Leake <stephen_leake@stephe-leake.org>
  6957. Rewrite elisp--xref-find-definitions to handle many more cases; add tests
  6958. * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
  6959. Function deleted.
  6960. (elisp--xref-format-cl-defmethod): New defconst.
  6961. (find-feature-regexp, find-alias-regexp): New defcustoms.
  6962. (elisp--xref-make-xref): New function.
  6963. (elisp--xref-find-definitions): Rewrite using the above, handle many
  6964. more cases. Always output all available definitions.
  6965. (xref-location-marker): No need for special cases.
  6966. * test/automated/elisp-mode-tests.el: Add more tests of
  6967. elisp--xref-find-definitions, improve current tests.
  6968. 2015-08-10 Eli Zaretskii <eliz@gnu.org>
  6969. Fix recording of events pushed onto unread-command-events
  6970. * src/keyboard.c (read_char): Make sure events read from
  6971. unread-command-events and unread-post-input-method-events are
  6972. always recorded by record_char. Reported by David Kastrup
  6973. <dak@gnu.org>, see
  6974. http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00193.html.
  6975. 2015-08-10 Samer Masterson <samer@samertm.com>
  6976. Set file buffer as current for "--file"
  6977. * lisp/startup.el (command-line-1): Set file buffer as current before
  6978. it is displayed so it can be used with options like "--eval".
  6979. (Bug#21095)
  6980. 2015-08-10 Eli Zaretskii <eliz@gnu.org>
  6981. Avoid setting LC_NUMERIC on MS-Windows to anything but "C"
  6982. * src/emacs.c (synchronize_locale) [WINDOWSNT]: Call fixup_locale
  6983. after setting LC_ALL to the desired locale, to avoid affecting how
  6984. numbers are read and printed. (Bug#21223)
  6985. 2015-08-10 Alan Mackenzie <acm@muc.de>
  6986. Fix "Invalid search bound (wrong side of point)" in fontification
  6987. * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): After skipping
  6988. an initialization expression, check point is not beyond the
  6989. fontification limit.
  6990. 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
  6991. Fix DPI calculation when Xft/DPI is default
  6992. * src/xsettings.c (parse_settings): Don't use Xft/DPI default
  6993. value of -1, which evaluates to 2**32 - 1 (Bug#21152).
  6994. Remove unnecessary cast while we're in the neighborhood.
  6995. 2015-08-09 Dmitry Gutov <dgutov@yandex.ru>
  6996. Add project-vc-search-path and project-vc-ignores
  6997. * lisp/progmodes/project.el (project-vc): New group.
  6998. (project-vc-search-path, project-vc-ignores): New variables.
  6999. (project--value-in-dir): Utility function.
  7000. (project-search-path, project-ignores): Use them.
  7001. * lisp/progmodes/xref.el (xref--rgrep-command): Only replace `./'
  7002. at bos. Don't add extra `/'. Don't prepend with `*' if replaced.
  7003. 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
  7004. Fix some minor quoting issues with grave accent
  7005. * src/dispnew.c (add_window_display_history) [GLYPH_DEBUG]:
  7006. Remove redundant quotes.
  7007. * src/doc.c (uLSQM, uRSQM): New macros.
  7008. * src/doc.c (Fsubstitute_command_keys):
  7009. * src/syntax.c (Finternal_describe_syntax_value): Follow the user
  7010. preference for quotes rather than hardcoding the ‘grave’ style.
  7011. * src/regex.c (PUSH_FAILURE_POINT, POP_FAILURE_POINT)
  7012. (re_match_2_internal) [DEBUG]: In debugging output, quote C
  7013. strings with "...", not `...'.
  7014. ChangeLog.2 ignores remote-tracking merges
  7015. * build-aux/gitlog-to-emacslog: Ignore commit logs matching
  7016. "Merge remote-tracking branch '.*'" too. See Eli Zaretskii in:
  7017. http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00384.html
  7018. 2015-08-09 Nicolas Richard <youngfrog@members.fsf.org>
  7019. Use kpsewhich in ffap-latex-mode, if available
  7020. * lisp/ffap.el (ffap-latex-guess-rules): New variable.
  7021. (ffap-latex-mode): Use kpsewhich if available.
  7022. ffap: disallow braces in filenames for tex modes
  7023. * lisp/ffap.el (ffap-string-at-point-mode-alist): Don't allow
  7024. braces in tex-related modes.
  7025. Remove useless backslashes from ffap-string-at-point-mode-alist
  7026. * lisp/ffap.el (ffap-string-at-point-mode-alist): Remove useless and
  7027. misleading backslashes from default value.
  7028. Augment docstring of ffap-string-at-point-mode-alist
  7029. * lisp/ffap.el (ffap-string-at-point-mode-alist): Describe how BEG
  7030. and END are handled.
  7031. 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
  7032. * lisp/org/org-src.el (org-edit-src-code)
  7033. (org-edit-fixed-width-region):
  7034. * lisp/simple.el (completion-setup-function):
  7035. Remove calls to substitute-command-keys that always just return
  7036. their argument.
  7037. 2015-08-09 Daiki Ueno <ueno@gnu.org>
  7038. * lisp/epa.el (epa-exit-buffer-function): Set to `quit-window'.
  7039. (Bug#21210)
  7040. 2015-08-09 Ivan Kanis <ivan@kanis.fr>
  7041. Fix link to source code in help window
  7042. * lisp/help-fns.el (find-lisp-object-file-name): Remove code that
  7043. will never work due to Glenn Morris change a6d63d9 on Apr 20 2013
  7044. 'No longer include timestamp in header of .elc files'. Add code
  7045. that will return .el source file in load-path.
  7046. 2015-08-09 Artur Malabarba <bruce.connor.am@gmail.com>
  7047. * lisp/isearch.el (isearch-search-fun-default): (Bug#21164)
  7048. Respect `isearch-lax-whitespace' when searching through
  7049. `isearch-word'.
  7050. 2015-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
  7051. * test/automated/ert-tests.el (ert-test-deftest): Add FIXME.
  7052. * org.el: Fix up some lexical scoping warnings, and use dolist
  7053. * lisp/org/org.el (org-set-regexps-and-options-for-tags, org-goto-map)
  7054. (org-set-regexps-and-options, org-assign-fast-keys)
  7055. (org-contextualize-keys, org-contextualize-validate-key)
  7056. (org-notes-order-reversed-p, org-local-logging, org-map-entries)
  7057. (org-find-olp, org-find-exact-heading-in-directory)
  7058. (org-cycle-agenda-files, org-release-buffers, org-fill-template)
  7059. (org-agenda-prepare-buffers, org-occur-in-agenda-files)
  7060. (org-replace-escapes): Use dolist.
  7061. (org-mode): Optimize away XEmacs-only code.
  7062. (org-refile-get-targets): Remove unused var `f'.
  7063. (org-fast-todo-selection): Remove unused var `e'.
  7064. (org-make-tags-matcher): Use dolist. Remove unused var `term'.
  7065. (org-fast-tag-selection): Use dolist. Remove unused var `e'.
  7066. (org-format-latex): Use dolist. Remove unused var `e'.
  7067. (org-toggle-heading): Access vars lexically rather than dynamically.
  7068. (org-backward-sentence, org-forward-sentence, org-meta-return)
  7069. (org-kill-line): Mark arg as unused.
  7070. (org-submit-bug-report): Silence compiler warning.
  7071. (org-occur-in-agenda-files): Don't use add-to-list on local vars.
  7072. (org-get-cursor-date): Remove unused var `tm'.
  7073. (org-comment-or-uncomment-region): Use standard name `_'.
  7074. (reftex-docstruct-symbol, reftex-cite-format): Declare to
  7075. silence byte-compiler.
  7076. (org-reftex-citation): Add `org--' prefix to dynamically scoped
  7077. `rds' var.
  7078. 2015-08-08 Paul Eggert <eggert@cs.ucla.edu>
  7079. Electric quote if coding is undecided or no conv
  7080. * lisp/electric.el (electric--insertable-p): Also say that a
  7081. string is insertable if the buffer file coding system is undecided
  7082. or uses no conversion, as curved quotes will work in either case.
  7083. * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Simplify configuration.
  7084. 2015-08-08 Eli Zaretskii <eliz@gnu.org>
  7085. Fix overlay string display regressions introduced in Emacs 24.5
  7086. * src/xdisp.c (pop_it): Reset the flag to ignore overlays at this
  7087. buffer position, if we move the iterator to a new position as
  7088. result of jumping over text covered by a "replacing" display
  7089. property.
  7090. * test/redisplay-testsuite.el (test-redisplay-4): Add 2 new tests.
  7091. Support recovery from C stack overflow on MS-Windows
  7092. * src/w32fns.c (w32_reset_stack_overflow_guard)
  7093. (stack_overflow_handler): New functions for handling C stack
  7094. overflow exceptions.
  7095. (my_exception_handler): Handle EXCEPTION_STACK_OVERFLOW exceptions
  7096. specially, and zero out except_addr if we do.
  7097. (globals_of_w32fns): Initialize dwMainThreadId in non-interactive
  7098. mode.
  7099. * src/sysdep.c [HAVE_STACK_OVERFLOW_HANDLING]: Add !WINDOWSNT to
  7100. the condition, as HAVE_STACK_OVERFLOW_HANDLING is now defined for
  7101. the MinGW build, but the code guarded by that is for Posix hosts.
  7102. * src/keyboard.c (command_loop) [WINDOWSNT]:
  7103. Call w32_reset_stack_overflow_guard.
  7104. * nt/inc/ms-w32.h (sigjmp_buf): New typedef.
  7105. (sigsetjmp): New macro.
  7106. (w32_reset_stack_overflow_guard): Declare the prototype.
  7107. * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Set to 1 for MinGW.
  7108. 2015-08-07 Phillip Lord <phillip.lord@newcastle.ac.uk>
  7109. Improve error signalling for seq-subseq
  7110. * lisp/seq.el (seq-subseq): The existing behavior is to error
  7111. when indexes are too large, but to silently ignore numbers which
  7112. are too negative for lists. String and vector handling errors in
  7113. both cases. This has been regularized. Error signaling behavior
  7114. has been explicitly added to the doc string.
  7115. * lisp/cl-extra.el (cl-subseq): Defers to (seq-subseq) and is
  7116. therefore also impacted by this change. Update the doc string
  7117. to reflect this.
  7118. * test/automated/seq-tests.el (test-seq-subseq): Tests have been
  7119. added for these exceptional cases, as well as one non exceptional
  7120. base case.
  7121. 2015-08-07 Jürgen Hötzel <juergen@archlinux.org>
  7122. Improve error checking in tramp-adb.el
  7123. * lisp/net/tramp-adb.el (tramp-adb-ls-output-name-less-p):
  7124. Improve error checking. "ls -l" on Android in Enforcing mode can
  7125. print "lstat './FILENAME failed: Permission denied".
  7126. 2015-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
  7127. * lisp/emacs-lisp/cl-generic.el (cl--generic-struct-tag): Don't burp on
  7128. non-struct vectors.
  7129. 2015-08-07 Stephen Leake <stephen_leake@stephe-leake.org>
  7130. Fix typo in lisp/window.el, more `display-buffer-use-some-frame'
  7131. * lisp/window.el: Fix typo that broke build.
  7132. (display-buffer--action-function-custom-type):
  7133. Add `display-buffer-use-some-frame'.
  7134. (display-buffer): Add `display-buffer-use-some-frame' to doc string.
  7135. Add support for 'inhibit-same-window in 'display-buffer-use-some-frame'
  7136. * lisp/window.el (display-buffer-use-some-frame): Add support for
  7137. 'inhibit-same-window in alist.
  7138. * doc/windows.texi (display-buffer-use-some-frame): Doc support for
  7139. 'inhibit-same-window in alist.
  7140. 2015-08-07 Eli Zaretskii <eliz@gnu.org>
  7141. Avoid infinite loop in display of invisible text in strings
  7142. * src/xdisp.c (handle_invisible_prop): If the next change of
  7143. invisibility spec does not mean the beginning of a visible text,
  7144. update the string position from which to start the search for the
  7145. next invisibility change. This avoids an infinite loop when we
  7146. have more than one invisibility spec that are made inactive by
  7147. buffer-invisibility-spec. Simplify code. (Bug#21200)
  7148. * test/redisplay-testsuite.el (test-redisplay-4): Add a test case
  7149. for the situation that caused bug #21200.
  7150. 2015-08-06 Artur Malabarba <bruce.connor.am@gmail.com>
  7151. * lisp/emacs-lisp/package.el: Simplify describe-package-1
  7152. (package-help-section-name-face): New face.
  7153. (package--print-help-section): New function.
  7154. (describe-package-1): Refactor section printing.
  7155. (package-make-button): Use face instead of font-lock-face, which
  7156. doesn't work on buttons.
  7157. * lisp/emacs-lisp/package.el: Define custom faces
  7158. (package-name-face, package-description-face)
  7159. (package-status-built-in-face, package-status-external-face)
  7160. (package-status-available-face, package-status-new-face)
  7161. (package-status-held-face, package-status-disabled-face)
  7162. (package-status-installed-face, package-status-dependency-face)
  7163. (package-status-unsigned-face, package-status-incompat-face)
  7164. (package-status-avail-obso-face): New faces.
  7165. (package-menu--print-info-simple): Use them.
  7166. 2015-08-05 Paul Eggert <eggert@cs.ucla.edu>
  7167. Fix some confusion with ‘format’
  7168. * lisp/allout-widgets.el (allout-widgets-before-change-handler)
  7169. (allout-graphics-modification-handler):
  7170. Protect arbitrary string in a format context with "%s" format.
  7171. * lisp/avoid.el:
  7172. * lisp/cedet/semantic/bovine/scm.el: Fix comment.
  7173. * lisp/calendar/icalendar.el (icalendar--convert-sexp-to-ical):
  7174. * lisp/erc/erc-button.el (erc-button-beats-to-time):
  7175. * lisp/gnus/message.el (message-send-form-letter):
  7176. * lisp/org/ob-core.el (org-babel-check-evaluate)
  7177. (org-babel-confirm-evaluate):
  7178. * lisp/org/ob-fortran.el (org-babel-fortran-var-to-fortran):
  7179. * lisp/org/ox-latex.el (org-latex-compile):
  7180. * lisp/org/ox-man.el (org-man-compile):
  7181. * lisp/org/ox-odt.el (org-odt-template):
  7182. * lisp/org/ox-texinfo.el (org-texinfo-compile):
  7183. * lisp/progmodes/prolog.el (prolog-help-info)
  7184. (prolog-view-predspec):
  7185. * lisp/progmodes/ruby-mode.el (ruby-parse-partial):
  7186. * lisp/progmodes/verilog-mode.el (verilog-showscopes):
  7187. * lisp/textmodes/rst.el (rst-replace-lines):
  7188. Change (message (format ...)) to (message ...), and likewise
  7189. for ‘error’. This lessens the probability of confusion when the
  7190. output of ‘format’ contains ‘%’.
  7191. 2015-08-05 Artur Malabarba <bruce.connor.am@gmail.com>
  7192. * lisp/replace.el (replace-character-fold): Default to nil.
  7193. * lisp/character-fold.el: Fix lax whitespace.
  7194. (character-fold-table): Don't make space match other whitespace chars.
  7195. (character-fold-to-regexp): Simplify lax behavior.
  7196. 2015-08-05 Dmitry Gutov <dgutov@yandex.ru>
  7197. Preserve window point in xref-find-definitions-other-window
  7198. Fix the problem reported by Ingo Logmar in
  7199. http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00152.html
  7200. * lisp/progmodes/xref.el (xref--goto-char): Extract from
  7201. xref--goto-location.
  7202. (xref--pop-to-location): Use it. Replace xref--goto-location with
  7203. a direct xref-location-marker call.
  7204. (xref--show-location): Likewise.
  7205. (xref--display-position): Use xref--goto-char.
  7206. * lisp/progmodes/project.el: Add a paragraph to the front matter.
  7207. 2015-08-04 David Kastrup <dak@gnu.org>
  7208. * lisp/vc/emerge.el (emerge-show-file-name):
  7209. * lisp/progmodes/vhdl-mode.el (vhdl-electric-dash)
  7210. (vhdl-comment-insert, vhdl-hooked-abbrev):
  7211. * lisp/progmodes/octave.el (inferior-octave-dynamic-list-input-ring):
  7212. * lisp/progmodes/fortran.el (fortran-window-create-momentarily):
  7213. * lisp/progmodes/ebrowse.el (ebrowse-hack-electric-buffer-menu):
  7214. * lisp/progmodes/cperl-mode.el (cperl-putback-char):
  7215. * lisp/obsolete/vip.el (vip-escape-to-emacs)
  7216. (vip-prefix-arg-value, vip-prefix-arg-com):
  7217. * lisp/obsolete/terminal.el (te-escape-extended-command-unread):
  7218. * lisp/leim/quail/tibetan.el (quail-tibetan-update-translation)
  7219. (quail-tibkey-update-translation):
  7220. * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
  7221. * lisp/leim/quail/lao.el (quail-lao-update-translation):
  7222. * lisp/leim/quail/japanese.el (quail-japanese-update-translation)
  7223. (quail-japanese-self-insert-and-switch-to-alpha):
  7224. * lisp/leim/quail/hangul.el (hangul2-input-method)
  7225. (hangul3-input-method, hangul390-input-method):
  7226. * lisp/language/hanja-util.el (hangul-to-hanja-char):
  7227. * lisp/international/robin.el (robin-input-method):
  7228. * lisp/international/quail.el (quail-start-translation)
  7229. (quail-start-conversion):
  7230. * lisp/gnus/gnus-art.el (gnus-article-describe-key)
  7231. (gnus-article-describe-key-briefly):
  7232. * lisp/eshell/em-hist.el (eshell-list-history):
  7233. * lisp/term.el (term-dynamic-list-input-ring)
  7234. (term-dynamic-list-completions):
  7235. * lisp/subr.el (momentary-string-display):
  7236. * lisp/simple.el (read-quoted-char):
  7237. * lisp/pcomplete.el (pcomplete-show-completions):
  7238. * lisp/kmacro.el (kmacro-repeat-on-last-key):
  7239. * lisp/info.el (Info-summary):
  7240. * lisp/ehelp.el (electric-help-command-loop):
  7241. * lisp/ebuff-menu.el (electric-buffer-list)
  7242. (Electric-buffer-menu-exit):
  7243. * lisp/double.el (double-translate-key):
  7244. * lisp/comint.el (comint-dynamic-list-input-ring)
  7245. (comint-dynamic-list-completions): Do not overwrite preexisting
  7246. contents of `unread-command-events' when putting new events into it.
  7247. 2015-08-04 Daniel Colascione <dancol@dancol.org>
  7248. Improve ansi-color filtering of unrecognized escape sequences
  7249. * lisp/ansi-color.el (ansi-color-drop-regexp): Recognize mode-setting
  7250. escape sequences.
  7251. (ansi-color-filter-apply, ansi-color-apply): Filter out
  7252. unrecognized escape sequences.
  7253. 2015-08-04 Artur Malabarba <bruce.connor.am@gmail.com>
  7254. * lisp/emacs-lisp/package.el (package-menu-mode-map): Convert menu
  7255. definitions to `easy-menu-define', improve a couple to account for
  7256. async, and add a couple of new commands.
  7257. 2015-08-03 Jürgen Hötzel <juergen@archlinux.org>
  7258. * lisp/net/tramp-cache.el (tramp-set-file-property): Fix code typo.
  7259. 2015-08-03 Ingo Lohmar <i.lohmar@gmail.com>
  7260. Add new 'calendar-weekend-days' option
  7261. Make the days receiving the 'calendar-weekend-header' face freely
  7262. customizable, as they differ by region/culture.
  7263. * doc/emacs/calendar.texi (Move to Beginning or End): Document the
  7264. new variable.
  7265. * lisp/calendar/calendar.el (calendar-generate-month): New variable
  7266. calendar-weekend-days to customize day header fontification.
  7267. 2015-08-03 Paul Eggert <eggert@cs.ucla.edu>
  7268. Redo text-quoting-style variable
  7269. Rename help-quote-translation to text-quoting-style,
  7270. and use symbols rather than characters as values.
  7271. This follows suggestions along these lines by Alan Mackenzie in:
  7272. http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00343.html
  7273. and by Drew Adams in:
  7274. http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00048.html
  7275. * doc/lispref/help.texi (Keys in Documentation)
  7276. * etc/NEWS:
  7277. * lisp/cus-start.el (standard):
  7278. * src/doc.c (Fsubstitute_command_keys, syms_of_doc):
  7279. Document and/or implement the new behavior instead of the old.
  7280. (syms_of_doc): New symbols 'grave' and 'straight'.
  7281. 2015-08-03 Nikolaus Rath <Nikolaus@rath.org>
  7282. nnimap.el: Use IMAP MOVE extension if available
  7283. * lisp/gnus/nnimap.el (nnimap-request-move-article)
  7284. (nnimap-process-expiry-targets, nnimap-split-incoming-mail):
  7285. Use MOVE extension if available.
  7286. nnimap.el: Explicitly ask for server capabilities
  7287. * lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't assume full
  7288. capabilities will be returned in the login-result.
  7289. 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
  7290. Treat help strings like other doc strings
  7291. * doc/lispref/text.texi (Special Properties), etc/NEWS: Document this.
  7292. * lisp/epa.el (epa--select-keys): Remove no-longer-needed calls to
  7293. substitute-command-keys.
  7294. * src/keyboard.c (show_help_echo, parse_menu_item): Call
  7295. substitute-command-keys on the help string before displaying it.
  7296. Also mention "curly quotes"
  7297. See Drew Adams's email in:
  7298. http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00040.html
  7299. * doc/lispref/help.texi (Keys in Documentation):
  7300. Add index entry "curly quotes".
  7301. * etc/NEWS: Use the phrase "curly quotes" too.
  7302. ede-proj-target-makefile docstring tweaks
  7303. * lisp/cedet/ede/proj.el (ede-proj-target-makefile):
  7304. Consistently use "all:" to describe the all: target,
  7305. replacing three different and confusingly-quoted usages.
  7306. 2015-08-02 Evgeny Fraimovitch <johnlen7@gmail.com> (tiny change)
  7307. Don't abort emacsclientw when -a was specified
  7308. * lib-src/emacsclient.c (set_tcp_socket) [WINDOWSNT]: Don't error
  7309. out if we are in emacsclientw and -a was specified.
  7310. 2015-08-02 Eli Zaretskii <eliz@gnu.org>
  7311. Fix handling of 1st keystroke on MS-Windows
  7312. * src/w32fns.c (globals_of_w32fns): Initialize after_deadkey to -1.
  7313. This is needed to correctly handle the session's first keystroke,
  7314. if it has any modifiers. (Bug#19994)
  7315. 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
  7316. Substitute some customization etc. doc strings
  7317. These changes apply substitute-command-keys to some
  7318. doc strings that were going through untranslated
  7319. when creating customization or other widgets.
  7320. * lisp/cus-edit.el (custom-group-value-create):
  7321. * lisp/wid-edit.el (widget-default-create):
  7322. (widget-push-button-value-create):
  7323. Treat the widget tag as a doc string.
  7324. * lisp/emacs-lisp/cl-extra.el (cl--describe-class-slot):
  7325. Treat the :documentation value as a doc string.
  7326. * lisp/wid-edit.el (widget-choose):
  7327. Treat the choice names as doc strings.
  7328. (widget-default-create): Treat the :doc value as a doc string.
  7329. (widget-toggle-value-create): Treat the :on and :off values
  7330. as doc strings.
  7331. (widget-documentation-string-value-create):
  7332. Substitute the doc string.
  7333. 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
  7334. Add a second argument to project-ignores
  7335. * lisp/progmodes/project.el (project-ignores): Add a second
  7336. argument DIR.
  7337. * lisp/progmodes/project.el (project-ignores): Only include the VC
  7338. ignores if DIR is the VC root.
  7339. * lisp/progmodes/xref.el (xref-find-regexp): Update accordingly.
  7340. 2015-08-01 Eli Zaretskii <eliz@gnu.org>
  7341. Prevent incorrect display when 'line-spacing' variable is set
  7342. * src/xdisp.c (try_window_id): Give up this optimization if the
  7343. buffer has its 'line-spacing' variable set non-nil.
  7344. 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
  7345. Don't pass NOVISIT to find-file
  7346. * lisp/progmodes/etags.el (next-file):
  7347. Don't pass NOVISIT to find-file (bug#21175).
  7348. Ignore buffer restriction for tags-loop-eval
  7349. * lisp/progmodes/etags.el (tags-loop-continue): Ignore buffer
  7350. restriction (bug#21167).
  7351. 2015-08-01 Eli Zaretskii <eliz@gnu.org>
  7352. Fix a thinko in 'ffap-gopher-at-point'
  7353. * lisp/ffap.el (ffap-gopher-at-point): Fix last change. (Bug#21168)
  7354. Honor 'line-spacing' for empty lines
  7355. * src/xdisp.c (append_space_for_newline): Honor 'line-height'
  7356. property and 'line-spacing' frame parameter or variable or
  7357. property for empty lines, by doing the same processing as in
  7358. x_produce_glyph for newline characters. (Bug#21165)
  7359. 2015-08-01 Paul Eggert <eggert@cs.ucla.edu>
  7360. Simplify by assuming C99 integer division
  7361. * src/floatfns.c (ceiling2, floor2, truncate2):
  7362. Assume C99 (i.e., Fortran) semantics for integer division.
  7363. This simplifies the code.
  7364. 2015-07-31 Paul Eggert <eggert@cs.ucla.edu>
  7365. Don't overflow if computing approximate percentage
  7366. * lisp/align.el (align-region):
  7367. * lisp/cedet/semantic.el (semantic-repeat-parse-whole-stream):
  7368. * lisp/cedet/semantic/wisent.el (wisent-parse-region):
  7369. * lisp/cus-edit.el (custom-buffer-create-internal):
  7370. * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-ispell-loop)
  7371. (checkdoc-message-interactive-ispell-loop, checkdoc-next-error)
  7372. (checkdoc-next-message-error):
  7373. * lisp/emacs-lisp/eieio-opt.el (eieio-display-method-list):
  7374. * lisp/epa.el (epa-progress-callback-function):
  7375. * lisp/erc/erc-dcc.el (erc-dcc-do-LIST-command):
  7376. * lisp/ffap.el (ffap-menu-rescan):
  7377. * lisp/gnus/nnbabyl.el (nnbabyl-retrieve-headers):
  7378. * lisp/gnus/nndiary.el (nndiary-retrieve-headers):
  7379. * lisp/gnus/nneething.el (nneething-retrieve-headers):
  7380. * lisp/gnus/nnmbox.el (nnmbox-retrieve-headers):
  7381. * lisp/gnus/nnmh.el (nnmh-retrieve-headers):
  7382. * lisp/gnus/nnml.el (nnml-retrieve-headers):
  7383. * lisp/gnus/nnspool.el (nnspool-retrieve-headers):
  7384. * lisp/gnus/nntp.el (nntp-retrieve-headers)
  7385. (nntp-retrieve-articles):
  7386. * lisp/imenu.el (imenu--relative-position):
  7387. * lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
  7388. (skkdic-convert-okuri-nasi):
  7389. * lisp/net/ange-ftp.el (ange-ftp-process-handle-hash):
  7390. * lisp/nxml/rng-valid.el (rng-compute-mode-line-string):
  7391. * lisp/org/org-list.el (org-update-checkbox-count):
  7392. * lisp/org/org.el (org-table-map-tables)
  7393. (org-update-parent-todo-statistics):
  7394. * lisp/play/decipher.el (decipher-insert-frequency-counts)
  7395. (decipher-analyze-buffer):
  7396. * lisp/profiler.el (profiler-format-percent):
  7397. * lisp/progmodes/cc-cmds.el (c-progress-update):
  7398. * lisp/progmodes/cpp.el (cpp-highlight-buffer):
  7399. * lisp/progmodes/idlwave.el (idlwave-convert-xml-system-routine-info)
  7400. (idlwave-list-load-path-shadows):
  7401. * lisp/progmodes/opascal.el (opascal-step-progress):
  7402. * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
  7403. (vhdl-scan-directory-contents):
  7404. * lisp/textmodes/bibtex.el (bibtex-progress-message):
  7405. * lisp/textmodes/flyspell.el (flyspell-small-region)
  7406. (flyspell-external-point-words):
  7407. * lisp/textmodes/table.el (table-recognize):
  7408. Prefer (floor (* 100.0 NUMERATOR) DENOMINATOR) when calculating
  7409. progress-report percentages and the like. This avoids problems
  7410. if (* 100 NUMERATOR) would overflow.
  7411. * lisp/gnus/gnus-registry.el (gnus-registry-import-eld):
  7412. * lisp/gnus/registry.el (registry-reindex):
  7413. Use (* 100.0 ...) rather than (* 100 ...) to avoid int overflow issues.
  7414. * lisp/descr-text.el (describe-char):
  7415. * lisp/org/org-colview.el (org-nofm-to-completion):
  7416. * lisp/ps-print.el (ps-plot):
  7417. * lisp/simple.el (what-cursor-position):
  7418. Prefer (round (* 100.0 NUMERATOR) DENOMINATOR) to a
  7419. more-complicated and less-accurate approximation.
  7420. Fix some int overflows in profiler.c
  7421. * src/profiler.c (make_log): Make args EMACS_INT, not int,
  7422. to avoid unwanted behavior on 'int' overflow.
  7423. (make_log, evict_lower_half, record_backtrace):
  7424. Use ptrdiff_t, not int, for object indexes.
  7425. Port to pedantic memcpy
  7426. * src/keyboard.c (menu_bar_items, tool_bar_items):
  7427. * src/xrdb.c (magic_db):
  7428. Port to pedantic memcpy implementations that reject memcpy (0, 0, 0).
  7429. Merge from gnulib
  7430. This incorporates:
  7431. 2015-07-29 time_rz: port to pedantic memcpy
  7432. * lib/time_rz.c: Copy from gnulib.
  7433. 2015-07-31 Artur Malabarba <bruce.connor.am@gmail.com>
  7434. * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
  7435. When updating the very last entry, tabulated-list-print would
  7436. erase it and then try to look at the next one (which obviously
  7437. isn't there).
  7438. 2015-07-31 Eli Zaretskii <eliz@gnu.org>
  7439. Allow to use the old key processing code on MS-Windows
  7440. * src/w32fns.c (syms_of_w32fns) <w32-use-fallback-wm-chars-method>:
  7441. New variable.
  7442. (w32_wnd_proc): Use it to invoke the old code that processed
  7443. character keys, as fallback, when this variable is non-nil.
  7444. Fix typos in comments. (Bug#19994)
  7445. 2015-07-31 Ilya Zakharevich <ilya@math.berkeley.edu>
  7446. Improve handling of Unicode keyboard input on MS-Windows
  7447. * src/w32fns.c (get_wm_chars, deliver_wm_chars): New functions.
  7448. (FPRINTF_WM_CHARS) [DEBUG_WM_CHARS]: New macro for debugging.
  7449. (w32_wnd_proc): Call deliver_wm_chars to process non-special keys
  7450. upon receiving WM_KEYDOWN or WM_SYSKEYDOWN messages. If that is
  7451. successful, don't call TranslateMessage. (Bug#19994)
  7452. 2015-07-30 Dmitry Gutov <dgutov@yandex.ru>
  7453. Fix default-directory in changeset diffs after vc-print-log
  7454. * lisp/vc/log-view.el (log-view-diff-common): Move the
  7455. revision-granularity check back into log-view-diff-changeset.
  7456. (log-view-diff-changeset): Bind default-directory to the current
  7457. VC root.
  7458. Rename project-directories to project-roots
  7459. * lisp/progmodes/project.el (project-search-path-function)
  7460. (project-search-path): Update the docstring.
  7461. (project-directories): Rename to `project-roots', update all
  7462. callers and implementations accordingly.
  7463. (project-root): Remove.
  7464. * lisp/progmodes/xref.el (xref-find-regexp): Use * instead of *.*
  7465. as the default file mask.
  7466. 2015-07-30 Eli Zaretskii <eliz@gnu.org>
  7467. Support long URLs in w32-shell-execute
  7468. * src/w32fns.c (Fw32_shell_execute): Don't use filename_to_utf16
  7469. and filename_to_ansi to convert the DOCUMENT argument, as it could
  7470. be a URL that is not limited to MAX_PATH characters. Instead, use
  7471. MultiByteToWideChar directly, and allocate heap storage as
  7472. required to accommodate the converted string. Likewise with
  7473. non-Unicode operation. Ensure OPERATION is null-terminated, even
  7474. if it is longer than 32K bytes. (Bug#21158)
  7475. 2015-07-30 Stephen Leake <stephen_leake@stephe-leake.org>
  7476. * lisp/vc/vc-mtn.el (vc-mtn-find-revision): Handle null rev.
  7477. 2015-07-29 Stephen Leake <stephen_leake@stephe-leake.org>
  7478. Add docs for display-buffer action display-buffer-use-some-frame
  7479. * lisp/window.el (display-buffer-use-some-frame): Improve doc string.
  7480. * doc/lispref/windows.texi (Display Action Functions):
  7481. Add display-buffer-use-some-frame.
  7482. * etc/NEWS: Mention display-buffer-use-some-frame.
  7483. Add display-buffer action display-buffer-use-some-frame
  7484. * lisp/window.el (display-buffer-use-some-frame): New.
  7485. Handle vc-mtn error more gently
  7486. * lisp/vc/vc-mtn.el (vc-mtn-mode-line-string): Return "" when
  7487. branch is nil.
  7488. 2015-07-29 Michael Albinus <michael.albinus@gmx.de>
  7489. Fix Tramp problems with multihops, and nc
  7490. * lisp/net/tramp-cache.el (tramp-get-file-property)
  7491. (tramp-set-file-property, tramp-flush-file-property)
  7492. (tramp-get-connection-property, tramp-set-connection-property)
  7493. (tramp-flush-connection-property): Remove hop from vector.
  7494. * lisp/net/tramp-gw.el (tramp-gw-process-filter): Ignore errors.
  7495. * lisp/net/tramp-sh.el (tramp-methods) <nc>: Separate STDERR.
  7496. (tramp-do-copy-or-rename-file-out-of-band): Increase timeout of
  7497. netstat to 60".
  7498. (tramp-sh-handle-start-file-process): Do not show hops in prompt.
  7499. * lisp/net/tramp.el (tramp-handle-file-name-as-directory)
  7500. (tramp-handle-file-name-directory, tramp-handle-file-remote-p):
  7501. Keep hop in result.
  7502. * test/automated/tramp-tests.el (tramp-test02-file-name-dissect):
  7503. Add hop tests.
  7504. 2015-07-29 Eli Zaretskii <eliz@gnu.org>
  7505. Resurrect highlighting of repeated words by Flyspell Mode
  7506. * lisp/textmodes/flyspell.el (flyspell-word): Leave some non-word
  7507. characters between point and the doublon candidate, so that
  7508. flyspell-word-search-backward finds it. (Bug#21157)
  7509. Fix redisplay of large images on expose events
  7510. * src/xdisp.c (expose_window, expose_area): Avoid comparisons
  7511. between signed negative values and unsigned values. This
  7512. prevented redisplay on expose events when the window showed a very
  7513. large image.
  7514. 2015-07-29 Paul Eggert <eggert@cs.ucla.edu>
  7515. Remove unnecessary stack overflow dependency
  7516. * configure.ac (HAVE_STACK_OVERFLOW_HANDLING):
  7517. Don't worry about $ac_cv_header_sys_resource_h and
  7518. $ac_cv_func_getrlimit, as they're no longer needed for this.
  7519. Problem reported by Eli Zaretskii in:
  7520. http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00443.html
  7521. 2015-07-28 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
  7522. Pacify compilation -Wincompatible-pointer-types warnings
  7523. * src/w32proc.c (Fw32_get_codepage_charset): Avoid compilation
  7524. warning.
  7525. (CompareStringW_Proc): New typedef.
  7526. (w32_compare_strings): Use it, to pacify compiler warnings under
  7527. "-Wincompatible-pointer-types".
  7528. * src/w32fns.c (GetDiskFreeSpaceExW_Proc)
  7529. (GetDiskFreeSpaceExA_Proc): New typedefs.
  7530. (Ffile_system_info): Use them, to pacify compiler warnings under
  7531. "-Wincompatible-pointer-types".
  7532. 2015-07-28 Paul Eggert <eggert@cs.ucla.edu>
  7533. Fix subscript error in calculate_direct_scrolling
  7534. Use slightly-longer cost vectors. Without this change,
  7535. calculate_direct_scrolling can have a subscript violation when
  7536. FRAME_LINES (frame) <= delta.
  7537. * src/scroll.c (calculate_scrolling, calculate_direct_scrolling)
  7538. (line_ins_del, do_line_insertion_deletion_costs):
  7539. Allocate and use slightly-larger cost vectors, ones based on
  7540. FRAME_TOTAL_LINES instead of FRAME_LINES.
  7541. Fix uninitalized value in encode_coding_object
  7542. * src/coding.c (encode_coding_object): Also initialize
  7543. coding->src_pos and coding->src_pos_byte when NILP (src_object).
  7544. This avoids later use of uninitialized storage.
  7545. 2015-07-27 Xue Fuqiao <xfq.free@gmail.com>
  7546. * doc/lispref/variables.texi (Variable Aliases): Typo fix.
  7547. (Bug#21141)
  7548. 2015-07-27 Paul Eggert <eggert@cs.ucla.edu>
  7549. Merge from gnulib
  7550. This incorporates:
  7551. 2015-07-27 time_rz: port better to MinGW
  7552. 2015-07-27 time: port __need_time_t to MinGW
  7553. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
  7554. * lib/strftime.c, lib/time.in.h, lib/time_rz.c: Copy from gnulib.
  7555. * lib/time-internal.h: New file, from gnulib.
  7556. 2015-07-27 Eli Zaretskii <eliz@gnu.org>
  7557. Handle NULL pointers in w32heap.c allocation routines
  7558. * src/w32heap.c (FREEABLE_P): Consider a NULL pointer "not
  7559. freeable".
  7560. (realloc_after_dump, realloc_before_dump, free_before_dump):
  7561. Handle NULL pointers gracefully, as Emacs now seems to expect that.
  7562. Fix Cairo build without PNG
  7563. * src/image.c: Define PNG function when USE_CAIRO is defined, even
  7564. if HAVE_PNG is not. (Bug#21133)
  7565. MS-Windows follow-up for recent TZ-related changes
  7566. * nt/mingw-cfg.site (ac_cv_header_pthread_h)
  7567. (gl_cv_sys_struct_timespec_in_pthread_h): Force to "no", to avoid
  7568. picking up 'struct timespec' from pthread.h, if it is installed on
  7569. the user's system. We want either the definitions from MinGW
  7570. system headers, if available, or the Gnulib replacements if not.
  7571. * nt/inc/ms-w32.h <struct timespec>: Don't define, as we now use
  7572. lib/time.h.
  7573. * lib/time.in.h: Don't let __need_* symbols affect what happens on
  7574. MinGW. These symbols are defined by MinGW system headers, but we
  7575. don't want that to affect whether Gnulib portions of the header
  7576. are or aren't used.
  7577. 2015-07-26 Paul Eggert <eggert@cs.ucla.edu>
  7578. * src/ftfont.c (ftfont_close): Add comment re Bug#20890.
  7579. New optional ZONE arg for format-time-string etc.
  7580. This simplifies time conversions in other time zones.
  7581. It also prevents display-time-world tampering with TZ (Bug#21020).
  7582. * admin/admin.el (add-release-logs):
  7583. Use improved add-log-time-format API.
  7584. * admin/merge-gnulib (GNULIB_MODULES): Add time_rz, timegm.
  7585. (GNULIB_TOOL_FLAGS): Avoid flexmember, setenv, unsetenv.
  7586. * configure.ac (tzalloc): Remove test for this, since
  7587. Emacs no longer uses HAVE_TZALLOC directly.
  7588. * doc/lispref/os.texi (Time of Day, Time Conversion)
  7589. (Time Parsing):
  7590. * etc/NEWS: Document the new behavior.
  7591. Merge from gnulib, incorporating:
  7592. 2015-07-25 strftime: fix newly-introduced bug on Solaris
  7593. 2015-07-23 fprintftime, strftime: use timezone_t args
  7594. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
  7595. * lib/strftime.c, lib/strftime.h, lib/time.in.h, m4/sys_time_h.m4:
  7596. * m4/time_h.m4:
  7597. Update from gnulib.
  7598. * lib/time_rz.c, lib/timegm.c, m4/time_rz.m4, m4/timegm.m4:
  7599. New files from gnulib.
  7600. * lisp/time-stamp.el (time-stamp-string):
  7601. * lisp/time.el (display-time-world-list)
  7602. (display-time-world-display):
  7603. Use new API, with time zone arg.
  7604. * lisp/time.el (display-time-world-display):
  7605. Fix race when current-time advances while we're running.
  7606. * lisp/vc/add-log.el (add-log-iso8601-time-zone)
  7607. (add-log-iso8601-time-string): Accept optional time zone arg.
  7608. * lisp/vc/add-log.el (add-change-log-entry):
  7609. * lisp/vc/log-edit.el (log-edit-changelog-ours-p): Use new arg.
  7610. * nt/gnulib.mk: Propagate lib/gnulib.mk changes here.
  7611. Add rules for the time module, since they're now needed
  7612. for tzalloc etc.
  7613. * src/conf_post.h (getenv_TZ, setenv_TZ): New macros.
  7614. (emacs_getenv_TZ, emacs_setenv_TZ): New decls.
  7615. * src/editfns.c: Include errno.h.
  7616. (set_time_zone_rule): Omit unnecessary forward decl.
  7617. (initial_tz): Remove, replacing with ...
  7618. (local_tz, wall_clock_tz, utc_tz): New static vars and constants.
  7619. (tzeqlen): New constant; prefer it to (sizeof "TZ=" - 1).
  7620. (emacs_localtime_rz, emacs_mktime_z, xtzalloc, xtzfree)
  7621. (tzlookup): New static functions.
  7622. (init_editfns): New arg DUMPING. All uses changed.
  7623. (init_editfns): Omit most initialization if dumping, not if
  7624. !initialized. Initialize wall_clock_tz and local_tz.
  7625. (emacs_nmemftime, format_time_string): Time zone argument can now
  7626. be any time zone, not just a boolean for UTC or local time. All
  7627. callers changed.
  7628. (Fformat_time_string, Fencode_time, Fcurrent_time_string)
  7629. (Fcurrent_time_zone): New optional arg ZONE.
  7630. (Fdecode_time, Fset_time_zone_rule): ZONE arg can now also take
  7631. the same form as with the other new additions.
  7632. (decode_time_zone): Remove; no longer needed.
  7633. (tzvalbuf): Now file-scope.
  7634. (emacs_getenv_TZ, emacs_setenv_TZ): New functions.
  7635. (syms_of_editfns): Define Qwall.
  7636. * src/editfns.c (mktime_z) [!HAVE_TZALLOC]:
  7637. * src/systime.h (mktime_z, timezone_t, tzalloc, tzfree)
  7638. [!HAVE_TZALLOC]:
  7639. Remove; now supplied by gnulib.
  7640. * src/emacs.c (main):
  7641. * src/lisp.h (init_editfns): Adjust to init_editfns API change.
  7642. 2015-07-26 Shigeru Fukaya <shigeru.fukaya@gmail.com>
  7643. Fix infinite loop in delete-consecutive-dups
  7644. * lisp/subr.el (delete-consecutive-dups): Work even if the last
  7645. element is nil (Bug#20588). Avoid rescan of a circular list in
  7646. deletion of last element.
  7647. 2015-07-26 Martin Rudalics <rudalics@gmx.at>
  7648. Have `x-frame-geometry' return nil for terminal and initial
  7649. frames (Bug#21132)
  7650. * src/nsfns.m (Fx_frame_geometry):
  7651. * src/xfns.c (Fx_frame_geometry): Return nil for initial and
  7652. terminal frames.
  7653. * src/w32fns.c (Fw32_frame_menu_bar_size, Fw32_frame_rect)
  7654. (Fx_frame_geometry): Return nil for terminal frames
  7655. 2015-07-26 HOSOYA Kei <hosoyakei.free@gmail.com> (tiny change)
  7656. * etc/tutorials/TUTORIAL.ja: Improve translation.
  7657. 2015-07-25 Eli Zaretskii <eliz@gnu.org>
  7658. Avoid crashes when w32 GUI functions are called in -batch
  7659. * src/w32fns.c (Fx_frame_geometry, Fw32_frame_rect)
  7660. (Fw32_frame_menu_bar_size, Fw32_send_sys_command): Don't call
  7661. FRAME_W32_WINDOW for initial frame. (Bug#21132)
  7662. Fix flyspell-check-previous-highlighted-word
  7663. * lisp/textmodes/flyspell.el
  7664. (flyspell-check-previous-highlighted-word): Really accept a
  7665. numeric argument, as the doc string describes. Fix an off-by-one
  7666. error in looking up overlays, so invocation with point immediately
  7667. after a word would check that word. Clarify the doc string as
  7668. Suggested by N. Jackson <nljlistbox2@gmail.com>. (Bug#21129)
  7669. 2015-07-24 Michael Albinus <michael.albinus@gmx.de>
  7670. Minor cleanup in tramp-tests.el
  7671. * test/automated/tramp-tests.el (tramp-test31-*, tramp-test32-*):
  7672. Implement using the documented interface
  7673. `tramp-connection-properties', rather than with internal functions.
  7674. 2015-07-24 Harald Hanche-Olsen <hanche@math.ntnu.no> (tiny change)
  7675. Pass lambdas to `skeleton-read'
  7676. * lisp/skeleton.el (skeleton-read): Allow PROMPT to be a function.
  7677. * lisp/textmodes/sgml-mode.el (sgml-attributes, sgml-value): Pass
  7678. lambdas to `skeleton-read' (bug#20386).
  7679. 2015-07-24 Eli Zaretskii <eliz@gnu.org>
  7680. * INSTALL (DETAILED BUILDING AND INSTALLATION):
  7681. Mention --without-imagemagick.
  7682. Don't require GUI frames and mouse for Flyspell menus
  7683. * lisp/textmodes/flyspell.el (flyspell-correct-word-before-point)
  7684. (flyspell-emacs-popup): Require neither a GUI frame nor mouse
  7685. support, since pop-up menus work with text terminals and can be
  7686. controlled via the keyboard.
  7687. Improve documentation of Flyspell commands
  7688. * doc/emacs/fixit.texi (Spelling): Mention Flyspell commands that
  7689. can be invoked via the keyboard. Mention those commands by name
  7690. and add them to the fn index. (Bug#21125)
  7691. 2015-07-23 Michael Albinus <michael.albinus@gmx.de>
  7692. Fix some Tramp problems with HP-UX
  7693. * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
  7694. Add "tab0" to stty call.
  7695. * test/automated/tramp-tests.el (tramp-persistency-file-name):
  7696. Set to nil.
  7697. (tramp--test-hpux-p): New defun.
  7698. (tramp--test-utf8): Use it.
  7699. 2015-07-22 Glenn Morris <rgm@gnu.org>
  7700. * build-aux/update-subdirs: Put "no-update-autoloads: t" in output.
  7701. 2015-07-22 Eli Zaretskii <eliz@gnu.org>
  7702. Fix point positioning in ffap-next-guess
  7703. * lisp/ffap.el (ffap-url-at-point): Set ffap-string-at-point-region,
  7704. as our callers expect. This was clobbered as part of fixing
  7705. bug#5673. (Bug#21107)
  7706. (ffap-gopher-at-point): Set ffap-string-at-point-region.
  7707. 2015-07-22 Martin Rudalics <rudalics@gmx.at>
  7708. * lisp/window.el (even-window-sizes): Fix customization type.
  7709. Optionally even widths of `display-buffer' windows. (Bug#21100)
  7710. * lisp/window.el (quit-restore-window): Restore width if
  7711. requested.
  7712. (display-buffer-record-window): Record width when window is
  7713. reused and horizontally combined.
  7714. (even-window-sizes): New option to allow evening window widths.
  7715. (even-window-heights): Defalias to `even-window-sizes'.
  7716. (window--even-window-heights): Rename to
  7717. `window--even-window-sizes'. Handle side-by-side windows.
  7718. (display-buffer-use-some-window): Call `window--even-window-sizes'
  7719. instead of `window--even-window-heights'.
  7720. * lisp/help.el (resize-temp-buffer-window): Fix indentation.
  7721. * doc/lispref/windows.texi (Choosing Window Options): Describe
  7722. `even-window-sizes'.
  7723. (Coordinates and Windows): Fix typo.
  7724. 2015-07-22 Stephen Leake <stephen_leake@stephe-leake.org>
  7725. Add file name to autoload error messages
  7726. * lisp/emacs-lisp/autoload.el (autoload-save-buffers):
  7727. Add condition-case to add file name to error message.
  7728. 2015-07-22 Michael Albinus <michael.albinus@gmx.de>
  7729. * lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options):
  7730. Use 0.0.0.1 as test host.
  7731. 2015-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
  7732. (advice--called-interactively-skip): Fix inf-loop (bug#21083)
  7733. * lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip):
  7734. Fix inf-loop (bug#21083).
  7735. 2015-07-21 Glenn Morris <rgm@gnu.org>
  7736. * test/automated/package-test.el (package-test-signed):
  7737. Update for recent changes.
  7738. * test/automated/elisp-mode-tests.el
  7739. (elisp-xref-finds-both-function-and-variable)
  7740. (elisp-xref-finds-only-function-for-minor-mode):
  7741. Update for recent xref name changes.
  7742. 2015-07-21 Dmitry Gutov <dgutov@yandex.ru>
  7743. Make eldoc timer non-repeatable
  7744. * lisp/emacs-lisp/eldoc.el (eldoc-schedule-timer): Make the timer
  7745. non-repeatable. Since it's on post-command hook, that just wasted
  7746. CPU cycles.
  7747. 2015-07-21 Michael Albinus <michael.albinus@gmx.de>
  7748. Mention `tramp-connection-properties' in NEWS
  7749. Sync with Tramp repository
  7750. * doc/misc/tramp.texi (Configuration): Note, that Tramp must be
  7751. required prior changing its configuration.
  7752. (Connection caching, Predefined connection information)
  7753. (Remote shell setup): Fix typos.
  7754. (Predefined connection information): Describe, how to overwrite
  7755. parameters of `tramp-methods'.
  7756. (Remote programs, Remote processes, Traces and Profiles):
  7757. Simplify example.
  7758. (Remote programs): Remove superfluous comment.
  7759. * doc/misc/trampver.texi: Update release number.
  7760. * lisp/net/tramp-cache.el (tramp-connection-properties):
  7761. Adapt docstring.
  7762. * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): New defun.
  7763. (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): Use it.
  7764. (tramp-gvfs-handle-make-directory): Reimplement PARENTS handling,
  7765. "gvfs-mkdir -p ..." does not work robust.
  7766. (tramp-gvfs-maybe-open-connection):
  7767. Adapt `tramp-get-method-parameter' call.
  7768. * lisp/net/tramp-sh.el (tramp-methods):
  7769. Add `tramp-remote-shell-login' parameter where it fits.
  7770. (tramp-get-remote-path): Use it.
  7771. (tramp-make-copy-program-file-name): Fix quoting for "psftp" method.
  7772. (all): Adapt `tramp-get-method-parameter' calls.
  7773. * lisp/net/tramp.el (tramp-methods): Adapt docstring.
  7774. (tramp-get-method-parameter): Replace argument METHOD by VEC.
  7775. Check also for hits in `tramp-connection-properties'. Adapt docstring.
  7776. (tramp-get-remote-tmpdir): Cache only the local name of tmpdir.
  7777. (all): Adapt `tramp-get-method-parameter' calls.
  7778. * lisp/net/trampver.el Update release number.
  7779. * test/automated/tramp-tests.el (tramp--instrument-test-case):
  7780. Add "^make-symbolic-link not supported$" to `debug-ignored-errors'.
  7781. (tramp-test13-make-directory, tramp--test-adb-p)
  7782. (tramp--test-smb-or-windows-nt-p): Simplify.
  7783. (tramp--test-ftp-p, tramp--test-gvfs-p): New defuns.
  7784. (tramp--test-special-characters): Fix docstring. Add gvfs and
  7785. ftp tests.
  7786. (tramp--test-utf8): Fix docstring.
  7787. 2015-07-20 Dmitry Gutov <dgutov@yandex.ru>
  7788. Add new xref-query-replace command
  7789. * lisp/progmodes/xref.el (xref--match-buffer-bounds):
  7790. New function, extracted from xref-pulse-momentarily.
  7791. (xref-query-replace): New command.
  7792. (xref--query-replace-1): New helper function.
  7793. (xref--xref-buffer-mode-map): Add `r' binding.
  7794. 2015-07-20 Paul Eggert <eggert@cs.ucla.edu>
  7795. Simplify icalendar decoding of Z dates
  7796. * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
  7797. Simplify calculation of time strings with trailing "Z".
  7798. 2015-07-19 Dmitry Gutov <dgutov@yandex.ru>
  7799. Do not corrupt grep-find-ignored-files
  7800. * lisp/progmodes/project.el (project-ignores): Change the order of
  7801. the arguments to nconc, in order not to corrupt grep-find-ignored-files.
  7802. Add xref-match-item, and use it
  7803. * lisp/progmodes/xref.el (xref-match-bounds): New generic function.
  7804. (xref-file-location): Add reader for the column slot.
  7805. (xref-match-item): New class.
  7806. (xref-match-bounds): A method implementation for it.
  7807. (xref-make-match): New constructor function.
  7808. (xref--current-item): New private variable.
  7809. (xref-pulse-momentarily): Use it.
  7810. (xref--pop-to-location): Change the first argument to an xref
  7811. item, instead of location, bind xref--current-item.
  7812. Update all callers.
  7813. (xref-next-line, xref-prev-line, xref--next-error-function)
  7814. (xref--mouse-2): Look for the property `xref-item',
  7815. instead of `xref-location'.
  7816. (xref--item-at-point): Likewise. This function replaces
  7817. `xref-location-at-point'. Update all callers.
  7818. (xref--insert-xrefs): Add the `xref-item' text property, instead
  7819. of `xref-location'.
  7820. (xref--collect-match): Use xref-make-match.
  7821. * lisp/progmodes/xref.el (xref-item): Rename from `xref--xref'.
  7822. Update all references.
  7823. * lisp/progmodes/xref.el (xref--xref): Rename the `description'
  7824. slot to `summary'.
  7825. vc-hg: Perform the print-log call asynchronously
  7826. * lisp/vc/vc-hg.el (vc-hg-print-log): Perform the call
  7827. asynchronously (bug#21067).
  7828. Add xref-after-jump-hook and xref-after-return-hook
  7829. * lisp/progmodes/xref.el (xref-after-jump-hook)
  7830. (xref-after-return-hook): New hooks.
  7831. (xref-pulse-on-jump): Remove, in favor of the above.
  7832. (xref-pulse-momentarily): Rename from xref--maybe-pulse.
  7833. (xref--pop-to-location, xref--display-position)
  7834. (xref-pop-marker-stack): Use the new hooks, as requested in
  7835. http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00213.html
  7836. 2015-07-19 Bozhidar Batsov <bozhidar@batsov.com>
  7837. * lisp/progmodes/js.el (js-mode): Correct the lighter.
  7838. 2015-07-19 Leo Liu <sdl.web@gmail.com>
  7839. Fix a bug in cfengine3-mode
  7840. * lisp/progmodes/cfengine.el (cfengine3-mode): Handle nil
  7841. eldoc-documentation-function.
  7842. 2015-07-18 Julien Danjou <julien@danjou.info>
  7843. sieve-mode: support "body" test command
  7844. * lisp/gnus/sieve-mode.el (sieve-font-lock-keywords):
  7845. Add missing "body" test command.
  7846. 2015-07-18 Eli Zaretskii <eliz@gnu.org>
  7847. Fix info-apropos when the default encoding is Latin-N
  7848. * lisp/info.el (Info-find-node-2): Reset the buffer's encoding to
  7849. 'undecided', so that it is set to the encoding of the Info file we
  7850. are about to insert. Otherwise, 'info-apropos' will fail to find
  7851. some index nodes in some UTF-8 encoded files, if the buffer's
  7852. previous encoding is Latin-N or some such.
  7853. 2015-07-18 Ivan Andrus <darthandrus@gmail.com>
  7854. * lisp/epg.el (epg--start): Check that gpgconf can be found
  7855. before calling it.
  7856. Expose more file types to OS X that Emacs understands
  7857. * nextstep/Cocoa/Emacs.base/Contents/Info.plist: Add editor role for
  7858. sty, dtx, json, and org files. Export UTIs for el, elc, and org files.
  7859. 2015-07-18 Eli Zaretskii <eliz@gnu.org>
  7860. Fix visual-order cursor movement when lines are truncated
  7861. * src/xdisp.c (Fmove_point_visually): When lines are truncated,
  7862. simulate display in a window of infinite width, to allow move_it_*
  7863. functions reach positions outside of normal window dimensions.
  7864. Remove code that tried to handle a subset of these situations by
  7865. manual iteration of buffer text. (Bug#17777)
  7866. Fix following Info cross-references to anchors
  7867. * lisp/info.el (Info-read-subfile): Add to the returned value the
  7868. length of subfile preamble, after converting it to file's byte
  7869. offset, as expected by the caller. Use bufferpos-to-filepos.
  7870. (Info-find-node-2): If searching for a node with a
  7871. 1000-character slop fails, try again with a 10000-character slop,
  7872. to account for known bugs in Texinfo 5.0 and 5.1. (Bug#21055)
  7873. * lisp/international/mule-util.el (bufferpos-to-filepos): New
  7874. function.
  7875. * etc/NEWS: Mention bufferpos-to-filepos.
  7876. Fix scrolling backwards on TTY frames under scroll-conservatively
  7877. * src/xdisp.c (move_it_vertically_backward): Fix off-by-one error
  7878. in moving backwards on TTY frames. (Bug#21080)
  7879. 2015-07-17 Dmitry Gutov <dgutov@yandex.ru>
  7880. Consider a jsdoc tag to be a beginning of a paragraph as well
  7881. * lisp/progmodes/js.el (js-mode): Change c-paragraph-start to
  7882. consider a jsdoc tag to be a beginning of a paragraph as well.
  7883. 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
  7884. * lisp/emacs-lisp/package.el: Fix warnings.
  7885. * lisp/emacs-lisp/package.el (package-buffer-info):
  7886. Add author and maintainers to `package-buffer-info'.
  7887. * lisp/emacs-lisp/package.el: Many small changes.
  7888. Replace all instances of 'face with 'font-lock-face.
  7889. (describe-package-1): Improve some strings and move the summary
  7890. up the list.
  7891. (package-install-file): Update docstring.
  7892. (package-menu-hide-package): Bind to `H'.
  7893. * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
  7894. Fix error handling.
  7895. 2015-07-17 Paul Eggert <eggert@cs.ucla.edu>
  7896. Fix hang with large yanks This should fix the bug fixed by Mike
  7897. Crowe's patch in:
  7898. https://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00106.html
  7899. A problem in this area has been reported by several users; see
  7900. Bug#16737, Bug#17101, Bug#17026, Bug#17172, Bug#19320, Bug#20283.
  7901. This fix differs from Mike Crowe's patch in that it should avoid a
  7902. race condition that could lose SIGIO signals. ignore_sigio dates
  7903. back to the 1980s when some platforms couldn't block signals, and
  7904. could only ignore them, which led to races when signals arrived
  7905. while being ignored. We shouldn't have to worry about those old
  7906. platforms now.
  7907. * src/dispextern.h, src/sysdep.c (ignore_sigio): Remove.
  7908. * src/emacs.c (shut_down_emacs):
  7909. Don't call ignore_sigio; unrequest_sigio should suffice.
  7910. * src/keyboard.c (kbd_buffer_store_buffered_event):
  7911. Use unrequest_sigio, not ignore_sigio.
  7912. (kbd_buffer_get_event):
  7913. Call request_sigio when getting the ball rolling again.
  7914. 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
  7915. * lisp/obsolete/longlines.el (longlines-search-function):
  7916. Fallback on `isearch-search-fun-default'.
  7917. 2015-07-17 Tassilo Horn <tsdh@gnu.org>
  7918. Support @-mentions
  7919. * lisp/net/rcirc.el (rcirc-completion-at-point): Support completion
  7920. of mentions/messages with @nick instead of just nick.
  7921. 2015-07-16 Michael Albinus <michael.albinus@gmx.de>
  7922. Fix bug#20943
  7923. * lisp/autorevert.el (auto-revert-handler): Do not check for
  7924. `buffer-modified-p'.
  7925. * lisp/files.el (buffer-stale--default-function): Check for
  7926. `buffer-modified-p'.
  7927. * test/automated/auto-revert-tests.el
  7928. (auto-revert-test02-auto-revert-mode-dired): Adapt test.
  7929. 2015-07-16 Ari Roponen <ari.roponen@gmail.com>
  7930. Fix delete-dups bug on long lists
  7931. * lisp/subr.el (delete-dups):
  7932. Don't mistakenly keep some dups when applied to long lists.
  7933. 2015-07-16 Paul Eggert <eggert@cs.ucla.edu>
  7934. Better heuristic for C stack overflow
  7935. Improve the heuristic for distinguishing stack overflows from
  7936. other SIGSEGV causes (Bug#21004). Corinna Vinschen explained that
  7937. the getrlimit method wasn't portable to Cygwin; see:
  7938. https://www.cygwin.com/ml/cygwin/2015-07/msg00092.html
  7939. Corinna suggested pthread_getattr_np but this also has problems.
  7940. Instead, replace the low-level system stuff with a simple
  7941. heuristic based on known good stack addresses.
  7942. * src/eval.c, src/lisp.h (near_C_stack_top): New function.
  7943. * src/sysdep.c: Don't include <sys/resource.h>.
  7944. (stack_direction): Remove. All uses removed.
  7945. (stack_overflow): New function.
  7946. (handle_sigsegv): Use it instead of incorrect getrlimit heuristic.
  7947. Make SEGV fatal in non-main threads.
  7948. 2015-07-16 Daiki Ueno <ueno@gnu.org>
  7949. epg: Automatically start pinentry server
  7950. * lisp/epg-config.el (epg-gpgconf-program): New variable.
  7951. * lisp/epg.el (epg--start): Call `pinentry-start' if
  7952. allow-emacs-pinentry is set in ~/.gnupg/gpg-agent.conf.
  7953. 2015-07-15 Katsumi Yamaoka <yamaoka@jpl.org>
  7954. * lisp/gnus/nnimap.el: Fix my last bogus change.
  7955. Reinstall Stefan Monnier's change that was made in
  7956. <83d824bc4041332f338ad7e5e830f443535aa300>.
  7957. 2015-07-15 Paul Eggert <eggert@cs.ucla.edu>
  7958. Merge from gnulib
  7959. This incorporates:
  7960. 2015-07-05 acl-permissions: Document FreeBSD ACL_TYPE_NFS4 acls
  7961. 2015-07-05 acl-permissions: Fix on FreeBSD
  7962. 2015-07-05 file-has-acl, acl-permissions: fix some more HP-UX typos
  7963. * lib/acl-internal.c, lib/acl-internal.h, lib/get-permissions.c:
  7964. * lib/set-permissions.c: Copy from gnulib.
  7965. Port to stricter C99
  7966. * src/keyboard.h (kbd_buffer_store_event_hold):
  7967. Don't return a void expression.
  7968. 2015-07-15 Xue Fuqiao <xfq.free@gmail.com>
  7969. * doc/emacs/frames.texi (Creating Frames):
  7970. Fix the command `C-x 5 m' runs.
  7971. 2015-07-14 Michael Albinus <michael.albinus@gmx.de>
  7972. New autorevert tests
  7973. * test/automated/auto-revert-tests.el: New file.
  7974. 2015-07-14 Paul Eggert <eggert@cs.ucla.edu>
  7975. Clear gcprolist etc. after stack overflow
  7976. After stack overflow, command_loop calls init_eval, and this needs to
  7977. clear gcprolist and byte_stack_list (Bug#20996).
  7978. * src/alloc.c (init_alloc):
  7979. Move gcprolist and byte_stack_list initialization from here ...
  7980. * src/eval.c (init_eval): ... to here.
  7981. 2015-07-13 Xue Fuqiao <xfq.free@gmail.com>
  7982. * doc/emacs/windows.texi (Pop Up Window): Fix the description
  7983. of `C-x 4 m'.
  7984. 2015-07-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
  7985. Avoid deprecated enums in mac-ct font backend driver
  7986. * src/macfont.m (mac_font_copy_default_descriptors_for_language)
  7987. (mac_ctfont_get_advance_width_for_glyph)
  7988. (mac_ctfont_get_bounding_rect_for_glyph): Avoid deprecated enums.
  7989. Cache font family in mac-ct font backend driver
  7990. * src/macfont.m (macfont_family_cache): New variable.
  7991. (syms_of_macfont): Initialize it.
  7992. (macfont_available_families_cache): New variable.
  7993. (macfont_invalidate_family_cache, macfont_get_family_cache_if_present)
  7994. (macfont_set_family_cache, macfont_invalidate_available_families_cache)
  7995. (macfont_handle_font_change_notification)
  7996. (macfont_init_font_change_handler)
  7997. (macfont_copy_available_families_cache): New functions.
  7998. (macfont_create_family_with_symbol): Use font family caches.
  7999. (macfont_list, macfont_list_family):
  8000. Use macfont_copy_available_families_cache instead of
  8001. mac_font_create_available_families.
  8002. 2015-07-12 Dmitry Gutov <dgutov@yandex.ru>
  8003. Show the default value in the prompt
  8004. * lisp/progmodes/xref.el: Add `M-?' binding for
  8005. xref-find-references. Declare functions `grep-read-files' and
  8006. `grep-expand-template'.
  8007. (xref--read-identifier): Show the default value in the prompt.
  8008. * lisp/progmodes/xref.el (xref-find-regexp): When called with
  8009. prefix argument, ask for file patterns to search as well. When
  8010. prompting for the directory, require an existing one.
  8011. (xref-collect-matches): Add a new argument, FILES. Use it in the
  8012. above function.
  8013. Add `project-ignores'
  8014. * lisp/progmodes/project.el (project-ignores): New generic
  8015. function, and an implementation for the VC project type.
  8016. * lisp/progmodes/xref.el (xref--rgrep-command): Split, as a
  8017. variant of rgrep-default-command that handles a generic list of
  8018. ignores.
  8019. (xref-collect-matches): Use it, and pass through to it the value
  8020. of the newly added argument.
  8021. (xref-find-regexp): Handle ignored paths within the project.
  8022. Remove outdated comment.
  8023. * lisp/vc/vc.el (vc-default-ignore-completion-table):
  8024. Skip the comments and the empty lines.
  8025. 2015-07-12 Xue Fuqiao <xfq.free@gmail.com>
  8026. * doc/emacs/buffers.texi (Misc Buffer): Add a cross reference.
  8027. 2015-07-11 Eric Abrahamsen <eric@ericabrahamsen.net>
  8028. gnus-registry.el: Correct function argument order
  8029. * lisp/gnus/gnus-registry.el (gnus-registry--set/remove-mark):
  8030. Reverse the order of function arguments.
  8031. 2015-07-11 Dmitry Gutov <dgutov@yandex.ru>
  8032. Bind grep-highlight-matches to nil
  8033. * lisp/progmodes/xref.el (xref-collect-matches):
  8034. Bind grep-highlight-matches to nil (bug#20728).
  8035. 2015-07-11 Nikolaus Rath <Nikolaus@rath.org>
  8036. nnimap.el: Fix IMAP message size parsing
  8037. * lisp/gnus/nnimap.el (nnimap-transform-headers):
  8038. Don't assume that UID comes before RFC822.SIZE.
  8039. 2015-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
  8040. * lisp/gnus/nnimap.el: Clean up "unused var" warnings
  8041. (auth-source-creation-prompts): Declare.
  8042. (nnimap-retrieve-headers, nnimap-status-message)
  8043. (nnimap-request-create-group, nnimap-request-delete-group)
  8044. (nnimap-close-group, nnimap-request-move-article)
  8045. (nnimap-request-accept-article, nnimap-request-newgroups)
  8046. (nnimap-request-post, nnimap-dummy-active-number)
  8047. (nnimap-save-mail-spec, nnimap-get-groups): Add _ to unused vars.
  8048. (nnimap-parse-flags): Remove unused var `p'.
  8049. (nnimap-retrieve-group-data-early): Remove unused var `groups'.
  8050. (nnimap-flags-to-marks): Remove unused var `totalp'.
  8051. 2015-07-10 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
  8052. * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 20MB.
  8053. 2015-07-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
  8054. * src/macfont.m (macfont_list): Ignore font families lacking
  8055. font descriptors.
  8056. 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
  8057. Don't check the exit status, it can be misleading
  8058. * lisp/progmodes/xref.el (xref-collect-matches): Don't check the
  8059. exit status, it can be misleading.
  8060. Introduce a Project API
  8061. * lisp/progmodes/project.el: New file.
  8062. * lisp/cedet/ede.el (project-try-ede): New function.
  8063. (project-root): New implementation.
  8064. * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
  8065. Set project-search-path-function.
  8066. (elisp--xref-find-references): Delegate some logic to
  8067. project-search-path.
  8068. (elisp-search-path): New function.
  8069. (elisp-xref-find): Don't implement `matches' anymore.
  8070. * lisp/progmodes/etags.el: Don't implement `matches'.
  8071. Delegate some logic to project-search-path.
  8072. (etags-search-path): New function.
  8073. * lisp/progmodes/xref.el (xref-find-function):
  8074. Remove `matches' from the API.
  8075. (xref-find-regexp): Move whatever common logic was in elisp and
  8076. etags implementations, and search the directories returned by
  8077. project-directories and project-search-path.
  8078. 2015-07-09 Nicolas Petton <nicolas@petton.fr>
  8079. * test/automated/map-tests.el (test-map-delete-return-value):
  8080. Uncomment test.
  8081. Add support for gv.el in map.el
  8082. * lisp/emacs-lisp/map.el (map-elt, map-delete): Declare a gv-expander.
  8083. * lisp/emacs-lisp/map.el (map-put): Refactor using `setf' and `map-elt'.
  8084. * test/automated/map-tests.el: Update tests to work with the new
  8085. implementations of map-elt and map-put.
  8086. 2015-07-09 Glenn Morris <rgm@gnu.org>
  8087. * lisp/emacs-lisp/debug.el (debug-help-follow): Use describe-symbol.
  8088. 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
  8089. Syntax-propertize until the end of the line first
  8090. * lisp/progmodes/xref.el (xref--collect-match): Syntax-propertize
  8091. until the end of the line first.
  8092. 2015-07-09 Xue Fuqiao <xfq.free@gmail.com>
  8093. * doc/emacs/files.texi (File Archives): Add a cross reference.
  8094. 2015-07-08 Nikolaus Rath <Nikolaus@rath.org>
  8095. nnimap.el: Handle plain value for nnimap-stream
  8096. * lisp/gnus/nnimap.el (nnimap-open-connection-1): Always query
  8097. capabilities, so that a 'plain value for the `nnimap-stream' server
  8098. variable is handled correctly.
  8099. * doc/misc/gnus.texi (Customizing the IMAP Connection):
  8100. Document the 'plain option.
  8101. 2015-07-08 Leo Liu <sdl.web@gmail.com>
  8102. Fix bug in thing-at-point--bounds-of-well-formed-url
  8103. * lisp/thingatpt.el (thing-at-point--bounds-of-well-formed-url): Make
  8104. sure boundary contains current point.
  8105. 2015-07-08 Dmitry Gutov <dgutov@yandex.ru>
  8106. * lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse'
  8107. in the end.
  8108. Declare whitespace-line-column a safe file-local
  8109. * lisp/whitespace.el (whitespace-line-column): Declare to be a
  8110. safe file-local when the value is an integer.
  8111. 2015-07-08 Eric Abrahamsen <eric@ericabrahamsen.net>
  8112. gnus-group.el: Check if group names are already strings
  8113. * lisp/gnus/gnus-group.el (gnus-group-group-name):
  8114. The group name may already be a string.
  8115. Specifically, in the group list reached from the *Server* buffer,
  8116. the 'gnus-group text property returns a string. Everywhere else
  8117. it returns a symbol.
  8118. nnimap.el: Remove unused let variables
  8119. * lisp/gnus/nnimap.el (nnimap-request-group): Variables are not used.
  8120. 2015-07-08 Eli Zaretskii <eliz@gnu.org>
  8121. Support "maximized" property of runemacs's shortcut
  8122. * nt/runemacs.c (WinMain): If runemacs is invoked "maximized", pass
  8123. the '--maximized' switch to Emacs.
  8124. Support "minimized" property of runemacs's shortcut
  8125. * nt/runemacs.c (WinMain): If runemacs is invoked "minimized",
  8126. pass the '--iconic' switch to Emacs. (Bug#20991)
  8127. 2015-07-08 Xue Fuqiao <xfq.free@gmail.com>
  8128. Doc fixes
  8129. * doc/emacs/files.texi (Diff Mode): Fix the description of `C-c
  8130. C-w' in Diff mode.
  8131. * doc/emacs/arevert-xtra.texi (Auto Reverting the Buffer Menu):
  8132. Add a cross reference.
  8133. 2015-07-08 Nicolas Richard <youngfrog@members.fsf.org>
  8134. * lisp/obsolete/landmark.el: Add Obsolete-since header.
  8135. 2015-07-07 Glenn Morris <rgm@gnu.org>
  8136. * test/automated/ert-tests.el (ert-test-deftest):
  8137. Update for recent changes.
  8138. 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
  8139. (gv-setter, gv-synthetic-place, gv-delay-error): New funs/macros
  8140. * lisp/emacs-lisp/gv.el (gv-setter): New function.
  8141. (gv-invalid-place): New error.
  8142. (gv-get): Use them.
  8143. (gv-synthetic-place, gv-delay-error): New places.
  8144. * lisp/emacs-lisp/cl-generic.el (cl--generic-setf-rewrite): Remove.
  8145. (cl-defgeneric, cl-defmethod): Use gv-setter.
  8146. 2015-07-07 Fabrice Popineau <fabrice.popineau@gmail.com>
  8147. Make vc-tests work with MSYS svn program
  8148. * lisp/vc/vc-svn.el (vc-svn-create-repo): Fix the file:// URL when
  8149. svn is an MSYS program.
  8150. 2015-07-07 Ken Brown <kbrown@cornell.edu>
  8151. Improve recent change to emacsclient on Cygwin
  8152. * lisp/server.el (server-process-filter): Remove redundant check
  8153. that 'cygwin-convert-file-name-from-windows' is defined as a
  8154. function on Cygwin. Don't call that function unless its argument
  8155. starts with a drive letter.
  8156. 2015-07-07 Artur Malabarba <bruce.connor.am@gmail.com>
  8157. * lisp/emacs-lisp/package.el (package-compute-transaction):
  8158. Fix void variable due to `found-something' being in the wrong `let'.
  8159. 2015-07-07 Nicolas Richard <theonewiththeevillook@yahoo.fr>
  8160. * lisp/play/landmark.el: Move to lisp/obsolete/.
  8161. 2015-07-07 Martin Rudalics <rudalics@gmx.at>
  8162. Have `x-show-tip' handle `right' and `bottom' frame parameters
  8163. * src/nsfns.m (compute_tip_xy, Fx_show_tip)
  8164. * src/w32fns.c (compute_tip_xy, Fx_show_tip)
  8165. * src/xfns.c (compute_tip_xy, Fx_show_tip): Allow aligning
  8166. tooltips also via `right' and `bottom' frame parameters.
  8167. 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
  8168. Add online-help support to describe types
  8169. * lisp/help-fns.el (describe-symbol-backends): Move to help-mode.el.
  8170. (describe-symbol): Improve the selection of default.
  8171. * lisp/help-mode.el: Require cl-lib.
  8172. (describe-symbol-backends): Move from help-fns.el.
  8173. (help-make-xrefs): Use it.
  8174. * lisp/emacs-lisp/cl-extra.el (describe-symbol-backends): Add entry
  8175. for types.
  8176. (cl--typedef-regexp): New const.
  8177. (find-function-regexp-alist): Add entry for types.
  8178. (cl-help-type, cl-type-definition): New buttons.
  8179. (cl-find-class): New function.
  8180. (cl-describe-type): New command.
  8181. (cl--describe-class, cl--describe-class-slot)
  8182. (cl--describe-class-slots): New functions, moved from eieio-opt.el.
  8183. * lisp/emacs-lisp/cl-generic.el (cl--generic-method-documentation)
  8184. (cl--generic-all-functions, cl--generic-specializers-apply-to-type-p):
  8185. New functions. Moved from eieio-opt.el.
  8186. (cl--generic-class-parents): New function, extracted from
  8187. cl--generic-struct-specializers.
  8188. (cl--generic-struct-specializers): Use it.
  8189. * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Use pcase-dolist.
  8190. Improve constructor's docstrings.
  8191. (cl-struct-unknown-slot): New error.
  8192. (cl-struct-slot-offset): Use it.
  8193. * lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Record the type
  8194. definition in current-load-list.
  8195. * lisp/emacs-lisp/eieio-core.el (eieio--known-slot-names): New var.
  8196. (eieio--add-new-slot): Set it.
  8197. (eieio-defclass-internal): Use new name for current-load-list.
  8198. (eieio-oref): Add compiler-macro to warn about unknown slots.
  8199. * lisp/emacs-lisp/eieio.el (defclass): Update eieio--known-slot-names
  8200. as compile-time as well. Improve constructor docstrings.
  8201. * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
  8202. (eieio--help-print-slot, eieio-help-class-slots): Move to cl-extra.el.
  8203. (eieio-class-def): Remove button.
  8204. (eieio-help-constructor): Use new name for load-history element.
  8205. (eieio--specializers-apply-to-class-p, eieio-all-generic-functions)
  8206. (eieio-method-documentation): Move to cl-generic.el.
  8207. (eieio-display-method-list): Use new names.
  8208. * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
  8209. Add "define-linline".
  8210. (lisp-fdefs): Remove "defsubst".
  8211. (el-fdefs): Add "defsubst", "cl-defsubst", and "define-linline".
  8212. * lisp/emacs-lisp/macroexp.el (macroexp--warned): New var.
  8213. (macroexp--warn-and-return): Use it to avoid inf-loops.
  8214. Add `compile-only' argument.
  8215. 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
  8216. python.el: Fix local/remote shell environment setup
  8217. * lisp/progmodes/python.el (python-shell-with-environment):
  8218. Fix remote/local environment setup.
  8219. * test/automated/python-tests.el (python-shell-with-environment-1)
  8220. (python-shell-with-environment-2): New tests.
  8221. 2015-07-06 Glenn Morris <rgm@gnu.org>
  8222. * lisp/simple.el (set-variable): Tweak recent doc fix.
  8223. 2015-07-06 Ken Brown <kbrown@cornell.edu>
  8224. * src/sysdep.c (handle_sigsegv) [CYGWIN]: Increase STACK_DANGER_ZONE.
  8225. 2015-07-06 Glenn Morris <rgm@gnu.org>
  8226. * lisp/simple.el (set-variable): Use user-error for type mismatch.
  8227. 2015-07-06 Ken Brown <kbrown@cornell.edu>
  8228. * src/emacs.c (main): Don't increase the stack size on Cygwin.
  8229. 2015-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
  8230. (describe-symbol): Rewrite describe-function-or-variable
  8231. * lisp/help-fns.el (describe-symbol-backends): New var.
  8232. (help-xref-stack-item): Declare.
  8233. (describe-symbol): Rename from describe-function-or-variable.
  8234. Rewrite using describe-symbol-backends instead of help-xref-interned.
  8235. * lisp/help.el (help-map): Use it.
  8236. * lisp/help-mode.el (help-symbol, help-follow-symbol): Use it.
  8237. (help-xref-interned): Make it into an obsolete alias.
  8238. * lisp/emacs-lisp/eieio-base.el (eieio-persistent-save): Don't ignore
  8239. `file' arg (bug#20972). Always use utf-8-emacs. Use with-temp-buffer
  8240. and cl-letf.
  8241. 2015-07-06 Wolfgang Jenkner <wjenkner@inode.at>
  8242. Fix parsing glitches in dired-mark-sexp (bug#13575)
  8243. * lisp/dired-x.el (dired-x--string-to-number): New function.
  8244. (dired-mark-sexp): Use it. Tweak dired-re-inode-size. Fix usage
  8245. of directory-listing-before-filename-regexp. Consider
  8246. forward-word harmful and replace it. Add more verbiage in
  8247. comments and doc string.
  8248. 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
  8249. python.el: Respect process environment for remote shells
  8250. * lisp/progmodes/python.el
  8251. (python-shell-calculate-process-environment): Calculate
  8252. process-environment or tramp-remote-process-environment depending
  8253. whether current file is remote.
  8254. (python-shell-calculate-exec-path): Calculate exec-path or
  8255. tramp-remote-path depending whether current file is remote.
  8256. (python-shell-with-environment): New macro.
  8257. (python-shell-prompt-detect, python-shell-calculate-command)
  8258. (python-shell-make-comint, python-check): Use it.
  8259. python.el: Avoid making let-bound defvars buffer local (Bug#18244)
  8260. * lisp/progmodes/python.el (python-shell--interpreter)
  8261. (python-shell--interpreter-args): New vars.
  8262. (inferior-python-mode, python-shell-make-comint): Use them.
  8263. python.el: Fixes for IPython 3.x (Bug#20580)
  8264. * lisp/progmodes/python.el:
  8265. (python-shell-completion-native-setup): Fix IPython 3.x setup.
  8266. (python-shell-completion-native-get-completions): Fix timeout
  8267. logic.
  8268. python.el: Fix mark-defun behavior (Bug#19665)
  8269. * lisp/progmodes/python.el (python-mark-defun): New function.
  8270. * test/automated/python-tests.el (python-mark-defun-1)
  8271. (python-mark-defun-2, python-mark-defun-3): New tests.
  8272. 2015-07-05 Glenn Morris <rgm@gnu.org>
  8273. * lisp/progmodes/f90.el (f90-type-def-re): Handle attribute lists
  8274. such as "extends(parent), private". (Bug#20969)
  8275. * test/automated/f90.el (f90-test-bug20969, f90-test-bug20969b):
  8276. New tests.
  8277. 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
  8278. Avoid duplicate calls to current_timespec
  8279. * src/process.c (wait_reading_process_output):
  8280. Cache current_timespec results as long as we're not waiting.
  8281. 2015-07-05 Ian Kelling <ian@iankelling.org>
  8282. Avoid returning early reading process output due to SIGIO
  8283. * src/process.c (wait_reading_process_output): Extend the behavior of
  8284. not breaking due to not finding output when a timer has lowered the
  8285. timeout to include when SIGIO lowers the timeout.
  8286. Don't return as fast reading any process output
  8287. * src/process.c (wait_reading_process_output):
  8288. The patch for Bug#17647 returns too fast sometimes when reading
  8289. from any processes. Revert part of it, and limit the timeout more
  8290. sensibly (Bug#20978).
  8291. Refactor timeouts in wait_reading_process_output
  8292. * src/process.c (wait_reading_process_output):
  8293. Simplify timeouts with an enum. Remove a redundant condition.
  8294. (Bug#20978)
  8295. Remove ADAPTIVE_READ_BUFFERING ifdef
  8296. * src/process.c (make-process, make-pipe-process, deactivate_process)
  8297. (wait_reading_process_output, read_process_output, send_process)
  8298. (init_process_emacs): ifdef ADAPTIVE_READ_BUFFERING was originally
  8299. added in case there was an operating system in which it was not
  8300. useful. That was 11 years ago and it hasn't happened. Make
  8301. development easier by not considering the effect of changes on a
  8302. theoretical OS where this is disabled (Bug#20978).
  8303. 2015-07-05 Glenn Morris <rgm@gnu.org>
  8304. * lisp/simple.el (set-variable): Doc fix.
  8305. * lisp/progmodes/fortran.el (fortran-line-length): Doc fix.
  8306. 2015-07-05 Ian Kelling <ian@iankelling.org>
  8307. accept-process-output fix
  8308. This is a followon to the fix for bug#17647 (Bug#20976).
  8309. * src/process.c (status_notify): Fix too high return in some cases.
  8310. 2015-07-05 Artur Malabarba <bruce.connor.am@gmail.com>
  8311. * lisp/character-fold.el (character-fold-table):
  8312. Only fold decompositions if at least one character is non-spacing.
  8313. (Bug#20975)
  8314. 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
  8315. Merge from gnulib
  8316. This incorporates:
  8317. 2015-07-04 file-has-acl, acl-permissions: fix HP-UX typos
  8318. 2015-07-03 set-permissions.c: adjust acl_from_mode's cpp guard
  8319. 2015-07-02 update-copyright: fix test failure with perl >= 5.22
  8320. 2015-07-01 gnulib-common.m4: change the ARFLAGS default to 'cr'
  8321. 2015-07-01 acl: fix definition of acl_from_mode on FreeBSD
  8322. * build-aux/update-copyright, doc/misc/texinfo.tex, lib/acl-internal.h:
  8323. * lib/set-permissions.c, m4/gnulib-common.m4: Copy from gnulib.
  8324. 2015-07-05 Christoph Wedler <christoph.wedler@sap.com>
  8325. Respect `prog-indentation-context' in python.el
  8326. * lisp/progmodes/python.el (python-indent-guess-indent-offset)
  8327. (python-indent-context, python-indent--calculate-indentation)
  8328. (python-info-current-defun)
  8329. (python-info-dedenter-opening-block-message)
  8330. (python-info-line-ends-backslash-p)
  8331. (python-info-beginning-of-backslash)
  8332. (python-info-continuation-line-p): Use `prog-widen'.
  8333. (python-indent--calculate-indentation)
  8334. (python-indent--calculate-levels)
  8335. (python-indent-calculate-indentation): Use `prog-first-column'.
  8336. (python-indent--calculate-levels): Simplify.
  8337. Ignore also initial empty lines for syntax calculation.
  8338. * lisp/progmodes/python.el (python-indent-context): Return
  8339. :no-indent for first non-empty line, not just in line 1.
  8340. * test/automated/python-tests.el (python-indent-base-case)
  8341. (python-indent-inside-paren-1, python-indent-inside-paren-2)
  8342. (python-indent-inside-paren-3, python-indent-inside-paren-4)
  8343. (python-indent-inside-paren-5, python-indent-inside-paren-6)
  8344. (python-indent-after-backslash-1)
  8345. (python-indent-after-backslash-2)
  8346. (python-indent-after-backslash-3)
  8347. (python-indent-after-backslash-4, python-indent-inside-string-1):
  8348. Expect :no-indent for first non-empty line.
  8349. 2015-07-04 Daniel Colascione <dancol@dancol.org>
  8350. Factor isearch word description into new function
  8351. * lisp/isearch.el (isearch--describe-word-mode): New function.
  8352. (isearch-message-prefix, isearch-query-replace): Use it.
  8353. 2015-07-04 Eli Zaretskii <eliz@gnu.org>
  8354. Fix mouse pointer on w32 when a menu is active
  8355. * src/w32fns.c (w32_wnd_proc): Don't change the mouse pointer
  8356. shape while a menu is in use. This started happening since we now
  8357. send WM_EMACS_SHOWCURSOR messages when the mouse moves.
  8358. 2015-07-04 Martin Rudalics <rudalics@gmx.at>
  8359. Fix processing of alpha parameter for Windows tip frames (Bug#17344)
  8360. * src/w32fns.c (x_create_tip_frame): Fix processing alpha
  8361. parameter. (Bug#17344)
  8362. Have `compilation-set-window' use right window for getting fringes
  8363. (Bug#20829)
  8364. * lisp/progmodes/compile.el (compilation-set-window):
  8365. Take `window-fringes' from argument window.
  8366. 2015-07-03 Glenn Morris <rgm@gnu.org>
  8367. Update eieio tests for recent eieio-core change.
  8368. * test/automated/eieio-test-persist.el (persist-test-save-and-compare):
  8369. * test/automated/eieio-tests.el
  8370. (eieio-test-32-slot-attribute-override-2):
  8371. Replace the deleted eieio--class-v with cl--find-class.
  8372. 2015-07-03 Martin Rudalics <rudalics@gmx.at>
  8373. Fix some issues with `window-divider-mode'
  8374. * lisp/frame.el (window-divider-default-places): New option.
  8375. (window-divider-mode): Remove option.
  8376. (window-divider-mode): Make it a "regular" minor mode.
  8377. (window-divider-width-valid-p): Drop frame- prefix.
  8378. (window-divider-mode-apply): New argument ENABLE. Drop frame-
  8379. prefix. Handle `window-divider-default-places'.
  8380. (frame--window-divider-mode-set-and-apply): Remove.
  8381. (window-divider-default-bottom-width)
  8382. (window-divider-default-right-width): Drop :group entries.
  8383. * lisp/menu-bar.el (menu-bar-bottom-and-right-window-divider)
  8384. (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
  8385. (menu-bar-no-window-divider): Set `window-divider-default-places'
  8386. and call `window-divider-mode'.
  8387. * doc/emacs/frames.texi (Window Dividers): Document
  8388. `window-divider-default-places'.
  8389. 2015-07-02 Xue Fuqiao <xfq.free@gmail.com>
  8390. * doc/emacs/display.texi (Displaying Boundaries):
  8391. * doc/emacs/search.texi (Word Search): Add cross references.
  8392. 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
  8393. -batch should not affect ‘’ -> `' display
  8394. * lisp/startup.el (command-line): Do the ‘’ -> `' check even if
  8395. -batch (Bug#20926).
  8396. 2015-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
  8397. * lisp/emacs-lisp/eieio-core.el (eieio--class-v): Remove
  8398. * lisp/emacs-lisp/eieio-core.el, lisp/emacs-lisp/eieio.el:
  8399. * lisp/emacs-lisp/eieio-opt.el, lisp/emacs-lisp/eieio-compat.el:
  8400. Use cl--find-class instead.
  8401. * lisp/term/xterm.el (xterm--query): Fix paren typo (bug#20951).
  8402. 2015-07-02 Martin Rudalics <rudalics@gmx.at>
  8403. Some further fixes in Change Window node (Bug#20183)
  8404. * doc/emacs/windows.texi (Change Window): Replace "rearranging"
  8405. by "resizing" in section title. Add some concept indices.
  8406. Suggested by N. Jackson (Bug#20183).
  8407. * doc/emacs/windows.texi (Change Window): Reference window
  8408. dividers.
  8409. Document new `window-divider-mode'.
  8410. * lisp/frame.el (window-divider-mode): Fix doc-string.
  8411. * doc/emacs/frames.texi (Window Dividers): New section.
  8412. Improve accessibility of window dividers (Bug#20183)
  8413. * lisp/faces.el (window-divider)
  8414. (window-divider-first-pixel, window-divider-last-pixel): Change
  8415. membership from `frames' to `window-divider' customization group.
  8416. * lisp/frame.el (window-divider): New customization group.
  8417. (window-divider-mode): New minor mode.
  8418. (window-divider-default-bottom-width)
  8419. (window-divider-default-right-width): New options.
  8420. (frame--window-divider-previous-mode): New variable.
  8421. (frame-window-divider-width-valid-p)
  8422. (frame--window-divider-mode-apply)
  8423. (frame--window-divider-mode-set-and-apply): New functions.
  8424. * lisp/menu-bar.el (menu-bar-options-save): Save
  8425. window-divider-mode settings.
  8426. (menu-bar-window-divider-customize)
  8427. (menu-bar-bottom-and-right-window-divider)
  8428. (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
  8429. (menu-bar-no-window-divider): New functions.
  8430. (menu-bar-showhide-window-divider-menu): New variable.
  8431. (menu-bar-showhide-menu): Show/hide window divider menu.
  8432. * lisp/mouse.el (mouse-split-window-vertically)
  8433. (mouse-split-window-horizontally): Replace `error' by
  8434. `user-error'. Bind `window-combination-resize' to nil.
  8435. (top-level): Add/reorder mouse key bindings on mode- and
  8436. vertical-line.
  8437. 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
  8438. Don't display ‘’ as `' under X in en_GB
  8439. The curved quote setup code invokes (char-displayable-p ?‘),
  8440. but this isn’t reliable until after the X frame replaces the
  8441. terminal frame (Bug#20926).
  8442. * lisp/international/mule-cmds.el (set-locale-environment):
  8443. Move curved quote setup code from here ...
  8444. * lisp/startup.el (command-line): ... to here, after creating
  8445. the X frame.
  8446. 2015-07-01 Nicolas Richard <youngfrog@members.fsf.org>
  8447. * lisp/emacs-lisp/seq.el (seq-difference): Fix typo in docstring.
  8448. * lisp/ido.el (ido-restrict-to-matches): Add an optional argument
  8449. to reverse the meaning (Bug#15631).
  8450. 2015-07-01 Eli Zaretskii <eliz@gnu.org>
  8451. Be more tolerant to fonts named "Foobar-12"
  8452. * src/frame.c (x_set_font): If font_spec_from_name returns nil,
  8453. don't barf; instead, request a new fontset to be generated. This
  8454. avoids unnecessarily rejecting fonts named against XLFD rules. See
  8455. http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html,
  8456. for the description of the original problem.
  8457. * lisp/faces.el (set-face-attribute): Don't be fooled too easily
  8458. by a hyphen in a font's name.
  8459. Fix value of posn-at-pont in R2L lines
  8460. * src/keyboard.c (Fposn_at_x_y, Fposn_at_point): Allow X pixel
  8461. coordinate of -1, for a newline in a right-to-left line that
  8462. overflowed into the left fringe.
  8463. 2015-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
  8464. (cl--copy-slot-descriptor): Copy the `props' alist as well
  8465. * lisp/emacs-lisp/cl-preloaded.el (cl--copy-slot-descriptor-1):
  8466. Rename from cl--copy-slot-descriptor.
  8467. (cl--copy-slot-descriptor): New function. Copy the alist (bug#20914).
  8468. 2015-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
  8469. * lisp/term/xterm.el (xterm--query): Avoid generating garbage
  8470. (xterm-query-timeout): New var.
  8471. (xterm--query): Use it. Fallback on async method if we timeout before
  8472. getting the first byte of the reply (bug#12354).
  8473. 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
  8474. Spelling fixes
  8475. * lisp/character-fold.el (character-fold-search):
  8476. * lisp/emacs-lisp/package.el (package-hidden-regexps):
  8477. Fix typos.
  8478. 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
  8479. * doc/emacs/frames.texi (Frame Commands): Typo fix. (Bug#20946)
  8480. 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
  8481. In strings, prefer plain ` and ' to \` and \'
  8482. * lisp/allout.el (allout-insert-listified):
  8483. * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
  8484. * lisp/ls-lisp.el (ls-lisp-UCA-like-collation)
  8485. (ls-lisp-string-lessp):
  8486. * lisp/menu-bar.el (menu-bar-open):
  8487. * lisp/obsolete/otodo-mode.el (todo-top-priorities):
  8488. * lisp/progmodes/compile.el (compile):
  8489. * lisp/progmodes/etags.el (tags-loop-scan):
  8490. * lisp/progmodes/make-mode.el (makefile-browser-insert-continuation):
  8491. * lisp/subr.el (posn-actual-col-row):
  8492. * lisp/term/pc-win.el (x-list-fonts):
  8493. * lisp/textmodes/texinfmt.el (texinfmt-version):
  8494. * lisp/textmodes/texnfo-upd.el (texinfo-master-menu):
  8495. * lisp/time.el (display-time-world-list):
  8496. * lisp/tmm.el (tmm-menubar):
  8497. * src/buffer.c (syms_of_buffer):
  8498. * src/fileio.c (syms_of_fileio):
  8499. Omit unnecessary and confusing backslash before quote.
  8500. * lisp/erc/erc.el (erc-cmd-LASTLOG):
  8501. * lisp/progmodes/flymake.el (flymake-fix-file-name):
  8502. * lisp/progmodes/vhdl-mode.el (vhdl-in-extended-identifier-p):
  8503. Fix string that was intended to escape a backslash and not a quote.
  8504. 2015-06-30 Glenn Morris <rgm@gnu.org>
  8505. * leim/Makefile.in, lisp/Makefile.in: Add missing EXEEXT definition.
  8506. * lisp/Makefile.in (MH_E_SRC, TRAMP_SRC, CAL_SRC):
  8507. Replace hard-coded lists with wildcard + filter-out.
  8508. * configure.ac (system-configuration-features): Add X11, NS.
  8509. Improve reproducibility of generated loaddefs file
  8510. * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
  8511. Make the return value the modtime of the input file (if no autoloads).
  8512. (update-directory-autoloads): In the "no autoloads" section,
  8513. use "most recent modtime" rather than "current time".
  8514. 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
  8515. * lisp/emacs-lisp/package.el (package--remove-hidden): Fix logic.
  8516. (Bug#20930)
  8517. 2015-06-30 Nicolas Petton <nicolas@petton.fr>
  8518. * doc/lispref/sequences.texi: Add documentation for seq-min and seq-max.
  8519. Add seq-min and seq-max
  8520. Bump version number.
  8521. * lisp/emacs-lisp/seq.el (seq-min, seq-max): New functions.
  8522. * test/automated/seq-tests.el: Add tests for seq-min and seq-max.
  8523. 2015-06-30 Eli Zaretskii <eliz@gnu.org>
  8524. Make sure sleep-for always delays for as long as it's told
  8525. * src/dispnew.c (Fsleep_for): Call wait_reading_process_output in
  8526. a loop, to ensure we always wait exactly the required amount of
  8527. time. (Bug#15990)
  8528. 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
  8529. Fix pointer signedness glitch
  8530. * src/font.c (font_load_for_lface): Use SSDATA, not SDATA.
  8531. 2015-06-30 Eli Zaretskii <eliz@gnu.org>
  8532. Don't block changes in mouse pointer inside 'track-mouse'
  8533. * etc/NEWS:
  8534. * doc/lispref/frames.texi (Mouse Tracking): Document the special
  8535. effect of setting 'track-mouse' to 'dragging'.
  8536. * lisp/textmodes/artist.el (artist-mouse-draw-continously):
  8537. * lisp/ruler-mode.el (ruler-mode-mouse-drag-any-column-iteration):
  8538. * lisp/mouse-drag.el (mouse-drag-throw):
  8539. * lisp/mouse.el (mouse-drag-line): Set 'track-mouse' to 'dragging'
  8540. to avoid changes in the shape of the mouse pointer.
  8541. * src/xdisp.c (define_frame_cursor1): Don't change the mouse
  8542. pointer shape when do_mouse_tracking has the value of 'dragging',
  8543. not just any non-nil value. (Bug#20934)
  8544. (syms_of_xdisp): DEFSYM 'dragging'.
  8545. 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
  8546. * lisp/isearch.el (isearch-toggle-word): Fix toggle.
  8547. * lisp/emacs-lisp/package.el (package-compute-transaction):
  8548. Don't assume version sorting.
  8549. * lisp/emacs-lisp/package.el (package--save-selected-packages):
  8550. Don't save before init time, to avoid overwriting configurations.
  8551. (Bug#20855)
  8552. 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
  8553. * doc/emacs/display.texi (Standard Faces, Fringes): Add cross
  8554. references.
  8555. 2015-06-29 Ted Zlatanov <tzz@lifelogs.com>
  8556. Update for the upcoming CFEngine 3.7 release: support macros and
  8557. quoted context strings; reformat JSON; indent promise attributes 2
  8558. units by default; give function parameter descriptions in the eldoc
  8559. glue.
  8560. * lisp/progmodes/cfengine.el: Update version and docs and fix name.
  8561. Autoload `json-pretty-print'. Support new features in 3.7.
  8562. (cfengine-parameters-indent): Set default promise attribute indent to
  8563. 2 more than the promise itself.
  8564. (cfengine3-macro-regex): New variable to match the new macro syntax.
  8565. (cfengine3-font-lock-keywords): Use it to highlight macros.
  8566. (cfengine3-indent-line): Use it to indent macros to column 0.
  8567. (cfengine3-class-selector-regex): Update for the new quoted strings
  8568. format.
  8569. (cfengine3-reformat-json-string): New function to reformat a JSON
  8570. string using `json-pretty-print'.
  8571. (cfengine3-format-function-docstring): Use function parameter
  8572. description if it's provided by the cf-promises syntax dump.
  8573. 2015-06-29 Michael R. Mauger <michael@mauger.com>
  8574. Cygwin emacsclient handles w32 file names
  8575. * lisp/server.el (server-process-filter): Allow Cygwin's
  8576. emacsclient to be used as a file handler on MS-Windows.
  8577. 2015-06-29 Katsumi Yamaoka <yamaoka@jpl.org>
  8578. * lisp/isearch.el (isearch-exit): Don't call isearch-done twice
  8579. (bug#20925).
  8580. 2015-06-29 Eli Zaretskii <eliz@gnu.org>
  8581. * doc/lispref/text.texi (Sticky Properties): Improve wording.
  8582. (Bug#20924)
  8583. Allow font names that end in "-NN", where NN is a number
  8584. * src/font.c (font_load_for_lface): If the font-spec didn't match
  8585. any available fonts, try again without interpreting trailing "-NN"
  8586. as the font size. For the description of the original problem, see
  8587. http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html
  8588. .gdbinit followup to changes in !USE_LSB_TAG
  8589. * src/.gdbinit (xgetsym): Don't left-shift $ptr even under
  8590. !USE_LSB_TAG, as Emacs no longer does.
  8591. 2015-06-29 Wolfgang Jenkner <wjenkner@inode.at>
  8592. * lisp/calc-store.el (calc-insert-permanent-variable): Heed case.
  8593. Otherwise `s p' of f and F will stomp on each other's value.
  8594. (Bug#20916)
  8595. 2015-06-29 Artur Malabarba <bruce.connor.am@gmail.com>
  8596. * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
  8597. Don't block remember-pos if buffer isn't displayed. (Bug#20921)
  8598. 2015-06-29 Nicolas Richard <theonewiththeevillook@yahoo.fr>
  8599. * lisp/emacs-lisp/package.el (describe-package): Use symbol-at-point
  8600. as additional guess.
  8601. * lisp/emacs-lisp/package.el (describe-package): Convert the guess
  8602. to a string.
  8603. 2015-06-28 Paul Eggert <eggert@cs.ucla.edu>
  8604. apropos-library quoting fix
  8605. * lisp/apropos.el (apropos-library): Quote library consistently
  8606. with the rest of the quoting used by apropos.
  8607. Clarify interpreter-mode-alist doc
  8608. * lisp/files.el (interpreter-mode-alist):
  8609. Reword to avoid confusing quoting that wasn't working anyway.
  8610. 2015-06-28 Michael Albinus <michael.albinus@gmx.de>
  8611. Sync with Tramp 2.2.12
  8612. * doc/misc/trampver.texi:
  8613. * lisp/net/trampver.el: Update release number.
  8614. * test/automated/tramp-tests.el (tramp-test13-make-directory):
  8615. Fix cleanup.
  8616. 2015-06-28 Artur Malabarba <bruce.connor.am@gmail.com>
  8617. * lisp/isearch.el (isearch-mode): Don't char-fold regexps (bug#20913).
  8618. 2015-06-27 Dmitry Gutov <dgutov@yandex.ru>
  8619. Bind grep-highlight-matches around the rgrep call
  8620. * lisp/progmodes/grep.el (zrgrep): Bind grep-highlight-matches
  8621. around the rgrep call (bug#20728).
  8622. Put "--color" before the other options in grep-command
  8623. * lisp/progmodes/grep.el (grep-compute-defaults): Put "--color"
  8624. before the other options in grep-command (bug#20912).
  8625. Add --color Grep option to the command dynamically
  8626. * lisp/progmodes/grep.el (grep-template, grep-find-template):
  8627. Update the description for <C>. (Bug#20728)
  8628. (grep-compute-defaults): Don't add the --color option to
  8629. grep-options. Only add it to grep-command.
  8630. (grep-expand-keywords): Expand the env value opts into <C>.
  8631. (grep-expand-template): Replace cf in the env with the opts list,
  8632. that can include -i and --color.
  8633. * lisp/progmodes/xref.el (xref-collect-matches): Do not remove
  8634. "--color=always" from the template, because we don't have to.
  8635. 2015-06-27 Paul Eggert <eggert@cs.ucla.edu>
  8636. cl-extra fixes for most-negative-fixnum
  8637. * lisp/emacs-lisp/cl-extra.el (cl-gcd, cl-lcm, cl-random):
  8638. Don't mishandle an argument equal to most-negative-fixnum,
  8639. whose absolute value equals itself.
  8640. (cl-gcd, cl-lcm): Use dolist rather than doing it by hand.
  8641. Initialize cl--gensym-counter to 0
  8642. Previously it was initialized to a random value, which made it
  8643. harder to reproduce earlier Emacs runs. The need for a random
  8644. value went away when Emacs introduced and used the #: syntax for
  8645. uninterned symbols (Bug#20862).
  8646. * doc/misc/cl.texi (Creating Symbols, Common Lisp Compatibility):
  8647. Document that cl--gensym-counter now starts with 0.
  8648. * lisp/emacs-lisp/cl-lib.el (cl--gensym-counter): Remove.
  8649. (cl--random-time): Move to near only remaining use.
  8650. * lisp/emacs-lisp/cl-macs.el (cl--gensym-counter): Initialize to 0.
  8651. Improve docstring for macroexp-let2
  8652. * lisp/emacs-lisp/macroexp.el (macroexp-let2):
  8653. Improve as per suggestion by RMS in:
  8654. http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00621.html
  8655. Also, rename args to match new doc string.
  8656. 2015-06-27 Eli Zaretskii <eliz@gnu.org>
  8657. Fix VC test suite on MS-Windows
  8658. * lisp/vc/vc-svn.el (vc-svn-create-repo): Make sure the file: URL
  8659. always starts with 3 slashes after the colon.
  8660. * test/automated/vc-tests.el (vc-test--create-repo-function): Use
  8661. 'w32-application-type' to invoke CVS on MS-Windows with properly
  8662. formatted CVSROOT directory name.
  8663. Add a new function w32-application-type
  8664. * src/w32proc.c (Fw32_application_type): New function.
  8665. Avoid error in TLS connections due to incorrect format
  8666. * src/gnutls.c (Fgnutls_boot): Use the %x conversion specifier in
  8667. the call to 'error', instead of the unsupported %u. Reported by
  8668. lo2net <fangtao0901@gmail.com>. (Bug#20908)
  8669. 2015-06-26 Artur Malabarba <bruce.connor.am@gmail.com>
  8670. * lisp/replace.el (replace-search): Fix regexp case (bug#20901).
  8671. 2015-06-26 Leo Liu <sdl.web@gmail.com>
  8672. * lisp/emacs-lisp/cl-indent.el: Fix indentation for
  8673. `with-output-to-string' in elisp.
  8674. Revert "lisp/emacs-lisp/cl-indent.el: Fix indent of
  8675. with-output-to-string".
  8676. This reverts commit 659199f2ca5f283fb246faa78a244e5ca25f53dd.
  8677. 2015-06-26 Eli Zaretskii <eliz@gnu.org>
  8678. Minor corrections in ELisp manual
  8679. * doc/lispref/nonascii.texi (Character Properties): Correct
  8680. inaccuracies in description of values of the Unicode properties.
  8681. Fix invisible mouse pointers on Windows.
  8682. * src/w32fns.c: Include windowsx.h.
  8683. (w32_wnd_proc): If the mouse moved and the mouse pointer is
  8684. invisible, make it visible again even when the main (Lisp)
  8685. thread is busy.
  8686. * src/w32term.c (w32_toggle_invisible_pointer): Rather then
  8687. garbaging the frame have the input thread call SetCursor.
  8688. 2015-06-26 Martin Rudalics <rudalics@gmx.at>
  8689. Provide invisible mouse pointers on Windows (Bug#6105) (Bug#12922)
  8690. * src/w32fns.c (w32_wnd_proc): Handle f->pointer_invisible
  8691. for WM_SETCURSOR and WM_EMACS_SETCURSOR cases.
  8692. * src/w32term.c (w32_hide_hourglass): Handle f->pointer_invisible.
  8693. (w32_toggle_invisible_pointer): New function.
  8694. (w32_create_terminal): Add w32_toggle_invisible_pointer as
  8695. toggle_invisible_pointer_hook for this terminal.
  8696. 2015-06-25 Xue Fuqiao <xfq.free@gmail.com>
  8697. Doc fix for deletion commands
  8698. 'delete-char' does not respect the value of 'delete-active-region'.
  8699. * doc/emacs/killing.texi (Deletion):
  8700. Fix documentation for some single-char deletion commands.
  8701. * doc/emacs/help.texi (Apropos):
  8702. Improve documentation of 'apropos-do-all'.
  8703. * doc/emacs/help.texi (Help Summary):
  8704. Improve documentation of 'describe-mode'.
  8705. 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
  8706. Fix submake dependency bug with .h files
  8707. * src/Makefile.in ($(libsrc)/make-docfile$(EXEEXT)):
  8708. Depend on $(lib)/libgnu.a, so that we build $(lib)/*/*.h
  8709. before the submake in $(libsrc) would spin off a subsubmake
  8710. for $(lib) in parallel with our submake for $(lib) (Bug#20894).
  8711. 2015-06-25 Artur Malabarba <bruce.connor.am@gmail.com>
  8712. * lisp/character-fold.el (character-fold-table): Reuse `table'.
  8713. 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
  8714. Translate undisplayable ‘ to `
  8715. * doc/lispref/help.texi (Keys in Documentation):
  8716. * lisp/international/mule-cmds.el (set-locale-environment):
  8717. * lisp/term/w32console.el (terminal-init-w32console):
  8718. * src/doc.c (Fsubstitute_command_keys, Vhelp_quote_translation):
  8719. If ‘ is not displayable, transliterate it to `, not to '. See:
  8720. http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00542.html
  8721. Fix C99 incompatibilities in Cairo code
  8722. * src/image.c (xpm_load) [USE_CAIRO]:
  8723. * src/xterm.c (x_cr_accumulate_data) [USE_CAIRO]:
  8724. Fix pointer signedness problem.
  8725. 2015-06-25 Oleh Krehel <ohwoeowho@gmail.com>
  8726. lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string
  8727. * lisp/emacs-lisp/cl-indent.el (common-lisp-indent-function):
  8728. `with-output-to-string' should have the same indent as `progn'.
  8729. This is in line with the declaration of `with-output-to-string'.
  8730. 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
  8731. Get ‘./configure; make -C src emacs’ to work
  8732. Without this fix, lib/fcntl.h isn't built in time (Bug#20894).
  8733. * lib-src/Makefile.in (../lib/libgnu.a):
  8734. * src/Makefile.in ($(lib)/libgnu.a): Build all, not libgnu.a.
  8735. 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
  8736. Fix GC bugs --with-wide-int and Qnil == 0
  8737. Use the same alignment for the !USE_LSB_TAG case as for the
  8738. more-typical USE_LSB_TAG case. The attempt to support arbitrary
  8739. alignments with !USE_LSB_TAG had subtle bugs in garbage collection
  8740. once we changed the representation of symbols so that Qnil == 0.
  8741. Problem reported by Eli Zaretskii (Bug#20862).
  8742. * src/alloc.c (XMALLOC_HEADER_ALIGNMENT) [XMALLOC_OVERRUN_CHECK]:
  8743. * src/alloc.c (vector_alignment, union aligned_Lisp_Symbol)
  8744. (union aligned_Lisp_Misc, maybe_lisp_pointer, pure_alloc):
  8745. Use same alignment for !USE_LSB_TAG as for USE_LSB_TAG.
  8746. * src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): Remove.
  8747. This optimization in the !USE_LSB_TAG case is no longer valid when
  8748. symbols are represented via offsets. Change the only use to
  8749. assume that pointers might hide in objects.
  8750. * src/lisp.h (alignas) [!USE_LSB_TAG]:
  8751. Require support in this case, too.
  8752. (TAG_SYMOFFSET, XSYMBOL) [!USE_LSB_TAG]: Do not shift the offset.
  8753. This is OK, because the !USE_LSB_TAG case now applies only when
  8754. Lisp_Object is wider than void *, so there's no longer any need
  8755. to shift the offset. Not shifting the offset means that
  8756. symbol representations have the same alignment as pointers,
  8757. which the GC assumes.
  8758. 2015-06-24 Xue Fuqiao <xfq.free@gmail.com>
  8759. * doc/lispintro/emacs-lisp-intro.texi (Data types):
  8760. Improve documentation of 'substring'.
  8761. 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
  8762. * lisp/character-fold.el (character-fold-table): Fix table generation.
  8763. 2015-06-24 Glenn Morris <rgm@gnu.org>
  8764. * nextstep/Makefile.in (all): Make it the first target.
  8765. (../src/emacs${EXEEXT}): Add rule for making it.
  8766. 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
  8767. * etc/NEWS: Fix mention to old function name.
  8768. * lisp/character-fold.el: New file (Bug#20887)
  8769. (character-fold-to-regexp): New function.
  8770. * lisp/replace.el (replace-search): Check value of
  8771. `character-fold-search'.
  8772. * lisp/isearch.el: Move character-folding code to
  8773. character-fold.el
  8774. (isearch-toggle-character-fold): New command.
  8775. (isearch-mode-map): Bind it to "\M-sf".
  8776. (isearch-mode): Check value of `character-fold-search'.
  8777. 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
  8778. lisp/subr.el (remove-from-invisibility-spec): Handle the t case
  8779. * lisp/subr.el (remove-from-invisibility-spec): Make sure `element'
  8780. is visible even if it's not yet in buffer-invisibility-spec (bug#20468).
  8781. * lisp/progmodes/xref.el (xref-location-group, xref-location-marker)
  8782. (xref--insert-xrefs, xref-collect-references): Avoid init-args in oref.
  8783. 2015-06-24 Glenn Morris <rgm@gnu.org>
  8784. * Makefile.in (install-arch-dep): Don't set sticky bit on the binary.
  8785. 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
  8786. lisp/gnus/nnmaildir.el: Silence lexical warnings
  8787. * lisp/gnus/nnmaildir.el (nnmaildir--prepare): Use a more
  8788. functional style.
  8789. (nnmaildir--update-nov): Remove unused var `numdir'.
  8790. (nnmaildir-request-type, nnmaildir--scan, nnmaildir-request-newgroups)
  8791. (nnmaildir-request-group, nnmaildir-request-create-group)
  8792. (nnmaildir-request-post, nnmaildir-request-move-article)
  8793. (nnmaildir-request-accept-article, nnmaildir-active-number):
  8794. Mark unused args.
  8795. (nnmaildir-get-new-mail, nnmaildir-group-alist)
  8796. (nnmaildir-active-file): Declare.
  8797. (nnmaildir-request-scan): Remove unused vars `group' and `grp-dir'.
  8798. (nnmaildir-request-update-info): Remove unused vars `dotfile', `num',
  8799. `mark', `end', `new-mark', and `mark-sym'.
  8800. (nnmaildir-retrieve-headers): Remove unused args `srv-dir', `dir',
  8801. `nlist2'.
  8802. (nnmaildir-request-expire-articles):
  8803. Remove unused vars `article', `stop' and `nlist2'.
  8804. (nnmaildir-request-set-mark): Remove unused vars `begin', `article' and
  8805. `end'. Use nnmaildir--article when dyn-binding is needed.
  8806. Give the value directly in the `let' for `del-mark', `del-action',
  8807. `add-action', and `set-action'. Don't use `add-to-list' on a local var.
  8808. (nnmaildir-close-server): Declare those local vars that need to be
  8809. dyn-bound.
  8810. 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
  8811. * src/keyboard.h (kbd_buffer_store_event_hold): Remove unused local.
  8812. Port selection info fix to clang
  8813. * src/keyboard.h (kbd_buffer_store_event_hold):
  8814. Don't assume C11 semantics for alignof (Bug#20756).
  8815. Fix bug that munged selection info
  8816. On some optimizing C compilers, copying a structure did not
  8817. copy the padding bytes between elements, and the type punning
  8818. between struct input_data and struct selection_input_data did
  8819. not work. Change the C code to use a proper union type instead.
  8820. Problem reported by YAMAMOTO Mitsuharu (Bug#20756).
  8821. * src/keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr)
  8822. (readable_events, discard_mouse_events, kbd_buffer_events_waiting)
  8823. (kbd_buffer_get_event, process_special_events, stuff_buffered_input)
  8824. (mark_kboards):
  8825. Use union buffered_input_event, not struct input_event.
  8826. (clear_event, deliver_input_available_signal, process_special_events):
  8827. Remove unnecessary forward decls.
  8828. (kbd_buffer_store_buffered_event): New function, mostly just the
  8829. old kbd_buffer_store_event_hold, except its argument is of type
  8830. union buffered_input_event, not struct input_event.
  8831. (kbd_buffer_unget_event): Define only if HAVE_X11, since it's
  8832. not needed otherwise. Argument is now of type
  8833. struct selection_input_event *, not struct input_event *.
  8834. All callers changed.
  8835. (clear_event): Arg is now of type union buffered_input_event *,
  8836. not struct input_event *. All callers changed.
  8837. * src/keyboard.h [HAVE_X11]: Include "xterm.h".
  8838. (union buffered_input_event): New type.
  8839. (kbd_buffer_store_event_hold): Now an inline function,
  8840. defined here.
  8841. * src/termhooks.h (EVENT_KIND_WIDTH): New constant.
  8842. (struct input_event): Use it.
  8843. * src/xselect.c (struct selection_event_queue):
  8844. Make elements be of type struct selection_input_event,
  8845. not struct input_event.
  8846. (selection_input_event_equal): New static function.
  8847. (x_queue_event): Use it.
  8848. (x_queue_event, x_decline_selection_request)
  8849. (x_selection_current_request, x_reply_selection_request)
  8850. (x_handle_selection_request, x_handle_selection_clear)
  8851. (x_handle_selection_event): Use struct selection_input_event,
  8852. not struct input_event. All callers changed.
  8853. (x_convert_selection): Omit unused first arg. All callers changed.
  8854. (Fx_disown_selection_internal): Omit unnecessary union.
  8855. * src/xterm.c (handle_one_xevent): Use new union buffered_input_event
  8856. rather than rolling our own equivalent. Prefer sie.kind when
  8857. setting up that kind of structure.
  8858. Call kbd_buffer_store_buffered_event, not kbd_buffer_store_event_hold.
  8859. * src/xterm.h (struct selection_input_event: Use EVENT_KIND_WIDTH.
  8860. (SELECTION_EVENT_DISPLAY, SELECTION_EVENT_DPYINFO)
  8861. (SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
  8862. (SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
  8863. (SELECTION_EVENT_TIME, x_handle_selection_event):
  8864. Arg is now of type struct selection_input_event *)
  8865. not struct input_event *. All callers changed.
  8866. 2015-06-23 Glenn Morris <rgm@gnu.org>
  8867. * Makefile.in (install-arch-dep): Simplify with Make conditionals.
  8868. 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
  8869. * lisp/isearch.el: Fold many unicode characters to ASCII.
  8870. (isearch-character-fold-search, isearch--character-fold-extras)
  8871. (isearch--character-fold-table): New variable.
  8872. (isearch--character-folded-regexp): New function.
  8873. (isearch-search-fun-default): Use them.
  8874. * lisp/replace.el (replace-character-fold): New variable.
  8875. (replace-search): Use it.
  8876. * etc/NEWS: Document it.
  8877. 2015-06-23 Glenn Morris <rgm@gnu.org>
  8878. Check for an input event before showing a dialog box. (Bug#20813)
  8879. * lisp/subr.el (y-or-n-p):
  8880. * src/fns.c (Fyes_or_no_p): Check last-input-event as well
  8881. as last-nonmenu-event.
  8882. 2015-06-23 Jürgen Hartmann <juergen_hartman_@hotmail.com> (tiny change)
  8883. Respect ‘switch-to-visible-buffer’ more rigidly. (Bug#20861)
  8884. * lisp/window.el (switch-to-visible-buffer): Doc adjustment.
  8885. (switch-to-prev-buffer, switch-to-next-buffer): Respect
  8886. switch-to-visible-buffer independent of the windows history.
  8887. 2015-06-23 Paul Eggert <eggert@cs.ucla.edu>
  8888. * src/keyboard.c (last_timer_event): Remove unused var.
  8889. 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
  8890. * test/automated/package-test.el (package-test-update-listing):
  8891. Fix test.
  8892. 2015-06-23 Glenn Morris <rgm@gnu.org>
  8893. Revert 2014-06-25 nextstep/Makefile change.
  8894. * nextstep/Makefile.in (${ns_appbindir}): Remove rule.
  8895. (${ns_appbindir}/Emacs, links): Create ns_appbindir in the rule,
  8896. not as an order-only prerequisite.
  8897. * configure.ac (--with-ns): Enable by default on OS X.
  8898. 2015-06-23 Leo Liu <sdl.web@gmail.com>
  8899. Fix shell-for/backward-command to exclude spaces
  8900. * lisp/shell.el (shell-forward-command, shell-backward-command):
  8901. Handle the 'move case from re-search-forward/backward.
  8902. fixes debbugs:20873
  8903. 2015-06-22 Juri Linkov <juri@linkov.net>
  8904. * lisp/replace.el (query-replace-read-from): Add separator to
  8905. the local binding of text-property-default-nonsticky. (Bug#20690)
  8906. * lisp/simple.el (shell-command-on-region): Replace 'error' with 'user-error'.
  8907. (Bug#20785)
  8908. 2015-06-22 Ken Brown <kbrown@cornell.edu>
  8909. Enable CPU profiling on Cygwin
  8910. * src/syssignal.h [CYGWIN] (PROFILER_CPU_SUPPORT): Revert previous
  8911. change that undefined this.
  8912. (SIGEV_SIGNAL): Ensure that this is defined as a macro.
  8913. * src/profiler.c [CYGWIN] (timer_getoverrun): Define as a macro on
  8914. Cygwin.
  8915. Improve diagnostics of profiler-cpu-start
  8916. * src/profiler.c (setup_cpu_timer): Change return type to 'int';
  8917. return -1 if the sampling interval is invalid.
  8918. (Fprofiler_cpu_start): Improve error message if 'setup_cpu_timer'
  8919. fails. (Bug#20843)
  8920. 2015-06-22 Artur Malabarba <bruce.connor.am@gmail.com>
  8921. * lisp/emacs-lisp/package.el: Exclude packages by name.
  8922. (package-hidden-regexps): New variable.
  8923. (package-menu--refresh): Use it.
  8924. (package-menu-hide-package): New command.
  8925. * lisp/emacs-lisp/package.el: Rename hide-obsolete to toggle-hiding.
  8926. 2015-06-22 Eli Zaretskii <eliz@gnu.org>
  8927. Fix debug-timer-check on systems without HAVE_TIMERFD
  8928. * src/atimer.c (Fdebug_timer_check) [!HAVE_TIMERFD]: Actively run
  8929. the expired timers, since wait_reading_process_output doesn't.
  8930. (debug_timer_callback): Enlarge the tolerance to 20 msec.
  8931. Fix RCS crashes in vc-test
  8932. * lisp/vc/vc-rcs.el (vc-rcs-register): Avoid crashes with some old
  8933. ports of 'ci' on MS-Windows by always passing the -t- switch.
  8934. 2015-06-22 Glenn Morris <rgm@gnu.org>
  8935. * doc/emacs/package.texi (Packages):
  8936. * doc/emacs/trouble.texi (Known Problems): Remove faq cross-references.
  8937. * doc/misc/efaq-w32.texi (Downloading): Copyedits. (Bug#20851)
  8938. 2015-06-22 Paul Eggert <eggert@cs.ucla.edu>
  8939. Port tests to help-quote-translation
  8940. * test/automated/ert-x-tests.el (ert-test-describe-test):
  8941. * test/automated/package-test.el (package-test-describe-package)
  8942. (package-test-signed): Allow straight quotes, too.
  8943. 2015-06-22 Dmitry Gutov <dgutov@yandex.ru>
  8944. Make find-function-on-key use the current window
  8945. * lisp/emacs-lisp/find-func.el (find-function-on-key-do-it):
  8946. Extract from `find-function-on-key', add a second argument.
  8947. (find-function-on-key): Use it (bug#19679).
  8948. (find-function-on-key-other-window)
  8949. (find-function-on-key-other-frame): New commands.
  8950. 2015-06-21 Nicolas Petton <nicolas@petton.fr>
  8951. Revert "Define `map-elt' as a generalized variable"
  8952. This reverts commit 8b6d82d3ca86f76ed964063b3941a7c6ab0bf1c6.
  8953. 2015-06-21 Ken Brown <kbrown@cornell.edu>
  8954. Drop support for CPU profiling on Cygwin
  8955. * src/syssignal.h (PROFILER_CPU_SUPPORT): Don't define on Cygwin.
  8956. (Bug#20843)
  8957. 2015-06-21 Paul Eggert <eggert@cs.ucla.edu>
  8958. Fix some “nested” quoting confusion in doc strings
  8959. * lisp/emacs-lisp/advice.el (ad-map-arglists):
  8960. * lisp/kermit.el (kermit-clean-on):
  8961. * lisp/mh-e/mh-comp.el (mh-repl-group-formfile):
  8962. * src/keyboard.c (Frecursive_edit):
  8963. Use curved quotes when quoting text containing apostrophe,
  8964. so that the apostrophe isn't curved in the output.
  8965. 2015-06-21 Nicolas Petton <nicolas@petton.fr>
  8966. Define `map-elt' as a generalized variable
  8967. * lisp/emacs-lisp/map.el (map-elt): Define a gv-expander.
  8968. * lisp/emacs-lisp/map.el (map--dispatch): Tighten the code.
  8969. * lisp/emacs-lisp/map.el (map-put): Redefine it as a function using a
  8970. `setf' with `map-elt'.
  8971. * test/automated/map-tests.el: Comment out `test-map-put-literal'.
  8972. 2015-06-21 Michael Albinus <michael.albinus@gmx.de>
  8973. Improve error handling in tramp-adb.el
  8974. * lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy):
  8975. Improve error handling.
  8976. 2015-06-21 Nicolas Petton <nicolas@petton.fr>
  8977. Reuse `alist-get' in map.el
  8978. * lisp/emacs-lisp/map.el (map-elt): Use `alist-get' to retrieve alist
  8979. elements.
  8980. 2015-06-21 Eli Zaretskii <eliz@gnu.org>
  8981. Fix bytecomp-tests--warnings when $TMPDIR has a long name
  8982. * test/automated/bytecomp-tests.el (bytecomp-tests--warnings):
  8983. Allow the warning to begin on the 3rd, not only 2nd line, which
  8984. happens if temporary-file-directory has a very long name.
  8985. Expect 2 icalendar tests to fail on MS-Windows
  8986. * test/automated/icalendar-tests.el (icalendar-import-with-timezone)
  8987. (icalendar-real-world): Make them expected failures on MS-Windows.
  8988. 2015-06-20 Paul Eggert <eggert@cs.ucla.edu>
  8989. Improve port of settings UI to older displays
  8990. * lisp/cus-start.el (standard): Don't assume curved quotes are
  8991. easily distinguishable when users are tinkering with a setting
  8992. that affects how curved quotes are generated.
  8993. Fix quoting in electric-quote-mode doc string
  8994. * lisp/electric.el (electric-quote-mode): Fix quoting.
  8995. This is a fallout from the recent change introducing
  8996. ‘help-quote-translation’.
  8997. Spelling fix
  8998. * doc/misc/texinfo.tex, lib/set-permissions.c: Merge from gnulib.
  8999. * src/doc.c (syms_of_doc): Remove unused symbols.
  9000. 2015-06-20 Martin Rudalics <rudalics@gmx.at>
  9001. * lisp/window.el (window-state-put): Undedicate target window
  9002. before putting STATE into it. (Bug#20848)
  9003. 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
  9004. Merge from origin/emacs-24
  9005. a5e6f33 Fixes: debbugs:20832
  9006. b9f02cf Fixes: debbugs:20832
  9007. 2015-06-19 Eli Zaretskii <eliz@gnu.org>
  9008. Fix file-in-directory-p when the directory is UNC
  9009. * lisp/files.el (file-in-directory-p): Support files and
  9010. directories that begin with "//". (Bug#20844)
  9011. 2015-06-19 Stephen Berman <stephen.berman@gmx.net>
  9012. * lisp/calendar/todo-mode.el (todo-show): Don't visit todo file
  9013. in the minibuffer. (Bug#20832)
  9014. 2015-06-19 Nicolas Richard <youngfrog@members.fsf.org>
  9015. * lisp/calendar/todo-mode.el (todo-show): Signal an error if buffer
  9016. for adding new todo file is empty but modified. (Bug#20832)
  9017. 2015-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
  9018. (filepos-to-bufferpos): Further tweaks to the utf-16 code
  9019. * lisp/international/mule-util.el (filepos-to-bufferpos):
  9020. Fix typo. Move non-exact check to the utf-16 branch (the only one
  9021. affected). Don't use byte-to-position for the utf-16 case.
  9022. 2015-06-19 Eli Zaretskii <eliz@gnu.org>
  9023. Minor fixes in filepos-to-bufferpos
  9024. * lisp/international/mule-util.el (filepos-to-bufferpos): Remove
  9025. test for utf-8-emacs. Exempt single-byte encodings from the
  9026. 'use-exact' path when QUALITY is 'exact'. Test UTF-16 encodings
  9027. for BOM before subtracting 2 bytes. Use 'identity' when adjusting
  9028. UTF-16 encoded files for CR-LF EOLs.
  9029. 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
  9030. Improve the optional translation of quotes
  9031. Fix several problems with the recently-added custom variable
  9032. help-quote-translation where the code would quote inconsistently
  9033. in help buffers. Add support for quoting 'like this', which
  9034. is common in other GNU programs in ASCII environments. Change
  9035. help-quote-translation to use more mnemonic values: values are now the
  9036. initial quoting char, e.g., (setq help-quote-translation ?`) gets the
  9037. traditional Emacs help-buffer quoting style `like this'. Change the
  9038. default behavior of substitute-command-keys to match what's done in
  9039. set-locale-environment, i.e., quote ‘like this’ if displayable,
  9040. 'like this' otherwise.
  9041. * doc/lispref/help.texi (Keys in Documentation): Document
  9042. new behavior of substitute-command-keys, and document
  9043. help-quote-translation.
  9044. * doc/lispref/tips.texi (Documentation Tips):
  9045. Mention the effect of help-quote-translation.
  9046. * etc/NEWS: Mention new behavior of substitute-command-keys,
  9047. and merge help-quote-translation news into it.
  9048. When talking about doc strings, mention new ways to type quotes.
  9049. * lisp/cedet/mode-local.el (overload-docstring-extension):
  9050. Revert my recent change to this function, which shouldn't be
  9051. needed as the result is a doc string.
  9052. * lisp/cedet/mode-local.el (mode-local-print-binding)
  9053. (mode-local-describe-bindings-2):
  9054. * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
  9055. * lisp/cus-theme.el (describe-theme-1):
  9056. * lisp/descr-text.el (describe-text-properties-1, describe-char):
  9057. * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
  9058. * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
  9059. (eieio-help-constructor):
  9060. * lisp/emacs-lisp/package.el (describe-package-1):
  9061. * lisp/faces.el (describe-face):
  9062. * lisp/help-fns.el (help-fns--key-bindings)
  9063. (help-fns--compiler-macro, help-fns--parent-mode)
  9064. (help-fns--obsolete, help-fns--interactive-only)
  9065. (describe-function-1, describe-variable):
  9066. * lisp/help.el (describe-mode):
  9067. Use substitute-command-keys to ensure a more-consistent quoting
  9068. style in help buffers.
  9069. * lisp/cus-start.el (standard):
  9070. Document new help-quote-translation behavior.
  9071. * lisp/emacs-lisp/lisp-mode.el (lisp-fdefs):
  9072. * lisp/help-mode.el (help-xref-symbol-regexp, help-xref-info-regexp)
  9073. (help-xref-url-regexp):
  9074. * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
  9075. * lisp/wid-edit.el (widget-documentation-link-regexp):
  9076. Also match 'foo', in case we're in a help buffer generated when
  9077. help-quote-translation is ?'.
  9078. * src/doc.c: Include disptab.h, for DISP_CHAR_VECTOR.
  9079. (LEFT_SINGLE_QUOTATION_MARK, uLSQM0, uLSQM1, uLSQM2, uRSQM0)
  9080. (uRSQM1, uRSQM2, LSQM, RSQM): New constants.
  9081. (Fsubstitute_command_keys): Document and implement new behavior.
  9082. (Vhelp_quote_translation): Document new behavior.
  9083. 2015-06-18 Glenn Morris <rgm@gnu.org>
  9084. * lisp/cus-start.el (help-quote-translation): Add :version.
  9085. * src/doc.c (Fsubstitute_command_keys): Make previous change compile.
  9086. 2015-06-18 Alan Mackenzie <acm@muc.de>
  9087. Make translation of quotes to curly in doc strings optional.
  9088. * src/doc.c (traditional, prefer-unicode): New symbols.
  9089. (help-quote-translation): New variable.
  9090. (Fsubstitute_command_keys): Make translation of quotes dependent on
  9091. `help-quote-translation'; also translate curly quotes back to ASCII
  9092. ones.
  9093. * lisp/cus-start.el (top-level): Add a customization entry for
  9094. `help-quote-translation'.
  9095. 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
  9096. * lisp/emacs-lisp/package.el: Don't always propagate async errors
  9097. (package--with-work-buffer-async): Only propagate the error if the
  9098. callback returns non-nil.
  9099. (package--download-one-archive): Return nil on the signature
  9100. checking callback if we accept unsigned.
  9101. (package--download-and-read-archives): Return non-nil on the
  9102. archive download callback.
  9103. 2015-06-18 Martin Rudalics <rudalics@gmx.at>
  9104. Set image_cache_refcount before x_default_parameter calls. (Bug#20802)
  9105. * src/nsfns.m (Fx_create_frame):
  9106. * src/xfns.c (Fx_create_frame, x_create_tip_frame): Move setting
  9107. image_cache_refcount before first x_default_parameter call.
  9108. 2015-06-18 Eli Zaretskii <eliz@gnu.org>
  9109. Improve and extend filepos-to-bufferpos
  9110. * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
  9111. Don't barf if F returns nil for some argument.
  9112. (filepos-to-bufferpos): Expand to support UTF-16 and not assume
  9113. that every encoding of type 'charset' is single-byte.
  9114. 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
  9115. * lisp/emacs-lisp/package.el (package-menu--perform-transaction):
  9116. Properly delete packages. (Bug#20836)
  9117. 2015-06-18 Eli Zaretskii <eliz@gnu.org>
  9118. Update data files from just-released Unicode 8.0
  9119. * etc/NEWS: Update wording since Unicode 8.0 is no longer in draft
  9120. status.
  9121. * test/BidiCharacterTest.txt: Update from Unicode 8.0.
  9122. * admin/unidata/BidiMirroring.txt:
  9123. * admin/unidata/BidiBrackets.txt:
  9124. * admin/unidata/UnicodeData.txt: Update from Unicode 8.0.
  9125. 2015-06-18 Paul Eggert <eggert@cs.ucla.edu>
  9126. Document curved quotes a bit better
  9127. * doc/emacs/basic.texi (Inserting Text):
  9128. Mention C-x 8. Change example to use curved quote rather
  9129. than infinity, as this lets us give more ways to do it.
  9130. * doc/emacs/mule.texi (International Chars): Mention C-x 8 shortcuts
  9131. and quotation marks.
  9132. * doc/emacs/text.texi (Quotation Marks):
  9133. * doc/lispref/tips.texi (Documentation Tips):
  9134. Add "curly quotes" and "curved quotes" to the index.
  9135. * doc/emacs/text.texi (Quotation Marks):
  9136. Give the C-x 8 shorthands for curved quotes.
  9137. Cross-reference to "Quotation Marks".
  9138. 2015-06-17 Daiki Ueno <ueno@gnu.org>
  9139. Add pinentry.el for better GnuPG integration
  9140. * lisp/pinentry.el: New file.
  9141. * etc/NEWS: Add entry about pinentry.el.
  9142. * lisp/epg.el (epg--start): Set INSIDE_EMACS envvar.
  9143. (Bug#20550)
  9144. 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
  9145. * lisp/emacs-lisp/package.el: Slightly better error reporting.
  9146. 2015-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
  9147. (define-minor-mode): Use setq-default for :global minor modes
  9148. * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
  9149. Use setq-default for :global minor modes (bug#20712).
  9150. 2015-06-17 Eli Zaretskii <eliz@gnu.org>
  9151. Avoid infloop in redisplay with tall images
  9152. * src/xdisp.c (try_scrolling): Prevent an infloop when scrolling
  9153. down near ZV. (Bug#20808)
  9154. Call bidi_unshelve_cache to avoid memory leaks. Use IT_CHARPOS
  9155. instead of CHARPOS.
  9156. 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
  9157. * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
  9158. Fix error reporting.
  9159. * lisp/let-alist.el: Move to lisp/emacs-lisp/let-alist.el
  9160. * lisp/emacs-lisp/package.el: Revert buffer after any operation
  9161. Call `package-menu--post-refresh' after any operation that changes
  9162. the package database (`package-install' and `package-delete'). To
  9163. avoid performance issues in large transactions, these functions
  9164. add `post-refresh' to `post-command-hook' instead of calling it
  9165. immediately.
  9166. (package-menu--mark-or-notify-upgrades): New function.
  9167. (list-packages): Add it to `package--post-download-archives-hook'.
  9168. (package-menu--post-refresh): Lose the upgrade-checking code, add
  9169. code to remove itself from `post-command-hook'.
  9170. (package-install, package-delete): Add it to `post-command-hook'.
  9171. (package-menu-execute): Don't call `package-menu--post-refresh'.
  9172. 2015-06-17 Stephen Leake <stephen_leake@stephe-leake.org>
  9173. Add missing function xref-location-group for elisp-mode.
  9174. * lisp/progmodes/elisp-mode.el: Add missing function xref-location-group.
  9175. 2015-06-17 Wolfgang Jenkner <wjenkner@inode.at>
  9176. * src/editfns.c (Fbyte_to_position): Fix bytepos not at char boundary.
  9177. The behavior now matches the description in the manual. (Bug#20783)
  9178. 2015-06-17 Xue Fuqiao <xfq.free@gmail.com>
  9179. * etc/tutorials/TUTORIAL.cn: Update; synchronize with TUTORIAL.
  9180. 2015-06-17 Glenn Morris <rgm@gnu.org>
  9181. Generate char-script-table from Unicode source. (Bug#20789)
  9182. * admin/unidata/Makefile.in (AWK): New, set by configure.
  9183. (all): Add charscript.el.
  9184. (blocks): New variable.
  9185. (charscript.el, ${unidir}/charscript.el): New targets.
  9186. (extraclean): Also remove generated charscript.el.
  9187. * admin/unidata/blocks.awk: New script.
  9188. * admin/unidata/Blocks.txt: New data file, from unicode.org.
  9189. * lisp/international/characters.el: Load charscript.
  9190. * src/Makefile.in (charscript): New variable.
  9191. (${charscript}): New target.
  9192. (${lispintdir}/characters.elc): Depend on charscript.elc.
  9193. (temacs$(EXEEXT)): Depend on charscript.
  9194. * lisp/international/characters.el (char-script-table): Tweak
  9195. some ranges to better match the source. (Bug#20789#17)
  9196. Remove "no-byte-compile: t" from a few files.
  9197. * lisp/obsolete/bruce.el, lisp/obsolete/keyswap.el:
  9198. * lisp/obsolete/patcomp.el: No reason not to compile these.
  9199. 2015-06-16 Glenn Morris <rgm@gnu.org>
  9200. Fix some typos in copied Unicode data. (Bug#20789)
  9201. * lisp/international/characters.el (char-script-table):
  9202. * lisp/international/fontset.el (script-representative-chars)
  9203. (setup-default-fontset): Fix typos.
  9204. * lisp/emacs-lisp/check-declare.el (check-declare-warn):
  9205. Don't print filename twice (it's in the prefix now).
  9206. * lisp/emacs-lisp/pcase.el (pcase--u1): Revert earlier workaround.
  9207. No longer needed.
  9208. Address a compilation warning.
  9209. * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defalias):
  9210. Replace 't' with '_' in pcase.
  9211. Address some check-declare warnings.
  9212. * lisp/simple.el (tabulated-list-print):
  9213. * lisp/progmodes/elisp-mode.el (xref-collect-matches):
  9214. * lisp/term/ns-win.el (ns-selection-owner-p, ns-selection-exists-p)
  9215. (ns-get-selection): Update declarations.
  9216. Address some compilation warnings.
  9217. * lisp/elec-pair.el (electric-pair-post-self-insert-function):
  9218. * lisp/vc/vc-git.el (vc-git-file-type-as-string):
  9219. Replace 't' with '_' in pcase.
  9220. Address some compilation warnings.
  9221. * lisp/face-remap.el (text-scale-adjust):
  9222. * lisp/menu-bar.el (popup-menu-normalize-position):
  9223. * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
  9224. * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
  9225. * lisp/emacs-lisp/generator.el (cps--transform-1):
  9226. * lisp/emacs-lisp/macroexp.el (macroexp--expand-all):
  9227. * lisp/obsolete/vc-arch.el (vc-arch-mode-line-string):
  9228. * lisp/progmodes/octave.el (octave-goto-function-definition)
  9229. (octave-find-definition-default-filename):
  9230. Replace 't' with '_' in pcase.
  9231. * lisp/emacs-lisp/pcase.el (pcase--u1):
  9232. Paper-over today's bootstrap failure.
  9233. 2015-06-16 Nicolas Petton <nicolas@petton.fr>
  9234. * lisp/emacs-lisp/seq.el: Fix a byte-compiler warnings related to pcase.
  9235. * lisp/emacs-lisp/map.el (map-into): Fix a byte-compiler warning.
  9236. Better confirmation message in `find-alternate-file' (Bug#20830)
  9237. * lisp/files.el (find-alternate-file'): Improve the confirmation
  9238. message to show the buffer name.
  9239. Better docstring for null. (Bug#20815)
  9240. * src/data.c (null): Improves the docstring, saying what null returns
  9241. when OBJECT is non-nil.
  9242. 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
  9243. * lisp/net/newst-treeview.el: Use lexical-binding.
  9244. (filepos-to-bufferpos): Add missing cases. Make sure it terminates.
  9245. * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
  9246. New auxiliary function, extracted from filepos-to-bufferpos.
  9247. Make sure it terminates.
  9248. (filepos-to-bufferpos): Use it to fix the latin-1-dos case.
  9249. Add support for the `exact' quality.
  9250. 2015-06-16 Cédric Chépied <cedric.chepied@gmail.com>
  9251. Identify feeds in newsticker treeview with :nt-feed property
  9252. * lisp/net/newst-treeview.el:
  9253. (newsticker--treeview-nodes-eq): Use property :nt-feed instead of :tag.
  9254. 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
  9255. * lisp/emacs-lisp/pcase.el: Improve docs and error handling.
  9256. (pcase--self-quoting-p): Floats aren't self-quoting.
  9257. (pcase): Tweak docstring.
  9258. (pcase--u1): Deprecate the t pattern. Improve error detection for
  9259. the nil pattern.
  9260. (\`): Tweak docstring. Signal an error for unrecognized cases.
  9261. (bug#20784)
  9262. 2015-06-16 Eli Zaretskii <eliz@gnu.org>
  9263. Fix infloop in filepos-to-bufferpos
  9264. * lisp/international/mule-util.el (filepos-to-bufferpos): Fix EOL
  9265. offset calculation, and make it conditional on the eol-type of the
  9266. file's encoding. (Bug#20825)
  9267. 2015-06-16 Martin Rudalics <rudalics@gmx.at>
  9268. Fix handling of image cache refcounts. (Bug#20802)
  9269. This backports Eli Zaretskii's solution of this problem for W32
  9270. to X and NS.
  9271. * src/nsfns.m (image_cache_refcount): Define unconditionally.
  9272. (unwind_create_frame): If the image cache's reference count
  9273. hasn't been updated yet, do that now.
  9274. (Fx_create_frame): Set image_cache_refcount unconditionally.
  9275. * src/xfns.c (image_cache_refcount): Define unconditionally.
  9276. (unwind_create_frame): If the image cache's reference count
  9277. hasn't been updated yet, do that now.
  9278. (Fx_create_frame, x_create_tip_frame): Set image_cache_refcount
  9279. unconditionally.
  9280. * src/w32fns.c (image_cache_refcount): Make it a ptrdiff_t as on
  9281. X and NS.
  9282. 2015-06-16 Nils Ackermann <nils@ackermath.info>
  9283. Improve reftex-label-regexps default value
  9284. * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Make
  9285. keyvals label regexp more strict to better cope with unbalanced
  9286. brackets common in math documents.
  9287. 2015-06-16 Glenn Morris <rgm@gnu.org>
  9288. * doc/emacs/calendar.texi (Format of Diary File):
  9289. Move "nonmarking" from here...
  9290. (Displaying the Diary): ... to here.
  9291. * doc/emacs/calendar.texi (Format of Diary File, Displaying the Diary):
  9292. Swap the order of these nodes.
  9293. * doc/emacs/emacs.texi: Update detailed menu for the above change.
  9294. * doc/emacs/calendar.texi (Specified Dates, Special Diary Entries):
  9295. Update date of examples.
  9296. (Diary, Format of Diary File): Move example from former to latter.
  9297. Reduce duplication.
  9298. No need for cp51932.el, eucjp-ms.el to not be compiled any more.
  9299. * admin/charsets/cp51932.awk, admin/charsets/eucjp-ms.awk:
  9300. Don't set no-byte-compile in the outputs.
  9301. * lisp/loadup.el: Don't specify uncompiled cp51932, eucjp-ms.
  9302. 2015-06-15 Glenn Morris <rgm@gnu.org>
  9303. * lisp/calendar/calendar.el (diary-file): Use locate-user-emacs-file.
  9304. * doc/emacs/calendar.texi (Diary, Format of Diary File):
  9305. Update for above diary-file change.
  9306. * lisp/macros.el (name-last-kbd-macro, kbd-macro-query)
  9307. (apply-macro-to-region-lines): Use user-error.
  9308. * lisp/textmodes/page-ext.el (add-new-page, pages-directory)
  9309. (pages-directory-for-addresses): Doc fixes.
  9310. 2015-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
  9311. * lisp/info.el: Cleanup bytepos/charpos issues
  9312. * lisp/international/mule-util.el: Use lexical-binding.
  9313. (filepos-to-bufferpos): New function.
  9314. * lisp/info.el (Info-find-in-tag-table-1): Use 0-based file positions.
  9315. (Info-find-node-2): Use filepos-to-bufferpos (bug#20704).
  9316. (Info-read-subfile, Info-search): Use 0-based file positions.
  9317. * lisp/progmodes/perl-mode.el: Refine handling of /re/ and y/abc/def/
  9318. (perl--syntax-exp-intro-keywords): New var.
  9319. (perl--syntax-exp-intro-regexp, perl-syntax-propertize-function): Use it.
  9320. (bug#20800).
  9321. 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
  9322. Fix quoting when making derived mode docstring
  9323. * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
  9324. Nest regexp-quote inside format, not the reverse.
  9325. Problem reported by Artur Malabarba in:
  9326. http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00206.html
  9327. 2015-06-15 Eli Zaretskii <eliz@gnu.org>
  9328. Fix current-iso639-language on MS-Windows
  9329. * lisp/international/mule-cmds.el (set-locale-environment):
  9330. Downcase the locale name before interning it. This is so the
  9331. 'current-iso639-language' on MS-Windows matches the ':lang'
  9332. property of font-spec objects.
  9333. Limit Symbola usage some more
  9334. * lisp/international/fontset.el (setup-default-fontset): Limit
  9335. Symbol coverage of Currency Symbols to u+20B6..u+20CF.
  9336. (Bug#20727)
  9337. 2015-06-15 Nicolas Petton <nicolas@petton.fr>
  9338. * lisp/emacs-lisp/map.el (map-let): Better docstring.
  9339. 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
  9340. * test/automated/help-fns.el (abc\\\[universal-argument\]b\`c\'d\\e\"f):
  9341. (help-fns-test-funny-names): Spelling fixes.
  9342. 2015-06-14 Glenn Morris <rgm@gnu.org>
  9343. * lisp/version.el (emacs-repository-version-git): Demote errors.
  9344. Check result is a hash.
  9345. 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
  9346. * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
  9347. Catch errors that happen before going async. (Bug#20809)
  9348. 2015-06-14 Eli Zaretskii <eliz@gnu.org>
  9349. Another improvement of documentation of set-fontset-font
  9350. * doc/lispref/display.texi (Fontsets): Say explicitly that
  9351. CHARACTER can be a single codepoint.
  9352. * src/fontset.c (Fset_fontset_font): Doc fix.
  9353. Another improvement for symbol and punctuation characters
  9354. * lisp/international/fontset.el (setup-default-fontset): Exclude
  9355. from Symbola character ranges for symbols and punctuation covered
  9356. well by popular Unicode fonts. Prefer fixed-misc Unicode font, if
  9357. installed and where its coverage of symbols and punctuation is
  9358. known to be good. (Bug#20727)
  9359. 2015-06-14 Christoph Wedler <christoph.wedler@sap.com>
  9360. Some generic support for multi-mode indentation.
  9361. * lisp/progmodes/prog-mode.el (prog-indentation-context):
  9362. New variable.
  9363. (prog-first-column, prog-widen): New convenience functions.
  9364. 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
  9365. * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
  9366. Don't assume that `tabulated-list-printer' will leave point at the
  9367. end of the buffer. (Bug#20810)
  9368. 2015-06-13 Glenn Morris <rgm@gnu.org>
  9369. Tweaks for getting repository version; a bit more like it was for bzr
  9370. * lisp/version.el (emacs-repository-version-git)
  9371. (emacs-repository--version-git-1): New functions,
  9372. split from emacs-repository-get-version.
  9373. (emacs-repository-get-version): Make the second argument meaningful.
  9374. * lisp/startup.el (command-line-1): Inform if skipping relative
  9375. file names due to deleted PWD.
  9376. * src/xsmfns.c (x_session_initialize): Avoid libSM crash
  9377. when starup directory is missing. (Bug#18851)
  9378. (errno.h): Include it.
  9379. 2015-06-13 Paul Eggert <eggert@cs.ucla.edu>
  9380. Better fix for documenting `X as "`X"
  9381. Fix suggested by Stefan Monnier.
  9382. * lisp/help-fns.el (help-fns--signature):
  9383. Insert "`X", not "(\` X)", when documenting `X (Bug#20759).
  9384. * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
  9385. Don't treat `X specially, as help-fns--signature now handles this.
  9386. 2015-06-13 Eli Zaretskii <eliz@gnu.org>
  9387. Improve the default fontset when Symbola is not installed
  9388. * lisp/international/fontset.el (setup-default-fontset): Only
  9389. prepend Symbola and FreeMono font specs for symbols and
  9390. punctuation; do not replace the default spec for them. This
  9391. should have better results when Symbola/FreeMono are not
  9392. installed. (Bug#20727)
  9393. Improve documentation of ':lang' in font specs
  9394. * src/font.c (Ffont_spec): Doc fix: elaborate on the values and
  9395. use of the ':lang' property of the font spec.
  9396. * doc/emacs/frames.texi (Fonts): Document the language names that
  9397. can be in the STYLE part of XLFD.
  9398. * doc/lispref/display.texi (Low-Level Font): Document the ':lang'
  9399. property.
  9400. * nt/README: Don't advertise the (obsolescent) w32 FAQ.
  9401. * nt/README.W32: Don't advertise the (obsolescent) w32 FAQ.
  9402. Revert last change in fontset.el
  9403. * lisp/international/fontset.el (setup-default-fontset): Revert
  9404. the change "Configure Symbola font only if installed", since font
  9405. search is evidently not yet set up when this function is called.
  9406. (Bug#20727)
  9407. 2015-06-12 Glenn Morris <rgm@gnu.org>
  9408. Ensure early startup warnings are visible at the end. (Bug#20792)
  9409. * lisp/emacs-lisp/warnings.el (display-warning):
  9410. If startup isn't complete, delay the warning.
  9411. * lisp/startup.el (normal-top-level, command-line):
  9412. Let display-warning automatically handle the needed delays.
  9413. Run delayed-warnings-hook.
  9414. * lisp/version.el (emacs-repository-get-version):
  9415. Avoid calling external executable if possible. (Bug#20799)
  9416. 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
  9417. Document `X as "`X", not as "(` X)"
  9418. * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
  9419. Document (backquote FOO) as "`FOO", not as "(` FOO)" (Bug#20759).
  9420. * src/print.c (print_object): Minor simplification.
  9421. 2015-06-12 Glenn Morris <rgm@gnu.org>
  9422. * src/buffer.c (init_buffer): Add final newline to message.
  9423. 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
  9424. Configure Symbola font only if installed
  9425. * lisp/international/fontset.el (setup-default-fontset):
  9426. Don't specify the Symbola font if it's not installed.
  9427. Likewise for FreeMono. (Bug#20727)
  9428. 2015-06-12 Eli Zaretskii <eliz@gnu.org>
  9429. Configure Symbola font only for symbols and punctuation
  9430. * lisp/international/fontset.el (setup-default-fontset): Leave
  9431. only symbols and punctuation in the fontset setup for Symbola
  9432. font; remove "Greek and Coptic" and "Cyrillic Supplement".
  9433. (Bug#20798)
  9434. 2015-06-12 Andreas Schwab <schwab@linux-m68k.org>
  9435. Fix crash in fontset-info
  9436. * src/fontset.c (Ffontset_info): Check that the RFONT-DEF elt is
  9437. non-nil.
  9438. 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
  9439. Port to Solaris 10 sparc + Sun C 5.13
  9440. * configure.ac (SETUP_SLAVE_PTY) [sol2* | unixware]:
  9441. Adjust to process.c change.
  9442. * src/process.c (create_process): Declare volatile variables at
  9443. top level of this function, so that they're less likely to be
  9444. reused later in the function in the code executed by the vforked
  9445. child. Do not declare locals used only in the vforked child, as
  9446. they might share memory with locals still live in the parent.
  9447. Instead, use the same variables in the child as in the parent.
  9448. This works around a subtle bug that causes a garbage collector
  9449. crash when Emacs is built with Sun C 5.13 sparc on Solaris 10.
  9450. 2015-06-12 Glenn Morris <rgm@gnu.org>
  9451. * lisp/startup.el (normal-top-level): Don't let *Messages* get
  9452. a nil default-directory.
  9453. 2015-06-11 Glenn Morris <rgm@gnu.org>
  9454. * lisp/startup.el (normal-top-level): Use delay-warning. (Bug#20792)
  9455. Some progress towards starting with PWD deleted. (Bug#18851)
  9456. * src/buffer.c (init_buffer): Handle get_current_dir_name failures.
  9457. * lisp/startup.el (normal-top-level, command-line-1):
  9458. * lisp/minibuffer.el (read-file-name-default):
  9459. Handle default-directory being nil.
  9460. 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
  9461. Fix "not a tty" bug on Solaris 10
  9462. * configure.ac (PTY_OPEN): Define to plain 'open'
  9463. on SVR4-derived hosts, so that the O_CLOEXEC flag isn't set.
  9464. * src/process.c (allocate_pty): Set the O_CLOEXEC flag after
  9465. calling PTY_TTY_NAME_SPRINTF, for the benefit of SVR4-derived
  9466. hosts that call grantpt which does its work via a setuid subcommand
  9467. (Bug#19191, Bug#19927, Bug#20555, Bug#20686).
  9468. Also, set O_CLOEXEC even if PTY_OPEN is not defined, since it
  9469. seems relevant in that case too.
  9470. 2015-06-11 Juri Linkov <juri@linkov.net>
  9471. * lisp/bindings.el (debug-ignored-errors): Add mark-inactive.
  9472. * lisp/simple.el (kill-region): Replace 'error' with 'user-error'.
  9473. (Bug#20785)
  9474. 2015-06-11 Glenn Morris <rgm@gnu.org>
  9475. * lisp/international/characters.el (char-script-table): Fix typo.
  9476. 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
  9477. Fix quoting of help for functions with odd names
  9478. While investigating Bug#20759, I discovered other quoting problems:
  9479. C-h f mishandled characters like backslash and quote in function names.
  9480. This fix changes the behavior so that 'C-h f pcase RET' now
  9481. generates "... (\` QPAT) ..." instead of "... (` QPAT) ...",
  9482. because '(format "%S" '(` FOO))' returns "(\\` FOO)". A comment
  9483. in src/lread.c's read1 function says that the backslash will be
  9484. needed starting in Emacs 25, which implies that 'format' is
  9485. correct and the old pcase documention was wrong to omit the backslash.
  9486. * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
  9487. * lisp/help-fns.el (help-fns--signature):
  9488. * lisp/help.el (help-add-fundoc-usage):
  9489. * lisp/progmodes/elisp-mode.el (elisp-function-argstring):
  9490. Use help--make-usage-docstring rather than formatting
  9491. help-make-usage.
  9492. * lisp/emacs-lisp/pcase.el (pcase--make-docstring):
  9493. Return raw docstring.
  9494. * lisp/help-fns.el (help-fns--signature): New arg RAW, to return
  9495. raw docstring. Take more care to distinguish raw from cooked dstrings.
  9496. (describe-function-1): Let help-fns--signature substitute
  9497. command keys.
  9498. * lisp/help.el (help--docstring-quote): New function.
  9499. (help-split-fundoc): Use it, to quote funny characters more
  9500. systematically.
  9501. (help--make-usage): Rename from help-make-usage, since this
  9502. should be private. Leave an obsolete alias for the old name.
  9503. (help--make-usage-docstring): New function.
  9504. * test/automated/help-fns.el (help-fns-test-funny-names): New test.
  9505. 2015-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
  9506. * lisp/thingatpt.el (in-string-p): Revert last change,
  9507. since in-string-p is not used in thingatpt.el but only from outside.
  9508. Also, use lexical binding.
  9509. 2015-06-11 Artur Malabarba <bruce.connor.am@gmail.com>
  9510. * lisp/let-alist.el (let-alist--deep-dot-search): Fix cons.
  9511. * test/automated/let-alist.el (let-alist-cons): Test it.
  9512. 2015-06-11 Nicolas Richard <theonewiththeevillook@yahoo.fr>
  9513. * src/syntax.c (Fbackward_prefix_chars): Reword docstring.
  9514. 2015-06-10 Glenn Morris <rgm@gnu.org>
  9515. * build-aux/gitlog-to-emacslog: Also ignore pointless merge commits.
  9516. Improve generated ChangeLog for gitmerge.el commits. (Bug#20717)
  9517. * build-aux/gitlog-to-changelog: Handle gitmerge.el skipped commits.
  9518. * admin/gitmerge.el (gitmerge-commit-message):
  9519. Exclude "skipped" messages from ChangeLog once again.
  9520. Slight namespace cleanup for thingatpt.el.
  9521. * lisp/thingatpt.el (thing-at-point--in-string-p)
  9522. (thing-at-point--end-of-sexp, thing-at-point--beginning-of-sexp)
  9523. (thing-at-point--read-from-whole-string): Rename from
  9524. old versions without "thing-at-point--" prefix.
  9525. Keep old versions as obsolete aliases. Update all uses.
  9526. * lisp/emacs-lisp/checkdoc.el (checkdoc-get-keywords):
  9527. Move requiring of finder from here...
  9528. (checkdoc-package-keywords): ... to here.
  9529. Use 'user-error' in a few calendar files.
  9530. * lisp/calendar/appt.el (appt-add):
  9531. * lisp/calendar/calendar.el (calendar-absolute-from-gregorian)
  9532. (calendar-generate):
  9533. * lisp/calendar/diary-lib.el (diary-mail-entries, diary-cyclic):
  9534. Replace 'error' with 'user-error'.
  9535. * lisp/progmodes/f90.el (f90-backslash-not-special): Use user-error.
  9536. * lisp/files-x.el (add-file-local-variable):
  9537. Special-case 'lexical-binding'. (Bug#20641)
  9538. * lisp/progmodes/executable.el (executable-self-display): Obsolete.
  9539. No longer autoload.
  9540. * doc/misc/autotype.texi (Executables):
  9541. Undocument executable-self-display.
  9542. * lisp/progmodes/executable.el (executable-self-display):
  9543. Use non-obsolete tail syntax. (Bug#20779)
  9544. (executable-self-display): Doc update.
  9545. 2015-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
  9546. * lisp/emacs-lisp/checkdoc.el: Use lexical-binding
  9547. (finder-known-keywords): Silence byte-compiler.
  9548. 2015-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
  9549. * lisp/simple.el (eval-expression): Macroexpand before evaluating
  9550. (bug#20730).
  9551. * lisp/progmodes/sh-script.el: Better handle nested quotes.
  9552. (sh-here-doc-open-re): Don't mis-match the <<< operator (bug#20683).
  9553. (sh-font-lock-quoted-subshell): Make sure double quotes within single
  9554. quotes don't mistakenly end prematurely the surrounding string.
  9555. * lisp/progmodes/elisp-mode.el: Require cl-lib for cl-defstruct.
  9556. 2015-06-09 Glenn Morris <rgm@gnu.org>
  9557. * test/automated/Makefile.in (ELFILES): Sort.
  9558. * Makefile.in (SUBDIR_MAKEFILES):
  9559. * lwlib/Makefile.in (WARN_CFLAGS):
  9560. Use built-in Make functions rather than echo+sed.
  9561. 2015-06-09 Eli Zaretskii <eliz@gnu.org>
  9562. Update char-script-table
  9563. * lisp/international/characters.el (char-script-table): Update
  9564. from Unicode 8.0 Draft.
  9565. Improve font selection for punctuation and other symbols
  9566. * src/fontset.c (face_for_char): If the character's script is
  9567. 'symbol', and the font used for ASCII face has a glyph for it, use
  9568. the font for the ASCII face instead of searching the fontsets.
  9569. This comes instead of NS-specific code that used the current
  9570. face's font instead, which is now disabled due to undesirable
  9571. consequences. (Bug#20727)
  9572. 2015-06-08 Dmitry Gutov <dgutov@yandex.ru>
  9573. * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
  9574. Skip past `#' to find BEG (bug#20771).
  9575. * test/automated/elisp-mode-tests.el
  9576. (elisp-completes-functions-after-hash-quote): New test.
  9577. 2015-06-08 Eli Zaretskii <eliz@gnu.org>
  9578. Fix compilation warning/error in --without-x builds
  9579. * src/xdisp.c (append_space_for_newline): Condition GUI-specific
  9580. code on HAVE_WINDOW_SYSTEM.
  9581. Improve the default fontset wrt symbols
  9582. * lisp/international/fontset.el (setup-default-fontset): Better
  9583. setup of fontset-default for symbols: use Symbola and FreeMono.
  9584. (Bug#20727)
  9585. 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
  9586. Add new command checkdoc-package-keywords
  9587. * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
  9588. New defcustom.
  9589. (checkdoc-list-of-strings-p): Add doc.
  9590. (checkdoc-current-buffer): When `checkdoc-package-keywords-flag' is
  9591. non-nil, call `checkdoc-package-keywords'.
  9592. (checkdoc-get-keywords): New defun.
  9593. (checkdoc-package-keywords): New command. Warns if the current file
  9594. has package.el-style keywords that aren't in `finder-known-keywords'.
  9595. * etc/NEWS: Add entry.
  9596. 2015-06-08 Eli Zaretskii <eliz@gnu.org>
  9597. Avoid crashes when key-binding is called from a timer
  9598. * src/keymap.c (Fkey_binding): Don't segfault if called with an
  9599. empty vector as KEY. (Bug#20705)
  9600. Fix a thinko in arc-mode.el
  9601. * lisp/arc-mode.el (archive-zip-summarize): Fix last change in the
  9602. non-Zip64 case. (Bug#20769)
  9603. 2015-06-08 Artur Malabarba <bruce.connor.am@gmail.com>
  9604. * lisp/emacs-lisp/package.el (package-delete): Make interactive.
  9605. 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
  9606. * lisp/emacs-lisp/checkdoc.el (checkdoc-file): New function.
  9607. (checkdoc-error): When `checkdoc-diagnostic-buffer' is set to
  9608. "*warn*", print the warning to the standard output. (bug#20754)
  9609. 2015-06-07 Glenn Morris <rgm@gnu.org>
  9610. * admin/update_autogen (changelog_files): Remove gitlog-to-emacslog.
  9611. * src/font.c (syms_of_font) <font-log>: Doc fix.
  9612. Remove the obsolete leading "*" from some C doc strings.
  9613. * src/coding.c (syms_of_coding):
  9614. * src/font.c (syms_of_font): Remove leading "*" from docs.
  9615. * lisp/cus-start.el (enable-character-translation): Add it.
  9616. 2015-06-07 Paul Eggert <eggert@cs.ucla.edu>
  9617. Move gen_origin from program to data
  9618. That way, 'make change-history' needs to change only ChangeLog.2,
  9619. instead of having to change two files.
  9620. * ChangeLog.2: Add commit info for range that this file covers.
  9621. * Makefile.in (new_commit_regexp): New macro.
  9622. (change-history-nocommit): Simplify, by putting what used to be
  9623. the gen_origin value into the data (ChangeLog.2) rather than
  9624. into the program (gitlog-to-emacslog).
  9625. * build-aux/gitlog-to-emacslog (gen_origin): Calculate from
  9626. the input file (e.g., ChangeLog.2) rather than by having a
  9627. constant in the program. Substitute it into the output.
  9628. 2015-06-07 Dmitry Gutov <dgutov@yandex.ru>
  9629. * lisp/help-fns.el (help-fns--signature): Quote any quotes in the
  9630. function name (bug#20759).
  9631. 2015-06-07 Eli Zaretskii <eliz@gnu.org>
  9632. Adapt 'struct timespec' to next release of MinGW runtime
  9633. * nt/inc/ms-w32.h (struct timespec): Don't declare if
  9634. __struct_timespec_defined is defined.
  9635. 2015-06-06 Paul Eggert <eggert@cs.ucla.edu>
  9636. Merge from gnulib
  9637. This incorporates:
  9638. 2015-06-06 acl-permissions: pacify -Wsuggest-attribute=const
  9639. 2015-06-05 stdio: Don't redefine gets when using C++
  9640. 2015-06-05 acl-permissions: port to AIX, C89 HP-UX
  9641. 2015-06-02 file-has-acl: fix build on Mac OS X 10
  9642. 2015-06-01 gnulib-tool: concatenate lib_SOURCES to a single line
  9643. 2015-06-01 pthread_sigmask: discount system version if a simple macro
  9644. 2015-05-31 readlinkat: avoid OS X 10.10 trailing slash bug
  9645. * doc/misc/texinfo.tex, lib/acl-internal.h, lib/get-permissions.c:
  9646. * lib/readlinkat.c, lib/set-permissions.c, lib/stdio.in.h:
  9647. * m4/acl.m4, m4/pthread_sigmask.m4, m4/readlinkat.m4: Copy from gnulib.
  9648. * lib/gnulib.mk: Regenerate.
  9649. 2015-06-06 Juri Linkov <juri@linkov.net>
  9650. * lisp/progmodes/grep.el (zrgrep): Let-bind grep-highlight-matches
  9651. before calling grep-compute-defaults because now it affects the
  9652. command lines computed in grep-compute-defaults. (Bug#20728)
  9653. 2015-06-06 Glenn Morris <rgm@gnu.org>
  9654. Address some compilation warnings.
  9655. * lisp/international/mule-cmds.el (w32-get-console-codepage)
  9656. (w32-get-console-output-codepage):
  9657. * lisp/progmodes/elisp-mode.el (xref-collect-references):
  9658. * lisp/version.el (cairo-version-string): Declare.
  9659. * lisp/erc/erc.el (erc-nickname-in-use): Fix typo.
  9660. 2015-06-06 Eli Zaretskii <eliz@gnu.org>
  9661. Fix display when a font claims large values of ascent and descent
  9662. This fixes bug#20628.
  9663. * src/xdisp.c (get_phys_cursor_geometry): Correct the Y
  9664. coordinate of a hollow cursor glyph when the original glyph's
  9665. ascent is too small.
  9666. (get_font_ascent_descent, normal_char_ascent_descent)
  9667. (normal_char_height): New functions.
  9668. (handle_single_display_spec, append_space_for_newline)
  9669. (calc_pixel_width_or_height, produce_stretch_glyph)
  9670. (calc_line_height_property): Use normal_char_ascent_descent and
  9671. normal_char_height.
  9672. (x_produce_glyphs): When font-global values of ascent and descent
  9673. are too large, use per-character glyph metrics instead, if
  9674. possible. But don't allow the glyph row's ascent and descent
  9675. values become smaller than the values from the metrics of the
  9676. font's "normal" character.
  9677. * src/xftfont.c (xftfont_draw):
  9678. * src/w32font.c (w32font_draw): Correct the values of ascent and
  9679. descent used to draw glyphless characters' hex code in a box.
  9680. * src/xterm.c (x_draw_glyph_string_background):
  9681. * src/xdisp.c (x_produce_glyphs):
  9682. * src/w32term.c (x_draw_glyph_string_background):
  9683. * src/nsterm.m (ns_maybe_dumpglyphs_background): Use FONT_TOO_HIGH
  9684. to detect fonts whose global ascent and descent values are too
  9685. large to be used in layout decision, and redraw the background
  9686. when that happens.
  9687. * src/dispextern.h (FONT_TOO_HIGH): New macro.
  9688. (get_font_ascent_descent): Add prototype.
  9689. * src/xterm.c (x_new_font):
  9690. * src/w32term.c (x_new_font):
  9691. * src/nsterm.m (x_new_font):
  9692. * src/font.c (font_open_entity):
  9693. * src/composite.c (composition_gstring_width):
  9694. Use get_font_ascent_descent to obtain reasonable values for ascent
  9695. and descent of a font.
  9696. 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
  9697. Add assertion in adjust_point_for_property
  9698. * src/keyboard.c (adjust_point_for_property): Add eassert for
  9699. current buffer being shown in selected window.
  9700. 2015-06-06 Dmitry Gutov <dgutov@yandex.ru>
  9701. Replace uses of in-string-p; make it obsolete
  9702. * lisp/thingatpt.el (in-string-p): Declare obsolete (bug#20732).
  9703. (end-of-sexp, beginning-of-sexp): Use syntax-ppss instead.
  9704. 2015-06-06 Eli Zaretskii <eliz@gnu.org>
  9705. Fix Dired display of an explicit list of files by ls-lisp.el
  9706. * lisp/ls-lisp.el (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt)
  9707. (ls-lisp-gid-d-fmt, ls-lisp-gid-s-fmt): Make the initial values be
  9708. correct for when displaying individual files separately, not as
  9709. part of listing a directory, in which case these values are not
  9710. recomputed by 'ls-lisp-insert-directory', but used verbatim.
  9711. * lisp/dired.el (dired): Doc fix. (Bug#20739)
  9712. 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
  9713. Do not adjust point in a non-selected window
  9714. * src/keyboard.c (command_loop_1): Do not adjust point when
  9715. current buffer is not shown in selected window (Bug#20590).
  9716. * etc/DEBUG: Mention 'maybe_call_debugger'
  9717. 2015-06-05 Nicolas Petton <nicolas@petton.fr>
  9718. Fix a unit test for map.el
  9719. * test/automated/map-tests.el (test-map-let): Fix the test to work
  9720. with the new syntax of `map-let'.
  9721. * lisp/emacs-lisp/map.el (map-let): Better docstring.
  9722. Better syntax for the map pcase pattern
  9723. * lisp/emacs-lisp/map.el: Improves the map pcase pattern to take
  9724. bindings of the form (KEY PAT) or SYMBOL. KEY is not quoted.
  9725. * lisp/emacs-lisp/map.el (map--dispatch): Better docstring.
  9726. Fix a byte-compiler error in map-put and map-delete
  9727. * lisp/emacs-lisp/map.el (map-put, map-delete): Ensure that `setq' is
  9728. called with a symbol.
  9729. 2015-06-05 Glenn Morris <rgm@gnu.org>
  9730. * admin/gitmerge.el (gitmerge-commit-message):
  9731. Revert to including "skipped" messages in ChangeLog once again.
  9732. 2015-06-05 Tassilo Horn <tsdh@gnu.org>
  9733. Use string> instead of equiv lambda with string<
  9734. * lisp/help.el (view-emacs-news): Use string> instead of equivalent
  9735. lambda with string<.
  9736. 2015-06-05 Glenn Morris <rgm@gnu.org>
  9737. * lisp/emacs-lisp/map.el (map--dispatch): Move before use.
  9738. (map--delete-array): Fix typo.
  9739. * test/automated/map-tests.el: Replace "assert" with "should".
  9740. * lisp/Makefile.in (SUBDIRS): Rename from SUBDIRS_ABS.
  9741. (SUBDIRS_REL): Derive from SUBDIRS.
  9742. Tweak some build messages.
  9743. * lisp/Makefile.in ($(lisp)/loaddefs.el):
  9744. * lisp/cus-dep.el (custom-make-dependencies):
  9745. * lisp/finder.el (finder-compile-keywords): Say what we are doing.
  9746. * lisp/international/titdic-cnv.el (batch-titdic-convert):
  9747. Don't say how to compile.
  9748. 2015-06-05 Paul Eggert <eggert@cs.ucla.edu>
  9749. Omit U+0332 COMBINING LOW LINE in previous change
  9750. It turns out that it does not work on Ubuntu 15.04.
  9751. Fix transliteration of Bahá'í months
  9752. * lisp/calendar/cal-bahai.el (calendar-bahai-month-name-array):
  9753. Improve quality of Latin transliteration of Bahá'í month names.
  9754. Fix curved quotes in a few places
  9755. * lisp/calc/calc-misc.el (calc-help): Fix quoting.
  9756. The strings in question are not doc strings, so this partially
  9757. undoes the recent change that assumed they were doc strings.
  9758. * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
  9759. * lisp/info.el (Info-finder-find-node):
  9760. Use curved quotes.
  9761. * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
  9762. Also allow curved quotes in doc strings.
  9763. 2015-06-04 Glenn Morris <rgm@gnu.org>
  9764. * lisp/Makefile.in (AM_V_at): Add missing definition.
  9765. * lisp/Makefile.in: Quieten output a bit.
  9766. ($(lisp)/cus-load.el, $(lisp)/finder-inf.el):
  9767. Don't echo directories, since the commands we invoke print them.
  9768. * lisp/Makefile.in: Replace shell fragments in variables with $(shell).
  9769. (SUBDIRS_REL, SUBDIRS_ABS, SUBDIRS_ALMOST, SUBDIRS_FINDER)
  9770. (SUBDIRS_SUBDIRS): New variables.
  9771. (setwins, setwins_almost, setwins_finder, setwins_for_subdirs):
  9772. Remove.
  9773. ($(lisp)/cus-load.el, $(lisp)/finder-inf.el, $(lisp)/loaddefs.el)
  9774. (update-subdirs, compile-main, compile-clean):
  9775. Replace "setwins" usage with new "SUBDIRS" variables.
  9776. * lisp/vc/compare-w.el (compare-windows-get-window-function):
  9777. Fix :version tag.
  9778. 2015-06-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
  9779. * src/ftfont.c (ftfont_open2): Round divisions by upEM.
  9780. Undo removal of x_clear_area call on expose for GTK3 or cairo
  9781. * src/xterm.c (handle_one_xevent) [HAVE_GTK3 || USE_CAIRO]:
  9782. Clear exposed area. (Bug#20677)
  9783. 2015-06-04 Glenn Morris <rgm@gnu.org>
  9784. * doc/lispref/hash.texi (Creating Hash): Remove obsolete makehash.
  9785. * lisp/Makefile.in (check-defun-dups): Also skip ldefs-boot.
  9786. * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
  9787. Rename from quail-lao-update-translation, since lao.el defines that.
  9788. 2015-06-04 Dmitry Gutov <dgutov@yandex.ru>
  9789. Handle new-style advice in find-funct
  9790. * lisp/emacs-lisp/find-func.el (find-function-advised-original):
  9791. Handle new-style advice. Return the symbol's function definition.
  9792. (Bug#20718)
  9793. (find-function-library): Update accordingly.
  9794. 2015-06-04 Nicolas Petton <nicolas@petton.fr>
  9795. Merge branch 'map'
  9796. * lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
  9797. Add new function string-greaterp
  9798. * lisp/subr.el (string-greaterp): New function. Also aliased to
  9799. `string>'.
  9800. * test/automated/subr-tests.el (string-comparison-test): Add unit
  9801. tests for `string>'and `string<'.
  9802. * src/fns.c (string-lessp): Better docstring.
  9803. 2015-06-04 Eli Zaretskii <eliz@gnu.org>
  9804. Fix timezone-related functions on MS-Windows
  9805. * src/editfns.c (set_time_zone_rule) [WINDOWSNT]: Always call
  9806. 'xputenv', even if no reallocation of tzvalbuf was necessary.
  9807. This fixes a bug in timezone-related functions on MS-Windows.
  9808. Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
  9809. 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
  9810. Don't pass raw directory name to 'error'
  9811. * lisp/files.el (basic-save-buffer-2): Avoid format error if
  9812. a directory name contains a string like "%s".
  9813. 2015-06-03 Dmitry Gutov <dgutov@yandex.ru>
  9814. Override 'grep --color=always'
  9815. * lisp/progmodes/xref.el (xref-collect-matches):
  9816. Override --color=always in grep-find-template.
  9817. 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
  9818. Fix error introduced recently in file-notify-tests.el
  9819. * test/automated/file-notify-tests.el
  9820. (file-notify--test-remote-enabled): Do not use `file-notify--test-desc'.
  9821. (file-notify--deftest-remote): Revert previous patch, not
  9822. necessary anymore.
  9823. 2015-06-03 Wolfgang Jenkner <wjenkner@inode.at>
  9824. * src/indent.c (Fvertical_motion): Amend motion by 0 lines.
  9825. Starting from a display string after a newline, point went to the
  9826. previous line. Also, fix an inadvertent use of a buffer position
  9827. with FETCH_BYTE. (Bug#20701)
  9828. 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
  9829. Instrument file-notify-test.el in order to catch hydra error
  9830. * test/automated/file-notify-tests.el (file-notify--deftest-remote):
  9831. Wrap body by `ignore-case', in order to trap non-local errors.
  9832. 2015-06-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
  9833. Undo previous changes in non-toolkit scroll bar drawing
  9834. * src/xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose)
  9835. [!USE_TOOLKIT_SCROLL_BARS]: Draw into scroll bar window. (Bug#20668)
  9836. 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
  9837. * .gitignore: Also ignore doc/*/*/*.html and .ps.
  9838. Support quotes 'like this' in info files
  9839. This is possible when 'makeinfo --disable-encoding' is used
  9840. in Texinfo 5.
  9841. * lisp/calc/calc-help.el (calc-describe-thing):
  9842. * lisp/gnus/gnus-art.el (gnus-button-alist):
  9843. * lisp/info.el (Info-find-index-name):
  9844. * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
  9845. Also support quotes 'like this'.
  9846. * lisp/calc/calc-help.el (calc-describe-thing): Simplify.
  9847. * lisp/finder.el (finder-font-lock-keywords): Remove var that
  9848. hasn't been used in years, instead of bothering to fix its quoting.
  9849. 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
  9850. * .gitignore: Remove !test/etags/html-src/*.html.
  9851. It's no longer needed, since *.html was removed. Sort.
  9852. 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
  9853. Restore <D> instead of '.' in grep-find-template
  9854. * lisp/cedet/semantic/symref/grep.el
  9855. (semantic-symref-grep-use-template): Update a comment.
  9856. * lisp/progmodes/grep.el (grep-compute-defaults): Restore <D>
  9857. instead of '.' in grep-find-template (bug#20719).
  9858. (rgrep): Pass nil as the directory to rgrep-default-command.
  9859. * lisp/progmodes/grep.el (grep-expand-keywords): Use '.' as the
  9860. default value for DIR.
  9861. * lisp/progmodes/xref.el (xref-collect-matches): Drop the
  9862. workaround.
  9863. 2015-06-02 Glenn Morris <rgm@gnu.org>
  9864. * configure.ac (emacs_config_features): Add X toolkit and scroll-bars.
  9865. * configure.ac (emacs_config_features): Add Cairo.
  9866. * configure.ac [HAVE_GTK3]: Remove USE_CAIRO that gets reset later.
  9867. 2015-06-02 Michael Albinus <michael.albinus@gmx.de>
  9868. Ensure that autorevert works for remote files in file-notify-tests.el
  9869. * test/automated/file-notify-tests.el (file-notify--test-desc):
  9870. New defvar.
  9871. (file-notify--test-remote-enabled)
  9872. (file-notify-test00-availability, file-notify-test01-add-watch)
  9873. (file-notify-test02-events): Use it.
  9874. (file-notify--test-event-test): Check proper descriptor.
  9875. (file-notify-test03-autorevert): Ensure that
  9876. `visited-file-modtime' has changed. (Bug#20392)
  9877. 2015-06-02 Nicolas Petton <nicolas@petton.fr>
  9878. Add a pcase pattern for maps and `map-let' based on it
  9879. * lisp/emacs-lisp/map.el (map-let): New macro.
  9880. (map--make-pcase-bindings, map--make-pcase-patterns): New functions.
  9881. * test/automated/map-tests.el: New test for `map-let'.
  9882. 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
  9883. Reuse rgrep mechanics in xref-find-regexp
  9884. * lisp/progmodes/grep.el (rgrep-default-command):
  9885. Extract from `rgrep'.
  9886. * lisp/progmodes/xref.el (xref-collect-references): Split from
  9887. `xref-collect-matches'. Only handle the case of symbol search.
  9888. (xref-collect-matches): Instead of Semantic Symref, use
  9889. `rgrep-default-command', to take advantage of its directory and
  9890. file ignore settings.
  9891. (xref--collect-match): Remove the last argument, leaving the
  9892. regexp construction up to the caller.
  9893. * lisp/progmodes/elisp-mode.el (elisp--xref-find-matches):
  9894. Change to take the xref-collect- function to use as an argument.
  9895. (elisp-xref-find): Update accordingly.
  9896. * lisp/progmodes/etags.el (etags--xref-find-matches)
  9897. (etags-xref-find): Same.
  9898. Move xref-elisp-location to elisp-mode.el
  9899. * lisp/progmodes/xref.el (xref-elisp-location)
  9900. (xref-make-elisp-location, xref-location-marker): Remove here.
  9901. (xref--xref): Don't limit the type of the location slot.
  9902. * lisp/progmodes/elisp-mode.el (xref-elisp-location):
  9903. Define as a cl-struct here.
  9904. (xref-location-marker): Move here.
  9905. 2015-06-02 Eli Zaretskii <eliz@gnu.org>
  9906. Minor tweaks for .gitignore
  9907. * .gitignore: Don't ignore versioned *.html and *.ps files.
  9908. Don't ignore admin/notes/tags that might be ignored as TAGS
  9909. on case-insensitive filesystems. (Bug#20710)
  9910. 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
  9911. Generate curved quotes in ert doc
  9912. * lisp/emacs-lisp/ert.el (ert--print-test-for-ewoc)
  9913. (ert-results-mode-menu)
  9914. (ert-results-pop-to-backtrace-for-test-at-point)
  9915. (ert-results-pop-to-messages-for-test-at-point)
  9916. (ert-results-pop-to-should-forms-for-test-at-point)
  9917. (ert-describe-test):
  9918. Quote ‘like this’, not `like this', when generating doc strings
  9919. and the like.
  9920. * test/automated/ert-x-tests.el (ert-test-describe-test):
  9921. Allow quoting ‘like this’.
  9922. 2015-06-02 Nicolas Richard <youngfrog@members.fsf.org>
  9923. Add test for previous commit
  9924. * test/automated/replace-tests.el: New file.
  9925. (query-replace--split-string-tests): Add test for previous commit.
  9926. Avoid confusion in query-replace history when replacing NUL chars
  9927. * lisp/replace.el (query-replace--split-string): New function.
  9928. (query-replace-read-from): Rely on the 'separator' property
  9929. instead of searching for the NUL character (Bug#20690).
  9930. 2015-06-02 Glenn Morris <rgm@gnu.org>
  9931. Merge from origin/emacs-24
  9932. 8b5f2f4 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
  9933. * admin/gitmerge.el (gitmerge-commit-message):
  9934. Exclude "skipped" messages from ChangeLog.
  9935. 2015-06-01 Michael Albinus <michael.albinus@gmx.de>
  9936. Sync with Tramp repository
  9937. * lisp/net/tramp.el (tramp-message): Dump connection buffer error
  9938. messages.
  9939. (tramp-handle-make-auto-save-file-name): When calling
  9940. `make-auto-save-file-name' internally, make sure it uses Unix-like
  9941. behavior, not Windows-like behavior.
  9942. * lisp/net/tramp-sh.el (tramp-set-file-uid-gid): Add a timeout for
  9943. the local case, because "chown" might fail on w32.
  9944. * lisp/net/trampver.el (tramp-repository-get-version): Don't run
  9945. for XEmacs.
  9946. 2015-06-01 Eli Zaretskii <eliz@gnu.org>
  9947. MS-Windows followup for batch stdout/stderr output changes
  9948. * lisp/international/mule-cmds.el (set-locale-environment):
  9949. In batch mode, use console codepages for keyboard and terminal
  9950. encoding. (Bug#20545)
  9951. Update .gitattributes for DOS EOL files
  9952. * .gitattributes: Use "whitespace=cr-at-eol" for files with DOS
  9953. CRLF end-of-line format.
  9954. NS equivalents of xterm.c and w32term.c changes
  9955. * src/nsterm.m (ns_maybe_dumpglyphs_background): Force redraw of
  9956. glyph string background also when the font in use claims
  9957. preposterously large global height value. Helps to remove
  9958. artifacts left from previous displays when glyphless characters
  9959. are displayed as hex code in a box.
  9960. (x_new_font): Call get_font_ascent_descent to obtain a reasonable
  9961. value for FRAME_LINE_HEIGHT, even when a font claims very large
  9962. value for its height.
  9963. 2015-06-01 Paul Eggert <eggert@cs.ucla.edu>
  9964. Avoid grave accent quoting in stderr diagnostics
  9965. A few Emacs diagnostics go directly to stderr, and so can't easily
  9966. contain curved quotes (as non-UTF-8 locales might mishandle them).
  9967. Instead of bothering to add support for this rarity, reword the
  9968. diagnostics so that they don't use grave accent to quote.
  9969. * src/alloc.c (mark_memory): Fix comment.
  9970. * src/buffer.c (init_buffer):
  9971. * src/dispnew.c (init_display):
  9972. * src/emacs.c (main, sort_args):
  9973. * src/lread.c (dir_warning):
  9974. * src/term.c (init_tty):
  9975. * src/unexmacosx.c (unexec):
  9976. * src/xfns.c (select_visual):
  9977. * src/xterm.c (cvt_string_to_pixel, x_io_error_quitter):
  9978. Reword stderr diagnostics to avoid quoting `like this'.
  9979. * src/unexmacosx.c: Include errno.h.
  9980. * src/xfns.c (select_visual): Encode value for locale.
  9981. 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
  9982. Treat batch stdout/stderr like standard display
  9983. Calls like (print FOO) could generate improperly encoded or
  9984. hard-to-read output if FOO contains characters outside the system
  9985. locale. Fix this by treating batch stdout and stderr like
  9986. interactive standard display, when it comes to transliterating and
  9987. encoding characters (Bug#20545).
  9988. * doc/emacs/mule.texi (Communication Coding):
  9989. * doc/lispref/display.texi (Active Display Table):
  9990. * doc/lispref/nonascii.texi (Locales):
  9991. * etc/NEWS:
  9992. * src/coding.c (syms_of_coding):
  9993. * src/dispnew.c (syms_of_display):
  9994. Document this.
  9995. * src/print.c: Include disptab.h.
  9996. (printchar_to_stream): New function, with much of the guts of the
  9997. old Fexternal_debugging_output, except this one also uses the
  9998. standard display table.
  9999. (printchar, strout, Fexternal_debugging_output): Use it.
  10000. 2015-05-31 Glenn Morris <rgm@gnu.org>
  10001. * src/emacs.c (syms_of_emacs) <system-configuration-features>: Doc fix.
  10002. 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
  10003. Remove DEFSYMs that aren't used at the C level. Also:
  10004. * src/decompress.c (Qzlib_dll):
  10005. * src/font.c (Qunicode_sip):
  10006. * src/frame.c (Qtip_frame):
  10007. * src/ftfont.c (Qserif):
  10008. * src/gnutls.c (Qgnutls_dll):
  10009. * src/xml.c (Qlibxml2_dll):
  10010. Move from here ...
  10011. * src/w32fns.c (syms_of_w32fns): ... to here,
  10012. as these are used only on MS-Windows.
  10013. 2015-05-31 Michael Albinus <michael.albinus@gmx.de>
  10014. Use another default value for tramp-histfile-override
  10015. * lisp/net/tramp-sh.el (tramp-histfile-override):
  10016. Use ".tramp_history" as default.
  10017. Fixes bug#20446
  10018. 2015-05-29 Nicolas Petton <nicolas@petton.fr>
  10019. * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
  10020. 2015-05-16 Nicolas Petton <nicolas@petton.fr>
  10021. * etc/NEWS: Add an entry about map.el.
  10022. Improve the docstring of functions in map.el
  10023. Since a map is not a data structure but a concept, adding information
  10024. about the possible types of maps can be useful information.
  10025. * lisp/emacs-lisp/map.el: Add documentation about the type of MAP to
  10026. each public function.
  10027. 2015-04-29 Nicolas Petton <nicolas@petton.fr>
  10028. * lisp/emacs-lisp/map.el (map-empty-p): Faster implementation using
  10029. specific tests depending on the type of the map.
  10030. * lisp/emacs-lisp/map.el: Better docstrings.
  10031. 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
  10032. * lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda.
  10033. 2015-04-25 Nicolas Petton <nicolas@petton.fr>
  10034. * lisp/emacs-lisp/map.el (map--elt-list): Better docstring.
  10035. * lisp/emacs-lisp/map.el (map--elt-list): Minor refactoring.
  10036. Fix a false negative in `map-elt' with alists and values being nil
  10037. * lisp/emacs-lisp/map.el (map-elt): If map is an alist and key is
  10038. found but its associated value is nil, do not return the default
  10039. value.
  10040. * test/automated/map-tests.el: Add a regression test.
  10041. 2015-04-24 Nicolas Petton <nicolas@petton.fr>
  10042. * lisp/emacs-lisp/map.el (map--dispatch): Improve the docstring.
  10043. Do not signal an error when trying to delete a key from an array
  10044. * lisp/emacs-lisp/map.el (map-delete): When map is an array, check if
  10045. the key is present to avoid signaling an error.
  10046. * test/automated/map-tests.el: Add a test for deleting non-existing
  10047. keys from maps.
  10048. * lisp/emacs-lisp/map.el: Better docstring.
  10049. Minor improvement in map-elt
  10050. * lisp/emacs-lisp/map.el (map-elt): Do not use `ignore-errors' when
  10051. doing a lookup in arrays, but check the boundaries of the array
  10052. instead.
  10053. * test/automated/map-tests.el: Adds a test for `map-elt' with arrays
  10054. and a negative integer as key.
  10055. 2015-04-21 Nicolas Petton <nicolas@petton.fr>
  10056. * test/automated/map-tests.el: Refactoring of test methods.
  10057. * test/automated/map-tests.el: Renamed from map-test.el.
  10058. 2015-04-18 Nicolas Petton <nicolas@petton.fr>
  10059. * lisp/emacs-lisp/map.el (map-into): Better error message.
  10060. * lisp/emacs-lisp/map.el: Remove byte-compilation warnings.
  10061. Throw an error when converting a map into an unknown map type
  10062. * lisp/emacs-lisp/map.el (map-into): Throw an error if type is
  10063. not valid.
  10064. * test/automated/map-test.el: Add a regression test.
  10065. New library map.el similar to seq.el but for mapping data structures.
  10066. * test/automated/map-test.el: New file.
  10067. * lisp/emacs-lisp/map.el: New file.
  10068. 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
  10069. * lisp/progmodes/etags.el (tag-implicit-name-match-p): Make sure
  10070. there's no explicit tag name (bug#20629).
  10071. 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
  10072. Remove format2
  10073. * src/editfns.c, src/lisp.h (format2): Remove.
  10074. It is more trouble than it's worth, now that we have CALLN.
  10075. This is just a minor refactoring.
  10076. * src/buffer.c (Fkill_buffer):
  10077. * src/dbusbind.c (XD_OBJECT_TO_STRING):
  10078. * src/fileio.c (barf_or_query_if_file_exists):
  10079. Adjust to format2 going away.
  10080. Don't misencode C-generated messages
  10081. Also, be more consistent about calls to 'Fmessage' vs 'message'.
  10082. * src/alloc.c (Fgc_status):
  10083. Prefer AUTO_STRING to build_string for Fmessage call.
  10084. * src/data.c (Fmake_variable_buffer_local)
  10085. (Fmake_local_variable, Fmake_variable_frame_local):
  10086. * src/doc.c (store_function_docstring):
  10087. Use Fmessage, not message, since the argument can contain
  10088. non-ASCII characters, and this can cause the resulting message
  10089. to be incorrectly encoded for the current environment.
  10090. * src/fns.c (maybe_resize_hash_table):
  10091. * src/xselect.c (x_clipboard_manager_save_all):
  10092. Use message, not Fmessage, since Fmessage's power isn't needed here.
  10093. * src/process.c (Fmake_network_process): Reword message to avoid %s.
  10094. * src/xdisp.c (vmessage): Document restrictions on message contents.
  10095. (message_nolog) [false]: Remove unused code.
  10096. Use \r rather than ^M in string literals
  10097. This is less likely to cause problems on platforms that
  10098. use CRLF (or CR!) termination for lines.
  10099. Update .gitattributes to match current sources
  10100. http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00879.html
  10101. * .gitattributes: Accommodate tests that insist on DOS format.
  10102. Remove test/automated/data/decompress/foo-gzipped.
  10103. Add etc/e/eterm-color.
  10104. 2015-05-30 Eli Zaretskii <eliz@gnu.org>
  10105. * doc/emacs/mule.texi (Modifying Fontsets):
  10106. Document face-ignored-fonts. (Bug#20628)
  10107. Add etags test for the new -Q option
  10108. * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
  10109. * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
  10110. * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
  10111. test-case changes below.
  10112. * test/etags/ETAGS.good_6: New file.
  10113. * test/etags/cp-src/x.cc: New file.
  10114. * test/etags/Makefile (CPSRC): Add x.cc.
  10115. (check): Add one more test, for -Q.
  10116. 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
  10117. Use list for the tags completion table, not obarray
  10118. * lisp/progmodes/etags.el (etags-tags-completion-table): Return a
  10119. list instead of an obarray
  10120. (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00876.html).
  10121. (tags-completion-table): Combine those lists.
  10122. (tags-completion-table): Update the docstring.
  10123. 2015-05-30 Eli Zaretskii <eliz@gnu.org>
  10124. Restore EOL format testing in etags
  10125. * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
  10126. * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
  10127. * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
  10128. test-case changes below.
  10129. * test/etags/html-src/algrthms.html: Convert back to DOS EOL format.
  10130. * test/etags/cp-src/c.C (B): Add back stray CR character.
  10131. * test/etags/c-src/dostorture.c: Add back.
  10132. * test/etags/Makefile (CSRC): Add back c-src/dostorture.c.
  10133. 2015-05-30 Vitaly Takmazov <vitalyster@gmail.com> (tiny change)
  10134. Declare Emacs on MS-Windows to be DPI-aware
  10135. * nt/emacs-x86.manifest (asmv3:windowsSettings): Add dpiAware.
  10136. * nt/emacs-x64.manifest (asmv3:windowsSettings): Add dpiAware.
  10137. This avoids Windows entering compatibility mode for Emacs,
  10138. which causes fonts to look less nice.
  10139. 2015-05-30 Michael Albinus <michael.albinus@gmx.de>
  10140. Improve Tramp traces
  10141. * lisp/net/trampver.el (tramp-repository-get-version): New defun.
  10142. * lisp/net/tramp.el (tramp-debug-message): Use it.
  10143. 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
  10144. backup-buffer minor reworking of internals
  10145. * lisp/files.el (backup-buffer): Rework to avoid a couple of
  10146. unused locals inadvertently introduced in the previous change.
  10147. backup-buffer now reports .emacs.d/%backup% ills
  10148. * lisp/files.el (backup-buffer): If the write to .emacs.d/%backup%
  10149. fails due to disk space exhaustion or whatever, do not pretend
  10150. that it succeeded. More generally, do a better job of checking
  10151. for I/O failures, and limit the scope of the condition-case to
  10152. just the operations where file errors should be caught and ignored
  10153. (Bug#20595). Also, don't bother trying to delete later backups if
  10154. an earlier deletion fails, as this is a sign of trouble and it's
  10155. better to stop when there's trouble.
  10156. copy-file now truncates output after writing
  10157. * src/fileio.c (Fcopy_file): Truncate output after writing rather
  10158. than before. This is more likely to work than truncation before
  10159. writing, if the file system is out of space or the user is over
  10160. disk quota (Bug#20595). Also, check for read errors.
  10161. 2015-05-29 Artur Malabarba <bruce.connor.am@gmail.com>
  10162. * lisp/emacs-lisp/package.el (package-load-all-descriptors):
  10163. Don't load descriptors from directories above the package directories.
  10164. 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
  10165. Merge from gnulib
  10166. This incorporates the following (Bug#20681):
  10167. 2015-05-29 acl-permissions: Fix build on Mac OS X and older AIX
  10168. 2015-05-29 acl-permissions: Fix build on Solaris and Cygwin
  10169. * lib/set-permissions.c: Copy from gnulib.
  10170. 2015-05-29 Michael Albinus <michael.albinus@gmx.de>
  10171. Improve Tramp traces
  10172. * lisp/net/tramp.el (tramp-call-process-region): New defun.
  10173. * lisp/net/tramp-sh.el (tramp-get-inline-coding): Use it.
  10174. 2015-05-29 Glenn Morris <rgm@gnu.org>
  10175. * test/automated/vc-tests.el: Try enabling tests on hydra.nixos.org.
  10176. 2015-05-29 Wolfgang Jenkner <wjenkner@inode.at>
  10177. * src/xfns.c (x_set_menu_bar_lines): Fix calls to x_clear_area.
  10178. The signature was changed in the cairo branch, merged on 2015-05-23.
  10179. This oversight broke compiling only the non-toolkit X version.
  10180. 2015-05-29 Samer Masterson <samer@samertm.com>
  10181. * doc/lispref/os.texi: Update initial-buffer-choice docs.
  10182. 2015-05-29 Glenn Morris <rgm@gnu.org>
  10183. * test/automated/vc-tests.el (vc-test-rcs04-checkout-model):
  10184. Mark as an expected failure.
  10185. 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
  10186. Change package test to look for curved quotes
  10187. * test/automated/package-test.el (package-test-describe-package)
  10188. (package-test-signed): Search for curved single quotes as well as
  10189. for grave accent and apostrophe.
  10190. 2015-05-28 Katsumi Yamaoka <yamaoka@jpl.org>
  10191. * lisp/gnus/gnus-art.el (gnus-button-alist): Re-revert last change.
  10192. cf. <http://news.gmane.org/group/gmane.emacs.devel/thread=186896>
  10193. 2015-05-28 Samer Masterson <samer@samertm.com>
  10194. Show files when `initial-buffer-choice' is non-nil
  10195. * lisp/startup.el (command-line-1): When Emacs is given a file as an
  10196. argument and `initial-buffer-choice' is non-nil, display both the file
  10197. and `initial-buffer-choice'. For more than one file, show
  10198. `initial-buffer-choice' and *Buffer List*. Refactor display-changing
  10199. commands out of the command line arg parser.
  10200. (initial-buffer-choice): Clarify docstring.
  10201. 2015-05-28 Eli Zaretskii <eliz@gnu.org>
  10202. Fix last commit
  10203. * nt/gnulib.mk (libgnu_a_SOURCES): Add get-permissions.c back.
  10204. (gnulib module qcopy-acl): Add back, as it is harmless. This
  10205. minimizes differences wrt lib/gnulib.mk.
  10206. Fix the MS-Windows build as followup to gnulib update
  10207. * nt/gnulib.mk (libgnu_a_SOURCES): Remove get-permissions.c and
  10208. set-permissions.c, as they don't compile on MinGW.
  10209. (gnulib module qcopy-acl): Remove, as it needs set-permissions.c.
  10210. 2015-05-28 Paul Eggert <eggert@cs.ucla.edu>
  10211. Revert my change to gnus-art.el
  10212. * lisp/gnus/gnus-art.el (gnus-button-alist): Revert last change.
  10213. It wasn't that important, and it caused a Gnus build to fail. See:
  10214. http://www.randomsample.de:4456/builders/emacs-devel/builds/734
  10215. New minor mode Electric Quote
  10216. This lets you easily insert quotes ‘like this’ by typing
  10217. quotes `like this', and similarly you can easily insert
  10218. quotes “like this” by typing quotes ``like this'' (Bug#20545).
  10219. * doc/emacs/basic.texi (Inserting Text):
  10220. * doc/emacs/modes.texi (Minor Modes):
  10221. * etc/NEWS: Document it.
  10222. * doc/emacs/text.texi (Quotation Marks): New section.
  10223. * lisp/electric.el (electric-quote-comment)
  10224. (electric-quote-string, electric-quote-paragraph):
  10225. New custom vars.
  10226. (electric--insertable-p)
  10227. (electric-quote-post-self-insert-function): New functions.
  10228. (electric-quote-mode, electric-quote-local-mode): New minor modes.
  10229. * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
  10230. Add curved single quotes to electric-pair-text-pairs.
  10231. Set electric-quote-string in this buffer.
  10232. A few more doc string fixes (Bug#20385)
  10233. Accept curved quotes in doc strings
  10234. * lisp/info-look.el (info-lookup-guess-custom-symbol):
  10235. (info-lookup-alist): Treat ‘’ like `' when parsing help buffers etc.
  10236. Generate curved quotes in pseudo-info nodes
  10237. * lisp/info.el (Info-virtual-index-find-node)
  10238. (Info-virtual-index, Info-apropos-find-node, info-apropos):
  10239. Quote ‘like this’, not `like this', when generating pseudo-info nodes.
  10240. Fix minor quoting problems in doc strings
  10241. Most of these fixes involve escaping grave accents that are
  10242. actually intended to be grave accents, not left quotes.
  10243. (Bug#20385)
  10244. Support curved quotes in doc strings
  10245. Emacs's traditional doc string style has been to quote symbols
  10246. `like this'. This worked well on now-obsolete terminals where
  10247. ` and ' were symmetric quotes, but nowadays curved quotes
  10248. ‘like this’ look better. Support quoting the new way too.
  10249. (Bug#20385)
  10250. * doc/lispref/tips.texi (Documentation Tips): Symbols can be quoted
  10251. ‘like-this’ as well as `like-this'.
  10252. * etc/NEWS: Mention this.
  10253. * lisp/cedet/mode-local.el (overload-docstring-extension)
  10254. (mode-local-print-binding, mode-local-describe-bindings-2):
  10255. * lisp/cus-theme.el (describe-theme-1):
  10256. * lisp/descr-text.el (describe-text-properties-1, describe-char):
  10257. * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
  10258. * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
  10259. * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
  10260. (eieio-help-constructor):
  10261. * lisp/emacs-lisp/package.el (describe-package-1):
  10262. * lisp/faces.el (describe-face):
  10263. * lisp/help-fns.el (help-fns--key-bindings)
  10264. (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete):
  10265. (help-fns--interactive-only, describe-function-1):
  10266. (describe-variable):
  10267. * lisp/help.el (describe-mode):
  10268. * lisp/international/mule-cmds.el (describe-input-method)
  10269. (describe-language-environment):
  10270. * lisp/international/mule-diag.el (describe-character-set)
  10271. (print-coding-system-briefly, list-input-methods)
  10272. (list-input-methods-1):
  10273. Insert curved quotes rather than grave accent and apostrophe.
  10274. * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
  10275. * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
  10276. (checkdoc-proper-noun-region-engine):
  10277. * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
  10278. (lisp-cl-font-lock-keywords-2):
  10279. * lisp/finder.el (finder-font-lock-keywords):
  10280. * lisp/gnus/gnus-art.el (gnus-button-alist):
  10281. * lisp/help-fns.el (help-do-arg-highlight)
  10282. (describe-function-1, describe-variable):
  10283. * lisp/help-mode.el (help-xref-symbol-regexp)
  10284. (help-xref-info-regexp, help-xref-url-regexp):
  10285. * lisp/help.el (describe-mode):
  10286. * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
  10287. * lisp/wid-edit.el (widget-documentation-link-regexp):
  10288. Parse symbols quoted ‘like-this’ as well as `like-this'.
  10289. * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
  10290. Add "‘" and "’" to electric-pair-text-pairs.
  10291. (elisp--form-quoted-p): Also allow "‘" as a quoting char.
  10292. (elisp-completion-at-point, elisp--preceding-sexp):
  10293. Also treat "‘" and "’" as quoting chars.
  10294. substitute-command-keys now curves quotes
  10295. So, for example, it turns "`abc'" into "‘abc’" (Bug#20385).
  10296. * doc/lispref/help.texi (Keys in Documentation):
  10297. * etc/NEWS: Document this.
  10298. * src/doc.c (Fsubstitute_command_keys): Implement it.
  10299. 2015-05-28 Glenn Morris <rgm@gnu.org>
  10300. * lisp/mail/rmailsum.el (rmail-summary-by-recipients)
  10301. (rmail-summary-by-topic, rmail-summary-by-senders):
  10302. No longer strip leading/trailing whitespace.
  10303. * lisp/progmodes/f90.el (f90-type-def-re): Add "type, extends".
  10304. (f90-no-block-limit): Add "enum". (Bug#20680)
  10305. * test/automated/f90.el (f90-test-bug20680, f90-test-bug20680b):
  10306. New tests.
  10307. 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
  10308. * lisp/isearch.el (isearch--current-buffer): Give a default value.
  10309. Un-revert changes mistakenly dropped by f9fabb2b.
  10310. 2015-05-27 Paul Eggert <eggert@cs.ucla.edu>
  10311. Merge from gnulib
  10312. This incorporates:
  10313. 2015-05-27 qacl: Reimplement qset_acl and qcopy_acl (Bug#20666)
  10314. 2015-05-27 file-has-acl: Split feature tests again (Bug#20667)
  10315. 2015-05-27 string: fix build failure on BSD/OSX with FORTIFY_SOURCE
  10316. 2015-05-26 stdio: limit __gnu_printf__ witness to gcc 4.4+
  10317. 2015-05-26 inttypes: force correct mingw PRIdMAX even without <stdio.h>
  10318. 2015-05-26 stdio: fix probe on mingw under gcc 5.1
  10319. * admin/merge-gnulib (GNULIB_MODULES):
  10320. Replace qacl with qcopy-acl, since we don't need the rest of qacl.
  10321. * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
  10322. * lib/inttypes.in.h, lib/qcopy-acl.c, lib/qset-acl.c:
  10323. * lib/string.in.h, m4/acl.m4, m4/stdio_h.m4:
  10324. Get latest versions from gnulib.
  10325. * lib/get-permissions.c, lib/set-permissions.c: New files.
  10326. * lib/gnulib.mk, m4/gnulib-comp.m4:
  10327. Regenerate.
  10328. * nt/gnulib.mk: Merge lib/gnulib.mk changes by hand.
  10329. 2015-05-27 Dmitry Gutov <dgutov@yandex.ru>
  10330. * lisp/vc/vc-dispatcher.el (vc-setup-buffer): Delete the old
  10331. process here.
  10332. (vc-do-command): Rather than here (bug#20608).
  10333. 2015-05-27 Ivan Shmakov <ivan@siamics.net>
  10334. Avoid gratuitous delete-dups in face-at-point
  10335. * lisp/faces.el (face-at-point): Do not compute the properly
  10336. ordered, duplicate-free list if only a single value is
  10337. requested anyway. (Bug#20519)
  10338. Show the exact C-x 8 RET invocation in describe-char
  10339. * lisp/descr-text.el (describe-char): Show the exact C-x 8 RET
  10340. invocation instead of a template. (Bug#20522)
  10341. 2015-05-27 Artur Malabarba <bruce.connor.am@gmail.com>
  10342. * lisp/emacs-lisp/package.el: Don't erase tags on refresh.
  10343. (package-menu--post-refresh): Call `tabulated-list-print' with the
  10344. UPDATE argument. This only affects the refresh action, the revert
  10345. action still erases tags.
  10346. (package-menu-get-status): Change `assq' to `assoc'.
  10347. (package-menu--mark-upgrades-1): New function.
  10348. (package-menu--mark-upgrades-pending): New variable.
  10349. (package-menu-mark-upgrades): Use them to delay marking until
  10350. after refresh is done.
  10351. (package-menu--post-refresh): Call mark-upgrades-1 if
  10352. mark-upgrades-pending is non-nil.
  10353. 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
  10354. * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
  10355. Fix typo in "Improve tramp-handle-make-auto-save-file-name"
  10356. (commit 3953c4be2816537be95520605d45b866dc731f4b).
  10357. 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
  10358. * lisp/isearch.el (isearch--current-buffer): New var.
  10359. (isearch-update): Set cursor-sensor-inhibit here.
  10360. (isearch-done): Unset cursor-sensor-inhibit in the right buffer
  10361. (bug#20532).
  10362. Change inhibit-point-motion-hooks to t
  10363. * src/textprop.c (syms_of_textprop): Default Vinhibit_point_motion_hooks
  10364. to t and document it as obsolete.
  10365. 2015-05-27 Eli Zaretskii <eliz@gnu.org>
  10366. Support ZIP files that use Zip64 extensions
  10367. * lisp/arc-mode.el (archive-zip-summarize): Handle the new ZIP
  10368. format of central directory offsets used by Zip64 extensions.
  10369. (Bug#20665)
  10370. 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
  10371. New test tramp-test30-make-auto-save-file-name
  10372. * test/automated/tramp-tests.el
  10373. (tramp-test30-make-auto-save-file-name): New test.
  10374. (tramp-test31-special-characters)
  10375. (tramp-test31-special-characters-with-stat)
  10376. (tramp-test31-special-characters-with-perl)
  10377. (tramp-test31-special-characters-with-ls, tramp-test32-utf8)
  10378. (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
  10379. (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
  10380. (tramp-test34-recursive-load, tramp-test35-unload): Rename.
  10381. Improve tramp-handle-make-auto-save-file-name
  10382. * lisp/net/tramp.el (tramp-auto-save-directory): Add :tags.
  10383. (tramp-handle-make-auto-save-file-name): Let native
  10384. `make-auto-save-file-name' use `auto-save-file-name-transforms',
  10385. if `tramp-auto-save-directory' is not set.
  10386. 2015-05-27 Glenn Morris <rgm@gnu.org>
  10387. No longer set dired-directory in eshell. (Bug#16477)
  10388. * lisp/eshell/esh-mode.el (eshell-mode):
  10389. * lisp/eshell/em-dirs.el (eshell/cd): No longer set dired-directory.
  10390. * lisp/mail/sendmail.el (mail-position-on-field): Doc fix.
  10391. Make c-submit-bug-report file reports at debbugs.gnu.org. (Bug#15784)
  10392. * lisp/progmodes/cc-mode.el (c-mode-help-address):
  10393. Change to submit@debbugs.
  10394. (c-mode-bug-package): New constant.
  10395. (mail-position-on-field): Declare.
  10396. (c-submit-bug-report): Insert X-Debbugs-Package header.
  10397. * doc/misc/cc-mode.texi (Mailing Lists and Bug Reports):
  10398. Mention debbugs.gnu.org.
  10399. 2015-05-26 Glenn Morris <rgm@gnu.org>
  10400. * lisp/mail/rmailsum.el: Commas no longer separate regexps. (Bug#19026)
  10401. (rmail-summary-by-recipients, rmail-summary-by-topic)
  10402. (rmail-summary-by-senders): No longer use mail-comma-list-regexp.
  10403. * doc/emacs/rmail.texi (Rmail Make Summary): Update for this change.
  10404. 2015-05-26 Paul Eggert <eggert@cs.ucla.edu>
  10405. Handle curved quotes in info files
  10406. * lisp/calc/calc-help.el (calc-describe-thing):
  10407. * lisp/info.el (Info-find-index-name)
  10408. (Info-try-follow-nearest-node, Info-fontify-node):
  10409. * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
  10410. In info files, process quotes ‘like this’ the same way we process
  10411. quotes `like this'. This catches a few places we missed earlier.
  10412. 2015-05-26 Dmitry Gutov <dgutov@yandex.ru>
  10413. xref-prompt-for-identifier: Use a list value
  10414. * lisp/progmodes/xref.el (xref-prompt-for-identifier): Allow list
  10415. value, to be interpreted as a list of commands.
  10416. (xref--prompt-p): New function.
  10417. (xref--read-identifier): Use it.
  10418. 2015-05-26 Eli Zaretskii <eliz@gnu.org>
  10419. Teach MS-Windows font back-end return per-glyph ascent/descent
  10420. * src/w32font.h (struct w32_metric_cache): Add ascent and descent
  10421. values.
  10422. * src/w32font.c (w32font_text_extents): Compute, cache, and
  10423. accumulate per-glyph ascent and descent values, instead of copying
  10424. global values from the font. If the values are not available from
  10425. the font data, i.e., non-TTF fonts, fall back on font-global values.
  10426. (compute_metrics): Compute and return per-glyph ascent and descent
  10427. values, if returned by GetGlyphOutlineW, falling back on
  10428. font-global values. (Bug#20628)
  10429. * src/w32term.c (w32_draw_rectangle): Add 1 pixel to width and
  10430. height of rectangle to be drawn, to be compatible with
  10431. XDrawRectangle. Fixes glyphless-char display as hex codes in a
  10432. box, when per-glyph ascent/descent values are used.
  10433. 2015-05-26 Artur Malabarba <bruce.connor.am@gmail.com>
  10434. * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
  10435. Don't sort if sorter is nil.
  10436. 2015-05-26 Michael Albinus <michael.albinus@gmx.de>
  10437. Fix Bug#20621
  10438. * lisp/net/tramp-sh.el (tramp-set-auto-save): Remove it. There
  10439. are major modes which set `auto-save-mode' on their own rules;
  10440. Tramp shall not overwrite such settings.
  10441. 2015-05-26 Glenn Morris <rgm@gnu.org>
  10442. * lisp/desktop.el: If modes aren't autoloaded, try simple guesswork.
  10443. (desktop-load-file): Guess that "foobar" defines "foobar-mode".
  10444. (desktop-buffer-mode-handlers, desktop-minor-mode-handlers):
  10445. Doc updates.
  10446. (vc-dir-mode): Remove unnecessary autoload.
  10447. 2015-05-25 Philipp Stephani <phst@google.com>
  10448. * lisp/term/xterm.el: Add gui-get-selection support via OSC-52.
  10449. (xterm--extra-capabilities-type): Add `getSelection'.
  10450. (xterm--query): Add `no-async' argument.
  10451. (xterm--init-activate-get-selection): New function.
  10452. (terminal-init-xterm): Use it.
  10453. (xterm--init-modify-other-keys): Rename from
  10454. terminal-init-xterm-modify-other-keys.
  10455. (xterm--init-bracketed-paste-mode): Rename from
  10456. terminal-init-xterm-bracketed-paste-mode.
  10457. (xterm--init-activate-set-selection): Rename from
  10458. terminal-init-xterm-activate-set-selection.
  10459. (xterm--selection-char): New function.
  10460. (gui-backend-set-selection): Use it. Use the &context to only apply
  10461. this method in terminals where we enabled the feature.
  10462. (gui-backend-get-selection): New method.
  10463. 2015-05-25 Daniel Colascione <dancol@dancol.org>
  10464. * lisp/progmodes/cc-langs.el (c-constant-kwds): Add C-language
  10465. keyword constants to C++.
  10466. 2015-05-25 Paul Eggert <eggert@cs.ucla.edu>
  10467. Make TAGS files more portable to MS-Windows
  10468. * etc/NEWS: Document this.
  10469. * lib-src/etags.c (readline_internal) [DOS_NT]:
  10470. Don't treat CRs differently from GNUish hosts.
  10471. * lisp/progmodes/etags.el (etags-goto-tag-location):
  10472. Adjust STARTPOS to account for the skipped CRs in dos-style files.
  10473. 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
  10474. Improve fix of bug#20634 in tramp-sh.el
  10475. 2015-05-25 Eli Zaretskii <eliz@gnu.org>
  10476. Fix a typo in last commit
  10477. * lib-src/etags.c (C_entries): Fix a typo.
  10478. * test/etags/ETAGS.good_1:
  10479. * test/etags/ETAGS.good_2:
  10480. * test/etags/ETAGS.good_3:
  10481. * test/etags/ETAGS.good_4:
  10482. * test/etags/ETAGS.good_5:
  10483. * test/etags/CTAGS.good: Update due to the change in etags.c.
  10484. Fix tagging of class members in C-like OO languages
  10485. * lib-src/etags.c (longopts): Add new option --class-qualify and
  10486. its shorthand -Q.
  10487. (print_help): Add help text for --class-qualify.
  10488. (main): Add handling of -Q.
  10489. (consider_token, C_entries) <omethodparm>: Append argument types
  10490. to Objective C methods only if --class-qualify was specified.
  10491. Qualify C++, Objective C, and Java class members with their class
  10492. names only if --class-qualify was specified.
  10493. (C_entries): If --class-qualify was not specified, remove the
  10494. namespace and class qualifiers from tag names of C++ methods.
  10495. This allows to use etags.el as xref back-end without the
  10496. tag-symbol-match-p method, which greatly increases the number of
  10497. potentially false positives. (Bug#20629)
  10498. * doc/man/etags.1: Update to document the new --class-qualify
  10499. option.
  10500. * test/etags/ETAGS.good_1:
  10501. * test/etags/ETAGS.good_2:
  10502. * test/etags/ETAGS.good_3:
  10503. * test/etags/ETAGS.good_4:
  10504. * test/etags/ETAGS.good_5:
  10505. * test/etags/CTAGS.good: Update due to changes in etags.c.
  10506. 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
  10507. (cl-generic-define-method): Side effects are evil (bug#20644)
  10508. * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Don't reuse
  10509. cons-cells that might be used as keys in an `equal' hash-table.
  10510. 2015-05-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
  10511. Make erc timestamps visible again
  10512. * lisp/erc/erc-stamp.el (erc-munge-invisibility-spec):
  10513. Make timestamps visible again (if requested).
  10514. 2015-05-25 Eli Zaretskii <eliz@gnu.org>
  10515. Fix last change in etags.c that broke tagging compresed files
  10516. * lib-src/etags.c (process_file_name) [MSDOS || DOS_NT]: Fix
  10517. quoting of decompression shell command for MS-Windows/MS-DOS.
  10518. 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
  10519. * lisp/emacs-lisp/cl-macs.el (cl-tagbody): Scope cl--tagbody-alist.
  10520. (Bug#20639)
  10521. 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
  10522. * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer):
  10523. Fix typo in "Inhibit `epa-file-handler' in Tramp"
  10524. (commit 89035e247591c8d688fce922b7079881aa110f33).
  10525. 2015-05-25 Orivej Desh <orivej@gmx.fr> (tiny change)
  10526. Fix IPv6 addresses in Tramp
  10527. * lisp/net/tramp-sh.el (tramp-make-copy-program-file-name):
  10528. Add square brackets around host name.
  10529. 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
  10530. Inhibit `epa-file-handler' in Tramp (Bug#20634)
  10531. * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
  10532. (tramp-sh-handle-insert-file-contents-literally): Inhibit also
  10533. `epa-file-handler'.
  10534. 2015-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
  10535. * lisp/emacs-lisp/pcase.el: Use PAT rather than UPAT in docstring.
  10536. (pcase-let): Document the behavior in case the pattern doesn't match.
  10537. 2015-05-24 Artur Malabarba <bruce.connor.am@gmail.com>
  10538. * lisp/emacs-lisp/tabulated-list.el: New optional print method.
  10539. (tabulated-list-print): New optional argument, UPDATE. If
  10540. non-nil, the list is printed by only adding and deleting the
  10541. changed entries, instead of erasing the whole buffer. This method
  10542. is much faster when few or no entries have changed.
  10543. * doc/lispref/modes.texi (Tabulated List Mode): Document it.
  10544. * etc/NEWS: Document it.
  10545. * lisp/emacs-lisp/tabulated-list.el: Improve printing.
  10546. (tabulated-list--get-sorter): New function.
  10547. (tabulated-list-print): Restore window-line when remember-pos is
  10548. passed and optimize away the `nreverse'.
  10549. 2015-05-24 Paul Eggert <eggert@cs.ucla.edu>
  10550. Simpilify etags TEX mode scanning
  10551. * lib-src/etags.c (TEX_mode, TEX_esc, TEX_opgrp, TEX_clgrp):
  10552. Remove static vars.
  10553. (TeX_commands): Deduce escapes here instead.
  10554. (TEX_LESC, TEX_SESC, TEX_mode): Remove; all uses removed.
  10555. This removes the need for a reset_input call.
  10556. Improve etags I/O error reporting
  10557. * lib-src/etags.c:
  10558. Don't include sys/types.h and sys/stat.h; no longer needed.
  10559. (infilename): New static var.
  10560. (process_file_name): Don't call 'stat'. Instead, just open the
  10561. file for reading and report any errors. Don't bother making
  10562. a copy of the file argument; it's not needed. Be more careful to
  10563. use the failing errno when reporting an error.
  10564. Quote the real name better (though no perfectly)
  10565. when passing it to the shell.
  10566. (reset_input): New function, which reports I/O errors.
  10567. All uses of 'rewind' changed to use this function.
  10568. (perhaps_more_input): New function, which also checks for
  10569. I/O errors. All uses of 'feof' changed to use this function.
  10570. (analyze_regex): Report an error if fclose fails.
  10571. (readline_internal): Report an error if getc fails.
  10572. (etags_mktmp): Return an error if close fails.
  10573. etags.c: avoid side effects in 'if'
  10574. * lib-src/etags.c (process_file_name, Perl_functions)
  10575. (TEX_decode_env): Hoist side effects into previous statement.
  10576. .gitignore tweaks
  10577. * .gitignore: Ignore all *.stamp files. Sort.
  10578. Ignore [0-9]*.txt (commonly used name for git patches)
  10579. and /vc-dwim-log-* (vc-dwim temporary).
  10580. 2015-05-24 Eli Zaretskii <eliz@gnu.org>
  10581. Fix last change in etags.c, which failed the test suite
  10582. * lib-src/etags.c (intoken): Add '$' to the set, as it was there
  10583. before the last change.
  10584. 2015-05-23 Glenn Morris <rgm@gnu.org>
  10585. Remove charset map files from repository, generate in first bootstrap
  10586. * admin/charsets/Makefile.in (${srcdir}/charsets.stamp): New.
  10587. (all): Create the stamp file.
  10588. (extraclean): Delete the stamp file.
  10589. * src/Makefile.in (lispintdir, charsets): New variables.
  10590. (${lispintdir}/cp51932.el, ${lispintdir}/eucjp-ms.el, ${charsets}):
  10591. New rules.
  10592. (emacs$(EXEEXT), temacs$(EXEEXT)): Depend on $charsets.
  10593. * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
  10594. * etc/charsets/*.map: Remove from repository.
  10595. 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
  10596. Cleanup etags.c to use locale-independent code
  10597. Although this doesn't alter behavior (as etags doesn't use
  10598. setlocale), the new version is more clearly locale-independent and
  10599. the executable is a bit smaller on my platform.
  10600. * lib-src/etags.c: Include <limits.h>, for UCHAR_MAX.
  10601. Include <c-ctype.h> instead of <ctype.h>.
  10602. (CHARS, CHAR, init, _wht, _nin, _itk, _btk, _etk, white, nonam, endtk)
  10603. (begtk, midtk):
  10604. Remove; no longer needed.
  10605. (iswhite, ISALNUM, ISALPHA, ISDIGIT, ISLOWER, lowcase): Remove.
  10606. All callers changed to use c_isspace, c_isalnum, c_isalpha, c_isdigit,
  10607. c_islower, c_tolower, respectively.
  10608. (notinname, begtoken, intoken, endtoken): Rewrite as functions
  10609. instead of macros, and initialize the tables at compile-time
  10610. rather than at run-time.
  10611. Put default action first in src/Makefile
  10612. * src/Makefile.in (all): Put this rule before lisp.mk.
  10613. That way, plain 'make' works in the src directory again.
  10614. 2015-05-23 Glenn Morris <rgm@gnu.org>
  10615. * Makefile.in: Fix extraclean rule.
  10616. (extraclean_dirs): New.
  10617. (extraclean): Use it.
  10618. 2015-05-23 Eli Zaretskii <eliz@gnu.org>
  10619. Avoid compiler warning in image.c on MS-Windows
  10620. * src/w32term.h (x_query_color): Add prototype, to avoid compiler
  10621. warning in image.c.
  10622. 2015-05-23 Glenn Morris <rgm@gnu.org>
  10623. Fix --without-toolkit-scroll-bars builds.
  10624. * src/xterm.c (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]:
  10625. Add new argument to x_clear_area1.
  10626. (XTset_horizontal_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
  10627. Update x_clear_area arguments.
  10628. * admin/charsets/glibc/: New directory, imported from glibc 2.21.
  10629. * admin/charsets/Makefile.in (GLIBC_CHARMAPS):
  10630. Change to included version.
  10631. (LOCAL, local, totalclean): Remove.
  10632. (extraclean): Delete all generated files.
  10633. 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
  10634. * lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Don't assume
  10635. CVS/Entries exists.
  10636. * lisp/progmodes/xref.el (xref-find-apropos): Use read-string.
  10637. * lisp/progmodes/etags.el (tags-completion-at-point-function):
  10638. Don't trust the find-tag function.
  10639. 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
  10640. Pacify --enable-gcc-warnings
  10641. * src/frame.h (x_query_color): Remove redundant extern decl.
  10642. * src/ftcrfont.c (ftcrfont_glyph_extents, ftcrfont_list)
  10643. (ftcrfont_match, ftcrfont_open, ftcrfont_close)
  10644. (ftcrfont_text_extents, ftcrfont_draw):
  10645. * src/xterm.c (x_set_window_size_1, *x_color_cells, x_update_end)
  10646. (XTframe_up_to_date, x_clear_area1, x_clear_frame)
  10647. (x_ins_del_lines, frame_highlight, frame_unhighlight)
  10648. (x_new_focus_frame, x_focus_changed, XTframe_rehighlight)
  10649. (x_draw_hollow_cursor, x_draw_bar_cursor, x_flush, x_update_begin)
  10650. (x_update_window_begin, x_connection_closed)
  10651. (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
  10652. (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
  10653. (*x_gc_get_ext_data, x_extension_initialize)
  10654. (x_cr_accumulate_data):
  10655. Remove redundant static decl. Many of these GCC doesn't complain
  10656. about, but we might as well clean out the duplication while we're
  10657. in the neighborhood.
  10658. * src/xterm.c (x_fill_trapezoid_for_relief):
  10659. Remove decl of nonexistent function.
  10660. 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
  10661. Replace gui-method macros with cl-generic with &context
  10662. * lisp/frame.el (gui-method--name, gui-method, gui-method-define)
  10663. (gui-method-declare, gui-call): Remove.
  10664. (frame-creation-function): Use cl-defgeneric.
  10665. (make-frame): Adjust callers.
  10666. * lisp/menu-bar.el (menu-bar-edit-menu):
  10667. Use gui-backend-selection-exists-p.
  10668. * lisp/select.el (x-get-clipboard): Use gui-backend-get-selection.
  10669. (gui-backend-get-selection): New cl-generic to replace
  10670. gui-get-selection method.
  10671. (gui-backend-set-selection): New cl-generic to replace
  10672. gui-set-selection method.
  10673. (gui-selection-owner-p): New cl-generic to replace
  10674. gui-selection-owner-p method.
  10675. (gui-backend-selection-exists-p): New cl-generic to replace
  10676. gui-selection-exists-p method. Adjust all callers.
  10677. * lisp/server.el (server-create-window-system-frame): Don't ignore
  10678. window-system spec even when unsupported.
  10679. * lisp/simple.el (deactivate-mark): Use new gui-backend-* functions.
  10680. * lisp/startup.el (handle-args-function, window-system-initialization):
  10681. Use cl-defgeneric.
  10682. (command-line): Adjust calls accordingly.
  10683. * lisp/term/ns-win.el (ns-window-system-initialization): Turn into
  10684. a window-system-initialization method.
  10685. (handle-args-function, frame-creation-function): Use cl-defmethod.
  10686. (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
  10687. (gui-get-selection): Use cl-defmethod on the new functions instead.
  10688. * lisp/term/pc-win.el (w16-get-selection-value): Turn into
  10689. a gui-backend-get-selection method.
  10690. (gui-selection-exists-p, gui-selection-owner-p, gui-set-selection):
  10691. Use cl-defmethod on the new functions instead.
  10692. (msdos-window-system-initialization): Turn into
  10693. a window-system-initialization method.
  10694. (frame-creation-function, handle-args-function): Use cl-defmethod.
  10695. * lisp/term/w32-win.el (w32-window-system-initialization): Turn into
  10696. a window-system-initialization method.
  10697. (handle-args-function, frame-creation-function): Use cl-defmethod.
  10698. (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
  10699. (gui-get-selection): Use cl-defmethod on the new functions instead.
  10700. * lisp/term/x-win.el (x-window-system-initialization): Turn into
  10701. a window-system-initialization method.
  10702. (handle-args-function, frame-creation-function): Use cl-defmethod.
  10703. (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
  10704. (gui-get-selection): Use cl-defmethod on the new functions instead.
  10705. * lisp/term/xterm.el (xterm--set-selection): Turn into
  10706. a gui-backend-set-selection method.
  10707. * src/nsselect.m (Fns_selection_exists_p): Remove unused arg `terminal'.
  10708. (Fns_selection_owner_p): Remove unused arg `terminal'.
  10709. (Fns_get_selection): Remove unused args `time_stamp' and `terminal'.
  10710. 2015-05-23 Eli Zaretskii <eliz@gnu.org>
  10711. Revert "Fix etags Bug#20629 that broke C++ support"
  10712. This reverts commit 13dd9d4f7e75d2c78aa5537cef09de03663e9748.
  10713. 2015-05-23 Jan D <jan.h.d@swipnet.se>
  10714. Fix etags Bug#20629 that broke C++ support
  10715. * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
  10716. Revert commit from Sun May 10 (Bug#20629).
  10717. Merge branch 'cairo'.
  10718. Main work done by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
  10719. Small fixes and image work by Jan D. <jan.h.d@swipnet.se>.
  10720. Merge branch 'master' into cairo
  10721. Fixes to compile cairo branch without cairo
  10722. * src/gtkutil.c (xg_update_scrollbar_pos): x_clear_area takes frame as
  10723. first argument.
  10724. * src/xterm.c (handle_one_xevent): Surround x_cr_destroy_surface with
  10725. USE_CAIRO.
  10726. 2015-05-23 Artur Malabarba <bruce.connor.am@gmail.com>
  10727. * lisp/emacs-lisp/package.el: Always update selected-packages.
  10728. (package--update-selected-packages): New function.
  10729. (package-menu-execute): Use it before starting the transaction,
  10730. this way the list of selected packages is updated even when the
  10731. transaction fails.
  10732. (package-menu--perform-transaction): Don't edit selected-packages.
  10733. 2015-05-23 Eli Zaretskii <eliz@gnu.org>
  10734. Fix etags reading of compressed files
  10735. * lib-src/etags.c (O_CLOEXEC) [WINDOWSNT]: Define.
  10736. Include fcntl.h, for O_CLOEXEC.
  10737. (process_file_name): Don't use 'popen', whose streams cannot be
  10738. rewound. Instead, uncompress the file to a temporary file,
  10739. created by 'etags_mktmp', and read from that as usual.
  10740. (etags_mktmp): New function.
  10741. * test/etags/ETAGS.good_1:
  10742. * test/etags/ETAGS.good_2:
  10743. * test/etags/ETAGS.good_3:
  10744. * test/etags/ETAGS.good_4:
  10745. * test/etags/ETAGS.good_5: Update to be consistent with latest
  10746. changes in etags.c regarding reading compressed files.
  10747. Improve documentation of 'set-fontset-font'
  10748. * doc/lispref/display.texi (Fontsets): Document the value of nil
  10749. for the 3rd argument of 'set-fontset-font'.
  10750. Fix documentation of forward-line
  10751. * src/cmds.c (Fforward_line): Clarify the return value if the line
  10752. at end of accessible portion of the buffer has no newline.
  10753. * doc/lispref/positions.texi (Text Lines): Document what happens
  10754. if the line at end of accessible portion of buffer has no newline.
  10755. (Bug#20587)
  10756. 2015-05-22 Glenn Morris <rgm@gnu.org>
  10757. * admin/charsets/Makefile.in (TRANS_TABLE): Add short aliases.
  10758. * admin/charsets/mapconv (LC_ALL): Set to C.
  10759. * Makefile.in: Add admin/charsets into top-level clean rules.
  10760. (clean): Add admin/charsets.
  10761. (maybeclean_dirs): New variable.
  10762. (distclean, bootstrap-clean, maintainer-clean): Use $maybeclean_dirs.
  10763. * admin/charsets/Makefile.in (LOCAL, local): Fix members.
  10764. 2015-05-22 Artur Malabarba <bruce.connor.am@gmail.com>
  10765. * lisp/emacs-lisp/package.el (package-selected-packages): Fix doc.
  10766. 2015-05-22 Glenn Morris <rgm@gnu.org>
  10767. Generate admin/charsets Makefile via configure, and make more portable
  10768. * configure.ac (SUBDIR_MAKEFILES): Add admin/charsets/Makefile.
  10769. (admin/charsets/Makefile): Generate it.
  10770. * admin/charsets/Makefile.in: Rename from Makefile.
  10771. (AWK, srcdir, top_srcdir, AM_DEFAULT_VERBOSITY):
  10772. New variables, set by configure.
  10773. (charsetdir, lispintdir, mapfiledir, AM_V_GEN, am__v_GEN_)
  10774. (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
  10775. (am__v_at_1, LOCAL, mapconv, run_mapconv, big5, compact, cp51932)
  10776. (cp932, eucjp_ms, gb180302, gb180304, kuten): New variables.
  10777. (TRANS_TABLE, CHARSETS): Add directory prefix to value.
  10778. (all): Declare PHONY.
  10779. (local): New PHONY target.
  10780. (map_template): New template. Use to define short PHONY aliases.
  10781. (*.map): Add directory prefixes to targets and prerequisites.
  10782. Respect make verbosity.
  10783. (JISC6226.map): Replace non-portable sed append without newline.
  10784. (install): Remove rule.
  10785. (clean): Only delete temporary sedscript.
  10786. (bootstrap-clean, distclean, maintainer-clean, extraclean)
  10787. (totalclean): New PHONY rules.
  10788. * admin/charsets/mapconv (BASE): Replace basename with expr.
  10789. (FILE): Add "mapfiles" subdirectory.
  10790. (AWK): New variable. Use throughout in place of "awk".
  10791. (main): Use "gunzip -c" in place of "zcat".
  10792. Don't leave whitespace before "p", for older sed.
  10793. * admin/charsets/mapfiles/PTCP154: Add final newline,
  10794. to make older sed versions happy.
  10795. 2015-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
  10796. * lisp/autorevert.el: Use lexical-binding. Fix hook usage.
  10797. (global-auto-revert-ignore-buffer, auto-revert-notify-modified-p)
  10798. (auto-revert-notify-watch-descriptor): Use defvar-local.
  10799. (find-file-hook, auto-revert-tail-mode)
  10800. (auto-revert-notify-add-watch): Use setq-local.
  10801. (auto-revert-notify-add-watch): Don't call make-local-variable on
  10802. kill-buffer-hook (bug#20601).
  10803. 2015-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
  10804. Change defgeneric so it doesn't completely redefine the function
  10805. * lisp/emacs-lisp/cl-generic.el (cl-generic-define): Don't throw away
  10806. previously defined methods.
  10807. (cl-generic-define-method): Let-bind purify-flag instead of
  10808. using `fset'.
  10809. (cl--generic-prefill-dispatchers): Only define during compilation.
  10810. (cl-method-qualifiers): Remove redundant alias.
  10811. (help-fns-short-filename): Silence byte-compiler.
  10812. * test/automated/cl-generic-tests.el:
  10813. Adjust to new defgeneric semantics.
  10814. 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
  10815. * lisp/emacs-lisp/package.el (package-menu-execute):
  10816. Remove reference to remove-dups.
  10817. 2015-05-21 kwhite <kwhite@gnu.org>
  10818. * lisp/erc/erc.el: Hide network/channel messages.
  10819. (erc-network-hide-list, etc-channel-hide-list): New lists to define
  10820. message types per network/channel.
  10821. (erc-add-targets): New function to parse list of targets.
  10822. (erc-hide-current-message-p): Modified to check for new targets.
  10823. 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
  10824. Don't quote nil and t in doc strings
  10825. This is as per "Tips for Documentation Strings" in the elisp manual.
  10826. For consistency, do the same in diagnostics and comments.
  10827. 2015-05-21 Eli Zaretskii <eliz@gnu.org>
  10828. Fix a minor problem with mouse-face on mode line
  10829. * src/xdisp.c (note_mode_line_or_margin_highlight): Reset the
  10830. mouse face also if the mouse pointer hovers above mode-line glyphs
  10831. that don't come from any Lisp string. (Bug#20620)
  10832. 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
  10833. * lisp/emacs-lisp/package.el: Fix selected-package logic.
  10834. (package-menu-execute): Mark as selected all non-upgrade packages
  10835. being installed.
  10836. (package-menu--perform-transaction): Don't mark anything.
  10837. * lisp/emacs-lisp/package.el: Mode-line progress report.
  10838. (package-menu--transaction-status): New variable.
  10839. (package-menu-mode, package-menu--perform-transaction): Use it.
  10840. * lisp/emacs-lisp/package.el: Better transaction messages.
  10841. (package-menu--partition-transaction): New function.
  10842. (package-menu--prompt-transaction-p, package-menu-execute):
  10843. Use it.
  10844. (package-menu--perform-transaction): Don't do any messaging.
  10845. * lisp/emacs-lisp/package.el: Revert async package transactions.
  10846. (package-menu-async): Update doc.
  10847. (package-install-from-archive, package-download-transaction)
  10848. (package-install, package-menu--perform-transaction)
  10849. (package-menu-execute): Remove asynchronous functionality.
  10850. 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
  10851. Revert doc string changes to f90.el
  10852. Problem reported by Glenn Morris in:
  10853. http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00596.html
  10854. * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
  10855. Revert recent changes to doc strings, as it's intended that they
  10856. use grave accent, not quote.
  10857. 2015-05-20 Bozhidar Batsov <bozhidar@batsov.com>
  10858. * lisp/emacs-lisp/subr-x.el (hash-table-empty-p):
  10859. Improve parameter name.
  10860. * lisp/emacs-lisp/subr-x.el (hash-table-empty-p): New inline function.
  10861. 2015-05-20 Paul Eggert <eggert@cs.ucla.edu>
  10862. Don't require help-fns when not needed
  10863. * lisp/emacs-lisp/autoload.el, lisp/emacs-lisp/advice.el:
  10864. * lisp/emacs-lisp/elint.el:
  10865. Don't require help-fns at the top level
  10866. * lisp/emacs-lisp/advice.el (ad-arglist):
  10867. * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
  10868. Don't require help-fns. (Bug#17001)
  10869. 2015-05-20 Eli Zaretskii <eliz@gnu.org>
  10870. Fix slash collapsing in etags on MS-Windows
  10871. * lib-src/etags.c (canonicalize_filename) [DOS_NT]: Separate the
  10872. MS-Windows code from the Posix code, and support collapsing both
  10873. forward- and back-slashes on MS-Windows. Fixes a regression found
  10874. by the test suite.
  10875. Improve documentation of glyphless-char-display
  10876. * doc/lispref/display.texi (Glyphless Chars): Improve
  10877. documentation of glyphless character display.
  10878. Fix "acronym" display of glyphless characters on w32
  10879. * src/w32term.c (x_draw_glyphless_glyph_string_foreground): Don't
  10880. ignore "acronym" substitutes of 1 character for glyphless characters.
  10881. 2015-05-20 Oleh Krehel <ohwoeowho@gmail.com>
  10882. Add an automated test for let-when-compile
  10883. * test/automated/subr-tests.el (let-when-compile): New test.
  10884. Add let-when-compile macro instead of using pcase-let
  10885. * lisp/subr.el (let-when-compile): New let-like macro that makes its
  10886. bindings known to macros like `eval-when-compile' in the body.
  10887. * lisp/emacs-lisp/lisp-mode.el: Change the top-level `pcase-let' to
  10888. a `let-when-compile'. Also comment out the unused lexical var
  10889. `el-kws-re'.
  10890. The change greatly improves readability, while providing almost the
  10891. same (even shorter) byte code: instead of pre-evaluating 10 variables,
  10892. tossing them into a list, and destructuring that list a full screen
  10893. page later, the variables are simply bound as they are evaluated,
  10894. wrapped individually in `eval-when-compile'.
  10895. 2015-05-20 Artur Malabarba <bruce.connor.am@gmail.com>
  10896. * lisp/emacs-lisp/package.el: "Delete" button in Help buffer.
  10897. (package-delete-button-action): New function.
  10898. (describe-package-1): Add Delete button.
  10899. * lisp/emacs-lisp/package.el: Better dependency description.
  10900. (package--used-elsewhere-p): New optional arg, ALL, and return
  10901. package-desc objects instead of names.
  10902. (package-delete): Update accordingly.
  10903. (describe-package-1): Describe which packages require the package.
  10904. 2015-05-20 Martin Rudalics <rudalics@gmx.at>
  10905. Fix handling and doc-string of FRAME arg of `other-buffer' (Bug#20533)
  10906. * src/buffer.c (Fother_buffer): Argument FRAME must denote a live frame.
  10907. Fix doc-string.
  10908. Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472)
  10909. * lisp/window.el (switch-to-buffer-in-dedicated-window): New option.
  10910. (switch-to-buffer): If the selected window is strongly dedicated
  10911. to its buffer, signal error before prompting for buffer name.
  10912. Handle `switch-to-buffer-in-dedicated-window'.
  10913. * doc/lispref/windows.texi (Switching Buffers):
  10914. Document `switch-to-buffer-in-dedicated-window'.
  10915. 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
  10916. Prefer "this" to “this” in doc strings
  10917. This mostly just straightens quotes introduced in my previous patch.
  10918. Suggested by Dmitry Gutov in:
  10919. http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00565.html
  10920. * lisp/faces.el, lisp/gnus/gnus-group.el, lisp/ldefs-boot.el:
  10921. * lisp/mail/supercite.el, lisp/net/tramp.el, lisp/recentf.el:
  10922. * lisp/textmodes/artist.el, lisp/textmodes/rst.el:
  10923. * lisp/textmodes/tildify.el, lisp/vc/ediff-util.el:
  10924. * lisp/vc/log-edit.el, lisp/xt-mouse.el:
  10925. Prefer straight double quotes to curved double quotes in doc strings.
  10926. Fix minor quoting problems in doc strings
  10927. These were glitches regardless of how or whether we tackle the
  10928. problem of grave accent in doc strings.
  10929. * lisp/calc/calc-aent.el (math-restore-placeholders):
  10930. * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
  10931. * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
  10932. * lisp/leim/quail/hebrew.el ("hebrew-new")
  10933. ("hebrew-biblical-sil"):
  10934. * lisp/leim/quail/thai.el ("thai-kesmanee"):
  10935. * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
  10936. Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
  10937. * lisp/calendar/calendar.el (calendar-month-abbrev-array):
  10938. * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
  10939. * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
  10940. * lisp/cedet/semantic/tag.el (semantic-tag-copy)
  10941. (semantic-tag-components):
  10942. * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
  10943. * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
  10944. * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
  10945. * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
  10946. * lisp/emacs-lisp/generator.el (iter-next):
  10947. * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
  10948. (gnus-article-mode-syntax-table):
  10949. * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
  10950. * lisp/net/soap-client.el (soap-wsdl-get):
  10951. * lisp/net/telnet.el (telnet-mode):
  10952. * lisp/org/org-compat.el (org-number-sequence):
  10953. * lisp/org/org.el (org-remove-highlights-with-change)
  10954. (org-structure-template-alist):
  10955. * lisp/org/ox-html.el (org-html-link-org-files-as-html):
  10956. * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
  10957. (handwrite-12pt, handwrite-13pt):
  10958. * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
  10959. * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
  10960. * lisp/progmodes/verilog-mode.el (verilog-tool)
  10961. (verilog-string-replace-matches, verilog-preprocess)
  10962. (verilog-auto-insert-lisp, verilog-auto-insert-last):
  10963. * lisp/textmodes/makeinfo.el (makeinfo-options):
  10964. * src/font.c (Ffont_spec):
  10965. Fix minor quoting problems in doc strings, e.g., missing quote,
  10966. ``x'' where `x' was meant, etc.
  10967. * lisp/erc/erc-backend.el (erc-process-sentinel-2):
  10968. Fix minor quoting problem in other string.
  10969. * lisp/leim/quail/ethiopic.el ("ethiopic"):
  10970. * lisp/term/tvi970.el (tvi970-set-keypad-mode):
  10971. Omit unnecessary quotes.
  10972. * lisp/faces.el (set-face-attribute, set-face-underline)
  10973. (set-face-inverse-video, x-create-frame-with-faces):
  10974. * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
  10975. * lisp/mail/supercite.el (sc-attribs-%@-addresses)
  10976. (sc-attribs-!-addresses, sc-attribs-<>-addresses):
  10977. * lisp/net/tramp.el (tramp-methods):
  10978. * lisp/recentf.el (recentf-show-file-shortcuts-flag):
  10979. * lisp/textmodes/artist.el (artist-ellipse-right-char)
  10980. (artist-ellipse-left-char, artist-vaporize-fuzziness)
  10981. (artist-spray-chars, artist-mode, artist-replace-string)
  10982. (artist-put-pixel, artist-text-see-thru):
  10983. * lisp/vc/ediff-util.el (ediff-submit-report):
  10984. * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
  10985. Use double-quotes rather than TeX markup in doc strings.
  10986. * lisp/skeleton.el (skeleton-pair-insert-maybe):
  10987. Reword to avoid the need for grave accent and apostrophe.
  10988. * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
  10989. Don't use grave and acute accents to quote.
  10990. 2015-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
  10991. * lisp/emacs-lisp/generator.el (cps--gensym, cps--transform-1):
  10992. Silence compiler.
  10993. 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
  10994. Try to port new etags tests to MS-Windows
  10995. * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
  10996. * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
  10997. * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
  10998. Adjust to test-case changes below.
  10999. * test/etags/Makefile (CSRC): Remove dostorture.c.
  11000. Whatever it was trying to test, wasn't working portably.
  11001. (LC_ALL): Remove. Apparently there wasn't an encoding problem,
  11002. just a line-ending problem.
  11003. * test/etags/c-src/dostorture.c: Remove.
  11004. * test/etags/cp-src/c.C: Remove stray CR.
  11005. * test/etags/html-src/algrthms.html: Remove trailing CRs.
  11006. State UTF-8 as the encoding. The file is ASCII so it doesn't matter,
  11007. but if someone edits it later it should stay UTF-8-compatible.
  11008. 2015-05-19 Eli Zaretskii <eliz@gnu.org>
  11009. Fix display of overlapping window-specific overlays
  11010. * src/keyboard.c (adjust_point_for_property): When adjusting point
  11011. due to display strings, ignore overlays that are specific to
  11012. windows other than the currently selected one.
  11013. * src/xdisp.c (handle_single_display_spec): If the display
  11014. property comes from an overlay, arrange for buffer iteration to
  11015. resume only after the end of that overlay. (Bug#20607)
  11016. 2015-05-19 Dmitry Gutov <dgutov@yandex.ru>
  11017. New command icomplete-force-complete-and-exit
  11018. * lisp/icomplete.el (icomplete-force-complete-and-exit):
  11019. New command
  11020. (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00461.html)
  11021. (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00516.html).
  11022. (icomplete-minibuffer-map): Bind C-j to it.
  11023. (icomplete-forward-completions, icomplete-backward-completions):
  11024. Mention the new command in the docstring.
  11025. * lisp/minibuffer.el (minibuffer-force-complete-and-exit):
  11026. Revert the previous fix for bug#17545.
  11027. 2015-05-19 Martin Rudalics <rudalics@gmx.at>
  11028. Fix last commit
  11029. In Elisp manual explain how to override window manager positioning
  11030. (Bug#20552)
  11031. * doc/lispref/frames.texi (Position Parameters): Give example of
  11032. how to override a window manager positioning decision.
  11033. Clarify concept of "surrogate minibuffer frames" (Bug#20538)
  11034. * src/frame.c (Fdelete_frame): In doc-string mention that frame
  11035. can't be deleted if it has a surrogate minibuffer.
  11036. * doc/lispref/frames.texi (Minibuffers and Frames)
  11037. (Deleting Frames): Explain "surrogate minibuffer frames".
  11038. * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 19/12 MB.
  11039. 2015-05-18 Glenn Morris <rgm@gnu.org>
  11040. Add option to ignore commit lines matching a pattern in ChangeLog
  11041. * build-aux/gitlog-to-changelog: Add --ignore-line option.
  11042. * build-aux/gitlog-to-emacslog: Ignore lines matching '^; '.
  11043. 2015-05-18 Paul Eggert <eggert@cs.ucla.edu>
  11044. Don't skip new etags tests on non-UTF-8 hosts
  11045. Problem reported by Eli Zaretskii for MS-Windows.
  11046. * test/etags/Makefile (UTF8_LOCALE, UTF8_ENCODING): Remove.
  11047. (LC_ALL): Set to C if the current locale isn't UTF-8.
  11048. (.PHONY): Remove ediff_1 thru ediff_5.
  11049. (check): Always run.
  11050. 2015-05-18 Glenn Morris <rgm@gnu.org>
  11051. * lisp/calculator.el (calculator-funcall):
  11052. * lisp/textmodes/artist.el (artist-spray-random-points):
  11053. Use standard degree/radian conversion utilities.
  11054. Further lisp-complete-symbol related cleanup.
  11055. * lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
  11056. Unadvertise non-functional argument. Replace obsolete alias.
  11057. 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
  11058. Add a test case for Maven warning ouput
  11059. * test/automated/compile-tests.el
  11060. (compile-tests--test-regexps-data): Add a case for Maven warning
  11061. ouput.
  11062. (compile--test-error-line): Check the compilation message type, if
  11063. it's specified in the test data.
  11064. 2015-05-18 Paul Pogonyshev <pogonyshev@gmail.com>
  11065. Update Maven compilation-mode entry to distinguish warnings
  11066. * lisp/progmodes/compile.el
  11067. (compilation-error-regexp-alist-alist): Update Maven entry to
  11068. distinguish warnings (bug#20556).
  11069. 2015-05-18 Przemysław Wojnowski <esperanto@cumego.com>
  11070. * test/automated/sgml-mode-tests.el: New file.
  11071. 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
  11072. Improve handling of the first Git revision
  11073. * lisp/vc/log-view.el (log-view-toggle-entry-display): When
  11074. there's no next entry, delete until the end of the buffer.
  11075. (log-view-end-of-defun-1): Stop at eob.
  11076. * lisp/vc/vc-annotate.el
  11077. (vc-annotate-show-diff-revision-at-line-internal): Don't give up
  11078. when previous-revision is nil.
  11079. * lisp/vc/vc-git.el (vc-git-expanded-log-entry): End the arguments
  11080. with `--' to avoid ambiguity.
  11081. (vc-git-annotate-extract-revision-at-line): Exclude `^' from the
  11082. returned revision string.
  11083. (vc-git-annotate-time): Expect `^' before the first revision.
  11084. * lisp/vc/vc-git.el (vc-git-diff): Diff against an empty tree if
  11085. REV1 is nil, and REV2 is not.
  11086. * lisp/vc/vc.el: Update the description of the `diff' function.
  11087. 2015-05-18 Oleh Krehel <ohwoeowho@gmail.com>
  11088. Allow checkdoc to be called in batch
  11089. * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When `noninteractive'
  11090. is non-nil, echo the error with `warn'.
  11091. How it can be used in -batch:
  11092. (with-current-buffer (find-file "checkdoc.el")
  11093. (checkdoc-current-buffer t))
  11094. 2015-05-18 Glenn Morris <rgm@gnu.org>
  11095. * lisp/calendar/solar.el (solar-ecliptic-coordinates): Use float-pi.
  11096. 2015-05-17 Paul Eggert <eggert@cs.ucla.edu>
  11097. * admin/notes/unicode: New section "binary files".
  11098. Change new etags test to use UTF-8 encoding
  11099. * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
  11100. * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
  11101. * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
  11102. * test/etags/html-src/index.shtml, test/etags/html-src/software.html:
  11103. * test/etags/html-src/softwarelibero.html:
  11104. Switch to UTF-8 encoding.
  11105. * test/etags/Makefile (SRCS): Adjust to switch to UTF-8.
  11106. Remove Makefile, as it's too incestuous to have the test input
  11107. include the build procedure.
  11108. (UTF8_LOCALE, UTF_ENCODING): New macros.
  11109. (LC_ALL): If possible, set to a UTF-8 encoding if not already UTF-8.
  11110. (check): Skip if not UTF-8.
  11111. (.PHONY): New rule.
  11112. (FRC): Remove, as superseded by .PHONY. All uses removed.
  11113. (regexfile): Prefer printf to echo when outputting oddball chars.
  11114. (.PRECIOUS): Remove, as these files are not built.
  11115. Rename 'foo-gzipped' to 'foo.gz'
  11116. * test/automated/data/decompress/foo.gz:
  11117. Rename from test/automated/data/decompress/foo-gzipped,
  11118. to make it easier for other tools to tell that it's compressed.
  11119. * test/automated/zlib-tests.el (zlib--decompress):
  11120. Adjust to renamed file.
  11121. 2015-05-17 Dmitry Gutov <dgutov@yandex.ru>
  11122. Set up default-directory
  11123. * lisp/vc/vc-annotate.el (vc-annotate-mode-map): Remove duplicate
  11124. binding for `v'.
  11125. (vc-annotate-show-changeset-diff-revision-at-line): Set up an
  11126. appropriate value for default-directory.
  11127. 2015-05-17 Samer Masterson <samer@samertm.com>
  11128. * lisp/eshell/em-term.el (eshell-term-sentinel):
  11129. No-op by default, only kills term buffer if
  11130. `eshell-destroy-buffer-when-process-dies' is non-nil. (Bug#18108)
  11131. (eshell-destroy-buffer-when-process-dies): New custom to preserve
  11132. previous behavior.
  11133. eshell: Introduce new buffer syntax
  11134. The new buffer syntax '#<buffer-name>' is equivalent to '#<buffer
  11135. buffer-name>'. Remove `eshell-buffer-shorthand', as it is no longer
  11136. needed (Bug#19319).
  11137. * lisp/eshell/esh-io.el (eshell-buffer-shorthand): Remove.
  11138. (eshell-get-target): Remove shorthand-specific code.
  11139. * lisp/eshell/esh-arg.el (eshell-parse-special-reference): Parse
  11140. '#<buffer-name>'.
  11141. 2015-05-17 Jan D <jan.h.d@swipnet.se>
  11142. Merge branch 'master' into cairo
  11143. 2015-04-26 Jan D <jan.h.d@swipnet.se>
  11144. Merge branch 'master' into cairo
  11145. Add PBM support for cairo
  11146. * src/image.c (xcolor_to_argb32): New function.
  11147. (get_spec_bg_or_alpha_as_argb): Call xcolor_to_argb32.
  11148. (pbm_load, png_load_body, jpeg_load_body, gif_load): Only use
  11149. XImagePtr if ! USE_CAIRO.
  11150. (pbm_load): Add cairo support.
  11151. 2015-04-12 Jan D <jan.h.d@swipnet.se>
  11152. * src/xterm.c (x_free_cr_resources): Rename from x_prepare_for_xlibdraw.
  11153. (x_cr_draw_frame, x_cr_export_frames, x_shift_glyphs_for_insert)
  11154. (x_free_frame_resources): Rename x_prepare_for_xlibdraw to
  11155. x_free_cr_resources.
  11156. Handle specified bg in images. Use generic libpng code for PNGs.
  11157. * src/image.c (get_spec_bg_or_alpha_as_argb)
  11158. (create_cairo_image_surface): New functions when USE_CAIRO.
  11159. (xpm_load): Call the above functions. Handle XPM without mask
  11160. when USE_CAIRO.
  11161. (png_load_body): Handle USE_CAIRO case.
  11162. (png_load): Remove USE_CAIRO specific fuction, modify png_load_body
  11163. instead.
  11164. (jpeg_load_body): Call create_cairo_image_surface.
  11165. (gif_load, svg_load_image): Handle specified background, call
  11166. create_cairo_image_surface.
  11167. * src/xterm.c (x_draw_image_glyph_string): Add missing USE_CAIRO.
  11168. 2015-04-11 Jan D <jan.h.d@swipnet.se>
  11169. Support GIF and TIFF with cairo
  11170. * configure.ac: Allow jpeg with cairo.
  11171. Allow tiff and gif with cairo.
  11172. * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
  11173. (tiff_load): Create cairo image surface if USE_CAIRO.
  11174. (gif_load): Ditto.
  11175. Support JPEG with USE_CAIRO
  11176. * configure.ac: Allow jpeg with cairo.
  11177. * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
  11178. 2015-04-05 Jan D <jan.h.d@swipnet.se>
  11179. Support RSVG and cairo
  11180. * configure.ac: Allow rsvg with cairo. Move back HAVE_RSVG.
  11181. * src/dispextern.h (struct image): Add cr_data2 if cairo.
  11182. * src/image.c: #undef COLOR_TABLE_SUPPORT when USE_CAIRO.
  11183. (x_clear_image): Free cr_data and cr_data2 if set.
  11184. (xpm_load): Assign data to cr_data2.
  11185. (svg_load_image): Convert from GdkPixbuf to CAIRO_FORMAT_ARGB32.
  11186. 2015-04-03 Jan D <jan.h.d@swipnet.se>
  11187. Introduce limited Xpm support (32 bit ZPixmap) for Cairo
  11188. * configure.ac (HAVE_RSVG): Move after cairo.
  11189. (USE_CAIRO): Disable rsvg, don't disable Xpm.
  11190. * src/image.c (prepare_image_for_display): Don't load if USE_CAIRO.
  11191. (x_clear_image): If USE_CAIRO, also free possible img->ximg->obdata and
  11192. don't return early.
  11193. (ALLOC_XPM_COLORS): Don't define when USE_CAIRO.
  11194. (xpm_load): Convert simple Xpms (32 bit ZPixmap) to CAIRO_FORMAT_ARGB32
  11195. and create a surface.
  11196. Tool tips for menus did not show any text.
  11197. * src/xterm.c (x_update_begin): Don't create any surface for non-visible
  11198. tip frames, the geometry may be wrong.
  11199. Merge branch 'master' into cairo, fixes tooltips not shown.
  11200. Merge branch 'master' into cairo
  11201. Add CAIRO_CFLAGS to lwlib/Makefile.in
  11202. * Makefile.in (CAIRO_CFLAGS): Add.
  11203. 2015-02-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
  11204. * src/ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen.
  11205. 2015-02-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
  11206. Draw outermost line using black relief and erase corners also for cairo.
  11207. * src/xterm.c [USE_CAIRO]: Include math.h.
  11208. (enum corners) [USE_CAIRO]: New enum.
  11209. (x_erase_corners_for_relief) [USE_CAIRO]: New function.
  11210. (x_draw_relief_rect) [USE_CAIRO]: Use it. If box width is larger
  11211. than 1, draw the outermost line using the black relief.
  11212. * src/xterm.c (x_fill_trapezoid_for_relief):
  11213. Remove unnecessary cairo_close_path.
  11214. 2015-02-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
  11215. * src/xterm.c (x_draw_relief_rect) [USE_CAIRO]: Reset clipping.
  11216. * src/xterm.c (x_draw_stretch_glyph_string):
  11217. Call x_reset_clip_rectangles instead of XSetClipMask.
  11218. Use int instead of unsigned int for width and height args.
  11219. * src/xterm.c (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle)
  11220. (x_fill_trapezoid_for_relief): Use int instead of unsigned int for
  11221. width and height args.
  11222. Modernize k&r cairo-related function declarations.
  11223. * src/gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page)
  11224. (xg_print_frames_dialog): Modernize k&r declarations.
  11225. * src/xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup)
  11226. (Fx_print_frames_dialog): Modernize k&r declarations.
  11227. * src/xterm.c (x_gc_get_ext_data, x_extension_initialize)
  11228. (x_begin_cr_clip, x_end_cr_clip, x_set_cr_source_with_gc_foreground)
  11229. (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
  11230. (x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data)
  11231. (x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw)
  11232. (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
  11233. (x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief)
  11234. (x_clear_area): Modernize k&r declarations.
  11235. Implement wave-style variant of underlining for cairo.
  11236. * src/xterm.c (x_draw_horizontal_wave) [USE_CAIRO]: New function.
  11237. (x_draw_underwave) [USE_CAIRO]: Use it.
  11238. * src/xterm.c (x_draw_window_divider): Use x_fill_rectangle
  11239. instead of XFillRectangle.
  11240. 2015-02-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
  11241. Fix fringe bitmap initialization for cairo
  11242. * src/fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap
  11243. data for cairo image surface.
  11244. * src/xterm.c (x_cr_define_fringe_bitmap):
  11245. Call cairo_surface_mark_dirty.
  11246. 2015-02-11 Jan D <jan.h.d@swipnet.se>
  11247. Add cairo drawing
  11248. * configure.ac (with-cairo): New option.
  11249. (USE_CAIRO): Default to yes for Gtk+ 3. Add code to test for cairo,
  11250. set CAIRO_CFLAGS, CAIRO_LIBS. Add ftcrfonto to FONT_OBJ if cairo.
  11251. Output "Does Emacs use cairo?".
  11252. * lisp/version.el (emacs-version): Add cairo version.
  11253. * src/Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables.
  11254. (FONT_OBJ): Add comment about ftcrfont.
  11255. (ALL_CFLAGS): Add CAIRO_CFLAGS.
  11256. (LIBES): Add CAIRO_LIBS.
  11257. * src/dispextern.h (struct image): Add cr_data for cairo.
  11258. (x_cr_init_fringe): Declare.
  11259. * src/font.c (syms_of_font): Call syms_of_ftcrfont for cairo.
  11260. * src/font.h (ftcrfont_driver, syms_of_ftcrfont): Declare
  11261. * src/fringe.c (x_cr_init_fringe): New function name that shares code
  11262. with w32_init_fringe.
  11263. * src/ftcrfont.c: New font driver for cairo, based on the ftfont driver.
  11264. * src/ftfont.c (ftfont_info_size); New global variable.
  11265. (ftfont_open2): New extern function almost the same as old ftfont_open,
  11266. but takes the font_object as argument.
  11267. (ftfont_open): Build font object and call ftfont_open2.
  11268. * src/ftfont.h (ftfont_open2, ftfont_info_size): Declare.
  11269. * src/gtkutil.c (xg_clear_under_internal_border)
  11270. (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos):
  11271. Only queue_draw if not cairo. Change args to x_clear_area.
  11272. (xg_get_font): Use Qftcr when using cairo, Qxft otherwise.
  11273. (xg_page_setup_dialog, xg_get_page_setup, draw_page)
  11274. (xg_print_frames_dialog): New functions for printing.
  11275. * src/gtkutil.h (xg_page_setup_dialog, xg_get_page_setup)
  11276. (xg_print_frames_dialog): Declare.
  11277. * src/image.c: Add defined (USE_CAIRO) for PNG.
  11278. Add !defined USE_CAIRO for W32 PNG code.
  11279. (x_clear_image): If cairo, destroy the surface in cr_data.
  11280. (png_load): Add new cairo compatible implementation.
  11281. (lookup_image_type): Add defined (USE_CAIRO) for define png_type.
  11282. * src/xfns.c: New section Printing.
  11283. (x-export-frames, x-page-setup-dialog, x-get-page-setup)
  11284. (x-print-frames-dialog): New printing functions.
  11285. (Fx_create_frame, x_create_tip_frame): Register ftcrfont if cairo.
  11286. (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin,
  11287. Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape).
  11288. (syms_of_xfns): Provide cairo and defvar cairo-version-string.
  11289. defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog.
  11290. * src/xterm.c (x_clear_area1, x_prepare_for_xlibdraw)
  11291. (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
  11292. (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
  11293. (x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data):
  11294. Declare.
  11295. (FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros.
  11296. (max_fringe_bmp, fringe_bmp): New variables.
  11297. (x_gc_get_ext_data, x_extension_initialize)
  11298. (x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip)
  11299. (x_set_cr_source_with_gc_foreground)
  11300. (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
  11301. (x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame)
  11302. (x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames)
  11303. (x_prepare_for_xlibdraw, x_set_clip_rectangles)
  11304. (x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle)
  11305. (x_clear_window, x_fill_trapezoid_for_relief): New functions.
  11306. (x_update_begin): Create cairo surface if needed.
  11307. (x_draw_vertical_window_border): Call x_fill_rectangle for cairo.
  11308. (x_update_end): Paint cairo drawing surface to xlib surface.
  11309. (x_clear_under_internal_border, x_after_update_window_line): Adjust
  11310. arguments to x_clear_area.
  11311. (x_draw_fringe_bitmap): Call x_fill_rectangle. Get GC values and
  11312. call x_cr_draw_image for cairo. Call x_reset_clip_rectangles instead
  11313. of XSetClipMask.
  11314. (x_set_glyph_string_clipping)
  11315. (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles
  11316. instead of XSetClipRectangles.
  11317. (x_clear_glyph_string_rect, x_draw_glyph_string_background):
  11318. Use x_fill_rectangle instead of XFillRectangle.
  11319. (x_draw_glyph_string_foreground)
  11320. (x_draw_composite_glyph_string_foreground)
  11321. (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle
  11322. instead of XDrawRectangle.
  11323. (x_draw_relief_rect): Add code for USE_CAIRO.
  11324. Call x_reset_clip_rectangles instead of XSetClipMask.
  11325. (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles,
  11326. x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles
  11327. instead of XSetClipMask.
  11328. (x_draw_image_foreground, x_draw_image_foreground_1):
  11329. x_draw_rectangle instead of XDrawRectangle.
  11330. (x_draw_glyph_string_bg_rect): x_fill_rectangle instead of
  11331. XFillRectangle.
  11332. (x_draw_image_glyph_string): If img has cr_data, use it as
  11333. a cairo surface.
  11334. (x_draw_stretch_glyph_string): x_set_clip_rectangles instead of
  11335. XSetClipRectangles, x_fill_rectangle instead of XFillRectangle.
  11336. (x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle.,
  11337. x_reset_clip_rectangles instead of XSetClipMask.
  11338. (x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw.
  11339. (x_clear_area1): New function that calls XClearArea.
  11340. (x_clear_area): Takes frame as parameter, calls x_clear_area1 for
  11341. non-cairo.
  11342. (x_clear_frame): x_clear_window instead of XClearWindow.
  11343. (x_scroll_run): Set frame garbaged if cairo.
  11344. (XTmouse_position): Initialize *part to 0.
  11345. (x_scroll_bar_create): Adjust arguments to x_clear_area.
  11346. (x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area,
  11347. x_fill_rectangle instead of XFillRectangle.
  11348. (XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust
  11349. arguments to x_clear_area.
  11350. (x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle.
  11351. (handle_one_xevent): Adjust arguments to x_clear_area.
  11352. Destroy cairo surface for frame if ConfigureNotify.
  11353. (x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles.
  11354. (x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle,
  11355. x_reset_clip_rectangles instead of XSetClipMask.
  11356. (x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle,
  11357. x_reset_clip_rectangles instead of XSetClipMask.
  11358. (x_clear_frame_area): Adjust arguments to x_clear_area.
  11359. (x_free_frame_resources): Call x_prepare_for_xlibdraw.
  11360. (x_term_init): Call x_extension_initialize if cairo.
  11361. (x_redisplay_interface): Add x_cr_define_fringe_bitmap,
  11362. x_cr_destroy_fringe_bitmap for cairo.
  11363. (x_initialize): Call x_cr_init_fringe for cairo.
  11364. * src/xterm.h: Add include of cairo header files.
  11365. (x_bitmap_record): Add img if cairo.
  11366. (x_gc_ext_data): New struct for cairo.
  11367. (x_display_info): Add ext_codes for cairo.
  11368. (x_output): Add cr_context and cr_surface for cairo.
  11369. (x_clear_area): Change arguments from Display*/Window to frame pointer.
  11370. (x_query_color, x_begin_cr_clip, x_end_cr_clip)
  11371. (x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background)
  11372. (x_cr_draw_frame, x_cr_export_frames): Declare.
  11373. 2015-05-17 Johan Bockgård <bojohan@gnu.org>
  11374. Fix integer-valued `mouse-highlight' (Bug#20590)
  11375. * src/xterm.c (handle_one_xevent) [USE_GTK]: Fix ifdef scope.
  11376. 2015-05-17 Eli Zaretskii <eliz@gnu.org>
  11377. MS-Windows followup for ASCIIfication of curved quotes
  11378. * lisp/term/w32console.el (terminal-init-w32console): Repeat the
  11379. test for curved quotes being displayable, after switching the
  11380. terminal encoding. (Bug#20545)
  11381. 2015-05-17 Jan D <jan.h.d@swipnet.se>
  11382. Add comment that x_shift_glyphs_for_insert is never called
  11383. * src/xterm.c (x_shift_glyphs_for_insert, x_redisplay_interface):
  11384. Add comment that this function is never called.
  11385. 2015-05-16 Glenn Morris <rgm@gnu.org>
  11386. * src/lisp.mk: Remove from repository and generate at build-time.
  11387. * src/Makefile.in (lisp.mk): New rule to generate from loadup.el.
  11388. (shortlisp_filter): New variable.
  11389. (emacs$(EXEEXT), $(etc)/DOC): Depend on lisp.mk.
  11390. (distclean): Remove lisp.mk.
  11391. * Makefile.in ($(MAKEFILE_NAME)): No longer depend on src/lisp.mk.
  11392. * lisp/loadup.el: Tweak layout to make it easier to parse.
  11393. * make-dist: Do not distribute src/lisp.mk.
  11394. 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
  11395. Display shorter dates in Git annotate output
  11396. * lisp/vc/vc-git.el (vc-git-annotate-command): Use the short date
  11397. format (when not overridden with vc-git-annotate-switches).
  11398. (vc-git-annotate-time): Support the short format, as well as ISO
  11399. 8601 that has been used until now (bug#5428).
  11400. 2015-05-16 Paul Eggert <eggert@cs.ucla.edu>
  11401. ASCIIfy curved quotes on displays lacking them
  11402. * lisp/international/mule-cmds.el (set-locale-environment):
  11403. If curved quotes don't work, display straight ASCII approximations
  11404. (Bug#20545).
  11405. 2015-05-16 Glenn Morris <rgm@gnu.org>
  11406. Small src/Makefile simplification
  11407. * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
  11408. * src/Makefile.in (lisp): Derive from shortlisp.
  11409. ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.
  11410. 2015-05-16 Eli Zaretskii <eliz@gnu.org>
  11411. * lisp/help-mode.el (help-go-forward): Doc fix.
  11412. (Bug#20577)
  11413. * doc/lispref/debugging.texi (Profiling): Improve indexing.
  11414. (Bug#20576)
  11415. 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
  11416. * lisp/vc/vc-git.el (vc-git-resolve-when-done): Use `unless' to
  11417. have one fewer `not'.
  11418. * lisp/vc/vc-git.el (vc-git-diff-switches)
  11419. (vc-git-annotate-switches, vc-git-resolve-conflicts)
  11420. (vc-git-program, vc-git-root-log-format): Remove the redundant
  11421. :group declarations.
  11422. 2015-05-16 Nicolas Petton <nicolas@petton.fr>
  11423. Removes the predicate from lisp-complete-symbol (Bug#20456)
  11424. * lisp/emacs-lisp/lisp.el (lisp-complete-symbol): Do not use predicate
  11425. and remove it from the docstring.
  11426. 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
  11427. Add new option vc-git-resolve-conflicts
  11428. * lisp/vc/vc-git.el (vc-git-resolve-conflicts): New variable.
  11429. (vc-git-find-file-hook): Add to after-save-hook only when the
  11430. above is non-nil.
  11431. (vc-git-resolve-when-done): Update to honor the new variable.
  11432. (Bug#20292)
  11433. 2015-05-16 Artur Malabarba <bruce.connor.am@gmail.com>
  11434. * lisp/emacs-lisp/tabulated-list.el: Don't error on null header-string.
  11435. (tabulated-list-init-header): Document new behavior.
  11436. (tabulated-list-print-fake-header): Do nothing if
  11437. `tabulated-list--header-string' is nil.
  11438. (tabulated-list--header-string): Add a docstring.
  11439. * doc/lispref/modes.texi (Tabulated List Mode): Document it.
  11440. * etc/NEWS: Document it.
  11441. 2015-05-15 Leo Liu <sdl.web@gmail.com>
  11442. Revert "Fix cps--gensym"
  11443. * lisp/emacs-lisp/generator.el (cps--gensym): Revert commit
  11444. fbda511ab8069d0115eafca411a43353b85431b1 on 2015-05-14.
  11445. 2015-05-15 Glenn Morris <rgm@gnu.org>
  11446. Replace AC_SUBST_FILE in configure with include in Makefiles
  11447. * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag)
  11448. (oldxmenu_deps_frag, lisp_frag): Remove output variables/files.
  11449. (AUTO_DEPEND): New output variable.
  11450. * lwlib/Makefile.in (AUTO_DEPEND): New, set by configure.
  11451. (DEPFLAGS, MKDEPDIR): Set directly via conditional.
  11452. (lwlib_deps_frag): Replace by conditional include.
  11453. * lwlib/autodeps.mk: Remove file.
  11454. * oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure.
  11455. (DEPFLAGS, MKDEPDIR): Set directly via conditional.
  11456. (oldxmenu_deps_frag): Replace by conditional include.
  11457. * oldXMenu/autodeps.mk: Remove file.
  11458. * src/Makefile.in (AUTO_DEPEND): New, set by configure.
  11459. (DEPFLAGS, MKDEPDIR): Set directly via conditional.
  11460. (lisp_frag): Replace by an include.
  11461. (deps_frag): Replace by conditional include.
  11462. * src/autodeps.mk: Remove file.
  11463. Tweak japanese.el's loading of dependencies
  11464. * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
  11465. * lisp/language/japanese.el: Use require rather than load.
  11466. * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
  11467. Provide a feature.
  11468. * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
  11469. Provide a feature in the generated file.
  11470. 2015-05-15 Jan D <jan.h.d@swipnet.se>
  11471. Fix NS warnings
  11472. * src/nsmenu.m (ns_popup_dialog)
  11473. * src/nsimage.m (initFromXBM:width:height:fg:bg:)
  11474. * src/nsfns.m (Fx_create_frame): Remove unused variables.
  11475. (Fns_read_file_name): Initialize fname, remove ret.
  11476. * src/nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch.
  11477. (ns_get_color, ns_set_horizontal_scroll_bar, keyDown):
  11478. Remove unused variable.
  11479. (init): Add parantesis in if.
  11480. (ns_create_terminal): Assign set_horizontal_scroll_bar_hook.
  11481. 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
  11482. Fix a enum conversion warning in macfont.m
  11483. * src/macfont.h (CharacterCollection): Typedef to NSCharacterCollection.
  11484. (MAC_CHARACTER_COLLECTION_*): Use the NS variants.
  11485. 2015-05-15 Eli Zaretskii <eliz@gnu.org>
  11486. * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary):
  11487. Support Aspell dictionaries with names like "de-alt". (Bug#20581)
  11488. 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
  11489. * lisp/cus-start.el: Add ns-confirm-quit.
  11490. Fix warnings on OSX 10.10
  11491. * src/nsfns.m (MODAL_OK_RESPONSE): New define for different
  11492. OSX versions.
  11493. (Fns_read_file_name): Check against MODAL_OK_RESPONSE.
  11494. (compute_tip_xy): Use convertRectToScreen for OSX >= 10.7
  11495. * src/nsmenu.m (initWithContentRect:styleMask:backing:defer:)
  11496. * src/nsimage.m (allocInitFromFile, setPixmapData): Only call
  11497. setScalesWhenResized for OSX < 10.6.
  11498. * src/nsterm.h (EmacsScroller): Declare scrollerWidth.
  11499. * src/nsterm.m (ns_copy_bits): New function that does not use
  11500. deprecated NSCopyBits.
  11501. (ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits.
  11502. (runAlertPanel): New function.
  11503. (applicationShouldTerminate:): Call runAlertPanel.
  11504. (initFrameFromEmacs, toggleFullScreen:): Only call
  11505. useOptimizedDrawing for OSX < 10.10.
  11506. (initFrameFromEmacs:): Only call allocateGState for OSX < 10.10.
  11507. (windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int.
  11508. (draggingEntered:): Returns NSDragOperation.
  11509. (scrollerWidth): Use scrollerWidthForControlSize for OSX >= 10.7.
  11510. 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
  11511. * lisp/emacs-lisp/package.el: Don't ensure-init during startup.
  11512. (package--init-file-ensured): New variable.
  11513. (package-initialize, package--ensure-init-file): Use it.
  11514. 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
  11515. Honor :fore/background for XBM on NS (Bug#14969)
  11516. * src/nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM,
  11517. initFromXBM takes bg, fg args, remove flip arg.
  11518. (ns_image_from_XBM): Add bg, fg args.
  11519. * src/image.c (x_create_bitmap_from_data)
  11520. (Create_Pixmap_From_Bitmap_Data): ns_image_from_XBM takes bg, fg args.
  11521. * src/nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to
  11522. initFromXBM. Remove flip arg.
  11523. (initFromSkipXBM): Move code to initFromXBM.
  11524. (initFromXBM): Actually set fg and bg, instead of playing alpha games.
  11525. Use fg, bg from args (Bug#14969). Remove if (length) section, was
  11526. always false.
  11527. Remove bit flipping (bitPat, swt), generated incorrect images when
  11528. width/height wasn't a multiple of 8.
  11529. (setXBMColor:): Modify planes by comparing to saved xbm_fg.
  11530. * src/nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args,
  11531. remove flip arg.
  11532. 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
  11533. * lisp/emacs-lisp/package.el: Be more careful with the init file.
  11534. (package--ensure-init-file): Check that user-init-file is set,
  11535. exists, is readable, and is writable. (Bug#20584)
  11536. Also expand the docstring.
  11537. 2015-05-14 Wilson Snyder <wsnyder@wsnyder.org>
  11538. Sync with upstream verilog-mode revision 6232468
  11539. * lisp/progmodes/verilog-mode.el
  11540. (verilog-font-lock-grouping-keywords-face)
  11541. (verilog-highlight-grouping-keywords): Fix use of face when
  11542. `verilog-highlight-grouping-keywords' set. Reported by Jeff Pompa.
  11543. (verilog-auto-reset): Fix AUTORESET to ignore member resets if
  11544. parent is reset, bug906. Reported by Ken Schmidt.
  11545. (verilog-auto-inout-module): Add fourth regexp argument to
  11546. AUTOINOUTMODULE and AUTOINOUTCOMP for signals to not match, bug856.
  11547. Reported by John Tillema.
  11548. (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
  11549. modport if signal attachment is itself a modport. Reported by
  11550. Matthew Lovell.
  11551. (verilog-auto-reset, verilog-auto-sense-sigs): Fix AUTORESET with
  11552. always_comb and always_latch, bug844. Reported by Greg Hilton.
  11553. (verilog-at-constraint-p, verilog-beg-of-statement-1): Fix hanging
  11554. with many curly-bracket pairs, bug663.
  11555. (verilog-set-auto-endcomments): Fix end comments for functions of
  11556. type void, etc. Reported by Alex Reed.
  11557. (verilog-do-indent): Fix electric tab deleting form-feeds. Note
  11558. caused by indent-line-to deleting tabls pre 24.5.
  11559. (verilog-nameable-item-re): Fix nameable items that can have an
  11560. end-identifier to include endchecker, endgroup, endprogram,
  11561. endproperty, and endsequence. Reported by Alex Reed.
  11562. (verilog-label-be): When auto-commenting a buffer, consider
  11563. auto-comments on all known keywords (not just a subset thereof).
  11564. Reported by Alex Reed.
  11565. (verilog-auto-end-comment-lines-re)
  11566. (verilog-end-block-ordered-re, verilog-set-auto-endcomments):
  11567. Automatically comment property/endproperty blocks to match other
  11568. similar blocks like sequence/endsequence, function/endfunction, etc.
  11569. Reported by Alex Reed.
  11570. (verilog-set-auto-endcomments): Detect the function- or task-name
  11571. when auto-commenting blocks that lack an explicit portlist.
  11572. Reported by Alex Reed.
  11573. (verilog-auto, verilog-auto-insert-last): Add AUTOINSERTLAST to
  11574. allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
  11575. (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
  11576. is nil, fix indenting initial/final to match always statements,
  11577. bug825. Reported by Tim Clapp.
  11578. (verilog-extended-complete-re): Fix indentation of DPI-C imports
  11579. with c_identifiers, and DPI-C imports, bug557. Reported by ZeDong
  11580. Mao and Jason Forkey.
  11581. (verilog-read-decls): Fix parsing typed interfaces. Fix
  11582. AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
  11583. Fix localparam not being ignored in AUTOINSTPARAM,
  11584. bug889. Reported by Shannon Hill.
  11585. (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY,
  11586. bug793. Reported by Pierre-David Pfister.
  11587. (verilog-auto-arg-format, verilog-auto-arg-ports):
  11588. Add verilog-auto-arg-format to support newlines in AUTOARG.
  11589. Reported by Jie Xiao.
  11590. (verilog-batch-execute-func): Do not batch re-auto files loaded by
  11591. Local Variables. Fix printing "no changes to be saved" with
  11592. verilog-batch. Reported by Dan Dever.
  11593. (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
  11594. interface-only modules, bug721. Reported by Dean Hoyt.
  11595. Author: Alex Reed <acreed4@gmail.com>
  11596. * lisp/progmodes/verilog-mode.el (verilog-beg-of-statement):
  11597. Don't treat '<keyword>:<identifier>' as the start of a labeled
  11598. statement, bug905. Reported by Enzo Chi.
  11599. (verilog-directive-re, verilog-compiler-directives)
  11600. (verilog-keywords): Match full set of IEEE 2012-1800 compiler
  11601. directives (plus some extras) when determining indentation, bug
  11602. 901. Reported by Bernd Beuster.
  11603. (verilog-at-constraint-p): Fix indentation of coverpoint bins if
  11604. iff expression doesn't start with word-character, bug900.
  11605. (verilog-optional-signed-range-re, verilog-optional-signed-re):
  11606. Fix incorrect indentation/alignment of unsigned declarations,
  11607. bug897.
  11608. (verilog-looking-back, verilog-in-attribute-p): Fix labeling of
  11609. always constructs, bug895.
  11610. (verilog-calc-1): Fix verilog-mode constraint indentation, bug324.
  11611. Reported by Eric Mastromarchi.
  11612. (verilog-beg-of-statement): Fix indenting for some forms of
  11613. constraintsm bug433. Reported by Brad Parker. Fix indentation of
  11614. continued assignment incorrect if first line ends with ']', bug437.
  11615. Reported by Dan Dever. Fix indention of cover inside an
  11616. ifdef, bug 862. Reported by Bernd Beuster. Fix labeling do-while
  11617. blocks, bug842.
  11618. (verilog-preprocessor-re): Fix fork/end UNMATCHED warning, bug859.
  11619. Reported by Kaushal Modi.
  11620. (verilog-set-auto-endcomments): Fix endlabel end comments, bug888.
  11621. (verilog-backward-token): Fix indenting sensitivity lists with
  11622. named events, bug840. Reed.
  11623. (verilog-no-indent-begin-re): Fix `verilog-indent-begin-after-if'
  11624. nil not honoring 'forever', 'foreach', and 'do' keywords.
  11625. 2015-05-14 Paul Eggert <eggert@cs.ucla.edu>
  11626. Check for invalid GTK+ monitor scales
  11627. * src/gtkutil.c (xg_get_gdk_scale): Return 1 for invalid scales,
  11628. INT_MAX for too-large scales. All callers changed to assume the
  11629. result is valid (Bug#20432).
  11630. (xg_frame_set_char_size, xg_update_scrollbar_pos):
  11631. Calculate scale only if needed.
  11632. Show ASCII approximations instead.
  11633. 2015-05-14 Eli Zaretskii <eliz@gnu.org>
  11634. Fix daemon crashes when linum-mode is turned on early on
  11635. * src/window.c (Fwindow_end): Don't try calling display engine
  11636. functions on initial-frame frame. (Bug#20565)
  11637. Fix selective diff browsing in Ediff
  11638. * lisp/vc/ediff-util.el (ediff-focus-on-regexp-matches):
  11639. Go to the beginning of the region before searching for the
  11640. ediff-regexp-focus-* regexps. (Bug#20568)
  11641. 2015-05-14 Jan D <jan.h.d@swipnet.se>
  11642. Fixes bug#20142
  11643. * src/gtkutil.c (delete_cb): Don't send delete event here, it does
  11644. arrive in the main loop, even for Gtk 3 (Bug#20142).
  11645. Don't access display after i/o error (Bug#19147).
  11646. * src/xterm.c (x_connection_closed): Add third arg ioerror.
  11647. If ioerror, set display to 0 (Bug#19147).
  11648. (x_error_quitter): Call x_connection_closed with third arg false.
  11649. (x_io_error_quitter): Call x_connection_closed with third arg true.
  11650. Handle GTK_SCALE, fixes Bug#20432.
  11651. * src/gtkutil.c (xg_get_gdk_scale): New function.
  11652. (xg_frame_set_char_size)
  11653. (x_wm_set_size_hint, xg_get_default_scrollbar_width)
  11654. (xg_get_default_scrollbar_height)
  11655. (xg_update_horizontal_scrollbar_pos): Take GTK_SCALE in to account
  11656. when setting sizes (Bug#20432).
  11657. 2015-05-13 Leo Liu <sdl.web@gmail.com>
  11658. * lisp/emacs-lisp/generator.el (cps--gensym): Fix.
  11659. 2015-05-13 Glenn Morris <rgm@gnu.org>
  11660. Fix bootstrap (void function cl-member).
  11661. * lisp/emacs-lisp/cl-lib.el: Load cl-seq if no cl-loaddefs file.
  11662. * lisp/emacs-lisp/cl-seq.el: Provide a feature.
  11663. 2015-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
  11664. * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload
  11665. * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
  11666. * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
  11667. Avoid defalias for closures which are not immutable.
  11668. (cl--generic-prefill-dispatchers): New macro. Use it to prefill
  11669. the dispatchers table with various entries.
  11670. * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
  11671. * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.
  11672. 2015-05-13 Eli Zaretskii <eliz@gnu.org>
  11673. Improve tagging of C bindings in DEFVAR_*
  11674. * src/Makefile.in (TAGS): Add --regex options to tag the C binding
  11675. from DEFVAR_*.
  11676. 2015-05-13 Paul Eggert <eggert@cs.ucla.edu>
  11677. * src/editfns.c (Fformat): Fix use-after-free bug (Bug#20548).
  11678. 2015-05-12 Glenn Morris <rgm@gnu.org>
  11679. * lisp/progmodes/tcl.el (tcl-filter):
  11680. Handle comint-prompt-read-only like gud.el does. (Bug#20549)
  11681. Add basic VC push support
  11682. * lisp/vc/vc.el (vc-push): New autoloaded command.
  11683. * lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push.
  11684. * lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull.
  11685. (vc-bzr-pull): Reimplement using vc-bzr--pushpull.
  11686. (vc-bzr-push): New.
  11687. * lisp/vc/vc-git.el (vc-git--pushpull): New, factored from vc-git-pull.
  11688. (vc-git-pull): Reimplement using vc-git--pushpull.
  11689. (vc-git-push): New.
  11690. * lisp/vc/vc-hg.el (vc-hg--pushpull): New, factored from vc-hg-pull.
  11691. (vc-hg-pull, vc-hg-push): Reimplement using vc-hg--pushpull.
  11692. * doc/emacs/maintaining.texi (Pulling / Pushing):
  11693. Rename from "VC Pull". Mention pushing.
  11694. (VC With A Merging VCS, VC Change Log): Update xrefs.
  11695. (Branches): Update menu.
  11696. * doc/emacs/emacs.texi: Update menu.
  11697. * etc/NEWS: Mention this.
  11698. 2015-05-12 Nicolas Petton <nicolas@petton.fr>
  11699. Improve the seq pcase pattern and the `seq-let' macro
  11700. * lisp/emacs-lisp/seq.el: The pcase pattern now matches only if the
  11701. object is a sequence, and binds each element of ARGS to the
  11702. corresponding element of the sequence.
  11703. 2015-05-12 Eli Zaretskii <eliz@gnu.org>
  11704. Fix tags created from DEFVAR_* declarations in C
  11705. * src/Makefile.in (TAGS): Improve the --regex argument to etags,
  11706. to make tags extracted from DEFVAR_* declarations more accurate.
  11707. Add a test suite for etags
  11708. * test/etags/: New test suite, adapted from
  11709. http://fly.isti.cnr.it/pub/software/unix/etags-regression-test.tar.bz2,
  11710. whose original author is Francesco Potortì <pot@gnu.org>.
  11711. Fix tagging of symbols in C enumerations
  11712. * lib-src/etags.c (consider_token): Don't tag symbols in
  11713. expressions that assign values to enum constants. See
  11714. http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00291.html
  11715. for details.
  11716. (C_entries): Reset fvdef to fvnone after processing a preprocessor
  11717. conditional and after a comma outside of parentheses.
  11718. 2015-05-12 Glenn Morris <rgm@gnu.org>
  11719. * lisp/url/url-handlers.el (url-file-name-completion)
  11720. (url-file-name-all-completions): Silence compiler.
  11721. * lisp/emacs-lisp/chart.el (chart-axis-draw): Replace obsolete alias.
  11722. * lisp/play/dunnet.el (dun-dos-boot-msg): Fix time. (Bug#20554)
  11723. 2015-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
  11724. * lisp/emacs-lisp/cl-generic.el: Add dispatch on &context arguments
  11725. (cl--generic-mandatory-args): Remove.
  11726. (cl--generic-split-args): New function.
  11727. (cl-generic-define, cl--generic-lambda): Use it.
  11728. (cl-generic-define-method): Use it as well, and add support for
  11729. context args.
  11730. (cl--generic-get-dispatcher): Handle &context dispatch.
  11731. (cl--generic-cache-miss): `dispatch-arg' can now be a
  11732. context expression.
  11733. (cl--generic-dispatchers): Pre-fill.
  11734. * test/automated/cl-generic-tests.el (sm-generic-test-12-context):
  11735. New test.
  11736. 2015-05-11 Glenn Morris <rgm@gnu.org>
  11737. * make-dist: Abort if "make ChangeLog" fails. Add "--no-changelog".
  11738. 2015-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
  11739. * lisp/term/xterm.el: Fix xterm-paste handling for rxvt
  11740. * lisp/term/rxvt.el: Require term/xterm.
  11741. (rxvt-function-map): Use xterm-rxvt-function-map.
  11742. (rxvt-standard-colors): Move before first use.
  11743. (terminal-init-rxvt): Use xterm--push-map and
  11744. xterm-register-default-colors.
  11745. (rxvt-rgb-convert-to-16bit, rxvt-register-default-colors): Remove.
  11746. * lisp/term/xterm.el (xterm-rxvt-function-map): New var.
  11747. Move shared bindings between rxvt and xterm to it.
  11748. (xterm-function-map): Use it. Move the xterm-paste binding to
  11749. xterm-rxvt-function-map (bug#20444).
  11750. (xterm-standard-colors): Move before first use.
  11751. (xterm--push-map): New function.
  11752. (xterm-register-default-colors): Take standard colors as argument.
  11753. (terminal-init-xterm): Use it. Adjust call to
  11754. xterm-register-default-colors.
  11755. 2015-05-11 Glenn Morris <rgm@gnu.org>
  11756. * lisp/term/x-win.el: Quieten --without-x compilation.
  11757. (x-own-selection-internal, x-disown-selection-internal)
  11758. (x-selection-owner-p, x-selection-exists-p, x-get-selection-internal):
  11759. Declare.
  11760. * Makefile.in (emacslog): Remove srcdir.
  11761. (ChangeLog): Update for the above.
  11762. 2015-05-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
  11763. python.el: better limit for looking-back calls
  11764. * lisp/progmodes/python.el (python-shell-accept-process-output):
  11765. Use last comint prompt start as limit for looking-back.
  11766. 2015-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
  11767. CEDET (srecode-insert-fcn): Fix use of oref on a class
  11768. * lisp/cedet/srecode/insert.el (srecode-insert-fcn): Fix use of oref
  11769. on a class. Reported by Pierre Lorenzon.
  11770. (srecode-template-inserter-point): Remove declaration.
  11771. CEDET (srecode-create-dictionary): Avoid obsolete object name
  11772. * lisp/cedet/srecode/dictionary.el (srecode-create-dictionary):
  11773. Don't use a symbol as an object name. Reported by Pierre Lorenzon.
  11774. 2015-05-10 Paul Eggert <eggert@cs.ucla.edu>
  11775. C-x 8 shorthands for curved quotes, Euro, etc.
  11776. Although C-x 8 lets you insert arbitrary Unicode characters,
  11777. it's awkward to use this to insert commonly used symbols such as curved
  11778. quotes, the Euro symbol, etc. This patch adds simpler sequences for
  11779. characters commonly found in English text and in basic math.
  11780. For example, assuming the Alt key works on your keyboard and iso-transl
  11781. is loaded, one can now type "A-[" instead of "A-RET LEFT SIN TAB RET"
  11782. to get the character "‘" (U+2018 LEFT SINGLE QUOTATION MARK).
  11783. (Bug#20499)
  11784. * doc/emacs/mule.texi (Unibyte Mode):
  11785. A few other printing characters now work too.
  11786. * etc/NEWS: Document this.
  11787. * lisp/international/iso-transl.el (iso-transl-char-map):
  11788. Also support the following characters:
  11789. ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ € № ← → ↔ − ≈ ≠ ≤ ≥
  11790. 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
  11791. Add xref-find-regexp
  11792. * lisp/progmodes/xref.el (xref-find-function): Describe the
  11793. `matches' action.
  11794. (xref-find-regexp): New command, using it.
  11795. (xref-collect-references): Rename to xref-collect-matches.
  11796. (xref--collect-reference): Rename to xref--collect-match.
  11797. (xref-collect-matches, xref--collect-match): Accept new argument,
  11798. KIND. Update accordingly.
  11799. (xref--regexp-to-extended): New function.
  11800. * lisp/progmodes/elisp-mode.el (elisp-xref-find): Support the
  11801. `matches' action.
  11802. (elisp--xref-find-matches): Accept new argument. Resolve a FIXME.
  11803. * lisp/progmodes/etags.el (etags-xref-find):
  11804. Support the `matches' action.
  11805. (etags--xref-find-matches): New function.
  11806. 2015-05-10 Glenn Morris <rgm@gnu.org>
  11807. * Makefile.in: Fixes for recent change-history changes.
  11808. (change-history-nocommit): Update footer regexp.
  11809. Ensure output script stays executable.
  11810. 2015-05-10 Nicolas Petton <nicolas@petton.fr>
  11811. New version of `seq-let' based on a pcase pattern
  11812. * lisp/emacs-lisp/seq.el (seq-let): Define the macro in terms of a
  11813. pcase pattern if `pcase-defmacro' is defined (Emacs>=25.1).
  11814. 2015-05-10 Przemysław Wojnowski <esperanto@cumego.com>
  11815. Add basic HTML5 tags and a template
  11816. * lisp/textmodes/sgml-mode.el: Basic HTML5 support.
  11817. (html-tag-alist): Add HTML5 tags.
  11818. (html-tag-help): Add new tags descriptions.
  11819. (html-navigational-links): Template for nav links.
  11820. (html-html5-template): Template for a HTML5 page.
  11821. 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
  11822. semantic/symref/grep: Don't use word boundaries
  11823. * lisp/cedet/semantic/symref/grep.el
  11824. (semantic-symref-perform-search): Instead of wrapping input in
  11825. word boundaries, check that the characters before and after are
  11826. not word constituents.
  11827. semantic/symref/grep: Support regexp search
  11828. * lisp/cedet/semantic/symref.el
  11829. (semantic-symref-hit-to-tag-via-buffer): Don't regexp-quote when
  11830. the search type is regexp.
  11831. * lisp/cedet/semantic/symref/grep.el
  11832. (semantic-symref-perform-search): Support the regexp search type.
  11833. Pass -E to Grep when it's used.
  11834. semantic-symref-regexp: Allow to input an arbitrary string
  11835. * lisp/cedet/semantic/symref/list.el (semantic-symref-regexp):
  11836. Allow to input an arbitrary string interactively.
  11837. Remove tag-symbol-match-p from etags-xref-find-definitions-tag-order
  11838. * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
  11839. Remove tag-symbol-match-p from the default value
  11840. (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00292.html).
  11841. Declare find-tag obsolete
  11842. * lisp/progmodes/etags.el (find-tag): Declare obsolete in favor of
  11843. xref-find-definitions.
  11844. 2015-05-10 Jan D <jan.h.d@swipnet.se>
  11845. Draw composite string correctly (Bug#20537)
  11846. * src/nsterm.m (ns_draw_composite_glyph_string_foreground):
  11847. New function.
  11848. (ns_draw_glyph_string): Call it.
  11849. 2015-05-09 Eli Zaretskii <eliz@gnu.org>
  11850. Avoid infloop in ERC
  11851. * lisp/simple.el (line-move-to-column): Ignore field boundaries
  11852. while computing line beginning position. (Bug#20498)
  11853. 2015-05-08 Glenn Morris <rgm@gnu.org>
  11854. * Makefile.in (ChangeLog): No longer pass "srcprefix"; cd instead.
  11855. * build-aux/gitlog-to-emacslog: Check called from right directory.
  11856. (srcprefix): Remove.
  11857. * build-aux/gitlog-to-emacslog: Get rid of "distprefix".
  11858. * Makefile.in (ChangeLog): No longer pass "distprefix".
  11859. * make-dist: Update "make ChangeLog" syntax for the above change.
  11860. * build-aux/gitlog-to-emacslog: Don't hard-code "ChangeLog.2".
  11861. * Makefile.in (ChangeLog): Pass -n to gitlog-to-emacslog.
  11862. * build-aux/gitlog-to-emacslog: Add "for earlier changes" to footer.
  11863. Add command-line option-parsing to gitlog-to-emacslog
  11864. * build-aux/gitlog-to-emacslog: Add command-line options.
  11865. By default, refuse to remove an existing output file.
  11866. * Makefile.in (CHANGELOG): Update default.
  11867. (ChangeLog): Do not test for existing file.
  11868. (change-history-nocommit): Ensure temp file does not exist.
  11869. Quieten --without-x compilation
  11870. * lisp/term/common-win.el: Provide a feature.
  11871. * lisp/term/x-win.el (term/common-win): Require it.
  11872. * lisp/dired-aux.el (dired-do-print): Require lpr.
  11873. Quieten compilation, eg in --without-x builds
  11874. * lisp/dired-aux.el (lpr-printer-switch):
  11875. * lisp/frame.el (tool-bar-height):
  11876. * lisp/linum.el (font-info):
  11877. * lisp/window.el (font-info, overflow-newline-into-fringe)
  11878. (tool-bar-height):
  11879. * lisp/emacs-lisp/package-x.el (tar-data-buffer):
  11880. * lisp/gnus/gnus-util.el (iswitchb-mode):
  11881. * lisp/mail/rmailmm.el (libxml-parse-html-region):
  11882. * lisp/net/nsm.el (gnutls-peer-status)
  11883. (gnutls-peer-status-warning-describe):
  11884. * lisp/net/shr.el (libxml-parse-xml-region):
  11885. * lisp/url/url-http.el (gnutls-peer-status): Declare.
  11886. 2015-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
  11887. CEDET (srecode-pop, srecode-peek): Don't use `subclass'
  11888. * lisp/cedet/srecode/insert.el (srecode-pop, srecode-peek): Don't use
  11889. `subclass' since they're never called with a class.
  11890. (srecode-insert-method, srecode-insert-subtemplate): Avoid obsolete
  11891. srecode-dictionary-child-p.
  11892. 2015-05-08 Nicolas Richard <theonewiththeevillook@yahoo.fr>
  11893. * lisp/help.el (help--binding-locus): Document argument POSITION.
  11894. (Bug#20530)
  11895. 2015-05-08 Paul Eggert <eggert@cs.ucla.edu>
  11896. Merge from gnulib
  11897. * doc/misc/texinfo.tex: Get latest version.
  11898. 2015-05-08 Oleh Krehel <ohwoeowho@gmail.com>
  11899. ffap.el (ffap-read-file-or-url): Fix completing-read call
  11900. * lisp/ffap.el (ffap-read-file-or-url): The HIST argument of
  11901. `completing-read' should be a symbol.
  11902. 2015-05-08 Eli Zaretskii <eliz@gnu.org>
  11903. Verify file modifications by other programs
  11904. * src/filelock.c (lock_file): Check whether the file was modified
  11905. since it was visited even if 'create-lockfiles' is nil. (Bug#18828)
  11906. Fix keyboard macros that include function keys
  11907. * src/keyboard.c (read_char_minibuf_menu_prompt): Record function
  11908. keys in the macro before returning. (Bug#20454)
  11909. 2015-05-08 Glenn Morris <rgm@gnu.org>
  11910. * build-aux/gitlog-to-changelog: Treat "Tiny-change" like
  11911. "Copyright-paperwork-exempt". (Bug#20324)
  11912. * lisp/vc/log-edit.el: Handle "(tiny change)". (Bug#20324)
  11913. (log-edit-rewrite-tiny-change): New variable.
  11914. (log-edit-insert-changelog): Maybe add "Copyright-paperwork-exempt".
  11915. (log-edit-changelog-ours-p): Set log-edit-author to a cons.
  11916. * etc/NEWS: Mention this.
  11917. * lisp/calc/calc.el (math-zerop): Declare.
  11918. * lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare.
  11919. 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
  11920. * lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec.
  11921. Support the case when BINDINGS is a single tuple. (Bug#20525)
  11922. * etc/NEWS: Fix typo in previous commit
  11923. (14bb519f1034ddb38ce375cbad7095d9b07f8b26).
  11924. 2015-05-07 Jan D <jan.h.d@swipnet.se>
  11925. * configure.ac: Warn for multiple display crash for all Gtk+ versions.
  11926. Output URL to Gtk+ bug (Bug#20452).
  11927. * lisp/term/ns-win.el (ns-paste-secondary): Use gui-get-selection.
  11928. 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
  11929. * lisp/emacs-lisp/package.el: New "external" package status.
  11930. An external package is any installed package that's not built-in
  11931. and not from `package-user-dir', which usually means it's from an
  11932. entry in `package-directory-list'. They are treated much like
  11933. built-in packages, in that they cannot be through the Package Menu
  11934. deleted and are not considered for upgrades.
  11935. (package-desc-status): Identify if a package is installed outside
  11936. `package-user-dir'.
  11937. (package-menu--print-info-simple)
  11938. (package-menu--status-predicate): Add support for it.
  11939. * etc/NEWS: Document it.
  11940. 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
  11941. * lisp/mail/rmail.el: Use lexical-binding.
  11942. (rmail-bury): Remove unused var `buffer-to-bury'.
  11943. (rmail-get-new-mail): Remove unused vars `opoint' and `success'.
  11944. (rmail-parse-url): Remove unused var `proto', `user', and `host'.
  11945. (rmail-unrmail-new-mail-maybe): Remove unused var `new-file'.
  11946. (rmail-insert-inbox-text): Remove unused var `movemail'.
  11947. (rmail-add-mbox-headers): Remove unused var `limit'.
  11948. (rmail-undelete-previous-message): Remove unused var `value'.
  11949. (rmail-reply): Remove unused vars `resent-to', `resent-cc',
  11950. `resent-reply-to'.
  11951. (rmail-mime-mbox-buffer, rmail-mime-view-buffer): Declare.
  11952. (rmail-restore-desktop-buffer): Rename arguments.
  11953. 2015-05-06 Glenn Morris <rgm@gnu.org>
  11954. * Makefile.in (change-history-commit): Add missing piece of previous.
  11955. Avoid unnecessary bumping of Makefile.in's timestamp
  11956. * Makefile.in (gen_origin): Move to gitlog-to-emacslog.
  11957. (emacslog): New variable.
  11958. (ChangeLog): Use $emacslog. Don't pass $gen_origin.
  11959. (unchanged-history-files): Use $emacslog rather than Makefile.in.
  11960. (change-history-nocommit): Store hash in $emacslog.
  11961. * build-aux/gitlog-to-emacslog (gen_origin): Move default here.
  11962. * admin/update_autogen (changelog_files): Update for the above.
  11963. * Makefile.in: Don't always insist on removing existing "ChangeLog".
  11964. (CHANGELOG): New variable.
  11965. (no-ChangeLog): Remove.
  11966. (ChangeLog): Replace "no-ChangeLog"; pass output file to script.
  11967. (change-history-nocommit): Use a temp file rather than insisting
  11968. on deletion of any existing "ChangeLog".
  11969. * build-aux/gitlog-to-emacslog: Allow specification of output.
  11970. * admin/update_autogen: Add option to update ChangeLog.
  11971. (usage): Mention -H.
  11972. (changelog_flag, changelog_n, changelog_files): New variables.
  11973. (main): Check for -H, and maybe run change-history-nocommit.
  11974. 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
  11975. * lisp/subr.el (delete-dups): Pre-size the hashtable.
  11976. * lisp/emacs-lisp/cl.el (define-modify-macro): Make sure
  11977. cl--arglist-args is defined (bug#20517).
  11978. 2015-05-06 Glenn Morris <rgm@gnu.org>
  11979. * Makefile.in (change-history-nocommit): New.
  11980. 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
  11981. * lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel
  11982. timer when it is non-nil
  11983. (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00223.html).
  11984. 2015-05-06 Glenn Morris <rgm@gnu.org>
  11985. Quieten CEDET compilation
  11986. * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag):
  11987. Invert fboundp test to quieten on current Emacs.
  11988. * lisp/cedet/ede/config.el (ede-shell-run-something)
  11989. (semanticdb-file-table-object, semanticdb-needs-refresh-p)
  11990. (semanticdb-refresh-table): Declare.
  11991. (ede-preprocessor-map): Require semantic/db.
  11992. Quieten cc-mode compilation
  11993. * lisp/progmodes/cc-awk.el (c-forward-sws):
  11994. * lisp/progmodes/cc-cmds.el (c-forward-subword, c-backward-subword):
  11995. Declare.
  11996. 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
  11997. * lisp/subr.el (delete-dups): Avoid nreverse.
  11998. 2015-05-06 Artur Malabarba <bruce.connor.am@gmail.com>
  11999. * lisp/subr.el (delete-dups): Make it destructive again.
  12000. 2015-05-06 Paul Eggert <eggert@cs.ucla.edu>
  12001. * doc/lispref/sequences.texi (Sequence Functions): Fix quoting.
  12002. 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
  12003. * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487).
  12004. * lisp/emacs-lisp/testcover.el: Use lexical-binding.
  12005. (testcover--read): Rename from testcover-read. Change calling
  12006. convention. Use edebug-read-and-maybe-wrap-form now that edebug-read
  12007. is gone.
  12008. (testcover-start): Use add-function. Move edebug-all-defs binding to
  12009. testcover--read.
  12010. (testcover-this-defun): Tighten scope of edebug-all-defs binding.
  12011. (testcover-mark): Remove unused var `item'.
  12012. * src/lread.c (syms_of_lread): Default load-read-function to `read'.
  12013. 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
  12014. * lisp/subr.el (delete-dups): When there are more than 100 candidates,
  12015. use a hash table. This can result in ~500 times speed-up for typical
  12016. collections of size 5000, like that of `load-library'.
  12017. 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
  12018. CEDET: Avoid `oref' on classes in a few more cases
  12019. * lisp/cedet/ede/generic.el (ede-find-target):
  12020. * lisp/cedet/ede.el (ede-project-forms-menu): Avoid `oref' on classes.
  12021. * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused
  12022. var `prefix'.
  12023. * lisp/cedet/semantic/symref/grep.el: Fix unused var warnings.
  12024. (grepflags, greppattern): Declare.
  12025. (semantic-symref-perform-search): Remove unused var `pat'.
  12026. CEDET (srecode-compile-inserter): Avoid `oref' on classes
  12027. * lisp/cedet/srecode/compile.el (srecode-compile-inserter):
  12028. Avoid `oref' on classes (bug#20491).
  12029. (srecode-compile-split-code): Remove unused var `key'.
  12030. 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
  12031. Clean up pulse.el a little
  12032. * lisp/cedet/pulse.el (pulse): Remove.
  12033. (pulse-momentary-timer): Save instead of the stop time.
  12034. (pulse-momentary-highlight-overlay):
  12035. Call pulse-momentary-unhighlight first thing.
  12036. Treat pulse-momentary-overlay as a single value, not a list.
  12037. Save the created timer. Only pass the stop time to the timer.
  12038. (pulse-tick): Update accordingly.
  12039. (pulse-momentary-unhighlight): Treat pulse-momentary-overlay as a
  12040. single value. Cancel the timer.
  12041. 2015-05-06 Tassilo Horn <tsdh@gnu.org>
  12042. * lisp/textmodes/reftex-cite.el (reftex-format-bib-entry):
  12043. Support the biblatex journaltitle field.
  12044. 2015-05-05 Glenn Morris <rgm@gnu.org>
  12045. Minor declare-function improvement
  12046. * lisp/emacs-lisp/bytecomp.el
  12047. (byte-compile-macroexpand-declare-function):
  12048. Handle declarations after calls. (Bug#20509)
  12049. * lisp/progmodes/js.el (js--optimize-arglist): Remove declaration.
  12050. * lisp/w32-fns.el (w32-shell-name): Silence compiler.
  12051. 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
  12052. Pulse using a timer
  12053. * lisp/cedet/pulse.el (pulse-momentary-stop-time): New variable.
  12054. (pulse-momentary-highlight-overlay): Set up the timer instead of
  12055. calling `pulse'
  12056. (http://lists.gnu.org/archive/html/emacs-devel/2015-05/).
  12057. (pulse-tick): New function.
  12058. (pulse-momentary-unhighlight): Cut off the stop time.
  12059. (pulse-delay): Update the docstring WRT to not using sit-for.
  12060. Add semantic/symref/grep file patterns for ruby-mode
  12061. * lisp/cedet/semantic/symref/grep.el
  12062. (semantic-symref-filepattern-alist): Add patterns for ruby-mode.
  12063. Clarify the docstring.
  12064. Don't require match
  12065. * lisp/progmodes/xref.el (xref--read-identifier): Don't require
  12066. match. That doesn't work for every command, and some identifier
  12067. completion tables are bound to be imperfect anyway.
  12068. 2015-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
  12069. * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505).
  12070. (semantic-grammar--template-expand): New function.
  12071. (semantic-grammar-header, semantic-grammar-footer): Use it.
  12072. (semantic-grammar--lex-block-specs): Remove unused var `block-spec'.
  12073. (semantic-grammar-file-regexp): Refine regexp.
  12074. (semantic-grammar-eldoc-get-macro-docstring):
  12075. Use elisp-get-fnsym-args-string when available.
  12076. (semantic-idle-summary-current-symbol-info): Use new elisp-* names
  12077. instead of the old eldoc-* names.
  12078. * lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back
  12079. from elisp-mode.el. Tweak calling convention.
  12080. * lisp/progmodes/elisp-mode.el (package-user-dir): Declare.
  12081. (elisp-get-fnsym-args-string): Add `prefix' argument. Rename from
  12082. elisp--get-fnsym-args-string.
  12083. (elisp--highlight-function-argument): Add `prefix' arg.
  12084. (elisp-get-var-docstring): Rename from elisp--get-var-docstring.
  12085. (elisp--docstring-format-sym-doc): Move back to eldoc.el.
  12086. 2015-05-05 Glenn Morris <rgm@gnu.org>
  12087. * lisp/help-fns.el (describe-function-1):
  12088. Handle builtins with advertised calling conventions. (Bug#20479)
  12089. 2015-05-05 Nicolas Petton <nicolas@petton.fr>
  12090. Merge branch 'seq-let'
  12091. Update `seq-let' documentation
  12092. * doc/lispref/sequences.texi: Update the documentation of `seq-let'
  12093. with the support of `&rest'.
  12094. Add support for &rest in `seq-let'
  12095. * lisp/emacs-lisp/seq.el (seq--make-bindings): Add support for `&rest'
  12096. in the argument list.
  12097. * test/automated/seq-tests.el: Add a test for parsing and binding
  12098. `&rest' in `seq-let'.
  12099. 2015-05-05 Pierre Lorenzon <devel@pollock-nageoire.net> (tiny change)
  12100. * lisp/emacs-lisp/eieio-custom.el (eieio-object-value-get):
  12101. Add missing increment (Bug#20467).
  12102. (eieio-object-value-create): Adjust to new slots representation
  12103. (Bug#20467).
  12104. (eieio-object-value-create): Fix missed adjustment to new
  12105. representation of slots metadata.
  12106. 2015-05-05 Nicolas Petton <nicolas@petton.fr>
  12107. * lisp/emacs-lisp/seq.el (seq--make-bindings): Improve the docstring.
  12108. 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
  12109. Work around "Attempt to modify read-only object"
  12110. * lisp/progmodes/elisp-mode.el (elisp--xref-format): Extract from
  12111. elisp--xref-find-definitions, to work around "Attempt to modify
  12112. read-only object" error.
  12113. Only skip some variables that have function counterparts
  12114. * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
  12115. Only skip minor-mode-named variable if it's defined in a Lisp
  12116. file, and it's in minor-mode-list (bug#20506).
  12117. * test/automated/elisp-mode-tests.el
  12118. (elisp-xref-finds-both-function-and-variable)
  12119. (elisp-xref-finds-only-function-for-minor-mode): New tests.
  12120. 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
  12121. * lisp/progmodes/xref.el (xref--location-at-point): Revert the
  12122. previous change.
  12123. (xref--insert-xrefs): Buttonize the whole line, including the
  12124. number at the beginning.
  12125. * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
  12126. Make sure we're inside the let bindings.
  12127. * test/automated/elisp-mode-tests.el
  12128. (elisp-completes-functions-after-let-bindings): New test.
  12129. 2015-05-04 Glenn Morris <rgm@gnu.org>
  12130. * lisp/cedet/semantic/grammar.el (eldoc-function-argstring)
  12131. (eldoc-docstring-format-sym-doc, eldoc-last-data-store)
  12132. (eldoc-get-fnsym-args-string, eldoc-get-var-docstring):
  12133. Remove outdated declarations.
  12134. Replace instances of "(eval-when-compile (autoload ...))"
  12135. * lisp/gnus/gnus-art.el (nneething-get-file-name):
  12136. Declare rather than autoload.
  12137. * lisp/gnus/gnus-async.el (gnus-html-prefetch-images):
  12138. Remove pointless autoload.
  12139. * lisp/gnus/gnus-sync.el (gnus-group-topic): Autoload at run-time.
  12140. (gnus-topic-create-topic, gnus-topic-enter-dribble):
  12141. Declare rather than autoload.
  12142. * lisp/gnus/mm-archive.el (gnus-recursive-directory-files)
  12143. (mailcap-extension-to-mime): Autoload at run-time.
  12144. * lisp/gnus/mm-util.el (latin-unity-massage-name)
  12145. (latin-unity-maybe-remap, latin-unity-representations-feasible-region)
  12146. (latin-unity-representations-present-region):
  12147. Declare rather than autoload.
  12148. * lisp/gnus/mml-smime.el (epg-make-context)
  12149. (epg-passphrase-callback-function): Autoload at run-time.
  12150. (epg-context-set-signers, epg-context-result-for)
  12151. (epg-new-signature-digest-algorithm)
  12152. (epg-verify-result-to-string, epg-list-keys, epg-verify-string)
  12153. (epg-sign-string, epg-encrypt-string)
  12154. (epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
  12155. (epg-configuration, epg-expand-group, epa-select-keys):
  12156. Declare rather than autoload.
  12157. * lisp/gnus/nnir.el (nnimap-change-group, nnimap-make-thread-query):
  12158. Autoload at run-time.
  12159. (gnus-group-topic-name, nnimap-buffer, nnimap-command)
  12160. (gnus-registry-get-id-key, gnus-registry-action):
  12161. Declare rather than autoload.
  12162. * lisp/gnus/nnmail.el (mail-send-and-exit): Autoload at run-time.
  12163. * lisp/gnus/spam.el (spam-stat-buffer-change-to-non-spam)
  12164. (spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
  12165. (spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
  12166. (spam-stat-split-fancy): Remove pointless autoloads.
  12167. * lisp/net/mairix.el: Load gnus-util when compiling.
  12168. (gnus-group-read-ephemeral-group, gnus-summary-toggle-header)
  12169. (message-field-value): Declare rather than autoload.
  12170. (mairix-gnus-ephemeral-nndoc, mairix-gnus-fetch-field):
  12171. Check gnus-alive-p is fbound.
  12172. (vm-quit, vm-visit-folder, vm-select-folder-buffer)
  12173. (vm-check-for-killed-summary, vm-error-if-folder-empty)
  12174. (vm-get-header-contents, vm-select-marked-or-prefixed-messages):
  12175. Declare rather than autoload.
  12176. * lisp/gnus/mm-view.el (epg-decrypt-string): Autoload.
  12177. * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
  12178. (epg-sub-key-capability, epg-sub-key-validity): Fix declarations.
  12179. * lisp/progmodes/elisp-mode.el (xref-collect-references): Declare.
  12180. * lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.
  12181. * lisp/allout.el (epg-user-id-string, epg-key-user-id-list):
  12182. * lisp/emacs-lisp/package.el (epg-signature-status):
  12183. Fix declarations.
  12184. * lisp/play/gametree.el (gametree-show-children-and-entry)
  12185. (gametree-apply-layout, gametree-mouse-show-subtree)
  12186. (gametree-mouse-hide-subtree): Replace obsolete outline aliases.
  12187. * lisp/emacs-lisp/check-declare.el (check-declare-verify):
  12188. Handle cl-defgeneric, cl-defmethod.
  12189. 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
  12190. * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
  12191. Highlight both type and symbol name.
  12192. Insert, highlight and align line numbers in xref output
  12193. * lisp/progmodes/etags.el (xref-location-line): Specialize for
  12194. xref-etags-location.
  12195. * lisp/progmodes/xref.el (xref-location-line): New generic method.
  12196. (xref-file-location): Add reader for the line slot.
  12197. (xref--location-at-point): Skip to the `xref-location' property.
  12198. (xref--collect-reference): Drop the line number from description.
  12199. (xref--insert-xrefs): Insert, highlight and align line numbers.
  12200. 2015-05-04 Daniel Colascione <dancol@dancol.org>
  12201. * lisp/simple.el (save-mark-and-excursion--save)
  12202. (save-mark-and-excursion--restore): Fix previous commit
  12203. (255a011f0ecf004b31c59945b10154b10fac3af1).
  12204. 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
  12205. Don't pulse the indentation, or the newline
  12206. * lisp/cedet/pulse.el (pulse-lighten-highlight)
  12207. (pulse-reset-face): Fall back to the inherited background
  12208. attribute in FACE.
  12209. (pulse-momentary-highlight-region): Add autoload cookie.
  12210. * lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
  12211. indentation, or the newline, if the line's non-empty
  12212. (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00118.html).
  12213. 2015-05-04 Daniel Colascione <dancol@dancol.org>
  12214. Add `save-mark-and-excursion', which has the old
  12215. `save-excursion' behavior
  12216. * doc/lispref/positions.texi (Excursions):
  12217. Document `save-mark-and-excursion'.
  12218. * lisp/font-lock.el (font-lock-fontify-block):
  12219. Use `save-mark-and-excursion' instead of `save-excursion',
  12220. restoring Emacs 24 behavior.
  12221. * lisp/simple.el (save-mark-and-excursion--save)
  12222. (save-mark-and-excursion--restore): New functions.
  12223. (save-mark-and-excursion): New user macro.
  12224. * src/editfns.c (Fsave_excursion): Mention `save-mark-and-excursion'
  12225. in `save-excursion' documentation.
  12226. 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
  12227. * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
  12228. Classify lone symbol inside let varlist as variable.
  12229. * test/automated/elisp-mode-tests.el
  12230. (completest-variables-in-let-bindings): New test.
  12231. Add xref-pulse-on-jump
  12232. * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
  12233. Add autoload cookie.
  12234. * lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
  12235. (xref--maybe-pulse): New function.
  12236. (xref-pop-marker-stack, xref--pop-to-location)
  12237. (xref--display-position): Use it.
  12238. (xref--location-at-point): Use back-to-indentation.
  12239. 2015-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
  12240. lisp/org/org-{macs,list}.el: Fix lexical warnings
  12241. * lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
  12242. (org-list-get-next-item, org-list-get-prev-item)
  12243. (org-list-get-children): Mark unused arg `struct'.
  12244. (org-list-use-alpha-bul-p): Remove unused var `bul'.
  12245. (org-toggle-checkbox): Mark unused var.
  12246. (org-update-checkbox-count): Remove unused var `box-num'.
  12247. (org-adapt-indentation): Declare.
  12248. (org-list-parse-list): Declare var instead of adding a dummy duplicate.
  12249. (org-list-send-list): Remove unused var `txt'.
  12250. (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
  12251. (org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
  12252. * lisp/org/org-macs.el: Use `declare'.
  12253. (org-with-limited-levels): Declare dyn-bound vars.
  12254. 2015-05-04 Eli Zaretskii <eliz@gnu.org>
  12255. Fix minor issues with CEDET on MS-Windows
  12256. * lisp/cedet/semantic/symref/idutils.el
  12257. (semantic-symref-parse-tool-output-one-line): Fix the search
  12258. regexp to match MS-Windows file names with drive letters.
  12259. (Bug#19468)
  12260. * lisp/cedet/semantic/symref/grep.el
  12261. (semantic-symref-grep-use-template): Remove "--color=always" from
  12262. Grep switches on MS-Windows.
  12263. (semantic-symref-grep-shell): Use shell-file-name as the default
  12264. value, so this works not only on Posix platforms.
  12265. (semantic-symref-perform-search): Use shell-quote-argument instead
  12266. of literal '..' for portable quoting of Grep command-line
  12267. argument. Use shell-command-switch instead of a literal "-c".
  12268. * lisp/cedet/semantic/bovine/gcc.el
  12269. (semantic-gcc-get-include-paths): Use file-name-absolute-p to test
  12270. for an absolute file name in a portable way.
  12271. 2015-05-04 Artur Malabarba <bruce.connor.am@gmail.com>
  12272. * lisp/emacs-lisp/package.el: Remove `package--silence' variable.
  12273. (package-import-keyring, package-refresh-contents)
  12274. (package-compute-transaction, package--save-selected-packages)
  12275. (package-install-from-archive, package-delete)
  12276. (package-menu--perform-transaction): Use `inhibit-message' instead.
  12277. (package--compile): Set `warning-minimum-level' to :error.
  12278. 2015-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
  12279. * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom.
  12280. (terminal-init-screen): Use it (bug#20356).
  12281. * lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
  12282. (xterm--extra-capabilities-type): New const.
  12283. (xterm-extra-capabilities): Use it.
  12284. (xterm--version-handler): Lower the pseudo-version for `screen'.
  12285. 2015-05-03 Dmitry Gutov <dgutov@yandex.ru>
  12286. * lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
  12287. Always insert a newline at the end (to avoid mouse-face background
  12288. tail at the last line).
  12289. elisp-completion-at-point: Prioritize being quoted over funpos
  12290. * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
  12291. Only consider function position when not inside quoted form
  12292. (bug#20425).
  12293. * test/automated/elisp-mode-tests.el: New file.
  12294. Stop vc-print-log from jumping to the top
  12295. * lisp/vc/vc.el (vc-print-log-internal): Pass nil
  12296. GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
  12297. is not specified.
  12298. (vc-incoming-outgoing-internal): Always pass nil.
  12299. (vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
  12300. call it, and don't set vc-sentinel-movepoint (bug#15322).
  12301. (vc-print-root-log): Don't fetch the root working revision, nor
  12302. pass it to vc-print-log-internal.
  12303. 2015-05-02 Michael Vehrs <Michael.Burschik@gmx.de>
  12304. Fix display of keyboard layouts for right-to-left scripts
  12305. * lisp/international/quail.el (quail-insert-kbd-layout):
  12306. Force left-to-right paragraph direction.
  12307. 2015-05-02 K. Handa <handa@gnu.org>
  12308. * src/cmds.c (internal_self_insert): When we insert spaces for
  12309. padding, set point before the padding spaces, not after them.
  12310. 2015-05-02 Nicolas Petton <nicolas@petton.fr>
  12311. * lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.
  12312. 2015-05-02 Dmitry Gutov <dgutov@yandex.ru>
  12313. Fix etags-xref-find for references
  12314. * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
  12315. Use `cl-mapcan'.
  12316. * lisp/progmodes/etags.el (etags-xref-find): Ditto. Prompt for
  12317. directory if no tags tables are loaded (bug#19468).
  12318. 2015-05-02 Philipp Stephani <phst@google.com>
  12319. Update the options in whitespace-style defcustom
  12320. * lisp/whitespace.el (whitespace-style): Use `set' instead of a
  12321. `repeat' because the option is really set-like. Add missing
  12322. options. Reorder options to match the order in the
  12323. documentation. (Bug#20346)
  12324. 2015-05-02 Eli Zaretskii <eliz@gnu.org>
  12325. Fix error diagnostics of c-macro-expand
  12326. * lisp/progmodes/cmacexp.el (c-macro-expansion): Don't bail out
  12327. too early if no start-marker string was found -- that generally
  12328. means cpp exited abnormally, and we still want to show its error
  12329. messages to the user.
  12330. Don't require Texinfo 5.0 for Emacs documentation
  12331. * doc/emacs/docstyle.texi: Use "@set txicodequoteundirected" and
  12332. "@set txicodequotebacktick" instead of "@codequotebacktick on" and
  12333. "@codequoteundirected on", respectively, to avoid requiring
  12334. Texinfo 5.x for Emacs documentation.
  12335. 2015-05-01 Simen Heggestøyl <simenheg@gmail.com>
  12336. * lisp/files.el (pwd):
  12337. When called with a prefix argument, insert the current default
  12338. directory at point.
  12339. 2015-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
  12340. * lisp/isearch.el (isearch-mode-map): Allow backspace remapping
  12341. * lisp/isearch.el (isearch-mode-map): Don't inhibit
  12342. function-key-map remapping for backspace (bug#20466).
  12343. 2015-05-01 Dmitry Gutov <dgutov@yandex.ru>
  12344. Implement xref-find-references in etags and elisp-mode
  12345. * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
  12346. (elisp-xref-find): Use it.
  12347. * lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
  12348. * lisp/progmodes/xref.el (xref-collect-references):
  12349. (xref--collect-reference): New functions.
  12350. 2015-05-01 Paul Eggert <eggert@cs.ucla.edu>
  12351. Prefer plain characters to Texinfo circumlocutions
  12352. For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
  12353. 'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
  12354. Fix single-quoting style in PDF manuals
  12355. The PDF versions of the GNU manuals used curved single quotes to
  12356. represent grave accent and apostrophe, which made it a pain to cut
  12357. and paste code examples from them. Fix the PDF versions to use
  12358. grave accent and apostrophe for Lisp source code, keystrokes, etc.
  12359. This change does not affect the info files, nor does it affect
  12360. ordinary uses of curved single quotes in PDF.
  12361. * doc/emacs/docstyle.texi: New file, which specifies treatment for
  12362. grave accent and apostrophe, as well as the document encoding.
  12363. * doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
  12364. * doc/lispintro/emacs-lisp-intro.texi:
  12365. * doc/lispref/back.texi, doc/lispref/book-spine.texi:
  12366. * doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
  12367. * doc/misc/ada-mode.texi, doc/misc/auth.texi:
  12368. * doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
  12369. * doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
  12370. * doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
  12371. * doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
  12372. * doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
  12373. * doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
  12374. * doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
  12375. * doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
  12376. * doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
  12377. * doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
  12378. * doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
  12379. * doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
  12380. * doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
  12381. * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
  12382. * doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
  12383. * doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
  12384. * doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
  12385. * doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
  12386. * doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
  12387. * doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
  12388. * doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
  12389. * doc/misc/woman.texi:
  12390. Use it instead of '@documentencoding UTF-8', to lessen the need for
  12391. global changes like this in the future.
  12392. * doc/emacs/Makefile.in (EMACS_XTRA):
  12393. * doc/lispintro/Makefile.in (srcs):
  12394. * doc/lispref/Makefile.in (srcs):
  12395. Add dependency on docstyle.texi.
  12396. * doc/misc/Makefile.in (style): New macro.
  12397. (${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
  12398. (${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
  12399. Use it.
  12400. 2015-05-01 Glenn Morris <rgm@gnu.org>
  12401. * test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix it.
  12402. * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
  12403. (help-fns--signature): Declare.
  12404. * lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
  12405. 2015-05-01 Nicolas Petton <nicolas@petton.fr>
  12406. New macro seq-let, providing destructuring support to seq.el
  12407. * lisp/emacs-lisp/seq.el (seq-let): New macro. `seq-let' is similar
  12408. to `cl-destructuring-bind' but works on all sequence types supported
  12409. by `seq.el'. Bump version number to 1.6.
  12410. * test/automated/seq-tests.el: Add tests for seq-let.
  12411. * doc/lispref/sequences.texi: Add documentation for seq-let.
  12412. 2015-05-01 Pontus Michael <m.pontus@gmail.com>
  12413. * lisp/simple.el (blink-matching-open): Better behavior in minibuffer.
  12414. 2015-05-01 Glenn Morris <rgm@gnu.org>
  12415. * lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
  12416. 2015-05-01 Artur Malabarba <bruce.connor.am@gmail.com>
  12417. * lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
  12418. This reverts commit 9a7ddde977378cb5276a81476ae458889c403267.
  12419. This reverts commit 3c0ea587daf8b17960b90603a70e3ac4057d883d.
  12420. With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'".
  12421. (Bug#20445).
  12422. 2015-05-01 K. Handa <handa@gnu.org>
  12423. * lisp/international/mule-cmds.el (input-method-use-echo-area):
  12424. Change :type to 'boolean.
  12425. 2015-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
  12426. Start using proportional fonts in eww by default
  12427. * lisp/net/shr.el (shr-use-fonts): Switch the default to t, since
  12428. it seems to work well.
  12429. Fix links in tables in shr
  12430. * lisp/net/shr.el: Remove `shr-inhibit-decoration', because that
  12431. makes (some) links in tables not work.
  12432. 2015-05-01 Jan D <jan.h.d@swipnet.se>
  12433. * lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias.
  12434. 2015-04-30 Glenn Morris <rgm@gnu.org>
  12435. * lisp/emacs-lisp/ert.el (ert--special-operator-p):
  12436. Update for 2015-02-08 change to indirect-function.
  12437. * lisp/term/ns-win.el (ns-get-selection-internal):
  12438. Remove declaration for function deleted 2014-10-21.
  12439. * lisp/dom.el: Load subr-x when compiling, for when-let.
  12440. Silence some compilation warnings
  12441. * lisp/emacs-lisp/check-declare.el (compilation-forget-errors):
  12442. * lisp/emulation/cua-base.el (delete-active-region):
  12443. * lisp/net/net-utils.el (w32-get-console-output-codepage):
  12444. * lisp/term/ns-win.el (ns-own-selection-internal)
  12445. (ns-disown-selection-internal, ns-selection-owner-p)
  12446. (ns-selection-exists-p, ns-get-selection):
  12447. Declare for compiler.
  12448. Function declaration updates prompted by 'make check-declare'
  12449. * lisp/emacs-lisp/package.el (lm-homepage):
  12450. * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
  12451. * lisp/gnus/mm-decode.el (libxml-parse-html-region):
  12452. * lisp/gnus/mml.el (libxml-parse-html-region):
  12453. * lisp/gnus/nnrss.el (libxml-parse-html-region):
  12454. * lisp/net/eww.el (libxml-parse-html-region):
  12455. * lisp/net/shr.el (libxml-parse-html-region):
  12456. * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
  12457. * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
  12458. * lisp/vc/vc-git.el (vc-annotate-convert-time):
  12459. * lisp/vc/vc-hg.el (vc-annotate-convert-time):
  12460. * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
  12461. * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
  12462. Update declaration.
  12463. Remove compatibility code for 20-year old function renaming
  12464. * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter):
  12465. Make it an obsolete alias.
  12466. (idlwave-shell-filter): Change all uses to comint-output-filter.
  12467. 2015-04-30 Tassilo Horn <tsdh@gnu.org>
  12468. Add ace-window face config
  12469. * etc/themes/tsdh-light-theme.el (tsdh-light): Add ace-window face
  12470. configuration.
  12471. 2015-04-30 Paul Eggert <eggert@cs.ucla.edu>
  12472. Unclutter 'make doc' output a bit
  12473. * Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
  12474. Use make subst rather than sh IFS to split target string apart.
  12475. This makes 'make' output easier to follow.
  12476. Merge from gnulib
  12477. * doc/misc/texinfo.tex: Update from gnulib.
  12478. 2015-04-30 Artur Malabarba <bruce.connor.am@gmail.com>
  12479. * lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh.
  12480. (package-menu--print-info): Obsolete.
  12481. (package-menu--print-info-simple): New function.
  12482. (package-menu--refresh): Use it, simplify code, and improve
  12483. performance.
  12484. * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
  12485. Tiny performance improvement.
  12486. * lisp/emacs-lisp/package.el (package--message): inhibit-message.
  12487. 2015-04-29 Paul Eggert <eggert@cs.ucla.edu>
  12488. Omit -Wstrict-overflow workaround in GCC 5
  12489. * src/process.c: Remove workaround for GCC -Wstrict-overflow bug
  12490. if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.
  12491. Merge from gnulib
  12492. This incorporates:
  12493. 2015-04-29 extern-inline: no need for workaround in GCC 5.1
  12494. 2015-04-26 file-has-acl: port to CentOS 6
  12495. * m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
  12496. 2015-04-29 Helmut Eller <eller.helmut@gmail.com>
  12497. Set next-error-* in xref--xref-buffer-mode
  12498. * lisp/progmodes/xref.el (xref--xref-buffer-mode):
  12499. Set `next-error-function' and `next-error-last-buffer'.
  12500. (xref--next-error-function): New function.
  12501. (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01311.html)
  12502. 2015-04-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
  12503. python.el: Fix warnings on looking-back calls missing LIMIT
  12504. * lisp/progmodes/python.el (python-shell-accept-process-output):
  12505. Pass LIMIT arg to looking-back.
  12506. 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
  12507. * lisp/emacs-lisp/package.el: Use pushnew for downloads in progress.
  12508. (package--download-and-read-archives): Use pushnew instead of
  12509. append. If something terrible happened during a previous
  12510. download, simply refreshing should now make things work again.
  12511. 2015-04-29 Dmitry Gutov <dgutov@yandex.ru>
  12512. Introduce etags-xref-find-definitions-tag-order
  12513. * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
  12514. New variable.
  12515. (etags--xref-find-definitions): Use it (bug#19468).
  12516. 2015-04-29 Eli Zaretskii <eliz@gnu.org>
  12517. PATH- and completion-related fixes in Eshell on MS-Windows
  12518. * lisp/eshell/esh-ext.el (eshell-search-path): When running on
  12519. MS-Windows, prepend "." to list of directories produced from PATH,
  12520. as Windows always implicitly searches the current directory first.
  12521. (eshell-force-execution): Make it have a non-nil default value on
  12522. MS-Windows and MS-DOS.
  12523. * lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
  12524. eshell-force-execution is non-nil, complete on readable files and
  12525. directories, not only executables. When running on MS-Windows,
  12526. prepend "." to list of directories produced from PATH, as Windows
  12527. always implicitly searches the current directory first.
  12528. 2015-04-29 Sam Steingold <sds@gnu.org>
  12529. Bury RCIRC buffers when there is no activity
  12530. * lisp/net/rcirc.el (rcirc-non-irc-buffer): Remove.
  12531. (rcirc-bury-buffers): New function.
  12532. (rcirc-next-active-buffer): When there is no new activity, use
  12533. `rcirc-bury-buffers' to hide all RCIRC buffers.
  12534. 2015-04-29 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
  12535. Fix DBUS query result parsing for secrets-search-items
  12536. * lisp/net/secrets.el (secrets-search-items): Fix DBUS query result
  12537. parsing. The function assumed that return value of the
  12538. SearchItems method called on a collection is a list of two lists,
  12539. however this is true only when no collection is specified. GNOME
  12540. had used to incorrectly return a list of two lists in both cases,
  12541. but this was already fixed:
  12542. https://bugzilla.gnome.org/show_bug.cgi?id=695115 . Also fix an
  12543. incorrect information in the secrets-search-items’ docstring.
  12544. (Bug#20449)
  12545. 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
  12546. * lisp/emacs-lisp/bytecomp.el (byte-compile--message):
  12547. Use `inhibit-message' instead of hiding the previous message
  12548. with (message nil).
  12549. 2015-04-29 Oleh Krehel <ohwoeowho@gmail.com>
  12550. Remove the deprecated INTERNAL_FIELD macro by expanding it
  12551. * src/lisp.h (INTERNAL_FIELD): Remove.
  12552. (DEFVAR_KBOARD): Modify accordingly.
  12553. * src/alloc.c, src/buffer.c, src/buffer.h, src/category.c:
  12554. * src/keyboard.c, src/keyboard.h, src/syntax.c: Adjust users.
  12555. * src/buffer.c (compact_buffer): Use BVAR.
  12556. 2015-04-29 Glenn Morris <rgm@gnu.org>
  12557. Replace an obsolete function alias
  12558. * lisp/isearch.el (isearch-yank-x-selection):
  12559. * lisp/mouse-copy.el (mouse-drag-secondary-pasting)
  12560. (mouse-drag-secondary-moving):
  12561. * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
  12562. Replace obsolete alias x-get-selection with gui-get-selection.
  12563. 2015-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
  12564. * lisp/mail/rmailsum.el: Use lexical-binding.
  12565. 2015-04-29 Glenn Morris <rgm@gnu.org>
  12566. * test/automated/package-test.el (package-test-update-archives-async):
  12567. Skip test on hydra.nixos.org.
  12568. 2015-04-28 Glenn Morris <rgm@gnu.org>
  12569. * lisp/foldout.el: Update for 2015-01-30 outline.el changes.
  12570. (foldout-zoom-subtree, foldout-exit-fold, foldout-mouse-show)
  12571. (foldout-mouse-hide-or-exit): Use new names for outline functions.
  12572. * lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
  12573. Update for 2014-06-26 hideif.el change.
  12574. * lisp/mail/rmailsum.el: Fix search for encoded subjects. (Bug#19088)
  12575. (rmail--decode-and-apply): New function.
  12576. (rmail-message-regexp-p-1, rmail-message-subject-p): Use it.
  12577. * lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
  12578. 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
  12579. * lisp/emacs-lisp/package.el: Fix priority-hiding corner case
  12580. (package-menu--refresh): Delegate obsolete-hiding to
  12581. `package--remove-hidden'.
  12582. (package--remove-hidden): Disregard high-priority package if it is
  12583. older than the installed one.
  12584. 2015-04-28 Paul Eggert <eggert@cs.ucla.edu>
  12585. Update source file encoding list
  12586. Update admin/notes/unicode, along with coding system cookies in
  12587. other files, so that the two match each other better.
  12588. * admin/notes/unicode: lisp/language/ethio-util.el and
  12589. lisp/language/ethiopic.el also use utf-8-emacs.
  12590. * admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
  12591. * doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
  12592. * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
  12593. * etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
  12594. * etc/refcards/sk-survival.tex:
  12595. Add "coding: utf-8" so that this file is not mishandled in a
  12596. Latin-1 or Big-5 locale.
  12597. * lisp/international/robin.el, lisp/org/ox-ascii.el:
  12598. Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
  12599. * lisp/language/ethio-util.el: Fix trailer.
  12600. 2015-04-28 Eli Zaretskii <eliz@gnu.org>
  12601. Fix synchronous invocation of Ispell
  12602. * lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
  12603. value to ispell-process-directory before calling ispell-init-process.
  12604. Don't call set-process-coding-system if ispell-async-processp is nil.
  12605. (Bug#20448)
  12606. 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
  12607. * lisp/emacs-lisp/package.el: Skip space and comments in init file
  12608. (package--ensure-init-file): Insert snippet at first
  12609. non-whitespace non-comments line. Respects local-vars at the top
  12610. of the file.
  12611. 2015-04-28 Glenn Morris <rgm@gnu.org>
  12612. * lisp/mail/rmail.el (rmail-copy-headers):
  12613. Handle rmail-nonignored-headers being nil. (Bug#18878)
  12614. * lisp/subr.el (delay-mode-hooks): Fix doc typo.
  12615. * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
  12616. Don't get confused by a bzrlib version mismatch warning.
  12617. 2015-04-27 Thomas Fitzsimmons <fitzsim@fitzsim.org>
  12618. Change default location of EUDC options file
  12619. * etc/NEWS: Document change to EUDC options file's default location.
  12620. * lisp/net/eudc-vars.el (eudc-options-file): Use
  12621. `locate-user-emacs-file' to change default options file location.
  12622. 2015-04-27 Glenn Morris <rgm@gnu.org>
  12623. * test/automated/package-test.el (package-test-update-archives-async):
  12624. Try to handle the test server script dying.
  12625. 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
  12626. * lisp/saveplace.el (save-place-mode): New minor mode.
  12627. (save-place): Redefine as an obsolete alias.
  12628. * lisp/midnight.el: Make it a minor mode. Allow predicates.
  12629. * lisp/midnight.el: Use lexical-binding.
  12630. (midnight-mode): Make it a proper minor mode.
  12631. (midnight-buffer-display-time): Make arg non-optional.
  12632. (midnight-find): Remove.
  12633. (clean-buffer-list-kill-never-regexps)
  12634. (clean-buffer-list-kill-regexps): Tweak type for new function choice.
  12635. (clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
  12636. contain functions.
  12637. (clean-buffer-list): Use cl-find.
  12638. Allow clean-buffer-list-kill-never-regexps to contain functions.
  12639. 2015-04-27 Nicolas Petton <nicolas@petton.fr>
  12640. Bump version of seq.el to 1.5
  12641. * lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
  12642. from seq-doseq. Bump version number of seq.el.
  12643. 2015-04-27 Glenn Morris <rgm@gnu.org>
  12644. * lisp/mail/rmail.el (rmail-reply):
  12645. Decode subject before matching "Re:" prefix. (Bug#20396)
  12646. 2015-04-27 Artur Malabarba <bruce.connor.am@gmail.com>
  12647. * lisp/emacs-lisp/package.el: Small improvements
  12648. (package--with-work-buffer-async): More informative error.
  12649. (package-install-user-selected-packages): Rename to
  12650. `package-install-selected-packages'.
  12651. 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
  12652. * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
  12653. * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
  12654. (eieio--class-make): Remove leftover `tag'.
  12655. 2015-04-27 Glenn Morris <rgm@gnu.org>
  12656. * lisp/gnus/message.el (gnus-extract-address-components):
  12657. Remove bogus declaration that was masking previous problem.
  12658. 2015-04-27 Nicolas Graner <nicolas.graner@u-psud.fr> (tiny change)
  12659. * lisp/gnus/message.el (message-insert-formatted-citation-line):
  12660. Fix typo. (Bug#20318)
  12661. 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
  12662. * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.
  12663. * lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
  12664. * lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
  12665. the buffer in yet another frame.
  12666. (reftex-toc-visit-location): Make sure toc-window has focus at the end
  12667. when `final' is nil.
  12668. (reftex--rebuilding-toc): Defvar to avoid `boundp' and
  12669. silence warnings. Use `--' to clarify that it's internal.
  12670. (reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
  12671. (reftex-toc-promote): Clarify unused argument.
  12672. (reftex--pro-or-de, reftex--start-line, reftex--mark-line):
  12673. Add `reftex--' prefix. Fix all users.
  12674. (reftex-toc-promote-prepare): Use _ for dummy variable.
  12675. (reftex-toc-restore-region): Rename `m.
  12676. 2015-04-27 Eli Zaretskii <eliz@gnu.org>
  12677. Fix a typo in bibtex.el
  12678. * lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
  12679. last change. (Bug#20429)
  12680. Fix redisplay of frame after loading new fonts
  12681. * src/xdisp.c (redisplay_internal): When retrying redisplay of
  12682. a frame because new fonts were loaded, disable all redisplay
  12683. optimizations on that frame by calling SET_FRAME_GARBAGED.
  12684. (Bug#20410)
  12685. 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
  12686. * lisp/info.el (Info-menu): Properly provide the `default'
  12687. (Bug#20391)
  12688. * lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
  12689. Catch errors from documentation (bug#20418).
  12690. (emacs-lisp-mode-abbrev-table): Remove redundant defvar.
  12691. 2015-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
  12692. * lisp/emacs-lisp/package.el: Move variables to silence byte-compiler.
  12693. Remove redundant ":group 'package".
  12694. 2015-04-26 Eli Zaretskii <eliz@gnu.org>
  12695. Fix a typo in rmail.el
  12696. * lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
  12697. last commit. (Bug#20429)
  12698. 2015-04-26 Dmitry Gutov <dgutov@yandex.ru>
  12699. Introduce xref-prompt-for-identifier
  12700. * lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
  12701. (xref--read-identifier): Use it
  12702. (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01205.html).
  12703. 2015-04-26 João Távora <joaotavora@gmail.com>
  12704. `tex-insert-quote' after single `'' opens quotes instead of closing
  12705. Without this, it's very hard to precede double quotes with the
  12706. apostrophe character, i.e. insert the sequence '``
  12707. (quote-backquote-backquote), commonly useful in portuguese, for
  12708. instance.
  12709. * lisp/textmodes/tex-mode.el (tex-insert-quote): Add ?' to the list of
  12710. preceding chars making `tex-insert-quote' be in the "opening" context.
  12711. 2015-04-25 Dmitry Gutov <dgutov@yandex.ru>
  12712. Pass `id' to `completing-read' as def instead of initial input
  12713. * lisp/progmodes/xref.el (xref--read-identifier): Pass `id' to
  12714. `completing-read' as the default value instead of initial input
  12715. (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
  12716. 2015-04-25 Paul Eggert <eggert@cs.ucla.edu>
  12717. Don't freeze with unreadable processes
  12718. Don't freeze if an exiting process can't be read from. (Bug#19860).
  12719. This fixes a bug I introduced in
  12720. 2014-07-08T07:24:07Z@eggert@cs.ucla.edu
  12721. "* process.c: Add sanity checks for file descriptors."
  12722. Dmitry Gutov did most of the legwork in finding the problem.
  12723. * src/process.c (wait_reading_process_output):
  12724. Treat non-running processes that can't be read from
  12725. the same as other non-running processes.
  12726. 2015-04-25 Alan Mackenzie <acm@muc.de>
  12727. Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
  12728. * lisp/subr.el (remove-yank-excluded-properties): Put
  12729. `with-silent-modifications' around only the last three lines of code.
  12730. 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
  12731. * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
  12732. (package--all-keywords): Deleted variable.
  12733. * etc/NEWS: Document package-hiding functionality.
  12734. 2015-04-25 Eli Zaretskii <eliz@gnu.org>
  12735. * lisp/window.el (recenter-last-op): Doc fix. (Bug#20419)
  12736. Clarify the doc string of 'replace-regexp-in-string'
  12737. * lisp/subr.el (replace-regexp-in-string): Doc fix. (Bug#20395)
  12738. Improve doc string of 'insert-buffer-substring'
  12739. * src/editfns.c (Finsert_buffer_substring): Doc fix. (Bug#20421)
  12740. MS-Windows followup for the recent gnulib update
  12741. * nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
  12742. acl-internal.c.
  12743. 2015-04-24 Paul Eggert <eggert@cs.ucla.edu>
  12744. Spelling fixes
  12745. Merge from gnulib
  12746. This incorporates:
  12747. 2015-04-24 file-has-acl: new module, split from acl
  12748. 2015-04-24 manywarnings: add GCC 5.1 warnings
  12749. 2015-04-21 lstat: fix cross-compilation 'ln -s' problem
  12750. 2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
  12751. 2015-04-15 acl: On Linux, check for acls without libacl
  12752. 2015-04-14 tempname: avoid unused parameter warnings (trivial)
  12753. * lib/acl-internal.c: New file, from gnulib.
  12754. * lib/file-has-acl.c: Remove; no longer imported from gnulib.
  12755. * lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
  12756. * m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
  12757. Update from gnulib.
  12758. Port --enable-gcc-warnings to GCC 5.1 x86-64
  12759. * lib-src/ebrowse.c (dump_sym):
  12760. * lib-src/hexl.c (main):
  12761. * src/ccl.c (ccl_driver):
  12762. * src/character.c (string_escape_byte8):
  12763. * src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
  12764. * src/gnutls.c (Fgnutls_boot):
  12765. * src/gtkutil.c (xg_check_special_colors):
  12766. * src/image.c (x_build_heuristic_mask):
  12767. * src/print.c (safe_debug_print, print_object):
  12768. * src/term.c (produce_glyphless_glyph):
  12769. * src/xdisp.c (get_next_display_element)
  12770. (produce_glyphless_glyph):
  12771. * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
  12772. Don't use a signed format to print an unsigned integer, or vice
  12773. versa. GCC 5.1's new -Wformat-signedness option warns about this.
  12774. * src/image.c (png_load_body, jpeg_load_body):
  12775. Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).
  12776. 2015-04-24 Tassilo Horn <tsdh@gnu.org>
  12777. Add new faces to tsdh-light-theme
  12778. * etc/themes/tsdh-light-theme.el (tsdh-light): New face
  12779. definitions for Info-quoted, ace-jump-face-foreground,
  12780. hl-paren-face, show-paren-match, and show-paren-mismatch.
  12781. 2015-04-24 Nicolas Petton <nicolas@petton.fr>
  12782. * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.
  12783. 2015-04-24 Glenn Morris <rgm@gnu.org>
  12784. * build-aux/gitlog-to-emacslog:
  12785. Use raw log format rather than wrapped one.
  12786. 2015-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
  12787. * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code.
  12788. (seq-doseq): Fix out-of-scope binding.
  12789. Don't call `seq-length at every iteration.
  12790. Reduce `if's from 3 to 2 per iteration.
  12791. (emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
  12792. 2015-04-24 Glenn Morris <rgm@gnu.org>
  12793. * lisp/textmodes/text-mode.el (text-mode-hook):
  12794. Move text-mode-hook-identify to default.
  12795. * lisp/mouse.el (minor-mode-menu-from-indicator):
  12796. Handle non-function members of minor-mode-map-alist. (Bug#20201)
  12797. * lisp/help-fns.el (describe-function): More type checking.
  12798. (describe-function-1): Handle changed symbol-function. (Bug#20201)
  12799. * build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
  12800. (Bug#20325)
  12801. 2015-04-24 Andreas Schwab <schwab@linux-m68k.org>
  12802. shr: strip leading whitespace when expanding URLs
  12803. * lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.
  12804. 2015-04-24 Eli Zaretskii <eliz@gnu.org>
  12805. Clarify "co-authored" some more
  12806. * CONTRIBUTE: Clarify "co-authored-by". (Bug#20400)
  12807. Clarify doc strings of functions that search for properties
  12808. * src/textprop.c (Fnext_char_property_change)
  12809. (Fprevious_char_property_change)
  12810. (Fnext_single_char_property_change)
  12811. (Fprevious_single_char_property_change, Fnext_property_change)
  12812. (Fnext_single_property_change, Fprevious_property_change)
  12813. (Fprevious_single_property_change): Clarify doc strings wrt return
  12814. value and the optional LIMIT argument. (Bug#20411)
  12815. 2015-04-24 Glenn Morris <rgm@gnu.org>
  12816. * test/automated/message-mode-tests.el (message-mode-propertize):
  12817. Handle non-writable HOME; eg on hydra.nixos.org.
  12818. 2015-04-23 Eli Zaretskii <eliz@gnu.org>
  12819. Avoid starting threads by w32-shell-execute
  12820. * src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
  12821. local file names, before invoking ShellExecute. (Bug#20220)
  12822. 2015-04-23 Martin Rudalics <rudalics@gmx.at>
  12823. Fix following doc-links in `widget-documentation-link-action'
  12824. * lisp/wid-edit.el (widget-documentation-link-action): Make
  12825. following doc-links less simplistic (Bug#20398).
  12826. 2015-04-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
  12827. Improve EUDC manual
  12828. * doc/misc/eudc.texi (Troubleshooting):
  12829. New LDAP troubleshooting subsection.
  12830. 2015-04-22 Paul Eggert <eggert@cs.ucla.edu>
  12831. Omit needless "\ " after multibyte then newline
  12832. * src/print.c: Include <c-ctype.h>, for c_isxdigit.
  12833. (print_object): When print-escape-multibyte is non-nil and a
  12834. multibyte character is followed by a newline or formfeed, followed
  12835. by a hex digit, don't output a needless "\ " before the hex digit.
  12836. * test/automated/print-tests.el (print-hex-backslash): New test.
  12837. 2015-04-22 Oleh Krehel <ohwoeowho@gmail.com>
  12838. Add a new `inhibit-message' variable
  12839. * src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
  12840. (message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
  12841. `inhibit_message' is non-zero.
  12842. * etc/NEWS: Add an entry.
  12843. * doc/lispref/display.texi: Add an entry for `inhibit-message',
  12844. mention it in `message'.
  12845. 2015-04-22 Martin Rudalics <rudalics@gmx.at>
  12846. Fix last fix in `display-buffer-record-window'.
  12847. * lisp/window.el (display-buffer-record-window): Fix last fix.
  12848. 2015-04-22 Eli Zaretskii <eliz@gnu.org>
  12849. Minor edits in CONTRIBUTE
  12850. * CONTRIBUTE: Rearrange instructions about log messages.
  12851. Use "Git" capitalized all over.
  12852. Use 2 spaces between sentences.
  12853. 2015-04-22 Artur Malabarba <bruce.connor.am@gmail.com>
  12854. * lisp/files.el (basic-save-buffer): Fix argument.
  12855. * lisp/cus-edit.el (custom-file): Consider init-file-had-error.
  12856. In case `(and (null custom-file) init-file-had-error)' do the same
  12857. thing we'd do if `(null user-init-file)', which is to either error out
  12858. or return nil. This is in line with `custom-save-all' which would
  12859. throw an error in that situation. (Bug#20355)
  12860. * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu.
  12861. (package-menu-hide-low-priority): New variable, see its doc.
  12862. (package-archive-priorities): Update doc.
  12863. (package-desc-priority): New function.
  12864. (package-desc-priority-version): Use it.
  12865. (package--remove-hidden): New function.
  12866. (package-menu--refresh): Use it.
  12867. * lisp/emacs-lisp/package.el: Implement displaying obsolete packages.
  12868. (package-menu--hide-obsolete): New variable.
  12869. (package--remove-hidden): Use it.
  12870. (package-menu-hide-obsolete): New interactive function to toggle
  12871. the variable.
  12872. (package--quick-help-keys): Document it.
  12873. (package-menu-async): Add :version tag.
  12874. (package-menu-mode-map): Bind package-menu-hide-obsolete.
  12875. (package-desc-status): Indicate non-installed obsolete packages as
  12876. avail-obso.
  12877. (package-menu-mark-install): Allow installation of avail-obso.
  12878. (package-menu--status-predicate): Sort avail-obso with available.
  12879. 2015-04-22 Alan Mackenzie <acm@muc.de>
  12880. On C-y, stop some text property entries being written into buffer-undo-list
  12881. * lisp/subr.el (remove-yank-excluded-properties): Enclose the code in
  12882. `with-silent-modifications'.
  12883. 2015-04-22 Martin Rudalics <rudalics@gmx.at>
  12884. In display-buffer-record-window record selected window if necessary
  12885. * lisp/window.el (display-buffer-record-window): Store selected window
  12886. if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).
  12887. 2015-04-22 Tassilo Horn <tsdh@gnu.org>
  12888. Fix reftex-citation bug
  12889. * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
  12890. Fix `wrong-type-argument stringp nil' error that occurs when AUCTeX
  12891. integration is enabled and there are no citations in the document
  12892. so far.
  12893. 2015-04-21 Dmitry Gutov <dgutov@yandex.ru>
  12894. Add or reset based on the presence of MERGE_HEAD
  12895. * lisp/vc/vc-git.el (vc-git-find-file-hook): Add
  12896. `vc-git-resolve-when-done' to `after-save-hook' in either case.
  12897. (vc-git-conflicted-files): Add a TODO.
  12898. (vc-git-resolve-when-done): Depending on the presence of
  12899. MERGE_HEAD, either update the resolved file in the index, or
  12900. remove it from there. (Bug#20292)
  12901. 2015-04-21 Glenn Morris <rgm@gnu.org>
  12902. * lisp/custom.el (custom-declare-group): No need to purecopy
  12903. custom-current-group-alist members following recent change to set
  12904. it to nil before dumping.
  12905. * build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
  12906. (Bug#20399)
  12907. 2015-04-21 Daniel Colascione <dancol@dancol.org>
  12908. Unbreak no-op buffer save message
  12909. * lisp/files.el (basic-save-buffer): Accept called-interactively as
  12910. an argument instead of directly invoking called-interactively-p,
  12911. which will always yield nil in that context.
  12912. 2015-04-21 Alan Mackenzie <acm@muc.de>
  12913. CC Mode: Do nothing in before/after-change-functions for text
  12914. property changes
  12915. Fixes bug#20266.
  12916. * lisp/progmodes/cc-mode.el (c-basic-common-init): Make
  12917. yank-handled-properties buffer local, and remove 'category from it.
  12918. (c-called-from-text-property-change-p): New function.
  12919. (c-before-change): Don't do anything if a call of the new function
  12920. returns non-nil.
  12921. (c-after-change): Don't do much if a call of the new function returns
  12922. non-nil.
  12923. (c-extend-after-change-region): Put changes to text property 'fontified
  12924. inside c-save-buffer-state.
  12925. 2015-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
  12926. Fix byte-compiler warnings about looking-back
  12927. * lisp/vc/log-view.el (log-view-end-of-defun-1):
  12928. * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
  12929. * lisp/textmodes/reftex-ref.el (reftex-goto-label):
  12930. * lisp/textmodes/bibtex.el (bibtex-insert-kill):
  12931. * lisp/progmodes/sh-script.el (sh--maybe-here-document):
  12932. * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
  12933. * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
  12934. * lisp/org/org.el (org-insert-heading, org-sort-entries):
  12935. * lisp/org/org-mouse.el (org-mouse-end-headline)
  12936. (org-mouse-context-menu):
  12937. * lisp/org/org-clock.el (org-clock-cancel):
  12938. * lisp/man.el (Man-default-man-entry):
  12939. * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
  12940. (rmail-ensure-blank-line):
  12941. * lisp/mail/footnote.el (Footnote-delete-footnote):
  12942. * lisp/mail/emacsbug.el (report-emacs-bug):
  12943. * lisp/info.el (Info-follow-reference, Info-fontify-node):
  12944. * lisp/info-look.el (info-lookup-guess-custom-symbol):
  12945. * lisp/help-fns.el (help-fns--key-bindings):
  12946. * lisp/files.el (hack-local-variables):
  12947. * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
  12948. (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
  12949. (viper-complete-filename-or-exit):
  12950. * lisp/emulation/viper-cmd.el (viper-backward-indent):
  12951. * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
  12952. * lisp/emacs-lisp/elint.el (elint-get-top-forms):
  12953. * lisp/cus-edit.el (custom-face-edit-value-create):
  12954. * lisp/calendar/todo-mode.el (todo-set-item-priority)
  12955. (todo-filter-items-1, todo-convert-legacy-files)
  12956. (todo-prefix-overlays): Add explicit second arg to looking-back.
  12957. 2015-04-20 Glenn Morris <rgm@gnu.org>
  12958. Avoid non-nil current-load-list at startup
  12959. * src/process.c (init_process_emacs): Move Fprovide statement...
  12960. (syms_of_process): ... to here.
  12961. * lisp/loadup.el (custom-current-group-alist): Reset before dumping.
  12962. * lisp/startup.el (command-line) <site-run-file>: Avoid rogue value
  12963. in emacs -Q.
  12964. 2015-04-20 Ludovic Courtès <ludo@gnu.org>
  12965. * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
  12966. (Bug#20330)
  12967. 2015-04-20 Glenn Morris <rgm@gnu.org>
  12968. * lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
  12969. Tweak exec-path in uninstalled case
  12970. * src/callproc.c (init_callproc): If running uninstalled, do not
  12971. include eventual installation libexec directory in exec-path.
  12972. 2015-04-20 Artur Malabarba <bruce.connor.am@gmail.com>
  12973. * lisp/emacs-lisp/package.el: Filter by multiple keywords and
  12974. cache keywords.
  12975. (package-menu-filter): Accept a list of keywords.
  12976. (package--all-keywords): New variable to cache known keywords.
  12977. (package-all-keywords): Populate it if necessary.
  12978. (package-refresh-contents): Reset it.
  12979. * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
  12980. (package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
  12981. as special keywords which match agains package archive and status
  12982. respectively.
  12983. * etc/NEWS: Document it.
  12984. 2015-04-20 Eli Zaretskii <eliz@gnu.org>
  12985. Describe and index "empty overlays".
  12986. * doc/lispref/display.texi (Overlays): Improve indexing.
  12987. (Managing Overlays): Describe "empty" overlays.
  12988. (Overlay Properties, Finding Overlays): Add cross-reference to
  12989. where empty overlays are described.
  12990. 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
  12991. Spelling fixes
  12992. Quote 'like this' in top-level files
  12993. * CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
  12994. Prefer to single-quote 'like this' (instead of the older style
  12995. `like this').
  12996. * configure.ac: Fix some space-before-tab problems that 'git commit'
  12997. complained about.
  12998. Use bool for boolean in textprop.c, undo.c
  12999. * src/textprop.c (soft, hard): Now constants instead of macros.
  13000. (validate_plist): Rewrite to avoid need for boolean local.
  13001. (interval_has_all_properties, interval_has_some_properties)
  13002. (interval_has_some_properties_list, add_properties)
  13003. (remove_properties, get_char_property_and_overlay)
  13004. (Fnext_single_char_property_change)
  13005. (Fprevious_single_char_property_change, add_text_properties_1)
  13006. (Fremove_text_properties, Fremove_list_of_text_properties)
  13007. (copy_text_properties):
  13008. * src/tparam.c (tparam1):
  13009. * src/undo.c (record_change, record_property_change)
  13010. (syms_of_undo):
  13011. Use 'true' and 'false' for booleans.
  13012. 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
  13013. * lisp/vc/vc-git.el (vc-git-find-file-hook):
  13014. Call `smerge-start-session' even when dealing with a stash
  13015. conflict (bug#20292).
  13016. 2015-04-19 Vibhav Pant <vibhavp@gmail.com>
  13017. Add option to eshell/clear to clear scrollback.
  13018. * lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
  13019. (eshell/clear): Add an optional SCROLLBACK argument. If non-nil,
  13020. scrollback contents are cleared.
  13021. * etc/NEWS: Describe change.
  13022. * doc/misc/eshell.texi: Add entry for `clear'.
  13023. 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
  13024. * src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
  13025. where either will do.
  13026. 2015-04-19 Steve Purcell <steve@sanityinc.com>
  13027. Assume package archive-contents are UTF8-encoded
  13028. * lisp/emacs-lisp/package.el (package--read-archive-file):
  13029. Set `coding-system-for-read' explicitly to 'utf-8 when reading the
  13030. downloaded and cached archive-contents files, so that non-ASCII
  13031. characters in package descriptions are displayed correctly in the
  13032. `list-packages' menu. (Bug#20231)
  13033. 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
  13034. Abort when looking at stashed changes
  13035. * lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
  13036. stashed changes (bug#20292).
  13037. 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
  13038. Refactor low-level printing for simplicity
  13039. * src/print.c (PRINTDECLARE): Remove. Move its contents into
  13040. PRINTPREPARE; doable now that we assume C99. All callers changed.
  13041. (PRINTCHAR): Remove, as it adds more mystery than clarity.
  13042. All callers changed.
  13043. (strout): Assume that caller computes length. All callers changed.
  13044. (print_c_string): New function.
  13045. (write_string, write_string_1): Compute length instead of asking
  13046. the caller to compute it. All callers changed.
  13047. (write_string): Simplify by using write_string_1.
  13048. (write_string_1): Simplify by using print_c_string.
  13049. (Fterpri): Compute default val more clearly.
  13050. (Fprin1_to_string, print_object):
  13051. Assume C99 to avoid unnecessary nesting.
  13052. (print_object): Prefer print_c_string to multiple printchar, or
  13053. to calling strout with -1 length. Coalesce into sprintf when
  13054. this is easy.
  13055. 2015-04-18 Paul Eggert <eggert@cs.ucla.edu>
  13056. Prefer "Bug#1234" in commit messages (Bug#20325)
  13057. * .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
  13058. as this isn't useful for Git.
  13059. * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
  13060. 2015-04-18 Glenn Morris <rgm@gnu.org>
  13061. * lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
  13062. (Bug#19506)
  13063. 2015-04-18 Tom Willemse <tom@ryuslash.org> (tiny change)
  13064. * lisp/elec-pair.el (electric-pair-post-self-insert-function):
  13065. Do not use `chomp' as a function. (Bug#19505)
  13066. 2015-04-18 Glenn Morris <rgm@gnu.org>
  13067. * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.
  13068. * doc/emacs/misc.texi (Sorting): Small edit.
  13069. (Bug#19896)
  13070. * admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.
  13071. 2015-04-18 Simen Heggestøyl <simenheg@gmail.com>
  13072. css-mode.el: Support multi-line comment filling
  13073. (Bug#20256)
  13074. * lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
  13075. comment filling.
  13076. (css-adaptive-fill): New function.
  13077. (css-mode): Set `adaptive-fill-function'.
  13078. (scss-mode): Set `comment-continue'.
  13079. 2015-04-18 Nicolas Petton <nicolas@petton.fr>
  13080. * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into):
  13081. Better error messages.
  13082. 2015-04-18 Ivan Radanov Ivanov <ivanradanov@yahoo.co.uk> (tiny change)
  13083. Minor improvements in Bulgarian input methods
  13084. * lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
  13085. Replace U+042C with U+045D, as the former character is not used in
  13086. the modern Bulgarian language.
  13087. (Bug#20350)
  13088. 2015-04-17 Thomas Fitzsimmons <fitzsim@fitzsim.org>
  13089. Improve EUDC manual
  13090. * doc/misc/eudc.texi (LDAP Configuration): Mention simple and SASL
  13091. authentication schemes. Add index items. Shorten example server
  13092. name.
  13093. 2015-04-17 Dmitry Gutov <dgutov@yandex.ru>
  13094. Don't show both feature and function with the same name
  13095. * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
  13096. Don't show both feature and function with the same name.
  13097. (elisp--xref-identifier-location): Skip variable, if it's also
  13098. a function
  13099. * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
  13100. Avoid returning both the variable and the function for the same
  13101. minor mode.
  13102. 2015-04-17 Wolfgang Jenkner <wjenkner@inode.at>
  13103. Fix fontification of keywords clobbered by the prompt
  13104. * lisp/comint.el (comint-output-filter): Remove the uses of
  13105. with-silent-modifications I introduced as part of the last change.
  13106. This fixes, e.g., erratically missing highlighting when running
  13107. ./configure --help; ./configure in a shell-mode buffer with
  13108. compilation-shell-minor-mode turned on.
  13109. 2015-04-17 Glenn Morris <rgm@gnu.org>
  13110. * admin/authors.el (authors-valid-file-names)
  13111. (authors-renamed-files-alist): Additions.
  13112. 2015-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
  13113. * lisp/indent.el (indent-region): Don't deactivate the mark.
  13114. (Bug#20357)
  13115. 2015-04-17 Sam Steingold <sds@gnu.org>
  13116. * lisp/net/rcirc.el (defun-rcirc-command): Mark `target' as ignorable.
  13117. 2015-04-16 Leo Liu <sdl.web@gmail.com>
  13118. * lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
  13119. 2015-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
  13120. * lisp/erc/erc-pcomplete.el (erc-pcomplete):
  13121. Don't use `pcomplete' any more.
  13122. 2015-04-16 Glenn Morris <rgm@gnu.org>
  13123. * admin/authors.el (authors-lax-changelogs): Update for erc changes.
  13124. 2015-04-16 Eli Zaretskii <eliz@gnu.org>
  13125. Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
  13126. * configure.ac (LIBJPEG): Leave it empty for MinGW.
  13127. 2015-04-16 Glenn Morris <rgm@gnu.org>
  13128. * lisp/replace.el (query-replace-from-to-separator):
  13129. Delay initialization to avoid rogue setting after startup.
  13130. 2015-04-16 Paul Eggert <eggert@cs.ucla.edu>
  13131. Pre-4.6 GCC succeeds with unknown option
  13132. * configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
  13133. (Bug#20338)
  13134. 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
  13135. '[:graph:]' now excludes whitespace, not just ' '
  13136. * doc/lispref/searching.texi (Char Classes):
  13137. * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
  13138. sans whitespace (not sans space).
  13139. * src/character.c (graphicp): Exclude all Unicode whitespace chars,
  13140. not just space.
  13141. * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
  13142. 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
  13143. * lisp/subr.el (substitute-key-definition-key, special-form-p)
  13144. (macrop): Drop deprecated second arg to indirect-function.
  13145. (looking-back): Make the second arg non-optional.
  13146. * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
  13147. command is actually sent to the shell.
  13148. 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
  13149. Port jpeg configuration to Solaris 10 with Sun C
  13150. * configure.ac: Check for jpeglib 6b by trying to link it, instead
  13151. of relying on cpp magic that has problems in practice. Check for
  13152. both jpeglib.h and jerror.h features. Remove special case for
  13153. mingw32, which should no longer be needed (and if it were needed,
  13154. should now be addressable by hotwiring emacs_cv_jpeglib).
  13155. (Bug#20332)
  13156. 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
  13157. Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
  13158. * lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
  13159. Move to elisp-mode.el.
  13160. (lisp-mode-variables): (Re)move elisp-specific settings.
  13161. * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
  13162. from lisp-mode-variables.
  13163. (elisp--font-lock-flush-elisp-buffers): New function, moved from
  13164. lisp-mode.el.
  13165. * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
  13166. Avoid pathological slowdown at top-level in large file.
  13167. 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
  13168. Standardize names of ChangeLog history files
  13169. Suggested by Glenn Morris in:
  13170. http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
  13171. * Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
  13172. * doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
  13173. * lisp/erc/ChangeLog.1: New file, containing the old contents of ...
  13174. * lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
  13175. * lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
  13176. * lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
  13177. Remove.
  13178. Split top-level entries into pre- and post-April 7
  13179. This more clearly distingiushes pre-April-7 ChangeLog entries (which
  13180. are for top-level files only) from post-April-7 entries (which are
  13181. about files at all levels. Problem reported by Glenn Morris in:
  13182. http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
  13183. * ChangeLog.1: Move post-April-7 entries from here ...
  13184. * ChangeLog.2: ... to this new file.
  13185. * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
  13186. 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
  13187. Fix recent cus-start changes that added customize-rogues
  13188. * lisp/cus-start.el (custom-delayed-init-variables): Initialize the
  13189. vars early.
  13190. * lisp/loadup.el ("cus-start"): Move to the end to reduce
  13191. customize-rogue.
  13192. 2015-04-15 Nicolas Petton <nicolas@petton.fr>
  13193. Define cl-concatenate as an alias to seq-concatenate
  13194. * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
  13195. code by making cl-concatenate an alias to seq-concatenate.
  13196. 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
  13197. * src/lread.c (intern_1): Make sure we'd find the symbol we add
  13198. (Bug#20334)
  13199. * src/xfaces.c (resolve_face_name): Don't use `intern' with
  13200. Lisp_Strings.
  13201. 2015-04-15 Glenn Morris <rgm@gnu.org>
  13202. * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
  13203. 2015-04-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
  13204. Clean up gnus-uu saving code slightly
  13205. * lisp/gnus/gnus-uu.el (gnus-uu-save-article): Make the
  13206. save-restriction/widen calls make more sense.
  13207. 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
  13208. Make [:graph:] act like [:print:] sans space
  13209. In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
  13210. [:graph:] so that it matches everything that [:print:] does,
  13211. except for space.
  13212. * doc/lispref/searching.texi (Char Classes):
  13213. * etc/NEWS:
  13214. * lisp/emacs-lisp/rx.el (rx):
  13215. Document [:graph:] to be [:print:] sans ' '.
  13216. * src/character.c, src/character.h (graphicp): New function.
  13217. * src/regex.c (ISGRAPH) [emacs]: Use it.
  13218. (BIT_GRAPH): New macro.
  13219. (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
  13220. (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
  13221. Return BIT_GRAPH for RECC_GRAPH.
  13222. (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
  13223. and ISPRINT if BIT_PRINT.
  13224. 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
  13225. automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
  13226. Don't use call-next-method in a cl-defmethod.
  13227. * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
  13228. (eieio--class-p): Remove, provided by cl-defstruct.
  13229. 2015-04-14 Nicolas Petton <nicolas@petton.fr>
  13230. Add seq-intersection and seq-difference to the seq library
  13231. * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference):
  13232. New functions.
  13233. * test/automated/seq-tests.el: Add tests for seq-intersection and
  13234. seq-difference.
  13235. * doc/lispref/sequences.texi: Add documentation for seq-intersection
  13236. and seq-difference.
  13237. 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
  13238. * lisp/emacs-lisp/eieio-core.el (class-abstract-p): Don't inline,
  13239. to avoid leaking internals.
  13240. 2015-04-14 Sam Steingold <sds@gnu.org>
  13241. package--ensure-init-file: widen requires save-restriction
  13242. 2015-04-14 Eli Zaretskii <eliz@gnu.org>
  13243. Improve the commit-msg Git hook for unibyte environments
  13244. * build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
  13245. in unibyte environments. (Suggested by Paul Eggert
  13246. <eggert@cs.ucla.edu>.) Use a more accurate approximation to
  13247. [:print:], based on UTF-8 sequences of the unprintable characters.
  13248. Describe problems with cursor caused by Windows Magnifier
  13249. * etc/PROBLEMS: Describe the problem with cursor shape on
  13250. MS-Windows due to Windows Magnifier.
  13251. (Bug#20271)
  13252. Make [:print:] support non-ASCII characters correctly
  13253. * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
  13254. (BIT_PRINT): New bit mask.
  13255. (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
  13256. * src/character.c (printablep): New function.
  13257. * src/character.h (printablep): Add prototype.
  13258. * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
  13259. of 'print', 'alnum', and 'alphabetic'.
  13260. * doc/lispref/searching.texi (Char Classes): Document the new
  13261. behavior of [:print:].
  13262. * etc/NEWS: Mention the new behavior of [:print:].
  13263. Assign correct general-category and names to surrogates
  13264. * admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
  13265. surrogates. This avoids assigning them the default
  13266. general-category of 'Cn', i.e. unassigned codepoints.
  13267. (unidata-get-name): Give surrogates synthetic names.
  13268. 2015-04-14 Paul Eggert <eggert@cs.ucla.edu>
  13269. Assume C89 offsetof in xterm.c, xlwmenu.c
  13270. * lwlib/xlwmenu.c (offset):
  13271. * src/xterm.c (cvt_string_to_pixel_args):
  13272. Use offsetof, not XtOffset.
  13273. 2015-04-14 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
  13274. Assume C89 offsetof in widget.c
  13275. * src/widget.c (XtOffset): Remove; no longer needed.
  13276. (offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
  13277. Fix think-o in previous patch
  13278. * src/window.c (count_windows, get_leaf_windows):
  13279. Don't optimize count_windows incorrectly.
  13280. 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
  13281. Avoid some int overflows in window.c
  13282. * src/print.c (print_object):
  13283. * src/window.c (sequence_number):
  13284. * src/window.h (struct window.sequence_number):
  13285. Don't assume window sequence number fits in int.
  13286. * src/window.c (window_select_count):
  13287. * src/window.h (struct window.use_time, window_select_count):
  13288. Don't assume window use time fits in int.
  13289. * src/window.c (Fsplit_window_internal):
  13290. Don't assume user-supplied integer, or sum, fits in int.
  13291. (Fset_window_configuration, count_windows, get_leaf_windows)
  13292. (save_window_save, Fcurrent_window_configuration):
  13293. Use ptrdiff_t for object counts.
  13294. (Fset_window_configuration): Omit unused local 'n'.
  13295. (count_windows): Simplify by writing in terms of get_leaf_windows.
  13296. (get_leaf_windows): Don't store through FLAT if it's null.
  13297. (extract_dimension): New static function.
  13298. (set_window_margins, set_window_fringes, set_window_scroll_bars):
  13299. Use it to avoid undefined behavior when converting user-supplied
  13300. integer to 'int'.
  13301. 2015-04-13 Glenn Morris <rgm@gnu.org>
  13302. Minor doc copyedits
  13303. * doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
  13304. * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
  13305. 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
  13306. [Gnus] Catch the invalid-operation that idna.el will issue
  13307. * lisp/gnus/gnus-art.el (gnus-use-idna):
  13308. * lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
  13309. * lisp/gnus/message.el (message-use-idna):
  13310. Catch the invalid-operation that idna.el will issue.
  13311. 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
  13312. * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.
  13313. 2015-04-13 Sam Steingold <sds@gnu.org>
  13314. package--ensure-init-file: widen before looking for
  13315. "(package-initialize)"
  13316. 2015-04-13 Dmitry Gutov <dgutov@yandex.ru>
  13317. Change diff-switches default to `-u' (Bug#20290)
  13318. * doc/emacs/files.texi (Comparing Files): Document the new default
  13319. value of `diff-switches'.
  13320. * doc/emacs/trouble.texi (Sending Patches): Document the preference
  13321. for unified diff format. Escape the plus in the suggested `-F' regexp
  13322. value.
  13323. * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
  13324. 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
  13325. (gnus-group--setup-tool-bar-update): Fix last change
  13326. * lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
  13327. cursor-sensor-functions should be a list of functions.
  13328. 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
  13329. * lisp/gnus/gnus-topic.el (gnus-topic-mode):
  13330. Use gmm-called-interactively-p.
  13331. 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
  13332. * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
  13333. (Bug#20321)
  13334. * lisp/cus-start.el (read-buffer-function): Don't advertise
  13335. iswitchb-read-buffer any more.
  13336. (iswitchb): Don't tweak this obsolete group any more.
  13337. 2015-04-13 Artur Malabarba <bruce.connor.am@gmail.com>
  13338. * lisp/emacs-lisp/package.el: Fix package--ensure-init-file.
  13339. * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings.
  13340. Adding a string after a constructor's argument list will use
  13341. that string as the constructor function docstring. If this string
  13342. is absent but the struct itself was given a docstring, use that as
  13343. the constructor's docstring.
  13344. Fixes bug#17284.
  13345. 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
  13346. Deprecate `intangible' and `point-entered' properties
  13347. * lisp/emacs-lisp/cursor-sensor.el: New file.
  13348. * lisp/simple.el (pre-redisplay-functions): New hook.
  13349. (redisplay--pre-redisplay-functions): New function.
  13350. (pre-redisplay-function): Use it.
  13351. (minibuffer-avoid-prompt): Mark obsolete.
  13352. (redisplay--update-region-highlight): Adapt it to work as a function on
  13353. pre-redisplay-functions.
  13354. * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
  13355. (minibuffer-prompt-properties): Use it. Use cursor-intangible rather
  13356. than point-entered to make the prompt intangible.
  13357. * lisp/forms.el: Move `provide' calls to the end.
  13358. (forms-mode): Don't use `run-hooks' on a local var.
  13359. (forms--make-format, forms--make-format-elt-using-text-properties):
  13360. Use cursor-intangible rather than `intangible'.
  13361. (forms-mode): Enable cursor-intangible-mode.
  13362. * lisp/isearch.el (isearch-mode): Use defvar-local.
  13363. (cursor-sensor-inhibit): Declare.
  13364. (isearch-mode): Set cursor-sensor-inhibit.
  13365. (isearch-done): Set it back.
  13366. (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
  13367. (isearch-close-unnecessary-overlays): Don't bother with `intangible'
  13368. any more.
  13369. * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
  13370. (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
  13371. Add Edebug spec.
  13372. (ses-goto-print, ses-print-cell, ses-adjust-print-width)
  13373. (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
  13374. inhibit-point-motion-hooks any more.
  13375. (ses--cell-at-pos, ses--curcell): New functions, extracted from
  13376. ses-set-curcell.
  13377. (ses-set-curcell): Use them.
  13378. (ses-print-cell, ses-setup): Use cursor-intangible instead of
  13379. `intangible'. Make sure cursor-intangible isn't sticky at BOB.
  13380. (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
  13381. Use ses--cell-at-pos.
  13382. (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
  13383. extracted from ses-command-hook. Make them work with multiple windows
  13384. displaying the same buffer.
  13385. (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
  13386. Enable cursor-intangible-mode.
  13387. (ses-command-hook): Remove cell highlight and mode-line update code.
  13388. (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
  13389. Update for new name of text-property holding the cell name.
  13390. (ses-rename-cell): Don't mess with mode-line-process.
  13391. * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
  13392. cursor-sensor-functions property instead of point-entered.
  13393. (erc-insert-timestamp-right, erc-format-timestamp):
  13394. Use cursor-intangible rather than `intangible'.
  13395. (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
  13396. remove-from-invisibility-spec. Enable cursor-intangible-mode and
  13397. cursor-sensor-mode if needed.
  13398. (erc-echo-timestamp): Adapt to calling convention of
  13399. cursor-sensor-functions.
  13400. (erc-insert-timestamp-right): Remove unused vars `current-window' and
  13401. `indent'.
  13402. * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
  13403. (gnus-update-group-mark-positions): Remove unused `topic' var.
  13404. (gnus-group-insert-group-line): Remove unused var `header'.
  13405. (gnus-group--setup-tool-bar-update): New function.
  13406. (gnus-group-insert-group-line): Use it.
  13407. (gnus-group-update-eval-form): Declare local
  13408. dynamically-bound variables.
  13409. (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
  13410. * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
  13411. (gnus-group-prepare-topics, gnus-topic-update-topic)
  13412. (gnus-topic-change-level, gnus-topic-catchup-articles)
  13413. (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
  13414. Use inhibit-read-only.
  13415. (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
  13416. (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
  13417. * lisp/textmodes/reftex-index.el (reftex-display-index):
  13418. Use cursor-intangible-mode if available.
  13419. (reftex-index-post-command-hook): Check cursor-intangible.
  13420. * lisp/textmodes/reftex-toc.el (reftex-toc):
  13421. Use cursor-intangible-mode if available.
  13422. (reftex-toc-recenter, reftex-toc-post-command-hook):
  13423. Check cursor-intangible.
  13424. * lisp/textmodes/sgml-mode.el: Use lexical-binding.
  13425. (sgml-tag): Use cursor-sensor-functions instead of point-entered.
  13426. (sgml-tags-invisible): Use with-silent-modifications and
  13427. inhibit-read-only. Enable cursor-sensor-mode.
  13428. (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
  13429. calling convention of cursor-sensor-functions.
  13430. * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
  13431. (table-point-entered-cell-hook, table-point-left-cell-hook):
  13432. Don't autoload.
  13433. (table-cell-entered-state): Remove var.
  13434. (table--put-cell-point-entered/left-property)
  13435. (table--remove-cell-properties):
  13436. Use cursor-sensor-functions rather than point-entered/left.
  13437. (table--point-entered/left-cell-function): Merge
  13438. table--point-entered-cell-function and table--point-left-cell-function
  13439. and adjust to calling convention of cursor-sensor-functions.
  13440. Update ldef-boots.el
  13441. * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
  13442. * doc/misc/eieio.texi: Don't advertise now obsolete constructs
  13443. Collapse successive char deletions in the undo log
  13444. * src/cmds.c (remove_excessive_undo_boundaries): New function,
  13445. extracted from Fself_insert_command.
  13446. (Fdelete_char, Fself_insert_command): Use it.
  13447. * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
  13448. * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.
  13449. xterm and OSC 52: Add NEWS entry, and tweak the code
  13450. * lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition
  13451. to top-level.
  13452. (terminal-init-xterm-activate-set-selection): Set a terminal property.
  13453. (xterm--set-selection): Use it instead of checking the value of
  13454. `terminal-initted'. Don't use string-bytes.
  13455. 2015-04-13 Philipp Stephani <p.stephani2@gmail.com>
  13456. xterm.el: Implement OSC-52 functionality for setting the X selection
  13457. * lisp/term/xterm.el (xterm-max-cut-length): New var.
  13458. (xterm--set-selection, terminal-init-xterm-activate-set-selection):
  13459. New funs.
  13460. (terminal-init-xterm, xterm--version-handler): Use them.
  13461. 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
  13462. Remove left over code from when we used an obsolete/loaddefs.el file
  13463. * lisp/subr.el (do-after-load-evaluation): Remove left over code from
  13464. when we used an obsolete/loaddefs.el file.
  13465. * lisp/cedet/semantic/fw.el (semantic-exit-on-input)
  13466. (semanticdb-without-unloaded-file-searches): Use declare.
  13467. (semantic-fw-add-edebug-spec): Remove.
  13468. * lisp/completion.el (completion-lisp-mode-hook):
  13469. Use completion-separator-chars rather than local key binding.
  13470. * src/*.c: Set deactivate_mark buffer-locally
  13471. (Bug#20260)
  13472. * src/insdel.c (prepare_to_modify_buffer_1):
  13473. * src/fileio.c (Finsert_file_contents): Set deactivate_mark
  13474. buffer-locally.
  13475. 2015-04-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
  13476. python.el: Keep symmetry on sexp navigation with parens
  13477. (Bug#19954)
  13478. * lisp/progmodes/python.el
  13479. (python-nav--forward-sexp): Add argument skip-parens-p.
  13480. (python-nav-forward-sexp, python-nav-backward-sexp)
  13481. (python-nav-forward-sexp-safe)
  13482. (python-nav-backward-sexp-safe): Use it.
  13483. * test/automated/python-tests.el
  13484. (python-nav-forward-sexp-1): Fix test.
  13485. 2015-04-12 João Távora <joaotavora@gmail.com>
  13486. Don't use `setq-local' in Gnus code
  13487. This might break upstream builds with older Emacsen
  13488. * lisp/gnus/message.el (message-mode): Use `set' and
  13489. `make-local-variable' instead of `setq-local'.
  13490. 2015-04-12 Paul Eggert <eggert@cs.ucla.edu>
  13491. Update Makefile.in's .PHONY dependencies
  13492. * Makefile.in (change-history-commit, master-branch-is-current)
  13493. (no-ChangeLog): Now phony.
  13494. Remove configure's --with-mmdf option
  13495. * configure.ac (MAIL_USE_MMDF): Remove.
  13496. * etc/NEWS: Document this.
  13497. * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
  13498. (Bug#20308)
  13499. * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
  13500. That way, 'make install' won't think it's a man page.
  13501. Reported by Ashish SHUKLA in:
  13502. http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
  13503. Improve 'make change-history' prereq tests
  13504. * Makefile.in (gen_origin): Fix to match what's in the master branch.
  13505. (no-ChangeLog, master-branch-is-current): New rules.
  13506. (change-history): Depend on them, to avoid similar future problems.
  13507. Escape the local-variables string to pacify Emacs when editing
  13508. Makefile.in.
  13509. 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
  13510. * test/automated/package-test.el (with-package-test):
  13511. Kill Packages buffer.
  13512. * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt.
  13513. (package-menu--prompt-transaction-p): Prompt for "Delete" first,
  13514. "Upgrade" last, and use capitalized instead of all-caps.
  13515. * lisp/emacs-lisp/package.el: Completely silence async operations.
  13516. (package--make-autoloads-and-stuff): Silence autoloads.
  13517. (package--save-selected-packages): New function, silences
  13518. `customize-save-variable'.
  13519. (package--user-selected-p, package-install-from-buffer)
  13520. (package-delete, package-install): Use it.
  13521. (package-install-from-archive)
  13522. (package-menu--perform-transaction): Silence.
  13523. (package-menu-execute): Feedback when operation starts.
  13524. Use delay-mode-hooks when visiting the init-file
  13525. * lisp/emacs-lisp/package.el (package--ensure-init-file):
  13526. delay-mode-hooks.
  13527. * lisp/cus-edit.el (custom-save-all): delay-mode-hooks.
  13528. * lisp/files.el: Only message when saving if save-silently is nil.
  13529. (save-silently): New variable.
  13530. (files--message): New function.
  13531. (find-file-noselect, save-buffer, basic-save-buffer)
  13532. (basic-save-buffer-2, save-some-buffers, not-modified)
  13533. (append-to-file): Use them.
  13534. 2015-04-12 Johan Bockgård <bojohan@gnu.org>
  13535. Support debug declarations in pcase macros
  13536. * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
  13537. (pcase-UPAT): Use it. Remove "`".
  13538. (pcase--edebug-match-macro): New function.
  13539. (pcase-defmacro): Support debug declarations.
  13540. * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
  13541. * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
  13542. * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>:
  13543. Add debug declaration.
  13544. pcase.el: Edebug support for `app' and vector patterns
  13545. * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
  13546. (pcase-UPAT): Use it. Support `app' patterns.
  13547. (pcase-QPAT): Support vector patterns.
  13548. edebug.el: Disambiguate vector specifications
  13549. * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
  13550. `(vector ...)' as a vector specification, not as a sublist.
  13551. (gnus-summary-refer-thread): Don't clobber unread articles
  13552. This fixes a bug where `A T' causes "random" articles to become marked
  13553. as read.
  13554. * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
  13555. gnus-newsgroup-unreads remains sorted.
  13556. mouse-sel.el: Fix mouse-sel-get-selection-function
  13557. * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
  13558. Use gui--last-selected-text-primary instead of no longer existing
  13559. gui-last-selected-text.
  13560. * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.
  13561. * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.
  13562. 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
  13563. * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate.
  13564. * lisp/emacs-lisp/package.el (list-packages): Call refresh in
  13565. right buffer.
  13566. * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations.
  13567. (byte-compile--interactive): New var.
  13568. (byte-compile--message): New function.
  13569. (byte-compile-log-1, byte-force-recompile)
  13570. (byte-recompile-directory, byte-recompile-file)
  13571. (byte-compile-file, compile-defun)
  13572. (byte-compile-file-form-defmumble, byte-compile)
  13573. (byte-compile-file-form-defalias, display-call-tree): Use it.
  13574. * lisp/files.el: Don't message when nothing happened.
  13575. (save-some-buffers, basic-save-buffer): Before messaging to say
  13576. "nothing was saved" check if (called-interactively-p 'any).
  13577. 2015-04-12 João Távora <joaotavora@gmail.com>
  13578. Summary: Improve sexp-based movement in message-mode
  13579. Works by giving citations and smileys a different syntax. This helps
  13580. modes like `show-paren-mode', `electric-pair-mode', and C-M-*
  13581. sexp-based movement.
  13582. * lisp/gnus/message.el (message--syntax-propertize): New function.
  13583. (message-mode): Set syntax-related vars.
  13584. (message-smileys): New variable.
  13585. * test/automated/message-mode-tests.el: New file
  13586. 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
  13587. Use bool for boolean in window.c
  13588. * src/window.c: Omit unnecessary static function decls.
  13589. (adjust_window_count, select_window, Fselect_window)
  13590. (window_body_width, Fwindow_body_height, Fwindow_body_width)
  13591. (set_window_hscroll, check_window_containing, Fwindow_at)
  13592. (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
  13593. (unshow_buffer, replace_window, recombine_windows)
  13594. (add_window_to_list, candidate_window_p, next_window)
  13595. (Fnext_window, Fprevious_window, window_loop, check_all_windows)
  13596. (Fget_buffer_window, Fdelete_other_windows_internal)
  13597. (replace_buffer_in_windows_safely, set_window_buffer)
  13598. (Fset_window_buffer, Fforce_window_update)
  13599. (temp_output_buffer_show, make_parent_window)
  13600. (window_resize_check, window_resize_apply, Fwindow_resize_apply)
  13601. (resize_frame_windows, Fsplit_window_internal)
  13602. (Fdelete_window_internal, grow_mini_window, shrink_mini_window)
  13603. (Fresize_mini_window_internal, mark_window_cursors_off)
  13604. (window_scroll, window_scroll_pixel_based)
  13605. (window_scroll_line_based, scroll_command, Fscroll_other_window)
  13606. (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
  13607. (Fmove_to_window_line, Fset_window_configuration)
  13608. (delete_all_child_windows, apply_window_adjustment)
  13609. (set_window_fringes, set_window_scroll_bars)
  13610. (Fset_window_vscroll, foreach_window, foreach_window_1)
  13611. (compare_window_configurations, Fcompare_window_configurations):
  13612. Prefer 'bool', 'true', and 'false' for booleans.
  13613. * src/window.h (WINDOW_MODE_LINE_LINES)
  13614. (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
  13615. 2015-04-11 Artur Malabarba <bruce.connor.am@gmail.com>
  13616. Speed up byte-compilation and autoload generation by avoiding mode-hooks
  13617. This prevents emacs-lisp-mode-hook from being run everytime an
  13618. autoload file is generated, which can account for a fraction of
  13619. package installation time depending on the hooks the user has
  13620. configured.
  13621. * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
  13622. * lisp/emacs-lisp/autoload.el (autoload-find-file)
  13623. (autoload-find-generated-file): Use delay-mode-hooks.
  13624. * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'.
  13625. (package-menu-refresh): Respect async and do new package checking.
  13626. (list-packages): Use `package-menu-refresh' instead of repeating code.
  13627. * lisp/emacs-lisp/package.el: Improve package-menu-quick-help.
  13628. (package--quick-help-keys): New variable.
  13629. (package--prettify-quick-help-key): New function.
  13630. (package-menu-quick-help): Use it.
  13631. * lisp/emacs-lisp/package.el: Fix initially wrong compat table.
  13632. (package--build-compatibility-table): Require finder.
  13633. * test/automated/package-test.el: Fix new test.
  13634. * lisp/emacs-lisp/package.el: Silence async operations.
  13635. (package--silence): New variable.
  13636. (package--message): New function.
  13637. (package-import-keyring, package-refresh-contents)
  13638. (package-compute-transaction, package-install, package-delete)
  13639. (package-menu--perform-transaction, package-menu-execute): Use it.
  13640. * test/automated/package-test.el: Test async functionality.
  13641. (package-test-update-archives-async): New test.
  13642. 2015-04-11 Daiki Ueno <ueno@gnu.org>
  13643. Utilize `make-process' in epg.el
  13644. * lisp/epg.el (epg-error-output): Abolish.
  13645. (epg-context): New slot `error-buffer'.
  13646. (epg--start): Use `make-process' and `make-pipe-process'.
  13647. (epg--process-filter): Remove code separating stderr from stdout.
  13648. (epg-wait-for-completion): Simplify `error-output' handling.
  13649. (epg-reset): Dispose error buffer.
  13650. 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
  13651. * .gitignore: Ignore doc temps and outputs.
  13652. Port commit-msg to MSYS Bash+Gawk
  13653. See Eli Zaretskii in:
  13654. http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html
  13655. * build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
  13656. (cent_sign, print_at_sign, at_sign): Revert previous change.
  13657. (print_at_sign): Prepend "BEGIN".
  13658. (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
  13659. Port commit-msg to broken MS-Windows shell
  13660. * build-aux/git-hooks/commit-msg (cent_sign):
  13661. Just use UTF-8 here rather than ASCII + printf, as the latter fails
  13662. on a broken MS-Windows shell. Reported by Eli Zaretskii in:
  13663. http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
  13664. 2015-04-11 Chris Zheng <chriszheng99@gmail.com> (tiny change)
  13665. Support GnuTLS v3.4 and later on MS-Windows
  13666. * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
  13667. * lisp/term/w32-win.el (dynamic-library-alist): Determine which
  13668. GnuTLS DLL to load according to value of libgnutls-version.
  13669. (Bug#20294)
  13670. 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
  13671. Minor quoting etc. fixes to misc manuals
  13672. Fix some minor quoting and spacing issues. Distinguish more
  13673. clearly among grave accent and apostrophe (which are ASCII) and
  13674. single quote (which is not). Prefer the standard terms
  13675. "apostrophe" and "grave accent" to alternative names that can be
  13676. confusing. Use apostrophes to single-quote ASCII text.
  13677. * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
  13678. rather than approximating it in ASCII with grave accent.
  13679. 2015-04-11 Daiki Ueno <ueno@gnu.org>
  13680. Respect more keyword args in `make-process'
  13681. * src/process.c (Fmake_process): Respect `:sentinel' and `:filter'
  13682. keywords as documented.
  13683. 2015-04-10 Dmitry Gutov <dgutov@yandex.ru>
  13684. Extract ChangeLog entries when committing a directory
  13685. * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
  13686. * lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
  13687. Add a FIXME comment.
  13688. (log-edit-changelog-entries): Extract from
  13689. `log-edit-changelog-entries', handle FILE being a directory
  13690. (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
  13691. 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
  13692. Fix problems found by --enable-gcc-warnings
  13693. * src/process.c (create_process, Fmake_pipe_process)
  13694. (Fmake_network_process): Omit unused locals.
  13695. Fix commit-msg to handle scissors lines
  13696. * build-aux/git-hooks/commit-msg:
  13697. Ignore every line after a scissors line, such as a line generated
  13698. by 'git commit -v'. Problem reported by Johan Bockgård in:
  13699. http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
  13700. port commit-msg to Gawk 3.0.4 (1999)
  13701. * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
  13702. (print_at_sign, at_sign): New vars. Use them to avoid problems
  13703. Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS. See:
  13704. http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
  13705. Have commit-msg report commit failure
  13706. * build-aux/git-hooks/commit-msg: If the commit is aborted,
  13707. say so. Simplify by doing this at the end. Problem reported
  13708. by Eli Zaretskii in:
  13709. http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
  13710. 2015-04-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
  13711. Clean up LDAP Configuration section of EUDC manual
  13712. * doc/misc/eudc.texi: Combine indices.
  13713. (LDAP Configuration): Use command markup. Add index entries.
  13714. Change formatting. Wrap long lines. Add noindent markup.
  13715. 2015-04-10 Daiki Ueno <ueno@gnu.org>
  13716. Add facility to collect stderr of async subprocess
  13717. * src/w32.h (register_aux_fd): New function declaration.
  13718. * src/w32.c (register_aux_fd): New function.
  13719. * src/process.h (struct Lisp_Process): New member stderrproc.
  13720. * src/process.c (PIPECONN_P): New macro.
  13721. (PIPECONN1_P): New macro.
  13722. (Fdelete_process, Fprocess_status, Fset_process_buffer)
  13723. (Fset_process_filter, Fset_process_sentinel, Fstop_process)
  13724. (Fcontinue_process): Handle pipe process specially.
  13725. (create_process): Respect p->stderrproc.
  13726. (Fmake_pipe_process): New function.
  13727. (Fmake_process): Add new keyword argument :stderr.
  13728. (wait_reading_process_output): Specially handle a pipe process when
  13729. it gets an EOF.
  13730. (syms_of_process): Register Qpipe and Smake_pipe_process.
  13731. * doc/lispref/processes.texi (Asynchronous Processes): Document
  13732. `make-pipe-process' and `:stderr' keyword of `make-process'.
  13733. * lisp/subr.el (start-process): Suggest to use `make-process' handle
  13734. standard error separately.
  13735. * test/automated/process-tests.el (process-test-stderr-buffer)
  13736. (process-test-stderr-filter): New tests.
  13737. * etc/NEWS: Mention new process type `pipe' and its usage with the
  13738. `:stderr' keyword of `make-process'.
  13739. 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
  13740. Minor quoting etc. fixes to lispref manual
  13741. * doc/lispref/tips.texi (Documentation Tips):
  13742. Distinguish more clearly among grave accent, apostrophe,
  13743. and single quote.
  13744. * doc/lispref/README, doc/lispref/buffers.texi:
  13745. * doc/lispref/commands.texi, doc/lispref/control.texi:
  13746. * doc/lispref/customize.texi, doc/lispref/display.texi:
  13747. * doc/lispref/elisp.texi, doc/lispref/files.texi:
  13748. * doc/lispref/frames.texi, doc/lispref/hash.texi:
  13749. * doc/lispref/help.texi, doc/lispref/internals.texi:
  13750. * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
  13751. * doc/lispref/markers.texi, doc/lispref/modes.texi:
  13752. * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
  13753. * doc/lispref/os.texi, doc/lispref/positions.texi:
  13754. * doc/lispref/strings.texi, doc/lispref/syntax.texi:
  13755. * doc/lispref/text.texi, doc/lispref/tips.texi:
  13756. * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
  13757. Use American-style double quoting in ordinary text,
  13758. and quote 'like this' when single-quoting in ASCII text.
  13759. Also, fix some minor spacing issues.
  13760. 2015-04-10 Michael Albinus <michael.albinus@gmx.de>
  13761. Handle symlinked test directory in tramp-tests.el
  13762. * test/automated/tramp-tests.el (tramp-test18-file-attributes)
  13763. (tramp--test-check-files): Use `file-truename' for directories.
  13764. 2015-04-10 Eli Zaretskii <eliz@gnu.org>
  13765. Fix 'recenter' when visual-line-mode is turned on
  13766. * src/window.c (Frecenter): Use the same code for GUI and TTY
  13767. frames alike; use vmotion only for "initial" frames. This is
  13768. because vmotion doesn't support visual-line-mode. Rewrite the
  13769. 'iarg >= 0' case to use move_it_* functions instead of using
  13770. vmotion, for the same reason. Fix the clipping of the argument
  13771. value to support scroll-margin in all cases and avoid unwarranted
  13772. recentering. Reported by Milan Stanojević <milanst@gmail.com> in
  13773. http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
  13774. which see.
  13775. 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
  13776. * lisp/abbrev.el (define-abbrev-table): Refine last change.
  13777. * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
  13778. use of c[ad]+r", so as to keep the "cl-" prefix on all
  13779. cl-lib definitions.
  13780. * lisp/progmodes/vhdl-mode.el (vhdl-prepare-search-2):
  13781. Use inhibit-point-motion-hooks.
  13782. * lisp/cedet/semantic: Remove some dead code.
  13783. * lisp/cedet/semantic/util-modes.el
  13784. (semantic-stickyfunc-header-line-format): Emacs<22 is not supported
  13785. any more.
  13786. * lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
  13787. not supported any more.
  13788. (semantic-safe): Use `declare'.
  13789. * lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
  13790. (semantic-tag-intangible-p): Remove unused functions.
  13791. * lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
  13792. Remove unused function.
  13793. * lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
  13794. (gnus-article-hide-text, gnus-article-unhide-text)
  13795. (gnus-article-unhide-text-type): Remove special handling of
  13796. `intangible' since that property is not used any more.
  13797. (gnus-article-treat-body-boundary): Use gnus-hidden-properties.
  13798. 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
  13799. Use the VC root in `log-edit-listfun'
  13800. * lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
  13801. `log-edit-listfun'.
  13802. 2015-04-09 Jay Belanger <jay.p.belanger@gmail.com>
  13803. Fix description of Unix time, mention new function.
  13804. * lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
  13805. Unix time.
  13806. * doc/misc/calc.texi (Date Forms): Fix description of Unix time.
  13807. (Basic Operations on Units): Mention `calc-convert-exact-units'.
  13808. 2015-04-09 Artur Malabarba <bruce.connor.am@gmail.com>
  13809. * lisp/emacs-lisp/package.el: Use mode-line-process for notification.
  13810. 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
  13811. * lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
  13812. Don't add newline after the last entry.
  13813. 2015-04-09 Simen Heggestøyl <simenheg@gmail.com>
  13814. css-mode.el: Add "not" pseudo-class
  13815. (Bug#20267)
  13816. * lisp/textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to
  13817. list of CSS pseudo-classes.
  13818. 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
  13819. * etc/NEWS: Add missing entry for "Stop messing with the EMACS env var".
  13820. 2015-04-09 Michael Albinus <michael.albinus@gmx.de>
  13821. Stop messing with the EMACS env var
  13822. * doc/emacs/misc.texi (Interactive Shell): Remove description of
  13823. EMACS env var.
  13824. 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
  13825. Adapt 'make change-history' to coding cookie
  13826. * Makefile.in (change-history): Adjust to change of format of
  13827. ChangeLog file, which now has a coding cookie before an indented
  13828. copyright notice.
  13829. 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
  13830. Adapt 'make change-history' to coding cookie
  13831. * Makefile.in (change-history): Adjust to change of format of
  13832. ChangeLog file, which now has a coding cookie before an indented
  13833. copyright notice.
  13834. gitlog-to-changelog coding cookie and mv -i
  13835. * build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
  13836. for copyright notice prototype, so that we get a proper "coding:"
  13837. cookie. Use 'mv -i' to avoid unconditionally overwriting an
  13838. existing ChangeLog. Problems reported by Eli Zaretskii in:
  13839. http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
  13840. Merge from gnulib
  13841. * build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
  13842. 2015-04-09 gitlog-to-changelog: port to MS-Windows
  13843. 2015-04-09 Boruch Baum <boruch_baum@gmx.com> (tiny change)
  13844. * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
  13845. (Bug#20212)
  13846. 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
  13847. Stop messing with the EMACS env var
  13848. (Bug#20202)
  13849. * lisp/net/tramp-sh.el (tramp-remote-process-environment):
  13850. * lisp/comint.el (comint-exec-1):
  13851. * lisp/term.el (term-exec-1): Don't set EMACS envvar.
  13852. * lisp/progmodes/compile.el (compilation-start): Same and bring
  13853. INSIDE_EMACS's format in line with other users.
  13854. css-mode.el (css-smie-rules): Fix indentation after complex selectors
  13855. (Bug#20282)
  13856. * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
  13857. inner structure of selectors.
  13858. 2015-04-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
  13859. python.el: Indent docstring lines to base-indent
  13860. (Bug#19595)
  13861. Thanks to immerrr <immerrr@gmail.com> for reporting and providing
  13862. an initial patch.
  13863. * lisp/progmodes/python.el
  13864. (python-indent-context): Add :inside-docstring context.
  13865. (python-indent--calculate-indentation): Handle :inside-docstring.
  13866. (python-indent-region): Re-indent docstrings.
  13867. * test/automated/python-tests.el (python-indent-region-5)
  13868. (python-indent-inside-string-2): Fix tests.
  13869. python.el: Increase native completion robustness
  13870. (Bug#19755)
  13871. Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
  13872. this and providing useful ideas.
  13873. * lisp/progmodes/python.el
  13874. (python-shell-completion-native-output-timeout): Increase value.
  13875. (python-shell-completion-native-try-output-timeout): New var.
  13876. (python-shell-completion-native-try): Use it.
  13877. (python-shell-completion-native-setup): New readline setup avoids
  13878. polluting current context, ensures output when no-completions are
  13879. available and includes output end marker.
  13880. (python-shell-completion-native-get-completions): Trigger with one
  13881. tab only. Call accept-process-output until output end is found or
  13882. python-shell-completion-native-output-timeout is exceeded.
  13883. 2015-04-08 Samer Masterson <samer@samertm.com>
  13884. * lisp/eshell: Make backslash a no-op in front of normal chars
  13885. (Bug#8531)
  13886. * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
  13887. (eshell-parse-backslash): Return escaped character after backslash
  13888. if it is special. Otherwise, if the backslash is not in a quoted
  13889. string, ignore the backslash and return the character after; if
  13890. the backslash is in a quoted string, return the backslash and the
  13891. character after.
  13892. * test/automated/eshell.el (eshell-test/escape-nonspecial)
  13893. (eshell-test/escape-nonspecial-unicode)
  13894. (eshell-test/escape-nonspecial-quoted)
  13895. (eshell-test/escape-special-quoted): Add tests for new
  13896. `eshell-parse-backslash' behavior.
  13897. 2015-04-08 Gustav Hållberg <gustav@gmail.com> (tiny change)
  13898. * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
  13899. after the file name.
  13900. (Bug#20276)
  13901. 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
  13902. Minor quoting etc. fixes to Emacs manual
  13903. * doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
  13904. * doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
  13905. * doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
  13906. * doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
  13907. * doc/emacs/indent.texi, doc/emacs/macos.texi:
  13908. * doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
  13909. * doc/emacs/programs.texi, doc/emacs/rmail.texi:
  13910. * doc/emacs/search.texi, doc/emacs/trouble.texi:
  13911. * doc/emacs/vc1-xtra.texi:
  13912. Use American-style double quoting in ordinary text,
  13913. and quote 'like this' when single-quoting in ASCII text.
  13914. Also, fix some minor spacing issues.
  13915. Minor quoting etc. fixes to elisp intro
  13916. * doc/lispintro/emacs-lisp-intro.texi: Consistently use
  13917. American-style double quoting in ordinary text. In ASCII text,
  13918. consistently quote 'like this' instead of `like this', unless
  13919. Emacs requires the latter.
  13920. 2015-04-08 Dmitry Gutov <dgutov@yandex.ru>
  13921. * CONTRIBUTE: Mention log-edit-insert-changelog.
  13922. * CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.
  13923. 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
  13924. * doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
  13925. 2015-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
  13926. * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
  13927. Fix inheritance of initargs. (Bug#20270)
  13928. 2015-04-08 Artur Malabarba <bruce.connor.am@gmail.com>
  13929. * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
  13930. while dowloading information.
  13931. * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
  13932. (package--ensure-init-file): Check file contents before visiting.
  13933. (package-initialize): Call it.
  13934. (package-install-from-buffer, package-install): Don't call it.
  13935. 2015-04-08 Eli Zaretskii <eliz@gnu.org>
  13936. * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800.
  13937. (Bug#17517)
  13938. 2015-04-08 Michael Albinus <michael.albinus@gmx.de>
  13939. * lisp/net/tramp-cache.el (tramp-flush-file-property):
  13940. Fix nasty scoping bug.
  13941. 2015-04-08 Tassilo Horn <tsdh@gnu.org>
  13942. Add notice to visual commands section
  13943. * doc/misc/eshell.texi (Input/Output): Add notice that some tools
  13944. such as git call less with its -F option which omits pagination if
  13945. the contents is less than one page long. This interferes with
  13946. eshell's visual (sub-)commands.
  13947. 2015-04-07 Dmitry Gutov <dgutov@yandex.ru>
  13948. * lisp/ffap.el (ffap-string-at-point-mode-alist): Support
  13949. environment variable expansion in file names. (Bug#19839)
  13950. 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
  13951. Prefer double-quote to accent-grave in man pages
  13952. 2015-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
  13953. (Bug#20257)
  13954. * lisp/files.el (set-visited-file-name): Clear auto-save if nil.
  13955. 2015-04-07 Ivan Shmakov <ivan@siamics.net>
  13956. Update etc/PROBLEMS.
  13957. * etc/PROBLEMS: Mention visible-cursor; a few more mentions of
  13958. ~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
  13959. 'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
  13960. respectively); other minor updates and tweaks. (Bug#20011)
  13961. 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
  13962. Add doc strings for some Isearch state vars
  13963. * lisp/misearch.el (multi-isearch-buffer-list)
  13964. (multi-isearch-file-list): Add doc strings.
  13965. (Bug#20232)
  13966. 2015-04-07 Alan Mackenzie <acm@muc.de>
  13967. Always mark "<" and ">" in #include directives with text properties.
  13968. * lisp/progmodes/c-fonts.el (c-cpp-matchers): Replace a font-lock
  13969. "anchored matcher" with an invocation of
  13970. c-make-font-lock-search-function to allow fontification when there's
  13971. no trailing space on an "#include <..>" line.
  13972. 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
  13973. Generate a ChangeLog file from commit logs
  13974. * .gitignore: Add 'ChangeLog'.
  13975. * build-aux/gitlog-to-changelog: New file, from Gnulib.
  13976. * build-aux/gitlog-to-emacslog: New file.
  13977. * CONTRIBUTE: Document the revised workflow.
  13978. * Makefile.in (clean): Remove *.tmp and etc/*.tmp*
  13979. instead of just special cases.
  13980. (CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
  13981. (ChangeLog, unchanged-history-files, change-history)
  13982. (change-history-commit): New rules.
  13983. * admin/admin.el (make-manuals-dist--1):
  13984. Don't worry about doc/ChangeLog.
  13985. * admin/authors.el: Add a FIXME.
  13986. * admin/make-tarball.txt:
  13987. * lisp/calendar/icalendar.el:
  13988. * lisp/gnus/deuglify.el:
  13989. * lisp/obsolete/gulp.el:
  13990. * lwlib/README:
  13991. Adjust to renamed ChangeLog history files.
  13992. * admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
  13993. * admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
  13994. Remove obsolete discussion of merging ChangeLog files.
  13995. New section "Maintaining ChangeLog history".
  13996. * build-aux/git-hooks/pre-commit:
  13997. Reject attempts to commit files named 'ChangeLog'.
  13998. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
  13999. * make-dist: Make and distribute top-level ChangeLog if there's a
  14000. .git directory. Distribute the new ChangeLog history files
  14001. instead of scattered ChangeLog files. Distribute the new files
  14002. gitlog-to-changelog and gitlog-to-emacslog.
  14003. (Bug#19113)
  14004. Rename ChangeLogs for gitlog-to-changelog
  14005. This patch was implemented via the following shell commands:
  14006. find * -name ChangeLog |
  14007. sed 's,.*,git mv & &.1,
  14008. s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
  14009. s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
  14010. s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
  14011. s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
  14012. s, src/ChangeLog\.1$, src/ChangeLog.13,' |
  14013. sh
  14014. git commit -am"[this commit message]"
  14015. This file records repository revisions from
  14016. commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
  14017. commit 8a8613bcf4227dfe46a694b761e9575bdf6ca2ce (inclusive).
  14018. See ChangeLog.1 for earlier changes.
  14019. ;; Local Variables:
  14020. ;; coding: utf-8
  14021. ;; End:
  14022. Copyright (C) 2015 Free Software Foundation, Inc.
  14023. This file is part of GNU Emacs.
  14024. GNU Emacs is free software: you can redistribute it and/or modify
  14025. it under the terms of the GNU General Public License as published by
  14026. the Free Software Foundation, either version 3 of the License, or
  14027. (at your option) any later version.
  14028. GNU Emacs is distributed in the hope that it will be useful,
  14029. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14030. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14031. GNU General Public License for more details.
  14032. You should have received a copy of the GNU General Public License
  14033. along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.