NEWS.19 266 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543
  1. GNU Emacs NEWS -- history of user-visible changes. 1992.
  2. Copyright (C) 1993-1995, 2001, 2006-2012 Free Software Foundation, Inc.
  3. See the end of the file for license conditions.
  4. This file is about changes in emacs versions 19.
  5. * Emacs 19.34 is a bug-fix release with no user-visible changes.
  6. * Changes in Emacs 19.33.
  7. ** Bibtex mode no longer turns on Auto Fill automatically. (No major
  8. mode should do that--it is the user's choice.)
  9. ** The variable normal-auto-fill-function specifies the function to
  10. use for auto-fill-function, if and when Auto Fill is turned on.
  11. Major modes can set this locally to alter how Auto Fill works.
  12. * Editing Changes in Emacs 19.32
  13. ** C-x f with no argument now signals an error.
  14. To set the fill column at the current column, use C-u C-x f.
  15. ** Expanding dynamic abbrevs with M-/ is now smarter about case
  16. conversion. If you type the abbreviation with mixed case, and it
  17. matches the beginning of the expansion including case, then the
  18. expansion is copied verbatim. Using SPC M-/ to copy an additional
  19. word always copies it verbatim except when the previous copied word is
  20. all caps.
  21. ** On a non-windowing terminal, which can display only one Emacs frame
  22. at a time, creating a new frame with C-x 5 2 also selects that frame.
  23. When using a display that can show multiple frames at once, C-x 5 2
  24. does make the frame visible, but does not select it. This is the same
  25. as in previous Emacs versions.
  26. ** You can use C-x 5 2 to create multiple frames on MSDOS, just as on a
  27. non-X terminal on Unix. Of course, only one frame is visible at any
  28. time, since your terminal doesn't have the ability to display multiple
  29. frames.
  30. ** On Windows, set win32-pass-alt-to-system to a non-nil value
  31. if you would like tapping the Alt key to invoke the Windows menu.
  32. This feature is not enabled by default; since the Alt key is also the
  33. Meta key, it is too easy and painful to activate this feature by
  34. accident.
  35. ** The command apply-macro-to-region-lines repeats the last defined
  36. keyboard macro once for each complete line within the current region.
  37. It does this line by line, by moving point to the beginning of that
  38. line and then executing the macro.
  39. This command is not new, but was never documented before.
  40. ** You can now use Mouse-1 to place the region around a string constant
  41. (something surrounded by doublequote characters or other delimiter
  42. characters of like syntax) by double-clicking on one of the delimiting
  43. characters.
  44. ** Font Lock mode
  45. *** Font Lock support modes
  46. Font Lock can be configured to use Fast Lock mode and Lazy Lock mode (see
  47. below) in a flexible way. Rather than adding the appropriate function to the
  48. hook font-lock-mode-hook, you can use the new variable font-lock-support-mode
  49. to control which modes have Fast Lock mode or Lazy Lock mode turned on when
  50. Font Lock mode is enabled.
  51. For example, to use Fast Lock mode when Font Lock mode is turned on, put:
  52. (setq font-lock-support-mode 'fast-lock-mode)
  53. in your ~/.emacs.
  54. *** lazy-lock
  55. The lazy-lock package speeds up Font Lock mode by making fontification occur
  56. only when necessary, such as when a previously unfontified part of the buffer
  57. becomes visible in a window. When you create a buffer with Font Lock mode and
  58. Lazy Lock mode turned on, the buffer is not fontified. When certain events
  59. occur (such as scrolling), Lazy Lock makes sure that the visible parts of the
  60. buffer are fontified. Lazy Lock also defers on-the-fly fontification until
  61. Emacs has been idle for a given amount of time.
  62. To use this package, put in your ~/.emacs:
  63. (setq font-lock-support-mode 'lazy-lock-mode)
  64. To control the package behavior, see the documentation for `lazy-lock-mode'.
  65. ** Changes in BibTeX mode.
  66. *** For all entries allow spaces and tabs between opening brace or
  67. paren and key.
  68. *** Non-escaped double-quoted characters (as in `Sch"of') are now
  69. supported.
  70. ** Gnus changes.
  71. Gnus, the Emacs news reader, has undergone further rewriting. Many new
  72. commands and variables have been added. There should be no
  73. significant incompatibilities between this Gnus version and the
  74. previously released version, except in the message composition area.
  75. Below is a list of the more user-visible changes. Coding changes
  76. between Gnus 5.1 and 5.2 are more extensive.
  77. *** A new message composition mode is used. All old customization
  78. variables for mail-mode, rnews-reply-mode and gnus-msg are now
  79. obsolete.
  80. *** Gnus is now able to generate "sparse" threads -- threads where
  81. missing articles are represented by empty nodes.
  82. (setq gnus-build-sparse-threads 'some)
  83. *** Outgoing articles are stored on a special archive server.
  84. To disable this: (setq gnus-message-archive-group nil)
  85. *** Partial thread regeneration now happens when articles are
  86. referred.
  87. *** Gnus can make use of GroupLens predictions:
  88. (setq gnus-use-grouplens t)
  89. *** A trn-line tree buffer can be displayed.
  90. (setq gnus-use-trees t)
  91. *** An nn-like pick-and-read minor mode is available for the summary
  92. buffers.
  93. (add-hook 'gnus-summary-mode-hook 'gnus-pick-mode)
  94. *** In binary groups you can use a special binary minor mode:
  95. `M-x gnus-binary-mode'
  96. *** Groups can be grouped in a folding topic hierarchy.
  97. (add-hook 'gnus-group-mode-hook 'gnus-topic-mode)
  98. *** Gnus can re-send and bounce mail.
  99. Use the `S D r' and `S D b'.
  100. *** Groups can now have a score, and bubbling based on entry frequency
  101. is possible.
  102. (add-hook 'gnus-summary-exit-hook 'gnus-summary-bubble-group)
  103. *** Groups can be process-marked, and commands can be performed on
  104. groups of groups.
  105. *** Caching is possible in virtual groups.
  106. *** nndoc now understands all kinds of digests, mail boxes, rnews news
  107. batches, ClariNet briefs collections, and just about everything else.
  108. *** Gnus has a new backend (nnsoup) to create/read SOUP packets.
  109. *** The Gnus cache is much faster.
  110. *** Groups can be sorted according to many criteria.
  111. For instance: (setq gnus-group-sort-function 'gnus-group-sort-by-rank)
  112. *** New group parameters have been introduced to set list-address and
  113. expiration times.
  114. *** All formatting specs allow specifying faces to be used.
  115. *** There are several more commands for setting/removing/acting on
  116. process marked articles on the `M P' submap.
  117. *** The summary buffer can be limited to show parts of the available
  118. articles based on a wide range of criteria. These commands have been
  119. bound to keys on the `/' submap.
  120. *** Articles can be made persistent -- as an alternative to saving
  121. articles with the `*' command.
  122. *** All functions for hiding article elements are now toggles.
  123. *** Article headers can be buttonized.
  124. (add-hook 'gnus-article-display-hook 'gnus-article-add-buttons-to-head)
  125. *** All mail backends support fetching articles by Message-ID.
  126. *** Duplicate mail can now be treated properly. See the
  127. `nnmail-treat-duplicates' variable.
  128. *** All summary mode commands are available directly from the article
  129. buffer.
  130. *** Frames can be part of `gnus-buffer-configuration'.
  131. *** Mail can be re-scanned by a daemonic process.
  132. *** Gnus can make use of NoCeM files to filter spam.
  133. (setq gnus-use-nocem t)
  134. *** Groups can be made permanently visible.
  135. (setq gnus-permanently-visible-groups "^nnml:")
  136. *** Many new hooks have been introduced to make customizing easier.
  137. *** Gnus respects the Mail-Copies-To header.
  138. *** Threads can be gathered by looking at the References header.
  139. (setq gnus-summary-thread-gathering-function
  140. 'gnus-gather-threads-by-references)
  141. *** Read articles can be stored in a special backlog buffer to avoid
  142. refetching.
  143. (setq gnus-keep-backlog 50)
  144. *** A clean copy of the current article is always stored in a separate
  145. buffer to allow easier treatment.
  146. *** Gnus can suggest where to save articles. See `gnus-split-methods'.
  147. *** Gnus doesn't have to do as much prompting when saving.
  148. (setq gnus-prompt-before-saving t)
  149. *** gnus-uu can view decoded files asynchronously while fetching
  150. articles.
  151. (setq gnus-uu-grabbed-file-functions 'gnus-uu-grab-view)
  152. *** Filling in the article buffer now works properly on cited text.
  153. *** Hiding cited text adds buttons to toggle hiding, and how much
  154. cited text to hide is now customizable.
  155. (setq gnus-cited-lines-visible 2)
  156. *** Boring headers can be hidden.
  157. (add-hook 'gnus-article-display-hook 'gnus-article-hide-boring-headers)
  158. *** Default scoring values can now be set from the menu bar.
  159. *** Further syntax checking of outgoing articles have been added.
  160. The Gnus manual has been expanded. It explains all these new features
  161. in greater detail.
  162. * Lisp Changes in Emacs 19.32
  163. ** The function set-visited-file-name now accepts an optional
  164. second argument NO-QUERY. If it is non-nil, then the user is not
  165. asked for confirmation in the case where the specified file already
  166. exists.
  167. ** The variable print-length applies to printing vectors and bitvectors,
  168. as well as lists.
  169. ** The new function keymap-parent returns the parent keymap
  170. of a given keymap.
  171. ** The new function set-keymap-parent specifies a new parent for a
  172. given keymap. The arguments are KEYMAP and PARENT. PARENT must be a
  173. keymap or nil.
  174. ** Sometimes menu keymaps use a command name, a symbol, which is really
  175. an automatically generated alias for some other command, the "real"
  176. name. In such a case, you should give that alias symbol a non-nil
  177. menu-alias property. That property tells the menu system to look for
  178. equivalent keys for the real name instead of equivalent keys for the
  179. alias.
  180. * Editing Changes in Emacs 19.31
  181. ** Freedom of the press restricted in the United States.
  182. Emacs has been censored in accord with the Communications Decency Act.
  183. This includes removing some features of the doctor program. That law
  184. was described by its supporters as a ban on pornography, but it bans
  185. far more than that. The Emacs distribution has never contained any
  186. pornography, but parts of it were nonetheless prohibited.
  187. For information on US government censorship of the Internet, and what
  188. you can do to bring back freedom of the press, see the web site
  189. `http://www.vtw.org/'.
  190. ** A note about C mode indentation customization.
  191. The old (Emacs 19.29) ways of specifying a C indentation style
  192. do not normally work in the new implementation of C mode.
  193. It has its own methods of customizing indentation, which are
  194. much more powerful than the old C mode. See the Editing Programs
  195. chapter of the manual for details.
  196. However, you can load the library cc-compat to make the old
  197. customization variables take effect.
  198. ** Marking with the mouse.
  199. When you mark a region with the mouse, the region now remains
  200. highlighted until the next input event, regardless of whether you are
  201. using M-x transient-mark-mode.
  202. ** Improved Windows NT/95 support.
  203. *** Emacs now supports scroll bars on Windows NT and Windows 95.
  204. *** Emacs now supports subprocesses on Windows 95. (Subprocesses used
  205. to work on NT only and not on 95.)
  206. *** There are difficulties with subprocesses, though, due to problems
  207. in Windows, beyond the control of Emacs. They work fine as long as
  208. you run Windows applications. The problems arise when you run a DOS
  209. application in a subprocesses. Since current shells run as DOS
  210. applications, these problems are significant.
  211. If you run a DOS application in a subprocess, then the application is
  212. likely to busy-wait, which means that your machine will be 100% busy.
  213. However, if you don't mind the temporary heavy load, the subprocess
  214. will work OK as long as you tell it to terminate before you start any
  215. other DOS application as a subprocess.
  216. Emacs is unable to terminate or interrupt a DOS subprocess.
  217. You have to do this by providing input directly to the subprocess.
  218. If you run two DOS applications at the same time in two separate
  219. subprocesses, even if one of them is asynchronous, you will probably
  220. have to reboot your machine--until then, it will remain 100% busy.
  221. Windows simply does not cope when one Windows process tries to run two
  222. separate DOS subprocesses. Typing CTL-ALT-DEL and then choosing
  223. Shutdown seems to work although it may take a few minutes.
  224. ** M-x resize-minibuffer-mode.
  225. This command, not previously mentioned in NEWS, toggles a mode in
  226. which the minibuffer window expands to show as many lines as the
  227. minibuffer contains.
  228. ** `title' frame parameter and resource.
  229. The `title' X resource now specifies just the frame title, nothing else.
  230. It does not affect the name used for looking up other X resources.
  231. It works by setting the new `title' frame parameter, which likewise
  232. affects just the displayed title of the frame.
  233. The `name' parameter continues to do what it used to do:
  234. it specifies the frame name for looking up X resources,
  235. and also serves as the default for the displayed title
  236. when the `title' parameter is unspecified or nil.
  237. ** Emacs now uses the X toolkit by default, if you have a new
  238. enough version of X installed (X11R5 or newer).
  239. ** When you compile Emacs with the Motif widget set, Motif handles the
  240. F10 key by activating the menu bar. To avoid confusion, the usual
  241. Emacs binding of F10 is replaced with a no-op when using Motif.
  242. If you want to be able to use F10 in Emacs, you can rebind the Motif
  243. menubar to some other key which you don't use. To do so, add
  244. something like this to your X resources file. This example rebinds
  245. the Motif menu bar activation key to S-F12:
  246. Emacs*defaultVirtualBindings: osfMenuBar : Shift<Key>F12
  247. ** In overwrite mode, DEL now inserts spaces in most cases
  248. to replace the characters it "deletes".
  249. ** The Rmail summary now shows the number of lines in each message.
  250. ** Rmail has a new command M-x unforward-rmail-message, which extracts
  251. a forwarded message from the message that forwarded it. To use it,
  252. select a message which contains a forwarded message and then type the command.
  253. It inserts the forwarded message as a separate Rmail message
  254. immediately after the selected one.
  255. This command also undoes the textual modifications that are standardly
  256. made, as part of forwarding, by Rmail and other mail reader programs.
  257. ** Turning off saving of .saves-... files in your home directory.
  258. Each Emacs session writes a file named .saves-... in your home
  259. directory to record which files M-x recover-session should recover.
  260. If you exit Emacs normally with C-x C-c, it deletes that file. If
  261. Emacs or the operating system crashes, the file remains for M-x
  262. recover-session.
  263. You can turn off the writing of these files by setting
  264. auto-save-list-file-name to nil. If you do this, M-x recover-session
  265. will not work.
  266. Some previous Emacs versions failed to delete these files even on
  267. normal exit. This is fixed now. If you are thinking of turning off
  268. this feature because of past experiences with versions that had this
  269. bug, it would make sense to check whether you still want to do so
  270. now that the bug is fixed.
  271. ** Changes to Version Control (VC)
  272. There is a new variable, vc-follow-symlinks. It indicates what to do
  273. when you visit a link to a file that is under version control.
  274. Editing the file through the link bypasses the version control system,
  275. which is dangerous and probably not what you want.
  276. If this variable is t, VC follows the link and visits the real file,
  277. telling you about it in the echo area. If it is `ask' (the default),
  278. VC asks for confirmation whether it should follow the link. If nil,
  279. the link is visited and a warning displayed.
  280. ** iso-acc.el now lets you specify a choice of language.
  281. Languages include "latin-1" (the default) and "latin-2" (which
  282. is designed for entering ISO Latin-2 characters).
  283. There are also choices for specific human languages such as French and
  284. Portuguese. These are subsets of Latin-1, which differ in that they
  285. enable only the accent characters needed for particular language.
  286. The other accent characters, not needed for the chosen language,
  287. remain normal.
  288. ** Posting articles and sending mail now has M-TAB completion on various
  289. header fields (Newsgroups, To, CC, ...).
  290. Completion in the Newsgroups header depends on the list of groups
  291. known to your news reader. Completion in the Followup-To header
  292. offers those groups which are in the Newsgroups header, since
  293. Followup-To usually just holds one of those.
  294. Completion in fields that hold mail addresses works based on the list
  295. of local users plus your aliases. Additionally, if your site provides
  296. a mail directory or a specific host to use for any unrecognized user
  297. name, you can arrange to query that host for completion also. (See the
  298. documentation of variables `mail-directory-process' and
  299. `mail-directory-stream'.)
  300. ** A greatly extended sgml-mode offers new features such as (to be configured)
  301. skeletons with completing read for tags and attributes, typing named
  302. characters including optionally all 8bit characters, making tags invisible
  303. with optional alternate display text, skipping and deleting tag(pair)s.
  304. Note: since Emacs' syntax feature cannot limit the special meaning of ', " and
  305. - to inside <>, for some texts the result, especially of font locking, may be
  306. wrong (see `sgml-specials' if you get wrong results).
  307. The derived html-mode configures this with tags and attributes more or
  308. less HTML3ish. It also offers optional quick keys like C-c 1 for
  309. headline or C-c u for unordered list (see `html-quick-keys'). Edit /
  310. Text Properties / Face or M-g combinations create tags as applicable.
  311. Outline minor mode is supported and level 1 font-locking tries to
  312. fontify tag contents (which only works when they fit on one line, due
  313. to a limitation in font-lock).
  314. External viewing via browse-url can occur automatically upon saving.
  315. ** M-x imenu-add-to-menubar now adds to the menu bar for the current
  316. buffer only. If you want to put an Imenu item in the menu bar for all
  317. buffers that use a particular major mode, use the mode hook, as in
  318. this example:
  319. (add-hook 'emacs-lisp-mode-hook
  320. '(lambda () (imenu-add-to-menubar "Index")))
  321. ** Changes in BibTeX mode.
  322. *** Field names may now contain digits, hyphens, and underscores.
  323. *** Font Lock mode is now supported.
  324. *** bibtex-make-optional-field is no longer interactive.
  325. *** If bibtex-maintain-sorted-entries is non-nil, inserting new
  326. entries is now done with a faster algorithm. However, inserting
  327. will fail in this case if the buffer contains invalid entries or
  328. isn't in sorted order, so you should finish each entry with C-c C-c
  329. (bibtex-close-entry) after you have inserted or modified it.
  330. The default value of bibtex-maintain-sorted-entries is nil.
  331. *** Function `show-all' is no longer bound to a key, since C-u C-c C-q
  332. does the same job.
  333. *** Entries with quotes inside quote-delimited fields (as `author =
  334. "Stefan Sch{\"o}f"') are now supported.
  335. *** Case in field names doesn't matter anymore when searching for help
  336. text.
  337. ** Font Lock mode
  338. *** Global Font Lock mode
  339. Font Lock mode can be turned on globally, in buffers that support it, by the
  340. new command global-font-lock-mode. You can use the new variable
  341. font-lock-global-modes to control which modes have Font Lock mode automagically
  342. turned on. By default, this variable is set so that Font Lock mode is turned
  343. on globally where the buffer mode supports it.
  344. For example, to automagically turn on Font Lock mode where supported, put:
  345. (global-font-lock-mode t)
  346. in your ~/.emacs.
  347. *** Local Refontification
  348. In Font Lock mode, editing a line automatically refontifies that line only.
  349. However, if your change alters the syntactic context for following lines,
  350. those lines remain incorrectly fontified. To refontify them, use the new
  351. command M-g M-g (font-lock-fontify-block).
  352. In certain major modes, M-g M-g refontifies the entire current function.
  353. (The variable font-lock-mark-block-function controls how to find the
  354. current function.) In other major modes, M-g M-g refontifies 16 lines
  355. above and below point.
  356. With a prefix argument N, M-g M-g refontifies N lines above and below point.
  357. ** Follow mode
  358. Follow mode is a new minor mode combining windows showing the same
  359. buffer into one tall "virtual window". The windows are typically two
  360. side-by-side windows. Follow mode makes them scroll together as if
  361. they were a unit. To use it, go to a frame with just one window,
  362. split it into two side-by-side windows using C-x 3, and then type M-x
  363. follow-mode.
  364. M-x follow-mode turns off Follow mode if it is already enabled.
  365. To display two side-by-side windows and activate Follow mode, use the
  366. command M-x follow-delete-other-windows-and-split.
  367. ** hide-show changes.
  368. The hooks hs-hide-hooks and hs-show-hooks have been renamed
  369. to hs-hide-hook and hs-show-hook, to follow the convention for
  370. normal hooks.
  371. ** Simula mode now has a menu containing the most important commands.
  372. The new command simula-indent-exp is bound to C-M-q.
  373. ** etags can now handle programs written in Erlang. Files are
  374. recognized by the extensions .erl and .hrl. The tagged lines are
  375. those that begin a function, record, or macro.
  376. ** MSDOS Changes
  377. *** It is now possible to compile Emacs with the version 2 of DJGPP.
  378. Compilation with DJGPP version 1 also still works.
  379. *** The documentation of DOS-specific aspects of Emacs was rewritten
  380. and expanded; see the ``MS-DOS'' node in the on-line docs.
  381. *** Emacs now uses ~ for backup file names, not .bak.
  382. *** You can simulate mouse-3 on two-button mice by simultaneously
  383. pressing both mouse buttons.
  384. *** A number of packages and commands which previously failed or had
  385. restricted functionality on MS-DOS, now work. The most important ones
  386. are:
  387. **** Printing (both with `M-x lpr-buffer' and with `ps-print' package)
  388. now works.
  389. **** `Ediff' works (in a single-frame mode).
  390. **** `M-x display-time' can be used on MS-DOS (due to the new
  391. implementation of Emacs timers, see below).
  392. **** `Dired' supports Unix-style shell wildcards.
  393. **** The `c-macro-expand' command now works as on other platforms.
  394. **** `M-x recover-session' works.
  395. **** `M-x list-colors-display' displays all the available colors.
  396. **** The `TPU-EDT' package works.
  397. * Lisp changes in Emacs 19.31.
  398. ** The function using-unix-filesystems on Windows NT and Windows 95
  399. tells Emacs to read and write files assuming that they reside on a
  400. remote Unix filesystem. No CR/LF translation is done on any files in
  401. this case. Invoking using-unix-filesystems with t activates this
  402. behavior, and invoking it with any other value deactivates it.
  403. ** Change in system-type and system-configuration values.
  404. The value of system-type on a Linux-based GNU system is now `lignux',
  405. not `linux'. This means that some programs which use `system-type'
  406. need to be changed. The value of `system-configuration' will also
  407. be different.
  408. It is generally recommended to use `system-configuration' rather
  409. than `system-type'.
  410. See the file LINUX-GNU in this directory for more about this.
  411. ** The functions shell-command and dired-call-process
  412. now run file name handlers for default-directory, if it has them.
  413. ** Undoing the deletion of text now restores the positions of markers
  414. that pointed into or next to the deleted text.
  415. ** Timers created with run-at-time now work internally to Emacs, and
  416. no longer use a separate process. Therefore, they now work more
  417. reliably and can be used for shorter time delays.
  418. The new function run-with-timer is a convenient way to set up a timer
  419. to run a specified amount of time after the present. A call looks
  420. like this:
  421. (run-with-timer SECS REPEAT FUNCTION ARGS...)
  422. SECS says how many seconds should elapse before the timer happens.
  423. It may be an integer or a floating point number. When the timer
  424. becomes ripe, the action is to call FUNCTION with arguments ARGS.
  425. REPEAT gives the interval for repeating the timer (measured in
  426. seconds). It may be an integer or a floating point number. nil or 0
  427. means don't repeat at all--call FUNCTION just once.
  428. *** with-timeout provides an easy way to do something but give
  429. up if too much time passes.
  430. (with-timeout (SECONDS TIMEOUT-FORMS...) BODY...)
  431. This executes BODY, but gives up after SECONDS seconds.
  432. If it gives up, it runs the TIMEOUT-FORMS and returns the value
  433. of the last one of them. Normally it returns the value of the last
  434. form in BODY.
  435. *** You can now arrange to call a function whenever Emacs is idle for
  436. a certain length of time. To do this, call run-with-idle-timer. A
  437. call looks like this:
  438. (run-with-idle-timer SECS REPEAT FUNCTION ARGS...)
  439. SECS says how many seconds of idleness should elapse before the timer
  440. runs. It may be an integer or a floating point number. When the
  441. timer becomes ripe, the action is to call FUNCTION with arguments
  442. ARGS.
  443. Emacs becomes idle whenever it finishes executing a keyboard or mouse
  444. command. It remains idle until it receives another keyboard or mouse
  445. command.
  446. REPEAT, if non-nil, means this timer should be activated again each
  447. time Emacs becomes idle and remains idle for SECS seconds The timer
  448. does not repeat if Emacs *remains* idle; it runs at most once after
  449. each time Emacs becomes idle.
  450. If REPEAT is nil, the timer runs just once, the first time Emacs is
  451. idle for SECS seconds.
  452. *** post-command-idle-hook is now obsolete; you shouldn't use it at
  453. all, because it interferes with the idle timer mechanism. If your
  454. programs use post-command-idle-hook, convert them to use idle timers
  455. instead.
  456. *** y-or-n-p-with-timeout lets you ask a question but give up if
  457. there is no answer within a certain time.
  458. (y-or-n-p-with-timeout PROMPT SECONDS DEFAULT-VALUE)
  459. asks the question PROMPT (just like y-or-n-p). If the user answers
  460. within SECONDS seconds, it returns the answer that the user gave.
  461. Otherwise it gives up after SECONDS seconds, and returns DEFAULT-VALUE.
  462. ** Minor change to `encode-time': you can now pass more than seven
  463. arguments. If you do that, the first six arguments have the usual
  464. meaning, the last argument is interpreted as the time zone, and the
  465. arguments in between are ignored.
  466. This means that it works to use the list returned by `decode-time' as
  467. the list of arguments for `encode-time'.
  468. ** The default value of load-path now includes the directory
  469. /usr/local/share/emacs/VERSION/site-lisp In addition to
  470. /usr/local/share/emacs/site-lisp. You can use this new directory for
  471. site-specific Lisp packages that belong with a particular Emacs
  472. version.
  473. It is not unusual for a Lisp package that works well in one Emacs
  474. version to cause trouble in another. Sometimes packages need updating
  475. for incompatible changes; sometimes they look at internal data that
  476. has changed; sometimes the package has been installed in Emacs itself
  477. and the installed version should be used. Whatever the reason for the
  478. problem, this new feature makes it easier to solve.
  479. ** When your program contains a fixed file name (like .completions or
  480. .abbrev.defs), the file name usually needs to be different on operating
  481. systems with limited file name syntax.
  482. Now you can avoid ad-hoc conditionals by using the function
  483. convert-standard-filename to convert the file name to a proper form
  484. for each operating system. Here is an example of use, from the file
  485. completions.el:
  486. (defvar save-completions-file-name
  487. (convert-standard-filename "~/.completions")
  488. "*The filename to save completions to.")
  489. This sets the variable save-completions-file-name to a value that
  490. depends on the operating system, because the definition of
  491. convert-standard-filename depends on the operating system. On
  492. Unix-like systems, it returns the specified file name unchanged. On
  493. MS-DOS, it adapts the name to fit the limitations of that system.
  494. ** The interactive spec N now returns the numeric prefix argument
  495. rather than the raw prefix argument. (It still reads a number using the
  496. minibuffer if there is no prefix argument at all.)
  497. ** When a process is deleted, this no longer disconnects the process
  498. marker from its buffer position.
  499. ** The variable garbage-collection-messages now controls whether
  500. Emacs displays a message at the beginning and end of garbage collection.
  501. The default is nil, meaning there are no messages.
  502. ** The variable debug-ignored-errors specifies certain kinds of errors
  503. that should not enter the debugger. Its value is a list of error
  504. condition symbols and/or regular expressions. If the error has any
  505. of the condition symbols listed, or if any of the regular expressions
  506. matches the error message, then that error does not enter the debugger,
  507. regardless of the value of debug-on-error.
  508. This variable is initialized to match certain common but uninteresting
  509. errors that happen often during editing.
  510. ** The new function error-message-string converts an error datum
  511. into its error message. The error datum is what condition-case
  512. puts into the variable, to describe the error that happened.
  513. ** Anything that changes which buffer appears in a given window
  514. now runs the window-scroll-functions for that window.
  515. ** The new function get-buffer-window-list returns a list of windows displaying
  516. a buffer. The function is called with the buffer (a buffer object or a buffer
  517. name) and two optional arguments specifying the minibuffer windows and frames
  518. to search. Therefore this function takes optional args like next-window etc.,
  519. and not get-buffer-window.
  520. ** buffer-substring now runs the hook buffer-access-fontify-functions,
  521. calling each function with two arguments--the range of the buffer
  522. being accessed. buffer-substring-no-properties does not call them.
  523. If you use this feature, you should set the variable
  524. buffer-access-fontified-property to a non-nil symbol, which is a
  525. property name. Then, if all the characters in the buffer range have a
  526. non-nil value for that property, the buffer-access-fontify-functions
  527. are not called. When called, these functions should put a non-nil
  528. property on the text that they fontify, so that they won't get called
  529. over and over for the same text.
  530. ** Changes in lisp-mnt.el
  531. *** The lisp-mnt package can now recognize file headers that are written
  532. in the formats used by the `what' command and the RCS `ident' command:
  533. ;; @(#) HEADER: text
  534. ;; $HEADER: text $
  535. in addition to the normal
  536. ;; HEADER: text
  537. *** The commands lm-verify and lm-synopsis are now interactive. lm-verify
  538. checks that the library file has proper sections and headers, and
  539. lm-synopsis extracts first line "synopsis'"information.
  540. * Editing Changes in Emacs 19.30.
  541. ** Be sure to recompile your byte-compiled Emacs Lisp files
  542. if you last compiled them with Emacs 19.28 or earlier.
  543. You can use M-x byte-force-recompile to recompile all the .elc files
  544. in a specified directory.
  545. ** Emacs now provides multiple-frame support on Windows NT
  546. and Windows 95.
  547. ** M-x column-number-mode toggles a minor mode which displays
  548. the current column number in the mode line.
  549. ** Line Number mode is now enabled by default.
  550. ** M-x what-line now displays the line number in the accessible
  551. portion of the buffer as well as the line number in the full buffer,
  552. when narrowing is in effect.
  553. ** If you type a M-x command that has an equivalent key binding,
  554. the equivalent is shown in the minibuffer before the command executes.
  555. This feature is enabled by default for the sake of beginning users.
  556. You can turn the feature off by setting suggest-key-bindings to nil.
  557. ** The menu bar is now visible on text-only terminals. To choose a
  558. command from the menu bar when you have no mouse, type M-`
  559. (Meta-Backquote) or F10. To turn off menu bar display,
  560. do (menu-bar-mode -1).
  561. ** Whenever you invoke a minibuffer, it appears in the minibuffer
  562. window that the current frame uses.
  563. Emacs can only use one minibuffer window at a time. If you activate
  564. the minibuffer while a minibuffer window is active in some other
  565. frame, the outer minibuffer window disappears while the inner one is
  566. active.
  567. ** Echo area messages always appear in the minibuffer window that the
  568. current frame uses. If a minibuffer is active in some other frame,
  569. the echo area message does not hide it even temporarily.
  570. ** The minibuffer now has a menu-bar menu. You can use it to exit or
  571. abort the minibuffer, or to ask for completion.
  572. ** Dead-key and composite character processing is done in the standard
  573. X11R6 manner (through the default "input method" using the
  574. /usr/lib/X11/locale/*/Compose databases of key combinations). I.e. if
  575. it works in xterm, it should also work in emacs now.
  576. ** Mouse changes
  577. *** You can now use the mouse when running Emacs in an xterm.
  578. Use M-x xterm-mouse-mode to let emacs take control over the mouse.
  579. *** C-mouse-1 now once again provides a menu of buffers to select.
  580. S-mouse-1 is now the way to select a default font for the frame.
  581. *** There is a new mouse-scroll-min-lines variable to control the
  582. minimum number of lines scrolled by dragging the mouse outside a
  583. window's edge.
  584. *** Dragging mouse-1 on a vertical line that separates windows
  585. now moves the line, thus changing the widths of the two windows.
  586. (This feature is available only if you don't have vertical scroll bars.
  587. If you do use them, a scroll bar separates two side-by-side windows.)
  588. *** Double-click mouse-1 on a character with "symbol" syntax (such as
  589. underscore, in C mode) selects the entire symbol surrounding that
  590. character. (Double-click mouse-1 on a letter selects a whole word.)
  591. ** When incremental search wraps around to the beginning (or end) of
  592. the buffer, if you keep on searching until you go past the original
  593. starting point of the search, the echo area changes from "Wrapped" to
  594. "Overwrapped". That tells you that you are revisiting matches that
  595. you have already seen.
  596. ** Filling changes.
  597. *** If the variable colon-double-space is non-nil, the explicit fill
  598. commands put two spaces after a colon.
  599. *** Auto-Fill mode now supports Adaptive Fill mode just as the
  600. explicit fill commands do. The variable adaptive-fill-regexp
  601. specifies a regular expression to match text at the beginning of
  602. a line that should be the fill prefix.
  603. *** Adaptive Fill mode can take a fill prefix from the first line of a
  604. paragraph, *provided* that line is not a paragraph-starter line.
  605. Paragraph-starter lines are indented lines that start a new
  606. paragraph because they are indented. This indentation shouldn't
  607. be copied to additional lines.
  608. Whether indented lines are paragraph lines depends on the value of the
  609. variable paragraph-start. Some major modes set this; you can set it
  610. by hand or in mode hooks as well. For editing text in which paragraph
  611. first lines are not indented, and which contains paragraphs in which
  612. all lines are indented, you should use Indented Text mode or arrange
  613. for paragraph-start not to match these lines.
  614. *** You can specify more complex ways of choosing a fill prefix
  615. automatically by setting `adaptive-fill-function'. This function
  616. is called with point after the left margin of a line, and it should
  617. return the appropriate fill prefix based on that line.
  618. If it returns nil, that means it sees no fill prefix in that line.
  619. ** Gnus changes.
  620. Gnus, the Emacs news reader, has been rewritten and expanded. Most
  621. things that worked with the old version should still work with the new
  622. version. Code that relies heavily on Gnus internals is likely to
  623. fail, though.
  624. *** Incompatibilities with the old GNUS.
  625. **** All interactive commands have kept their names, but many internal
  626. functions have changed names.
  627. **** The summary mode gnus-uu commands have been moved from the `C-c
  628. C-v' keymap to the `X' keymap.
  629. **** There can now be several summary buffers active at once.
  630. Variables that are relevant to each summary buffer are buffer-local to
  631. that buffer.
  632. **** Old hilit code doesn't work at all. Gnus performs its own
  633. highlighting based not only on what's visible in the buffer, but on
  634. other data structures.
  635. **** Old packages like `expire-kill' will no longer work.
  636. **** `C-c C-l' in the group buffer no longer switches to a different
  637. buffer, but instead lists killed groups in the group buffer.
  638. *** New features.
  639. **** The look of all buffers can be changed by setting format-like
  640. variables.
  641. **** Local spool and several NNTP servers can be used at once.
  642. **** Groups can be combined into virtual groups.
  643. **** Different mail formats can be read much the same way as one would
  644. read newsgroups. All the mail backends implement mail expiry schemes.
  645. **** Gnus can use various strategies for gathering threads that have
  646. lost their roots (thereby gathering loose sub-threads into one thread)
  647. or it can go back and retrieve enough headers to build a complete
  648. thread.
  649. **** Killed groups can be read.
  650. **** Gnus can do partial group updates - you do not have to retrieve
  651. the entire active file just to check for new articles in a few groups.
  652. **** Gnus implements a sliding scale of subscribedness to groups.
  653. **** You can score articles according to any number of criteria. You
  654. can get Gnus to score articles for you using adaptive scoring.
  655. **** Gnus maintains a dribble buffer that is auto-saved the normal
  656. Emacs manner, so it should be difficult to lose much data on what you
  657. have read if your machine should go down.
  658. **** Gnus now has its own startup file (`.gnus.el') to avoid
  659. cluttering up the `.emacs' file.
  660. **** You can set the process mark on both groups and articles and
  661. perform operations on all the marked items.
  662. **** You can grep through a subset of groups and create a group from
  663. the results.
  664. **** You can list subsets of groups using matches on group names or
  665. group descriptions.
  666. **** You can browse foreign servers and subscribe to groups from those
  667. servers.
  668. **** Gnus can pre-fetch articles asynchronously on a second connection
  669. to the servers.
  670. **** You can cache articles locally.
  671. **** Gnus can fetch FAQs to and descriptions of groups.
  672. **** Digests (and other files) can be used as the basis for groups.
  673. **** Articles can be highlighted and customized.
  674. ** Changes to Version Control (VC)
  675. *** General changes (all backends).
  676. VC directory listings (C-x v d) are now kept up to date when you do a
  677. vc-next-action (C-x v v) on the marked files. The `g' command updates
  678. the buffer properly. `=' in a VC dired buffer produces a version
  679. control diff, not an ordinary diff.
  680. *** CVS changes.
  681. Under CVS, you no longer need to type C-x C-q before you can edit a
  682. file. VC doesn't write-protect unmodified buffers anymore; you can
  683. freely change them at any time. The mode line keeps track of the
  684. file status.
  685. If you do want unmodified files to be write-protected, set your
  686. CVSREAD environment variable. VC sees this and behaves accordingly;
  687. that will give you the behavior of Emacs 19.29, similar to that under
  688. RCS and SCCS. In this mode, if the variable vc-mistrust-permissions
  689. is nil, VC learns the modification state from the file permissions.
  690. When setting CVSREAD for the first time, you should check out the
  691. whole module anew, so that the file permissions are set correctly.
  692. VC also works with remote repositories now. When you visit a file, it
  693. doesn't run "cvs status" anymore, so there shouldn't be any long delays.
  694. Directory listings under VC/CVS have been enhanced. Type C-x v d, and
  695. you get a list of all files in or below the current directory that are
  696. not up-to-date. The actual status (modified, merge, conflict, ...) is
  697. displayed for each file. If you give a prefix argument (C-u C-x v d),
  698. up-to-date files are also listed. You can mark any number of files,
  699. and execute the next logical version control command on them (C-x v v).
  700. *** Starting a new branch.
  701. If you try to lock a version that is not the latest on its branch,
  702. VC asks for confirmation in the minibuffer. If you say no, it offers
  703. to lock the latest version instead.
  704. *** RCS non-strict locking.
  705. VC can now handle RCS non-strict locking, too. In this mode, working
  706. files are always writable and you needn't lock the file before making
  707. changes, similar to the default mode under CVS. To enable non-strict
  708. locking for a file, use the "rcs -U" command.
  709. *** Sharing RCS master files.
  710. If you share RCS subdirs with other users (through symbolic links),
  711. and you always want to work on the latest version, set
  712. vc-consult-headers to nil and vc-mistrust-permissions to `t'.
  713. Then you see the state of the *latest* version on the mode line, not
  714. that of your working file. When you do a check out, VC overwrites
  715. your working file with the latest version from the master.
  716. *** RCS customization.
  717. There is a new variable vc-consult-headers. If it is t (the default),
  718. VC searches for RCS headers in working files (like `$Id$') and
  719. determines the state of the file from them, not from the master file.
  720. This is fast and more reliable when you use branches. (The variable
  721. was already present in Emacs 19.29, but didn't get mentioned in the
  722. NEWS.)
  723. ** Calendar changes.
  724. *** New calendars supported: Chinese, Coptic, Ethiopic
  725. Here are the commands for converting to and from these calendars:
  726. gC: calendar-goto-chinese-date
  727. gk: calendar-goto-coptic-date
  728. ge: calendar-goto-ethiopic-date
  729. pC: calendar-print-chinese-date
  730. pk: calendar-print-coptic-date
  731. pe: calendar-print-ethiopic-date
  732. *** Printed calendars
  733. Calendar mode now has commands to produce fancy printed calendars via
  734. LaTeX. You can ask for a calendar for one or more days, weeks, months
  735. or years. The commands all start with `t'; see the manual for a list
  736. of them.
  737. *** New sexp diary entry type
  738. Reminders that apply in the days leading up to an event.
  739. ** The CC-mode package now provides the default C and C++ modes.
  740. See the manual for documentation of its features.
  741. ** The uniquify package chooses buffer names differently when you
  742. visit multiple files with the same name (in different directories).
  743. ** RMAIL now always uses the movemail program when it renames an
  744. inbox file, so that it can interlock properly with the mailer
  745. no matter where it is delivering mail.
  746. ** tex-start-of-header and tex-end-of-header are now regular expressions,
  747. not strings.
  748. ** To enable automatic uncompression of compressed files,
  749. type M-x auto-compression-mode. (This command used to be called
  750. toggle-auto-compression, but was not documented before.) In Lisp,
  751. you can do
  752. (auto-compression-mode 1)
  753. to turn the mode on.
  754. ** The new pc-select package emulates the key bindings for cutting and
  755. pasting, and selection of regions, found in Windows, Motif, and the
  756. Macintosh.
  757. ** Help buffers now use a special major mode, Help mode. This mode
  758. normally turns on View mode; it also provides a hook, help-mode-hook,
  759. which you can use for other customization.
  760. ** Apropos now uses faces for enhanced legibility. It now describes
  761. symbol properties as well as their function definitions and variable
  762. values. You can use Mouse-2 or RET to get more information about a
  763. function definition, variable, or property.
  764. ** Font Lock mode
  765. *** Supports Scheme, TCL and Help modes
  766. For example, to automatically turn on Font Lock mode in the *Help*
  767. buffer, put:
  768. (add-hook 'help-mode-hook 'turn-on-font-lock)
  769. in your ~/.emacs.
  770. *** Enhanced fontification
  771. The structure of font-lock-keywords is extended to allow "anchored" keywords.
  772. Typically, a keyword item of font-lock-keywords comprises a regexp to search
  773. for and information to specify how the regexp should be highlighted. However,
  774. the highlighting information is extended so that it can be another keyword
  775. item. This keyword item, its regexp and highlighting information, is processed
  776. before resuming with the keyword item of which it is part.
  777. For example, a typical keyword item might be:
  778. ("\\<anchor\\>" (0 anchor-face))
  779. which fontifies each occurrence of the discrete word "anchor" in the value of
  780. the variable anchor-face. However, the highlighting information can be used to
  781. fontify text that is anchored to the word "anchor". For example:
  782. ("\\<anchor\\>" (0 anchor-face) ("\\=[ ,]*\\(item\\)" nil nil (1 item-face)))
  783. which fontifies each occurrence of "anchor" as above, but for each occurrence
  784. of "anchor", each occurrence of "item", in any following comma separated list,
  785. is fontified in the value of the variable item-face. Thus the "item" text is
  786. anchored to the "anchor" text. See the variable documentation for further
  787. information.
  788. This feature is used to extend the level and quality of fontification in a
  789. number of modes. For example, C/C++ modes now have level 3 decoration that
  790. includes the fontification of variable and function names in declaration lists.
  791. In this instance, the "anchor" described in the above example is a type or
  792. class name, and an "item" is a variable or function name.
  793. *** Fontification levels
  794. The variables font-lock-maximum-decoration and font-lock-maximum-size are
  795. extended to specify levels and sizes for specific modes. The variable
  796. font-lock-maximum-decoration specifies the preferred level of fontification for
  797. modes that provide multiple levels (typically from "subdued" to "gaudy"). The
  798. variable font-lock-maximum-size specifies the buffer size for which buffer
  799. fontification is suppressed when Font Lock mode is turned on (typically because
  800. it would take too long).
  801. These variables can now specify values for individual modes, by supplying
  802. lists of mode names and values. For example, to use the above mentioned level
  803. 3 decoration for buffers in C/C++ modes, and default decoration otherwise, put:
  804. (setq font-lock-maximum-decoration '((c-mode . 3) (c++-mode . 3)))
  805. in your ~/.emacs. Maximum buffer size values for individual modes are
  806. specified in the same way with the variable font-lock-maximum-size.
  807. *** Font Lock configuration
  808. The mechanism to provide default settings for Font Lock mode are the variables
  809. font-lock-defaults and font-lock-maximum-decoration. Typically, you should
  810. only need to change the value of font-lock-maximum-decoration. However, to
  811. support Font Lock mode for buffers in modes that currently do not support Font
  812. Lock mode, you should set a buffer local value of font-lock-defaults for that
  813. mode, typically via its mode hook.
  814. These variables are used by Font Lock mode to set the values of the variables
  815. font-lock-keywords, font-lock-keywords-only, font-lock-syntax-table,
  816. font-lock-beginning-of-syntax-function and font-lock-keywords-case-fold-search.
  817. You need not set these variables directly, and should not set them yourself
  818. since the underlining mechanism may change in future.
  819. ** Archive mode is now the default mode for various sorts of
  820. archive files (files whose names end with .arc, .lzh, .zip, and .zoo).
  821. ** You can automatically update the years in copyright notice by
  822. means of (add-hook 'write-file-hooks 'copyright-update).
  823. Optionally it can update the GPL version as well.
  824. ** Scripts of various languages (Shell, AWK, Perl, makefiles ...) can
  825. be automatically provided with a magic number and be made executable
  826. by their respective modes under control of various user variables.
  827. The mode must call (executable-set-magic "perl") or
  828. (executable-set-magic "make" "-f"). The latter for example has no
  829. effect on [Mm]akefile.
  830. ** Shell script mode now supports over 15 different shells. The new
  831. command C-c ! executes the region, and optionally beginning of script
  832. as well, by passing them to the shell.
  833. Cases such as `sh' being a `bash' are now accounted for.
  834. Fontification now also does variables, the magic number and all
  835. builtin commands. Shell script mode no longer mingles `tab-width' and
  836. indentation style. The variable `sh-tab-width' has been renamed to
  837. `sh-indentation'. Empty lines are now indented like previous
  838. non-empty line, rather than just previous line.
  839. The annoying $ variable prompting has been eliminated. Instead, shell
  840. script mode uses `comint-dynamic-completion' for commands, variables
  841. and filenames.
  842. ** Two-column mode now automatically scrolls both buffers together,
  843. which makes it possible to eliminate the special scrolling commands
  844. that used to do so.
  845. The commands that operate in two-column mode are no longer bound to
  846. keys outside that mode. f2 o will now position at the same point in
  847. associated buffer.
  848. the new command f2 RET inserts a newline in both buffers, at point and
  849. at the corresponding position in the associated buffer.
  850. ** Skeleton commands now work smoothly as abbrev definitions. The
  851. element < no longer exists, ' is a new element.
  852. ** The autoinsert insert facility for prefilling empty files as soon
  853. as they are found has been extended to accommodate skeletons or calling
  854. functions. See the function auto-insert.
  855. ** TPU-edt Changes
  856. Loading tpu-edt no longer turns on tpu-edt mode. In fact, it is no
  857. longer necessary to explicitly load tpu-edt. All you need to do to
  858. turn on tpu-edt is run the tpu-edt function. Here's how to run
  859. tpu-edt instead of loading the file:
  860. Running Emacs: Type emacs -f tpu-edt
  861. not emacs -l tpu-edt
  862. Within Emacs: Type M-x tpu-edt <ret>
  863. not M-x load-library <ret> tpu-edt <ret>
  864. In .emacs: Use (tpu-edt)
  865. not (load "tpu-edt")
  866. The default name of the tpu-edt X key definition file has changed from
  867. ~/.tpu-gnu-keys to ~/.tpu-keys. If you don't rename the file yourself,
  868. tpu-edt will offer to rename it the first time you invoke it under
  869. x-windows.
  870. ** MS-DOS Enhancements:
  871. *** Better mouse control by adding the following functions [in dosfns.c]
  872. msdos-mouse-enable, msdos-mouse-disable, msdos-mouse-init.
  873. *** If another foreground/background color than the default is setup in
  874. your ~/_emacs, then the screen briefly flickers with the default
  875. colors before changing to the colors you have specified. To avoid
  876. this, the EMACSCOLORS environment variable exists. It shall be
  877. defined as a string with the following elements:
  878. set EMACSCOLORS=fb;fb
  879. The first set of "fb" defines the initial foreground and background
  880. colors using standard dos color numbers (0=black,.., 7=white).
  881. If specified, the second set of "fb" defines the colors which are
  882. restored when you leave emacs.
  883. *** The new SUSPEND environment variable can now be set as the shell to
  884. use when suspending emacs. This can be used to override the stupid
  885. limitation on the environment of sub-shells in MS-DOS (they are just
  886. large enough to hold the currently defined variables, not leaving
  887. room for more); to overcome this limitation, add this to autoexec.bat:
  888. set SUSPEND=%COMSPEC% /E:2000
  889. ** The escape character can now be displayed on X frames. Try
  890. this:
  891. (aset standard-display-table 27 (vector 27))
  892. after first creating a display table (you can do that by loading
  893. the disp-table library).
  894. ** The new command-line option --eval specifies an expression to evaluate
  895. from the command line.
  896. ** etags has now the ability to tag Perl files. They are recognized
  897. either by the .pm and .pl suffixes or by a first line which starts
  898. with `#!' and specifies a Perl interpreter. The tagged lines are
  899. those beginning with the `sub' keyword.
  900. New suffixes recognized are .hpp for C++; .f90 for Fortran; .bib,
  901. .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp; .prolog for
  902. prolog (.pl is now Perl).
  903. ** The files etc/termcap.dat and etc/termcap.ucb have been replaced
  904. with a new, merged, and much more comprehensive termcap file. The
  905. new file should include all the special entries from the old one.
  906. This new file is under active development as part of the ncurses
  907. project. If you have any questions about this file, or problems with
  908. an entry in it, email terminfo@ccil.org.
  909. * Lisp changes in Emacs 19.30.
  910. ** New Data Types
  911. *** There is a new data type called a char-table which is an array
  912. indexed by a character. Currently this is mostly equivalent to a
  913. vector of length 256, but in the future, when a wider character set is
  914. in use, it will be different. To create one, call
  915. (make-char-table SUBTYPE INITIAL-VALUE)
  916. SUBTYPE is a symbol that identifies the specific use of this
  917. character table. It can be any of these values:
  918. syntax-table
  919. display-table
  920. keyboard-translate-table
  921. case-table
  922. The function `char-table-subtype' returns the subtype of a char-table.
  923. You cannot alter the subtype of an existing char-table.
  924. A char-table has an element for each character code. It also has some
  925. "extra slots". The number of extra slots depends on the subtype and
  926. their use depends on the subtype. (Each subtype symbol has a
  927. `char-table-extra-slots' property that says how many extra slots to
  928. make.) Use (char-table-extra-slot TABLE N) to access extra slot N and
  929. (set-char-table-extra-slot TABLE N VALUE) to store VALUE in slot N.
  930. A char-table T can have a parent, which should be another char-table
  931. P. If you look for the value in T for character C, and the table T
  932. actually holds nil, P's element for character C is used instead.
  933. The functions `char-table-parent' and `set-char-table-parent'
  934. let you read or set the parent of a char-table.
  935. To scan all the values in a char-table, do not try to loop through all
  936. possible character codes. That would work for now, but will not work
  937. in the future. Instead, call map-char-table. (map-char-table
  938. FUNCTION TABLE) calls FUNCTION once for each character or character
  939. set that has a distinct value in TABLE. FUNCTION gets two arguments,
  940. RANGE and VALUE. RANGE specifies a range of TABLE that has one
  941. uniform value, and VALUE is the value in TABLE for that range.
  942. Currently, RANGE is always a vector containing a single character
  943. and it refers to that character alone. In the future, other kinds
  944. of ranges will occur. You can set the value for a given range
  945. with (set-char-table-range TABLE RANGE VALUE) and examine the value
  946. for a range with (char-table-range TABLE RANGE).
  947. *** Syntax tables are now represented as char-tables.
  948. All syntax tables other than the standard syntax table
  949. normally have the standard syntax table as their parent.
  950. Their subtype is `syntax-table'.
  951. *** Display tables are now represented as char-tables.
  952. Their subtype is `display-table'.
  953. *** Case tables are now represented as char-tables.
  954. Their subtype is `case-table'.
  955. *** The value of keyboard-translate-table may now be a char-table
  956. instead of a string. Normally the char-tables used for this purpose
  957. have the subtype `keyboard-translate-table', but that is not required.
  958. *** A new data type called a bool-vector is a vector of values
  959. that are either t or nil. To create one, do
  960. (make-bool-vector LENGTH INITIAL-VALUE)
  961. ** You can now specify, for each marker, how it should relocate when
  962. text is inserted at the place where the marker points. This is called
  963. the "insertion type" of the marker.
  964. To set the insertion type, do (set-marker-insertion-type MARKER TYPE).
  965. If TYPE is t, it means the marker advances when text is inserted. If
  966. TYPE is nil, it means the marker does not advance. (In Emacs 19.29,
  967. markers did not advance.)
  968. The function marker-insertion-type reports the insertion type of a
  969. given marker. The function copy-marker takes a second argument TYPE
  970. which specifies the insertion type of the new copied marker.
  971. ** When you create an overlay, you can specify the insertion type of
  972. the beginning and of the end. To do this, you can use two new
  973. arguments to make-overlay: front-advance and rear-advance.
  974. ** The new function overlays-in returns a list of the overlays that
  975. overlap a specified range of the buffer. The returned list includes
  976. empty overlays at the beginning of this range, as well as within the
  977. range.
  978. ** The new hook window-scroll-functions is run when a window has been
  979. scrolled. The functions in this list are called just before
  980. redisplay, after the new window-start has been computed. Each function
  981. is called with two arguments--the window that has been scrolled, and its
  982. new window-start position.
  983. This hook is useful for on-the-fly fontification and other features
  984. that affect how the redisplayed text will look when it is displayed.
  985. The window-end value of the window is not valid when these functions
  986. are called. The computation of window-end is byproduct of actual
  987. redisplay of the window contents, which means it has not yet happened
  988. when the hook is run. Computing window-end specially in advance for
  989. the sake of these functions would cause a slowdown.
  990. The hook functions can determine where the text on the window will end
  991. by calling vertical-motion starting with the window-start position.
  992. ** The new hook redisplay-end-trigger-functions is run whenever
  993. redisplay in window uses text that extends past a specified end
  994. trigger position. You set the end trigger position with the function
  995. set-window-redisplay-end-trigger. The functions are called with two
  996. arguments: the window, and the end trigger position. Storing nil for
  997. the end trigger position turns off the feature, and the trigger value
  998. is automatically reset to nil just after the hook is run.
  999. You can use the function window-redisplay-end-trigger to read a
  1000. window's current end trigger value.
  1001. ** The new function insert-file-contents-literally inserts the
  1002. contents of a file without any character set translation or decoding.
  1003. ** The new function safe-length computes the length of a list.
  1004. It never gets an error--it treats any non-list like nil.
  1005. If given a circular list, it returns an upper bound for the number
  1006. of elements before the circularity.
  1007. ** replace-match now takes a fifth argument, SUBEXP. If SUBEXP is
  1008. non-nil, that says to replace just subexpression number SUBEXP of the
  1009. regexp that was matched, not the entire match. For example, after
  1010. matching `foo \(ba*r\)' calling replace-match with 1 as SUBEXP means
  1011. to replace just the text that matched `\(ba*r\)'.
  1012. ** The new keymap special-event-map defines bindings for certain
  1013. events that should be handled at a very low level--as soon as they
  1014. are read. The read-event function processes these events itself,
  1015. and never returns them.
  1016. Events that are handled in this way do not echo, they are never
  1017. grouped into key sequences, and they never appear in the value of
  1018. last-command-event or (this-command-keys). They do not discard a
  1019. numeric argument, they cannot be unread with unread-command-events,
  1020. they may not appear in a keyboard macro, and they are not recorded
  1021. in a keyboard macro while you are defining one.
  1022. These events do, however, appear in last-input-event immediately after
  1023. they are read, and this is the way for the event's definition to find
  1024. the actual event.
  1025. The events types iconify-frame, make-frame-visible and delete-frame
  1026. are normally handled in this way.
  1027. ** encode-time now supports simple date arithmetic by means of
  1028. out-of-range values for its SEC, MINUTE, HOUR, DAY, and MONTH
  1029. arguments; for example, day 0 means the day preceding the given month.
  1030. Also, the ZONE argument can now be a TZ-style string.
  1031. ** command-execute and call-interactively now accept an optional third
  1032. argument KEYS. If specified and non-nil, this specifies the key
  1033. sequence containing the events that were used to invoke the command.
  1034. ** The environment variable NAME, if set, now specifies the value of
  1035. (user-full-name), when Emacs starts up.
  1036. * User Editing Changes in Emacs 19.29
  1037. ** If you run out of memory.
  1038. If you get the error message "Virtual memory exhausted", type C-x s.
  1039. That way of saving files has the least additional memory needs. Emacs
  1040. 19.29 keeps a reserve of memory which it makes available when this
  1041. error happens; that is to ensure that C-x s can complete its work.
  1042. Once you have saved your data, you can exit and restart Emacs, or use
  1043. M-x kill-some-buffers to free up space. If you kill buffers
  1044. containing a substantial amount of text, you can go on editing.
  1045. Do not use M-x buffer-menu to save or kill buffers when you are out of
  1046. memory, because that needs a fair amount memory itself and you may not
  1047. have enough to get it started.
  1048. ** The format of compiled files has changed incompatibly.
  1049. Byte-compiled files made with Emacs 19.29 normally use a new format
  1050. that will not work in older Emacs versions. You can compile files
  1051. in the old format if you wish; see "Changes in compilation," below.
  1052. ** Emacs 19.29 supports the DEC Alpha.
  1053. ** Emacs runs on Windows NT.
  1054. This port does not yet support windowing features. It works like a
  1055. text-only terminal, but it does support a mouse.
  1056. In general, support for non-GNU-like operating systems is not a high
  1057. priority for the GNU project. We merged in the support for Windows NT
  1058. because that system is expected to be very widely used.
  1059. ** Emacs supports Motif widgets.
  1060. You can build Emacs with Motif widgets by specifying --with-x-toolkit=motif
  1061. when you run configure.
  1062. Motif defines collections of windows called "tab groups", and uses the
  1063. tab key and the cursor keys to move between windows in a tab group.
  1064. Emacs naturally does not support this--it has other uses for the tab
  1065. key and cursor keys. Emacs does not support Motif accelerators either,
  1066. because it uses its normal keymap event binding features.
  1067. We give higher priority to operation with a free widget set than to
  1068. operation with a proprietary one.
  1069. ** If Emacs or the computer crashes, you can recover all the files you
  1070. were editing from their auto save files by typing M-x recover-session.
  1071. This first shows you a list of recorded interrupted sessions. Move
  1072. point to the one you choose, and type C-c C-c.
  1073. Then recover-session asks about each of the files that were being
  1074. edited during that session, asking whether to recover that file. If
  1075. you answer y, it calls recover-file, which works in its normal
  1076. fashion. It shows the dates of the original file and its auto-save
  1077. file and asks once again whether to recover that file.
  1078. When recover-session is done, the files you've chosen to recover
  1079. are present in Emacs buffers. You should then save them.
  1080. Only this--saving them--updates the files themselves.
  1081. ** Menu bar menus now stay up if you click on the menu bar item and
  1082. release the mouse button within a certain amount of time. This is in
  1083. the X Toolkit version.
  1084. ** The menu bar menus have been rearranged and split up to make for a
  1085. better organization. Two new menu bar menus, Tools and Search,
  1086. contain items that were formerly in the Files and Edit menus, as well
  1087. as some that did not exist in the menu bar menus before.
  1088. ** Emacs can now display on more than one X display at the same time.
  1089. Use the command make-frame-on-display to create a frame, specifying
  1090. which display to use.
  1091. ** M-x talk-connect sets up a multi-user talk connection
  1092. via Emacs. Specify the X display of the person you want to talk to.
  1093. You can talk to any number of people (within reason) by using
  1094. this command repeatedly to specify different people.
  1095. Emacs does not make a fuss about security; the people who you talk to
  1096. can use all Emacs features, including visiting and editing files. If
  1097. this frightens you, don't use M-x talk-connect.
  1098. ** The range of integer values is now at least 2**28 on all machines.
  1099. This means the maximum size of a buffer is at least 2**27-1,
  1100. or 134,217,727.
  1101. ** When you start Emacs, you can now specify option names in
  1102. long GNU form (starting with `--') and you can abbreviate the names.
  1103. You can now specify the options in any order.
  1104. The previous requirements about the order of options
  1105. have been eliminated.
  1106. The -L or --directory option lets you specify an additional
  1107. directory to search for Lisp libraries (including libraries
  1108. that you specify with the -l or --load options).
  1109. ** Incremental search in Transient Mark mode, if the mark is already
  1110. active, now leaves the mark active and does not change its position.
  1111. You can make incremental search deactivate the mark once again with
  1112. this expression.
  1113. (add-hook 'isearch-mode-hook 'deactivate-mark)
  1114. ** C-delete now deletes a word backwards. This is for compatibility
  1115. with some editors in the PC world. (This key is not available on
  1116. ordinary ASCII terminals, because C-delete is not a distinct character
  1117. on those terminals.)
  1118. ** ESC ESC ESC is now a command to escape from various temporary modes
  1119. and states.
  1120. ** M-x pc-bindings-mode sets up bindings compatible with many PC editors.
  1121. In particular, Delete and its variants delete forward instead of backward.
  1122. Use Backspace to delete backward.
  1123. C-Backspace kills backward a word (as C-Delete normally would).
  1124. M-Backspace does undo.
  1125. Home and End move to beginning and end of line
  1126. C-Home and C-End move to beginning and end of buffer.
  1127. ** The key sequence for evaluating a Lisp expression using the minibuffer
  1128. is now ESC :. It used to be ESC ESC, but we moved it to make way for
  1129. the ESC ESC ESC feature, on the grounds that people who evaluate Lisp
  1130. expressions are experienced users and can cope with a change.
  1131. If you prefer the old ESC ESC binding, put in your `~/.emacs':
  1132. (global-set-key "\e\e" 'eval-expression)
  1133. ** The f1 function key is now equivalent to the help key. This is
  1134. done with key-translation-map; delete the binding for f1 in that map
  1135. if you want to use f1 for something else.
  1136. ** Mouse-3, in the simplest case, still sets the region. But now, it
  1137. places the mark where point was, and sets point where you click.
  1138. (It used to set the mark where you click and leave point alone.)
  1139. If you position point with Mouse-1, then scroll with the scroll bar
  1140. and use Mouse-3, Mouse-3 uses the position you specified with Mouse-1
  1141. even if it has scrolled off the screen (and point is no longer there).
  1142. This makes it easier to select a region with the mouse which is bigger
  1143. than a screenful.
  1144. Any editing of the buffer, and any cursor motion or scrolling for any
  1145. reason other than the scroll bar, cancels the special state set up by
  1146. Mouse-1--so that a subsequent Mouse-3 click will use the actual value
  1147. of point.
  1148. ** C-mouse-3 now pops up a mode-specific menu of commands--normally
  1149. the same ones available in the mode's own menu bar menus.
  1150. ** C-mouse-2 now pops up a menu of faces, indentation, justification,
  1151. and certain other text properties. This menu is also available
  1152. through the menu-bar Edit menu. It is meant for use with Enriched
  1153. mode.
  1154. *** You can use this menu to change the face of the region.
  1155. You can also set the face of the region with the new M-g command.
  1156. *** The menu also includes commands for indenting the region,
  1157. which locally changes the values of left-margin and fill-column that
  1158. are used.
  1159. *** All fill functions now indent every line to the left-margin. If
  1160. there is also a fill-prefix, that goes after the margin indentation.
  1161. *** Open-line and newline also make sure that the lines they create
  1162. are indented to the left margin.
  1163. *** It also allows you to set the "justification" of the region:
  1164. whether it should be centered, flush right, and so forth. The fill
  1165. functions (including auto-fill-mode) will maintain the justification
  1166. and indentation that you request.
  1167. *** The new function `list-colors-display' shows you what colors are
  1168. available. This is also accessible from the C-mouse-2 menu.
  1169. ** You can now save and load files including their faces and other
  1170. text-properties by using Enriched-mode. Files are saved in an
  1171. extended version of the MIME text/enriched format. You can use the
  1172. menus described above, or M-g and other keyboard commands, to
  1173. alter the formatting information.
  1174. ** C-mouse-1 now pops up the menu for changing the frame's default font.
  1175. ** You can input Hyper, Super, Meta, and Alt characters, as well as
  1176. non-ASCII control characters, on an ASCII-only terminal.
  1177. To do this, use
  1178. C-x @ h -- hyper
  1179. C-x @ s -- super
  1180. C-x @ m -- meta
  1181. C-x @ a -- alt
  1182. C-x @ S -- shift
  1183. C-x @ c -- control
  1184. These are not ordinary key sequences; they operate through
  1185. function-key-map, which means they can be used even in the
  1186. middle of an ordinary key sequence.
  1187. ** Outline minor mode and Hideif mode now use C-c @ as their prefix
  1188. character.
  1189. ** Echo area messages are now logged in the "*Messages*" buffer. The
  1190. size of this buffer is limited to message-log-max lines.
  1191. ** RET in various special modes for read-only buffers that contain
  1192. lists of items now selects the item point is on. These modes include
  1193. Dired, Compilation buffers, Buffer-menu, Tar mode, and Occur mode.
  1194. (In Info, RET follows the reference near point; in completion list
  1195. buffers, RET chooses the completion around point.)
  1196. ** set-background-color now updates the modeline face in a special
  1197. way. If that face was previously set up to be reverse video, the
  1198. reverse of the default face, then set-background-color updates it so
  1199. that it remains the reverse of the default face.
  1200. ** The functions raise-frame and lower-frame are now commands.
  1201. When used interactively, they apply to the selected frame.
  1202. ** M-x buffer-menu now displays the buffer list in the selected window.
  1203. Use M-x buffer-menu-other-window to display it in another window.
  1204. ** M-w followed by a kill command now *does not* append the text in
  1205. the kill ring. In consequence, M-w followed by C-w works as you would
  1206. expect: it leaves the top of the kill ring matching the region that
  1207. you killed.
  1208. ** In Lisp mode, the C-M-x command now executes defvar forms in a
  1209. special way: it unconditionally sets the variable to the specified
  1210. default value, if there is one. Normal execution of defvar does not
  1211. alter the variable if it already has a non-void value.
  1212. ** In completion list buffers, the left and right arrow keys run the
  1213. new commands previous-completion and next-completion. They move one
  1214. completion at a time.
  1215. ** While doing completion in the minibuffer, the `prior' or `pageup'
  1216. key switches to the completion list window.
  1217. ** When you exit the minibuffer with empty contents, the empty string
  1218. is not put in the minibuffer history.
  1219. ** The default buffer for insert-buffer is now the "first" buffer
  1220. other than the current one. If you have more than one window, this
  1221. is a buffer visible in another window. (Usually it is the buffer
  1222. that C-M-v would scroll.)
  1223. ** The etags program is now capable of recording tags based on regular
  1224. expressions provided on the command line.
  1225. This new feature allows easy support for constructs not normally
  1226. handled by etags, such as the macros frequently used in big C/C++
  1227. projects to define project-specific structures. It also enables the
  1228. use of etags and TAGS files for languages not supported by etags.
  1229. The Emacs manual section on Tags contains explanations and examples
  1230. for Emacs's DEFVAR, VHDL, Cobol, PostScript and TCL.
  1231. ** Various mode-specific commands that used to be bound to C-c LETTER
  1232. have been moved.
  1233. *** In gnus-uu mode, gnus-uu-interactive-scan-directory is now on C-c C-d,
  1234. and gnus-uu-interactive-save-current-file is on C-c C-z.
  1235. *** In Scribe mode, scribe-insert-environment is now on C-c C-v,
  1236. scribe-chapter is on C-c C-c, scribe-subsection is on C-c C-s,
  1237. scribe-section is on C-c C-t, scribe-bracket-region-be is on C-c C-e,
  1238. scribe-italicize-word is on C-c C-i, scribe-bold-word is on C-c C-b,
  1239. and scribe-underline-word is on C-c C-u.
  1240. *** In Gomoku mode, gomoku-human-takes-back is now on C-c C-b,
  1241. gomoku-human-plays is on C-c C-p, gomoku-human-resigns is on C-c C-r,
  1242. and gomoku-emacs-plays is on C-c C-e.
  1243. *** In the Outline mode defined in allout.el,
  1244. outline-rebullet-current-heading is now on C-c *.
  1245. ** M-s in Info now searches through the nodes of the Info file,
  1246. just like s. The alias M-s was added so that you can use the same
  1247. command for searches in both Info and Rmail.
  1248. ** iso-acc.el now lets you enter inverted-! and inverted-?
  1249. with the sequences ~! and ~?.
  1250. ** M-x compare-windows now pushes mark in both windows before
  1251. it starts moving point.
  1252. ** There are two new commands in Dired, A (dired-do-search)
  1253. and Q (dired-do-query-replace). These are similar to tags-search and
  1254. tags-query-replace, but instead of searching the list of files that
  1255. appears in a tags table, they search all the files marked in Dired.
  1256. ** Changes to dabbrev.
  1257. A new function, `dabbrev-completion' (bound to M-C-/), expands the
  1258. unique part of an abbreviation.
  1259. Dabbrev now looks for expansions in other buffers, looks for symbols
  1260. instead of words and it works in the minibuffer.
  1261. Dabbrev can be customized to work for shell scripts, with variables
  1262. that sometimes have and sometimes haven't a leading "$". See the
  1263. variable 'dabbrev-abbrev-skip-leading-regexp'.
  1264. ** In Rmail, the command rmail-input-menu has been eliminated. The
  1265. feature of selecting an Rmail file from a menu is now implemented in
  1266. another way.
  1267. ** Bookmarks changes.
  1268. *** It now works to set bookmarks in Info nodes.
  1269. *** Bookmarks can have annotations; type "C-h m" after doing
  1270. "M-x list-bookmarks", for more information on annotations.
  1271. *** The bookmark-jump popup menu function is now `bookmark-menu-jump', for
  1272. those who bind it to a mouse click.
  1273. *** The default bookmarks file name is now "~/.emacs.bmk". If you
  1274. already have a bookmarks file, it will be renamed automagically when
  1275. you next load it.
  1276. ** New package, ps-print.
  1277. The ps-print package generates PostScript printouts of buffers or
  1278. regions, and includes face attributes such as color, underlining,
  1279. boldface and italics in the printed output.
  1280. ** New package, msb.
  1281. The msb package provides a buffer-menu in the menubar with separate
  1282. menus for different types of buffers.
  1283. ** `cpp.el' is a new library that can highlight or hide parts of a C
  1284. file according to C preprocessor conditionals. To try it, run the
  1285. command M-x cpp-highlight-buffer.
  1286. ** Changes in CC mode.
  1287. *** c-set-offset and related functions and variables can now accept
  1288. variable symbols. Also ++ and -- which mean 2* positive and negative
  1289. c-basic-offset respectively.
  1290. *** New variable, c-recognize-knr-p, which controls whether K&R C
  1291. constructs will be recognized. Trying to recognize K&R constructs is a
  1292. time hog so if you're programming strictly in ANSI C, set this
  1293. variable to nil (it should already be nil in c++-mode).
  1294. *** New variable, c-hanging-comment-ender-p for controlling
  1295. c-fill-paragraph's behavior.
  1296. *** New syntactic symbol: statement-case-open. This is assigned to lines
  1297. containing an open brace just after a case/default label.
  1298. *** New variable, c-progress-interval, which controls minibuffer update
  1299. message displays during long re-indentation. This is a new feature
  1300. which prints percentage complete messages at specified intervals.
  1301. ** Makefile mode changes.
  1302. *** The electric keys are not enabled by default.
  1303. *** There is now a mode-specific menu bar menu.
  1304. *** The mode supports font-lock, add-log, and imenu.
  1305. *** The command M-TAB does completion of target names and variable names.
  1306. ** icomplete.el now works more like a minor mode. Use M-x icomplete-mode
  1307. to turn it on and off.
  1308. Icomplete now supports an `icomplete-minibuffer-setup-hook', which is
  1309. run on minibuffer setup whenever icompletion will be occurring. This
  1310. hook can be used to customize interoperation of icomplete with other
  1311. minibuffer-specific packages, eg rsz-mini. See the doc string for
  1312. more info.
  1313. ** Ediff change.
  1314. Use ediff-revision instead of vc-ediff. It also replaces rcs-ediff,
  1315. for those who use that; if you want to use a version control package
  1316. other than vc.el, you must set the variable
  1317. ediff-version-control-package to specify which package.
  1318. ** VC now supports branches with RCS.
  1319. You can use C-u C-x C-q to select any branch or version by number.
  1320. It reads the version number or branch number with the minibuffer,
  1321. then checks out the file unlocked.
  1322. Type C-x C-q again to lock the selected branch or version.
  1323. When you check in changes to that branch or version, there are two
  1324. possibilities:
  1325. -- If you've selected a branch, or a version at the tip of a branch,
  1326. then the new version adds to that branch. If you wish to create a
  1327. new branch, use C-u C-x C-q to specify a version number when you check
  1328. in the new version.
  1329. -- If you've selected an inner version which is not the latest in its
  1330. branch, then the new version automatically creates a new branch.
  1331. ** VC now supports CVS as well as RCS and SCCS.
  1332. Since there are no locks in CVS, some things behave slightly
  1333. different when the backend is CVS. When vc-next-action is invoked
  1334. in a directory handled by CVS, it does the following:
  1335. If the file is not already registered, this registers it for version
  1336. control. This does a "cvs add", but no "cvs commit".
  1337. If the file is added but not committed, it is committed.
  1338. If the file has not been changed, neither in your working area or
  1339. in the repository, a message is printed and nothing is done.
  1340. If your working file is changed, but the repository file is
  1341. unchanged, this pops up a buffer for entry of a log message; when you
  1342. finish the log message with C-c C-c, that checks in the resulting
  1343. changes along with the log message as change commentary. A writable
  1344. file remains in existence.
  1345. If vc-next-action changes the repository file, it asks you
  1346. whether to merge in the changes into your working copy.
  1347. vc-directory, when started in a CVS file hierarchy, reports
  1348. all files that are modified (and thus need to be committed).
  1349. (When the backend is RCS or SCCS vc-directory reports all
  1350. locked files).
  1351. VC has no support for running the initial "cvs checkout" to get a
  1352. working copy of a module. You can only use VC in a working copy of
  1353. a module.
  1354. You can disable the CVS support as follows:
  1355. (setq vc-master-templates (delq 'vc-find-cvs-master vc-master-templates))
  1356. or by setting vc-handle-cvs to nil.
  1357. This may be desirable if you run a non-standard version of CVS, or
  1358. if CVS was compiled with FORCE_USE_EDITOR or (possibly)
  1359. RELATIVE_REPOS.
  1360. ** Comint and shell mode changes:
  1361. *** Completion works with file names containing quoted characters.
  1362. File names containing special characters (such as " ", "!", etc.) that are
  1363. quoted with a "\" character are recognized during completion. Special
  1364. characters are quoted when they are inserted during completion.
  1365. *** You can use M-x comint-truncate-buffer to truncate the buffer.
  1366. When this command is run, the buffer is truncated to a maximum number
  1367. of lines, specified by the variable comint-buffer-maximum-size. Just
  1368. like the command comint-strip-ctrl-m, this can be run automatically
  1369. during process output by doing this:
  1370. (add-hook 'comint-output-filter-functions
  1371. 'comint-truncate-buffer)
  1372. ** Telnet mode buffer name changed.
  1373. The buffer name for a Telnet buffer is now *telnet-HOST*, not
  1374. *HOST-telnet*. This is for consistency with other Emacs packages.
  1375. ** M-x man (man) is now faster and more robust. On systems where the
  1376. entire man page is indented, the indentation is removed.
  1377. The user option names that used to end in -p now end in -flag. The
  1378. new names are: Man-reuse-okay-flag, Man-downcase-section-letters-flag,
  1379. Man-circular-pages-flag. The Man-notify user option has been renamed to
  1380. Man-notify-method and accepts one more value, `pushy', that just
  1381. switches the current buffer to the manpage buffer, without switching
  1382. frames nor changing your windows configuration.
  1383. A new user option Man-fontify-manpage-flag disables fontification
  1384. (thus speeding up man) when set to nil. Default is to fontify if a
  1385. window system is used. Two new user options Man-overstrike-face
  1386. (default 'bold) and Man-underline-face (default 'underline) can be set
  1387. to the preferred faces to be used for the words that man overstrikes
  1388. and underlines. Useful for those who like colored man pages.
  1389. Two new interactive functions are provided: Man-cleanup-manpage and
  1390. Man-fontify-manpage. Both can be used on a buffer that contains the
  1391. output of a `rsh host man manpage' command, or the output of an
  1392. `nroff -man -Tman manpage' command to make them readable.
  1393. Man-cleanup-manpage is faster, but does not fontify.
  1394. ** The new function modify-face makes it easy to specify
  1395. all the attributes of a face, all at once.
  1396. ** Faces now support background stippling.
  1397. Use the command set-face-stipple to specify the stipple-pattern for a
  1398. face. Use face-stipple to access the specified stipple pattern. The
  1399. existing face functions now handle the stipple pattern when
  1400. appropriate.
  1401. If you specify one of the standard gray colors as a face background
  1402. color, and your display doesn't handle gray, Emacs automatically uses
  1403. stipple instead to get the same effect.
  1404. ** Changes in Font Lock mode.
  1405. *** Fontification
  1406. Two new default faces are provided; `font-lock-variable-name-face' and
  1407. `font-lock-reference-face'. The face `font-lock-doc-string-face' has
  1408. been removed since it is the same as the existing
  1409. `font-lock-string-face'. Where appropriate, fontification
  1410. automatically uses these new faces.
  1411. Fontification via commands `font-lock-mode' and
  1412. `font-lock-fontify-buffer' is now cleanly interruptible (i.e., with
  1413. C-g). If you interrupt during the fontification process, the buffer
  1414. remains in its previous modified state and all highlighting is removed
  1415. from the buffer.
  1416. For C/C++ modes, Font Lock mode is much faster but highlights much
  1417. more. Other modes are faster/more extensive/more discriminatory, or a
  1418. combination of these.
  1419. To enable Font Lock mode, add the new function `turn-on-font-lock' in
  1420. one of the following ways:
  1421. (add-hook 'c-mode-hook 'turn-on-font-lock)
  1422. Or for any visited file with:
  1423. (add-hook 'find-file-hooks 'turn-on-font-lock)
  1424. *** Supports color and grayscale displays
  1425. Font Lock mode supports different ways of highlighting, depending on
  1426. the type of display and background shade. Attributes (face color,
  1427. bold, italic and underline, and display type and background mode) can
  1428. be controlled either from Emacs Lisp or X resources.
  1429. See the new variables `font-lock-display-type' and
  1430. `font-lock-face-attributes'.
  1431. *** Supports more modes
  1432. The following modes are directly supported:
  1433. ada-mode, asm-mode, bibtex-mode, c++-c-mode, c++-mode, c-mode,
  1434. change-log-mode, compilation-mode, dired-mode, emacs-lisp-mode,
  1435. fortran-mode, latex-mode, lisp-mode, mail-mode, makefile-mode,
  1436. outline-mode, pascal-mode, perl-mode, plain-tex-mode, rmail-mode,
  1437. rmail-summary-mode, scheme-mode, shell-mode, slitex-mode, tex-mode,
  1438. texinfo-mode.
  1439. See the new variables `font-lock-defaults-alist' and
  1440. `font-lock-defaults'.
  1441. Some modes support different levels of fontification. You can choose
  1442. to use the minimum or maximum available decoration by changing the
  1443. value of the new variable `font-lock-maximum-decoration'.
  1444. Programmers are urged to make available to the community their own
  1445. keywords for modes not yet supported. See font-lock.el for
  1446. information about efficiency.
  1447. *** fast-lock
  1448. The fast-lock package speeds up Font Lock mode by saving font choices
  1449. in associated cache files. When you visit a file with Font Lock mode
  1450. and Fast Lock mode turned on for the first time, the file's buffer is
  1451. fontified as normal. When certain events occur (such as exiting
  1452. Emacs), Fast Lock saves the highlighting in a cache file. When you
  1453. subsequently visit this file, its cache is used to restore the
  1454. highlighting.
  1455. To use this package, put in your `~/.emacs':
  1456. (add-hook 'font-lock-mode-hook 'turn-on-fast-lock)
  1457. To control the use of caches, see the documentation for `fast-lock-mode'.
  1458. ** You can tell pop-to-buffer to display certain buffers in the selected
  1459. window rather than finding some other window to display them in.
  1460. There are two variables you can use to specify these buffers.
  1461. same-window-buffer-names holds a list of buffer names; if a buffer's
  1462. name appears in this list, pop-to-buffer puts it in the selected window.
  1463. same-window-regexps holds a list of regexps--if any one of them
  1464. matches a buffer's name, then pop-to-buffer puts that buffer in the
  1465. selected window.
  1466. The default values of these variables are not nil: they list various
  1467. buffers that normally appear, when you as for them, in the selected
  1468. window. These include shell buffers, mail buffers, telnet buffers,
  1469. and others. By removing elements from these variables, you can ask
  1470. Emacs to display those buffers in separate windows.
  1471. ** The special-display-buffer-names and special-display-regexps lists
  1472. have been generalized. An element may now be a list. The car of the list
  1473. is the buffer name or regular expression for matching buffer names.
  1474. The cdr of the list can be an alist specifying additional frame
  1475. parameters for use in constructing the special display frame.
  1476. Alternatively, the cdr can have this form:
  1477. (FUNCTION ARGS...)
  1478. where FUNCTION is a symbol. Then the frame is constructed by calling
  1479. FUNCTION; its first argument is the buffer, and its remaining
  1480. arguments are ARGS.
  1481. ** If the environment variable REPLYTO is set, its value is the default
  1482. for mail-default-reply-to.
  1483. ** When you send a message in Emacs, if you specify an Rmail file with
  1484. the FCC: header field, Emacs converts the message to Rmail format
  1485. before writing it. Thus, the file never contains anything but Rmail
  1486. format messages.
  1487. ** The new variable mail-from-style controls whether the From: header
  1488. should include the sender's full name, and if so, which format to use.
  1489. ** The new variable mail-personal-alias-file specifies the name of the
  1490. user's personal aliases. This defaults to the file ~/.mailrc.
  1491. mailabbrev.el used to have its own variable for this purpose
  1492. (mail-abbrev-mailrc-file). That variable is no longer used.
  1493. ** In Buffer-Menu mode, the d and C-d commands (which mark buffers for
  1494. deletion) now accept a prefix argument which serves as a repeat count.
  1495. ** Changes in BibTeX mode.
  1496. *** Reference keys can now be entered with TAB completion. All
  1497. reference keys defined in that buffer and all labels that appear in
  1498. crossreference entries are object to completion.
  1499. *** Braces are supported as field delimiters in addition to quotes.
  1500. BibTeX entries may have brace-delimited and quote-delimited fields
  1501. intermixed. The delimiters generated for new entries are specified by
  1502. the variables bibtex-field-left-delimiter and
  1503. bibtex-field-right-delimiter on a buffer-local basis. Those variables
  1504. default to braces, since it is easier to put quote accented characters
  1505. (as the german umlauts) into a brace-delimited entry.
  1506. *** The function bibtex-clean-entry can now be invoked with a prefix
  1507. argument. In this case, a label is automatically generated from
  1508. various fields in the record. If bibtex-clean-entry is invoked on a
  1509. record without label, a label is also generated automatically.
  1510. Various variables (all beginning with `bibtex-autokey-') control the
  1511. creation of that key. The variable bibtex-autokey-edit-before-use
  1512. determines, if the user is allowed to edit auto-generated reference
  1513. keys before they are used.
  1514. *** A New function bibtex-complete-string completes strings with
  1515. respect to the strings defined in this buffer and a set of predefined
  1516. strings (initialized to the string macros defined in the standard
  1517. BibTeX style files) in the same way in which ispell-complete-word
  1518. works with respect to words in a dictionary. Candidates for
  1519. bibtex-complete-string are initialized from variable
  1520. bibtex-predefined-strings and by parsing the files found in
  1521. bibtex-string-files for @String definitions.
  1522. *** Every reference/field pair has now attached a comment which
  1523. appears in the echo area when this field is edited. These comments
  1524. should provide useful hints for BibTeX usage, especially for BibTeX
  1525. beginners. New variable bibtex-help-message determines if these help
  1526. messages are to appear in the minibuffer when moving to a text entry.
  1527. *** Inscriptions of menu bar changed from "Entry Types" to
  1528. "Entry-Types" and "Bibtex Edit" to "BibTeX-Edit".
  1529. *** The variable bibtex-include-OPTcrossref is now not longer a binary
  1530. switch but a list of reference names which should contain a crossref
  1531. field. E.g., you can tell bibtex-mode you want a crossref field for
  1532. @InProceedings and @InBook entries but for no other.
  1533. *** The function validate-bibtex-buffer was completely rewritten to
  1534. validate if a buffer is syntactically correct. find-bibtex-duplicates
  1535. is no longer a function itself but was moved into
  1536. validate-bibtex-buffer.
  1537. *** Cleaning a BibTeX entry tests, if necessary fields are there.
  1538. E.g., if you tell bibtex-mode to include a crossref entry, some fields
  1539. are optional which would be required without the crossref entry. If
  1540. you now leave the crossref entry empty and do a bibtex-clean-entry
  1541. with some now required fields left empty, version 2.0 of bibtex.el
  1542. complains about the absence of these fields, whereas version 1.3
  1543. didn't.
  1544. *** Default value for variables bibtex-maintain-sorted-entries and
  1545. bibtex-sort-ignore-string-entries is now t.
  1546. *** All interactive functions are renamed to begin with `bibtex-'.
  1547. *** Keybindings with \C-c\C-e entry changed for unification. Often
  1548. used reference types are now on control-modified keys, mediocre used
  1549. types are on unmodified keys, seldom used types are on shift-modified
  1550. keys and almost never used types on meta-modified keys.
  1551. * Configuration Changes in Emacs 19.29
  1552. ** Emacs now uses directory /usr/local/share for most of its installed
  1553. files. This follows a GNU convention for directory usage.
  1554. ** The option --with-x11 is no longer supported.
  1555. X11 is the only version of X that Emacs 19.29 supports;
  1556. use --with-x if you need to request X support explicitly.
  1557. (Normally this should not be necessary, since configure should
  1558. automatically enable X support if X is installed on your machine.)
  1559. ** If you use the site-init.el file to set the variable
  1560. mail-host-address to a string in the dumped Emacs, that string becomes
  1561. the default host address for initializing user-mail-address.
  1562. It is used instead of the value of (system-name).
  1563. * Lisp-Level Changes in Emacs 19.29
  1564. ** Basic Lisp
  1565. *** The range of integer values is now at least 2**28 on all machines.
  1566. This means the maximum size of a buffer is at least 2**27-1,
  1567. or 134,217,727.
  1568. *** You can now use Common Lisp syntax for the backquote and comma
  1569. macros. Thus, you can now write `(x ,y z) instead of (` (x (, y) z)).
  1570. The old syntax is still accepted.
  1571. *** The new function rassoc is like assoc, except that it compares the
  1572. key against the cdr of each alist element, where assoc would compare
  1573. it against the car of each alist element.
  1574. *** The new function unintern deletes a symbol from an obarray. The
  1575. first argument can be the symbol to delete, or a string giving its
  1576. name. The second argument specifies the obarray (nil means the
  1577. current default obarray).
  1578. If the specified symbol is not in the obarray, or if there's no symbol
  1579. in the obarray matching the specified string, unintern does nothing
  1580. and returns nil. If it does delete a symbol, it returns t.
  1581. *** You can specify an alternative read function for use by load and
  1582. eval-region by binding the variable load-read-function to some other
  1583. function. This function should accept one argument just like read.
  1584. If load-read-function is nil, load and eval-region use ordinary read.
  1585. *** The new function `type-of' takes any object as argument, and
  1586. returns a symbol identifying the type of that object--one of `symbol',
  1587. `integer', `float', `string', `cons', `vector', `marker', `overlay',
  1588. `window', `buffer', `subr', `compiled-function',
  1589. `window-configuration', `process'.
  1590. *** When you use eval-after-load for a file that is already loaded, it
  1591. executes the FORM right away. As before, if the file is not yet
  1592. loaded, it arranges to execute FORM if and when the file is loaded
  1593. later. The result is: if you have called eval-after-load for a file,
  1594. and if that file has been loaded, then regardless of the order of
  1595. these two events, the specified form has been evaluated.
  1596. *** The Lisp construct #@NUMBER now skips the next NUMBER characters,
  1597. treating them as a comment.
  1598. You would not want to use this in a file you edit by hand, but it is
  1599. useful for commenting out parts of machine-generated files.
  1600. *** Two new functions, `plist-get' and `plist-put',
  1601. allow you to modify and retrieve values from lists formatted as property-lists.
  1602. They work like `get' and `put', but operate on any list.
  1603. `plist-put' returns the modified property-list; you must store it
  1604. back where you got it.
  1605. *** The new function add-to-list is called with two elements,
  1606. a variable that holds a list and a new element.
  1607. It adds the element to the list unless it is already present.
  1608. It compares elements using `equal'. Here is an example:
  1609. (setq foo '(a b)) => (a b)
  1610. (add-to-list 'foo 'c) => (c a b)
  1611. (add-to-list 'foo 'b) => (c a b)
  1612. foo => (c a b)
  1613. ** Changes in compilation.
  1614. Functions and variables loaded from a byte-compiled file
  1615. now refer to the file for their doc strings.
  1616. This has a few consequences:
  1617. -- Loading the file is faster and uses less memory.
  1618. -- Reference to doc strings is a little slower (the same speed
  1619. as reference to the doc strings of primitive and preloaded functions).
  1620. -- The compiled files will not work in old versions of Emacs.
  1621. -- If you move the compiled file after loading it, Emacs can no longer
  1622. find these doc strings.
  1623. -- If you alter the compiled file (such as by compiling a new
  1624. version), then further access to documentation strings will get
  1625. nonsense results.
  1626. The byte compiler now optionally supports lazy loading of compiled
  1627. functions' definitions. If you enable this feature when you compile,
  1628. loading the compiled file does not actually bring the function
  1629. definitions into core. Instead it creates references to the compiled
  1630. file, and brings each function's definition into core the first time
  1631. you call that function, or when you force it with the new function
  1632. `fetch-bytecode'.
  1633. Using the lazy loading feature has a few consequences:
  1634. -- Loading the file is faster and uses less memory.
  1635. -- Calling any function in the file for the first time is slower.
  1636. -- If you move the compiled file after loading it, Emacs can no longer
  1637. find the function definitions.
  1638. -- If you alter the compiled file (such as by compiling a new
  1639. version), then further access to functions not already loaded
  1640. will get nonsense results.
  1641. To enable the lazy loading feature, set up a non-nil file local
  1642. variable binding for the variable `byte-compile-dynamic' in the Lisp
  1643. source file. For example, put this on the first line:
  1644. -*-byte-compile-dynamic: t;-*-
  1645. It's a good idea to use the lazy loading feature for a file that
  1646. contains many functions, most of which are not actually used by a
  1647. given user in a given session.
  1648. To turn off the basic feature of referring to the file for doc
  1649. strings, set byte-compile-dynamic-docstrings to nil. You can do this
  1650. globally, or for one source file by adding this to the first line:
  1651. -*-byte-compile-dynamic-docstrings: nil;-*-
  1652. ** Strings
  1653. *** Do not pass integer arguments to `concat' (or `vconcat' or
  1654. `append'). We are phasing out the old unrecommended support for
  1655. integers as arguments to these functions, in preparation for treating
  1656. numbers as single characters in a future release. To concatenate
  1657. numbers in string form, use `number-to-string' first, or rewrite the
  1658. call to use `format' instead of `concat'.
  1659. *** The new function match-string returns the string of text matched at
  1660. the given parenthesized expression by the last regexp search, or nil
  1661. if there was no match. If the last match was by `string-match' on a
  1662. string, the string must be given. Therefore, this function can be
  1663. used in place of `buffer-substring' and `substring', when using
  1664. `match-beginning' and `match-end' to find match positions.
  1665. (match-string N) or (match-string N STRING)
  1666. *** The function replace-match now accepts an optional fourth argument,
  1667. STRING. Use this after performing string-match on STRING, to replace
  1668. the portion of STRING that was matched. When used in this way,
  1669. replace-match returns a newly created string which is the same as
  1670. STRING except for the matched portion.
  1671. *** The new function buffer-substring-no-properties
  1672. is like buffer-substring except that the string it returns
  1673. has no text properties.
  1674. *** The function `equal' now considers two strings to be different
  1675. if they don't have the same text properties.
  1676. ** Completion
  1677. *** all-completions now takes an optional fourth argument.
  1678. If that argument is non-nil, completions that start with a space
  1679. are ignored unless the initial string also starts with a space.
  1680. (This used to happen unconditionally.)
  1681. ** Local Variables
  1682. *** Local hook variables.
  1683. There is now a clean way to give a hook variable a buffer-local value.
  1684. Call the function `make-local-hook' to do this.
  1685. Once a hook variable is buffer-local, you can add hooks to it either
  1686. globally or locally. run-hooks runs the local hook functions
  1687. of the current buffer, then all the global hook functions.
  1688. The functions add-hook and remove-hook take an additional optional
  1689. argument LOCAL which says whether to add (or remove) a local hook
  1690. function or a global one.
  1691. Local hooks use t as an element of the (local) value of the hook
  1692. variable as a flag meaning to use the global value also.
  1693. *** The new function local-variable-p tells you whether a particular
  1694. variable is buffer-local in the current buffer or a specified buffer.
  1695. ** Editing Facilities
  1696. *** The function copy-region-as-kill no longer sets this-command;
  1697. as a result, a following kill command will not normally append
  1698. to the text saved by copy-region-as-kill.
  1699. *** Regular expression searching and matching no longer performs full
  1700. Posix backtracking by default. They now stop with the first match found
  1701. instead of looking for the longest match--just as they did in Emacs 18.
  1702. The reason for this change is to get higher speed.
  1703. There are new functions you can use if you really want to search or
  1704. match with Posix behavior: posix-search-forward,
  1705. posix-search-backward, posix-looking-at, and posix-string-match. Call
  1706. these just like re-search-forward, re-search-backward, looking-at, and
  1707. string-match.
  1708. ** Files
  1709. *** The new variable `format-alist' defines file formats,
  1710. which are ways of translating between the data in a file and things
  1711. (text, text-properties, and possibly other information) in a buffer.
  1712. `format-alist' has one element for each format. Each element is a
  1713. list like this:
  1714. (NAME DOC-STRING REGEXP FROM-FN TO-FN MODIFY MODE-FN)
  1715. containing the name of the format, a documentation string, a regular
  1716. expression which is used to recognize files in that format, a decoding
  1717. function, an encoding function, a flag that indicates whether the
  1718. encoding function modifies the buffer, and a mode function.
  1719. FROM-FN is called to decode files in that format; it gets two args, BEGIN
  1720. and END, and can make any modifications it likes, returning the new
  1721. end position. It must make sure that the beginning of the file no
  1722. longer matches REGEXP, or else it will get called again.
  1723. TO-FN is called to encode a region into that format; it is also passed BEGIN
  1724. and END, and either returns a list of annotations as in
  1725. `write-region-annotate-functions', or modifies the region and returns
  1726. the new end position.
  1727. MODIFY, if non-nil, means the TO-FN modifies the region. If nil, TO-FN may
  1728. not make any changes and should return a list of annotations.
  1729. `insert-file-contents' checks the beginning of the file that it is
  1730. inserting to see if it matches one of the regexps. If so, then it
  1731. calls the decoding function, and then looks for another match. When
  1732. visiting a file, it also calls the mode function, and sets the
  1733. variable `buffer-file-format' to the list of formats that the file
  1734. used.
  1735. `write-region' calls the encoding functions for each format in
  1736. `buffer-file-format' before it writes the file. To save a file in a
  1737. different format, either set `buffer-file-format' to a different
  1738. value, or call the new function `format-write-file'.
  1739. Since some encoding functions may be slow, you can request that
  1740. auto-save use a format different from the buffer's default by setting
  1741. the variable `auto-save-file-format' to the desired format. This will
  1742. determine the format of all auto-save files.
  1743. *** The new function file-ownership-preserved-p tells you whether
  1744. deleting a file and recreating it would keep the file's owner
  1745. unchanged.
  1746. *** The new function file-regular-p returns t if a file
  1747. is a "regular" file (not a directory, symlink, named pipe,
  1748. terminal, or other I/O device).
  1749. *** The new function file-name-sans-extension discards the extension
  1750. of a file name. You call it with a file name, and returns a string
  1751. lacking the extension.
  1752. *** The variable path-separator is a string which says which
  1753. character separates directories in a search path. It is ":"
  1754. for Unix and GNU systems, ";" for MSDOG and Windows NT.
  1755. ** Commands and Key Sequences
  1756. *** Key sequences consisting of C-c followed by {, }, <, >, : or ; are
  1757. now reserved for major modes. Sequences consisting of C-c followed by
  1758. any other punctuation character are now meant for minor modes. We don't
  1759. plan to convert all existing major modes to stop using those sequences,
  1760. but we hope to keep them to a minimum.
  1761. *** When the post-command-hook or the pre-command-hook gets an error, the error
  1762. is silently ignored. Emacs no longer sets the hook variable to nil when this
  1763. happens. Meanwhile, the hook functions can now alter the hook variable in
  1764. a normal fashion; there is no need to do anything special.
  1765. *** define-key, lookup-key, and various other functions for changing or
  1766. looking up key bindings now let you write an event type with a list
  1767. like (ctrl meta newline) or (meta ?d), as in XEmacs. (ctrl meta newline)
  1768. is equivalent to the event type symbol C-M-newline, and (meta ?d)
  1769. is equivalent to the character ?\M-d.
  1770. *** The function event-convert-list converts a list such as
  1771. (meta ?d) into the corresponding event type (a symbol or integer).
  1772. *** In an interactive spec, `k' means to read a key sequence. In this
  1773. key sequence, upper case characters and shifted function keys which
  1774. have no bindings are converted to lower case if that makes them
  1775. defined.
  1776. The new interactive code `K' reads a key sequence similarly, but does
  1777. not convert the last event. `K' is useful for reading a key sequence
  1778. to be given a binding.
  1779. *** The variable overriding-local-map now has no effect on the menu bar
  1780. display unless overriding-local-map-menu-flag is non-nil. This is why
  1781. incremental search no longer temporarily changes the menu bars.
  1782. Note that overriding-local-map does still affect the execution of key
  1783. sequences entered using the menu bar. So if you use
  1784. overriding-local-map, and a menu bar key sequence comes in, you should
  1785. make sure to clear overriding-local-map before that key sequence gets
  1786. looked up and executed. But this is what you'd normally do anyway:
  1787. programs that use overriding-local-map normally exit and "put back"
  1788. any event such as menu-bar that they do not handle specially.
  1789. *** The new variable `overriding-terminal-local-map' is like
  1790. overriding-local-map, but is specific to a single terminal.
  1791. *** delete-frame events.
  1792. When you use the X window manager's "delete window" command, this now
  1793. generates a delete-frame event. The standard definition of this event
  1794. is a command that deletes the frame that received the event, and kills
  1795. Emacs when the last visible or iconified frame is deleted. You can
  1796. rebind the event to some other command if you wish.
  1797. *** Two new types of events, iconify-frame and make-frame-visible,
  1798. indicate that the user iconified or deiconified a frame with the
  1799. window manager. Since the window manager has already done the work,
  1800. the default definition for both event types in Emacs is to do nothing.
  1801. ** Frames and X
  1802. *** Certain Lisp variables are now local to an X terminal (in other
  1803. words, all the screens of a single X server). The value in effect, at
  1804. any given time, is the one that belongs to the terminal of the
  1805. selected frame. The terminal-local variables are
  1806. default-minibuffer-frame, system-key-alist, defining-kbd-macro, and
  1807. last-kbd-macro. There is no way for Lisp programs to create others.
  1808. The terminal-local variables cannot be buffer-local.
  1809. *** When you create an X frame, for the `top' and `left' frame
  1810. parameters, you can now use values of the form (+ N) or (- N), where N
  1811. is an integer. (+ N) means N pixels to the right of the left edge of
  1812. the screen and (- N) means N pixels to the left of the right edge. In
  1813. both cases, N may be zero (exactly at the edge) or negative (putting
  1814. the window partly off the screen).
  1815. The function x-parse-geometry can return values of these forms
  1816. for certain inputs.
  1817. *** The variable menu-bar-file-menu has been renamed to
  1818. menu-bar-files-menu to match the actual item that appears in the menu.
  1819. (All the other such variable names do match.)
  1820. *** The new function active-minibuffer-window returns the minibuffer window
  1821. currently active, or nil if none is now active.
  1822. *** In the functions next-window, previous-window, next-frame,
  1823. previous-frame, get-buffer-window, get-lru-window, get-largest-window
  1824. and delete-windows-on, if you specify 0 for the last argument,
  1825. it means to consider all visible and iconified frames.
  1826. *** When you set a frame's cursor type with modify-frame-parameters,
  1827. you can now specify (bar . INTEGER) as the cursor type. This stands
  1828. for a bar cursor of width INTEGER.
  1829. *** The new function facep returns t if its argument is a face name
  1830. (or if it is a vector such as is used internally by the Lisp code
  1831. to represent a face).
  1832. *** Each frame can now have a buffer-predicate function,
  1833. which is the `buffer-predicate' frame parameter.
  1834. When `other-buffer' looks for an alternative buffer, it considers
  1835. only the buffers that fit the selected frame's buffer predicate (if it
  1836. has one). This is useful for applications that make their own frames.
  1837. *** When you create an X frame, you can now specify the frame parameter
  1838. `display'. This says which display to put the frame on. The value
  1839. should be a display name--a string of the form
  1840. "HOST:DPYNUMBER.SCREENNUMBER".
  1841. The functions x-server-... and x-display-... now take an optional
  1842. argument which specifies the display to ask about. You can use either
  1843. a display name string or a frame. A value of nil stands for the
  1844. selected frame.
  1845. To close the connection to an X display, use the function
  1846. x-close-connection. Specify which display with a display name. You
  1847. cannot close the connection if Emacs still has frames open on that
  1848. display.
  1849. x-display-list returns a list indicating which displays Emacs has
  1850. connections to. Its elements are display names (strings).
  1851. *** The icon-type frame parameter may now be a file name.
  1852. Then the contents of that file specify the icon bitmap to use
  1853. for that frame.
  1854. *** The title of an Emacs frame, displayed by most window managers, is
  1855. set from frame-title-format or icon-title-format. These have the same
  1856. structure as mode-line-format.
  1857. *** x-display-grayscale-p is a new function that returns non-nil if
  1858. your X server can display shades of gray. Currently it returns
  1859. non-nil for color displays (because they can display shades of gray);
  1860. we may change it in the next version to return nil for color displays.
  1861. *** The frame parameter scroll-bar-width specifies the width of the
  1862. scrollbar in pixels.
  1863. ** Buffers
  1864. *** Creating a buffer with get-buffer-create does not obey
  1865. default-major-mode. That variable is now handled in a separate
  1866. function, set-buffer-major-mode. get-buffer-create and generate-new-buffer
  1867. always leave the newly created buffer in Fundamental mode.
  1868. Creating a new buffer by visiting a file or with switch-to-buffer,
  1869. pop-to-buffer, and similar functions does call set-buffer-major-mode
  1870. to select the default major mode specified with default-major-mode.
  1871. *** You can now create an "indirect buffer". An indirect buffer shares
  1872. its text, including text properties, with another buffer (the "base
  1873. buffer"), but has its own major mode, local variables, overlays, and
  1874. narrowing. An indirect buffer has a name of its own, distinct from
  1875. those of the base buffer and all other buffers. An indirect buffer
  1876. cannot itself be visiting a file (though its base buffer can be).
  1877. The base buffer cannot itself be indirect.
  1878. Use (make-indirect-buffer BASE-BUFFER NAME) to make an indirect buffer
  1879. named NAME whose base is BASE-BUFFER. If BASE-BUFFER is an indirect
  1880. buffer, its base buffer is used as the base for the new buffer.
  1881. You can make an indirect buffer current, or switch to it in a window,
  1882. just as you would a non-indirect buffer.
  1883. The function buffer-base-buffer, given an indirect buffer, returns its
  1884. base buffer. It returns nil when given an ordinary buffer (not
  1885. indirect).
  1886. The library `noutline' has versions of Outline mode and Outline minor
  1887. mode which let you display different parts of the outline in different
  1888. indirect buffers.
  1889. ** Subprocesses
  1890. *** The functions call-process and call-process-region now allow
  1891. you to direct error message output from the subprocess into a
  1892. separate destination, instead of mixing it with ordinary output.
  1893. To do this, specify for the third argument, BUFFER, a list of the form
  1894. (BUFFER-OR-NAME ERROR-DESTINATION)
  1895. BUFFER-OR-NAME specifies where to put ordinary output; it should
  1896. be a buffer or buffer name, or t, nil or 0. This is what would
  1897. have been the BUFFER argument, ordinarily.
  1898. ERROR-DESTINATION specifies where to put the error output.
  1899. nil means discard it, t means mix it with the ordinary output,
  1900. and a string specifies a file name to write this output into.
  1901. You can't specify a buffer to put the error output in; that is not
  1902. easy to implement directly. You can put the error output into a
  1903. buffer by sending it to a temporary file and then inserting the file
  1904. into a buffer.
  1905. *** Comint mode changes:
  1906. **** The variable comint-completion-addsuffix can also be a cons pair
  1907. of the form (DIRSUFFIX . FILESUFFIX), where DIRSUFFIX and FILESUFFIX are
  1908. strings added on unambiguous or exact completion of directories and file
  1909. names, respectively.
  1910. ** Text properties
  1911. *** You can now specify which values of the `invisible' property
  1912. make text invisible in a given buffer. The variable
  1913. `buffer-invisibility-spec', which is always local in all buffers,
  1914. controls this.
  1915. If its value is t, then any non-nil `invisible' property makes
  1916. a character invisible.
  1917. If its value is a list, then a character is invisible if its
  1918. `invisible' property value appears as a member of the list, or if it
  1919. appears as the car of a member of the list.
  1920. When the `invisible' property value appears as the car of a member of
  1921. the `buffer-invisibility-spec' list, then the cdr of that member has
  1922. an effect. If it is non-nil, then an ellipsis appears in place of the
  1923. character. (This happens only for the *last* invisible character in a
  1924. series of consecutive invisible characters, and only at the end of a
  1925. line.)
  1926. If a character's `invisible' property is a list, then Emacs checks each
  1927. element of the list against `buffer-invisibility-spec'. If any element
  1928. matches, the character is invisible.
  1929. *** The command `list-text-properties-at' shows what text properties
  1930. are in effect at point.
  1931. *** Frame objects now exist in Emacs even on systems that don't support
  1932. X Windows. You can create multiple frames, and switch between them
  1933. using select-frame. The selected frame is actually displayed on your
  1934. terminal; other frames are not displayed at all. The selected frame
  1935. number appears in the mode line after `Emacs', except for frame 1.
  1936. Switching frames on ASCII terminals is therefore more or less
  1937. equivalent to switching between different window configurations.
  1938. *** The new variable window-size-change-functions holds a list of
  1939. functions to be called if window sizes change (or if windows are
  1940. created or deleted). The functions are called once for each frame on
  1941. which changes have occurred, with the frame as the sole argument.
  1942. This takes place shortly before redisplay.
  1943. *** The modification hook functions of overlays now work differently.
  1944. They are called both before and after each change. This makes it
  1945. possible for the functions to determine exactly what the change was.
  1946. This change affects three overlay properties: the modification-hooks
  1947. property, a list of functions called for deletions overlapping the
  1948. overlay's range and for insertions inside it; the
  1949. insert-in-front-hooks, a list of functions called for insertions at
  1950. the beginning of the overlay; and the insert-behind-hooks, a list of
  1951. functions called for insertions at the end of the overlay.
  1952. Each function is called both before and after each change that it
  1953. applies to. Before the change, it is called with four arguments:
  1954. (funcall FUNCTION OVERLAY nil START END)
  1955. START and END are the same arguments that the before-change-functions
  1956. receive.
  1957. After the change, each function is called with five arguments:
  1958. (funcall FUNCTION OVERLAY t START END OLDSIZE)
  1959. The last arguments, START and END and OLDSIZE,
  1960. are the same arguments that the after-change-functions receive.
  1961. This means the function must accept either four or five arguments.
  1962. *** You can set defaults for text-properties with the new variable
  1963. `default-text-properties'. Its value is a property list; the values
  1964. specified there are used whenever a character (or its category) does
  1965. not specify a value.
  1966. *** The `face' property of a character or an overlay can now be a list
  1967. of face names. Formerly it had to be just one face name.
  1968. *** Changes in handling the `intangible' text property.
  1969. **** If inhibit-point-motion-hooks is non-nil, then `intangible' properties
  1970. are ignored.
  1971. **** Moving to just before a stretch of intangible text
  1972. is no longer special in any way. Point stays at that place.
  1973. **** When you move point backwards into the midst of intangible text,
  1974. point moves back to the beginning of that text. (It used to move
  1975. forward to the end of that text, which was not very useful.)
  1976. **** When moving across intangible text, Emacs stops wherever the
  1977. property value changes. So if you have two stretches of intangible
  1978. text, with different non-nil intangible properties, it is possible to
  1979. place point between them.
  1980. ** Overlays
  1981. *** Overlay changes.
  1982. **** The new function previous-overlay-change returns the position of
  1983. the previous overlay start or end, before a specified position. This
  1984. is the backwards-moving counterpart of next-overlay-change.
  1985. **** overlay-get now supports category properties on an overlay
  1986. the same way get-text-property supports them as text properties.
  1987. Specifically, if an overlay does not have the property PROP that you
  1988. ask for, but it does have a `category' property which is a symbol,
  1989. then that symbol's PROP property is used.
  1990. **** If an overlay has a non-nil `evaporate' property, it will be
  1991. deleted if it ever becomes empty (i.e., when it spans no characters).
  1992. **** If an overlay has a `before-string' and/or `after-string' property,
  1993. these strings are displayed at the overlay's endpoints.
  1994. ** Filling
  1995. *** The new variable fill-paragraph-function provides a way for major
  1996. modes to override the filling of paragraphs. If this is non-nil,
  1997. fill-paragraph calls it as a function, passing along its sole
  1998. argument. If the function returns non-nil, fill-paragraph assumes it
  1999. has done the job and simply passes on whatever value it returned.
  2000. The usual use of this feature is to fill comments in programming
  2001. language modes.
  2002. *** Text filling and justification changes:
  2003. **** The new variable use-hard-newlines can be used to make a
  2004. distinction between "hard" and "soft" newlines; the fill functions
  2005. will then never remove a newline that was manually inserted. Hard
  2006. newlines are marked with a non-nil `hard' text-property.
  2007. **** The fill-column and left-margin can now be modified by text-properties.
  2008. Most lisp programs should use the new functions (current-fill-column) and
  2009. (current-left-margin), which return the proper values to use for the
  2010. current line.
  2011. **** There are new functions for dealing with margins:
  2012. ***** Set-left-margin and set-right-margin (set the value for a region
  2013. and re-fill). These functions take three arguments: two to specify
  2014. a region, and the desired margin value.
  2015. ***** Increase-left-margin, decrease-left-margin, increase-right-margin, and
  2016. decrease-right-margin (change settings relative to current values, and
  2017. re-fill).
  2018. ***** move-to-left-margin moves point there, optionally adding
  2019. indentation or changing tabs to spaces in order to make that possible.
  2020. beginning-of-line-text also moves past the fill-prefix and any
  2021. indentation added to center or right-justify a line, to the beginning
  2022. of the text that the user actually typed.
  2023. ***** delete-to-left-margin removes any left-margin indentation, but
  2024. does not change the property.
  2025. **** The paragraph-movement functions look for the paragraph-start and
  2026. paragraph-separate regexps at the current left margin, not at the
  2027. beginning of the line. This means that those regexps should NOT use ^
  2028. to anchor the search. However, for backwards compatibility, a ^ at
  2029. the beginning of the regexp will be ignored, so most packages won't break.
  2030. **** justify-current-line is now capable of doing left, center, or
  2031. right justification as well as full justification.
  2032. **** The fill functions can do any kind of justification based on the new
  2033. `justification' text-property and `default-justification' variable,
  2034. or arguments to the functions. They also have a new option which
  2035. defeats the normal removal of extra whitespace.
  2036. **** The new function `current-justification' returns the kind of
  2037. justification used for the current line. The new function
  2038. `set-justification' can be used to change it, including re-justifying
  2039. the text of the region according to the new value.
  2040. **** Filling and auto-fill are disabled if justification is `none'.
  2041. **** The auto-fill-function is now called regardless of whether
  2042. the fill-column has been exceeded; the function can determine on its
  2043. own whether filling (or justification) is necessary.
  2044. ** Processes
  2045. *** process-tty-name is a new function that returns the name of the
  2046. terminal that the process itself reads and writes on (not the name of
  2047. the pty that Emacs uses to talk with that terminal).
  2048. *** Errors in process filters and sentinels are now normally caught
  2049. automatically, so that they don't abort other Lisp programs.
  2050. Setting debug-on-error non-nil turns off this feature; then errors in
  2051. filters and sentinels are not caught. As a result, they can invoke
  2052. the debugger, under the control of debug-on-error.
  2053. *** Emacs now preserves the match data around the execution of process
  2054. filters and sentinels. You can use search and match functions freely
  2055. in filters and sentinels without explicitly bothering to save the
  2056. match data.
  2057. ** Display
  2058. *** The variable message-log-max controls how messages are logged in the
  2059. "*Messages*" buffer. An integer value means to keep that many lines;
  2060. t means to log with no limit; nil means disable message logging. Lisp
  2061. code that calls `message' excessively (e.g. isearch.el) should probably
  2062. bind this variable to nil.
  2063. *** Display tables now have a new element, at index 261, specifying the
  2064. glyph to use for the separator between two side-by-side windows. By
  2065. default, this is the vertical bar character `|'. Probably the only
  2066. other useful character to store for this element is a space, to make
  2067. less visual separation between two side-by-side windows displaying
  2068. related information.
  2069. *** The new mode-line-format spec %c displays the current column number.
  2070. *** The new variable blink-matching-delay specifies how long to keep
  2071. the cursor at the matching open-paren, after you insert a close-paren.
  2072. This is useful mainly on systems which can wait for a fraction of a
  2073. second--you can then specify fractional values such as 0.5.
  2074. *** Faster processing of buffers with long lines
  2075. The new variable cache-long-line-scans determines whether Emacs
  2076. should use caches to handle long lines more quickly. This variable is
  2077. buffer-local, in all buffers.
  2078. Normally, the line-motion functions work by scanning the buffer for
  2079. newlines. Columnar operations (like `move-to-column' and
  2080. `compute-motion') also work by scanning the buffer, summing character
  2081. widths as they go. This works well for ordinary text, but if the
  2082. buffer's lines are very long (say, more than 500 characters), these
  2083. motion functions will take longer to execute. Emacs may also take
  2084. longer to update the display.
  2085. If cache-long-line-scans is non-nil, these motion functions cache
  2086. the results of their scans, and consult the cache to avoid rescanning
  2087. regions of the buffer until the text is modified. The caches are most
  2088. beneficial when they prevent the most searching---that is, when the
  2089. buffer contains long lines and large regions of characters with the
  2090. same, fixed screen width.
  2091. When cache-long-line-scans is non-nil, processing short lines will
  2092. become slightly slower (because of the overhead of consulting the
  2093. cache), and the caches will use memory roughly proportional to the
  2094. number of newlines and characters whose screen width varies.
  2095. The caches require no explicit maintenance; their accuracy is
  2096. maintained internally by the Emacs primitives. Enabling or disabling
  2097. the cache should not affect the behavior of any of the motion functions;
  2098. it should only affect their performance.
  2099. ** System Interface
  2100. *** The function user-login-name now accepts an optional
  2101. argument uid. If the argument is non-nil, user-login-name
  2102. returns the login name for that user id.
  2103. *** system-name, user-name, user-full-name and user-real-name are now
  2104. variables as well as functions. The variables hold the same values
  2105. that the functions would return. The new variable multiple-frames
  2106. is non-nil if at least two non-minibuffer frames are visible. These
  2107. variables may be useful in constructing the value of frame-title-format
  2108. or icon-title-format.
  2109. *** Changes in time-conversion functions.
  2110. **** The new function format-time-string takes a format string and a
  2111. time value. It converts the time to a string, according to the format
  2112. specified. You can specify what kind of conversion to use with
  2113. %-specifications.
  2114. **** The new function decode-time converts a time value into a list of
  2115. specific items of information: the year, month, day of week, day of
  2116. month, hour, minute and second. (A time value is a list of two or
  2117. three integers.)
  2118. **** The new function encode-time converts specific items of time
  2119. information--the second, minute, hour, day, month, year, and time
  2120. zone--into a time value.
  2121. * Changes in Emacs 19.27
  2122. There are no changes; however, here is one bug fix made in 19.26 that users
  2123. think should be documented here.
  2124. ** SPC and DEL in Info now handle menus consistently.
  2125. SPC and DEL scroll through an entire subtree an Info manual. Once you
  2126. scroll through a node far enough to reach a menu, SPC begins moving
  2127. into the subnodes of the menu, starting with the first one. When you
  2128. reach the end of a subnode, SPC moves into the next subnode, and so
  2129. on.
  2130. DEL more or less scrolls through the same text in reverse order.
  2131. * User Editing Changes in Emacs 19.26
  2132. ** In the X toolkit version, if you click on a menu bar item and
  2133. release the button quickly outside the menu, the menu remains visible
  2134. until you click or type something else. If you click on the menu, you
  2135. select from the menu. Any other mouse click makes the menu disappear.
  2136. Keyboard input gets rid of the menu and then is processed normally.
  2137. "Quickly" means within double-click-time milliseconds.
  2138. ** The C-x 5 commands to select a buffer in "another frame" now use an
  2139. existing iconified frame, if any, deiconifying it. They also raise
  2140. the frame.
  2141. ** Region highlighting on a black-and-white-only display now uses
  2142. underlining. Inverse-video had the problem that you couldn't see
  2143. the cursor.
  2144. ** You can now change the height of a window by pressing mouse-1 on
  2145. the mode line and dragging it up and down.
  2146. ** If you set the environment variable LC_CTYPE to iso_8859_1 or
  2147. iso-8859-1, Emacs automatically sets up for display and syntactic
  2148. handling of the ISO Latin-1 character set.
  2149. This does not automatically load any of the packages for input of
  2150. these characters, because it's not yet clear what is right to do.
  2151. You must still explicitly load either iso-transl or iso-acc.
  2152. ** For a read-only buffer that is also modified, the mode line now displays
  2153. %* instead of %%.
  2154. ** M-prior (scroll-other-window-down) is a new command that works like
  2155. M-next (and C-M-v) but scrolls in the opposite direction.
  2156. M-home moves to the beginning of the buffer, in the other window.
  2157. M-end moves to the end of the buffer, in the other window. These two
  2158. commands, along with M-next and M-prior, form a series of commands for
  2159. moving around in the other window.
  2160. ** In change logs, the mail address is now delimited with <...> instead
  2161. of (...).
  2162. This makes it a little more convenient to extract the mail address for
  2163. use in mailing a message.
  2164. ** In Shell mode and other comint modes, C-a has now returned to
  2165. its ordinary meaning: move to the beginning of the line.
  2166. Use C-c C-a to move to the end of the prompt.
  2167. ** If you set mail-signature to t to cause automatic insertion of
  2168. your .signature file, you now get a -- before the signature.
  2169. ** Setting rmail-highlighted-headers to nil entirely turns off
  2170. highlighting in Rmail. However, if your motivation for doing this is
  2171. that the highlighted text doesn't look good on your display, it might
  2172. be better to change the appearance of the `highlight' face. Once
  2173. you've done that, you may find Rmail highlighting is useful.
  2174. ** In the calendar, mouse-2 is now used only for commands that apply to a date.
  2175. If you click it when not on a date, it gives an immediate error.
  2176. Mouse-3 in the calendar now gives a menu of commands that do not apply
  2177. to a particular date.
  2178. The D command displays diary entries from a specified diary file (not
  2179. your standard diary file).
  2180. ** In the gnus-uu package, the binding for gnus-uu-threaded-decode-and-view
  2181. is now C-c C-v C-d, not C-c C-v C-h. Thus, C-c C-v C-h is now available
  2182. for asking for a list of the subcommands of C-c C-v.
  2183. ** You can now specify "who you are" for various Emacs packages by
  2184. setting just one variable, user-mail-address. This currently applies
  2185. to posting news with GNUS and to making change log entries. It may
  2186. apply to additional Emacs features in the future.
  2187. * Lisp-Level Changes in Emacs 19.26:
  2188. ** The function insert-char now takes an optional third argument
  2189. which, if non-nil, says the inserted characters should inherit sticky
  2190. text properties from the surrounding text.
  2191. ** The `diary' library has been renamed to `diary-lib'. If you refer
  2192. to this library in your Lisp code, you must update the references.
  2193. ** Sending text to a subprocess can read input from subprocesses if it
  2194. has to wait because the destination subprocess's terminal input buffer
  2195. is full.
  2196. It was already possible in unusual occasions for this operation to
  2197. read subprocess input, but it did not happen very often. It is now
  2198. more likely to happen.
  2199. ** last-nonmenu-event is now bound to t around filter functions and sentinels.
  2200. This is to ensure that y-or-n-p and yes-or-no-p use the keyboard by default.
  2201. ** In mode lines, %+ now displays as % for unmodified read-only
  2202. buffers. It is now the same as %* except in the case of a modified
  2203. read-only buffer; in that case, %+ displays as *.
  2204. The old meaning of %+ is now available on %&.
  2205. It displays * for a modified buffer and - for an unmodified buffer,
  2206. regardless of read-only status.
  2207. ** You can now use `underline' in the color list of a face.
  2208. It serves as a last resort, and says to underline the face
  2209. (if previous color list elements can't be used).
  2210. ** The new function x-color-values returns the list of color values
  2211. for a given color name (a string). The list contains three integers
  2212. which give the amounts of red, green and blue in the color: (R G B).
  2213. ** In run-at-time, 0 as the repeat interval means "don't repeat".
  2214. ** The variable trim-versions-without-asking has been renamed to
  2215. delete-old-versions.
  2216. ** The new function other-window-for-scrolling returns the choice of
  2217. other window for C-M-v to scroll.
  2218. ** Note that the function fceiling was mistakenly documented as fceil before.
  2219. * Changes in cc-mode.el in Emacs 19.26:
  2220. ** A new syntactic symbol has been added: substatement-open. It
  2221. defines the open brace of a substatement block. These used to get:
  2222. ((block-open ...) (substatement . ...)).
  2223. Non-block substatement lines still get just ((substatement . ...))
  2224. Note that the custom indent function c-adaptive-block-open has been
  2225. removed as obsolete.
  2226. ** You can now specify the `hanginess' of closing braces. See
  2227. c-hanging-braces-alist.
  2228. ** Recognizes try and catch blocks in C++. They are given the
  2229. substatement syntactic symbol.
  2230. ** should be generally more forgiving about non-GNU standard top-level
  2231. construct definition styles (i.e. where the function/class/struct
  2232. opening brace does not start in column zero).
  2233. If you hang the braces that open a top-level construct on the right
  2234. edge, and you find you still need to define defun-open-prompt (Emacs
  2235. 19) please let me know. Note that there may still be performance
  2236. issues related to non-column zero opening braces.
  2237. ** c-macro-expand is put on C-c C-e
  2238. ** New style: "Default". Resets indentation to those shipped with
  2239. cc-mode.el.
  2240. ** internal defun c-indent-via-language-element has been renamed
  2241. c-indent-line for compatibility with c-mode.el and awk-mode.
  2242. ** new buffer-local variable c-comment-start-regexp for (potential)
  2243. flexibility in adding new modes based on cc-mode.el
  2244. * Changes in Emacs 19.25
  2245. The variable x-cross-pointer-shape (which didn't really exist) has
  2246. been renamed to x-sensitive-text-pointer-shape, and now does exist.
  2247. * Changes in Emacs 19.24
  2248. Here is a list of new Lisp packages introduced since 19.22.
  2249. derived.el Define new major modes based on old ones.
  2250. dired-x.el Extra Dired features.
  2251. double.el New mode for conveniently inputting non-beyond chars.
  2252. easymenu.el Create menus easily.
  2253. ediff.el Snazzy diff interface.
  2254. foldout.el A kind of outline mode designed for editing programs.
  2255. gnus-uu.el UUdecode in GNUS buffers.
  2256. ielm.el Interactively evaluate Lisp.
  2257. This is a replacement for Lisp Interaction Mode.
  2258. iso-cvt.el Conversion of beyond-ASCII characters between
  2259. various different representations.
  2260. jka-compr.el Automatic compression/decompression.
  2261. mldrag.el Drag modeline to change heights of windows.
  2262. mail-hist.el Provides history for headers of outgoing mail.
  2263. rsz-mini.el Automatically resizing minibuffers.
  2264. s-region.el Set region by holding shift.
  2265. skeleton.el Templates for statement insertion.
  2266. soundex.el Classifying words by how they sound.
  2267. tempo.el Template insertion with hotspots.
  2268. * User Editing Changes in 19.23.
  2269. ** Emacs 19.23 uses Ispell version 3.
  2270. Previous Emacs 19 versions used Ispell version 4. That version had
  2271. improvements in storing the dictionary compactly, but these are not
  2272. very important nowadays. Meanwhile, in parallel to the work on Ispell
  2273. 4, many useful features were added to Ispell 3. Until a few months
  2274. ago, the terms on Ispell 3 did not let us use it; but they have now
  2275. been changed, so now we are using it. We are dropping Ispell 4.
  2276. ** Emacs 19.23 can run on MS-DOG. See the file MSDOS in the same
  2277. directory as this file.
  2278. ** Emacs 19.23 can work with an X toolkit. You must specify toolkit
  2279. operation when you configure Emacs: use the option
  2280. --with-x-toolkit=yes. (This option uses code developed by Lucid;
  2281. thanks to Frederic Pierresteguy for helping to adapt it.)
  2282. ** Emacs now has dialog boxes; yes/no and y/n questions automatically
  2283. use them in commands invoked with the mouse. For more information,
  2284. see below under "Lisp programming changes".
  2285. ** Menus now display the keyboard equivalents (if any) of the menu
  2286. commands in parentheses after the menu item.
  2287. ** Kill commands, used in a read-only buffer, now move point across
  2288. the text they would otherwise have killed. This way, you can use
  2289. repeated kill commands to transfer text into the kill ring.
  2290. ** There is now a global mark ring in addition to the mark ring that is local
  2291. to each buffer. The global mark ring stores positions in any buffer. Any
  2292. time the mark is set and the current buffer is different from the last time
  2293. the mark was set, the new mark is pushed on the global mark ring as well.
  2294. The new command C-x C-SPC (pop-global-mark) pops the global mark ring and
  2295. jumps to the last mark pushed, first switching to that buffer.
  2296. ** Query Replace is now available in the Edit menu.
  2297. ** ESC no longer simply exits a Query Replace. It now exits the Query
  2298. Replace and remains pending. Thus, ESC A and M-A are now equivalent
  2299. in Query Replace.
  2300. To simply exit a Query Replace, type RET or Period.
  2301. ** M-mouse-2 now puts point at the end of the yanked secondary selection.
  2302. ** Mouse-1 in the mode line now simply selects the window above that
  2303. mode line. Mouse-2 in the mode line selects that window and expands
  2304. it to fill the frame it is in.
  2305. ** You can now use mouse-2 in a Dired buffer or Tar mode buffer to find
  2306. a file you click on, in a compilation buffer to go to a particular
  2307. error message, and in a *Occur* buffer to go to a particular
  2308. occurrence.
  2309. (It was already possible to do likewise in Info and in completion list
  2310. buffers.)
  2311. What's more, the sensitive areas of the buffer now highlight when you
  2312. move the mouse over them.
  2313. ** In a completion list buffer, the command RET now chooses the completion
  2314. that is around or next to point.
  2315. ** If you specify the foreground color for the `mode-line' face, and
  2316. mode-line-inverse-video is non-nil, then the default background color
  2317. is the usual foreground color.
  2318. ** revert-buffer now preserves markers pointing within the unchanged
  2319. text (if any) at the beginning and end of the file.
  2320. ** Version control checkin and checkout preserve all markers if the
  2321. file does not contain any of the magic version header sequences that
  2322. are updated automatically by RCS and SCCS. If such version headers
  2323. are present, checkin and checkout preserve a marker unless it comes
  2324. between two such sequences. (So it's a good idea to put all the
  2325. header sequences close together.)
  2326. ** When a large deletion shuts off auto save temporarily in a buffer,
  2327. you can now turn it on again by saving the buffer with C-x C-s (as was
  2328. possible in Emacs 18). You can also turn it on again with M-1 M-x
  2329. auto-save (as has been possible in Emacs 19).
  2330. ** C-x r d now runs the command delete-rectangle.
  2331. ** The new command imenu shows you a menu of interesting places in the
  2332. current buffer and lets you select one; then it moves point there.
  2333. The definition of interesting places depends on the major mode, but
  2334. typically this includes function definitions and such. Normally,
  2335. imenu displays the menu in a buffer; but if you bind it to a mouse
  2336. event, it shows a mouse popup menu.
  2337. ** You can make certain chosen buffers, that normally appear in a
  2338. separate window, appear in special frames of their own. To do this,
  2339. set special-display-buffer-names to a list of buffer names; any buffer
  2340. whose name is in that list automatically gets a special frame when it
  2341. is to be displayed in another window.
  2342. A good value to try is ("*compilation*" "*grep*" "*TeX Shell*").
  2343. More generally, you can set special-display-regexps to a list of regular
  2344. expressions; then each buffer whose name matches any of those regular
  2345. expressions gets its own frame.
  2346. The variable special-display-frame-alist specifies the frame
  2347. parameters for these frames. It has a default value, so you don't
  2348. need to set it.
  2349. ** If you set sentence-end-double-space to nil, the fill commands
  2350. expect just one space at the end of a sentence. (If you want the
  2351. sentence commands to accept single spaces, you must modify the regexp
  2352. sentence-end also.)
  2353. ** You can suppress the startup echo area message by adding text like
  2354. this to your .emacs file:
  2355. (setq inhibit-startup-echo-area-message "YOUR-LOGIN-NAME")
  2356. Simply setting inhibit-startup-echo-area-message to your login name is
  2357. not sufficient to inhibit the message; Emacs explicitly checks whether
  2358. .emacs contains an expression as shown above. Your login name must
  2359. appear in the expression as a Lisp string constant.
  2360. This way, you can easily inhibit the message for yourself if you wish,
  2361. but thoughtless copying of your .emacs file will not inhibit the
  2362. message for someone else.
  2363. ** Outline minor mode now uses C-c C-o as a prefix instead of just C-c.
  2364. ** In Outline mode, hide-subtree is now C-c C-d. (It was C-c C-h; but
  2365. that is now a conventional way to ask for help about C-c commands.)
  2366. ** There are two additional commands in Outline mode.
  2367. M-x hide-sublevels
  2368. hides all headers except the topmost N levels.
  2369. M-x hide-other
  2370. hides everything about the body that point is in
  2371. plus the headers leading up from there to the top of the tree.
  2372. ** In iso-transl and iso-insert, the sequences for entering A-ring and
  2373. the AE ligature are now just A and E (plus the initial C-x 8 or Alt).
  2374. You used to have to enter AA or AE, after the C-x 8 prefix of course.
  2375. Likewise for lower case a-ring and ae.
  2376. ** iso-transl now defines convenient Alt keys as well as the C-x 8 prefix.
  2377. Instead of prefixing a sequence with C-x 8, you can add Alt to the
  2378. first character of the sequence. For example, Alt-" a is now a way
  2379. to enter an a-umlaut.
  2380. ** CC mode is a greatly improved mode for C and C++.
  2381. See the following page.
  2382. ** tcl mode is a new major mode. It provides features for
  2383. editing, indenting and running tcl programs.
  2384. ** Compilation minor mode lets you parse error messages in any buffer,
  2385. not just a normal compilation output buffer. Type M-x
  2386. compilation-minor-mode to enable the minor mode; then C-c C-c jumps to
  2387. the source location for the error at point, as in the `*compilation*'
  2388. buffer. If you use compilation-minor-mode in an Rlogin buffer, it
  2389. automatically accesses remote source files by ftp.
  2390. ** Comint and shell mode changes:
  2391. *** Comint modes (including Shell mode, GUD modes, etc.) now bind
  2392. C-M-l to the command comint-show-output. This command scrolls the
  2393. buffer to show the last batch of output from the subprogram.
  2394. *** Completion in Comint modes now truly operates on the string before
  2395. point, rather than the word that point is within.
  2396. *** Comint mode file name completion ignores those files that end with a
  2397. string in the new variable comint-completion-fignore. This variable's
  2398. default value is nil.
  2399. *** Shell mode uses the variable shell-completion-fignore to set
  2400. comint-completion-fignore. The default value is nil, but some
  2401. people prefer ("~" "#" "%").
  2402. *** The function `comint-watch-for-password-prompt' can be used to
  2403. suppress echoing when a subprocess asks for a password. To use it,
  2404. do this:
  2405. (add-hook 'comint-output-filter-functions
  2406. 'comint-watch-for-password-prompt)
  2407. *** You can use M-x shell-strip-ctrl-m to strip ^M characters from
  2408. process output.
  2409. *** In Shell mode, TAB now completes environment variables, if possible,
  2410. and expands directory references.
  2411. *** You can use M-x comint-run to execute any program of your choice in
  2412. a comint mode. Some programs such as shells, rlogin, and debuggers
  2413. have their own specialized modes; this command is one way to use
  2414. comint to run programs for which no such specialized mode exits. (You
  2415. can also run a shell with M-x shell and run the program of your choice
  2416. under the shell--but that gives you the specializations of Shell
  2417. mode.)
  2418. ** When you run GUD (M-x gdb, M-x dbx, and so on), you can use TAB
  2419. to do file name completion in the minibuffer.
  2420. The "Complete" menu includes an item for directory expansion.
  2421. ** GUD working with future versions of GDB will permit TAB for
  2422. GDB-style symbol completion. This will work with GDB 4.13.
  2423. ** Rmail no longer gets new mail automatically when you visit an Rmail
  2424. file specified by name--not even if it is your primary Rmail file. To
  2425. get new mail, type `g'. This feature is an advantage because you now
  2426. have a choice of whether to get new mail. (This change actually
  2427. occurred in an earlier version, but wasn't listed here then, since it
  2428. made the code do what the documentation already said.)
  2429. ** Rmail now highlights certain fields automatically, when you use X
  2430. windows. The variable rmail-highlighted-headers controls which
  2431. fields.
  2432. ** If you set rmail-summary-window-size to an integer, Rmail uses
  2433. a window that many lines high for the summary buffer.
  2434. ** rmail-input-menu is a new command that visits an Rmail file letting
  2435. you choose which file with a mouse menu. rmail-output-menu is
  2436. similar; it outputs the current message, using a mouse menu to choose
  2437. which Rmail file. These commands use the variables
  2438. rmail-secondary-file-directory and rmail-secondary-file-regexp.
  2439. ** The mh-e package has been changed substantially.
  2440. See the file ./MH-E-NEWS for details.
  2441. ** The calendar and diary have new features.
  2442. The menu bar for the calendar contains most of the calendar commands,
  2443. arranged into logical categories.
  2444. Mouse-2 now performs specific-date-related commands when clicked on a
  2445. date in the calendar window and common three-month-related commands
  2446. when clicked elsewhere in the calendar window.
  2447. You can set up colored/shaded highlighting of holidays, diary entry
  2448. dates, and today's date, by setting calendar-holiday-marker,
  2449. diary-entry-marker, and calendar-today-marker to a face instead of a
  2450. character. Using a special face is now the default if you are using a
  2451. window system.
  2452. ** The appt package for displaying appointment reminders has new
  2453. features.
  2454. *** The appt alarm window stays for the full duration of
  2455. appt-display-duration. It no longer disappears when you start typing
  2456. text.
  2457. *** You can change the way the appointment window is created/deleted by
  2458. setting the variables appt-disp-window-function and
  2459. appt-delete-window-function.
  2460. For instance, these variables can be set to functions that display
  2461. appointments in pop-up frames, which are lowered or iconified after
  2462. appt-display-duration seconds.
  2463. ** desktop.el can now save a list of buffer-local variables,
  2464. and saves more global ones.
  2465. ** Pascal mode has been completely rewritten. It now features
  2466. completing of function names, variables and type definitions around
  2467. current point (like M-TAB does with lisp-symbols). There's also an
  2468. outline mode (M-x pascal-outline) that hides the bodies of all
  2469. functions you're not working with.
  2470. ** Edebug has a number of changes:
  2471. *** Edebug syntax error reporting is improved.
  2472. *** Top-level forms and defining forms other than defun and defmacro may
  2473. now be debugged with Edebug.
  2474. *** Edebug specifications may now contain body, &define, name, arg or
  2475. arglist, def-body, and def-form, to support definitions.
  2476. *** edebug-all-defuns is renamed to edebug-all-defs.
  2477. def-edebug-form-spec is replaced by def-edebug-form whose arguments
  2478. are unevaluated. The old names are still available for now.
  2479. *** Frequency counts and coverage data may be displayed for functions being
  2480. debugged.
  2481. *** A global break condition is now checked at every stop point.
  2482. *** The previous condition at a breakpoint may now be edited.
  2483. *** A new "next" mode stops only after expression evaluation.
  2484. *** A new command, top-level-nonstop, does not even stop for unwind-protect,
  2485. as top-level would.
  2486. * Changes in CC mode in Emacs 19.23.
  2487. `cc-mode' provides ANSI C, K&R C, and ARM C++ language editing. It
  2488. represents the merge of c++-mode.el and c-mode.el. cc-mode provides a
  2489. new, more flexible indentation engine so that indentation
  2490. customization is more intuitive. There are two steps to calculating
  2491. indentation: first, CC mode analyzes the line for syntactic content,
  2492. then based on this content it applies user defined offsets and adds
  2493. this offset to the indentation of some previous line.
  2494. The syntactic analysis determines if the line describes a `statement',
  2495. `substatement', `class-open', `member-init-intro', etc. These are
  2496. described in detail with C-h v c-offsets-alist. You can change the
  2497. offsets interactively with C-c C-o (c-set-offsets), or
  2498. programmatically in your c-mode-common-hook, which is run both by
  2499. c-mode and c++-mode. You can also set up "styles" in the same way
  2500. that you could with c-mode.el. The variable c-basic-offset controls
  2501. the basic offset given to a level of indentation.
  2502. If, for example, you wanted to change this style:
  2503. int foo (int i)
  2504. {
  2505. switch (i) {
  2506. case 1:
  2507. printf ("its a foo\n");
  2508. break;
  2509. default:
  2510. printf ("don't know what it is\n");
  2511. break;
  2512. }
  2513. }
  2514. into this:
  2515. int foo (int i)
  2516. {
  2517. switch (i) {
  2518. case 1:
  2519. printf ("its a foo\n");
  2520. break;
  2521. default:
  2522. printf ("don't know what it is\n");
  2523. break;
  2524. }
  2525. }
  2526. you could add the following to your .emacs file:
  2527. (defun my-c-mode-common-hook ()
  2528. (c-set-offset 'case-label 2)
  2529. (c-set-offset 'statement-case-intro 2))
  2530. (add-hook 'c-mode-common-hook 'my-c-mode-common-hook)
  2531. ** New variables:
  2532. c-offsets-alist contains an association list of syntactic symbols and
  2533. their relative offsets. Do a "C-h v c-offsets-alist" to get a list of
  2534. all syntactic symbols currently defined, and their meanings. You
  2535. should not change this variable directly; use the supplied interface
  2536. commands c-set-offset and c-set-style.
  2537. c-mode-common-hook is run by both c-mode and c++-mode during their
  2538. common initializations. You should put any customizations that are
  2539. the same for both C and C++ into this hook.
  2540. The variable c-strict-semantics-p is used mainly for debugging. When
  2541. non-nil, CC mode signals an error if it returns a syntactic symbol
  2542. that can't be found in c-offsets-alist.
  2543. If you want CC mode to echo the syntactic analysis for a particular
  2544. line when you hit the TAB key, set c-echo-semantic-information-p to
  2545. non-nil.
  2546. c-basic-offset controls the standard amount of offset for a level of
  2547. indentation. You can set a syntactic symbol's offset to + or - as a
  2548. short-hand for positive or negative c-basic-offset.
  2549. c-comment-only-line-offset lets you control indentation given to lines
  2550. which contain only a comment, in the case of C++ line style comments,
  2551. or the introduction to a C block comment. Comment-only lines at
  2552. column zero can be anchored there independent of the indentation given
  2553. to other comment-only lines.
  2554. c-block-comments-indent-p controls the style of C block comment
  2555. re-indentation. If you put leading stars in front of comment
  2556. continuation lines, you should set this variable to nil.
  2557. c-cleanup-list is a list describing certain C and C++ constructs to be
  2558. "cleaned up" as they are typed, but only when the auto-newline feature
  2559. is turned on. In C++, make sure this variable contains at least
  2560. 'scope-operator so that double colons will not be separated by a
  2561. newline.
  2562. Colons (`:') and braces (`{` and `}') are special in C and C++. For
  2563. certain constructs, you may like them to hang on the right edge of the
  2564. code, or you may like them to start a new line of code. You can use
  2565. the two variables c-hanging-braces-alist and c-hanging-colons-alist
  2566. to control whether newlines are placed before and/or after colons and
  2567. braces when certain C and C++ constructs are entered. For example,
  2568. you can control whether the colon that introduces a C++ member
  2569. initialization list hangs on the right edge, starts a new line, or has
  2570. no newlines either before or after it.
  2571. c-special-indent-hook is run after a line is indented by CC mode. You
  2572. can perform any custom indentations here.
  2573. c-delete-function is the function that is called when a single
  2574. character is deleted with the c-electric-delete command (DEL).
  2575. c-electric-pound-behavior describes what happens when you enter the
  2576. `#' that introduces a cpp macro.
  2577. If c-tab-always-indent is neither t nor nil, then TAB inserts a tab
  2578. when within strings, comments, and cpp directives, but it reindents
  2579. the line unconditionally.
  2580. c-inhibit-startup-warnings-p inhibits warnings about any old
  2581. version of Emacs you might be running, which could be incompatible
  2582. with cc-mode.
  2583. ** There are two new minor-mode features in CC mode: auto-newline and
  2584. hungry-delete. Auto-newline inserts newlines automatically as you
  2585. type certain constructs. Hungry-delete consumes all preceding
  2586. whitespace (spaces, tabs, and newlines) when the delete key is hit.
  2587. You can toggle auto-newline on and off on a per-buffer basis by
  2588. hitting C-c C-a. You can toggle hungry-delete on and off by hitting
  2589. C-c C-d. You can toggle them both on and off together with C-c C-t.
  2590. ** Slash (`/') and star (`*') are now both electric characters.
  2591. ** New commands:
  2592. The new C-c C-o (c-set-offset) command can be used to interactively change
  2593. the offset for a particular syntactic symbol.
  2594. The new command C-c : (c-scope-operator) inserts the C++ scope operator in
  2595. c++-mode only.
  2596. The new command C-c C-q (c-indent-defun) indents the entire enclosing
  2597. top-level function or class.
  2598. The new command C-c C-s (c-show-semantic-information) echos the current
  2599. syntactic analysis without re-indenting the current line.
  2600. The new commands M-x c-forward-into-nomenclature and M-x
  2601. c-backward-into-nomenclature (currently otherwise unbound to a key
  2602. sequence), make movement easier when using the C++ variable naming
  2603. convention of VariableNamesWithoutUnderscoresButEachWordCapitalized.
  2604. ** Command from c-mode.el that have been renamed in cc-mode.el:
  2605. electric-c-brace => c-electric-brace
  2606. electric-c-semi => c-electric-semi&comma
  2607. electric-c-sharp-sign => c-electric-pound
  2608. mark-c-function => c-mark-function
  2609. electric-c-terminator => c-electric-colon
  2610. indent-c-exp => c-indent-exp
  2611. set-c-style => c-set-style
  2612. ** Variables from c-mode.el that are obsolete with cc-mode.el:
  2613. c-indent-level
  2614. c-brace-imaginary-offset
  2615. c-brace-offset
  2616. c-argdecl-indent
  2617. c-label-offset
  2618. c-continued-statement-offset
  2619. c-continued-brace-offset
  2620. * Lisp programming changes in Emacs 19.23.
  2621. ** To pop up a dialog box, call x-popup-dialog.
  2622. It takes two arguments, POSITION and CONTENTS.
  2623. POSITION specifies which frame to place the dialog box over;
  2624. the dialog box always goes on the center of the frame.
  2625. POSITION may be a mouse event, a window, a frame,
  2626. or t meaning use the frame that the mouse is in.
  2627. CONTENTS specifies the contents of the dialog box.
  2628. It looks like a single pane of a popup menu:
  2629. (TITLE ITEM1 ITEM2 ...), where each ITEM has the form (STRING . VALUE).
  2630. The return value is VALUE from the chosen item.
  2631. An ITEM may also be just a string--that makes a nonselectable item.
  2632. An ITEM may also be nil--that means to put all preceding items
  2633. on the left of the dialog box and all following items on the right.
  2634. (By default, approximately half appear on each side.)
  2635. If your Emacs is not using an X toolkit, then it cannot display a
  2636. real dialog box; so instead it displays a pop-up menu in the center
  2637. of the frame.
  2638. ** y-or-n-p, yes-or-no-p and map-y-or-n-p now use menus or dialog boxes
  2639. to ask their question(s) if the command that is running was reached by
  2640. a mouse event.
  2641. If you want to control which way these functions work, bind the
  2642. variable last-nonmenu-event around the call. These functions use the
  2643. keyboard if that variable holds a keyboard event (actually, any
  2644. non-list); they use the mouse if that variable holds a mouse event
  2645. (actually, any list).
  2646. ** The mouse-face property is now implemented, both in overlays and as
  2647. a text property. It specifies a face to use when the mouse is in the
  2648. range of text for which the property is specified.
  2649. ** When text has a non-nil `intangible' property, you cannot move point
  2650. within it or right before it. If you try, point actually moves to the
  2651. end of the intangible text. Note that this means that backward-char
  2652. is a no-op when there is an intangible character to the left of point.
  2653. ** minibuffer-exit-hook is a new normal hook that is run when you
  2654. exit the minibuffer.
  2655. ** The variable x-cross-pointer-shape specifies the cursor shape to use
  2656. when the mouse is over text that has a mouse-face property.
  2657. ** The new variable interpreter-mode-alist specifies major modes to use
  2658. for shell scripts that specify a command interpreter. Its elements
  2659. look like (INTERPRETER . MODE); for example, ("perl" . perl-mode) is
  2660. one element present by default. This feature applies only when the
  2661. file name doesn't indicate which mode to use.
  2662. ** If you use a minibuffer-only frame, set the variable
  2663. minibuffer-auto-raise to t, and entering the minibuffer will then
  2664. raise the minibuffer frame.
  2665. ** If pop-up-frames is t, display-buffer now looks for an existing
  2666. window in any visible frame, showing the specified buffer, and uses
  2667. such a window in preference to making a new frame.
  2668. ** In the functions next-window, previous-window, next-frame,
  2669. previous-frame, get-buffer-window, get-lru-window, get-largest-window
  2670. and delete-windows-on, if you specify `visible' for the last argument,
  2671. it means to consider all visible frames.
  2672. ** Mouse events now give the X and Y coordinates in pixels, rather than
  2673. in characters. You can convert these values to characters by dividing by
  2674. the values of (frame-char-width) and (frame-char-height).
  2675. ** The new functions mouse-pixel-position and set-mouse-pixel-position
  2676. read and set the mouse position in units of pixels. The existing
  2677. functions mouse-position and set-mouse-position continue to work with
  2678. units of characters.
  2679. ** The new function compute-motion is useful for computing the width
  2680. of certain text when it is displayed.
  2681. ** The function vertical-motion now takes an option second argument WINDOW
  2682. which says which window to use for the display calculations.
  2683. vertical-motion always operates on the current buffer.
  2684. It is ok to specify a window displaying some other buffer.
  2685. Then vertical-motion uses the width, hscroll and display-table of
  2686. the specified window, but still scans the current buffer.
  2687. ** An error no longer sets last-command to t; the value of last-command
  2688. does reflect the previous command (the one that got an error).
  2689. If you do not want a particular command to be recognized as the
  2690. previous command in the case where it got an error, you must code that
  2691. command to prevent this. Set this-command to t at the beginning of
  2692. the command, and set this-command back to its proper value at the end,
  2693. like this:
  2694. (defun foo (args...)
  2695. (interactive ...)
  2696. (setq this-command t)
  2697. ...do the work...
  2698. (setq this-command 'foo))
  2699. or like this:
  2700. (defun foo (args...)
  2701. (interactive ...)
  2702. (let ((old-this-command this-command))
  2703. (setq this-command t)
  2704. ...do the work...
  2705. (setq this-command old-this-command)))
  2706. The undo and yank commands do this.
  2707. ** If you specify an explicit title for a new frame when you create it,
  2708. the title is used as the resource name when looking up X resources to
  2709. control the shape of that frame. If you don't specify the frame title,
  2710. the value of x-resource-name is used, as before.
  2711. ** The frame parameter user-position, if non-nil, says that the user
  2712. has specified the frame position. Emacs reports this to the window
  2713. manager, to tell it not to override the position that the user
  2714. specified.
  2715. ** Major modes can now set change-major-mode-hook to arrange for state
  2716. to be cleaned up when the user switches to a new major mode. The function
  2717. kill-all-local-variables runs this hook. For best results, make the hook a
  2718. buffer-local variable so that it will disappear after doing its job and will
  2719. not interfere with the subsequent major mode.
  2720. ** The new variable overriding-local-map, if non-nil, specifies a keymap
  2721. that overrides the current local map, all minor mode keymaps, and all
  2722. text property keymaps. Incremental search uses this feature to override
  2723. all other keymaps temporarily.
  2724. ** A key definition in a menu keymap can now have additional structure:
  2725. in addition to (ITEMNAME [HELPSTRING] . COMMAND) which was allowed
  2726. before, the form (ITEMNAME [HELPSTRING] (...) . COMMAND) is
  2727. allowed. (HELPSTRING is optional, and is not currently used.)
  2728. Here (...) represents a sublist containing information about keyboard
  2729. key sequences that run the same command COMMAND. Displaying the menu
  2730. automatically creates and updates the sublist when appropriate; you
  2731. need never set these up yourself.
  2732. lookup-key, key-binding, and similar functions return just COMMAND,
  2733. not the whole binding.
  2734. To precompute this information for a given keymap, you can do
  2735. (x-popup-menu nil KEYMAP).
  2736. ** When you specify coordinates for x-popup-menu as a list ((XOFFSET
  2737. YOFFSET) WINDOW), the coordinates are now measured in pixels.
  2738. ** where-is-internal now takes just four arguments:
  2739. DEFINITION KEYMAP FIRSTONLY NOINDIRECT.
  2740. The single argument KEYMAP replaces two arguments KEYMAP and KEYMAP1.
  2741. If KEYMAP is non-nil, where-is-internal searches only KEYMAP and the
  2742. global keymap.
  2743. If KEYMAP is nil, where-is-internal searches all the currently active
  2744. keymaps, but finds the active keymaps as if overriding-local-map were
  2745. nil.
  2746. If you pass a list of the form (keymap) as KEYMAP, where-is-internal
  2747. searches only the global map. (This is not a special case--it follows
  2748. from the specifications above.)
  2749. If you pass the value of overriding-local-map as KEYMAP, where-is-internal
  2750. searches in exactly the same was as command execution does.
  2751. ** Use the macro define-derived-mode to define a new major mode that
  2752. inherits the definition of another major mode. Here's how to define a
  2753. command named hypertext-mode that inherits from the command text-mode:
  2754. (define-derived-mode hypertext-mode text-mode "Hypertext"
  2755. "Major mode for hypertext.\n\n\\{hypertext-mode-map}"
  2756. (setq case-fold-search nil))
  2757. (define-key hypertext-mode-map [down-mouse-3] 'do-hyper-link)
  2758. The new mode has its own keymap, which inherits from that of the
  2759. original mode. It also has its own syntax and abbrev tables, which
  2760. are initialized by copying those of the original mode. It also has
  2761. its own mode hook. All are given names made by appending a suffix
  2762. to the name of the new mode.
  2763. ** A syntax table can now inherit the data for some characters from
  2764. standard-syntax-table, while specifying other characters itself.
  2765. Syntax code 13 means "inherit this character from the standard syntax
  2766. table." In modify-syntax-entry, the character `@' represents this code.
  2767. The function `make-syntax-table' now creates a syntax table which
  2768. inherits all letters and control characters (0 to 31 and 128 to 255)
  2769. from the standard syntax table, while copying the other characters
  2770. from the standard syntax table. Most syntax tables in Emacs are set
  2771. up this way.
  2772. This sort of inheritance is useful for people who set up character
  2773. sets with additional alphabetic characters in the range 128 to 255.
  2774. Just changing the standard syntax for these characters affects all
  2775. major modes.
  2776. ** The new function transpose-regions swaps two regions of the buffer.
  2777. It preserves the markers in those two regions, so that they stay with
  2778. the surrounding text as it is swapped.
  2779. ** revert-buffer now runs before-revert-hook at the beginning and
  2780. after-revert-hook at the end. These can be used by minor modes
  2781. that need to clean up state variables.
  2782. ** The new function get-char-property is like get-text-property, but
  2783. checks for overlays with properties as well as for text properties.
  2784. It checks for overlays first, in order of descending priority, and
  2785. text properties last.
  2786. get-char-property allows windows as the OBJECT argument, as well
  2787. as buffers and strings. If you specify a window, then only overlays
  2788. active on that window are considered.
  2789. ** Overlays can have the `invisible' property.
  2790. ** The function insert-file-contents now takes an optional fifth
  2791. argument called REPLACE. If this is t, it means to replace the
  2792. contents of the buffer (actually, just the accessible portion)
  2793. with the contents of the file.
  2794. This is better than simply deleting and inserting the whole thing
  2795. because (1) it preserves some marker positions and (2) it puts less
  2796. data in the undo list.
  2797. ** The variable inhibit-first-line-modes-regexps specifies classes of
  2798. file names for which -*- on the first line should not be looked for.
  2799. ** The variables before-change-functions and after-change-functions
  2800. hold lists of functions to call before and after a change in the
  2801. buffer's text. They work much like before-change-function and
  2802. after-change-function, except that they hold a list of functions
  2803. instead of just one.
  2804. These variables will eventually make before-change-function and
  2805. after-change-function obsolete.
  2806. ** The variable kill-buffer-query-functions holds a list of functions
  2807. to be called with no arguments when a buffer is about to be killed.
  2808. (That buffer is the current buffer when the function is called.)
  2809. If any of the functions returns nil, the buffer is not killed
  2810. (and the remaining functions in the list are not called).
  2811. ** The variable kill-emacs-query-functions holds a list of functions
  2812. to be called with no arguments when you ask to exit Emacs.
  2813. If any of the functions returns nil, the exit is canceled
  2814. (and the remaining functions in the list are not called).
  2815. ** The argument for buffer-disable-undo is now optional,
  2816. like the argument for buffer-enable-undo.
  2817. ** The new variable system-configuration holds the canonical three-part
  2818. GNU configuration name for which Emacs was built.
  2819. ** The function system-name now tries harder to return a fully qualified
  2820. domain name.
  2821. ** The variable emacs-major-version holds the major version number
  2822. of Emacs. (Currently 19.)
  2823. ** The variable emacs-minor-version holds the minor version number
  2824. of Emacs. (Currently 23.)
  2825. ** The default value of comint-input-autoexpand is now nil.
  2826. However, Shell mode sets it from the value of shell-input-autoexpand,
  2827. whose default value is `history'.
  2828. ** The new function set-process-window-size specifies the terminal window
  2829. size for a subprocess. On some systems it sends the subprocess a signal
  2830. to let it know that the size has changed.
  2831. ** %P is a new way to display a percentage in the mode line. It
  2832. displays the percentage of the buffer text that is above the *bottom*
  2833. of the window (which includes the text visible, in the window as well
  2834. as the text above the top). It displays `Top' as well as the
  2835. percentage if the top of the buffer is visible on screen.
  2836. ** %+ in the mode line specs displays `*' if the buffer is modified,
  2837. and otherwise `-'. It never displays `%', as `%*' would do; whether the
  2838. buffer is read-only has no effect on %+.
  2839. ** The new functions ffloor, fceiling, fround and ftruncate take a
  2840. floating point argument and return a floating point result whose value
  2841. is a nearby integer. ffloor returns the nearest integer below; fceiling,
  2842. the nearest integer above; ftruncate, the nearest integer in the
  2843. direction towards zero; fround, the nearest integer.
  2844. ** Setting `print-escape-newlines' to a non-nil value now also makes
  2845. formfeeds print as ``\f''.
  2846. ** auto-mode-alist now has a new feature. If an element has the form
  2847. (REGEXP FUNCTION t), and REGEXP matches the file name, then after calling
  2848. FUNCTION, Emacs deletes the part of the file name that matched REGEXP
  2849. and then searches auto-mode-alist again for a new match.
  2850. This is useful for uncompression packages. An entry of this sort for
  2851. .gz can uncompress the file and then put the uncompressed file in the
  2852. proper mode according to the name sans .gz.
  2853. ** The new function emacs-pid returns the process ID number of Emacs.
  2854. ** user-login-name now consistently checks the LOGNAME environment
  2855. variable before USER. user-original-login-name is obsolete, since it
  2856. provides the same functionality. To ignore the environment variables,
  2857. use user-real-login-name.
  2858. ** There is a more general way of handling the system-specific X
  2859. keysyms. Set the variable system-key-alist to an alist containing
  2860. elements of the form (CODE . SYMBOL), where CODE is the numeric keysym
  2861. code minus the "vendor specific" bit, and symbol is the name for the
  2862. function key.
  2863. ** You can use the variable command-line-functions to set up functions
  2864. to process unrecognized command line arguments. The variable's value
  2865. should be a list of functions of no arguments. The functions are
  2866. called successively until one of them returns non-nil.
  2867. Each function should access the free variables argi (the current
  2868. argument) and command-line-args-left (the remaining arguments). The
  2869. function should return non-nil only if it recognizes and processes the
  2870. argument in argi. If it does so, it may consume following arguments
  2871. as well by removing them from command-line-args-left.
  2872. ** There's a new way for a magic file name handler to run a primitive
  2873. and inhibit handling of the file name. Here is how to do it:
  2874. (let ((inhibit-file-name-handlers
  2875. (cons 'ange-ftp-file-handler
  2876. (and (eq inhibit-file-name-operation operation)
  2877. inhibit-file-name-handlers)))
  2878. (inhibit-file-name-operation operation))
  2879. (apply this-operation args))
  2880. The function find-file-name-handler now takes two arguments. The
  2881. second argument is OPERATION, the operation for which the handler is
  2882. being sought.
  2883. People have suggested that the second argument should be optional, for
  2884. backward compatibility. It would be nice if that were possible, but
  2885. it is not. There is simply no way for find-file-name-handler to do
  2886. the right thing without receiving the proper value for its second
  2887. argument.
  2888. ** The variable completion-regexp-list affects the completion
  2889. primitives try-completion and all-completions. They consider
  2890. only the possible completions that match each regexp in the list.
  2891. ** Case conversion in the function replace-match has been changed.
  2892. The old behavior was this: if any word in the old text was
  2893. capitalized, replace-match capitalized each word of the replacement
  2894. text.
  2895. The new behavior is this: if the first word in the old text is capitalized,
  2896. replace-match capitalizes the first word of the replacement text.
  2897. ** You can now specify a case table with CANON non-nil and EQV nil.
  2898. Then the EQV part of the case table is deduced from CANON.
  2899. ** The new function minibuffer-prompt takes no arguments and returns
  2900. the current minibuffer prompt string.
  2901. The new function minibuffer-prompt-width takes no arguments and
  2902. returns the display width of the minibuffer prompt string.
  2903. ** The new function frame-first-window returns the window at the
  2904. upper left corner of a given frame.
  2905. ** wholenump is a new alias for natnump.
  2906. ** The variable installation-directory, if non-@code{nil}, names a
  2907. directory within which to look for the `lib-src' and `etc'
  2908. subdirectories. This is non-nil when Emacs can't find those
  2909. directories in their standard installed locations, but can find them
  2910. near where the Emacs executable was found.
  2911. ** invocation-name and invocation-directory are now variables as well
  2912. as functions. The variable values are the same values that the
  2913. functions return: the Emacs program name sans directories, and the
  2914. directory it was found in. (invocation-directory may be nil, if Emacs
  2915. can't determine which directory it should be.)
  2916. ** Installation change regarding version number counting.
  2917. The version number of an Emacs executable contains three numbers.
  2918. The first two describe the Emacs release and the third increments
  2919. each time you build Emacs.
  2920. Now the file version.el contains only the first two version numbers.
  2921. The third component is now determined on the basis of the names of the
  2922. existing executable files. This means that version.el is not altered
  2923. by building Emacs.
  2924. * Changes in 19.22.
  2925. ** The mouse click M-mouse-2 now inserts the current secondary
  2926. selection (from Emacs or any other X client) where you click.
  2927. It does not move point.
  2928. This command is called mouse-yank-secondary.
  2929. mouse-kill-secondary no longer has a key binding by default.
  2930. Clicking M-mouse-3 (mouse-secondary-save-then-kill) twice
  2931. may be a convenient enough way of killing the secondary selection.
  2932. Or perhaps there should be a keyboard binding for killing the
  2933. secondary selection. Any suggestions?
  2934. ** New packages:
  2935. *** `icomplete' provides character-by-character information
  2936. about what you could complete if you type TAB.
  2937. *** `avoid' moves the mouse away from point so that it doesn't hide
  2938. your typing.
  2939. *** `shadowfile' helps you update files that are supposed to be stored
  2940. identically in different places (perhaps on different machines).
  2941. ** C-h p now knows about four additional keywords: data, faces, mouse,
  2942. and matching.
  2943. ** The key for starting an inferior Lisp process, in Lisp mode,
  2944. is now C-c C-z instead of C-c C-l.
  2945. ** When the VC commands ask whether to save the buffer, if you say no,
  2946. they signal an error. This is so that you won't operate on the wrong
  2947. data.
  2948. ** ISO Accents mode now supports `"s' as a way of typing German sharp s.
  2949. ** By default, comint buffers (including Shell mode and debuggers)
  2950. no longer try to scroll to keep the cursor on the bottom line.
  2951. This feature was added in 19.21 but did not work smoothly enough.
  2952. ** Emacs now handles the window manager "delete window" operation.
  2953. ** Display of buffers with text properties is much faster now.
  2954. ** The feature previously announced whereby `insert' does not inherit
  2955. text properties from surrounding text was not fully implemented
  2956. before; but now it is. use `insert-and-inherit' if you wish to
  2957. inherit sticky properties from the surrounding text.
  2958. ** The functions next-property-change, previous-property-change,
  2959. next-single-property-change, and previous-single-property-change
  2960. now take one additional optional argument LIMIT that is a position at
  2961. which to stop scanning. If scan ends without finding the property
  2962. change sought, these functions return the specified limit.
  2963. The value returned by previous-single-property-change and
  2964. previous-property-change, when they do find a change, is now one
  2965. greater than what it used to be. It is the position between the two
  2966. characters whose properties differ, which is one greater than the
  2967. position of the first character found (while scanning back) with
  2968. different properties.
  2969. * User editing changes in version 19.21.
  2970. ** ISO Accents mode supports four additional characters:
  2971. A-with-ring (entered as /A), AE ligature (entered as /E),
  2972. and their lower-case equivalents.
  2973. * User editing changes in version 19.20.
  2974. (See following page for Lisp programming changes.)
  2975. Note that some of these changes were made subsequent to the Emacs 19.20
  2976. editions of the Emacs manual and Emacs Lisp manual; therefore, if you
  2977. have those editions, do read this page.
  2978. ** Dragging with mouse button 1 now puts the selected region
  2979. in the kill ring so you can paste it into other X applications.
  2980. ** Double and triple clicks with button 1 now behave as in xterm,
  2981. selecting the word or line surrounding where you click. If you drag
  2982. after the last click, you can select a range of words or lines.
  2983. ** You can use button 3 to extend a mouse-selected region, as in xterm.
  2984. This works for regions selected either by dragging Mouse-1 or by
  2985. multiple-clicking Mouse-1. Clicking Mouse-3 moves the end of the
  2986. region that is (initially) nearer to where you click.
  2987. If the selection was first made by multiple-clicking Mouse-1, and thus
  2988. consists of entire words or lines, Mouse-3 preserves that state.
  2989. As before, clicking Mouse-3 again in the same place kills the region
  2990. thus selected.
  2991. ** The secondary selection commands, M-Mouse-1 and M-Mouse-3, have been
  2992. likewise modified.
  2993. ** You can now search for strings and regexps using the Edit menu bar menu.
  2994. ** You can now access bookmarks using the Bookmark submenu in the File
  2995. menu in the menu bar.
  2996. ** ISO Accents mode, a buffer-local minor mode, provides a convenient
  2997. way to type certain non-ASCII characters. It makes the characters `,
  2998. ', ", ^, ~ and / serve as modifiers for the following letter. ` and '
  2999. add accents, " adds an umlaut or dieresis, ^ adds a circumflex, ~
  3000. adds a tilde, and / adds a slash to the following letter.
  3001. If the following character is not a letter, or cannot be modified as
  3002. requested, then both characters stand for themselves. If you
  3003. duplicate the modifier accent character, that enters the corresponding
  3004. ISO non-spacing accent character (thus, '' enters the ISO acute-accent
  3005. character). To enter a modifier character itself, type it followed by
  3006. a space.
  3007. This feature can be used whenever a key sequence is expected: for
  3008. ordinary insertion, for searching, and for certain command arguments.
  3009. A few special combinations:
  3010. ~c => c with cedilla
  3011. ~d => d with stroke
  3012. ~< => left guillemot
  3013. ~> => right guillemot
  3014. ** iso-transl.el is a new library that replaces iso-insert.el.
  3015. It defines C-x 8 as an insertion prefix for the ISO characters
  3016. between 128 and 255, much like iso-insert, except that iso-transl
  3017. works even in searches and help commands--wherever a key sequence
  3018. is expected.
  3019. To define case-conversion for these characters for ISO 8859/1,
  3020. load the library iso-syntax. (This is not new.)
  3021. ** M-TAB in Text mode now runs the command ispell-complete-word
  3022. which performs completion using the spelling dictionary.
  3023. The spelling correction submenu now includes this command
  3024. and another command which completes a word fragment (that is,
  3025. it doesn't assume that the text to be completed starts at the
  3026. beginning of a word.
  3027. ** In incremental search, you can use M-y to yank the most recent kill
  3028. into the search string.
  3029. ** The new function ispell-message checks the spelling of a message
  3030. you are about to send or post. It ignores text cited from other
  3031. messages.
  3032. To automatically check all your outgoing messages, include the
  3033. following line in your .emacs file:
  3034. (setq news-inews-hook (setq mail-send-hook 'ispell-message))
  3035. ** There is now a separate minibuffer history list for the names of
  3036. extended commands. This history list is used by M-x when reading
  3037. the command name. The motivation for this is to prevent command
  3038. names from appearing in the history used for other minibuffer
  3039. arguments.
  3040. Note that the history list for entire commands that use the minibuffer
  3041. is a separate feature. That history list records a command with all
  3042. its arguments, and you must use C-x ESC ESC to access it.
  3043. ** You can use the new command C-x v ~ VERSION RET to examine a
  3044. specified version of a file that is maintained with version control.
  3045. ** In Indented Text mode, only blank lines now separate paragraphs.
  3046. Indented lines continue the paragraph that is in progress. This makes
  3047. the user option variable adaptive-fill-mode have its intended effect.
  3048. ** Local variable specifications in files for variables whose names end
  3049. in `-hook' and `-function' are now controlled by the variable
  3050. `enable-local-eval', just like the `eval' variable.
  3051. ** C-x r j (jump-to-register) when restoring a frame configuration now
  3052. makes all unwanted frames (existing frames not mentioned in the
  3053. configuration) invisible.
  3054. If you want to delete these unwanted frames, use a prefix argument for
  3055. C-x r j.
  3056. ** You can customize the calendar to display weeks beginning on
  3057. Monday: set the variable `calendar-week-start-day' to 1.
  3058. ** Rmail changes.
  3059. If you save messages to a file in Unix format while viewing a message
  3060. with its whole header, this now copies to the file the entire header
  3061. of each message copied.
  3062. ** Comint mode changes.
  3063. C-c C-e shows as much output as possible in the window.
  3064. C-c RET copies an old input (the one at point)
  3065. and places the copy after the latest prompt.
  3066. C-c C-p and C-c C-n move through the buffer, stopping at places
  3067. where the subshell prompted for input.
  3068. C-c C-h lists the input history in a `*Help*' buffer.
  3069. There are new menu bar items for completion/input/output/signal commands.
  3070. Input behavior is configurable. Variables control whether some windows
  3071. showing the buffer scroll to the bottom before insertion. These are
  3072. `comint-scroll-to-bottom-on-input' and `before-change-function'. By default,
  3073. insertion causes the selected window to scroll to the bottom before insertion
  3074. occurs.
  3075. Subprocess output now keeps point at the end of the buffer in each
  3076. window individually if point was already at the end of the buffer in
  3077. that window.
  3078. If `comint-scroll-show-maximum-output' is non-nil (which is the
  3079. default), then scrolling due to arrival of output tries to place the
  3080. last line of text at the bottom line of the window, so as to show as
  3081. much useful text as possible. (This mimics the scrolling behavior of
  3082. many terminals.)
  3083. By setting `comint-scroll-to-bottom-on-output', you can opt for having
  3084. point jump to the end of the buffer whenever output arrives--no matter
  3085. where in the buffer point was before. If the value is `this', point
  3086. jumps in the selected window. If the value is `all', point jumps in
  3087. each window that shows the comint buffer. If the value is `other',
  3088. point jumps in all nonselected windows that show the current buffer.
  3089. The default value is nil, which means point does not jump to the end.
  3090. Input history insertion is configurable. A variable controls whether only the
  3091. first instance of successive identical inputs is stored in the input history.
  3092. This is `comint-input-ignoredups'.
  3093. Completion (bound to TAB) is now more general. Depending on context,
  3094. completion now operates on the input history, on command names, or (as
  3095. before) on filenames.
  3096. Filename completion is configurable. Variables control whether
  3097. file/directory suffix characters are added (`comint-completion-addsuffix'),
  3098. whether shortest completion is acceptable when no further unambiguous
  3099. completion is possible (`comint-completion-recexact'), and the timing of
  3100. completion candidate listing (`comint-completion-autolist').
  3101. Comint mode now provides history expansion. Insert input using `!'
  3102. and `^', in the same syntax that typical shells use; then type TAB.
  3103. This searches the comint input history for a matching element,
  3104. performs substitution if necessary, and places the result in the
  3105. comint buffer in place of the original input.
  3106. History references in the input may be expanded before insertion into
  3107. the input ring, or on input to the interpreter (and therefore
  3108. visibly). The variable `comint-input-autoexpand' specifies which.
  3109. You can make the SPC key perform history expansion by binding
  3110. SPC to the command `comint-magic-space'.
  3111. The command `comint-dynamic-complete-variable' does variable name
  3112. completion using the environment variables as set within Emacs. The
  3113. variables controlling filename completion apply to variable name
  3114. completion too. This command is normally available through the menu
  3115. bar.
  3116. ** Shell mode
  3117. Paragraph motion and marking commands (default bindings M-{, M-}, M-h) operate
  3118. on output groups (i.e., shell prompt plus associated shell output).
  3119. TAB now completes commands, as well as file names and expand history.
  3120. Commands are searched for along the path that Emacs has on startup.
  3121. C-c C-f now moves forward a command (`shell-forward-command') and
  3122. C-c C-b now moves backward a command (`shell-backward-command').
  3123. Command completion is configurable. The variables controlling
  3124. filename completion in comint mode apply, together with a variable
  3125. controlling whether to restrict possible completions to only files
  3126. that are executable (`shell-command-execonly').
  3127. The input history is initialized from the file name given in the
  3128. variable `shell-input-ring-file-name'--normally `.history' in your
  3129. home directory.
  3130. Directory tracking is more robust. It can cope with command sequences
  3131. and forked commands, and can detect the failure of directory changing
  3132. commands in most circumstances. It's still not infallible, of course.
  3133. You can now configure the behavior of `pushd'. Variables control
  3134. whether `pushd' behaves like `cd' if no argument is given
  3135. (`shell-pushd-tohome'), pop rather than rotate with a numeric argument
  3136. (`shell-pushd-dextract'), and only add directories to the directory
  3137. stack if they are not already on it (`shell-pushd-dunique'). The
  3138. configuration you choose should match the underlying shell, of course.
  3139. * Emacs Lisp programming changes in Emacs 19.20.
  3140. ** A new function `remove-hook' is now used to remove a hook that you might
  3141. have added with `add-hook'.
  3142. ** There is now a Lisp pretty-printer in the library `pp'.
  3143. ** The partial Common Lisp support has been entirely reimplemented.
  3144. ** When you insert text using `insert', `insert-before-markers' or
  3145. `insert-buffer-substring', text properties are no longer inherited
  3146. from the surrounding text.
  3147. When you want to inherit text properties, use the new functions
  3148. `insert-and-inherit' or `insert-before-markers-and-inherit'.
  3149. The self-inserting character command does do inheritance.
  3150. ** Frame creation hooks.
  3151. The function make-frame now runs the normal hooks
  3152. before-make-frame-hook and after-make-frame-hook.
  3153. ** You can now use function-key-map to make a key an alias for other
  3154. key sequences that can vary depending on circumstances. To do this,
  3155. give the key a definition in function-key-map which is a function
  3156. rather than a specific expansion key sequence.
  3157. If the function reads input itself, it can have the effect of altering
  3158. the event that follows. For example, here's how to define C-c h to
  3159. turn the character that follows into a hyper character:
  3160. (define-key function-key-map "\C-ch" 'hyperify)
  3161. (defun hyperify (prompt)
  3162. (let ((e (read-event)))
  3163. (vector (if (numberp e)
  3164. (logior (lsh 1 20) e)
  3165. (if (memq 'hyper (event-modifiers e))
  3166. e
  3167. (add-event-modifier "H-" e))))))
  3168. (defun add-event-modifier (string e)
  3169. (let ((symbol (if (symbolp e) e (car e))))
  3170. (setq symbol (intern (concat string (symbol-name symbol))))
  3171. (if (symbolp e)
  3172. symbol
  3173. (cons symbol (cdr e)))))
  3174. The character translation function gets one argument, which is the
  3175. prompt that was specified in read-key-sequence--or nil if the key
  3176. sequence is being read by the editor command loop. In most cases
  3177. you can just ignore the prompt value.
  3178. ** Changes for reading and writing text properties.
  3179. New low-level Lisp features make it possible to write Lisp programs to
  3180. save text properties in files, and read text properties from files.
  3181. You can program any file format you like.
  3182. The variable `write-region-annotation-functions' should contain a list
  3183. of functions to be run by `write-region' to encode text properties in
  3184. some fashion as annotations to the text that is written.
  3185. Each function in the list is called with two arguments: the start and
  3186. end of the region to be written. These functions should not alter the
  3187. contents of the buffer. Instead, they should return lists indicating
  3188. annotations to write in the file in addition to the text in the
  3189. buffer.
  3190. Each function should return a list of elements of the form (POSITION
  3191. . STRING), where POSITION is an integer specifying the relative
  3192. position in the text to be written, and STRING is the annotation to
  3193. add there.
  3194. Each list returned by one of these functions must be already sorted in
  3195. increasing order by POSITION. If there is more than one function,
  3196. `write-region' merges the lists destructively into one sorted list.
  3197. When `write-region' actually writes the text from the buffer to the
  3198. file, it intermixes the specified annotations at the corresponding
  3199. positions. All this takes place without modifying the buffer.
  3200. The variable `after-insert-file-functions' should contain a list of
  3201. functions to be run each time a file's contents have been inserted into
  3202. a buffer. Each function receives one argument, the length of the
  3203. inserted text; point indicates the start of that text. The function
  3204. should make whatever changes it wants to make, then return the updated
  3205. length of the inserted text, as it stands after those changes. The
  3206. value returned by one function is used as the argument to the next.
  3207. These functions should always return with point at the beginning of
  3208. the inserted text.
  3209. The intended use of `after-insert-file-functions' is for converting
  3210. some sort of textual annotations into actual text properties. But many
  3211. other uses may be possible.
  3212. We now invite users to begin implementing Lisp programs to store and
  3213. retrieve text properties in files, using these new primitive features,
  3214. and thus to experiment with various data formats and find good ones.
  3215. We suggest not trying to handle arbitrary Lisp objects as property
  3216. names or property values--because a program that general is probably
  3217. difficult to write, and slow. Instead, choose a set of possible data
  3218. types that are reasonably flexible, and not too hard to encode.
  3219. ** Comint completion.
  3220. Currently comint-dynamic-complete-command (and associated variable
  3221. comint-after-partial-pathname-command) are set by default to complete a
  3222. filename. Other comint-mode users should have their own functions to achieve
  3223. this. For example, gud-mode could complete debugger commands. A completion
  3224. function is provided solely for this reason (comint-dynamic-simple-complete).
  3225. Other comint-mode users should bind comint-dynamic-complete (shell-mode does
  3226. already).
  3227. ** Comint history reference expansion
  3228. Currently comint-input-autoexpand is 'history, which means only expand
  3229. history on insertion to comint-input-ring. For non-shell modes, this is
  3230. a strange default, since non-shells will not understand history references.
  3231. Perhaps it would be better for the variable to be 'input, which means expand
  3232. on RET.
  3233. The value 'history might possibly be wrong even for shells, since the
  3234. expansion will be done both by comint and the underlying shell (except sh, of
  3235. course). It would be better for expansion to be done by one or the other,
  3236. not both since they may (ahem) disagree. Since it is silly to put a literal
  3237. history reference into comint-input-ring, perhaps it would be better for the
  3238. variable to be 'input too.
  3239. The reason the variable is not 'input by default is that I was attempting to
  3240. adhere to The Principle of Least Astonishment. I didn't want to shock users
  3241. by having their input change in front of their eyes.
  3242. ** Argument delimiters and Comint mode.
  3243. Currently comint-delimiter-argument-list is '(), which means no strings are
  3244. to be treated as delimiters and arguments. In shell-mode, this variable is
  3245. set to shell-delimiter-argument-list, '("|" "&" "<" ">" "(" ")" ";"). Other
  3246. comint-mode users should set this variable too. For example, a lisp-type
  3247. mode might want to set this to '("." "(" ")") or some such.
  3248. ** Comint output hook.
  3249. There is now a hook, comint-output-filter-hook, that is run-hooks'ed by the
  3250. output filter, comint-output-filter. This is useful for scrolling (see
  3251. below), but also things like processing output for specific text, output
  3252. highlighting, etc.
  3253. So that such output processing may be done efficiently, there is a new
  3254. variable, comint-last-output-start, that records the position of the start of
  3255. the last output inserted into the buffer (effectively the previous value
  3256. of process-mark). Output processing functions should process the text
  3257. between comint-last-output-start (or perhaps the beginning of the line that
  3258. the position lies on) and process-mark.
  3259. ** Comint scrolling.
  3260. There is now automatic scrolling of process windows.
  3261. Currently comint-scroll-show-maximum-output is t, which means when scrolling
  3262. output put process-mark at the bottom of the window. There is a good case
  3263. for it to be t, since the user is likely to want to see as much output as
  3264. possible. But, then again, there is a comint-show-maximum-output command.
  3265. ** Comint history retrieval.
  3266. The input following point is not deleted when moving around the input history
  3267. (with M-p etc.). Emacs maintainers may not like this. However, I feel this
  3268. is a useful feature. The simple remedy is to put end-of-line in before
  3269. delete-region in comint-previous-matching-input.
  3270. The input history retrieval commands still wrap-around the input ring, unlike
  3271. Emacs command history.
  3272. * Changes in version 19.19.
  3273. ** The new package bookmark.el records named bookmarks: positions that
  3274. you can jump to. Bookmarks are saved automatically between Emacs
  3275. sessions.
  3276. ** Another simpler package saveplace.el records your position in each
  3277. file when you kill its buffer (or kill Emacs), and jumps to the same
  3278. position when you visit the file again (even in another Emacs
  3279. session). Use `toggle-save-place' to turn on place-saving in a given file;
  3280. use (setq-default save-place t) to turn it on for all files.
  3281. ** In Outline mode, you can now customize how to compute the level of a
  3282. heading line. Set `outline-level' to a function of no arguments which
  3283. returns the level, assuming point is at the beginning of a heading
  3284. line.
  3285. ** You can now specify the prefix key to use for Outline minor mode.
  3286. (The default is C-c.) Set the variable outline-minor-mode-prefix to
  3287. the key sequence you want to use (as a string or vector).
  3288. ** In Bibtex mode, C-c e has been changed to C-c C-b. This is because
  3289. C-c followed by a letter is reserved for users.
  3290. ** The `mod' function is no longer an alias for `%', but is a separate function
  3291. that yields a result with the same sign as the divisor. `floor' now takes an
  3292. optional second argument, which divides the first argument before the floor is
  3293. taken.
  3294. ** `%' no longer allows floating point arguments, since the results were often
  3295. inconsistent with integer `%'.
  3296. * Changes in version 19.18.
  3297. ** Typing C-z in an iconified Emacs frame now deiconifies it.
  3298. ** hilit19 is a new library for automatic highlighting of parts of the
  3299. text in the buffer, based on its meaning and context.
  3300. ** Killing no longer sends the killed text to the X clipboard.
  3301. And large strings are not put in the cut buffer either.
  3302. The variable x-cut-buffer-max specifies the maximum number of characters
  3303. to put in the cut buffer.
  3304. ** The new command C-x 5 o (other-frame) selects different frames,
  3305. successively, in cyclic order. It does for frames what C-x o
  3306. does for windows.
  3307. ** The command M-ESC (eval-expression) has its own command history.
  3308. ** The commands M-! and M-| for running shell commands have their own
  3309. command history.
  3310. ** If the directory containing the Emacs executable has a sibling named
  3311. `lisp', that `lisp' directory is added to the end of `load-path'
  3312. (provided you don't override the normal value with the EMACSLOADPATH
  3313. environment variable). This feature may make it easier to move
  3314. an installed Emacs from place to place.
  3315. ** M-x validate-tex-buffer now records the locations of mismatches
  3316. found in the `*Occur*' buffer. You can go to that buffer and type C-c
  3317. C-c to visit a particular mismatch.
  3318. ** There are new commands in Shell mode.
  3319. C-c C-n and C-c C-p move point to the next or previous shell input line.
  3320. C-c C-d is now another way to send an end-of-file to the subshell.
  3321. ** Changes to calendar/diary.
  3322. Time zone data is now determined automatically, including the
  3323. start/stop days and times of daylight saving time. The code now
  3324. works correctly almost anywhere in the world.
  3325. The format of the holiday specifications has changed and IS NO LONGER
  3326. COMPATIBLE with the old (version 18) format. See the documentation of
  3327. the variable calendar-holidays for details of the new, improved
  3328. format.
  3329. The hook `diary-display-hook' has been split into two:
  3330. diary-display-hook which should be used ONLY for the display and
  3331. `diary-hook' which should be used for appointment notification. If
  3332. diary-display-hook is nil (the default), simple-diary-display is
  3333. used. This allows the diary hooks to be correctly set with add-hook.
  3334. The forms used for dates in diary entries and general display are no
  3335. longer autoloaded, but set at load time; this means they will be set
  3336. correctly based on values you assign to various variables.
  3337. ** The functions x-rebind-key and x-rebind-keys have been deleted,
  3338. because you can accomplish the same job by binding keys to keyboard
  3339. macros.
  3340. ** Emacs now distinguishes double and triple drag events and double and
  3341. triple button-down events. These work analogously to double and
  3342. triple click events.
  3343. Double drag events, if not defined, convert to ordinary click events.
  3344. Double down events, if not defined, convert first to ordinary down
  3345. events, which are then discarded if not defined. Triple events that
  3346. are not defined convert to the corresponding double event; if that is
  3347. also not defined, it may convert further.
  3348. ** The new function event-click-count returns the number of clicks,
  3349. from an event which is a list. It is 1 for an ordinary click, drag,
  3350. or button-down event, 2 for a double event, and 3 or more for a triple
  3351. event.
  3352. ** The new function previous-frame is like next-frame, but moves
  3353. around through the set of existing frames in the opposite order.
  3354. ** The post-command-hook now runs even after commands that get an error
  3355. and return to top level. As a consequence of the same change, this
  3356. hook also runs before Emacs reads the first command. That might sound
  3357. paradoxical, as if this hook were the same as the pre-command-hook.
  3358. Actually, they are not similar; the latter runs before *execution* of
  3359. a command, but after it has been read.
  3360. ** You can turn off the text property hooks that run when point moves
  3361. to certain places in the buffer, by binding inhibit-point-motion-hooks
  3362. to a non-nil value.
  3363. ** Inserting a string with no text properties into the buffer normally
  3364. inherits the properties of the preceding character. You can now
  3365. control this inheritance by setting the front-sticky and
  3366. rear-nonsticky properties of a character.
  3367. If you make a character's front-sticky property t, then insertion
  3368. before the character inherits its properties. If you make the
  3369. rear-nonsticky property t, then insertion after the character does not
  3370. inherit its properties. You can regard characters as normally being
  3371. rear-sticky and not front-sticky, and this is why insertion normally
  3372. inherits from the previous character.
  3373. If neither side of an insertion is suitably sticky, then the inserted
  3374. text gets no properties. If both sides are sticky, then the inserted
  3375. text gets the properties of both sides, with the previous character's
  3376. properties taking precedence when both sides have a property in
  3377. common.
  3378. You can also specify stickiness for individual properties. To do so,
  3379. use a list of property names as the value of the front-sticky property
  3380. or the rear-nonsticky property. For example, if a character has a
  3381. rear-nonsticky property whose value is (face read-only), then
  3382. insertion after the character will not inherit its face property or
  3383. read-only property (if any), but will inherit any other properties.
  3384. The merging of properties when both sides of the insertion are sticky
  3385. takes place one property at a time. If the preceding character is
  3386. rear-sticky for the property, and the property is non-nil, it
  3387. dominates. Otherwise, the following character's property value is
  3388. used if it is front-sticky for that property.
  3389. ** If you give a character a non-nil `invisible' text property, the
  3390. character does not appear on the screen. This works much like
  3391. selective display.
  3392. The details of this feature are likely to change in future Emacs
  3393. versions.
  3394. ** In Info, when you go to a node, it runs the normal hook
  3395. Info-selection-hook.
  3396. ** You can use the new function `invocation-directory' to get the name
  3397. of the directory containing the Emacs executable that was run.
  3398. ** Entry to the minibuffer runs the normal hook minibuffer-setup-hook.
  3399. ** The new function minibuffer-window-active-p takes one argument, a
  3400. minibuffer window, and returns t if the window is currently active.
  3401. * Changes in version 19.17.
  3402. ** When Emacs displays a list of completions in a buffer,
  3403. you can select a completion by clicking mouse button 2
  3404. on that completion.
  3405. ** Use the command `list-faces-display' to display a list of
  3406. all the currently defined faces, showing what they look like.
  3407. ** Menu bar items from local maps now come after the usual items.
  3408. ** The Help menu bar item always comes last in the menu bar.
  3409. ** If you enable Font-Lock mode on a buffer containing a program
  3410. (certain languages such as C and Lisp are supported), everything you
  3411. type is automatically given a face property appropriate to its
  3412. syntactic role. For example, there are faces for comments, string
  3413. constants, names of functions being defined, and so on.
  3414. ** Dunnet, an adventure game, is now available.
  3415. ** Several major modes now have their own menu bar items,
  3416. including Dired, Rmail, and Sendmail. We would like to add
  3417. suitable menu bar items to other major modes.
  3418. ** The key binding C-x a C-h has been eliminated.
  3419. This is because it got in the way of the general feature of typing
  3420. C-h after a prefix character. If you want to run
  3421. inverse-add-global-abbrev, you can use C-x a - or C-x a i g instead.
  3422. ** If you set the variable `rmail-mail-new-frame' to a non-nil value,
  3423. all the Rmail commands to send mail make a new frame to do it in.
  3424. When you send the message, or use the menu bar command not to send it,
  3425. that frame is deleted.
  3426. ** In Rmail, the o and C-o commands are now almost interchangeable.
  3427. Both commands check the format of the file you specify, and append
  3428. the message to it in Rmail format if it is an Rmail file, and in
  3429. inbox file format otherwise. C-o and o are different only when you
  3430. specify a new file.
  3431. ** The function `copy-face' now takes an optional fourth argument
  3432. NEW-FRAME. If you specify this, it copies the definition of face
  3433. OLD-FACE on frame FRAME to face NEW-NAME on frame NEW-FRAME.
  3434. ** A local map can now cancel out one of the global map's menu items.
  3435. Just define that subcommand of the menu item with `undefined'
  3436. as the definition. For example, this cancels out the `Buffers' item
  3437. for the current major mode:
  3438. (local-set-key [menu-bar buffer] 'undefined)
  3439. ** To put global items at the end of the menu bar, use the new variable
  3440. `menu-bar-final-items'. It should be a list of symbols--event types
  3441. bound in the menu bar. The menu bar items for these symbols are
  3442. moved to the end.
  3443. ** The list returned by `buffer-local-variables' now contains cons-cell
  3444. elements of the form (SYMBOL . VALUE) only for buffer-local variables
  3445. that have values. For unbound buffer-local variables, the variable
  3446. name (symbol) appears directly as an element of the list.
  3447. ** The `modification-hooks' property of a character no longer affects
  3448. insertion; it runs only for deletion and modification of the character.
  3449. To detect insertion, use `insert-in-front-hooks' and
  3450. `insert-behind-hooks' properties. The former runs when text is
  3451. inserted immediately preceding the character that has the property;
  3452. the latter runs when text is inserted immediately following the
  3453. character.
  3454. ** Buffer modification now runs hooks belonging to overlays as well as
  3455. hooks belonging to characters. If an overlay has a
  3456. `modification-hooks' property, it applies to any change to text in the
  3457. overlay, and any insertion within the overlay. If the overlay has a
  3458. `insert-in-front-hooks' property, it runs for insertion at the
  3459. beginning boundary of the overlay. If the overlay has an
  3460. `insert-behind-hooks' property, it runs for insertion at the end
  3461. boundary of the overlay.
  3462. The values of these properties should be lists of functions. Each
  3463. function is called, receiving as arguments the overlay in question,
  3464. followed by the bounds of the range being modified.
  3465. ** The new `-name NAME' option directs Emacs to search for its X
  3466. resources using the name `NAME', and sets the title of the initial
  3467. frame. This argument was added for consistency with other X clients.
  3468. ** The new `-xrm DATABASE' option tells Emacs to treat the string
  3469. DATABASE as the text of an X resource database. Emacs searches
  3470. DATABASE for resource values, in addition to the usual places. This
  3471. argument was added for consistency with other X clients.
  3472. ** Emacs now searches for X resources in the files specified by the
  3473. XFILESEARCHPATH, XUSERFILESEARCHPATH, and XAPPLRESDIR environment
  3474. variables, emulating the functionality provided by programs written
  3475. using Xt. Because of this change, Emacs will now notice system-wide
  3476. application defaults files, as other X clients do.
  3477. XFILESEARCHPATH and XUSERFILESEARCHPATH should be a list of file names
  3478. separated by colons; XAPPLRESDIR should be a list of directory names
  3479. separated by colons.
  3480. Emacs searches for X resources
  3481. + specified on the command line, with the `-xrm RESOURCESTRING'
  3482. option,
  3483. + then in the value of the XENVIRONMENT environment variable,
  3484. - or if that is unset, in the file named ~/.Xdefaults-HOSTNAME if it exists
  3485. (where HOSTNAME is the hostname of the machine Emacs is running on),
  3486. + then in the screen-specific and server-wide resource properties
  3487. provided by the server,
  3488. - or if those properties are unset, in the file named ~/.Xdefaults
  3489. if it exists,
  3490. + then in the files listed in XUSERFILESEARCHPATH,
  3491. - or in files named LANG/Emacs in directories listed in XAPPLRESDIR
  3492. (where LANG is the value of the LANG environment variable), if
  3493. the LANG environment variable is set,
  3494. - or in files named Emacs in the directories listed in XAPPLRESDIR
  3495. - or in ~/LANG/Emacs (if the LANG environment variable is set),
  3496. - or in ~/Emacs,
  3497. + then in the files listed in XFILESEARCHPATH.
  3498. The paths in the variables XFILESEARCHPATH, XUSERFILESEARCHPATH, and
  3499. XAPPLRESDIR may contain %-escapes (like the control strings passed to
  3500. the Emacs lisp `format' function or C printf function), which Emacs expands.
  3501. %N is replaced by the string "Emacs" wherever it occurs.
  3502. %T is replaced by "app-defaults" wherever it occurs.
  3503. %S is replaced by the empty string wherever it occurs.
  3504. %L and %l are replaced by the value of the LANG environment variable; if LANG
  3505. is not set, Emacs does not use that directory or file name at all.
  3506. %C is replaced by the value of the resource named "customization"
  3507. (class "Customization"), as retrieved from the server's resource
  3508. properties or the user's ~/.Xdefaults file, or the empty string if
  3509. that resource doesn't exist.
  3510. So, for example,
  3511. if XFILESEARCHPATH is set to the value
  3512. "/usr/lib/X11/%L/%T/%N%C:/usr/lib/X11/%T/%N%C:/usr/lib/X11/%T/%N",
  3513. and the LANG environment variable is set to
  3514. "english",
  3515. and the customization resource is the string
  3516. "-color",
  3517. then, in the last step of the process described above, Emacs checks
  3518. for resources in the first of the following files that is present and
  3519. readable:
  3520. /usr/lib/X11/english/app-defaults/Emacs-color
  3521. /usr/lib/X11/app-defaults/Emacs-color
  3522. /usr/lib/X11/app-defaults/Emacs
  3523. If the LANG environment variable is not set, then Emacs never uses the
  3524. first element of the path, "/usr/lib/X11/%L/%T/%N%C", because it
  3525. contains the %L escape.
  3526. If XFILESEARCHPATH is unset, Emacs uses the default value
  3527. "/usr/lib/X11/%L/app-defaults/Emacs%C:\
  3528. /usr/lib/X11/app-defaults/Emacs%C:\
  3529. /usr/lib/X11/%L/app-defaults/Emacs:\
  3530. /usr/lib/X11/app-defaults/Emacs"
  3531. This feature was added for consistency with other X applications.
  3532. ** The new function `text-property-any' scans the region of text from
  3533. START to END to see if any character's property PROP is `eq' to
  3534. VALUE. If so, it returns the position of the first such character.
  3535. Otherwise, it returns nil.
  3536. The optional fifth argument, OBJECT, specifies the string or buffer to
  3537. be examined.
  3538. ** The new function `text-property-not-all' scans the region of text from
  3539. START to END to see if any character's property PROP is not `eq' to
  3540. VALUE. If so, it returns the position of the first such character.
  3541. Otherwise, it returns nil.
  3542. The optional fifth argument, OBJECT, specifies the string or buffer to
  3543. be examined.
  3544. ** The function `delete-windows-on' now takes an optional second
  3545. argument FRAME, which specifies which frames it should affect.
  3546. + If FRAME is nil or omitted, then `delete-windows-on' deletes windows
  3547. showing BUFFER (its first argument) on all frames.
  3548. + If FRAME is t, then `delete-windows-on' only deletes windows on the
  3549. selected frame; other frames are unaffected.
  3550. + If FRAME is a frame, then `delete-windows-on' only deletes windows on
  3551. the given frame; other frames are unaffected.
  3552. * Changes in version 19.16.
  3553. ** When dragging the mouse to select a region, Emacs now highlights the
  3554. region as you drag (if Transient Mark mode is enabled). If you
  3555. continue the drag beyond the boundaries of the window, Emacs scrolls
  3556. the window at a steady rate until you either move the mouse back into
  3557. the window or release the button.
  3558. ** RET now exits `query-replace' and `query-replace-regexp'; this makes it
  3559. more consistent with the incremental search facility, which uses RET
  3560. to end the search.
  3561. ** In C mode, C-c C-u now runs c-up-conditional.
  3562. C-c C-n and C-c C-p now run new commands that move forward
  3563. and back over balanced sets of C conditionals (c-forward-conditional
  3564. and c-backward-conditional).
  3565. ** The Edit entry in the menu bar has a new alternative:
  3566. "Choose Next Paste". It gives you a menu showing the various
  3567. strings in the kill ring; click on one to select it as the text
  3568. to be yanked ("pasted") the next time you yank.
  3569. ** If you enable Transient Mark mode and set `mark-even-if-inactive' to
  3570. non-nil, then the region is highlighted in a transient fashion just as
  3571. normally in Transient Mark mode, but the mark really remains active
  3572. all the time; commands that use the region can be used even if the
  3573. region highlighting turns off.
  3574. ** If you type C-h after a prefix key, it displays the bindings
  3575. that start with that prefix.
  3576. ** The VC package now searches for version control commands in the
  3577. directories named by the variable `vc-path'; its value should be a
  3578. list of strings.
  3579. ** If you are visiting a file that has locks registered under RCS,
  3580. VC now displays each lock's owner and version number in the mode line
  3581. after the string `RCS'. If there are no locks, VC displays the head
  3582. version number.
  3583. ** When using X, if you load the `paren' library, Emacs automatically
  3584. underlines or highlights the matching paren whenever point is
  3585. next to the outside of a paren. When point is before an open-paren,
  3586. this shows the matching close; when point is after a close-paren,
  3587. this shows the matching open.
  3588. ** The new function `define-key-after' is like `define-key',
  3589. but takes an extra argument AFTER. It places the newly defined
  3590. binding after the binding for the event AFTER.
  3591. ** `accessible-keymaps' now takes an optional second argument, PREFIX.
  3592. If PREFIX is non-nil, it means the value should include only maps for
  3593. keys that start with PREFIX.
  3594. `describe-bindings' also accepts an optional argument PREFIX which
  3595. means to describe only the keys that start with PREFIX.
  3596. ** The variable `prefix-help-command' hold a command to run to display help
  3597. whenever the character `help-char' follows a prefix key and does not have
  3598. a key binding in that context.
  3599. ** Emacs now detects double- and triple-mouse clicks. A single mouse
  3600. click produces a pair events of the form:
  3601. (down-mouse-N POSITION)
  3602. (mouse-N POSITION)
  3603. Clicking the same mouse button again, soon thereafter and at the same
  3604. location, produces another pair of events of the form:
  3605. (down-mouse-N POSITION)
  3606. (double-mouse-N POSITION 2)
  3607. Another click will produce an event pair of the form:
  3608. (down-mouse-N POSITION)
  3609. (triple-mouse-N POSITION 3)
  3610. All the POSITIONs in such a sequence would be identical, except for
  3611. their timestamps.
  3612. To count as double- and triple-clicks, mouse clicks must be at the
  3613. same location as the first click, and the number of milliseconds
  3614. between the first release and the second must be less than the value
  3615. of the lisp variable `double-click-time'. Setting `double-click-time'
  3616. to nil disables multi-click detection. Setting it to t removes the
  3617. time limit; Emacs then detects multi-clicks by position only.
  3618. If `read-key-sequence' finds no binding for a double-click event, but
  3619. the corresponding single-click event would be bound,
  3620. `read-key-sequence' demotes it to a single-click. Similarly, it
  3621. demotes unbound triple-clicks to double- or single-clicks. This means
  3622. you don't have to distinguish between single- and multi-clicks if you
  3623. don't want to.
  3624. Emacs reports all clicks after the third as `triple-mouse-N' clicks,
  3625. but increments the click count after POSITION. For example, a fourth
  3626. click, soon after the third and at the same location, produces a pair
  3627. of events of the form:
  3628. (down-mouse-N POSITION)
  3629. (triple-mouse-N POSITION 4)
  3630. ** The way Emacs reports positions of mouse events has changed
  3631. slightly. If a mouse event includes a position list of the form:
  3632. (WINDOW (PLACE-SYMBOL) (COLUMN . ROW) TIMESTAMP)
  3633. this denotes exactly the same position as the list:
  3634. (WINDOW PLACE-SYMBOL (COLUMN . ROW) TIMESTAMP)
  3635. That is, the event occurred over a non-textual area of the frame,
  3636. specified by PLACE-SYMBOL, a symbol like `mode-line' or
  3637. `vertical-scroll-bar'.
  3638. Enclosing PLACE-SYMBOL in a singleton list does not change the
  3639. position denoted, but the `read-key-sequence' function uses the
  3640. presence or absence of the singleton list to tell whether or not it
  3641. should prefix the event with its place symbol.
  3642. Normally, `read-key-sequence' prefixes mouse events occurring over
  3643. non-textual areas with their PLACE-SYMBOLs, to select the sub-keymap
  3644. appropriate for the event; for example, clicking on the mode line
  3645. produces a sequence like
  3646. [mode-line (mouse-1 POSN)]
  3647. However, if lisp code elects to unread the resulting key sequence by
  3648. placing it in the `unread-command-events' variable, it is important
  3649. that `read-key-sequence' not insert the prefix symbol again; that
  3650. would produce a malformed key sequence like
  3651. [mode-line mode-line (mouse-1 POSN)]
  3652. For this reason, `read-key-sequence' encloses the event's PLACE-SYMBOL
  3653. in a singleton list when it first inserts the prefix, but doesn't
  3654. insert the prefix when processing events whose PLACE-SYMBOLs are
  3655. already thus enclosed.
  3656. * Changes in version 19.15.
  3657. ** `make-frame-visible', which uniconified frames, is now a command,
  3658. and thus may be bound to a key. This makes sense because frames
  3659. respond to user input while iconified.
  3660. ** You can now use Meta mouse clicks to set and use the "secondary
  3661. selection". You can drag M-Mouse-1 across the region you want to
  3662. select. Or you can press M-Mouse-1 at one end and M-Mouse-3 at the
  3663. other (this also copies the text to the kill ring). Repeating M-Mouse-3
  3664. again at the same place kills that text.
  3665. M-Mouse-2 kills the secondary selection.
  3666. Setting the secondary selection does not move point or the mark. It
  3667. is possible to make a secondary selection that does not all fit on the
  3668. screen, by using M-Mouse-1 at one end, scrolling, then using M-Mouse-3
  3669. at the other end.
  3670. Emacs has only one secondary selection at any time. Starting to set
  3671. a new one cancels any previous one. The secondary selection displays
  3672. using a face named `secondary-selection'.
  3673. ** There's a new way to request use of Supercite (sc.el). Do this:
  3674. (add-hook 'mail-citation-hook 'sc-cite-original)
  3675. Currently this works with Rmail. In the future, other Emacs based
  3676. mail-readers should be modified to understand this hook also.
  3677. In the mean time, you should keep doing what you have done in the past
  3678. for those other mail readers.
  3679. ** When a regular expression contains `\(...\)' inside a repetition
  3680. operator such as `*' or `+', and you ask about the range that was matched
  3681. using `match-beginning' and `match-end', the range you get corresponds
  3682. to the *last* repetition *only*. In Emacs 18, you would get a range
  3683. corresponding to all the repetitions.
  3684. If you want to get a range corresponding to all the repetitions,
  3685. put a `\(...\)' grouping *outside* the repetition operator. This
  3686. is the syntax that corresponds logically to the desired result, and
  3687. it works the same in Emacs 18 and Emacs 19.
  3688. (This change actually took place earlier, but we didn't know about it
  3689. and thus didn't document it.)
  3690. * Changes in version 19.14.
  3691. ** To modify read-only text, bind the variable `inhibit-read-only'
  3692. to a non-nil value. If the value is t, then all reasons that might
  3693. make text read-only are inhibited (including `read-only' text properties).
  3694. If the value is a list, then a `read-only' property is inhibited
  3695. if it is `memq' in the list.
  3696. ** If you call `get-buffer-window' passing t as its second argument, it
  3697. will only search for windows on visible frames. Previously, passing t
  3698. as the second argument caused `get-buffer-window' to search all
  3699. frames, visible or not.
  3700. ** If you call `other-buffer' with a nil or omitted second argument, it
  3701. will ignore buffers displayed windows on any visible frame, not just
  3702. the selected frame.
  3703. ** You can specify a window or a frame for C-x # to use when
  3704. selects a server buffer. Set the variable server-window
  3705. to the window or frame that you want.
  3706. ** The command M-( now inserts spaces outside the open-parentheses in
  3707. some cases--depending on the syntax classes of the surrounding
  3708. characters. If the variable `parens-dont-require-spaces' is non-nil,
  3709. it inhibits insertion of these spaces.
  3710. ** The GUD package now supports the debugger known as xdb on HP/UX
  3711. systems. Use M-x xdb. The variable `gud-xdb-directories' lets you
  3712. specify a list of directories to search for source code.
  3713. ** If you are using the mailabbrev package, you should note that its
  3714. function for defining an alias is now called `define-mail-abbrev'.
  3715. This package no longer contains a definition for `define-mail-alias';
  3716. that name is used only in mailaliases.
  3717. ** Inserted characters now inherit the properties of the text before
  3718. them, by default, rather than those of the following text.
  3719. ** The function `insert-file-contents' now takes optional arguments BEG
  3720. and END that specify which part of the file to insert. BEG defaults to
  3721. 0 (the beginning of the file), and END defaults to the end of the file.
  3722. If you specify BEG or END, then the argument VISIT must be nil.
  3723. * Changes in version 19.13.
  3724. ** Magic file names can now handle the `load' operation.
  3725. ** Bibtex mode now sets up special entries in the menu bar.
  3726. ** The incremental search commands C-w and C-y, which copy text from
  3727. the buffer into the search string, now convert it to lower case
  3728. if you are in a case-insensitive search. This is to avoid making
  3729. the search a case-sensitive one.
  3730. ** GNUS now knows your time zone automatically if Emacs does.
  3731. ** Hide-ifdef mode no longer defines keys of the form
  3732. C-c LETTER, since those keys are reserved for users.
  3733. Those commands have been moved to C-c M-LETTER.
  3734. We may move them again for greater consistency with other modes.
  3735. * Changes in version 19.12.
  3736. ** You can now make many of the sort commands ignore case by setting
  3737. `sort-fold-case' to a non-nil value.
  3738. * Changes in version 19.11.
  3739. ** Supercite is installed.
  3740. ** `write-file-hooks' functions that return non-nil are responsible
  3741. for making a backup file if you want that to be done.
  3742. To do so, execute the following code:
  3743. (or buffer-backed-up (backup-buffer))
  3744. You might wish to save the file modes value returned by
  3745. `backup-buffer' and use that to set the mode bits of the file
  3746. that you write. This is what `basic-save-buffer' does when
  3747. it writes a file in the usual way.
  3748. (This is not actually new, but wasn't documented before.)
  3749. * Changes in version 19.10.
  3750. ** The command `repeat-complex-command' is now on C-x ESC ESC.
  3751. It used to be bound to C-x ESC.
  3752. The reason for this change is to make function keys work after C-x.
  3753. ** The variable `highlight-nonselected-windows' now controls whether
  3754. the region is highlighted in windows other than the selected window
  3755. (in Transient Mark mode only, of course, and currently only when
  3756. using X).
  3757. * Changes in version 19.8.
  3758. ** It is now simpler to tell Emacs to display accented characters under
  3759. X windows. M-x standard-display-european toggles the display of
  3760. buffer text according to the ISO Latin-1 standard. With a prefix
  3761. argument, this command enables European character display if and only
  3762. if the argument is positive.
  3763. ** The `-i' command-line argument tells Emacs to use a picture of the
  3764. GNU gnu as its icon, instead of letting the window manager choose an
  3765. icon for it. This option used to insert a file into the current
  3766. buffer; use `-insert' to do that now.
  3767. ** The `configure' script now supports `--prefix' and `--exec-prefix'
  3768. options.
  3769. The `--prefix=PREFIXDIR' option specifies where the installation process
  3770. should put emacs and its data files. This defaults to `/usr/local'.
  3771. - Emacs (and the other utilities users run) go in PREFIXDIR/bin
  3772. (unless the `--exec-prefix' option says otherwise).
  3773. - The architecture-independent files go in PREFIXDIR/lib/emacs/VERSION
  3774. (where VERSION is the version number of Emacs, like `19.7').
  3775. - The architecture-dependent files go in
  3776. PREFIXDIR/lib/emacs/VERSION/CONFIGURATION
  3777. (where CONFIGURATION is the configuration name, like mips-dec-ultrix4.2),
  3778. unless the `--exec-prefix' option says otherwise.
  3779. The `--exec-prefix=EXECDIR' option allows you to specify a separate
  3780. portion of the directory tree for installing architecture-specific
  3781. files, like executables and utility programs. If specified,
  3782. - Emacs (and the other utilities users run) go in EXECDIR/bin, and
  3783. - The architecture-dependent files go in
  3784. EXECDIR/lib/emacs/VERSION/CONFIGURATION.
  3785. EXECDIR/bin should be a directory that is normally in users' PATHs.
  3786. ** When running under X, the new lisp function `x-list-fonts'
  3787. allows code to find out which fonts are available from the X server.
  3788. The first argument PATTERN is a string, perhaps with wildcard characters;
  3789. the * character matches any substring, and
  3790. the ? character matches any single character.
  3791. PATTERN is case-insensitive.
  3792. If the optional arguments FACE and FRAME are specified, then
  3793. `x-list-fonts' returns only fonts the same size as FACE on FRAME.
  3794. * Changes in version 19.
  3795. ** When you kill buffers, Emacs now returns memory to the operating system,
  3796. thus reducing the size of the Emacs process. All the space that you free
  3797. up by killing buffers can now be reused for other buffers no matter what
  3798. their sizes, or reused by other processes if Emacs doesn't need it.
  3799. ** Emacs now does garbage collection and auto saving while it is waiting
  3800. for input, which often avoids the need to do these things while you
  3801. are typing.
  3802. The variable `auto-save-timeout' says how many seconds Emacs should
  3803. wait, after you stop typing, before it does an auto save and a garbage
  3804. collection.
  3805. ** If auto saving detects that a buffer has shrunk greatly, it refrains
  3806. from auto saving that buffer and displays a warning. Now it also turns
  3807. off Auto Save mode in that buffer, so that you won't get the same
  3808. warning again.
  3809. If you reenable Auto Save mode in that buffer, Emacs will start saving
  3810. it again with no further warnings.
  3811. ** A new minor mode called Line Number mode displays the current line
  3812. number in the mode line, updating it as necessary when you move
  3813. point.
  3814. However, if the buffer is very large (larger than the value of
  3815. `line-number-display-limit'), then the line number doesn't appear.
  3816. This is because computing the line number can be painfully slow if the
  3817. buffer is very large.
  3818. ** You can quit while Emacs is waiting to read or write files.
  3819. ** The arrow keys now have default bindings to move in the appropriate
  3820. directions.
  3821. ** You can suppress next-line's habit of inserting a newline when
  3822. called at the end of a buffer by setting next-line-add-newlines to nil
  3823. (it defaults to t).
  3824. ** You can now get back recent minibuffer inputs conveniently. While
  3825. in the minibuffer, type M-p to fetch the next earlier minibuffer
  3826. input, and use M-n to fetch the next later input.
  3827. There are also commands to search forward or backward through the
  3828. history for history elements that match a regular expression. M-r
  3829. searches older elements in the history, while M-s searches newer
  3830. elements. By special dispensation, these commands can always use the
  3831. minibuffer to read their arguments even though you are already in the
  3832. minibuffer when you issue them.
  3833. The history feature is available for all uses of the minibuffer, but
  3834. there are separate history lists for different kinds of input. For
  3835. example, there is a list for file names, used by all the commands that
  3836. read file names. There is a list for arguments of commands like
  3837. `query-replace'. There are also very specific history lists, such
  3838. as the one that `compile' uses for compilation commands.
  3839. ** You can now display text in a mixture of fonts and colors, using the
  3840. "face" feature, together with the overlay and text property features.
  3841. See the Emacs Lisp manual for details. The Emacs Users Manual describes
  3842. how to change the colors and font of standard predefined faces.
  3843. ** You can refer to files on other machines using special file name syntax:
  3844. /HOST:FILENAME
  3845. /USER@HOST:FILENAME
  3846. When you do this, Emacs uses the FTP program to read and write files on
  3847. the specified host. It logs in through FTP using your user name or the
  3848. name USER. It may ask you for a password from time to time; this
  3849. is used for logging in on HOST.
  3850. ** Some C-x key bindings have been moved onto new prefix keys.
  3851. C-x r is a prefix for registers and rectangles.
  3852. C-x n is a prefix for narrowing.
  3853. C-x a is a prefix for abbrev commands.
  3854. C-x r C-SPC
  3855. C-x r SPC point-to-register (Was C-x /)
  3856. C-x r j jump-to-register (Was C-x j)
  3857. C-x r s copy-to-register (Was C-x x)
  3858. C-x r i insert-register (Was C-x g)
  3859. C-x r r copy-rectangle-to-register (Was C-x r)
  3860. C-x r k kill-rectangle
  3861. C-x r y yank-rectangle
  3862. C-x r o open-rectangle
  3863. C-x r f frame-configuration-to-register
  3864. (This saves the state of all windows in all frames.)
  3865. C-x r w window-configuration-to-register
  3866. (This saves the state of all windows in the selected frame.)
  3867. (Use C-x r j to restore a configuration saved with C-x r f or C-x r w.)
  3868. C-x n n narrow-to-region (Was C-x n)
  3869. C-x n p narrow-to-page (Was C-x p)
  3870. C-x n w widen (Was C-x w)
  3871. C-x a l add-mode-abbrev (Was C-x C-a)
  3872. C-x a g add-global-abbrev (Was C-x +)
  3873. C-x a i l inverse-add-mode-abbrev (Was C-x C-h)
  3874. C-x a i g inverse-add-global-abbrev (Was C-x -)
  3875. C-x a e expand-abbrev (Was C-x ')
  3876. (The old key bindings C-x /, C-x j, C-x x and C-x g
  3877. have not yet been removed.)
  3878. ** You can put a file name in a register to be able to visit the file
  3879. quickly. Do this:
  3880. (set-register ?CHAR '(file . NAME))
  3881. where NAME is the file name as a string. Then C-x r j CHAR finds that
  3882. file.
  3883. This is useful for files that you need to visit frequently,
  3884. but that you don't want to keep in buffers all the time.
  3885. ** The keys M-g (fill-region) and C-x a (append-to-buffer)
  3886. have been eliminated.
  3887. ** The new command `string-rectangle' inserts a specified string on
  3888. each line of the region-rectangle.
  3889. ** C-x 4 r is now `find-file-read-only-other-window'.
  3890. ** C-x 4 C-o is now `display-buffer', which displays a specified buffer
  3891. in another window without selecting it.
  3892. ** Picture mode has been substantially improved. The picture editing commands
  3893. now arrange for automatic horizontal scrolling to keep point visible
  3894. when editing a wide buffer with truncate-lines on. Picture-mode
  3895. initialization now does a better job of rebinding standard commands;
  3896. it finds not just their normal keybindings, but any function keys
  3897. attached to them.
  3898. ** If you enable Transient Mark mode, then the mark becomes "inactive"
  3899. after every command that modifies the buffer. While the mark is
  3900. active, the region is highlighted (under X, at least). Most commands
  3901. that use the mark give an error if the mark is inactive, but you can
  3902. use C-x C-x to make it active again. This feature is also sometimes
  3903. known as "Zmacs mode".
  3904. ** Outline mode is now available as a minor mode. This minor mode can
  3905. combine with any major mode; it substitutes the C-c commands of
  3906. Outline mode for those of the major mode. Use M-x outline-minor-mode
  3907. to enable and disable the new mode.
  3908. M-x outline-mode is unchanged; it still switches to Outline mode as a
  3909. major mode.
  3910. ** The default setting of `version-control' comes from the environment
  3911. variable VERSION_CONTROL.
  3912. ** The user option for controlling whether files can set local
  3913. variables is now called `enable-local-variables'. A value of t means
  3914. local-variables lists are obeyed; nil means they are ignored; anything
  3915. else means query the user.
  3916. The user option for controlling use of the `eval' local variable is
  3917. now called is `enable-local-eval'; its values are interpreted like
  3918. those of `enable-local-variables'.
  3919. ** X Window System changes:
  3920. C-x 5 C-f and C-x 5 b switch to a specified file or buffer in a new
  3921. frame. Likewise, C-x 5 m starts outgoing mail in another frame, and
  3922. C-x 5 . finds a tag in another frame.
  3923. When you are using X, C-z now iconifies the selected frame.
  3924. Emacs can now exchange text with other X applications. Killing or
  3925. copying text in Emacs now makes that text available for pasting into
  3926. other X applications. The Emacs yanking commands now insert the
  3927. latest selection set by other applications, and add the text to the
  3928. kill ring. The Emacs commands for selecting and inserting text with
  3929. the mouse now use the kill ring in the same way the keyboard killing
  3930. and yanking commands do.
  3931. The option to specify the title for the initial frame is now `-name NAME'.
  3932. There is currently no way to specify an icon title; perhaps we will add
  3933. one in the future.
  3934. ** Undoing a deletion now puts point back where it was before the
  3935. deletion.
  3936. ** The variables that control how much undo information to save have
  3937. been renamed to `undo-limit' and `undo-strong-limit'. They used to be
  3938. called `undo-threshold' and `undo-high-threshold'.
  3939. ** You can now use kill commands in read-only buffers. They don't
  3940. actually change the buffer, and Emacs will beep and warn you that the
  3941. buffer is read-only, but they do copy the text you tried to kill into
  3942. the kill ring, so you can yank it into other buffers.
  3943. ** C-o inserts the fill-prefix on the newly created line. The command
  3944. M-^ deletes the prefix (if it occurs) after the newline that it
  3945. deletes.
  3946. ** C-M-l now runs the command `reposition-window'. It scrolls the
  3947. window heuristically in a way designed to get useful information onto
  3948. the screen.
  3949. ** C-M-r is now reverse incremental regexp search.
  3950. ** M-z now kills through the target character. In version 18, it
  3951. killed up to but not including the target character.
  3952. ** M-! now runs the specified shell command asynchronously if it
  3953. ends in `&' (just as the shell does).
  3954. ** C-h C-f and C-h C-k are new help commands that display the Info
  3955. node for a given Emacs function name or key sequence, respectively.
  3956. ** The C-h p command system lets you find Emacs Lisp packages by
  3957. topic keywords. Here is a partial list of package categories:
  3958. abbrev abbreviation handling, typing shortcuts, macros
  3959. bib code related to the bib bibliography processor
  3960. c C and C++ language support
  3961. calendar calendar and time management support
  3962. comm communications, networking, remote access to files
  3963. docs support for Emacs documentation
  3964. emulations emulations of other editors
  3965. extensions Emacs Lisp language extensions
  3966. games games, jokes and amusements
  3967. hardware support for interfacing with exotic hardware
  3968. help support for on-line help systems
  3969. i14n internationalization and alternate character-set support
  3970. internal code for Emacs internals, build process, defaults
  3971. languages specialized modes for editing programming languages
  3972. lisp Lisp support, including Emacs Lisp
  3973. local code local to your site
  3974. maint maintenance aids for the Emacs development group
  3975. mail modes for electronic-mail handling
  3976. news support for netnews reading and posting
  3977. processes process, subshell, compilation, and job control support
  3978. terminals support for terminal types
  3979. tex code related to the TeX formatter
  3980. tools programming tools
  3981. unix front-ends/assistants for, or emulators of, UNIX features
  3982. vms support code for vms
  3983. wp word processing
  3984. More will be added soon.
  3985. ** The command to split a window into two side-by-side windows is now
  3986. C-x 3. It was C-x 5.
  3987. ** M-. (find-tag) no longer has any effect on what M-, will do
  3988. subsequently. You can no longer use M-, to find the next similar tag;
  3989. you must use M-. with a prefix argument, instead.
  3990. The motive for this change is so that you can more reliably use
  3991. M-, to resume a suspended `tags-search' or `tags-query-replace'.
  3992. ** C-x s (`save-some-buffers') now gives you more options when it asks
  3993. whether to save a particular buffer. In addition to `y' or `n', you
  3994. can answer `!' to save all the remaining buffers, `.' to save this
  3995. buffer but not save any others, ESC to stop saving and exit the
  3996. command, and C-h to get help. These options are analogous to those
  3997. of `query-replace'.
  3998. ** M-x make-symbolic-link does not expand its first argument.
  3999. This lets you make a link with a target that is a relative file name.
  4000. ** M-x add-change-log-entry and C-x 4 a now automatically insert the
  4001. name of the file and often the name of the function that you changed.
  4002. They also handle grouping of entries.
  4003. There is now a special major mode for editing ChangeLog files. It
  4004. makes filling work conveniently. Each bunch of grouped entries is one
  4005. paragraph, and each collection of entries from one person on one day
  4006. is considered a page.
  4007. ** The `comment-region' command adds comment delimiters to the lines that
  4008. start in the region, thus commenting them out. With a negative argument,
  4009. it deletes comment delimiters from the lines in the region--this cancels
  4010. the effect of `comment-region' without an argument.
  4011. With a positive argument, `comment-region' adds comment delimiters
  4012. but duplicates the last character of the comment start sequence as many
  4013. times as the argument specifies. This is a way of calling attention to
  4014. the comment. In Lisp, you should use an argument at least two, because
  4015. the indentation convention for single semicolon comments does not leave
  4016. them at the beginning of a line.
  4017. ** If `split-window-keep-point' is non-nil, C-x 2 tries to avoid
  4018. shifting any text on the screen by putting point in whichever window
  4019. happens to contain the screen line the cursor is already on.
  4020. The default is that `split-window-keep-point' is non-nil on slow
  4021. terminals.
  4022. ** M-x super-apropos is like M-x apropos except that it searches both
  4023. Lisp symbol names and documentation strings for matches. It describes
  4024. every symbol that has a match in either the symbol's name or its
  4025. documentation.
  4026. Both M-x apropos and M-x super-apropos take an optional second
  4027. argument DO-ALL which controls the more expensive part of the job.
  4028. This includes looking up and printing the key bindings of all
  4029. commands. It also includes checking documentation strings in
  4030. super-apropos. DO-ALL is nil by default; use a prefix arg to make it
  4031. non-nil.
  4032. ** M-x revert-buffer no longer offers to revert from a recent auto-save
  4033. file unless you give it a prefix argument. Otherwise it always
  4034. reverts from the real file regardless of whether there has been an
  4035. auto-save since then. (Reverting from the auto-save file is no longer
  4036. very useful now that the undo capacity is larger.)
  4037. ** M-x recover-file no longer turns off Auto Save mode when it reads
  4038. the last Auto Save file.
  4039. ** M-x rename-buffer, if you give it a prefix argument,
  4040. avoids errors by modifying the new name to make it unique.
  4041. ** M-x rename-uniquely renames the current buffer to a similar name
  4042. with a numeric suffix added to make it both different and unique.
  4043. One use of this command is for creating multiple shell buffers.
  4044. If you rename your shell buffer, and then do M-x shell again, it
  4045. makes a new shell buffer. This method is also good for mail buffers,
  4046. compilation buffers, and any Emacs feature which creates a special
  4047. buffer with a particular name.
  4048. ** M-x compare-windows with a prefix argument ignores changes in whitespace.
  4049. If `compare-ignore-case' is non-nil, then differences in case are also
  4050. ignored.
  4051. ** `backward-paragraph' is now bound to M-{ by default, and `forward-paragraph'
  4052. to M-}. Originally, these commands were bound to M-[ and M-], but they were
  4053. running into conflicts with the use of function keys. On many terminals,
  4054. function keys send a sequence beginning ESC-[, so many users have defined this
  4055. as a prefix key.
  4056. ** C-x C-u (upcase-region) and C-x C-l (downcase-region) are now disabled by
  4057. default; these commands seem to be often hit by accident, and can be
  4058. quite destructive if their effects are not noticed immediately.
  4059. ** The function `erase-buffer' is now interactive, but disabled by default.
  4060. ** When visiting a new file, Emacs attempts to abbreviate the file's
  4061. path using the symlinks listed in `directory-abbrev-alist'.
  4062. ** When you visit the same file in under two names that translate into
  4063. the same name once symbolic links are handled, Emacs warns you that
  4064. you have two buffers for the same file.
  4065. ** If you wish to avoid visiting the same file in two buffers under
  4066. different names, set the variable `find-file-existing-other-name'
  4067. non-nil. Then `find-file' uses the existing buffer visiting the file,
  4068. no matter which of the file's names you specify.
  4069. ** If you set `find-file-visit-truename' non-nil, then the file name
  4070. recorded for a buffer is the file's truename (in which all symbolic
  4071. links have been removed), rather than the name you specify. Setting
  4072. `find-file-visit-truename' also implies the effect of
  4073. `find-file-existing-other-name'.
  4074. ** C-x C-v now inserts the entire current file name in the minibuffer.
  4075. This is convenient if you made a small mistake in typing it. Point
  4076. goes after the last slash, before the last file name component, so if
  4077. you want to replace it entirely, you can use C-k right away to delete
  4078. it.
  4079. ** Commands such as C-M-f in Lisp mode now ignore parentheses within comments.
  4080. ** C-x q now uses ESC to terminate all iterations of the keyboard
  4081. macro, rather than C-d as before.
  4082. ** Use the command `setenv' to set an individual environment variable
  4083. for Emacs subprocesses. Specify a variable name and a value, both as
  4084. strings. This command applies only to subprocesses yet to be
  4085. started.
  4086. ** Use `rot13-other-window' to examine a buffer with rot13.
  4087. This command does not change the text in the buffer. Instead, it
  4088. creates a window with a funny display table that applies the code when
  4089. displaying the text.
  4090. ** The command `M-x version' now prints the current Emacs version; The
  4091. `version' command is an alias for the `emacs-version' command.
  4092. ** More complex changes in existing packages.
  4093. *** `fill-nonuniform-paragraphs' is a new command, much like
  4094. `fill-individual-paragraphs' except that only separator lines separate
  4095. paragraphs. Since this means that the lines of one paragraph may have
  4096. different amounts of indentation, the fill prefix used is the smallest
  4097. amount of indentation of any of the lines of the paragraph.
  4098. *** Filling is now partially controlled by a new minor mode, Adaptive
  4099. Fill mode. When this mode is enabled (and it is enabled by default),
  4100. if you use M-x fill-region-as-paragraph on an indented paragraph and
  4101. you don't have a fill prefix, it uses the indentation of the second
  4102. line of the paragraph as the fill prefix.
  4103. Adaptive Fill mode doesn't have much effect on M-q in most major
  4104. modes, because an indented line will probably count as a paragraph
  4105. starter and thus each line of an indented paragraph will be considered
  4106. a paragraph of its own.
  4107. *** M-q in C mode now runs `c-fill-paragraph', which is designed
  4108. for filling C comments. (We assume you don't want to fill
  4109. the code in a C program.)
  4110. *** M-$ now runs the Ispell program instead of the Unix spell program.
  4111. M-$ starts an Ispell process the first time you use it. But the process
  4112. stays alive, so that subsequent uses of M-$ run very fast.
  4113. If you want to get rid of the process, use M-x kill-ispell.
  4114. To check the entire current buffer, use M-x ispell-buffer.
  4115. Use M-x ispell-region to check just the current region.
  4116. Ispell commands often involve interactive replacement of words.
  4117. You can interrupt the interactive replacement with C-g.
  4118. You can restart it again afterward with C-u M-$.
  4119. During interactive replacement, you can type the following characters:
  4120. a Accept this word this time.
  4121. DIGIT Replace the word (this time) with one of the displayed near-misses.
  4122. The digit you use says which near-miss to use.
  4123. i Insert this word in your private dictionary
  4124. so that Ispell will consider it correct it from now on.
  4125. r Replace the word this time with a string typed by you.
  4126. When the Ispell process starts, it reads your private dictionary which
  4127. is the file `~/ispell.words'. If you "insert" words with the `i' command,
  4128. these words are added to that file, but not right away--only at the end
  4129. of the interactive replacement process.
  4130. Use M-x reload-ispell to reload your private dictionary from
  4131. `~/ispell.words' if you edit it outside of Ispell.
  4132. ** Changes in existing modes.
  4133. *** gdb-mode has been replaced by gud-mode.
  4134. The package gud.el (Grand Unified Debugger) replaces gdb.el in Emacs
  4135. 19. It provides a gdb.el-like interface to any of three debuggers;
  4136. gdb itself, the sdb debugger supported on some Unix systems, or the
  4137. dbx debugger on Berkeley systems.
  4138. You start it up with one of the commands M-x gdb, M-x sdb, or
  4139. M-x dbx. Each entry point finishes by executing a hook; gdb-mode-hook,
  4140. sdb-mode-hook or dbx-mode-hook respectively.
  4141. These bindings have changed:
  4142. C-x C-a > gud-down (was M-d)
  4143. C-x C-a < gud-up (was M-u)
  4144. C-x C-a C-r gud-cont (was M-c)
  4145. C-x C-a C-n gud-next (was M-n)
  4146. C-x C-a C-s gud-step (was M-s)
  4147. C-x C-a C-i gud-stepi (was M-i)
  4148. C-x C-a C-l gud-recenter (was C-l)
  4149. C-d comint-delchar-or-maybe-eof (was C-c C-d)
  4150. These bindings have been removed:
  4151. C-c C-r (was comint-show-output; now gud-cont)
  4152. Since GUD mode uses comint, it uses comint's input history commands,
  4153. superseding C-c C-y (copy-last-shell-input):
  4154. M-p comint-next-input
  4155. M-n comint-previous-input
  4156. M-r comint-previous-similar-input
  4157. M-s comint-next-similar-input
  4158. M-C-r comint-previous-input-matching
  4159. The C-x C-a bindings are also active in source files.
  4160. *** The old TeX mode bindings of M-{ and M-} have been moved to C-c {
  4161. and C-c }. (These commands are `up-list' and `tex-insert-braces';
  4162. they are the TeX equivalents of M-( and M-).) This is because M-{
  4163. and M-} are now globally defined commands.
  4164. *** Changes in Mail mode.
  4165. `%' is now a word-separator character in Mail mode.
  4166. `mail-signature', if non-nil, tells M-x mail to insert your
  4167. `.signature' file automatically. If you don't want your signature in
  4168. a particular message, just delete it before you send the message.
  4169. You can specify the text to insert at the beginning of each line when
  4170. you use C-c C-y to yank the message you are replying to. Set
  4171. `mail-yank-prefix' to the desired string. A value of `nil' (the
  4172. default) means to use indentation, as in Emacs 18. If you use just
  4173. C-u as the prefix argument to C-c C-y, then it does not insert
  4174. anything at the beginning of the lines, regardless of the value of
  4175. `mail-yank-prefix'.
  4176. If you like, you can expand mail aliases as abbrevs, as soon as you
  4177. type them in. To enable this feature, execute the following:
  4178. (add-hook 'mail-setup-hook 'mail-abbrevs-setup)
  4179. This can go in your .emacs file.
  4180. Word abbrevs don't expand unless you insert a word-separator character
  4181. afterward. Any mail aliases that you didn't expand at insertion time
  4182. are expanded subsequently when you send the message.
  4183. *** Changes in Rmail.
  4184. Rmail by default gets new mail only from the system inbox file,
  4185. not from `~/mbox'.
  4186. In Rmail, you can retry sending a message that failed
  4187. by typing `M-m' on the failure message.
  4188. By contrast, another new command M-x rmail-resend is used for
  4189. forwarding a message and marking it as "resent from" you
  4190. with header fields "Resent-From:" and "Resent-To:".
  4191. `e' is now the command to edit a message.
  4192. To expunge, type `x'. We know this will surprise people
  4193. some of the time, but the surprise will not be disastrous--if
  4194. you type `e' meaning to expunge, just turn off editing with C-c C-c
  4195. and then type `x'.
  4196. Another new Rmail command is `<', which moves to the first message.
  4197. This is for symmetry with `>'.
  4198. Use the `b' command to bury the Rmail buffer and its summary buffer,
  4199. if any, removing both of them from display on the screen.
  4200. The variable `rmail-output-file-alist' now controls the default
  4201. for the file to output a message to.
  4202. In the Rmail summary buffer, all cursor motion commands select
  4203. the message you move to. It's really neat when you use
  4204. incremental search.
  4205. You can now issue most Rmail commands from an Rmail summary buffer.
  4206. The commands do the same thing in that buffer that they do in the
  4207. Rmail buffer. They apply to the message that is selected in the Rmail
  4208. buffer, which is always the one described by the current summary
  4209. line.
  4210. Conversely, motion and deletion commands in the Rmail buffer also
  4211. update the summary buffer. If you set the variable
  4212. `rmail-redisplay-summary' to a non-nil value, then they bring the
  4213. summary buffer (if one exists) back onto the screen.
  4214. C-M-t is a new command to make a summary by topic. It uses regexp
  4215. matching against just the subjects of the messages to decide which
  4216. messages to show in the summary.
  4217. You can easily convert an Rmail file to system mailbox format with the
  4218. command `unrmail'. This command reads two arguments, the name of
  4219. the Rmail file to convert, and the name of the new mailbox file.
  4220. (This command does not change the Rmail file itself.)
  4221. Rmail now handles Content Length fields in messages.
  4222. *** `mail-extract-address-components' unpacks mail addresses.
  4223. It takes an address as a string (the contents of the From field, for
  4224. example) and returns a list of the form (FULL-NAME
  4225. CANONICAL-ADDRESS).
  4226. *** Changes in C mode and C-related commands.
  4227. **** M-x c-up-conditional
  4228. In C mode, `c-up-conditional' moves back to the containing
  4229. preprocessor conditional, setting the mark where point was
  4230. previously.
  4231. A prefix argument acts as a repeat count. With a negative argument,
  4232. this command moves forward to the end of the containing preprocessor
  4233. conditional. When going backwards, `#elif' acts like `#else' followed
  4234. by `#if'. When going forwards, `#elif' is ignored.
  4235. **** In C mode, M-a and M-e are now defined as
  4236. `c-beginning-of-statement' and `c-end-of-statement'.
  4237. **** In C mode, M-x c-backslash-region is a new command to insert or
  4238. align `\' characters at the ends of the lines of the region, except
  4239. for the last such line. This is useful after writing or editing a C
  4240. macro definition.
  4241. If a line already ends in `\', this command adjusts the amount of
  4242. whitespace before it. Otherwise, it inserts a new `\'.
  4243. *** New features in info.
  4244. When Info looks for an Info file, it searches the directories
  4245. in `Info-directory-list'. This makes it easy to install the Info files
  4246. that come with various packages. You can specify the path with
  4247. the environment variable INFOPATH.
  4248. There are new commands in Info mode.
  4249. `]' now moves forward a node, going up and down levels as needed.
  4250. `[' is similar but moves backward. These two commands try to traverse
  4251. the entire Info tree, node by node. They are the equivalent of reading
  4252. a printed manual sequentially.
  4253. `<' moves to the top node of the current Info file.
  4254. `>' moves to the last node of the file.
  4255. SPC scrolls through the current node; at the end, it advances to the
  4256. next node in depth-first order (like `]').
  4257. DEL scrolls backwards in the current node; at the end, it moves to the
  4258. previous node in depth-first order (like `[').
  4259. After a menu select, the info `up' command now restores point in the
  4260. menu. The combination of this and the previous two changes means that
  4261. repeated SPC keystrokes do the right (depth-first traverse forward) thing.
  4262. `i STRING RET' moves to the node associated with STRING in the index
  4263. or indices of this manual. If there is more than one match for
  4264. STRING, the `i' command finds the first match.
  4265. `,' finds the next match for the string in the previous `i' command
  4266. If you click the middle mouse button near a cross-reference,
  4267. menu item or node pointer while in Info, you will go to the node
  4268. which is referenced.
  4269. *** Changes in M-x compile.
  4270. You can repeat any previous compilation command conveniently using the
  4271. minibuffer history commands, while in the minibuffer entering the
  4272. compilation command.
  4273. While a compilation is going on, the string `Compiling' appears in
  4274. the mode line. When this string disappears, that tells you the
  4275. compilation is finished.
  4276. The buffer of compiler messages is in Compilation mode. This mode
  4277. provides the keys SPC and DEL to scroll by screenfuls, and M-n and M-p
  4278. to move to the next or previous error message. You can also use C-c
  4279. C-c on any error message to find the corresponding source code.
  4280. Emacs 19 has a more general parser for compiler messages. For example, it
  4281. can understand messages from lint, and from certain C compilers whose error
  4282. message format is unusual. Also, it only parses until it sees the error
  4283. message you want; you never have to wait a long time to see the first
  4284. error, no matter how big the buffer is.
  4285. *** M-x diff and M-x diff-backup.
  4286. This new command compares two files, displaying the differences in an
  4287. Emacs buffer. The options for the `diff' program come from the
  4288. variable `diff-switches', whose value should be a string.
  4289. The buffer of differences has Compilation mode as its major mode, so you
  4290. can use C-x ` to visit successive changed locations in the two
  4291. source files, or you can move to a particular hunk of changes and type
  4292. C-c C-c to move to the corresponding source. You can also use the
  4293. other special commands of Compilation mode: SPC and DEL for
  4294. scrolling, and M-n and M-p for cursor motion.
  4295. M-x diff-backup compares a file with its most recent backup.
  4296. If you specify the name of a backup file, `diff-backup' compares it
  4297. with the source file that it is a backup of.
  4298. *** The View commands (such as M-x view-buffer and M-x view-file) no
  4299. longer use recursive edits; instead, they switch temporarily to a
  4300. different major mode (View mode) specifically designed for moving
  4301. around through a buffer without editing it.
  4302. *** Changes in incremental search.
  4303. **** The character to terminate an incremental search is now RET.
  4304. This is for compatibility with the way most other arguments are read.
  4305. To search for a newline in an incremental search, type LFD (also known
  4306. as C-j).
  4307. **** Incremental search now maintains a ring of previous search
  4308. strings. Use M-p and M-n to move through the ring to pick a search
  4309. string to reuse. These commands leave the selected search ring
  4310. element in the minibuffer, where you can edit it. Type C-s or C-r to
  4311. finish editing and search for the chosen string.
  4312. **** If you type an upper case letter in incremental search, that turns
  4313. off case-folding, so that you get a case-sensitive search.
  4314. **** If you type a space during regexp incremental search, it matches
  4315. any sequence of whitespace characters. If you want to match just a space,
  4316. type C-q SPC.
  4317. **** Incremental search is now implemented as a major mode. When you
  4318. type C-s, it switches temporarily to a different keymap which defines
  4319. each key to do what it ought to do for incremental search. This has
  4320. next to no effect on the user-visible behavior of searching, but makes
  4321. it easier to customize that behavior.
  4322. Emacs 19 eliminates the old variables `search-...-char' that used to
  4323. be the way to specify the characters to use for various special
  4324. purposes in incremental search. Instead, you can define the meaning
  4325. of a character in incremental search by modifying `isearch-mode-map'.
  4326. *** New commands in Buffer Menu mode.
  4327. The command C-o now displays the current line's buffer in another
  4328. window but does not select it. This is like the existing command `o'
  4329. which selects the current line's buffer in another window.
  4330. The command % toggles the read-only flag of the current line's buffer.
  4331. The way to switch to a set of several buffers, including those marked
  4332. with m, is now v. The q command simply quits, replacing the buffer
  4333. menu buffer with the buffer that was displayed previously.
  4334. ** New major modes and packages.
  4335. *** The news reader GNUS is now installed.
  4336. *** There is a new interface for version control systems, called VC.
  4337. It works with both RCS and SCCS; in fact, you don't really have to
  4338. know which one of them is being used, because it automatically deals
  4339. with either one.
  4340. Most of the time, the only command you have to know about is C-x C-q.
  4341. This command normally toggles the read-only flag of the current
  4342. buffer. If the buffer is visiting a file that is maintained with a
  4343. version control system, the command still toggles read-only, but does
  4344. so by checking the file in or checking it out.
  4345. When you check a file in, VC asks you for a log entry by popping up a
  4346. buffer. Edit the entry there, then type C-c C-c when it is ready.
  4347. That's when the actual checkin happens. If you change your mind about
  4348. the checkin, simply switch buffers and don't ever go back to the log
  4349. buffer.
  4350. To start using version control for a file, use the command C-x v v.
  4351. This works like C-x C-q (performing the next logical version-control
  4352. operation needed to change the file's writability) but it will also
  4353. perform initial checkin on an unregistered file.
  4354. By default, VC uses RCS if RCS is installed on your machine;
  4355. otherwise, SCCS. If you want to make the choice explicitly, you can do
  4356. it by setting `vc-default-back-end' to the symbol `RCS' or the symbol
  4357. `SCCS'.
  4358. You can tell when a file you visit is maintained with version control
  4359. because either `RCS' or `SCCS' appears in the mode line.
  4360. *** A new Calendar mode has been added, the work of Edward M. Reingold.
  4361. The mode can display the Gregorian calendar and a variety of other
  4362. calendars at any date, and interacts with a diary facility similar to
  4363. the UNIX `calendar' utility.
  4364. *** There is a new major mode for editing binary files: Hexl mode.
  4365. To use it, use M-x hexl-find-file instead of C-x C-f to visit the file.
  4366. This command converts the file's contents to hexadecimal and lets you
  4367. edit the translation. When you save the file, it is converted
  4368. automatically back to binary.
  4369. You can also use M-x hexl-mode to translate an existing buffer into hex.
  4370. Do this if you have already visited a binary file.
  4371. Hexl mode has a few other commands:
  4372. C-M-d insert a byte with a code typed in decimal.
  4373. C-M-o insert a byte with a code typed in octal.
  4374. C-M-x insert a byte with a code typed in hex.
  4375. C-x [ move to the beginning of a 1k-byte "page".
  4376. C-x ] move to the end of a 1k-byte "page".
  4377. M-g go to an address specified in hex.
  4378. M-j go to an address specified in decimal.
  4379. C-c C-c leave hexl mode and go back to the previous major mode.
  4380. *** Miscellaneous new major modes include Awk mode, Icon mode, Makefile
  4381. mode, Perl mode and SGML mode.
  4382. *** Edebug, a new source-level debugger for Emacs Lisp functions.
  4383. To use Edebug, use the command M-x edebug-defun to "evaluate" a
  4384. function definition in an Emacs Lisp file. We put "evaluate" in
  4385. quotation marks because it doesn't just evaluate the function, it also
  4386. inserts additional information to support source-level debugging.
  4387. You must also do
  4388. (setq debugger 'edebug-debug)
  4389. to cause errors and single-stepping to use Edebug instead of the usual
  4390. Emacs Lisp debugger.
  4391. For more information, see the Edebug manual, which should be included
  4392. in the Emacs distribution.
  4393. *** C++ mode is like C mode, except that it understands C++ comment syntax
  4394. and certain other differences between C and C++. It also has a command
  4395. `fill-c++-comment' which fills a paragraph made of comment lines.
  4396. The command `comment-region' is useful in C++ mode for commenting out
  4397. several consecutive lines, or removing the commenting out of such lines.
  4398. *** A new package for merging two variants of the same text.
  4399. It's not unusual for programmers to get their signals crossed and
  4400. modify the same program in two different directions. Then somebody
  4401. has to merge the two versions. The command `emerge-files' makes this
  4402. easier.
  4403. `emerge-files' reads two file names and compares them. Then it
  4404. displays three buffers: one for each file, and one for the
  4405. differences.
  4406. If the original version of the file is available, you can make things
  4407. even easier using `emerge-files-with-ancestor'. It reads three file
  4408. names--variant 1, variant 2, and the common ancestor--and uses diff3
  4409. to compare them.
  4410. You control the merging interactively. The main loop of Emerge
  4411. consists of showing you one set of differences, asking you what to do
  4412. about them, and doing it. You have a choice of two modes for giving
  4413. directions to Emerge: "fast" mode and "edit" mode.
  4414. In Fast mode, Emerge commands are single characters, and ordinary
  4415. Emacs commands are disabled. This makes Emerge operations fast, but
  4416. prevents you from doing more than selecting the A or the B version of
  4417. differences. In Edit mode, all emerge commands use the C-c prefix,
  4418. and the usual Emacs commands are available. This allows editing the
  4419. merge buffer, but slows down Emerge operations. Edit and fast modes
  4420. are indicated by `F' and `E' in the minor modes in the mode line.
  4421. The Emerge commands are:
  4422. p go to the previous difference
  4423. n go to the next difference
  4424. a select the A version of this difference
  4425. b select the B version of this difference
  4426. j go to a particular difference (prefix argument
  4427. specifies which difference) (0j suppresses display of
  4428. the flags)
  4429. q quit - finish the merge*
  4430. f go into fast mode
  4431. e go into edit mode
  4432. l recenter (C-l) all three windows*
  4433. - and 0 through 9
  4434. prefix numeric arguments
  4435. d a select the A version as the default from here down in
  4436. the merge buffer*
  4437. d b select the B version as the default from here down in
  4438. the merge buffer*
  4439. c a copy the A version of the difference into the kill
  4440. ring
  4441. c b copy the B version of the difference into the kill
  4442. ring
  4443. i a insert the A version of the difference at the point
  4444. i b insert the B version of the difference at the point
  4445. m put the point and mark around the difference region
  4446. ^ scroll-down (like M-v) the three windows*
  4447. v scroll-up (like C-v) the three windows*
  4448. < scroll-left (like C-x <) the three windows*
  4449. > scroll-right (like C-x >) the three windows*
  4450. | reset horizontal scroll on the three windows*
  4451. x 1 shrink the merge window to one line (use C-u l to restore it
  4452. to full size)
  4453. x a find the difference containing a location in the A buffer*
  4454. x b find the difference containing a location in the B buffer*
  4455. x c combine the two versions of this difference*
  4456. x C combine the two versions of this difference, using a
  4457. register's value as the template*
  4458. x d find the difference containing a location in the merge buffer*
  4459. x f show the files/buffers Emerge is operating on in Help window
  4460. (use C-u l to restore windows)
  4461. x j join this difference with the following one
  4462. (C-u x j joins this difference with the previous one)
  4463. x l show line numbers of points in A, B, and merge buffers
  4464. x m change major mode of merge buffer*
  4465. x s split this difference into two differences
  4466. (first position the point in all three buffers to the places
  4467. to split the difference)
  4468. x t trim identical lines off top and bottom of difference
  4469. (such lines occur when the A and B versions are
  4470. identical but differ from the ancestor version)
  4471. x x set the template for the x c command*
  4472. Normally, the merged output goes back in the first file specified.
  4473. If you use a prefix argument, Emerge reads another file name to use
  4474. for the output file.
  4475. Once Emerge has prepared the buffer of differences, it runs the hooks
  4476. in `emerge-startup-hooks'.
  4477. *** Asm mode is a new major mode for editing files of assembler code.
  4478. It defines these commands:
  4479. TAB tab-to-tab-stop.
  4480. LFD Insert a newline and then indent using tab-to-tab-stop.
  4481. : Insert a colon and then remove the indentation
  4482. from before the label preceding colon. Then tab-to-tab-stop.
  4483. ; Insert or align a comment.
  4484. *** Two-column mode lets you conveniently edit two side-by-side columns
  4485. of text. It works using two side-by-side windows, each showing its
  4486. own buffer.
  4487. Here are three ways to enter two-column mode:
  4488. C-x 6 2 makes the current buffer into the left-hand buffer. In the
  4489. right-hand window it puts a buffer whose name is based on the current
  4490. buffer's name.
  4491. C-x 6 b BUFFER RET makes the current buffer into the left-hand buffer,
  4492. and uses buffer BUFFER as the right-hand buffer.
  4493. C-x 6 s splits the current buffer, which contains two-column text,
  4494. into two side-by-side buffers. The old current buffer becomes the
  4495. left-hand buffer, but the text in the right column is moved into the
  4496. right-hand buffer. The current column specifies the split point.
  4497. Splitting starts with the current line and continues to the end of the
  4498. buffer.
  4499. C-x 6 s takes a prefix argument which specifies how many characters
  4500. before point constitute the column separator. (The default argument
  4501. is 1, as usual, so by default the column separator is the character
  4502. before point.) Lines that don't have the column separator at the
  4503. proper place remain unsplit; they stay in the left-hand buffer, and
  4504. the right-hand buffer gets an empty line to correspond.
  4505. You can scroll both buffers together using C-x 6 SPC (scroll up), C-x
  4506. 6 DEL (scroll down), and C-x 6 RET (scroll up one line). C-x 6 C-l
  4507. recenters both buffers together.
  4508. If you want to make a line which will span both columns, put it in
  4509. the left-hand buffer, with an empty line in the corresponding place in
  4510. the right-hand buffer.
  4511. When you have edited both buffers as you wish, merge them with C-x 6
  4512. 1. This copies the text from the right-hand buffer as a second column
  4513. in the other buffer. To go back to two-column editing, use C-x 6 s.
  4514. Use C-x 6 d to dissociate the two buffers, leaving each as it
  4515. stands. (If the other buffer, the one that was not current when you
  4516. type C-x 6 d, is empty, C-x 6 d kills it.)
  4517. *** You can supply command arguments such as files to visit to an Emacs
  4518. that is already running. To do this, you must do this in your .emacs
  4519. file:
  4520. (add-hook 'suspend-hook 'resume-suspend-hook)
  4521. Also you must use the shellscript emacs.csh or emacs.sh, found in the
  4522. etc subdirectory.
  4523. *** Shell mode has been completely replaced.
  4524. The basic idea is the same, but there are new commands available in
  4525. this mode.
  4526. TAB now completes the file name before point in the shell buffer.
  4527. To get a list of all possible completions, type M-?.
  4528. There is a new convenient history mechanism for repeating previous
  4529. commands. Use the command M-p to recall the last command; it copies
  4530. the text of that command to the place where you are editing. If you
  4531. repeat M-p, it replaces the copied command with the previous command.
  4532. M-n is similar but goes in the opposite direction towards the present.
  4533. When you find the command you wanted, you can edit it, or just
  4534. resubmit it by typing RET.
  4535. You can also use M-r and M-s to search for (respectively) earlier or
  4536. later inputs starting with a given string. First type the string,
  4537. then type M-r to yank a previous input from the history which starts
  4538. with that string. You can repeat M-r to find successively earlier
  4539. inputs starting with the same string. You can start moving in the
  4540. opposite direction (toward more recent inputs) by typing M-s instead
  4541. of M-r. As long as you don't use any commands except M-r and M-s,
  4542. they keep using the same string that you had entered initially.
  4543. C-c C-o kills the last batch of output from a shell command. This is
  4544. useful if a shell command spews out lots of output that just gets in
  4545. the way.
  4546. C-c C-r scrolls to display the beginning of the last batch of output
  4547. at the top of the window; it also moves the cursor there.
  4548. C-a on a line that starts with a shell prompt moves to the end of the
  4549. prompt, not to the very beginning of the line.
  4550. C-d typed at the end of the shell buffer sends EOF to the subshell.
  4551. At any other position in the buffer, it deletes a character as usual.
  4552. If Emacs gets confused while trying to track changes in the shell's
  4553. current directory, type M-x dirs to re-synchronize.
  4554. M-x send-invisible reads a line of text without echoing it, and
  4555. sends it to the shell.
  4556. If you accidentally suspend your process, use M-x comint-continue-subjob
  4557. to continue it.
  4558. *** There is now a convenient way to enable flow control on terminals
  4559. where you can't win without it. Suppose you want to do this on
  4560. VT-100 and H19 terminals; put the following in your `.emacs' file:
  4561. (enable-flow-control-on "vt100" "h19")
  4562. When flow control is enabled, you must type C-\ to get the effect of a
  4563. C-s, and type C-^ to get the effect of a C-q.
  4564. The function `enable-flow-control' enables flow control unconditionally.
  4565. ** Changes in Dired
  4566. Dired has many new features which allow you to do these things:
  4567. - Rename, copy, or make links to many files at once.
  4568. - Make distinguishable types of marks for different operations.
  4569. - Display contents of subdirectories in the same Dired buffer as the
  4570. parent directory.
  4571. *** Setting and Clearing Marks
  4572. There are now two kinds of marker that you can put on a file in Dired:
  4573. `D' for deletion, and `*' for any other kind of operation.
  4574. The `x' command deletes only files marked with `D', and most
  4575. other Dired commands operate only on the files marked with `*'.
  4576. To mark files with `D' (also called "flagging" the files), you
  4577. can use `d' as usual. Here are some commands for marking with
  4578. `*' (and also for unmarking):
  4579. **** `m' marks the current file with `*', for an operation other than
  4580. deletion.
  4581. **** `*' marks all executable files. With a prefix argument, it
  4582. unmarks all those files.
  4583. **** `@' marks all symbolic links. With a prefix argument, it unmarks
  4584. all those files.
  4585. **** `/' marks all directory files except `.' and `..'. With a prefix
  4586. argument, it unmarks all those files.
  4587. **** M-DEL removes a specific or all marks from every file. With an
  4588. argument, queries for each marked file. Type your help character,
  4589. usually C-h, at that time for help.
  4590. **** `c' replaces all marks that use the character OLD with marks that
  4591. use the character NEW. You can use almost any character as a mark
  4592. character by means of this command, to distinguish various classes of
  4593. files. If OLD is ` ', then the command operates on all unmarked
  4594. files; if NEW is ` ', then the command unmarks the files it acts on.
  4595. *** Operating on Multiple Files
  4596. The Dired commands to operate directly on files (rename them, copy
  4597. them, and so on) have been generalized to work on multiple files.
  4598. There are also some additional commands in this series.
  4599. All of these commands use the same convention to decide which files to
  4600. manipulate:
  4601. - If you give the command a numeric prefix argument @var{n}, it operates
  4602. on the next @var{n} files, starting with the current file.
  4603. - Otherwise, if there are marked files, the commands operate on all the
  4604. marked files.
  4605. - Otherwise, the command operates on the current file only.
  4606. These are the commands:
  4607. **** `C' copies the specified files. You must specify a directory to
  4608. copy into, or (if copying a single file) a new name.
  4609. If `dired-copy-preserve-time' is non-`nil', then copying sets
  4610. the modification time of the new file to be the same as that of the old
  4611. file.
  4612. **** `R' renames the specified files. You must specify a directory to
  4613. rename into, or (if renaming a single file) a new name.
  4614. Dired automatically changes the visited file name of buffers associated
  4615. with renamed files so that they refer to the new names.
  4616. **** `H' makes hard links to the specified files. You must specify a
  4617. directory to make the links in, or (if making just one link) the name
  4618. to give the link.
  4619. **** `S' makes symbolic links to the specified files. You must specify
  4620. a directory to make the links in, or (if making just one link) the
  4621. name to give the link.
  4622. **** `M' changes the mode of the specified files. This calls the
  4623. `chmod' program, so you can describe the desired mode change with any
  4624. argument that `chmod' would handle.
  4625. **** `G' changes the group of the specified files.
  4626. **** `O' changes the owner of the specified files. (On normal systems,
  4627. only the superuser can do this.)
  4628. The variable `dired-chown-program' specifies the name of the
  4629. program to use to do the work (different systems put `chown' in
  4630. different places.
  4631. **** `Z' compresses or uncompresses the specified files.
  4632. **** `L' loads the specified Emacs Lisp files.
  4633. **** `B' byte compiles the specified Emacs Lisp files.
  4634. **** `P' prints the specified files. It uses the variables
  4635. `lpr-command' and `lpr-switches' just as `lpr-file' does.
  4636. *** Shell Commands in Dired
  4637. `!' reads a shell command string in the minibuffer and runs the shell
  4638. command on all the specified files. There are two ways of applying a
  4639. shell command to multiple files:
  4640. - If you use `*' in the command, then the shell command runs just
  4641. once, with the list of file names substituted for the `*'.
  4642. Thus, `! tar cf foo.tar * RET' runs `tar' on the entire list of file
  4643. names, putting them into one tar file `foo.tar'. The file names are
  4644. inserted in the order that they appear in the Dired buffer.
  4645. - If the command string doesn't contain `*', then it runs once for
  4646. each file, with the file name attached at the end. For example, `!
  4647. uudecode RET' runs `uudecode' on each file.
  4648. To run the shell command once for each file but without being limited
  4649. to putting the file name inserted in the middle, use a shell loop.
  4650. For example, this shell command would run `uuencode' on each of the
  4651. specified files, writing the output into a corresponding `.uu' file:
  4652. for file in *; uuencode $file $file >$file.uu; done
  4653. The working directory for the shell command is the top level directory
  4654. of the Dired buffer.
  4655. *** Regular Expression File Name Substitution
  4656. **** `% m REGEXP RET' marks all files whose names match the regular
  4657. expression REGEXP.
  4658. Only the non-directory part of the file name is used in matching. Use
  4659. `^' and `$' to anchor matches. Exclude subdirs by hiding them.
  4660. **** `% d REGEXP RET' flags for deletion all files whose names match
  4661. the regular expression REGEXP.
  4662. **** `% R', `% C', `% H', `% S'
  4663. These four commands rename, copy, make hard links and make soft links,
  4664. in each case computing the new name by regular expression substitution
  4665. from the name of the old file. They effectively perform
  4666. `query-replace-regexp' on the selected file names in the Dired buffer.
  4667. The commands read two arguments: a regular expression, and a
  4668. substitution pattern. Each selected file name is matched against the
  4669. regular expression, and then the part which matched is replaced with
  4670. the substitution pattern. You can use `\&' and `\DIGIT' in the
  4671. substitution pattern to refer to all or part of the old file name.
  4672. If the regular expression matches more than once in a file name,
  4673. only the first match is replaced.
  4674. Normally, the replacement process does not consider the directory names;
  4675. it operates on the file name within the directory. If you specify a
  4676. prefix argument of zero, then replacement affects entire file name.
  4677. To apply the command to all files matching the same regexp that you
  4678. use in the command, mark those files with `% m REGEXP RET', then use
  4679. the same regular expression in `% R'. To make this easier, `% R' uses
  4680. as a default the last regular expression specified in a `%' command.
  4681. *** Dired Case Conversion
  4682. **** `% u' renames each of the selected files to an upper case name.
  4683. **** `% l' renames each of the selected files to a lower case name.
  4684. *** File Comparison with Dired
  4685. **** `=' compares the current file with another file (the file at the
  4686. mark), by running the `diff' program. The file at the mark is given
  4687. to `diff' first.
  4688. **** `M-=' compares the current file with its backup file. If there
  4689. are several numerical backups, it uses the most recent one. If this
  4690. file is a backup, it is compared with its original.
  4691. The backup file is the first file given to `diff'.
  4692. *** Subdirectories in Dired
  4693. You can display more than one directory in one Dired buffer.
  4694. The simplest way to do this is to specify the options `-lR' for
  4695. running `ls'. That produces a recursive directory listing showing
  4696. all subdirectories, all within the same Dired buffer.
  4697. You can also insert the contents of a particular subdirectory with the
  4698. `i' command. Use this command on the line that describes a file which
  4699. is a directory. Inserted subdirectory contents follow the top-level
  4700. directory of the Dired buffer, just as they do in `ls -lR' output.
  4701. If the subdirectory's contents are already present in the buffer, the
  4702. `i' command just moves to it (type `l' to refresh it). It sets the
  4703. Emacs mark before moving, so C-x C-x takes you back to the old
  4704. position in the buffer.
  4705. When you have subdirectories in the Dired buffer, you can use the page
  4706. motion commands C-x [ and C-x ] to move by entire directories.
  4707. The following commands move up and down in the tree of directories
  4708. in one Dired buffer:
  4709. **** C-M-u Go up to the parent directory's headerline.
  4710. **** C-M-d Go down in the tree, to the first subdirectory's
  4711. headerline.
  4712. **** C-M-n Go to next subdirectory headerline, regardless of level.
  4713. **** C-M-p Go to previous subdirectory headerline, regardless of
  4714. level.
  4715. *** Hiding Subdirectories
  4716. "Hiding" a subdirectory means to make it invisible, except for its
  4717. headerline. Files inside a hidden subdirectory are never considered
  4718. by Dired. For example, the commands to operate on marked files ignore
  4719. files in hidden directories even if they are marked.
  4720. **** `$' hides or unhides the current subdirectory and move to next
  4721. subdirectory. A prefix argument serves as a repeat count.
  4722. **** `M-$' hides all subdirectories, leaving only their header lines.
  4723. Or, if at least one subdirectory is currently hidden, it makes
  4724. everything visible again. You can use this command to get an overview
  4725. in very deep directory trees or to move quickly to subdirectories far
  4726. away.
  4727. *** Editing the Dired Buffer
  4728. **** `l' updates the specified files in a Dired buffer. This means
  4729. reading their current status from the file system and changing the
  4730. buffer to reflect it properly.
  4731. If you use this command on a subdirectory header line, it updates the
  4732. contents of the subdirectory.
  4733. **** `g' updates the entire contents of the Dired buffer. It preserves
  4734. all marks except for those on files that have vanished. Hidden
  4735. subdirectories are updated but remain hidden.
  4736. **** `k' kills all marked lines (not the files). With a prefix
  4737. argument, it kills that many lines starting with the current line.
  4738. This command does not delete files; it just deletes text from the Dired
  4739. buffer.
  4740. If you kill the line for a file that is a directory, then its contents
  4741. are also deleted from the buffer. Typing `C-u k' on the header line
  4742. for a subdirectory is another way to delete a subdirectory from the
  4743. Dired buffer.
  4744. *** `find' and Dired.
  4745. To search for files with names matching a wildcard pattern use
  4746. `find-name-dired'. Its arguments are DIRECTORY and
  4747. PATTERN. It selects all the files in DIRECTORY or its
  4748. subdirectories whose own names match PATTERN.
  4749. The files thus selected are displayed in a Dired buffer in which the
  4750. ordinary Dired commands are available.
  4751. If you want to test the contents of files, rather than their names, use
  4752. `find-grep-dired'. This command takes two minibuffer arguments,
  4753. DIRECTORY and REGEXP; it selects all the files in
  4754. DIRECTORY or its subdirectories that contain a match for
  4755. REGEXP. It works by running `find' and `grep'.
  4756. The most general command in this series is `find-dired', which lets
  4757. you specify any condition that `find' can test. It takes two
  4758. minibuffer arguments, DIRECTORY and FIND-ARGS; it runs `find' in
  4759. DIRECTORY with using FIND-ARGS as the arguments to `find' specifying
  4760. which files to accept. To use this command, you need to know how to
  4761. use `find'.
  4762. ** New amusements and novelties.
  4763. *** `M-x mpuz' displays a multiplication puzzle, in which each letter
  4764. stands for a digit, and you must determine which digit. The puzzles
  4765. are determined randomly, so they are always different.
  4766. *** `M-x gomoku' plays the game Gomoku with you. It needs more work.
  4767. *** `M-x spook' adds a line of randomly chosen keywords to an outgoing
  4768. mail message. The keywords are chosen from a list of words that
  4769. suggest you are discussing something subversive.
  4770. The idea is that the NSA reads all messages that contain keywords
  4771. suggesting they might be interested, and that adding these lines could
  4772. help to overload them. I would guess that they have modified their
  4773. program by now to ignore these lines of keywords; perhaps the program
  4774. can be updated if some clever hacker can determine what criterion they
  4775. actually use now.
  4776. ** Installation changes
  4777. *** The configure script has been provided to help with the
  4778. installation process. It takes the place of editing the Makefiles and
  4779. src/config.h, and can often guess the appropriate operating system to
  4780. use for a particular machine type. See INSTALL for a more detailed
  4781. description of the steps required for installation.
  4782. *** If you create a Lisp file named `site-start.el', Emacs loads the file
  4783. whenever it starts up.
  4784. *** A new Lisp variable, `data-directory', indicates the directory
  4785. containing the DOC file, tutorial, copying agreement, and other
  4786. familiar `etc' files. The value of `data-directory' is a simple string.
  4787. The default should be set at build time, and the person installing
  4788. Emacs should place all the data files in this directory. The `help.el'
  4789. functions that look for docstrings and information files check this
  4790. variable. All Emacs Lisp packages should also be coded so that they
  4791. refer to `data-directory' to find data files.
  4792. *** The PURESIZE definition has been moved from config.h to its own
  4793. file, puresize.h. Since almost every file of C source in the
  4794. distribution depends on config.h, but only alloc.c and data.c depend
  4795. on puresize.h, this means that changing the value of PURESIZE causes
  4796. only those two files to be recompiled.
  4797. *** The makefile at the top of the Emacs source tree now supports a
  4798. `dist' target, which creates a compressed tar file suitable for
  4799. distribution, using the contents of the source tree. Object files,
  4800. old file versions, executables, DOC files, and other
  4801. architecture-specific or easy-to-recreate files are not included in
  4802. the tar file.
  4803. ----------------------------------------------------------------------
  4804. This file is part of GNU Emacs.
  4805. GNU Emacs is free software: you can redistribute it and/or modify
  4806. it under the terms of the GNU General Public License as published by
  4807. the Free Software Foundation, either version 3 of the License, or
  4808. (at your option) any later version.
  4809. GNU Emacs is distributed in the hope that it will be useful,
  4810. but WITHOUT ANY WARRANTY; without even the implied warranty of
  4811. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  4812. GNU General Public License for more details.
  4813. You should have received a copy of the GNU General Public License
  4814. along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
  4815. Local variables:
  4816. mode: outline
  4817. paragraph-separate: "[ ]*$"
  4818. end: