gnus-4 226 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869
  1. This is ../../info/gnus, produced by makeinfo version 4.13 from
  2. gnus.texi.
  3. Copyright (C) 1995-2012 Free Software Foundation, Inc.
  4. Permission is granted to copy, distribute and/or modify this
  5. document under the terms of the GNU Free Documentation License,
  6. Version 1.3 or any later version published by the Free Software
  7. Foundation; with no Invariant Sections, with the Front-Cover texts
  8. being "A GNU Manual", and with the Back-Cover Texts as in (a)
  9. below. A copy of the license is included in the section entitled
  10. "GNU Free Documentation License".
  11. (a) The FSF's Back-Cover Text is: "You have the freedom to copy and
  12. modify this GNU manual. Buying copies from the FSF supports it in
  13. developing GNU and promoting software freedom."
  14. INFO-DIR-SECTION Emacs network features
  15. START-INFO-DIR-ENTRY
  16. * Gnus: (gnus). The newsreader Gnus.
  17. END-INFO-DIR-ENTRY
  18. 
  19. File: gnus, Node: September Gnus, Next: Red Gnus, Prev: ding Gnus, Up: New Features
  20. 11.2.8.2 September Gnus
  21. .......................
  22. New features in Gnus 5.2/5.3:
  23. * A new message composition mode is used. All old customization
  24. variables for `mail-mode', `rnews-reply-mode' and `gnus-msg' are
  25. now obsolete.
  26. * Gnus is now able to generate "sparse" threads--threads where
  27. missing articles are represented by empty nodes (*note Customizing
  28. Threading::).
  29. (setq gnus-build-sparse-threads 'some)
  30. * Outgoing articles are stored on a special archive server (*note
  31. Archived Messages::).
  32. * Partial thread regeneration now happens when articles are referred.
  33. * Gnus can make use of GroupLens predictions.
  34. * Picons (personal icons) can be displayed under XEmacs (*note
  35. Picons::).
  36. * A `trn'-like tree buffer can be displayed (*note Tree Display::).
  37. (setq gnus-use-trees t)
  38. * An `nn'-like pick-and-read minor mode is available for the summary
  39. buffers (*note Pick and Read::).
  40. (add-hook 'gnus-summary-mode-hook 'gnus-pick-mode)
  41. * In binary groups you can use a special binary minor mode (*note
  42. Binary Groups::).
  43. * Groups can be grouped in a folding topic hierarchy (*note Group
  44. Topics::).
  45. (add-hook 'gnus-group-mode-hook 'gnus-topic-mode)
  46. * Gnus can re-send and bounce mail (*note Summary Mail Commands::).
  47. * Groups can now have a score, and bubbling based on entry frequency
  48. is possible (*note Group Score::).
  49. (add-hook 'gnus-summary-exit-hook 'gnus-summary-bubble-group)
  50. * Groups can be process-marked, and commands can be performed on
  51. groups of groups (*note Marking Groups::).
  52. * Caching is possible in virtual groups.
  53. * `nndoc' now understands all kinds of digests, mail boxes, rnews
  54. news batches, ClariNet briefs collections, and just about
  55. everything else (*note Document Groups::).
  56. * Gnus has a new back end (`nnsoup') to create/read SOUP packets.
  57. * The Gnus cache is much faster.
  58. * Groups can be sorted according to many criteria (*note Sorting
  59. Groups::).
  60. * New group parameters have been introduced to set list-addresses and
  61. expiry times (*note Group Parameters::).
  62. * All formatting specs allow specifying faces to be used (*note
  63. Formatting Fonts::).
  64. * There are several more commands for setting/removing/acting on
  65. process marked articles on the `M P' submap (*note Setting Process
  66. Marks::).
  67. * The summary buffer can be limited to show parts of the available
  68. articles based on a wide range of criteria. These commands have
  69. been bound to keys on the `/' submap (*note Limiting::).
  70. * Articles can be made persistent with the `*' command (*note
  71. Persistent Articles::).
  72. * All functions for hiding article elements are now toggles.
  73. * Article headers can be buttonized (*note Article Washing::).
  74. * All mail back ends support fetching articles by `Message-ID'.
  75. * Duplicate mail can now be treated properly (*note Duplicates::).
  76. * All summary mode commands are available directly from the article
  77. buffer (*note Article Keymap::).
  78. * Frames can be part of `gnus-buffer-configuration' (*note Window
  79. Layout::).
  80. * Mail can be re-scanned by a daemonic process (*note Daemons::).
  81. * Groups can be made permanently visible (*note Listing Groups::).
  82. (setq gnus-permanently-visible-groups "^nnml:")
  83. * Many new hooks have been introduced to make customizing easier.
  84. * Gnus respects the `Mail-Copies-To' header.
  85. * Threads can be gathered by looking at the `References' header
  86. (*note Customizing Threading::).
  87. (setq gnus-summary-thread-gathering-function
  88. 'gnus-gather-threads-by-references)
  89. * Read articles can be stored in a special backlog buffer to avoid
  90. refetching (*note Article Backlog::).
  91. (setq gnus-keep-backlog 50)
  92. * A clean copy of the current article is always stored in a separate
  93. buffer to allow easier treatment.
  94. * Gnus can suggest where to save articles (*note Saving Articles::).
  95. * Gnus doesn't have to do as much prompting when saving (*note
  96. Saving Articles::).
  97. (setq gnus-prompt-before-saving t)
  98. * `gnus-uu' can view decoded files asynchronously while fetching
  99. articles (*note Other Decode Variables::).
  100. (setq gnus-uu-grabbed-file-functions 'gnus-uu-grab-view)
  101. * Filling in the article buffer now works properly on cited text
  102. (*note Article Washing::).
  103. * Hiding cited text adds buttons to toggle hiding, and how much
  104. cited text to hide is now customizable (*note Article Hiding::).
  105. (setq gnus-cited-lines-visible 2)
  106. * Boring headers can be hidden (*note Article Hiding::).
  107. * Default scoring values can now be set from the menu bar.
  108. * Further syntax checking of outgoing articles have been added.
  109. 
  110. File: gnus, Node: Red Gnus, Next: Quassia Gnus, Prev: September Gnus, Up: New Features
  111. 11.2.8.3 Red Gnus
  112. .................
  113. New features in Gnus 5.4/5.5:
  114. * `nntp.el' has been totally rewritten in an asynchronous fashion.
  115. * Article prefetching functionality has been moved up into Gnus
  116. (*note Asynchronous Fetching::).
  117. * Scoring can now be performed with logical operators like `and',
  118. `or', `not', and parent redirection (*note Advanced Scoring::).
  119. * Article washing status can be displayed in the article mode line
  120. (*note Misc Article::).
  121. * `gnus.el' has been split into many smaller files.
  122. * Suppression of duplicate articles based on Message-ID can be done
  123. (*note Duplicate Suppression::).
  124. (setq gnus-suppress-duplicates t)
  125. * New variables for specifying what score and adapt files are to be
  126. considered home score and adapt files (*note Home Score File::)
  127. have been added.
  128. * `nndoc' was rewritten to be easily extensible (*note Document
  129. Server Internals::).
  130. * Groups can inherit group parameters from parent topics (*note
  131. Topic Parameters::).
  132. * Article editing has been revamped and is now actually usable.
  133. * Signatures can be recognized in more intelligent fashions (*note
  134. Article Signature::).
  135. * Summary pick mode has been made to look more `nn'-like. Line
  136. numbers are displayed and the `.' command can be used to pick
  137. articles (`Pick and Read').
  138. * Commands for moving the `.newsrc.eld' from one server to another
  139. have been added (*note Changing Servers::).
  140. * There's a way now to specify that "uninteresting" fields be
  141. suppressed when generating lines in buffers (*note Advanced
  142. Formatting::).
  143. * Several commands in the group buffer can be undone with `C-M-_'
  144. (*note Undo::).
  145. * Scoring can be done on words using the new score type `w' (*note
  146. Score File Format::).
  147. * Adaptive scoring can be done on a Subject word-by-word basis
  148. (*note Adaptive Scoring::).
  149. (setq gnus-use-adaptive-scoring '(word))
  150. * Scores can be decayed (*note Score Decays::).
  151. (setq gnus-decay-scores t)
  152. * Scoring can be performed using a regexp on the Date header. The
  153. Date is normalized to compact ISO 8601 format first (*note Score
  154. File Format::).
  155. * A new command has been added to remove all data on articles from
  156. the native server (*note Changing Servers::).
  157. * A new command for reading collections of documents (`nndoc' with
  158. `nnvirtual' on top) has been added--`C-M-d' (*note Really Various
  159. Summary Commands::).
  160. * Process mark sets can be pushed and popped (*note Setting Process
  161. Marks::).
  162. * A new mail-to-news back end makes it possible to post even when
  163. the NNTP server doesn't allow posting (*note Mail-To-News
  164. Gateways::).
  165. * A new back end for reading searches from Web search engines
  166. ("DejaNews", "Alta Vista", "InReference") has been added (*note
  167. Web Searches::).
  168. * Groups inside topics can now be sorted using the standard sorting
  169. functions, and each topic can be sorted independently (*note Topic
  170. Sorting::).
  171. * Subsets of the groups can be sorted independently (`Sorting
  172. Groups').
  173. * Cached articles can be pulled into the groups (*note Summary
  174. Generation Commands::).
  175. * Score files are now applied in a more reliable order (*note Score
  176. Variables::).
  177. * Reports on where mail messages end up can be generated (*note
  178. Splitting Mail::).
  179. * More hooks and functions have been added to remove junk from
  180. incoming mail before saving the mail (*note Washing Mail::).
  181. * Emphasized text can be properly fontisized:
  182. 
  183. File: gnus, Node: Quassia Gnus, Next: Pterodactyl Gnus, Prev: Red Gnus, Up: New Features
  184. 11.2.8.4 Quassia Gnus
  185. .....................
  186. New features in Gnus 5.6:
  187. * New functionality for using Gnus as an offline newsreader has been
  188. added. A plethora of new commands and modes have been added.
  189. *Note Gnus Unplugged::, for the full story.
  190. * The `nndraft' back end has returned, but works differently than
  191. before. All Message buffers are now also articles in the `nndraft'
  192. group, which is created automatically.
  193. * `gnus-alter-header-function' can now be used to alter header
  194. values.
  195. * `gnus-summary-goto-article' now accept Message-ID's.
  196. * A new Message command for deleting text in the body of a message
  197. outside the region: `C-c C-v'.
  198. * You can now post to component group in `nnvirtual' groups with
  199. `C-u C-c C-c'.
  200. * `nntp-rlogin-program'--new variable to ease customization.
  201. * `C-u C-c C-c' in `gnus-article-edit-mode' will now inhibit
  202. re-highlighting of the article buffer.
  203. * New element in `gnus-boring-article-headers'--`long-to'.
  204. * `M-i' symbolic prefix command. *Note Symbolic Prefixes::, for
  205. details.
  206. * `L' and `I' in the summary buffer now take the symbolic prefix `a'
  207. to add the score rule to the `all.SCORE' file.
  208. * `gnus-simplify-subject-functions' variable to allow greater
  209. control over simplification.
  210. * `A T'--new command for fetching the current thread.
  211. * `/ T'--new command for including the current thread in the limit.
  212. * `M-RET' is a new Message command for breaking cited text.
  213. * `\\1'-expressions are now valid in `nnmail-split-methods'.
  214. * The `custom-face-lookup' function has been removed. If you used
  215. this function in your initialization files, you must rewrite them
  216. to use `face-spec-set' instead.
  217. * Canceling now uses the current select method. Symbolic prefix `a'
  218. forces normal posting method.
  219. * New command to translate M******** sm*rtq**t*s into proper
  220. text--`W d'.
  221. * For easier debugging of `nntp', you can set `nntp-record-commands'
  222. to a non-`nil' value.
  223. * `nntp' now uses `~/.authinfo', a `.netrc'-like file, for
  224. controlling where and how to send AUTHINFO to NNTP servers.
  225. * A command for editing group parameters from the summary buffer has
  226. been added.
  227. * A history of where mails have been split is available.
  228. * A new article date command has been added--`article-date-iso8601'.
  229. * Subjects can be simplified when threading by setting
  230. `gnus-score-thread-simplify'.
  231. * A new function for citing in Message has been
  232. added--`message-cite-original-without-signature'.
  233. * `article-strip-all-blank-lines'--new article command.
  234. * A new Message command to kill to the end of the article has been
  235. added.
  236. * A minimum adaptive score can be specified by using the
  237. `gnus-adaptive-word-minimum' variable.
  238. * The "lapsed date" article header can be kept continually updated
  239. by the `gnus-start-date-timer' command.
  240. * Web listserv archives can be read with the `nnlistserv' back end.
  241. * Old dejanews archives can now be read by `nnweb'.
  242. 
  243. File: gnus, Node: Pterodactyl Gnus, Next: Oort Gnus, Prev: Quassia Gnus, Up: New Features
  244. 11.2.8.5 Pterodactyl Gnus
  245. .........................
  246. New features in Gnus 5.8:
  247. * The mail-fetching functions have changed. See the manual for the
  248. many details. In particular, all procmail fetching variables are
  249. gone.
  250. If you used procmail like in
  251. (setq nnmail-use-procmail t)
  252. (setq nnmail-spool-file 'procmail)
  253. (setq nnmail-procmail-directory "~/mail/incoming/")
  254. (setq nnmail-procmail-suffix "\\.in")
  255. this now has changed to
  256. (setq mail-sources
  257. '((directory :path "~/mail/incoming/"
  258. :suffix ".in")))
  259. *Note Mail Source Specifiers::.
  260. * Gnus is now a MIME-capable reader. This affects many parts of
  261. Gnus, and adds a slew of new commands. See the manual for details.
  262. * Gnus has also been multilingualized. This also affects too many
  263. parts of Gnus to summarize here, and adds many new variables.
  264. * `gnus-auto-select-first' can now be a function to be called to
  265. position point.
  266. * The user can now decide which extra headers should be included in
  267. summary buffers and NOV files.
  268. * `gnus-article-display-hook' has been removed. Instead, a number
  269. of variables starting with `gnus-treat-' have been added.
  270. * The Gnus posting styles have been redone again and now works in a
  271. subtly different manner.
  272. * New web-based back ends have been added: `nnslashdot',
  273. `nnwarchive' and `nnultimate'. nnweb has been revamped, again, to
  274. keep up with ever-changing layouts.
  275. * Gnus can now read IMAP mail via `nnimap'.
  276. 
  277. File: gnus, Node: Oort Gnus, Next: No Gnus, Prev: Pterodactyl Gnus, Up: New Features
  278. 11.2.8.6 Oort Gnus
  279. ..................
  280. New features in Gnus 5.10:
  281. * Installation changes
  282. * Upgrading from previous (stable) version if you have used
  283. Oort.
  284. If you have tried Oort (the unstable Gnus branch leading to
  285. this release) but went back to a stable version, be careful
  286. when upgrading to this version. In particular, you will
  287. probably want to remove all `.marks' (nnml) and `.mrk'
  288. (nnfolder) files, so that flags are read from your
  289. `.newsrc.eld' instead of from the `.marks'/`.mrk' file where
  290. this release store flags. See a later entry for more
  291. information about marks. Note that downgrading isn't save in
  292. general.
  293. * Lisp files are now installed in `.../site-lisp/gnus/' by
  294. default. It defaulted to `.../site-lisp/' formerly. In
  295. addition to this, the new installer issues a warning if other
  296. Gnus installations which will shadow the latest one are
  297. detected. You can then remove those shadows manually or
  298. remove them using `make remove-installed-shadows'.
  299. * New `make.bat' for compiling and installing Gnus under MS
  300. Windows
  301. Use `make.bat' if you want to install Gnus under MS Windows,
  302. the first argument to the batch-program should be the
  303. directory where `xemacs.exe' respectively `emacs.exe' is
  304. located, if you want to install Gnus after compiling it, give
  305. `make.bat' `/copy' as the second parameter.
  306. `make.bat' has been rewritten from scratch, it now features
  307. automatic recognition of XEmacs and Emacs, generates
  308. `gnus-load.el', checks if errors occur while compilation and
  309. generation of info files and reports them at the end of the
  310. build process. It now uses `makeinfo' if it is available and
  311. falls back to `infohack.el' otherwise. `make.bat' should now
  312. install all files which are necessary to run Gnus and be
  313. generally a complete replacement for the `configure; make;
  314. make install' cycle used under Unix systems.
  315. The new `make.bat' makes `make-x.bat' and `xemacs.mak'
  316. superfluous, so they have been removed.
  317. * `~/News/overview/' not used.
  318. As a result of the following change, the `~/News/overview/'
  319. directory is not used any more. You can safely delete the
  320. entire hierarchy.
  321. * `(require 'gnus-load)'
  322. If you use a stand-alone Gnus distribution, you'd better add
  323. `(require 'gnus-load)' into your `~/.emacs' after adding the
  324. Gnus lisp directory into load-path.
  325. File `gnus-load.el' contains autoload commands, functions and
  326. variables, some of which may not be included in distributions
  327. of Emacsen.
  328. * New packages and libraries within Gnus
  329. * The revised Gnus FAQ is included in the manual, *Note
  330. Frequently Asked Questions::.
  331. * TLS wrapper shipped with Gnus
  332. TLS/SSL is now supported in IMAP and NNTP via `tls.el' and
  333. GnuTLS.
  334. * Improved anti-spam features.
  335. Gnus is now able to take out spam from your mail and news
  336. streams using a wide variety of programs and filter rules.
  337. Among the supported methods are RBL blocklists, bogofilter
  338. and white/blacklists. Hooks for easy use of external
  339. packages such as SpamAssassin and Hashcash are also new.
  340. *note Thwarting Email Spam:: and *note Spam Package::.
  341. * Gnus supports server-side mail filtering using Sieve.
  342. Sieve rules can be added as Group Parameters for groups, and
  343. the complete Sieve script is generated using `D g' from the
  344. Group buffer, and then uploaded to the server using `C-c C-l'
  345. in the generated Sieve buffer. *Note Sieve Commands::, and
  346. the new Sieve manual *note Top: (sieve)Top.
  347. * Changes in group mode
  348. * `gnus-group-read-ephemeral-group' can be called interactively,
  349. using `G M'.
  350. * Retrieval of charters and control messages
  351. There are new commands for fetching newsgroup charters (`H
  352. c') and control messages (`H C').
  353. * The new variable `gnus-parameters' can be used to set group
  354. parameters.
  355. Earlier this was done only via `G p' (or `G c'), which stored
  356. the parameters in `~/.newsrc.eld', but via this variable you
  357. can enjoy the powers of customize, and simplified backups
  358. since you set the variable in `~/.gnus.el' instead of
  359. `~/.newsrc.eld'. The variable maps regular expressions
  360. matching group names to group parameters, a'la:
  361. (setq gnus-parameters
  362. '(("mail\\..*"
  363. (gnus-show-threads nil)
  364. (gnus-use-scoring nil))
  365. ("^nnimap:\\(foo.bar\\)$"
  366. (to-group . "\\1"))))
  367. * Unread count correct in nnimap groups.
  368. The estimated number of unread articles in the group buffer
  369. should now be correct for nnimap groups. This is achieved by
  370. calling `nnimap-fixup-unread-after-getting-new-news' from the
  371. `gnus-setup-news-hook' (called on startup) and
  372. `gnus-after-getting-new-news-hook'. (called after getting new
  373. mail). If you have modified those variables from the
  374. default, you may want to add
  375. `nnimap-fixup-unread-after-getting-new-news' again. If you
  376. were happy with the estimate and want to save some (minimal)
  377. time when getting new mail, remove the function.
  378. * Group names are treated as UTF-8 by default.
  379. This is supposedly what USEFOR wanted to migrate to. See
  380. `gnus-group-name-charset-group-alist' and
  381. `gnus-group-name-charset-method-alist' for customization.
  382. * `gnus-group-charset-alist' and
  383. `gnus-group-ignored-charsets-alist'.
  384. The regexps in these variables are compared with full group
  385. names instead of real group names in 5.8. Users who
  386. customize these variables should change those regexps
  387. accordingly. For example:
  388. ("^han\\>" euc-kr) -> ("\\(^\\|:\\)han\\>" euc-kr)
  389. * Old intermediate incoming mail files (`Incoming*') are deleted
  390. after a couple of days, not immediately. *Note Mail Source
  391. Customization::. (New in Gnus 5.10.10 / Emacs 22.2)
  392. * Changes in summary and article mode
  393. * `F' (`gnus-article-followup-with-original') and `R'
  394. (`gnus-article-reply-with-original') only yank the text in the
  395. region if the region is active.
  396. * In draft groups, `e' is now bound to
  397. `gnus-draft-edit-message'. Use `B w' for
  398. `gnus-summary-edit-article' instead.
  399. * Article Buttons
  400. More buttons for URLs, mail addresses, Message-IDs, Info
  401. links, man pages and Emacs or Gnus related references. *Note
  402. Article Buttons::. The variables `gnus-button-*-level' can
  403. be used to control the appearance of all article buttons.
  404. *Note Article Button Levels::.
  405. * Single-part yenc encoded attachments can be decoded.
  406. * Picons
  407. The picons code has been reimplemented to work in GNU
  408. Emacs--some of the previous options have been removed or
  409. renamed.
  410. Picons are small "personal icons" representing users, domain
  411. and newsgroups, which can be displayed in the Article buffer.
  412. *Note Picons::.
  413. * If the new option `gnus-treat-body-boundary' is non-`nil', a
  414. boundary line is drawn at the end of the headers.
  415. * Signed article headers (X-PGP-Sig) can be verified with `W p'.
  416. * The Summary Buffer uses an arrow in the fringe to indicate
  417. the current article. Use `(setq gnus-summary-display-arrow
  418. nil)' to disable it.
  419. * Warn about email replies to news
  420. Do you often find yourself replying to news by email by
  421. mistake? Then the new option
  422. `gnus-confirm-mail-reply-to-news' is just the thing for you.
  423. * If the new option `gnus-summary-display-while-building' is
  424. non-`nil', the summary buffer is shown and updated as it's
  425. being built.
  426. * Gnus supports RFC 2369 mailing list headers, and adds a
  427. number of related commands in mailing list groups. *Note
  428. Mailing List::.
  429. * The Date header can be displayed in a format that can be read
  430. aloud in English. *Note Article Date::.
  431. * diffs are automatically highlighted in groups matching
  432. `mm-uu-diff-groups-regexp'
  433. * Better handling of Microsoft citation styles
  434. Gnus now tries to recognize the mangled header block that
  435. some Microsoft mailers use to indicate that the rest of the
  436. message is a citation, even though it is not quoted in any
  437. way. The variable `gnus-cite-unsightly-citation-regexp'
  438. matches the start of these citations.
  439. The new command `W Y f'
  440. (`gnus-article-outlook-deuglify-article') allows deuglifying
  441. broken Outlook (Express) articles.
  442. * `gnus-article-skip-boring'
  443. If you set `gnus-article-skip-boring' to `t', then Gnus will
  444. not scroll down to show you a page that contains only boring
  445. text, which by default means cited text and signature. You
  446. can customize what is skippable using
  447. `gnus-article-boring-faces'.
  448. This feature is especially useful if you read many articles
  449. that consist of a little new content at the top with a long,
  450. untrimmed message cited below.
  451. * Smileys (`:-)', `;-)' etc) are now displayed graphically in
  452. Emacs too.
  453. Put `(setq gnus-treat-display-smileys nil)' in `~/.gnus.el' to
  454. disable it.
  455. * Face headers handling. *Note Face::.
  456. * In the summary buffer, the new command `/ N' inserts new
  457. messages and `/ o' inserts old messages.
  458. * Gnus decodes morse encoded messages if you press `W m'.
  459. * `gnus-summary-line-format'
  460. The default value changed to `%U%R%z%I%(%[%4L: %-23,23f%]%)
  461. %s\n'. Moreover `gnus-extra-headers', `nnmail-extra-headers'
  462. and `gnus-ignored-from-addresses' changed their default so
  463. that the users name will be replaced by the recipient's name
  464. or the group name posting to for NNTP groups.
  465. * Deleting of attachments.
  466. The command `gnus-mime-save-part-and-strip' (bound to `C-o'
  467. on MIME buttons) saves a part and replaces the part with an
  468. external one. `gnus-mime-delete-part' (bound to `d' on MIME
  469. buttons) removes a part. It works only on back ends that
  470. support editing.
  471. * `gnus-default-charset'
  472. The default value is determined from the
  473. `current-language-environment' variable, instead of
  474. `iso-8859-1'. Also the `.*' item in
  475. `gnus-group-charset-alist' is removed.
  476. * Printing capabilities are enhanced.
  477. Gnus supports Muttprint natively with `O P' from the Summary
  478. and Article buffers. Also, each individual MIME part can be
  479. printed using `p' on the MIME button.
  480. * Extended format specs.
  481. Format spec `%&user-date;' is added into
  482. `gnus-summary-line-format-alist'. Also, user defined extended
  483. format specs are supported. The extended format specs look
  484. like `%u&foo;', which invokes function
  485. `gnus-user-format-function-FOO'. Because `&' is used as the
  486. escape character, old user defined format `%u&' is no longer
  487. supported.
  488. * `/ *' (`gnus-summary-limit-include-cached') is rewritten.
  489. It was aliased to `Y c'
  490. (`gnus-summary-insert-cached-articles'). The new function
  491. filters out other articles.
  492. * Some limiting commands accept a `C-u' prefix to negate the
  493. match.
  494. If `C-u' is used on subject, author or extra headers, i.e., `/
  495. s', `/ a', and `/ x'
  496. (`gnus-summary-limit-to-{subject,author,extra}')
  497. respectively, the result will be to display all articles that
  498. do not match the expression.
  499. * Gnus inlines external parts (message/external).
  500. * Changes in Message mode and related Gnus features
  501. * Delayed articles
  502. You can delay the sending of a message with `C-c C-j' in the
  503. Message buffer. The messages are delivered at specified
  504. time. This is useful for sending yourself reminders. *Note
  505. Delayed Articles::.
  506. * If the new option `nnml-use-compressed-files' is non-`nil',
  507. the nnml back end allows compressed message files.
  508. * The new option `gnus-gcc-mark-as-read' automatically marks
  509. Gcc articles as read.
  510. * Externalizing of attachments
  511. If `gnus-gcc-externalize-attachments' or
  512. `message-fcc-externalize-attachments' is non-`nil', attach
  513. local files as external parts.
  514. * The envelope sender address can be customized when using
  515. Sendmail. *Note Mail Variables: (message)Mail Variables.
  516. * Gnus no longer generate the Sender: header automatically.
  517. Earlier it was generated when the user configurable email
  518. address was different from the Gnus guessed default user
  519. address. As the guessing algorithm is rarely correct these
  520. days, and (more controversially) the only use of the Sender:
  521. header was to check if you are entitled to cancel/supersede
  522. news (which is now solved by Cancel Locks instead, see
  523. another entry), generation of the header has been disabled by
  524. default. See the variables `message-required-headers',
  525. `message-required-news-headers', and
  526. `message-required-mail-headers'.
  527. * Features from third party `message-utils.el' added to
  528. `message.el'.
  529. Message now asks if you wish to remove `(was: <old subject>)'
  530. from subject lines (see
  531. `message-subject-trailing-was-query'). `C-c M-m' and `C-c
  532. M-f' inserts markers indicating included text. `C-c C-f a'
  533. adds a X-No-Archive: header. `C-c C-f x' inserts appropriate
  534. headers and a note in the body for cross-postings and
  535. followups (see the variables `message-cross-post-*').
  536. * References and X-Draft-From headers are no longer generated
  537. when you start composing messages and
  538. `message-generate-headers-first' is `nil'.
  539. * Easy inclusion of X-Faces headers. *Note X-Face::.
  540. * Group Carbon Copy (GCC) quoting
  541. To support groups that contains SPC and other weird
  542. characters, groups are quoted before they are placed in the
  543. Gcc: header. This means variables such as
  544. `gnus-message-archive-group' should no longer contain quote
  545. characters to make groups containing SPC work. Also, if you
  546. are using the string `nnml:foo, nnml:bar' (indicating Gcc
  547. into two groups) you must change it to return the list
  548. `("nnml:foo" "nnml:bar")', otherwise the Gcc: line will be
  549. quoted incorrectly. Note that returning the string
  550. `nnml:foo, nnml:bar' was incorrect earlier, it just didn't
  551. generate any problems since it was inserted directly.
  552. * `message-insinuate-rmail'
  553. Adding `(message-insinuate-rmail)' and `(setq mail-user-agent
  554. 'gnus-user-agent)' in `.emacs' convinces Rmail to compose,
  555. reply and forward messages in message-mode, where you can
  556. enjoy the power of MML.
  557. * `message-minibuffer-local-map'
  558. The line below enables BBDB in resending a message:
  559. (define-key message-minibuffer-local-map [(tab)]
  560. 'bbdb-complete-name)
  561. * `gnus-posting-styles'
  562. Add a new format of match like
  563. ((header "to" "larsi.*org")
  564. (Organization "Somewhere, Inc."))
  565. The old format like the lines below is obsolete, but still
  566. accepted.
  567. (header "to" "larsi.*org"
  568. (Organization "Somewhere, Inc."))
  569. * `message-ignored-news-headers' and
  570. `message-ignored-mail-headers'
  571. `X-Draft-From' and `X-Gnus-Agent-Meta-Information' have been
  572. added into these two variables. If you customized those,
  573. perhaps you need add those two headers too.
  574. * Gnus supports the "format=flowed" (RFC 2646) parameter. On
  575. composing messages, it is enabled by `use-hard-newlines'.
  576. Decoding format=flowed was present but not documented in
  577. earlier versions.
  578. * The option `mm-fill-flowed' can be used to disable treatment
  579. of "format=flowed" messages. Also, flowed text is disabled
  580. when sending inline PGP signed messages. *Note Flowed text:
  581. (emacs-mime)Flowed text. (New in Gnus 5.10.7)
  582. * Gnus supports the generation of RFC 2298 Disposition
  583. Notification requests.
  584. This is invoked with the `C-c M-n' key binding from message
  585. mode.
  586. * Message supports the Importance: (RFC 2156) header.
  587. In the message buffer, `C-c C-f C-i' or `C-c C-u' cycles
  588. through the valid values.
  589. * Gnus supports Cancel Locks in News.
  590. This means a header `Cancel-Lock' is inserted in news
  591. posting. It is used to determine if you wrote an article or
  592. not (for canceling and superseding). Gnus generates a random
  593. password string the first time you post a message, and saves
  594. it in your `~/.emacs' using the Custom system. While the
  595. variable is called `canlock-password', it is not security
  596. sensitive data. Publishing your canlock string on the web
  597. will not allow anyone to be able to anything she could not
  598. already do. The behavior can be changed by customizing
  599. `message-insert-canlock'.
  600. * Gnus supports PGP (RFC 1991/2440), PGP/MIME (RFC 2015/3156)
  601. and S/MIME (RFC 2630-2633).
  602. It needs an external S/MIME and OpenPGP implementation, but no
  603. additional Lisp libraries. This add several menu items to the
  604. Attachments menu, and `C-c RET' key bindings, when composing
  605. messages. This also obsoletes `gnus-article-hide-pgp-hook'.
  606. * MML (Mime compose) prefix changed from `M-m' to `C-c C-m'.
  607. This change was made to avoid conflict with the standard
  608. binding of `back-to-indentation', which is also useful in
  609. message mode.
  610. * The default for `message-forward-show-mml' changed to the
  611. symbol `best'.
  612. The behavior for the `best' value is to show MML (i.e.,
  613. convert to MIME) when appropriate. MML will not be used when
  614. forwarding signed or encrypted messages, as the conversion
  615. invalidate the digital signature.
  616. * If `auto-compression-mode' is enabled, attachments are
  617. automatically decompressed when activated.
  618. * Support for non-ASCII domain names
  619. Message supports non-ASCII domain names in From:, To: and Cc:
  620. and will query you whether to perform encoding when you try to
  621. send a message. The variable `message-use-idna' controls
  622. this. Gnus will also decode non-ASCII domain names in From:,
  623. To: and Cc: when you view a message. The variable
  624. `gnus-use-idna' controls this.
  625. * You can now drag and drop attachments to the Message buffer.
  626. See `mml-dnd-protocol-alist' and `mml-dnd-attach-options'.
  627. *Note MIME: (message)MIME.
  628. * `auto-fill-mode' is enabled by default in Message mode. See
  629. `message-fill-column'. *Note Message Headers:
  630. (message)Various Message Variables.
  631. * Changes in back ends
  632. * Gnus can display RSS newsfeeds as a newsgroup. *Note RSS::.
  633. * The nndoc back end now supports mailman digests and exim
  634. bounces.
  635. * Gnus supports Maildir groups.
  636. Gnus includes a new back end `nnmaildir.el'. *Note Maildir::.
  637. * The nnml and nnfolder back ends store marks for each groups.
  638. This makes it possible to take backup of nnml/nnfolder
  639. servers/groups separately of `~/.newsrc.eld', while
  640. preserving marks. It also makes it possible to share
  641. articles and marks between users (without sharing the
  642. `~/.newsrc.eld' file) within e.g. a department. It works by
  643. storing the marks stored in `~/.newsrc.eld' in a per-group
  644. file `.marks' (for nnml) and `GROUPNAME.mrk' (for nnfolder,
  645. named GROUPNAME). If the nnml/nnfolder is moved to another
  646. machine, Gnus will automatically use the `.marks' or `.mrk'
  647. file instead of the information in `~/.newsrc.eld'. The new
  648. server variables `nnml-marks-is-evil' and
  649. `nnfolder-marks-is-evil' can be used to disable this feature.
  650. * Appearance
  651. * The menu bar item (in Group and Summary buffer) named "Misc"
  652. has been renamed to "Gnus".
  653. * The menu bar item (in Message mode) named "MML" has been
  654. renamed to "Attachments". Note that this menu also contains
  655. security related stuff, like signing and encryption (*note
  656. Security: (message)Security.).
  657. * The tool bars have been updated to use GNOME icons in Group,
  658. Summary and Message mode. You can also customize the tool
  659. bars: `M-x customize-apropos RET -tool-bar$' should get you
  660. started. This is a new feature in Gnus 5.10.10. (Only for
  661. Emacs, not in XEmacs.)
  662. * The tool bar icons are now (de)activated correctly in the
  663. group buffer, see the variable `gnus-group-update-tool-bar'.
  664. Its default value depends on your Emacs version. This is a
  665. new feature in Gnus 5.10.9.
  666. * Miscellaneous changes
  667. * `gnus-agent'
  668. The Gnus Agent has seen a major updated and is now enabled by
  669. default, and all nntp and nnimap servers from
  670. `gnus-select-method' and `gnus-secondary-select-method' are
  671. agentized by default. Earlier only the server in
  672. `gnus-select-method' was agentized by the default, and the
  673. agent was disabled by default. When the agent is enabled,
  674. headers are now also retrieved from the Agent cache instead
  675. of the back ends when possible. Earlier this only happened
  676. in the unplugged state. You can enroll or remove servers
  677. with `J a' and `J r' in the server buffer. Gnus will not
  678. download articles into the Agent cache, unless you instruct
  679. it to do so, though, by using `J u' or `J s' from the Group
  680. buffer. You revert to the old behavior of having the Agent
  681. disabled with `(setq gnus-agent nil)'. Note that putting
  682. `(gnus-agentize)' in `~/.gnus.el' is not needed any more.
  683. * Gnus reads the NOV and articles in the Agent if plugged.
  684. If one reads an article while plugged, and the article
  685. already exists in the Agent, it won't get downloaded once
  686. more. `(setq gnus-agent-cache nil)' reverts to the old
  687. behavior.
  688. * Dired integration
  689. `gnus-dired-minor-mode' (see *note Other modes::) installs key
  690. bindings in dired buffers to send a file as an attachment,
  691. open a file using the appropriate mailcap entry, and print a
  692. file using the mailcap entry.
  693. * The format spec `%C' for positioning point has changed to
  694. `%*'.
  695. * `gnus-slave-unplugged'
  696. A new command which starts Gnus offline in slave mode.
  697. 
  698. File: gnus, Node: No Gnus, Prev: Oort Gnus, Up: New Features
  699. 11.2.8.7 No Gnus
  700. ................
  701. New features in No Gnus:
  702. * Supported Emacs versions The following Emacs versions are
  703. supported by No Gnus:
  704. * Emacs 22 and up
  705. * XEmacs 21.4
  706. * XEmacs 21.5
  707. * SXEmacs
  708. * Installation changes
  709. * Upgrading from previous (stable) version if you have used No
  710. Gnus.
  711. If you have tried No Gnus (the unstable Gnus branch leading
  712. to this release) but went back to a stable version, be
  713. careful when upgrading to this version. In particular, you
  714. will probably want to remove the `~/News/marks' directory
  715. (perhaps selectively), so that flags are read from your
  716. `~/.newsrc.eld' instead of from the stale marks file, where
  717. this release will store flags for nntp. See a later entry
  718. for more information about nntp marks. Note that downgrading
  719. isn't safe in general.
  720. * Incompatibility when switching from Emacs 23 to Emacs 22 In
  721. Emacs 23, Gnus uses Emacs's new internal coding system
  722. `utf-8-emacs' for saving articles drafts and `~/.newsrc.eld'.
  723. These files may not be read correctly in Emacs 22 and below.
  724. If you want to use Gnus across different Emacs versions, you
  725. may set `mm-auto-save-coding-system' to `emacs-mule'.
  726. * Lisp files are now installed in `.../site-lisp/gnus/' by
  727. default. It defaulted to `.../site-lisp/' formerly. In
  728. addition to this, the new installer issues a warning if other
  729. Gnus installations which will shadow the latest one are
  730. detected. You can then remove those shadows manually or
  731. remove them using `make remove-installed-shadows'.
  732. * The installation directory name is allowed to have spaces
  733. and/or tabs.
  734. * New packages and libraries within Gnus
  735. * New version of `nnimap'
  736. `nnimap' has been reimplemented in a mostly-compatible way.
  737. See the Gnus manual for a description of the new interface.
  738. In particular, `nnimap-inbox' and the client side split
  739. method has changed.
  740. * Gnus includes the Emacs Lisp SASL library.
  741. This provides a clean API to SASL mechanisms from within
  742. Emacs. The user visible aspects of this, compared to the
  743. earlier situation, include support for DIGEST-MD5 and NTLM.
  744. *Note Emacs SASL: (sasl)Top.
  745. * ManageSieve connections uses the SASL library by default.
  746. The primary change this brings is support for DIGEST-MD5 and
  747. NTLM, when the server supports it.
  748. * Gnus includes a password cache mechanism in password.el.
  749. It is enabled by default (see `password-cache'), with a short
  750. timeout of 16 seconds (see `password-cache-expiry'). If PGG
  751. is used as the PGP back end, the PGP passphrase is managed by
  752. this mechanism. Passwords for ManageSieve connections are
  753. managed by this mechanism, after querying the user about
  754. whether to do so.
  755. * Using EasyPG with Gnus When EasyPG, is available, Gnus will
  756. use it instead of PGG. EasyPG is an Emacs user interface to
  757. GNU Privacy Guard. *Note EasyPG Assistant user's manual:
  758. (epa)Top. EasyPG is included in Emacs 23 and available
  759. separately as well.
  760. * Changes in group mode
  761. * Symbols like `gcc-self' now have the same precedence rules in
  762. `gnus-parameters' as other "real" variables: The last match
  763. wins instead of the first match.
  764. * Old intermediate incoming mail files (`Incoming*') are deleted
  765. after a couple of days, not immediately. *Note Mail Source
  766. Customization::. (New in Gnus 5.10.10 / No Gnus 0.8)
  767. * Changes in summary and article mode
  768. * There's now only one variable that determines how HTML is
  769. rendered: `mm-text-html-renderer'.
  770. * Gnus now supports sticky article buffers. Those are article
  771. buffers that are not reused when you select another article.
  772. *Note Sticky Articles::.
  773. * Gnus can selectively display `text/html' articles with a WWW
  774. browser with `K H'. *Note MIME Commands::.
  775. * International host names (IDNA) can now be decoded inside
  776. article bodies using `W i' (`gnus-summary-idna-message').
  777. This requires that GNU Libidn
  778. (`http://www.gnu.org/software/libidn/') has been installed.
  779. * The non-ASCII group names handling has been much improved.
  780. The back ends that fully support non-ASCII group names are
  781. now `nntp', `nnml', and `nnrss'. Also the agent, the cache,
  782. and the marks features work with those back ends. *Note
  783. Non-ASCII Group Names::.
  784. * Gnus now displays DNS master files sent as text/dns using
  785. dns-mode.
  786. * Gnus supports new limiting commands in the Summary buffer: `/
  787. r' (`gnus-summary-limit-to-replied') and `/ R'
  788. (`gnus-summary-limit-to-recipient'). *Note Limiting::.
  789. * You can now fetch all ticked articles from the server using
  790. `Y t' (`gnus-summary-insert-ticked-articles'). *Note Summary
  791. Generation Commands::.
  792. * Gnus supports a new sort command in the Summary buffer: `C-c
  793. C-s C-t' (`gnus-summary-sort-by-recipient'). *Note Summary
  794. Sorting::.
  795. * S/MIME now features LDAP user certificate searches. You need
  796. to configure the server in `smime-ldap-host-list'.
  797. * URLs inside OpenPGP headers are retrieved and imported to
  798. your PGP key ring when you click on them.
  799. * Picons can be displayed right from the textual address, see
  800. `gnus-picon-style'. *Note Picons::.
  801. * ANSI SGR control sequences can be transformed using `W A'.
  802. ANSI sequences are used in some Chinese hierarchies for
  803. highlighting articles (`gnus-article-treat-ansi-sequences').
  804. * Gnus now MIME decodes articles even when they lack
  805. "MIME-Version" header. This changes the default of
  806. `gnus-article-loose-mime'.
  807. * `gnus-decay-scores' can be a regexp matching score files.
  808. For example, set it to `\\.ADAPT\\'' and only adaptive score
  809. files will be decayed. *Note Score Decays::.
  810. * Strings prefixing to the `To' and `Newsgroup' headers in
  811. summary lines when using `gnus-ignored-from-addresses' can be
  812. customized with `gnus-summary-to-prefix' and
  813. `gnus-summary-newsgroup-prefix'. *Note To From Newsgroups::.
  814. * You can replace MIME parts with external bodies. See
  815. `gnus-mime-replace-part' and `gnus-article-replace-part'.
  816. *Note MIME Commands::, *note Using MIME::.
  817. * The option `mm-fill-flowed' can be used to disable treatment
  818. of format=flowed messages. Also, flowed text is disabled
  819. when sending inline PGP signed messages. *Note Flowed text:
  820. (emacs-mime)Flowed text. (New in Gnus 5.10.7)
  821. * Now the new command `S W'
  822. (`gnus-article-wide-reply-with-original') for a wide reply in
  823. the article buffer yanks a text that is in the active region,
  824. if it is set, as well as the `R'
  825. (`gnus-article-reply-with-original') command. Note that the
  826. `R' command in the article buffer no longer accepts a prefix
  827. argument, which was used to make it do a wide reply. *Note
  828. Article Keymap::.
  829. * The new command `C-h b' (`gnus-article-describe-bindings')
  830. used in the article buffer now shows not only the article
  831. commands but also the real summary commands that are
  832. accessible from the article buffer.
  833. * Changes in Message mode
  834. * Gnus now defaults to saving all outgoing messages in per-month
  835. nnfolder archives.
  836. * Gnus now supports the "hashcash" client puzzle anti-spam
  837. mechanism. Use `(setq message-generate-hashcash t)' to
  838. enable. *Note Hashcash::.
  839. * You can now drag and drop attachments to the Message buffer.
  840. See `mml-dnd-protocol-alist' and `mml-dnd-attach-options'.
  841. *Note MIME: (message)MIME.
  842. * The option `message-yank-empty-prefix' now controls how empty
  843. lines are prefixed in cited text. *Note Insertion Variables:
  844. (message)Insertion Variables.
  845. * Gnus uses narrowing to hide headers in Message buffers. The
  846. `References' header is hidden by default. To make all
  847. headers visible, use `(setq message-hidden-headers nil)'.
  848. *Note Message Headers: (message)Message Headers.
  849. * You can highlight different levels of citations like in the
  850. article buffer. See `gnus-message-highlight-citation'.
  851. * `auto-fill-mode' is enabled by default in Message mode. See
  852. `message-fill-column'. *Note Message Headers:
  853. (message)Various Message Variables.
  854. * You can now store signature files in a special directory
  855. named `message-signature-directory'.
  856. * The option `message-citation-line-format' controls the format
  857. of the "Whomever writes:" line. You need to set
  858. `message-citation-line-function' to
  859. `message-insert-formatted-citation-line' as well.
  860. * Changes in Browse Server mode
  861. * Gnus' sophisticated subscription methods are now available in
  862. Browse Server buffers as well using the variable
  863. `gnus-browse-subscribe-newsgroup-method'.
  864. * Changes in back ends
  865. * The nntp back end stores article marks in `~/News/marks'.
  866. The directory can be changed using the (customizable) variable
  867. `nntp-marks-directory', and marks can be disabled using the
  868. (back end) variable `nntp-marks-is-evil'. The advantage of
  869. this is that you can copy `~/News/marks' (using rsync, scp or
  870. whatever) to another Gnus installation, and it will realize
  871. what articles you have read and marked. The data in
  872. `~/News/marks' has priority over the same data in
  873. `~/.newsrc.eld'.
  874. * You can import and export your RSS subscriptions from OPML
  875. files. *Note RSS::.
  876. * IMAP identity (RFC 2971) is supported.
  877. By default, Gnus does not send any information about itself,
  878. but you can customize it using the variable `nnimap-id'.
  879. * The `nnrss' back end now supports multilingual text.
  880. Non-ASCII group names for the `nnrss' groups are also
  881. supported. *Note RSS::.
  882. * Retrieving mail with POP3 is supported over SSL/TLS and with
  883. StartTLS.
  884. * The nnml back end allows other compression programs beside
  885. `gzip' for compressed message files. *Note Mail Spool::.
  886. * The nnml back end supports group compaction.
  887. This feature, accessible via the functions
  888. `gnus-group-compact-group' (`G z' in the group buffer) and
  889. `gnus-server-compact-server' (`z' in the server buffer)
  890. renumbers all articles in a group, starting from 1 and
  891. removing gaps. As a consequence, you get a correct total
  892. article count (until messages are deleted again).
  893. * Appearance
  894. * The tool bar has been updated to use GNOME icons. You can
  895. also customize the tool bars: `M-x customize-apropos RET
  896. -tool-bar$' should get you started. (Only for Emacs, not in
  897. XEmacs.)
  898. * The tool bar icons are now (de)activated correctly in the
  899. group buffer, see the variable `gnus-group-update-tool-bar'.
  900. Its default value depends on your Emacs version.
  901. * You can change the location of XEmacs's toolbars in Gnus
  902. buffers. See `gnus-use-toolbar' and `message-use-toolbar'.
  903. * Miscellaneous changes
  904. * Having edited the select-method for the foreign server in the
  905. server buffer is immediately reflected to the subscription of
  906. the groups which use the server in question. For instance,
  907. if you change `nntp-via-address' into `bar.example.com' from
  908. `foo.example.com', Gnus will connect to the news host by way
  909. of the intermediate host `bar.example.com' from next time.
  910. * The `all.SCORE' file can be edited from the group buffer
  911. using `W e'.
  912. * You can set `gnus-mark-copied-or-moved-articles-as-expirable'
  913. to a non-`nil' value so that articles that have been read may
  914. be marked as expirable automatically when copying or moving
  915. them to a group that has auto-expire turned on. The default
  916. is `nil' and copying and moving of articles behave as before;
  917. i.e., the expirable marks will be unchanged except that the
  918. marks will be removed when copying or moving articles to a
  919. group that has not turned auto-expire on. *Note Expiring
  920. Mail::.
  921. * NoCeM support has been removed.
  922. * Carpal mode has been removed.
  923. 
  924. File: gnus, Node: On Writing Manuals, Next: Terminology, Prev: History, Up: Appendices
  925. 11.3 On Writing Manuals
  926. =======================
  927. I guess most manuals are written after-the-fact; documenting a program
  928. that's already there. This is not how this manual is written. When
  929. implementing something, I write the manual entry for that something
  930. straight away. I then see that it's difficult to explain the
  931. functionality, so I write how it's supposed to be, and then I change the
  932. implementation. Writing the documentation and writing the code go hand
  933. in hand.
  934. This, of course, means that this manual has no, or little, flow. It
  935. documents absolutely everything in Gnus, but often not where you're
  936. looking for it. It is a reference manual, and not a guide to how to get
  937. started with Gnus.
  938. That would be a totally different book, that should be written using
  939. the reference manual as source material. It would look quite different.
  940. 
  941. File: gnus, Node: Terminology, Next: Customization, Prev: On Writing Manuals, Up: Appendices
  942. 11.4 Terminology
  943. ================
  944. "news"
  945. This is what you are supposed to use this thing for--reading news.
  946. News is generally fetched from a nearby NNTP server, and is
  947. generally publicly available to everybody. If you post news, the
  948. entire world is likely to read just what you have written, and
  949. they'll all snigger mischievously. Behind your back.
  950. "mail"
  951. Everything that's delivered to you personally is mail. Some
  952. news/mail readers (like Gnus) blur the distinction between mail
  953. and news, but there is a difference. Mail is private. News is
  954. public. Mailing is not posting, and replying is not following up.
  955. "reply"
  956. Send a mail to the person who has written what you are reading.
  957. "follow up"
  958. Post an article to the current newsgroup responding to the article
  959. you are reading.
  960. "back end"
  961. Gnus considers mail and news to be mostly the same, really. The
  962. only difference is how to access the actual articles. News
  963. articles are commonly fetched via the protocol NNTP, whereas mail
  964. messages could be read from a file on the local disk. The internal
  965. architecture of Gnus thus comprises a "front end" and a number of
  966. "back ends". Internally, when you enter a group (by hitting
  967. <RET>, say), you thereby invoke a function in the front end in
  968. Gnus. The front end then "talks" to a back end and says things
  969. like "Give me the list of articles in the foo group" or "Show me
  970. article number 4711".
  971. So a back end mainly defines either a protocol (the `nntp' back
  972. end accesses news via NNTP, the `nnimap' back end accesses mail
  973. via IMAP) or a file format and directory layout (the `nnspool'
  974. back end accesses news via the common "spool directory" format,
  975. the `nnml' back end access mail via a file format and directory
  976. layout that's quite similar).
  977. Gnus does not handle the underlying media, so to speak--this is all
  978. done by the back ends. A back end is a collection of functions to
  979. access the articles.
  980. However, sometimes the term "back end" is also used where "server"
  981. would have been more appropriate. And then there is the term
  982. "select method" which can mean either. The Gnus terminology can
  983. be quite confusing.
  984. "native"
  985. Gnus will always use one method (and back end) as the "native", or
  986. default, way of getting news. Groups from the native select method
  987. have names like `gnu.emacs.gnus'.
  988. "foreign"
  989. You can also have any number of foreign groups active at the same
  990. time. These are groups that use non-native non-secondary back ends
  991. for getting news. Foreign groups have names like
  992. `nntp+news.gmane.org:gmane.emacs.gnus.devel'.
  993. "secondary"
  994. Secondary back ends are somewhere half-way between being native and
  995. being foreign, but they mostly act like they are native, but they,
  996. too have names like `nntp+news.gmane.org:gmane.emacs.gnus.devel'.
  997. "article"
  998. A message that has been posted as news.
  999. "mail message"
  1000. A message that has been mailed.
  1001. "message"
  1002. A mail message or news article
  1003. "head"
  1004. The top part of a message, where administrative information (etc.)
  1005. is put.
  1006. "body"
  1007. The rest of an article. Everything not in the head is in the body.
  1008. "header"
  1009. A line from the head of an article.
  1010. "headers"
  1011. A collection of such lines, or a collection of heads. Or even a
  1012. collection of NOV lines.
  1013. "NOV"
  1014. NOV stands for News OverView, which is a type of news server
  1015. header which provide datas containing the condensed header
  1016. information of articles. They are produced by the server itself;
  1017. in the `nntp' back end Gnus uses the ones that the NNTP server
  1018. makes, but Gnus makes them by itself for some backends (in
  1019. particular, `nnml').
  1020. When Gnus enters a group, it asks the back end for the headers of
  1021. all unread articles in the group. Most servers support the News
  1022. OverView format, which is more compact and much faster to read and
  1023. parse than the normal HEAD format.
  1024. The NOV data consist of one or more text lines (*note Motion by
  1025. Text Lines: (elisp)Text Lines.) where each line has the header
  1026. information of one article. The header information is a
  1027. tab-separated series of the header's contents including an article
  1028. number, a subject, an author, a date, a message-id, references,
  1029. etc.
  1030. Those data enable Gnus to generate summary lines quickly.
  1031. However, if the server does not support NOV or you disable it
  1032. purposely or for some reason, Gnus will try to generate the header
  1033. information by parsing each article's headers one by one. It will
  1034. take time. Therefore, it is not usually a good idea to set
  1035. nn*-nov-is-evil (*note Slow/Expensive Connection::) to a non-`nil'
  1036. value unless you know that the server makes wrong NOV data.
  1037. "level"
  1038. Each group is subscribed at some "level" or other (1-9). The ones
  1039. that have a lower level are "more" subscribed than the groups with
  1040. a higher level. In fact, groups on levels 1-5 are considered
  1041. "subscribed"; 6-7 are "unsubscribed"; 8 are "zombies"; and 9 are
  1042. "killed". Commands for listing groups and scanning for new
  1043. articles will all use the numeric prefix as "working level".
  1044. "killed groups"
  1045. No information on killed groups is stored or updated, which makes
  1046. killed groups much easier to handle than subscribed groups.
  1047. "zombie groups"
  1048. Just like killed groups, only slightly less dead.
  1049. "active file"
  1050. The news server has to keep track of what articles it carries, and
  1051. what groups exist. All this information in stored in the active
  1052. file, which is rather large, as you might surmise.
  1053. "bogus groups"
  1054. A group that exists in the `.newsrc' file, but isn't known to the
  1055. server (i.e., it isn't in the active file), is a _bogus group_.
  1056. This means that the group probably doesn't exist (any more).
  1057. "activating"
  1058. The act of asking the server for info on a group and computing the
  1059. number of unread articles is called "activating the group".
  1060. Un-activated groups are listed with `*' in the group buffer.
  1061. "spool"
  1062. News servers store their articles locally in one fashion or other.
  1063. One old-fashioned storage method is to have just one file per
  1064. article. That's called a "traditional spool".
  1065. "server"
  1066. A machine one can connect to and get news (or mail) from.
  1067. "select method"
  1068. A structure that specifies the back end, the server and the virtual
  1069. server settings.
  1070. "virtual server"
  1071. A named select method. Since a select method defines all there is
  1072. to know about connecting to a (physical) server, taking the thing
  1073. as a whole is a virtual server.
  1074. "washing"
  1075. Taking a buffer and running it through a filter of some sort. The
  1076. result will (more often than not) be cleaner and more pleasing
  1077. than the original.
  1078. "ephemeral groups"
  1079. Most groups store data on what articles you have read. "Ephemeral"
  1080. groups are groups that will have no data stored--when you exit the
  1081. group, it'll disappear into the aether.
  1082. "solid groups"
  1083. This is the opposite of ephemeral groups. All groups listed in the
  1084. group buffer are solid groups.
  1085. "sparse articles"
  1086. These are article placeholders shown in the summary buffer when
  1087. `gnus-build-sparse-threads' has been switched on.
  1088. "threading"
  1089. To put responses to articles directly after the articles they
  1090. respond to--in a hierarchical fashion.
  1091. "root"
  1092. The first article in a thread is the root. It is the ancestor of
  1093. all articles in the thread.
  1094. "parent"
  1095. An article that has responses.
  1096. "child"
  1097. An article that responds to a different article--its parent.
  1098. "digest"
  1099. A collection of messages in one file. The most common digest
  1100. format is specified by RFC 1153.
  1101. "splitting"
  1102. The action of sorting your emails according to certain rules.
  1103. Sometimes incorrectly called mail filtering.
  1104. 
  1105. File: gnus, Node: Customization, Next: Troubleshooting, Prev: Terminology, Up: Appendices
  1106. 11.5 Customization
  1107. ==================
  1108. All variables are properly documented elsewhere in this manual. This
  1109. section is designed to give general pointers on how to customize Gnus
  1110. for some quite common situations.
  1111. * Menu:
  1112. * Slow/Expensive Connection:: You run a local Emacs and get the news elsewhere.
  1113. * Slow Terminal Connection:: You run a remote Emacs.
  1114. * Little Disk Space:: You feel that having large setup files is icky.
  1115. * Slow Machine:: You feel like buying a faster machine.
  1116. 
  1117. File: gnus, Node: Slow/Expensive Connection, Next: Slow Terminal Connection, Up: Customization
  1118. 11.5.1 Slow/Expensive Connection
  1119. --------------------------------
  1120. If you run Emacs on a machine locally, and get your news from a machine
  1121. over some very thin strings, you want to cut down on the amount of data
  1122. Gnus has to get from the server.
  1123. `gnus-read-active-file'
  1124. Set this to `nil', which will inhibit Gnus from requesting the
  1125. entire active file from the server. This file is often very
  1126. large. You also have to set `gnus-check-new-newsgroups' and
  1127. `gnus-check-bogus-newsgroups' to `nil' to make sure that Gnus
  1128. doesn't suddenly decide to fetch the active file anyway.
  1129. `gnus-nov-is-evil'
  1130. Usually this one must _always_ be `nil' (which is the default).
  1131. If, for example, you wish to not use NOV (*note Terminology::)
  1132. with the `nntp' back end (*note Crosspost Handling::), set
  1133. `nntp-nov-is-evil' to a non-`nil' value instead of setting this.
  1134. But you normally do not need to set `nntp-nov-is-evil' since Gnus
  1135. by itself will detect whether the NNTP server supports NOV.
  1136. Anyway, grabbing article headers from the NNTP server will not be
  1137. very fast if you tell Gnus not to use NOV.
  1138. As the variables for the other back ends, there are
  1139. `nndiary-nov-is-evil', `nndir-nov-is-evil',
  1140. `nnfolder-nov-is-evil', `nnimap-nov-is-evil', `nnml-nov-is-evil',
  1141. and `nnspool-nov-is-evil'. Note that a non-`nil' value for
  1142. `gnus-nov-is-evil' overrides all those variables.
  1143. 
  1144. File: gnus, Node: Slow Terminal Connection, Next: Little Disk Space, Prev: Slow/Expensive Connection, Up: Customization
  1145. 11.5.2 Slow Terminal Connection
  1146. -------------------------------
  1147. Let's say you use your home computer for dialing up the system that runs
  1148. Emacs and Gnus. If your modem is slow, you want to reduce (as much as
  1149. possible) the amount of data sent over the wires.
  1150. `gnus-auto-center-summary'
  1151. Set this to `nil' to inhibit Gnus from re-centering the summary
  1152. buffer all the time. If it is `vertical', do only vertical
  1153. re-centering. If it is neither `nil' nor `vertical', do both
  1154. horizontal and vertical recentering.
  1155. `gnus-visible-headers'
  1156. Cut down on the headers included in the articles to the minimum.
  1157. You can, in fact, make do without them altogether--most of the
  1158. useful data is in the summary buffer, anyway. Set this variable to
  1159. `^NEVVVVER' or `From:', or whatever you feel you need.
  1160. Use the following to enable all the available hiding features:
  1161. (setq gnus-treat-hide-headers 'head
  1162. gnus-treat-hide-signature t
  1163. gnus-treat-hide-citation t)
  1164. `gnus-use-full-window'
  1165. By setting this to `nil', you can make all the windows smaller.
  1166. While this doesn't really cut down much generally, it means that
  1167. you have to see smaller portions of articles before deciding that
  1168. you didn't want to read them anyway.
  1169. `gnus-thread-hide-subtree'
  1170. If this is non-`nil', all threads in the summary buffer will be
  1171. hidden initially.
  1172. `gnus-updated-mode-lines'
  1173. If this is `nil', Gnus will not put information in the buffer mode
  1174. lines, which might save some time.
  1175. 
  1176. File: gnus, Node: Little Disk Space, Next: Slow Machine, Prev: Slow Terminal Connection, Up: Customization
  1177. 11.5.3 Little Disk Space
  1178. ------------------------
  1179. The startup files can get rather large, so you may want to cut their
  1180. sizes a bit if you are running out of space.
  1181. `gnus-save-newsrc-file'
  1182. If this is `nil', Gnus will never save `.newsrc'--it will only
  1183. save `.newsrc.eld'. This means that you will not be able to use
  1184. any other newsreaders than Gnus. This variable is `t' by default.
  1185. `gnus-read-newsrc-file'
  1186. If this is `nil', Gnus will never read `.newsrc'--it will only
  1187. read `.newsrc.eld'. This means that you will not be able to use
  1188. any other newsreaders than Gnus. This variable is `t' by default.
  1189. `gnus-save-killed-list'
  1190. If this is `nil', Gnus will not save the list of dead groups. You
  1191. should also set `gnus-check-new-newsgroups' to `ask-server' and
  1192. `gnus-check-bogus-newsgroups' to `nil' if you set this variable to
  1193. `nil'. This variable is `t' by default.
  1194. 
  1195. File: gnus, Node: Slow Machine, Prev: Little Disk Space, Up: Customization
  1196. 11.5.4 Slow Machine
  1197. -------------------
  1198. If you have a slow machine, or are just really impatient, there are a
  1199. few things you can do to make Gnus run faster.
  1200. Set `gnus-check-new-newsgroups' and `gnus-check-bogus-newsgroups' to
  1201. `nil' to make startup faster.
  1202. Set `gnus-show-threads', `gnus-use-cross-reference' and
  1203. `gnus-nov-is-evil' to `nil' to make entering and exiting the summary
  1204. buffer faster. Also *note Slow/Expensive Connection::.
  1205. 
  1206. File: gnus, Node: Troubleshooting, Next: Gnus Reference Guide, Prev: Customization, Up: Appendices
  1207. 11.6 Troubleshooting
  1208. ====================
  1209. Gnus works _so_ well straight out of the box--I can't imagine any
  1210. problems, really.
  1211. Ahem.
  1212. 1. Make sure your computer is switched on.
  1213. 2. Make sure that you really load the current Gnus version. If you
  1214. have been running GNUS, you need to exit Emacs and start it up
  1215. again before Gnus will work.
  1216. 3. Try doing an `M-x gnus-version'. If you get something that looks
  1217. like `Gnus v5.13' you have the right files loaded. Otherwise you
  1218. have some old `.el' files lying around. Delete these.
  1219. 4. Read the help group (`G h' in the group buffer) for a FAQ and a
  1220. how-to.
  1221. 5. Gnus works on many recursive structures, and in some extreme (and
  1222. very rare) cases Gnus may recurse down "too deeply" and Emacs will
  1223. beep at you. If this happens to you, set `max-lisp-eval-depth' to
  1224. 500 or something like that.
  1225. If all else fails, report the problem as a bug.
  1226. If you find a bug in Gnus, you can report it with the `M-x gnus-bug'
  1227. command. `M-x set-variable RET debug-on-error RET t RET', and send me
  1228. the backtrace. I will fix bugs, but I can only fix them if you send me
  1229. a precise description as to how to reproduce the bug.
  1230. You really can never be too detailed in a bug report. Always use the
  1231. `M-x gnus-bug' command when you make bug reports, even if it creates a
  1232. 10Kb mail each time you use it, and even if you have sent me your
  1233. environment 500 times before. I don't care. I want the full info each
  1234. time.
  1235. It is also important to remember that I have no memory whatsoever.
  1236. If you send a bug report, and I send you a reply, and then you just send
  1237. back "No, it's not! Moron!", I will have no idea what you are insulting
  1238. me about. Always over-explain everything. It's much easier for all of
  1239. us--if I don't have all the information I need, I will just mail you
  1240. and ask for more info, and everything takes more time.
  1241. If the problem you're seeing is very visual, and you can't quite
  1242. explain it, copy the Emacs window to a file (with `xwd', for instance),
  1243. put it somewhere it can be reached, and include the URL of the picture
  1244. in the bug report.
  1245. If you would like to contribute a patch to fix bugs or make
  1246. improvements, please produce the patch using `diff -u'.
  1247. If you want to debug your problem further before reporting, possibly
  1248. in order to solve the problem yourself and send a patch, you can use
  1249. edebug. Debugging Lisp code is documented in the Elisp manual (*note
  1250. Debugging Lisp Programs: (elisp)Debugging.). To get you started with
  1251. edebug, consider if you discover some weird behavior when pressing `c',
  1252. the first step is to do `C-h k c' and click on the hyperlink (Emacs
  1253. only) in the documentation buffer that leads you to the function
  1254. definition, then press `M-x edebug-defun RET' with point inside that
  1255. function, return to Gnus and press `c' to invoke the code. You will be
  1256. placed in the lisp buffer and can single step using `SPC' and evaluate
  1257. expressions using `M-:' or inspect variables using `C-h v', abort
  1258. execution with `q', and resume execution with `c' or `g'.
  1259. Sometimes, a problem do not directly generate an elisp error but
  1260. manifests itself by causing Gnus to be very slow. In these cases, you
  1261. can use `M-x toggle-debug-on-quit' and press `C-g' when things are
  1262. slow, and then try to analyze the backtrace (repeating the procedure
  1263. helps isolating the real problem areas).
  1264. A fancier approach is to use the elisp profiler, ELP. The profiler
  1265. is (or should be) fully documented elsewhere, but to get you started
  1266. there are a few steps that need to be followed. First, instrument the
  1267. part of Gnus you are interested in for profiling, e.g. `M-x
  1268. elp-instrument-package RET gnus' or `M-x elp-instrument-package RET
  1269. message'. Then perform the operation that is slow and press `M-x
  1270. elp-results'. You will then see which operations that takes time, and
  1271. can debug them further. If the entire operation takes much longer than
  1272. the time spent in the slowest function in the profiler output, you
  1273. probably profiled the wrong part of Gnus. To reset profiling
  1274. statistics, use `M-x elp-reset-all'. `M-x elp-restore-all' is supposed
  1275. to remove profiling, but given the complexities and dynamic code
  1276. generation in Gnus, it might not always work perfectly.
  1277. If you just need help, you are better off asking on
  1278. `gnu.emacs.gnus'. I'm not very helpful. You can also ask on the ding
  1279. mailing list <ding@gnus.org>. Write to <ding-request@gnus.org> to
  1280. subscribe.
  1281. 
  1282. File: gnus, Node: Gnus Reference Guide, Next: Emacs for Heathens, Prev: Troubleshooting, Up: Appendices
  1283. 11.7 Gnus Reference Guide
  1284. =========================
  1285. It is my hope that other people will figure out smart stuff that Gnus
  1286. can do, and that other people will write those smart things as well. To
  1287. facilitate that I thought it would be a good idea to describe the inner
  1288. workings of Gnus. And some of the not-so-inner workings, while I'm at
  1289. it.
  1290. You can never expect the internals of a program not to change, but I
  1291. will be defining (in some details) the interface between Gnus and its
  1292. back ends (this is written in stone), the format of the score files
  1293. (ditto), data structures (some are less likely to change than others)
  1294. and general methods of operation.
  1295. * Menu:
  1296. * Gnus Utility Functions:: Common functions and variable to use.
  1297. * Back End Interface:: How Gnus communicates with the servers.
  1298. * Score File Syntax:: A BNF definition of the score file standard.
  1299. * Headers:: How Gnus stores headers internally.
  1300. * Ranges:: A handy format for storing mucho numbers.
  1301. * Group Info:: The group info format.
  1302. * Extended Interactive:: Symbolic prefixes and stuff.
  1303. * Emacs/XEmacs Code:: Gnus can be run under all modern Emacsen.
  1304. * Various File Formats:: Formats of files that Gnus use.
  1305. 
  1306. File: gnus, Node: Gnus Utility Functions, Next: Back End Interface, Up: Gnus Reference Guide
  1307. 11.7.1 Gnus Utility Functions
  1308. -----------------------------
  1309. When writing small functions to be run from hooks (and stuff), it's
  1310. vital to have access to the Gnus internal functions and variables.
  1311. Below is a list of the most common ones.
  1312. `gnus-newsgroup-name'
  1313. This variable holds the name of the current newsgroup.
  1314. `gnus-find-method-for-group'
  1315. A function that returns the select method for GROUP.
  1316. `gnus-group-real-name'
  1317. Takes a full (prefixed) Gnus group name, and returns the unprefixed
  1318. name.
  1319. `gnus-group-prefixed-name'
  1320. Takes an unprefixed group name and a select method, and returns
  1321. the full (prefixed) Gnus group name.
  1322. `gnus-get-info'
  1323. Returns the group info list for GROUP (*note Group Info::).
  1324. `gnus-group-unread'
  1325. The number of unread articles in GROUP, or `t' if that is unknown.
  1326. `gnus-active'
  1327. The active entry (i.e., a cons cell containing the lowest and
  1328. highest article numbers) for GROUP.
  1329. `gnus-set-active'
  1330. Set the active entry for GROUP.
  1331. `gnus-add-current-to-buffer-list'
  1332. Adds the current buffer to the list of buffers to be killed on Gnus
  1333. exit.
  1334. `gnus-continuum-version'
  1335. Takes a Gnus version string as a parameter and returns a floating
  1336. point number. Earlier versions will always get a lower number
  1337. than later versions.
  1338. `gnus-group-read-only-p'
  1339. Says whether GROUP is read-only or not.
  1340. `gnus-news-group-p'
  1341. Says whether GROUP came from a news back end.
  1342. `gnus-ephemeral-group-p'
  1343. Says whether GROUP is ephemeral or not.
  1344. `gnus-server-to-method'
  1345. Returns the select method corresponding to SERVER.
  1346. `gnus-server-equal'
  1347. Says whether two virtual servers are essentially equal. For
  1348. instance, two virtual servers may have server parameters in
  1349. different order, but this function will consider them equal.
  1350. `gnus-group-native-p'
  1351. Says whether GROUP is native or not.
  1352. `gnus-group-secondary-p'
  1353. Says whether GROUP is secondary or not.
  1354. `gnus-group-foreign-p'
  1355. Says whether GROUP is foreign or not.
  1356. `gnus-group-find-parameter'
  1357. Returns the parameter list of GROUP (*note Group Parameters::).
  1358. If given a second parameter, returns the value of that parameter
  1359. for GROUP.
  1360. `gnus-group-set-parameter'
  1361. Takes three parameters; GROUP, PARAMETER and VALUE.
  1362. `gnus-narrow-to-body'
  1363. Narrows the current buffer to the body of the article.
  1364. `gnus-check-backend-function'
  1365. Takes two parameters, FUNCTION and GROUP. If the back end GROUP
  1366. comes from supports FUNCTION, return non-`nil'.
  1367. (gnus-check-backend-function "request-scan" "nnml:misc")
  1368. => t
  1369. `gnus-read-method'
  1370. Prompts the user for a select method.
  1371. 
  1372. File: gnus, Node: Back End Interface, Next: Score File Syntax, Prev: Gnus Utility Functions, Up: Gnus Reference Guide
  1373. 11.7.2 Back End Interface
  1374. -------------------------
  1375. Gnus doesn't know anything about NNTP, spools, mail or virtual groups.
  1376. It only knows how to talk to "virtual servers". A virtual server is a
  1377. "back end" and some "back end variables". As examples of the first, we
  1378. have `nntp', `nnspool' and `nnmbox'. As examples of the latter we have
  1379. `nntp-port-number' and `nnmbox-directory'.
  1380. When Gnus asks for information from a back end--say `nntp'--on
  1381. something, it will normally include a virtual server name in the
  1382. function parameters. (If not, the back end should use the "current"
  1383. virtual server.) For instance, `nntp-request-list' takes a virtual
  1384. server as its only (optional) parameter. If this virtual server hasn't
  1385. been opened, the function should fail.
  1386. Note that a virtual server name has no relation to some physical
  1387. server name. Take this example:
  1388. (nntp "odd-one"
  1389. (nntp-address "ifi.uio.no")
  1390. (nntp-port-number 4324))
  1391. Here the virtual server name is `odd-one' while the name of the
  1392. physical server is `ifi.uio.no'.
  1393. The back ends should be able to switch between several virtual
  1394. servers. The standard back ends implement this by keeping an alist of
  1395. virtual server environments that they pull down/push up when needed.
  1396. There are two groups of interface functions: "required functions",
  1397. which must be present, and "optional functions", which Gnus will always
  1398. check for presence before attempting to call 'em.
  1399. All these functions are expected to return data in the buffer
  1400. `nntp-server-buffer' (` *nntpd*'), which is somewhat unfortunately
  1401. named, but we'll have to live with it. When I talk about "resulting
  1402. data", I always refer to the data in that buffer. When I talk about
  1403. "return value", I talk about the function value returned by the
  1404. function call. Functions that fail should return `nil' as the return
  1405. value.
  1406. Some back ends could be said to be "server-forming" back ends, and
  1407. some might be said not to be. The latter are back ends that generally
  1408. only operate on one group at a time, and have no concept of "server"
  1409. --they have a group, and they deliver info on that group and nothing
  1410. more.
  1411. Gnus identifies each message by way of group name and article
  1412. number. A few remarks about these article numbers might be useful.
  1413. First of all, the numbers are positive integers. Secondly, it is
  1414. normally not possible for later articles to "re-use" older article
  1415. numbers without confusing Gnus. That is, if a group has ever contained
  1416. a message numbered 42, then no other message may get that number, or
  1417. Gnus will get mightily confused.(1) Third, article numbers must be
  1418. assigned in order of arrival in the group; this is not necessarily the
  1419. same as the date of the message.
  1420. The previous paragraph already mentions all the "hard" restrictions
  1421. that article numbers must fulfill. But it seems that it might be
  1422. useful to assign _consecutive_ article numbers, for Gnus gets quite
  1423. confused if there are holes in the article numbering sequence.
  1424. However, due to the "no-reuse" restriction, holes cannot be avoided
  1425. altogether. It's also useful for the article numbers to start at 1 to
  1426. avoid running out of numbers as long as possible.
  1427. Note that by convention, back ends are named `nnsomething', but Gnus
  1428. also comes with some `nnnotbackends', such as `nnheader.el',
  1429. `nnmail.el' and `nnoo.el'.
  1430. In the examples and definitions I will refer to the imaginary back
  1431. end `nnchoke'.
  1432. * Menu:
  1433. * Required Back End Functions:: Functions that must be implemented.
  1434. * Optional Back End Functions:: Functions that need not be implemented.
  1435. * Error Messaging:: How to get messages and report errors.
  1436. * Writing New Back Ends:: Extending old back ends.
  1437. * Hooking New Back Ends Into Gnus:: What has to be done on the Gnus end.
  1438. * Mail-like Back Ends:: Some tips on mail back ends.
  1439. ---------- Footnotes ----------
  1440. (1) See the function `nnchoke-request-update-info', *note Optional
  1441. Back End Functions::.
  1442. 
  1443. File: gnus, Node: Required Back End Functions, Next: Optional Back End Functions, Up: Back End Interface
  1444. 11.7.2.1 Required Back End Functions
  1445. ....................................
  1446. `(nnchoke-retrieve-headers ARTICLES &optional GROUP SERVER FETCH-OLD)'
  1447. ARTICLES is either a range of article numbers or a list of
  1448. `Message-ID's. Current back ends do not fully support either--only
  1449. sequences (lists) of article numbers, and most back ends do not
  1450. support retrieval of `Message-ID's. But they should try for both.
  1451. The result data should either be HEADs or NOV lines, and the result
  1452. value should either be `headers' or `nov' to reflect this. This
  1453. might later be expanded to `various', which will be a mixture of
  1454. HEADs and NOV lines, but this is currently not supported by Gnus.
  1455. If FETCH-OLD is non-`nil' it says to try fetching "extra headers",
  1456. in some meaning of the word. This is generally done by fetching
  1457. (at most) FETCH-OLD extra headers less than the smallest article
  1458. number in `articles', and filling the gaps as well. The presence
  1459. of this parameter can be ignored if the back end finds it
  1460. cumbersome to follow the request. If this is non-`nil' and not a
  1461. number, do maximum fetches.
  1462. Here's an example HEAD:
  1463. 221 1056 Article retrieved.
  1464. Path: ifi.uio.no!sturles
  1465. From: sturles@ifi.uio.no (Sturle Sunde)
  1466. Newsgroups: ifi.discussion
  1467. Subject: Re: Something very droll
  1468. Date: 27 Oct 1994 14:02:57 +0100
  1469. Organization: Dept. of Informatics, University of Oslo, Norway
  1470. Lines: 26
  1471. Message-ID: <38o8e1$a0o@holmenkollen.ifi.uio.no>
  1472. References: <38jdmq$4qu@visbur.ifi.uio.no>
  1473. NNTP-Posting-Host: holmenkollen.ifi.uio.no
  1474. .
  1475. So a `headers' return value would imply that there's a number of
  1476. these in the data buffer.
  1477. Here's a BNF definition of such a buffer:
  1478. headers = *head
  1479. head = error / valid-head
  1480. error-message = [ "4" / "5" ] 2number " " <error message> eol
  1481. valid-head = valid-message *header "." eol
  1482. valid-message = "221 " <number> " Article retrieved." eol
  1483. header = <text> eol
  1484. (The version of BNF used here is the one used in RFC822.)
  1485. If the return value is `nov', the data buffer should contain
  1486. "network overview database" lines. These are basically fields
  1487. separated by tabs.
  1488. nov-buffer = *nov-line
  1489. nov-line = field 7*8[ <TAB> field ] eol
  1490. field = <text except TAB>
  1491. For a closer look at what should be in those fields, *note
  1492. Headers::.
  1493. `(nnchoke-open-server SERVER &optional DEFINITIONS)'
  1494. SERVER is here the virtual server name. DEFINITIONS is a list of
  1495. `(VARIABLE VALUE)' pairs that define this virtual server.
  1496. If the server can't be opened, no error should be signaled. The
  1497. back end may then choose to refuse further attempts at connecting
  1498. to this server. In fact, it should do so.
  1499. If the server is opened already, this function should return a
  1500. non-`nil' value. There should be no data returned.
  1501. `(nnchoke-close-server &optional SERVER)'
  1502. Close connection to SERVER and free all resources connected to it.
  1503. Return `nil' if the server couldn't be closed for some reason.
  1504. There should be no data returned.
  1505. `(nnchoke-request-close)'
  1506. Close connection to all servers and free all resources that the
  1507. back end have reserved. All buffers that have been created by
  1508. that back end should be killed. (Not the `nntp-server-buffer',
  1509. though.) This function is generally only called when Gnus is
  1510. shutting down.
  1511. There should be no data returned.
  1512. `(nnchoke-server-opened &optional SERVER)'
  1513. If SERVER is the current virtual server, and the connection to the
  1514. physical server is alive, then this function should return a
  1515. non-`nil' value. This function should under no circumstances
  1516. attempt to reconnect to a server we have lost connection to.
  1517. There should be no data returned.
  1518. `(nnchoke-status-message &optional SERVER)'
  1519. This function should return the last error message from SERVER.
  1520. There should be no data returned.
  1521. `(nnchoke-request-article ARTICLE &optional GROUP SERVER TO-BUFFER)'
  1522. The result data from this function should be the article specified
  1523. by ARTICLE. This might either be a `Message-ID' or a number. It
  1524. is optional whether to implement retrieval by `Message-ID', but it
  1525. would be nice if that were possible.
  1526. If TO-BUFFER is non-`nil', the result data should be returned in
  1527. this buffer instead of the normal data buffer. This is to make it
  1528. possible to avoid copying large amounts of data from one buffer to
  1529. another, while Gnus mainly requests articles to be inserted
  1530. directly into its article buffer.
  1531. If it is at all possible, this function should return a cons cell
  1532. where the `car' is the group name the article was fetched from,
  1533. and the `cdr' is the article number. This will enable Gnus to
  1534. find out what the real group and article numbers are when fetching
  1535. articles by `Message-ID'. If this isn't possible, `t' should be
  1536. returned on successful article retrieval.
  1537. `(nnchoke-request-group GROUP &optional SERVER FAST INFO)'
  1538. Get data on GROUP. This function also has the side effect of
  1539. making GROUP the current group.
  1540. If FAST, don't bother to return useful data, just make GROUP the
  1541. current group.
  1542. If INFO, it allows the backend to update the group info structure.
  1543. Here's an example of some result data and a definition of the same:
  1544. 211 56 1000 1059 ifi.discussion
  1545. The first number is the status, which should be 211. Next is the
  1546. total number of articles in the group, the lowest article number,
  1547. the highest article number, and finally the group name. Note that
  1548. the total number of articles may be less than one might think
  1549. while just considering the highest and lowest article numbers, but
  1550. some articles may have been canceled. Gnus just discards the
  1551. total-number, so whether one should take the bother to generate it
  1552. properly (if that is a problem) is left as an exercise to the
  1553. reader. If the group contains no articles, the lowest article
  1554. number should be reported as 1 and the highest as 0.
  1555. group-status = [ error / info ] eol
  1556. error = [ "4" / "5" ] 2<number> " " <Error message>
  1557. info = "211 " 3* [ <number> " " ] <string>
  1558. `(nnchoke-close-group GROUP &optional SERVER)'
  1559. Close GROUP and free any resources connected to it. This will be
  1560. a no-op on most back ends.
  1561. There should be no data returned.
  1562. `(nnchoke-request-list &optional SERVER)'
  1563. Return a list of all groups available on SERVER. And that means
  1564. _all_.
  1565. Here's an example from a server that only carries two groups:
  1566. ifi.test 0000002200 0000002000 y
  1567. ifi.discussion 3324 3300 n
  1568. On each line we have a group name, then the highest article number
  1569. in that group, the lowest article number, and finally a flag. If
  1570. the group contains no articles, the lowest article number should
  1571. be reported as 1 and the highest as 0.
  1572. active-file = *active-line
  1573. active-line = name " " <number> " " <number> " " flags eol
  1574. name = <string>
  1575. flags = "n" / "y" / "m" / "x" / "j" / "=" name
  1576. The flag says whether the group is read-only (`n'), is moderated
  1577. (`m'), is dead (`x'), is aliased to some other group
  1578. (`=other-group') or none of the above (`y').
  1579. `(nnchoke-request-post &optional SERVER)'
  1580. This function should post the current buffer. It might return
  1581. whether the posting was successful or not, but that's not
  1582. required. If, for instance, the posting is done asynchronously,
  1583. it has generally not been completed by the time this function
  1584. concludes. In that case, this function should set up some kind of
  1585. sentinel to beep the user loud and clear if the posting could not
  1586. be completed.
  1587. There should be no result data from this function.
  1588. 
  1589. File: gnus, Node: Optional Back End Functions, Next: Error Messaging, Prev: Required Back End Functions, Up: Back End Interface
  1590. 11.7.2.2 Optional Back End Functions
  1591. ....................................
  1592. `(nnchoke-retrieve-groups GROUPS &optional SERVER)'
  1593. GROUPS is a list of groups, and this function should request data
  1594. on all those groups. How it does it is of no concern to Gnus, but
  1595. it should attempt to do this in a speedy fashion.
  1596. The return value of this function can be either `active' or
  1597. `group', which says what the format of the result data is. The
  1598. former is in the same format as the data from
  1599. `nnchoke-request-list', while the latter is a buffer full of lines
  1600. in the same format as `nnchoke-request-group' gives.
  1601. group-buffer = *active-line / *group-status
  1602. `(nnchoke-request-update-info GROUP INFO &optional SERVER)'
  1603. A Gnus group info (*note Group Info::) is handed to the back end
  1604. for alterations. This comes in handy if the back end really
  1605. carries all the information (as is the case with virtual and imap
  1606. groups). This function should destructively alter the info to
  1607. suit its needs, and should return a non-`nil' value (exceptionally,
  1608. `nntp-request-update-info' always returns `nil' not to waste the
  1609. network resources).
  1610. There should be no result data from this function.
  1611. `(nnchoke-request-type GROUP &optional ARTICLE)'
  1612. When the user issues commands for "sending news" (`F' in the
  1613. summary buffer, for instance), Gnus has to know whether the
  1614. article the user is following up on is news or mail. This
  1615. function should return `news' if ARTICLE in GROUP is news, `mail'
  1616. if it is mail and `unknown' if the type can't be decided. (The
  1617. ARTICLE parameter is necessary in `nnvirtual' groups which might
  1618. very well combine mail groups and news groups.) Both GROUP and
  1619. ARTICLE may be `nil'.
  1620. There should be no result data from this function.
  1621. `(nnchoke-request-set-mark GROUP ACTION &optional SERVER)'
  1622. Set/remove/add marks on articles. Normally Gnus handles the
  1623. article marks (such as read, ticked, expired etc) internally, and
  1624. store them in `~/.newsrc.eld'. Some back ends (such as IMAP)
  1625. however carry all information about the articles on the server, so
  1626. Gnus need to propagate the mark information to the server.
  1627. ACTION is a list of mark setting requests, having this format:
  1628. (RANGE ACTION MARK)
  1629. RANGE is a range of articles you wish to update marks on. ACTION
  1630. is `add' or `del', used to add marks or remove marks (preserving
  1631. all marks not mentioned). MARK is a list of marks; where each
  1632. mark is a symbol. Currently used marks are `read', `tick',
  1633. `reply', `expire', `killed', `dormant', `save', `download',
  1634. `unsend', and `forward', but your back end should, if possible,
  1635. not limit itself to these.
  1636. Given contradictory actions, the last action in the list should be
  1637. the effective one. That is, if your action contains a request to
  1638. add the `tick' mark on article 1 and, later in the list, a request
  1639. to remove the mark on the same article, the mark should in fact be
  1640. removed.
  1641. An example action list:
  1642. (((5 12 30) 'del '(tick))
  1643. ((10 . 90) 'add '(read expire))
  1644. ((92 94) 'del '(read)))
  1645. The function should return a range of articles it wasn't able to
  1646. set the mark on (currently not used for anything).
  1647. There should be no result data from this function.
  1648. `(nnchoke-request-update-mark GROUP ARTICLE MARK)'
  1649. If the user tries to set a mark that the back end doesn't like,
  1650. this function may change the mark. Gnus will use whatever this
  1651. function returns as the mark for ARTICLE instead of the original
  1652. MARK. If the back end doesn't care, it must return the original
  1653. MARK, and not `nil' or any other type of garbage.
  1654. The only use for this I can see is what `nnvirtual' does with
  1655. it--if a component group is auto-expirable, marking an article as
  1656. read in the virtual group should result in the article being
  1657. marked as expirable.
  1658. There should be no result data from this function.
  1659. `(nnchoke-request-scan &optional GROUP SERVER)'
  1660. This function may be called at any time (by Gnus or anything else)
  1661. to request that the back end check for incoming articles, in one
  1662. way or another. A mail back end will typically read the spool
  1663. file or query the POP server when this function is invoked. The
  1664. GROUP doesn't have to be heeded--if the back end decides that it
  1665. is too much work just scanning for a single group, it may do a
  1666. total scan of all groups. It would be nice, however, to keep
  1667. things local if that's practical.
  1668. There should be no result data from this function.
  1669. `(nnchoke-request-group-description GROUP &optional SERVER)'
  1670. The result data from this function should be a description of
  1671. GROUP.
  1672. description-line = name <TAB> description eol
  1673. name = <string>
  1674. description = <text>
  1675. `(nnchoke-request-list-newsgroups &optional SERVER)'
  1676. The result data from this function should be the description of all
  1677. groups available on the server.
  1678. description-buffer = *description-line
  1679. `(nnchoke-request-newgroups DATE &optional SERVER)'
  1680. The result data from this function should be all groups that were
  1681. created after `date', which is in normal human-readable date format
  1682. (i.e., the date format used in mail and news headers, and returned
  1683. by the function `message-make-date' by default). The data should
  1684. be in the active buffer format.
  1685. It is okay for this function to return "too many" groups; some
  1686. back ends might find it cheaper to return the full list of groups,
  1687. rather than just the new groups. But don't do this for back ends
  1688. with many groups. Normally, if the user creates the groups
  1689. herself, there won't be too many groups, so `nnml' and the like
  1690. are probably safe. But for back ends like `nntp', where the
  1691. groups have been created by the server, it is quite likely that
  1692. there can be many groups.
  1693. `(nnchoke-request-create-group GROUP &optional SERVER)'
  1694. This function should create an empty group with name GROUP.
  1695. There should be no return data.
  1696. `(nnchoke-request-expire-articles ARTICLES &optional GROUP SERVER FORCE)'
  1697. This function should run the expiry process on all articles in the
  1698. ARTICLES range (which is currently a simple list of article
  1699. numbers.) It is left up to the back end to decide how old articles
  1700. should be before they are removed by this function. If FORCE is
  1701. non-`nil', all ARTICLES should be deleted, no matter how new they
  1702. are.
  1703. This function should return a list of articles that it did not/was
  1704. not able to delete.
  1705. There should be no result data returned.
  1706. `(nnchoke-request-move-article ARTICLE GROUP SERVER ACCEPT-FORM &optional LAST)'
  1707. This function should move ARTICLE (which is a number) from GROUP
  1708. by calling ACCEPT-FORM.
  1709. This function should ready the article in question for moving by
  1710. removing any header lines it has added to the article, and
  1711. generally should "tidy up" the article. Then it should `eval'
  1712. ACCEPT-FORM in the buffer where the "tidy" article is. This will
  1713. do the actual copying. If this `eval' returns a non-`nil' value,
  1714. the article should be removed.
  1715. If LAST is `nil', that means that there is a high likelihood that
  1716. there will be more requests issued shortly, so that allows some
  1717. optimizations.
  1718. The function should return a cons where the `car' is the group
  1719. name and the `cdr' is the article number that the article was
  1720. entered as.
  1721. There should be no data returned.
  1722. `(nnchoke-request-accept-article GROUP &optional SERVER LAST)'
  1723. This function takes the current buffer and inserts it into GROUP.
  1724. If LAST in `nil', that means that there will be more calls to this
  1725. function in short order.
  1726. The function should return a cons where the `car' is the group
  1727. name and the `cdr' is the article number that the article was
  1728. entered as.
  1729. The group should exist before the back end is asked to accept the
  1730. article for that group.
  1731. There should be no data returned.
  1732. `(nnchoke-request-replace-article ARTICLE GROUP BUFFER)'
  1733. This function should remove ARTICLE (which is a number) from GROUP
  1734. and insert BUFFER there instead.
  1735. There should be no data returned.
  1736. `(nnchoke-request-delete-group GROUP FORCE &optional SERVER)'
  1737. This function should delete GROUP. If FORCE, it should really
  1738. delete all the articles in the group, and then delete the group
  1739. itself. (If there is such a thing as "the group itself".)
  1740. There should be no data returned.
  1741. `(nnchoke-request-rename-group GROUP NEW-NAME &optional SERVER)'
  1742. This function should rename GROUP into NEW-NAME. All articles in
  1743. GROUP should move to NEW-NAME.
  1744. There should be no data returned.
  1745. 
  1746. File: gnus, Node: Error Messaging, Next: Writing New Back Ends, Prev: Optional Back End Functions, Up: Back End Interface
  1747. 11.7.2.3 Error Messaging
  1748. ........................
  1749. The back ends should use the function `nnheader-report' to report error
  1750. conditions--they should not raise errors when they aren't able to
  1751. perform a request. The first argument to this function is the back end
  1752. symbol, and the rest are interpreted as arguments to `format' if there
  1753. are multiple of them, or just a string if there is one of them. This
  1754. function must always returns `nil'.
  1755. (nnheader-report 'nnchoke "You did something totally bogus")
  1756. (nnheader-report 'nnchoke "Could not request group %s" group)
  1757. Gnus, in turn, will call `nnheader-get-report' when it gets a `nil'
  1758. back from a server, and this function returns the most recently
  1759. reported message for the back end in question. This function takes one
  1760. argument--the server symbol.
  1761. Internally, these functions access BACK-END`-status-string', so the
  1762. `nnchoke' back end will have its error message stored in
  1763. `nnchoke-status-string'.
  1764. 
  1765. File: gnus, Node: Writing New Back Ends, Next: Hooking New Back Ends Into Gnus, Prev: Error Messaging, Up: Back End Interface
  1766. 11.7.2.4 Writing New Back Ends
  1767. ..............................
  1768. Many back ends are quite similar. `nnml' is just like `nnspool', but
  1769. it allows you to edit the articles on the server. `nnmh' is just like
  1770. `nnml', but it doesn't use an active file, and it doesn't maintain
  1771. overview databases. `nndir' is just like `nnml', but it has no concept
  1772. of "groups", and it doesn't allow editing articles.
  1773. It would make sense if it were possible to "inherit" functions from
  1774. back ends when writing new back ends. And, indeed, you can do that if
  1775. you want to. (You don't have to if you don't want to, of course.)
  1776. All the back ends declare their public variables and functions by
  1777. using a package called `nnoo'.
  1778. To inherit functions from other back ends (and allow other back ends
  1779. to inherit functions from the current back end), you should use the
  1780. following macros:
  1781. `nnoo-declare'
  1782. This macro declares the first parameter to be a child of the
  1783. subsequent parameters. For instance:
  1784. (nnoo-declare nndir
  1785. nnml nnmh)
  1786. `nndir' has declared here that it intends to inherit functions from
  1787. both `nnml' and `nnmh'.
  1788. `defvoo'
  1789. This macro is equivalent to `defvar', but registers the variable as
  1790. a public server variable. Most state-oriented variables should be
  1791. declared with `defvoo' instead of `defvar'.
  1792. In addition to the normal `defvar' parameters, it takes a list of
  1793. variables in the parent back ends to map the variable to when
  1794. executing a function in those back ends.
  1795. (defvoo nndir-directory nil
  1796. "Where nndir will look for groups."
  1797. nnml-current-directory nnmh-current-directory)
  1798. This means that `nnml-current-directory' will be set to
  1799. `nndir-directory' when an `nnml' function is called on behalf of
  1800. `nndir'. (The same with `nnmh'.)
  1801. `nnoo-define-basics'
  1802. This macro defines some common functions that almost all back ends
  1803. should have.
  1804. (nnoo-define-basics nndir)
  1805. `deffoo'
  1806. This macro is just like `defun' and takes the same parameters. In
  1807. addition to doing the normal `defun' things, it registers the
  1808. function as being public so that other back ends can inherit it.
  1809. `nnoo-map-functions'
  1810. This macro allows mapping of functions from the current back end to
  1811. functions from the parent back ends.
  1812. (nnoo-map-functions nndir
  1813. (nnml-retrieve-headers 0 nndir-current-group 0 0)
  1814. (nnmh-request-article 0 nndir-current-group 0 0))
  1815. This means that when `nndir-retrieve-headers' is called, the first,
  1816. third, and fourth parameters will be passed on to
  1817. `nnml-retrieve-headers', while the second parameter is set to the
  1818. value of `nndir-current-group'.
  1819. `nnoo-import'
  1820. This macro allows importing functions from back ends. It should
  1821. be the last thing in the source file, since it will only define
  1822. functions that haven't already been defined.
  1823. (nnoo-import nndir
  1824. (nnmh
  1825. nnmh-request-list
  1826. nnmh-request-newgroups)
  1827. (nnml))
  1828. This means that calls to `nndir-request-list' should just be passed
  1829. on to `nnmh-request-list', while all public functions from `nnml'
  1830. that haven't been defined in `nndir' yet should be defined now.
  1831. Below is a slightly shortened version of the `nndir' back end.
  1832. ;;; nndir.el -- single directory newsgroup access for Gnus
  1833. ;; Copyright (C) 1995,1996 Free Software Foundation, Inc.
  1834. ;;; Code:
  1835. (require 'nnheader)
  1836. (require 'nnmh)
  1837. (require 'nnml)
  1838. (require 'nnoo)
  1839. (eval-when-compile (require 'cl))
  1840. (nnoo-declare nndir
  1841. nnml nnmh)
  1842. (defvoo nndir-directory nil
  1843. "Where nndir will look for groups."
  1844. nnml-current-directory nnmh-current-directory)
  1845. (defvoo nndir-nov-is-evil nil
  1846. "*Non-nil means that nndir will never retrieve NOV headers."
  1847. nnml-nov-is-evil)
  1848. (defvoo nndir-current-group ""
  1849. nil
  1850. nnml-current-group nnmh-current-group)
  1851. (defvoo nndir-top-directory nil nil nnml-directory nnmh-directory)
  1852. (defvoo nndir-get-new-mail nil nil nnml-get-new-mail nnmh-get-new-mail)
  1853. (defvoo nndir-status-string "" nil nnmh-status-string)
  1854. (defconst nndir-version "nndir 1.0")
  1855. ;;; Interface functions.
  1856. (nnoo-define-basics nndir)
  1857. (deffoo nndir-open-server (server &optional defs)
  1858. (setq nndir-directory
  1859. (or (cadr (assq 'nndir-directory defs))
  1860. server))
  1861. (unless (assq 'nndir-directory defs)
  1862. (push `(nndir-directory ,server) defs))
  1863. (push `(nndir-current-group
  1864. ,(file-name-nondirectory
  1865. (directory-file-name nndir-directory)))
  1866. defs)
  1867. (push `(nndir-top-directory
  1868. ,(file-name-directory (directory-file-name nndir-directory)))
  1869. defs)
  1870. (nnoo-change-server 'nndir server defs))
  1871. (nnoo-map-functions nndir
  1872. (nnml-retrieve-headers 0 nndir-current-group 0 0)
  1873. (nnmh-request-article 0 nndir-current-group 0 0)
  1874. (nnmh-request-group nndir-current-group 0 0)
  1875. (nnmh-close-group nndir-current-group 0))
  1876. (nnoo-import nndir
  1877. (nnmh
  1878. nnmh-status-message
  1879. nnmh-request-list
  1880. nnmh-request-newgroups))
  1881. (provide 'nndir)
  1882. 
  1883. File: gnus, Node: Hooking New Back Ends Into Gnus, Next: Mail-like Back Ends, Prev: Writing New Back Ends, Up: Back End Interface
  1884. 11.7.2.5 Hooking New Back Ends Into Gnus
  1885. ........................................
  1886. Having Gnus start using your new back end is rather easy--you just
  1887. declare it with the `gnus-declare-backend' functions. This will enter
  1888. the back end into the `gnus-valid-select-methods' variable.
  1889. `gnus-declare-backend' takes two parameters--the back end name and
  1890. an arbitrary number of "abilities".
  1891. Here's an example:
  1892. (gnus-declare-backend "nnchoke" 'mail 'respool 'address)
  1893. The above line would then go in the `nnchoke.el' file.
  1894. The abilities can be:
  1895. `mail'
  1896. This is a mailish back end--followups should (probably) go via
  1897. mail.
  1898. `post'
  1899. This is a newsish back end--followups should (probably) go via
  1900. news.
  1901. `post-mail'
  1902. This back end supports both mail and news.
  1903. `none'
  1904. This is neither a post nor mail back end--it's something completely
  1905. different.
  1906. `respool'
  1907. It supports respooling--or rather, it is able to modify its source
  1908. articles and groups.
  1909. `address'
  1910. The name of the server should be in the virtual server name. This
  1911. is true for almost all back ends.
  1912. `prompt-address'
  1913. The user should be prompted for an address when doing commands like
  1914. `B' in the group buffer. This is true for back ends like `nntp',
  1915. but not `nnmbox', for instance.
  1916. 
  1917. File: gnus, Node: Mail-like Back Ends, Prev: Hooking New Back Ends Into Gnus, Up: Back End Interface
  1918. 11.7.2.6 Mail-like Back Ends
  1919. ............................
  1920. One of the things that separate the mail back ends from the rest of the
  1921. back ends is the heavy dependence by most of the mail back ends on
  1922. common functions in `nnmail.el'. For instance, here's the definition
  1923. of `nnml-request-scan':
  1924. (deffoo nnml-request-scan (&optional group server)
  1925. (setq nnml-article-file-alist nil)
  1926. (nnmail-get-new-mail 'nnml 'nnml-save-nov nnml-directory group))
  1927. It simply calls `nnmail-get-new-mail' with a few parameters, and
  1928. `nnmail' takes care of all the moving and splitting of the mail.
  1929. This function takes four parameters.
  1930. METHOD
  1931. This should be a symbol to designate which back end is responsible
  1932. for the call.
  1933. EXIT-FUNCTION
  1934. This function should be called after the splitting has been
  1935. performed.
  1936. TEMP-DIRECTORY
  1937. Where the temporary files should be stored.
  1938. GROUP
  1939. This optional argument should be a group name if the splitting is
  1940. to be performed for one group only.
  1941. `nnmail-get-new-mail' will call BACK-END`-save-mail' to save each
  1942. article. BACK-END`-active-number' will be called to find the article
  1943. number assigned to this article.
  1944. The function also uses the following variables:
  1945. BACK-END`-get-new-mail' (to see whether to get new mail for this back
  1946. end); and BACK-END`-group-alist' and BACK-END`-active-file' to generate
  1947. the new active file. BACK-END`-group-alist' should be a group-active
  1948. alist, like this:
  1949. (("a-group" (1 . 10))
  1950. ("some-group" (34 . 39)))
  1951. 
  1952. File: gnus, Node: Score File Syntax, Next: Headers, Prev: Back End Interface, Up: Gnus Reference Guide
  1953. 11.7.3 Score File Syntax
  1954. ------------------------
  1955. Score files are meant to be easily parsable, but yet extremely
  1956. malleable. It was decided that something that had the same read syntax
  1957. as an Emacs Lisp list would fit that spec.
  1958. Here's a typical score file:
  1959. (("summary"
  1960. ("win95" -10000 nil s)
  1961. ("Gnus"))
  1962. ("from"
  1963. ("Lars" -1000))
  1964. (mark -100))
  1965. BNF definition of a score file:
  1966. score-file = "" / "(" *element ")"
  1967. element = rule / atom
  1968. rule = string-rule / number-rule / date-rule
  1969. string-rule = "(" quote string-header quote space *string-match ")"
  1970. number-rule = "(" quote number-header quote space *number-match ")"
  1971. date-rule = "(" quote date-header quote space *date-match ")"
  1972. quote = <ascii 34>
  1973. string-header = "subject" / "from" / "references" / "message-id" /
  1974. "xref" / "body" / "head" / "all" / "followup"
  1975. number-header = "lines" / "chars"
  1976. date-header = "date"
  1977. string-match = "(" quote <string> quote [ "" / [ space score [ "" /
  1978. space date [ "" / [ space string-match-t ] ] ] ] ] ")"
  1979. score = "nil" / <integer>
  1980. date = "nil" / <natural number>
  1981. string-match-t = "nil" / "s" / "substring" / "S" / "Substring" /
  1982. "r" / "regex" / "R" / "Regex" /
  1983. "e" / "exact" / "E" / "Exact" /
  1984. "f" / "fuzzy" / "F" / "Fuzzy"
  1985. number-match = "(" <integer> [ "" / [ space score [ "" /
  1986. space date [ "" / [ space number-match-t ] ] ] ] ] ")"
  1987. number-match-t = "nil" / "=" / "<" / ">" / ">=" / "<="
  1988. date-match = "(" quote <string> quote [ "" / [ space score [ "" /
  1989. space date [ "" / [ space date-match-t ] ] ] ] ")"
  1990. date-match-t = "nil" / "at" / "before" / "after"
  1991. atom = "(" [ required-atom / optional-atom ] ")"
  1992. required-atom = mark / expunge / mark-and-expunge / files /
  1993. exclude-files / read-only / touched
  1994. optional-atom = adapt / local / eval
  1995. mark = "mark" space nil-or-number
  1996. nil-or-number = "nil" / <integer>
  1997. expunge = "expunge" space nil-or-number
  1998. mark-and-expunge = "mark-and-expunge" space nil-or-number
  1999. files = "files" *[ space <string> ]
  2000. exclude-files = "exclude-files" *[ space <string> ]
  2001. read-only = "read-only" [ space "nil" / space "t" ]
  2002. adapt = "adapt" [ space "ignore" / space "t" / space adapt-rule ]
  2003. adapt-rule = "(" *[ <string> *[ "(" <string> <integer> ")" ] ")"
  2004. local = "local" *[ space "(" <string> space <form> ")" ]
  2005. eval = "eval" space <form>
  2006. space = *[ " " / <TAB> / <NEWLINE> ]
  2007. Any unrecognized elements in a score file should be ignored, but not
  2008. discarded.
  2009. As you can see, white space is needed, but the type and amount of
  2010. white space is irrelevant. This means that formatting of the score
  2011. file is left up to the programmer--if it's simpler to just spew it all
  2012. out on one looong line, then that's ok.
  2013. The meaning of the various atoms are explained elsewhere in this
  2014. manual (*note Score File Format::).
  2015. 
  2016. File: gnus, Node: Headers, Next: Ranges, Prev: Score File Syntax, Up: Gnus Reference Guide
  2017. 11.7.4 Headers
  2018. --------------
  2019. Internally Gnus uses a format for storing article headers that
  2020. corresponds to the NOV format in a mysterious fashion. One could
  2021. almost suspect that the author looked at the NOV specification and just
  2022. shamelessly _stole_ the entire thing, and one would be right.
  2023. "Header" is a severely overloaded term. "Header" is used in RFC
  2024. 1036 to talk about lines in the head of an article (e.g., `From'). It
  2025. is used by many people as a synonym for "head"--"the header and the
  2026. body". (That should be avoided, in my opinion.) And Gnus uses a
  2027. format internally that it calls "header", which is what I'm talking
  2028. about here. This is a 9-element vector, basically, with each header
  2029. (ouch) having one slot.
  2030. These slots are, in order: `number', `subject', `from', `date',
  2031. `id', `references', `chars', `lines', `xref', and `extra'. There are
  2032. macros for accessing and setting these slots--they all have predictable
  2033. names beginning with `mail-header-' and `mail-header-set-',
  2034. respectively.
  2035. All these slots contain strings, except the `extra' slot, which
  2036. contains an alist of header/value pairs (*note To From Newsgroups::).
  2037. 
  2038. File: gnus, Node: Ranges, Next: Group Info, Prev: Headers, Up: Gnus Reference Guide
  2039. 11.7.5 Ranges
  2040. -------------
  2041. GNUS introduced a concept that I found so useful that I've started
  2042. using it a lot and have elaborated on it greatly.
  2043. The question is simple: If you have a large amount of objects that
  2044. are identified by numbers (say, articles, to take a _wild_ example)
  2045. that you want to qualify as being "included", a normal sequence isn't
  2046. very useful. (A 200,000 length sequence is a bit long-winded.)
  2047. The solution is as simple as the question: You just collapse the
  2048. sequence.
  2049. (1 2 3 4 5 6 10 11 12)
  2050. is transformed into
  2051. ((1 . 6) (10 . 12))
  2052. To avoid having those nasty `(13 . 13)' elements to denote a
  2053. lonesome object, a `13' is a valid element:
  2054. ((1 . 6) 7 (10 . 12))
  2055. This means that comparing two ranges to find out whether they are
  2056. equal is slightly tricky:
  2057. ((1 . 5) 7 8 (10 . 12))
  2058. and
  2059. ((1 . 5) (7 . 8) (10 . 12))
  2060. are equal. In fact, any non-descending list is a range:
  2061. (1 2 3 4 5)
  2062. is a perfectly valid range, although a pretty long-winded one. This
  2063. is also valid:
  2064. (1 . 5)
  2065. and is equal to the previous range.
  2066. Here's a BNF definition of ranges. Of course, one must remember the
  2067. semantic requirement that the numbers are non-descending. (Any number
  2068. of repetition of the same number is allowed, but apt to disappear in
  2069. range handling.)
  2070. range = simple-range / normal-range
  2071. simple-range = "(" number " . " number ")"
  2072. normal-range = "(" start-contents ")"
  2073. contents = "" / simple-range *[ " " contents ] /
  2074. number *[ " " contents ]
  2075. Gnus currently uses ranges to keep track of read articles and article
  2076. marks. I plan on implementing a number of range operators in C if The
  2077. Powers That Be are willing to let me. (I haven't asked yet, because I
  2078. need to do some more thinking on what operators I need to make life
  2079. totally range-based without ever having to convert back to normal
  2080. sequences.)
  2081. 
  2082. File: gnus, Node: Group Info, Next: Extended Interactive, Prev: Ranges, Up: Gnus Reference Guide
  2083. 11.7.6 Group Info
  2084. -----------------
  2085. Gnus stores all permanent info on groups in a "group info" list. This
  2086. list is from three to six elements (or more) long and exhaustively
  2087. describes the group.
  2088. Here are two example group infos; one is a very simple group while
  2089. the second is a more complex one:
  2090. ("no.group" 5 ((1 . 54324)))
  2091. ("nnml:my.mail" 3 ((1 . 5) 9 (20 . 55))
  2092. ((tick (15 . 19)) (replied 3 6 (19 . 3)))
  2093. (nnml "")
  2094. ((auto-expire . t) (to-address . "ding@gnus.org")))
  2095. The first element is the "group name"--as Gnus knows the group,
  2096. anyway. The second element is the "subscription level", which normally
  2097. is a small integer. (It can also be the "rank", which is a cons cell
  2098. where the `car' is the level and the `cdr' is the score.) The third
  2099. element is a list of ranges of read articles. The fourth element is a
  2100. list of lists of article marks of various kinds. The fifth element is
  2101. the select method (or virtual server, if you like). The sixth element
  2102. is a list of "group parameters", which is what this section is about.
  2103. Any of the last three elements may be missing if they are not
  2104. required. In fact, the vast majority of groups will normally only have
  2105. the first three elements, which saves quite a lot of cons cells.
  2106. Here's a BNF definition of the group info format:
  2107. info = "(" group space ralevel space read
  2108. [ "" / [ space marks-list [ "" / [ space method [ "" /
  2109. space parameters ] ] ] ] ] ")"
  2110. group = quote <string> quote
  2111. ralevel = rank / level
  2112. level = <integer in the range of 1 to inf>
  2113. rank = "(" level "." score ")"
  2114. score = <integer in the range of 1 to inf>
  2115. read = range
  2116. marks-lists = nil / "(" *marks ")"
  2117. marks = "(" <string> range ")"
  2118. method = "(" <string> *elisp-forms ")"
  2119. parameters = "(" *elisp-forms ")"
  2120. Actually that `marks' rule is a fib. A `marks' is a `<string>'
  2121. consed on to a `range', but that's a bitch to say in pseudo-BNF.
  2122. If you have a Gnus info and want to access the elements, Gnus offers
  2123. a series of macros for getting/setting these elements.
  2124. `gnus-info-group'
  2125. `gnus-info-set-group'
  2126. Get/set the group name.
  2127. `gnus-info-rank'
  2128. `gnus-info-set-rank'
  2129. Get/set the group rank (*note Group Score::).
  2130. `gnus-info-level'
  2131. `gnus-info-set-level'
  2132. Get/set the group level.
  2133. `gnus-info-score'
  2134. `gnus-info-set-score'
  2135. Get/set the group score (*note Group Score::).
  2136. `gnus-info-read'
  2137. `gnus-info-set-read'
  2138. Get/set the ranges of read articles.
  2139. `gnus-info-marks'
  2140. `gnus-info-set-marks'
  2141. Get/set the lists of ranges of marked articles.
  2142. `gnus-info-method'
  2143. `gnus-info-set-method'
  2144. Get/set the group select method.
  2145. `gnus-info-params'
  2146. `gnus-info-set-params'
  2147. Get/set the group parameters.
  2148. All the getter functions take one parameter--the info list. The
  2149. setter functions take two parameters--the info list and the new value.
  2150. The last three elements in the group info aren't mandatory, so it
  2151. may be necessary to extend the group info before setting the element.
  2152. If this is necessary, you can just pass on a non-`nil' third parameter
  2153. to the three final setter functions to have this happen automatically.
  2154. 
  2155. File: gnus, Node: Extended Interactive, Next: Emacs/XEmacs Code, Prev: Group Info, Up: Gnus Reference Guide
  2156. 11.7.7 Extended Interactive
  2157. ---------------------------
  2158. Gnus extends the standard Emacs `interactive' specification slightly to
  2159. allow easy use of the symbolic prefix (*note Symbolic Prefixes::).
  2160. Here's an example of how this is used:
  2161. (defun gnus-summary-increase-score (&optional score symp)
  2162. (interactive (gnus-interactive "P\ny"))
  2163. ...
  2164. )
  2165. The best thing to do would have been to implement `gnus-interactive'
  2166. as a macro which would have returned an `interactive' form, but this
  2167. isn't possible since Emacs checks whether a function is interactive or
  2168. not by simply doing an `assq' on the lambda form. So, instead we have
  2169. `gnus-interactive' function that takes a string and returns values that
  2170. are usable to `interactive'.
  2171. This function accepts (almost) all normal `interactive' specs, but
  2172. adds a few more.
  2173. `y'
  2174. The current symbolic prefix--the `gnus-current-prefix-symbol'
  2175. variable.
  2176. `Y'
  2177. A list of the current symbolic prefixes--the
  2178. `gnus-current-prefix-symbol' variable.
  2179. `A'
  2180. The current article number--the `gnus-summary-article-number'
  2181. function.
  2182. `H'
  2183. The current article header--the `gnus-summary-article-header'
  2184. function.
  2185. `g'
  2186. The current group name--the `gnus-group-group-name' function.
  2187. 
  2188. File: gnus, Node: Emacs/XEmacs Code, Next: Various File Formats, Prev: Extended Interactive, Up: Gnus Reference Guide
  2189. 11.7.8 Emacs/XEmacs Code
  2190. ------------------------
  2191. While Gnus runs under Emacs, XEmacs and Mule, I decided that one of the
  2192. platforms must be the primary one. I chose Emacs. Not because I don't
  2193. like XEmacs or Mule, but because it comes first alphabetically.
  2194. This means that Gnus will byte-compile under Emacs with nary a
  2195. warning, while XEmacs will pump out gigabytes of warnings while
  2196. byte-compiling. As I use byte-compilation warnings to help me root out
  2197. trivial errors in Gnus, that's very useful.
  2198. I've also consistently used Emacs function interfaces, but have used
  2199. Gnusey aliases for the functions. To take an example: Emacs defines a
  2200. `run-at-time' function while XEmacs defines a `start-itimer' function.
  2201. I then define a function called `gnus-run-at-time' that takes the same
  2202. parameters as the Emacs `run-at-time'. When running Gnus under Emacs,
  2203. the former function is just an alias for the latter. However, when
  2204. running under XEmacs, the former is an alias for the following function:
  2205. (defun gnus-xmas-run-at-time (time repeat function &rest args)
  2206. (start-itimer
  2207. "gnus-run-at-time"
  2208. `(lambda ()
  2209. (,function ,@args))
  2210. time repeat))
  2211. This sort of thing has been done for bunches of functions. Gnus does
  2212. not redefine any native Emacs functions while running under XEmacs--it
  2213. does this `defalias' thing with Gnus equivalents instead. Cleaner all
  2214. over.
  2215. In the cases where the XEmacs function interface was obviously
  2216. cleaner, I used it instead. For example `gnus-region-active-p' is an
  2217. alias for `region-active-p' in XEmacs, whereas in Emacs it is a
  2218. function.
  2219. Of course, I could have chosen XEmacs as my native platform and done
  2220. mapping functions the other way around. But I didn't. The performance
  2221. hit these indirections impose on Gnus under XEmacs should be slight.
  2222. 
  2223. File: gnus, Node: Various File Formats, Prev: Emacs/XEmacs Code, Up: Gnus Reference Guide
  2224. 11.7.9 Various File Formats
  2225. ---------------------------
  2226. * Menu:
  2227. * Active File Format:: Information on articles and groups available.
  2228. * Newsgroups File Format:: Group descriptions.
  2229. 
  2230. File: gnus, Node: Active File Format, Next: Newsgroups File Format, Up: Various File Formats
  2231. 11.7.9.1 Active File Format
  2232. ...........................
  2233. The active file lists all groups available on the server in question.
  2234. It also lists the highest and lowest current article numbers in each
  2235. group.
  2236. Here's an excerpt from a typical active file:
  2237. soc.motss 296030 293865 y
  2238. alt.binaries.pictures.fractals 3922 3913 n
  2239. comp.sources.unix 1605 1593 m
  2240. comp.binaries.ibm.pc 5097 5089 y
  2241. no.general 1000 900 y
  2242. Here's a pseudo-BNF definition of this file:
  2243. active = *group-line
  2244. group-line = group spc high-number spc low-number spc flag <NEWLINE>
  2245. group = <non-white-space string>
  2246. spc = " "
  2247. high-number = <non-negative integer>
  2248. low-number = <positive integer>
  2249. flag = "y" / "n" / "m" / "j" / "x" / "=" group
  2250. For a full description of this file, see the manual pages for
  2251. `innd', in particular `active(5)'.
  2252. 
  2253. File: gnus, Node: Newsgroups File Format, Prev: Active File Format, Up: Various File Formats
  2254. 11.7.9.2 Newsgroups File Format
  2255. ...............................
  2256. The newsgroups file lists groups along with their descriptions. Not all
  2257. groups on the server have to be listed, and not all groups in the file
  2258. have to exist on the server. The file is meant purely as information to
  2259. the user.
  2260. The format is quite simple; a group name, a tab, and the description.
  2261. Here's the definition:
  2262. newsgroups = *line
  2263. line = group tab description <NEWLINE>
  2264. group = <non-white-space string>
  2265. tab = <TAB>
  2266. description = <string>
  2267. 
  2268. File: gnus, Node: Emacs for Heathens, Next: Frequently Asked Questions, Prev: Gnus Reference Guide, Up: Appendices
  2269. 11.8 Emacs for Heathens
  2270. =======================
  2271. Believe it or not, but some people who use Gnus haven't really used
  2272. Emacs much before they embarked on their journey on the Gnus Love Boat.
  2273. If you are one of those unfortunates whom "`C-M-a'", "kill the region",
  2274. and "set `gnus-flargblossen' to an alist where the key is a regexp that
  2275. is used for matching on the group name" are magical phrases with little
  2276. or no meaning, then this appendix is for you. If you are already
  2277. familiar with Emacs, just ignore this and go fondle your cat instead.
  2278. * Menu:
  2279. * Keystrokes:: Entering text and executing commands.
  2280. * Emacs Lisp:: The built-in Emacs programming language.
  2281. 
  2282. File: gnus, Node: Keystrokes, Next: Emacs Lisp, Up: Emacs for Heathens
  2283. 11.8.1 Keystrokes
  2284. -----------------
  2285. * Q: What is an experienced Emacs user?
  2286. * A: A person who wishes that the terminal had pedals.
  2287. Yes, when you use Emacs, you are apt to use the control key, the
  2288. shift key and the meta key a lot. This is very annoying to some people
  2289. (notably `vi'le users), and the rest of us just love the hell out of
  2290. it. Just give up and submit. Emacs really does stand for
  2291. "Escape-Meta-Alt-Control-Shift", and not "Editing Macros", as you may
  2292. have heard from other disreputable sources (like the Emacs author).
  2293. The shift keys are normally located near your pinky fingers, and are
  2294. normally used to get capital letters and stuff. You probably use it all
  2295. the time. The control key is normally marked "CTRL" or something like
  2296. that. The meta key is, funnily enough, never marked as such on any
  2297. keyboard. The one I'm currently at has a key that's marked "Alt",
  2298. which is the meta key on this keyboard. It's usually located somewhere
  2299. to the left hand side of the keyboard, usually on the bottom row.
  2300. Now, us Emacs people don't say "press the meta-control-m key",
  2301. because that's just too inconvenient. We say "press the `C-M-m' key".
  2302. `M-' is the prefix that means "meta" and "C-" is the prefix that means
  2303. "control". So "press `C-k'" means "press down the control key, and
  2304. hold it down while you press `k'". "Press `C-M-k'" means "press down
  2305. and hold down the meta key and the control key and then press `k'".
  2306. Simple, ay?
  2307. This is somewhat complicated by the fact that not all keyboards have
  2308. a meta key. In that case you can use the "escape" key. Then `M-k'
  2309. means "press escape, release escape, press `k'". That's much more work
  2310. than if you have a meta key, so if that's the case, I respectfully
  2311. suggest you get a real keyboard with a meta key. You can't live without
  2312. it.
  2313. 
  2314. File: gnus, Node: Emacs Lisp, Prev: Keystrokes, Up: Emacs for Heathens
  2315. 11.8.2 Emacs Lisp
  2316. -----------------
  2317. Emacs is the King of Editors because it's really a Lisp interpreter.
  2318. Each and every key you tap runs some Emacs Lisp code snippet, and since
  2319. Emacs Lisp is an interpreted language, that means that you can configure
  2320. any key to run any arbitrary code. You just, like, do it.
  2321. Gnus is written in Emacs Lisp, and is run as a bunch of interpreted
  2322. functions. (These are byte-compiled for speed, but it's still
  2323. interpreted.) If you decide that you don't like the way Gnus does
  2324. certain things, it's trivial to have it do something a different way.
  2325. (Well, at least if you know how to write Lisp code.) However, that's
  2326. beyond the scope of this manual, so we are simply going to talk about
  2327. some common constructs that you normally use in your `~/.gnus.el' file
  2328. to customize Gnus. (You can also use the `~/.emacs' file, but in order
  2329. to set things of Gnus up, it is much better to use the `~/.gnus.el'
  2330. file, *Note Startup Files::.)
  2331. If you want to set the variable `gnus-florgbnize' to four (4), you
  2332. write the following:
  2333. (setq gnus-florgbnize 4)
  2334. This function (really "special form") `setq' is the one that can set
  2335. a variable to some value. This is really all you need to know. Now
  2336. you can go and fill your `~/.gnus.el' file with lots of these to change
  2337. how Gnus works.
  2338. If you have put that thing in your `~/.gnus.el' file, it will be
  2339. read and `eval'ed (which is Lisp-ese for "run") the next time you start
  2340. Gnus. If you want to change the variable right away, simply say `C-x
  2341. C-e' after the closing parenthesis. That will `eval' the previous
  2342. "form", which is a simple `setq' statement here.
  2343. Go ahead--just try it, if you're located at your Emacs. After you
  2344. `C-x C-e', you will see `4' appear in the echo area, which is the
  2345. return value of the form you `eval'ed.
  2346. Some pitfalls:
  2347. If the manual says "set `gnus-read-active-file' to `some'", that
  2348. means:
  2349. (setq gnus-read-active-file 'some)
  2350. On the other hand, if the manual says "set `gnus-nntp-server-file' to
  2351. `/etc/nntpserver'", that means:
  2352. (setq gnus-nntp-server-file "/etc/nntpserver")
  2353. So be careful not to mix up strings (the latter) with symbols (the
  2354. former). The manual is unambiguous, but it can be confusing.
  2355. 
  2356. File: gnus, Node: Frequently Asked Questions, Prev: Emacs for Heathens, Up: Appendices
  2357. 11.9 Frequently Asked Questions
  2358. ===============================
  2359. * Menu:
  2360. * FAQ - Changes::
  2361. * FAQ - Introduction:: About Gnus and this FAQ.
  2362. * FAQ 1 - Installation FAQ:: Installation of Gnus.
  2363. * FAQ 2 - Startup / Group buffer:: Start up questions and the
  2364. first buffer Gnus shows you.
  2365. * FAQ 3 - Getting Messages:: Making Gnus read your mail
  2366. and news.
  2367. * FAQ 4 - Reading messages:: How to efficiently read
  2368. messages.
  2369. * FAQ 5 - Composing messages:: Composing mails or Usenet
  2370. postings.
  2371. * FAQ 6 - Old messages:: Importing, archiving,
  2372. searching and deleting messages.
  2373. * FAQ 7 - Gnus in a dial-up environment:: Reading mail and news while
  2374. offline.
  2375. * FAQ 8 - Getting help:: When this FAQ isn't enough.
  2376. * FAQ 9 - Tuning Gnus:: How to make Gnus faster.
  2377. * FAQ - Glossary:: Terms used in the FAQ
  2378. explained.
  2379. Abstract
  2380. --------
  2381. This is the new Gnus Frequently Asked Questions list.
  2382. Please submit features and suggestions to the ding list
  2383. <ding@gnus.org>.
  2384. 
  2385. File: gnus, Node: FAQ - Changes, Next: FAQ - Introduction, Up: Frequently Asked Questions
  2386. Changes
  2387. -------
  2388. * 2008-06-15: Adjust for message-fill-column. Add x-face-file.
  2389. Clarify difference between ding and gnu.emacs.gnus. Remove
  2390. reference to discontinued service.
  2391. * 2006-04-15: Added tip on how to delete sent buffer on exit.
  2392. 
  2393. File: gnus, Node: FAQ - Introduction, Next: FAQ 1 - Installation FAQ, Prev: FAQ - Changes, Up: Frequently Asked Questions
  2394. Introduction
  2395. ------------
  2396. This is the Gnus Frequently Asked Questions list.
  2397. Gnus is a Usenet Newsreader and Electronic Mail User Agent
  2398. implemented as a part of Emacs. It's been around in some form for
  2399. almost a decade now, and has been distributed as a standard part of
  2400. Emacs for much of that time. Gnus 5 is the latest (and greatest)
  2401. incarnation. The original version was called GNUS, and was written by
  2402. Masanobu UMEDA. When autumn crept up in '94, Lars Magne Ingebrigtsen
  2403. grew bored and decided to rewrite Gnus.
  2404. Its biggest strength is the fact that it is extremely customizable.
  2405. It is somewhat intimidating at first glance, but most of the complexity
  2406. can be ignored until you're ready to take advantage of it. If you
  2407. receive a reasonable volume of e-mail (you're on various mailing
  2408. lists), or you would like to read high-volume mailing lists but cannot
  2409. keep up with them, or read high volume newsgroups or are just bored,
  2410. then Gnus is what you want.
  2411. This FAQ was maintained by Justin Sheehy until March 2002. He would
  2412. like to thank Steve Baur and Per Abrahamsen for doing a wonderful job
  2413. with this FAQ before him. We would like to do the same - thanks, Justin!
  2414. This version is much nicer than the unofficial hypertext versions
  2415. that are archived at Utrecht, Oxford, Smart Pages, Ohio State, and
  2416. other FAQ archives. See the resources question below if you want
  2417. information on obtaining it in another format.
  2418. The information contained here was compiled with the assistance of
  2419. the Gnus development mailing list, and any errors or misprints are the
  2420. Gnus team's fault, sorry.
  2421. 
  2422. File: gnus, Node: FAQ 1 - Installation FAQ, Next: FAQ 2 - Startup / Group buffer, Prev: FAQ - Introduction, Up: Frequently Asked Questions
  2423. 11.9.1 Installation FAQ
  2424. -----------------------
  2425. * Menu:
  2426. * FAQ 1-1:: What is the latest version of Gnus?
  2427. * FAQ 1-2:: What's new in 5.10?
  2428. * FAQ 1-3:: Where and how to get Gnus?
  2429. * FAQ 1-4:: What to do with the tarball now?
  2430. * FAQ 1-5:: I sometimes read references to No Gnus and Oort Gnus,
  2431. what are those?
  2432. * FAQ 1-6:: Which version of Emacs do I need?
  2433. * FAQ 1-7:: How do I run Gnus on both Emacs and XEmacs?
  2434. 
  2435. File: gnus, Node: FAQ 1-1, Next: FAQ 1-2, Up: FAQ 1 - Installation FAQ
  2436. Question 1.1
  2437. ............
  2438. What is the latest version of Gnus?
  2439. Answer
  2440. ......
  2441. Jingle please: Gnus 5.10 is released, get it while it's hot! As well as
  2442. the step in version number is rather small, Gnus 5.10 has tons of new
  2443. features which you shouldn't miss. The current release (5.13) should be
  2444. at least as stable as the latest release of the 5.8 series.
  2445. 
  2446. File: gnus, Node: FAQ 1-2, Next: FAQ 1-3, Prev: FAQ 1-1, Up: FAQ 1 - Installation FAQ
  2447. Question 1.2
  2448. ............
  2449. What's new in 5.10?
  2450. Answer
  2451. ......
  2452. First of all, you should have a look into the file GNUS-NEWS in the
  2453. toplevel directory of the Gnus tarball, there the most important
  2454. changes are listed. Here's a short list of the changes I find especially
  2455. important/interesting:
  2456. * Major rewrite of the Gnus agent, Gnus agent is now active by
  2457. default.
  2458. * Many new article washing functions for dealing with ugly formatted
  2459. articles.
  2460. * Anti Spam features.
  2461. * Message-utils now included in Gnus.
  2462. * New format specifiers for summary lines, e.g. %B for a complex
  2463. trn-style thread tree.
  2464. 
  2465. File: gnus, Node: FAQ 1-3, Next: FAQ 1-4, Prev: FAQ 1-2, Up: FAQ 1 - Installation FAQ
  2466. Question 1.3
  2467. ............
  2468. Where and how to get Gnus?
  2469. Answer
  2470. ......
  2471. Gnus is released independent from releases of Emacs and XEmacs.
  2472. Therefore, the version bundled with Emacs or the version in XEmacs's
  2473. package system might not be up to date (e.g. Gnus 5.9 bundled with Emacs
  2474. 21 is outdated). You can get the latest released version of Gnus from
  2475. `http://www.gnus.org/dist/gnus.tar.gz' or via anonymous FTP from
  2476. `ftp://ftp.gnus.org/pub/gnus/gnus.tar.gz'.
  2477. 
  2478. File: gnus, Node: FAQ 1-4, Next: FAQ 1-5, Prev: FAQ 1-3, Up: FAQ 1 - Installation FAQ
  2479. Question 1.4
  2480. ............
  2481. What to do with the tarball now?
  2482. Answer
  2483. ......
  2484. Untar it via `tar xvzf gnus.tar.gz' and do the common `./configure;
  2485. make; make install' circle. (under MS-Windows either get the Cygwin
  2486. environment from `http://www.cygwin.com' which allows you to do what's
  2487. described above or unpack the tarball with some packer (e.g. Winace from
  2488. `http://www.winace.com') and use the batch-file make.bat included in
  2489. the tarball to install Gnus.) If you don't want to (or aren't allowed
  2490. to) install Gnus system-wide, you can install it in your home directory
  2491. and add the following lines to your ~/.xemacs/init.el or ~/.emacs:
  2492. (add-to-list 'load-path "/path/to/gnus/lisp")
  2493. (if (featurep 'xemacs)
  2494. (add-to-list 'Info-directory-list "/path/to/gnus/texi/")
  2495. (add-to-list 'Info-default-directory-list "/path/to/gnus/texi/"))
  2496. Make sure that you don't have any Gnus related stuff before this
  2497. line, on MS Windows use something like "C:/path/to/lisp" (yes, "/").
  2498. 
  2499. File: gnus, Node: FAQ 1-5, Next: FAQ 1-6, Prev: FAQ 1-4, Up: FAQ 1 - Installation FAQ
  2500. Question 1.5
  2501. ............
  2502. I sometimes read references to No Gnus and Oort Gnus, what are those?
  2503. Answer
  2504. ......
  2505. Oort Gnus was the name of the development version of Gnus, which became
  2506. Gnus 5.10 in autumn 2003. No Gnus is the name of the current
  2507. development version which will once become Gnus 5.12 or Gnus 6. (If
  2508. you're wondering why not 5.11, the odd version numbers are normally
  2509. used for the Gnus versions bundled with Emacs)
  2510. 
  2511. File: gnus, Node: FAQ 1-6, Next: FAQ 1-7, Prev: FAQ 1-5, Up: FAQ 1 - Installation FAQ
  2512. Question 1.6
  2513. ............
  2514. Which version of Emacs do I need?
  2515. Answer
  2516. ......
  2517. Gnus 5.10 requires an Emacs version that is greater than or equal to
  2518. Emacs 20.7 or XEmacs 21.1. The development versions of Gnus (aka No
  2519. Gnus) requires Emacs 21 or XEmacs 21.4.
  2520. 
  2521. File: gnus, Node: FAQ 1-7, Prev: FAQ 1-6, Up: FAQ 1 - Installation FAQ
  2522. Question 1.7
  2523. ............
  2524. How do I run Gnus on both Emacs and XEmacs?
  2525. Answer
  2526. ......
  2527. You can't use the same copy of Gnus in both as the Lisp files are
  2528. byte-compiled to a format which is different depending on which Emacs
  2529. did the compilation. Get one copy of Gnus for Emacs and one for XEmacs.
  2530. 
  2531. File: gnus, Node: FAQ 2 - Startup / Group buffer, Next: FAQ 3 - Getting Messages, Prev: FAQ 1 - Installation FAQ, Up: Frequently Asked Questions
  2532. 11.9.2 Startup / Group buffer
  2533. -----------------------------
  2534. * Menu:
  2535. * FAQ 2-1:: Every time I start Gnus I get a message "Gnus auto-save
  2536. file exists. Do you want to read it?", what does this mean and
  2537. how to prevent it?
  2538. * FAQ 2-2:: Gnus doesn't remember which groups I'm subscribed to,
  2539. what's this?
  2540. * FAQ 2-3:: How to change the format of the lines in Group buffer?
  2541. * FAQ 2-4:: My group buffer becomes a bit crowded, is there a way to
  2542. sort my groups into categories so I can easier browse through
  2543. them?
  2544. * FAQ 2-5:: How to manually sort the groups in Group buffer? How to
  2545. sort the groups in a topic?
  2546. 
  2547. File: gnus, Node: FAQ 2-1, Next: FAQ 2-2, Up: FAQ 2 - Startup / Group buffer
  2548. Question 2.1
  2549. ............
  2550. Every time I start Gnus I get a message "Gnus auto-save file exists. Do
  2551. you want to read it?", what does this mean and how to prevent it?
  2552. Answer
  2553. ......
  2554. This message means that the last time you used Gnus, it wasn't properly
  2555. exited and therefore couldn't write its information to disk (e.g. which
  2556. messages you read), you are now asked if you want to restore that
  2557. information from the auto-save file.
  2558. To prevent this message make sure you exit Gnus via `q' in group
  2559. buffer instead of just killing Emacs.
  2560. 
  2561. File: gnus, Node: FAQ 2-2, Next: FAQ 2-3, Prev: FAQ 2-1, Up: FAQ 2 - Startup / Group buffer
  2562. Question 2.2
  2563. ............
  2564. Gnus doesn't remember which groups I'm subscribed to, what's this?
  2565. Answer
  2566. ......
  2567. You get the message described in the q/a pair above while starting
  2568. Gnus, right? It's an other symptom for the same problem, so read the
  2569. answer above.
  2570. 
  2571. File: gnus, Node: FAQ 2-3, Next: FAQ 2-4, Prev: FAQ 2-2, Up: FAQ 2 - Startup / Group buffer
  2572. Question 2.3
  2573. ............
  2574. How to change the format of the lines in Group buffer?
  2575. Answer
  2576. ......
  2577. You've got to tweak the value of the variable gnus-group-line-format.
  2578. See the manual node "Group Line Specification" for information on how
  2579. to do this. An example for this (guess from whose .gnus :-)):
  2580. (setq gnus-group-line-format "%P%M%S[%5t]%5y : %(%g%)\n")
  2581. 
  2582. File: gnus, Node: FAQ 2-4, Next: FAQ 2-5, Prev: FAQ 2-3, Up: FAQ 2 - Startup / Group buffer
  2583. Question 2.4
  2584. ............
  2585. My group buffer becomes a bit crowded, is there a way to sort my groups
  2586. into categories so I can easier browse through them?
  2587. Answer
  2588. ......
  2589. Gnus offers the topic mode, it allows you to sort your groups in, well,
  2590. topics, e.g. all groups dealing with Linux under the topic linux, all
  2591. dealing with music under the topic music and all dealing with scottish
  2592. music under the topic scottish which is a subtopic of music.
  2593. To enter topic mode, just hit t while in Group buffer. Now you can
  2594. use `T n' to create a topic at point and `T m' to move a group to a
  2595. specific topic. For more commands see the manual or the menu. You might
  2596. want to include the %P specifier at the beginning of your
  2597. gnus-group-line-format variable to have the groups nicely indented.
  2598. 
  2599. File: gnus, Node: FAQ 2-5, Prev: FAQ 2-4, Up: FAQ 2 - Startup / Group buffer
  2600. Question 2.5
  2601. ............
  2602. How to manually sort the groups in Group buffer? How to sort the groups
  2603. in a topic?
  2604. Answer
  2605. ......
  2606. Move point over the group you want to move and hit `C-k', now move
  2607. point to the place where you want the group to be and hit `C-y'.
  2608. 
  2609. File: gnus, Node: FAQ 3 - Getting Messages, Next: FAQ 4 - Reading messages, Prev: FAQ 2 - Startup / Group buffer, Up: Frequently Asked Questions
  2610. 11.9.3 Getting Messages
  2611. -----------------------
  2612. * Menu:
  2613. * FAQ 3-1:: I just installed Gnus, started it via `M-x gnus'
  2614. but it only says "nntp (news) open error", what to do?
  2615. * FAQ 3-2:: I'm working under Windows and have no idea what
  2616. ~/.gnus.el means.
  2617. * FAQ 3-3:: My news server requires authentication, how to store
  2618. user name and password on disk?
  2619. * FAQ 3-4:: Gnus seems to start up OK, but I can't find out how to
  2620. subscribe to a group.
  2621. * FAQ 3-5:: Gnus doesn't show all groups / Gnus says I'm not allowed
  2622. to post on this server as well as I am, what's that?
  2623. * FAQ 3-6:: I want Gnus to fetch news from several servers, is this
  2624. possible?
  2625. * FAQ 3-7:: And how about local spool files?
  2626. * FAQ 3-8:: OK, reading news works now, but I want to be able to
  2627. read my mail with Gnus, too. How to do it?
  2628. * FAQ 3-9:: And what about IMAP?
  2629. * FAQ 3-10:: At the office we use one of those MS Exchange servers,
  2630. can I use Gnus to read my mail from it?
  2631. * FAQ 3-11:: Can I tell Gnus not to delete the mails on the server it
  2632. retrieves via POP3?
  2633. 
  2634. File: gnus, Node: FAQ 3-1, Next: FAQ 3-2, Up: FAQ 3 - Getting Messages
  2635. Question 3.1
  2636. ............
  2637. I just installed Gnus, started it via `M-x gnus' but it only says "nntp
  2638. (news) open error", what to do?
  2639. Answer
  2640. ......
  2641. You've got to tell Gnus where to fetch the news from. Read the
  2642. documentation for information on how to do this. As a first start, put
  2643. those lines in ~/.gnus.el:
  2644. (setq gnus-select-method '(nntp "news.yourprovider.net"))
  2645. (setq user-mail-address "you@yourprovider.net")
  2646. (setq user-full-name "Your Name")
  2647. 
  2648. File: gnus, Node: FAQ 3-2, Next: FAQ 3-3, Prev: FAQ 3-1, Up: FAQ 3 - Getting Messages
  2649. Question 3.2
  2650. ............
  2651. I'm working under Windows and have no idea what ~/.gnus.el means.
  2652. Answer
  2653. ......
  2654. The ~/ means the home directory where Gnus and Emacs look for the
  2655. configuration files. However, you don't really need to know what this
  2656. means, it suffices that Emacs knows what it means :-) You can type `C-x
  2657. C-f ~/.gnus.el RET ' (yes, with the forward slash, even on Windows), and
  2658. Emacs will open the right file for you. (It will most likely be new,
  2659. and thus empty.) However, I'd discourage you from doing so, since the
  2660. directory Emacs chooses will most certainly not be what you want, so
  2661. let's do it the correct way. The first thing you've got to do is to
  2662. create a suitable directory (no blanks in directory name please) e.g.
  2663. c:\myhome. Then you must set the environment variable HOME to this
  2664. directory. To do this under Win9x or Me include the line
  2665. SET HOME=C:\myhome
  2666. in your autoexec.bat and reboot. Under NT, 2000 and XP, hit
  2667. Winkey+Pause/Break to enter system options (if it doesn't work, go to
  2668. Control Panel -> System -> Advanced). There you'll find the possibility
  2669. to set environment variables. Create a new one with name HOME and
  2670. value C:\myhome. Rebooting is not necessary.
  2671. Now to create ~/.gnus.el, say `C-x C-f ~/.gnus.el RET C-x C-s'. in
  2672. Emacs.
  2673. 
  2674. File: gnus, Node: FAQ 3-3, Next: FAQ 3-4, Prev: FAQ 3-2, Up: FAQ 3 - Getting Messages
  2675. Question 3.3
  2676. ............
  2677. My news server requires authentication, how to store user name and
  2678. password on disk?
  2679. Answer
  2680. ......
  2681. Create a file ~/.authinfo which includes for each server a line like
  2682. this
  2683. machine news.yourprovider.net login YourUserName password YourPassword
  2684. . Make sure that the file isn't readable to others if you work on a
  2685. OS which is capable of doing so. (Under Unix say
  2686. chmod 600 ~/.authinfo
  2687. in a shell.)
  2688. 
  2689. File: gnus, Node: FAQ 3-4, Next: FAQ 3-5, Prev: FAQ 3-3, Up: FAQ 3 - Getting Messages
  2690. Question 3.4
  2691. ............
  2692. Gnus seems to start up OK, but I can't find out how to subscribe to a
  2693. group.
  2694. Answer
  2695. ......
  2696. If you know the name of the group say `U name.of.group RET' in group
  2697. buffer (use the tab-completion Luke). Otherwise hit ^ in group buffer,
  2698. this brings you to the server buffer. Now place point (the cursor) over
  2699. the server which carries the group you want, hit `RET', move point to
  2700. the group you want to subscribe to and say `u' to subscribe to it.
  2701. 
  2702. File: gnus, Node: FAQ 3-5, Next: FAQ 3-6, Prev: FAQ 3-4, Up: FAQ 3 - Getting Messages
  2703. Question 3.5
  2704. ............
  2705. Gnus doesn't show all groups / Gnus says I'm not allowed to post on
  2706. this server as well as I am, what's that?
  2707. Answer
  2708. ......
  2709. Some providers allow restricted anonymous access and full access only
  2710. after authorization. To make Gnus send authinfo to those servers append
  2711. force yes
  2712. to the line for those servers in ~/.authinfo.
  2713. 
  2714. File: gnus, Node: FAQ 3-6, Next: FAQ 3-7, Prev: FAQ 3-5, Up: FAQ 3 - Getting Messages
  2715. Question 3.6
  2716. ............
  2717. I want Gnus to fetch news from several servers, is this possible?
  2718. Answer
  2719. ......
  2720. Of course. You can specify more sources for articles in the variable
  2721. gnus-secondary-select-methods. Add something like this in ~/.gnus.el:
  2722. (add-to-list 'gnus-secondary-select-methods
  2723. '(nntp "news.yourSecondProvider.net"))
  2724. (add-to-list 'gnus-secondary-select-methods
  2725. '(nntp "news.yourThirdProvider.net"))
  2726. 
  2727. File: gnus, Node: FAQ 3-7, Next: FAQ 3-8, Prev: FAQ 3-6, Up: FAQ 3 - Getting Messages
  2728. Question 3.7
  2729. ............
  2730. And how about local spool files?
  2731. Answer
  2732. ......
  2733. No problem, this is just one more select method called nnspool, so you
  2734. want this:
  2735. (add-to-list 'gnus-secondary-select-methods '(nnspool ""))
  2736. Or this if you don't want an NNTP Server as primary news source:
  2737. (setq gnus-select-method '(nnspool ""))
  2738. Gnus will look for the spool file in /usr/spool/news, if you want
  2739. something different, change the line above to something like this:
  2740. (add-to-list 'gnus-secondary-select-methods
  2741. '(nnspool ""
  2742. (nnspool-directory "/usr/local/myspoolddir")))
  2743. This sets the spool directory for this server only. You might have
  2744. to specify more stuff like the program used to post articles, see the
  2745. Gnus manual on how to do this.
  2746. 
  2747. File: gnus, Node: FAQ 3-8, Next: FAQ 3-9, Prev: FAQ 3-7, Up: FAQ 3 - Getting Messages
  2748. Question 3.8
  2749. ............
  2750. OK, reading news works now, but I want to be able to read my mail with
  2751. Gnus, too. How to do it?
  2752. Answer
  2753. ......
  2754. That's a bit harder since there are many possible sources for mail,
  2755. many possible ways for storing mail and many different ways for sending
  2756. mail. The most common cases are these: 1: You want to read your mail
  2757. from a pop3 server and send them directly to a SMTP Server 2: Some
  2758. program like fetchmail retrieves your mail and stores it on disk from
  2759. where Gnus shall read it. Outgoing mail is sent by Sendmail, Postfix or
  2760. some other MTA. Sometimes, you even need a combination of the above
  2761. cases.
  2762. However, the first thing to do is to tell Gnus in which way it
  2763. should store the mail, in Gnus terminology which back end to use. Gnus
  2764. supports many different back ends, the most commonly used one is nnml.
  2765. It stores every mail in one file and is therefore quite fast. However
  2766. you might prefer a one file per group approach if your file system has
  2767. problems with many small files, the nnfolder back end is then probably
  2768. the choice for you. To use nnml add the following to ~/.gnus.el:
  2769. (add-to-list 'gnus-secondary-select-methods '(nnml ""))
  2770. As you might have guessed, if you want nnfolder, it's
  2771. (add-to-list 'gnus-secondary-select-methods '(nnfolder ""))
  2772. Now we need to tell Gnus, where to get its mail from. If it's a POP3
  2773. server, then you need something like this:
  2774. (eval-after-load "mail-source"
  2775. '(add-to-list 'mail-sources '(pop :server "pop.YourProvider.net"
  2776. :user "yourUserName"
  2777. :password "yourPassword")))
  2778. Make sure ~/.gnus.el isn't readable to others if you store your
  2779. password there. If you want to read your mail from a traditional spool
  2780. file on your local machine, it's
  2781. (eval-after-load "mail-source"
  2782. '(add-to-list 'mail-sources '(file :path "/path/to/spool/file"))
  2783. If it's a Maildir, with one file per message as used by postfix,
  2784. Qmail and (optionally) fetchmail it's
  2785. (eval-after-load "mail-source"
  2786. '(add-to-list 'mail-sources '(maildir :path "/path/to/Maildir/"
  2787. :subdirs ("cur" "new")))
  2788. And finally if you want to read your mail from several files in one
  2789. directory, for example because procmail already split your mail, it's
  2790. (eval-after-load "mail-source"
  2791. '(add-to-list 'mail-sources
  2792. '(directory :path "/path/to/procmail-dir/"
  2793. :suffix ".prcml")))
  2794. Where :suffix ".prcml" tells Gnus only to use files with the suffix
  2795. .prcml.
  2796. OK, now you only need to tell Gnus how to send mail. If you want to
  2797. send mail via sendmail (or whichever MTA is playing the role of
  2798. sendmail on your system), you don't need to do anything. However, if
  2799. you want to send your mail to an SMTP Server you need the following in
  2800. your ~/.gnus.el
  2801. (setq send-mail-function 'smtpmail-send-it)
  2802. (setq message-send-mail-function 'smtpmail-send-it)
  2803. (setq smtpmail-default-smtp-server "smtp.yourProvider.net")
  2804. 
  2805. File: gnus, Node: FAQ 3-9, Next: FAQ 3-10, Prev: FAQ 3-8, Up: FAQ 3 - Getting Messages
  2806. Question 3.9
  2807. ............
  2808. And what about IMAP?
  2809. Answer
  2810. ......
  2811. There are two ways of using IMAP with Gnus. The first one is to use
  2812. IMAP like POP3, that means Gnus fetches the mail from the IMAP server
  2813. and stores it on disk. If you want to do this (you don't really want to
  2814. do this) add the following to ~/.gnus.el
  2815. (add-to-list 'mail-sources '(imap :server "mail.mycorp.com"
  2816. :user "username"
  2817. :pass "password"
  2818. :stream network
  2819. :authentication login
  2820. :mailbox "INBOX"
  2821. :fetchflag "\\Seen"))
  2822. You might have to tweak the values for stream and/or authentication,
  2823. see the Gnus manual node "Mail Source Specifiers" for possible values.
  2824. If you want to use IMAP the way it's intended, you've got to follow
  2825. a different approach. You've got to add the nnimap back end to your
  2826. select method and give the information about the server there.
  2827. (add-to-list 'gnus-secondary-select-methods
  2828. '(nnimap "Give the baby a name"
  2829. (nnimap-address "imap.yourProvider.net")
  2830. (nnimap-port 143)
  2831. (nnimap-list-pattern "archive.*")))
  2832. Again, you might have to specify how to authenticate to the server
  2833. if Gnus can't guess the correct way, see the Manual Node "IMAP" for
  2834. detailed information.
  2835. 
  2836. File: gnus, Node: FAQ 3-10, Next: FAQ 3-11, Prev: FAQ 3-9, Up: FAQ 3 - Getting Messages
  2837. Question 3.10
  2838. .............
  2839. At the office we use one of those MS Exchange servers, can I use Gnus
  2840. to read my mail from it?
  2841. Answer
  2842. ......
  2843. Offer your administrator a pair of new running shoes for activating
  2844. IMAP on the server and follow the instructions above.
  2845. 
  2846. File: gnus, Node: FAQ 3-11, Prev: FAQ 3-10, Up: FAQ 3 - Getting Messages
  2847. Question 3.11
  2848. .............
  2849. Can I tell Gnus not to delete the mails on the server it retrieves via
  2850. POP3?
  2851. Answer
  2852. ......
  2853. First of all, that's not the way POP3 is intended to work, if you have
  2854. the possibility, you should use the IMAP Protocol if you want your
  2855. messages to stay on the server. Nevertheless there might be situations
  2856. where you need the feature, but sadly Gnus itself has no predefined
  2857. functionality to do so.
  2858. However this is Gnus county so there are possibilities to achieve
  2859. what you want. The easiest way is to get an external program which
  2860. retrieves copies of the mail and stores them on disk, so Gnus can read
  2861. it from there. On Unix systems you could use e.g. fetchmail for this,
  2862. on MS Windows you can use Hamster, an excellent local news and mail
  2863. server.
  2864. The other solution would be, to replace the method Gnus uses to get
  2865. mail from POP3 servers by one which is capable of leaving the mail on
  2866. the server. If you use XEmacs, get the package mail-lib, it includes an
  2867. enhanced pop3.el, look in the file, there's documentation on how to tell
  2868. Gnus to use it and not to delete the retrieved mail. For GNU Emacs look
  2869. for the file epop3.el which can do the same (If you know the home of
  2870. this file, please send me an e-mail). You can also tell Gnus to use an
  2871. external program (e.g. fetchmail) to fetch your mail, see the info node
  2872. "Mail Source Specifiers" in the Gnus manual on how to do it.
  2873. 
  2874. File: gnus, Node: FAQ 4 - Reading messages, Next: FAQ 5 - Composing messages, Prev: FAQ 3 - Getting Messages, Up: Frequently Asked Questions
  2875. 11.9.4 Reading messages
  2876. -----------------------
  2877. * Menu:
  2878. * FAQ 4-1:: When I enter a group, all read messages are gone. How to
  2879. view them again?
  2880. * FAQ 4-2:: How to tell Gnus to show an important message every time
  2881. I enter a group, even when it's read?
  2882. * FAQ 4-3:: How to view the headers of a message?
  2883. * FAQ 4-4:: How to view the raw unformatted message?
  2884. * FAQ 4-5:: How can I change the headers Gnus displays by default at
  2885. the top of the article buffer?
  2886. * FAQ 4-6:: I'd like Gnus NOT to render HTML-mails but show me the
  2887. text part if it's available. How to do it?
  2888. * FAQ 4-7:: Can I use some other browser than w3 to render my
  2889. HTML-mails?
  2890. * FAQ 4-8:: Is there anything I can do to make poorly formatted
  2891. mails more readable?
  2892. * FAQ 4-9:: Is there a way to automatically ignore posts by specific
  2893. authors or with specific words in the subject? And can I
  2894. highlight more interesting ones in some way?
  2895. * FAQ 4-10:: How can I disable threading in some (e.g. mail-) groups,
  2896. or set other variables specific for some groups?
  2897. * FAQ 4-11:: Can I highlight messages written by me and follow-ups to
  2898. those?
  2899. * FAQ 4-12:: The number of total messages in a group which Gnus
  2900. displays in group buffer is by far to high, especially in mail
  2901. groups. Is this a bug?
  2902. * FAQ 4-13:: I don't like the layout of summary and article buffer,
  2903. how to change it? Perhaps even a three pane display?
  2904. * FAQ 4-14:: I don't like the way the Summary buffer looks, how to
  2905. tweak it?
  2906. * FAQ 4-15:: How to split incoming mails in several groups?
  2907. 
  2908. File: gnus, Node: FAQ 4-1, Next: FAQ 4-2, Up: FAQ 4 - Reading messages
  2909. Question 4.1
  2910. ............
  2911. When I enter a group, all read messages are gone. How to view them
  2912. again?
  2913. Answer
  2914. ......
  2915. If you enter the group by saying `RET' in group buffer with point over
  2916. the group, only unread and ticked messages are loaded. Say `C-u RET'
  2917. instead to load all available messages. If you want only the e.g. 300
  2918. newest say `C-u 300 RET'
  2919. Loading only unread messages can be annoying if you have threaded
  2920. view enabled, say
  2921. (setq gnus-fetch-old-headers 'some)
  2922. in ~/.gnus.el to load enough old articles to prevent teared threads,
  2923. replace 'some with t to load all articles (Warning: Both settings
  2924. enlarge the amount of data which is fetched when you enter a group and
  2925. slow down the process of entering a group).
  2926. If you already use Gnus 5.10, you can say `/o N' In summary buffer
  2927. to load the last N messages, this feature is not available in 5.8.8
  2928. If you don't want all old messages, but the parent of the message
  2929. you're just reading, you can say `^', if you want to retrieve the whole
  2930. thread the message you're just reading belongs to, `A T' is your friend.
  2931. 
  2932. File: gnus, Node: FAQ 4-2, Next: FAQ 4-3, Prev: FAQ 4-1, Up: FAQ 4 - Reading messages
  2933. Question 4.2
  2934. ............
  2935. How to tell Gnus to show an important message every time I enter a
  2936. group, even when it's read?
  2937. Answer
  2938. ......
  2939. You can tick important messages. To do this hit `u' while point is in
  2940. summary buffer over the message. When you want to remove the mark, hit
  2941. either `d' (this deletes the tick mark and set's unread mark) or `M c'
  2942. (which deletes all marks for the message).
  2943. 
  2944. File: gnus, Node: FAQ 4-3, Next: FAQ 4-4, Prev: FAQ 4-2, Up: FAQ 4 - Reading messages
  2945. Question 4.3
  2946. ............
  2947. How to view the headers of a message?
  2948. Answer
  2949. ......
  2950. Say `t' to show all headers, one more `t' hides them again.
  2951. 
  2952. File: gnus, Node: FAQ 4-4, Next: FAQ 4-5, Prev: FAQ 4-3, Up: FAQ 4 - Reading messages
  2953. Question 4.4
  2954. ............
  2955. How to view the raw unformatted message?
  2956. Answer
  2957. ......
  2958. Say `C-u g' to show the raw message `g' returns to normal view.
  2959. 
  2960. File: gnus, Node: FAQ 4-5, Next: FAQ 4-6, Prev: FAQ 4-4, Up: FAQ 4 - Reading messages
  2961. Question 4.5
  2962. ............
  2963. How can I change the headers Gnus displays by default at the top of the
  2964. article buffer?
  2965. Answer
  2966. ......
  2967. The variable gnus-visible-headers controls which headers are shown, its
  2968. value is a regular expression, header lines which match it are shown.
  2969. So if you want author, subject, date, and if the header exists,
  2970. Followup-To and MUA / NUA say this in ~/.gnus.el:
  2971. (setq gnus-visible-headers
  2972. '("^From" "^Subject" "^Date" "^Newsgroups" "^Followup-To"
  2973. "^User-Agent" "^X-Newsreader" "^X-Mailer"))
  2974. 
  2975. File: gnus, Node: FAQ 4-6, Next: FAQ 4-7, Prev: FAQ 4-5, Up: FAQ 4 - Reading messages
  2976. Question 4.6
  2977. ............
  2978. I'd like Gnus NOT to render HTML-mails but show me the text part if
  2979. it's available. How to do it?
  2980. Answer
  2981. ......
  2982. Say
  2983. (eval-after-load "mm-decode"
  2984. '(progn
  2985. (add-to-list 'mm-discouraged-alternatives "text/html")
  2986. (add-to-list 'mm-discouraged-alternatives "text/richtext")))
  2987. in ~/.gnus.el. If you don't want HTML rendered, even if there's no
  2988. text alternative add
  2989. (setq mm-automatic-display (remove "text/html" mm-automatic-display))
  2990. too.
  2991. 
  2992. File: gnus, Node: FAQ 4-7, Next: FAQ 4-8, Prev: FAQ 4-6, Up: FAQ 4 - Reading messages
  2993. Question 4.7
  2994. ............
  2995. Can I use some other browser than w3 to render my HTML-mails?
  2996. Answer
  2997. ......
  2998. Only if you use Gnus 5.10 or younger. In this case you've got the
  2999. choice between w3, w3m, links, lynx and html2text, which one is used
  3000. can be specified in the variable mm-text-html-renderer, so if you want
  3001. links to render your mail say
  3002. (setq mm-text-html-renderer 'links)
  3003. 
  3004. File: gnus, Node: FAQ 4-8, Next: FAQ 4-9, Prev: FAQ 4-7, Up: FAQ 4 - Reading messages
  3005. Question 4.8
  3006. ............
  3007. Is there anything I can do to make poorly formatted mails more readable?
  3008. Answer
  3009. ......
  3010. Gnus offers you several functions to "wash" incoming mail, you can find
  3011. them if you browse through the menu, item Article->Washing. The most
  3012. interesting ones are probably "Wrap long lines" (`W w'), "Decode ROT13"
  3013. (`W r') and "Outlook Deuglify" which repairs the dumb quoting used by
  3014. many users of Microsoft products (`W Y f' gives you full deuglify. See
  3015. `W Y C-h' or have a look at the menus for other deuglifications).
  3016. Outlook deuglify is only available since Gnus 5.10.
  3017. 
  3018. File: gnus, Node: FAQ 4-9, Next: FAQ 4-10, Prev: FAQ 4-8, Up: FAQ 4 - Reading messages
  3019. Question 4.9
  3020. ............
  3021. Is there a way to automatically ignore posts by specific authors or
  3022. with specific words in the subject? And can I highlight more
  3023. interesting ones in some way?
  3024. Answer
  3025. ......
  3026. You want Scoring. Scoring means, that you define rules which assign
  3027. each message an integer value. Depending on the value the message is
  3028. highlighted in summary buffer (if it's high, say +2000) or
  3029. automatically marked read (if the value is low, say -800) or some other
  3030. action happens.
  3031. There are basically three ways of setting up rules which assign the
  3032. scoring-value to messages. The first and easiest way is to set up rules
  3033. based on the article you are just reading. Say you're reading a message
  3034. by a guy who always writes nonsense and you want to ignore his messages
  3035. in the future. Hit `L', to set up a rule which lowers the score. Now
  3036. Gnus asks you which the criteria for lowering the Score shall be. Hit
  3037. `?' twice to see all possibilities, we want `a' which means the author
  3038. (the from header). Now Gnus wants to know which kind of matching we
  3039. want. Hit either `e' for an exact match or `s' for substring-match and
  3040. delete afterwards everything but the name to score down all authors
  3041. with the given name no matter which email address is used. Now you need
  3042. to tell Gnus when to apply the rule and how long it should last, hit
  3043. e.g. `p' to apply the rule now and let it last forever. If you want to
  3044. raise the score instead of lowering it say `I' instead of `L'.
  3045. You can also set up rules by hand. To do this say `V f' in summary
  3046. buffer. Then you are asked for the name of the score file, it's
  3047. name.of.group.SCORE for rules valid in only one group or all.Score for
  3048. rules valid in all groups. See the Gnus manual for the exact syntax,
  3049. basically it's one big list whose elements are lists again. the first
  3050. element of those lists is the header to score on, then one more list
  3051. with what to match, which score to assign, when to expire the rule and
  3052. how to do the matching. If you find me very interesting, you could e.g.
  3053. add the following to your all.Score:
  3054. (("references" ("hschmi22.userfqdn.rz-online.de" 500 nil s))
  3055. ("message-id" ("hschmi22.userfqdn.rz-online.de" 999 nil s)))
  3056. This would add 999 to the score of messages written by me and 500 to
  3057. the score of messages which are a (possibly indirect) answer to a
  3058. message written by me. Of course nobody with a sane mind would do this
  3059. :-)
  3060. The third alternative is adaptive scoring. This means Gnus watches
  3061. you and tries to find out what you find interesting and what annoying
  3062. and sets up rules which reflect this. Adaptive scoring can be a huge
  3063. help when reading high traffic groups. If you want to activate adaptive
  3064. scoring say
  3065. (setq gnus-use-adaptive-scoring t)
  3066. in ~/.gnus.el.
  3067. 
  3068. File: gnus, Node: FAQ 4-10, Next: FAQ 4-11, Prev: FAQ 4-9, Up: FAQ 4 - Reading messages
  3069. Question 4.10
  3070. .............
  3071. How can I disable threading in some (e.g. mail-) groups, or set other
  3072. variables specific for some groups?
  3073. Answer
  3074. ......
  3075. While in group buffer move point over the group and hit `G c', this
  3076. opens a buffer where you can set options for the group. At the bottom
  3077. of the buffer you'll find an item that allows you to set variables
  3078. locally for the group. To disable threading enter gnus-show-threads as
  3079. name of variable and nil as value. Hit button done at the top of the
  3080. buffer when you're ready.
  3081. 
  3082. File: gnus, Node: FAQ 4-11, Next: FAQ 4-12, Prev: FAQ 4-10, Up: FAQ 4 - Reading messages
  3083. Question 4.11
  3084. .............
  3085. Can I highlight messages written by me and follow-ups to those?
  3086. Answer
  3087. ......
  3088. Stop those "Can I ..." questions, the answer is always yes in Gnus
  3089. Country :-). It's a three step process: First we make faces
  3090. (specifications of how summary-line shall look like) for those
  3091. postings, then we'll give them some special score and finally we'll
  3092. tell Gnus to use the new faces.
  3093. 
  3094. File: gnus, Node: FAQ 4-12, Next: FAQ 4-13, Prev: FAQ 4-11, Up: FAQ 4 - Reading messages
  3095. Question 4.12
  3096. .............
  3097. The number of total messages in a group which Gnus displays in group
  3098. buffer is by far to high, especially in mail groups. Is this a bug?
  3099. Answer
  3100. ......
  3101. No, that's a matter of design of Gnus, fixing this would mean
  3102. reimplementation of major parts of Gnus' back ends. Gnus thinks
  3103. "highest-article-number - lowest-article-number =
  3104. total-number-of-articles". This works OK for Usenet groups, but if you
  3105. delete and move many messages in mail groups, this fails. To cure the
  3106. symptom, enter the group via `C-u RET' (this makes Gnus get all
  3107. messages), then hit `M P b' to mark all messages and then say `B m
  3108. name.of.group' to move all messages to the group they have been in
  3109. before, they get new message numbers in this process and the count is
  3110. right again (until you delete and move your mail to other groups again).
  3111. 
  3112. File: gnus, Node: FAQ 4-13, Next: FAQ 4-14, Prev: FAQ 4-12, Up: FAQ 4 - Reading messages
  3113. Question 4.13
  3114. .............
  3115. I don't like the layout of summary and article buffer, how to change
  3116. it? Perhaps even a three pane display?
  3117. Answer
  3118. ......
  3119. You can control the windows configuration by calling the function
  3120. gnus-add-configuration. The syntax is a bit complicated but explained
  3121. very well in the manual node "Window Layout". Some popular examples:
  3122. Instead 25% summary 75% article buffer 35% summary and 65% article
  3123. (the 1.0 for article means "take the remaining space"):
  3124. (gnus-add-configuration
  3125. '(article (vertical 1.0 (summary .35 point) (article 1.0))))
  3126. A three pane layout, Group buffer on the left, summary buffer
  3127. top-right, article buffer bottom-right:
  3128. (gnus-add-configuration
  3129. '(article
  3130. (horizontal 1.0
  3131. (vertical 25
  3132. (group 1.0))
  3133. (vertical 1.0
  3134. (summary 0.25 point)
  3135. (article 1.0)))))
  3136. (gnus-add-configuration
  3137. '(summary
  3138. (horizontal 1.0
  3139. (vertical 25
  3140. (group 1.0))
  3141. (vertical 1.0
  3142. (summary 1.0 point)))))
  3143. 
  3144. File: gnus, Node: FAQ 4-14, Next: FAQ 4-15, Prev: FAQ 4-13, Up: FAQ 4 - Reading messages
  3145. Question 4.14
  3146. .............
  3147. I don't like the way the Summary buffer looks, how to tweak it?
  3148. Answer
  3149. ......
  3150. You've got to play around with the variable gnus-summary-line-format.
  3151. Its value is a string of symbols which stand for things like author,
  3152. date, subject etc. A list of the available specifiers can be found in
  3153. the manual node "Summary Buffer Lines" and the often forgotten node
  3154. "Formatting Variables" and its sub-nodes. There you'll find useful
  3155. things like positioning the cursor and tabulators which allow you a
  3156. summary in table form, but sadly hard tabulators are broken in 5.8.8.
  3157. Since 5.10, Gnus offers you some very nice new specifiers, e.g. %B
  3158. which draws a thread-tree and %&user-date which gives you a date where
  3159. the details are dependent of the articles age. Here's an example which
  3160. uses both:
  3161. (setq gnus-summary-line-format ":%U%R %B %s %-60=|%4L |%-20,20f |%&user-date; \n")
  3162. resulting in:
  3163. :O Re: [Richard Stallman] rfc2047.el | 13 |Lars Magne Ingebrigt |Sat 23:06
  3164. :O Re: Revival of the ding-patches list | 13 |Lars Magne Ingebrigt |Sat 23:12
  3165. :R > Re: Find correct list of articles for a gro| 25 |Lars Magne Ingebrigt |Sat 23:16
  3166. :O \-> ... | 21 |Kai Grossjohann | 0:01
  3167. :R > Re: Cry for help: deuglify.el - moving stuf| 28 |Lars Magne Ingebrigt |Sat 23:34
  3168. :O \-> ... | 115 |Raymond Scholz | 1:24
  3169. :O \-> ... | 19 |Lars Magne Ingebrigt |15:33
  3170. :O Slow mailing list | 13 |Lars Magne Ingebrigt |Sat 23:49
  3171. :O Re: `@' mark not documented | 13 |Lars Magne Ingebrigt |Sat 23:50
  3172. :R > Re: Gnus still doesn't count messages prope| 23 |Lars Magne Ingebrigt |Sat 23:57
  3173. :O \-> ... | 18 |Kai Grossjohann | 0:35
  3174. :O \-> ... | 13 |Lars Magne Ingebrigt | 0:56
  3175. 
  3176. File: gnus, Node: FAQ 4-15, Prev: FAQ 4-14, Up: FAQ 4 - Reading messages
  3177. Question 4.15
  3178. .............
  3179. How to split incoming mails in several groups?
  3180. Answer
  3181. ......
  3182. Gnus offers two possibilities for splitting mail, the easy
  3183. nnmail-split-methods and the more powerful Fancy Mail Splitting. I'll
  3184. only talk about the first one, refer to the manual, node "Fancy Mail
  3185. Splitting" for the latter.
  3186. The value of nnmail-split-methods is a list, each element is a list
  3187. which stands for a splitting rule. Each rule has the form "group where
  3188. matching articles should go to", "regular expression which has to be
  3189. matched", the first rule which matches wins. The last rule must always
  3190. be a general rule (regular expression .*) which denotes where articles
  3191. should go which don't match any other rule. If the folder doesn't exist
  3192. yet, it will be created as soon as an article lands there. By default
  3193. the mail will be send to all groups whose rules match. If you don't
  3194. want that (you probably don't want), say
  3195. (setq nnmail-crosspost nil)
  3196. in ~/.gnus.el.
  3197. An example might be better than thousand words, so here's my
  3198. nnmail-split-methods. Note that I send duplicates in a special group
  3199. and that the default group is spam, since I filter all mails out which
  3200. are from some list I'm subscribed to or which are addressed directly to
  3201. me before. Those rules kill about 80% of the Spam which reaches me
  3202. (Email addresses are changed to prevent spammers from using them):
  3203. (setq nnmail-split-methods
  3204. '(("duplicates" "^Gnus-Warning:.*duplicate")
  3205. ("XEmacs-NT" "^\\(To:\\|CC:\\).*localpart@xemacs.invalid.*")
  3206. ("Gnus-Tut" "^\\(To:\\|CC:\\).*localpart@socha.invalid.*")
  3207. ("tcsh" "^\\(To:\\|CC:\\).*localpart@mx.gw.invalid.*")
  3208. ("BAfH" "^\\(To:\\|CC:\\).*localpart@.*uni-muenchen.invalid.*")
  3209. ("Hamster-src" "^\\(CC:\\|To:\\).*hamster-sourcen@yahoogroups.\\(de\\|com\\).*")
  3210. ("Tagesschau" "^From: tagesschau <localpart@www.tagesschau.invalid>$")
  3211. ("Replies" "^\\(CC:\\|To:\\).*localpart@Frank-Schmitt.invalid.*")
  3212. ("EK" "^From:.*\\(localpart@privateprovider.invalid\\|localpart@workplace.invalid\\).*")
  3213. ("Spam" "^Content-Type:.*\\(ks_c_5601-1987\\|EUC-KR\\|big5\\|iso-2022-jp\\).*")
  3214. ("Spam" "^Subject:.*\\(This really work\\|XINGA\\|ADV:\\|XXX\\|adult\\|sex\\).*")
  3215. ("Spam" "^Subject:.*\\(\=\?ks_c_5601-1987\?\\|\=\?euc-kr\?\\|\=\?big5\?\\).*")
  3216. ("Spam" "^X-Mailer:\\(.*BulkMailer.*\\|.*MIME::Lite.*\\|\\)")
  3217. ("Spam" "^X-Mailer:\\(.*CyberCreek Avalanche\\|.*http\:\/\/GetResponse\.com\\)")
  3218. ("Spam" "^From:.*\\(verizon\.net\\|prontomail\.com\\|money\\|ConsumerDirect\\).*")
  3219. ("Spam" "^Delivered-To: GMX delivery to spamtrap@gmx.invalid$")
  3220. ("Spam" "^Received: from link2buy.com")
  3221. ("Spam" "^CC: .*azzrael@t-online.invalid")
  3222. ("Spam" "^X-Mailer-Version: 1.50 BETA")
  3223. ("Uni" "^\\(CC:\\|To:\\).*localpart@uni-koblenz.invalid.*")
  3224. ("Inbox" "^\\(CC:\\|To:\\).*\\(my\ name\\|address@one.invalid\\|address@two.invalid\\)")
  3225. ("Spam" "")))
  3226. 
  3227. File: gnus, Node: FAQ 5 - Composing messages, Next: FAQ 6 - Old messages, Prev: FAQ 4 - Reading messages, Up: Frequently Asked Questions
  3228. 11.9.5 Composing messages
  3229. -------------------------
  3230. * Menu:
  3231. * FAQ 5-1:: What are the basic commands I need to know for sending
  3232. mail and postings?
  3233. * FAQ 5-2:: How to enable automatic word-wrap when composing
  3234. messages?
  3235. * FAQ 5-3:: How to set stuff like From, Organization, Reply-To,
  3236. signature...?
  3237. * FAQ 5-4:: Can I set things like From, Signature etc group based on
  3238. the group I post too?
  3239. * FAQ 5-5:: Is there a spell-checker? Perhaps even on-the-fly
  3240. spell-checking?
  3241. * FAQ 5-6:: Can I set the dictionary based on the group I'm posting
  3242. to?
  3243. * FAQ 5-7:: Is there some kind of address-book, so I needn't
  3244. remember all those email addresses?
  3245. * FAQ 5-8:: Sometimes I see little images at the top of article
  3246. buffer. What's that and how can I send one with my postings,
  3247. too?
  3248. * FAQ 5-9:: Sometimes I accidentally hit r instead of f in
  3249. newsgroups. Can Gnus warn me, when I'm replying by mail in
  3250. newsgroups?
  3251. * FAQ 5-10:: How to tell Gnus not to generate a sender header?
  3252. * FAQ 5-11:: I want Gnus to locally store copies of my send mail and
  3253. news, how to do it?
  3254. * FAQ 5-12:: I want Gnus to kill the buffer after successful sending
  3255. instead of keeping it alive as "Sent mail to...", how to do it?
  3256. * FAQ 5-13:: People tell me my Message-IDs are not correct, why
  3257. aren't they and how to fix it?
  3258. 
  3259. File: gnus, Node: FAQ 5-1, Next: FAQ 5-2, Up: FAQ 5 - Composing messages
  3260. Question 5.1
  3261. ............
  3262. What are the basic commands I need to know for sending mail and
  3263. postings?
  3264. Answer
  3265. ......
  3266. To start composing a new mail hit `m' either in Group or Summary
  3267. buffer, for a posting, it's either `a' in Group buffer and filling the
  3268. Newsgroups header manually or `a' in the Summary buffer of the group
  3269. where the posting shall be send to. Replying by mail is `r' if you
  3270. don't want to cite the author, or import the cited text manually and
  3271. `R' to cite the text of the original message. For a follow up to a
  3272. newsgroup, it's `f' and `F' (analogously to `r' and `R').
  3273. Enter new headers above the line saying "-text follows this line-",
  3274. enter the text below the line. When ready hit `C-c C-c', to send the
  3275. message, if you want to finish it later hit `C-c C-d' to save it in the
  3276. drafts group, where you can start editing it again by saying `D e'.
  3277. 
  3278. File: gnus, Node: FAQ 5-2, Next: FAQ 5-3, Prev: FAQ 5-1, Up: FAQ 5 - Composing messages
  3279. Question 5.2
  3280. ............
  3281. How to enable automatic word-wrap when composing messages?
  3282. Answer
  3283. ......
  3284. Starting from No Gnus, automatic word-wrap is already enabled by
  3285. default, see the variable message-fill-column.
  3286. For other versions of Gnus, say
  3287. (unless (boundp 'message-fill-column)
  3288. (add-hook 'message-mode-hook
  3289. (lambda ()
  3290. (setq fill-column 72)
  3291. (turn-on-auto-fill))))
  3292. in ~/.gnus.el.
  3293. You can reformat a paragraph by hitting `M-q' (as usual).
  3294. 
  3295. File: gnus, Node: FAQ 5-3, Next: FAQ 5-4, Prev: FAQ 5-2, Up: FAQ 5 - Composing messages
  3296. Question 5.3
  3297. ............
  3298. How to set stuff like From, Organization, Reply-To, signature...?
  3299. Answer
  3300. ......
  3301. There are other ways, but you should use posting styles for this. (See
  3302. below why). This example should make the syntax clear:
  3303. (setq gnus-posting-styles
  3304. '((".*"
  3305. (name "Frank Schmitt")
  3306. (address "me@there.invalid")
  3307. (organization "Hamme net, kren mer och nimmi")
  3308. (signature-file "~/.signature")
  3309. ("X-SampleHeader" "foobar")
  3310. (eval (setq some-variable "Foo bar")))))
  3311. The ".*" means that this settings are the default ones (see below),
  3312. valid values for the first element of the following lists are
  3313. signature, signature-file, organization, address, name or body. The
  3314. attribute name can also be a string. In that case, this will be used as
  3315. a header name, and the value will be inserted in the headers of the
  3316. article; if the value is `nil', the header name will be removed. You
  3317. can also say (eval (foo bar)), then the function foo will be evaluated
  3318. with argument bar and the result will be thrown away.
  3319. 
  3320. File: gnus, Node: FAQ 5-4, Next: FAQ 5-5, Prev: FAQ 5-3, Up: FAQ 5 - Composing messages
  3321. Question 5.4
  3322. ............
  3323. Can I set things like From, Signature etc group based on the group I
  3324. post too?
  3325. Answer
  3326. ......
  3327. That's the strength of posting styles. Before, we used ".*" to set the
  3328. default for all groups. You can use a regexp like "^gmane" and the
  3329. following settings are only applied to postings you send to the gmane
  3330. hierarchy, use ".*binaries" instead and they will be applied to postings
  3331. send to groups containing the string binaries in their name etc.
  3332. You can instead of specifying a regexp specify a function which is
  3333. evaluated, only if it returns true, the corresponding settings take
  3334. effect. Two interesting candidates for this are message-news-p which
  3335. returns t if the current Group is a newsgroup and the corresponding
  3336. message-mail-p.
  3337. Note that all forms that match are applied, that means in the
  3338. example below, when I post to gmane.mail.spam.spamassassin.general, the
  3339. settings under ".*" are applied and the settings under message-news-p
  3340. and those under "^gmane" and those under
  3341. "^gmane\\.mail\\.spam\\.spamassassin\\.general$". Because of this put
  3342. general settings at the top and specific ones at the bottom.
  3343. (setq gnus-posting-styles
  3344. '((".*" ;;default
  3345. (name "Frank Schmitt")
  3346. (organization "Hamme net, kren mer och nimmi")
  3347. (signature-file "~/.signature"))
  3348. ((message-news-p) ;;Usenet news?
  3349. (address "mySpamTrap@Frank-Schmitt.invalid")
  3350. (reply-to "hereRealRepliesOnlyPlease@Frank-Schmitt.invalid"))
  3351. ((message-mail-p) ;;mail?
  3352. (address "usedForMails@Frank-Schmitt.invalid"))
  3353. ("^gmane" ;;this is mail, too in fact
  3354. (address "usedForMails@Frank-Schmitt.invalid")
  3355. (reply-to nil))
  3356. ("^gmane\\.mail\\.spam\\.spamassassin\\.general$"
  3357. (eval (set (make-local-variable 'message-sendmail-envelope-from)
  3358. "Azzrael@rz-online.de")))))
  3359. 
  3360. File: gnus, Node: FAQ 5-5, Next: FAQ 5-6, Prev: FAQ 5-4, Up: FAQ 5 - Composing messages
  3361. Question 5.5
  3362. ............
  3363. Is there a spell-checker? Perhaps even on-the-fly spell-checking?
  3364. Answer
  3365. ......
  3366. You can use ispell.el to spell-check stuff in Emacs. So the first thing
  3367. to do is to make sure that you've got either ispell
  3368. (http://fmg-www.cs.ucla.edu/fmg-members/geoff/ispell.html) or aspell
  3369. (http://aspell.sourceforge.net/) installed and in your Path. Then you
  3370. need ispell.el (http://www.kdstevens.com/~stevens/ispell-page.html) and
  3371. for on-the-fly spell-checking flyspell.el
  3372. (http://www-sop.inria.fr/members/Manuel.Serrano/flyspell/flyspell.html).
  3373. Ispell.el is shipped with Emacs and available through the XEmacs
  3374. package system, flyspell.el is shipped with Emacs and part of XEmacs
  3375. text-modes package which is available through the package system, so
  3376. there should be no need to install them manually.
  3377. Ispell.el assumes you use ispell, if you choose aspell say
  3378. (setq ispell-program-name "aspell")
  3379. in your Emacs configuration file.
  3380. If you want your outgoing messages to be spell-checked, say
  3381. (add-hook 'message-send-hook 'ispell-message)
  3382. In your ~/.gnus.el, if you prefer on-the-fly spell-checking say
  3383. (add-hook 'message-mode-hook (lambda () (flyspell-mode 1)))
  3384. 
  3385. File: gnus, Node: FAQ 5-6, Next: FAQ 5-7, Prev: FAQ 5-5, Up: FAQ 5 - Composing messages
  3386. Question 5.6
  3387. ............
  3388. Can I set the dictionary based on the group I'm posting to?
  3389. Answer
  3390. ......
  3391. Yes, say something like
  3392. (add-hook 'gnus-select-group-hook
  3393. (lambda ()
  3394. (cond
  3395. ((string-match
  3396. "^de\\." (gnus-group-real-name gnus-newsgroup-name))
  3397. (ispell-change-dictionary "deutsch8"))
  3398. (t
  3399. (ispell-change-dictionary "english")))))
  3400. in ~/.gnus.el. Change "^de\\." and "deutsch8" to something that
  3401. suits your needs.
  3402. 
  3403. File: gnus, Node: FAQ 5-7, Next: FAQ 5-8, Prev: FAQ 5-6, Up: FAQ 5 - Composing messages
  3404. Question 5.7
  3405. ............
  3406. Is there some kind of address-book, so I needn't remember all those
  3407. email addresses?
  3408. Answer
  3409. ......
  3410. There's an very basic solution for this, mail aliases. You can store
  3411. your mail addresses in a ~/.mailrc file using a simple alias syntax:
  3412. alias al "Al <al@english-heritage.invalid>"
  3413. Then typing your alias (followed by a space or punctuation
  3414. character) on a To: or Cc: line in the message buffer will cause Gnus
  3415. to insert the full address for you. See the node "Mail Aliases" in
  3416. Message (not Gnus) manual for details.
  3417. However, what you really want is the Insidious Big Brother Database
  3418. bbdb. Get it through the XEmacs package system or from bbdb's homepage
  3419. (http://bbdb.sourceforge.net/). Now place the following in ~/.gnus.el,
  3420. to activate bbdb for Gnus:
  3421. (require 'bbdb)
  3422. (bbdb-initialize 'gnus 'message)
  3423. Now you probably want some general bbdb configuration, place them in
  3424. ~/.emacs:
  3425. (require 'bbdb)
  3426. ;;If you don't live in Northern America, you should disable the
  3427. ;;syntax check for telephone numbers by saying
  3428. (setq bbdb-north-american-phone-numbers-p nil)
  3429. ;;Tell bbdb about your email address:
  3430. (setq bbdb-user-mail-names
  3431. (regexp-opt '("Your.Email@here.invalid"
  3432. "Your.other@mail.there.invalid")))
  3433. ;;cycling while completing email addresses
  3434. (setq bbdb-complete-name-allow-cycling t)
  3435. ;;No popup-buffers
  3436. (setq bbdb-use-pop-up nil)
  3437. Now you should be ready to go. Say `M-x bbdb RET RET' to open a bbdb
  3438. buffer showing all entries. Say `c' to create a new entry, `b' to
  3439. search your BBDB and `C-o' to add a new field to an entry. If you want
  3440. to add a sender to the BBDB you can also just hit `:' on the posting in
  3441. the summary buffer and you are done. When you now compose a new mail,
  3442. hit `TAB' to cycle through know recipients.
  3443. 
  3444. File: gnus, Node: FAQ 5-8, Next: FAQ 5-9, Prev: FAQ 5-7, Up: FAQ 5 - Composing messages
  3445. Question 5.8
  3446. ............
  3447. Sometimes I see little images at the top of article buffer. What's that
  3448. and how can I send one with my postings, too?
  3449. Answer
  3450. ......
  3451. Those images are called X-Faces. They are 48*48 pixel b/w pictures,
  3452. encoded in a header line. If you want to include one in your posts,
  3453. you've got to convert some image to a X-Face. So fire up some image
  3454. manipulation program (say Gimp), open the image you want to include,
  3455. cut out the relevant part, reduce color depth to 1 bit, resize to 48*48
  3456. and save as bitmap. Now you should get the compface package from this
  3457. site (ftp://ftp.cs.indiana.edu:/pub/faces/). and create the actual
  3458. X-face by saying
  3459. cat file.xbm | xbm2ikon | compface > file.face
  3460. cat file.face | sed 's/\\/\\\\/g;s/\"/\\\"/g;' > file.face.quoted
  3461. If you can't use compface, there's an online X-face converter at
  3462. `http://www.dairiki.org/xface/'. If you use MS Windows, you could also
  3463. use the WinFace program from `http://www.xs4all.nl/~walterln/winface/'.
  3464. Now you only have to tell Gnus to include the X-face in your postings
  3465. by saying
  3466. (setq message-default-headers
  3467. (with-temp-buffer
  3468. (insert "X-Face: ")
  3469. (insert-file-contents "~/.xface")
  3470. (buffer-string)))
  3471. in ~/.gnus.el. If you use Gnus 5.10, you can simply add an entry
  3472. (x-face-file "~/.xface")
  3473. to gnus-posting-styles.
  3474. 
  3475. File: gnus, Node: FAQ 5-9, Next: FAQ 5-10, Prev: FAQ 5-8, Up: FAQ 5 - Composing messages
  3476. Question 5.9
  3477. ............
  3478. Sometimes I accidentally hit r instead of f in newsgroups. Can Gnus
  3479. warn me, when I'm replying by mail in newsgroups?
  3480. Answer
  3481. ......
  3482. Put this in ~/.gnus.el:
  3483. (setq gnus-confirm-mail-reply-to-news t)
  3484. if you already use Gnus 5.10, if you still use 5.8.8 or 5.9 try this
  3485. instead:
  3486. (eval-after-load "gnus-msg"
  3487. '(unless (boundp 'gnus-confirm-mail-reply-to-news)
  3488. (defadvice gnus-summary-reply (around reply-in-news activate)
  3489. "Request confirmation when replying to news."
  3490. (interactive)
  3491. (when (or (not (gnus-news-group-p gnus-newsgroup-name))
  3492. (y-or-n-p "Really reply by mail to article author? "))
  3493. ad-do-it))))
  3494. 
  3495. File: gnus, Node: FAQ 5-10, Next: FAQ 5-11, Prev: FAQ 5-9, Up: FAQ 5 - Composing messages
  3496. Question 5.10
  3497. .............
  3498. How to tell Gnus not to generate a sender header?
  3499. Answer
  3500. ......
  3501. Since 5.10 Gnus doesn't generate a sender header by default. For older
  3502. Gnus' try this in ~/.gnus.el:
  3503. (eval-after-load "message"
  3504. '(add-to-list 'message-syntax-checks '(sender . disabled)))
  3505. 
  3506. File: gnus, Node: FAQ 5-11, Next: FAQ 5-12, Prev: FAQ 5-10, Up: FAQ 5 - Composing messages
  3507. Question 5.11
  3508. .............
  3509. I want Gnus to locally store copies of my send mail and news, how to do
  3510. it?
  3511. Answer
  3512. ......
  3513. You must set the variable gnus-message-archive-group to do this. You
  3514. can set it to a string giving the name of the group where the copies
  3515. shall go or like in the example below use a function which is evaluated
  3516. and which returns the group to use.
  3517. (setq gnus-message-archive-group
  3518. '((if (message-news-p)
  3519. "nnml:Send-News"
  3520. "nnml:Send-Mail")))
  3521. 
  3522. File: gnus, Node: FAQ 5-12, Next: FAQ 5-13, Prev: FAQ 5-11, Up: FAQ 5 - Composing messages
  3523. Question 5.12
  3524. .............
  3525. I want Gnus to kill the buffer after successful sending instead of
  3526. keeping it alive as "Sent mail to...", how to do it?
  3527. Answer
  3528. ......
  3529. Add this to your ~/.gnus:
  3530. (setq message-kill-buffer-on-exit t)
  3531. 
  3532. File: gnus, Node: FAQ 5-13, Prev: FAQ 5-12, Up: FAQ 5 - Composing messages
  3533. Question 5.13
  3534. .............
  3535. People tell me my Message-IDs are not correct, why aren't they and how
  3536. to fix it?
  3537. Answer
  3538. ......
  3539. The message-ID is an unique identifier for messages you send. To make
  3540. it unique, Gnus need to know which machine name to put after the "@".
  3541. If the name of the machine where Gnus is running isn't suitable (it
  3542. probably isn't at most private machines) you can tell Gnus what to use
  3543. by saying:
  3544. (setq message-user-fqdn "yourmachine.yourdomain.tld")
  3545. in ~/.gnus.el. If you use Gnus 5.9 or earlier, you can use this
  3546. instead (works for newer versions as well):
  3547. (eval-after-load "message"
  3548. '(let ((fqdn "yourmachine.yourdomain.tld"));; <-- Edit this!
  3549. (if (boundp 'message-user-fqdn)
  3550. (setq message-user-fqdn fqdn)
  3551. (gnus-message 1 "Redefining `message-make-fqdn'.")
  3552. (defun message-make-fqdn ()
  3553. "Return user's fully qualified domain name."
  3554. fqdn))))
  3555. If you have no idea what to insert for "yourmachine.yourdomain.tld",
  3556. you've got several choices. You can either ask your provider if he
  3557. allows you to use something like yourUserName.userfqdn.provider.net, or
  3558. you can use somethingUnique.yourdomain.tld if you own the domain
  3559. yourdomain.tld, or you can register at a service which gives private
  3560. users a FQDN for free.
  3561. Finally you can tell Gnus not to generate a Message-ID for News at
  3562. all (and letting the server do the job) by saying
  3563. (setq message-required-news-headers
  3564. (remove' Message-ID message-required-news-headers))
  3565. you can also tell Gnus not to generate Message-IDs for mail by saying
  3566. (setq message-required-mail-headers
  3567. (remove' Message-ID message-required-mail-headers))
  3568. , however some mail servers don't generate proper Message-IDs, too,
  3569. so test if your Mail Server behaves correctly by sending yourself a
  3570. Mail and looking at the Message-ID.
  3571. 
  3572. File: gnus, Node: FAQ 6 - Old messages, Next: FAQ 7 - Gnus in a dial-up environment, Prev: FAQ 5 - Composing messages, Up: Frequently Asked Questions
  3573. 11.9.6 Old messages
  3574. -------------------
  3575. * Menu:
  3576. * FAQ 6-1:: How to import my old mail into Gnus?
  3577. * FAQ 6-2:: How to archive interesting messages?
  3578. * FAQ 6-3:: How to search for a specific message?
  3579. * FAQ 6-4:: How to get rid of old unwanted mail?
  3580. * FAQ 6-5:: I want that all read messages are expired (at least in
  3581. some groups). How to do it?
  3582. * FAQ 6-6:: I don't want expiration to delete my mails but to move
  3583. them to another group.
  3584. 
  3585. File: gnus, Node: FAQ 6-1, Next: FAQ 6-2, Up: FAQ 6 - Old messages
  3586. Question 6.1
  3587. ............
  3588. How to import my old mail into Gnus?
  3589. Answer
  3590. ......
  3591. The easiest way is to tell your old mail program to export the messages
  3592. in mbox format. Most Unix mailers are able to do this, if you come from
  3593. the MS Windows world, you may find tools at
  3594. `http://mbx2mbox.sourceforge.net/'.
  3595. Now you've got to import this mbox file into Gnus. To do this,
  3596. create a nndoc group based on the mbox file by saying `G f
  3597. /path/file.mbox RET' in Group buffer. You now have read-only access to
  3598. your mail. If you want to import the messages to your normal Gnus mail
  3599. groups hierarchy, enter the nndoc group you've just created by saying
  3600. `C-u RET' (thus making sure all messages are retrieved), mark all
  3601. messages by saying `M P b' and either copy them to the desired group by
  3602. saying `B c name.of.group RET' or send them through
  3603. nnmail-split-methods (respool them) by saying `B r'.
  3604. 
  3605. File: gnus, Node: FAQ 6-2, Next: FAQ 6-3, Prev: FAQ 6-1, Up: FAQ 6 - Old messages
  3606. Question 6.2
  3607. ............
  3608. How to archive interesting messages?
  3609. Answer
  3610. ......
  3611. If you stumble across an interesting message, say in gnu.emacs.gnus and
  3612. want to archive it there are several solutions. The first and easiest
  3613. is to save it to a file by saying `O f'. However, wouldn't it be much
  3614. more convenient to have more direct access to the archived message from
  3615. Gnus? If you say yes, put this snippet by Frank Haun
  3616. <pille3003@fhaun.de> in ~/.gnus.el:
  3617. (defun my-archive-article (&optional n)
  3618. "Copies one or more article(s) to a corresponding `nnml:' group, e.g.
  3619. `gnus.ding' goes to `nnml:1.gnus.ding'. And `nnml:List-gnus.ding' goes
  3620. to `nnml:1.List-gnus-ding'.
  3621. Use process marks or mark a region in the summary buffer to archive
  3622. more then one article."
  3623. (interactive "P")
  3624. (let ((archive-name
  3625. (format
  3626. "nnml:1.%s"
  3627. (if (featurep 'xemacs)
  3628. (replace-in-string gnus-newsgroup-name "^.*:" "")
  3629. (replace-regexp-in-string "^.*:" "" gnus-newsgroup-name)))))
  3630. (gnus-summary-copy-article n archive-name)))
  3631. You can now say `M-x my-archive-article' in summary buffer to
  3632. archive the article under the cursor in a nnml group. (Change nnml to
  3633. your preferred back end)
  3634. Of course you can also make sure the cache is enabled by saying
  3635. (setq gnus-use-cache t)
  3636. then you only have to set either the tick or the dormant mark for
  3637. articles you want to keep, setting the read mark will remove them from
  3638. cache.
  3639. 
  3640. File: gnus, Node: FAQ 6-3, Next: FAQ 6-4, Prev: FAQ 6-2, Up: FAQ 6 - Old messages
  3641. Question 6.3
  3642. ............
  3643. How to search for a specific message?
  3644. Answer
  3645. ......
  3646. There are several ways for this, too. For a posting from a Usenet group
  3647. the easiest solution is probably to ask groups.google.com
  3648. (http://groups.google.com), if you found the posting there, tell Google
  3649. to display the raw message, look for the message-id, and say `M-^
  3650. the@message.id RET' in a summary buffer. Since Gnus 5.10 there's also
  3651. a Gnus interface for groups.google.com which you can call with `G W')
  3652. in group buffer.
  3653. Another idea which works for both mail and news groups is to enter
  3654. the group where the message you are searching is and use the standard
  3655. Emacs search `C-s', it's smart enough to look at articles in collapsed
  3656. threads, too. If you want to search bodies, too try `M-s' instead.
  3657. Further on there are the gnus-summary-limit-to-foo functions, which can
  3658. help you, too.
  3659. Of course you can also use grep to search through your local mail,
  3660. but this is both slow for big archives and inconvenient since you are
  3661. not displaying the found mail in Gnus. Here comes nnir into action.
  3662. Nnir is a front end to search engines like swish-e or swish++ and
  3663. others. You index your mail with one of those search engines and with
  3664. the help of nnir you can search through the indexed mail and generate a
  3665. temporary group with all messages which met your search criteria. If
  3666. this sound cool to you get nnir.el from
  3667. `ftp://ls6-ftp.cs.uni-dortmund.de/pub/src/emacs/' or
  3668. `ftp://ftp.is.informatik.uni-duisburg.de/pub/src/emacs/'. Instructions
  3669. on how to use it are at the top of the file.
  3670. 
  3671. File: gnus, Node: FAQ 6-4, Next: FAQ 6-5, Prev: FAQ 6-3, Up: FAQ 6 - Old messages
  3672. Question 6.4
  3673. ............
  3674. How to get rid of old unwanted mail?
  3675. Answer
  3676. ......
  3677. You can of course just mark the mail you don't need anymore by saying
  3678. `#' with point over the mail and then say `B DEL' to get rid of them
  3679. forever. You could also instead of actually deleting them, send them to
  3680. a junk-group by saying `B m nnml:trash-bin' which you clear from time
  3681. to time, but both are not the intended way in Gnus.
  3682. In Gnus, we let mail expire like news expires on a news server. That
  3683. means you tell Gnus the message is expirable (you tell Gnus "I don't
  3684. need this mail anymore") by saying `E' with point over the mail in
  3685. summary buffer. Now when you leave the group, Gnus looks at all
  3686. messages which you marked as expirable before and if they are old
  3687. enough (default is older than a week) they are deleted.
  3688. 
  3689. File: gnus, Node: FAQ 6-5, Next: FAQ 6-6, Prev: FAQ 6-4, Up: FAQ 6 - Old messages
  3690. Question 6.5
  3691. ............
  3692. I want that all read messages are expired (at least in some groups).
  3693. How to do it?
  3694. Answer
  3695. ......
  3696. If you want all read messages to be expired (e.g. in mailing lists
  3697. where there's an online archive), you've got two choices: auto-expire
  3698. and total-expire. Auto-expire means, that every article which has no
  3699. marks set and is selected for reading is marked as expirable, Gnus hits
  3700. `E' for you every time you read a message. Total-expire follows a
  3701. slightly different approach, here all article where the read mark is
  3702. set are expirable.
  3703. To activate auto-expire, include auto-expire in the Group parameters
  3704. for the group. (Hit `G c' in summary buffer with point over the group
  3705. to change group parameters). For total-expire add total-expire to the
  3706. group-parameters.
  3707. Which method you choose is merely a matter of taste: Auto-expire is
  3708. faster, but it doesn't play together with Adaptive Scoring, so if you
  3709. want to use this feature, you should use total-expire.
  3710. If you want a message to be excluded from expiration in a group
  3711. where total or auto expire is active, set either tick (hit `u') or
  3712. dormant mark (hit `u'), when you use auto-expire, you can also set the
  3713. read mark (hit `d').
  3714. 
  3715. File: gnus, Node: FAQ 6-6, Prev: FAQ 6-5, Up: FAQ 6 - Old messages
  3716. Question 6.6
  3717. ............
  3718. I don't want expiration to delete my mails but to move them to another
  3719. group.
  3720. Answer
  3721. ......
  3722. Say something like this in ~/.gnus.el:
  3723. (setq nnmail-expiry-target "nnml:expired")
  3724. (If you want to change the value of nnmail-expiry-target on a per
  3725. group basis see the question "How can I disable threading in some (e.g.
  3726. mail-) groups, or set other variables specific for some groups?")
  3727. 
  3728. File: gnus, Node: FAQ 7 - Gnus in a dial-up environment, Next: FAQ 8 - Getting help, Prev: FAQ 6 - Old messages, Up: Frequently Asked Questions
  3729. 11.9.7 Gnus in a dial-up environment
  3730. ------------------------------------
  3731. * Menu:
  3732. * FAQ 7-1:: I don't have a permanent connection to the net, how can I
  3733. minimize the time I've got to be connected?
  3734. * FAQ 7-2:: So what was this thing about the Agent?
  3735. * FAQ 7-3:: I want to store article bodies on disk, too. How to do
  3736. it?
  3737. * FAQ 7-4:: How to tell Gnus not to try to send mails / postings
  3738. while I'm offline?
  3739. 
  3740. File: gnus, Node: FAQ 7-1, Next: FAQ 7-2, Up: FAQ 7 - Gnus in a dial-up environment
  3741. Question 7.1
  3742. ............
  3743. I don't have a permanent connection to the net, how can I minimize the
  3744. time I've got to be connected?
  3745. Answer
  3746. ......
  3747. You've got basically two options: Either you use the Gnus Agent (see
  3748. below) for this, or you can install programs which fetch your news and
  3749. mail to your local disk and Gnus reads the stuff from your local
  3750. machine.
  3751. If you want to follow the second approach, you need a program which
  3752. fetches news and offers them to Gnus, a program which does the same for
  3753. mail and a program which receives the mail you write from Gnus and
  3754. sends them when you're online.
  3755. Let's talk about Unix systems first: For the news part, the easiest
  3756. solution is a small nntp server like Leafnode
  3757. (http://www.leafnode.org/) or sn (http://infa.abo.fi/~patrik/sn/), of
  3758. course you can also install a full featured news server like inn
  3759. (http://www.isc.org/products/INN/). Then you want to fetch your Mail,
  3760. popular choices are fetchmail (http://www.catb.org/~esr/fetchmail/) and
  3761. getmail (http://pyropus.ca/software/getmail/). You should tell those
  3762. to write the mail to your disk and Gnus to read it from there. Last but
  3763. not least the mail sending part: This can be done with every MTA like
  3764. sendmail (http://www.sendmail.org/), postfix (http://www.qmail.org/),
  3765. exim (http://www.exim.org/) or qmail (http://www.qmail.org/).
  3766. On windows boxes I'd vote for Hamster (http://www.tglsoft.de/), it's
  3767. a small freeware, open-source program which fetches your mail and news
  3768. from remote servers and offers them to Gnus (or any other mail and/or
  3769. news reader) via nntp respectively POP3 or IMAP. It also includes a smtp
  3770. server for receiving mails from Gnus.
  3771. 
  3772. File: gnus, Node: FAQ 7-2, Next: FAQ 7-3, Prev: FAQ 7-1, Up: FAQ 7 - Gnus in a dial-up environment
  3773. Question 7.2
  3774. ............
  3775. So what was this thing about the Agent?
  3776. Answer
  3777. ......
  3778. The Gnus agent is part of Gnus, it allows you to fetch mail and news
  3779. and store them on disk for reading them later when you're offline. It
  3780. kind of mimics offline newsreaders like e.g. Forte Agent. If you want
  3781. to use the Agent place the following in ~/.gnus.el if you are still
  3782. using 5.8.8 or 5.9 (it's the default since 5.10):
  3783. (setq gnus-agent t)
  3784. Now you've got to select the servers whose groups can be stored
  3785. locally. To do this, open the server buffer (that is press `^' while
  3786. in the group buffer). Now select a server by moving point to the line
  3787. naming that server. Finally, agentize the server by typing `J a'. If
  3788. you make a mistake, or change your mind, you can undo this action by
  3789. typing `J r'. When you're done, type 'q' to return to the group buffer.
  3790. Now the next time you enter a group on a agentized server, the headers
  3791. will be stored on disk and read from there the next time you enter the
  3792. group.
  3793. 
  3794. File: gnus, Node: FAQ 7-3, Next: FAQ 7-4, Prev: FAQ 7-2, Up: FAQ 7 - Gnus in a dial-up environment
  3795. Question 7.3
  3796. ............
  3797. I want to store article bodies on disk, too. How to do it?
  3798. Answer
  3799. ......
  3800. You can tell the agent to automatically fetch the bodies of articles
  3801. which fulfill certain predicates, this is done in a special buffer
  3802. which can be reached by saying `J c' in group buffer. Please refer to
  3803. the documentation for information which predicates are possible and how
  3804. exactly to do it.
  3805. Further on you can tell the agent manually which articles to store
  3806. on disk. There are two ways to do this: Number one: In the summary
  3807. buffer, process mark a set of articles that shall be stored in the
  3808. agent by saying `#' with point over the article and then type `J s'. The
  3809. other possibility is to set, again in the summary buffer, downloadable
  3810. (%) marks for the articles you want by typing `@' with point over the
  3811. article and then typing `J u'. What's the difference? Well, process
  3812. marks are erased as soon as you exit the summary buffer while
  3813. downloadable marks are permanent. You can actually set downloadable
  3814. marks in several groups then use fetch session ('J s' in the GROUP
  3815. buffer) to fetch all of those articles. The only downside is that
  3816. fetch session also fetches all of the headers for every selected group
  3817. on an agentized server. Depending on the volume of headers, the initial
  3818. fetch session could take hours.
  3819. 
  3820. File: gnus, Node: FAQ 7-4, Prev: FAQ 7-3, Up: FAQ 7 - Gnus in a dial-up environment
  3821. Question 7.4
  3822. ............
  3823. How to tell Gnus not to try to send mails / postings while I'm offline?
  3824. Answer
  3825. ......
  3826. All you've got to do is to tell Gnus when you are online (plugged) and
  3827. when you are offline (unplugged), the rest works automatically. You can
  3828. toggle plugged/unplugged state by saying `J j' in group buffer. To
  3829. start Gnus unplugged say `M-x gnus-unplugged' instead of `M-x gnus'.
  3830. Note that for this to work, the agent must be active.
  3831. 
  3832. File: gnus, Node: FAQ 8 - Getting help, Next: FAQ 9 - Tuning Gnus, Prev: FAQ 7 - Gnus in a dial-up environment, Up: Frequently Asked Questions
  3833. 11.9.8 Getting help
  3834. -------------------
  3835. * Menu:
  3836. * FAQ 8-1:: How to find information and help inside Emacs?
  3837. * FAQ 8-2:: I can't find anything in the Gnus manual about X (e.g.
  3838. attachments, PGP, MIME...), is it not documented?
  3839. * FAQ 8-3:: Which websites should I know?
  3840. * FAQ 8-4:: Which mailing lists and newsgroups are there?
  3841. * FAQ 8-5:: Where to report bugs?
  3842. * FAQ 8-6:: I need real-time help, where to find it?
  3843. 
  3844. File: gnus, Node: FAQ 8-1, Next: FAQ 8-2, Up: FAQ 8 - Getting help
  3845. Question 8.1
  3846. ............
  3847. How to find information and help inside Emacs?
  3848. Answer
  3849. ......
  3850. The first stop should be the Gnus manual (Say `C-h i d m Gnus RET' to
  3851. start the Gnus manual, then walk through the menus or do a full-text
  3852. search with `s'). Then there are the general Emacs help commands
  3853. starting with C-h, type `C-h ? ?' to get a list of all available help
  3854. commands and their meaning. Finally `M-x apropos-command' lets you
  3855. search through all available functions and `M-x apropos' searches the
  3856. bound variables.
  3857. 
  3858. File: gnus, Node: FAQ 8-2, Next: FAQ 8-3, Prev: FAQ 8-1, Up: FAQ 8 - Getting help
  3859. Question 8.2
  3860. ............
  3861. I can't find anything in the Gnus manual about X (e.g. attachments,
  3862. PGP, MIME...), is it not documented?
  3863. Answer
  3864. ......
  3865. There's not only the Gnus manual but also the manuals for message,
  3866. emacs-mime, sieve, EasyPG Assistant, and pgg. Those packages are
  3867. distributed with Gnus and used by Gnus but aren't really part of core
  3868. Gnus, so they are documented in different info files, you should have a
  3869. look in those manuals, too.
  3870. 
  3871. File: gnus, Node: FAQ 8-3, Next: FAQ 8-4, Prev: FAQ 8-2, Up: FAQ 8 - Getting help
  3872. Question 8.3
  3873. ............
  3874. Which websites should I know?
  3875. Answer
  3876. ......
  3877. The most important one is the official Gnus website
  3878. (http://www.gnus.org).
  3879. Tell me about other sites which are interesting.
  3880. 
  3881. File: gnus, Node: FAQ 8-4, Next: FAQ 8-5, Prev: FAQ 8-3, Up: FAQ 8 - Getting help
  3882. Question 8.4
  3883. ............
  3884. Which mailing lists and newsgroups are there?
  3885. Answer
  3886. ......
  3887. There's the newsgroup gnu.emacs.gnus (also available as
  3888. gmane.emacs.gnus.user (http://dir.gmane.org/gmane.emacs.gnus.user))
  3889. which deals with general Gnus questions. If you have questions about
  3890. development versions of Gnus, you should better ask on the ding mailing
  3891. list, see below.
  3892. If you want to stay in the big8, news.software.readers is also read
  3893. by some Gnus users (but chances for qualified help are much better in
  3894. the above groups). If you speak German, there's de.comm.software.gnus.
  3895. The ding mailing list (ding@gnus.org) deals with development of
  3896. Gnus. You can read the ding list via NNTP, too under the name
  3897. gmane.emacs.gnus.general
  3898. (http://dir.gmane.org/gmane.emacs.gnus.general) from news.gmane.org.
  3899. 
  3900. File: gnus, Node: FAQ 8-5, Next: FAQ 8-6, Prev: FAQ 8-4, Up: FAQ 8 - Getting help
  3901. Question 8.5
  3902. ............
  3903. Where to report bugs?
  3904. Answer
  3905. ......
  3906. Say `M-x gnus-bug', this will start a message to the gnus bug mailing
  3907. list <bugs@gnus.org> including information about your environment which
  3908. make it easier to help you.
  3909. 
  3910. File: gnus, Node: FAQ 8-6, Prev: FAQ 8-5, Up: FAQ 8 - Getting help
  3911. Question 8.6
  3912. ............
  3913. I need real-time help, where to find it?
  3914. Answer
  3915. ......
  3916. Point your IRC client to irc.freenode.net, channel #gnus.
  3917. 
  3918. File: gnus, Node: FAQ 9 - Tuning Gnus, Next: FAQ - Glossary, Prev: FAQ 8 - Getting help, Up: Frequently Asked Questions
  3919. 11.9.9 Tuning Gnus
  3920. ------------------
  3921. * Menu:
  3922. * FAQ 9-1:: Starting Gnus is really slow, how to speed it up?
  3923. * FAQ 9-2:: How to speed up the process of entering a group?
  3924. * FAQ 9-3:: Sending mail becomes slower and slower, what's up?
  3925. 
  3926. File: gnus, Node: FAQ 9-1, Next: FAQ 9-2, Up: FAQ 9 - Tuning Gnus
  3927. Question 9.1
  3928. ............
  3929. Starting Gnus is really slow, how to speed it up?
  3930. Answer
  3931. ......
  3932. The reason for this could be the way Gnus reads its active file, see
  3933. the node "The Active File" in the Gnus manual for things you might try
  3934. to speed the process up. An other idea would be to byte compile your
  3935. ~/.gnus.el (say `M-x byte-compile-file RET ~/.gnus.el RET' to do it).
  3936. Finally, if you have require statements in your .gnus, you could
  3937. replace them with eval-after-load, which loads the stuff not at startup
  3938. time, but when it's needed. Say you've got this in your ~/.gnus.el:
  3939. (require 'message)
  3940. (add-to-list 'message-syntax-checks '(sender . disabled))
  3941. then as soon as you start Gnus, message.el is loaded. If you replace
  3942. it with
  3943. (eval-after-load "message"
  3944. '(add-to-list 'message-syntax-checks '(sender . disabled)))
  3945. it's loaded when it's needed.
  3946. 
  3947. File: gnus, Node: FAQ 9-2, Next: FAQ 9-3, Prev: FAQ 9-1, Up: FAQ 9 - Tuning Gnus
  3948. Question 9.2
  3949. ............
  3950. How to speed up the process of entering a group?
  3951. Answer
  3952. ......
  3953. A speed killer is setting the variable gnus-fetch-old-headers to
  3954. anything different from nil, so don't do this if speed is an issue. To
  3955. speed up building of summary say
  3956. (gnus-compile)
  3957. at the bottom of your ~/.gnus.el, this will make gnus byte-compile
  3958. things like gnus-summary-line-format. then you could increase the
  3959. value of gc-cons-threshold by saying something like
  3960. (setq gc-cons-threshold 3500000)
  3961. in ~/.emacs. If you don't care about width of CJK characters or use
  3962. Gnus 5.10 or younger together with a recent GNU Emacs, you should say
  3963. (setq gnus-use-correct-string-widths nil)
  3964. in ~/.gnus.el (thanks to Jesper harder for the last two
  3965. suggestions). Finally if you are still using 5.8.8 or 5.9 and
  3966. experience speed problems with summary buffer generation, you
  3967. definitely should update to 5.10 since there quite some work on
  3968. improving it has been done.
  3969. 
  3970. File: gnus, Node: FAQ 9-3, Prev: FAQ 9-2, Up: FAQ 9 - Tuning Gnus
  3971. Question 9.3
  3972. ............
  3973. Sending mail becomes slower and slower, what's up?
  3974. Answer
  3975. ......
  3976. The reason could be that you told Gnus to archive the messages you
  3977. wrote by setting gnus-message-archive-group. Try to use a nnml group
  3978. instead of an archive group, this should bring you back to normal speed.
  3979. 
  3980. File: gnus, Node: FAQ - Glossary, Prev: FAQ 9 - Tuning Gnus, Up: Frequently Asked Questions
  3981. 11.9.10 Glossary
  3982. ----------------
  3983. "~/.gnus.el"
  3984. When the term ~/.gnus.el is used it just means your Gnus
  3985. configuration file. You might as well call it ~/.gnus or specify
  3986. another name.
  3987. "Back End"
  3988. In Gnus terminology a back end is a virtual server, a layer
  3989. between core Gnus and the real NNTP-, POP3-, IMAP- or
  3990. whatever-server which offers Gnus a standardized interface to
  3991. functions like "get message", "get Headers" etc.
  3992. "Emacs"
  3993. When the term Emacs is used in this FAQ, it means either GNU Emacs
  3994. or XEmacs.
  3995. "Message"
  3996. In this FAQ message means a either a mail or a posting to a Usenet
  3997. Newsgroup or to some other fancy back end, no matter of which kind
  3998. it is.
  3999. "MUA"
  4000. MUA is an acronym for Mail User Agent, it's the program you use to
  4001. read and write e-mails.
  4002. "NUA"
  4003. NUA is an acronym for News User Agent, it's the program you use to
  4004. read and write Usenet news.
  4005. 
  4006. File: gnus, Node: GNU Free Documentation License, Next: Index, Prev: Appendices, Up: Top
  4007. 12 GNU Free Documentation License
  4008. *********************************
  4009. Version 1.3, 3 November 2008
  4010. Copyright (C) 2000, 2001, 2002, 2007, 2008, 2009 Free Software Foundation, Inc.
  4011. `http://fsf.org/'
  4012. Everyone is permitted to copy and distribute verbatim copies
  4013. of this license document, but changing it is not allowed.
  4014. 0. PREAMBLE
  4015. The purpose of this License is to make a manual, textbook, or other
  4016. functional and useful document "free" in the sense of freedom: to
  4017. assure everyone the effective freedom to copy and redistribute it,
  4018. with or without modifying it, either commercially or
  4019. noncommercially. Secondarily, this License preserves for the
  4020. author and publisher a way to get credit for their work, while not
  4021. being considered responsible for modifications made by others.
  4022. This License is a kind of "copyleft", which means that derivative
  4023. works of the document must themselves be free in the same sense.
  4024. It complements the GNU General Public License, which is a copyleft
  4025. license designed for free software.
  4026. We have designed this License in order to use it for manuals for
  4027. free software, because free software needs free documentation: a
  4028. free program should come with manuals providing the same freedoms
  4029. that the software does. But this License is not limited to
  4030. software manuals; it can be used for any textual work, regardless
  4031. of subject matter or whether it is published as a printed book.
  4032. We recommend this License principally for works whose purpose is
  4033. instruction or reference.
  4034. 1. APPLICABILITY AND DEFINITIONS
  4035. This License applies to any manual or other work, in any medium,
  4036. that contains a notice placed by the copyright holder saying it
  4037. can be distributed under the terms of this License. Such a notice
  4038. grants a world-wide, royalty-free license, unlimited in duration,
  4039. to use that work under the conditions stated herein. The
  4040. "Document", below, refers to any such manual or work. Any member
  4041. of the public is a licensee, and is addressed as "you". You
  4042. accept the license if you copy, modify or distribute the work in a
  4043. way requiring permission under copyright law.
  4044. A "Modified Version" of the Document means any work containing the
  4045. Document or a portion of it, either copied verbatim, or with
  4046. modifications and/or translated into another language.
  4047. A "Secondary Section" is a named appendix or a front-matter section
  4048. of the Document that deals exclusively with the relationship of the
  4049. publishers or authors of the Document to the Document's overall
  4050. subject (or to related matters) and contains nothing that could
  4051. fall directly within that overall subject. (Thus, if the Document
  4052. is in part a textbook of mathematics, a Secondary Section may not
  4053. explain any mathematics.) The relationship could be a matter of
  4054. historical connection with the subject or with related matters, or
  4055. of legal, commercial, philosophical, ethical or political position
  4056. regarding them.
  4057. The "Invariant Sections" are certain Secondary Sections whose
  4058. titles are designated, as being those of Invariant Sections, in
  4059. the notice that says that the Document is released under this
  4060. License. If a section does not fit the above definition of
  4061. Secondary then it is not allowed to be designated as Invariant.
  4062. The Document may contain zero Invariant Sections. If the Document
  4063. does not identify any Invariant Sections then there are none.
  4064. The "Cover Texts" are certain short passages of text that are
  4065. listed, as Front-Cover Texts or Back-Cover Texts, in the notice
  4066. that says that the Document is released under this License. A
  4067. Front-Cover Text may be at most 5 words, and a Back-Cover Text may
  4068. be at most 25 words.
  4069. A "Transparent" copy of the Document means a machine-readable copy,
  4070. represented in a format whose specification is available to the
  4071. general public, that is suitable for revising the document
  4072. straightforwardly with generic text editors or (for images
  4073. composed of pixels) generic paint programs or (for drawings) some
  4074. widely available drawing editor, and that is suitable for input to
  4075. text formatters or for automatic translation to a variety of
  4076. formats suitable for input to text formatters. A copy made in an
  4077. otherwise Transparent file format whose markup, or absence of
  4078. markup, has been arranged to thwart or discourage subsequent
  4079. modification by readers is not Transparent. An image format is
  4080. not Transparent if used for any substantial amount of text. A
  4081. copy that is not "Transparent" is called "Opaque".
  4082. Examples of suitable formats for Transparent copies include plain
  4083. ASCII without markup, Texinfo input format, LaTeX input format,
  4084. SGML or XML using a publicly available DTD, and
  4085. standard-conforming simple HTML, PostScript or PDF designed for
  4086. human modification. Examples of transparent image formats include
  4087. PNG, XCF and JPG. Opaque formats include proprietary formats that
  4088. can be read and edited only by proprietary word processors, SGML or
  4089. XML for which the DTD and/or processing tools are not generally
  4090. available, and the machine-generated HTML, PostScript or PDF
  4091. produced by some word processors for output purposes only.
  4092. The "Title Page" means, for a printed book, the title page itself,
  4093. plus such following pages as are needed to hold, legibly, the
  4094. material this License requires to appear in the title page. For
  4095. works in formats which do not have any title page as such, "Title
  4096. Page" means the text near the most prominent appearance of the
  4097. work's title, preceding the beginning of the body of the text.
  4098. The "publisher" means any person or entity that distributes copies
  4099. of the Document to the public.
  4100. A section "Entitled XYZ" means a named subunit of the Document
  4101. whose title either is precisely XYZ or contains XYZ in parentheses
  4102. following text that translates XYZ in another language. (Here XYZ
  4103. stands for a specific section name mentioned below, such as
  4104. "Acknowledgements", "Dedications", "Endorsements", or "History".)
  4105. To "Preserve the Title" of such a section when you modify the
  4106. Document means that it remains a section "Entitled XYZ" according
  4107. to this definition.
  4108. The Document may include Warranty Disclaimers next to the notice
  4109. which states that this License applies to the Document. These
  4110. Warranty Disclaimers are considered to be included by reference in
  4111. this License, but only as regards disclaiming warranties: any other
  4112. implication that these Warranty Disclaimers may have is void and
  4113. has no effect on the meaning of this License.
  4114. 2. VERBATIM COPYING
  4115. You may copy and distribute the Document in any medium, either
  4116. commercially or noncommercially, provided that this License, the
  4117. copyright notices, and the license notice saying this License
  4118. applies to the Document are reproduced in all copies, and that you
  4119. add no other conditions whatsoever to those of this License. You
  4120. may not use technical measures to obstruct or control the reading
  4121. or further copying of the copies you make or distribute. However,
  4122. you may accept compensation in exchange for copies. If you
  4123. distribute a large enough number of copies you must also follow
  4124. the conditions in section 3.
  4125. You may also lend copies, under the same conditions stated above,
  4126. and you may publicly display copies.
  4127. 3. COPYING IN QUANTITY
  4128. If you publish printed copies (or copies in media that commonly
  4129. have printed covers) of the Document, numbering more than 100, and
  4130. the Document's license notice requires Cover Texts, you must
  4131. enclose the copies in covers that carry, clearly and legibly, all
  4132. these Cover Texts: Front-Cover Texts on the front cover, and
  4133. Back-Cover Texts on the back cover. Both covers must also clearly
  4134. and legibly identify you as the publisher of these copies. The
  4135. front cover must present the full title with all words of the
  4136. title equally prominent and visible. You may add other material
  4137. on the covers in addition. Copying with changes limited to the
  4138. covers, as long as they preserve the title of the Document and
  4139. satisfy these conditions, can be treated as verbatim copying in
  4140. other respects.
  4141. If the required texts for either cover are too voluminous to fit
  4142. legibly, you should put the first ones listed (as many as fit
  4143. reasonably) on the actual cover, and continue the rest onto
  4144. adjacent pages.
  4145. If you publish or distribute Opaque copies of the Document
  4146. numbering more than 100, you must either include a
  4147. machine-readable Transparent copy along with each Opaque copy, or
  4148. state in or with each Opaque copy a computer-network location from
  4149. which the general network-using public has access to download
  4150. using public-standard network protocols a complete Transparent
  4151. copy of the Document, free of added material. If you use the
  4152. latter option, you must take reasonably prudent steps, when you
  4153. begin distribution of Opaque copies in quantity, to ensure that
  4154. this Transparent copy will remain thus accessible at the stated
  4155. location until at least one year after the last time you
  4156. distribute an Opaque copy (directly or through your agents or
  4157. retailers) of that edition to the public.
  4158. It is requested, but not required, that you contact the authors of
  4159. the Document well before redistributing any large number of
  4160. copies, to give them a chance to provide you with an updated
  4161. version of the Document.
  4162. 4. MODIFICATIONS
  4163. You may copy and distribute a Modified Version of the Document
  4164. under the conditions of sections 2 and 3 above, provided that you
  4165. release the Modified Version under precisely this License, with
  4166. the Modified Version filling the role of the Document, thus
  4167. licensing distribution and modification of the Modified Version to
  4168. whoever possesses a copy of it. In addition, you must do these
  4169. things in the Modified Version:
  4170. A. Use in the Title Page (and on the covers, if any) a title
  4171. distinct from that of the Document, and from those of
  4172. previous versions (which should, if there were any, be listed
  4173. in the History section of the Document). You may use the
  4174. same title as a previous version if the original publisher of
  4175. that version gives permission.
  4176. B. List on the Title Page, as authors, one or more persons or
  4177. entities responsible for authorship of the modifications in
  4178. the Modified Version, together with at least five of the
  4179. principal authors of the Document (all of its principal
  4180. authors, if it has fewer than five), unless they release you
  4181. from this requirement.
  4182. C. State on the Title page the name of the publisher of the
  4183. Modified Version, as the publisher.
  4184. D. Preserve all the copyright notices of the Document.
  4185. E. Add an appropriate copyright notice for your modifications
  4186. adjacent to the other copyright notices.
  4187. F. Include, immediately after the copyright notices, a license
  4188. notice giving the public permission to use the Modified
  4189. Version under the terms of this License, in the form shown in
  4190. the Addendum below.
  4191. G. Preserve in that license notice the full lists of Invariant
  4192. Sections and required Cover Texts given in the Document's
  4193. license notice.
  4194. H. Include an unaltered copy of this License.
  4195. I. Preserve the section Entitled "History", Preserve its Title,
  4196. and add to it an item stating at least the title, year, new
  4197. authors, and publisher of the Modified Version as given on
  4198. the Title Page. If there is no section Entitled "History" in
  4199. the Document, create one stating the title, year, authors,
  4200. and publisher of the Document as given on its Title Page,
  4201. then add an item describing the Modified Version as stated in
  4202. the previous sentence.
  4203. J. Preserve the network location, if any, given in the Document
  4204. for public access to a Transparent copy of the Document, and
  4205. likewise the network locations given in the Document for
  4206. previous versions it was based on. These may be placed in
  4207. the "History" section. You may omit a network location for a
  4208. work that was published at least four years before the
  4209. Document itself, or if the original publisher of the version
  4210. it refers to gives permission.
  4211. K. For any section Entitled "Acknowledgements" or "Dedications",
  4212. Preserve the Title of the section, and preserve in the
  4213. section all the substance and tone of each of the contributor
  4214. acknowledgements and/or dedications given therein.
  4215. L. Preserve all the Invariant Sections of the Document,
  4216. unaltered in their text and in their titles. Section numbers
  4217. or the equivalent are not considered part of the section
  4218. titles.
  4219. M. Delete any section Entitled "Endorsements". Such a section
  4220. may not be included in the Modified Version.
  4221. N. Do not retitle any existing section to be Entitled
  4222. "Endorsements" or to conflict in title with any Invariant
  4223. Section.
  4224. O. Preserve any Warranty Disclaimers.
  4225. If the Modified Version includes new front-matter sections or
  4226. appendices that qualify as Secondary Sections and contain no
  4227. material copied from the Document, you may at your option
  4228. designate some or all of these sections as invariant. To do this,
  4229. add their titles to the list of Invariant Sections in the Modified
  4230. Version's license notice. These titles must be distinct from any
  4231. other section titles.
  4232. You may add a section Entitled "Endorsements", provided it contains
  4233. nothing but endorsements of your Modified Version by various
  4234. parties--for example, statements of peer review or that the text
  4235. has been approved by an organization as the authoritative
  4236. definition of a standard.
  4237. You may add a passage of up to five words as a Front-Cover Text,
  4238. and a passage of up to 25 words as a Back-Cover Text, to the end
  4239. of the list of Cover Texts in the Modified Version. Only one
  4240. passage of Front-Cover Text and one of Back-Cover Text may be
  4241. added by (or through arrangements made by) any one entity. If the
  4242. Document already includes a cover text for the same cover,
  4243. previously added by you or by arrangement made by the same entity
  4244. you are acting on behalf of, you may not add another; but you may
  4245. replace the old one, on explicit permission from the previous
  4246. publisher that added the old one.
  4247. The author(s) and publisher(s) of the Document do not by this
  4248. License give permission to use their names for publicity for or to
  4249. assert or imply endorsement of any Modified Version.
  4250. 5. COMBINING DOCUMENTS
  4251. You may combine the Document with other documents released under
  4252. this License, under the terms defined in section 4 above for
  4253. modified versions, provided that you include in the combination
  4254. all of the Invariant Sections of all of the original documents,
  4255. unmodified, and list them all as Invariant Sections of your
  4256. combined work in its license notice, and that you preserve all
  4257. their Warranty Disclaimers.
  4258. The combined work need only contain one copy of this License, and
  4259. multiple identical Invariant Sections may be replaced with a single
  4260. copy. If there are multiple Invariant Sections with the same name
  4261. but different contents, make the title of each such section unique
  4262. by adding at the end of it, in parentheses, the name of the
  4263. original author or publisher of that section if known, or else a
  4264. unique number. Make the same adjustment to the section titles in
  4265. the list of Invariant Sections in the license notice of the
  4266. combined work.
  4267. In the combination, you must combine any sections Entitled
  4268. "History" in the various original documents, forming one section
  4269. Entitled "History"; likewise combine any sections Entitled
  4270. "Acknowledgements", and any sections Entitled "Dedications". You
  4271. must delete all sections Entitled "Endorsements."
  4272. 6. COLLECTIONS OF DOCUMENTS
  4273. You may make a collection consisting of the Document and other
  4274. documents released under this License, and replace the individual
  4275. copies of this License in the various documents with a single copy
  4276. that is included in the collection, provided that you follow the
  4277. rules of this License for verbatim copying of each of the
  4278. documents in all other respects.
  4279. You may extract a single document from such a collection, and
  4280. distribute it individually under this License, provided you insert
  4281. a copy of this License into the extracted document, and follow
  4282. this License in all other respects regarding verbatim copying of
  4283. that document.
  4284. 7. AGGREGATION WITH INDEPENDENT WORKS
  4285. A compilation of the Document or its derivatives with other
  4286. separate and independent documents or works, in or on a volume of
  4287. a storage or distribution medium, is called an "aggregate" if the
  4288. copyright resulting from the compilation is not used to limit the
  4289. legal rights of the compilation's users beyond what the individual
  4290. works permit. When the Document is included in an aggregate, this
  4291. License does not apply to the other works in the aggregate which
  4292. are not themselves derivative works of the Document.
  4293. If the Cover Text requirement of section 3 is applicable to these
  4294. copies of the Document, then if the Document is less than one half
  4295. of the entire aggregate, the Document's Cover Texts may be placed
  4296. on covers that bracket the Document within the aggregate, or the
  4297. electronic equivalent of covers if the Document is in electronic
  4298. form. Otherwise they must appear on printed covers that bracket
  4299. the whole aggregate.
  4300. 8. TRANSLATION
  4301. Translation is considered a kind of modification, so you may
  4302. distribute translations of the Document under the terms of section
  4303. 4. Replacing Invariant Sections with translations requires special
  4304. permission from their copyright holders, but you may include
  4305. translations of some or all Invariant Sections in addition to the
  4306. original versions of these Invariant Sections. You may include a
  4307. translation of this License, and all the license notices in the
  4308. Document, and any Warranty Disclaimers, provided that you also
  4309. include the original English version of this License and the
  4310. original versions of those notices and disclaimers. In case of a
  4311. disagreement between the translation and the original version of
  4312. this License or a notice or disclaimer, the original version will
  4313. prevail.
  4314. If a section in the Document is Entitled "Acknowledgements",
  4315. "Dedications", or "History", the requirement (section 4) to
  4316. Preserve its Title (section 1) will typically require changing the
  4317. actual title.
  4318. 9. TERMINATION
  4319. You may not copy, modify, sublicense, or distribute the Document
  4320. except as expressly provided under this License. Any attempt
  4321. otherwise to copy, modify, sublicense, or distribute it is void,
  4322. and will automatically terminate your rights under this License.
  4323. However, if you cease all violation of this License, then your
  4324. license from a particular copyright holder is reinstated (a)
  4325. provisionally, unless and until the copyright holder explicitly
  4326. and finally terminates your license, and (b) permanently, if the
  4327. copyright holder fails to notify you of the violation by some
  4328. reasonable means prior to 60 days after the cessation.
  4329. Moreover, your license from a particular copyright holder is
  4330. reinstated permanently if the copyright holder notifies you of the
  4331. violation by some reasonable means, this is the first time you have
  4332. received notice of violation of this License (for any work) from
  4333. that copyright holder, and you cure the violation prior to 30 days
  4334. after your receipt of the notice.
  4335. Termination of your rights under this section does not terminate
  4336. the licenses of parties who have received copies or rights from
  4337. you under this License. If your rights have been terminated and
  4338. not permanently reinstated, receipt of a copy of some or all of
  4339. the same material does not give you any rights to use it.
  4340. 10. FUTURE REVISIONS OF THIS LICENSE
  4341. The Free Software Foundation may publish new, revised versions of
  4342. the GNU Free Documentation License from time to time. Such new
  4343. versions will be similar in spirit to the present version, but may
  4344. differ in detail to address new problems or concerns. See
  4345. `http://www.gnu.org/copyleft/'.
  4346. Each version of the License is given a distinguishing version
  4347. number. If the Document specifies that a particular numbered
  4348. version of this License "or any later version" applies to it, you
  4349. have the option of following the terms and conditions either of
  4350. that specified version or of any later version that has been
  4351. published (not as a draft) by the Free Software Foundation. If
  4352. the Document does not specify a version number of this License,
  4353. you may choose any version ever published (not as a draft) by the
  4354. Free Software Foundation. If the Document specifies that a proxy
  4355. can decide which future versions of this License can be used, that
  4356. proxy's public statement of acceptance of a version permanently
  4357. authorizes you to choose that version for the Document.
  4358. 11. RELICENSING
  4359. "Massive Multiauthor Collaboration Site" (or "MMC Site") means any
  4360. World Wide Web server that publishes copyrightable works and also
  4361. provides prominent facilities for anybody to edit those works. A
  4362. public wiki that anybody can edit is an example of such a server.
  4363. A "Massive Multiauthor Collaboration" (or "MMC") contained in the
  4364. site means any set of copyrightable works thus published on the MMC
  4365. site.
  4366. "CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0
  4367. license published by Creative Commons Corporation, a not-for-profit
  4368. corporation with a principal place of business in San Francisco,
  4369. California, as well as future copyleft versions of that license
  4370. published by that same organization.
  4371. "Incorporate" means to publish or republish a Document, in whole or
  4372. in part, as part of another Document.
  4373. An MMC is "eligible for relicensing" if it is licensed under this
  4374. License, and if all works that were first published under this
  4375. License somewhere other than this MMC, and subsequently
  4376. incorporated in whole or in part into the MMC, (1) had no cover
  4377. texts or invariant sections, and (2) were thus incorporated prior
  4378. to November 1, 2008.
  4379. The operator of an MMC Site may republish an MMC contained in the
  4380. site under CC-BY-SA on the same site at any time before August 1,
  4381. 2009, provided the MMC is eligible for relicensing.
  4382. ADDENDUM: How to use this License for your documents
  4383. ====================================================
  4384. To use this License in a document you have written, include a copy of
  4385. the License in the document and put the following copyright and license
  4386. notices just after the title page:
  4387. Copyright (C) YEAR YOUR NAME.
  4388. Permission is granted to copy, distribute and/or modify this document
  4389. under the terms of the GNU Free Documentation License, Version 1.3
  4390. or any later version published by the Free Software Foundation;
  4391. with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
  4392. Texts. A copy of the license is included in the section entitled ``GNU
  4393. Free Documentation License''.
  4394. If you have Invariant Sections, Front-Cover Texts and Back-Cover
  4395. Texts, replace the "with...Texts." line with this:
  4396. with the Invariant Sections being LIST THEIR TITLES, with
  4397. the Front-Cover Texts being LIST, and with the Back-Cover Texts
  4398. being LIST.
  4399. If you have Invariant Sections without Cover Texts, or some other
  4400. combination of the three, merge those two alternatives to suit the
  4401. situation.
  4402. If your document contains nontrivial examples of program code, we
  4403. recommend releasing these examples in parallel under your choice of
  4404. free software license, such as the GNU General Public License, to
  4405. permit their use in free software.
  4406. 
  4407. Local Variables:
  4408. coding: iso-8859-1
  4409. End: