NEWS.20 184 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516
  1. GNU Emacs NEWS -- history of user-visible changes. 2006-05-31
  2. Copyright (C) 1999-2001, 2006-2012 Free Software Foundation, Inc.
  3. See the end of the file for license conditions.
  4. Please send Emacs bug reports to bug-gnu-emacs@gnu.org.
  5. If possible, use M-x report-emacs-bug.
  6. This file is about changes in emacs version 20.
  7. * Emacs 20.7 is a bug-fix release with few user-visible changes
  8. ** It is now possible to use CCL-based coding systems for keyboard
  9. input.
  10. ** ange-ftp now handles FTP security extensions, like Kerberos.
  11. ** Rmail has been extended to recognize more forms of digest messages.
  12. ** Now, most coding systems set in keyboard coding system work not
  13. only for character input, but also in incremental search. The
  14. exceptions are such coding systems that handle 2-byte character sets
  15. (e.g euc-kr, euc-jp) and that use ISO's escape sequence
  16. (e.g. iso-2022-jp). They are ignored in incremental search.
  17. ** Support for Macintosh PowerPC-based machines running GNU/Linux has
  18. been added.
  19. * Emacs 20.6 is a bug-fix release with one user-visible change
  20. ** Support for ARM-based non-RISCiX machines has been added.
  21. * Emacs 20.5 is a bug-fix release with no user-visible changes.
  22. ** Not new, but not mentioned before:
  23. M-w when Transient Mark mode is enabled disables the mark.
  24. * Changes in Emacs 20.4
  25. ** Init file may be called .emacs.el.
  26. You can now call the Emacs init file `.emacs.el'.
  27. Formerly the name had to be `.emacs'. If you use the name
  28. `.emacs.el', you can byte-compile the file in the usual way.
  29. If both `.emacs' and `.emacs.el' exist, the latter file
  30. is the one that is used.
  31. ** shell-command, and shell-command-on-region, now return
  32. the exit code of the command (unless it is asynchronous).
  33. Also, you can specify a place to put the error output,
  34. separate from the command's regular output.
  35. Interactively, the variable shell-command-default-error-buffer
  36. says where to put error output; set it to a buffer name.
  37. In calls from Lisp, an optional argument ERROR-BUFFER specifies
  38. the buffer name.
  39. When you specify a non-nil error buffer (or buffer name), any error
  40. output is inserted before point in that buffer, with \f\n to separate
  41. it from the previous batch of error output. The error buffer is not
  42. cleared, so error output from successive commands accumulates there.
  43. ** Setting the default value of enable-multibyte-characters to nil in
  44. the .emacs file, either explicitly using setq-default, or via Custom,
  45. is now essentially equivalent to using --unibyte: all buffers
  46. created during startup will be made unibyte after loading .emacs.
  47. ** C-x C-f now handles the wildcards * and ? in file names. For
  48. example, typing C-x C-f c*.c RET visits all the files whose names
  49. match c*.c. To visit a file whose name contains * or ?, add the
  50. quoting sequence /: to the beginning of the file name.
  51. ** The M-x commands keep-lines, flush-lines and count-matches
  52. now have the same feature as occur and query-replace:
  53. if the pattern contains any upper case letters, then
  54. they never ignore case.
  55. ** The end-of-line format conversion feature previously mentioned
  56. under `* Emacs 20.1 changes for MS-DOS and MS-Windows' actually
  57. applies to all operating systems. Emacs recognizes from the contents
  58. of a file what convention it uses to separate lines--newline, CRLF, or
  59. just CR--and automatically converts the contents to the normal Emacs
  60. convention (using newline to separate lines) for editing. This is a
  61. part of the general feature of coding system conversion.
  62. If you subsequently save the buffer, Emacs converts the text back to
  63. the same format that was used in the file before.
  64. You can turn off end-of-line conversion by setting the variable
  65. `inhibit-eol-conversion' to non-nil, e.g. with Custom in the MULE group.
  66. ** The character set property `prefered-coding-system' has been
  67. renamed to `preferred-coding-system', for the sake of correct spelling.
  68. This is a fairly internal feature, so few programs should be affected.
  69. ** Mode-line display of end-of-line format is changed.
  70. The indication of the end-of-line format of the file visited by a
  71. buffer is now more explicit when that format is not the usual one for
  72. your operating system. For example, the DOS-style end-of-line format
  73. is displayed as "(DOS)" on Unix and GNU/Linux systems. The usual
  74. end-of-line format is still displayed as a single character (colon for
  75. Unix, backslash for DOS and Windows, and forward slash for the Mac).
  76. The values of the variables eol-mnemonic-unix, eol-mnemonic-dos,
  77. eol-mnemonic-mac, and eol-mnemonic-undecided, which are strings,
  78. control what is displayed in the mode line for each end-of-line
  79. format. You can now customize these variables.
  80. ** In the previous version of Emacs, tar-mode didn't work well if a
  81. filename contained non-ASCII characters. Now this is fixed. Such a
  82. filename is decoded by file-name-coding-system if the default value of
  83. enable-multibyte-characters is non-nil.
  84. ** The command temp-buffer-resize-mode toggles a minor mode
  85. in which temporary buffers (such as help buffers) are given
  86. windows just big enough to hold the whole contents.
  87. ** If you use completion.el, you must now run the function
  88. dynamic-completion-mode to enable it. Just loading the file
  89. doesn't have any effect.
  90. ** In Flyspell mode, the default is now to make just one Ispell process,
  91. not one per buffer.
  92. ** If you use iswitchb but do not call (iswitchb-default-keybindings) to
  93. use the default keybindings, you will need to add the following line:
  94. (add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup)
  95. ** Auto-show mode is no longer enabled just by loading auto-show.el.
  96. To control it, set `auto-show-mode' via Custom or use the
  97. `auto-show-mode' command.
  98. ** Handling of X fonts' ascent/descent parameters has been changed to
  99. avoid redisplay problems. As a consequence, compared with previous
  100. versions the line spacing and frame size now differ with some font
  101. choices, typically increasing by a pixel per line. This change
  102. occurred in version 20.3 but was not documented then.
  103. ** If you select the bar cursor style, it uses the frame's
  104. cursor-color, rather than the cursor foreground pixel.
  105. ** In multibyte mode, Rmail decodes incoming MIME messages using the
  106. character set specified in the message. If you want to disable this
  107. feature, set the variable rmail-decode-mime-charset to nil.
  108. ** Not new, but not mentioned previously in NEWS: when you use #! at
  109. the beginning of a file to make it executable and specify an
  110. interpreter program, Emacs looks on the second line for the -*- mode
  111. and variable specification, as well as on the first line.
  112. ** Support for IBM codepage encoding of non-ASCII characters.
  113. The new command M-x codepage-setup creates a special coding system
  114. that can be used to convert text between a specific IBM codepage and
  115. one of the character sets built into Emacs which matches that
  116. codepage. For example, codepage 850 corresponds to Latin-1 character
  117. set, codepage 855 corresponds to Cyrillic-ISO character set, etc.
  118. Windows codepages 1250, 1251 and some others, where Windows deviates
  119. from the corresponding ISO character set, are also supported.
  120. IBM box-drawing characters and other glyphs which don't have
  121. equivalents in the corresponding ISO character set, are converted to
  122. a character defined by dos-unsupported-char-glyph on MS-DOS, and to
  123. `?' on other systems.
  124. IBM codepages are widely used on MS-DOS and MS-Windows, so this
  125. feature is most useful on those platforms, but it can also be used on
  126. Unix.
  127. Emacs compiled for MS-DOS automatically loads the support for the
  128. current codepage when it starts.
  129. ** Mail changes
  130. *** When mail is sent using compose-mail (C-x m), and if
  131. `mail-send-nonascii' is set to the new default value `mime',
  132. appropriate MIME headers are added. The headers are added only if
  133. non-ASCII characters are present in the body of the mail, and no other
  134. MIME headers are already present. For example, the following three
  135. headers are added if the coding system used in the *mail* buffer is
  136. latin-1:
  137. MIME-version: 1.0
  138. Content-type: text/plain; charset=iso-8859-1
  139. Content-Transfer-Encoding: 8bit
  140. *** The new variable default-sendmail-coding-system specifies the
  141. default way to encode outgoing mail. This has higher priority than
  142. default-buffer-file-coding-system but has lower priority than
  143. sendmail-coding-system and the local value of
  144. buffer-file-coding-system.
  145. You should not set this variable manually. Instead, set
  146. sendmail-coding-system to specify a fixed encoding for all outgoing
  147. mail.
  148. *** When you try to send a message that contains non-ASCII characters,
  149. if the coding system specified by those variables doesn't handle them,
  150. Emacs will ask you to select a suitable coding system while showing a
  151. list of possible coding systems.
  152. ** CC Mode changes
  153. *** c-default-style can now take an association list that maps major
  154. modes to style names. When this variable is an alist, Java mode no
  155. longer hardcodes a setting to "java" style. See the variable's
  156. docstring for details.
  157. *** It's now possible to put a list as the offset on a syntactic
  158. symbol. The list is evaluated recursively until a non-nil offset is
  159. found. This is useful to combine several lineup functions to act in a
  160. prioritized order on a single line. However, none of the supplied
  161. lineup functions use this feature currently.
  162. *** New syntactic symbol catch-clause, which is used on the "catch" and
  163. "finally" lines in try-catch constructs in C++ and Java.
  164. *** New cleanup brace-catch-brace on c-cleanup-list, which does for
  165. "catch" lines what brace-elseif-brace does for "else if" lines.
  166. *** The braces of Java anonymous inner classes are treated separately
  167. from the braces of other classes in auto-newline mode. Two new
  168. symbols inexpr-class-open and inexpr-class-close may be used on
  169. c-hanging-braces-alist to control the automatic newlines used for
  170. anonymous classes.
  171. *** Support for the Pike language added, along with new Pike specific
  172. syntactic symbols: inlambda, lambda-intro-cont
  173. *** Support for Java anonymous classes via new syntactic symbol
  174. inexpr-class. New syntactic symbol inexpr-statement for Pike
  175. support and gcc-style statements inside expressions. New lineup
  176. function c-lineup-inexpr-block.
  177. *** New syntactic symbol brace-entry-open which is used in brace lists
  178. (i.e. static initializers) when a list entry starts with an open
  179. brace. These used to be recognized as brace-list-entry's.
  180. c-electric-brace also recognizes brace-entry-open braces
  181. (brace-list-entry's can no longer be electrified).
  182. *** New command c-indent-line-or-region, not bound by default.
  183. *** `#' is only electric when typed in the indentation of a line.
  184. *** Parentheses are now electric (via the new command c-electric-paren)
  185. for auto-reindenting lines when parens are typed.
  186. *** In "gnu" style, inline-open offset is now set to zero.
  187. *** Uniform handling of the inclass syntactic symbol. The indentation
  188. associated with it is now always relative to the class opening brace.
  189. This means that the indentation behavior has changed in some
  190. circumstances, but only if you've put anything besides 0 on the
  191. class-open syntactic symbol (none of the default styles do that).
  192. ** Gnus changes.
  193. *** New functionality for using Gnus as an offline newsreader has been
  194. added. A plethora of new commands and modes have been added. See the
  195. Gnus manual for the full story.
  196. *** The nndraft backend has returned, but works differently than
  197. before. All Message buffers are now also articles in the nndraft
  198. group, which is created automatically.
  199. *** `gnus-alter-header-function' can now be used to alter header
  200. values.
  201. *** `gnus-summary-goto-article' now accept Message-ID's.
  202. *** A new Message command for deleting text in the body of a message
  203. outside the region: `C-c C-v'.
  204. *** You can now post to component group in nnvirtual groups with
  205. `C-u C-c C-c'.
  206. *** `nntp-rlogin-program' -- new variable to ease customization.
  207. *** `C-u C-c C-c' in `gnus-article-edit-mode' will now inhibit
  208. re-highlighting of the article buffer.
  209. *** New element in `gnus-boring-article-headers' -- `long-to'.
  210. *** `M-i' symbolic prefix command. See the section "Symbolic
  211. Prefixes" in the Gnus manual for details.
  212. *** `L' and `I' in the summary buffer now take the symbolic prefix
  213. `a' to add the score rule to the "all.SCORE" file.
  214. *** `gnus-simplify-subject-functions' variable to allow greater
  215. control over simplification.
  216. *** `A T' -- new command for fetching the current thread.
  217. *** `/ T' -- new command for including the current thread in the
  218. limit.
  219. *** `M-RET' is a new Message command for breaking cited text.
  220. *** \\1-expressions are now valid in `nnmail-split-methods'.
  221. *** The `custom-face-lookup' function has been removed.
  222. If you used this function in your initialization files, you must
  223. rewrite them to use `face-spec-set' instead.
  224. *** Canceling now uses the current select method. Symbolic prefix
  225. `a' forces normal posting method.
  226. *** New command to translate M******** sm*rtq**t*s into proper text
  227. -- `W d'.
  228. *** For easier debugging of nntp, you can set `nntp-record-commands'
  229. to a non-nil value.
  230. *** nntp now uses ~/.authinfo, a .netrc-like file, for controlling
  231. where and how to send AUTHINFO to NNTP servers.
  232. *** A command for editing group parameters from the summary buffer
  233. has been added.
  234. *** A history of where mails have been split is available.
  235. *** A new article date command has been added -- `article-date-iso8601'.
  236. *** Subjects can be simplified when threading by setting
  237. `gnus-score-thread-simplify'.
  238. *** A new function for citing in Message has been added --
  239. `message-cite-original-without-signature'.
  240. *** `article-strip-all-blank-lines' -- new article command.
  241. *** A new Message command to kill to the end of the article has
  242. been added.
  243. *** A minimum adaptive score can be specified by using the
  244. `gnus-adaptive-word-minimum' variable.
  245. *** The "lapsed date" article header can be kept continually
  246. updated by the `gnus-start-date-timer' command.
  247. *** Web listserv archives can be read with the nnlistserv backend.
  248. *** Old dejanews archives can now be read by nnweb.
  249. *** `gnus-posting-styles' has been re-activated.
  250. ** Changes to TeX and LaTeX mode
  251. *** The new variable `tex-start-options-string' can be used to give
  252. options for the TeX run. The default value causes TeX to run in
  253. nonstopmode. For an interactive TeX run set it to nil or "".
  254. *** The command `tex-feed-input' sends input to the Tex Shell. In a
  255. TeX buffer it is bound to the keys C-RET, C-c RET, and C-c C-m (some
  256. of these keys may not work on all systems). For instance, if you run
  257. TeX interactively and if the TeX run stops because of an error, you
  258. can continue it without leaving the TeX buffer by typing C-RET.
  259. *** The Tex Shell Buffer is now in `compilation-shell-minor-mode'.
  260. All error-parsing commands of the Compilation major mode are available
  261. but bound to keys that don't collide with the shell. Thus you can use
  262. the Tex Shell for command line executions like a usual shell.
  263. *** The commands `tex-validate-region' and `tex-validate-buffer' check
  264. the matching of braces and $'s. The errors are listed in a *Occur*
  265. buffer and you can use C-c C-c or mouse-2 to go to a particular
  266. mismatch.
  267. ** Changes to RefTeX mode
  268. *** The table of contents buffer can now also display labels and
  269. file boundaries in addition to sections. Use `l', `i', and `c' keys.
  270. *** Labels derived from context (the section heading) are now
  271. lowercase by default. To make the label legal in LaTeX, latin-1
  272. characters will lose their accent. All Mule characters will be
  273. removed from the label.
  274. *** The automatic display of cross reference information can also use
  275. a window instead of the echo area. See variable `reftex-auto-view-crossref'.
  276. *** kpsewhich can be used by RefTeX to find TeX and BibTeX files. See the
  277. customization group `reftex-finding-files'.
  278. *** The option `reftex-bibfile-ignore-list' has been renamed to
  279. `reftex-bibfile-ignore-regexps' and indeed can be fed with regular
  280. expressions.
  281. *** Multiple Selection buffers are now hidden buffers.
  282. ** New/deleted modes and packages
  283. *** The package snmp-mode.el provides major modes for editing SNMP and
  284. SNMPv2 MIBs. It has entries on `auto-mode-alist'.
  285. *** The package sql.el provides a major mode, M-x sql-mode, for
  286. editing SQL files, and M-x sql-interactive-mode for interacting with
  287. SQL interpreters. It has an entry on `auto-mode-alist'.
  288. *** ispell4.el has been deleted. It got in the way of ispell.el and
  289. this was hard to fix reliably. It has long been obsolete -- use
  290. Ispell 3.1 and ispell.el.
  291. * MS-DOS changes in Emacs 20.4
  292. ** Emacs compiled for MS-DOS now supports MULE features better.
  293. This includes support for display of all ISO 8859-N character sets,
  294. conversion to and from IBM codepage encoding of non-ASCII characters,
  295. and automatic setup of the MULE environment at startup. For details,
  296. check out the section `MS-DOS and MULE' in the manual.
  297. The MS-DOS installation procedure automatically configures and builds
  298. Emacs with input method support if it finds an unpacked Leim
  299. distribution when the config.bat script is run.
  300. ** Formerly, the value of lpr-command did not affect printing on
  301. MS-DOS unless print-region-function was set to nil, but now it
  302. controls whether an external program is invoked or output is written
  303. directly to a printer port. Similarly, in the previous version of
  304. Emacs, the value of ps-lpr-command did not affect PostScript printing
  305. on MS-DOS unless ps-printer-name was set to something other than a
  306. string (eg. t or `pipe'), but now it controls whether an external
  307. program is used. (These changes were made so that configuration of
  308. printing variables would be almost identical across all platforms.)
  309. ** In the previous version of Emacs, PostScript and non-PostScript
  310. output was piped to external programs, but because most print programs
  311. available for MS-DOS and MS-Windows cannot read data from their standard
  312. input, on those systems the data to be output is now written to a
  313. temporary file whose name is passed as the last argument to the external
  314. program.
  315. An exception is made for `print', a standard program on Windows NT,
  316. and `nprint', a standard program on Novell Netware. For both of these
  317. programs, the command line is constructed in the appropriate syntax
  318. automatically, using only the value of printer-name or ps-printer-name
  319. as appropriate--the value of the relevant `-switches' variable is
  320. ignored, as both programs have no useful switches.
  321. ** The value of the variable dos-printer (cf. dos-ps-printer), if it has
  322. a value, overrides the value of printer-name (cf. ps-printer-name), on
  323. MS-DOS and MS-Windows only. This has been true since version 20.3, but
  324. was not documented clearly before.
  325. ** All the Emacs games now work on MS-DOS terminals.
  326. This includes Tetris and Snake.
  327. * Lisp changes in Emacs 20.4
  328. ** New functions line-beginning-position and line-end-position
  329. return the position of the beginning or end of the current line.
  330. They both accept an optional argument, which has the same
  331. meaning as the argument to beginning-of-line or end-of-line.
  332. ** find-file and allied functions now have an optional argument
  333. WILDCARD. If this is non-nil, they do wildcard processing,
  334. and visit all files that match the wildcard pattern.
  335. ** Changes in the file-attributes function.
  336. *** The file size returned by file-attributes may be an integer or a float.
  337. It is an integer if the size fits in a Lisp integer, float otherwise.
  338. *** The inode number returned by file-attributes may be an integer (if
  339. the number fits in a Lisp integer) or a cons cell containing two
  340. integers.
  341. ** The new function directory-files-and-attributes returns a list of
  342. files in a directory and their attributes. It accepts the same
  343. arguments as directory-files and has similar semantics, except that
  344. file names and attributes are returned.
  345. ** The new function file-attributes-lessp is a helper function for
  346. sorting the list generated by directory-files-and-attributes. It
  347. accepts two arguments, each a list of a file name and its attributes.
  348. It compares the file names of each according to string-lessp and
  349. returns the result.
  350. ** The new function file-expand-wildcards expands a wildcard-pattern
  351. to produce a list of existing files that match the pattern.
  352. ** New functions for base64 conversion:
  353. The function base64-encode-region converts a part of the buffer
  354. into the base64 code used in MIME. base64-decode-region
  355. performs the opposite conversion. Line-breaking is supported
  356. optionally.
  357. Functions base64-encode-string and base64-decode-string do a similar
  358. job on the text in a string. They return the value as a new string.
  359. **
  360. The new function process-running-child-p
  361. will tell you if a subprocess has given control of its
  362. terminal to its own child process.
  363. ** interrupt-process and such functions have a new feature:
  364. when the second argument is `lambda', they send a signal
  365. to the running child of the subshell, if any, but if the shell
  366. itself owns its terminal, no signal is sent.
  367. ** There are new widget types `plist' and `alist' which can
  368. be used for customizing variables whose values are plists or alists.
  369. ** easymenu.el now understands `:key-sequence' and `:style button'.
  370. :included is an alias for :visible.
  371. easy-menu-add-item now understands the values returned by
  372. easy-menu-remove-item and easy-menu-item-present-p. This can be used
  373. to move or copy menu entries.
  374. ** Multibyte editing changes
  375. *** The definitions of sref and char-bytes are changed. Now, sref is
  376. an alias of aref and char-bytes always returns 1. This change is to
  377. make some Emacs Lisp code which works on 20.2 and earlier also
  378. work on the latest Emacs. Such code uses a combination of sref and
  379. char-bytes in a loop typically as below:
  380. (setq char (sref str idx)
  381. idx (+ idx (char-bytes idx)))
  382. The byte-compiler now warns that this is obsolete.
  383. If you want to know how many bytes a specific multibyte character
  384. (say, CH) occupies in a multibyte buffer, use this code:
  385. (charset-bytes (char-charset ch))
  386. *** In multibyte mode, when you narrow a buffer to some region, and the
  387. region is preceded or followed by non-ASCII codes, inserting or
  388. deleting at the head or the end of the region may signal this error:
  389. Byte combining across boundary of accessible buffer text inhibited
  390. This is to avoid some bytes being combined together into a character
  391. across the boundary.
  392. *** The functions find-charset-region and find-charset-string include
  393. `unknown' in the returned list in the following cases:
  394. o The current buffer or the target string is unibyte and
  395. contains 8-bit characters.
  396. o The current buffer or the target string is multibyte and
  397. contains invalid characters.
  398. *** The functions decode-coding-region and encode-coding-region remove
  399. text properties of the target region. Ideally, they should correctly
  400. preserve text properties, but for the moment, it's hard. Removing
  401. text properties is better than preserving them in a less-than-correct
  402. way.
  403. *** prefer-coding-system sets EOL conversion of default coding systems.
  404. If the argument to prefer-coding-system specifies a certain type of
  405. end of line conversion, the default coding systems set by
  406. prefer-coding-system will specify that conversion type for end of line.
  407. *** The new function thai-compose-string can be used to properly
  408. compose Thai characters in a string.
  409. ** The primitive `define-prefix-command' now takes an optional third
  410. argument NAME, which should be a string. It supplies the menu name
  411. for the created keymap. Keymaps created in order to be displayed as
  412. menus should always use the third argument.
  413. ** The meanings of optional second arguments for read-char,
  414. read-event, and read-char-exclusive are flipped. Now the second
  415. arguments are INHERIT-INPUT-METHOD. These functions use the current
  416. input method (if any) if and only if INHERIT-INPUT-METHOD is non-nil.
  417. ** The new function clear-this-command-keys empties out the contents
  418. of the vector that (this-command-keys) returns. This is useful in
  419. programs that read passwords, to prevent the passwords from echoing
  420. inadvertently as part of the next command in certain cases.
  421. ** The new macro `with-temp-message' displays a temporary message in
  422. the echo area, while executing some Lisp code. Like `progn', it
  423. returns the value of the last form, but it also restores the previous
  424. echo area contents.
  425. (with-temp-message MESSAGE &rest BODY)
  426. ** The function `require' now takes an optional third argument
  427. NOERROR. If it is non-nil, then there is no error if the
  428. requested feature cannot be loaded.
  429. ** In the function modify-face, an argument of (nil) for the
  430. foreground color, background color or stipple pattern
  431. means to clear out that attribute.
  432. ** The `outer-window-id' frame property of an X frame
  433. gives the window number of the outermost X window for the frame.
  434. ** Temporary buffers made with with-output-to-temp-buffer are now
  435. read-only by default, and normally use the major mode Help mode
  436. unless you put them in some other non-Fundamental mode before the
  437. end of with-output-to-temp-buffer.
  438. ** The new functions gap-position and gap-size return information on
  439. the gap of the current buffer.
  440. ** The new functions position-bytes and byte-to-position provide a way
  441. to convert between character positions and byte positions in the
  442. current buffer.
  443. ** vc.el defines two new macros, `edit-vc-file' and `with-vc-file', to
  444. facilitate working with version-controlled files from Lisp programs.
  445. These macros check out a given file automatically if needed, and check
  446. it back in after any modifications have been made.
  447. * Installation Changes in Emacs 20.3
  448. ** The default value of load-path now includes most subdirectories of
  449. the site-specific directories /usr/local/share/emacs/site-lisp and
  450. /usr/local/share/emacs/VERSION/site-lisp, in addition to those
  451. directories themselves. Both immediate subdirectories and
  452. subdirectories multiple levels down are added to load-path.
  453. Not all subdirectories are included, though. Subdirectories whose
  454. names do not start with a letter or digit are excluded.
  455. Subdirectories named RCS or CVS are excluded. Also, a subdirectory
  456. which contains a file named `.nosearch' is excluded. You can use
  457. these methods to prevent certain subdirectories from being searched.
  458. Emacs finds these subdirectories and adds them to load-path when it
  459. starts up. While it would be cleaner to find the subdirectories each
  460. time Emacs loads a file, that would be much slower.
  461. This feature is an incompatible change. If you have stored some Emacs
  462. Lisp files in a subdirectory of the site-lisp directory specifically
  463. to prevent them from being used, you will need to rename the
  464. subdirectory to start with a non-alphanumeric character, or create a
  465. `.nosearch' file in it, in order to continue to achieve the desired
  466. results.
  467. ** Emacs no longer includes an old version of the C preprocessor from
  468. GCC. This was formerly used to help compile Emacs with C compilers
  469. that had limits on the significant length of an identifier, but in
  470. fact we stopped supporting such compilers some time ago.
  471. * Changes in Emacs 20.3
  472. ** The new command C-x z (repeat) repeats the previous command
  473. including its argument. If you repeat the z afterward,
  474. it repeats the command additional times; thus, you can
  475. perform many repetitions with one keystroke per repetition.
  476. ** Emacs now supports "selective undo" which undoes only within a
  477. specified region. To do this, set point and mark around the desired
  478. region and type C-u C-x u (or C-u C-_). You can then continue undoing
  479. further, within the same region, by repeating the ordinary undo
  480. command C-x u or C-_. This will keep undoing changes that were made
  481. within the region you originally specified, until either all of them
  482. are undone, or it encounters a change which crosses the edge of that
  483. region.
  484. In Transient Mark mode, undoing when a region is active requests
  485. selective undo.
  486. ** If you specify --unibyte when starting Emacs, then all buffers are
  487. unibyte, except when a Lisp program specifically creates a multibyte
  488. buffer. Setting the environment variable EMACS_UNIBYTE has the same
  489. effect. The --no-unibyte option overrides EMACS_UNIBYTE and directs
  490. Emacs to run normally in multibyte mode.
  491. The option --unibyte does not affect the reading of Emacs Lisp files,
  492. though. If you want a Lisp file to be read in unibyte mode, use
  493. -*-unibyte: t;-*- on its first line. That will force Emacs to
  494. load that file in unibyte mode, regardless of how Emacs was started.
  495. ** toggle-enable-multibyte-characters no longer has a key binding and
  496. no longer appears in the menu bar. We've realized that changing the
  497. enable-multibyte-characters variable in an existing buffer is
  498. something that most users not do.
  499. ** You can specify a coding system to use for the next cut or paste
  500. operations through the window system with the command C-x RET X.
  501. The coding system can make a difference for communication with other
  502. applications.
  503. C-x RET x specifies a coding system for all subsequent cutting and
  504. pasting operations.
  505. ** You can specify the printer to use for commands that do printing by
  506. setting the variable `printer-name'. Just what a printer name looks
  507. like depends on your operating system. You can specify a different
  508. printer for the PostScript printing commands by setting
  509. `ps-printer-name'.
  510. ** Emacs now supports on-the-fly spell checking by the means of a
  511. minor mode. It is called M-x flyspell-mode. You don't have to remember
  512. any other special commands to use it, and you will hardly notice it
  513. except when you make a spelling error. Flyspell works by highlighting
  514. incorrect words as soon as they are completed or as soon as the cursor
  515. hits a new word.
  516. Flyspell mode works with whichever dictionary you have selected for
  517. Ispell in Emacs. In TeX mode, it understands TeX syntax so as not
  518. to be confused by TeX commands.
  519. You can correct a misspelled word by editing it into something
  520. correct. You can also correct it, or accept it as correct, by
  521. clicking on the word with Mouse-2; that gives you a pop-up menu
  522. of various alternative replacements and actions.
  523. Flyspell mode also proposes "automatic" corrections. M-TAB replaces
  524. the current misspelled word with a possible correction. If several
  525. corrections are made possible, M-TAB cycles through them in
  526. alphabetical order, or in order of decreasing likelihood if
  527. flyspell-sort-corrections is nil.
  528. Flyspell mode also flags an error when a word is repeated, if
  529. flyspell-mark-duplications-flag is non-nil.
  530. ** Changes in input method usage.
  531. Now you can use arrow keys (right, left, down, up) for selecting among
  532. the alternatives just the same way as you do by C-f, C-b, C-n, and C-p
  533. respectively.
  534. You can use the ENTER key to accept the current conversion.
  535. If you type TAB to display a list of alternatives, you can select one
  536. of the alternatives with Mouse-2.
  537. The meaning of the variable `input-method-verbose-flag' is changed so
  538. that you can set it to t, nil, `default', or `complex-only'.
  539. If the value is nil, extra guidance is never given.
  540. If the value is t, extra guidance is always given.
  541. If the value is `complex-only', extra guidance is always given only
  542. when you are using complex input methods such as chinese-py.
  543. If the value is `default' (this is the default), extra guidance is
  544. given in the following case:
  545. o When you are using a complex input method.
  546. o When you are using a simple input method but not in the minibuffer.
  547. If you are using Emacs through a very slow line, setting
  548. input-method-verbose-flag to nil or to complex-only is a good choice,
  549. and if you are using an input method you are not familiar with,
  550. setting it to t is helpful.
  551. The old command select-input-method is now called set-input-method.
  552. In the language environment "Korean", you can use the following
  553. keys:
  554. Shift-SPC toggle-korean-input-method
  555. C-F9 quail-hangul-switch-symbol-ksc
  556. F9 quail-hangul-switch-hanja
  557. These key bindings are canceled when you switch to another language
  558. environment.
  559. ** The minibuffer history of file names now records the specified file
  560. names, not the entire minibuffer input. For example, if the
  561. minibuffer starts out with /usr/foo/, you might type in /etc/passwd to
  562. get
  563. /usr/foo//etc/passwd
  564. which stands for the file /etc/passwd.
  565. Formerly, this used to put /usr/foo//etc/passwd in the history list.
  566. Now this puts just /etc/passwd in the history list.
  567. ** If you are root, Emacs sets backup-by-copying-when-mismatch to t
  568. at startup, so that saving a file will be sure to preserve
  569. its owner and group.
  570. ** find-func.el can now also find the place of definition of Emacs
  571. Lisp variables in user-loaded libraries.
  572. ** C-x r t (string-rectangle) now deletes the existing rectangle
  573. contents before inserting the specified string on each line.
  574. ** There is a new command delete-whitespace-rectangle
  575. which deletes whitespace starting from a particular column
  576. in all the lines on a rectangle. The column is specified
  577. by the left edge of the rectangle.
  578. ** You can now store a number into a register with C-u NUMBER C-x r n REG,
  579. increment it by INC with C-u INC C-x r + REG (to increment by one, omit
  580. C-u INC), and insert it in the buffer with C-x r g REG. This is useful
  581. for writing keyboard macros.
  582. ** The new command M-x speedbar displays a frame in which directories,
  583. files, and tags can be displayed, manipulated, and jumped to. The
  584. frame defaults to 20 characters in width, and is the same height as
  585. the frame that it was started from. Some major modes define
  586. additional commands for the speedbar, including Rmail, GUD/GDB, and
  587. info.
  588. ** query-replace-regexp is now bound to C-M-%.
  589. ** In Transient Mark mode, when the region is active, M-x
  590. query-replace and the other replace commands now operate on the region
  591. contents only.
  592. ** M-x write-region, when used interactively, now asks for
  593. confirmation before overwriting an existing file. When you call
  594. the function from a Lisp program, a new optional argument CONFIRM
  595. says whether to ask for confirmation in this case.
  596. ** If you use find-file-literally and the file is already visited
  597. non-literally, the command asks you whether to revisit the file
  598. literally. If you say no, it signals an error.
  599. ** Major modes defined with the "derived mode" feature
  600. now use the proper name for the mode hook: WHATEVER-mode-hook.
  601. Formerly they used the name WHATEVER-mode-hooks, but that is
  602. inconsistent with Emacs conventions.
  603. ** shell-command-on-region (and shell-command) reports success or
  604. failure if the command produces no output.
  605. ** Set focus-follows-mouse to nil if your window system or window
  606. manager does not transfer focus to another window when you just move
  607. the mouse.
  608. ** mouse-menu-buffer-maxlen has been renamed to
  609. mouse-buffer-menu-maxlen to be consistent with the other related
  610. function and variable names.
  611. ** The new variable auto-coding-alist specifies coding systems for
  612. reading specific files. This has higher priority than
  613. file-coding-system-alist.
  614. ** If you set the variable unibyte-display-via-language-environment to
  615. t, then Emacs displays non-ASCII characters are displayed by
  616. converting them to the equivalent multibyte characters according to
  617. the current language environment. As a result, they are displayed
  618. according to the current fontset.
  619. ** C-q's handling of codes in the range 0200 through 0377 is changed.
  620. The codes in the range 0200 through 0237 are inserted as one byte of
  621. that code regardless of the values of nonascii-translation-table and
  622. nonascii-insert-offset.
  623. For the codes in the range 0240 through 0377, if
  624. enable-multibyte-characters is non-nil and nonascii-translation-table
  625. nor nonascii-insert-offset can't convert them to valid multibyte
  626. characters, they are converted to Latin-1 characters.
  627. ** If you try to find a file that is not read-accessible, you now get
  628. an error, rather than an empty buffer and a warning.
  629. ** In the minibuffer history commands M-r and M-s, an upper case
  630. letter in the regular expression forces case-sensitive search.
  631. ** In the *Help* buffer, cross-references to commands and variables
  632. are inferred and hyperlinked. Use C-h m in Help mode for the relevant
  633. command keys.
  634. ** M-x apropos-command, with a prefix argument, no longer looks for
  635. user option variables--instead it looks for noninteractive functions.
  636. Meanwhile, the command apropos-variable normally searches for
  637. user option variables; with a prefix argument, it looks at
  638. all variables that have documentation.
  639. ** When you type a long line in the minibuffer, and the minibuffer
  640. shows just one line, automatically scrolling works in a special way
  641. that shows you overlap with the previous line of text. The variable
  642. minibuffer-scroll-overlap controls how many characters of overlap
  643. it should show; the default is 20.
  644. Meanwhile, Resize Minibuffer mode is still available; in that mode,
  645. the minibuffer grows taller (up to a point) as needed to show the whole
  646. of your input.
  647. ** The new command M-x customize-changed-options lets you customize
  648. all the options whose meanings or default values have changed in
  649. recent Emacs versions. You specify a previous Emacs version number as
  650. argument, and the command creates a customization buffer showing all
  651. the customizable options which were changed since that version.
  652. Newly added options are included as well.
  653. If you don't specify a particular version number argument,
  654. then the customization buffer shows all the customizable options
  655. for which Emacs versions of changes are recorded.
  656. This function is also bound to the Changed Options entry in the
  657. Customize menu.
  658. ** When you run M-x grep with a prefix argument, it figures out
  659. the tag around point and puts that into the default grep command.
  660. ** The new command M-* (pop-tag-mark) pops back through a history of
  661. buffer positions from which M-. or other tag-finding commands were
  662. invoked.
  663. ** The new variable comment-padding specifies the number of spaces
  664. that `comment-region' will insert before the actual text of the comment.
  665. The default is 1.
  666. ** In Fortran mode the characters `.', `_' and `$' now have symbol
  667. syntax, not word syntax. Fortran mode now supports `imenu' and has
  668. new commands fortran-join-line (M-^) and fortran-narrow-to-subprogram
  669. (C-x n d). M-q can be used to fill a statement or comment block
  670. sensibly.
  671. ** GUD now supports jdb, the Java debugger, and pdb, the Python debugger.
  672. ** If you set the variable add-log-keep-changes-together to a non-nil
  673. value, the command `C-x 4 a' will automatically notice when you make
  674. two entries in one day for one file, and combine them.
  675. ** You can use the command M-x diary-mail-entries to mail yourself a
  676. reminder about upcoming diary entries. See the documentation string
  677. for a sample shell script for calling this function automatically
  678. every night.
  679. ** Desktop changes
  680. *** All you need to do to enable use of the Desktop package, is to set
  681. the variable desktop-enable to t with Custom.
  682. *** Minor modes are now restored. Which minor modes are restored
  683. and how modes are restored is controlled by `desktop-minor-mode-table'.
  684. ** There is no need to do anything special, now, to enable Gnus to
  685. read and post multi-lingual articles.
  686. ** Outline mode has now support for showing hidden outlines when
  687. doing an isearch. In order for this to happen search-invisible should
  688. be set to open (the default). If an isearch match is inside a hidden
  689. outline the outline is made visible. If you continue pressing C-s and
  690. the match moves outside the formerly invisible outline, the outline is
  691. made invisible again.
  692. ** Mail reading and sending changes
  693. *** The Rmail e command now switches to displaying the whole header of
  694. the message before it lets you edit the message. This is so that any
  695. changes you make in the header will not be lost if you subsequently
  696. toggle.
  697. *** The w command in Rmail, which writes the message body into a file,
  698. now works in the summary buffer as well. (The command to delete the
  699. summary buffer is now Q.) The default file name for the w command, if
  700. the message has no subject, is stored in the variable
  701. rmail-default-body-file.
  702. *** Most of the commands and modes that operate on mail and netnews no
  703. longer depend on the value of mail-header-separator. Instead, they
  704. handle whatever separator the buffer happens to use.
  705. *** If you set mail-signature to a value which is not t, nil, or a string,
  706. it should be an expression. When you send a message, this expression
  707. is evaluated to insert the signature.
  708. *** The new Lisp library feedmail.el (version 8) enhances processing of
  709. outbound email messages. It works in coordination with other email
  710. handling packages (e.g., rmail, VM, gnus) and is responsible for
  711. putting final touches on messages and actually submitting them for
  712. transmission. Users of the emacs program "fakemail" might be
  713. especially interested in trying feedmail.
  714. feedmail is not enabled by default. See comments at the top of
  715. feedmail.el for set-up instructions. Among the bigger features
  716. provided by feedmail are:
  717. **** you can park outgoing messages into a disk-based queue and
  718. stimulate sending some or all of them later (handy for laptop users);
  719. there is also a queue for draft messages
  720. **** you can get one last look at the prepped outbound message and
  721. be prompted for confirmation
  722. **** does smart filling of address headers
  723. **** can generate a MESSAGE-ID: line and a DATE: line; the date can be
  724. the time the message was written or the time it is being sent; this
  725. can make FCC copies more closely resemble copies that recipients get
  726. **** you can specify an arbitrary function for actually transmitting
  727. the message; included in feedmail are interfaces for /bin/[r]mail,
  728. /usr/lib/sendmail, and Emacs Lisp smtpmail; it's easy to write a new
  729. function for something else (10-20 lines of Lisp code).
  730. ** Dired changes
  731. *** The Dired function dired-do-toggle, which toggles marked and unmarked
  732. files, is now bound to "t" instead of "T".
  733. *** dired-at-point has been added to ffap.el. It allows one to easily
  734. run Dired on the directory name at point.
  735. *** Dired has a new command: %g. It searches the contents of
  736. files in the directory and marks each file that contains a match
  737. for a specified regexp.
  738. ** VC Changes
  739. *** New option vc-ignore-vc-files lets you turn off version control
  740. conveniently.
  741. *** VC Dired has been completely rewritten. It is now much
  742. faster, especially for CVS, and works very similar to ordinary
  743. Dired.
  744. VC Dired is invoked by typing C-x v d and entering the name of the
  745. directory to display. By default, VC Dired gives you a recursive
  746. listing of all files at or below the given directory which are
  747. currently locked (for CVS, all files not up-to-date are shown).
  748. You can change the listing format by setting vc-dired-recurse to nil,
  749. then it shows only the given directory, and you may also set
  750. vc-dired-terse-display to nil, then it shows all files under version
  751. control plus the names of any subdirectories, so that you can type `i'
  752. on such lines to insert them manually, as in ordinary Dired.
  753. All Dired commands operate normally in VC Dired, except for `v', which
  754. is redefined as the version control prefix. That means you may type
  755. `v l', `v =' etc. to invoke `vc-print-log', `vc-diff' and the like on
  756. the file named in the current Dired buffer line. `v v' invokes
  757. `vc-next-action' on this file, or on all files currently marked.
  758. The new command `v t' (vc-dired-toggle-terse-mode) allows you to
  759. toggle between terse display (only locked files) and full display (all
  760. VC files plus subdirectories). There is also a special command,
  761. `* l', to mark all files currently locked.
  762. Giving a prefix argument to C-x v d now does the same thing as in
  763. ordinary Dired: it allows you to supply additional options for the ls
  764. command in the minibuffer, to fine-tune VC Dired's output.
  765. *** Under CVS, if you merge changes from the repository into a working
  766. file, and CVS detects conflicts, VC now offers to start an ediff
  767. session to resolve them.
  768. Alternatively, you can use the new command `vc-resolve-conflicts' to
  769. resolve conflicts in a file at any time. It works in any buffer that
  770. contains conflict markers as generated by rcsmerge (which is what CVS
  771. uses as well).
  772. *** You can now transfer changes between branches, using the new
  773. command vc-merge (C-x v m). It is implemented for RCS and CVS. When
  774. you invoke it in a buffer under version-control, you can specify
  775. either an entire branch or a pair of versions, and the changes on that
  776. branch or between the two versions are merged into the working file.
  777. If this results in any conflicts, they may be resolved interactively,
  778. using ediff.
  779. ** Changes in Font Lock
  780. *** The face and variable previously known as font-lock-reference-face
  781. are now called font-lock-constant-face to better reflect their typical
  782. use for highlighting constants and labels. (Its face properties are
  783. unchanged.) The variable font-lock-reference-face remains for now for
  784. compatibility reasons, but its value is font-lock-constant-face.
  785. ** Frame name display changes
  786. *** The command set-frame-name lets you set the name of the current
  787. frame. You can use the new command select-frame-by-name to select and
  788. raise a frame; this is mostly useful on character-only terminals, or
  789. when many frames are invisible or iconified.
  790. *** On character-only terminal (not a window system), changing the
  791. frame name is now reflected on the mode line and in the Buffers/Frames
  792. menu.
  793. ** Comint (subshell) changes
  794. *** In Comint modes, the commands to kill, stop or interrupt a
  795. subjob now also kill pending input. This is for compatibility
  796. with ordinary shells, where the signal characters do this.
  797. *** There are new commands in Comint mode.
  798. C-c C-x fetches the "next" line from the input history;
  799. that is, the line after the last line you got.
  800. You can use this command to fetch successive lines, one by one.
  801. C-c SPC accumulates lines of input. More precisely, it arranges to
  802. send the current line together with the following line, when you send
  803. the following line.
  804. C-c C-a if repeated twice consecutively now moves to the process mark,
  805. which separates the pending input from the subprocess output and the
  806. previously sent input.
  807. C-c M-r now runs comint-previous-matching-input-from-input;
  808. it searches for a previous command, using the current pending input
  809. as the search string.
  810. *** New option compilation-scroll-output can be set to scroll
  811. automatically in compilation-mode windows.
  812. ** C mode changes
  813. *** Multiline macros are now handled, both as they affect indentation,
  814. and as recognized syntax. New syntactic symbol cpp-macro-cont is
  815. assigned to second and subsequent lines of a multiline macro
  816. definition.
  817. *** A new style "user" which captures all non-hook-ified
  818. (i.e. top-level) .emacs file variable settings and customizations.
  819. Style "cc-mode" is an alias for "user" and is deprecated. "gnu"
  820. style is still the default however.
  821. *** "java" style now conforms to Sun's JDK coding style.
  822. *** There are new commands c-beginning-of-defun, c-end-of-defun which
  823. are alternatives which you could bind to C-M-a and C-M-e if you prefer
  824. them. They do not have key bindings by default.
  825. *** New and improved implementations of M-a (c-beginning-of-statement)
  826. and M-e (c-end-of-statement).
  827. *** C++ namespace blocks are supported, with new syntactic symbols
  828. namespace-open, namespace-close, and innamespace.
  829. *** File local variable settings of c-file-style and c-file-offsets
  830. makes the style variables local to that buffer only.
  831. *** New indentation functions c-lineup-close-paren,
  832. c-indent-one-line-block, c-lineup-dont-change.
  833. *** Improvements (hopefully!) to the way CC Mode is loaded. You
  834. should now be able to do a (require 'cc-mode) to get the entire
  835. package loaded properly for customization in your .emacs file. A new
  836. variable c-initialize-on-load controls this and is t by default.
  837. ** Changes to hippie-expand.
  838. *** New customization variable `hippie-expand-dabbrev-skip-space'. If
  839. non-nil, trailing spaces may be included in the abbreviation to search for,
  840. which then gives the same behavior as the original `dabbrev-expand'.
  841. *** New customization variable `hippie-expand-dabbrev-as-symbol'. If
  842. non-nil, characters of syntax '_' is considered part of the word when
  843. expanding dynamically.
  844. *** New customization variable `hippie-expand-no-restriction'. If
  845. non-nil, narrowed buffers are widened before they are searched.
  846. *** New customization variable `hippie-expand-only-buffers'. If
  847. non-empty, buffers searched are restricted to the types specified in
  848. this list. Useful for example when constructing new special-purpose
  849. expansion functions with `make-hippie-expand-function'.
  850. *** Text properties of the expansion are no longer copied.
  851. ** Changes in BibTeX mode.
  852. *** Any titleword matching a regexp in the new variable
  853. bibtex-autokey-titleword-ignore (case sensitive) is ignored during
  854. automatic key generation. This replaces variable
  855. bibtex-autokey-titleword-first-ignore, which only checked for matches
  856. against the first word in the title.
  857. *** Autokey generation now uses all words from the title, not just
  858. capitalized words. To avoid conflicts with existing customizations,
  859. bibtex-autokey-titleword-ignore is set up such that words starting with
  860. lowerkey characters will still be ignored. Thus, if you want to use
  861. lowercase words from the title, you will have to overwrite the
  862. bibtex-autokey-titleword-ignore standard setting.
  863. *** Case conversion of names and title words for automatic key
  864. generation is more flexible. Variable bibtex-autokey-preserve-case is
  865. replaced by bibtex-autokey-titleword-case-convert and
  866. bibtex-autokey-name-case-convert.
  867. ** Changes in vcursor.el.
  868. *** Support for character terminals is available: there is a new keymap
  869. and the vcursor will appear as an arrow between buffer text. A
  870. variable `vcursor-interpret-input' allows input from the vcursor to be
  871. entered exactly as if typed. Numerous functions, including
  872. `vcursor-compare-windows', have been rewritten to improve consistency
  873. in the selection of windows and corresponding keymaps.
  874. *** vcursor options can now be altered with M-x customize under the
  875. Editing group once the package is loaded.
  876. *** Loading vcursor now does not define keys by default, as this is
  877. generally a bad side effect. Use M-x customize to set
  878. vcursor-key-bindings to t to restore the old behavior.
  879. *** vcursor-auto-disable can be `copy', which turns off copying from the
  880. vcursor, but doesn't disable it, after any non-vcursor command.
  881. ** Ispell changes.
  882. *** You can now spell check comments and strings in the current
  883. buffer with M-x ispell-comments-and-strings. Comments and strings
  884. are identified by syntax tables in effect.
  885. *** Generic region skipping implemented.
  886. A single buffer can be broken into a number of regions where text will
  887. and will not be checked. The definitions of the regions can be user
  888. defined. New applications and improvements made available by this
  889. include:
  890. o URLs are automatically skipped
  891. o EMail message checking is vastly improved.
  892. *** Ispell can highlight the erroneous word even on non-window terminals.
  893. ** Changes to RefTeX mode
  894. RefTeX has been updated in order to make it more usable with very
  895. large projects (like a several volume math book). The parser has been
  896. re-written from scratch. To get maximum speed from RefTeX, check the
  897. section `Optimizations' in the manual.
  898. *** New recursive parser.
  899. The old version of RefTeX created a single large buffer containing the
  900. entire multifile document in order to parse the document. The new
  901. recursive parser scans the individual files.
  902. *** Parsing only part of a document.
  903. Reparsing of changed document parts can now be made faster by enabling
  904. partial scans. To use this feature, read the documentation string of
  905. the variable `reftex-enable-partial-scans' and set the variable to t.
  906. (setq reftex-enable-partial-scans t)
  907. *** Storing parsing information in a file.
  908. This can improve startup times considerably. To turn it on, use
  909. (setq reftex-save-parse-info t)
  910. *** Using multiple selection buffers
  911. If the creation of label selection buffers is too slow (this happens
  912. for large documents), you can reuse these buffers by setting
  913. (setq reftex-use-multiple-selection-buffers t)
  914. *** References to external documents.
  915. The LaTeX package `xr' allows to cross-reference labels in external
  916. documents. RefTeX can provide information about the external
  917. documents as well. To use this feature, set up the \externaldocument
  918. macros required by the `xr' package and rescan the document with
  919. RefTeX. The external labels can then be accessed with the `x' key in
  920. the selection buffer provided by `reftex-reference' (bound to `C-c )').
  921. The `x' key also works in the table of contents buffer.
  922. *** Many more labeled LaTeX environments are recognized by default.
  923. The built-in command list now covers all the standard LaTeX commands,
  924. and all of the major packages included in the LaTeX distribution.
  925. Also, RefTeX now understands the \appendix macro and changes
  926. the enumeration of sections in the *toc* buffer accordingly.
  927. *** Mouse support for selection and *toc* buffers
  928. The mouse can now be used to select items in the selection and *toc*
  929. buffers. See also the new option `reftex-highlight-selection'.
  930. *** New keymaps for selection and table of contents modes.
  931. The selection processes for labels and citation keys, and the table of
  932. contents buffer now have their own keymaps: `reftex-select-label-map',
  933. `reftex-select-bib-map', `reftex-toc-map'. The selection processes
  934. have a number of new keys predefined. In particular, TAB lets you
  935. enter a label with completion. Check the on-the-fly help (press `?'
  936. at the selection prompt) or read the Info documentation to find out
  937. more.
  938. *** Support for the varioref package
  939. The `v' key in the label selection buffer toggles \ref versus \vref.
  940. *** New hooks
  941. Three new hooks can be used to redefine the way labels, references,
  942. and citations are created. These hooks are
  943. `reftex-format-label-function', `reftex-format-ref-function',
  944. `reftex-format-cite-function'.
  945. *** Citations outside LaTeX
  946. The command `reftex-citation' may also be used outside LaTeX (e.g. in
  947. a mail buffer). See the Info documentation for details.
  948. *** Short context is no longer fontified.
  949. The short context in the label menu no longer copies the
  950. fontification from the text in the buffer. If you prefer it to be
  951. fontified, use
  952. (setq reftex-refontify-context t)
  953. ** file-cache-minibuffer-complete now accepts a prefix argument.
  954. With a prefix argument, it does not try to do completion of
  955. the file name within its directory; it only checks for other
  956. directories that contain the same file name.
  957. Thus, given the file name Makefile, and assuming that a file
  958. Makefile.in exists in the same directory, ordinary
  959. file-cache-minibuffer-complete will try to complete Makefile to
  960. Makefile.in and will therefore never look for other directories that
  961. have Makefile. A prefix argument tells it not to look for longer
  962. names such as Makefile.in, so that instead it will look for other
  963. directories--just as if the name were already complete in its present
  964. directory.
  965. ** New modes and packages
  966. *** There is a new alternative major mode for Perl, Cperl mode.
  967. It has many more features than Perl mode, and some people prefer
  968. it, but some do not.
  969. *** There is a new major mode, M-x vhdl-mode, for editing files of VHDL
  970. code.
  971. *** M-x which-function-mode enables a minor mode that displays the
  972. current function name continuously in the mode line, as you move
  973. around in a buffer.
  974. Which Function mode is effective in major modes which support Imenu.
  975. *** Gametree is a major mode for editing game analysis trees. The author
  976. uses it for keeping notes about his postal Chess games, but it should
  977. be helpful for other two-player games as well, as long as they have an
  978. established system of notation similar to Chess.
  979. *** The new minor mode checkdoc-minor-mode provides Emacs Lisp
  980. documentation string checking for style and spelling. The style
  981. guidelines are found in the Emacs Lisp programming manual.
  982. *** The net-utils package makes some common networking features
  983. available in Emacs. Some of these functions are wrappers around
  984. system utilities (ping, nslookup, etc.); others are implementations of
  985. simple protocols (finger, whois) in Emacs Lisp. There are also
  986. functions to make simple connections to TCP/IP ports for debugging and
  987. the like.
  988. *** highlight-changes-mode is a minor mode that uses colors to
  989. identify recently changed parts of the buffer text.
  990. *** The new package `midnight' lets you specify things to be done
  991. within Emacs at midnight--by default, kill buffers that you have not
  992. used in a considerable time. To use this feature, customize
  993. the user option `midnight-mode' to t.
  994. *** The file generic-x.el defines a number of simple major modes.
  995. apache-generic-mode: For Apache and NCSA httpd configuration files
  996. samba-generic-mode: Samba configuration files
  997. fvwm-generic-mode: For fvwm initialization files
  998. x-resource-generic-mode: For X resource files
  999. hosts-generic-mode: For hosts files (.rhosts, /etc/hosts, etc.)
  1000. mailagent-rules-generic-mode: For mailagent .rules files
  1001. javascript-generic-mode: For JavaScript files
  1002. vrml-generic-mode: For VRML files
  1003. java-manifest-generic-mode: For Java MANIFEST files
  1004. java-properties-generic-mode: For Java property files
  1005. mailrc-generic-mode: For .mailrc files
  1006. Platform-specific modes:
  1007. prototype-generic-mode: For Solaris/Sys V prototype files
  1008. pkginfo-generic-mode: For Solaris/Sys V pkginfo files
  1009. alias-generic-mode: For C shell alias files
  1010. inf-generic-mode: For MS-Windows INF files
  1011. ini-generic-mode: For MS-Windows INI files
  1012. reg-generic-mode: For MS-Windows Registry files
  1013. bat-generic-mode: For MS-Windows BAT scripts
  1014. rc-generic-mode: For MS-Windows Resource files
  1015. rul-generic-mode: For InstallShield scripts
  1016. * Lisp changes in Emacs 20.3 since the Emacs Lisp Manual was published
  1017. ** If you want a Lisp file to be read in unibyte mode,
  1018. use -*-unibyte: t;-*- on its first line.
  1019. That will force Emacs to read that file in unibyte mode.
  1020. Otherwise, the file will be loaded and byte-compiled in multibyte mode.
  1021. Thus, each lisp file is read in a consistent way regardless of whether
  1022. you started Emacs with --unibyte, so that a Lisp program gives
  1023. consistent results regardless of how Emacs was started.
  1024. ** The new function assoc-default is useful for searching an alist,
  1025. and using a default value if the key is not found there. You can
  1026. specify a comparison predicate, so this function is useful for
  1027. searching comparing a string against an alist of regular expressions.
  1028. ** The functions unibyte-char-to-multibyte and
  1029. multibyte-char-to-unibyte convert between unibyte and multibyte
  1030. character codes, in a way that is appropriate for the current language
  1031. environment.
  1032. ** The functions read-event, read-char and read-char-exclusive now
  1033. take two optional arguments. PROMPT, if non-nil, specifies a prompt
  1034. string. SUPPRESS-INPUT-METHOD, if non-nil, says to disable the
  1035. current input method for reading this one event.
  1036. ** Two new variables print-escape-nonascii and print-escape-multibyte
  1037. now control whether to output certain characters as
  1038. backslash-sequences. print-escape-nonascii applies to single-byte
  1039. non-ASCII characters; print-escape-multibyte applies to multibyte
  1040. characters. Both of these variables are used only when printing
  1041. in readable fashion (prin1 uses them, princ does not).
  1042. * Lisp changes in Emacs 20.3 before the Emacs Lisp Manual was published
  1043. ** Compiled Emacs Lisp files made with the modified "MBSK" version
  1044. of Emacs 20.2 do not work in Emacs 20.3.
  1045. ** Buffer positions are now measured in characters, as they were
  1046. in Emacs 19 and before. This means that (forward-char 1)
  1047. always increases point by 1.
  1048. The function chars-in-region now just subtracts its arguments. It is
  1049. considered obsolete. The function char-boundary-p has been deleted.
  1050. See below for additional changes relating to multibyte characters.
  1051. ** defcustom, defface and defgroup now accept the keyword `:version'.
  1052. Use this to specify in which version of Emacs a certain variable's
  1053. default value changed. For example,
  1054. (defcustom foo-max 34 "*Maximum number of foo's allowed."
  1055. :type 'integer
  1056. :group 'foo
  1057. :version "20.3")
  1058. (defgroup foo-group nil "The foo group."
  1059. :version "20.3")
  1060. If an entire new group is added or the variables in it have the
  1061. default values changed, then just add a `:version' to that group. It
  1062. is recommended that new packages added to the distribution contain a
  1063. `:version' in the top level group.
  1064. This information is used to control the customize-changed-options command.
  1065. ** It is now an error to change the value of a symbol whose name
  1066. starts with a colon--if it is interned in the standard obarray.
  1067. However, setting such a symbol to its proper value, which is that
  1068. symbol itself, is not an error. This is for the sake of programs that
  1069. support previous Emacs versions by explicitly setting these variables
  1070. to themselves.
  1071. If you set the variable keyword-symbols-constant-flag to nil,
  1072. this error is suppressed, and you can set these symbols to any
  1073. values whatever.
  1074. ** There is a new debugger command, R.
  1075. It evaluates an expression like e, but saves the result
  1076. in the buffer *Debugger-record*.
  1077. ** Frame-local variables.
  1078. You can now make a variable local to various frames. To do this, call
  1079. the function make-variable-frame-local; this enables frames to have
  1080. local bindings for that variable.
  1081. These frame-local bindings are actually frame parameters: you create a
  1082. frame-local binding in a specific frame by calling
  1083. modify-frame-parameters and specifying the variable name as the
  1084. parameter name.
  1085. Buffer-local bindings take precedence over frame-local bindings.
  1086. Thus, if the current buffer has a buffer-local binding, that binding is
  1087. active; otherwise, if the selected frame has a frame-local binding,
  1088. that binding is active; otherwise, the default binding is active.
  1089. It would not be hard to implement window-local bindings, but it is not
  1090. clear that this would be very useful; windows tend to come and go in a
  1091. very transitory fashion, so that trying to produce any specific effect
  1092. through a window-local binding would not be very robust.
  1093. ** `sregexq' and `sregex' are two new functions for constructing
  1094. "symbolic regular expressions." These are Lisp expressions that, when
  1095. evaluated, yield conventional string-based regexps. The symbolic form
  1096. makes it easier to construct, read, and maintain complex patterns.
  1097. See the documentation in sregex.el.
  1098. ** parse-partial-sexp's return value has an additional element which
  1099. is used to pass information along if you pass it to another call to
  1100. parse-partial-sexp, starting its scan where the first call ended.
  1101. The contents of this field are not yet finalized.
  1102. ** eval-region now accepts a fourth optional argument READ-FUNCTION.
  1103. If it is non-nil, that function is used instead of `read'.
  1104. ** unload-feature by default removes the feature's functions from
  1105. known hooks to avoid trouble, but a package providing FEATURE can
  1106. define a hook FEATURE-unload-hook to be run by unload-feature instead.
  1107. ** read-from-minibuffer no longer returns the argument DEFAULT-VALUE
  1108. when the user enters empty input. It now returns the null string, as
  1109. it did in Emacs 19. The default value is made available in the
  1110. history via M-n, but it is not applied here as a default.
  1111. The other, more specialized minibuffer-reading functions continue to
  1112. return the default value (not the null string) when the user enters
  1113. empty input.
  1114. ** The new variable read-buffer-function controls which routine to use
  1115. for selecting buffers. For example, if you set this variable to
  1116. `iswitchb-read-buffer', iswitchb will be used to read buffer names.
  1117. Other functions can also be used if they accept the same arguments as
  1118. `read-buffer' and return the selected buffer name as a string.
  1119. ** The new function read-passwd reads a password from the terminal,
  1120. echoing a period for each character typed. It takes three arguments:
  1121. a prompt string, a flag which says "read it twice to make sure", and a
  1122. default password to use if the user enters nothing.
  1123. ** The variable fill-nobreak-predicate gives major modes a way to
  1124. specify not to break a line at certain places. Its value is a
  1125. function which is called with no arguments, with point located at the
  1126. place where a break is being considered. If the function returns
  1127. non-nil, then the line won't be broken there.
  1128. ** window-end now takes an optional second argument, UPDATE.
  1129. If this is non-nil, then the function always returns an accurate
  1130. up-to-date value for the buffer position corresponding to the
  1131. end of the window, even if this requires computation.
  1132. ** other-buffer now takes an optional argument FRAME
  1133. which specifies which frame's buffer list to use.
  1134. If it is nil, that means use the selected frame's buffer list.
  1135. ** The new variable buffer-display-time, always local in every buffer,
  1136. holds the value of (current-time) as of the last time that a window
  1137. was directed to display this buffer.
  1138. ** It is now meaningful to compare two window-configuration objects
  1139. with `equal'. Two window-configuration objects are equal if they
  1140. describe equivalent arrangements of windows, in the same frame--in
  1141. other words, if they would give the same results if passed to
  1142. set-window-configuration.
  1143. ** compare-window-configurations is a new function that compares two
  1144. window configurations loosely. It ignores differences in saved buffer
  1145. positions and scrolling, and considers only the structure and sizes of
  1146. windows and the choice of buffers to display.
  1147. ** The variable minor-mode-overriding-map-alist allows major modes to
  1148. override the key bindings of a minor mode. The elements of this alist
  1149. look like the elements of minor-mode-map-alist: (VARIABLE . KEYMAP).
  1150. If the VARIABLE in an element of minor-mode-overriding-map-alist has a
  1151. non-nil value, the paired KEYMAP is active, and totally overrides the
  1152. map (if any) specified for the same variable in minor-mode-map-alist.
  1153. minor-mode-overriding-map-alist is automatically local in all buffers,
  1154. and it is meant to be set by major modes.
  1155. ** The function match-string-no-properties is like match-string
  1156. except that it discards all text properties from the result.
  1157. ** The function load-average now accepts an optional argument
  1158. USE-FLOATS. If it is non-nil, the load average values are returned as
  1159. floating point numbers, rather than as integers to be divided by 100.
  1160. ** The new variable temporary-file-directory specifies the directory
  1161. to use for creating temporary files. The default value is determined
  1162. in a reasonable way for your operating system; on GNU and Unix systems
  1163. it is based on the TMP and TMPDIR environment variables.
  1164. ** Menu changes
  1165. *** easymenu.el now uses the new menu item format and supports the
  1166. keywords :visible and :filter. The existing keyword :keys is now
  1167. better supported.
  1168. The variable `easy-menu-precalculate-equivalent-keybindings' controls
  1169. a new feature which calculates keyboard equivalents for the menu when
  1170. you define the menu. The default is t. If you rarely use menus, you
  1171. can set the variable to nil to disable this precalculation feature;
  1172. then the calculation is done only if you use the menu bar.
  1173. *** A new format for menu items is supported.
  1174. In a keymap, a key binding that has the format
  1175. (STRING . REAL-BINDING) or (STRING HELP-STRING . REAL-BINDING)
  1176. defines a menu item. Now a menu item definition may also be a list that
  1177. starts with the symbol `menu-item'.
  1178. The format is:
  1179. (menu-item ITEM-NAME) or
  1180. (menu-item ITEM-NAME REAL-BINDING . ITEM-PROPERTY-LIST)
  1181. where ITEM-NAME is an expression which evaluates to the menu item
  1182. string, and ITEM-PROPERTY-LIST has the form of a property list.
  1183. The supported properties include
  1184. :enable FORM Evaluate FORM to determine whether the
  1185. item is enabled.
  1186. :visible FORM Evaluate FORM to determine whether the
  1187. item should appear in the menu.
  1188. :filter FILTER-FN
  1189. FILTER-FN is a function of one argument,
  1190. which will be REAL-BINDING.
  1191. It should return a binding to use instead.
  1192. :keys DESCRIPTION
  1193. DESCRIPTION is a string that describes an equivalent keyboard
  1194. binding for REAL-BINDING. DESCRIPTION is expanded with
  1195. `substitute-command-keys' before it is used.
  1196. :key-sequence KEY-SEQUENCE
  1197. KEY-SEQUENCE is a key-sequence for an equivalent
  1198. keyboard binding.
  1199. :key-sequence nil
  1200. This means that the command normally has no
  1201. keyboard equivalent.
  1202. :help HELP HELP is the extra help string (not currently used).
  1203. :button (TYPE . SELECTED)
  1204. TYPE is :toggle or :radio.
  1205. SELECTED is a form, to be evaluated, and its
  1206. value says whether this button is currently selected.
  1207. Buttons are at the moment only simulated by prefixes in the menu.
  1208. Eventually ordinary X-buttons may be supported.
  1209. (menu-item ITEM-NAME) defines unselectable item.
  1210. ** New event types
  1211. *** The new event type `mouse-wheel' is generated by a wheel on a
  1212. mouse (such as the MS Intellimouse). The event contains a delta that
  1213. corresponds to the amount and direction that the wheel is rotated,
  1214. which is typically used to implement a scroll or zoom. The format is:
  1215. (mouse-wheel POSITION DELTA)
  1216. where POSITION is a list describing the position of the event in the
  1217. same format as a mouse-click event, and DELTA is a signed number
  1218. indicating the number of increments by which the wheel was rotated. A
  1219. negative DELTA indicates that the wheel was rotated backwards, towards
  1220. the user, and a positive DELTA indicates that the wheel was rotated
  1221. forward, away from the user.
  1222. As of now, this event type is generated only on MS Windows.
  1223. *** The new event type `drag-n-drop' is generated when a group of
  1224. files is selected in an application outside of Emacs, and then dragged
  1225. and dropped onto an Emacs frame. The event contains a list of
  1226. filenames that were dragged and dropped, which are then typically
  1227. loaded into Emacs. The format is:
  1228. (drag-n-drop POSITION FILES)
  1229. where POSITION is a list describing the position of the event in the
  1230. same format as a mouse-click event, and FILES is the list of filenames
  1231. that were dragged and dropped.
  1232. As of now, this event type is generated only on MS Windows.
  1233. ** Changes relating to multibyte characters.
  1234. *** The variable enable-multibyte-characters is now read-only;
  1235. any attempt to set it directly signals an error. The only way
  1236. to change this value in an existing buffer is with set-buffer-multibyte.
  1237. *** In a string constant, `\ ' now stands for "nothing at all". You
  1238. can use it to terminate a hex escape which is followed by a character
  1239. that could otherwise be read as part of the hex escape.
  1240. *** String indices are now measured in characters, as they were
  1241. in Emacs 19 and before.
  1242. The function chars-in-string has been deleted.
  1243. The function concat-chars has been renamed to `string'.
  1244. *** The function set-buffer-multibyte sets the flag in the current
  1245. buffer that says whether the buffer uses multibyte representation or
  1246. unibyte representation. If the argument is nil, it selects unibyte
  1247. representation. Otherwise it selects multibyte representation.
  1248. This function does not change the contents of the buffer, viewed
  1249. as a sequence of bytes. However, it does change the contents
  1250. viewed as characters; a sequence of two bytes which is treated as
  1251. one character when the buffer uses multibyte representation
  1252. will count as two characters using unibyte representation.
  1253. This function sets enable-multibyte-characters to record which
  1254. representation is in use. It also adjusts various data in the buffer
  1255. (including its markers, overlays and text properties) so that they are
  1256. consistent with the new representation.
  1257. *** string-make-multibyte takes a string and converts it to multibyte
  1258. representation. Most of the time, you don't need to care
  1259. about the representation, because Emacs converts when necessary;
  1260. however, it makes a difference when you compare strings.
  1261. The conversion of non-ASCII characters works by adding the value of
  1262. nonascii-insert-offset to each character, or by translating them
  1263. using the table nonascii-translation-table.
  1264. *** string-make-unibyte takes a string and converts it to unibyte
  1265. representation. Most of the time, you don't need to care about the
  1266. representation, but it makes a difference when you compare strings.
  1267. The conversion from multibyte to unibyte representation
  1268. loses information; the only time Emacs performs it automatically
  1269. is when inserting a multibyte string into a unibyte buffer.
  1270. *** string-as-multibyte takes a string, and returns another string
  1271. which contains the same bytes, but treats them as multibyte.
  1272. *** string-as-unibyte takes a string, and returns another string
  1273. which contains the same bytes, but treats them as unibyte.
  1274. *** The new function compare-strings lets you compare
  1275. portions of two strings. Unibyte strings are converted to multibyte,
  1276. so that a unibyte string can match a multibyte string.
  1277. You can specify whether to ignore case or not.
  1278. *** assoc-ignore-case now uses compare-strings so that
  1279. it can treat unibyte and multibyte strings as equal.
  1280. *** Regular expression operations and buffer string searches now
  1281. convert the search pattern to multibyte or unibyte to accord with the
  1282. buffer or string being searched.
  1283. One consequence is that you cannot always use \200-\377 inside of
  1284. [...] to match all non-ASCII characters. This does still work when
  1285. searching or matching a unibyte buffer or string, but not when
  1286. searching or matching a multibyte string. Unfortunately, there is no
  1287. obvious choice of syntax to use within [...] for that job. But, what
  1288. you want is just to match all non-ASCII characters, the regular
  1289. expression [^\0-\177] works for it.
  1290. *** Structure of coding system changed.
  1291. All coding systems (including aliases and subsidiaries) are named
  1292. by symbols; the symbol's `coding-system' property is a vector
  1293. which defines the coding system. Aliases share the same vector
  1294. as the principal name, so that altering the contents of this
  1295. vector affects the principal name and its aliases. You can define
  1296. your own alias name of a coding system by the function
  1297. define-coding-system-alias.
  1298. The coding system definition includes a property list of its own. Use
  1299. the new functions `coding-system-get' and `coding-system-put' to
  1300. access such coding system properties as post-read-conversion,
  1301. pre-write-conversion, character-translation-table-for-decode,
  1302. character-translation-table-for-encode, mime-charset, and
  1303. safe-charsets. For instance, (coding-system-get 'iso-latin-1
  1304. 'mime-charset) gives the corresponding MIME-charset parameter
  1305. `iso-8859-1'.
  1306. Among the coding system properties listed above, safe-charsets is new.
  1307. The value of this property is a list of character sets which this
  1308. coding system can correctly encode and decode. For instance:
  1309. (coding-system-get 'iso-latin-1 'safe-charsets) => (ascii latin-iso8859-1)
  1310. Here, "correctly encode" means that the encoded character sets can
  1311. also be handled safely by systems other than Emacs as far as they
  1312. are capable of that coding system. Though, Emacs itself can encode
  1313. the other character sets and read it back correctly.
  1314. *** The new function select-safe-coding-system can be used to find a
  1315. proper coding system for encoding the specified region or string.
  1316. This function requires a user interaction.
  1317. *** The new functions find-coding-systems-region and
  1318. find-coding-systems-string are helper functions used by
  1319. select-safe-coding-system. They return a list of all proper coding
  1320. systems to encode a text in some region or string. If you don't want
  1321. a user interaction, use one of these functions instead of
  1322. select-safe-coding-system.
  1323. *** The explicit encoding and decoding functions, such as
  1324. decode-coding-region and encode-coding-string, now set
  1325. last-coding-system-used to reflect the actual way encoding or decoding
  1326. was done.
  1327. *** The new function detect-coding-with-language-environment can be
  1328. used to detect a coding system of text according to priorities of
  1329. coding systems used by some specific language environment.
  1330. *** The functions detect-coding-region and detect-coding-string always
  1331. return a list if the arg HIGHEST is nil. Thus, if only ASCII
  1332. characters are found, they now return a list of single element
  1333. `undecided' or its subsidiaries.
  1334. *** The new functions coding-system-change-eol-conversion and
  1335. coding-system-change-text-conversion can be used to get a different
  1336. coding system than what specified only in how end-of-line or text is
  1337. converted.
  1338. *** The new function set-selection-coding-system can be used to set a
  1339. coding system for communicating with other X clients.
  1340. *** The function `map-char-table' now passes as argument only valid
  1341. character codes, plus generic characters that stand for entire
  1342. character sets or entire subrows of a character set. In other words,
  1343. each time `map-char-table' calls its FUNCTION argument, the key value
  1344. either will be a valid individual character code, or will stand for a
  1345. range of characters.
  1346. *** The new function `char-valid-p' can be used for checking whether a
  1347. Lisp object is a valid character code or not.
  1348. *** The new function `charset-after' returns a charset of a character
  1349. in the current buffer at position POS.
  1350. *** Input methods are now implemented using the variable
  1351. input-method-function. If this is non-nil, its value should be a
  1352. function; then, whenever Emacs reads an input event that is a printing
  1353. character with no modifier bits, it calls that function, passing the
  1354. event as an argument. Often this function will read more input, first
  1355. binding input-method-function to nil.
  1356. The return value should be a list of the events resulting from input
  1357. method processing. These events will be processed sequentially as
  1358. input, before resorting to unread-command-events. Events returned by
  1359. the input method function are not passed to the input method function,
  1360. not even if they are printing characters with no modifier bits.
  1361. The input method function is not called when reading the second and
  1362. subsequent events of a key sequence.
  1363. *** You can customize any language environment by using
  1364. set-language-environment-hook and exit-language-environment-hook.
  1365. The hook `exit-language-environment-hook' should be used to undo
  1366. customizations that you made with set-language-environment-hook. For
  1367. instance, if you set up a special key binding for a specific language
  1368. environment by set-language-environment-hook, you should set up
  1369. exit-language-environment-hook to restore the normal key binding.
  1370. * Changes in Emacs 20.1
  1371. ** Emacs has a new facility for customization of its many user
  1372. options. It is called M-x customize. With this facility you can look
  1373. at the many user options in an organized way; they are grouped into a
  1374. tree structure.
  1375. M-x customize also knows what sorts of values are legitimate for each
  1376. user option and ensures that you don't use invalid values.
  1377. With M-x customize, you can set options either for the present Emacs
  1378. session or permanently. (Permanent settings are stored automatically
  1379. in your .emacs file.)
  1380. ** Scroll bars are now on the left side of the window.
  1381. You can change this with M-x customize-option scroll-bar-mode.
  1382. ** The mode line no longer includes the string `Emacs'.
  1383. This makes more space in the mode line for other information.
  1384. ** When you select a region with the mouse, it is highlighted
  1385. immediately afterward. At that time, if you type the DELETE key, it
  1386. kills the region.
  1387. The BACKSPACE key, and the ASCII character DEL, do not do this; they
  1388. delete the character before point, as usual.
  1389. ** In an incremental search the whole current match is highlighted
  1390. on terminals which support this. (You can disable this feature
  1391. by setting search-highlight to nil.)
  1392. ** In the minibuffer, in some cases, you can now use M-n to
  1393. insert the default value into the minibuffer as text. In effect,
  1394. the default value (if the minibuffer routines know it) is tacked
  1395. onto the history "in the future". (The more normal use of the
  1396. history list is to use M-p to insert minibuffer input used in the
  1397. past.)
  1398. ** In Text mode, now only blank lines separate paragraphs.
  1399. This makes it possible to get the full benefit of Adaptive Fill mode
  1400. in Text mode, and other modes derived from it (such as Mail mode).
  1401. TAB in Text mode now runs the command indent-relative; this
  1402. makes a practical difference only when you use indented paragraphs.
  1403. As a result, the old Indented Text mode is now identical to Text mode,
  1404. and is an alias for it.
  1405. If you want spaces at the beginning of a line to start a paragraph,
  1406. use the new mode, Paragraph Indent Text mode.
  1407. ** Scrolling changes
  1408. *** Scroll commands to scroll a whole screen now preserve the screen
  1409. position of the cursor, if scroll-preserve-screen-position is non-nil.
  1410. In this mode, if you scroll several screens back and forth, finishing
  1411. on the same screen where you started, the cursor goes back to the line
  1412. where it started.
  1413. *** If you set scroll-conservatively to a small number, then when you
  1414. move point a short distance off the screen, Emacs will scroll the
  1415. screen just far enough to bring point back on screen, provided that
  1416. does not exceed `scroll-conservatively' lines.
  1417. *** The new variable scroll-margin says how close point can come to the
  1418. top or bottom of a window. It is a number of screen lines; if point
  1419. comes within that many lines of the top or bottom of the window, Emacs
  1420. recenters the window.
  1421. ** International character set support (MULE)
  1422. Emacs now supports a wide variety of international character sets,
  1423. including European variants of the Latin alphabet, as well as Chinese,
  1424. Devanagari (Hindi and Marathi), Ethiopian, Greek, IPA, Japanese,
  1425. Korean, Lao, Russian, Thai, Tibetan, and Vietnamese scripts. These
  1426. features have been merged from the modified version of Emacs known as
  1427. MULE (for "MULti-lingual Enhancement to GNU Emacs")
  1428. Users of these scripts have established many more-or-less standard
  1429. coding systems for storing files. Emacs uses a single multibyte
  1430. character encoding within Emacs buffers; it can translate from a wide
  1431. variety of coding systems when reading a file and can translate back
  1432. into any of these coding systems when saving a file.
  1433. Keyboards, even in the countries where these character sets are used,
  1434. generally don't have keys for all the characters in them. So Emacs
  1435. supports various "input methods", typically one for each script or
  1436. language, to make it possible to type them.
  1437. The Emacs internal multibyte encoding represents a non-ASCII
  1438. character as a sequence of bytes in the range 0200 through 0377.
  1439. The new prefix key C-x RET is used for commands that pertain
  1440. to multibyte characters, coding systems, and input methods.
  1441. You can disable multibyte character support as follows:
  1442. (setq-default enable-multibyte-characters nil)
  1443. Calling the function standard-display-european turns off multibyte
  1444. characters, unless you specify a non-nil value for the second
  1445. argument, AUTO. This provides compatibility for people who are
  1446. already using standard-display-european to continue using unibyte
  1447. characters for their work until they want to change.
  1448. *** Input methods
  1449. An input method is a kind of character conversion which is designed
  1450. specifically for interactive input. In Emacs, typically each language
  1451. has its own input method (though sometimes several languages which use
  1452. the same characters can share one input method). Some languages
  1453. support several input methods.
  1454. The simplest kind of input method works by mapping ASCII letters into
  1455. another alphabet. This is how the Greek and Russian input methods
  1456. work.
  1457. A more powerful technique is composition: converting sequences of
  1458. characters into one letter. Many European input methods use
  1459. composition to produce a single non-ASCII letter from a sequence which
  1460. consists of a letter followed by diacritics. For example, a' is one
  1461. sequence of two characters that might be converted into a single
  1462. letter.
  1463. The input methods for syllabic scripts typically use mapping followed
  1464. by conversion. The input methods for Thai and Korean work this way.
  1465. First, letters are mapped into symbols for particular sounds or tone
  1466. marks; then, sequences of these which make up a whole syllable are
  1467. mapped into one syllable sign--most often a "composite character".
  1468. None of these methods works very well for Chinese and Japanese, so
  1469. they are handled specially. First you input a whole word using
  1470. phonetic spelling; then, after the word is in the buffer, Emacs
  1471. converts it into one or more characters using a large dictionary.
  1472. Since there is more than one way to represent a phonetically spelled
  1473. word using Chinese characters, Emacs can only guess which one to use;
  1474. typically these input methods give you a way to say "guess again" if
  1475. the first guess is wrong.
  1476. *** The command C-x RET m (toggle-enable-multibyte-characters)
  1477. turns multibyte character support on or off for the current buffer.
  1478. If multibyte character support is turned off in a buffer, then each
  1479. byte is a single character, even codes 0200 through 0377--exactly as
  1480. they did in Emacs 19.34. This includes the features for support for
  1481. the European characters, ISO Latin-1 and ISO Latin-2.
  1482. However, there is no need to turn off multibyte character support to
  1483. use ISO Latin-1 or ISO Latin-2; the Emacs multibyte character set
  1484. includes all the characters in these character sets, and Emacs can
  1485. translate automatically to and from either one.
  1486. *** Visiting a file in unibyte mode.
  1487. Turning off multibyte character support in the buffer after visiting a
  1488. file with multibyte code conversion will display the multibyte
  1489. sequences already in the buffer, byte by byte. This is probably not
  1490. what you want.
  1491. If you want to edit a file of unibyte characters (Latin-1, for
  1492. example), you can do it by specifying `no-conversion' as the coding
  1493. system when reading the file. This coding system also turns off
  1494. multibyte characters in that buffer.
  1495. If you turn off multibyte character support entirely, this turns off
  1496. character conversion as well.
  1497. *** Displaying international characters on X Windows.
  1498. A font for X typically displays just one alphabet or script.
  1499. Therefore, displaying the entire range of characters Emacs supports
  1500. requires using many fonts.
  1501. Therefore, Emacs now supports "fontsets". Each fontset is a
  1502. collection of fonts, each assigned to a range of character codes.
  1503. A fontset has a name, like a font. Individual fonts are defined by
  1504. the X server; fontsets are defined within Emacs itself. But once you
  1505. have defined a fontset, you can use it in a face or a frame just as
  1506. you would use a font.
  1507. If a fontset specifies no font for a certain character, or if it
  1508. specifies a font that does not exist on your system, then it cannot
  1509. display that character. It will display an empty box instead.
  1510. The fontset height and width are determined by the ASCII characters
  1511. (that is, by the font in the fontset which is used for ASCII
  1512. characters).
  1513. *** Defining fontsets.
  1514. Emacs does not use any fontset by default. Its default font is still
  1515. chosen as in previous versions. You can tell Emacs to use a fontset
  1516. with the `-fn' option or the `Font' X resource.
  1517. Emacs creates a standard fontset automatically according to the value
  1518. of standard-fontset-spec. This fontset's short name is
  1519. `fontset-standard'. Bold, italic, and bold-italic variants of the
  1520. standard fontset are created automatically.
  1521. If you specify a default ASCII font with the `Font' resource or `-fn'
  1522. argument, a fontset is generated from it. This works by replacing the
  1523. FOUNDRY, FAMILY, ADD_STYLE, and AVERAGE_WIDTH fields of the font name
  1524. with `*' then using this to specify a fontset. This fontset's short
  1525. name is `fontset-startup'.
  1526. Emacs checks resources of the form Fontset-N where N is 0, 1, 2...
  1527. The resource value should have this form:
  1528. FONTSET-NAME, [CHARSET-NAME:FONT-NAME]...
  1529. FONTSET-NAME should have the form of a standard X font name, except:
  1530. * most fields should be just the wild card "*".
  1531. * the CHARSET_REGISTRY field should be "fontset"
  1532. * the CHARSET_ENCODING field can be any nickname of the fontset.
  1533. The construct CHARSET-NAME:FONT-NAME can be repeated any number
  1534. of times; each time specifies the font for one character set.
  1535. CHARSET-NAME should be the name of a character set, and FONT-NAME
  1536. should specify an actual font to use for that character set.
  1537. Each of these fontsets has an alias which is made from the
  1538. last two font name fields, CHARSET_REGISTRY and CHARSET_ENCODING.
  1539. You can refer to the fontset by that alias or by its full name.
  1540. For any character sets that you don't mention, Emacs tries to choose a
  1541. font by substituting into FONTSET-NAME. For instance, with the
  1542. following resource,
  1543. Emacs*Fontset-0: -*-fixed-medium-r-normal-*-24-*-*-*-*-*-fontset-24
  1544. the font for ASCII is generated as below:
  1545. -*-fixed-medium-r-normal-*-24-*-ISO8859-1
  1546. Here is the substitution rule:
  1547. Change CHARSET_REGISTRY and CHARSET_ENCODING to that of the charset
  1548. defined in the variable x-charset-registries. For instance, ASCII has
  1549. the entry (ascii . "ISO8859-1") in this variable. Then, reduce
  1550. sequences of wild cards -*-...-*- with a single wildcard -*-.
  1551. (This is to prevent use of auto-scaled fonts.)
  1552. The function which processes the fontset resource value to create the
  1553. fontset is called create-fontset-from-fontset-spec. You can also call
  1554. that function explicitly to create a fontset.
  1555. With the X resource Emacs.Font, you can specify a fontset name just
  1556. like an actual font name. But be careful not to specify a fontset
  1557. name in a wildcard resource like Emacs*Font--that tries to specify the
  1558. fontset for other purposes including menus, and they cannot handle
  1559. fontsets.
  1560. *** The command M-x set-language-environment sets certain global Emacs
  1561. defaults for a particular choice of language.
  1562. Selecting a language environment typically specifies a default input
  1563. method and which coding systems to recognize automatically when
  1564. visiting files. However, it does not try to reread files you have
  1565. already visited; the text in those buffers is not affected. The
  1566. language environment may also specify a default choice of coding
  1567. system for new files that you create.
  1568. It makes no difference which buffer is current when you use
  1569. set-language-environment, because these defaults apply globally to the
  1570. whole Emacs session.
  1571. For example, M-x set-language-environment RET Latin-1 RET
  1572. chooses the Latin-1 character set. In the .emacs file, you can do this
  1573. with (set-language-environment "Latin-1").
  1574. *** The command C-x RET f (set-buffer-file-coding-system)
  1575. specifies the file coding system for the current buffer. This
  1576. specifies what sort of character code translation to do when saving
  1577. the file. As an argument, you must specify the name of one of the
  1578. coding systems that Emacs supports.
  1579. *** The command C-x RET c (universal-coding-system-argument)
  1580. lets you specify a coding system when you read or write a file.
  1581. This command uses the minibuffer to read a coding system name.
  1582. After you exit the minibuffer, the specified coding system
  1583. is used for *the immediately following command*.
  1584. So if the immediately following command is a command to read or
  1585. write a file, it uses the specified coding system for that file.
  1586. If the immediately following command does not use the coding system,
  1587. then C-x RET c ultimately has no effect.
  1588. For example, C-x RET c iso-8859-1 RET C-x C-f temp RET
  1589. visits the file `temp' treating it as ISO Latin-1.
  1590. *** You can specify the coding system for a file using the -*-
  1591. construct. Include `coding: CODINGSYSTEM;' inside the -*-...-*-
  1592. to specify use of coding system CODINGSYSTEM. You can also
  1593. specify the coding system in a local variable list at the end
  1594. of the file.
  1595. *** The command C-x RET t (set-terminal-coding-system) specifies
  1596. the coding system for terminal output. If you specify a character
  1597. code for terminal output, all characters output to the terminal are
  1598. translated into that character code.
  1599. This feature is useful for certain character-only terminals built in
  1600. various countries to support the languages of those countries.
  1601. By default, output to the terminal is not translated at all.
  1602. *** The command C-x RET k (set-keyboard-coding-system) specifies
  1603. the coding system for keyboard input.
  1604. Character code translation of keyboard input is useful for terminals
  1605. with keys that send non-ASCII graphic characters--for example,
  1606. some terminals designed for ISO Latin-1 or subsets of it.
  1607. By default, keyboard input is not translated at all.
  1608. Character code translation of keyboard input is similar to using an
  1609. input method, in that both define sequences of keyboard input that
  1610. translate into single characters. However, input methods are designed
  1611. to be convenient for interactive use, while the code translations are
  1612. designed to work with terminals.
  1613. *** The command C-x RET p (set-buffer-process-coding-system)
  1614. specifies the coding system for input and output to a subprocess.
  1615. This command applies to the current buffer; normally, each subprocess
  1616. has its own buffer, and thus you can use this command to specify
  1617. translation to and from a particular subprocess by giving the command
  1618. in the corresponding buffer.
  1619. By default, process input and output are not translated at all.
  1620. *** The variable file-name-coding-system specifies the coding system
  1621. to use for encoding file names before operating on them.
  1622. It is also used for decoding file names obtained from the system.
  1623. *** The command C-\ (toggle-input-method) activates or deactivates
  1624. an input method. If no input method has been selected before, the
  1625. command prompts for you to specify the language and input method you
  1626. want to use.
  1627. C-u C-\ (select-input-method) lets you switch to a different input
  1628. method. C-h C-\ (or C-h I) describes the current input method.
  1629. *** Some input methods remap the keyboard to emulate various keyboard
  1630. layouts commonly used for particular scripts. How to do this
  1631. remapping properly depends on your actual keyboard layout. To specify
  1632. which layout your keyboard has, use M-x quail-set-keyboard-layout.
  1633. *** The command C-h C (describe-coding-system) displays
  1634. the coding systems currently selected for various purposes, plus
  1635. related information.
  1636. *** The command C-h h (view-hello-file) displays a file called
  1637. HELLO, which has examples of text in many languages, using various
  1638. scripts.
  1639. *** The command C-h L (describe-language-support) displays
  1640. information about the support for a particular language.
  1641. You specify the language as an argument.
  1642. *** The mode line now contains a letter or character that identifies
  1643. the coding system used in the visited file. It normally follows the
  1644. first dash.
  1645. A dash indicates the default state of affairs: no code conversion
  1646. (except CRLF => newline if appropriate). `=' means no conversion
  1647. whatsoever. The ISO 8859 coding systems are represented by digits
  1648. 1 through 9. Other coding systems are represented by letters:
  1649. A alternativnyj (Russian)
  1650. B big5 (Chinese)
  1651. C cn-gb-2312 (Chinese)
  1652. C iso-2022-cn (Chinese)
  1653. D in-is13194-devanagari (Indian languages)
  1654. E euc-japan (Japanese)
  1655. I iso-2022-cjk or iso-2022-ss2 (Chinese, Japanese, Korean)
  1656. J junet (iso-2022-7) or old-jis (iso-2022-jp-1978-irv) (Japanese)
  1657. K euc-korea (Korean)
  1658. R koi8 (Russian)
  1659. Q tibetan
  1660. S shift_jis (Japanese)
  1661. T lao
  1662. T tis620 (Thai)
  1663. V viscii or vscii (Vietnamese)
  1664. i iso-2022-lock (Chinese, Japanese, Korean)
  1665. k iso-2022-kr (Korean)
  1666. v viqr (Vietnamese)
  1667. z hz (Chinese)
  1668. When you are using a character-only terminal (not a window system),
  1669. two additional characters appear in between the dash and the file
  1670. coding system. These two characters describe the coding system for
  1671. keyboard input, and the coding system for terminal output.
  1672. *** The new variable rmail-file-coding-system specifies the code
  1673. conversion to use for RMAIL files. The default value is nil.
  1674. When you read mail with Rmail, each message is decoded automatically
  1675. into Emacs' internal format. This has nothing to do with
  1676. rmail-file-coding-system. That variable controls reading and writing
  1677. Rmail files themselves.
  1678. *** The new variable sendmail-coding-system specifies the code
  1679. conversion for outgoing mail. The default value is nil.
  1680. Actually, there are three different ways of specifying the coding system
  1681. for sending mail:
  1682. - If you use C-x RET f in the mail buffer, that takes priority.
  1683. - Otherwise, if you set sendmail-coding-system non-nil, that specifies it.
  1684. - Otherwise, the default coding system for new files is used,
  1685. if that is non-nil. That comes from your language environment.
  1686. - Otherwise, Latin-1 is used.
  1687. *** The command C-h t (help-with-tutorial) accepts a prefix argument
  1688. to specify the language for the tutorial file. Currently, English,
  1689. Japanese, Korean and Thai are supported. We welcome additional
  1690. translations.
  1691. ** An easy new way to visit a file with no code or format conversion
  1692. of any kind: Use M-x find-file-literally. There is also a command
  1693. insert-file-literally which inserts a file into the current buffer
  1694. without any conversion.
  1695. ** C-q's handling of octal character codes is changed.
  1696. You can now specify any number of octal digits.
  1697. RET terminates the digits and is discarded;
  1698. any other non-digit terminates the digits and is then used as input.
  1699. ** There are new commands for looking up Info documentation for
  1700. functions, variables and file names used in your programs.
  1701. Type M-x info-lookup-symbol to look up a symbol in the buffer at point.
  1702. Type M-x info-lookup-file to look up a file in the buffer at point.
  1703. Precisely which Info files are used to look it up depends on the major
  1704. mode. For example, in C mode, the GNU libc manual is used.
  1705. ** M-TAB in most programming language modes now runs the command
  1706. complete-symbol. This command performs completion on the symbol name
  1707. in the buffer before point.
  1708. With a numeric argument, it performs completion based on the set of
  1709. symbols documented in the Info files for the programming language that
  1710. you are using.
  1711. With no argument, it does completion based on the current tags tables,
  1712. just like the old binding of M-TAB (complete-tag).
  1713. ** File locking works with NFS now.
  1714. The lock file for FILENAME is now a symbolic link named .#FILENAME,
  1715. in the same directory as FILENAME.
  1716. This means that collision detection between two different machines now
  1717. works reasonably well; it also means that no file server or directory
  1718. can become a bottleneck.
  1719. The new method does have drawbacks. It means that collision detection
  1720. does not operate when you edit a file in a directory where you cannot
  1721. create new files. Collision detection also doesn't operate when the
  1722. file server does not support symbolic links. But these conditions are
  1723. rare, and the ability to have collision detection while using NFS is
  1724. so useful that the change is worth while.
  1725. When Emacs or a system crashes, this may leave behind lock files which
  1726. are stale. So you may occasionally get warnings about spurious
  1727. collisions. When you determine that the collision is spurious, just
  1728. tell Emacs to go ahead anyway.
  1729. ** If you wish to use Show Paren mode to display matching parentheses,
  1730. it is no longer sufficient to load paren.el. Instead you must call
  1731. show-paren-mode.
  1732. ** If you wish to use Delete Selection mode to replace a highlighted
  1733. selection when you insert new text, it is no longer sufficient to load
  1734. delsel.el. Instead you must call the function delete-selection-mode.
  1735. ** If you wish to use Partial Completion mode to complete partial words
  1736. within symbols or filenames, it is no longer sufficient to load
  1737. complete.el. Instead you must call the function partial-completion-mode.
  1738. ** If you wish to use uniquify to rename buffers for you,
  1739. it is no longer sufficient to load uniquify.el. You must also
  1740. set uniquify-buffer-name-style to one of the non-nil legitimate values.
  1741. ** Changes in View mode.
  1742. *** Several new commands are available in View mode.
  1743. Do H in view mode for a list of commands.
  1744. *** There are two new commands for entering View mode:
  1745. view-file-other-frame and view-buffer-other-frame.
  1746. *** Exiting View mode does a better job of restoring windows to their
  1747. previous state.
  1748. *** New customization variable view-scroll-auto-exit. If non-nil,
  1749. scrolling past end of buffer makes view mode exit.
  1750. *** New customization variable view-exits-all-viewing-windows. If
  1751. non-nil, view-mode will at exit restore all windows viewing buffer,
  1752. not just the selected window.
  1753. *** New customization variable view-read-only. If non-nil, visiting a
  1754. read-only file automatically enters View mode, and toggle-read-only
  1755. turns View mode on or off.
  1756. *** New customization variable view-remove-frame-by-deleting controls
  1757. how to remove a not needed frame at view mode exit. If non-nil,
  1758. delete the frame, if nil make an icon of it.
  1759. ** C-x v l, the command to print a file's version control log,
  1760. now positions point at the entry for the file's current branch version.
  1761. ** C-x v =, the command to compare a file with the last checked-in version,
  1762. has a new feature. If the file is currently not locked, so that it is
  1763. presumably identical to the last checked-in version, the command now asks
  1764. which version to compare with.
  1765. ** When using hideshow.el, incremental search can temporarily show hidden
  1766. blocks if a match is inside the block.
  1767. The block is hidden again if the search is continued and the next match
  1768. is outside the block. By customizing the variable
  1769. isearch-hide-immediately you can choose to hide all the temporarily
  1770. shown blocks only when exiting from incremental search.
  1771. By customizing the variable hs-isearch-open you can choose what kind
  1772. of blocks to temporarily show during isearch: comment blocks, code
  1773. blocks, all of them or none.
  1774. ** The new command C-x 4 0 (kill-buffer-and-window) kills the
  1775. current buffer and deletes the selected window. It asks for
  1776. confirmation first.
  1777. ** C-x C-w, which saves the buffer into a specified file name,
  1778. now changes the major mode according to that file name.
  1779. However, the mode will not be changed if
  1780. (1) a local variables list or the `-*-' line specifies a major mode, or
  1781. (2) the current major mode is a "special" mode,
  1782. not suitable for ordinary files, or
  1783. (3) the new file name does not particularly specify any mode.
  1784. This applies to M-x set-visited-file-name as well.
  1785. However, if you set change-major-mode-with-file-name to nil, then
  1786. these commands do not change the major mode.
  1787. ** M-x occur changes.
  1788. *** If the argument to M-x occur contains upper case letters,
  1789. it performs a case-sensitive search.
  1790. *** In the *Occur* buffer made by M-x occur,
  1791. if you type g or M-x revert-buffer, this repeats the search
  1792. using the same regular expression and the same buffer as before.
  1793. ** In Transient Mark mode, the region in any one buffer is highlighted
  1794. in just one window at a time. At first, it is highlighted in the
  1795. window where you set the mark. The buffer's highlighting remains in
  1796. that window unless you select to another window which shows the same
  1797. buffer--then the highlighting moves to that window.
  1798. ** The feature to suggest key bindings when you use M-x now operates
  1799. after the command finishes. The message suggesting key bindings
  1800. appears temporarily in the echo area. The previous echo area contents
  1801. come back after a few seconds, in case they contain useful information.
  1802. ** Each frame now independently records the order for recently
  1803. selected buffers, so that the default for C-x b is now based on the
  1804. buffers recently selected in the selected frame.
  1805. ** Outline mode changes.
  1806. *** Outline mode now uses overlays (this is the former noutline.el).
  1807. *** Incremental searches skip over invisible text in Outline mode.
  1808. ** When a minibuffer window is active but not the selected window, if
  1809. you try to use the minibuffer, you used to get a nested minibuffer.
  1810. Now, this not only gives an error, it also cancels the minibuffer that
  1811. was already active.
  1812. The motive for this change is so that beginning users do not
  1813. unknowingly move away from minibuffers, leaving them active, and then
  1814. get confused by it.
  1815. If you want to be able to have recursive minibuffers, you must
  1816. set enable-recursive-minibuffers to non-nil.
  1817. ** Changes in dynamic abbrevs.
  1818. *** Expanding dynamic abbrevs with M-/ is now smarter about case
  1819. conversion. If the expansion has mixed case not counting the first
  1820. character, and the abbreviation matches the beginning of the expansion
  1821. including case, then the expansion is copied verbatim.
  1822. The expansion is also copied verbatim if the abbreviation itself has
  1823. mixed case. And using SPC M-/ to copy an additional word always
  1824. copies it verbatim except when the previous copied word is all caps.
  1825. *** The values of `dabbrev-case-replace' and `dabbrev-case-fold-search'
  1826. are no longer Lisp expressions. They have simply three possible
  1827. values.
  1828. `dabbrev-case-replace' has these three values: nil (don't preserve
  1829. case), t (do), or `case-replace' (do like M-x query-replace).
  1830. `dabbrev-case-fold-search' has these three values: nil (don't ignore
  1831. case), t (do), or `case-fold-search' (do like search).
  1832. ** Minibuffer history lists are truncated automatically now to a
  1833. certain length. The variable history-length specifies how long they
  1834. can be. The default value is 30.
  1835. ** Changes in Mail mode.
  1836. *** The key C-x m no longer runs the `mail' command directly.
  1837. Instead, it runs the command `compose-mail', which invokes the mail
  1838. composition mechanism you have selected with the variable
  1839. `mail-user-agent'. The default choice of user agent is
  1840. `sendmail-user-agent', which gives behavior compatible with the old
  1841. behavior.
  1842. C-x 4 m now runs compose-mail-other-window, and C-x 5 m runs
  1843. compose-mail-other-frame.
  1844. *** While composing a reply to a mail message, from Rmail, you can use
  1845. the command C-c C-r to cite just the region from the message you are
  1846. replying to. This copies the text which is the selected region in the
  1847. buffer that shows the original message.
  1848. *** The command C-c C-i inserts a file at the end of the message,
  1849. with separator lines around the contents.
  1850. *** The command M-x expand-mail-aliases expands all mail aliases
  1851. in suitable mail headers. Emacs automatically extracts mail alias
  1852. definitions from your mail alias file (e.g., ~/.mailrc). You do not
  1853. need to expand mail aliases yourself before sending mail.
  1854. *** New features in the mail-complete command.
  1855. **** The mail-complete command now inserts the user's full name,
  1856. for local users or if that is known. The variable mail-complete-style
  1857. controls the style to use, and whether to do this at all.
  1858. Its values are like those of mail-from-style.
  1859. **** The variable mail-passwd-command lets you specify a shell command
  1860. to run to fetch a set of password-entries that add to the ones in
  1861. /etc/passwd.
  1862. **** The variable mail-passwd-file now specifies a list of files to read
  1863. to get the list of user ids. By default, one file is used:
  1864. /etc/passwd.
  1865. ** You can "quote" a file name to inhibit special significance of
  1866. special syntax, by adding `/:' to the beginning. Thus, if you have a
  1867. directory named `/foo:', you can prevent it from being treated as a
  1868. reference to a remote host named `foo' by writing it as `/:/foo:'.
  1869. Emacs uses this new construct automatically when necessary, such as
  1870. when you start it with a working directory whose name might otherwise
  1871. be taken to be magic.
  1872. ** There is a new command M-x grep-find which uses find to select
  1873. files to search through, and grep to scan them. The output is
  1874. available in a Compile mode buffer, as with M-x grep.
  1875. M-x grep now uses the -e option if the grep program supports that.
  1876. (-e prevents problems if the search pattern starts with a dash.)
  1877. ** In Dired, the & command now flags for deletion the files whose names
  1878. suggest they are probably not needed in the long run.
  1879. In Dired, * is now a prefix key for mark-related commands.
  1880. new key dired.el binding old key
  1881. ------- ---------------- -------
  1882. * c dired-change-marks c
  1883. * m dired-mark m
  1884. * * dired-mark-executables * (binding deleted)
  1885. * / dired-mark-directories / (binding deleted)
  1886. * @ dired-mark-symlinks @ (binding deleted)
  1887. * u dired-unmark u
  1888. * DEL dired-unmark-backward DEL
  1889. * ? dired-unmark-all-files C-M-?
  1890. * ! dired-unmark-all-marks
  1891. * % dired-mark-files-regexp % m
  1892. * C-n dired-next-marked-file M-}
  1893. * C-p dired-prev-marked-file M-{
  1894. ** Rmail changes.
  1895. *** When Rmail cannot convert your incoming mail into Babyl format, it
  1896. saves the new mail in the file RMAILOSE.n, where n is an integer
  1897. chosen to make a unique name. This way, Rmail will not keep crashing
  1898. each time you run it.
  1899. *** In Rmail, the variable rmail-summary-line-count-flag now controls
  1900. whether to include the line count in the summary. Non-nil means yes.
  1901. *** In Rmail summary buffers, d and C-d (the commands to delete
  1902. messages) now take repeat counts as arguments. A negative argument
  1903. means to move in the opposite direction.
  1904. *** In Rmail, the t command now takes an optional argument which lets
  1905. you specify whether to show the message headers in full or pruned.
  1906. *** In Rmail, the new command w (rmail-output-body-to-file) writes
  1907. just the body of the current message into a file, without the headers.
  1908. It takes the file name from the message subject, by default, but you
  1909. can edit that file name in the minibuffer before it is actually used
  1910. for output.
  1911. ** Gnus changes.
  1912. *** nntp.el has been totally rewritten in an asynchronous fashion.
  1913. *** Article prefetching functionality has been moved up into
  1914. Gnus.
  1915. *** Scoring can now be performed with logical operators like
  1916. `and', `or', `not', and parent redirection.
  1917. *** Article washing status can be displayed in the
  1918. article mode line.
  1919. *** gnus.el has been split into many smaller files.
  1920. *** Suppression of duplicate articles based on Message-ID.
  1921. (setq gnus-suppress-duplicates t)
  1922. *** New variables for specifying what score and adapt files
  1923. are to be considered home score and adapt files. See
  1924. `gnus-home-score-file' and `gnus-home-adapt-files'.
  1925. *** Groups can inherit group parameters from parent topics.
  1926. *** Article editing has been revamped and is now usable.
  1927. *** Signatures can be recognized in more intelligent fashions.
  1928. See `gnus-signature-separator' and `gnus-signature-limit'.
  1929. *** Summary pick mode has been made to look more nn-like.
  1930. Line numbers are displayed and the `.' command can be
  1931. used to pick articles.
  1932. *** Commands for moving the .newsrc.eld from one server to
  1933. another have been added.
  1934. `M-x gnus-change-server'
  1935. *** A way to specify that "uninteresting" fields be suppressed when
  1936. generating lines in buffers.
  1937. *** Several commands in the group buffer can be undone with
  1938. `C-M-_'.
  1939. *** Scoring can be done on words using the new score type `w'.
  1940. *** Adaptive scoring can be done on a Subject word-by-word basis:
  1941. (setq gnus-use-adaptive-scoring '(word))
  1942. *** Scores can be decayed.
  1943. (setq gnus-decay-scores t)
  1944. *** Scoring can be performed using a regexp on the Date header. The
  1945. Date is normalized to compact ISO 8601 format first.
  1946. *** A new command has been added to remove all data on articles from
  1947. the native server.
  1948. `M-x gnus-group-clear-data-on-native-groups'
  1949. *** A new command for reading collections of documents
  1950. (nndoc with nnvirtual on top) has been added -- `C-M-d'.
  1951. *** Process mark sets can be pushed and popped.
  1952. *** A new mail-to-news backend makes it possible to post
  1953. even when the NNTP server doesn't allow posting.
  1954. *** A new backend for reading searches from Web search engines
  1955. (DejaNews, Alta Vista, InReference) has been added.
  1956. Use the `G w' command in the group buffer to create such
  1957. a group.
  1958. *** Groups inside topics can now be sorted using the standard
  1959. sorting functions, and each topic can be sorted independently.
  1960. See the commands under the `T S' submap.
  1961. *** Subsets of the groups can be sorted independently.
  1962. See the commands under the `G P' submap.
  1963. *** Cached articles can be pulled into the groups.
  1964. Use the `Y c' command.
  1965. *** Score files are now applied in a more reliable order.
  1966. *** Reports on where mail messages end up can be generated.
  1967. `M-x nnmail-split-history'
  1968. *** More hooks and functions have been added to remove junk
  1969. from incoming mail before saving the mail.
  1970. See `nnmail-prepare-incoming-header-hook'.
  1971. *** The nnml mail backend now understands compressed article files.
  1972. *** To enable Gnus to read/post multi-lingual articles, you must execute
  1973. the following code, for instance, in your .emacs.
  1974. (add-hook 'gnus-startup-hook 'gnus-mule-initialize)
  1975. Then, when you start Gnus, it will decode non-ASCII text automatically
  1976. and show appropriate characters. (Note: if you are using gnus-mime
  1977. from the SEMI package, formerly known as TM, you should NOT add this
  1978. hook to gnus-startup-hook; gnus-mime has its own method of handling
  1979. this issue.)
  1980. Since it is impossible to distinguish all coding systems
  1981. automatically, you may need to specify a choice of coding system for a
  1982. particular news group. This can be done by:
  1983. (gnus-mule-add-group NEWSGROUP 'CODING-SYSTEM)
  1984. Here NEWSGROUP should be a string which names a newsgroup or a tree
  1985. of newsgroups. If NEWSGROUP is "XXX.YYY", all news groups under
  1986. "XXX.YYY" (including "XXX.YYY.ZZZ") will use the specified coding
  1987. system. CODING-SYSTEM specifies which coding system to use (for both
  1988. for reading and posting).
  1989. CODING-SYSTEM can also be a cons cell of the form
  1990. (READ-CODING-SYSTEM . POST-CODING-SYSTEM)
  1991. Then READ-CODING-SYSTEM is used when you read messages from the
  1992. newsgroups, while POST-CODING-SYSTEM is used when you post messages
  1993. there.
  1994. Emacs knows the right coding systems for certain newsgroups by
  1995. default. Here are some of these default settings:
  1996. (gnus-mule-add-group "fj" 'iso-2022-7)
  1997. (gnus-mule-add-group "alt.chinese.text" 'hz-gb-2312)
  1998. (gnus-mule-add-group "alt.hk" 'hz-gb-2312)
  1999. (gnus-mule-add-group "alt.chinese.text.big5" 'cn-big5)
  2000. (gnus-mule-add-group "soc.culture.vietnamese" '(nil . viqr))
  2001. When you reply by mail to an article, these settings are ignored;
  2002. the mail is encoded according to sendmail-coding-system, as usual.
  2003. ** CC mode changes.
  2004. *** If you edit primarily one style of C (or C++, Objective-C, Java)
  2005. code, you may want to make the CC Mode style variables have global
  2006. values so that you can set them directly in your .emacs file. To do
  2007. this, set c-style-variables-are-local-p to nil in your .emacs file.
  2008. Note that this only takes effect if you do it *before* cc-mode.el is
  2009. loaded.
  2010. If you typically edit more than one style of C (or C++, Objective-C,
  2011. Java) code in a single Emacs session, you may want to make the CC Mode
  2012. style variables have buffer local values. By default, all buffers
  2013. share the same style variable settings; to make them buffer local, set
  2014. c-style-variables-are-local-p to t in your .emacs file. Note that you
  2015. must do this *before* CC Mode is loaded.
  2016. *** The new variable c-indentation-style holds the C style name
  2017. of the current buffer.
  2018. *** The variable c-block-comments-indent-p has been deleted, because
  2019. it is no longer necessary. C mode now handles all the supported styles
  2020. of block comments, with no need to say which one you will use.
  2021. *** There is a new indentation style "python", which specifies the C
  2022. style that the Python developers like.
  2023. *** There is a new c-cleanup-list option: brace-elseif-brace.
  2024. This says to put ...} else if (...) {... on one line,
  2025. just as brace-else-brace says to put ...} else {... on one line.
  2026. ** VC Changes [new]
  2027. *** In vc-retrieve-snapshot (C-x v r), if you don't specify a snapshot
  2028. name, it retrieves the *latest* versions of all files in the current
  2029. directory and its subdirectories (aside from files already locked).
  2030. This feature is useful if your RCS directory is a link to a common
  2031. master directory, and you want to pick up changes made by other
  2032. developers.
  2033. You can do the same thing for an individual file by typing C-u C-x C-q
  2034. RET in a buffer visiting that file.
  2035. *** VC can now handle files under CVS that are being "watched" by
  2036. other developers. Such files are made read-only by CVS. To get a
  2037. writable copy, type C-x C-q in a buffer visiting such a file. VC then
  2038. calls "cvs edit", which notifies the other developers of it.
  2039. *** vc-version-diff (C-u C-x v =) now suggests reasonable defaults for
  2040. version numbers, based on the current state of the file.
  2041. ** Calendar changes.
  2042. *** A new function, list-holidays, allows you list holidays or
  2043. subclasses of holidays for ranges of years. Related menu items allow
  2044. you do this for the year of the selected date, or the
  2045. following/previous years.
  2046. *** There is now support for the Baha'i calendar system. Use `pb' in
  2047. the *Calendar* buffer to display the current Baha'i date. The Baha'i
  2048. calendar, or "Badi calendar" is a system of 19 months with 19 days
  2049. each, and 4 intercalary days (5 during a Gregorian leap year). The
  2050. calendar begins May 23, 1844, with each of the months named after a
  2051. supposed attribute of God.
  2052. ** ps-print changes
  2053. There are some new user variables and subgroups for customizing the page
  2054. layout.
  2055. *** Headers & Footers (subgroup)
  2056. Some printer systems print a header page and force the first page to
  2057. be printed on the back of the header page when using duplex. If your
  2058. printer system has this behavior, set variable
  2059. `ps-banner-page-when-duplexing' to t.
  2060. If variable `ps-banner-page-when-duplexing' is non-nil, it prints a
  2061. blank page as the very first printed page. So, it behaves as if the
  2062. very first character of buffer (or region) were a form feed ^L (\014).
  2063. The variable `ps-spool-config' specifies who is responsible for
  2064. setting duplex mode and page size. Valid values are:
  2065. lpr-switches duplex and page size are configured by `ps-lpr-switches'.
  2066. Don't forget to set `ps-lpr-switches' to select duplex
  2067. printing for your printer.
  2068. setpagedevice duplex and page size are configured by ps-print using the
  2069. setpagedevice PostScript operator.
  2070. nil duplex and page size are configured by ps-print *not* using
  2071. the setpagedevice PostScript operator.
  2072. The variable `ps-spool-tumble' specifies how the page images on
  2073. opposite sides of a sheet are oriented with respect to each other. If
  2074. `ps-spool-tumble' is nil, ps-print produces output suitable for
  2075. bindings on the left or right. If `ps-spool-tumble' is non-nil,
  2076. ps-print produces output suitable for bindings at the top or bottom.
  2077. This variable takes effect only if `ps-spool-duplex' is non-nil.
  2078. The default value is nil.
  2079. The variable `ps-header-frame-alist' specifies a header frame
  2080. properties alist. Valid frame properties are:
  2081. fore-color Specify the foreground frame color.
  2082. Value should be a float number between 0.0 (black
  2083. color) and 1.0 (white color), or a string which is a
  2084. color name, or a list of 3 float numbers which
  2085. correspond to the Red Green Blue color scale, each
  2086. float number between 0.0 (dark color) and 1.0 (bright
  2087. color). The default is 0 ("black").
  2088. back-color Specify the background frame color (similar to fore-color).
  2089. The default is 0.9 ("gray90").
  2090. shadow-color Specify the shadow color (similar to fore-color).
  2091. The default is 0 ("black").
  2092. border-color Specify the border color (similar to fore-color).
  2093. The default is 0 ("black").
  2094. border-width Specify the border width.
  2095. The default is 0.4.
  2096. Any other property is ignored.
  2097. Don't change this alist directly; instead use Custom, or the
  2098. `ps-value', `ps-get', `ps-put' and `ps-del' functions (see there for
  2099. documentation).
  2100. Ps-print can also print footers. The footer variables are:
  2101. `ps-print-footer', `ps-footer-offset', `ps-print-footer-frame',
  2102. `ps-footer-font-family', `ps-footer-font-size', `ps-footer-line-pad',
  2103. `ps-footer-lines', `ps-left-footer', `ps-right-footer' and
  2104. `ps-footer-frame-alist'. These variables are similar to those
  2105. controlling headers.
  2106. *** Color management (subgroup)
  2107. If `ps-print-color-p' is non-nil, the buffer's text will be printed in
  2108. color.
  2109. *** Face Management (subgroup)
  2110. If you need to print without worrying about face background colors,
  2111. set the variable `ps-use-face-background' which specifies if face
  2112. background should be used. Valid values are:
  2113. t always use face background color.
  2114. nil never use face background color.
  2115. (face...) list of faces whose background color will be used.
  2116. *** N-up printing (subgroup)
  2117. The variable `ps-n-up-printing' specifies the number of pages per
  2118. sheet of paper.
  2119. The variable `ps-n-up-margin' specifies the margin in points (pt)
  2120. between the sheet border and the n-up printing.
  2121. If variable `ps-n-up-border-p' is non-nil, a border is drawn around
  2122. each page.
  2123. The variable `ps-n-up-filling' specifies how the page matrix is filled
  2124. on each sheet of paper. Following are the valid values for
  2125. `ps-n-up-filling' with a filling example using a 3x4 page matrix:
  2126. `left-top' 1 2 3 4 `left-bottom' 9 10 11 12
  2127. 5 6 7 8 5 6 7 8
  2128. 9 10 11 12 1 2 3 4
  2129. `right-top' 4 3 2 1 `right-bottom' 12 11 10 9
  2130. 8 7 6 5 8 7 6 5
  2131. 12 11 10 9 4 3 2 1
  2132. `top-left' 1 4 7 10 `bottom-left' 3 6 9 12
  2133. 2 5 8 11 2 5 8 11
  2134. 3 6 9 12 1 4 7 10
  2135. `top-right' 10 7 4 1 `bottom-right' 12 9 6 3
  2136. 11 8 5 2 11 8 5 2
  2137. 12 9 6 3 10 7 4 1
  2138. Any other value is treated as `left-top'.
  2139. *** Zebra stripes (subgroup)
  2140. The variable `ps-zebra-color' controls the zebra stripes grayscale or
  2141. RGB color.
  2142. The variable `ps-zebra-stripe-follow' specifies how zebra stripes
  2143. continue on next page. Visually, valid values are (the character `+'
  2144. to the right of each column indicates that a line is printed):
  2145. `nil' `follow' `full' `full-follow'
  2146. Current Page -------- ----------- --------- ----------------
  2147. 1 XXXXX + 1 XXXXXXXX + 1 XXXXXX + 1 XXXXXXXXXXXXX +
  2148. 2 XXXXX + 2 XXXXXXXX + 2 XXXXXX + 2 XXXXXXXXXXXXX +
  2149. 3 XXXXX + 3 XXXXXXXX + 3 XXXXXX + 3 XXXXXXXXXXXXX +
  2150. 4 + 4 + 4 + 4 +
  2151. 5 + 5 + 5 + 5 +
  2152. 6 + 6 + 6 + 6 +
  2153. 7 XXXXX + 7 XXXXXXXX + 7 XXXXXX + 7 XXXXXXXXXXXXX +
  2154. 8 XXXXX + 8 XXXXXXXX + 8 XXXXXX + 8 XXXXXXXXXXXXX +
  2155. 9 XXXXX + 9 XXXXXXXX + 9 XXXXXX + 9 XXXXXXXXXXXXX +
  2156. 10 + 10 +
  2157. 11 + 11 +
  2158. -------- ----------- --------- ----------------
  2159. Next Page -------- ----------- --------- ----------------
  2160. 12 XXXXX + 12 + 10 XXXXXX + 10 +
  2161. 13 XXXXX + 13 XXXXXXXX + 11 XXXXXX + 11 +
  2162. 14 XXXXX + 14 XXXXXXXX + 12 XXXXXX + 12 +
  2163. 15 + 15 XXXXXXXX + 13 + 13 XXXXXXXXXXXXX +
  2164. 16 + 16 + 14 + 14 XXXXXXXXXXXXX +
  2165. 17 + 17 + 15 + 15 XXXXXXXXXXXXX +
  2166. 18 XXXXX + 18 + 16 XXXXXX + 16 +
  2167. 19 XXXXX + 19 XXXXXXXX + 17 XXXXXX + 17 +
  2168. 20 XXXXX + 20 XXXXXXXX + 18 XXXXXX + 18 +
  2169. 21 + 21 XXXXXXXX +
  2170. 22 + 22 +
  2171. -------- ----------- --------- ----------------
  2172. Any other value is treated as `nil'.
  2173. *** Printer management (subgroup)
  2174. The variable `ps-printer-name-option' determines the option used by
  2175. some utilities to indicate the printer name; it's used only when
  2176. `ps-printer-name' is a non-empty string. If you're using the lpr
  2177. utility to print, for example, `ps-printer-name-option' should be set
  2178. to "-P".
  2179. The variable `ps-manual-feed' indicates if the printer requires manual
  2180. paper feeding. If it's nil, automatic feeding takes place. If it's
  2181. non-nil, manual feeding takes place.
  2182. The variable `ps-end-with-control-d' specifies whether C-d (\x04)
  2183. should be inserted at end of the generated PostScript. Non-nil means
  2184. do so.
  2185. *** Page settings (subgroup)
  2186. If variable `ps-warn-paper-type' is nil, it's *not* treated as an
  2187. error if the PostScript printer doesn't have a paper with the size
  2188. indicated by `ps-paper-type'; the default paper size will be used
  2189. instead. If `ps-warn-paper-type' is non-nil, an error is signaled if
  2190. the PostScript printer doesn't support a paper with the size indicated
  2191. by `ps-paper-type'. This is used when `ps-spool-config' is set to
  2192. `setpagedevice'.
  2193. The variable `ps-print-upside-down' determines the orientation for
  2194. printing pages: nil means `normal' printing, non-nil means
  2195. `upside-down' printing (that is, the page is rotated by 180 degrees).
  2196. The variable `ps-selected-pages' specifies which pages to print. If
  2197. it's nil, all pages are printed. If it's a list, list elements may be
  2198. integers specifying a single page to print, or cons cells (FROM . TO)
  2199. specifying to print from page FROM to TO. Invalid list elements, that
  2200. is integers smaller than one, or elements whose FROM is greater than
  2201. its TO, are ignored.
  2202. The variable `ps-even-or-odd-pages' specifies how to print even/odd
  2203. pages. Valid values are:
  2204. nil print all pages.
  2205. `even-page' print only even pages.
  2206. `odd-page' print only odd pages.
  2207. `even-sheet' print only even sheets.
  2208. That is, if `ps-n-up-printing' is 1, it behaves like
  2209. `even-page', but for values greater than 1, it'll
  2210. print only the even sheet of paper.
  2211. `odd-sheet' print only odd sheets.
  2212. That is, if `ps-n-up-printing' is 1, it behaves like
  2213. `odd-page'; but for values greater than 1, it'll print
  2214. only the odd sheet of paper.
  2215. Any other value is treated as nil.
  2216. If you set `ps-selected-pages' (see there for documentation), pages
  2217. are filtered by `ps-selected-pages', and then by
  2218. `ps-even-or-odd-pages'. For example, if we have:
  2219. (setq ps-selected-pages '(1 4 (6 . 10) (12 . 16) 20))
  2220. and we combine this with `ps-even-or-odd-pages' and
  2221. `ps-n-up-printing', we get:
  2222. `ps-n-up-printing' = 1:
  2223. `ps-even-or-odd-pages' PAGES PRINTED
  2224. nil 1, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 20
  2225. even-page 4, 6, 8, 10, 12, 14, 16, 20
  2226. odd-page 1, 7, 9, 13, 15
  2227. even-sheet 4, 6, 8, 10, 12, 14, 16, 20
  2228. odd-sheet 1, 7, 9, 13, 15
  2229. `ps-n-up-printing' = 2:
  2230. `ps-even-or-odd-pages' PAGES PRINTED
  2231. nil 1/4, 6/7, 8/9, 10/12, 13/14, 15/16, 20
  2232. even-page 4/6, 8/10, 12/14, 16/20
  2233. odd-page 1/7, 9/13, 15
  2234. even-sheet 6/7, 10/12, 15/16
  2235. odd-sheet 1/4, 8/9, 13/14, 20
  2236. *** Miscellany (subgroup)
  2237. The variable `ps-error-handler-message' specifies where error handler
  2238. messages should be sent.
  2239. It is also possible to add a user-defined PostScript prologue code in
  2240. front of all generated prologue code by setting the variable
  2241. `ps-user-defined-prologue'.
  2242. The variable `ps-line-number-font' specifies the font for line numbers.
  2243. The variable `ps-line-number-font-size' specifies the font size in
  2244. points for line numbers.
  2245. The variable `ps-line-number-color' specifies the color for line
  2246. numbers. See `ps-zebra-color' for documentation.
  2247. The variable `ps-line-number-step' specifies the interval in which
  2248. line numbers are printed. For example, if `ps-line-number-step' is set
  2249. to 2, the printing will look like:
  2250. 1 one line
  2251. one line
  2252. 3 one line
  2253. one line
  2254. 5 one line
  2255. one line
  2256. ...
  2257. Valid values are:
  2258. integer an integer specifying the interval in which line numbers are
  2259. printed. If it's smaller than or equal to zero, 1
  2260. is used.
  2261. `zebra' specifies that only the line number of the first line in a
  2262. zebra stripe is to be printed.
  2263. Any other value is treated as `zebra'.
  2264. The variable `ps-line-number-start' specifies the starting point in
  2265. the interval given by `ps-line-number-step'. For example, if
  2266. `ps-line-number-step' is set to 3, and `ps-line-number-start' is set to
  2267. 3, the output will look like:
  2268. one line
  2269. one line
  2270. 3 one line
  2271. one line
  2272. one line
  2273. 6 one line
  2274. one line
  2275. one line
  2276. 9 one line
  2277. one line
  2278. ...
  2279. The variable `ps-postscript-code-directory' specifies the directory
  2280. where the PostScript prologue file used by ps-print is found.
  2281. The variable `ps-line-spacing' determines the line spacing in points,
  2282. for ordinary text, when generating PostScript (similar to
  2283. `ps-font-size').
  2284. The variable `ps-paragraph-spacing' determines the paragraph spacing,
  2285. in points, for ordinary text, when generating PostScript (similar to
  2286. `ps-font-size').
  2287. The variable `ps-paragraph-regexp' specifies the paragraph delimiter.
  2288. The variable `ps-begin-cut-regexp' and `ps-end-cut-regexp' specify the
  2289. start and end of a region to cut out when printing.
  2290. ** hideshow changes.
  2291. *** now supports hiding of blocks of single line comments (like // for
  2292. C++, ; for lisp).
  2293. *** Support for java-mode added.
  2294. *** When doing `hs-hide-all' it is now possible to also hide the comments
  2295. in the file if `hs-hide-comments-when-hiding-all' is set.
  2296. *** The new function `hs-hide-initial-comment' hides the comments at
  2297. the beginning of the files. Finally those huge RCS logs don't stay in your
  2298. way! This is run by default when entering the `hs-minor-mode'.
  2299. *** Now uses overlays instead of `selective-display', so is more
  2300. robust and a lot faster.
  2301. *** A block beginning can span multiple lines.
  2302. *** The new variable `hs-show-hidden-short-form' if t, directs hideshow
  2303. to show only the beginning of a block when it is hidden. See the
  2304. documentation for more details.
  2305. ** Changes in Enriched mode.
  2306. *** When you visit a file in enriched-mode, Emacs will make sure it is
  2307. filled to the current fill-column. This behavior is now independent
  2308. of the size of the window. When you save the file, the fill-column in
  2309. use is stored as well, so that the whole buffer need not be refilled
  2310. the next time unless the fill-column is different.
  2311. *** use-hard-newlines is now a minor mode. When it is enabled, Emacs
  2312. distinguishes between hard and soft newlines, and treats hard newlines
  2313. as paragraph boundaries. Otherwise all newlines inserted are marked
  2314. as soft, and paragraph boundaries are determined solely from the text.
  2315. ** Font Lock mode
  2316. *** Custom support
  2317. The variables font-lock-face-attributes, font-lock-display-type and
  2318. font-lock-background-mode are now obsolete; the recommended way to specify
  2319. the faces to use for Font Lock mode is with M-x customize-group on the new
  2320. custom group font-lock-faces. If you set font-lock-face-attributes in your
  2321. ~/.emacs file, Font Lock mode will respect its value. However, you should
  2322. consider converting from setting that variable to using M-x customize.
  2323. You can still use X resources to specify Font Lock face appearances.
  2324. *** Maximum decoration
  2325. Fontification now uses the maximum level of decoration supported by
  2326. default. Previously, fontification used a mode-specific default level
  2327. of decoration, which is typically the minimum level of decoration
  2328. supported. You can set font-lock-maximum-decoration to nil
  2329. to get the old behavior.
  2330. *** New support
  2331. Support is now provided for Java, Objective-C, AWK and SIMULA modes.
  2332. Note that Font Lock mode can be turned on without knowing exactly what modes
  2333. support Font Lock mode, via the command global-font-lock-mode.
  2334. *** Configurable support
  2335. Support for C, C++, Objective-C and Java can be more easily configured for
  2336. additional types and classes via the new variables c-font-lock-extra-types,
  2337. c++-font-lock-extra-types, objc-font-lock-extra-types and, you guessed it,
  2338. java-font-lock-extra-types. These value of each of these variables should be a
  2339. list of regexps matching the extra type names. For example, the default value
  2340. of c-font-lock-extra-types is ("\\sw+_t") which means fontification follows the
  2341. convention that C type names end in _t. This results in slower fontification.
  2342. Of course, you can change the variables that specify fontification in whatever
  2343. way you wish, typically by adding regexps. However, these new variables make
  2344. it easier to make specific and common changes for the fontification of types.
  2345. *** Adding highlighting patterns to existing support
  2346. You can use the new function font-lock-add-keywords to add your own
  2347. highlighting patterns, such as for project-local or user-specific constructs,
  2348. for any mode.
  2349. For example, to highlight `FIXME:' words in C comments, put:
  2350. (font-lock-add-keywords 'c-mode '(("\\<FIXME:" 0 font-lock-warning-face t)))
  2351. in your ~/.emacs.
  2352. *** New faces
  2353. Font Lock now defines two new faces, font-lock-builtin-face and
  2354. font-lock-warning-face. These are intended to highlight builtin keywords,
  2355. distinct from a language's normal keywords, and objects that should be brought
  2356. to user attention, respectively. Various modes now use these new faces.
  2357. *** Changes to fast-lock support mode
  2358. The fast-lock package, one of the two Font Lock support modes, can now process
  2359. cache files silently. You can use the new variable fast-lock-verbose, in the
  2360. same way as font-lock-verbose, to control this feature.
  2361. *** Changes to lazy-lock support mode
  2362. The lazy-lock package, one of the two Font Lock support modes, can now fontify
  2363. according to the true syntactic context relative to other lines. You can use
  2364. the new variable lazy-lock-defer-contextually to control this feature. If
  2365. non-nil, changes to the buffer will cause subsequent lines in the buffer to be
  2366. refontified after lazy-lock-defer-time seconds of idle time. If nil, then only
  2367. the modified lines will be refontified; this is the same as the previous Lazy
  2368. Lock mode behavior and the behavior of Font Lock mode.
  2369. This feature is useful in modes where strings or comments can span lines.
  2370. For example, if a string or comment terminating character is deleted, then if
  2371. this feature is enabled subsequent lines in the buffer will be correctly
  2372. refontified to reflect their new syntactic context. Previously, only the line
  2373. containing the deleted character would be refontified and you would have to use
  2374. the command M-o M-o (font-lock-fontify-block) to refontify some lines.
  2375. As a consequence of this new feature, two other variables have changed:
  2376. Variable `lazy-lock-defer-driven' is renamed `lazy-lock-defer-on-scrolling'.
  2377. Variable `lazy-lock-defer-time' can now only be a time, i.e., a number.
  2378. Buffer modes for which on-the-fly deferral applies can be specified via the
  2379. new variable `lazy-lock-defer-on-the-fly'.
  2380. If you set these variables in your ~/.emacs, then you may have to change those
  2381. settings.
  2382. ** Ada mode changes.
  2383. *** There is now better support for using find-file.el with Ada mode.
  2384. If you switch between spec and body, the cursor stays in the same
  2385. procedure (modulo overloading). If a spec has no body file yet, but
  2386. you try to switch to its body file, Ada mode now generates procedure
  2387. stubs.
  2388. *** There are two new commands:
  2389. - `ada-make-local' : invokes gnatmake on the current buffer
  2390. - `ada-check-syntax' : check syntax of current buffer.
  2391. The user options `ada-compiler-make', `ada-make-options',
  2392. `ada-language-version', `ada-compiler-syntax-check', and
  2393. `ada-compile-options' are used within these commands.
  2394. *** Ada mode can now work with Outline minor mode. The outline level
  2395. is calculated from the indenting, not from syntactic constructs.
  2396. Outlining does not work if your code is not correctly indented.
  2397. *** The new function `ada-gnat-style' converts the buffer to the style of
  2398. formatting used in GNAT. It places two blanks after a comment start,
  2399. places one blank between a word end and an opening '(', and puts one
  2400. space between a comma and the beginning of a word.
  2401. ** Scheme mode changes.
  2402. *** Scheme mode indentation now uses many of the facilities of Lisp
  2403. mode; therefore, the variables to customize it are the variables used
  2404. for Lisp mode which have names starting with `lisp-'. The variables
  2405. with names starting with `scheme-' which used to do this no longer
  2406. have any effect.
  2407. If you want to use different indentation for Scheme and Lisp, this is
  2408. still possible, but now you must do it by adding a hook to
  2409. scheme-mode-hook, which could work by setting the `lisp-' indentation
  2410. variables as buffer-local variables.
  2411. *** DSSSL mode is a variant of Scheme mode, for editing DSSSL scripts.
  2412. Use M-x dsssl-mode.
  2413. ** Changes to the emacsclient program
  2414. *** If a socket can't be found, and environment variables LOGNAME or
  2415. USER are set, emacsclient now looks for a socket based on the UID
  2416. associated with the name. That is an emacsclient running as root
  2417. can connect to an Emacs server started by a non-root user.
  2418. *** The emacsclient program now accepts an option --no-wait which tells
  2419. it to return immediately without waiting for you to "finish" the
  2420. buffer in Emacs.
  2421. *** The new option --alternate-editor allows to specify an editor to
  2422. use if Emacs is not running. The environment variable
  2423. ALTERNATE_EDITOR can be used for the same effect; the command line
  2424. option takes precedence.
  2425. ** M-x eldoc-mode enables a minor mode in which the echo area
  2426. constantly shows the parameter list for function being called at point
  2427. (in Emacs Lisp and Lisp Interaction modes only).
  2428. ** C-x n d now runs the new command narrow-to-defun,
  2429. which narrows the accessible parts of the buffer to just
  2430. the current defun.
  2431. ** Emacs now handles the `--' argument in the standard way; all
  2432. following arguments are treated as ordinary file names.
  2433. ** On MSDOS and Windows, the bookmark file is now called _emacs.bmk,
  2434. and the saved desktop file is now called _emacs.desktop (truncated if
  2435. necessary).
  2436. ** When you kill a buffer that visits a file,
  2437. if there are any registers that save positions in the file,
  2438. these register values no longer become completely useless.
  2439. If you try to go to such a register with C-x j, then you are
  2440. asked whether to visit the file again. If you say yes,
  2441. it visits the file and then goes to the same position.
  2442. ** When you visit a file that changes frequently outside Emacs--for
  2443. example, a log of output from a process that continues to run--it may
  2444. be useful for Emacs to revert the file without querying you whenever
  2445. you visit the file afresh with C-x C-f.
  2446. You can request this behavior for certain files by setting the
  2447. variable revert-without-query to a list of regular expressions. If a
  2448. file's name matches any of these regular expressions, find-file and
  2449. revert-buffer revert the buffer without asking for permission--but
  2450. only if you have not edited the buffer text yourself.
  2451. ** set-default-font has been renamed to set-frame-font
  2452. since it applies only to the current frame.
  2453. ** In TeX mode, you can use the variable tex-main-file to specify the
  2454. file for tex-file to run TeX on. (By default, tex-main-file is nil,
  2455. and tex-file runs TeX on the current visited file.)
  2456. This is useful when you are editing a document that consists of
  2457. multiple files. In each of the included files, you can set up a local
  2458. variable list which specifies the top-level file of your document for
  2459. tex-main-file. Then tex-file will run TeX on the whole document
  2460. instead of just the file you are editing.
  2461. ** RefTeX mode
  2462. RefTeX mode is a new minor mode with special support for \label, \ref
  2463. and \cite macros in LaTeX documents. RefTeX distinguishes labels of
  2464. different environments (equation, figure, ...) and has full support for
  2465. multifile documents. To use it, select a buffer with a LaTeX document and
  2466. turn the mode on with M-x reftex-mode. Here are the main user commands:
  2467. C-c ( reftex-label
  2468. Creates a label semi-automatically. RefTeX is context sensitive and
  2469. knows which kind of label is needed.
  2470. C-c ) reftex-reference
  2471. Offers in a menu all labels in the document, along with context of the
  2472. label definition. The selected label is referenced as \ref{LABEL}.
  2473. C-c [ reftex-citation
  2474. Prompts for a regular expression and displays a list of matching BibTeX
  2475. database entries. The selected entry is cited with a \cite{KEY} macro.
  2476. C-c & reftex-view-crossref
  2477. Views the cross reference of a \ref or \cite command near point.
  2478. C-c = reftex-toc
  2479. Shows a table of contents of the (multifile) document. From there you
  2480. can quickly jump to every section.
  2481. Under X, RefTeX installs a "Ref" menu in the menu bar, with additional
  2482. commands. Press `?' to get help when a prompt mentions this feature.
  2483. Full documentation and customization examples are in the file
  2484. reftex.el. You can use the finder to view the file documentation:
  2485. C-h p --> tex --> reftex.el
  2486. ** Changes in BibTeX mode.
  2487. *** Info documentation is now available.
  2488. *** Don't allow parentheses in string constants anymore. This confused
  2489. both the BibTeX program and Emacs BibTeX mode.
  2490. *** Renamed variable bibtex-mode-user-optional-fields to
  2491. bibtex-user-optional-fields.
  2492. *** Removed variable bibtex-include-OPTannote
  2493. (use bibtex-user-optional-fields instead).
  2494. *** New interactive functions to copy and kill fields and complete
  2495. entries to the BibTeX kill ring, from where they can be yanked back by
  2496. appropriate functions.
  2497. *** New interactive functions for repositioning and marking of
  2498. entries. They are bound by default to C-M-l and C-M-h.
  2499. *** New hook bibtex-clean-entry-hook. It is called after entry has
  2500. been cleaned.
  2501. *** New variable bibtex-field-delimiters, which replaces variables
  2502. bibtex-field-{left|right}-delimiter.
  2503. *** New variable bibtex-entry-delimiters to determine how entries
  2504. shall be delimited.
  2505. *** Allow preinitialization of fields. See documentation of
  2506. bibtex-user-optional-fields, bibtex-entry-field-alist, and
  2507. bibtex-include-OPTkey for details.
  2508. *** Book and InBook entries require either an author or an editor
  2509. field. This is now supported by bibtex.el. Alternative fields are
  2510. prefixed with `ALT'.
  2511. *** New variable bibtex-entry-format, which replaces variable
  2512. bibtex-clean-entry-zap-empty-opts and allows specification of many
  2513. formatting options performed on cleaning an entry (see variable
  2514. documentation).
  2515. *** Even more control on how automatic keys are generated. See
  2516. documentation of bibtex-generate-autokey for details. Transcriptions
  2517. for foreign languages other than German are now handled, too.
  2518. *** New boolean user option bibtex-comma-after-last-field to decide if
  2519. comma should be inserted at end of last field.
  2520. *** New boolean user option bibtex-align-at-equal-sign to determine if
  2521. alignment should be made at left side of field contents or at equal
  2522. signs. New user options to control entry layout (e.g. indentation).
  2523. *** New function bibtex-fill-entry to realign entries.
  2524. *** New function bibtex-reformat to reformat region or buffer.
  2525. *** New function bibtex-convert-alien to convert a BibTeX database
  2526. from alien sources.
  2527. *** New function bibtex-complete-key (similar to bibtex-complete-string)
  2528. to complete prefix to a key defined in buffer. Mainly useful in
  2529. crossref entries.
  2530. *** New function bibtex-count-entries to count entries in buffer or
  2531. region.
  2532. *** Added support for imenu.
  2533. *** The function `bibtex-validate' now checks current region instead
  2534. of buffer if mark is active. Now it shows all errors of buffer in a
  2535. `compilation mode' buffer. You can use the normal commands (e.g.
  2536. `next-error') for compilation modes to jump to errors.
  2537. *** New variable `bibtex-string-file-path' to determine where the files
  2538. from `bibtex-string-files' are searched.
  2539. ** Iso Accents mode now supports Latin-3 as an alternative.
  2540. ** The command next-error now opens blocks hidden by hideshow.
  2541. ** The function using-unix-filesystems has been replaced by the
  2542. functions add-untranslated-filesystem and remove-untranslated-filesystem.
  2543. Each of these functions takes the name of a drive letter or directory
  2544. as an argument.
  2545. When a filesystem is added as untranslated, all files on it are read
  2546. and written in binary mode (no cr/lf translation is performed).
  2547. ** browse-url changes
  2548. *** New methods for: Grail (browse-url-generic), MMM (browse-url-mmm),
  2549. Lynx in a separate xterm (browse-url-lynx-xterm) or in an Emacs window
  2550. (browse-url-lynx-emacs), remote W3 (browse-url-w3-gnudoit), generic
  2551. non-remote-controlled browsers (browse-url-generic) and associated
  2552. customization variables.
  2553. *** New commands `browse-url-of-region' and `browse-url'.
  2554. *** URLs marked up with <URL:...> (RFC1738) work if broken across
  2555. lines. Browsing methods can be associated with URL regexps
  2556. (e.g. mailto: URLs) via `browse-url-browser-function'.
  2557. ** Changes in Ediff
  2558. *** Clicking Mouse-2 on a brief command description in Ediff control panel
  2559. pops up the Info file for this command.
  2560. *** There is now a variable, ediff-autostore-merges, which controls whether
  2561. the result of a merge is saved in a file. By default, this is done only when
  2562. merge is done from a session group (eg, when merging files in two different
  2563. directories).
  2564. *** Since Emacs 19.31 (this hasn't been announced before), Ediff can compare
  2565. and merge groups of files residing in different directories, or revisions of
  2566. files in the same directory.
  2567. *** Since Emacs 19.31, Ediff can apply multi-file patches interactively.
  2568. The patches must be in the context format or GNU unified format. (The bug
  2569. related to the GNU format has now been fixed.)
  2570. ** Changes in Viper
  2571. *** The startup file is now .viper instead of .vip
  2572. *** All variable/function names have been changed to start with viper-
  2573. instead of vip-.
  2574. *** C-\ now simulates the meta-key in all Viper states.
  2575. *** C-z in Insert state now escapes to Vi for the duration of the next
  2576. Viper command. In Vi and Insert states, C-z behaves as before.
  2577. *** C-c \ escapes to Vi for one command if Viper is in Insert or Emacs states.
  2578. *** _ is no longer the meta-key in Vi state.
  2579. *** The variable viper-insert-state-cursor-color can be used to change cursor
  2580. color when Viper is in insert state.
  2581. *** If search lands the cursor near the top or the bottom of the window,
  2582. Viper pulls the window up or down to expose more context. The variable
  2583. viper-adjust-window-after-search controls this behavior.
  2584. ** Etags changes.
  2585. *** In C, C++, Objective C and Java, Etags tags global variables by
  2586. default. The resulting tags files are inflated by 30% on average.
  2587. Use --no-globals to turn this feature off. Etags can also tag
  2588. variables which are members of structure-like constructs, but it does
  2589. not by default. Use --members to turn this feature on.
  2590. *** C++ member functions are now recognized as tags.
  2591. *** Java is tagged like C++. In addition, "extends" and "implements"
  2592. constructs are tagged. Files are recognized by the extension .java.
  2593. *** Etags can now handle programs written in PostScript. Files are
  2594. recognized by the extensions .ps and .pdb (PostScript with C syntax).
  2595. In PostScript, tags are lines that start with a slash.
  2596. *** Etags now handles Objective C and Objective C++ code. The usual C and
  2597. C++ tags are recognized in these languages; in addition, etags
  2598. recognizes special Objective C syntax for classes, class categories,
  2599. methods and protocols.
  2600. *** Etags also handles Cobol. Files are recognized by the extension
  2601. .cobol. The tagged lines are those containing a word that begins in
  2602. column 8 and ends in a full stop, i.e. anything that could be a
  2603. paragraph name.
  2604. *** Regexps in Etags now support intervals, as in ed or grep. The syntax of
  2605. an interval is \{M,N\}, and it means to match the preceding expression
  2606. at least M times and as many as N times.
  2607. ** The format for specifying a custom format for time-stamp to insert
  2608. in files has changed slightly.
  2609. With the new enhancements to the functionality of format-time-string,
  2610. time-stamp-format will change to be eventually compatible with it.
  2611. This conversion is being done in two steps to maintain compatibility
  2612. with old time-stamp-format values.
  2613. In the new scheme, alternate case is signified by the number-sign
  2614. (`#') modifier, rather than changing the case of the format character.
  2615. This feature is as yet incompletely implemented for compatibility
  2616. reasons.
  2617. In the old time-stamp-format, all numeric fields defaulted to their
  2618. natural width. (With format-time-string, each format has a
  2619. fixed-width default.) In this version, you can specify the colon
  2620. (`:') modifier to a numeric conversion to mean "give me the historical
  2621. time-stamp-format width default." Do not use colon if you are
  2622. specifying an explicit width, as in "%02d".
  2623. Numbers are no longer truncated to the requested width, except in the
  2624. case of "%02y", which continues to give a two-digit year. Digit
  2625. truncation probably wasn't being used for anything else anyway.
  2626. The new formats will work with old versions of Emacs. New formats are
  2627. being recommended now to allow time-stamp-format to change in the
  2628. future to be compatible with format-time-string. The new forms being
  2629. recommended now will continue to work then.
  2630. See the documentation string for the variable time-stamp-format for
  2631. details.
  2632. ** There are some additional major modes:
  2633. dcl-mode, for editing VMS DCL files.
  2634. m4-mode, for editing files of m4 input.
  2635. meta-mode, for editing MetaFont and MetaPost source files.
  2636. ** In Shell mode, the command shell-copy-environment-variable lets you
  2637. copy the value of a specified environment variable from the subshell
  2638. into Emacs.
  2639. ** New Lisp packages include:
  2640. *** battery.el displays battery status for laptops.
  2641. *** M-x bruce (named after Lenny Bruce) is a program that might
  2642. be used for adding some indecent words to your email.
  2643. *** M-x crisp-mode enables an emulation for the CRiSP editor.
  2644. *** M-x dirtrack arranges for better tracking of directory changes
  2645. in shell buffers.
  2646. *** The new library elint.el provides for linting of Emacs Lisp code.
  2647. See the documentation for `elint-initialize', `elint-current-buffer'
  2648. and `elint-defun'.
  2649. *** M-x expand-add-abbrevs defines a special kind of abbrev which is
  2650. meant for programming constructs. These abbrevs expand like ordinary
  2651. ones, when you type SPC, but only at the end of a line and not within
  2652. strings or comments.
  2653. These abbrevs can act as templates: you can define places within an
  2654. abbrev for insertion of additional text. Once you expand the abbrev,
  2655. you can then use C-x a p and C-x a n to move back and forth to these
  2656. insertion points. Thus you can conveniently insert additional text
  2657. at these points.
  2658. *** filecache.el remembers the location of files so that you
  2659. can visit them by short forms of their names.
  2660. *** find-func.el lets you find the definition of the user-loaded
  2661. Emacs Lisp function at point.
  2662. *** M-x handwrite converts text to a "handwritten" picture.
  2663. *** M-x iswitchb-buffer is a command for switching to a buffer, much like
  2664. switch-buffer, but it reads the argument in a more helpful way.
  2665. *** M-x landmark implements a neural network for landmark learning.
  2666. *** M-x locate provides a convenient interface to the `locate' program.
  2667. *** M4 mode is a new mode for editing files of m4 input.
  2668. *** mantemp.el creates C++ manual template instantiations
  2669. from the GCC error messages which indicate which instantiations are needed.
  2670. *** mouse-copy.el provides a one-click copy and move feature.
  2671. You can drag a region with M-mouse-1, and it is automatically
  2672. inserted at point. M-Shift-mouse-1 deletes the text from its
  2673. original place after inserting the copy.
  2674. *** mouse-drag.el lets you do scrolling by dragging Mouse-2
  2675. on the buffer.
  2676. You click the mouse and move; that distance either translates into the
  2677. velocity to scroll (with mouse-drag-throw) or the distance to scroll
  2678. (with mouse-drag-drag). Horizontal scrolling is enabled when needed.
  2679. Enable mouse-drag with:
  2680. (global-set-key [down-mouse-2] 'mouse-drag-throw)
  2681. -or-
  2682. (global-set-key [down-mouse-2] 'mouse-drag-drag)
  2683. *** mspools.el is useful for determining which mail folders have
  2684. mail waiting to be read in them. It works with procmail.
  2685. *** Octave mode is a major mode for editing files of input for Octave.
  2686. It comes with a facility for communicating with an Octave subprocess.
  2687. *** ogonek
  2688. The ogonek package provides functions for changing the coding of
  2689. Polish diacritic characters in buffers. Codings known from various
  2690. platforms are supported such as ISO8859-2, Mazovia, IBM Latin2, and
  2691. TeX. For example, you can change the coding from Mazovia to
  2692. ISO8859-2. Another example is a change of coding from ISO8859-2 to
  2693. prefix notation (in which `/a' stands for the aogonek character, for
  2694. instance) and vice versa.
  2695. To use this package load it using
  2696. M-x load-library [enter] ogonek
  2697. Then, you may get an explanation by calling one of
  2698. M-x ogonek-jak -- in Polish
  2699. M-x ogonek-how -- in English
  2700. The info specifies the commands and variables provided as well as the
  2701. ways of customization in `.emacs'.
  2702. *** Interface to ph.
  2703. Emacs provides a client interface to CCSO Nameservers (ph/qi)
  2704. The CCSO nameserver is used in many universities to provide directory
  2705. services about people. ph.el provides a convenient Emacs interface to
  2706. these servers.
  2707. *** uce.el is useful for replying to unsolicited commercial email.
  2708. *** vcursor.el implements a "virtual cursor" feature.
  2709. You can move the virtual cursor with special commands
  2710. while the real cursor does not move.
  2711. *** webjump.el is a "hot list" package which you can set up
  2712. for visiting your favorite web sites.
  2713. *** M-x winner-mode is a minor mode which saves window configurations,
  2714. so you can move back to other configurations that you have recently used.
  2715. ** movemail change
  2716. Movemail no longer needs to be installed setuid root in order for POP
  2717. mail retrieval to function properly. This is because it no longer
  2718. supports the RPOP (reserved-port POP) protocol; instead, it uses the
  2719. user's POP password to authenticate to the mail server.
  2720. This change was made earlier, but not reported in NEWS before.
  2721. * Emacs 20.1 changes for MS-DOS and MS-Windows.
  2722. ** Changes in handling MS-DOS/MS-Windows text files.
  2723. Emacs handles three different conventions for representing
  2724. end-of-line: CRLF for MSDOS, LF for Unix and GNU, and CR (used on the
  2725. Macintosh). Emacs determines which convention is used in a specific
  2726. file based on the contents of that file (except for certain special
  2727. file names), and when it saves the file, it uses the same convention.
  2728. To save the file and change the end-of-line convention, you can use
  2729. C-x RET f (set-buffer-file-coding-system) to specify a different
  2730. coding system for the buffer. Then, when you save the file, the newly
  2731. specified coding system will take effect. For example, to save with
  2732. LF, specify undecided-unix (or some other ...-unix coding system); to
  2733. save with CRLF, specify undecided-dos.
  2734. * Lisp Changes in Emacs 20.1
  2735. ** Byte-compiled files made with Emacs 20 will, in general, work in
  2736. Emacs 19 as well, as long as the source code runs in Emacs 19. And
  2737. vice versa: byte-compiled files made with Emacs 19 should also run in
  2738. Emacs 20, as long as the program itself works in Emacs 20.
  2739. ** Windows-specific functions and variables have been renamed
  2740. to start with w32- instead of win32-.
  2741. In hacker language, calling something a "win" is a form of praise. We
  2742. don't want to praise a non-free Microsoft system, so we don't call it
  2743. "win".
  2744. ** Basic Lisp changes
  2745. *** A symbol whose name starts with a colon now automatically
  2746. evaluates to itself. Therefore such a symbol can be used as a constant.
  2747. *** The defined purpose of `defconst' has been changed. It should now
  2748. be used only for values that should not be changed whether by a program
  2749. or by the user.
  2750. The actual behavior of defconst has not been changed.
  2751. *** There are new macros `when' and `unless'
  2752. (when CONDITION BODY...) is short for (if CONDITION (progn BODY...))
  2753. (unless CONDITION BODY...) is short for (if CONDITION nil BODY...)
  2754. *** Emacs now defines functions caar, cadr, cdar and cddr with their
  2755. usual Lisp meanings. For example, caar returns the car of the car of
  2756. its argument.
  2757. *** equal, when comparing strings, now ignores their text properties.
  2758. *** The new function `functionp' tests whether an object is a function.
  2759. *** arrayp now returns t for char-tables and bool-vectors.
  2760. *** Certain primitives which use characters (as integers) now get an
  2761. error if the integer is not a valid character code. These primitives
  2762. include insert-char, char-to-string, and the %c construct in the
  2763. `format' function.
  2764. *** The `require' function now insists on adding a suffix, either .el
  2765. or .elc, to the file name. Thus, (require 'foo) will not use a file
  2766. whose name is just foo. It insists on foo.el or foo.elc.
  2767. *** The `autoload' function, when the file name does not contain
  2768. either a directory name or the suffix .el or .elc, insists on
  2769. adding one of these suffixes.
  2770. *** string-to-number now takes an optional second argument BASE
  2771. which specifies the base to use when converting an integer.
  2772. If BASE is omitted, base 10 is used.
  2773. We have not implemented other radices for floating point numbers,
  2774. because that would be much more work and does not seem useful.
  2775. *** substring now handles vectors as well as strings.
  2776. *** The Common Lisp function eql is no longer defined normally.
  2777. You must load the `cl' library to define it.
  2778. *** The new macro `with-current-buffer' lets you evaluate an expression
  2779. conveniently with a different current buffer. It looks like this:
  2780. (with-current-buffer BUFFER BODY-FORMS...)
  2781. BUFFER is the expression that says which buffer to use.
  2782. BODY-FORMS say what to do in that buffer.
  2783. *** The new primitive `save-current-buffer' saves and restores the
  2784. choice of current buffer, like `save-excursion', but without saving or
  2785. restoring the value of point or the mark. `with-current-buffer'
  2786. works using `save-current-buffer'.
  2787. *** The new macro `with-temp-file' lets you do some work in a new buffer and
  2788. write the output to a specified file. Like `progn', it returns the value
  2789. of the last form.
  2790. *** The new macro `with-temp-buffer' lets you do some work in a new buffer,
  2791. which is discarded after use. Like `progn', it returns the value of the
  2792. last form. If you wish to return the buffer contents, use (buffer-string)
  2793. as the last form.
  2794. *** The new function split-string takes a string, splits it at certain
  2795. characters, and returns a list of the substrings in between the
  2796. matches.
  2797. For example, (split-string "foo bar lose" " +") returns ("foo" "bar" "lose").
  2798. *** The new macro with-output-to-string executes some Lisp expressions
  2799. with standard-output set up so that all output feeds into a string.
  2800. Then it returns that string.
  2801. For example, if the current buffer name is `foo',
  2802. (with-output-to-string
  2803. (princ "The buffer is ")
  2804. (princ (buffer-name)))
  2805. returns "The buffer is foo".
  2806. ** Non-ASCII characters are now supported, if enable-multibyte-characters
  2807. is non-nil.
  2808. These characters have character codes above 256. When inserted in the
  2809. buffer or stored in a string, they are represented as multibyte
  2810. characters that occupy several buffer positions each.
  2811. *** When enable-multibyte-characters is non-nil, a single character in
  2812. a buffer or string can be two or more bytes (as many as four).
  2813. Buffers and strings are still made up of unibyte elements;
  2814. character positions and string indices are always measured in bytes.
  2815. Therefore, moving forward one character can increase the buffer
  2816. position by 2, 3 or 4. The function forward-char moves by whole
  2817. characters, and therefore is no longer equivalent to
  2818. (lambda (n) (goto-char (+ (point) n))).
  2819. ASCII characters (codes 0 through 127) are still single bytes, always.
  2820. Sequences of byte values 128 through 255 are used to represent
  2821. non-ASCII characters. These sequences are called "multibyte
  2822. characters".
  2823. The first byte of a multibyte character is always in the range 128
  2824. through 159 (octal 0200 through 0237). These values are called
  2825. "leading codes". The second and subsequent bytes are always in the
  2826. range 160 through 255 (octal 0240 through 0377). The first byte, the
  2827. leading code, determines how many bytes long the sequence is.
  2828. *** The function forward-char moves over characters, and therefore
  2829. (forward-char 1) may increase point by more than 1 if it moves over a
  2830. multibyte character. Likewise, delete-char always deletes a
  2831. character, which may be more than one buffer position.
  2832. This means that some Lisp programs, which assume that a character is
  2833. always one buffer position, need to be changed.
  2834. However, all ASCII characters are always one buffer position.
  2835. *** The regexp [\200-\377] no longer matches all non-ASCII characters,
  2836. because when enable-multibyte-characters is non-nil, these characters
  2837. have codes that are not in the range octal 200 to octal 377. However,
  2838. the regexp [^\000-\177] does match all non-ASCII characters,
  2839. guaranteed.
  2840. *** The function char-boundary-p returns non-nil if position POS is
  2841. between two characters in the buffer (not in the middle of a
  2842. character).
  2843. When the value is non-nil, it says what kind of character follows POS:
  2844. 0 if POS is at an ASCII character or at the end of range,
  2845. 1 if POS is before a 2-byte length multi-byte form,
  2846. 2 if POS is at a head of 3-byte length multi-byte form,
  2847. 3 if POS is at a head of 4-byte length multi-byte form,
  2848. 4 if POS is at a head of multi-byte form of a composite character.
  2849. *** The function char-bytes returns how many bytes the character CHAR uses.
  2850. *** Strings can contain multibyte characters. The function
  2851. `length' returns the string length counting bytes, which may be
  2852. more than the number of characters.
  2853. You can include a multibyte character in a string constant by writing
  2854. it literally. You can also represent it with a hex escape,
  2855. \xNNNNNNN..., using as many digits as necessary. Any character which
  2856. is not a valid hex digit terminates this construct. If you want to
  2857. follow it with a character that is a hex digit, write backslash and
  2858. newline in between; that will terminate the hex escape.
  2859. *** The function concat-chars takes arguments which are characters
  2860. and returns a string containing those characters.
  2861. *** The function sref access a multibyte character in a string.
  2862. (sref STRING INDX) returns the character in STRING at INDEX. INDEX
  2863. counts from zero. If INDEX is at a position in the middle of a
  2864. character, sref signals an error.
  2865. *** The function chars-in-string returns the number of characters
  2866. in a string. This is less than the length of the string, if the
  2867. string contains multibyte characters (the length counts bytes).
  2868. *** The function chars-in-region returns the number of characters
  2869. in a region from BEG to END. This is less than (- END BEG) if the
  2870. region contains multibyte characters (the length counts bytes).
  2871. *** The function string-to-list converts a string to a list of
  2872. the characters in it. string-to-vector converts a string
  2873. to a vector of the characters in it.
  2874. *** The function store-substring alters part of the contents
  2875. of a string. You call it as follows:
  2876. (store-substring STRING IDX OBJ)
  2877. This says to alter STRING, by storing OBJ starting at index IDX in
  2878. STRING. OBJ may be either a character or a (smaller) string.
  2879. This function really does alter the contents of STRING.
  2880. Since it is impossible to change the length of an existing string,
  2881. it is an error if OBJ doesn't fit within STRING's actual length.
  2882. *** char-width returns the width (in columns) of the character CHAR,
  2883. if it were displayed in the current buffer and the selected window.
  2884. *** string-width returns the width (in columns) of the text in STRING,
  2885. if it were displayed in the current buffer and the selected window.
  2886. *** truncate-string-to-width shortens a string, if necessary,
  2887. to fit within a certain number of columns. (Of course, it does
  2888. not alter the string that you give it; it returns a new string
  2889. which contains all or just part of the existing string.)
  2890. (truncate-string-to-width STR END-COLUMN &optional START-COLUMN PADDING)
  2891. This returns the part of STR up to column END-COLUMN.
  2892. The optional argument START-COLUMN specifies the starting column.
  2893. If this is non-nil, then the first START-COLUMN columns of the string
  2894. are not included in the resulting value.
  2895. The optional argument PADDING, if non-nil, is a padding character to be added
  2896. at the beginning and end the resulting string, to extend it to exactly
  2897. WIDTH columns. If PADDING is nil, that means do not pad; then, if STRING
  2898. is narrower than WIDTH, the value is equal to STRING.
  2899. If PADDING and START-COLUMN are both non-nil, and if there is no clean
  2900. place in STRING that corresponds to START-COLUMN (because one
  2901. character extends across that column), then the padding character
  2902. PADDING is added one or more times at the beginning of the result
  2903. string, so that its columns line up as if it really did start at
  2904. column START-COLUMN.
  2905. *** When the functions in the list after-change-functions are called,
  2906. the third argument is the number of bytes in the pre-change text, not
  2907. necessarily the number of characters. It is, in effect, the
  2908. difference in buffer position between the beginning and the end of the
  2909. changed text, before the change.
  2910. *** The characters Emacs uses are classified in various character
  2911. sets, each of which has a name which is a symbol. In general there is
  2912. one character set for each script, not for each language.
  2913. **** The function charsetp tests whether an object is a character set name.
  2914. **** The variable charset-list holds a list of character set names.
  2915. **** char-charset, given a character code, returns the name of the character
  2916. set that the character belongs to. (The value is a symbol.)
  2917. **** split-char, given a character code, returns a list containing the
  2918. name of the character set, followed by one or two byte-values
  2919. which identify the character within that character set.
  2920. **** make-char, given a character set name and one or two subsequent
  2921. byte-values, constructs a character code. This is roughly the
  2922. opposite of split-char.
  2923. **** find-charset-region returns a list of the character sets
  2924. of all the characters between BEG and END.
  2925. **** find-charset-string returns a list of the character sets
  2926. of all the characters in a string.
  2927. *** Here are the Lisp facilities for working with coding systems
  2928. and specifying coding systems.
  2929. **** The function coding-system-list returns a list of all coding
  2930. system names (symbols). With optional argument t, it returns a list
  2931. of all distinct base coding systems, not including variants.
  2932. (Variant coding systems are those like latin-1-dos, latin-1-unix
  2933. and latin-1-mac which specify the end-of-line conversion as well
  2934. as what to do about code conversion.)
  2935. **** coding-system-p tests a symbol to see if it is a coding system
  2936. name. It returns t if so, nil if not.
  2937. **** file-coding-system-alist specifies which coding systems to use
  2938. for certain file names. It works like network-coding-system-alist,
  2939. except that the PATTERN is matched against the file name.
  2940. Each element has the format (PATTERN . VAL), where PATTERN determines
  2941. which file names the element applies to. PATTERN should be a regexp
  2942. to match against a file name.
  2943. VAL is a coding system, a cons cell containing two coding systems, or
  2944. a function symbol. If VAL is a coding system, it is used for both
  2945. decoding what received from the network stream and encoding what sent
  2946. to the network stream. If VAL is a cons cell containing two coding
  2947. systems, the car specifies the coding system for decoding, and the cdr
  2948. specifies the coding system for encoding.
  2949. If VAL is a function symbol, the function must return a coding system
  2950. or a cons cell containing two coding systems, which is used as above.
  2951. **** The variable network-coding-system-alist specifies
  2952. the coding system to use for network sockets.
  2953. Each element has the format (PATTERN . VAL), where PATTERN determines
  2954. which network sockets the element applies to. PATTERN should be
  2955. either a port number or a regular expression matching some network
  2956. service names.
  2957. VAL is a coding system, a cons cell containing two coding systems, or
  2958. a function symbol. If VAL is a coding system, it is used for both
  2959. decoding what received from the network stream and encoding what sent
  2960. to the network stream. If VAL is a cons cell containing two coding
  2961. systems, the car specifies the coding system for decoding, and the cdr
  2962. specifies the coding system for encoding.
  2963. If VAL is a function symbol, the function must return a coding system
  2964. or a cons cell containing two coding systems, which is used as above.
  2965. **** process-coding-system-alist specifies which coding systems to use
  2966. for certain subprocess. It works like network-coding-system-alist,
  2967. except that the PATTERN is matched against the program name used to
  2968. start the subprocess.
  2969. **** The variable default-process-coding-system specifies the coding
  2970. systems to use for subprocess (and net connection) input and output,
  2971. when nothing else specifies what to do. The value is a cons cell
  2972. (OUTPUT-CODING . INPUT-CODING). OUTPUT-CODING applies to output
  2973. to the subprocess, and INPUT-CODING applies to input from it.
  2974. **** The variable coding-system-for-write, if non-nil, specifies the
  2975. coding system to use for writing a file, or for output to a synchronous
  2976. subprocess.
  2977. It also applies to any asynchronous subprocess or network connection,
  2978. but in a different way: the value of coding-system-for-write when you
  2979. start the subprocess or connection affects that subprocess or
  2980. connection permanently or until overridden.
  2981. The variable coding-system-for-write takes precedence over
  2982. file-coding-system-alist, process-coding-system-alist and
  2983. network-coding-system-alist, and all other methods of specifying a
  2984. coding system for output. But most of the time this variable is nil.
  2985. It exists so that Lisp programs can bind it to a specific coding
  2986. system for one operation at a time.
  2987. **** coding-system-for-read applies similarly to input from
  2988. files, subprocesses or network connections.
  2989. **** The function process-coding-system tells you what
  2990. coding systems(s) an existing subprocess is using.
  2991. The value is a cons cell,
  2992. (DECODING-CODING-SYSTEM . ENCODING-CODING-SYSTEM)
  2993. where DECODING-CODING-SYSTEM is used for decoding output from
  2994. the subprocess, and ENCODING-CODING-SYSTEM is used for encoding
  2995. input to the subprocess.
  2996. **** The function set-process-coding-system can be used to
  2997. change the coding systems in use for an existing subprocess.
  2998. ** Emacs has a new facility to help users manage the many
  2999. customization options. To make a Lisp program work with this facility,
  3000. you need to use the new macros defgroup and defcustom.
  3001. You use defcustom instead of defvar, for defining a user option
  3002. variable. The difference is that you specify two additional pieces of
  3003. information (usually): the "type" which says what values are
  3004. legitimate, and the "group" which specifies the hierarchy for
  3005. customization.
  3006. Thus, instead of writing
  3007. (defvar foo-blurgoze nil
  3008. "*Non-nil means that foo will act very blurgozely.")
  3009. you would now write this:
  3010. (defcustom foo-blurgoze nil
  3011. "*Non-nil means that foo will act very blurgozely."
  3012. :type 'boolean
  3013. :group foo)
  3014. The type `boolean' means that this variable has only
  3015. two meaningful states: nil and non-nil. Other type values
  3016. describe other possibilities; see the manual for Custom
  3017. for a description of them.
  3018. The "group" argument is used to specify a group which the option
  3019. should belong to. You define a new group like this:
  3020. (defgroup ispell nil
  3021. "Spell checking using Ispell."
  3022. :group 'processes)
  3023. The "group" argument in defgroup specifies the parent group. The root
  3024. group is called `emacs'; it should not contain any variables itself,
  3025. but only other groups. The immediate subgroups of `emacs' correspond
  3026. to the keywords used by C-h p. Under these subgroups come
  3027. second-level subgroups that belong to individual packages.
  3028. Each Emacs package should have its own set of groups. A simple
  3029. package should have just one group; a more complex package should
  3030. have a hierarchy of its own groups. The sole or root group of a
  3031. package should be a subgroup of one or more of the "keyword"
  3032. first-level subgroups.
  3033. ** New `widget' library for inserting UI components in buffers.
  3034. This library, used by the new custom library, is documented in a
  3035. separate manual that accompanies Emacs.
  3036. ** easy-mmode
  3037. The easy-mmode package provides macros and functions that make
  3038. developing minor modes easier. Roughly, the programmer has to code
  3039. only the functionality of the minor mode. All the rest--toggles,
  3040. predicate, and documentation--can be done in one call to the macro
  3041. `easy-mmode-define-minor-mode' (see the documentation). See also
  3042. `easy-mmode-define-keymap'.
  3043. ** Text property changes
  3044. *** The `intangible' property now works on overlays as well as on a
  3045. text property.
  3046. *** The new functions next-char-property-change and
  3047. previous-char-property-change scan through the buffer looking for a
  3048. place where either a text property or an overlay might change. The
  3049. functions take two arguments, POSITION and LIMIT. POSITION is the
  3050. starting position for the scan. LIMIT says where to stop the scan.
  3051. If no property change is found before LIMIT, the value is LIMIT. If
  3052. LIMIT is nil, scan goes to the beginning or end of the accessible part
  3053. of the buffer. If no property change is found, the value is the
  3054. position of the beginning or end of the buffer.
  3055. *** In the `local-map' text property or overlay property, the property
  3056. value can now be a symbol whose function definition is a keymap. This
  3057. is an alternative to using the keymap itself.
  3058. ** Changes in invisibility features
  3059. *** Isearch can now temporarily show parts of the buffer which are
  3060. hidden by an overlay with a invisible property, when the search match
  3061. is inside that portion of the buffer. To enable this the overlay
  3062. should have a isearch-open-invisible property which is a function that
  3063. would be called having the overlay as an argument, the function should
  3064. make the overlay visible.
  3065. During incremental search the overlays are shown by modifying the
  3066. invisible and intangible properties, if beside this more actions are
  3067. needed the overlay should have a isearch-open-invisible-temporary
  3068. which is a function. The function is called with 2 arguments: one is
  3069. the overlay and the second is nil when it should show the overlay and
  3070. t when it should hide it.
  3071. *** add-to-invisibility-spec, remove-from-invisibility-spec
  3072. Modes that use overlays to hide portions of a buffer should set the
  3073. invisible property of the overlay to the mode's name (or another symbol)
  3074. and modify the `buffer-invisibility-spec' to include that symbol.
  3075. Use `add-to-invisibility-spec' and `remove-from-invisibility-spec' to
  3076. manipulate the `buffer-invisibility-spec'.
  3077. Here is an example of how to do this:
  3078. ;; If we want to display an ellipsis:
  3079. (add-to-invisibility-spec '(my-symbol . t))
  3080. ;; If you don't want ellipsis:
  3081. (add-to-invisibility-spec 'my-symbol)
  3082. ...
  3083. (overlay-put (make-overlay beginning end) 'invisible 'my-symbol)
  3084. ...
  3085. ;; When done with the overlays:
  3086. (remove-from-invisibility-spec '(my-symbol . t))
  3087. ;; Or respectively:
  3088. (remove-from-invisibility-spec 'my-symbol)
  3089. ** Changes in syntax parsing.
  3090. *** The syntax-directed buffer-scan functions (such as
  3091. `parse-partial-sexp', `forward-word' and similar functions) can now
  3092. obey syntax information specified by text properties, if the variable
  3093. `parse-sexp-lookup-properties' is non-nil.
  3094. If the value of `parse-sexp-lookup-properties' is nil, the behavior
  3095. is as before: the syntax-table of the current buffer is always
  3096. used to determine the syntax of the character at the position.
  3097. When `parse-sexp-lookup-properties' is non-nil, the syntax of a
  3098. character in the buffer is calculated thus:
  3099. a) if the `syntax-table' text-property of that character
  3100. is a cons, this cons becomes the syntax-type;
  3101. Valid values of `syntax-table' text-property are: nil, a valid
  3102. syntax-table, and a valid syntax-table element, i.e.,
  3103. a cons cell of the form (SYNTAX-CODE . MATCHING-CHAR).
  3104. b) if the character's `syntax-table' text-property
  3105. is a syntax table, this syntax table is used
  3106. (instead of the syntax-table of the current buffer) to
  3107. determine the syntax type of the character.
  3108. c) otherwise the syntax-type is determined by the syntax-table
  3109. of the current buffer.
  3110. *** The meaning of \s in regular expressions is also affected by the
  3111. value of `parse-sexp-lookup-properties'. The details are the same as
  3112. for the syntax-directed buffer-scan functions.
  3113. *** There are two new syntax-codes, `!' and `|' (numeric values 14
  3114. and 15). A character with a code `!' starts a comment which is ended
  3115. only by another character with the same code (unless quoted). A
  3116. character with a code `|' starts a string which is ended only by
  3117. another character with the same code (unless quoted).
  3118. These codes are mainly meant for use as values of the `syntax-table'
  3119. text property.
  3120. *** The function `parse-partial-sexp' has new semantics for the sixth
  3121. arg COMMENTSTOP. If it is `syntax-table', parse stops after the start
  3122. of a comment or a string, or after end of a comment or a string.
  3123. *** The state-list which the return value from `parse-partial-sexp'
  3124. (and can also be used as an argument) now has an optional ninth
  3125. element: the character address of the start of last comment or string;
  3126. nil if none. The fourth and eighth elements have special values if the
  3127. string/comment is started by a "!" or "|" syntax-code.
  3128. *** Since new features of `parse-partial-sexp' allow a complete
  3129. syntactic parsing, `font-lock' no longer supports
  3130. `font-lock-comment-start-regexp'.
  3131. ** Changes in face features
  3132. *** The face functions are now unconditionally defined in Emacs, even
  3133. if it does not support displaying on a device that supports faces.
  3134. *** The function face-documentation returns the documentation string
  3135. of a face (or nil if it doesn't have one).
  3136. *** The function face-bold-p returns t if a face should be bold.
  3137. set-face-bold-p sets that flag.
  3138. *** The function face-italic-p returns t if a face should be italic.
  3139. set-face-italic-p sets that flag.
  3140. *** You can now specify foreground and background colors for text
  3141. by adding elements of the form (foreground-color . COLOR-NAME)
  3142. and (background-color . COLOR-NAME) to the list of faces in
  3143. the `face' property (either the character's text property or an
  3144. overlay property).
  3145. This means that you no longer need to create named faces to use
  3146. arbitrary colors in a Lisp package.
  3147. ** Changes in file-handling functions
  3148. *** File-access primitive functions no longer discard an extra redundant
  3149. directory name from the beginning of the file name. In other words,
  3150. they no longer do anything special with // or /~. That conversion
  3151. is now done only in substitute-in-file-name.
  3152. This makes it possible for a Lisp program to open a file whose name
  3153. begins with ~.
  3154. *** If copy-file is unable to set the date of the output file,
  3155. it now signals an error with the condition file-date-error.
  3156. *** The inode number returned by file-attributes may be an integer (if
  3157. the number fits in a Lisp integer) or a list of integers.
  3158. *** insert-file-contents can now read from a special file,
  3159. as long as the arguments VISIT and REPLACE are nil.
  3160. *** The RAWFILE arg to find-file-noselect, if non-nil, now suppresses
  3161. character code conversion as well as other things.
  3162. Meanwhile, this feature does work with remote file names
  3163. (formerly it did not).
  3164. *** Lisp packages which create temporary files should use the TMPDIR
  3165. environment variable to decide which directory to put them in.
  3166. *** interpreter-mode-alist elements now specify regexps
  3167. instead of constant strings.
  3168. *** expand-file-name no longer treats `//' or `/~' specially. It used
  3169. to delete all the text of a file name up through the first slash of
  3170. any `//' or `/~' sequence. Now it passes them straight through.
  3171. substitute-in-file-name continues to treat those sequences specially,
  3172. in the same way as before.
  3173. *** The variable `format-alist' is more general now.
  3174. The FROM-FN and TO-FN in a format definition can now be strings
  3175. which specify shell commands to use as filters to perform conversion.
  3176. *** The new function access-file tries to open a file, and signals an
  3177. error if that fails. If the open succeeds, access-file does nothing
  3178. else, and returns nil.
  3179. *** The function insert-directory now signals an error if the specified
  3180. directory cannot be listed.
  3181. ** Changes in minibuffer input
  3182. *** The functions read-buffer, read-variable, read-command, read-string
  3183. read-file-name, read-from-minibuffer and completing-read now take an
  3184. additional argument which specifies the default value. If this
  3185. argument is non-nil, it should be a string; that string is used in two
  3186. ways:
  3187. It is returned if the user enters empty input.
  3188. It is available through the history command M-n.
  3189. *** The functions read-string, read-from-minibuffer,
  3190. read-no-blanks-input and completing-read now take an additional
  3191. argument INHERIT-INPUT-METHOD. If this is non-nil, then the
  3192. minibuffer inherits the current input method and the setting of
  3193. enable-multibyte-characters from the previously current buffer.
  3194. In an interactive spec, you can use M instead of s to read an
  3195. argument in this way.
  3196. *** All minibuffer input functions discard text properties
  3197. from the text you enter in the minibuffer, unless the variable
  3198. minibuffer-allow-text-properties is non-nil.
  3199. ** Echo area features
  3200. *** Clearing the echo area now runs the normal hook
  3201. echo-area-clear-hook. Note that the echo area can be used while the
  3202. minibuffer is active; in that case, the minibuffer is still active
  3203. after the echo area is cleared.
  3204. *** The function current-message returns the message currently displayed
  3205. in the echo area, or nil if there is none.
  3206. ** Keyboard input features
  3207. *** tty-erase-char is a new variable that reports which character was
  3208. set up as the terminal's erase character when time Emacs was started.
  3209. *** num-nonmacro-input-events is the total number of input events
  3210. received so far from the terminal. It does not count those generated
  3211. by keyboard macros.
  3212. ** Frame-related changes
  3213. *** make-frame runs the normal hook before-make-frame-hook just before
  3214. creating a frame, and just after creating a frame it runs the abnormal
  3215. hook after-make-frame-functions with the new frame as arg.
  3216. *** The new hook window-configuration-change-hook is now run every time
  3217. the window configuration has changed. The frame whose configuration
  3218. has changed is the selected frame when the hook is run.
  3219. *** Each frame now independently records the order for recently
  3220. selected buffers, in its buffer-list frame parameter, so that the
  3221. value of other-buffer is now based on the buffers recently displayed
  3222. in the selected frame.
  3223. *** The value of the frame parameter vertical-scroll-bars
  3224. is now `left', `right' or nil. A non-nil value specifies
  3225. which side of the window to put the scroll bars on.
  3226. ** X Windows features
  3227. *** You can examine X resources for other applications by binding
  3228. x-resource-class around a call to x-get-resource. The usual value of
  3229. x-resource-class is "Emacs", which is the correct value for Emacs.
  3230. *** In menus, checkboxes and radio buttons now actually work.
  3231. The menu displays the current status of the box or button.
  3232. *** The function x-list-fonts now takes an optional fourth argument
  3233. MAXIMUM which sets a limit on how many matching fonts to return.
  3234. A smaller value of MAXIMUM makes the function faster.
  3235. If the only question is whether *any* font matches the pattern,
  3236. it is good to supply 1 for this argument.
  3237. ** Subprocess features
  3238. *** A reminder: it is no longer necessary for subprocess filter
  3239. functions and sentinels to do save-match-data, because Emacs does this
  3240. automatically.
  3241. *** The new function shell-command-to-string executes a shell command
  3242. and returns the output from the command as a string.
  3243. *** The new function process-contact returns t for a child process,
  3244. and (HOSTNAME SERVICE) for a net connection.
  3245. ** An error in running pre-command-hook or post-command-hook
  3246. does clear the variable to nil. The documentation was wrong before.
  3247. ** In define-key-after, if AFTER is t, the new binding now always goes
  3248. at the end of the keymap. If the keymap is a menu, this means it
  3249. goes after the other menu items.
  3250. ** If you have a program that makes several changes in the same area
  3251. of the buffer, you can use the macro combine-after-change-calls
  3252. around that Lisp code to make it faster when after-change hooks
  3253. are in use.
  3254. The macro arranges to call the after-change functions just once for a
  3255. series of several changes--if that seems safe.
  3256. Don't alter the variables after-change-functions and
  3257. after-change-function within the body of a combine-after-change-calls
  3258. form.
  3259. ** If you define an abbrev (with define-abbrev) whose EXPANSION
  3260. is not a string, then the abbrev does not expand in the usual sense,
  3261. but its hook is still run.
  3262. ** Normally, the Lisp debugger is not used (even if you have enabled it)
  3263. for errors that are handled by condition-case.
  3264. If you set debug-on-signal to a non-nil value, then the debugger is called
  3265. regardless of whether there is a handler for the condition. This is
  3266. useful for debugging problems that happen inside of a condition-case.
  3267. This mode of operation seems to be unreliable in other ways. Errors that
  3268. are normal and ought to be handled, perhaps in timers or process
  3269. filters, will instead invoke the debugger. So don't say you weren't
  3270. warned.
  3271. ** The new variable ring-bell-function lets you specify your own
  3272. way for Emacs to "ring the bell".
  3273. ** If run-at-time's TIME argument is t, the action is repeated at
  3274. integral multiples of REPEAT from the epoch; this is useful for
  3275. functions like display-time.
  3276. ** You can use the function locate-library to find the precise file
  3277. name of a Lisp library. This isn't new, but wasn't documented before.
  3278. ** Commands for entering view mode have new optional arguments that
  3279. can be used from Lisp. Low-level entrance to and exit from view mode
  3280. is done by functions view-mode-enter and view-mode-exit.
  3281. ** batch-byte-compile-file now makes Emacs return a nonzero status code
  3282. if there is an error in compilation.
  3283. ** pop-to-buffer, switch-to-buffer-other-window and
  3284. switch-to-buffer-other-frame now accept an additional optional
  3285. argument NORECORD, much like switch-to-buffer. If it is non-nil,
  3286. they don't put the buffer at the front of the buffer list.
  3287. ** If your .emacs file leaves the *scratch* buffer non-empty,
  3288. Emacs does not display the startup message, so as to avoid changing
  3289. the *scratch* buffer.
  3290. ** The new function regexp-opt returns an efficient regexp to match a string.
  3291. The arguments are STRINGS and (optionally) PAREN. This function can be used
  3292. where regexp matching or searching is intensively used and speed is important,
  3293. e.g., in Font Lock mode.
  3294. ** The variable buffer-display-count is local to each buffer,
  3295. and is incremented each time the buffer is displayed in a window.
  3296. It starts at 0 when the buffer is created.
  3297. ** The new function compose-mail starts composing a mail message
  3298. using the user's chosen mail composition agent (specified with the
  3299. variable mail-user-agent). It has variants compose-mail-other-window
  3300. and compose-mail-other-frame.
  3301. ** The `user-full-name' function now takes an optional parameter which
  3302. can either be a number (the UID) or a string (the login name). The
  3303. full name of the specified user will be returned.
  3304. ** Lisp packages that load files of customizations, or any other sort
  3305. of user profile, should obey the variable init-file-user in deciding
  3306. where to find it. They should load the profile of the user name found
  3307. in that variable. If init-file-user is nil, meaning that the -q
  3308. option was used, then Lisp packages should not load the customization
  3309. files at all.
  3310. ** format-time-string now allows you to specify the field width
  3311. and type of padding. This works as in printf: you write the field
  3312. width as digits in the middle of a %-construct. If you start
  3313. the field width with 0, it means to pad with zeros.
  3314. For example, %S normally specifies the number of seconds since the
  3315. minute; %03S means to pad this with zeros to 3 positions, %_3S to pad
  3316. with spaces to 3 positions. Plain %3S pads with zeros, because that
  3317. is how %S normally pads to two positions.
  3318. ** thing-at-point now supports a new kind of "thing": url.
  3319. ** imenu.el changes.
  3320. You can now specify a function to be run when selecting an
  3321. item from menu created by imenu.
  3322. An example of using this feature: if we define imenu items for the
  3323. #include directives in a C file, we can open the included file when we
  3324. select one of those items.
  3325. ----------------------------------------------------------------------
  3326. This file is part of GNU Emacs.
  3327. GNU Emacs is free software: you can redistribute it and/or modify
  3328. it under the terms of the GNU General Public License as published by
  3329. the Free Software Foundation, either version 3 of the License, or
  3330. (at your option) any later version.
  3331. GNU Emacs is distributed in the hope that it will be useful,
  3332. but WITHOUT ANY WARRANTY; without even the implied warranty of
  3333. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  3334. GNU General Public License for more details.
  3335. You should have received a copy of the GNU General Public License
  3336. along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
  3337. Local variables:
  3338. mode: outline
  3339. paragraph-separate: "[ ]*$"
  3340. end: