Tải bản đầy đủ - 0 (trang)
Appendix C. Bugs and Bug Fixes

Appendix C. Bugs and Bug Fixes

Tải bản đầy đủ - 0trang

useful,particularlyiftheproblemisrepeatable;"Ithink

there'saproblemwithfonthandling"doesn'tgiveany

usefulinformationatall.

AlwaysreportwhichversionofEmacsyouareusing.The

commandM-xemacs-versiongivesyoutherelevant

information.

Alwaysreportthecontentsofthefileyouwereediting(ifit

makesadifference),thecontentsofyour.emacsfile,which

modeyouwerein,andanyLisplibraries(customor

otherwise)thatyouhavetoloadinordertocreatethe

problem.

Wewilladdoneveryimportantguideline:

Althoughwehavetakeneveryefforttowriteabookthatis

accurate,wearefarfromperfect.Withthatinmind,please

donotcitethisbookasanauthoritywhenreportingabug.

Althoughwehaven'tasked,theFreeSoftwareFoundation

wouldbecompletelyjustifiedinrejectinganybugreports

basedonathird-partypublication.Ifyoususpectabug,

usetheGNUEmacsManualorthehelpfacilitytofindout

whatthecommandthat'sgivingyoutroubleisreally

supposedtodo.Indoingso,youmayfindoutthatthis

bookisincorrect;ifyoudo,pleasereporttheproblemto

booktech@oreilly.com.

Ifyoudohaveabugtoreport,typeM-xreport-emacs-bugto

senditfromwithinEmacs.You'llbepromptedforasubjectline

anddroppedintoEmacs'interfaceforsendingmail.Ifmailfrom

Emacsisn'tsetupproperly,youcanemailemacs-pretestbug@gnu.orgusingyourpreferredmailclient.Besureto

includeaninformativesubjectlinethatsummarizesthe

problem.



AppendixD.OnlineResources

ThisappendixincludessomehelpfulEmacswebsites.Someof

thoselisteddescribeadd-onpackagesforEmacs.Insome

cases,thesiteshavebeenstableforyearsandarelikelyto

remainthatway.Inothercases,websitescomeandgoand

URLschange.Ifyoufinderrorsinthislistorhavesuggestions

foradditions,pleaseemailusatbooktech@oreilly.com.

TableD-1.Emacswebsites

Website



URL



TheFreeSoftwareFoundation



http://www.fsf.org/



TheofficialwebsiteforGNUEmacs



http://www.gnu.org/software/emacs/



TheGNUGeneralPublicLicense



http://www.gnu.org/copyleft/gpl.html



Thewebsiteforthisbook



http://www.oreilly.com/catalog/gnu3/



Theveryunofficialdotemacshome(great

collectionof.emacsfilestoaidyouin

creatingyourown)



http://www.dotemacs.de/



Dotfiles.com(includesdotfilesforother

applicationsaswellasEmacs)



http://www.dotfiles.com/



TheEmacsWiki



http://www.emacswiki.org/cgi-bin/wiki/



EmacsHaiku



http://www.dina.dk/~abraham/religion/haiku2.txt



Emacsimplementations



http://www.finseth.com/~fin/emacs.html



DavidWheeler'sessayarguingforaGPLhttp://www.dwheeler.com/essays/gplcompatiblelicenseforopensourceprojects compatible.html



TableD-2.Platformandaccessibility-relatedwebsites

Website



URL



FSF'sdownloadsiteforEmacsforUnix

andWindows



http://ftp.gnu.org/pub/gnu/emacs/



http://members.shaw.ca/akochoi-emacs/

AndrewChoi'sMacOSXFAQandbuild

instructions



AlexRice'sMacOSXbuild



http://members.shaw.ca/akochoiemacs/stories/obtaining-andbuilding.html

http://mindlube.com/products/emacs/index.html



Fink,aUnixsoftwareinstallerforMacOS

http://fink.sourceforge.net/

X

JohnSchneider's"GettingMacOSX.3

toBehaveAlmostLikeMyLinuxBoxes"



http://www.eecs.wsu.edu/~schneidj/mac-osx10.3.html



Nqmacs,aWindowsEmacsbinary



http://sourceforge.net/projects/nqmacs/



Cygwin:UnixcommandsforWindows



http://www.cygwin.com/



NgaiKimHoong'spagerelatingtoEmacs

http://www.khngai.com/emacs/

andCygwin(evenEmacsandPalmPilots)

KimStorm'sCUAmode



http://www.cua.dk/emacs.html/



Emacspeak(anaudiointerfacetoEmacs) http://emacspeak.sourceforge.net/



TableD-3.Text-relatedsites

Website

IspellFAQ



URL

http://www.kdstevens.com/~stevens/ispell-faq.html



Raymond

Zeitler'spost

pointingtothe http://lists.nongnu.org/archive/html/help-emacs-windows/2004rightversionof 06/msg00023.html

Ispellfor

Windows

EricPement's

"Understanding

http://www.student.northpark.edu/pemente/emacs_tabs.htm

GNUEmacs

andTabs"page

EricPement's

awkscriptsfor

convertingto http://www.student.northpark.edu/pemente/awk/outline_classic11.awk.txt

outlinemode

http://www.student.northpark.edu/pemente/awk/outline_numbered11.awk.txt

outlinesto

classical

outlineformats

ASCIIart(fun

withpicture

http://www.ascii-art.de/

mode)



TableD-4.Programminglanguages,versioncontrol,andcustomization

sites

Website

CPAN(theComprehensivePerl

ArchiveNetwork)



URL



http://www.cpan.org/



CollectionofEmacsDevelopment

http://cedet.sourceforge.net/

EnvironmentTools(CEDET)

JDEEsite



http://jdee.sunsite.dk/



PHPmode



http://sourceforge.net/projects/php-mode/



Subversion



http://subversion.tigris.org



Clearcaseextensions

(clearcase.el)



http://members.verizon.net/~vze24fr2/EmacsClearCase/



TableD-5.Markuplanguage-relatedsites

Website



URL



psgmlmode



http://www.lysator.liu.se/projects/about_psgml.html



psgmlsetupinstructionsfrom

OpenACS



http://openacs.org/doc/openacs-5-0-0/psgmlmode.html



NormWalsh'sDocBooksite



http://www.docbook.org/



TEIEmacs(alsoincludesJDEEfor

LinuxandWindows)



http://www.tei-c.org/Software/tei-emacs/



JimClark'snxmlmode



http://thaiopensource.com/download/



Nxmlmodemailinglist



http://groups.yahoo.com/group/emacs-nxml-mode/



RELAXNG



http://www.relaxng.org/



HTMLhelpermode



http://www.nongnu.org/baol-hth/



HTMLModeDeluxe



http://www.emacswiki.org/cgibin/wiki/HtmlModeDeluxe/



DarrenBrierton'sEmacsWebDev

Environment



http://www.dzrweb.com/people/darren/projects/emacs-webdev/



AppendixE.QuickReference

Thisquickreferenceisarrangedtopically,inroughlythesame

orderasthecommandsweretreatedinthetext.Unfortunately,

it'simpossibletobeboth"quick"andthorough,particularlywith

aneditoraslargeandcomprehensiveasGNUEmacs.We've

triedtotakeamiddleroadbetweencompletenessand

quickness;we'llconfessthat,ifwe'veerred,we'veerredonthe

sideofquickness.

TableE-1.File-handlingcommands(Chapter1)

Keystrokes



Commandname



Action



find-file



Findfileandreaditinanewbuffer.



find-alternatefile



Readanalternatefile,replacingtheone

readwithC-xC-f.



insert-file



Insertfileatcursorposition.



C-xC-sFile Save

(currentbuffer)



save-buffer



Savefile.



C-xC-wFile

BufferAs



write-file



Writebuffercontentstofile.



C-xC-fFile



OpenFile



C-xC-v



C-xiFile



InsertFile



C-xC-cFile



Save



save-buffers-killExitEmacs.

ExitEmacs emacs



TableE-2.Cursormovementcommands(Chapter2)

Keystrokes Commandname



Action



C-f



forward-char



Moveforwardonecharacter(right).



C-b



backward-char



Movebackwardonecharacter(left).



C-p



previous-line



Movetopreviousline(up).



C-n



next-line



Movetonextline(down).



M-f



forward-word



Moveonewordforward.



M-b



backward-word



Moveonewordbackward.



C-a



beginning-of-line Movetobeginningofline.



C-e



end-of-line



M-e



forward-sentence Moveforwardonesentence.



M-a



backwardsentence



Movebackwardonesentence.



C-v



scroll-up



Moveforwardonescreen.



M-v



scroll-down



Movebackwardonescreen.



M-<



beginning-ofbuffer



Movetobeginningoffile.



M->



end-of-buffer



Movetoendoffile.



(none)



goto-line



Gotolinenoffile.



(none)



goto-char



Gotocharacternoffile.



M-n



digit-argument



Repeatthenextcommandntimes.



C-un



universalargument



Repeatthenextcommandntimes(fourtimesifyou

omitn).



Movetoendofline.



TableE-3.Deleting,yanking,region,andclipboardcommands(Chapter

2)

Keystrokes



Commandname



Action



C-d



delete-char



Deletecharacterundercursor.



Del



delete-backwardchar



Deletepreviouscharacter.



M-d



kill-word



Deletenextword.



M-Del



backward-killword



Deletepreviousword.



C-yEdit Paste

MostRecent



yank



Restorewhatyou'vedeleted.



C-wEdit



kill-region



Deleteamarkedregion(seenextsection).



C-@orC-Space



set-markcommand



Markthebeginning(orend)ofaregion.



C-xC-x



exchange-pointand-mark



Exchangelocationofcursorandmark.



C-w



kill-region



Deletetheregion.



C-y



yank



Pastemostrecentlykilledorcopiedtext.



M-w



kill-ring-save



Copytheregion(soitcanbepastedwithCy).



C-xh



mark-whole-buffer Markbuffer.



M-y



yank-pop



Cut



AfterC-y,pastesearlierdeletion.



(none)



clipboard-killregion



Cutregionandplacebothinkillringandon

systemclipboard.



(none)



clipboard-yank



Pastetextfromclipboard.



(none)



clipboard-kill-ringCopytexttoclipboard.

save



TableE-4.Textfillingandreformattingcommands(Chapter2)

Keystrokes



Command

name



Action



(none)Options Word

WrapinTextModes



auto-fillmode



M-q



fillReformatparagraph.

paragraph



(none)Edit



Fill



Toggleauto-fillmode,inwhichEmacsformats

paragraphsasyoutypethem.



fill-region Reformatindividualparagraphswithinaregion.



TableE-5.Stoppingandundoingcommands(Chapter2)

Keystrokes



Command

name



Action



C-g



keyboardquit



C-xu



advertisedUndolastedit(canbedonerepeatedly).

undo



C-_Edit

Undo



undo



Abortcurrentcommand.



Undolastedit.



(none)



revertbuffer



Restorebuffertothestateitwasinwhenthefilewaslast

saved(orauto-saved).



TableE-6.Searchandreplacecommands(Chapter3)

Command

name



Keystrokes



C-sEdit



Search



isearchforward



IncrementalSearch

ForwardString



C-rEdit



Search



Action



Startincrementalsearchforward;followby

searchstring.Also,findnextoccurrence(forward)

ofsearchstring.



Startincrementalsearchbackward;followby

isearchsearchstring.Also,findnextoccurrence

backward

(backward)ofsearchstring.



IncrementalSearch

BackwardString



TableE-7.Regularexpressionsearchcommands(Chapter3)

Command

name



Keystrokes



Action



C-M-sEnterEdit

RegexpForward



Search



re-searchforward



Searchforaregularexpression

forward.



C-M-rEnterEdit

Backwards



Search



Regexp re-searchbackward



Searchforaregularexpression

backward.



C-M-sEdit

Search



Incremental



ForwardRegexp



C-M-rEdit

Search



Search



Search



Incremental



BackwardRegexp



isearchforwardregexp



Searchincrementallyforwardfor

aregularexpression.



isearchbackwardregexp



Searchincrementallybackward

foraregularexpression.



C-M-%Edit

Regexp



Replace



Replace



query-replace- Query-replacearegular

regexp

expression.



TableE-8.Spell-checkingcommands(Chapter3)

Keystrokes



(none)Tools



SpellChecking



Command

name



Action



ispell-buffer Checkspellingofthebuffer.



Spell-CheckBuffer



(none)Tools



SpellChecking



Spell-CheckComments



(none)Tools



SpellChecking



AutomaticSpell-Checking

(Flyspell)



(none)



ispellChecksspellingofcommentsandstringsin

commentsaprogram.

and-strings



flyspellmode



Entertheflyspellminormode,inwhich

incorrectlyspelledwordsarehighlighted.



flyspellbuffer



Spell-checkthecurrentbuffer,underlining

allmisspelledwords.Usemiddlemouse

buttontocorrect.



TableE-9.Buffercommands(Chapter4)

Keystrokes



C-xbBuffers

Buffer



C-x



Buffers



SelectNamed



NextBuffer



Command

name



Action



switch-tobuffer



Movetothebufferspecified.



next-buffer



Movetothenextbufferinthebuffer

list.



previous-



Movetothepreviousbufferinthe



Tài liệu bạn tìm kiếm đã sẵn sàng tải về

Appendix C. Bugs and Bug Fixes

Tải bản đầy đủ ngay(0 tr)

×