aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorKaroly Lorentey2006-02-12 00:15:44 +0000
committerKaroly Lorentey2006-02-12 00:15:44 +0000
commit1913a2b35da45eeeb71ef851975be7d57c11de78 (patch)
tree6cd59883fb931999da5b62c03b321ade6f77e66e /lisp
parenta5805c9d0240fab504f2a3e32db6449392005fb6 (diff)
parenta528b71e55b2b244a5dd35318713ccb20398cbbf (diff)
downloademacs-1913a2b35da45eeeb71ef851975be7d57c11de78.tar.gz
emacs-1913a2b35da45eeeb71ef851975be7d57c11de78.zip
Merged from emacs@sv.gnu.org
Patches applied: * emacs@sv.gnu.org/emacs--devo--0--patch-49 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-50 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-51 Make constrain-to-field notice overlays * emacs@sv.gnu.org/emacs--devo--0--patch-52 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-53 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-54 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-55 Merge from erc--emacs--0 * emacs@sv.gnu.org/emacs--devo--0--patch-56 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-57 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-58 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-59 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-60 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-61 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-62 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-63 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-64 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-65 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-66 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-67 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-68 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-69 rcirc: Add flexible response formatting; Add nick abbrevs * emacs@sv.gnu.org/emacs--devo--0--patch-70 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-71 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-72 Update from CVS: man/dired.texi (Tumme): More tumme documentation. * emacs@sv.gnu.org/gnus--rel--5.10--patch-18 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-19 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-20 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-21 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-22 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-23 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-24 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-25 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-26 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-27 Update from CVS: lisp/gnus.el: Remove bogus comment. * emacs@sv.gnu.org/gnus--rel--5.10--patch-28 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-29 Add sendmail.el and smptmail.el from Emacs tree to contrib/ git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-508
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog254
-rw-r--r--lisp/Makefile.in7
-rw-r--r--lisp/abbrev.el2
-rw-r--r--lisp/abbrevlist.el2
-rw-r--r--lisp/align.el2
-rw-r--r--lisp/allout.el2
-rw-r--r--lisp/ansi-color.el2
-rw-r--r--lisp/apropos.el2
-rw-r--r--lisp/arc-mode.el2
-rw-r--r--lisp/autoarg.el2
-rw-r--r--lisp/autoinsert.el2
-rw-r--r--lisp/autorevert.el2
-rw-r--r--lisp/avoid.el2
-rw-r--r--lisp/battery.el2
-rw-r--r--lisp/bindings.el2
-rw-r--r--lisp/bookmark.el2
-rw-r--r--lisp/bs.el2
-rw-r--r--lisp/buff-menu.el2
-rw-r--r--lisp/button.el3
-rw-r--r--lisp/calculator.el4
-rw-r--r--lisp/calendar/appt.el4
-rw-r--r--lisp/calendar/cal-bahai.el3
-rw-r--r--lisp/calendar/cal-china.el2
-rw-r--r--lisp/calendar/cal-coptic.el2
-rw-r--r--lisp/calendar/cal-dst.el4
-rw-r--r--lisp/calendar/cal-french.el2
-rw-r--r--lisp/calendar/cal-hebrew.el2
-rw-r--r--lisp/calendar/cal-islam.el2
-rw-r--r--lisp/calendar/cal-iso.el2
-rw-r--r--lisp/calendar/cal-julian.el2
-rw-r--r--lisp/calendar/cal-mayan.el4
-rw-r--r--lisp/calendar/cal-move.el2
-rw-r--r--lisp/calendar/cal-persia.el2
-rw-r--r--lisp/calendar/cal-tex.el2
-rw-r--r--lisp/calendar/cal-x.el2
-rw-r--r--lisp/calendar/calendar.el2
-rw-r--r--lisp/calendar/diary-lib.el2
-rw-r--r--lisp/calendar/holidays.el2
-rw-r--r--lisp/calendar/icalendar.el2
-rw-r--r--lisp/calendar/lunar.el4
-rw-r--r--lisp/calendar/parse-time.el2
-rw-r--r--lisp/calendar/solar.el4
-rw-r--r--lisp/calendar/time-date.el2
-rw-r--r--lisp/calendar/timeclock.el2
-rw-r--r--lisp/calendar/todo-mode.el2
-rw-r--r--lisp/case-table.el2
-rw-r--r--lisp/cdl.el3
-rw-r--r--lisp/chistory.el3
-rw-r--r--lisp/cmuscheme.el2
-rw-r--r--lisp/comint.el2
-rw-r--r--lisp/compare-w.el2
-rw-r--r--lisp/complete.el2
-rw-r--r--lisp/completion.el2
-rw-r--r--lisp/cus-face.el2
-rw-r--r--lisp/cus-start.el2
-rw-r--r--lisp/cus-theme.el3
-rw-r--r--lisp/custom.el2
-rw-r--r--lisp/cvs-status.el2
-rw-r--r--lisp/dabbrev.el2
-rw-r--r--lisp/delim-col.el4
-rw-r--r--lisp/delsel.el2
-rw-r--r--lisp/descr-text.el2
-rw-r--r--lisp/desktop.el15
-rw-r--r--lisp/dframe.el2
-rw-r--r--lisp/diff-mode.el2
-rw-r--r--lisp/diff.el2
-rw-r--r--lisp/dired-aux.el2
-rw-r--r--lisp/dired-x.el6
-rw-r--r--lisp/dired.el13
-rw-r--r--lisp/dirtrack.el3
-rw-r--r--lisp/disp-table.el2
-rw-r--r--lisp/dnd.el2
-rw-r--r--lisp/dos-fns.el2
-rw-r--r--lisp/dos-vars.el3
-rw-r--r--lisp/dos-w32.el3
-rw-r--r--lisp/double.el2
-rw-r--r--lisp/ebuff-menu.el2
-rw-r--r--lisp/echistory.el3
-rw-r--r--lisp/ediff-diff.el2
-rw-r--r--lisp/ediff-help.el2
-rw-r--r--lisp/ediff-hook.el2
-rw-r--r--lisp/ediff-init.el2
-rw-r--r--lisp/ediff-merg.el2
-rw-r--r--lisp/ediff-mult.el2
-rw-r--r--lisp/ediff-ptch.el2
-rw-r--r--lisp/ediff-util.el2
-rw-r--r--lisp/ediff-vers.el2
-rw-r--r--lisp/ediff-wind.el2
-rw-r--r--lisp/ediff.el2
-rw-r--r--lisp/edmacro.el2
-rw-r--r--lisp/ehelp.el2
-rw-r--r--lisp/electric.el2
-rw-r--r--lisp/elide-head.el3
-rw-r--r--lisp/emacs-lisp/advice.el2
-rw-r--r--lisp/emacs-lisp/assoc.el3
-rw-r--r--lisp/emacs-lisp/authors.el3
-rw-r--r--lisp/emacs-lisp/autoload.el2
-rw-r--r--lisp/emacs-lisp/backquote.el2
-rw-r--r--lisp/emacs-lisp/benchmark.el2
-rw-r--r--lisp/emacs-lisp/bindat.el2
-rw-r--r--lisp/emacs-lisp/byte-opt.el2
-rw-r--r--lisp/emacs-lisp/byte-run.el3
-rw-r--r--lisp/emacs-lisp/checkdoc.el2
-rw-r--r--lisp/emacs-lisp/cl-compat.el3
-rw-r--r--lisp/emacs-lisp/cl-extra.el2
-rw-r--r--lisp/emacs-lisp/cl-indent.el2
-rw-r--r--lisp/emacs-lisp/cl-macs.el2
-rw-r--r--lisp/emacs-lisp/cl-seq.el3
-rw-r--r--lisp/emacs-lisp/cl-specs.el3
-rw-r--r--lisp/emacs-lisp/cl.el3
-rw-r--r--lisp/emacs-lisp/copyright.el2
-rw-r--r--lisp/emacs-lisp/crm.el2
-rw-r--r--lisp/emacs-lisp/cust-print.el3
-rw-r--r--lisp/emacs-lisp/debug.el2
-rw-r--r--lisp/emacs-lisp/derived.el2
-rw-r--r--lisp/emacs-lisp/disass.el2
-rw-r--r--lisp/emacs-lisp/easy-mmode.el4
-rw-r--r--lisp/emacs-lisp/easymenu.el2
-rw-r--r--lisp/emacs-lisp/edebug.el2
-rw-r--r--lisp/emacs-lisp/eldoc.el2
-rw-r--r--lisp/emacs-lisp/elint.el3
-rw-r--r--lisp/emacs-lisp/elp.el2
-rw-r--r--lisp/emacs-lisp/ewoc.el2
-rw-r--r--lisp/emacs-lisp/find-func.el2
-rw-r--r--lisp/emacs-lisp/find-gc.el3
-rw-r--r--lisp/emacs-lisp/float-sup.el2
-rw-r--r--lisp/emacs-lisp/generic.el2
-rw-r--r--lisp/emacs-lisp/gulp.el3
-rw-r--r--lisp/emacs-lisp/helper.el3
-rw-r--r--lisp/emacs-lisp/levents.el2
-rw-r--r--lisp/emacs-lisp/lisp-mnt.el2
-rw-r--r--lisp/emacs-lisp/lisp-mode.el2
-rw-r--r--lisp/emacs-lisp/lisp.el2
-rw-r--r--lisp/emacs-lisp/lmenu.el2
-rw-r--r--lisp/emacs-lisp/lselect.el2
-rw-r--r--lisp/emacs-lisp/lucid.el2
-rw-r--r--lisp/emacs-lisp/macroexp.el2
-rw-r--r--lisp/emacs-lisp/map-ynp.el2
-rw-r--r--lisp/emacs-lisp/pp.el2
-rw-r--r--lisp/emacs-lisp/re-builder.el2
-rw-r--r--lisp/emacs-lisp/regexp-opt.el2
-rw-r--r--lisp/emacs-lisp/regi.el3
-rw-r--r--lisp/emacs-lisp/ring.el3
-rw-r--r--lisp/emacs-lisp/rx.el3
-rw-r--r--lisp/emacs-lisp/shadow.el3
-rw-r--r--lisp/emacs-lisp/sregex.el2
-rw-r--r--lisp/emacs-lisp/syntax.el2
-rw-r--r--lisp/emacs-lisp/tcover-ses.el2
-rw-r--r--lisp/emacs-lisp/tcover-unsafep.el2
-rw-r--r--lisp/emacs-lisp/testcover.el2
-rw-r--r--lisp/emacs-lisp/timer.el3
-rw-r--r--lisp/emacs-lisp/tq.el2
-rw-r--r--lisp/emacs-lisp/trace.el2
-rw-r--r--lisp/emacs-lisp/unsafep.el2
-rw-r--r--lisp/emacs-lisp/warnings.el2
-rw-r--r--lisp/emacs-lock.el2
-rw-r--r--lisp/emulation/crisp.el2
-rw-r--r--lisp/emulation/cua-base.el2
-rw-r--r--lisp/emulation/cua-gmrk.el2
-rw-r--r--lisp/emulation/cua-rect.el2
-rw-r--r--lisp/emulation/edt-lk201.el2
-rw-r--r--lisp/emulation/edt-mapper.el2
-rw-r--r--lisp/emulation/edt-pc.el2
-rw-r--r--lisp/emulation/edt-vt100.el2
-rw-r--r--lisp/emulation/edt.el2
-rw-r--r--lisp/emulation/keypad.el3
-rw-r--r--lisp/emulation/pc-mode.el3
-rw-r--r--lisp/emulation/pc-select.el2
-rw-r--r--lisp/emulation/tpu-edt.el2
-rw-r--r--lisp/emulation/tpu-extras.el2
-rw-r--r--lisp/emulation/tpu-mapper.el2
-rw-r--r--lisp/emulation/vip.el2
-rw-r--r--lisp/emulation/viper-cmd.el2
-rw-r--r--lisp/emulation/viper-ex.el2
-rw-r--r--lisp/emulation/viper-init.el2
-rw-r--r--lisp/emulation/viper-keym.el2
-rw-r--r--lisp/emulation/viper-macs.el2
-rw-r--r--lisp/emulation/viper-mous.el2
-rw-r--r--lisp/emulation/viper-util.el2
-rw-r--r--lisp/emulation/viper.el2
-rw-r--r--lisp/emulation/ws-mode.el3
-rw-r--r--lisp/env.el2
-rw-r--r--lisp/erc/ChangeLog36
-rw-r--r--lisp/erc/ChangeLog.01 (renamed from lisp/erc/ChangeLog.2001)0
-rw-r--r--lisp/erc/ChangeLog.02 (renamed from lisp/erc/ChangeLog.2002)2
-rw-r--r--lisp/erc/ChangeLog.03 (renamed from lisp/erc/ChangeLog.2003)2
-rw-r--r--lisp/erc/ChangeLog.04 (renamed from lisp/erc/ChangeLog.2004)2
-rw-r--r--lisp/erc/ChangeLog.05 (renamed from lisp/erc/ChangeLog.2005)2
-rw-r--r--lisp/erc/erc-hecomplete.el (renamed from lisp/erc/erc-complete.el)34
-rw-r--r--lisp/erc/erc-join.el (renamed from lisp/erc/erc-autojoin.el)8
-rw-r--r--lisp/erc/erc-list.el2
-rw-r--r--lisp/erc/erc-networks.el (renamed from lisp/erc/erc-nets.el)11
-rw-r--r--lisp/erc/erc-notify.el2
-rw-r--r--lisp/erc/erc-services.el (renamed from lisp/erc/erc-nickserv.el)12
-rw-r--r--lisp/erc/erc-stamp.el22
-rw-r--r--lisp/erc/erc.el42
-rw-r--r--lisp/eshell/em-alias.el2
-rw-r--r--lisp/eshell/em-banner.el2
-rw-r--r--lisp/eshell/em-basic.el2
-rw-r--r--lisp/eshell/em-cmpl.el2
-rw-r--r--lisp/eshell/em-dirs.el2
-rw-r--r--lisp/eshell/em-glob.el2
-rw-r--r--lisp/eshell/em-hist.el2
-rw-r--r--lisp/eshell/em-ls.el2
-rw-r--r--lisp/eshell/em-pred.el2
-rw-r--r--lisp/eshell/em-prompt.el2
-rw-r--r--lisp/eshell/em-rebind.el2
-rw-r--r--lisp/eshell/em-script.el2
-rw-r--r--lisp/eshell/em-smart.el2
-rw-r--r--lisp/eshell/em-term.el2
-rw-r--r--lisp/eshell/em-unix.el2
-rw-r--r--lisp/eshell/em-xtra.el2
-rw-r--r--lisp/eshell/esh-arg.el2
-rw-r--r--lisp/eshell/esh-cmd.el2
-rw-r--r--lisp/eshell/esh-ext.el2
-rw-r--r--lisp/eshell/esh-io.el2
-rw-r--r--lisp/eshell/esh-maint.el2
-rw-r--r--lisp/eshell/esh-mode.el2
-rw-r--r--lisp/eshell/esh-module.el2
-rw-r--r--lisp/eshell/esh-opt.el2
-rw-r--r--lisp/eshell/esh-proc.el2
-rw-r--r--lisp/eshell/esh-test.el2
-rw-r--r--lisp/eshell/esh-util.el2
-rw-r--r--lisp/eshell/esh-var.el2
-rw-r--r--lisp/eshell/eshell.el2
-rw-r--r--lisp/expand.el2
-rw-r--r--lisp/ezimage.el4
-rw-r--r--lisp/facemenu.el2
-rw-r--r--lisp/faces.el2
-rw-r--r--lisp/ffap.el2
-rw-r--r--lisp/filecache.el2
-rw-r--r--lisp/files.el111
-rw-r--r--lisp/filesets.el2
-rw-r--r--lisp/find-dired.el2
-rw-r--r--lisp/find-file.el2
-rw-r--r--lisp/find-lisp.el4
-rw-r--r--lisp/finder.el2
-rw-r--r--lisp/flow-ctrl.el2
-rw-r--r--lisp/foldout.el3
-rw-r--r--lisp/follow.el2
-rw-r--r--lisp/font-core.el2
-rw-r--r--lisp/format.el2
-rw-r--r--lisp/forms.el2
-rw-r--r--lisp/frame.el4
-rw-r--r--lisp/fringe.el2
-rw-r--r--lisp/generic-x.el8
-rw-r--r--lisp/gnus/ChangeLog180
-rw-r--r--lisp/gnus/gnus-art.el75
-rw-r--r--lisp/gnus/gnus.el3
-rw-r--r--lisp/gnus/mm-decode.el19
-rw-r--r--lisp/gnus/mm-view.el3
-rw-r--r--lisp/gnus/mml.el33
-rw-r--r--lisp/gnus/mml1991.el6
-rw-r--r--lisp/gnus/mml2015.el2
-rw-r--r--lisp/gnus/nnfolder.el2
-rw-r--r--lisp/gnus/rfc1843.el3
-rw-r--r--lisp/gnus/rfc2231.el223
-rw-r--r--lisp/gnus/spam-report.el6
-rw-r--r--lisp/gnus/webmail.el2
-rw-r--r--lisp/gs.el2
-rw-r--r--lisp/help-at-pt.el2
-rw-r--r--lisp/help-macro.el2
-rw-r--r--lisp/help-mode.el2
-rw-r--r--lisp/help.el68
-rw-r--r--lisp/hexl.el2
-rw-r--r--lisp/hi-lock.el2
-rw-r--r--lisp/hilit-chg.el22
-rw-r--r--lisp/hippie-exp.el3
-rw-r--r--lisp/ibuf-macs.el2
-rw-r--r--lisp/icomplete.el2
-rw-r--r--lisp/ido.el16
-rw-r--r--lisp/ielm.el3
-rw-r--r--lisp/iimage.el2
-rw-r--r--lisp/image-file.el2
-rw-r--r--lisp/image-mode.el5
-rw-r--r--lisp/image.el2
-rw-r--r--lisp/imenu.el2
-rw-r--r--lisp/indent.el2
-rw-r--r--lisp/info-look.el2
-rw-r--r--lisp/info-xref.el2
-rw-r--r--lisp/info.el2
-rw-r--r--lisp/informat.el3
-rw-r--r--lisp/isearch.el2
-rw-r--r--lisp/isearchb.el2
-rw-r--r--lisp/iswitchb.el2
-rw-r--r--lisp/jit-lock.el2
-rw-r--r--lisp/jka-cmpr-hook.el2
-rw-r--r--lisp/jka-compr.el2
-rw-r--r--lisp/kermit.el3
-rw-r--r--lisp/kmacro.el2
-rw-r--r--lisp/ledit.el3
-rw-r--r--lisp/loadhist.el2
-rw-r--r--lisp/loadup.el2
-rw-r--r--lisp/locate.el2
-rw-r--r--lisp/log-edit.el2
-rw-r--r--lisp/log-view.el4
-rw-r--r--lisp/longlines.el2
-rw-r--r--lisp/lpr.el2
-rw-r--r--lisp/ls-lisp.el2
-rw-r--r--lisp/macros.el2
-rw-r--r--lisp/mail/blessmail.el3
-rw-r--r--lisp/mail/emacsbug.el2
-rw-r--r--lisp/mail/footnote.el2
-rw-r--r--lisp/mail/mail-extr.el2
-rw-r--r--lisp/mail/mail-hist.el3
-rw-r--r--lisp/mail/mail-utils.el2
-rw-r--r--lisp/mail/mailabbrev.el2
-rw-r--r--lisp/mail/mailalias.el2
-rw-r--r--lisp/mail/mailclient.el2
-rw-r--r--lisp/mail/mailheader.el3
-rw-r--r--lisp/mail/metamail.el2
-rw-r--r--lisp/mail/mspools.el3
-rw-r--r--lisp/mail/reporter.el2
-rw-r--r--lisp/mail/rfc2368.el2
-rw-r--r--lisp/mail/rfc822.el2
-rw-r--r--lisp/mail/rmail-spam-filter.el2
-rw-r--r--lisp/mail/rmail.el2
-rw-r--r--lisp/mail/rmailedit.el2
-rw-r--r--lisp/mail/rmailkwd.el2
-rw-r--r--lisp/mail/rmailmsc.el3
-rw-r--r--lisp/mail/rmailout.el2
-rw-r--r--lisp/mail/rmailsort.el2
-rw-r--r--lisp/mail/rmailsum.el2
-rw-r--r--lisp/mail/sendmail.el2
-rw-r--r--lisp/mail/smtpmail.el4
-rw-r--r--lisp/mail/supercite.el2
-rw-r--r--lisp/mail/uce.el2
-rw-r--r--lisp/mail/undigest.el2
-rw-r--r--lisp/mail/unrmail.el3
-rw-r--r--lisp/mail/vms-pmail.el3
-rw-r--r--lisp/makesum.el3
-rw-r--r--lisp/man.el2
-rw-r--r--lisp/menu-bar.el4
-rw-r--r--lisp/mh-e/ChangeLog19
-rw-r--r--lisp/mh-e/mh-compat.el2
-rw-r--r--lisp/mh-e/mh-e.el3
-rw-r--r--lisp/mh-e/mh-search.el184
-rw-r--r--lisp/mh-e/mh-utils.el12
-rw-r--r--lisp/midnight.el3
-rw-r--r--lisp/minibuf-eldef.el2
-rw-r--r--lisp/misc.el3
-rw-r--r--lisp/mouse-copy.el3
-rw-r--r--lisp/mouse-drag.el2
-rw-r--r--lisp/mouse-sel.el2
-rw-r--r--lisp/mouse.el6
-rw-r--r--lisp/msb.el2
-rw-r--r--lisp/mwheel.el4
-rw-r--r--lisp/net/ange-ftp.el2
-rw-r--r--lisp/net/browse-url.el2
-rw-r--r--lisp/net/eudc-bob.el2
-rw-r--r--lisp/net/eudc-export.el2
-rw-r--r--lisp/net/eudc-hotlist.el2
-rw-r--r--lisp/net/eudc-vars.el2
-rw-r--r--lisp/net/eudc.el2
-rw-r--r--lisp/net/eudcb-bbdb.el2
-rw-r--r--lisp/net/eudcb-ldap.el2
-rw-r--r--lisp/net/eudcb-mab.el2
-rw-r--r--lisp/net/eudcb-ph.el2
-rw-r--r--lisp/net/goto-addr.el2
-rw-r--r--lisp/net/ldap.el2
-rw-r--r--lisp/net/net-utils.el2
-rw-r--r--lisp/net/netrc.el2
-rw-r--r--lisp/net/newsticker.el2
-rw-r--r--lisp/net/quickurl.el2
-rw-r--r--lisp/net/rcirc.el720
-rw-r--r--lisp/net/rcompile.el2
-rw-r--r--lisp/net/rlogin.el2
-rw-r--r--lisp/net/snmp-mode.el2
-rw-r--r--lisp/net/telnet.el2
-rw-r--r--lisp/net/tls.el2
-rw-r--r--lisp/net/tramp-smb.el2
-rw-r--r--lisp/net/tramp-uu.el2
-rw-r--r--lisp/net/tramp.el7
-rw-r--r--lisp/net/trampver.el2
-rw-r--r--lisp/net/webjump.el2
-rw-r--r--lisp/net/zone-mode.el3
-rw-r--r--lisp/novice.el2
-rw-r--r--lisp/outline.el2
-rw-r--r--lisp/paren.el2
-rw-r--r--lisp/paths.el2
-rw-r--r--lisp/pcmpl-cvs.el2
-rw-r--r--lisp/pcmpl-gnu.el2
-rw-r--r--lisp/pcmpl-linux.el2
-rw-r--r--lisp/pcmpl-rpm.el2
-rw-r--r--lisp/pcmpl-unix.el2
-rw-r--r--lisp/pcomplete.el2
-rw-r--r--lisp/pcvs-defs.el2
-rw-r--r--lisp/pcvs-info.el2
-rw-r--r--lisp/pcvs-parse.el2
-rw-r--r--lisp/pcvs-util.el2
-rw-r--r--lisp/pcvs.el2
-rw-r--r--lisp/pgg-def.el6
-rw-r--r--lisp/pgg-gpg.el28
-rw-r--r--lisp/pgg-parse.el3
-rw-r--r--lisp/pgg-pgp.el2
-rw-r--r--lisp/pgg-pgp5.el2
-rw-r--r--lisp/pgg.el2
-rw-r--r--lisp/printing.el5
-rw-r--r--lisp/progmodes/ada-mode.el2
-rw-r--r--lisp/progmodes/ada-prj.el2
-rw-r--r--lisp/progmodes/ada-stmt.el2
-rw-r--r--lisp/progmodes/ada-xref.el2
-rw-r--r--lisp/progmodes/antlr-mode.el2
-rw-r--r--lisp/progmodes/asm-mode.el2
-rw-r--r--lisp/progmodes/autoconf.el4
-rw-r--r--lisp/progmodes/cc-align.el3
-rw-r--r--lisp/progmodes/cc-awk.el4
-rw-r--r--lisp/progmodes/cc-bytecomp.el4
-rw-r--r--lisp/progmodes/cc-cmds.el4
-rw-r--r--lisp/progmodes/cc-compat.el4
-rw-r--r--lisp/progmodes/cc-defs.el4
-rw-r--r--lisp/progmodes/cc-engine.el4
-rw-r--r--lisp/progmodes/cc-fonts.el2
-rw-r--r--lisp/progmodes/cc-langs.el13
-rw-r--r--lisp/progmodes/cc-menus.el4
-rw-r--r--lisp/progmodes/cc-mode.el4
-rw-r--r--lisp/progmodes/cc-styles.el4
-rw-r--r--lisp/progmodes/cc-subword.el2
-rw-r--r--lisp/progmodes/cc-vars.el4
-rw-r--r--lisp/progmodes/cfengine.el3
-rw-r--r--lisp/progmodes/cmacexp.el2
-rw-r--r--lisp/progmodes/compile.el2
-rw-r--r--lisp/progmodes/cperl-mode.el2
-rw-r--r--lisp/progmodes/cpp.el2
-rw-r--r--lisp/progmodes/cwarn.el2
-rw-r--r--lisp/progmodes/dcl-mode.el2
-rw-r--r--lisp/progmodes/delphi.el2
-rw-r--r--lisp/progmodes/ebnf-abn.el3
-rw-r--r--lisp/progmodes/ebnf-bnf.el2
-rw-r--r--lisp/progmodes/ebnf-dtd.el3
-rw-r--r--lisp/progmodes/ebnf-ebx.el3
-rw-r--r--lisp/progmodes/ebnf-iso.el2
-rw-r--r--lisp/progmodes/ebnf-otz.el2
-rw-r--r--lisp/progmodes/ebnf-yac.el2
-rw-r--r--lisp/progmodes/ebnf2ps.el2
-rw-r--r--lisp/progmodes/ebrowse.el2
-rw-r--r--lisp/progmodes/etags.el2
-rw-r--r--lisp/progmodes/executable.el2
-rw-r--r--lisp/progmodes/f90.el4
-rw-r--r--lisp/progmodes/gdb-ui.el56
-rw-r--r--lisp/progmodes/glasses.el57
-rw-r--r--lisp/progmodes/grep.el2
-rw-r--r--lisp/progmodes/gud.el3
-rw-r--r--lisp/progmodes/hideif.el2
-rw-r--r--lisp/progmodes/hideshow.el2
-rw-r--r--lisp/progmodes/icon.el2
-rw-r--r--lisp/progmodes/idlw-complete-structtag.el3
-rw-r--r--lisp/progmodes/idlw-help.el2
-rw-r--r--lisp/progmodes/idlw-rinfo.el4
-rw-r--r--lisp/progmodes/idlw-shell.el4
-rw-r--r--lisp/progmodes/idlw-toolbar.el4
-rw-r--r--lisp/progmodes/idlwave.el4
-rw-r--r--lisp/progmodes/inf-lisp.el2
-rw-r--r--lisp/progmodes/ld-script.el3
-rw-r--r--lisp/progmodes/m4-mode.el2
-rw-r--r--lisp/progmodes/make-mode.el2
-rw-r--r--lisp/progmodes/mantemp.el2
-rw-r--r--lisp/progmodes/meta-mode.el2
-rw-r--r--lisp/progmodes/mixal-mode.el2
-rw-r--r--lisp/progmodes/octave-hlp.el2
-rw-r--r--lisp/progmodes/octave-inf.el2
-rw-r--r--lisp/progmodes/octave-mod.el2
-rw-r--r--lisp/progmodes/pascal.el2
-rw-r--r--lisp/progmodes/perl-mode.el2
-rw-r--r--lisp/progmodes/prolog.el2
-rw-r--r--lisp/progmodes/ps-mode.el2
-rw-r--r--lisp/progmodes/python.el2
-rw-r--r--lisp/progmodes/scheme.el4
-rw-r--r--lisp/progmodes/sh-script.el4
-rw-r--r--lisp/progmodes/simula.el2
-rw-r--r--lisp/progmodes/sql.el2
-rw-r--r--lisp/progmodes/vhdl-mode.el2
-rw-r--r--lisp/progmodes/which-func.el2
-rw-r--r--lisp/progmodes/xscheme.el2
-rw-r--r--lisp/ps-bdf.el2
-rw-r--r--lisp/ps-mule.el2
-rw-r--r--lisp/ps-print.el2
-rw-r--r--lisp/recentf.el2
-rw-r--r--lisp/rect.el2
-rw-r--r--lisp/register.el2
-rw-r--r--lisp/repeat.el3
-rw-r--r--lisp/replace.el2
-rw-r--r--lisp/reposition.el2
-rw-r--r--lisp/resume.el3
-rw-r--r--lisp/rfn-eshadow.el2
-rw-r--r--lisp/rot13.el3
-rw-r--r--lisp/ruler-mode.el3
-rw-r--r--lisp/s-region.el2
-rw-r--r--lisp/savehist.el2
-rw-r--r--lisp/saveplace.el2
-rw-r--r--lisp/sb-image.el3
-rw-r--r--lisp/scroll-all.el3
-rw-r--r--lisp/scroll-bar.el2
-rw-r--r--lisp/scroll-lock.el2
-rw-r--r--lisp/select.el2
-rw-r--r--lisp/server.el2
-rw-r--r--lisp/shadowfile.el2
-rw-r--r--lisp/shell.el2
-rw-r--r--lisp/skeleton.el2
-rw-r--r--lisp/smerge-mode.el2
-rw-r--r--lisp/sort.el2
-rw-r--r--lisp/soundex.el3
-rw-r--r--lisp/speedbar.el3
-rw-r--r--lisp/strokes.el2
-rw-r--r--lisp/subr.el7
-rw-r--r--lisp/tabify.el2
-rw-r--r--lisp/talk.el3
-rw-r--r--lisp/tar-mode.el2
-rw-r--r--lisp/tempo.el2
-rw-r--r--lisp/term/AT386.el3
-rw-r--r--lisp/term/internal.el2
-rw-r--r--lisp/term/iris-ansi.el3
-rw-r--r--lisp/term/mac-win.el6
-rw-r--r--lisp/term/news.el2
-rw-r--r--lisp/term/pc-win.el2
-rw-r--r--lisp/term/rxvt.el2
-rw-r--r--lisp/term/sun-mouse.el3
-rw-r--r--lisp/term/sun.el2
-rw-r--r--lisp/term/sup-mouse.el2
-rw-r--r--lisp/term/tty-colors.el2
-rw-r--r--lisp/term/tvi970.el3
-rw-r--r--lisp/term/vt100.el2
-rw-r--r--lisp/term/wyse50.el2
-rw-r--r--lisp/term/x-win.el2
-rw-r--r--lisp/term/xterm.el3
-rw-r--r--lisp/terminal.el2
-rw-r--r--lisp/textmodes/artist.el2
-rw-r--r--lisp/textmodes/bib-mode.el3
-rw-r--r--lisp/textmodes/bibtex.el2
-rw-r--r--lisp/textmodes/conf-mode.el2
-rw-r--r--lisp/textmodes/dns-mode.el2
-rw-r--r--lisp/textmodes/enriched.el2
-rw-r--r--lisp/textmodes/fill.el2
-rw-r--r--lisp/textmodes/makeinfo.el2
-rw-r--r--lisp/textmodes/nroff-mode.el52
-rw-r--r--lisp/textmodes/org.el2
-rw-r--r--lisp/textmodes/page-ext.el2
-rw-r--r--lisp/textmodes/page.el3
-rw-r--r--lisp/textmodes/paragraphs.el2
-rw-r--r--lisp/textmodes/picture.el2
-rw-r--r--lisp/textmodes/po.el2
-rw-r--r--lisp/textmodes/refbib.el3
-rw-r--r--lisp/textmodes/refer.el2
-rw-r--r--lisp/textmodes/refill.el3
-rw-r--r--lisp/textmodes/reftex-auc.el18
-rw-r--r--lisp/textmodes/reftex-cite.el4
-rw-r--r--lisp/textmodes/reftex-dcr.el4
-rw-r--r--lisp/textmodes/reftex-global.el4
-rw-r--r--lisp/textmodes/reftex-index.el4
-rw-r--r--lisp/textmodes/reftex-parse.el4
-rw-r--r--lisp/textmodes/reftex-ref.el4
-rw-r--r--lisp/textmodes/reftex-sel.el4
-rw-r--r--lisp/textmodes/reftex-toc.el4
-rw-r--r--lisp/textmodes/reftex-vars.el4
-rw-r--r--lisp/textmodes/reftex.el4
-rw-r--r--lisp/textmodes/sgml-mode.el2
-rw-r--r--lisp/textmodes/spell.el3
-rw-r--r--lisp/textmodes/tex-mode.el2
-rw-r--r--lisp/textmodes/texinfmt.el2
-rw-r--r--lisp/textmodes/texinfo.el2
-rw-r--r--lisp/textmodes/texnfo-upd.el2
-rw-r--r--lisp/textmodes/text-mode.el2
-rw-r--r--lisp/textmodes/tildify.el2
-rw-r--r--lisp/textmodes/two-column.el2
-rw-r--r--lisp/textmodes/underline.el3
-rw-r--r--lisp/thingatpt.el2
-rw-r--r--lisp/thumbs.el2
-rw-r--r--lisp/time-stamp.el4
-rw-r--r--lisp/time.el2
-rw-r--r--lisp/timezone.el2
-rw-r--r--lisp/tmm.el2
-rw-r--r--lisp/tool-bar.el2
-rw-r--r--lisp/tooltip.el2
-rw-r--r--lisp/tree-widget.el2
-rw-r--r--lisp/tumme.el289
-rw-r--r--lisp/type-break.el2
-rw-r--r--lisp/uniquify.el2
-rw-r--r--lisp/userlock.el2
-rw-r--r--lisp/vc-arch.el2
-rw-r--r--lisp/vc-cvs.el2
-rw-r--r--lisp/vc-hooks.el2
-rw-r--r--lisp/vc-mcvs.el2
-rw-r--r--lisp/vc-rcs.el2
-rw-r--r--lisp/vc-sccs.el2
-rw-r--r--lisp/vc-svn.el27
-rw-r--r--lisp/vc.el5
-rw-r--r--lisp/vcursor.el2
-rw-r--r--lisp/version.el2
-rw-r--r--lisp/view.el2
-rw-r--r--lisp/vms-patch.el2
-rw-r--r--lisp/vmsproc.el3
-rw-r--r--lisp/vt-control.el2
-rw-r--r--lisp/vt100-led.el3
-rw-r--r--lisp/w32-fns.el2
-rw-r--r--lisp/w32-vars.el2
-rw-r--r--lisp/wdired.el270
-rw-r--r--lisp/whitespace.el2
-rw-r--r--lisp/wid-browse.el3
-rw-r--r--lisp/wid-edit.el2
-rw-r--r--lisp/widget.el2
-rw-r--r--lisp/windmove.el2
-rw-r--r--lisp/window.el2
-rw-r--r--lisp/winner.el4
-rw-r--r--lisp/woman.el3
-rw-r--r--lisp/x-dnd.el2
-rw-r--r--lisp/xml.el2
-rw-r--r--lisp/xt-mouse.el2
607 files changed, 2652 insertions, 1664 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ae98b5f389c..ddd50210928 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,246 @@
12006-02-12 Miles Bader <miles@gnu.org>
2
3 * net/rcirc.el (rcirc-nick-abbrevs, rcirc-response-formats):
4 New variables.
5 (rcirc-abbrev-nick): New function.
6 (rcirc-format-response-string): Rewrite to use the formats in
7 `rcirc-response-formats' and expand escape sequences therein.
8 A text-property `rcirc-text' is added over the actual response
9 text to make easy to find inside the returned string.
10 (rcirc-print): When filling, just look for the `rcirc-text'
11 text-property to find the appropriate fill prefix, instead of
12 using hardwired patterns.
13
142006-02-11 Mathias Dahl <brakjoller@hotmail.com>
15
16 * tumme.el: Enhanced some docstrings. Added todo item about
17 Thumbnail Managing Standard.
18
192006-02-11 Kim F. Storm <storm@cua.dk>
20
21 * ido.el (ido-buffer-internal): Set mark for ido-insert-buffer.
22 Don't use insert-buffer; do insert-buffer-substring directly.
23 (ido-file-internal): Set mark for ido-insert-file. Use insert-file-1.
24
252006-02-11 Martin Rudalics <rudalics@gmx.at>
26
27 * files.el (revert-buffer, recover-file): Replace buffer-read-only
28 with inhibit-read-only. Suggested by Stefan Monnier.
29 (revert-buffer): Let insert-file-contents discard
30 buffer-undo-list. Simplify code.
31 (find-file, find-file-existing, revert-buffer): Doc-string fixes.
32
332006-02-11 Eli Zaretskii <eliz@gnu.org>
34
35 * menu-bar.el (menu-bar-select-yank): Add a doc string.
36
37 * help.el (describe-key-briefly): Now a wrapper for
38 describe-key-briefly-internal. Bind enable-disabled-menus-and-buttons
39 to t. Populate yank-menu if empty.
40 (describe-key-briefly-internal): Renamed from describe-key-briefly.
41 (describe-key): Now a wrapper for describe-key-internal. Bind
42 enable-disabled-menus-and-buttons to t. Populate yank-menu if empty.
43 (describe-key-internal): Renamed from describe-key.
44
452006-02-11 Milan Zamazal <pdm@zamazal.org>
46
47 * progmodes/glasses.el (glasses-separator): Doc fix.
48 (glasses-original-separator): New defcustom.
49 (glasses-make-readable, glasses-convert-to-unreadable): Use it.
50
512006-02-11 Martin Rudalics <rudalics@gmx.at>
52
53 * mwheel.el (mouse-wheel-up-event): Doc fix.
54
552006-02-11 Mathias Dahl <brakjoller@hotmail.com>
56
57 * tumme.el (tumme-dir): Changed default value to
58 "~/.emacs-d/tumme"
59 (tumme-dir): New function. Copied from thumbs.el.
60
612006-02-10 Juanma Barranquero <lekktu@gmail.com>
62
63 * desktop.el (desktop-outvar): Fix typo.
64 (desktop-save-buffer-p): Doc fix.
65
66 * subr.el (substitute-key-definition): Fix typo.
67
682006-02-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
69
70 * frame.el (select-frame-set-input-focus): Call x-focus-frame also
71 when window-system is mac.
72
73 * term/mac-win.el (fontset-standard): Rename from "fontset-mac".
74
752006-02-10 Kim F. Storm <storm@cua.dk>
76
77 * subr.el (substitute-key-definition-key): Pass t for NOERROR to
78 indirect-function instead of using condition-case.
79
802006-02-10 Mathias Dahl <mathias.dahl@gmail.com>
81
82 * tumme.el (tumme-copy-with-exif-file-name): Tried to make
83 docstring less `colloquial'...
84
852006-02-09 Mathias Dahl <mathias.dahl@gmail.com>
86
87 * tumme.el: Added a couple of todo items.
88
892006-02-09 Lars Hansen <larsh@soem.dk>
90
91 * hilit-chg.el: Add highlight-changes-mode to desktop-locals-to-save.
92 (highlight-changes-mode): Don't change desktop-locals-to-save.
93
942006-02-09 Chong Yidong <cyd@stupidchicken.com>
95
96 * image-mode.el (image-toggle-display): Clear image cache if using
97 filename.
98
992006-02-09 Masatake YAMATO <jet@gyve.org>
100
101 * dired-x.el (dired-guess-shell-alist-default): Add .man as
102 a `dired-man' target.
103
104 * progmodes/autoconf.el (autoconf-font-lock-keywords): Check start
105 boundary of symbols.
106
1072006-02-08 Peter Doornbosch <peter.doornbosch@luminis.nl> (tiny change)
108
109 * vc-svn.el (vc-svn-print-log): Show recent commits as well.
110
1112006-02-09 Juanma Barranquero <lekktu@gmail.com>
112
113 * hilit-chg.el (hilit-chg-update-all-buffers): Use `mapc' instead of
114 `mapcar'; return nil.
115
1162006-02-08 Chong Yidong <cyd@stupidchicken.com>
117
118 * mouse.el (mouse-drag-track): Don't change window if we rebind to
119 some other event.
120
1212006-02-08 Ryan Yeske <rcyeske@gmail.com>
122
123 * net/rcirc.el (rcirc-startup-channels-alist):
124 Add irc.freenode.net and #emacs as defaults.
125 (rcirc-ignore-all-activity-flag): Remove variable.
126 (rcirc-authinfo): New variable.
127 (rcirc-authinfo-filename): Remove variable.
128 (rcirc-always-use-server-buffer-flag): New flag.
129 (rcirc): M-x rcirc will automatically connect without prompting.
130 C-u M-x rcirc will prompt. Use rcirc-connect to create a
131 connection in lisp.
132 (rcirc-process-server-response-1): Remove everything but the nick
133 portion of the sender so it doesn't need to be done everywhere
134 else. Update related code.
135 (global-map): Remove global keybindings.
136 (rcirc-get-buffer-create): Make sure rcirc-topic is set.
137 (rcirc-send-input): Split into several functions.
138 (rcirc-process-input-line, rcirc-process-message)
139 (rcirc-process-command): New functions.
140 (rcirc-target-buffer): New function to determine where to route
141 messages.
142 (rcirc-user-nick): Save match data.
143 (rcirc-toggle-ignore-buffer-activity)
144 (rcirc-update-activity-string): Remove global ignore functionality,
145 which can be done now by toggling rcirc-track-minor-mode.
146 (rcirc-track-minor-mode-map): New keymap.
147 (rcirc-track-minor-mode): New minor-mode.
148 (ignore): Make the ignore output nicer. Always print it when
149 adding or removing nicks.
150 (rcirc-url-regexp): Improve.
151 (rcirc-mangle-text): Remove properties before using text in the
152 modeline.
153 (rcirc-authenticate): Authentication data comes from
154 rcirc-authinfo, not the file pointed to by rcirc-authinfo-file.
155 (rcirc-server-prefix): Inherit from rcirc-server.
156
1572006-02-08 Mathias Megyei <Mathias.Megyei@micronas.com> (tiny change)
158
159 * Makefile.in (compile): Append "|| true" to the end of the `find'
160 command, like compile-always does.
161
1622006-02-08 Sam Steingold <sds@gnu.org>
163
164 * net/tramp.el (tramp-maybe-open-connection): Do not wait for
165 output from a dead connection.
166
1672006-02-07 Mathias Dahl <brakjoller@hotmail.com>
168
169 * dired.el (dired-mode-map): Add more bindings for tumme.
170
1712006-02-07 Stefan Monnier <monnier@iro.umontreal.ca>
172
173 * wdired.el (wdired-mode-map): Use remap.
174 (wdired-get-filename): Massage.
175 (wdired-perm-mode-map): Don't copy bindings from wdired-mode-map.
176 (wdired-preprocess-perms, wdired-set-bit, wdired-toggle-bit): Use the
177 `keymap' property rather than `local-map'.
178
1792006-02-07 Mathias Dahl <brakjoller@hotmail.com>
180
181 * tumme.el (tumme-get-thumbnail-image): New utility function.
182 Suggested by from Chong Yidong.
183 (tumme-dired-with-window-configuration): Rename from
184 `tumme-dired'. Add code to save window configuration.
185 (tumme-restore-window-configuration): New command to restore the
186 window configuration that `tumme-dired-with-window-configuration'
187 saves before it changes the window configuration.
188 (tumme-show-all-from-dir): New command to display thumbnails for
189 all files in a directory entered by the user, like M-x thumbs.
190 (tumme-display-thumbs): Call `pop-to-buffer' after all thumbnails
191 have been created.
192 (tumme-display-thumbnail-original-image): Call `display-buffer'.
193 (obsolete-tumme-display-thumbnail-original-image-and-buffer):
194 Remove obsolete test function.
195
1962006-02-07 Juanma Barranquero <lekktu@gmail.com>
197
198 * vc.el (small-temporary-file-directory): Remove defvar; there's
199 a defcustom for it in files.el.
200
201 * tumme.el (tumme-get-thumbnail-image): Add missing arg to `error'.
202 Fix typo in message.
203 (tumme-gallery-generate): Fix typo in `error' message.
204 (tumme-display-window-height-correction)
205 (tumme-display-window-width-correction, tumme-line-up-dynamic)
206 (tumme-line-up-interactive): Dox fixes.
207 (tumme-cmd-rotate-original-options, tumme-display-properties-format)
208 (tumme-restore-window-configuration, tumme-format-properties-string)
209 (tumme-create-thumbs, tumme-display-previous-thumbnail-original):
210 Fix typos in docstrings.
211
2122006-02-07 Chris Moore <christopher.ian.moore@gmail.com> (tiny change)
213
214 * wdired.el (wdired-get-filename): Fix bug: Don't re-normalize OLD.
215
2162006-02-07 Nick Roberts <nickrob@snap.net.nz>
217
218 * progmodes/gud.el (gud-tooltip-mode): Remove autoload cookie.
219 User should use hook if desired.
220
221 * progmodes/gdb-ui.el (gdb-post-prompt): Regenerate breakpoints
222 buffer if necessary.
223 (gdb-delete-frame-or-window): New function.
224 (gdb-breakpoints-mode-map): Bind "q" to it.
225
2262006-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
227
228 * textmodes/nroff-mode.el: Clean up name space.
229 (nroff-mode-syntax-table): Remove spurious `1' in the syntax of \n.
230 (nroff-mode): Obey the global setting of nroff-electric-mode.
231 (nroff-electric-mode): Use define-minor-mode and derived-mode-p.
232
233 * calendar/calendar.el (calendar-increment-month): Typo in last change.
234
2352006-02-06 Thien-Thi Nguyen <ttn@gnu.org>
236
237 * vc-svn.el (vc-svn-previous-version, vc-svn-next-version): New funcs.
238
2392006-02-06 Lars Hansen <larsh@soem.dk>
240
241 * generic-x.el (etc-fstab-generic-mode): Add file system types
242 cifs and usbdevfs. Allow special chars in file names.
243
12006-02-05 Jay Belanger <belanger@truman.edu> 2442006-02-05 Jay Belanger <belanger@truman.edu>
2 245
3 Update copyright notices of the files in lisp/calc. 246 Update copyright notices of the files in lisp/calc.
@@ -37,13 +280,12 @@
37 * textmodes/nroff-mode.el (nroff-font-lock-keywords): Don't be 280 * textmodes/nroff-mode.el (nroff-font-lock-keywords): Don't be
38 greedy to find the closing bracket in \*[...] and similar 281 greedy to find the closing bracket in \*[...] and similar
39 expressions. This is a first rough fix -- many additional 282 expressions. This is a first rough fix -- many additional
40 refinements are necessary to make nroff mode really usable with 283 refinements are necessary to make nroff mode really usable with groff.
41 groff.
42 284
432006-02-03 Jens Petersen <petersen@redhat.com> (tiny change) 2852006-02-03 Jens Petersen <petersen@redhat.com> (tiny change)
44 286
45 * international/mule-cmds.el (set-locale-environment): Add 287 * international/mule-cmds.el (set-locale-environment):
46 "/usr/share/X11/locale/locale.alias" to search list for xorg-x11 288 Add "/usr/share/X11/locale/locale.alias" to search list for xorg-x11
47 libX11. 289 libX11.
48 290
492006-02-03 Joe Wells <jbw@macs.hw.ac.uk> (tiny change) 2912006-02-03 Joe Wells <jbw@macs.hw.ac.uk> (tiny change)
@@ -275,7 +517,7 @@
275 * international/latexenc.el: Add a suitable `coding:' tag. 517 * international/latexenc.el: Add a suitable `coding:' tag.
276 (latexenc-find-file-coding-system): Undo last change. 518 (latexenc-find-file-coding-system): Undo last change.
277 519
2782006-01-27 Arne J,bx(Brgensen <arne@arnested.dk> 5202006-01-27 Arne J,Ax(Brgensen <arne@arnested.dk>
279 521
280 * international/latexenc.el (latexenc-find-file-coding-system): 522 * international/latexenc.el (latexenc-find-file-coding-system):
281 Make sure latexenc-main-file is a regular file and is readable. 523 Make sure latexenc-main-file is a regular file and is readable.
@@ -20079,7 +20321,7 @@ See ChangeLog.11 for earlier changes.
20079;; coding: iso-2022-7bit 20321;; coding: iso-2022-7bit
20080;; End: 20322;; End:
20081 20323
20082 Copyright (C) 2005 Free Software Foundation, Inc. 20324 Copyright (C) 2005, 2006 Free Software Foundation, Inc.
20083 Copying and distribution of this file, with or without modification, 20325 Copying and distribution of this file, with or without modification,
20084 are permitted provided the copyright notice and this notice are preserved. 20326 are permitted provided the copyright notice and this notice are preserved.
20085 20327
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index c3ac8a7ea19..e90c6161f75 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -1,5 +1,6 @@
1# Maintenance productions for the Lisp directory 1# Maintenance productions for the Lisp directory
2# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 2# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005,
3# 2006 Free Software Foundation, Inc.
3 4
4# This file is part of GNU Emacs. 5# This file is part of GNU Emacs.
5 6
@@ -152,8 +153,10 @@ TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2)
152# subdirectories, to make sure require's and load's in the files being 153# subdirectories, to make sure require's and load's in the files being
153# compiled find the right files. 154# compiled find the right files.
154 155
156# `|| true' below prevents old Bash versions from getting confused
157# by an error.
155compile: $(lisp)/subdirs.el mh-autoloads doit 158compile: $(lisp)/subdirs.el mh-autoloads doit
156 find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1; \ 159 find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1 || true; \
157 wd=$(lisp); $(setwins); \ 160 wd=$(lisp); $(setwins); \
158 els=`echo $$wins | tr ' \011' '\012\012' | \ 161 els=`echo $$wins | tr ' \011' '\012\012' | \
159 sed -e 's|\(.\)$$|\1/|' -e 's|^\./||' -e 's|$$|*.el|'`; \ 162 sed -e 's|\(.\)$$|\1/|' -e 's|^\./||' -e 's|$$|*.el|'`; \
diff --git a/lisp/abbrev.el b/lisp/abbrev.el
index 774bb1892b7..bd0c6ffc094 100644
--- a/lisp/abbrev.el
+++ b/lisp/abbrev.el
@@ -1,7 +1,7 @@
1;;; abbrev.el --- abbrev mode commands for Emacs 1;;; abbrev.el --- abbrev mode commands for Emacs
2 2
3;; Copyright (C) 1985, 1986, 1987, 1992, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1986, 1987, 1992, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: abbrev convenience 7;; Keywords: abbrev convenience
diff --git a/lisp/abbrevlist.el b/lisp/abbrevlist.el
index 3be9c257af2..bd3482f974b 100644
--- a/lisp/abbrevlist.el
+++ b/lisp/abbrevlist.el
@@ -1,7 +1,7 @@
1;;; abbrevlist.el --- list one abbrev table alphabetically ordered 1;;; abbrevlist.el --- list one abbrev table alphabetically ordered
2 2
3;; Copyright (C) 1986, 1992, 2002, 2003, 2004, 3;; Copyright (C) 1986, 1992, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5;; Suggested by a previous version by Gildea. 5;; Suggested by a previous version by Gildea.
6 6
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/align.el b/lisp/align.el
index f63085011b7..b40f96e7f83 100644
--- a/lisp/align.el
+++ b/lisp/align.el
@@ -1,7 +1,7 @@
1;;; align.el --- align text to a specific column, by regexp 1;;; align.el --- align text to a specific column, by regexp
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7;; Keywords: convenience languages lisp 7;; Keywords: convenience languages lisp
diff --git a/lisp/allout.el b/lisp/allout.el
index bfadf27f058..78e61dacde2 100644
--- a/lisp/allout.el
+++ b/lisp/allout.el
@@ -1,7 +1,7 @@
1;;; allout.el --- extensive outline mode for use alone and with other modes 1;;; allout.el --- extensive outline mode for use alone and with other modes
2 2
3;; Copyright (C) 1992, 1993, 1994, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1992, 1993, 1994, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Ken Manheimer <ken dot manheimer at gmail dot com> 6;; Author: Ken Manheimer <ken dot manheimer at gmail dot com>
7;; Maintainer: Ken Manheimer <ken dot manheimer at gmail dot com> 7;; Maintainer: Ken Manheimer <ken dot manheimer at gmail dot com>
diff --git a/lisp/ansi-color.el b/lisp/ansi-color.el
index ce84af445a5..20cdfaad2cf 100644
--- a/lisp/ansi-color.el
+++ b/lisp/ansi-color.el
@@ -1,7 +1,7 @@
1;;; ansi-color.el --- translate ANSI escape sequences into faces 1;;; ansi-color.el --- translate ANSI escape sequences into faces
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Alex Schroeder <alex@gnu.org> 6;; Author: Alex Schroeder <alex@gnu.org>
7;; Maintainer: Alex Schroeder <alex@gnu.org> 7;; Maintainer: Alex Schroeder <alex@gnu.org>
diff --git a/lisp/apropos.el b/lisp/apropos.el
index c8201de492a..3333981c5e5 100644
--- a/lisp/apropos.el
+++ b/lisp/apropos.el
@@ -1,7 +1,7 @@
1;;; apropos.el --- apropos commands for users and programmers 1;;; apropos.el --- apropos commands for users and programmers
2 2
3;; Copyright (C) 1989, 1994, 1995, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1989, 1994, 1995, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Joe Wells <jbw@bigbird.bu.edu> 6;; Author: Joe Wells <jbw@bigbird.bu.edu>
7;; Rewritten: Daniel Pfeiffer <occitan@esperanto.org> 7;; Rewritten: Daniel Pfeiffer <occitan@esperanto.org>
diff --git a/lisp/arc-mode.el b/lisp/arc-mode.el
index 2d97c319c88..9799e3e0834 100644
--- a/lisp/arc-mode.el
+++ b/lisp/arc-mode.el
@@ -1,7 +1,7 @@
1;;; arc-mode.el --- simple editing of archives 1;;; arc-mode.el --- simple editing of archives
2 2
3;; Copyright (C) 1995, 1997, 1998, 2002, 2003, 2004, 3;; Copyright (C) 1995, 1997, 1998, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Morten Welinder <terra@gnu.org> 6;; Author: Morten Welinder <terra@gnu.org>
7;; Keywords: archives msdog editing major-mode 7;; Keywords: archives msdog editing major-mode
diff --git a/lisp/autoarg.el b/lisp/autoarg.el
index aca22ace5b5..1b87c664514 100644
--- a/lisp/autoarg.el
+++ b/lisp/autoarg.el
@@ -1,7 +1,7 @@
1;;; autoarg.el --- make digit keys supply prefix args 1;;; autoarg.el --- make digit keys supply prefix args
2 2
3;; Copyright (C) 1998, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1998, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Dave Love <fx@gnu.org> 6;; Author: Dave Love <fx@gnu.org>
7;; Created: 1998-09-04 7;; Created: 1998-09-04
diff --git a/lisp/autoinsert.el b/lisp/autoinsert.el
index 465817d5b81..c1a2047a9c6 100644
--- a/lisp/autoinsert.el
+++ b/lisp/autoinsert.el
@@ -1,7 +1,7 @@
1;;; autoinsert.el --- automatic mode-dependent insertion of text into new files 1;;; autoinsert.el --- automatic mode-dependent insertion of text into new files
2 2
3;; Copyright (C) 1985, 1986, 1987, 1994, 1995, 1998, 2000, 2002, 2003, 3;; Copyright (C) 1985, 1986, 1987, 1994, 1995, 1998, 2000, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Charlie Martin <crm@cs.duke.edu> 6;; Author: Charlie Martin <crm@cs.duke.edu>
7;; Adapted-By: Daniel Pfeiffer <occitan@esperanto.org> 7;; Adapted-By: Daniel Pfeiffer <occitan@esperanto.org>
diff --git a/lisp/autorevert.el b/lisp/autorevert.el
index 9892dca2d41..4119dba5755 100644
--- a/lisp/autorevert.el
+++ b/lisp/autorevert.el
@@ -1,7 +1,7 @@
1;;; autorevert.el --- revert buffers when files on disk change 1;;; autorevert.el --- revert buffers when files on disk change
2 2
3;; Copyright (C) 1997, 1998, 1999, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1997, 1998, 1999, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Anders Lindgren <andersl@andersl.com> 6;; Author: Anders Lindgren <andersl@andersl.com>
7;; Keywords: convenience 7;; Keywords: convenience
diff --git a/lisp/avoid.el b/lisp/avoid.el
index e99d09d6753..1d97dd306db 100644
--- a/lisp/avoid.el
+++ b/lisp/avoid.el
@@ -1,7 +1,7 @@
1;;; avoid.el --- make mouse pointer stay out of the way of editing 1;;; avoid.el --- make mouse pointer stay out of the way of editing
2 2
3;; Copyright (C) 1993, 1994, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1993, 1994, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Boris Goldowsky <boris@gnu.org> 6;; Author: Boris Goldowsky <boris@gnu.org>
7;; Keywords: mouse 7;; Keywords: mouse
diff --git a/lisp/battery.el b/lisp/battery.el
index 54a0e207ffc..fa816c585b4 100644
--- a/lisp/battery.el
+++ b/lisp/battery.el
@@ -1,7 +1,7 @@
1;;; battery.el --- display battery status information 1;;; battery.el --- display battery status information
2 2
3;; Copyright (C) 1997, 1998, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1997, 1998, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Ralph Schleicher <rs@nunatak.allgaeu.org> 6;; Author: Ralph Schleicher <rs@nunatak.allgaeu.org>
7;; Keywords: hardware 7;; Keywords: hardware
diff --git a/lisp/bindings.el b/lisp/bindings.el
index 7819916130b..6cbec4a1a86 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -1,7 +1,7 @@
1;;; bindings.el --- define standard key bindings and some variables 1;;; bindings.el --- define standard key bindings and some variables
2 2
3;; Copyright (C) 1985, 1986, 1987, 1992, 1993, 1994, 1995, 1996, 1999, 3;; Copyright (C) 1985, 1986, 1987, 1992, 1993, 1994, 1995, 1996, 1999,
4;; 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: internal 7;; Keywords: internal
diff --git a/lisp/bookmark.el b/lisp/bookmark.el
index 31616469454..104a9c6512f 100644
--- a/lisp/bookmark.el
+++ b/lisp/bookmark.el
@@ -1,7 +1,7 @@
1;;; bookmark.el --- set bookmarks, maybe annotate them, jump to them later 1;;; bookmark.el --- set bookmarks, maybe annotate them, jump to them later
2 2
3;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 2001, 2002, 2003, 3;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Karl Fogel <kfogel@red-bean.com> 6;; Author: Karl Fogel <kfogel@red-bean.com>
7;; Maintainer: Karl Fogel <kfogel@red-bean.com> 7;; Maintainer: Karl Fogel <kfogel@red-bean.com>
diff --git a/lisp/bs.el b/lisp/bs.el
index bdeb00f5804..a1dfad6ac7a 100644
--- a/lisp/bs.el
+++ b/lisp/bs.el
@@ -1,7 +1,7 @@
1;;; bs.el --- menu for selecting and displaying buffers 1;;; bs.el --- menu for selecting and displaying buffers
2 2
3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5;; Author: Olaf Sylvester <Olaf.Sylvester@netsurf.de> 5;; Author: Olaf Sylvester <Olaf.Sylvester@netsurf.de>
6;; Maintainer: Olaf Sylvester <Olaf.Sylvester@netsurf.de> 6;; Maintainer: Olaf Sylvester <Olaf.Sylvester@netsurf.de>
7;; Keywords: convenience 7;; Keywords: convenience
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el
index 62ff0c0a01d..5388ff9863d 100644
--- a/lisp/buff-menu.el
+++ b/lisp/buff-menu.el
@@ -1,7 +1,7 @@
1;;; buff-menu.el --- buffer menu main function and support functions -*- coding:utf-8 -*- 1;;; buff-menu.el --- buffer menu main function and support functions -*- coding:utf-8 -*-
2 2
3;; Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: convenience 7;; Keywords: convenience
diff --git a/lisp/button.el b/lisp/button.el
index d50452fc97a..3924a9c9418 100644
--- a/lisp/button.el
+++ b/lisp/button.el
@@ -1,6 +1,7 @@
1;;; button.el --- clickable buttons 1;;; button.el --- clickable buttons
2;; 2;;
3;; Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2001, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4;; 5;;
5;; Author: Miles Bader <miles@gnu.org> 6;; Author: Miles Bader <miles@gnu.org>
6;; Keywords: extensions 7;; Keywords: extensions
diff --git a/lisp/calculator.el b/lisp/calculator.el
index b9ba03f657f..fb5e9e41f69 100644
--- a/lisp/calculator.el
+++ b/lisp/calculator.el
@@ -1,11 +1,11 @@
1;;; calculator.el --- a [not so] simple calculator for Emacs 1;;; calculator.el --- a [not so] simple calculator for Emacs
2 2
3;; Copyright (C) 1998, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1998, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Eli Barzilay <eli@barzilay.org> 6;; Author: Eli Barzilay <eli@barzilay.org>
7;; Keywords: tools, convenience 7;; Keywords: tools, convenience
8;; Time-stamp: <2005-07-18 17:45:34 juri> 8;; Time-stamp: <2006-02-06 13:36:00 ttn>
9 9
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11 11
diff --git a/lisp/calendar/appt.el b/lisp/calendar/appt.el
index 40c6bfc2c86..571b4ec132a 100644
--- a/lisp/calendar/appt.el
+++ b/lisp/calendar/appt.el
@@ -1,7 +1,7 @@
1;;; appt.el --- appointment notification functions 1;;; appt.el --- appointment notification functions
2 2
3;; Copyright (C) 1989, 1990, 1994, 1998, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1989, 1990, 1994, 1998, 2001, 2002, 2003, 2004, 2005,
4;; Free Software Foundation, Inc. 4;; 2006 Free Software Foundation, Inc.
5 5
6;; Author: Neil Mager <neilm@juliet.ll.mit.edu> 6;; Author: Neil Mager <neilm@juliet.ll.mit.edu>
7;; Maintainer: Glenn Morris <rgm@gnu.org> 7;; Maintainer: Glenn Morris <rgm@gnu.org>
diff --git a/lisp/calendar/cal-bahai.el b/lisp/calendar/cal-bahai.el
index 91d4d3636df..f6419cf9a82 100644
--- a/lisp/calendar/cal-bahai.el
+++ b/lisp/calendar/cal-bahai.el
@@ -1,6 +1,7 @@
1;;; cal-bahai.el --- calendar functions for the Baha'i calendar. 1;;; cal-bahai.el --- calendar functions for the Baha'i calendar.
2 2
3;; Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc.
4 5
5;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
6;; Keywords: calendar 7;; Keywords: calendar
diff --git a/lisp/calendar/cal-china.el b/lisp/calendar/cal-china.el
index a4b83b87b15..5cdaa5092aa 100644
--- a/lisp/calendar/cal-china.el
+++ b/lisp/calendar/cal-china.el
@@ -1,6 +1,6 @@
1;;; cal-china.el --- calendar functions for the Chinese calendar 1;;; cal-china.el --- calendar functions for the Chinese calendar
2 2
3;; Copyright (C) 1995, 1997, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1995, 1997, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu> 6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu>
diff --git a/lisp/calendar/cal-coptic.el b/lisp/calendar/cal-coptic.el
index 4673053246f..c37ab17567f 100644
--- a/lisp/calendar/cal-coptic.el
+++ b/lisp/calendar/cal-coptic.el
@@ -1,6 +1,6 @@
1;;; cal-coptic.el --- calendar functions for the Coptic/Ethiopic calendars 1;;; cal-coptic.el --- calendar functions for the Coptic/Ethiopic calendars
2 2
3;; Copyright (C) 1995, 1997, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1995, 1997, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu> 6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu>
diff --git a/lisp/calendar/cal-dst.el b/lisp/calendar/cal-dst.el
index 1f3859d8bf1..62327a99c65 100644
--- a/lisp/calendar/cal-dst.el
+++ b/lisp/calendar/cal-dst.el
@@ -1,7 +1,7 @@
1;;; cal-dst.el --- calendar functions for daylight savings rules 1;;; cal-dst.el --- calendar functions for daylight savings rules
2 2
3;; Copyright (C) 1993, 1994, 1995, 1996, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1993, 1994, 1995, 1996, 2001, 2002, 2003, 2004, 2005,
4;; Free Software Foundation, Inc. 4;; 2006 Free Software Foundation, Inc.
5 5
6;; Author: Paul Eggert <eggert@twinsun.com> 6;; Author: Paul Eggert <eggert@twinsun.com>
7;; Edward M. Reingold <reingold@cs.uiuc.edu> 7;; Edward M. Reingold <reingold@cs.uiuc.edu>
diff --git a/lisp/calendar/cal-french.el b/lisp/calendar/cal-french.el
index ed974d312bb..0d88f161a03 100644
--- a/lisp/calendar/cal-french.el
+++ b/lisp/calendar/cal-french.el
@@ -1,7 +1,7 @@
1;;; cal-french.el --- calendar functions for the French Revolutionary calendar 1;;; cal-french.el --- calendar functions for the French Revolutionary calendar
2 2
3;; Copyright (C) 1988, 1989, 1992, 1994, 1995, 1997, 2001, 2002, 2003, 3;; Copyright (C) 1988, 1989, 1992, 1994, 1995, 1997, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu> 6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu>
7;; Maintainer: Glenn Morris <rgm@gnu.org> 7;; Maintainer: Glenn Morris <rgm@gnu.org>
diff --git a/lisp/calendar/cal-hebrew.el b/lisp/calendar/cal-hebrew.el
index 99823db8215..1272e9966d4 100644
--- a/lisp/calendar/cal-hebrew.el
+++ b/lisp/calendar/cal-hebrew.el
@@ -1,6 +1,6 @@
1;;; cal-hebrew.el --- calendar functions for the Hebrew calendar 1;;; cal-hebrew.el --- calendar functions for the Hebrew calendar
2 2
3;; Copyright (C) 1995, 1997, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1995, 1997, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Nachum Dershowitz <nachum@cs.uiuc.edu> 6;; Author: Nachum Dershowitz <nachum@cs.uiuc.edu>
diff --git a/lisp/calendar/cal-islam.el b/lisp/calendar/cal-islam.el
index 52801600157..105bb288eb0 100644
--- a/lisp/calendar/cal-islam.el
+++ b/lisp/calendar/cal-islam.el
@@ -1,6 +1,6 @@
1;;; cal-islam.el --- calendar functions for the Islamic calendar 1;;; cal-islam.el --- calendar functions for the Islamic calendar
2 2
3;; Copyright (C) 1995, 1997, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1995, 1997, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu> 6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu>
diff --git a/lisp/calendar/cal-iso.el b/lisp/calendar/cal-iso.el
index 41a3713d3ea..c11968e8421 100644
--- a/lisp/calendar/cal-iso.el
+++ b/lisp/calendar/cal-iso.el
@@ -1,6 +1,6 @@
1;;; cal-iso.el --- calendar functions for the ISO calendar 1;;; cal-iso.el --- calendar functions for the ISO calendar
2 2
3;; Copyright (C) 1995, 1997, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1995, 1997, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu> 6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu>
diff --git a/lisp/calendar/cal-julian.el b/lisp/calendar/cal-julian.el
index 068e705410a..8f7af039d94 100644
--- a/lisp/calendar/cal-julian.el
+++ b/lisp/calendar/cal-julian.el
@@ -1,6 +1,6 @@
1;;; cal-julian.el --- calendar functions for the Julian calendar 1;;; cal-julian.el --- calendar functions for the Julian calendar
2 2
3;; Copyright (C) 1995, 1997, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1995, 1997, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu> 6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu>
diff --git a/lisp/calendar/cal-mayan.el b/lisp/calendar/cal-mayan.el
index ce4f42e3328..b2d111a4b18 100644
--- a/lisp/calendar/cal-mayan.el
+++ b/lisp/calendar/cal-mayan.el
@@ -1,7 +1,7 @@
1;;; cal-mayan.el --- calendar functions for the Mayan calendars 1;;; cal-mayan.el --- calendar functions for the Mayan calendars
2 2
3;; Copyright (C) 1992, 1993, 1995, 1997, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1992, 1993, 1995, 1997, 2001, 2002, 2003, 2004, 2005,
4;; Free Software Foundation, Inc. 4;; 2006 Free Software Foundation, Inc.
5 5
6;; Author: Stewart M. Clamen <clamen@cs.cmu.edu> 6;; Author: Stewart M. Clamen <clamen@cs.cmu.edu>
7;; Edward M. Reingold <reingold@cs.uiuc.edu> 7;; Edward M. Reingold <reingold@cs.uiuc.edu>
diff --git a/lisp/calendar/cal-move.el b/lisp/calendar/cal-move.el
index 70275017bfd..f7c8b284f1b 100644
--- a/lisp/calendar/cal-move.el
+++ b/lisp/calendar/cal-move.el
@@ -1,6 +1,6 @@
1;;; cal-move.el --- calendar functions for movement in the calendar 1;;; cal-move.el --- calendar functions for movement in the calendar
2 2
3;; Copyright (C) 1995, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1995, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu> 6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu>
diff --git a/lisp/calendar/cal-persia.el b/lisp/calendar/cal-persia.el
index e9583a3f00d..33c296a7730 100644
--- a/lisp/calendar/cal-persia.el
+++ b/lisp/calendar/cal-persia.el
@@ -1,6 +1,6 @@
1;;; cal-persia.el --- calendar functions for the Persian calendar 1;;; cal-persia.el --- calendar functions for the Persian calendar
2 2
3;; Copyright (C) 1996, 1997, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1996, 1997, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu> 6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu>
diff --git a/lisp/calendar/cal-tex.el b/lisp/calendar/cal-tex.el
index 7b029bc93c5..a67d90c832e 100644
--- a/lisp/calendar/cal-tex.el
+++ b/lisp/calendar/cal-tex.el
@@ -1,6 +1,6 @@
1;;; cal-tex.el --- calendar functions for printing calendars with LaTeX 1;;; cal-tex.el --- calendar functions for printing calendars with LaTeX
2 2
3;; Copyright (C) 1995, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1995, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Steve Fisk <fisk@bowdoin.edu> 6;; Author: Steve Fisk <fisk@bowdoin.edu>
diff --git a/lisp/calendar/cal-x.el b/lisp/calendar/cal-x.el
index a512c7c1e20..2e465e1093b 100644
--- a/lisp/calendar/cal-x.el
+++ b/lisp/calendar/cal-x.el
@@ -1,6 +1,6 @@
1;;; cal-x.el --- calendar windows in dedicated frames in X 1;;; cal-x.el --- calendar windows in dedicated frames in X
2 2
3;; Copyright (C) 1994, 1995, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1994, 1995, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Michael Kifer <kifer@cs.sunysb.edu> 6;; Author: Michael Kifer <kifer@cs.sunysb.edu>
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el
index f01f4305708..b48f63458dc 100644
--- a/lisp/calendar/calendar.el
+++ b/lisp/calendar/calendar.el
@@ -1308,7 +1308,7 @@ A negative YR is interpreted as BC; -1 being 1 BC, and so on."
1308The return value is a pair (MONTH . YEAR). 1308The return value is a pair (MONTH . YEAR).
1309MON defaults to `displayed-month'. YR defaults to `displayed-year'." 1309MON defaults to `displayed-month'. YR defaults to `displayed-year'."
1310 (unless mon (setq mon displayed-month)) 1310 (unless mon (setq mon displayed-month))
1311 (unless yr (setq mon displayed-year)) 1311 (unless yr (setq yr displayed-year))
1312 (increment-calendar-month mon yr n) 1312 (increment-calendar-month mon yr n)
1313 (cons mon yr)) 1313 (cons mon yr))
1314 1314
diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el
index 91c396f7bf5..a8eeebae8fc 100644
--- a/lisp/calendar/diary-lib.el
+++ b/lisp/calendar/diary-lib.el
@@ -1,7 +1,7 @@
1;;; diary-lib.el --- diary functions 1;;; diary-lib.el --- diary functions
2 2
3;; Copyright (C) 1989, 1990, 1992, 1993, 1994, 1995, 2001, 2002, 2003, 3;; Copyright (C) 1989, 1990, 1992, 1993, 1994, 1995, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu> 6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu>
7;; Maintainer: Glenn Morris <rgm@gnu.org> 7;; Maintainer: Glenn Morris <rgm@gnu.org>
diff --git a/lisp/calendar/holidays.el b/lisp/calendar/holidays.el
index b18844c18d9..c9a1a0f17e5 100644
--- a/lisp/calendar/holidays.el
+++ b/lisp/calendar/holidays.el
@@ -1,7 +1,7 @@
1;;; holidays.el --- holiday functions for the calendar package 1;;; holidays.el --- holiday functions for the calendar package
2 2
3;; Copyright (C) 1989, 1990, 1992, 1993, 1994, 1997, 2001, 2002, 2003, 3;; Copyright (C) 1989, 1990, 1992, 1993, 1994, 1997, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu> 6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu>
7;; Maintainer: Glenn Morris <rgm@gnu.org> 7;; Maintainer: Glenn Morris <rgm@gnu.org>
diff --git a/lisp/calendar/icalendar.el b/lisp/calendar/icalendar.el
index 33f89474504..e1d513ce680 100644
--- a/lisp/calendar/icalendar.el
+++ b/lisp/calendar/icalendar.el
@@ -1,6 +1,6 @@
1;;; icalendar.el --- iCalendar implementation -*-coding: utf-8 -*- 1;;; icalendar.el --- iCalendar implementation -*-coding: utf-8 -*-
2 2
3;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Ulf Jasper <ulf.jasper@web.de> 5;; Author: Ulf Jasper <ulf.jasper@web.de>
6;; Created: August 2002 6;; Created: August 2002
diff --git a/lisp/calendar/lunar.el b/lisp/calendar/lunar.el
index ed54bc88394..dd2f546fc37 100644
--- a/lisp/calendar/lunar.el
+++ b/lisp/calendar/lunar.el
@@ -1,7 +1,7 @@
1;;; lunar.el --- calendar functions for phases of the moon 1;;; lunar.el --- calendar functions for phases of the moon
2 2
3;; Copyright (C) 1992, 1993, 1995, 1997, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1992, 1993, 1995, 1997, 2001, 2002, 2003, 2004, 2005,
4;; Free Software Foundation, Inc. 4;; 2006 Free Software Foundation, Inc.
5 5
6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu> 6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu>
7;; Maintainer: Glenn Morris <rgm@gnu.org> 7;; Maintainer: Glenn Morris <rgm@gnu.org>
diff --git a/lisp/calendar/parse-time.el b/lisp/calendar/parse-time.el
index 3e09e7b1fb6..9587eb57a9f 100644
--- a/lisp/calendar/parse-time.el
+++ b/lisp/calendar/parse-time.el
@@ -1,6 +1,6 @@
1;;; parse-time.el --- parsing time strings 1;;; parse-time.el --- parsing time strings
2 2
3;; Copyright (C) 1996, 2000, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1996, 2000, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Erik Naggum <erik@naggum.no> 6;; Author: Erik Naggum <erik@naggum.no>
diff --git a/lisp/calendar/solar.el b/lisp/calendar/solar.el
index 5b58b739dba..660abb14f88 100644
--- a/lisp/calendar/solar.el
+++ b/lisp/calendar/solar.el
@@ -1,7 +1,7 @@
1;;; solar.el --- calendar functions for solar events 1;;; solar.el --- calendar functions for solar events
2 2
3;; Copyright (C) 1992, 1993, 1995, 1997, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1992, 1993, 1995, 1997, 2001, 2002, 2003, 2004, 2005,
4;; Free Software Foundation, Inc. 4;; 2006 Free Software Foundation, Inc.
5 5
6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu> 6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu>
7;; Denis B. Roegel <Denis.Roegel@loria.fr> 7;; Denis B. Roegel <Denis.Roegel@loria.fr>
diff --git a/lisp/calendar/time-date.el b/lisp/calendar/time-date.el
index fd74e5a6251..0de9806d2bb 100644
--- a/lisp/calendar/time-date.el
+++ b/lisp/calendar/time-date.el
@@ -1,6 +1,6 @@
1;;; time-date.el --- Date and time handling functions 1;;; time-date.el --- Date and time handling functions
2 2
3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> 6;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
diff --git a/lisp/calendar/timeclock.el b/lisp/calendar/timeclock.el
index f46ec4eba23..3f2697509f3 100644
--- a/lisp/calendar/timeclock.el
+++ b/lisp/calendar/timeclock.el
@@ -1,6 +1,6 @@
1;;; timeclock.el --- mode for keeping track of how much you work 1;;; timeclock.el --- mode for keeping track of how much you work
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el
index b6871a38ab9..6f96ec1cdb2 100644
--- a/lisp/calendar/todo-mode.el
+++ b/lisp/calendar/todo-mode.el
@@ -1,6 +1,6 @@
1;;; todo-mode.el --- major mode for editing TODO list files 1;;; todo-mode.el --- major mode for editing TODO list files
2 2
3;; Copyright (C) 1997, 1999, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1997, 1999, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Oliver Seidel <os10000@seidel-space.de> 6;; Author: Oliver Seidel <os10000@seidel-space.de>
diff --git a/lisp/case-table.el b/lisp/case-table.el
index 4dfdd0538fb..a69ed329cb1 100644
--- a/lisp/case-table.el
+++ b/lisp/case-table.el
@@ -1,7 +1,7 @@
1;;; case-table.el --- code to extend the character set and support case tables 1;;; case-table.el --- code to extend the character set and support case tables
2 2
3;; Copyright (C) 1988, 1994, 2002, 2003, 2004, 3;; Copyright (C) 1988, 1994, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Howard Gayle 6;; Author: Howard Gayle
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/cdl.el b/lisp/cdl.el
index abd339de9b8..378bc993aed 100644
--- a/lisp/cdl.el
+++ b/lisp/cdl.el
@@ -1,6 +1,7 @@
1;;; cdl.el --- Common Data Language (CDL) utility functions for GNU Emacs 1;;; cdl.el --- Common Data Language (CDL) utility functions for GNU Emacs
2 2
3;; Copyright (C) 1993, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1993, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: ATAE@spva.physics.imperial.ac.uk (Ata Etemadi) 6;; Author: ATAE@spva.physics.imperial.ac.uk (Ata Etemadi)
6;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/chistory.el b/lisp/chistory.el
index c05fd849db4..3fbc068ac86 100644
--- a/lisp/chistory.el
+++ b/lisp/chistory.el
@@ -1,6 +1,7 @@
1;;; chistory.el --- list command history 1;;; chistory.el --- list command history
2 2
3;; Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1985, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: K. Shane Hartman 6;; Author: K. Shane Hartman
6;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/cmuscheme.el b/lisp/cmuscheme.el
index 82d39fd2c00..622612648f3 100644
--- a/lisp/cmuscheme.el
+++ b/lisp/cmuscheme.el
@@ -1,7 +1,7 @@
1;;; cmuscheme.el --- Scheme process in a buffer. Adapted from tea.el 1;;; cmuscheme.el --- Scheme process in a buffer. Adapted from tea.el
2 2
3;; Copyright (C) 1988, 1994, 1997, 2002, 2003, 2004, 3;; Copyright (C) 1988, 1994, 1997, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Olin Shivers <olin.shivers@cs.cmu.edu> 6;; Author: Olin Shivers <olin.shivers@cs.cmu.edu>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/comint.el b/lisp/comint.el
index 6676e836735..0cae078f481 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -1,7 +1,7 @@
1;;; comint.el --- general command interpreter in a window stuff 1;;; comint.el --- general command interpreter in a window stuff
2 2
3;; Copyright (C) 1988, 1990, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3;; Copyright (C) 1988, 1990, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4;; 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Olin Shivers <shivers@cs.cmu.edu> 6;; Author: Olin Shivers <shivers@cs.cmu.edu>
7;; Simon Marshall <simon@gnu.org> 7;; Simon Marshall <simon@gnu.org>
diff --git a/lisp/compare-w.el b/lisp/compare-w.el
index e3e7bd3945d..2d23de8c54c 100644
--- a/lisp/compare-w.el
+++ b/lisp/compare-w.el
@@ -1,7 +1,7 @@
1;;; compare-w.el --- compare text between windows for Emacs 1;;; compare-w.el --- compare text between windows for Emacs
2 2
3;; Copyright (C) 1986, 1989, 1993, 1997, 2002, 2003, 2004, 3;; Copyright (C) 1986, 1989, 1993, 1997, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: convenience files 7;; Keywords: convenience files
diff --git a/lisp/complete.el b/lisp/complete.el
index cde669a943f..a48942d2df1 100644
--- a/lisp/complete.el
+++ b/lisp/complete.el
@@ -1,7 +1,7 @@
1;;; complete.el --- partial completion mechanism plus other goodies 1;;; complete.el --- partial completion mechanism plus other goodies
2 2
3;; Copyright (C) 1990, 1991, 1992, 1993, 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1990, 1991, 1992, 1993, 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Dave Gillespie <daveg@synaptics.com> 6;; Author: Dave Gillespie <daveg@synaptics.com>
7;; Keywords: abbrev convenience 7;; Keywords: abbrev convenience
diff --git a/lisp/completion.el b/lisp/completion.el
index e231906ad27..64bf8026e9d 100644
--- a/lisp/completion.el
+++ b/lisp/completion.el
@@ -1,7 +1,7 @@
1;;; completion.el --- dynamic word-completion code 1;;; completion.el --- dynamic word-completion code
2 2
3;; Copyright (C) 1990, 1993, 1995, 1997, 2002, 2003, 2004, 3;; Copyright (C) 1990, 1993, 1995, 1997, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: abbrev convenience 7;; Keywords: abbrev convenience
diff --git a/lisp/cus-face.el b/lisp/cus-face.el
index c5547657a17..e847ae1f230 100644
--- a/lisp/cus-face.el
+++ b/lisp/cus-face.el
@@ -1,7 +1,7 @@
1;;; cus-face.el --- customization support for faces 1;;; cus-face.el --- customization support for faces
2;; 2;;
3;; Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5;; 5;;
6;; Author: Per Abrahamsen <abraham@dina.kvl.dk> 6;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
7;; Keywords: help, faces 7;; Keywords: help, faces
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index 30af30045f8..eaf700774df 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -1,7 +1,7 @@
1;;; cus-start.el --- define customization properties of builtins 1;;; cus-start.el --- define customization properties of builtins
2;; 2;;
3;; Copyright (C) 1997, 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1997, 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5;; 5;;
6;; Author: Per Abrahamsen <abraham@dina.kvl.dk> 6;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
7;; Keywords: internal 7;; Keywords: internal
diff --git a/lisp/cus-theme.el b/lisp/cus-theme.el
index a21832c7b62..3a89c6a664e 100644
--- a/lisp/cus-theme.el
+++ b/lisp/cus-theme.el
@@ -1,6 +1,7 @@
1;;; cus-theme.el -- custom theme creation user interface 1;;; cus-theme.el -- custom theme creation user interface
2;; 2;;
3;; Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2001, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4;; 5;;
5;; Author: Alex Schroeder <alex@gnu.org> 6;; Author: Alex Schroeder <alex@gnu.org>
6;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/custom.el b/lisp/custom.el
index 6267febe0d5..0f95e3bab73 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -1,7 +1,7 @@
1;;; custom.el --- tools for declaring and initializing options 1;;; custom.el --- tools for declaring and initializing options
2;; 2;;
3;; Copyright (C) 1996, 1997, 1999, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1996, 1997, 1999, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5;; 5;;
6;; Author: Per Abrahamsen <abraham@dina.kvl.dk> 6;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/cvs-status.el b/lisp/cvs-status.el
index 792dcb2ef26..cf0ee85db23 100644
--- a/lisp/cvs-status.el
+++ b/lisp/cvs-status.el
@@ -1,7 +1,7 @@
1;;; cvs-status.el --- major mode for browsing `cvs status' output -*- coding: utf-8 -*- 1;;; cvs-status.el --- major mode for browsing `cvs status' output -*- coding: utf-8 -*-
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Stefan Monnier <monnier@cs.yale.edu> 6;; Author: Stefan Monnier <monnier@cs.yale.edu>
7;; Keywords: pcl-cvs cvs status tree tools 7;; Keywords: pcl-cvs cvs status tree tools
diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el
index ea99030d943..624a59bf880 100644
--- a/lisp/dabbrev.el
+++ b/lisp/dabbrev.el
@@ -1,7 +1,7 @@
1;;; dabbrev.el --- dynamic abbreviation package 1;;; dabbrev.el --- dynamic abbreviation package
2 2
3;; Copyright (C) 1985, 1986, 1992, 1994, 1996, 1997, 2000, 2001, 2002, 3;; Copyright (C) 1985, 1986, 1992, 1994, 1996, 1997, 2000, 2001, 2002,
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Don Morrison 6;; Author: Don Morrison
7;; Maintainer: Lars Lindberg <Lars.Lindberg@sypro.cap.se> 7;; Maintainer: Lars Lindberg <Lars.Lindberg@sypro.cap.se>
diff --git a/lisp/delim-col.el b/lisp/delim-col.el
index 50d09a6414b..7433c728405 100644
--- a/lisp/delim-col.el
+++ b/lisp/delim-col.el
@@ -1,11 +1,11 @@
1;;; delim-col.el --- prettify all columns in a region or rectangle 1;;; delim-col.el --- prettify all columns in a region or rectangle
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
7;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> 7;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
8;; Time-stamp: <2004/03/09 21:32:06 vinicius> 8;; Time-stamp: <2006-02-06 13:37:10 ttn>
9;; Version: 2.1 9;; Version: 2.1
10;; Keywords: internal 10;; Keywords: internal
11;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/ 11;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/
diff --git a/lisp/delsel.el b/lisp/delsel.el
index d7a3d90e969..278849233b7 100644
--- a/lisp/delsel.el
+++ b/lisp/delsel.el
@@ -1,7 +1,7 @@
1;;; delsel.el --- delete selection if you insert 1;;; delsel.el --- delete selection if you insert
2 2
3;; Copyright (C) 1992, 1997, 1998, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1992, 1997, 1998, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Matthieu Devin <devin@lucid.com> 6;; Author: Matthieu Devin <devin@lucid.com>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/descr-text.el b/lisp/descr-text.el
index 550268ac1d9..6200be63d68 100644
--- a/lisp/descr-text.el
+++ b/lisp/descr-text.el
@@ -1,7 +1,7 @@
1;;; descr-text.el --- describe text mode 1;;; descr-text.el --- describe text mode
2 2
3;; Copyright (C) 1994, 1995, 1996, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1994, 1995, 1996, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Boris Goldowsky <boris@gnu.org> 6;; Author: Boris Goldowsky <boris@gnu.org>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/desktop.el b/lisp/desktop.el
index 249ed91ab29..f56e2204e78 100644
--- a/lisp/desktop.el
+++ b/lisp/desktop.el
@@ -1,7 +1,7 @@
1;;; desktop.el --- save partial status of Emacs when killed 1;;; desktop.el --- save partial status of Emacs when killed
2 2
3;; Copyright (C) 1993, 1994, 1995, 1997, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1993, 1994, 1995, 1997, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Morten Welinder <terra@diku.dk> 6;; Author: Morten Welinder <terra@diku.dk>
7;; Maintainter: Lars Hansen <larsh@soem.dk> 7;; Maintainter: Lars Hansen <larsh@soem.dk>
@@ -57,17 +57,17 @@
57;; are supplied to handle special major and minor modes respectively. 57;; are supplied to handle special major and minor modes respectively.
58;; `desktop-buffer-mode-handlers' is an alist of major mode specific functions 58;; `desktop-buffer-mode-handlers' is an alist of major mode specific functions
59;; to restore a desktop buffer. Elements must have the form 59;; to restore a desktop buffer. Elements must have the form
60;; 60;;
61;; (MAJOR-MODE . RESTORE-BUFFER-FUNCTION). 61;; (MAJOR-MODE . RESTORE-BUFFER-FUNCTION).
62;; 62;;
63;; Functions listed are called by `desktop-create-buffer' when `desktop-read' 63;; Functions listed are called by `desktop-create-buffer' when `desktop-read'
64;; evaluates the desktop file. Buffers with a major mode not specified here, 64;; evaluates the desktop file. Buffers with a major mode not specified here,
65;; are restored by the default handler `desktop-restore-file-buffer'. 65;; are restored by the default handler `desktop-restore-file-buffer'.
66;; `desktop-minor-mode-handlers' is an alist of functions to restore 66;; `desktop-minor-mode-handlers' is an alist of functions to restore
67;; non-standard minor modes. Elements must have the form 67;; non-standard minor modes. Elements must have the form
68;; 68;;
69;; (MINOR-MODE . RESTORE-FUNCTION). 69;; (MINOR-MODE . RESTORE-FUNCTION).
70;; 70;;
71;; Functions are called by `desktop-create-buffer' to restore minor modes. 71;; Functions are called by `desktop-create-buffer' to restore minor modes.
72;; Minor modes not specified here, are restored by the standard minor mode 72;; Minor modes not specified here, are restored by the standard minor mode
73;; function. If you write a module that defines a major or minor mode that 73;; function. If you write a module that defines a major or minor mode that
@@ -661,7 +661,7 @@ Not all types of values are supported."
661(defun desktop-outvar (varspec) 661(defun desktop-outvar (varspec)
662 "Output a setq statement for variable VAR to the desktop file. 662 "Output a setq statement for variable VAR to the desktop file.
663The argument VARSPEC may be the variable name VAR (a symbol), 663The argument VARSPEC may be the variable name VAR (a symbol),
664or a cons cell of the form (VAR . MAX-SIZE), 664or a cons cell of the form (VAR . MAX-SIZE),
665which means to truncate VAR's value to at most MAX-SIZE elements 665which means to truncate VAR's value to at most MAX-SIZE elements
666\(if the value is a list) before saving the value." 666\(if the value is a list) before saving the value."
667 (let (var size) 667 (let (var size)
@@ -684,7 +684,8 @@ which means to truncate VAR's value to at most MAX-SIZE elements
684(defun desktop-save-buffer-p (filename bufname mode &rest dummy) 684(defun desktop-save-buffer-p (filename bufname mode &rest dummy)
685 "Return t if buffer should have its state saved in the desktop file. 685 "Return t if buffer should have its state saved in the desktop file.
686FILENAME is the visited file name, BUFNAME is the buffer name, and 686FILENAME is the visited file name, BUFNAME is the buffer name, and
687MODE is the major mode." 687MODE is the major mode.
688\n\(fn FILENAME BUFNAME MODE)"
688 (let ((case-fold-search nil)) 689 (let ((case-fold-search nil))
689 (and (not (string-match desktop-buffers-not-to-save bufname)) 690 (and (not (string-match desktop-buffers-not-to-save bufname))
690 (not (memq mode desktop-modes-not-to-save)) 691 (not (memq mode desktop-modes-not-to-save))
diff --git a/lisp/dframe.el b/lisp/dframe.el
index e15b57af605..e238a469dd5 100644
--- a/lisp/dframe.el
+++ b/lisp/dframe.el
@@ -1,7 +1,7 @@
1;;; dframe --- dedicate frame support modes 1;;; dframe --- dedicate frame support modes
2 2
3;;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3;;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Eric M. Ludlam <zappo@gnu.org> 6;; Author: Eric M. Ludlam <zappo@gnu.org>
7;; Keywords: file, tags, tools 7;; Keywords: file, tags, tools
diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el
index 8f018185c98..09645864573 100644
--- a/lisp/diff-mode.el
+++ b/lisp/diff-mode.el
@@ -1,7 +1,7 @@
1;;; diff-mode.el --- a mode for viewing/editing context diffs 1;;; diff-mode.el --- a mode for viewing/editing context diffs
2 2
3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Stefan Monnier <monnier@cs.yale.edu> 6;; Author: Stefan Monnier <monnier@cs.yale.edu>
7;; Keywords: convenience patch diff 7;; Keywords: convenience patch diff
diff --git a/lisp/diff.el b/lisp/diff.el
index 8c4332b2da2..221d7b2e363 100644
--- a/lisp/diff.el
+++ b/lisp/diff.el
@@ -1,7 +1,7 @@
1;;; diff.el --- run `diff' in compilation-mode 1;;; diff.el --- run `diff' in compilation-mode
2 2
3;; Copyright (C) 1992, 1994, 1996, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1992, 1994, 1996, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: unix, tools 7;; Keywords: unix, tools
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 7a34c39bed5..20b0037ab7e 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -1,7 +1,7 @@
1;;; dired-aux.el --- less commonly used parts of dired -*-byte-compile-dynamic: t;-*- 1;;; dired-aux.el --- less commonly used parts of dired -*-byte-compile-dynamic: t;-*-
2 2
3;; Copyright (C) 1985, 1986, 1992, 1994, 1998, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1985, 1986, 1992, 1994, 1998, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Sebastian Kremer <sk@thp.uni-koeln.de>. 6;; Author: Sebastian Kremer <sk@thp.uni-koeln.de>.
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/dired-x.el b/lisp/dired-x.el
index 14e0a459f86..e207c60502d 100644
--- a/lisp/dired-x.el
+++ b/lisp/dired-x.el
@@ -8,7 +8,7 @@
8;; Keywords: dired extensions files 8;; Keywords: dired extensions files
9 9
10;; Copyright (C) 1993, 1994, 1997, 2001, 2002, 2003, 2004, 10;; Copyright (C) 1993, 1994, 1997, 2001, 2002, 2003, 2004,
11;; 2005 Free Software Foundation, Inc. 11;; 2005, 2006 Free Software Foundation, Inc.
12 12
13;; This file is part of GNU Emacs. 13;; This file is part of GNU Emacs.
14 14
@@ -1027,11 +1027,11 @@ dired."
1027 " " dired-guess-shell-znew-switches)) 1027 " " dired-guess-shell-znew-switches))
1028 1028
1029 ;; The following four extensions are useful with dired-man ("N" key) 1029 ;; The following four extensions are useful with dired-man ("N" key)
1030 (list "\\.[0-9]$" '(progn (require 'man) 1030 (list "\\.\\(?:[0-9]\\|man\\)$" '(progn (require 'man)
1031 (if (Man-support-local-filenames) 1031 (if (Man-support-local-filenames)
1032 "man -l" 1032 "man -l"
1033 "cat * | tbl | nroff -man -h"))) 1033 "cat * | tbl | nroff -man -h")))
1034 (list "\\.[0-9]\\.g?z$" '(progn (require 'man) 1034 (list "\\.\\(?:[0-9]\\|man\\)\\.g?z$" '(progn (require 'man)
1035 (if (Man-support-local-filenames) 1035 (if (Man-support-local-filenames)
1036 "man -l" 1036 "man -l"
1037 "gunzip -qc * | tbl | nroff -man -h")) 1037 "gunzip -qc * | tbl | nroff -man -h"))
diff --git a/lisp/dired.el b/lisp/dired.el
index fe8f6996b28..8433432ff09 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -1,7 +1,7 @@
1;;; dired.el --- directory-browsing commands 1;;; dired.el --- directory-browsing commands
2 2
3;; Copyright (C) 1985, 1986, 1992, 1993, 1994, 1995, 1996, 1997, 2000, 3;; Copyright (C) 1985, 1986, 1992, 1993, 1994, 1995, 1996, 1997, 2000,
4;; 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Sebastian Kremer <sk@thp.uni-koeln.de> 6;; Author: Sebastian Kremer <sk@thp.uni-koeln.de>
7;; Maintainer: FSF 7;; Maintainer: FSF
@@ -1247,6 +1247,17 @@ Do so according to the former subdir alist OLD-SUBDIR-ALIST."
1247 (define-key map "\177" 'dired-unmark-backward) 1247 (define-key map "\177" 'dired-unmark-backward)
1248 (define-key map [remap undo] 'dired-undo) 1248 (define-key map [remap undo] 'dired-undo)
1249 (define-key map [remap advertised-undo] 'dired-undo) 1249 (define-key map [remap advertised-undo] 'dired-undo)
1250 ;; thumbnail manipulation (tumme)
1251 (define-key map "\C-td" 'tumme-display-thumbs)
1252 (define-key map "\C-tt" 'tumme-tag-files)
1253 (define-key map "\C-tr" 'tumme-tag-remove)
1254 (define-key map "\C-tj" 'tumme-jump-thumbnail-buffer)
1255 (define-key map "\C-ti" 'tumme-display-dired-image)
1256 (define-key map "\C-tx" 'tumme-dired-display-external)
1257 (define-key map "\C-ta" 'tumme-display-thumbs-append)
1258 (define-key map "\C-t." 'tumme-display-thumb)
1259 (define-key map "\C-tc" 'tumme-dired-comment-files)
1260 (define-key map "\C-tf" 'tumme-mark-tagged-files)
1250 1261
1251 ;; Make menu bar items. 1262 ;; Make menu bar items.
1252 1263
diff --git a/lisp/dirtrack.el b/lisp/dirtrack.el
index 573803bfb98..30ef3570ad2 100644
--- a/lisp/dirtrack.el
+++ b/lisp/dirtrack.el
@@ -1,6 +1,7 @@
1;;; dirtrack.el --- Directory Tracking by watching the prompt 1;;; dirtrack.el --- Directory Tracking by watching the prompt
2 2
3;; Copyright (C) 1996, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1996, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Peter Breton <pbreton@cs.umb.edu> 6;; Author: Peter Breton <pbreton@cs.umb.edu>
6;; Created: Sun Nov 17 1996 7;; Created: Sun Nov 17 1996
diff --git a/lisp/disp-table.el b/lisp/disp-table.el
index 1474a82885c..7681e85b4ae 100644
--- a/lisp/disp-table.el
+++ b/lisp/disp-table.el
@@ -1,7 +1,7 @@
1;;; disp-table.el --- functions for dealing with char tables 1;;; disp-table.el --- functions for dealing with char tables
2 2
3;; Copyright (C) 1987, 1994, 1995, 1999, 2002, 2003, 2004, 3;; Copyright (C) 1987, 1994, 1995, 1999, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Erik Naggum <erik@naggum.no> 6;; Author: Erik Naggum <erik@naggum.no>
7;; Based on a previous version by Howard Gayle 7;; Based on a previous version by Howard Gayle
diff --git a/lisp/dnd.el b/lisp/dnd.el
index f85984fb7d8..dec57481570 100644
--- a/lisp/dnd.el
+++ b/lisp/dnd.el
@@ -1,6 +1,6 @@
1;;; dnd.el --- drag and drop support. 1;;; dnd.el --- drag and drop support.
2 2
3;; Copyright (C) 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 5;; Author: Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
6;; Maintainer: FSF 6;; Maintainer: FSF
diff --git a/lisp/dos-fns.el b/lisp/dos-fns.el
index bf25ce1f589..7270dc8fa27 100644
--- a/lisp/dos-fns.el
+++ b/lisp/dos-fns.el
@@ -1,7 +1,7 @@
1;;; dos-fns.el --- MS-Dos specific functions 1;;; dos-fns.el --- MS-Dos specific functions
2 2
3;; Copyright (C) 1991, 1993, 1995, 1996, 2002, 2003, 2004, 3;; Copyright (C) 1991, 1993, 1995, 1996, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: Morten Welinder <terra@diku.dk> 6;; Maintainer: Morten Welinder <terra@diku.dk>
7;; Keywords: internal 7;; Keywords: internal
diff --git a/lisp/dos-vars.el b/lisp/dos-vars.el
index 1909e941c1f..9d00756804f 100644
--- a/lisp/dos-vars.el
+++ b/lisp/dos-vars.el
@@ -1,6 +1,7 @@
1;;; dos-vars.el --- MS-Dos specific user options 1;;; dos-vars.el --- MS-Dos specific user options
2 2
3;; Copyright (C) 1998, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1998, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Maintainer: FSF 6;; Maintainer: FSF
6;; Keywords: internal 7;; Keywords: internal
diff --git a/lisp/dos-w32.el b/lisp/dos-w32.el
index 697f6eb4d5c..ae2bd8052bb 100644
--- a/lisp/dos-w32.el
+++ b/lisp/dos-w32.el
@@ -1,6 +1,7 @@
1;; dos-w32.el --- Functions shared among MS-DOS and W32 (NT/95) platforms 1;; dos-w32.el --- Functions shared among MS-DOS and W32 (NT/95) platforms
2 2
3;; Copyright (C) 1996, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1996, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Maintainer: Geoff Voelker <voelker@cs.washington.edu> 6;; Maintainer: Geoff Voelker <voelker@cs.washington.edu>
6;; Keywords: internal 7;; Keywords: internal
diff --git a/lisp/double.el b/lisp/double.el
index d112fbed3cd..25fd2c42672 100644
--- a/lisp/double.el
+++ b/lisp/double.el
@@ -1,7 +1,7 @@
1;;; double.el --- support for keyboard remapping with double clicking 1;;; double.el --- support for keyboard remapping with double clicking
2 2
3;; Copyright (C) 1994, 1997, 1998, 2002, 2003, 2004, 3;; Copyright (C) 1994, 1997, 1998, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Per Abrahamsen <abraham@dina.kvl.dk> 6;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
7;; Keywords: i18n 7;; Keywords: i18n
diff --git a/lisp/ebuff-menu.el b/lisp/ebuff-menu.el
index 61895db4308..222fe05e1e5 100644
--- a/lisp/ebuff-menu.el
+++ b/lisp/ebuff-menu.el
@@ -1,7 +1,7 @@
1;;; ebuff-menu.el --- electric-buffer-list mode 1;;; ebuff-menu.el --- electric-buffer-list mode
2 2
3;; Copyright (C) 1985, 1986, 1994, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1986, 1994, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Richard Mlynarik <mly@ai.mit.edu> 6;; Author: Richard Mlynarik <mly@ai.mit.edu>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/echistory.el b/lisp/echistory.el
index a8ec7632c41..46a1f532c74 100644
--- a/lisp/echistory.el
+++ b/lisp/echistory.el
@@ -1,6 +1,7 @@
1;;; echistory.el --- Electric Command History Mode 1;;; echistory.el --- Electric Command History Mode
2 2
3;; Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1985, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: K. Shane Hartman 6;; Author: K. Shane Hartman
6;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/ediff-diff.el b/lisp/ediff-diff.el
index 0a3f6920e2b..67da6eae25d 100644
--- a/lisp/ediff-diff.el
+++ b/lisp/ediff-diff.el
@@ -1,7 +1,7 @@
1;;; ediff-diff.el --- diff-related utilities 1;;; ediff-diff.el --- diff-related utilities
2 2
3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
4;; 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 6;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
7 7
diff --git a/lisp/ediff-help.el b/lisp/ediff-help.el
index 21fe85c415f..cc266e3c8a3 100644
--- a/lisp/ediff-help.el
+++ b/lisp/ediff-help.el
@@ -1,7 +1,7 @@
1;;; ediff-help.el --- Code related to the contents of Ediff help buffers 1;;; ediff-help.el --- Code related to the contents of Ediff help buffers
2 2
3;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 6;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
7 7
diff --git a/lisp/ediff-hook.el b/lisp/ediff-hook.el
index c0add7f8f86..1b86e2f8f62 100644
--- a/lisp/ediff-hook.el
+++ b/lisp/ediff-hook.el
@@ -1,7 +1,7 @@
1;;; ediff-hook.el --- setup for Ediff's menus and autoloads 1;;; ediff-hook.el --- setup for Ediff's menus and autoloads
2 2
3;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 6;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
7 7
diff --git a/lisp/ediff-init.el b/lisp/ediff-init.el
index 5bffea1ec4b..4897ffd2e59 100644
--- a/lisp/ediff-init.el
+++ b/lisp/ediff-init.el
@@ -1,7 +1,7 @@
1;;; ediff-init.el --- Macros, variables, and defsubsts used by Ediff 1;;; ediff-init.el --- Macros, variables, and defsubsts used by Ediff
2 2
3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 6;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
7 7
diff --git a/lisp/ediff-merg.el b/lisp/ediff-merg.el
index 5a5a2983327..7f0eea2cf09 100644
--- a/lisp/ediff-merg.el
+++ b/lisp/ediff-merg.el
@@ -1,7 +1,7 @@
1;;; ediff-merg.el --- merging utilities 1;;; ediff-merg.el --- merging utilities
2 2
3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 6;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
7 7
diff --git a/lisp/ediff-mult.el b/lisp/ediff-mult.el
index f4ad4f1e612..c24e32a2124 100644
--- a/lisp/ediff-mult.el
+++ b/lisp/ediff-mult.el
@@ -1,7 +1,7 @@
1;;; ediff-mult.el --- support for multi-file/multi-buffer processing in Ediff 1;;; ediff-mult.el --- support for multi-file/multi-buffer processing in Ediff
2 2
3;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 3;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 6;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
7 7
diff --git a/lisp/ediff-ptch.el b/lisp/ediff-ptch.el
index 9379b6127a9..9c5c75d847c 100644
--- a/lisp/ediff-ptch.el
+++ b/lisp/ediff-ptch.el
@@ -1,7 +1,7 @@
1;;; ediff-ptch.el --- Ediff's patch support 1;;; ediff-ptch.el --- Ediff's patch support
2 2
3;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 3;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 6;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
7 7
diff --git a/lisp/ediff-util.el b/lisp/ediff-util.el
index caa927f2113..feb7b69d7b6 100644
--- a/lisp/ediff-util.el
+++ b/lisp/ediff-util.el
@@ -1,7 +1,7 @@
1;;; ediff-util.el --- the core commands and utilities of ediff 1;;; ediff-util.el --- the core commands and utilities of ediff
2 2
3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 6;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
7 7
diff --git a/lisp/ediff-vers.el b/lisp/ediff-vers.el
index f1f2305de81..4c9dc4dd9c8 100644
--- a/lisp/ediff-vers.el
+++ b/lisp/ediff-vers.el
@@ -1,7 +1,7 @@
1;;; ediff-vers.el --- version control interface to Ediff 1;;; ediff-vers.el --- version control interface to Ediff
2 2
3;; Copyright (C) 1995, 1996, 1997, 2002, 2003, 2004, 3;; Copyright (C) 1995, 1996, 1997, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 6;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
7 7
diff --git a/lisp/ediff-wind.el b/lisp/ediff-wind.el
index 9fd9f45ff03..648a80b6156 100644
--- a/lisp/ediff-wind.el
+++ b/lisp/ediff-wind.el
@@ -1,7 +1,7 @@
1;;; ediff-wind.el --- window manipulation utilities 1;;; ediff-wind.el --- window manipulation utilities
2 2
3;; Copyright (C) 1994, 1995, 1996, 1997, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1994, 1995, 1996, 1997, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 6;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
7 7
diff --git a/lisp/ediff.el b/lisp/ediff.el
index 32ca177388e..abb0f22b047 100644
--- a/lisp/ediff.el
+++ b/lisp/ediff.el
@@ -1,7 +1,7 @@
1;;; ediff.el --- a comprehensive visual interface to diff & patch 1;;; ediff.el --- a comprehensive visual interface to diff & patch
2 2
3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 6;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
7;; Created: February 2, 1994 7;; Created: February 2, 1994
diff --git a/lisp/edmacro.el b/lisp/edmacro.el
index 68de4404cb8..86bf29f0381 100644
--- a/lisp/edmacro.el
+++ b/lisp/edmacro.el
@@ -1,7 +1,7 @@
1;;; edmacro.el --- keyboard macro editor 1;;; edmacro.el --- keyboard macro editor
2 2
3;; Copyright (C) 1993, 1994, 2002, 2003, 2004, 3;; Copyright (C) 1993, 1994, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Dave Gillespie <daveg@synaptics.com> 6;; Author: Dave Gillespie <daveg@synaptics.com>
7;; Maintainer: Dave Gillespie <daveg@synaptics.com> 7;; Maintainer: Dave Gillespie <daveg@synaptics.com>
diff --git a/lisp/ehelp.el b/lisp/ehelp.el
index d0dfd8d6bed..376f31f1ca5 100644
--- a/lisp/ehelp.el
+++ b/lisp/ehelp.el
@@ -1,7 +1,7 @@
1;;; ehelp.el --- bindings for electric-help mode 1;;; ehelp.el --- bindings for electric-help mode
2 2
3;; Copyright (C) 1986, 1995, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1986, 1995, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: help, extensions 7;; Keywords: help, extensions
diff --git a/lisp/electric.el b/lisp/electric.el
index 4c4f70b0939..e4506190571 100644
--- a/lisp/electric.el
+++ b/lisp/electric.el
@@ -1,7 +1,7 @@
1;;; electric.el --- window maker and Command loop for `electric' modes 1;;; electric.el --- window maker and Command loop for `electric' modes
2 2
3;; Copyright (C) 1985, 1986, 1995, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1986, 1995, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: K. Shane Hartman 6;; Author: K. Shane Hartman
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/elide-head.el b/lisp/elide-head.el
index 8be40ce17c3..6f14a5275a8 100644
--- a/lisp/elide-head.el
+++ b/lisp/elide-head.el
@@ -1,6 +1,7 @@
1;;; elide-head.el --- hide headers in files 1;;; elide-head.el --- hide headers in files
2 2
3;; Copyright (C) 1999, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1999, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Dave Love <fx@gnu.org> 6;; Author: Dave Love <fx@gnu.org>
6;; Keywords: outlines tools 7;; Keywords: outlines tools
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el
index dc285a717af..486a3b049ae 100644
--- a/lisp/emacs-lisp/advice.el
+++ b/lisp/emacs-lisp/advice.el
@@ -1,7 +1,7 @@
1;;; advice.el --- an overloading mechanism for Emacs Lisp functions 1;;; advice.el --- an overloading mechanism for Emacs Lisp functions
2 2
3;; Copyright (C) 1993, 1994, 2000, 2001, 2004, 3;; Copyright (C) 1993, 1994, 2000, 2001, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Hans Chalupsky <hans@cs.buffalo.edu> 6;; Author: Hans Chalupsky <hans@cs.buffalo.edu>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/emacs-lisp/assoc.el b/lisp/emacs-lisp/assoc.el
index d12b1dcbcb5..f3d0b9efc9b 100644
--- a/lisp/emacs-lisp/assoc.el
+++ b/lisp/emacs-lisp/assoc.el
@@ -1,6 +1,7 @@
1;;; assoc.el --- insert/delete/sort functions on association lists 1;;; assoc.el --- insert/delete/sort functions on association lists
2 2
3;; Copyright (C) 1996, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1996, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Barry A. Warsaw <bwarsaw@cen.com> 6;; Author: Barry A. Warsaw <bwarsaw@cen.com>
6;; Keywords: extensions 7;; Keywords: extensions
diff --git a/lisp/emacs-lisp/authors.el b/lisp/emacs-lisp/authors.el
index 437332baec9..d18567580aa 100644
--- a/lisp/emacs-lisp/authors.el
+++ b/lisp/emacs-lisp/authors.el
@@ -1,6 +1,7 @@
1;;; authors.el --- utility for maintaining Emacs' AUTHORS file -*-coding: iso-2022-7bit;-*- 1;;; authors.el --- utility for maintaining Emacs' AUTHORS file -*-coding: iso-2022-7bit;-*-
2 2
3;; Copyright (C) 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2000, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Gerd Moellmann <gerd@gnu.org> 6;; Author: Gerd Moellmann <gerd@gnu.org>
6;; Maintainer: Kim F. Storm <storm@cua.dk> 7;; Maintainer: Kim F. Storm <storm@cua.dk>
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el
index a6bc4dd9514..d6477b854a1 100644
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -1,7 +1,7 @@
1;; autoload.el --- maintain autoloads in loaddefs.el 1;; autoload.el --- maintain autoloads in loaddefs.el
2 2
3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2001, 2002, 2003, 3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Roland McGrath <roland@gnu.org> 6;; Author: Roland McGrath <roland@gnu.org>
7;; Keywords: maint 7;; Keywords: maint
diff --git a/lisp/emacs-lisp/backquote.el b/lisp/emacs-lisp/backquote.el
index 627c2cfdbc7..c9f2a052b0b 100644
--- a/lisp/emacs-lisp/backquote.el
+++ b/lisp/emacs-lisp/backquote.el
@@ -1,7 +1,7 @@
1;;; backquote.el --- implement the ` Lisp construct 1;;; backquote.el --- implement the ` Lisp construct
2 2
3;; Copyright (C) 1990, 1992, 1994, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1990, 1992, 1994, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Rick Sladkey <jrs@world.std.com> 6;; Author: Rick Sladkey <jrs@world.std.com>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/emacs-lisp/benchmark.el b/lisp/emacs-lisp/benchmark.el
index c2be5a5c3b5..d46c86b623b 100644
--- a/lisp/emacs-lisp/benchmark.el
+++ b/lisp/emacs-lisp/benchmark.el
@@ -1,6 +1,6 @@
1;;; benchmark.el --- support for benchmarking code 1;;; benchmark.el --- support for benchmarking code
2 2
3;; Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Dave Love <fx@gnu.org> 5;; Author: Dave Love <fx@gnu.org>
6;; Keywords: lisp, extensions 6;; Keywords: lisp, extensions
diff --git a/lisp/emacs-lisp/bindat.el b/lisp/emacs-lisp/bindat.el
index f2b1d19a696..455b049dc8a 100644
--- a/lisp/emacs-lisp/bindat.el
+++ b/lisp/emacs-lisp/bindat.el
@@ -1,6 +1,6 @@
1;;; bindat.el --- binary data structure packing and unpacking. 1;;; bindat.el --- binary data structure packing and unpacking.
2 2
3;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Kim F. Storm <storm@cua.dk> 5;; Author: Kim F. Storm <storm@cua.dk>
6;; Assignment name: struct.el 6;; Assignment name: struct.el
diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el
index b46366a94b9..8c3fcffbc7d 100644
--- a/lisp/emacs-lisp/byte-opt.el
+++ b/lisp/emacs-lisp/byte-opt.el
@@ -1,7 +1,7 @@
1;;; byte-opt.el --- the optimization passes of the emacs-lisp byte compiler 1;;; byte-opt.el --- the optimization passes of the emacs-lisp byte compiler
2 2
3;; Copyright (C) 1991, 1994, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1991, 1994, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Jamie Zawinski <jwz@lucid.com> 6;; Author: Jamie Zawinski <jwz@lucid.com>
7;; Hallvard Furuseth <hbf@ulrik.uio.no> 7;; Hallvard Furuseth <hbf@ulrik.uio.no>
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el
index 1ebc8f765fa..ba68b842305 100644
--- a/lisp/emacs-lisp/byte-run.el
+++ b/lisp/emacs-lisp/byte-run.el
@@ -1,6 +1,7 @@
1;;; byte-run.el --- byte-compiler support for inlining 1;;; byte-run.el --- byte-compiler support for inlining
2 2
3;; Copyright (C) 1992, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1992, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Jamie Zawinski <jwz@lucid.com> 6;; Author: Jamie Zawinski <jwz@lucid.com>
6;; Hallvard Furuseth <hbf@ulrik.uio.no> 7;; Hallvard Furuseth <hbf@ulrik.uio.no>
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
index bab50a1c822..bbeea5d703d 100644
--- a/lisp/emacs-lisp/checkdoc.el
+++ b/lisp/emacs-lisp/checkdoc.el
@@ -1,7 +1,7 @@
1;;; checkdoc.el --- check documentation strings for style requirements 1;;; checkdoc.el --- check documentation strings for style requirements
2 2
3;; Copyright (C) 1997, 1998, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1997, 1998, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Eric M. Ludlam <zappo@gnu.org> 6;; Author: Eric M. Ludlam <zappo@gnu.org>
7;; Version: 0.6.2 7;; Version: 0.6.2
diff --git a/lisp/emacs-lisp/cl-compat.el b/lisp/emacs-lisp/cl-compat.el
index 66425576b5f..34f9642fe1f 100644
--- a/lisp/emacs-lisp/cl-compat.el
+++ b/lisp/emacs-lisp/cl-compat.el
@@ -1,6 +1,7 @@
1;;; cl-compat.el --- Common Lisp extensions for GNU Emacs Lisp (compatibility) 1;;; cl-compat.el --- Common Lisp extensions for GNU Emacs Lisp (compatibility)
2 2
3;; Copyright (C) 1993, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1993, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Dave Gillespie <daveg@synaptics.com> 6;; Author: Dave Gillespie <daveg@synaptics.com>
6;; Version: 2.02 7;; Version: 2.02
diff --git a/lisp/emacs-lisp/cl-extra.el b/lisp/emacs-lisp/cl-extra.el
index c5a006912df..2e741408c04 100644
--- a/lisp/emacs-lisp/cl-extra.el
+++ b/lisp/emacs-lisp/cl-extra.el
@@ -1,7 +1,7 @@
1;;; cl-extra.el --- Common Lisp features, part 2 -*-byte-compile-dynamic: t;-*- 1;;; cl-extra.el --- Common Lisp features, part 2 -*-byte-compile-dynamic: t;-*-
2 2
3;; Copyright (C) 1993, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1993, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Dave Gillespie <daveg@synaptics.com> 6;; Author: Dave Gillespie <daveg@synaptics.com>
7;; Keywords: extensions 7;; Keywords: extensions
diff --git a/lisp/emacs-lisp/cl-indent.el b/lisp/emacs-lisp/cl-indent.el
index 2497e02dc62..c3ceb4c2f3a 100644
--- a/lisp/emacs-lisp/cl-indent.el
+++ b/lisp/emacs-lisp/cl-indent.el
@@ -1,7 +1,7 @@
1;;; cl-indent.el --- enhanced lisp-indent mode 1;;; cl-indent.el --- enhanced lisp-indent mode
2 2
3;; Copyright (C) 1987, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1987, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Richard Mlynarik <mly@eddie.mit.edu> 6;; Author: Richard Mlynarik <mly@eddie.mit.edu>
7;; Created: July 1987 7;; Created: July 1987
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index 244029491de..e8590933863 100644
--- a/lisp/emacs-lisp/cl-macs.el
+++ b/lisp/emacs-lisp/cl-macs.el
@@ -1,6 +1,6 @@
1;;; cl-macs.el --- Common Lisp macros -*-byte-compile-dynamic: t;-*- 1;;; cl-macs.el --- Common Lisp macros -*-byte-compile-dynamic: t;-*-
2 2
3;; Copyright (C) 1993, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1993, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Dave Gillespie <daveg@synaptics.com> 5;; Author: Dave Gillespie <daveg@synaptics.com>
6;; Version: 2.02 6;; Version: 2.02
diff --git a/lisp/emacs-lisp/cl-seq.el b/lisp/emacs-lisp/cl-seq.el
index ba7845aaa9c..6b14acd23df 100644
--- a/lisp/emacs-lisp/cl-seq.el
+++ b/lisp/emacs-lisp/cl-seq.el
@@ -1,6 +1,7 @@
1;;; cl-seq.el --- Common Lisp features, part 3 -*-byte-compile-dynamic: t;-*- 1;;; cl-seq.el --- Common Lisp features, part 3 -*-byte-compile-dynamic: t;-*-
2 2
3;; Copyright (C) 1993, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1993, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Dave Gillespie <daveg@synaptics.com> 6;; Author: Dave Gillespie <daveg@synaptics.com>
6;; Version: 2.02 7;; Version: 2.02
diff --git a/lisp/emacs-lisp/cl-specs.el b/lisp/emacs-lisp/cl-specs.el
index 650a341f955..9d3f1f63061 100644
--- a/lisp/emacs-lisp/cl-specs.el
+++ b/lisp/emacs-lisp/cl-specs.el
@@ -1,6 +1,7 @@
1;;; cl-specs.el --- Edebug specs for cl.el -*- no-byte-compile: t -*- 1;;; cl-specs.el --- Edebug specs for cl.el -*- no-byte-compile: t -*-
2 2
3;; Copyright (C) 1993, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1993, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4;; Author: Daniel LaLiberte <liberte@holonexus.org> 5;; Author: Daniel LaLiberte <liberte@holonexus.org>
5;; Keywords: lisp, tools, maint 6;; Keywords: lisp, tools, maint
6 7
diff --git a/lisp/emacs-lisp/cl.el b/lisp/emacs-lisp/cl.el
index b7cf3ad8bcc..222407f86f2 100644
--- a/lisp/emacs-lisp/cl.el
+++ b/lisp/emacs-lisp/cl.el
@@ -1,6 +1,7 @@
1;;; cl.el --- Common Lisp extensions for Emacs -*-byte-compile-dynamic: t;-*- 1;;; cl.el --- Common Lisp extensions for Emacs -*-byte-compile-dynamic: t;-*-
2 2
3;; Copyright (C) 1993, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1993, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Dave Gillespie <daveg@synaptics.com> 6;; Author: Dave Gillespie <daveg@synaptics.com>
6;; Version: 2.02 7;; Version: 2.02
diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el
index ff44b3cb59e..4b5cbe51dd6 100644
--- a/lisp/emacs-lisp/copyright.el
+++ b/lisp/emacs-lisp/copyright.el
@@ -1,7 +1,7 @@
1;;; copyright.el --- update the copyright notice in current buffer 1;;; copyright.el --- update the copyright notice in current buffer
2 2
3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1998, 2001, 2002, 2003, 3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1998, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Daniel Pfeiffer <occitan@esperanto.org> 6;; Author: Daniel Pfeiffer <occitan@esperanto.org>
7;; Keywords: maint, tools 7;; Keywords: maint, tools
diff --git a/lisp/emacs-lisp/crm.el b/lisp/emacs-lisp/crm.el
index 12f0788a0de..5a9787b5ca8 100644
--- a/lisp/emacs-lisp/crm.el
+++ b/lisp/emacs-lisp/crm.el
@@ -1,7 +1,7 @@
1;;; crm.el --- read multiple strings with completion 1;;; crm.el --- read multiple strings with completion
2 2
3;; Copyright (C) 1985, 1986, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3;; Copyright (C) 1985, 1986, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4;; 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2000, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Sen Nagata <sen@eccosys.com> 6;; Author: Sen Nagata <sen@eccosys.com>
7;; Keywords: completion, minibuffer, multiple elements 7;; Keywords: completion, minibuffer, multiple elements
diff --git a/lisp/emacs-lisp/cust-print.el b/lisp/emacs-lisp/cust-print.el
index 102efdae9b9..332ea81932e 100644
--- a/lisp/emacs-lisp/cust-print.el
+++ b/lisp/emacs-lisp/cust-print.el
@@ -1,6 +1,7 @@
1;;; cust-print.el --- handles print-level and print-circle 1;;; cust-print.el --- handles print-level and print-circle
2 2
3;; Copyright (C) 1992, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1992, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Daniel LaLiberte <liberte@holonexus.org> 6;; Author: Daniel LaLiberte <liberte@holonexus.org>
6;; Adapted-By: ESR 7;; Adapted-By: ESR
diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el
index 612abaf7091..0c79a3eae9b 100644
--- a/lisp/emacs-lisp/debug.el
+++ b/lisp/emacs-lisp/debug.el
@@ -1,7 +1,7 @@
1;;; debug.el --- debuggers and related commands for Emacs 1;;; debug.el --- debuggers and related commands for Emacs
2 2
3;; Copyright (C) 1985, 1986, 1994, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1986, 1994, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: lisp, tools, maint 7;; Keywords: lisp, tools, maint
diff --git a/lisp/emacs-lisp/derived.el b/lisp/emacs-lisp/derived.el
index 899c40456e7..10482bd49c4 100644
--- a/lisp/emacs-lisp/derived.el
+++ b/lisp/emacs-lisp/derived.el
@@ -2,7 +2,7 @@
2;; (formerly mode-clone.el) 2;; (formerly mode-clone.el)
3 3
4;; Copyright (C) 1993, 1994, 1999, 2002, 2003, 2004, 4;; Copyright (C) 1993, 1994, 1999, 2002, 2003, 2004,
5;; 2005 Free Software Foundation, Inc. 5;; 2005, 2006 Free Software Foundation, Inc.
6 6
7;; Author: David Megginson (dmeggins@aix1.uottawa.ca) 7;; Author: David Megginson (dmeggins@aix1.uottawa.ca)
8;; Maintainer: FSF 8;; Maintainer: FSF
diff --git a/lisp/emacs-lisp/disass.el b/lisp/emacs-lisp/disass.el
index fa0898f609e..db114e3cdf8 100644
--- a/lisp/emacs-lisp/disass.el
+++ b/lisp/emacs-lisp/disass.el
@@ -1,7 +1,7 @@
1;;; disass.el --- disassembler for compiled Emacs Lisp code 1;;; disass.el --- disassembler for compiled Emacs Lisp code
2 2
3;; Copyright (C) 1986, 1991, 2002, 2003, 2004, 3;; Copyright (C) 1986, 1991, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Doug Cutting <doug@csli.stanford.edu> 6;; Author: Doug Cutting <doug@csli.stanford.edu>
7;; Jamie Zawinski <jwz@lucid.com> 7;; Jamie Zawinski <jwz@lucid.com>
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el
index 9d118cd5351..caac02c2ee3 100644
--- a/lisp/emacs-lisp/easy-mmode.el
+++ b/lisp/emacs-lisp/easy-mmode.el
@@ -1,7 +1,7 @@
1;;; easy-mmode.el --- easy definition for major and minor modes 1;;; easy-mmode.el --- easy definition for major and minor modes
2 2
3;; Copyright (C) 1997, 2000, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1997, 2000, 2001, 2002, 2003, 2004, 2005,
4;; Free Software Foundation, Inc. 4;; 2006 Free Software Foundation, Inc.
5 5
6;; Author: Georges Brun-Cottan <Georges.Brun-Cottan@inria.fr> 6;; Author: Georges Brun-Cottan <Georges.Brun-Cottan@inria.fr>
7;; Maintainer: Stefan Monnier <monnier@gnu.org> 7;; Maintainer: Stefan Monnier <monnier@gnu.org>
diff --git a/lisp/emacs-lisp/easymenu.el b/lisp/emacs-lisp/easymenu.el
index 65826290851..92f5251a8b1 100644
--- a/lisp/emacs-lisp/easymenu.el
+++ b/lisp/emacs-lisp/easymenu.el
@@ -1,7 +1,7 @@
1;;; easymenu.el --- support the easymenu interface for defining a menu 1;;; easymenu.el --- support the easymenu interface for defining a menu
2 2
3;; Copyright (C) 1994, 1996, 1998, 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1994, 1996, 1998, 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Keywords: emulations 6;; Keywords: emulations
7;; Author: Richard Stallman <rms@gnu.org> 7;; Author: Richard Stallman <rms@gnu.org>
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el
index beb88cfea25..49cf4115923 100644
--- a/lisp/emacs-lisp/edebug.el
+++ b/lisp/emacs-lisp/edebug.el
@@ -1,7 +1,7 @@
1;;; edebug.el --- a source-level debugger for Emacs Lisp 1;;; edebug.el --- a source-level debugger for Emacs Lisp
2 2
3;; Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1997, 1999, 3;; Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1997, 1999,
4;; 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Daniel LaLiberte <liberte@holonexus.org> 6;; Author: Daniel LaLiberte <liberte@holonexus.org>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el
index 7712ab5af1c..805184e15de 100644
--- a/lisp/emacs-lisp/eldoc.el
+++ b/lisp/emacs-lisp/eldoc.el
@@ -1,7 +1,7 @@
1;;; eldoc.el --- show function arglist or variable docstring in echo area 1;;; eldoc.el --- show function arglist or variable docstring in echo area
2 2
3;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Noah Friedman <friedman@splode.com> 6;; Author: Noah Friedman <friedman@splode.com>
7;; Maintainer: friedman@splode.com 7;; Maintainer: friedman@splode.com
diff --git a/lisp/emacs-lisp/elint.el b/lisp/emacs-lisp/elint.el
index e72613695e3..85c0026e801 100644
--- a/lisp/emacs-lisp/elint.el
+++ b/lisp/emacs-lisp/elint.el
@@ -1,6 +1,7 @@
1;;; elint.el --- Lint Emacs Lisp 1;;; elint.el --- Lint Emacs Lisp
2 2
3;; Copyright (C) 1997, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1997, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Peter Liljenberg <petli@lysator.liu.se> 6;; Author: Peter Liljenberg <petli@lysator.liu.se>
6;; Created: May 1997 7;; Created: May 1997
diff --git a/lisp/emacs-lisp/elp.el b/lisp/emacs-lisp/elp.el
index 569847a0ea1..da5fd6c760c 100644
--- a/lisp/emacs-lisp/elp.el
+++ b/lisp/emacs-lisp/elp.el
@@ -1,7 +1,7 @@
1;;; elp.el --- Emacs Lisp Profiler 1;;; elp.el --- Emacs Lisp Profiler
2 2
3;; Copyright (C) 1994, 1995, 1997, 1998, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1994, 1995, 1997, 1998, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Barry A. Warsaw 6;; Author: Barry A. Warsaw
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/emacs-lisp/ewoc.el b/lisp/emacs-lisp/ewoc.el
index da9aa09119a..085ae532a63 100644
--- a/lisp/emacs-lisp/ewoc.el
+++ b/lisp/emacs-lisp/ewoc.el
@@ -1,7 +1,7 @@
1;;; ewoc.el --- utility to maintain a view of a list of objects in a buffer 1;;; ewoc.el --- utility to maintain a view of a list of objects in a buffer
2 2
3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4;; 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2000, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Per Cederqvist <ceder@lysator.liu.se> 6;; Author: Per Cederqvist <ceder@lysator.liu.se>
7;; Inge Wallin <inge@lysator.liu.se> 7;; Inge Wallin <inge@lysator.liu.se>
diff --git a/lisp/emacs-lisp/find-func.el b/lisp/emacs-lisp/find-func.el
index f9957a98e68..8776d4522c2 100644
--- a/lisp/emacs-lisp/find-func.el
+++ b/lisp/emacs-lisp/find-func.el
@@ -1,7 +1,7 @@
1;;; find-func.el --- find the definition of the Emacs Lisp function near point 1;;; find-func.el --- find the definition of the Emacs Lisp function near point
2 2
3;; Copyright (C) 1997, 1999, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1997, 1999, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Jens Petersen <petersen@kurims.kyoto-u.ac.jp> 6;; Author: Jens Petersen <petersen@kurims.kyoto-u.ac.jp>
7;; Maintainer: petersen@kurims.kyoto-u.ac.jp 7;; Maintainer: petersen@kurims.kyoto-u.ac.jp
diff --git a/lisp/emacs-lisp/find-gc.el b/lisp/emacs-lisp/find-gc.el
index 29e9dffbbde..dedadfa8c36 100644
--- a/lisp/emacs-lisp/find-gc.el
+++ b/lisp/emacs-lisp/find-gc.el
@@ -1,6 +1,7 @@
1;;; find-gc.el --- detect functions that call the garbage collector 1;;; find-gc.el --- detect functions that call the garbage collector
2 2
3;; Copyright (C) 1992, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1992, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Maintainer: FSF 6;; Maintainer: FSF
6 7
diff --git a/lisp/emacs-lisp/float-sup.el b/lisp/emacs-lisp/float-sup.el
index 1d30d60ea99..fb367d1cac4 100644
--- a/lisp/emacs-lisp/float-sup.el
+++ b/lisp/emacs-lisp/float-sup.el
@@ -1,7 +1,7 @@
1;;; float-sup.el --- define some constants useful for floating point numbers. 1;;; float-sup.el --- define some constants useful for floating point numbers.
2 2
3;; Copyright (C) 1985, 1986, 1987, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1986, 1987, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: internal 7;; Keywords: internal
diff --git a/lisp/emacs-lisp/generic.el b/lisp/emacs-lisp/generic.el
index 3b423f20d88..20df0b7ad6f 100644
--- a/lisp/emacs-lisp/generic.el
+++ b/lisp/emacs-lisp/generic.el
@@ -1,7 +1,7 @@
1;;; generic.el --- defining simple major modes with comment and font-lock 1;;; generic.el --- defining simple major modes with comment and font-lock
2;; 2;;
3;; Copyright (C) 1997, 1999, 2002, 2003, 2004, 3;; Copyright (C) 1997, 1999, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5;; 5;;
6;; Author: Peter Breton <pbreton@cs.umb.edu> 6;; Author: Peter Breton <pbreton@cs.umb.edu>
7;; Created: Fri Sep 27 1996 7;; Created: Fri Sep 27 1996
diff --git a/lisp/emacs-lisp/gulp.el b/lisp/emacs-lisp/gulp.el
index 6e0c4ded4dd..d6b963a7e3d 100644
--- a/lisp/emacs-lisp/gulp.el
+++ b/lisp/emacs-lisp/gulp.el
@@ -1,6 +1,7 @@
1;;; gulp.el --- ask for updates for Lisp packages 1;;; gulp.el --- ask for updates for Lisp packages
2 2
3;; Copyright (C) 1996, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1996, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Sam Shteingold <shteingd@math.ucla.edu> 6;; Author: Sam Shteingold <shteingd@math.ucla.edu>
6;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/emacs-lisp/helper.el b/lisp/emacs-lisp/helper.el
index e97491aa6bb..3b614be26f4 100644
--- a/lisp/emacs-lisp/helper.el
+++ b/lisp/emacs-lisp/helper.el
@@ -1,6 +1,7 @@
1;;; helper.el --- utility help package supporting help in electric modes 1;;; helper.el --- utility help package supporting help in electric modes
2 2
3;; Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1985, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: K. Shane Hartman 6;; Author: K. Shane Hartman
6;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/emacs-lisp/levents.el b/lisp/emacs-lisp/levents.el
index 70961912815..fa747ed3eb4 100644
--- a/lisp/emacs-lisp/levents.el
+++ b/lisp/emacs-lisp/levents.el
@@ -1,7 +1,7 @@
1;;; levents.el --- emulate the Lucid event data type and associated functions 1;;; levents.el --- emulate the Lucid event data type and associated functions
2 2
3;; Copyright (C) 1993, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1993, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: emulations 7;; Keywords: emulations
diff --git a/lisp/emacs-lisp/lisp-mnt.el b/lisp/emacs-lisp/lisp-mnt.el
index 0fd49024beb..d83bf182e7a 100644
--- a/lisp/emacs-lisp/lisp-mnt.el
+++ b/lisp/emacs-lisp/lisp-mnt.el
@@ -1,7 +1,7 @@
1;;; lisp-mnt.el --- utility functions for Emacs Lisp maintainers 1;;; lisp-mnt.el --- utility functions for Emacs Lisp maintainers
2 2
3;; Copyright (C) 1992, 1994, 1997, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1992, 1994, 1997, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Eric S. Raymond <esr@snark.thyrsus.com> 6;; Author: Eric S. Raymond <esr@snark.thyrsus.com>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
index f9b77c58eed..84841aea97b 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -1,7 +1,7 @@
1;;; lisp-mode.el --- Lisp mode, and its idiosyncratic commands 1;;; lisp-mode.el --- Lisp mode, and its idiosyncratic commands
2 2
3;; Copyright (C) 1985, 1986, 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1986, 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: lisp, languages 7;; Keywords: lisp, languages
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el
index 30505c95223..29c70f8c344 100644
--- a/lisp/emacs-lisp/lisp.el
+++ b/lisp/emacs-lisp/lisp.el
@@ -1,7 +1,7 @@
1;;; lisp.el --- Lisp editing commands for Emacs 1;;; lisp.el --- Lisp editing commands for Emacs
2 2
3;; Copyright (C) 1985, 1986, 1994, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1986, 1994, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: lisp, languages 7;; Keywords: lisp, languages
diff --git a/lisp/emacs-lisp/lmenu.el b/lisp/emacs-lisp/lmenu.el
index 68d3a3de9a9..aa87b7fed09 100644
--- a/lisp/emacs-lisp/lmenu.el
+++ b/lisp/emacs-lisp/lmenu.el
@@ -1,7 +1,7 @@
1;;; lmenu.el --- emulate Lucid's menubar support 1;;; lmenu.el --- emulate Lucid's menubar support
2 2
3;; Copyright (C) 1992, 1993, 1994, 1997, 2002, 2003, 2004, 3;; Copyright (C) 1992, 1993, 1994, 1997, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Keywords: emulations obsolete 6;; Keywords: emulations obsolete
7 7
diff --git a/lisp/emacs-lisp/lselect.el b/lisp/emacs-lisp/lselect.el
index d0b333edfe4..1d40d2e8368 100644
--- a/lisp/emacs-lisp/lselect.el
+++ b/lisp/emacs-lisp/lselect.el
@@ -1,7 +1,7 @@
1;;; lselect.el --- Lucid interface to X Selections 1;;; lselect.el --- Lucid interface to X Selections
2 2
3;; Copyright (C) 1990, 1993, 2002, 2003, 2004, 3;; Copyright (C) 1990, 1993, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: emulations 7;; Keywords: emulations
diff --git a/lisp/emacs-lisp/lucid.el b/lisp/emacs-lisp/lucid.el
index f3c9519edf0..81bdd13171e 100644
--- a/lisp/emacs-lisp/lucid.el
+++ b/lisp/emacs-lisp/lucid.el
@@ -1,7 +1,7 @@
1;;; lucid.el --- emulate some Lucid Emacs functions 1;;; lucid.el --- emulate some Lucid Emacs functions
2 2
3;; Copyright (C) 1993, 1995, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1993, 1995, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: emulations 7;; Keywords: emulations
diff --git a/lisp/emacs-lisp/macroexp.el b/lisp/emacs-lisp/macroexp.el
index 98e4f67f630..97a4d8c52c1 100644
--- a/lisp/emacs-lisp/macroexp.el
+++ b/lisp/emacs-lisp/macroexp.el
@@ -1,6 +1,6 @@
1;;; macroexp.el --- Additional macro-expansion support 1;;; macroexp.el --- Additional macro-expansion support
2;; 2;;
3;; Copyright (C) 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
4;; 4;;
5;; Author: Miles Bader <miles@gnu.org> 5;; Author: Miles Bader <miles@gnu.org>
6;; Keywords: lisp, compiler, macros 6;; Keywords: lisp, compiler, macros
diff --git a/lisp/emacs-lisp/map-ynp.el b/lisp/emacs-lisp/map-ynp.el
index 84c7ae58ced..dc966a75cd6 100644
--- a/lisp/emacs-lisp/map-ynp.el
+++ b/lisp/emacs-lisp/map-ynp.el
@@ -1,7 +1,7 @@
1;;; map-ynp.el --- general-purpose boolean question-asker 1;;; map-ynp.el --- general-purpose boolean question-asker
2 2
3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 2000, 2002, 2003, 3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 2000, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Roland McGrath <roland@gnu.org> 6;; Author: Roland McGrath <roland@gnu.org>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/emacs-lisp/pp.el b/lisp/emacs-lisp/pp.el
index 1635aa4bfeb..f30b69ddac0 100644
--- a/lisp/emacs-lisp/pp.el
+++ b/lisp/emacs-lisp/pp.el
@@ -1,7 +1,7 @@
1;;; pp.el --- pretty printer for Emacs Lisp 1;;; pp.el --- pretty printer for Emacs Lisp
2 2
3;; Copyright (C) 1989, 1993, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1989, 1993, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Randal Schwartz <merlyn@stonehenge.com> 6;; Author: Randal Schwartz <merlyn@stonehenge.com>
7;; Keywords: lisp 7;; Keywords: lisp
diff --git a/lisp/emacs-lisp/re-builder.el b/lisp/emacs-lisp/re-builder.el
index 1d1e002cf5f..827578f694c 100644
--- a/lisp/emacs-lisp/re-builder.el
+++ b/lisp/emacs-lisp/re-builder.el
@@ -1,7 +1,7 @@
1;;; re-builder.el --- building Regexps with visual feedback 1;;; re-builder.el --- building Regexps with visual feedback
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Detlev Zundel <dzu@gnu.org> 6;; Author: Detlev Zundel <dzu@gnu.org>
7;; Keywords: matching, lisp, tools 7;; Keywords: matching, lisp, tools
diff --git a/lisp/emacs-lisp/regexp-opt.el b/lisp/emacs-lisp/regexp-opt.el
index da2fdf85f81..52cbc956bc3 100644
--- a/lisp/emacs-lisp/regexp-opt.el
+++ b/lisp/emacs-lisp/regexp-opt.el
@@ -1,7 +1,7 @@
1;;; regexp-opt.el --- generate efficient regexps to match strings 1;;; regexp-opt.el --- generate efficient regexps to match strings
2 2
3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002, 3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002,
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Simon Marshall <simon@gnu.org> 6;; Author: Simon Marshall <simon@gnu.org>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/emacs-lisp/regi.el b/lisp/emacs-lisp/regi.el
index 4326ba37786..06ed2880ee1 100644
--- a/lisp/emacs-lisp/regi.el
+++ b/lisp/emacs-lisp/regi.el
@@ -1,6 +1,7 @@
1;;; regi.el --- REGular expression Interpreting engine 1;;; regi.el --- REGular expression Interpreting engine
2 2
3;; Copyright (C) 1993, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1993, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: 1993 Barry A. Warsaw, Century Computing, Inc. <bwarsaw@cen.com> 6;; Author: 1993 Barry A. Warsaw, Century Computing, Inc. <bwarsaw@cen.com>
6;; Maintainer: bwarsaw@cen.com 7;; Maintainer: bwarsaw@cen.com
diff --git a/lisp/emacs-lisp/ring.el b/lisp/emacs-lisp/ring.el
index f04d98f399d..c5391f94b05 100644
--- a/lisp/emacs-lisp/ring.el
+++ b/lisp/emacs-lisp/ring.el
@@ -1,6 +1,7 @@
1;;; ring.el --- handle rings of items 1;;; ring.el --- handle rings of items
2 2
3;; Copyright (C) 1992, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1992, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Maintainer: FSF 6;; Maintainer: FSF
6;; Keywords: extensions 7;; Keywords: extensions
diff --git a/lisp/emacs-lisp/rx.el b/lisp/emacs-lisp/rx.el
index f526ffae948..763aa97f214 100644
--- a/lisp/emacs-lisp/rx.el
+++ b/lisp/emacs-lisp/rx.el
@@ -1,6 +1,7 @@
1;;; rx.el --- sexp notation for regular expressions 1;;; rx.el --- sexp notation for regular expressions
2 2
3;; Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2001, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Gerd Moellmann <gerd@gnu.org> 6;; Author: Gerd Moellmann <gerd@gnu.org>
6;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/emacs-lisp/shadow.el b/lisp/emacs-lisp/shadow.el
index 9e68fb08967..5a2521ff7cb 100644
--- a/lisp/emacs-lisp/shadow.el
+++ b/lisp/emacs-lisp/shadow.el
@@ -1,6 +1,7 @@
1;;; shadow.el --- locate Emacs Lisp file shadowings 1;;; shadow.el --- locate Emacs Lisp file shadowings
2 2
3;; Copyright (C) 1995, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1995, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Terry Jones <terry@santafe.edu> 6;; Author: Terry Jones <terry@santafe.edu>
6;; Keywords: lisp 7;; Keywords: lisp
diff --git a/lisp/emacs-lisp/sregex.el b/lisp/emacs-lisp/sregex.el
index 7bfa9402836..23145bccc36 100644
--- a/lisp/emacs-lisp/sregex.el
+++ b/lisp/emacs-lisp/sregex.el
@@ -1,7 +1,7 @@
1;;; sregex.el --- symbolic regular expressions 1;;; sregex.el --- symbolic regular expressions
2 2
3;; Copyright (C) 1997, 1998, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1997, 1998, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Bob Glickstein <bobg+sregex@zanshin.com> 6;; Author: Bob Glickstein <bobg+sregex@zanshin.com>
7;; Maintainer: Bob Glickstein <bobg+sregex@zanshin.com> 7;; Maintainer: Bob Glickstein <bobg+sregex@zanshin.com>
diff --git a/lisp/emacs-lisp/syntax.el b/lisp/emacs-lisp/syntax.el
index feccf7939c5..1484c38a403 100644
--- a/lisp/emacs-lisp/syntax.el
+++ b/lisp/emacs-lisp/syntax.el
@@ -1,7 +1,7 @@
1;;; syntax.el --- helper functions to find syntactic context 1;;; syntax.el --- helper functions to find syntactic context
2 2
3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: internal 7;; Keywords: internal
diff --git a/lisp/emacs-lisp/tcover-ses.el b/lisp/emacs-lisp/tcover-ses.el
index e79c42180f4..340096429d1 100644
--- a/lisp/emacs-lisp/tcover-ses.el
+++ b/lisp/emacs-lisp/tcover-ses.el
@@ -1,6 +1,6 @@
1;;;; testcover-ses.el -- Example use of `testcover' to test "SES" 1;;;; testcover-ses.el -- Example use of `testcover' to test "SES"
2 2
3;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Jonathan Yavner <jyavner@engineer.com> 5;; Author: Jonathan Yavner <jyavner@engineer.com>
6;; Maintainer: Jonathan Yavner <jyavner@engineer.com> 6;; Maintainer: Jonathan Yavner <jyavner@engineer.com>
diff --git a/lisp/emacs-lisp/tcover-unsafep.el b/lisp/emacs-lisp/tcover-unsafep.el
index 7f7a8fa57de..7390e6a830d 100644
--- a/lisp/emacs-lisp/tcover-unsafep.el
+++ b/lisp/emacs-lisp/tcover-unsafep.el
@@ -1,6 +1,6 @@
1;;;; testcover-unsafep.el -- Use testcover to test unsafep's code coverage 1;;;; testcover-unsafep.el -- Use testcover to test unsafep's code coverage
2 2
3;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Jonathan Yavner <jyavner@engineer.com> 5;; Author: Jonathan Yavner <jyavner@engineer.com>
6;; Maintainer: Jonathan Yavner <jyavner@engineer.com> 6;; Maintainer: Jonathan Yavner <jyavner@engineer.com>
diff --git a/lisp/emacs-lisp/testcover.el b/lisp/emacs-lisp/testcover.el
index c0afffdf391..4ee83cfdba2 100644
--- a/lisp/emacs-lisp/testcover.el
+++ b/lisp/emacs-lisp/testcover.el
@@ -1,6 +1,6 @@
1;;;; testcover.el -- Visual code-coverage tool 1;;;; testcover.el -- Visual code-coverage tool
2 2
3;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Jonathan Yavner <jyavner@member.fsf.org> 5;; Author: Jonathan Yavner <jyavner@member.fsf.org>
6;; Maintainer: Jonathan Yavner <jyavner@member.fsf.org> 6;; Maintainer: Jonathan Yavner <jyavner@member.fsf.org>
diff --git a/lisp/emacs-lisp/timer.el b/lisp/emacs-lisp/timer.el
index 2aa30220f4f..a98dd60fc21 100644
--- a/lisp/emacs-lisp/timer.el
+++ b/lisp/emacs-lisp/timer.el
@@ -1,6 +1,7 @@
1;;; timer.el --- run a function with args at some time in future 1;;; timer.el --- run a function with args at some time in future
2 2
3;; Copyright (C) 1996, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1996, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Maintainer: FSF 6;; Maintainer: FSF
6 7
diff --git a/lisp/emacs-lisp/tq.el b/lisp/emacs-lisp/tq.el
index 8b1baad6596..a4a22806d09 100644
--- a/lisp/emacs-lisp/tq.el
+++ b/lisp/emacs-lisp/tq.el
@@ -1,7 +1,7 @@
1;;; tq.el --- utility to maintain a transaction queue 1;;; tq.el --- utility to maintain a transaction queue
2 2
3;; Copyright (C) 1985, 1986, 1987, 1992, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1986, 1987, 1992, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Scott Draves <spot@cs.cmu.edu> 6;; Author: Scott Draves <spot@cs.cmu.edu>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/emacs-lisp/trace.el b/lisp/emacs-lisp/trace.el
index cda23f39c04..1ebf1186c2d 100644
--- a/lisp/emacs-lisp/trace.el
+++ b/lisp/emacs-lisp/trace.el
@@ -1,7 +1,7 @@
1;;; trace.el --- tracing facility for Emacs Lisp functions 1;;; trace.el --- tracing facility for Emacs Lisp functions
2 2
3;; Copyright (C) 1993, 1998, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1993, 1998, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Hans Chalupsky <hans@cs.buffalo.edu> 6;; Author: Hans Chalupsky <hans@cs.buffalo.edu>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/emacs-lisp/unsafep.el b/lisp/emacs-lisp/unsafep.el
index 27e079b1dcd..41e98694c71 100644
--- a/lisp/emacs-lisp/unsafep.el
+++ b/lisp/emacs-lisp/unsafep.el
@@ -1,6 +1,6 @@
1;;;; unsafep.el -- Determine whether a Lisp form is safe to evaluate 1;;;; unsafep.el -- Determine whether a Lisp form is safe to evaluate
2 2
3;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Jonathan Yavner <jyavner@member.fsf.org> 5;; Author: Jonathan Yavner <jyavner@member.fsf.org>
6;; Maintainer: Jonathan Yavner <jyavner@member.fsf.org> 6;; Maintainer: Jonathan Yavner <jyavner@member.fsf.org>
diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el
index 61f6b98005e..133c4c42f2a 100644
--- a/lisp/emacs-lisp/warnings.el
+++ b/lisp/emacs-lisp/warnings.el
@@ -1,6 +1,6 @@
1;;; warnings.el --- log and display warnings 1;;; warnings.el --- log and display warnings
2 2
3;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Maintainer: FSF 5;; Maintainer: FSF
6;; Keywords: internal 6;; Keywords: internal
diff --git a/lisp/emacs-lock.el b/lisp/emacs-lock.el
index e94be04213c..7a084adcb6b 100644
--- a/lisp/emacs-lock.el
+++ b/lisp/emacs-lock.el
@@ -1,7 +1,7 @@
1;;; emacs-lock.el --- prevents you from exiting emacs if a buffer is locked 1;;; emacs-lock.el --- prevents you from exiting emacs if a buffer is locked
2 2
3;; Copyright (C) 1994, 1997, 2002, 2003, 2004, 3;; Copyright (C) 1994, 1997, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc 4;; 2005, 2006 Free Software Foundation, Inc
5 5
6;; Author: Tom Wurgler <twurgler@goodyear.com> 6;; Author: Tom Wurgler <twurgler@goodyear.com>
7;; Created: 12/8/94 7;; Created: 12/8/94
diff --git a/lisp/emulation/crisp.el b/lisp/emulation/crisp.el
index 66ff29ecab1..361d1b98d3b 100644
--- a/lisp/emulation/crisp.el
+++ b/lisp/emulation/crisp.el
@@ -1,7 +1,7 @@
1;;; crisp.el --- CRiSP/Brief Emacs emulator 1;;; crisp.el --- CRiSP/Brief Emacs emulator
2 2
3;; Copyright (C) 1997, 1998, 1999, 2002, 2003, 2004, 3;; Copyright (C) 1997, 1998, 1999, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Gary D. Foster <Gary.Foster@Corp.Sun.COM> 6;; Author: Gary D. Foster <Gary.Foster@Corp.Sun.COM>
7;; Keywords: emulations brief crisp 7;; Keywords: emulations brief crisp
diff --git a/lisp/emulation/cua-base.el b/lisp/emulation/cua-base.el
index a65fe0b636c..594e9617501 100644
--- a/lisp/emulation/cua-base.el
+++ b/lisp/emulation/cua-base.el
@@ -1,7 +1,7 @@
1;;; cua-base.el --- emulate CUA key bindings 1;;; cua-base.el --- emulate CUA key bindings
2 2
3;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Kim F. Storm <storm@cua.dk> 6;; Author: Kim F. Storm <storm@cua.dk>
7;; Keywords: keyboard emulation convenience cua 7;; Keywords: keyboard emulation convenience cua
diff --git a/lisp/emulation/cua-gmrk.el b/lisp/emulation/cua-gmrk.el
index c7c5dd3db6d..c3e6727ab65 100644
--- a/lisp/emulation/cua-gmrk.el
+++ b/lisp/emulation/cua-gmrk.el
@@ -1,7 +1,7 @@
1;;; cua-gmrk.el --- CUA unified global mark support 1;;; cua-gmrk.el --- CUA unified global mark support
2 2
3;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Kim F. Storm <storm@cua.dk> 6;; Author: Kim F. Storm <storm@cua.dk>
7;; Keywords: keyboard emulations convenience cua mark 7;; Keywords: keyboard emulations convenience cua mark
diff --git a/lisp/emulation/cua-rect.el b/lisp/emulation/cua-rect.el
index aa82e148aff..120866e7925 100644
--- a/lisp/emulation/cua-rect.el
+++ b/lisp/emulation/cua-rect.el
@@ -1,7 +1,7 @@
1;;; cua-rect.el --- CUA unified rectangle support 1;;; cua-rect.el --- CUA unified rectangle support
2 2
3;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Kim F. Storm <storm@cua.dk> 6;; Author: Kim F. Storm <storm@cua.dk>
7;; Keywords: keyboard emulations convenience CUA 7;; Keywords: keyboard emulations convenience CUA
diff --git a/lisp/emulation/edt-lk201.el b/lisp/emulation/edt-lk201.el
index 4db235c60fa..17308c132e0 100644
--- a/lisp/emulation/edt-lk201.el
+++ b/lisp/emulation/edt-lk201.el
@@ -1,7 +1,7 @@
1;;; edt-lk201.el --- enhanced EDT keypad mode emulation for LK-201 keyboards 1;;; edt-lk201.el --- enhanced EDT keypad mode emulation for LK-201 keyboards
2 2
3;; Copyright (C) 1986, 1992, 1993, 1995, 2002, 2003, 2004, 3;; Copyright (C) 1986, 1992, 1993, 1995, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Kevin Gallagher <kevingal@onramp.net> 6;; Author: Kevin Gallagher <kevingal@onramp.net>
7;; Maintainer: Kevin Gallagher <kevingal@onramp.net> 7;; Maintainer: Kevin Gallagher <kevingal@onramp.net>
diff --git a/lisp/emulation/edt-mapper.el b/lisp/emulation/edt-mapper.el
index 9334c74392b..14838987d1d 100644
--- a/lisp/emulation/edt-mapper.el
+++ b/lisp/emulation/edt-mapper.el
@@ -1,7 +1,7 @@
1;;; edt-mapper.el --- create an EDT LK-201 map file for X-Windows Emacs 1;;; edt-mapper.el --- create an EDT LK-201 map file for X-Windows Emacs
2 2
3;; Copyright (C) 1994, 1995, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1994, 1995, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Kevin Gallagher <kevingal@onramp.net> 6;; Author: Kevin Gallagher <kevingal@onramp.net>
7;; Maintainer: Kevin Gallagher <kevingal@onramp.net> 7;; Maintainer: Kevin Gallagher <kevingal@onramp.net>
diff --git a/lisp/emulation/edt-pc.el b/lisp/emulation/edt-pc.el
index 419f6549ba6..6f393197281 100644
--- a/lisp/emulation/edt-pc.el
+++ b/lisp/emulation/edt-pc.el
@@ -1,7 +1,7 @@
1;;; edt-pc.el --- enhanced EDT keypad mode emulation for PC 101 keyboards 1;;; edt-pc.el --- enhanced EDT keypad mode emulation for PC 101 keyboards
2 2
3;; Copyright (C) 1986, 1994, 1995, 2002, 2003, 2004, 3;; Copyright (C) 1986, 1994, 1995, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Kevin Gallagher <kevingal@onramp.net> 6;; Author: Kevin Gallagher <kevingal@onramp.net>
7;; Maintainer: Kevin Gallagher <kevingal@onramp.net> 7;; Maintainer: Kevin Gallagher <kevingal@onramp.net>
diff --git a/lisp/emulation/edt-vt100.el b/lisp/emulation/edt-vt100.el
index cd9a065acf8..b4599cdb2cd 100644
--- a/lisp/emulation/edt-vt100.el
+++ b/lisp/emulation/edt-vt100.el
@@ -1,7 +1,7 @@
1;;; edt-vt100.el --- enhanced EDT keypad mode emulation for VT series terminals 1;;; edt-vt100.el --- enhanced EDT keypad mode emulation for VT series terminals
2 2
3;; Copyright (C) 1986, 1992, 1993, 1995, 2002, 2003, 2004, 3;; Copyright (C) 1986, 1992, 1993, 1995, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Kevin Gallagher <kevingal@onramp.net> 6;; Author: Kevin Gallagher <kevingal@onramp.net>
7;; Maintainer: Kevin Gallagher <kevingal@onramp.net> 7;; Maintainer: Kevin Gallagher <kevingal@onramp.net>
diff --git a/lisp/emulation/edt.el b/lisp/emulation/edt.el
index 8d5071be314..ae131dc50e9 100644
--- a/lisp/emulation/edt.el
+++ b/lisp/emulation/edt.el
@@ -1,7 +1,7 @@
1;;; edt.el --- enhanced EDT keypad mode emulation for GNU Emacs 19 1;;; edt.el --- enhanced EDT keypad mode emulation for GNU Emacs 19
2 2
3;; Copyright (C) 1986, 1992, 1993, 1994, 1995, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1986, 1992, 1993, 1994, 1995, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Kevin Gallagher <kevingal@onramp.net> 6;; Author: Kevin Gallagher <kevingal@onramp.net>
7;; Maintainer: Kevin Gallagher <kevingal@onramp.net> 7;; Maintainer: Kevin Gallagher <kevingal@onramp.net>
diff --git a/lisp/emulation/keypad.el b/lisp/emulation/keypad.el
index a42edaa78a1..5009ae86d65 100644
--- a/lisp/emulation/keypad.el
+++ b/lisp/emulation/keypad.el
@@ -1,6 +1,7 @@
1;;; keypad.el --- simplified keypad bindings 1;;; keypad.el --- simplified keypad bindings
2 2
3;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Kim F. Storm <storm@cua.dk> 6;; Author: Kim F. Storm <storm@cua.dk>
6;; Keywords: keyboard convenience 7;; Keywords: keyboard convenience
diff --git a/lisp/emulation/pc-mode.el b/lisp/emulation/pc-mode.el
index 1ec66664b6a..e2b0d36f0f4 100644
--- a/lisp/emulation/pc-mode.el
+++ b/lisp/emulation/pc-mode.el
@@ -1,6 +1,7 @@
1;;; pc-mode.el --- emulate certain key bindings used on PCs 1;;; pc-mode.el --- emulate certain key bindings used on PCs
2 2
3;; Copyright (C) 1995, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1995, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Maintainer: FSF 6;; Maintainer: FSF
6;; Keywords: emulations 7;; Keywords: emulations
diff --git a/lisp/emulation/pc-select.el b/lisp/emulation/pc-select.el
index 9b9f4d51b41..bc048fd46d1 100644
--- a/lisp/emulation/pc-select.el
+++ b/lisp/emulation/pc-select.el
@@ -3,7 +3,7 @@
3;;; including key bindings. 3;;; including key bindings.
4 4
5;; Copyright (C) 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004, 5;; Copyright (C) 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004,
6;; 2005 Free Software Foundation, Inc. 6;; 2005, 2006 Free Software Foundation, Inc.
7 7
8;; Author: Michael Staats <michael@thp.Uni-Duisburg.DE> 8;; Author: Michael Staats <michael@thp.Uni-Duisburg.DE>
9;; Keywords: convenience emulation 9;; Keywords: convenience emulation
diff --git a/lisp/emulation/tpu-edt.el b/lisp/emulation/tpu-edt.el
index eca6e5c74ce..878ac56ac8d 100644
--- a/lisp/emulation/tpu-edt.el
+++ b/lisp/emulation/tpu-edt.el
@@ -1,7 +1,7 @@
1;;; tpu-edt.el --- Emacs emulating TPU emulating EDT 1;;; tpu-edt.el --- Emacs emulating TPU emulating EDT
2 2
3;; Copyright (C) 1993, 1994, 1995, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1993, 1994, 1995, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Rob Riepel <riepel@networking.stanford.edu> 6;; Author: Rob Riepel <riepel@networking.stanford.edu>
7;; Maintainer: Rob Riepel <riepel@networking.stanford.edu> 7;; Maintainer: Rob Riepel <riepel@networking.stanford.edu>
diff --git a/lisp/emulation/tpu-extras.el b/lisp/emulation/tpu-extras.el
index c48aa974762..2aed6f464d5 100644
--- a/lisp/emulation/tpu-extras.el
+++ b/lisp/emulation/tpu-extras.el
@@ -1,7 +1,7 @@
1;;; tpu-extras.el --- scroll margins and free cursor mode for TPU-edt 1;;; tpu-extras.el --- scroll margins and free cursor mode for TPU-edt
2 2
3;; Copyright (C) 1993, 1994, 1995, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1993, 1994, 1995, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Rob Riepel <riepel@networking.stanford.edu> 6;; Author: Rob Riepel <riepel@networking.stanford.edu>
7;; Maintainer: Rob Riepel <riepel@networking.stanford.edu> 7;; Maintainer: Rob Riepel <riepel@networking.stanford.edu>
diff --git a/lisp/emulation/tpu-mapper.el b/lisp/emulation/tpu-mapper.el
index e21a85db2af..eb71542e811 100644
--- a/lisp/emulation/tpu-mapper.el
+++ b/lisp/emulation/tpu-mapper.el
@@ -1,7 +1,7 @@
1;;; tpu-mapper.el --- create a TPU-edt X-windows keymap file 1;;; tpu-mapper.el --- create a TPU-edt X-windows keymap file
2 2
3;; Copyright (C) 1993, 1994, 1995, 2002, 2003, 2004, 3;; Copyright (C) 1993, 1994, 1995, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Rob Riepel <riepel@networking.stanford.edu> 6;; Author: Rob Riepel <riepel@networking.stanford.edu>
7;; Maintainer: Rob Riepel <riepel@networking.stanford.edu> 7;; Maintainer: Rob Riepel <riepel@networking.stanford.edu>
diff --git a/lisp/emulation/vip.el b/lisp/emulation/vip.el
index b07c634d9b4..227fe88b1a1 100644
--- a/lisp/emulation/vip.el
+++ b/lisp/emulation/vip.el
@@ -1,7 +1,7 @@
1;;; vip.el --- a VI Package for GNU Emacs 1;;; vip.el --- a VI Package for GNU Emacs
2 2
3;; Copyright (C) 1986, 1987, 1988, 1992, 1993, 1998, 2002, 2003, 2004, 3;; Copyright (C) 1986, 1987, 1988, 1992, 1993, 1998, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Masahiko Sato <ms@sail.stanford.edu> 6;; Author: Masahiko Sato <ms@sail.stanford.edu>
7;; Keywords: emulations 7;; Keywords: emulations
diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el
index 08ebbbcc9d0..db82952a6ef 100644
--- a/lisp/emulation/viper-cmd.el
+++ b/lisp/emulation/viper-cmd.el
@@ -1,7 +1,7 @@
1;;; viper-cmd.el --- Vi command support for Viper 1;;; viper-cmd.el --- Vi command support for Viper
2 2
3;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 6;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
7 7
diff --git a/lisp/emulation/viper-ex.el b/lisp/emulation/viper-ex.el
index 5321228fe29..e2824246fad 100644
--- a/lisp/emulation/viper-ex.el
+++ b/lisp/emulation/viper-ex.el
@@ -1,7 +1,7 @@
1;;; viper-ex.el --- functions implementing the Ex commands for Viper 1;;; viper-ex.el --- functions implementing the Ex commands for Viper
2 2
3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 6;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
7 7
diff --git a/lisp/emulation/viper-init.el b/lisp/emulation/viper-init.el
index 33713e8a869..59a78e46dee 100644
--- a/lisp/emulation/viper-init.el
+++ b/lisp/emulation/viper-init.el
@@ -1,7 +1,7 @@
1;;; viper-init.el --- some common definitions for Viper 1;;; viper-init.el --- some common definitions for Viper
2 2
3;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 6;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
7 7
diff --git a/lisp/emulation/viper-keym.el b/lisp/emulation/viper-keym.el
index c8a5d53b504..6f9ade2f9e4 100644
--- a/lisp/emulation/viper-keym.el
+++ b/lisp/emulation/viper-keym.el
@@ -1,7 +1,7 @@
1;;; viper-keym.el --- Viper keymaps 1;;; viper-keym.el --- Viper keymaps
2 2
3;; Copyright (C) 1994, 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1994, 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 6;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
7 7
diff --git a/lisp/emulation/viper-macs.el b/lisp/emulation/viper-macs.el
index d401c148ad6..1cd1ce1f627 100644
--- a/lisp/emulation/viper-macs.el
+++ b/lisp/emulation/viper-macs.el
@@ -1,7 +1,7 @@
1;;; viper-macs.el --- functions implementing keyboard macros for Viper 1;;; viper-macs.el --- functions implementing keyboard macros for Viper
2 2
3;; Copyright (C) 1994, 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1994, 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 6;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
7 7
diff --git a/lisp/emulation/viper-mous.el b/lisp/emulation/viper-mous.el
index 084d70050a2..7670e3226db 100644
--- a/lisp/emulation/viper-mous.el
+++ b/lisp/emulation/viper-mous.el
@@ -1,7 +1,7 @@
1;;; viper-mous.el --- mouse support for Viper 1;;; viper-mous.el --- mouse support for Viper
2 2
3;; Copyright (C) 1994, 1995, 1996, 1997, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1994, 1995, 1996, 1997, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 6;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
7 7
diff --git a/lisp/emulation/viper-util.el b/lisp/emulation/viper-util.el
index def90669885..8f79c0dab4a 100644
--- a/lisp/emulation/viper-util.el
+++ b/lisp/emulation/viper-util.el
@@ -1,7 +1,7 @@
1;;; viper-util.el --- Utilities used by viper.el 1;;; viper-util.el --- Utilities used by viper.el
2 2
3;; Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 6;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
7 7
diff --git a/lisp/emulation/viper.el b/lisp/emulation/viper.el
index ad366135ff1..223cff3dd99 100644
--- a/lisp/emulation/viper.el
+++ b/lisp/emulation/viper.el
@@ -4,7 +4,7 @@
4;; Viper Is also a Package for Emacs Rebels. 4;; Viper Is also a Package for Emacs Rebels.
5 5
6;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 6;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
7;; 2003, 2004, 2005 Free Software Foundation, Inc. 7;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8 8
9;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 9;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
10;; Keywords: emulations 10;; Keywords: emulations
diff --git a/lisp/emulation/ws-mode.el b/lisp/emulation/ws-mode.el
index e677e5a20ff..0230d6e118a 100644
--- a/lisp/emulation/ws-mode.el
+++ b/lisp/emulation/ws-mode.el
@@ -1,6 +1,7 @@
1;;; ws-mode.el --- WordStar emulation mode for GNU Emacs 1;;; ws-mode.el --- WordStar emulation mode for GNU Emacs
2 2
3;; Copyright (C) 1991, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1991, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Juergen Nickelsen <nickel@cs.tu-berlin.de> 6;; Author: Juergen Nickelsen <nickel@cs.tu-berlin.de>
6;; Version: 0.7 7;; Version: 0.7
diff --git a/lisp/env.el b/lisp/env.el
index 54bd0cdfb33..22a86f13f3d 100644
--- a/lisp/env.el
+++ b/lisp/env.el
@@ -1,7 +1,7 @@
1;;; env.el --- functions to manipulate environment variables 1;;; env.el --- functions to manipulate environment variables
2 2
3;; Copyright (C) 1991, 1994, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1991, 1994, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: processes, unix 7;; Keywords: processes, unix
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog
index 9646318e758..50b37eb044f 100644
--- a/lisp/erc/ChangeLog
+++ b/lisp/erc/ChangeLog
@@ -1,3 +1,37 @@
12006-02-07 Michael Olson <mwolson@gnu.org>
2
3 * ChangeLog.01, ChangeLog.02, ChangeLog.03, ChangeLog.04,
4 ChangeLog.05: Rename from ChangeLog.NNNN in order to disambiguate
5 the filenames in DOS.
6
7 * erc-goodies.el: Comment fix.
8
9 * erc-hecomplete.el: Rename from erc-complete.el. Update
10 commentary. Use define-erc-module so that it's possible to
11 actually use this.
12 (erc-hecomplete): Rename function from `erc-complete'.
13 (erc-hecomplete): Rename group from `erc-old-complete'. Docfix.
14
15 * erc-join.el: Rename from erc-autojoin.el.
16
17 * erc-networks.el: Rename from erc-nets.el.
18
19 * erc-services.el: Rename from erc-nickserv.el.
20
21 * erc-stamp.el (erc-insert-aligned): Don't take 3rd argument. Use
22 the simpler `indent-to' function when
23 `erc-timestamp-right-align-by-pixel' is nil.
24 (erc-insert-timestamp-right): If the timestamp goes on the
25 following line, don't add timestamp properties to the spaces in
26 front of it.
27
28 * erc.el (erc-migrate-modules): New function that eases migration
29 of module names.
30 (erc-modules): Call erc-migrate-modules in the :get accessor.
31 (erc-modules, erc-update-modules): Update for new modules names.
32 (erc-cmd-SMV): Remove, since this does not give useful output due
33 to the version strings being removed from ERC modules.
34
12006-02-05 Michael Olson <mwolson@gnu.org> 352006-02-05 Michael Olson <mwolson@gnu.org>
2 36
3 * erc-spelling.el (erc-spelling-init): If 37 * erc-spelling.el (erc-spelling-init): If
@@ -393,7 +427,7 @@
393 where global-mode-string is not a list. Emacs22 permits this. 427 where global-mode-string is not a list. Emacs22 permits this.
394 428
395 429
396See ChangeLog.2005 for earlier changes. 430See ChangeLog.05 for earlier changes.
397 431
398 Copyright (C) 2006 Free Software Foundation, Inc. 432 Copyright (C) 2006 Free Software Foundation, Inc.
399 Copying and distribution of this file, with or without modification, 433 Copying and distribution of this file, with or without modification,
diff --git a/lisp/erc/ChangeLog.2001 b/lisp/erc/ChangeLog.01
index 20a03801477..20a03801477 100644
--- a/lisp/erc/ChangeLog.2001
+++ b/lisp/erc/ChangeLog.01
diff --git a/lisp/erc/ChangeLog.2002 b/lisp/erc/ChangeLog.02
index 81b3169e98c..006ac0c1415 100644
--- a/lisp/erc/ChangeLog.2002
+++ b/lisp/erc/ChangeLog.02
@@ -2594,7 +2594,7 @@
2594 Default it is used for URLs, but other things could be added. 2594 Default it is used for URLs, but other things could be added.
2595 see if you can find another use, erc-button-alist 2595 see if you can find another use, erc-button-alist
2596 2596
2597See ChangeLog.2001 for earlier changes. 2597See ChangeLog.01 for earlier changes.
2598 2598
2599 Copyright (C) 2002 Free Software Foundation, Inc. 2599 Copyright (C) 2002 Free Software Foundation, Inc.
2600 Copying and distribution of this file, with or without modification, 2600 Copying and distribution of this file, with or without modification,
diff --git a/lisp/erc/ChangeLog.2003 b/lisp/erc/ChangeLog.03
index 6d650c9e150..6f55258c04e 100644
--- a/lisp/erc/ChangeLog.2003
+++ b/lisp/erc/ChangeLog.03
@@ -2138,7 +2138,7 @@
2138 behavior - if you think this was the wrong decision, please correct it and 2138 behavior - if you think this was the wrong decision, please correct it and
2139 I'll remember it for next time. 2139 I'll remember it for next time.
2140 2140
2141See ChangeLog.2002 for earlier changes. 2141See ChangeLog.02 for earlier changes.
2142 2142
2143 Copyright (C) 2003 Free Software Foundation, Inc. 2143 Copyright (C) 2003 Free Software Foundation, Inc.
2144 Copying and distribution of this file, with or without modification, 2144 Copying and distribution of this file, with or without modification,
diff --git a/lisp/erc/ChangeLog.2004 b/lisp/erc/ChangeLog.04
index fd5e0aff795..3ab41db65b4 100644
--- a/lisp/erc/ChangeLog.2004
+++ b/lisp/erc/ChangeLog.04
@@ -2067,7 +2067,7 @@
2067 2067
2068 * erc-list.el: Added variable erc-chanlist-mode-hook. 2068 * erc-list.el: Added variable erc-chanlist-mode-hook.
2069 2069
2070See ChangeLog.2003 for earlier changes. 2070See ChangeLog.03 for earlier changes.
2071 2071
2072 Copyright (C) 2004 Free Software Foundation, Inc. 2072 Copyright (C) 2004 Free Software Foundation, Inc.
2073 Copying and distribution of this file, with or without modification, 2073 Copying and distribution of this file, with or without modification,
diff --git a/lisp/erc/ChangeLog.2005 b/lisp/erc/ChangeLog.05
index 09dc245d13c..8fa725459e2 100644
--- a/lisp/erc/ChangeLog.2005
+++ b/lisp/erc/ChangeLog.05
@@ -1215,7 +1215,7 @@
1215 bug where emacs would get stuck in a loop when \C-g was in a 1215 bug where emacs would get stuck in a loop when \C-g was in a
1216 message and `erc-beep-p' was set to nil (default setting). 1216 message and `erc-beep-p' was set to nil (default setting).
1217 1217
1218See ChangeLog.2004 for earlier changes. 1218See ChangeLog.04 for earlier changes.
1219 1219
1220 Copyright (C) 2005 Free Software Foundation, Inc. 1220 Copyright (C) 2005 Free Software Foundation, Inc.
1221 Copying and distribution of this file, with or without modification, 1221 Copying and distribution of this file, with or without modification,
diff --git a/lisp/erc/erc-complete.el b/lisp/erc/erc-hecomplete.el
index dd0130156f9..763d75c8fc7 100644
--- a/lisp/erc/erc-complete.el
+++ b/lisp/erc/erc-hecomplete.el
@@ -1,4 +1,4 @@
1;;; erc-complete.el --- Provides Nick name completion for ERC 1;;; erc-hecomplete.el --- Provides Nick name completion for ERC
2 2
3;; Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc. 3;; Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
4 4
@@ -24,12 +24,11 @@
24 24
25;;; Commentary: 25;;; Commentary:
26 26
27;; This file is obsolete. Use completion from erc-pcomplete instead. 27;; This file is considered obsolete. It is recommended to use
28;; This file is based on hippie-expand, while the new file is based on 28;; completion from erc-pcomplete instead.
29;; pcomplete. There is no autoload cookie in this file. If you want
30;; to use the code in this file, add the following to your ~/.emacs:
31 29
32;; (autoload 'erc-complete "erc-complete" "Complete nick at point." t) 30;; This file is based on hippie-expand, while the new file is based on
31;; pcomplete.
33 32
34;;; Code: 33;;; Code:
35 34
@@ -37,8 +36,13 @@
37(require 'erc-match); for erc-pals 36(require 'erc-match); for erc-pals
38(require 'hippie-exp); for the hippie expand stuff 37(require 'hippie-exp); for the hippie expand stuff
39 38
40;;;###autoload 39;;;###autoload (autoload 'erc-hecomplete-mode "erc-hecomplete" nil t)
41(defun erc-complete () 40(define-erc-module hecomplete nil
41 "Complete nick at point."
42 ((add-hook 'erc-complete-functions 'erc-hecomplete))
43 ((remove-hook 'erc-complete-functions 'erc-hecomplete)))
44
45(defun erc-hecomplete ()
42 "Complete nick at point. 46 "Complete nick at point.
43See `erc-try-complete-nick' for more technical info. 47See `erc-try-complete-nick' for more technical info.
44This function is obsolete, use `erc-pcomplete' instead." 48This function is obsolete, use `erc-pcomplete' instead."
@@ -46,8 +50,8 @@ This function is obsolete, use `erc-pcomplete' instead."
46 (let ((hippie-expand-try-functions-list '(erc-try-complete-nick))) 50 (let ((hippie-expand-try-functions-list '(erc-try-complete-nick)))
47 (hippie-expand nil))) 51 (hippie-expand nil)))
48 52
49(defgroup erc-old-complete nil 53(defgroup erc-hecomplete nil
50 "Nick completion. Obsolete, use erc-pcomplete instead." 54 "Nick completion. It is recommended to use erc-pcomplete instead."
51 :group 'erc) 55 :group 'erc)
52 56
53(defcustom erc-nick-completion 'all 57(defcustom erc-nick-completion 'all
@@ -67,14 +71,14 @@ or you may use an arbitrary lisp expression."
67 (repeat :tag "List" (string :tag "Nick")) 71 (repeat :tag "List" (string :tag "Nick"))
68 function 72 function
69 sexp) 73 sexp)
70 :group 'erc-old-complete) 74 :group 'erc-hecomplete)
71 75
72(defcustom erc-nick-completion-ignore-case t 76(defcustom erc-nick-completion-ignore-case t
73 "*Non-nil means don't consider case significant in nick completion. 77 "*Non-nil means don't consider case significant in nick completion.
74Case will be automatically corrected when non-nil. 78Case will be automatically corrected when non-nil.
75For instance if you type \"dely TAB\" the word completes and changes to 79For instance if you type \"dely TAB\" the word completes and changes to
76\"delYsid\"." 80\"delYsid\"."
77 :group 'erc-old-complete 81 :group 'erc-hecomplete
78 :type 'boolean) 82 :type 'boolean)
79 83
80(defun erc-nick-completion-exclude-myself () 84(defun erc-nick-completion-exclude-myself ()
@@ -91,7 +95,7 @@ typing \"f o TAB\" will directly give you foobar. Use this with
91(defcustom erc-nick-completion-postfix ": " 95(defcustom erc-nick-completion-postfix ": "
92 "*When `erc-complete' is used in the first word after the prompt, 96 "*When `erc-complete' is used in the first word after the prompt,
93add this string when a unique expansion was found." 97add this string when a unique expansion was found."
94 :group 'erc-old-complete 98 :group 'erc-hecomplete
95 :type 'string) 99 :type 'string)
96 100
97(defun erc-command-list () 101(defun erc-command-list ()
@@ -209,9 +213,9 @@ Window configurations are stored in
209 "Returns t if point is directly after `erc-prompt' when doing completion." 213 "Returns t if point is directly after `erc-prompt' when doing completion."
210 (erc-at-beginning-of-line-p (he-dabbrev-beg))) 214 (erc-at-beginning-of-line-p (he-dabbrev-beg)))
211 215
212(provide 'erc-complete) 216(provide 'erc-hecomplete)
213 217
214;;; erc-complete.el ends here 218;;; erc-hecomplete.el ends here
215;; 219;;
216;; Local Variables: 220;; Local Variables:
217;; indent-tabs-mode: t 221;; indent-tabs-mode: t
diff --git a/lisp/erc/erc-autojoin.el b/lisp/erc/erc-join.el
index 06b1547b327..da41ea77374 100644
--- a/lisp/erc/erc-autojoin.el
+++ b/lisp/erc/erc-join.el
@@ -1,4 +1,4 @@
1;;; erc-autojoin.el --- autojoin channels on connect and reconnects 1;;; erc-join.el --- autojoin channels on connect and reconnects
2 2
3;; Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. 3;; Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
4 4
@@ -40,7 +40,7 @@
40 "Enable autojoining." 40 "Enable autojoining."
41 :group 'erc) 41 :group 'erc)
42 42
43;;;###autoload (autoload 'erc-autojoin-mode "erc-autojoin" nil t) 43;;;###autoload (autoload 'erc-autojoin-mode "erc-join" nil t)
44(define-erc-module autojoin nil 44(define-erc-module autojoin nil
45 "Makes ERC autojoin on connects and reconnects." 45 "Makes ERC autojoin on connects and reconnects."
46 ((add-hook 'erc-after-connect 'erc-autojoin-channels) 46 ((add-hook 'erc-after-connect 'erc-autojoin-channels)
@@ -127,9 +127,9 @@ servers, presumably in the same domain."
127 ;; functions. 127 ;; functions.
128 nil) 128 nil)
129 129
130(provide 'erc-autojoin) 130(provide 'erc-join)
131 131
132;;; erc-autojoin.el ends here 132;;; erc-join.el ends here
133;; 133;;
134;; Local Variables: 134;; Local Variables:
135;; indent-tabs-mode: t 135;; indent-tabs-mode: t
diff --git a/lisp/erc/erc-list.el b/lisp/erc/erc-list.el
index 785e4d19750..9bc561523d9 100644
--- a/lisp/erc/erc-list.el
+++ b/lisp/erc/erc-list.el
@@ -32,7 +32,7 @@
32;;; Code: 32;;; Code:
33 33
34(require 'erc) 34(require 'erc)
35(require 'erc-nets) 35(require 'erc-networks)
36(require 'sort) 36(require 'sort)
37(unless (fboundp 'make-overlay) 37(unless (fboundp 'make-overlay)
38 (require 'overlay)) 38 (require 'overlay))
diff --git a/lisp/erc/erc-nets.el b/lisp/erc/erc-networks.el
index 716a42996d5..b79a56a359c 100644
--- a/lisp/erc/erc-nets.el
+++ b/lisp/erc/erc-networks.el
@@ -1,4 +1,4 @@
1;;; erc-nets.el --- IRC networks 1;;; erc-networks.el --- IRC networks
2 2
3;; Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
4 4
@@ -30,7 +30,7 @@
30;; 30;;
31;; Put into your .emacs: 31;; Put into your .emacs:
32;; 32;;
33;; (require 'erc-nets) 33;; (require 'erc-networks)
34;; 34;;
35;; M-x erc-server-select provides an alternative way to connect to servers by 35;; M-x erc-server-select provides an alternative way to connect to servers by
36;; choosing networks. 36;; choosing networks.
@@ -742,7 +742,7 @@ network as a symbol."
742 (intern (downcase (symbol-name erc-network))))) 742 (intern (downcase (symbol-name erc-network)))))
743 743
744(erc-make-obsolete 'erc-current-network 'erc-network 744(erc-make-obsolete 'erc-current-network 'erc-network
745 "Obsolete since erc-nets 1.5") 745 "Obsolete since erc-networks 1.5")
746 746
747(defun erc-network-name () 747(defun erc-network-name ()
748 "Returns the name of the current network as a string." 748 "Returns the name of the current network as a string."
@@ -848,10 +848,9 @@ VALUE is the options value.")
848 848
849(erc-get 'pals 'freenode) 849(erc-get 'pals 'freenode)
850 850
851(provide 'erc-networks)
851 852
852(provide 'erc-nets) 853;;; erc-networks.el ends here
853
854;;; erc-nets.el ends here
855;; 854;;
856;; Local Variables: 855;; Local Variables:
857;; indent-tabs-mode: t 856;; indent-tabs-mode: t
diff --git a/lisp/erc/erc-notify.el b/lisp/erc/erc-notify.el
index 9fc7f572977..1d2bdbd5f45 100644
--- a/lisp/erc/erc-notify.el
+++ b/lisp/erc/erc-notify.el
@@ -30,7 +30,7 @@
30;;; Code: 30;;; Code:
31 31
32(require 'erc) 32(require 'erc)
33(require 'erc-nets) 33(require 'erc-networks)
34(eval-when-compile 34(eval-when-compile
35 (require 'cl) 35 (require 'cl)
36 (require 'pcomplete)) 36 (require 'pcomplete))
diff --git a/lisp/erc/erc-nickserv.el b/lisp/erc/erc-services.el
index be5541d3b5c..676948752fd 100644
--- a/lisp/erc/erc-nickserv.el
+++ b/lisp/erc/erc-services.el
@@ -1,4 +1,4 @@
1;;; erc-nickserv.el --- Identify to NickServ 1;;; erc-services.el --- Identify to NickServ
2 2
3;; Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. 3;; Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
4 4
@@ -37,7 +37,7 @@
37;; 37;;
38;; Put into your .emacs: 38;; Put into your .emacs:
39;; 39;;
40;; (require 'erc-nickserv) 40;; (require 'erc-services)
41;; (erc-services-mode 1) 41;; (erc-services-mode 1)
42;; 42;;
43;; Add your nickname and NickServ password to `erc-nickserv-passwords'. 43;; Add your nickname and NickServ password to `erc-nickserv-passwords'.
@@ -60,7 +60,7 @@
60;;; Code: 60;;; Code:
61 61
62(require 'erc) 62(require 'erc)
63(require 'erc-nets) 63(require 'erc-networks)
64(eval-when-compile (require 'cl)) 64(eval-when-compile (require 'cl))
65 65
66;; Customization: 66;; Customization:
@@ -77,7 +77,7 @@ This group allows you to set variables to somewhat automate
77communication with those Services." 77communication with those Services."
78 :group 'erc) 78 :group 'erc)
79 79
80;;;###autoload (autoload 'erc-services-mode "erc-nickserv" nil t) 80;;;###autoload (autoload 'erc-services-mode "erc-services" nil t)
81(define-erc-module services nickserv 81(define-erc-module services nickserv
82 "This mode automates communication with services." 82 "This mode automates communication with services."
83 ((erc-nickserv-identify-mode erc-nickserv-identify-mode)) 83 ((erc-nickserv-identify-mode erc-nickserv-identify-mode))
@@ -325,9 +325,9 @@ When called interactively, read the password using `read-passwd'."
325 (erc-message msgtype 325 (erc-message msgtype
326 (concat nickserv " " identify-word " " nick password))))) 326 (concat nickserv " " identify-word " " nick password)))))
327 327
328(provide 'erc-nickserv) 328(provide 'erc-services)
329 329
330;;; erc-nickserv.el ends here 330;;; erc-services.el ends here
331;; 331;;
332;; Local Variables: 332;; Local Variables:
333;; indent-tabs-mode: t 333;; indent-tabs-mode: t
diff --git a/lisp/erc/erc-stamp.el b/lisp/erc/erc-stamp.el
index 6b34a2592f4..ead847ff73f 100644
--- a/lisp/erc/erc-stamp.el
+++ b/lisp/erc/erc-stamp.el
@@ -199,20 +199,20 @@ Window System."
199 (erc-put-text-property 0 len 'field 'erc-timestamp s) 199 (erc-put-text-property 0 len 'field 'erc-timestamp s)
200 (insert s))) 200 (insert s)))
201 201
202(defun erc-insert-aligned (string pos &optional fallback) 202(defun erc-insert-aligned (string pos)
203 "Insert STRING based on a fraction of the width of the buffer. 203 "Insert STRING based on a fraction of the width of the buffer.
204Fraction is roughly (/ POS (window-width)). 204Fraction is roughly (/ POS (window-width)).
205 205
206If `erc-timestamp-right-align-by-pixel' is nil, use 206If `erc-timestamp-right-align-by-pixel' is nil, insert STRING at the
207\(- POS FALLBACK) to determine how many spaces to insert." 207POSth column, without using pixel coordinates."
208 (if (not erc-timestamp-right-align-by-pixel) 208 (if (not erc-timestamp-right-align-by-pixel)
209 (insert (make-string (- pos fallback) ? ) string) 209 (indent-to pos)
210 (insert " ") 210 (insert " ")
211 (let ((offset (floor (* (/ (1- pos) (window-width) 1.0) 211 (let ((offset (floor (* (/ (1- pos) (window-width) 1.0)
212 (nth 2 (window-inside-pixel-edges)))))) 212 (nth 2 (window-inside-pixel-edges))))))
213 (put-text-property (1- (point)) (point) 'display 213 (put-text-property (1- (point)) (point) 'display
214 `(space :align-to (,offset)))) 214 `(space :align-to (,offset)))))
215 (insert string))) 215 (insert string))
216 216
217(defun erc-insert-timestamp-right (string) 217(defun erc-insert-timestamp-right (string)
218 "Insert timestamp on the right side of the screen. 218 "Insert timestamp on the right side of the screen.
@@ -257,14 +257,16 @@ be printed just before the window-width."
257 indent) 257 indent)
258 ;; deal with variable-width characters 258 ;; deal with variable-width characters
259 (setq pos (- pos (string-width string)) 259 (setq pos (- pos (string-width string))
260 ;; the following is a kludge that works with most 260 ;; The following is a kludge that works with most
261 ;; international input 261 ;; international input. It is now only used to calculate
262 ;; whether to move to the next line before inserting a
263 ;; stamp.
262 col (+ col (ceiling (/ (- col (- (point) (point-at-bol))) 1.6)))) 264 col (+ col (ceiling (/ (- col (- (point) (point-at-bol))) 1.6))))
263 (if (< col pos) 265 (if (< col pos)
264 (erc-insert-aligned string pos col) 266 (erc-insert-aligned string pos)
265 (newline) 267 (newline)
266 (setq from (point))
267 (indent-to pos) 268 (indent-to pos)
269 (setq from (point))
268 (insert string)) 270 (insert string))
269 (erc-put-text-property from (1+ (point)) 'field 'erc-timestamp) 271 (erc-put-text-property from (1+ (point)) 'field 'erc-timestamp)
270 (erc-put-text-property from (1+ (point)) 'rear-nonsticky t) 272 (erc-put-text-property from (1+ (point)) 'rear-nonsticky t)
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index 8d380847f5a..936fffa252f 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -1716,6 +1716,22 @@ all channel buffers on all servers."
1716 "Used to keep track of how many times an attempt at changing nick is made.") 1716 "Used to keep track of how many times an attempt at changing nick is made.")
1717(make-variable-buffer-local 'erc-nick-change-attempt-count) 1717(make-variable-buffer-local 'erc-nick-change-attempt-count)
1718 1718
1719(defun erc-migrate-modules (mods)
1720 "Migrate old names of ERC modules to new ones."
1721 ;; modify `transforms' to specify what needs to be changed
1722 ;; each item is in the format '(new .old)
1723 (let ((transforms '((pcomplete . completion)))
1724 (modules (copy-alist mods)))
1725 (dolist (transform transforms)
1726 (let ((addp nil))
1727 (setq modules (erc-delete-if `(lambda (val)
1728 (and (eq val ',(car transform))
1729 (setq addition t)))
1730 modules))
1731 (when addp
1732 (add-to-list 'modules (cdr transform)))))
1733 (erc-delete-dups modules)))
1734
1719(defcustom erc-modules '(netsplit fill button match track pcomplete readonly 1735(defcustom erc-modules '(netsplit fill button match track pcomplete readonly
1720 ring autojoin noncommands irccontrols 1736 ring autojoin noncommands irccontrols
1721 stamp) 1737 stamp)
@@ -1723,6 +1739,9 @@ all channel buffers on all servers."
1723If you set the value of this without using `customize' remember to call 1739If you set the value of this without using `customize' remember to call
1724\(erc-update-modules) after you change it. When using `customize', modules 1740\(erc-update-modules) after you change it. When using `customize', modules
1725removed from the list will be disabled." 1741removed from the list will be disabled."
1742 :get (lambda (sym)
1743 ;; replace outdated names with their newer equivalents
1744 (erc-migrate-modules (symbol-value sym)))
1726 :set (lambda (sym val) 1745 :set (lambda (sym val)
1727 ;; disable modules which have just been removed 1746 ;; disable modules which have just been removed
1728 (when (and (boundp 'erc-modules) erc-modules val) 1747 (when (and (boundp 'erc-modules) erc-modules val)
@@ -1732,7 +1751,7 @@ removed from the list will be disabled."
1732 (when (and (fboundp f) (boundp f) (symbol-value f)) 1751 (when (and (fboundp f) (boundp f) (symbol-value f))
1733 (message "Disabling `erc-%s'" module) 1752 (message "Disabling `erc-%s'" module)
1734 (funcall f 0)))))) 1753 (funcall f 0))))))
1735 (set-default sym val) 1754 (set sym val)
1736 ;; this test is for the case where erc hasn't been loaded yet 1755 ;; this test is for the case where erc hasn't been loaded yet
1737 (when (fboundp 'erc-update-modules) 1756 (when (fboundp 'erc-update-modules)
1738 (erc-update-modules))) 1757 (erc-update-modules)))
@@ -1753,8 +1772,8 @@ removed from the list will be disabled."
1753 "Notify when the online status of certain users changes" 1772 "Notify when the online status of certain users changes"
1754 notify) 1773 notify)
1755 (const :tag "Complete nicknames and commands (programmable)" 1774 (const :tag "Complete nicknames and commands (programmable)"
1756 pcomplete) 1775 completion)
1757 (const :tag "Complete nicknames and commands (old)" completion) 1776 (const :tag "Complete nicknames and commands (old)" hecomplete)
1758 (const :tag "Make displayed lines read-only" readonly) 1777 (const :tag "Make displayed lines read-only" readonly)
1759 (const :tag "Replace text in messages" replace) 1778 (const :tag "Replace text in messages" replace)
1760 (const :tag "Enable an input history" ring) 1779 (const :tag "Enable an input history" ring)
@@ -1781,10 +1800,13 @@ removed from the list will be disabled."
1781 ;; yuck. perhaps we should bring the filenames into sync? 1800 ;; yuck. perhaps we should bring the filenames into sync?
1782 ((string= req "erc-completion") 1801 ((string= req "erc-completion")
1783 (setq req "erc-pcomplete") 1802 (setq req "erc-pcomplete")
1784 (setq mod 'pcomplete)) 1803 (setq mod 'completion))
1785 ((string= req "erc-services") 1804 ((string= req "erc-pcomplete")
1786 (setq req "erc-nickserv") 1805 (setq req "erc-pcomplete")
1787 (setq mod 'services))) 1806 (setq mod 'completion))
1807 ((string= req "erc-autojoin")
1808 (setq req "erc-join")
1809 (setq mod 'autojoin)))
1788 (condition-case nil 1810 (condition-case nil
1789 (require (intern req)) 1811 (require (intern req))
1790 (error nil)) 1812 (error nil))
@@ -3142,12 +3164,6 @@ the message given by REASON."
3142 (erc-modes))) 3164 (erc-modes)))
3143 t) 3165 t)
3144 3166
3145(defun erc-cmd-SMV ()
3146 "Say the current ERC module versions into channel."
3147 (erc-send-message (format "I'm using the following module revisions: %s!"
3148 (erc-version-modules)))
3149 t)
3150
3151(defun erc-cmd-DEOP (&rest people) 3167(defun erc-cmd-DEOP (&rest people)
3152 "Remove the operator setting from user(s) given in PEOPLE." 3168 "Remove the operator setting from user(s) given in PEOPLE."
3153 (when (> (length people) 0) 3169 (when (> (length people) 0)
diff --git a/lisp/eshell/em-alias.el b/lisp/eshell/em-alias.el
index 67e007a7f00..30b7f69cc38 100644
--- a/lisp/eshell/em-alias.el
+++ b/lisp/eshell/em-alias.el
@@ -1,7 +1,7 @@
1;;; em-alias.el --- creation and management of command aliases 1;;; em-alias.el --- creation and management of command aliases
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/em-banner.el b/lisp/eshell/em-banner.el
index 017474ca6f1..18f7cd84c04 100644
--- a/lisp/eshell/em-banner.el
+++ b/lisp/eshell/em-banner.el
@@ -1,7 +1,7 @@
1;;; em-banner.el --- sample module that displays a login banner 1;;; em-banner.el --- sample module that displays a login banner
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/em-basic.el b/lisp/eshell/em-basic.el
index c42b843add4..c942b3c6913 100644
--- a/lisp/eshell/em-basic.el
+++ b/lisp/eshell/em-basic.el
@@ -1,7 +1,7 @@
1;;; em-basic.el --- basic shell builtin commands 1;;; em-basic.el --- basic shell builtin commands
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/em-cmpl.el b/lisp/eshell/em-cmpl.el
index 423a93d46e2..19b1ad34569 100644
--- a/lisp/eshell/em-cmpl.el
+++ b/lisp/eshell/em-cmpl.el
@@ -1,7 +1,7 @@
1;;; em-cmpl.el --- completion using the TAB key 1;;; em-cmpl.el --- completion using the TAB key
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/em-dirs.el b/lisp/eshell/em-dirs.el
index 3a18b1e042a..12e84b5403f 100644
--- a/lisp/eshell/em-dirs.el
+++ b/lisp/eshell/em-dirs.el
@@ -1,7 +1,7 @@
1;;; em-dirs.el --- directory navigation commands 1;;; em-dirs.el --- directory navigation commands
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/em-glob.el b/lisp/eshell/em-glob.el
index 869144dad74..76bde7784dc 100644
--- a/lisp/eshell/em-glob.el
+++ b/lisp/eshell/em-glob.el
@@ -1,7 +1,7 @@
1;;; em-glob.el --- extended file name globbing 1;;; em-glob.el --- extended file name globbing
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/em-hist.el b/lisp/eshell/em-hist.el
index e7844028542..66356c11925 100644
--- a/lisp/eshell/em-hist.el
+++ b/lisp/eshell/em-hist.el
@@ -1,7 +1,7 @@
1;;; em-hist.el --- history list management 1;;; em-hist.el --- history list management
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/em-ls.el b/lisp/eshell/em-ls.el
index 24b61aa492f..f705ca0e375 100644
--- a/lisp/eshell/em-ls.el
+++ b/lisp/eshell/em-ls.el
@@ -1,7 +1,7 @@
1;;; em-ls.el --- implementation of ls in Lisp 1;;; em-ls.el --- implementation of ls in Lisp
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/em-pred.el b/lisp/eshell/em-pred.el
index 9e2e8a32af2..a506bc03b2a 100644
--- a/lisp/eshell/em-pred.el
+++ b/lisp/eshell/em-pred.el
@@ -1,7 +1,7 @@
1;;; em-pred.el --- argument predicates and modifiers (ala zsh) 1;;; em-pred.el --- argument predicates and modifiers (ala zsh)
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/em-prompt.el b/lisp/eshell/em-prompt.el
index a4ba51609b5..e55008fe2e8 100644
--- a/lisp/eshell/em-prompt.el
+++ b/lisp/eshell/em-prompt.el
@@ -1,7 +1,7 @@
1;;; em-prompt.el --- command prompts 1;;; em-prompt.el --- command prompts
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/em-rebind.el b/lisp/eshell/em-rebind.el
index da36551a4dc..98627be2363 100644
--- a/lisp/eshell/em-rebind.el
+++ b/lisp/eshell/em-rebind.el
@@ -1,7 +1,7 @@
1;;; em-rebind.el --- rebind keys when point is at current input 1;;; em-rebind.el --- rebind keys when point is at current input
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/em-script.el b/lisp/eshell/em-script.el
index d67c5e063c9..782d70bb864 100644
--- a/lisp/eshell/em-script.el
+++ b/lisp/eshell/em-script.el
@@ -1,7 +1,7 @@
1;;; em-script.el --- Eshell script files 1;;; em-script.el --- Eshell script files
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/em-smart.el b/lisp/eshell/em-smart.el
index 1d8133effef..65a3280d34e 100644
--- a/lisp/eshell/em-smart.el
+++ b/lisp/eshell/em-smart.el
@@ -1,7 +1,7 @@
1;;; em-smart.el --- smart display of output 1;;; em-smart.el --- smart display of output
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/em-term.el b/lisp/eshell/em-term.el
index 8e0786349a6..a91eb044987 100644
--- a/lisp/eshell/em-term.el
+++ b/lisp/eshell/em-term.el
@@ -1,7 +1,7 @@
1;;; em-term.el --- running visual commands 1;;; em-term.el --- running visual commands
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/em-unix.el b/lisp/eshell/em-unix.el
index 340b95f4d53..ead8e6e48a6 100644
--- a/lisp/eshell/em-unix.el
+++ b/lisp/eshell/em-unix.el
@@ -1,7 +1,7 @@
1;;; em-unix.el --- UNIX command aliases 1;;; em-unix.el --- UNIX command aliases
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/em-xtra.el b/lisp/eshell/em-xtra.el
index 3db159ad84e..d53d67314a0 100644
--- a/lisp/eshell/em-xtra.el
+++ b/lisp/eshell/em-xtra.el
@@ -1,7 +1,7 @@
1;;; em-xtra.el --- extra alias functions 1;;; em-xtra.el --- extra alias functions
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/esh-arg.el b/lisp/eshell/esh-arg.el
index 322a0173b27..5f636c66611 100644
--- a/lisp/eshell/esh-arg.el
+++ b/lisp/eshell/esh-arg.el
@@ -1,7 +1,7 @@
1;;; esh-arg.el --- argument processing 1;;; esh-arg.el --- argument processing
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/esh-cmd.el b/lisp/eshell/esh-cmd.el
index e655a87f898..aad62bfc7dc 100644
--- a/lisp/eshell/esh-cmd.el
+++ b/lisp/eshell/esh-cmd.el
@@ -1,7 +1,7 @@
1;;; esh-cmd.el --- command invocation 1;;; esh-cmd.el --- command invocation
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/esh-ext.el b/lisp/eshell/esh-ext.el
index 0aa3f4486ad..9f77f1e2868 100644
--- a/lisp/eshell/esh-ext.el
+++ b/lisp/eshell/esh-ext.el
@@ -1,7 +1,7 @@
1;;; esh-ext.el --- commands external to Eshell 1;;; esh-ext.el --- commands external to Eshell
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/esh-io.el b/lisp/eshell/esh-io.el
index 1c3fd219455..19f90e67f92 100644
--- a/lisp/eshell/esh-io.el
+++ b/lisp/eshell/esh-io.el
@@ -1,7 +1,7 @@
1;;; esh-io.el --- I/O management 1;;; esh-io.el --- I/O management
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/esh-maint.el b/lisp/eshell/esh-maint.el
index 56d92b0c6a3..d0d9f85ece7 100644
--- a/lisp/eshell/esh-maint.el
+++ b/lisp/eshell/esh-maint.el
@@ -1,7 +1,7 @@
1;;; esh-maint.el --- init code for building eshell -*- no-byte-compile: t -*- 1;;; esh-maint.el --- init code for building eshell -*- no-byte-compile: t -*-
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el
index fce998e543f..2da540a0abd 100644
--- a/lisp/eshell/esh-mode.el
+++ b/lisp/eshell/esh-mode.el
@@ -1,7 +1,7 @@
1;;; esh-mode.el --- user interface 1;;; esh-mode.el --- user interface
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/esh-module.el b/lisp/eshell/esh-module.el
index ea87c662c1d..412ee68d4a2 100644
--- a/lisp/eshell/esh-module.el
+++ b/lisp/eshell/esh-module.el
@@ -1,7 +1,7 @@
1;;; esh-module.el --- Eshell modules 1;;; esh-module.el --- Eshell modules
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7;; Keywords: processes 7;; Keywords: processes
diff --git a/lisp/eshell/esh-opt.el b/lisp/eshell/esh-opt.el
index 73fdf84c41f..d2f4f76cf43 100644
--- a/lisp/eshell/esh-opt.el
+++ b/lisp/eshell/esh-opt.el
@@ -1,7 +1,7 @@
1;;; esh-opt.el --- command options processing 1;;; esh-opt.el --- command options processing
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/esh-proc.el b/lisp/eshell/esh-proc.el
index 530eb9c900a..379ac972206 100644
--- a/lisp/eshell/esh-proc.el
+++ b/lisp/eshell/esh-proc.el
@@ -1,7 +1,7 @@
1;;; esh-proc.el --- process management 1;;; esh-proc.el --- process management
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/esh-test.el b/lisp/eshell/esh-test.el
index b7dcfab0274..5aad4126f91 100644
--- a/lisp/eshell/esh-test.el
+++ b/lisp/eshell/esh-test.el
@@ -1,7 +1,7 @@
1;;; esh-test.el --- Eshell test suite 1;;; esh-test.el --- Eshell test suite
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/esh-util.el b/lisp/eshell/esh-util.el
index c05f6abb23b..50ff77c7725 100644
--- a/lisp/eshell/esh-util.el
+++ b/lisp/eshell/esh-util.el
@@ -1,7 +1,7 @@
1;;; esh-util.el --- general utilities 1;;; esh-util.el --- general utilities
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/esh-var.el b/lisp/eshell/esh-var.el
index 10cc7c703d5..2bebb6a79cc 100644
--- a/lisp/eshell/esh-var.el
+++ b/lisp/eshell/esh-var.el
@@ -1,7 +1,7 @@
1;;; esh-var.el --- handling of variables 1;;; esh-var.el --- handling of variables
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/eshell/eshell.el b/lisp/eshell/eshell.el
index ce9641026c7..ed9e3e56c9e 100644
--- a/lisp/eshell/eshell.el
+++ b/lisp/eshell/eshell.el
@@ -1,7 +1,7 @@
1;;; eshell.el --- the Emacs command shell 1;;; eshell.el --- the Emacs command shell
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7;; Version: 2.4.2 7;; Version: 2.4.2
diff --git a/lisp/expand.el b/lisp/expand.el
index aeb9ec83b14..5d213128ad4 100644
--- a/lisp/expand.el
+++ b/lisp/expand.el
@@ -1,7 +1,7 @@
1;;; expand.el --- make abbreviations more usable 1;;; expand.el --- make abbreviations more usable
2 2
3;; Copyright (C) 1995, 1996, 2002, 2003, 2004, 3;; Copyright (C) 1995, 1996, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Frederic Lepied <Frederic.Lepied@sugix.frmug.org> 6;; Author: Frederic Lepied <Frederic.Lepied@sugix.frmug.org>
7;; Maintainer: Frederic Lepied <Frederic.Lepied@sugix.frmug.org> 7;; Maintainer: Frederic Lepied <Frederic.Lepied@sugix.frmug.org>
diff --git a/lisp/ezimage.el b/lisp/ezimage.el
index a689adc25cd..84ad10ad599 100644
--- a/lisp/ezimage.el
+++ b/lisp/ezimage.el
@@ -1,7 +1,7 @@
1;;; ezimage --- Generalized Image management 1;;; ezimage --- Generalized Image management
2 2
3;;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004,
4;;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Eric M. Ludlam <zappo@gnu.org> 6;; Author: Eric M. Ludlam <zappo@gnu.org>
7;; Keywords: file, tags, tools 7;; Keywords: file, tags, tools
diff --git a/lisp/facemenu.el b/lisp/facemenu.el
index 00fb13fe8f9..04f70708359 100644
--- a/lisp/facemenu.el
+++ b/lisp/facemenu.el
@@ -1,7 +1,7 @@
1;;; facemenu.el --- create a face menu for interactively adding fonts to text 1;;; facemenu.el --- create a face menu for interactively adding fonts to text
2 2
3;; Copyright (C) 1994, 1995, 1996, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1994, 1995, 1996, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Boris Goldowsky <boris@gnu.org> 6;; Author: Boris Goldowsky <boris@gnu.org>
7;; Keywords: faces 7;; Keywords: faces
diff --git a/lisp/faces.el b/lisp/faces.el
index 24bbde154d8..ee11868b549 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -1,7 +1,7 @@
1;;; faces.el --- Lisp faces 1;;; faces.el --- Lisp faces
2 2
3;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 3;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
4;; 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: internal 7;; Keywords: internal
diff --git a/lisp/ffap.el b/lisp/ffap.el
index ff35ae0deac..d487c4f67a0 100644
--- a/lisp/ffap.el
+++ b/lisp/ffap.el
@@ -1,7 +1,7 @@
1;;; ffap.el --- find file (or url) at point 1;;; ffap.el --- find file (or url) at point
2 2
3;; Copyright (C) 1995, 1996, 1997, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1995, 1996, 1997, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Michelangelo Grigni <mic@mathcs.emory.edu> 6;; Author: Michelangelo Grigni <mic@mathcs.emory.edu>
7;; Maintainer: Rajesh Vaidheeswarran <rv@gnu.org> 7;; Maintainer: Rajesh Vaidheeswarran <rv@gnu.org>
diff --git a/lisp/filecache.el b/lisp/filecache.el
index 442f729dd15..c0e9e9e5f5d 100644
--- a/lisp/filecache.el
+++ b/lisp/filecache.el
@@ -5,7 +5,7 @@
5;; Keywords: convenience 5;; Keywords: convenience
6;; 6;;
7;; Copyright (C) 1996, 2000, 2002, 2003, 2004, 7;; Copyright (C) 1996, 2000, 2002, 2003, 2004,
8;; 2005 Free Software Foundation, Inc. 8;; 2005, 2006 Free Software Foundation, Inc.
9 9
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11 11
diff --git a/lisp/files.el b/lisp/files.el
index ec974ceebe7..0a33a658d9d 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -1,7 +1,8 @@
1;;; files.el --- file input and output commands for Emacs 1;;; files.el --- file input and output commands for Emacs
2 2
3;; Copyright (C) 1985, 1986, 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 3;; Copyright (C) 1985, 1986, 1987, 1992, 1993, 1994, 1995, 1996,
4;; 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
5;; 2006 Free Software Foundation, Inc.
5 6
6;; Maintainer: FSF 7;; Maintainer: FSF
7 8
@@ -1024,7 +1025,7 @@ type M-n to pull it into the minibuffer.
1024 1025
1025Interactively, or if WILDCARDS is non-nil in a call from Lisp, 1026Interactively, or if WILDCARDS is non-nil in a call from Lisp,
1026expand wildcards (if any) and visit multiple files. You can 1027expand wildcards (if any) and visit multiple files. You can
1027suppress wildcard expansion by setting `find-file-wildcards'. 1028suppress wildcard expansion by setting `find-file-wildcards' to nil.
1028 1029
1029To visit a file without any kind of conversion and without 1030To visit a file without any kind of conversion and without
1030automatically choosing a major mode, use \\[find-file-literally]." 1031automatically choosing a major mode, use \\[find-file-literally]."
@@ -1076,7 +1077,7 @@ expand wildcards (if any) and visit multiple files."
1076 1077
1077(defun find-file-existing (filename &optional wildcards) 1078(defun find-file-existing (filename &optional wildcards)
1078 "Edit the existing file FILENAME. 1079 "Edit the existing file FILENAME.
1079Like \\[find-file] but only allow files that exists." 1080Like \\[find-file] but only allow a file that exists."
1080 (interactive (find-file-read-args "Find existing file: " t)) 1081 (interactive (find-file-read-args "Find existing file: " t))
1081 (unless (file-exists-p filename) (error "%s does not exist" filename)) 1082 (unless (file-exists-p filename) (error "%s does not exist" filename))
1082 (find-file filename wildcards) 1083 (find-file filename wildcards)
@@ -3795,8 +3796,8 @@ sake of backward compatibility. IGNORE-AUTO is optional, defaulting
3795to nil. 3796to nil.
3796 3797
3797Optional second argument NOCONFIRM means don't ask for confirmation at 3798Optional second argument NOCONFIRM means don't ask for confirmation at
3798all. (The local variable `revert-without-query', if non-nil, prevents 3799all. \(The variable `revert-without-query' offers another way to
3799confirmation.) 3800revert buffers without querying for confirmation.)
3800 3801
3801Optional third argument PRESERVE-MODES non-nil means don't alter 3802Optional third argument PRESERVE-MODES non-nil means don't alter
3802the files modes. Normally we reinitialize them using `normal-mode'. 3803the files modes. Normally we reinitialize them using `normal-mode'.
@@ -3831,13 +3832,10 @@ non-nil, it is called instead of rereading visited file contents."
3831 (error "Buffer does not seem to be associated with any file")) 3832 (error "Buffer does not seem to be associated with any file"))
3832 ((or noconfirm 3833 ((or noconfirm
3833 (and (not (buffer-modified-p)) 3834 (and (not (buffer-modified-p))
3834 (let ((tail revert-without-query) 3835 (catch 'found
3835 (found nil)) 3836 (dolist (regexp revert-without-query)
3836 (while tail 3837 (when (string-match regexp file-name)
3837 (if (string-match (car tail) file-name) 3838 (throw 'found t)))))
3838 (setq found t))
3839 (setq tail (cdr tail)))
3840 found))
3841 (yes-or-no-p (format "Revert buffer from file %s? " 3839 (yes-or-no-p (format "Revert buffer from file %s? "
3842 file-name))) 3840 file-name)))
3843 (run-hooks 'before-revert-hook) 3841 (run-hooks 'before-revert-hook)
@@ -3846,50 +3844,51 @@ non-nil, it is called instead of rereading visited file contents."
3846 (and (not auto-save-p) 3844 (and (not auto-save-p)
3847 (not (verify-visited-file-modtime (current-buffer))) 3845 (not (verify-visited-file-modtime (current-buffer)))
3848 (setq buffer-backed-up nil)) 3846 (setq buffer-backed-up nil))
3849 ;; Get rid of all undo records for this buffer.
3850 (or (eq buffer-undo-list t)
3851 (setq buffer-undo-list nil))
3852 ;; Effectively copy the after-revert-hook status, 3847 ;; Effectively copy the after-revert-hook status,
3853 ;; since after-find-file will clobber it. 3848 ;; since after-find-file will clobber it.
3854 (let ((global-hook (default-value 'after-revert-hook)) 3849 (let ((global-hook (default-value 'after-revert-hook))
3855 (local-hook-p (local-variable-p 'after-revert-hook)) 3850 (local-hook (when (local-variable-p 'after-revert-hook)
3856 (local-hook (and (local-variable-p 'after-revert-hook) 3851 after-revert-hook))
3857 after-revert-hook))) 3852 (inhibit-read-only t))
3858 (let (buffer-read-only 3853 (cond
3859 ;; Don't make undo records for the reversion. 3854 (revert-buffer-insert-file-contents-function
3860 (buffer-undo-list t)) 3855 (unless (eq buffer-undo-list t)
3861 (if revert-buffer-insert-file-contents-function 3856 ;; Get rid of all undo records for this buffer.
3862 (funcall revert-buffer-insert-file-contents-function 3857 (setq buffer-undo-list nil))
3863 file-name auto-save-p) 3858 ;; Don't make undo records for the reversion.
3864 (if (not (file-exists-p file-name)) 3859 (let ((buffer-undo-list t))
3865 (error (if buffer-file-number 3860 (funcall revert-buffer-insert-file-contents-function
3866 "File %s no longer exists!" 3861 file-name auto-save-p)))
3867 "Cannot revert nonexistent file %s") 3862 ((not (file-exists-p file-name))
3868 file-name)) 3863 (error (if buffer-file-number
3869 ;; Bind buffer-file-name to nil 3864 "File %s no longer exists!"
3870 ;; so that we don't try to lock the file. 3865 "Cannot revert nonexistent file %s")
3871 (let ((buffer-file-name nil)) 3866 file-name))
3872 (or auto-save-p 3867 (t
3873 (unlock-buffer))) 3868 ;; Bind buffer-file-name to nil
3874 (widen) 3869 ;; so that we don't try to lock the file.
3875 (let ((coding-system-for-read 3870 (let ((buffer-file-name nil))
3876 ;; Auto-saved file shoule be read by Emacs' 3871 (or auto-save-p
3877 ;; internal coding. 3872 (unlock-buffer)))
3878 (if auto-save-p 'auto-save-coding 3873 (widen)
3879 (or coding-system-for-read 3874 (let ((coding-system-for-read
3880 buffer-file-coding-system-explicit)))) 3875 ;; Auto-saved file should be read by Emacs'
3881 ;; This force after-insert-file-set-coding 3876 ;; internal coding.
3882 ;; (called from insert-file-contents) to set 3877 (if auto-save-p 'auto-save-coding
3883 ;; buffer-file-coding-system to a proper value. 3878 (or coding-system-for-read
3884 (kill-local-variable 'buffer-file-coding-system) 3879 buffer-file-coding-system-explicit))))
3885 3880 ;; This force after-insert-file-set-coding
3886 ;; Note that this preserves point in an intelligent way. 3881 ;; (called from insert-file-contents) to set
3887 (if preserve-modes 3882 ;; buffer-file-coding-system to a proper value.
3888 (let ((buffer-file-format buffer-file-format)) 3883 (kill-local-variable 'buffer-file-coding-system)
3889 (insert-file-contents file-name (not auto-save-p) 3884
3890 nil nil t)) 3885 ;; Note that this preserves point in an intelligent way.
3891 (insert-file-contents file-name (not auto-save-p) 3886 (if preserve-modes
3892 nil nil t))))) 3887 (let ((buffer-file-format buffer-file-format))
3888 (insert-file-contents file-name (not auto-save-p)
3889 nil nil t))
3890 (insert-file-contents file-name (not auto-save-p)
3891 nil nil t)))))
3893 ;; Recompute the truename in case changes in symlinks 3892 ;; Recompute the truename in case changes in symlinks
3894 ;; have changed the truename. 3893 ;; have changed the truename.
3895 (setq buffer-file-truename 3894 (setq buffer-file-truename
@@ -3897,7 +3896,7 @@ non-nil, it is called instead of rereading visited file contents."
3897 (after-find-file nil nil t t preserve-modes) 3896 (after-find-file nil nil t t preserve-modes)
3898 ;; Run after-revert-hook as it was before we reverted. 3897 ;; Run after-revert-hook as it was before we reverted.
3899 (setq-default revert-buffer-internal-hook global-hook) 3898 (setq-default revert-buffer-internal-hook global-hook)
3900 (if local-hook-p 3899 (if local-hook
3901 (set (make-local-variable 'revert-buffer-internal-hook) 3900 (set (make-local-variable 'revert-buffer-internal-hook)
3902 local-hook) 3901 local-hook)
3903 (kill-local-variable 'revert-buffer-internal-hook)) 3902 (kill-local-variable 'revert-buffer-internal-hook))
@@ -3943,7 +3942,7 @@ non-nil, it is called instead of rereading visited file contents."
3943 (insert-directory-safely file-name switches)))) 3942 (insert-directory-safely file-name switches))))
3944 (yes-or-no-p (format "Recover auto save file %s? " file-name))) 3943 (yes-or-no-p (format "Recover auto save file %s? " file-name)))
3945 (switch-to-buffer (find-file-noselect file t)) 3944 (switch-to-buffer (find-file-noselect file t))
3946 (let ((buffer-read-only nil) 3945 (let ((inhibit-read-only t)
3947 ;; Keep the current buffer-file-coding-system. 3946 ;; Keep the current buffer-file-coding-system.
3948 (coding-system buffer-file-coding-system) 3947 (coding-system buffer-file-coding-system)
3949 ;; Auto-saved file shoule be read with special coding. 3948 ;; Auto-saved file shoule be read with special coding.
diff --git a/lisp/filesets.el b/lisp/filesets.el
index 1ee126465a5..4ca5a9d1420 100644
--- a/lisp/filesets.el
+++ b/lisp/filesets.el
@@ -1,6 +1,6 @@
1;;; filesets.el --- handle group of files 1;;; filesets.el --- handle group of files
2 2
3;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Thomas Link <t.link@gmx.at> 5;; Author: Thomas Link <t.link@gmx.at>
6;; Maintainer: FSF 6;; Maintainer: FSF
diff --git a/lisp/find-dired.el b/lisp/find-dired.el
index 8347e68c58e..88e5414d525 100644
--- a/lisp/find-dired.el
+++ b/lisp/find-dired.el
@@ -1,7 +1,7 @@
1;;; find-dired.el --- run a `find' command and dired the output 1;;; find-dired.el --- run a `find' command and dired the output
2 2
3;; Copyright (C) 1992, 1994, 1995, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1992, 1994, 1995, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Roland McGrath <roland@gnu.org>, 6;; Author: Roland McGrath <roland@gnu.org>,
7;; Sebastian Kremer <sk@thp.uni-koeln.de> 7;; Sebastian Kremer <sk@thp.uni-koeln.de>
diff --git a/lisp/find-file.el b/lisp/find-file.el
index db03adce29f..e15d6e62b0b 100644
--- a/lisp/find-file.el
+++ b/lisp/find-file.el
@@ -5,7 +5,7 @@
5;; Keywords: c, matching, tools 5;; Keywords: c, matching, tools
6 6
7;; Copyright (C) 1994, 1995, 2002, 2003, 2004, 7;; Copyright (C) 1994, 1995, 2002, 2003, 2004,
8;; 2005 Free Software Foundation, Inc. 8;; 2005, 2006 Free Software Foundation, Inc.
9 9
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11 11
diff --git a/lisp/find-lisp.el b/lisp/find-lisp.el
index 19ebe3fae6f..c7527fe21f5 100644
--- a/lisp/find-lisp.el
+++ b/lisp/find-lisp.el
@@ -3,10 +3,10 @@
3;; Author: Peter Breton 3;; Author: Peter Breton
4;; Created: Fri Mar 26 1999 4;; Created: Fri Mar 26 1999
5;; Keywords: unix 5;; Keywords: unix
6;; Time-stamp: <2005-11-11 20:37:50 teirllm> 6;; Time-stamp: <2006-02-06 13:40:10 ttn>
7 7
8;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 8;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
9;; 2005 Free Software Foundation, Inc. 9;; 2005, 2006 Free Software Foundation, Inc.
10 10
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12 12
diff --git a/lisp/finder.el b/lisp/finder.el
index dfbd6851129..fc96381e8f7 100644
--- a/lisp/finder.el
+++ b/lisp/finder.el
@@ -1,7 +1,7 @@
1;;; finder.el --- topic & keyword-based code finder 1;;; finder.el --- topic & keyword-based code finder
2 2
3;; Copyright (C) 1992, 1997, 1998, 1999, 2001, 2002, 2003, 3;; Copyright (C) 1992, 1997, 1998, 1999, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Eric S. Raymond <esr@snark.thyrsus.com> 6;; Author: Eric S. Raymond <esr@snark.thyrsus.com>
7;; Created: 16 Jun 1992 7;; Created: 16 Jun 1992
diff --git a/lisp/flow-ctrl.el b/lisp/flow-ctrl.el
index 0acbe41c6ed..bfa86317809 100644
--- a/lisp/flow-ctrl.el
+++ b/lisp/flow-ctrl.el
@@ -1,7 +1,7 @@
1;;; flow-ctrl.el --- help for lusers on cu(1) or ttys with wired-in ^S/^Q flow control 1;;; flow-ctrl.el --- help for lusers on cu(1) or ttys with wired-in ^S/^Q flow control
2 2
3;; Copyright (C) 1990, 1991, 1994, 2002, 2003, 2004, 3;; Copyright (C) 1990, 1991, 1994, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author Kevin Gallagher 6;; Author Kevin Gallagher
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/foldout.el b/lisp/foldout.el
index 42f889fb96e..7666ee48bc7 100644
--- a/lisp/foldout.el
+++ b/lisp/foldout.el
@@ -1,6 +1,7 @@
1;;; foldout.el --- folding extensions for outline-mode and outline-minor-mode 1;;; foldout.el --- folding extensions for outline-mode and outline-minor-mode
2 2
3;; Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1994, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Kevin Broadey <KevinB@bartley.demon.co.uk> 6;; Author: Kevin Broadey <KevinB@bartley.demon.co.uk>
6;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/follow.el b/lisp/follow.el
index ef1b2231950..1958c407664 100644
--- a/lisp/follow.el
+++ b/lisp/follow.el
@@ -1,7 +1,7 @@
1;;; follow.el --- synchronize windows showing the same buffer 1;;; follow.el --- synchronize windows showing the same buffer
2 2
3;; Copyright (C) 1995, 1996, 1997, 1999, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1995, 1996, 1997, 1999, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Anders Lindgren <andersl@andersl.com> 6;; Author: Anders Lindgren <andersl@andersl.com>
7;; Maintainer: FSF (Anders' email bounces, Sep 2005) 7;; Maintainer: FSF (Anders' email bounces, Sep 2005)
diff --git a/lisp/font-core.el b/lisp/font-core.el
index cfddbca5f5c..85bbf60f0d9 100644
--- a/lisp/font-core.el
+++ b/lisp/font-core.el
@@ -1,7 +1,7 @@
1;;; font-core.el --- Core interface to font-lock 1;;; font-core.el --- Core interface to font-lock
2 2
3;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 3;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
4;; 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: languages, faces 7;; Keywords: languages, faces
diff --git a/lisp/format.el b/lisp/format.el
index 30e9ee207c7..58c69575d36 100644
--- a/lisp/format.el
+++ b/lisp/format.el
@@ -1,7 +1,7 @@
1;;; format.el --- read and save files in multiple formats 1;;; format.el --- read and save files in multiple formats
2 2
3;; Copyright (C) 1994, 1995, 1997, 1999, 2002, 2003, 2004, 3;; Copyright (C) 1994, 1995, 1997, 1999, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Boris Goldowsky <boris@gnu.org> 6;; Author: Boris Goldowsky <boris@gnu.org>
7 7
diff --git a/lisp/forms.el b/lisp/forms.el
index e7282ee0ea5..ab5e591938c 100644
--- a/lisp/forms.el
+++ b/lisp/forms.el
@@ -1,7 +1,7 @@
1;;; forms.el --- Forms mode: edit a file as a form to fill in 1;;; forms.el --- Forms mode: edit a file as a form to fill in
2 2
3;; Copyright (C) 1991, 1994, 1995, 1996, 1997, 2002, 2003, 3;; Copyright (C) 1991, 1994, 1995, 1996, 1997, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Johan Vromans <jvromans@squirrel.nl> 6;; Author: Johan Vromans <jvromans@squirrel.nl>
7 7
diff --git a/lisp/frame.el b/lisp/frame.el
index 541d1c364d6..d1ee9db01a2 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -1,7 +1,7 @@
1;;; frame.el --- multi-frame management independent of window systems 1;;; frame.el --- multi-frame management independent of window systems
2 2
3;; Copyright (C) 1993, 1994, 1996, 1997, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1993, 1994, 1996, 1997, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: internal 7;; Keywords: internal
@@ -769,7 +769,7 @@ automatically."
769 (select-frame frame) 769 (select-frame frame)
770 (raise-frame frame) 770 (raise-frame frame)
771 ;; Ensure, if possible, that frame gets input focus. 771 ;; Ensure, if possible, that frame gets input focus.
772 (cond ((eq (window-system frame) 'x) 772 (cond ((memq (window-system frame) '(x max))
773 (x-focus-frame frame)) 773 (x-focus-frame frame))
774 ((eq (window-system frame) 'w32) 774 ((eq (window-system frame) 'w32)
775 (w32-focus-frame frame))) 775 (w32-focus-frame frame)))
diff --git a/lisp/fringe.el b/lisp/fringe.el
index a32d6b5902c..fd9e70b5846 100644
--- a/lisp/fringe.el
+++ b/lisp/fringe.el
@@ -1,6 +1,6 @@
1;;; fringe.el --- change fringes appearance in various ways 1;;; fringe.el --- change fringes appearance in various ways
2 2
3;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Simon Josefsson <simon@josefsson.org> 5;; Author: Simon Josefsson <simon@josefsson.org>
6;; Maintainer: FSF 6;; Maintainer: FSF
diff --git a/lisp/generic-x.el b/lisp/generic-x.el
index d6f56cfc76c..5b1d0bfb93d 100644
--- a/lisp/generic-x.el
+++ b/lisp/generic-x.el
@@ -1,7 +1,7 @@
1;;; generic-x.el --- A collection of generic modes 1;;; generic-x.el --- A collection of generic modes
2 2
3;; Copyright (C) 1997, 1998, 2002, 2003, 2004, 3;; Copyright (C) 1997, 1998, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Peter Breton <pbreton@cs.umb.edu> 6;; Author: Peter Breton <pbreton@cs.umb.edu>
7;; Created: Tue Oct 08 1996 7;; Created: Tue Oct 08 1996
@@ -1706,6 +1706,8 @@ like an INI file. You can add this hook to `find-file-hook'."
1706 "reiserfs" 1706 "reiserfs"
1707 "romfs" 1707 "romfs"
1708 "smbfs" 1708 "smbfs"
1709 "cifs"
1710 "usbdevfs"
1709 "sysv" 1711 "sysv"
1710 "tmpfs" 1712 "tmpfs"
1711 "udf" 1713 "udf"
@@ -1717,7 +1719,7 @@ like an INI file. You can add this hook to `find-file-hook'."
1717 "swap" 1719 "swap"
1718 "auto" 1720 "auto"
1719 "ignore") 1721 "ignore")
1720 '(("^\\([/-A-Za-z0-9_]+\\)\\s-+\\([/-A-Za-z0-9_]+\\)" 1722 '(("^\\([^# \t]+\\)\\s-+\\([^# \t]+\\)"
1721 (1 font-lock-type-face t) 1723 (1 font-lock-type-face t)
1722 (2 font-lock-variable-name-face t))) 1724 (2 font-lock-variable-name-face t)))
1723 '("/etc/[v]*fstab\\'") 1725 '("/etc/[v]*fstab\\'")
@@ -1725,7 +1727,7 @@ like an INI file. You can add this hook to `find-file-hook'."
1725 (function 1727 (function
1726 (lambda () 1728 (lambda ()
1727 (setq imenu-generic-expression 1729 (setq imenu-generic-expression
1728 '((nil "^\\([/-A-Za-z0-9_]+\\)\\s-+" 1)))))))) 1730 '((nil "^\\([^# \t]+\\)\\s-+" 1))))))))
1729 1731
1730;; From Jacques Duthen <jacques.duthen@sncf.fr> 1732;; From Jacques Duthen <jacques.duthen@sncf.fr>
1731(when (memq 'show-tabs-generic-mode generic-extras-enable-list) 1733(when (memq 'show-tabs-generic-mode generic-extras-enable-list)
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 620e017b38e..be9436d350c 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,85 @@
12006-02-10 Reiner Steib <Reiner.Steib@gmx.de>
2
3 * gnus.el: Remove bogus comment.
4
52006-02-09 Daiki Ueno <ueno@unixuser.org>
6
7 * pgg-gpg.el (pgg-gpg-encrypt-region): Don't convert line-endings
8 in elisp.
9 (pgg-gpg-encrypt-symmetric-region): Ditto.
10 (pgg-gpg-sign-region): Ditto.
11
12 * pgg-def.el (pgg-text-mode): New variable.
13
14 * mml2015.el (mml2015-pgg-sign): Enable pgg-text-mode.
15 (mml2015-pgg-encrypt): Ditto.
16
17 * mml1991.el (mml1991-pgg-sign): Enable pgg-text-mode.
18 (mml1991-pgg-encrypt): Ditto.
19
202006-02-08 Katsumi Yamaoka <yamaoka@jpl.org>
21
22 * nnfolder.el (nnfolder-insert-newsgroup-line): Use
23 message-make-date instead of current-time-string.
24
25 * mm-view.el (mm-inline-message): Don't set gnus-newsgroup-charset
26 to gnus-decoded which mm-uu might set.
27
282006-02-08 Katsumi Yamaoka <yamaoka@jpl.org>
29
30 * rfc2231.el (rfc2231-parse-string): Sort segmented parameters;
31 don't decode quoted parameters; remove misimported Emacs code.
32 Suggested by ARISAWA Akihiro <ari@mbf.ocn.ne.jp>.
33 (rfc2231-decode-encoded-string): Don't use split-string which
34 behaves differently according to Emacs version; use
35 mm-decode-coding-region to convert charset to coding-system.
36 Suggested by ARISAWA Akihiro <ari@mbf.ocn.ne.jp>.
37 (rfc2231-encode-string): Remove misimported Emacs code.
38
392006-02-07 Katsumi Yamaoka <yamaoka@jpl.org>
40
41 * gnus-art.el (article-decode-charset): Don't use ignore-errors
42 when calling mail-header-parse-content-type.
43 (article-de-quoted-unreadable): Ditto.
44 (article-de-base64-unreadable): Ditto.
45 (article-wash-html): Ditto.
46
47 * mm-decode.el (mm-dissect-buffer): Don't use ignore-errors when
48 calling mail-header-parse-content-type and
49 mail-header-parse-content-disposition.
50 (mm-find-raw-part-by-type): Don't use ignore-errors when calling
51 mail-header-parse-content-type.
52
53 * mml.el (mml-insert-mime-headers): Use mml-insert-parameter to
54 insert charset and format parameters; encode description after
55 inserting it to buffer.
56 (mml-insert-parameter): Fold lines properly even if a parameter is
57 segmented into two or more lines; change the max column to 76.
58
59 * rfc1843.el (rfc1843-decode-article-body): Don't use
60 ignore-errors when calling mail-header-parse-content-type.
61
62 * rfc2231.el (rfc2231-parse-string): Return at least type if
63 possible; don't cause an error even if it fails in parsing of
64 parameters. Suggested by ARISAWA Akihiro <ari@mbf.ocn.ne.jp>.
65 (rfc2231-encode-string): Don't break lines at the beginning, leave
66 it to mml-insert-parameter.
67
68 * webmail.el (webmail-yahoo-article): Don't use ignore-errors when
69 calling mail-header-parse-content-type.
70
712006-02-06 Reiner Steib <Reiner.Steib@gmx.de>
72
73 * spam-report.el (spam-report-gmane-use-article-number): Improve
74 doc string.
75 (spam-report-gmane-internal): Check if a suitable header was found
76 in the article.
77
782006-02-04 Katsumi Yamaoka <yamaoka@jpl.org>
79
80 * rfc2231.el (rfc2231-parse-string): Revert 2006-02-03 change.
81 (rfc2231-encode-string): Make param*=value always begin with LWSP.
82
12006-02-05 Romain Francoise <romain@orebokech.com> 832006-02-05 Romain Francoise <romain@orebokech.com>
2 84
3 Update copyright notices of all files in the gnus directory. 85 Update copyright notices of all files in the gnus directory.
@@ -6,7 +88,7 @@
6 88
7 * gnus-util.el (gnus-error): Describe `args'. 89 * gnus-util.el (gnus-error): Describe `args'.
8 90
92006-02-03 Andreas Seltenreich <uwi7@stud.uni-karlsruhe.de> 912006-02-03 Andreas Seltenreich <uwi7@stud.uni-karlsruhe.de>
10 92
11 * nnweb.el (nnweb-request-group): Avoid growing overview files. 93 * nnweb.el (nnweb-request-group): Avoid growing overview files.
12 94
@@ -23,7 +105,7 @@
23 * mml.el (mml-generate-mime-1): Correct the order of inline signed 105 * mml.el (mml-generate-mime-1): Correct the order of inline signed
24 parts. 106 parts.
25 107
262006-01-31 Andreas Seltenreich <uwi7@stud.uni-karlsruhe.de> 1082006-01-31 Andreas Seltenreich <uwi7@stud.uni-karlsruhe.de>
27 109
28 * nnweb.el (nnweb-group-alist): Use defvar instead of defvoo, 110 * nnweb.el (nnweb-group-alist): Use defvar instead of defvoo,
29 there's only one active file for all servers. 111 there's only one active file for all servers.
@@ -64,7 +146,7 @@
64 146
65 * nnweb.el (nnweb-google-parse-1): Clarify some comments. 147 * nnweb.el (nnweb-google-parse-1): Clarify some comments.
66 148
672006-01-30 Andreas Seltenreich <uwi7@stud.uni-karlsruhe.de> 1492006-01-30 Andreas Seltenreich <uwi7@stud.uni-karlsruhe.de>
68 150
69 * nnweb.el (nnweb-type-definition, nnweb-google-parse-1) 151 * nnweb.el (nnweb-type-definition, nnweb-google-parse-1)
70 (nnweb-google-create-mapping, nnweb-google-search): Adapt to 152 (nnweb-google-create-mapping, nnweb-google-search): Adapt to
@@ -422,6 +504,98 @@
422 as a buffer-local variable. This avoids creating truncated 504 as a buffer-local variable. This avoids creating truncated
423 dribble files as a result of a hang up, eg. 505 dribble files as a result of a hang up, eg.
424 506
5072005-11-04 Ken Manheimer <ken.manheimer@gmail.com>
508
509 * pgg-pgp.el (pgg-pgp-encrypt-region, pgg-pgp-decrypt-region)
510 (pgg-pgp-encrypt-symmetric-region, pgg-pgp-encrypt-symmetric)
511 (pgg-pgp-encrypt, pgg-pgp-decrypt-region, pgg-pgp-decrypt)
512 (pgg-pgp-sign-region, pgg-pgp-sign): Add optional 'passphrase'
513 argument to all these routines, so the passphrase can be managed
514 externally and passed in to the system.
515 (pgg-pgp-decrypt-region, pgg-pgp-sign-region): Use new name for
516 pgg-add-passphrase-to-cache function.
517
518 * pgg-pgp5.el (pgg-pgp5-encrypt-region, pgg-pgp5-decrypt-region)
519 (pgg-pgp5-encrypt-symmetric-region, pgg-pgp5-encrypt-symmetric)
520 (pgg-pgp5-encrypt, pgg-pgp5-decrypt-region, pgg-pgp5-decrypt)
521 (pgg-pgp5-sign-region, pgg-pgp5-sign): Add optional 'passphrase'
522 argument to all these routines, so the passphrase can be managed
523 externally and passed in to the system.
524 (pgg-pgp5-sign-region): Use new name of pgg-add-passphrase-to-cache
525 function.
526
5272005-10-29 Ken Manheimer <ken.manheimer@gmail.com>
528
529 * pgg-gpg.el (pgg-gpg-select-matching-key): Fix: look at the right
530 part of the decoded armor to find the key-identifier.
531 (pgg-gpg-lookup-key-owner): New function to return the
532 human-readable identifier of a key owner.
533 (pgg-gpg-lookup-id-from-key-owner): Make it easy to identify the
534 key itself.
535 (pgg-gpg-decrypt-region): Prompt with the key owner (rather than
536 the key value) if we have a key and can match it against a secret
537 key. Also, added a note pointing out fact that the prompt only
538 indicates the first matching key.
539
540 * pgg.el (pgg-decrypt): Passing along 'passphrase' in call to
541 pgg-decrypt-region.
542 (pgg-pending-timers): A new hash for tracking the passphrase cache
543 timers, so that new ones supercede old ones.
544 (pgg-add-passphrase-to-cache): Rename from
545 `pgg-add-passphrase-cache' to reduce confusion (all callers
546 changed). Modified to cancel old timers when new ones are added.
547 (pgg-remove-passphrase-from-cache): Rename from
548 `pgg-remove-passphrase-cache' to reduce confusion (all callers
549 changed). Modified to cancel old timers when their keys are
550 removed from the cache.
551 (pgg-cancel-timer): In Emacs, an alias for cancel-timer; in
552 XEmacs, an indirection to delete-itimer.
553 (pgg-read-passphrase-from-cache, pgg-read-passphrase):
554 Extract pgg-read-passphrase-from-cache from pgg-read-passphrase so
555 users can only check cache without risk of prompting. Correct bug in
556 notruncate behavior.
557 (pgg-read-passphrase-from-cache, pgg-read-passphrase)
558 (pgg-add-passphrase-cache, pgg-remove-passphrase-cache):
559 Add informative docstrings.
560 (pgg-decrypt): Convey provided passphrase in subordinate call to
561 pgg-decrypt-region.
562
5632005-10-20 Ken Manheimer <ken.manheimer+emacs@gmail.com>
564
565 * pgg.el (pgg-encrypt-region, pgg-encrypt-symmetric-region)
566 (pgg-encrypt-symmetric, pgg-encrypt, pgg-decrypt-region)
567 (pgg-decrypt, pgg-sign-region, pgg-sign): Add optional
568 'passphrase' argument, so the passphrase can be managed externally
569 and then passed in to the system.
570
571 * pgg.el (pgg-read-passphrase, pgg-add-passphrase-cache)
572 (pgg-remove-passphrase-cache): Add optional 'notruncate' argument,
573 so the passphrase cache can be used reliably with identifiers
574 besides a pgp packet's key id.
575
576 * pgg-gpg.el (pgg-pgp-encrypt-region)
577 (pgg-pgp-encrypt-symmetric-region, pgg-pgp-encrypt-symmetric)
578 (pgg-pgp-encrypt, pgg-pgp-decrypt-region, pgg-pgp-decrypt)
579 (pgg-pgp-sign-region, pgg-pgp-sign): Add optional 'passphrase'
580 argument to all these routines, so the passphrase can be managed
581 externally and passed in to the system.
582
583 * pgg-gpg.el (pgg-gpg-possibly-cache-passphrase): Add optional
584 'notruncate' argument, so the passphrase cache can be used
585 reliably with identifiers besides a pgp packet's key id.
586
5872005-10-29 Sascha Wilde <swilde@sha-bang.de>
588
589 * pgg-gpg.el (pgg-gpg-encrypt-symmetric-region): New function for
590 symmetric encryption.
591 (pgg-gpg-symmetric-key-p): New function to check for an symmetric
592 encrypted session key.
593 (pgg-gpg-decrypt-region): When decrypting a symmetric encrypted
594 message ask for the passphrase in a proper way.
595
596 * pgg.el (pgg-encrypt-symmetric, pgg-encrypt-symmetric-region):
597 New user commands for symmetric encryption.
598
4252005-11-30 Stefan Monnier <monnier@iro.umontreal.ca> 5992005-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
426 600
427 * gnus-delay.el (gnus-delay-group): Don't autoload. 601 * gnus-delay.el (gnus-delay-group): Don't autoload.
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index b51ceff29a9..c15151729a0 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -2267,38 +2267,37 @@ If PROMPT (the prefix), prompt for a coding system to use."
2267 (error)) 2267 (error))
2268 gnus-newsgroup-ignored-charsets)) 2268 gnus-newsgroup-ignored-charsets))
2269 ct cte ctl charset format) 2269 ct cte ctl charset format)
2270 (save-excursion 2270 (save-excursion
2271 (save-restriction 2271 (save-restriction
2272 (article-narrow-to-head) 2272 (article-narrow-to-head)
2273 (setq ct (message-fetch-field "Content-Type" t) 2273 (setq ct (message-fetch-field "Content-Type" t)
2274 cte (message-fetch-field "Content-Transfer-Encoding" t) 2274 cte (message-fetch-field "Content-Transfer-Encoding" t)
2275 ctl (and ct (ignore-errors 2275 ctl (and ct (mail-header-parse-content-type ct))
2276 (mail-header-parse-content-type ct))) 2276 charset (cond
2277 charset (cond 2277 (prompt
2278 (prompt 2278 (mm-read-coding-system "Charset to decode: "))
2279 (mm-read-coding-system "Charset to decode: ")) 2279 (ctl
2280 (ctl 2280 (mail-content-type-get ctl 'charset)))
2281 (mail-content-type-get ctl 'charset))) 2281 format (and ctl (mail-content-type-get ctl 'format)))
2282 format (and ctl (mail-content-type-get ctl 'format))) 2282 (when cte
2283 (when cte 2283 (setq cte (mail-header-strip cte)))
2284 (setq cte (mail-header-strip cte))) 2284 (if (and ctl (not (string-match "/" (car ctl))))
2285 (if (and ctl (not (string-match "/" (car ctl)))) 2285 (setq ctl nil))
2286 (setq ctl nil)) 2286 (goto-char (point-max)))
2287 (goto-char (point-max))) 2287 (forward-line 1)
2288 (forward-line 1) 2288 (save-restriction
2289 (save-restriction 2289 (narrow-to-region (point) (point-max))
2290 (narrow-to-region (point) (point-max)) 2290 (when (and (eq mail-parse-charset 'gnus-decoded)
2291 (when (and (eq mail-parse-charset 'gnus-decoded) 2291 (eq (mm-body-7-or-8) '8bit))
2292 (eq (mm-body-7-or-8) '8bit)) 2292 ;; The text code could have been decoded.
2293 ;; The text code could have been decoded. 2293 (setq charset mail-parse-charset))
2294 (setq charset mail-parse-charset)) 2294 (when (and (or (not ctl)
2295 (when (and (or (not ctl) 2295 (equal (car ctl) "text/plain"))
2296 (equal (car ctl) "text/plain")) 2296 (not format)) ;; article with format will decode later.
2297 (not format)) ;; article with format will decode later. 2297 (mm-decode-body
2298 (mm-decode-body 2298 charset (and cte (intern (downcase
2299 charset (and cte (intern (downcase 2299 (gnus-strip-whitespace cte))))
2300 (gnus-strip-whitespace cte)))) 2300 (car ctl)))))))
2301 (car ctl)))))))
2302 2301
2303(defun article-decode-encoded-words () 2302(defun article-decode-encoded-words ()
2304 "Remove encoded-word encoding from headers." 2303 "Remove encoded-word encoding from headers."
@@ -2390,9 +2389,7 @@ If READ-CHARSET, ask for a coding system."
2390 (setq type 2389 (setq type
2391 (gnus-fetch-field "content-transfer-encoding")) 2390 (gnus-fetch-field "content-transfer-encoding"))
2392 (let* ((ct (gnus-fetch-field "content-type")) 2391 (let* ((ct (gnus-fetch-field "content-type"))
2393 (ctl (and ct 2392 (ctl (and ct (mail-header-parse-content-type ct))))
2394 (ignore-errors
2395 (mail-header-parse-content-type ct)))))
2396 (setq charset (and ctl 2393 (setq charset (and ctl
2397 (mail-content-type-get ctl 'charset))) 2394 (mail-content-type-get ctl 'charset)))
2398 (if (stringp charset) 2395 (if (stringp charset)
@@ -2420,9 +2417,7 @@ If READ-CHARSET, ask for a coding system."
2420 (setq type 2417 (setq type
2421 (gnus-fetch-field "content-transfer-encoding")) 2418 (gnus-fetch-field "content-transfer-encoding"))
2422 (let* ((ct (gnus-fetch-field "content-type")) 2419 (let* ((ct (gnus-fetch-field "content-type"))
2423 (ctl (and ct 2420 (ctl (and ct (mail-header-parse-content-type ct))))
2424 (ignore-errors
2425 (mail-header-parse-content-type ct)))))
2426 (setq charset (and ctl 2421 (setq charset (and ctl
2427 (mail-content-type-get ctl 'charset))) 2422 (mail-content-type-get ctl 'charset)))
2428 (if (stringp charset) 2423 (if (stringp charset)
@@ -2488,9 +2483,7 @@ charset defined in `gnus-summary-show-article-charset-alist' is used."
2488 (when (gnus-buffer-live-p gnus-original-article-buffer) 2483 (when (gnus-buffer-live-p gnus-original-article-buffer)
2489 (with-current-buffer gnus-original-article-buffer 2484 (with-current-buffer gnus-original-article-buffer
2490 (let* ((ct (gnus-fetch-field "content-type")) 2485 (let* ((ct (gnus-fetch-field "content-type"))
2491 (ctl (and ct 2486 (ctl (and ct (mail-header-parse-content-type ct))))
2492 (ignore-errors
2493 (mail-header-parse-content-type ct)))))
2494 (setq charset (and ctl 2487 (setq charset (and ctl
2495 (mail-content-type-get ctl 'charset))) 2488 (mail-content-type-get ctl 'charset)))
2496 (when (stringp charset) 2489 (when (stringp charset)
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el
index 359e48cb701..2caccc0b70e 100644
--- a/lisp/gnus/gnus.el
+++ b/lisp/gnus/gnus.el
@@ -4257,9 +4257,6 @@ current display is used."
4257 (delete-frame gnus-other-frame-object)) 4257 (delete-frame gnus-other-frame-object))
4258 (setq gnus-other-frame-object nil))))))) 4258 (setq gnus-other-frame-object nil)))))))
4259 4259
4260;;(setq thing ? ; this is a comment
4261;; more 'yes)
4262
4263;;;###autoload 4260;;;###autoload
4264(defun gnus (&optional arg dont-connect slave) 4261(defun gnus (&optional arg dont-connect slave)
4265 "Read network news. 4262 "Read network news.
diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el
index b275807c051..996c934191c 100644
--- a/lisp/gnus/mm-decode.el
+++ b/lisp/gnus/mm-decode.el
@@ -534,13 +534,13 @@ Postpone undisplaying of viewers for types in
534 loose-mime 534 loose-mime
535 (mail-fetch-field "mime-version")) 535 (mail-fetch-field "mime-version"))
536 (setq ct (mail-fetch-field "content-type") 536 (setq ct (mail-fetch-field "content-type")
537 ctl (ignore-errors (mail-header-parse-content-type ct)) 537 ctl (and ct (mail-header-parse-content-type ct))
538 cte (mail-fetch-field "content-transfer-encoding") 538 cte (mail-fetch-field "content-transfer-encoding")
539 cd (mail-fetch-field "content-disposition") 539 cd (mail-fetch-field "content-disposition")
540 description (mail-fetch-field "content-description") 540 description (mail-fetch-field "content-description")
541 id (mail-fetch-field "content-id")) 541 id (mail-fetch-field "content-id"))
542 (unless from 542 (unless from
543 (setq from (mail-fetch-field "from"))) 543 (setq from (mail-fetch-field "from")))
544 ;; FIXME: In some circumstances, this code is running within 544 ;; FIXME: In some circumstances, this code is running within
545 ;; an unibyte macro. mail-extract-address-components 545 ;; an unibyte macro. mail-extract-address-components
546 ;; creates unibyte buffers. This `if', though not a perfect 546 ;; creates unibyte buffers. This `if', though not a perfect
@@ -557,7 +557,7 @@ Postpone undisplaying of viewers for types in
557 (mail-header-remove-comments 557 (mail-header-remove-comments
558 cte))))) 558 cte)))))
559 no-strict-mime 559 no-strict-mime
560 (and cd (ignore-errors (mail-header-parse-content-disposition cd))) 560 (and cd (mail-header-parse-content-disposition cd))
561 description) 561 description)
562 (setq type (split-string (car ctl) "/")) 562 (setq type (split-string (car ctl) "/"))
563 (setq subtype (cadr type) 563 (setq subtype (cadr type)
@@ -592,8 +592,7 @@ Postpone undisplaying of viewers for types in
592 (mail-header-remove-comments 592 (mail-header-remove-comments
593 cte))))) 593 cte)))))
594 no-strict-mime 594 no-strict-mime
595 (and cd (ignore-errors 595 (and cd (mail-header-parse-content-disposition cd))
596 (mail-header-parse-content-disposition cd)))
597 description id) 596 description id)
598 ctl)))) 597 ctl))))
599 (when id 598 (when id
@@ -1401,9 +1400,8 @@ If RECURSIVE, search recursively."
1401 (save-excursion 1400 (save-excursion
1402 (save-restriction 1401 (save-restriction
1403 (narrow-to-region start (1- (point))) 1402 (narrow-to-region start (1- (point)))
1404 (when (let ((ctl (ignore-errors 1403 (when (let* ((ct (mail-fetch-field "content-type"))
1405 (mail-header-parse-content-type 1404 (ctl (and ct (mail-header-parse-content-type ct))))
1406 (mail-fetch-field "content-type")))))
1407 (if notp 1405 (if notp
1408 (not (equal (car ctl) type)) 1406 (not (equal (car ctl) type))
1409 (equal (car ctl) type))) 1407 (equal (car ctl) type)))
@@ -1414,9 +1412,8 @@ If RECURSIVE, search recursively."
1414 (save-excursion 1412 (save-excursion
1415 (save-restriction 1413 (save-restriction
1416 (narrow-to-region start end) 1414 (narrow-to-region start end)
1417 (when (let ((ctl (ignore-errors 1415 (when (let* ((ct (mail-fetch-field "content-type"))
1418 (mail-header-parse-content-type 1416 (ctl (and ct (mail-header-parse-content-type ct))))
1419 (mail-fetch-field "content-type")))))
1420 (if notp 1417 (if notp
1421 (not (equal (car ctl) type)) 1418 (not (equal (car ctl) type))
1422 (equal (car ctl) type))) 1419 (equal (car ctl) type)))
diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el
index 73cab0a5676..43d6bddf194 100644
--- a/lisp/gnus/mm-view.el
+++ b/lisp/gnus/mm-view.el
@@ -486,7 +486,8 @@
486 ;; disable prepare hook 486 ;; disable prepare hook
487 gnus-article-prepare-hook 487 gnus-article-prepare-hook
488 (gnus-newsgroup-charset 488 (gnus-newsgroup-charset
489 (or charset gnus-newsgroup-charset))) 489 (unless (eq charset 'gnus-decoded) ;; mm-uu might set it.
490 (or charset gnus-newsgroup-charset))))
490 (let ((gnus-original-article-buffer (mm-handle-buffer handle))) 491 (let ((gnus-original-article-buffer (mm-handle-buffer handle)))
491 (run-hooks 'gnus-article-decode-hook)) 492 (run-hooks 'gnus-article-decode-hook))
492 (gnus-article-prepare-display) 493 (gnus-article-prepare-display)
diff --git a/lisp/gnus/mml.el b/lisp/gnus/mml.el
index f8c34b370d6..0ceda113f49 100644
--- a/lisp/gnus/mml.el
+++ b/lisp/gnus/mml.el
@@ -664,10 +664,10 @@ If MML is non-nil, return the buffer up till the correspondent mml tag."
664 "Can't encode a part with several charsets")) 664 "Can't encode a part with several charsets"))
665 (insert "Content-Type: " type) 665 (insert "Content-Type: " type)
666 (when charset 666 (when charset
667 (insert "; " (mail-header-encode-parameter 667 (mml-insert-parameter
668 "charset" (symbol-name charset)))) 668 (mail-header-encode-parameter "charset" (symbol-name charset))))
669 (when flowed 669 (when flowed
670 (insert "; format=flowed")) 670 (mml-insert-parameter "format=flowed"))
671 (when parameters 671 (when parameters
672 (mml-insert-parameter-string 672 (mml-insert-parameter-string
673 cont mml-content-type-parameters)) 673 cont mml-content-type-parameters))
@@ -687,8 +687,11 @@ If MML is non-nil, return the buffer up till the correspondent mml tag."
687 (unless (eq encoding '7bit) 687 (unless (eq encoding '7bit)
688 (insert (format "Content-Transfer-Encoding: %s\n" encoding))) 688 (insert (format "Content-Transfer-Encoding: %s\n" encoding)))
689 (when (setq description (cdr (assq 'description cont))) 689 (when (setq description (cdr (assq 'description cont)))
690 (insert "Content-Description: " 690 (insert "Content-Description: ")
691 (mail-encode-encoded-word-string description) "\n")))) 691 (setq description (prog1
692 (point)
693 (insert description "\n")))
694 (mail-encode-encoded-word-region description (point)))))
692 695
693(defun mml-parameter-string (cont types) 696(defun mml-parameter-string (cont types)
694 (let ((string "") 697 (let ((string "")
@@ -841,14 +844,20 @@ If HANDLES is non-nil, use it instead reparsing the buffer."
841 844
842(defun mml-insert-parameter (&rest parameters) 845(defun mml-insert-parameter (&rest parameters)
843 "Insert PARAMETERS in a nice way." 846 "Insert PARAMETERS in a nice way."
844 (dolist (param parameters) 847 (let (start end)
845 (insert ";") 848 (dolist (param parameters)
846 (let ((point (point))) 849 (insert ";")
850 (setq start (point))
847 (insert " " param) 851 (insert " " param)
848 (when (> (current-column) 71) 852 (setq end (point))
849 (goto-char point) 853 (goto-char start)
850 (insert "\n ") 854 (end-of-line)
851 (end-of-line))))) 855 (if (> (current-column) 76)
856 (progn
857 (goto-char start)
858 (insert "\n")
859 (goto-char (1+ end)))
860 (goto-char end)))))
852 861
853;;; 862;;;
854;;; Mode for inserting and editing MML forms 863;;; Mode for inserting and editing MML forms
diff --git a/lisp/gnus/mml1991.el b/lisp/gnus/mml1991.el
index 761ce4f0af4..0c6bb675388 100644
--- a/lisp/gnus/mml1991.el
+++ b/lisp/gnus/mml1991.el
@@ -229,7 +229,8 @@
229 (defvar pgg-output-buffer)) 229 (defvar pgg-output-buffer))
230 230
231(defun mml1991-pgg-sign (cont) 231(defun mml1991-pgg-sign (cont)
232 (let (headers cte) 232 (let ((pgg-text-mode t)
233 headers cte)
233 ;; Don't sign headers. 234 ;; Don't sign headers.
234 (goto-char (point-min)) 235 (goto-char (point-min))
235 (while (not (looking-at "^$")) 236 (while (not (looking-at "^$"))
@@ -261,7 +262,8 @@
261 t)) 262 t))
262 263
263(defun mml1991-pgg-encrypt (cont &optional sign) 264(defun mml1991-pgg-encrypt (cont &optional sign)
264 (let (cte) 265 (let ((pgg-text-mode t)
266 cte)
265 ;; Strip MIME Content[^ ]: headers since it will be ASCII ARMOURED 267 ;; Strip MIME Content[^ ]: headers since it will be ASCII ARMOURED
266 (goto-char (point-min)) 268 (goto-char (point-min))
267 (while (looking-at "^Content[^ ]+:") 269 (while (looking-at "^Content[^ ]+:")
diff --git a/lisp/gnus/mml2015.el b/lisp/gnus/mml2015.el
index cb9e77983d3..80dd5b26597 100644
--- a/lisp/gnus/mml2015.el
+++ b/lisp/gnus/mml2015.el
@@ -814,6 +814,7 @@
814 (boundary (mml-compute-boundary cont)) 814 (boundary (mml-compute-boundary cont))
815 (pgg-default-user-id (or (message-options-get 'mml-sender) 815 (pgg-default-user-id (or (message-options-get 'mml-sender)
816 pgg-default-user-id)) 816 pgg-default-user-id))
817 (pgg-text-mode t)
817 entry) 818 entry)
818 (unless (pgg-sign-region (point-min) (point-max)) 819 (unless (pgg-sign-region (point-min) (point-max))
819 (pop-to-buffer mml2015-result-buffer) 820 (pop-to-buffer mml2015-result-buffer)
@@ -841,6 +842,7 @@
841 842
842(defun mml2015-pgg-encrypt (cont &optional sign) 843(defun mml2015-pgg-encrypt (cont &optional sign)
843 (let ((pgg-errors-buffer mml2015-result-buffer) 844 (let ((pgg-errors-buffer mml2015-result-buffer)
845 (pgg-text-mode t)
844 (boundary (mml-compute-boundary cont))) 846 (boundary (mml-compute-boundary cont)))
845 (unless (pgg-encrypt-region (point-min) (point-max) 847 (unless (pgg-encrypt-region (point-min) (point-max)
846 (split-string 848 (split-string
diff --git a/lisp/gnus/nnfolder.el b/lisp/gnus/nnfolder.el
index c7043011fa2..bd9957283f4 100644
--- a/lisp/gnus/nnfolder.el
+++ b/lisp/gnus/nnfolder.el
@@ -826,7 +826,7 @@ deleted. Point is left where the deleted region was."
826 (insert "\n")) 826 (insert "\n"))
827 (forward-char -1) 827 (forward-char -1)
828 (insert (format (concat nnfolder-article-marker "%d %s\n") 828 (insert (format (concat nnfolder-article-marker "%d %s\n")
829 (cdr group-art) (current-time-string))))) 829 (cdr group-art) (message-make-date)))))
830 830
831(defun nnfolder-active-number (group) 831(defun nnfolder-active-number (group)
832 ;; Find the next article number in GROUP. 832 ;; Find the next article number in GROUP.
diff --git a/lisp/gnus/rfc1843.el b/lisp/gnus/rfc1843.el
index 8de64ce7c99..aac75758c05 100644
--- a/lisp/gnus/rfc1843.el
+++ b/lisp/gnus/rfc1843.el
@@ -149,8 +149,7 @@ ftp://ftp.math.psu.edu/pub/simpson/chinese/hzp/hzp.doc"
149 (let* ((inhibit-point-motion-hooks t) 149 (let* ((inhibit-point-motion-hooks t)
150 (case-fold-search t) 150 (case-fold-search t)
151 (ct (message-fetch-field "Content-Type" t)) 151 (ct (message-fetch-field "Content-Type" t))
152 (ctl (and ct (ignore-errors 152 (ctl (and ct (mail-header-parse-content-type ct))))
153 (mail-header-parse-content-type ct)))))
154 (if (and ctl (not (string-match "/" (car ctl)))) 153 (if (and ctl (not (string-match "/" (car ctl))))
155 (setq ctl nil)) 154 (setq ctl nil))
156 (goto-char (point-max)) 155 (goto-char (point-max))
diff --git a/lisp/gnus/rfc2231.el b/lisp/gnus/rfc2231.el
index fb2d070328e..7b4cf2447f4 100644
--- a/lisp/gnus/rfc2231.el
+++ b/lisp/gnus/rfc2231.el
@@ -41,22 +41,19 @@
41N.B. This is in violation with RFC2047, but it seem to be in common use." 41N.B. This is in violation with RFC2047, but it seem to be in common use."
42 (rfc2231-parse-string (rfc2047-decode-string string))) 42 (rfc2231-parse-string (rfc2047-decode-string string)))
43 43
44(defun rfc2231-parse-string (string) 44(defun rfc2231-parse-string (string &optional signal-error)
45 "Parse STRING and return a list. 45 "Parse STRING and return a list.
46The list will be on the form 46The list will be on the form
47 `(name (attribute . value) (attribute . value)...)" 47 `(name (attribute . value) (attribute . value)...)'.
48
49If the optional SIGNAL-ERROR is non-nil, signal an error when this
50function fails in parsing of parameters."
48 (with-temp-buffer 51 (with-temp-buffer
49 (let ((ttoken (ietf-drums-token-to-list ietf-drums-text-token)) 52 (let ((ttoken (ietf-drums-token-to-list ietf-drums-text-token))
50 (stoken (ietf-drums-token-to-list ietf-drums-tspecials)) 53 (stoken (ietf-drums-token-to-list ietf-drums-tspecials))
51 (ntoken (ietf-drums-token-to-list "0-9")) 54 (ntoken (ietf-drums-token-to-list "0-9"))
52 (prev-value "") 55 c type attribute encoded number prev-attribute vals
53 display-name mailbox c display-string parameters 56 prev-encoded parameters value)
54 attribute value type subtype number encoded
55 prev-attribute prev-encoded)
56 ;; Some mailer (e.g. Thunderbird 1.5) doesn't terminate each
57 ;; line with semicolon when folding a long parameter value.
58 (while (string-match "\\([^\t\n\r ;]\\)[\t ]*\r?\n[\t ]+" string)
59 (setq string (replace-match "\\1;\n " nil nil string)))
60 (ietf-drums-init (mail-header-remove-whitespace 57 (ietf-drums-init (mail-header-remove-whitespace
61 (mail-header-remove-comments string))) 58 (mail-header-remove-comments string)))
62 (let ((table (copy-syntax-table ietf-drums-syntax-table))) 59 (let ((table (copy-syntax-table ietf-drums-syntax-table)))
@@ -74,63 +71,76 @@ The list will be on the form
74 (setq type (downcase (buffer-substring 71 (setq type (downcase (buffer-substring
75 (point) (progn (forward-sexp 1) (point))))) 72 (point) (progn (forward-sexp 1) (point)))))
76 ;; Do the params 73 ;; Do the params
77 (while (not (eobp)) 74 (condition-case err
78 (setq c (char-after)) 75 (progn
79 (unless (eq c ?\;) 76 (while (not (eobp))
80 (error "Invalid header: %s" string))
81 (forward-char 1)
82 ;; If c in nil, then this is an invalid header, but
83 ;; since elm generates invalid headers on this form,
84 ;; we allow it.
85 (when (setq c (char-after))
86 (if (and (memq c ttoken)
87 (not (memq c stoken)))
88 (setq attribute
89 (intern
90 (downcase
91 (buffer-substring
92 (point) (progn (forward-sexp 1) (point))))))
93 (error "Invalid header: %s" string))
94 (setq c (char-after))
95 (when (eq c ?*)
96 (forward-char 1)
97 (setq c (char-after))
98 (if (not (memq c ntoken))
99 (setq encoded t
100 number nil)
101 (setq number
102 (string-to-number
103 (buffer-substring
104 (point) (progn (forward-sexp 1) (point)))))
105 (setq c (char-after)) 77 (setq c (char-after))
106 (when (eq c ?*) 78 (unless (eq c ?\;)
107 (setq encoded t) 79 (error "Invalid header: %s" string))
80 (forward-char 1)
81 ;; If c in nil, then this is an invalid header, but
82 ;; since elm generates invalid headers on this form,
83 ;; we allow it.
84 (when (setq c (char-after))
85 (if (and (memq c ttoken)
86 (not (memq c stoken)))
87 (setq attribute
88 (intern
89 (downcase
90 (buffer-substring
91 (point) (progn (forward-sexp 1) (point))))))
92 (error "Invalid header: %s" string))
93 (setq c (char-after))
94 (if (eq c ?*)
95 (progn
96 (forward-char 1)
97 (setq c (char-after))
98 (if (not (memq c ntoken))
99 (setq encoded t
100 number nil)
101 (setq number
102 (string-to-number
103 (buffer-substring
104 (point) (progn (forward-sexp 1) (point)))))
105 (setq c (char-after))
106 (when (eq c ?*)
107 (setq encoded t)
108 (forward-char 1)
109 (setq c (char-after)))))
110 (setq number nil
111 encoded nil))
112 ;; See if we have any previous continuations.
113 (when (and prev-attribute
114 (not (eq prev-attribute attribute)))
115 (setq vals
116 (mapconcat 'cdr (sort vals 'car-less-than-car) ""))
117 (push (cons prev-attribute
118 (if prev-encoded
119 (rfc2231-decode-encoded-string vals)
120 vals))
121 parameters)
122 (setq prev-attribute nil
123 vals nil
124 prev-encoded nil))
125 (unless (eq c ?=)
126 (error "Invalid header: %s" string))
108 (forward-char 1) 127 (forward-char 1)
109 (setq c (char-after))))) 128 (setq c (char-after))
110 ;; See if we have any previous continuations. 129 (cond
111 (when (and prev-attribute 130 ((eq c ?\")
112 (not (eq prev-attribute attribute))) 131 (setq value (buffer-substring (1+ (point))
113 (push (cons prev-attribute 132 (progn
114 (if prev-encoded 133 (forward-sexp 1)
115 (rfc2231-decode-encoded-string prev-value) 134 (1- (point)))))
116 prev-value)) 135 (when encoded
117 parameters) 136 (setq value (mapconcat (lambda (c) (format "%%%02x" c))
118 (setq prev-attribute nil 137 value ""))))
119 prev-value "" 138 ((and (or (memq c ttoken)
120 prev-encoded nil)) 139 ;; EXTENSION: Support non-ascii chars.
121 (unless (eq c ?=) 140 (> c ?\177))
122 (error "Invalid header: %s" string)) 141 (not (memq c stoken)))
123 (forward-char 1) 142 (setq value
124 (setq c (char-after)) 143 (buffer-substring
125 (cond
126 ((eq c ?\")
127 (setq value
128 (buffer-substring (1+ (point))
129 (progn (forward-sexp 1) (1- (point))))))
130 ((and (or (memq c ttoken)
131 (> c ?\177)) ;; EXTENSION: Support non-ascii chars.
132 (not (memq c stoken)))
133 (setq value (buffer-substring
134 (point) 144 (point)
135 (progn 145 (progn
136 (forward-sexp) 146 (forward-sexp)
@@ -142,59 +152,72 @@ The list will be on the form
142 (forward-char 1) 152 (forward-char 1)
143 (forward-sexp)) 153 (forward-sexp))
144 (point))))) 154 (point)))))
145 (t 155 (t
146 (error "Invalid header: %s" string))) 156 (error "Invalid header: %s" string)))
147 (if number 157 (if number
148 (setq prev-attribute attribute 158 (progn
149 prev-value (concat prev-value value) 159 (push (cons number value) vals)
150 prev-encoded encoded) 160 (setq prev-attribute attribute
151 (push (cons attribute 161 prev-encoded encoded))
152 (if encoded 162 (push (cons attribute
153 (rfc2231-decode-encoded-string value) 163 (if encoded
154 value)) 164 (rfc2231-decode-encoded-string value)
155 parameters)))) 165 value))
166 parameters))))
156 167
157 ;; Take care of any final continuations. 168 ;; Take care of any final continuations.
158 (when prev-attribute 169 (when prev-attribute
159 (push (cons prev-attribute 170 (setq vals (mapconcat 'cdr (sort vals 'car-less-than-car) ""))
160 (if prev-encoded 171 (push (cons prev-attribute
161 (rfc2231-decode-encoded-string prev-value) 172 (if prev-encoded
162 prev-value)) 173 (rfc2231-decode-encoded-string vals)
163 parameters)) 174 vals))
175 parameters)))
176 (error
177 (setq parameters nil)
178 (if signal-error
179 (signal (car err) (cdr err))
180 ;;(message "%s" (error-message-string err))
181 )))
164 182
165 (when type 183 (when type
166 `(,type ,@(nreverse parameters))))))) 184 `(,type ,@(nreverse parameters)))))))
167 185
168(defun rfc2231-decode-encoded-string (string) 186(defun rfc2231-decode-encoded-string (string)
169 "Decode an RFC2231-encoded string. 187 "Decode an RFC2231-encoded string.
170These look like \"us-ascii'en-us'This%20is%20%2A%2A%2Afun%2A%2A%2A\"." 188These look like:
171 (with-temp-buffer 189 \"us-ascii'en-us'This%20is%20%2A%2A%2Afun%2A%2A%2A\",
172 (let ((elems (split-string string "'"))) 190 \"us-ascii''This%20is%20%2A%2A%2Afun%2A%2A%2A\",
173 ;; The encoded string may contain zero to two single-quote 191 \"'en-us'This%20is%20%2A%2A%2Afun%2A%2A%2A\",
174 ;; marks. This should give us the encoded word stripped 192 \"''This%20is%20%2A%2A%2Afun%2A%2A%2A\", or
175 ;; of any preceding values. 193 \"This is ***fun***\"."
176 (insert (car (last elems))) 194 (string-match "\\`\\(\\([^']+\\)?'\\([^']+\\)?'\\)?\\(.+\\)" string)
195 (let ((coding-system (mm-charset-to-coding-system (match-string 2 string)))
196 ;;(language (match-string 3 string))
197 (value (match-string 4 string)))
198 (mm-with-multibyte-buffer
199 (insert value)
177 (goto-char (point-min)) 200 (goto-char (point-min))
178 (while (search-forward "%" nil t) 201 (while (search-forward "%" nil t)
179 (insert 202 (insert
180 (prog1 203 (prog1
181 (string-to-number (buffer-substring (point) (+ (point) 2)) 16) 204 (string-to-number (buffer-substring (point) (+ (point) 2)) 16)
182 (delete-region (1- (point)) (+ (point) 2))))) 205 (delete-region (1- (point)) (+ (point) 2)))))
183 ;; Encode using the charset, if any. 206 ;; Decode using the charset, if any.
184 (when (and (mm-multibyte-p) 207 (unless (memq coding-system '(nil ascii))
185 (> (length elems) 1) 208 (mm-decode-coding-region (point-min) (point-max) coding-system))
186 (not (equal (intern (downcase (car elems))) 'us-ascii)))
187 (mm-decode-coding-region (point-min) (point-max)
188 (intern (downcase (car elems)))))
189 (buffer-string)))) 209 (buffer-string))))
190 210
191(defun rfc2231-encode-string (param value) 211(defun rfc2231-encode-string (param value)
192 "Return and PARAM=VALUE string encoded according to RFC2231." 212 "Return and PARAM=VALUE string encoded according to RFC2231.
213Use `mml-insert-parameter' or `mml-insert-parameter-string' to insert
214the result of this function."
193 (let ((control (ietf-drums-token-to-list ietf-drums-no-ws-ctl-token)) 215 (let ((control (ietf-drums-token-to-list ietf-drums-no-ws-ctl-token))
194 (tspecial (ietf-drums-token-to-list ietf-drums-tspecials)) 216 (tspecial (ietf-drums-token-to-list ietf-drums-tspecials))
195 (special (ietf-drums-token-to-list "*'%\n\t")) 217 (special (ietf-drums-token-to-list "*'%\n\t"))
196 (ascii (ietf-drums-token-to-list ietf-drums-text-token)) 218 (ascii (ietf-drums-token-to-list ietf-drums-text-token))
197 (num -1) 219 (num -1)
220 ;; Don't make lines exceeding 76 column.
198 (limit (- 74 (length param))) 221 (limit (- 74 (length param)))
199 spacep encodep charsetp charset broken) 222 spacep encodep charsetp charset broken)
200 (with-temp-buffer 223 (with-temp-buffer
@@ -241,17 +264,17 @@ These look like \"us-ascii'en-us'This%20is%20%2A%2A%2Afun%2A%2A%2A\"."
241 (if (not broken) 264 (if (not broken)
242 (insert param "*=") 265 (insert param "*=")
243 (while (not (eobp)) 266 (while (not (eobp))
244 (insert (if (>= num 0) " " "\n ") 267 (insert (if (>= num 0) " " "")
245 param "*" (format "%d" (incf num)) "*=") 268 param "*" (format "%d" (incf num)) "*=")
246 (forward-line 1)))) 269 (forward-line 1))))
247 (spacep 270 (spacep
248 (goto-char (point-min)) 271 (goto-char (point-min))
249 (insert "\n " param "=\"") 272 (insert param "=\"")
250 (goto-char (point-max)) 273 (goto-char (point-max))
251 (insert "\"")) 274 (insert "\""))
252 (t 275 (t
253 (goto-char (point-min)) 276 (goto-char (point-min))
254 (insert "\n " param "="))) 277 (insert param "=")))
255 (buffer-string)))) 278 (buffer-string))))
256 279
257(provide 'rfc2231) 280(provide 'rfc2231)
diff --git a/lisp/gnus/spam-report.el b/lisp/gnus/spam-report.el
index 04ef6b60f5f..a5f46bb79f4 100644
--- a/lisp/gnus/spam-report.el
+++ b/lisp/gnus/spam-report.el
@@ -50,7 +50,11 @@ instead."
50 :group 'spam-report) 50 :group 'spam-report)
51 51
52(defcustom spam-report-gmane-use-article-number t 52(defcustom spam-report-gmane-use-article-number t
53 "Whether the article number (faster!) or the header should be used." 53 "Whether the article number (faster!) or the header should be used.
54
55You must set this to nil if you don't read Gmane groups directly
56from news.gmane.org, e.g. when using local newsserver such as
57leafnode."
54 :type 'boolean 58 :type 'boolean
55 :group 'spam-report) 59 :group 'spam-report)
56 60
diff --git a/lisp/gnus/webmail.el b/lisp/gnus/webmail.el
index a7e53702fef..304a206a97f 100644
--- a/lisp/gnus/webmail.el
+++ b/lisp/gnus/webmail.el
@@ -637,7 +637,7 @@
637 (goto-char (point-min)) 637 (goto-char (point-min))
638 (delete-blank-lines) 638 (delete-blank-lines)
639 (setq ct (mail-fetch-field "content-type") 639 (setq ct (mail-fetch-field "content-type")
640 ctl (ignore-errors (mail-header-parse-content-type ct)) 640 ctl (and ct (mail-header-parse-content-type ct))
641 ;;cte (mail-fetch-field "content-transfer-encoding") 641 ;;cte (mail-fetch-field "content-transfer-encoding")
642 cd (mail-fetch-field "content-disposition") 642 cd (mail-fetch-field "content-disposition")
643 description (mail-fetch-field "content-description") 643 description (mail-fetch-field "content-description")
diff --git a/lisp/gs.el b/lisp/gs.el
index 8f9414f0e5f..4594fb00bc2 100644
--- a/lisp/gs.el
+++ b/lisp/gs.el
@@ -1,7 +1,7 @@
1;;; gs.el --- interface to Ghostscript 1;;; gs.el --- interface to Ghostscript
2 2
3;; Copyright (C) 1998, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1998, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: internal 7;; Keywords: internal
diff --git a/lisp/help-at-pt.el b/lisp/help-at-pt.el
index fcb431feba9..db00fff6c1c 100644
--- a/lisp/help-at-pt.el
+++ b/lisp/help-at-pt.el
@@ -1,6 +1,6 @@
1;;; help-at-pt.el --- local help through the keyboard 1;;; help-at-pt.el --- local help through the keyboard
2 2
3;; Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Luc Teirlinck <teirllm@auburn.edu> 5;; Author: Luc Teirlinck <teirllm@auburn.edu>
6;; Keywords: help 6;; Keywords: help
diff --git a/lisp/help-macro.el b/lisp/help-macro.el
index 3170bf287b5..cc78bd71210 100644
--- a/lisp/help-macro.el
+++ b/lisp/help-macro.el
@@ -1,7 +1,7 @@
1;;; help-macro.el --- makes command line help such as help-for-help 1;;; help-macro.el --- makes command line help such as help-for-help
2 2
3;; Copyright (C) 1993, 1994, 2002, 2003, 2004, 3;; Copyright (C) 1993, 1994, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Lynn Slater <lrs@indetech.com> 6;; Author: Lynn Slater <lrs@indetech.com>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/help-mode.el b/lisp/help-mode.el
index 2e5bbb9315b..c2e1f59e578 100644
--- a/lisp/help-mode.el
+++ b/lisp/help-mode.el
@@ -1,7 +1,7 @@
1;;; help-mode.el --- `help-mode' used by *Help* buffers 1;;; help-mode.el --- `help-mode' used by *Help* buffers
2 2
3;; Copyright (C) 1985, 1986, 1993, 1994, 1998, 1999, 2000, 2001, 2002, 3;; Copyright (C) 1985, 1986, 1993, 1994, 1998, 1999, 2000, 2001, 2002,
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: help, internal 7;; Keywords: help, internal
diff --git a/lisp/help.el b/lisp/help.el
index 3b78194b6a3..bea404f5112 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -1,7 +1,7 @@
1;;; help.el --- help commands for Emacs 1;;; help.el --- help commands for Emacs
2 2
3;; Copyright (C) 1985, 1986, 1993, 1994, 1998, 1999, 2000, 2001, 2002, 3;; Copyright (C) 1985, 1986, 1993, 1994, 1998, 1999, 2000, 2001, 2002,
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: help, internal 7;; Keywords: help, internal
@@ -556,7 +556,34 @@ or `keymap' property, return the binding of KEY in the string's keymap."
556 string 556 string
557 (format "%s (translated from %s)" string otherstring)))))) 557 (format "%s (translated from %s)" string otherstring))))))
558 558
559(defun describe-key-briefly (key &optional insert untranslated) 559(defun describe-key-briefly (&optional key insert untranslated)
560 "Print the name of the function KEY invokes. KEY is a string.
561If INSERT (the prefix arg) is non-nil, insert the message in the buffer.
562If non-nil, UNTRANSLATED is a vector of the untranslated events.
563It can also be a number in which case the untranslated events from
564the last key hit are used.
565
566If KEY is a menu item or a tool-bar button that is disabled, this command
567temporarily enables it to allow getting help on disabled items and buttons."
568 (interactive)
569 (let ((enable-disabled-menus-and-buttons t)
570 (save-yank-menu))
571 (if key
572 ;; Non-interactive invocation
573 (describe-key-briefly-internal key insert untranslated)
574 ;; If yank-menu is empty, populate it temporarily, so that
575 ;; "Select and Paste" menu can generate a complete event
576 (if (null (cdr yank-menu))
577 (unwind-protect
578 (progn
579 (setq save-yank-menu (copy-sequence yank-menu))
580 (menu-bar-update-yank-menu "(any string)" nil)
581 (call-interactively 'describe-key-briefly-internal))
582 (progn (setq yank-menu (copy-sequence save-yank-menu))
583 (fset 'yank-menu (cons 'keymap yank-menu))))
584 (call-interactively 'describe-key-briefly-internal)))))
585
586(defun describe-key-briefly-internal (key &optional insert untranslated)
560 "Print the name of the function KEY invokes. KEY is a string. 587 "Print the name of the function KEY invokes. KEY is a string.
561If INSERT (the prefix arg) is non-nil, insert the message in the buffer. 588If INSERT (the prefix arg) is non-nil, insert the message in the buffer.
562If non-nil UNTRANSLATED is a vector of the untranslated events. 589If non-nil UNTRANSLATED is a vector of the untranslated events.
@@ -601,7 +628,38 @@ the last key hit are used."
601 key-desc 628 key-desc
602 (if (symbolp defn) defn (prin1-to-string defn))))))))) 629 (if (symbolp defn) defn (prin1-to-string defn)))))))))
603 630
604(defun describe-key (key &optional untranslated up-event) 631(defun describe-key (&optional key untranslated up-event)
632 "Display documentation of the function invoked by KEY.
633KEY can be any kind of a key sequence; it can include keyboard events,
634mouse events, and/or menu events. When calling from a program,
635pass KEY as a string or a vector.
636
637If non-nil, UNTRANSLATED is a vector of the corresponding untranslated events.
638It can also be a number, in which case the untranslated events from
639the last key sequence entered are used.
640UP-EVENT is the up-event that was discarded by reading KEY, or nil.
641
642If KEY is a menu item or a tool-bar button that is disabled, this command
643temporarily enables it to allow getting help on disabled items and buttons."
644 (interactive)
645 (let ((enable-disabled-menus-and-buttons t)
646 (save-yank-menu))
647 (if key
648 ;; Non-interactive invocation
649 (describe-key-internal key untranslated up-event)
650 ;; If yank-menu is empty, populate it temporarily, so that
651 ;; "Select and Paste" menu can generate a complete event
652 (if (null (cdr yank-menu))
653 (unwind-protect
654 (progn
655 (setq save-yank-menu (copy-sequence yank-menu))
656 (menu-bar-update-yank-menu "(any string)" nil)
657 (call-interactively 'describe-key-internal))
658 (progn (setq yank-menu (copy-sequence save-yank-menu))
659 (fset 'yank-menu (cons 'keymap yank-menu))))
660 (call-interactively 'describe-key-internal)))))
661
662(defun describe-key-internal (key &optional untranslated up-event)
605 "Display documentation of the function invoked by KEY. 663 "Display documentation of the function invoked by KEY.
606KEY can be any kind of a key sequence; it can include keyboard events, 664KEY can be any kind of a key sequence; it can include keyboard events,
607mouse events, and/or menu events. When calling from a program, 665mouse events, and/or menu events. When calling from a program,
@@ -609,8 +667,8 @@ pass KEY as a string or a vector.
609 667
610If non-nil, UNTRANSLATED is a vector of the corresponding untranslated events. 668If non-nil, UNTRANSLATED is a vector of the corresponding untranslated events.
611It can also be a number, in which case the untranslated events from 669It can also be a number, in which case the untranslated events from
612the last key sequence entered are used." 670the last key sequence entered are used.
613 ;; UP-EVENT is the up-event that was discarded by reading KEY, or nil. 671UP-EVENT is the up-event that was discarded by reading KEY, or nil."
614 (interactive "kDescribe key (or click or menu item): \np\nU") 672 (interactive "kDescribe key (or click or menu item): \np\nU")
615 (if (numberp untranslated) 673 (if (numberp untranslated)
616 (setq untranslated (this-single-command-raw-keys))) 674 (setq untranslated (this-single-command-raw-keys)))
diff --git a/lisp/hexl.el b/lisp/hexl.el
index 45044da0985..bdece19f96b 100644
--- a/lisp/hexl.el
+++ b/lisp/hexl.el
@@ -1,7 +1,7 @@
1;;; hexl.el --- edit a file in a hex dump format using the hexl filter 1;;; hexl.el --- edit a file in a hex dump format using the hexl filter
2 2
3;; Copyright (C) 1989, 1994, 1998, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1989, 1994, 1998, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Keith Gabryelski <ag@wheaties.ai.mit.edu> 6;; Author: Keith Gabryelski <ag@wheaties.ai.mit.edu>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el
index f028bd1f464..fcba2466d01 100644
--- a/lisp/hi-lock.el
+++ b/lisp/hi-lock.el
@@ -1,7 +1,7 @@
1;;; hi-lock.el --- minor mode for interactive automatic highlighting 1;;; hi-lock.el --- minor mode for interactive automatic highlighting
2 2
3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: David M. Koppelman, koppel@ee.lsu.edu 6;; Author: David M. Koppelman, koppel@ee.lsu.edu
7;; Keywords: faces, minor-mode, matching, display 7;; Keywords: faces, minor-mode, matching, display
diff --git a/lisp/hilit-chg.el b/lisp/hilit-chg.el
index 55eafb5c617..d6408412c0b 100644
--- a/lisp/hilit-chg.el
+++ b/lisp/hilit-chg.el
@@ -1,7 +1,7 @@
1;;; hilit-chg.el --- minor mode displaying buffer changes with special face 1;;; hilit-chg.el --- minor mode displaying buffer changes with special face
2 2
3;; Copyright (C) 1998, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1998, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Richard Sharman <rsharman@pobox.com> 6;; Author: Richard Sharman <rsharman@pobox.com>
7;; Keywords: faces 7;; Keywords: faces
@@ -521,7 +521,7 @@ the text properties of type `hilit-chg'."
521This allows you to manually remove highlighting from uninteresting changes." 521This allows you to manually remove highlighting from uninteresting changes."
522 (interactive "r") 522 (interactive "r")
523 (let ((after-change-functions nil)) 523 (let ((after-change-functions nil))
524 (remove-text-properties beg end '(hilit-chg nil)) 524 (remove-text-properties beg end '(hilit-chg nil))
525 (hilit-chg-fixup beg end))) 525 (hilit-chg-fixup beg end)))
526 526
527(defun hilit-chg-set-face-on-change (beg end leng-before 527(defun hilit-chg-set-face-on-change (beg end leng-before
@@ -662,7 +662,7 @@ Hook variables:
662 ;; an argument is given 662 ;; an argument is given
663 ((eq arg 'active) 663 ((eq arg 'active)
664 'active) 664 'active)
665 ((eq arg 'passive) 665 ((eq arg 'passive)
666 'passive) 666 'passive)
667 ((> (prefix-numeric-value arg) 0) 667 ((> (prefix-numeric-value arg) 0)
668 'active) 668 'active)
@@ -673,7 +673,6 @@ Hook variables:
673 (if new-highlight-changes-mode 673 (if new-highlight-changes-mode
674 ;; mode is turned on -- but may be passive 674 ;; mode is turned on -- but may be passive
675 (progn 675 (progn
676 (add-to-list 'desktop-locals-to-save 'highlight-changes-mode)
677 (hilit-chg-set new-highlight-changes-mode) 676 (hilit-chg-set new-highlight-changes-mode)
678 (or was-on 677 (or was-on
679 ;; run highlight-changes-enable-hook once 678 ;; run highlight-changes-enable-hook once
@@ -960,9 +959,9 @@ changes are made, so \\[highlight-changes-next-change] and
960 ;; which calls this function as a hook 959 ;; which calls this function as a hook
961 (defvar x) ;; placate the byte-compiler 960 (defvar x) ;; placate the byte-compiler
962 (defvar y) 961 (defvar y)
963 (setq e (current-buffer)) 962 (setq e (current-buffer))
964 (let ((n 0) extent p va vb a b) 963 (let ((n 0) extent p va vb a b)
965 (setq x nil y nil) ;; x and y are bound by hilit-chg-get-diff-info 964 (setq x nil y nil) ;; x and y are bound by hilit-chg-get-diff-info
966 (while (< n ediff-number-of-differences) 965 (while (< n ediff-number-of-differences)
967 (ediff-make-fine-diffs n) 966 (ediff-make-fine-diffs n)
968 (setq va (ediff-get-fine-diff-vector n 'A)) 967 (setq va (ediff-get-fine-diff-vector n 'A))
@@ -1085,7 +1084,7 @@ variable `highlight-changes-global-changes-existing-buffers' is non-nil).
1085 (progn 1084 (progn
1086 (if (eq arg 'active) 1085 (if (eq arg 'active)
1087 (setq highlight-changes-global-initial-state 'active) 1086 (setq highlight-changes-global-initial-state 'active)
1088 (if (eq arg 'passive) 1087 (if (eq arg 'passive)
1089 (setq highlight-changes-global-initial-state 'passive))) 1088 (setq highlight-changes-global-initial-state 'passive)))
1090 (setq global-highlight-changes t) 1089 (setq global-highlight-changes t)
1091 (message "Turning ON Global Highlight Changes mode in %s state" 1090 (message "Turning ON Global Highlight Changes mode in %s state"
@@ -1131,7 +1130,7 @@ from `global-highlight-changes' when turning on global Highlight Changes mode."
1131 (memq major-mode highlight-changes-global-modes))) 1130 (memq major-mode highlight-changes-global-modes)))
1132 (t 1131 (t
1133 (and 1132 (and
1134 (not (string-match "^[ *]" (buffer-name))) 1133 (not (string-match "^[ *]" (buffer-name)))
1135 (buffer-file-name)))) 1134 (buffer-file-name))))
1136 (progn 1135 (progn
1137 (hilit-chg-set value) 1136 (hilit-chg-set value)
@@ -1146,14 +1145,15 @@ from `global-highlight-changes' when turning on global Highlight Changes mode."
1146 1145
1147 1146
1148(defun hilit-chg-update-all-buffers (value) 1147(defun hilit-chg-update-all-buffers (value)
1149 (mapcar 1148 (mapc
1150 (function (lambda (buffer) 1149 (function (lambda (buffer)
1151 (with-current-buffer buffer 1150 (with-current-buffer buffer
1152 (if value 1151 (if value
1153 (hilit-chg-turn-on-maybe value) 1152 (hilit-chg-turn-on-maybe value)
1154 (hilit-chg-turn-off-maybe)) 1153 (hilit-chg-turn-off-maybe))
1155 ))) 1154 )))
1156 (buffer-list))) 1155 (buffer-list))
1156 nil)
1157 1157
1158;;;; Desktop support. 1158;;;; Desktop support.
1159 1159
@@ -1165,6 +1165,8 @@ from `global-highlight-changes' when turning on global Highlight Changes mode."
1165(add-to-list 'desktop-minor-mode-handlers 1165(add-to-list 'desktop-minor-mode-handlers
1166 '(highlight-changes-mode . hilit-chg-desktop-restore)) 1166 '(highlight-changes-mode . hilit-chg-desktop-restore))
1167 1167
1168(add-to-list 'desktop-locals-to-save 'highlight-changes-mode)
1169
1168;; ===================== debug ================== 1170;; ===================== debug ==================
1169;; For debug & test use: 1171;; For debug & test use:
1170;; 1172;;
diff --git a/lisp/hippie-exp.el b/lisp/hippie-exp.el
index 1210166305b..92fb9083cd4 100644
--- a/lisp/hippie-exp.el
+++ b/lisp/hippie-exp.el
@@ -1,6 +1,7 @@
1;;; hippie-exp.el --- expand text trying various ways to find its expansion 1;;; hippie-exp.el --- expand text trying various ways to find its expansion
2 2
3;; Copyright (C) 1992, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1992, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Anders Holst <aho@sans.kth.se> 6;; Author: Anders Holst <aho@sans.kth.se>
6;; Last change: 3 March 1998 7;; Last change: 3 March 1998
diff --git a/lisp/ibuf-macs.el b/lisp/ibuf-macs.el
index 3e814d4770f..38fee1b56c1 100644
--- a/lisp/ibuf-macs.el
+++ b/lisp/ibuf-macs.el
@@ -1,7 +1,7 @@
1;;; ibuf-macs.el --- macros for ibuffer 1;;; ibuf-macs.el --- macros for ibuffer
2 2
3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Colin Walters <walters@verbum.org> 6;; Author: Colin Walters <walters@verbum.org>
7;; Maintainer: John Paul Wallington <jpw@gnu.org> 7;; Maintainer: John Paul Wallington <jpw@gnu.org>
diff --git a/lisp/icomplete.el b/lisp/icomplete.el
index 085c111d856..f835d91ff9a 100644
--- a/lisp/icomplete.el
+++ b/lisp/icomplete.el
@@ -1,7 +1,7 @@
1;;; icomplete.el --- minibuffer completion incremental feedback 1;;; icomplete.el --- minibuffer completion incremental feedback
2 2
3;; Copyright (C) 1992, 1993, 1994, 1997, 1999, 2001, 2002, 2003, 3;; Copyright (C) 1992, 1993, 1994, 1997, 1999, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Ken Manheimer <klm@i.am> 6;; Author: Ken Manheimer <klm@i.am>
7;; Maintainer: Ken Manheimer <klm@i.am> 7;; Maintainer: Ken Manheimer <klm@i.am>
diff --git a/lisp/ido.el b/lisp/ido.el
index 9fe063bade6..77479de04d8 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -1,7 +1,7 @@
1;;; ido.el --- interactively do things with buffers and files. 1;;; ido.el --- interactively do things with buffers and files.
2 2
3;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Kim F. Storm <storm@cua.dk> 6;; Author: Kim F. Storm <storm@cua.dk>
7;; Based on: iswitchb by Stephen Eglen <stephen@cns.ed.ac.uk> 7;; Based on: iswitchb by Stephen Eglen <stephen@cns.ed.ac.uk>
@@ -2022,9 +2022,10 @@ If INITIAL is non-nil, it specifies the initial input string."
2022 (if (eq method 'insert) 2022 (if (eq method 'insert)
2023 (progn 2023 (progn
2024 (ido-record-command 'insert-buffer buf) 2024 (ido-record-command 'insert-buffer buf)
2025 (with-no-warnings 2025 (push-mark
2026 ;; we really want to run insert-buffer here 2026 (save-excursion
2027 (insert-buffer buf))) 2027 (insert-buffer-substring (get-buffer buf))
2028 (point))))
2028 (ido-visit-buffer buf method t))) 2029 (ido-visit-buffer buf method t)))
2029 2030
2030 ;; buffer doesn't exist 2031 ;; buffer doesn't exist
@@ -2225,9 +2226,10 @@ If INITIAL is non-nil, it specifies the initial input string."
2225 (if ido-find-literal 'insert-file-literally 'insert-file) 2226 (if ido-find-literal 'insert-file-literally 'insert-file)
2226 filename) 2227 filename)
2227 (ido-record-work-directory) 2228 (ido-record-work-directory)
2228 (if ido-find-literal 2229 (insert-file-1 filename
2229 (insert-file-contents-literally filename) 2230 (if ido-find-literal
2230 (insert-file-contents filename))) 2231 #'insert-file-contents-literally
2232 #'insert-file-contents)))
2231 2233
2232 (filename 2234 (filename
2233 (ido-record-work-file filename) 2235 (ido-record-work-file filename)
diff --git a/lisp/ielm.el b/lisp/ielm.el
index 57354008b1b..ff0de14c3b1 100644
--- a/lisp/ielm.el
+++ b/lisp/ielm.el
@@ -1,6 +1,7 @@
1;;; ielm.el --- interaction mode for Emacs Lisp 1;;; ielm.el --- interaction mode for Emacs Lisp
2 2
3;; Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1994, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: David Smith <maa036@lancaster.ac.uk> 6;; Author: David Smith <maa036@lancaster.ac.uk>
6;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/iimage.el b/lisp/iimage.el
index ace21702a0f..b5633582081 100644
--- a/lisp/iimage.el
+++ b/lisp/iimage.el
@@ -1,6 +1,6 @@
1;;; iimage.el --- Inline image minor mode. 1;;; iimage.el --- Inline image minor mode.
2 2
3;; Copyright (C) 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: KOSEKI Yoshinori <kose@meadowy.org> 5;; Author: KOSEKI Yoshinori <kose@meadowy.org>
6;; Maintainer: KOSEKI Yoshinori <kose@meadowy.org> 6;; Maintainer: KOSEKI Yoshinori <kose@meadowy.org>
diff --git a/lisp/image-file.el b/lisp/image-file.el
index 94028b740f5..d90f5efc8cd 100644
--- a/lisp/image-file.el
+++ b/lisp/image-file.el
@@ -1,7 +1,7 @@
1;;; image-file.el --- support for visiting image files 1;;; image-file.el --- support for visiting image files
2;; 2;;
3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5;; 5;;
6;; Author: Miles Bader <miles@gnu.org> 6;; Author: Miles Bader <miles@gnu.org>
7;; Keywords: multimedia 7;; Keywords: multimedia
diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index 3c0544edf89..258f852a4d6 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -1,6 +1,6 @@
1;;; image-mode.el --- support for visiting image files 1;;; image-mode.el --- support for visiting image files
2;; 2;;
3;; Copyright (C) 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2005, 2006 Free Software Foundation, Inc.
4;; 4;;
5;; Author: Richard Stallman <rms@gnu.org> 5;; Author: Richard Stallman <rms@gnu.org>
6;; Keywords: multimedia 6;; Keywords: multimedia
@@ -140,7 +140,8 @@ and showing the image as an image."
140 (let* ((image 140 (let* ((image
141 (if (and (buffer-file-name) 141 (if (and (buffer-file-name)
142 (not (buffer-modified-p))) 142 (not (buffer-modified-p)))
143 (create-image (buffer-file-name)) 143 (progn (clear-image-cache)
144 (create-image (buffer-file-name)))
144 (create-image 145 (create-image
145 (string-make-unibyte 146 (string-make-unibyte
146 (buffer-substring-no-properties (point-min) (point-max))) 147 (buffer-substring-no-properties (point-min) (point-max)))
diff --git a/lisp/image.el b/lisp/image.el
index 87102dd34e4..316896cabce 100644
--- a/lisp/image.el
+++ b/lisp/image.el
@@ -1,7 +1,7 @@
1;;; image.el --- image API 1;;; image.el --- image API
2 2
3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: multimedia 7;; Keywords: multimedia
diff --git a/lisp/imenu.el b/lisp/imenu.el
index 1a107ed8aea..774903e1092 100644
--- a/lisp/imenu.el
+++ b/lisp/imenu.el
@@ -1,7 +1,7 @@
1;;; imenu.el --- framework for mode-specific buffer indexes 1;;; imenu.el --- framework for mode-specific buffer indexes
2 2
3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 2002, 2003, 2004, 3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Ake Stenhoff <etxaksf@aom.ericsson.se> 6;; Author: Ake Stenhoff <etxaksf@aom.ericsson.se>
7;; Lars Lindberg <lli@sypro.cap.se> 7;; Lars Lindberg <lli@sypro.cap.se>
diff --git a/lisp/indent.el b/lisp/indent.el
index 9e84dfe13e0..ee3eea8d901 100644
--- a/lisp/indent.el
+++ b/lisp/indent.el
@@ -1,7 +1,7 @@
1;;; indent.el --- indentation commands for Emacs 1;;; indent.el --- indentation commands for Emacs
2 2
3;; Copyright (C) 1985, 1995, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1995, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7 7
diff --git a/lisp/info-look.el b/lisp/info-look.el
index ad09df777cf..404eee3f2d0 100644
--- a/lisp/info-look.el
+++ b/lisp/info-look.el
@@ -2,7 +2,7 @@
2;; An older version of this was known as libc.el. 2;; An older version of this was known as libc.el.
3 3
4;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 4;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003,
5;; 2004, 2005 Free Software Foundation, Inc. 5;; 2004, 2005, 2006 Free Software Foundation, Inc.
6 6
7;; Author: Ralph Schleicher <rs@nunatak.allgaeu.org> 7;; Author: Ralph Schleicher <rs@nunatak.allgaeu.org>
8;; (did not show signs of life (Nov 2001) -stef) 8;; (did not show signs of life (Nov 2001) -stef)
diff --git a/lisp/info-xref.el b/lisp/info-xref.el
index 18d64cf0a1c..75bc72f25b4 100644
--- a/lisp/info-xref.el
+++ b/lisp/info-xref.el
@@ -1,6 +1,6 @@
1;;; info-xref.el --- check external references in an Info document 1;;; info-xref.el --- check external references in an Info document
2 2
3;; Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Kevin Ryde <user42@zip.com.au> 5;; Author: Kevin Ryde <user42@zip.com.au>
6;; Keywords: docs 6;; Keywords: docs
diff --git a/lisp/info.el b/lisp/info.el
index dbcfaed31c4..fa1e3060c10 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -1,7 +1,7 @@
1;;; info.el --- info package for Emacs 1;;; info.el --- info package for Emacs
2 2
3;; Copyright (C) 1985, 1986, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3;; Copyright (C) 1985, 1986, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4;; 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: help 7;; Keywords: help
diff --git a/lisp/informat.el b/lisp/informat.el
index c9198d93191..96dc0180418 100644
--- a/lisp/informat.el
+++ b/lisp/informat.el
@@ -1,6 +1,7 @@
1;;; informat.el --- info support functions package for Emacs 1;;; informat.el --- info support functions package for Emacs
2 2
3;; Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1986, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Maintainer: FSF 6;; Maintainer: FSF
6;; Keywords: help 7;; Keywords: help
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 8a3f068f839..ace20881737 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -1,7 +1,7 @@
1;;; isearch.el --- incremental search minor mode 1;;; isearch.el --- incremental search minor mode
2 2
3;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 3;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000,
4;; 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu> 6;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/isearchb.el b/lisp/isearchb.el
index 0e7a20a57ec..56797bd0fb1 100644
--- a/lisp/isearchb.el
+++ b/lisp/isearchb.el
@@ -1,6 +1,6 @@
1;;; isearchb --- a marriage between iswitchb and isearch 1;;; isearchb --- a marriage between iswitchb and isearch
2 2
3;; Copyright (C) 2004, 2005 John Wiegley 3;; Copyright (C) 2004, 2005, 2006 John Wiegley
4 4
5;; Author: John Wiegley <johnw@gnu.org> 5;; Author: John Wiegley <johnw@gnu.org>
6;; Created: 16 Apr 2004 6;; Created: 16 Apr 2004
diff --git a/lisp/iswitchb.el b/lisp/iswitchb.el
index 3fd03cf5d0a..d7d82ae5551 100644
--- a/lisp/iswitchb.el
+++ b/lisp/iswitchb.el
@@ -1,7 +1,7 @@
1;;; iswitchb.el --- switch between buffers using substrings 1;;; iswitchb.el --- switch between buffers using substrings
2 2
3;; Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Stephen Eglen <stephen@gnu.org> 6;; Author: Stephen Eglen <stephen@gnu.org>
7;; Maintainer: Stephen Eglen <stephen@gnu.org> 7;; Maintainer: Stephen Eglen <stephen@gnu.org>
diff --git a/lisp/jit-lock.el b/lisp/jit-lock.el
index 16db1e25a9a..09870310584 100644
--- a/lisp/jit-lock.el
+++ b/lisp/jit-lock.el
@@ -1,7 +1,7 @@
1;;; jit-lock.el --- just-in-time fontification 1;;; jit-lock.el --- just-in-time fontification
2 2
3;; Copyright (C) 1998, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1998, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Gerd Moellmann <gerd@gnu.org> 6;; Author: Gerd Moellmann <gerd@gnu.org>
7;; Keywords: faces files 7;; Keywords: faces files
diff --git a/lisp/jka-cmpr-hook.el b/lisp/jka-cmpr-hook.el
index d5305211f50..3de3b7daccc 100644
--- a/lisp/jka-cmpr-hook.el
+++ b/lisp/jka-cmpr-hook.el
@@ -1,7 +1,7 @@
1;;; jka-cmpr-hook.el --- preloaded code to enable jka-compr.el 1;;; jka-cmpr-hook.el --- preloaded code to enable jka-compr.el
2 2
3;; Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2002, 2003, 3;; Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: jka@ece.cmu.edu (Jay K. Adams) 6;; Author: jka@ece.cmu.edu (Jay K. Adams)
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/jka-compr.el b/lisp/jka-compr.el
index c15cfbdea30..389944fa3e2 100644
--- a/lisp/jka-compr.el
+++ b/lisp/jka-compr.el
@@ -1,7 +1,7 @@
1;;; jka-compr.el --- reading/writing/loading compressed files 1;;; jka-compr.el --- reading/writing/loading compressed files
2 2
3;; Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2002, 2003, 3;; Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: jka@ece.cmu.edu (Jay K. Adams) 6;; Author: jka@ece.cmu.edu (Jay K. Adams)
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/kermit.el b/lisp/kermit.el
index 73cac8f3bc8..e1bec988ccd 100644
--- a/lisp/kermit.el
+++ b/lisp/kermit.el
@@ -1,6 +1,7 @@
1;;; kermit.el --- additions to shell mode for use with kermit 1;;; kermit.el --- additions to shell mode for use with kermit
2 2
3;; Copyright (C) 1988, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1988, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Jeff Norden <jeff@colgate.csnet> 6;; Author: Jeff Norden <jeff@colgate.csnet>
6;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/kmacro.el b/lisp/kmacro.el
index 6bb1ab6f58d..4566d4c32c3 100644
--- a/lisp/kmacro.el
+++ b/lisp/kmacro.el
@@ -1,6 +1,6 @@
1;;; kmacro.el --- enhanced keyboard macros 1;;; kmacro.el --- enhanced keyboard macros
2 2
3;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Kim F. Storm <storm@cua.dk> 5;; Author: Kim F. Storm <storm@cua.dk>
6;; Keywords: keyboard convenience 6;; Keywords: keyboard convenience
diff --git a/lisp/ledit.el b/lisp/ledit.el
index bf17f3cad4f..6aafdcfea4b 100644
--- a/lisp/ledit.el
+++ b/lisp/ledit.el
@@ -1,6 +1,7 @@
1;;; ledit.el --- Emacs side of ledit interface 1;;; ledit.el --- Emacs side of ledit interface
2 2
3;; Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1985, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Maintainer: FSF 6;; Maintainer: FSF
6;; Keywords: languages 7;; Keywords: languages
diff --git a/lisp/loadhist.el b/lisp/loadhist.el
index f23715f3825..81dc8ebe3df 100644
--- a/lisp/loadhist.el
+++ b/lisp/loadhist.el
@@ -1,7 +1,7 @@
1;;; loadhist.el --- lisp functions for working with feature groups 1;;; loadhist.el --- lisp functions for working with feature groups
2 2
3;; Copyright (C) 1995, 1998, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1995, 1998, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Eric S. Raymond <esr@snark.thyrsus.com> 6;; Author: Eric S. Raymond <esr@snark.thyrsus.com>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/loadup.el b/lisp/loadup.el
index 5e1f455ab05..44b048eee67 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -1,7 +1,7 @@
1;;; loadup.el --- load up standardly loaded Lisp files for Emacs 1;;; loadup.el --- load up standardly loaded Lisp files for Emacs
2 2
3;; Copyright (C) 1985, 1986, 1992, 1994, 2001, 2002, 2003, 3;; Copyright (C) 1985, 1986, 1992, 1994, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: internal 7;; Keywords: internal
diff --git a/lisp/locate.el b/lisp/locate.el
index 9676c84f80c..bca53a32152 100644
--- a/lisp/locate.el
+++ b/lisp/locate.el
@@ -1,7 +1,7 @@
1;;; locate.el --- interface to the locate command 1;;; locate.el --- interface to the locate command
2 2
3;; Copyright (C) 1996, 1998, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1996, 1998, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Peter Breton <pbreton@cs.umb.edu> 6;; Author: Peter Breton <pbreton@cs.umb.edu>
7;; Keywords: unix files 7;; Keywords: unix files
diff --git a/lisp/log-edit.el b/lisp/log-edit.el
index 4c66f7f280b..0c7a655a237 100644
--- a/lisp/log-edit.el
+++ b/lisp/log-edit.el
@@ -1,7 +1,7 @@
1;;; log-edit.el --- Major mode for editing CVS commit messages 1;;; log-edit.el --- Major mode for editing CVS commit messages
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Stefan Monnier <monnier@cs.yale.edu> 6;; Author: Stefan Monnier <monnier@cs.yale.edu>
7;; Keywords: pcl-cvs cvs commit log 7;; Keywords: pcl-cvs cvs commit log
diff --git a/lisp/log-view.el b/lisp/log-view.el
index e7a58dad8b7..8a6f88650d2 100644
--- a/lisp/log-view.el
+++ b/lisp/log-view.el
@@ -1,7 +1,7 @@
1;;; log-view.el --- Major mode for browsing RCS/CVS/SCCS log output 1;;; log-view.el --- Major mode for browsing RCS/CVS/SCCS log output
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005,
4;; Free Software Foundation, Inc. 4;; 2006 Free Software Foundation, Inc.
5 5
6;; Author: Stefan Monnier <monnier@cs.yale.edu> 6;; Author: Stefan Monnier <monnier@cs.yale.edu>
7;; Keywords: rcs sccs cvs log version-control 7;; Keywords: rcs sccs cvs log version-control
diff --git a/lisp/longlines.el b/lisp/longlines.el
index dadd8a5d58f..b11d4e6faba 100644
--- a/lisp/longlines.el
+++ b/lisp/longlines.el
@@ -1,6 +1,6 @@
1;;; longlines.el --- automatically wrap long lines 1;;; longlines.el --- automatically wrap long lines
2 2
3;; Copyright (C) 2000, 2001, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2000, 2001, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Authors: Kai Grossjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 5;; Authors: Kai Grossjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
6;; Alex Schroeder <alex@gnu.org> 6;; Alex Schroeder <alex@gnu.org>
diff --git a/lisp/lpr.el b/lisp/lpr.el
index c44971e4f30..14d1049f074 100644
--- a/lisp/lpr.el
+++ b/lisp/lpr.el
@@ -1,7 +1,7 @@
1;;; lpr.el --- print Emacs buffer on line printer 1;;; lpr.el --- print Emacs buffer on line printer
2 2
3;; Copyright (C) 1985, 1988, 1992, 1994, 2001, 2002, 2003, 3;; Copyright (C) 1985, 1988, 1992, 1994, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: unix 7;; Keywords: unix
diff --git a/lisp/ls-lisp.el b/lisp/ls-lisp.el
index 0da64128118..3a18442ef13 100644
--- a/lisp/ls-lisp.el
+++ b/lisp/ls-lisp.el
@@ -1,7 +1,7 @@
1;;; ls-lisp.el --- emulate insert-directory completely in Emacs Lisp 1;;; ls-lisp.el --- emulate insert-directory completely in Emacs Lisp
2 2
3;; Copyright (C) 1992, 1994, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1992, 1994, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Sebastian Kremer <sk@thp.uni-koeln.de> 6;; Author: Sebastian Kremer <sk@thp.uni-koeln.de>
7;; Modified by: Francis J. Wright <F.J.Wright@maths.qmw.ac.uk> 7;; Modified by: Francis J. Wright <F.J.Wright@maths.qmw.ac.uk>
diff --git a/lisp/macros.el b/lisp/macros.el
index 7075300ba18..55916ba80d6 100644
--- a/lisp/macros.el
+++ b/lisp/macros.el
@@ -1,7 +1,7 @@
1;;; macros.el --- non-primitive commands for keyboard macros 1;;; macros.el --- non-primitive commands for keyboard macros
2 2
3;; Copyright (C) 1985, 1986, 1987, 1992, 1994, 1995, 2002, 2003, 3;; Copyright (C) 1985, 1986, 1987, 1992, 1994, 1995, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: abbrev 7;; Keywords: abbrev
diff --git a/lisp/mail/blessmail.el b/lisp/mail/blessmail.el
index 01c52f82046..41bad17d70e 100644
--- a/lisp/mail/blessmail.el
+++ b/lisp/mail/blessmail.el
@@ -1,6 +1,7 @@
1;;; blessmail.el --- decide whether movemail needs special privileges -*- no-byte-compile: t -*- 1;;; blessmail.el --- decide whether movemail needs special privileges -*- no-byte-compile: t -*-
2 2
3;; Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1994, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Maintainer: FSF 6;; Maintainer: FSF
6;; Keywords: internal 7;; Keywords: internal
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index 47b7f1c3a1b..c58411c1e56 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -1,7 +1,7 @@
1;;; emacsbug.el --- command to report Emacs bugs to appropriate mailing list 1;;; emacsbug.el --- command to report Emacs bugs to appropriate mailing list
2 2
3;; Copyright (C) 1985, 1994, 1997, 1998, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1985, 1994, 1997, 1998, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: K. Shane Hartman 6;; Author: K. Shane Hartman
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/mail/footnote.el b/lisp/mail/footnote.el
index 58b6be4f5fc..e831b89ef84 100644
--- a/lisp/mail/footnote.el
+++ b/lisp/mail/footnote.el
@@ -1,7 +1,7 @@
1;;; footnote.el --- footnote support for message mode -*- coding: iso-latin-1;-*- 1;;; footnote.el --- footnote support for message mode -*- coding: iso-latin-1;-*-
2 2
3;; Copyright (C) 1997, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1997, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Steven L Baur <steve@xemacs.org> 6;; Author: Steven L Baur <steve@xemacs.org>
7;; Keywords: mail, news 7;; Keywords: mail, news
diff --git a/lisp/mail/mail-extr.el b/lisp/mail/mail-extr.el
index 0f5aa1e18f7..d891a031e59 100644
--- a/lisp/mail/mail-extr.el
+++ b/lisp/mail/mail-extr.el
@@ -1,7 +1,7 @@
1;;; mail-extr.el --- extract full name and address from RFC 822 mail header -*- coding: utf-8 -*- 1;;; mail-extr.el --- extract full name and address from RFC 822 mail header -*- coding: utf-8 -*-
2 2
3;; Copyright (C) 1991, 1992, 1993, 1994, 1997, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1991, 1992, 1993, 1994, 1997, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Joe Wells <jbw@cs.bu.edu> 6;; Author: Joe Wells <jbw@cs.bu.edu>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/mail/mail-hist.el b/lisp/mail/mail-hist.el
index 3010e85d31b..a2d7b0aab0f 100644
--- a/lisp/mail/mail-hist.el
+++ b/lisp/mail/mail-hist.el
@@ -1,6 +1,7 @@
1;;; mail-hist.el --- headers and message body history for outgoing mail 1;;; mail-hist.el --- headers and message body history for outgoing mail
2 2
3;; Copyright (C) 1994, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1994, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Karl Fogel <kfogel@red-bean.com> 6;; Author: Karl Fogel <kfogel@red-bean.com>
6;; Created: March, 1994 7;; Created: March, 1994
diff --git a/lisp/mail/mail-utils.el b/lisp/mail/mail-utils.el
index e76da171fbc..a6b774fc0c9 100644
--- a/lisp/mail/mail-utils.el
+++ b/lisp/mail/mail-utils.el
@@ -1,7 +1,7 @@
1;;; mail-utils.el --- utility functions used both by rmail and rnews 1;;; mail-utils.el --- utility functions used both by rmail and rnews
2 2
3;; Copyright (C) 1985, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1985, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: mail, news 7;; Keywords: mail, news
diff --git a/lisp/mail/mailabbrev.el b/lisp/mail/mailabbrev.el
index 587b7d0187e..eab55bdef25 100644
--- a/lisp/mail/mailabbrev.el
+++ b/lisp/mail/mailabbrev.el
@@ -1,7 +1,7 @@
1;;; mailabbrev.el --- abbrev-expansion of mail aliases 1;;; mailabbrev.el --- abbrev-expansion of mail aliases
2 2
3;; Copyright (C) 1985, 1986, 1987, 1992, 1993, 1996, 1997, 2000, 2002, 3;; Copyright (C) 1985, 1986, 1987, 1992, 1993, 1996, 1997, 2000, 2002,
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Jamie Zawinski <jwz@lucid.com>, now <jwz@jwz.org> 6;; Author: Jamie Zawinski <jwz@lucid.com>, now <jwz@jwz.org>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/mail/mailalias.el b/lisp/mail/mailalias.el
index 48f3494a0e6..7d60ed27e5c 100644
--- a/lisp/mail/mailalias.el
+++ b/lisp/mail/mailalias.el
@@ -1,7 +1,7 @@
1;;; mailalias.el --- expand and complete mailing address aliases 1;;; mailalias.el --- expand and complete mailing address aliases
2 2
3;; Copyright (C) 1985, 1987, 1995, 1996, 1997, 2002, 2003, 3;; Copyright (C) 1985, 1987, 1995, 1996, 1997, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: mail 7;; Keywords: mail
diff --git a/lisp/mail/mailclient.el b/lisp/mail/mailclient.el
index 45afbd782d9..408527be8eb 100644
--- a/lisp/mail/mailclient.el
+++ b/lisp/mail/mailclient.el
@@ -1,6 +1,6 @@
1;;; mailclient.el --- mail sending via system's mail client. -*- byte-compile-dynamic: t -*- 1;;; mailclient.el --- mail sending via system's mail client. -*- byte-compile-dynamic: t -*-
2 2
3;; Copyright (C) 2005 Free Software Foundation 3;; Copyright (C) 2005, 2006 Free Software Foundation
4 4
5;; Author: David Reitter <david.reitter@gmail.com> 5;; Author: David Reitter <david.reitter@gmail.com>
6;; Keywords: mail 6;; Keywords: mail
diff --git a/lisp/mail/mailheader.el b/lisp/mail/mailheader.el
index 1e9a24da341..377144f7d68 100644
--- a/lisp/mail/mailheader.el
+++ b/lisp/mail/mailheader.el
@@ -1,6 +1,7 @@
1;;; mailheader.el --- mail header parsing, merging, formatting 1;;; mailheader.el --- mail header parsing, merging, formatting
2 2
3;; Copyright (C) 1996, 2002, 2003, 2004, 2005 by Free Software Foundation, Inc. 3;; Copyright (C) 1996, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Erik Naggum <erik@naggum.no> 6;; Author: Erik Naggum <erik@naggum.no>
6;; Keywords: tools, mail, news 7;; Keywords: tools, mail, news
diff --git a/lisp/mail/metamail.el b/lisp/mail/metamail.el
index 6d13bda9823..2388ab87971 100644
--- a/lisp/mail/metamail.el
+++ b/lisp/mail/metamail.el
@@ -1,7 +1,7 @@
1;;; metamail.el --- Metamail interface for GNU Emacs 1;;; metamail.el --- Metamail interface for GNU Emacs
2 2
3;; Copyright (C) 1993, 1996, 2002, 2003, 2004, 3;; Copyright (C) 1993, 1996, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Masanobu UMEDA <umerin@mse.kyutech.ac.jp> 6;; Author: Masanobu UMEDA <umerin@mse.kyutech.ac.jp>
7;; Keywords: mail, news, mime, multimedia 7;; Keywords: mail, news, mime, multimedia
diff --git a/lisp/mail/mspools.el b/lisp/mail/mspools.el
index 7a01a5e5361..a2f460d13a0 100644
--- a/lisp/mail/mspools.el
+++ b/lisp/mail/mspools.el
@@ -1,6 +1,7 @@
1;;; mspools.el --- show mail spools waiting to be read 1;;; mspools.el --- show mail spools waiting to be read
2 2
3;; Copyright (C) 1997, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1997, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Stephen Eglen <stephen@gnu.org> 6;; Author: Stephen Eglen <stephen@gnu.org>
6;; Maintainer: Stephen Eglen <stephen@gnu.org> 7;; Maintainer: Stephen Eglen <stephen@gnu.org>
diff --git a/lisp/mail/reporter.el b/lisp/mail/reporter.el
index 058d0a83f23..fa6c1c5e307 100644
--- a/lisp/mail/reporter.el
+++ b/lisp/mail/reporter.el
@@ -1,7 +1,7 @@
1;;; reporter.el --- customizable bug reporting of lisp programs 1;;; reporter.el --- customizable bug reporting of lisp programs
2 2
3;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 2002, 2003, 2004, 3;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: 1993-1998 Barry A. Warsaw 6;; Author: 1993-1998 Barry A. Warsaw
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/mail/rfc2368.el b/lisp/mail/rfc2368.el
index a21deb394cf..ef20ac0398d 100644
--- a/lisp/mail/rfc2368.el
+++ b/lisp/mail/rfc2368.el
@@ -4,7 +4,7 @@
4;; Keywords: mail 4;; Keywords: mail
5 5
6;; Copyright (C) 1998, 2000, 2002, 2003, 2004, 6;; Copyright (C) 1998, 2000, 2002, 2003, 2004,
7;; 2005 Free Software Foundation, Inc. 7;; 2005, 2006 Free Software Foundation, Inc.
8 8
9;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
10 10
diff --git a/lisp/mail/rfc822.el b/lisp/mail/rfc822.el
index 9e57226d7c2..97a47f56f99 100644
--- a/lisp/mail/rfc822.el
+++ b/lisp/mail/rfc822.el
@@ -1,7 +1,7 @@
1;;; rfc822.el --- hairy rfc822 parser for mail and news and suchlike 1;;; rfc822.el --- hairy rfc822 parser for mail and news and suchlike
2 2
3;; Copyright (C) 1986, 1987, 1990, 2002, 2003, 2004, 3;; Copyright (C) 1986, 1987, 1990, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Richard Mlynarik <mly@eddie.mit.edu> 6;; Author: Richard Mlynarik <mly@eddie.mit.edu>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/mail/rmail-spam-filter.el b/lisp/mail/rmail-spam-filter.el
index 525bcd4096b..933e1f6c8a2 100644
--- a/lisp/mail/rmail-spam-filter.el
+++ b/lisp/mail/rmail-spam-filter.el
@@ -1,6 +1,6 @@
1;;; rmail-spam-filter.el --- spam filter for rmail, the emacs mail reader. 1;;; rmail-spam-filter.el --- spam filter for rmail, the emacs mail reader.
2 2
3;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4;; Keywords: email, spam, filter, rmail 4;; Keywords: email, spam, filter, rmail
5;; Author: Eli Tziperman <eli AT deas.harvard.edu> 5;; Author: Eli Tziperman <eli AT deas.harvard.edu>
6 6
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 4fe936d9d2d..13856096e28 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -1,7 +1,7 @@
1;;; rmail.el --- main code of "RMAIL" mail reader for Emacs 1;;; rmail.el --- main code of "RMAIL" mail reader for Emacs
2 2
3;; Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1996, 1997, 1998, 3;; Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1996, 1997, 1998,
4;; 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: mail 7;; Keywords: mail
diff --git a/lisp/mail/rmailedit.el b/lisp/mail/rmailedit.el
index 75de9810a37..fe288bb2904 100644
--- a/lisp/mail/rmailedit.el
+++ b/lisp/mail/rmailedit.el
@@ -1,7 +1,7 @@
1;;; rmailedit.el --- "RMAIL edit mode" Edit the current message 1;;; rmailedit.el --- "RMAIL edit mode" Edit the current message
2 2
3;; Copyright (C) 1985, 1994, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1994, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: mail 7;; Keywords: mail
diff --git a/lisp/mail/rmailkwd.el b/lisp/mail/rmailkwd.el
index 843c6fc80a3..e4583574ede 100644
--- a/lisp/mail/rmailkwd.el
+++ b/lisp/mail/rmailkwd.el
@@ -1,7 +1,7 @@
1;;; rmailkwd.el --- part of the "RMAIL" mail reader for Emacs 1;;; rmailkwd.el --- part of the "RMAIL" mail reader for Emacs
2 2
3;; Copyright (C) 1985, 1988, 1994, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1988, 1994, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: mail 7;; Keywords: mail
diff --git a/lisp/mail/rmailmsc.el b/lisp/mail/rmailmsc.el
index 26d61b56837..3502c0a7c57 100644
--- a/lisp/mail/rmailmsc.el
+++ b/lisp/mail/rmailmsc.el
@@ -1,6 +1,7 @@
1;;; rmailmsc.el --- miscellaneous support functions for the RMAIL mail reader 1;;; rmailmsc.el --- miscellaneous support functions for the RMAIL mail reader
2 2
3;; Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1985, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Maintainer: FSF 6;; Maintainer: FSF
6;; Keywords: mail 7;; Keywords: mail
diff --git a/lisp/mail/rmailout.el b/lisp/mail/rmailout.el
index bd37a41aef8..e09e1ebe1c8 100644
--- a/lisp/mail/rmailout.el
+++ b/lisp/mail/rmailout.el
@@ -1,7 +1,7 @@
1;;; rmailout.el --- "RMAIL" mail reader for Emacs: output message to a file 1;;; rmailout.el --- "RMAIL" mail reader for Emacs: output message to a file
2 2
3;; Copyright (C) 1985, 1987, 1993, 1994, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1987, 1993, 1994, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: mail 7;; Keywords: mail
diff --git a/lisp/mail/rmailsort.el b/lisp/mail/rmailsort.el
index 8bb8ab69278..c3f7362b18a 100644
--- a/lisp/mail/rmailsort.el
+++ b/lisp/mail/rmailsort.el
@@ -1,7 +1,7 @@
1;;; rmailsort.el --- Rmail: sort messages 1;;; rmailsort.el --- Rmail: sort messages
2 2
3;; Copyright (C) 1990, 1993, 1994, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1990, 1993, 1994, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Masanobu UMEDA <umerin@mse.kyutech.ac.jp> 6;; Author: Masanobu UMEDA <umerin@mse.kyutech.ac.jp>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el
index 47602885f92..539a1769386 100644
--- a/lisp/mail/rmailsum.el
+++ b/lisp/mail/rmailsum.el
@@ -1,7 +1,7 @@
1;;; rmailsum.el --- make summary buffers for the mail reader 1;;; rmailsum.el --- make summary buffers for the mail reader
2 2
3;; Copyright (C) 1985, 1993, 1994, 1995, 1996, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1985, 1993, 1994, 1995, 1996, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: mail 7;; Keywords: mail
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index a03209e5dc9..ee512b3af31 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -1,7 +1,7 @@
1;;; sendmail.el --- mail sending commands for Emacs. -*- byte-compile-dynamic: t -*- 1;;; sendmail.el --- mail sending commands for Emacs. -*- byte-compile-dynamic: t -*-
2 2
3;; Copyright (C) 1985, 1986, 1992, 1993, 1994, 1995, 1996, 1998, 2000, 3;; Copyright (C) 1985, 1986, 1992, 1993, 1994, 1995, 1996, 1998, 2000,
4;; 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: mail 7;; Keywords: mail
diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el
index 6cbd3e3b8f8..ff38cd25ff8 100644
--- a/lisp/mail/smtpmail.el
+++ b/lisp/mail/smtpmail.el
@@ -1,7 +1,7 @@
1;;; smtpmail.el --- simple SMTP protocol (RFC 821) for sending mail 1;;; smtpmail.el --- simple SMTP protocol (RFC 821) for sending mail
2 2
3;; Copyright (C) 1995, 1996, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1995, 1996, 2001, 2002, 2003, 2004, 2005,
4;; Free Software Foundation, Inc. 4;; 2006 Free Software Foundation, Inc.
5 5
6;; Author: Tomoji Kagatani <kagatani@rbc.ncl.omron.co.jp> 6;; Author: Tomoji Kagatani <kagatani@rbc.ncl.omron.co.jp>
7;; Maintainer: Simon Josefsson <simon@josefsson.org> 7;; Maintainer: Simon Josefsson <simon@josefsson.org>
diff --git a/lisp/mail/supercite.el b/lisp/mail/supercite.el
index b4ded1335b8..cdb917701f7 100644
--- a/lisp/mail/supercite.el
+++ b/lisp/mail/supercite.el
@@ -1,7 +1,7 @@
1;;; supercite.el --- minor mode for citing mail and news replies 1;;; supercite.el --- minor mode for citing mail and news replies
2 2
3;; Copyright (C) 1993, 1997, 2002, 2003, 2004, 3;; Copyright (C) 1993, 1997, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: 1993 Barry A. Warsaw <bwarsaw@python.org> 6;; Author: 1993 Barry A. Warsaw <bwarsaw@python.org>
7;; Maintainer: Glenn Morris <rgm@gnu.org> 7;; Maintainer: Glenn Morris <rgm@gnu.org>
diff --git a/lisp/mail/uce.el b/lisp/mail/uce.el
index 07c09765971..4d48f467b59 100644
--- a/lisp/mail/uce.el
+++ b/lisp/mail/uce.el
@@ -1,7 +1,7 @@
1;;; uce.el --- facilitate reply to unsolicited commercial email 1;;; uce.el --- facilitate reply to unsolicited commercial email
2 2
3;; Copyright (C) 1996, 1998, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1996, 1998, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: stanislav shalunov <shalunov@mccme.ru> 6;; Author: stanislav shalunov <shalunov@mccme.ru>
7;; Created: 10 Dec 1996 7;; Created: 10 Dec 1996
diff --git a/lisp/mail/undigest.el b/lisp/mail/undigest.el
index 5588ecf9108..210a1d254f3 100644
--- a/lisp/mail/undigest.el
+++ b/lisp/mail/undigest.el
@@ -1,7 +1,7 @@
1;;; undigest.el --- digest-cracking support for the RMAIL mail reader 1;;; undigest.el --- digest-cracking support for the RMAIL mail reader
2 2
3;; Copyright (C) 1985, 1986, 1994, 1996, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1986, 1994, 1996, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: mail 7;; Keywords: mail
diff --git a/lisp/mail/unrmail.el b/lisp/mail/unrmail.el
index 76764d21ed7..cf12472fb0e 100644
--- a/lisp/mail/unrmail.el
+++ b/lisp/mail/unrmail.el
@@ -1,6 +1,7 @@
1;;; unrmail.el --- convert Rmail files to mailbox files 1;;; unrmail.el --- convert Rmail files to mailbox files
2 2
3;;; Copyright (C) 1992, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1992, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Maintainer: FSF 6;; Maintainer: FSF
6;; Keywords: mail 7;; Keywords: mail
diff --git a/lisp/mail/vms-pmail.el b/lisp/mail/vms-pmail.el
index b53b32be71a..3126f813000 100644
--- a/lisp/mail/vms-pmail.el
+++ b/lisp/mail/vms-pmail.el
@@ -1,6 +1,7 @@
1;;; vms-pmail.el --- use Emacs as the editor within VMS mail 1;;; vms-pmail.el --- use Emacs as the editor within VMS mail
2 2
3;; Copyright (C) 1992, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1992, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Roland B Roberts <roberts@panix.com> 6;; Author: Roland B Roberts <roberts@panix.com>
6;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/makesum.el b/lisp/makesum.el
index 41ecb630f96..3e43d75191b 100644
--- a/lisp/makesum.el
+++ b/lisp/makesum.el
@@ -1,6 +1,7 @@
1;;; makesum.el --- generate key binding summary for Emacs 1;;; makesum.el --- generate key binding summary for Emacs
2 2
3;; Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1985, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Maintainer: FSF 6;; Maintainer: FSF
6;; Keywords: help 7;; Keywords: help
diff --git a/lisp/man.el b/lisp/man.el
index acd3decdc61..706961b0450 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -1,7 +1,7 @@
1;;; man.el --- browse UNIX manual pages -*- coding: iso-8859-1 -*- 1;;; man.el --- browse UNIX manual pages -*- coding: iso-8859-1 -*-
2 2
3;; Copyright (C) 1993, 1994, 1996, 1997, 2001, 2002, 2003, 3;; Copyright (C) 1993, 1994, 1996, 1997, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Barry A. Warsaw <bwarsaw@cen.com> 6;; Author: Barry A. Warsaw <bwarsaw@cen.com>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index e005fc09df6..0ec4339f822 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -1,7 +1,7 @@
1;;; menu-bar.el --- define a default menu bar 1;;; menu-bar.el --- define a default menu bar
2 2
3;; Copyright (C) 1993, 1994, 1995, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1993, 1994, 1995, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: RMS 6;; Author: RMS
7;; Maintainer: FSF 7;; Maintainer: FSF
@@ -1502,6 +1502,8 @@ for the definition of the menu frame."
1502 1502
1503(put 'menu-bar-select-yank 'apropos-inhibit t) 1503(put 'menu-bar-select-yank 'apropos-inhibit t)
1504(defun menu-bar-select-yank () 1504(defun menu-bar-select-yank ()
1505 "Insert the stretch of previously-killed text selected from menu.
1506The menu shows all the killed text sequences stored in `kill-ring'."
1505 (interactive "*") 1507 (interactive "*")
1506 (push-mark (point)) 1508 (push-mark (point))
1507 (insert last-command-event)) 1509 (insert last-command-event))
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 47c7808f192..349bae9f072 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,3 +1,22 @@
12006-02-10 Bill Wohler <wohler@newt.com>
2
3 * mh-search.el (mh-search): Wrap code in (block mh-search ...)
4 rather than use defun*. XEmacs cannot create a proper autoload for
5 a defun*.
6
72006-02-09 Bill Wohler <wohler@newt.com>
8
9 * mh-utils.el (mh-folder-list): Don't replace "/*$" with "/" since
10 that causes an infinite loop on XEmacs.
11
12 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
13 argument.
14
152006-02-08 Peter S Galbraith <psg@debian.org>
16
17 * mh-e.el (mh-invisible-header-fields-internal): Added entries
18 "X-BrightmailFiltered:", "X-Brightmail-Tracker:" and "X-Hashcash"
19
12006-02-04 Bill Wohler <wohler@newt.com> 202006-02-04 Bill Wohler <wohler@newt.com>
2 21
3 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which 22 * mh-e.el (mh-inc-spool-list): Update example for Emacs 22 which
diff --git a/lisp/mh-e/mh-compat.el b/lisp/mh-e/mh-compat.el
index 1d7f1c90e79..090ee51c5fc 100644
--- a/lisp/mh-e/mh-compat.el
+++ b/lisp/mh-e/mh-compat.el
@@ -144,7 +144,7 @@ The argument STRING is ignored."
144 (match-beginning num) (match-end num))) 144 (match-beginning num) (match-end num)))
145 145
146(mh-defun-compat mh-replace-regexp-in-string replace-regexp-in-string 146(mh-defun-compat mh-replace-regexp-in-string replace-regexp-in-string
147 (rep string &optional fixedcase literal subexp start) 147 (regexp rep string &optional fixedcase literal subexp start)
148 "Replace REGEXP with REP everywhere in STRING and return result. 148 "Replace REGEXP with REP everywhere in STRING and return result.
149This function is used by XEmacs that lacks `replace-regexp-in-string'. 149This function is used by XEmacs that lacks `replace-regexp-in-string'.
150The function `replace-in-string' is used instead. 150The function `replace-in-string' is used instead.
diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el
index 8012eab5c8a..ab0143c0c85 100644
--- a/lisp/mh-e/mh-e.el
+++ b/lisp/mh-e/mh-e.el
@@ -2306,6 +2306,8 @@ of citations entirely, choose \"None\"."
2306 "X-Authentication-Warning:" ; sendmail 2306 "X-Authentication-Warning:" ; sendmail
2307 "X-Beenthere:" ; Mailman mailing list manager 2307 "X-Beenthere:" ; Mailman mailing list manager
2308 "X-Bogosity:" ; bogofilter 2308 "X-Bogosity:" ; bogofilter
2309 "X-BrightmailFiltered:" ; Brightmail
2310 "X-Brightmail-Tracker:" ; Brightmail
2309 "X-Bugzilla-*" ; Bugzilla 2311 "X-Bugzilla-*" ; Bugzilla
2310 "X-Complaints-To:" 2312 "X-Complaints-To:"
2311 "X-ContentStamp:" ; NetZero 2313 "X-ContentStamp:" ; NetZero
@@ -2333,6 +2335,7 @@ of citations entirely, choose \"None\"."
2333 "X-Habeas-SWE-7:" ; Spam 2335 "X-Habeas-SWE-7:" ; Spam
2334 "X-Habeas-SWE-8:" ; Spam 2336 "X-Habeas-SWE-8:" ; Spam
2335 "X-Habeas-SWE-9:" ; Spam 2337 "X-Habeas-SWE-9:" ; Spam
2338 "X-Hashcash:" ; hashcash
2336 "X-Info:" ; NTMail 2339 "X-Info:" ; NTMail
2337 "X-Juno-" ; Juno 2340 "X-Juno-" ; Juno
2338 "X-List-Host:" ; Unknown mailing list managers 2341 "X-List-Host:" ; Unknown mailing list managers
diff --git a/lisp/mh-e/mh-search.el b/lisp/mh-e/mh-search.el
index f1292dd8e1e..9980b6a9b68 100644
--- a/lisp/mh-e/mh-search.el
+++ b/lisp/mh-e/mh-search.el
@@ -81,8 +81,8 @@ message number, and optionally the match.")
81;;; MH-Folder Commands 81;;; MH-Folder Commands
82 82
83;;;###mh-autoload 83;;;###mh-autoload
84(defun* mh-search (folder search-regexp 84(defun mh-search (folder search-regexp
85 &optional redo-search-flag window-config) 85 &optional redo-search-flag window-config)
86 "Search your MH mail. 86 "Search your MH mail.
87 87
88This command helps you find messages in your entire corpus of 88This command helps you find messages in your entire corpus of
@@ -230,96 +230,98 @@ folder containing the index search results."
230 mh-search-regexp-builder) 230 mh-search-regexp-builder)
231 (current-window-configuration) 231 (current-window-configuration)
232 nil))) 232 nil)))
233 ;; Redoing a sequence search? 233 (block mh-search
234 (when (and redo-search-flag mh-index-data mh-index-sequence-search-flag 234 ;; Redoing a sequence search?
235 (not mh-flists-called-flag)) 235 (when (and redo-search-flag mh-index-data mh-index-sequence-search-flag
236 (let ((mh-flists-called-flag t)) 236 (not mh-flists-called-flag))
237 (apply #'mh-index-sequenced-messages mh-index-previous-search)) 237 (let ((mh-flists-called-flag t))
238 (return-from mh-search)) 238 (apply #'mh-index-sequenced-messages mh-index-previous-search))
239 ;; We have fancy query parsing. 239 (return-from mh-search))
240 (when (symbolp search-regexp) 240 ;; We have fancy query parsing.
241 (mh-search-folder folder window-config) 241 (when (symbolp search-regexp)
242 (return-from mh-search)) 242 (mh-search-folder folder window-config)
243 ;; Begin search proper. 243 (return-from mh-search))
244 (mh-checksum-choose) 244 ;; Begin search proper.
245 (let ((result-count 0) 245 (mh-checksum-choose)
246 (old-window-config (or window-config mh-previous-window-config)) 246 (let ((result-count 0)
247 (previous-search mh-index-previous-search) 247 (old-window-config (or window-config mh-previous-window-config))
248 (index-folder (format "%s/%s" mh-index-folder 248 (previous-search mh-index-previous-search)
249 (mh-index-generate-pretty-name search-regexp)))) 249 (index-folder (format "%s/%s" mh-index-folder
250 ;; Create a new folder for the search results or recreate the old one... 250 (mh-index-generate-pretty-name search-regexp))))
251 (if (and redo-search-flag mh-index-previous-search) 251 ;; Create a new folder for the search results or recreate the old one...
252 (let ((buffer-name (buffer-name (current-buffer)))) 252 (if (and redo-search-flag mh-index-previous-search)
253 (mh-process-or-undo-commands buffer-name) 253 (let ((buffer-name (buffer-name (current-buffer))))
254 (save-excursion (mh-exec-cmd-quiet nil "rmf" buffer-name)) 254 (mh-process-or-undo-commands buffer-name)
255 (mh-exec-cmd-quiet nil "folder" "-create" "-fast" buffer-name) 255 (save-excursion (mh-exec-cmd-quiet nil "rmf" buffer-name))
256 (setq index-folder buffer-name)) 256 (mh-exec-cmd-quiet nil "folder" "-create" "-fast" buffer-name)
257 (setq index-folder (mh-index-new-folder index-folder search-regexp))) 257 (setq index-folder buffer-name))
258 258 (setq index-folder (mh-index-new-folder index-folder search-regexp)))
259 (let ((folder-path (format "%s%s" mh-user-path (substring folder 1))) 259
260 (folder-results-map (make-hash-table :test #'equal)) 260 (let ((folder-path (format "%s%s" mh-user-path (substring folder 1)))
261 (origin-map (make-hash-table :test #'equal))) 261 (folder-results-map (make-hash-table :test #'equal))
262 ;; Run search program... 262 (origin-map (make-hash-table :test #'equal)))
263 (message "Executing %s... " mh-searcher) 263 ;; Run search program...
264 (funcall mh-search-function folder-path search-regexp) 264 (message "Executing %s... " mh-searcher)
265 265 (funcall mh-search-function folder-path search-regexp)
266 ;; Parse searcher output. 266
267 (message "Processing %s output... " mh-searcher) 267 ;; Parse searcher output.
268 (goto-char (point-min)) 268 (message "Processing %s output... " mh-searcher)
269 (loop for next-result = (funcall mh-search-next-result-function) 269 (goto-char (point-min))
270 while next-result 270 (loop for next-result = (funcall mh-search-next-result-function)
271 do (unless (eq next-result 'error) 271 while next-result
272 (unless (gethash (car next-result) folder-results-map) 272 do (unless (eq next-result 'error)
273 (setf (gethash (car next-result) folder-results-map) 273 (unless (gethash (car next-result) folder-results-map)
274 (make-hash-table :test #'equal))) 274 (setf (gethash (car next-result) folder-results-map)
275 (setf (gethash (cadr next-result) 275 (make-hash-table :test #'equal)))
276 (gethash (car next-result) folder-results-map)) 276 (setf (gethash (cadr next-result)
277 t))) 277 (gethash (car next-result) folder-results-map))
278 278 t)))
279 ;; Copy the search results over. 279
280 (maphash #'(lambda (folder msgs) 280 ;; Copy the search results over.
281 (let ((cur (car (mh-translate-range folder "cur"))) 281 (maphash #'(lambda (folder msgs)
282 (msgs (sort (loop for msg being the hash-keys of msgs 282 (let ((cur (car (mh-translate-range folder "cur")))
283 collect msg) 283 (msgs (sort (loop for msg being the hash-keys of msgs
284 #'<))) 284 collect msg)
285 (mh-exec-cmd "refile" msgs "-src" folder 285 #'<)))
286 "-link" index-folder) 286 (mh-exec-cmd "refile" msgs "-src" folder
287 ;; Restore cur to old value, that refile changed 287 "-link" index-folder)
288 (when cur 288 ;; Restore cur to old value, that refile changed
289 (mh-exec-cmd-quiet nil "mark" folder "-add" "-zero" 289 (when cur
290 "-sequence" "cur" (format "%s" cur))) 290 (mh-exec-cmd-quiet nil "mark" folder "-add" "-zero"
291 (loop for msg in msgs 291 "-sequence"
292 do (incf result-count) 292 "cur" (format "%s" cur)))
293 (setf (gethash result-count origin-map) 293 (loop for msg in msgs
294 (cons folder msg))))) 294 do (incf result-count)
295 folder-results-map) 295 (setf (gethash result-count origin-map)
296 296 (cons folder msg)))))
297 ;; Vist the results folder. 297 folder-results-map)
298 (mh-visit-folder index-folder () (list folder-results-map origin-map)) 298
299 ;; Vist the results folder.
300 (mh-visit-folder index-folder () (list folder-results-map origin-map))
299 301
300 (goto-char (point-min)) 302 (goto-char (point-min))
301 (forward-line) 303 (forward-line)
302 (mh-update-sequences) 304 (mh-update-sequences)
303 (mh-recenter nil) 305 (mh-recenter nil)
304 306
305 ;; Update the speedbar, if needed. 307 ;; Update the speedbar, if needed.
306 (when (mh-speed-flists-active-p) 308 (when (mh-speed-flists-active-p)
307 (mh-speed-flists t mh-current-folder)) 309 (mh-speed-flists t mh-current-folder))
308 310
309 ;; Maintain history. 311 ;; Maintain history.
310 (when (or (and redo-search-flag previous-search) window-config) 312 (when (or (and redo-search-flag previous-search) window-config)
311 (setq mh-previous-window-config old-window-config)) 313 (setq mh-previous-window-config old-window-config))
312 (setq mh-index-previous-search (list folder mh-searcher search-regexp)) 314 (setq mh-index-previous-search (list folder mh-searcher search-regexp))
313 315
314 ;; Write out data to disk. 316 ;; Write out data to disk.
315 (unless mh-flists-called-flag (mh-index-write-data)) 317 (unless mh-flists-called-flag (mh-index-write-data))
316 318
317 (message "%s found %s matches in %s folders" 319 (message "%s found %s matches in %s folders"
318 (upcase-initials (symbol-name mh-searcher)) 320 (upcase-initials (symbol-name mh-searcher))
319 (loop for msg-hash being hash-values of mh-index-data 321 (loop for msg-hash being hash-values of mh-index-data
320 sum (hash-table-count msg-hash)) 322 sum (hash-table-count msg-hash))
321 (loop for msg-hash being hash-values of mh-index-data 323 (loop for msg-hash being hash-values of mh-index-data
322 count (> (hash-table-count msg-hash) 0)))))) 324 count (> (hash-table-count msg-hash) 0)))))))
323 325
324;; Shush compiler. 326;; Shush compiler.
325(eval-when-compile (mh-do-in-xemacs (defvar pick-folder))) 327(eval-when-compile (mh-do-in-xemacs (defvar pick-folder)))
diff --git a/lisp/mh-e/mh-utils.el b/lisp/mh-e/mh-utils.el
index 42f11376262..dc86d19ae77 100644
--- a/lisp/mh-e/mh-utils.el
+++ b/lisp/mh-e/mh-utils.el
@@ -516,13 +516,15 @@ value of `mh-recursive-folders-flag'. If this flag is nil, and
516the sub-folders have not been explicitly viewed, then they will 516the sub-folders have not been explicitly viewed, then they will
517not be returned." 517not be returned."
518 (let ((folder-list)) 518 (let ((folder-list))
519 ;; Normalize folder. Strip leading +. Add trailing slash. If no 519 ;; Normalize folder. Strip leading +. Add trailing slash (done in
520 ;; folder is specified, ensure it is nil to ensure we get the 520 ;; two steps to avoid infinite loops when replacing "/*$" with "/"
521 ;; top-level folders; otherwise mh-sub-folders returns all the 521 ;; in XEmacs). If no folder is specified, ensure it is nil to
522 ;; files in / if given an empty string or +. 522 ;; ensure we get the top-level folders; otherwise mh-sub-folders
523 ;; returns all the files in / if given an empty string or +.
523 (when folder 524 (when folder
524 (setq folder (mh-replace-regexp-in-string "^\+" "" folder)) 525 (setq folder (mh-replace-regexp-in-string "^\+" "" folder))
525 (setq folder (mh-replace-regexp-in-string "/*$" "/" folder)) 526 (setq folder (mh-replace-regexp-in-string "/+$" "" folder))
527 (setq folder (concat folder "/"))
526 (if (equal folder "") 528 (if (equal folder "")
527 (setq folder nil))) 529 (setq folder nil)))
528 (loop for f in (mh-sub-folders folder) do 530 (loop for f in (mh-sub-folders folder) do
diff --git a/lisp/midnight.el b/lisp/midnight.el
index aa93c1b5bab..1d5974f686f 100644
--- a/lisp/midnight.el
+++ b/lisp/midnight.el
@@ -1,6 +1,7 @@
1;;; midnight.el --- run something every midnight, e.g., kill old buffers 1;;; midnight.el --- run something every midnight, e.g., kill old buffers
2 2
3;;; Copyright (C) 1998, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1998, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Sam Steingold <sds@usa.net> 6;; Author: Sam Steingold <sds@usa.net>
6;; Maintainer: Sam Steingold <sds@usa.net> 7;; Maintainer: Sam Steingold <sds@usa.net>
diff --git a/lisp/minibuf-eldef.el b/lisp/minibuf-eldef.el
index 0657baedd5f..d1c407c6eca 100644
--- a/lisp/minibuf-eldef.el
+++ b/lisp/minibuf-eldef.el
@@ -1,7 +1,7 @@
1;;; minibuf-eldef.el --- Only show defaults in prompts when applicable 1;;; minibuf-eldef.el --- Only show defaults in prompts when applicable
2;; 2;;
3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5;; 5;;
6;; Author: Miles Bader <miles@gnu.org> 6;; Author: Miles Bader <miles@gnu.org>
7;; Keywords: convenience 7;; Keywords: convenience
diff --git a/lisp/misc.el b/lisp/misc.el
index f906fb0db7b..e4c54092a49 100644
--- a/lisp/misc.el
+++ b/lisp/misc.el
@@ -1,6 +1,7 @@
1;;; misc.el --- some nonstandard basic editing commands for Emacs 1;;; misc.el --- some nonstandard basic editing commands for Emacs
2 2
3;; Copyright (C) 1989, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1989, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Maintainer: FSF 6;; Maintainer: FSF
6;; Keywords: convenience 7;; Keywords: convenience
diff --git a/lisp/mouse-copy.el b/lisp/mouse-copy.el
index f5034a1dac1..445b64ecb26 100644
--- a/lisp/mouse-copy.el
+++ b/lisp/mouse-copy.el
@@ -1,6 +1,7 @@
1;;; mouse-copy.el --- one-click text copy and move 1;;; mouse-copy.el --- one-click text copy and move
2 2
3;; Copyright (C) 1996, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1996, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: John Heidemann <johnh@ISI.EDU> 6;; Author: John Heidemann <johnh@ISI.EDU>
6;; Keywords: mouse 7;; Keywords: mouse
diff --git a/lisp/mouse-drag.el b/lisp/mouse-drag.el
index 11bacd6b8a2..446ef27a030 100644
--- a/lisp/mouse-drag.el
+++ b/lisp/mouse-drag.el
@@ -1,7 +1,7 @@
1;;; mouse-drag.el --- use mouse-2 to do a new style of scrolling 1;;; mouse-drag.el --- use mouse-2 to do a new style of scrolling
2 2
3;; Copyright (C) 1996, 1997, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1996, 1997, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Heidemann <johnh@ISI.EDU> 6;; Author: John Heidemann <johnh@ISI.EDU>
7;; Keywords: mouse 7;; Keywords: mouse
diff --git a/lisp/mouse-sel.el b/lisp/mouse-sel.el
index ccd469200be..a64dabaec81 100644
--- a/lisp/mouse-sel.el
+++ b/lisp/mouse-sel.el
@@ -1,7 +1,7 @@
1;;; mouse-sel.el --- multi-click selection support for Emacs 19 1;;; mouse-sel.el --- multi-click selection support for Emacs 19
2 2
3;; Copyright (C) 1993, 1994, 1995, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1993, 1994, 1995, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Mike Williams <mdub@bigfoot.com> 6;; Author: Mike Williams <mdub@bigfoot.com>
7;; Keywords: mouse 7;; Keywords: mouse
diff --git a/lisp/mouse.el b/lisp/mouse.el
index e772858b3c7..9922b0f9aed 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -1,7 +1,7 @@
1;;; mouse.el --- window system-independent mouse support 1;;; mouse.el --- window system-independent mouse support
2 2
3;; Copyright (C) 1993, 1994, 1995, 1999, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1993, 1994, 1995, 1999, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: hardware, mouse 7;; Keywords: hardware, mouse
@@ -1036,13 +1036,13 @@ should only be used by mouse-drag-region."
1036 (if (> mouse-1-click-follows-link 0) 1036 (if (> mouse-1-click-follows-link 0)
1037 (<= (- t1 t0) mouse-1-click-follows-link) 1037 (<= (- t1 t0) mouse-1-click-follows-link)
1038 (< (- t0 t1) mouse-1-click-follows-link)))))))) 1038 (< (- t0 t1) mouse-1-click-follows-link))))))))
1039 ;; Reselect previous selected window, 1039 ;; If we rebind to mouse-2, reselect previous selected window,
1040 ;; so that the mouse-2 event runs in the same 1040 ;; so that the mouse-2 event runs in the same
1041 ;; situation as if user had clicked it directly. 1041 ;; situation as if user had clicked it directly.
1042 ;; Fixes the bug reported by juri@jurta.org on 2005-12-27. 1042 ;; Fixes the bug reported by juri@jurta.org on 2005-12-27.
1043 (select-window original-window)
1044 (if (or (vectorp on-link) (stringp on-link)) 1043 (if (or (vectorp on-link) (stringp on-link))
1045 (setq event (aref on-link 0)) 1044 (setq event (aref on-link 0))
1045 (select-window original-window)
1046 (setcar event 'mouse-2) 1046 (setcar event 'mouse-2)
1047 ;; If this mouse click has never been done by 1047 ;; If this mouse click has never been done by
1048 ;; the user, it doesn't have the necessary 1048 ;; the user, it doesn't have the necessary
diff --git a/lisp/msb.el b/lisp/msb.el
index 94a1599371f..95cbfc85df4 100644
--- a/lisp/msb.el
+++ b/lisp/msb.el
@@ -1,7 +1,7 @@
1;;; msb.el --- customizable buffer-selection with multiple menus 1;;; msb.el --- customizable buffer-selection with multiple menus
2 2
3;; Copyright (C) 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 3;; Copyright (C) 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002,
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Lars Lindberg <lars.lindberg@home.se> 6;; Author: Lars Lindberg <lars.lindberg@home.se>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/mwheel.el b/lisp/mwheel.el
index 391ce3a5e04..aca959e8577 100644
--- a/lisp/mwheel.el
+++ b/lisp/mwheel.el
@@ -1,7 +1,7 @@
1;;; mwheel.el --- Wheel mouse support 1;;; mwheel.el --- Wheel mouse support
2 2
3;; Copyright (C) 1998, 2000, 2001, 2002, 2002, 2004, 3;; Copyright (C) 1998, 2000, 2001, 2002, 2002, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5;; Maintainer: William M. Perry <wmperry@gnu.org> 5;; Maintainer: William M. Perry <wmperry@gnu.org>
6;; Keywords: mouse 6;; Keywords: mouse
7 7
@@ -77,7 +77,7 @@
77 'wheel-down 77 'wheel-down
78 (intern (format (if (featurep 'xemacs) "button%s" "mouse-%s") 78 (intern (format (if (featurep 'xemacs) "button%s" "mouse-%s")
79 mouse-wheel-up-button))) 79 mouse-wheel-up-button)))
80 "Event used for scrolling down." 80 "Event used for scrolling up."
81 :group 'mouse 81 :group 'mouse
82 :type 'symbol 82 :type 'symbol
83 :set 'mouse-wheel-change-button) 83 :set 'mouse-wheel-change-button)
diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el
index 758346e3647..c77dbbd64b3 100644
--- a/lisp/net/ange-ftp.el
+++ b/lisp/net/ange-ftp.el
@@ -1,7 +1,7 @@
1;;; ange-ftp.el --- transparent FTP support for GNU Emacs 1;;; ange-ftp.el --- transparent FTP support for GNU Emacs
2 2
3;; Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 3;; Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998,
4;; 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Andy Norman (ange@hplb.hpl.hp.com) 6;; Author: Andy Norman (ange@hplb.hpl.hp.com)
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el
index 8d57bb30c11..101b9cf210d 100644
--- a/lisp/net/browse-url.el
+++ b/lisp/net/browse-url.el
@@ -1,7 +1,7 @@
1;;; browse-url.el --- pass a URL to a WWW browser 1;;; browse-url.el --- pass a URL to a WWW browser
2 2
3;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 3;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Denis Howe <dbh@doc.ic.ac.uk> 6;; Author: Denis Howe <dbh@doc.ic.ac.uk>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/net/eudc-bob.el b/lisp/net/eudc-bob.el
index 668b9edfcda..c6506fddb93 100644
--- a/lisp/net/eudc-bob.el
+++ b/lisp/net/eudc-bob.el
@@ -1,7 +1,7 @@
1;;; eudc-bob.el --- Binary Objects Support for EUDC 1;;; eudc-bob.el --- Binary Objects Support for EUDC
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Oscar Figueiredo <oscar@cpe.fr> 6;; Author: Oscar Figueiredo <oscar@cpe.fr>
7;; Maintainer: Pavel Janík <Pavel@Janik.cz> 7;; Maintainer: Pavel Janík <Pavel@Janik.cz>
diff --git a/lisp/net/eudc-export.el b/lisp/net/eudc-export.el
index 214481ce7fa..c5f31c6b2f9 100644
--- a/lisp/net/eudc-export.el
+++ b/lisp/net/eudc-export.el
@@ -1,7 +1,7 @@
1;;; eudc-export.el --- functions to export EUDC query results 1;;; eudc-export.el --- functions to export EUDC query results
2 2
3;; Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Oscar Figueiredo <oscar@cpe.fr> 6;; Author: Oscar Figueiredo <oscar@cpe.fr>
7;; Maintainer: Pavel Janík <Pavel@Janik.cz> 7;; Maintainer: Pavel Janík <Pavel@Janik.cz>
diff --git a/lisp/net/eudc-hotlist.el b/lisp/net/eudc-hotlist.el
index a8e7f6e328f..1e43e88dff4 100644
--- a/lisp/net/eudc-hotlist.el
+++ b/lisp/net/eudc-hotlist.el
@@ -1,7 +1,7 @@
1;;; eudc-hotlist.el --- hotlist management for EUDC 1;;; eudc-hotlist.el --- hotlist management for EUDC
2 2
3;; Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Oscar Figueiredo <oscar@cpe.fr> 6;; Author: Oscar Figueiredo <oscar@cpe.fr>
7;; Maintainer: Pavel Janík <Pavel@Janik.cz> 7;; Maintainer: Pavel Janík <Pavel@Janik.cz>
diff --git a/lisp/net/eudc-vars.el b/lisp/net/eudc-vars.el
index ecff0564192..987b71f3613 100644
--- a/lisp/net/eudc-vars.el
+++ b/lisp/net/eudc-vars.el
@@ -1,7 +1,7 @@
1;;; eudc-vars.el --- Emacs Unified Directory Client 1;;; eudc-vars.el --- Emacs Unified Directory Client
2 2
3;; Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Oscar Figueiredo <oscar@cpe.fr> 6;; Author: Oscar Figueiredo <oscar@cpe.fr>
7;; Maintainer: Pavel Janík <Pavel@Janik.cz> 7;; Maintainer: Pavel Janík <Pavel@Janik.cz>
diff --git a/lisp/net/eudc.el b/lisp/net/eudc.el
index 6c877df6ea4..2d5d8f6978d 100644
--- a/lisp/net/eudc.el
+++ b/lisp/net/eudc.el
@@ -1,7 +1,7 @@
1;;; eudc.el --- Emacs Unified Directory Client 1;;; eudc.el --- Emacs Unified Directory Client
2 2
3;; Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Oscar Figueiredo <oscar@cpe.fr> 6;; Author: Oscar Figueiredo <oscar@cpe.fr>
7;; Maintainer: Pavel Janík <Pavel@Janik.cz> 7;; Maintainer: Pavel Janík <Pavel@Janik.cz>
diff --git a/lisp/net/eudcb-bbdb.el b/lisp/net/eudcb-bbdb.el
index 8081cb1aacd..0fee937758e 100644
--- a/lisp/net/eudcb-bbdb.el
+++ b/lisp/net/eudcb-bbdb.el
@@ -1,7 +1,7 @@
1;;; eudcb-bbdb.el --- Emacs Unified Directory Client - BBDB Backend 1;;; eudcb-bbdb.el --- Emacs Unified Directory Client - BBDB Backend
2 2
3;; Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Oscar Figueiredo <oscar@cpe.fr> 6;; Author: Oscar Figueiredo <oscar@cpe.fr>
7;; Maintainer: Pavel Janík <Pavel@Janik.cz> 7;; Maintainer: Pavel Janík <Pavel@Janik.cz>
diff --git a/lisp/net/eudcb-ldap.el b/lisp/net/eudcb-ldap.el
index 93f7c24d077..9b6a77dd2e1 100644
--- a/lisp/net/eudcb-ldap.el
+++ b/lisp/net/eudcb-ldap.el
@@ -1,7 +1,7 @@
1;;; eudcb-ldap.el --- Emacs Unified Directory Client - LDAP Backend 1;;; eudcb-ldap.el --- Emacs Unified Directory Client - LDAP Backend
2 2
3;; Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Oscar Figueiredo <oscar@cpe.fr> 6;; Author: Oscar Figueiredo <oscar@cpe.fr>
7;; Maintainer: Pavel Janík <Pavel@Janik.cz> 7;; Maintainer: Pavel Janík <Pavel@Janik.cz>
diff --git a/lisp/net/eudcb-mab.el b/lisp/net/eudcb-mab.el
index 4d4fb423ff3..a734b90ecaf 100644
--- a/lisp/net/eudcb-mab.el
+++ b/lisp/net/eudcb-mab.el
@@ -1,6 +1,6 @@
1;;; eudcb-mab.el --- Emacs Unified Directory Client - AddressBook backend 1;;; eudcb-mab.el --- Emacs Unified Directory Client - AddressBook backend
2 2
3;; Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: John Wiegley <johnw@newartisans.com> 5;; Author: John Wiegley <johnw@newartisans.com>
6;; Keywords: comm 6;; Keywords: comm
diff --git a/lisp/net/eudcb-ph.el b/lisp/net/eudcb-ph.el
index 30a8efbbae3..9edfc4870e5 100644
--- a/lisp/net/eudcb-ph.el
+++ b/lisp/net/eudcb-ph.el
@@ -1,7 +1,7 @@
1;;; eudcb-ph.el --- Emacs Unified Directory Client - CCSO PH/QI Backend 1;;; eudcb-ph.el --- Emacs Unified Directory Client - CCSO PH/QI Backend
2 2
3;; Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Oscar Figueiredo <oscar@cpe.fr> 6;; Author: Oscar Figueiredo <oscar@cpe.fr>
7;; Maintainer: Pavel Janík <Pavel@Janik.cz> 7;; Maintainer: Pavel Janík <Pavel@Janik.cz>
diff --git a/lisp/net/goto-addr.el b/lisp/net/goto-addr.el
index e1ae498923b..89695b61b36 100644
--- a/lisp/net/goto-addr.el
+++ b/lisp/net/goto-addr.el
@@ -1,7 +1,7 @@
1;;; goto-addr.el --- click to browse URL or to send to e-mail address 1;;; goto-addr.el --- click to browse URL or to send to e-mail address
2 2
3;; Copyright (C) 1995, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1995, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Eric Ding <ericding@alum.mit.edu> 6;; Author: Eric Ding <ericding@alum.mit.edu>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/net/ldap.el b/lisp/net/ldap.el
index f8e99abd182..180e14fcc20 100644
--- a/lisp/net/ldap.el
+++ b/lisp/net/ldap.el
@@ -1,7 +1,7 @@
1;;; ldap.el --- client interface to LDAP for Emacs 1;;; ldap.el --- client interface to LDAP for Emacs
2 2
3;; Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Oscar Figueiredo <oscar@cpe.fr> 6;; Author: Oscar Figueiredo <oscar@cpe.fr>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/net/net-utils.el b/lisp/net/net-utils.el
index 043c18fc0df..f6a8c2c2157 100644
--- a/lisp/net/net-utils.el
+++ b/lisp/net/net-utils.el
@@ -1,7 +1,7 @@
1;;; net-utils.el --- network functions 1;;; net-utils.el --- network functions
2 2
3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Peter Breton <pbreton@cs.umb.edu> 6;; Author: Peter Breton <pbreton@cs.umb.edu>
7;; Created: Sun Mar 16 1997 7;; Created: Sun Mar 16 1997
diff --git a/lisp/net/netrc.el b/lisp/net/netrc.el
index 228e02bf3a6..b386fde7994 100644
--- a/lisp/net/netrc.el
+++ b/lisp/net/netrc.el
@@ -1,6 +1,6 @@
1;;; netrc.el --- .netrc parsing functionality 1;;; netrc.el --- .netrc parsing functionality
2;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3;; 2005 Free Software Foundation, Inc. 3;; 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> 5;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
6;; Keywords: news 6;; Keywords: news
diff --git a/lisp/net/newsticker.el b/lisp/net/newsticker.el
index c07faa4ca63..f812cf01c65 100644
--- a/lisp/net/newsticker.el
+++ b/lisp/net/newsticker.el
@@ -1,6 +1,6 @@
1;;; newsticker.el --- A Newsticker for Emacs. 1;;; newsticker.el --- A Newsticker for Emacs.
2 2
3;; Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; This file is part of GNU Emacs. 5;; This file is part of GNU Emacs.
6 6
diff --git a/lisp/net/quickurl.el b/lisp/net/quickurl.el
index 81a2e8a09a5..48c3cf3cbaf 100644
--- a/lisp/net/quickurl.el
+++ b/lisp/net/quickurl.el
@@ -1,7 +1,7 @@
1;;; quickurl.el --- insert an URL based on text at point in buffer 1;;; quickurl.el --- insert an URL based on text at point in buffer
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Dave Pearson <davep@davep.org> 6;; Author: Dave Pearson <davep@davep.org>
7;; Maintainer: Dave Pearson <davep@davep.org> 7;; Maintainer: Dave Pearson <davep@davep.org>
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el
index 2e512ae4e19..c0bf8be3cf8 100644
--- a/lisp/net/rcirc.el
+++ b/lisp/net/rcirc.el
@@ -1,6 +1,6 @@
1;;; rcirc.el --- default, simple IRC client. 1;;; rcirc.el --- default, simple IRC client.
2 2
3;; Copyright (C) 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Ryan Yeske 5;; Author: Ryan Yeske
6;; URL: http://www.nongnu.org/rcirc 6;; URL: http://www.nongnu.org/rcirc
@@ -79,7 +79,7 @@
79 :type 'string 79 :type 'string
80 :group 'rcirc) 80 :group 'rcirc)
81 81
82(defcustom rcirc-startup-channels-alist nil 82(defcustom rcirc-startup-channels-alist '(("^irc.freenode.net$" "#emacs"))
83 "Alist of channels to join at startup. 83 "Alist of channels to join at startup.
84Each element looks like (SERVER-REGEXP . CHANNEL-LIST)." 84Each element looks like (SERVER-REGEXP . CHANNEL-LIST)."
85 :type '(alist :key-type string :value-type (repeat string)) 85 :type '(alist :key-type string :value-type (repeat string))
@@ -111,11 +111,6 @@ underneath each nick."
111 "If non-nil, ignore activity in this buffer.") 111 "If non-nil, ignore activity in this buffer.")
112(make-variable-buffer-local 'rcirc-ignore-buffer-activity-flag) 112(make-variable-buffer-local 'rcirc-ignore-buffer-activity-flag)
113 113
114(defcustom rcirc-ignore-all-activity-flag nil
115 "*Non-nil means do not indicate any activity in the modeline."
116 :type 'boolean
117 :group 'rcirc)
118
119(defcustom rcirc-time-format "%H:%M " 114(defcustom rcirc-time-format "%H:%M "
120 "*Describes how timestamps are printed. 115 "*Describes how timestamps are printed.
121Used as the first arg to `format-time-string'." 116Used as the first arg to `format-time-string'."
@@ -140,29 +135,42 @@ number. If zero or nil, no truncating is done."
140 (integer :tag "Number of lines")) 135 (integer :tag "Number of lines"))
141 :group 'rcirc) 136 :group 'rcirc)
142 137
143(defcustom rcirc-authinfo-file-name 138(defcustom rcirc-authinfo nil
144 "~/.rcirc-authinfo" 139 "List of authentication passwords.
145 "File containing rcirc authentication passwords. 140Each element of the list is a list with a SERVER-REGEXP string
146The file consists of a single list, with each element itself a 141and a method symbol followed by method specific arguments.
147list with a SERVER-REGEXP string, a NICK-REGEXP string, a METHOD 142
148and the remaining method specific ARGUMENTS. The valid METHOD 143The valid METHOD symbols are `nickserv', `chanserv' and
149symbols are `nickserv', `chanserv' and `bitlbee'. 144`bitlbee'.
150 145
151The required ARGUMENTS for each METHOD symbol are: 146The required ARGUMENTS for each METHOD symbol are:
152 `nickserv': PASSWORD 147 `nickserv': NICK PASSWORD
153 `chanserv': CHANNEL PASSWORD 148 `chanserv': NICK CHANNEL PASSWORD
154 `bitlbee': PASSWORD 149 `bitlbee': NICK PASSWORD
155 150
156Example: 151Example:
157 ((\"freenode\" \"bob\" nickserv \"p455w0rd\") 152 ((\"freenode\" nickserv \"bob\" \"p455w0rd\")
158 (\"freenode\" \"bob\" chanserv \"#bobland\" \"passwd99\") 153 (\"freenode\" chanserv \"bob\" \"#bobland\" \"passwd99\")
159 (\"bitlbee\" \"robert\" bitlbee \"sekrit\"))" 154 (\"bitlbee\" bitlbee \"robert\" \"sekrit\"))"
160 :type 'string 155 :type '(alist :key-type (string :tag "Server")
156 :value-type (choice (list :tag "NickServ"
157 (const nickserv)
158 (string :tag "Nick")
159 (string :tag "Password"))
160 (list :tag "ChanServ"
161 (const chanserv)
162 (string :tag "Nick")
163 (string :tag "Channel")
164 (string :tag "Password"))
165 (list :tag "BitlBee"
166 (const bitlbee)
167 (string :tag "Nick")
168 (string :tag "Password"))))
161 :group 'rcirc) 169 :group 'rcirc)
162 170
163(defcustom rcirc-auto-authenticate-flag (file-readable-p rcirc-authinfo-file-name) 171(defcustom rcirc-auto-authenticate-flag t
164 "*Non-nil means automatically send authentication string to server. 172 "*Non-nil means automatically send authentication string to server.
165See also `rcirc-authinfo-file-name'." 173See also `rcirc-authinfo'."
166 :type 'boolean 174 :type 'boolean
167 :group 'rcirc) 175 :group 'rcirc)
168 176
@@ -187,6 +195,12 @@ Use /ignore to list them, use /ignore NICK to add or remove a nick."
187 :type '(repeat string) 195 :type '(repeat string)
188 :group 'rcirc) 196 :group 'rcirc)
189 197
198(defcustom rcirc-nick-abbrevs nil
199 "List of short replacements for printing nicks."
200 :type '(alist :key-type (string :tag "Nick")
201 :value-type (string :tag "Abbrev"))
202 :group 'rcirc)
203
190(defvar rcirc-ignore-list-automatic () 204(defvar rcirc-ignore-list-automatic ()
191 "List of ignored nicks added to `rcirc-ignore-list' because of renaming. 205 "List of ignored nicks added to `rcirc-ignore-list' because of renaming.
192When an ignored person renames, their nick is added to both lists. 206When an ignored person renames, their nick is added to both lists.
@@ -199,6 +213,11 @@ Called with 5 arguments, PROCESS, SENDER, RESPONSE, TARGET and TEXT."
199 :type 'hook 213 :type 'hook
200 :group 'rcirc) 214 :group 'rcirc)
201 215
216(defcustom rcirc-always-use-server-buffer-flag nil
217 "Non-nil means messages without a channel target will go to the server buffer."
218 :type 'boolean
219 :group 'rcirc)
220
202(defvar rcirc-prompt-start-marker nil) 221(defvar rcirc-prompt-start-marker nil)
203(defvar rcirc-prompt-end-marker nil) 222(defvar rcirc-prompt-end-marker nil)
204 223
@@ -238,37 +257,35 @@ Called with 5 arguments, PROCESS, SENDER, RESPONSE, TARGET and TEXT."
238 257
239(defvar rcirc-startup-channels nil) 258(defvar rcirc-startup-channels nil)
240;;;###autoload 259;;;###autoload
241(defun rcirc (&optional server port nick channels) 260(defun rcirc (arg)
242 "Connect to IRC. 261 "Connect to IRC.
243 262If ARG is non-nil, prompt for a server to connect to."
244If any of the the optional SERVER, PORT, NICK or CHANNELS are not 263 (interactive "P")
245supplied, they are taken from the variables `rcirc-server', 264 (if arg
246`rcirc-port', `rcirc-nick', and `rcirc-startup-channels-alist', 265 (let* ((server (read-string "IRC Server: " rcirc-server))
247respectively." 266 (port (read-string "IRC Port: " (number-to-string rcirc-port)))
248 (interactive (list (read-string "IRC Server: " rcirc-server) 267 (nick (read-string "IRC Nick: " rcirc-nick))
249 (read-string "IRC Port: " (number-to-string rcirc-port)) 268 (channels (split-string
250 (read-string "IRC Nick: " rcirc-nick))) 269 (read-string "IRC Channels: "
251 (or server (setq server rcirc-server)) 270 (mapconcat 'identity
252 (or port (setq port rcirc-port)) 271 (rcirc-startup-channels server)
253 (or nick (setq nick rcirc-nick)) 272 " "))
254 (or channels 273 "[, ]+" t)))
255 (setq channels 274 (rcirc-connect server port nick rcirc-user-name rcirc-user-full-name
256 (if (interactive-p) 275 channels))
257 (split-string 276 ;; make new connection using defaults unless already connected to
258 (read-string "Channels: " 277 ;; the default rcirc-server
259 (mapconcat 'identity 278 (let ((default-server (default-value 'rcirc-server))
260 (rcirc-startup-channels server) 279 connected)
261 " ")) 280 (dolist (p (rcirc-process-list))
262 "[, ]+" t) 281 (when (string= default-server (process-name p))
263 (rcirc-startup-channels server)))) 282 (setq connected p)))
264 (or global-mode-string (setq global-mode-string '(""))) 283 (if (not connected)
265 (and (not (memq 'rcirc-activity-string global-mode-string)) 284 (rcirc-connect rcirc-server rcirc-port rcirc-nick
266 (setq global-mode-string 285 rcirc-user-name rcirc-user-full-name
267 (append global-mode-string '(rcirc-activity-string)))) 286 (rcirc-startup-channels rcirc-server))
268 (add-hook 'window-configuration-change-hook 287 (switch-to-buffer (process-buffer connected))
269 'rcirc-window-configuration-change) 288 (message "Connected to %s" rcirc-server)))))
270 (rcirc-connect server port nick rcirc-user-name rcirc-user-full-name
271 channels))
272 289
273;;;###autoload 290;;;###autoload
274(defalias 'irc 'rcirc) 291(defalias 'irc 'rcirc)
@@ -279,11 +296,9 @@ respectively."
279(defvar rcirc-keepalive-timer nil) 296(defvar rcirc-keepalive-timer nil)
280(defvar rcirc-last-server-message-time nil) 297(defvar rcirc-last-server-message-time nil)
281(defun rcirc-connect (server port nick user-name full-name startup-channels) 298(defun rcirc-connect (server port nick user-name full-name startup-channels)
282 "Return a connection to SERVER on PORT. 299 (add-hook 'window-configuration-change-hook
300 'rcirc-window-configuration-change)
283 301
284User will identify using the values of NICK, USER-NAME and
285FULL-NAME. The variable list of channel names in
286STARTUP-CHANNELS will automatically be joined on startup."
287 (save-excursion 302 (save-excursion
288 (message "Connecting to %s..." server) 303 (message "Connecting to %s..." server)
289 (let* ((inhibit-eol-conversion) 304 (let* ((inhibit-eol-conversion)
@@ -377,13 +392,13 @@ Functions are called with PROCESS and SENTINEL arguments.")
377 (rcirc-debug process (format "SENTINEL: %S %S\n" process sentinel)) 392 (rcirc-debug process (format "SENTINEL: %S %S\n" process sentinel))
378 (with-rcirc-process-buffer process 393 (with-rcirc-process-buffer process
379 (dolist (buffer (cons nil (mapcar 'cdr rcirc-buffer-alist))) 394 (dolist (buffer (cons nil (mapcar 'cdr rcirc-buffer-alist)))
380 (rcirc-print process "rcirc.el" "ERROR" buffer
381 (format "%s: %s (%S)"
382 (process-name process)
383 sentinel
384 (process-status process)) t)
385 ;; remove the prompt from buffers
386 (with-current-buffer (or buffer (current-buffer)) 395 (with-current-buffer (or buffer (current-buffer))
396 (rcirc-print process "rcirc.el" "ERROR" rcirc-target
397 (format "%s: %s (%S)"
398 (process-name process)
399 sentinel
400 (process-status process)) t)
401 ;; remove the prompt from buffers
387 (let ((inhibit-read-only t)) 402 (let ((inhibit-read-only t))
388 (delete-region rcirc-prompt-start-marker 403 (delete-region rcirc-prompt-start-marker
389 rcirc-prompt-end-marker))))) 404 rcirc-prompt-end-marker)))))
@@ -428,7 +443,8 @@ Function is called with PROCESS, COMMAND, SENDER, ARGS and LINE.")
428 443
429(defun rcirc-process-server-response-1 (process text) 444(defun rcirc-process-server-response-1 (process text)
430 (if (string-match "^\\(:\\([^ ]+\\) \\)?\\([^ ]+\\) \\(.+\\)$" text) 445 (if (string-match "^\\(:\\([^ ]+\\) \\)?\\([^ ]+\\) \\(.+\\)$" text)
431 (let* ((sender (match-string 2 text)) 446 (let* ((user (match-string 2 text))
447 (sender (rcirc-user-nick user))
432 (cmd (match-string 3 text)) 448 (cmd (match-string 3 text))
433 (args (match-string 4 text)) 449 (args (match-string 4 text))
434 (handler (intern-soft (concat "rcirc-handler-" cmd)))) 450 (handler (intern-soft (concat "rcirc-handler-" cmd))))
@@ -470,6 +486,11 @@ Function is called with PROCESS, COMMAND, SENDER, ARGS and LINE.")
470 (with-rcirc-process-buffer process 486 (with-rcirc-process-buffer process
471 rcirc-nick)) 487 rcirc-nick))
472 488
489(defun rcirc-abbrev-nick (nick)
490 "If NICK has an entry in `rcirc-nick-abbrevs', return its abbreviation,
491otherwise return NICK."
492 (or (cdr (assoc nick rcirc-nick-abbrevs)) nick))
493
473(defvar rcirc-max-message-length 450 494(defvar rcirc-max-message-length 450
474 "Messages longer than this value will be split.") 495 "Messages longer than this value will be split.")
475 496
@@ -487,12 +508,10 @@ If NOTICEP is non-nil, send a notice instead of privmsg."
487 text)) 508 text))
488 (more (if oversize 509 (more (if oversize
489 (substring message rcirc-max-message-length)))) 510 (substring message rcirc-max-message-length))))
490 (rcirc-print process (rcirc-nick process) response 511 (rcirc-get-buffer-create process target)
491 (rcirc-get-buffer-create process target) 512 (rcirc-print process (rcirc-nick process) response target text)
492 text)
493 (rcirc-send-string process (concat response " " target " :" text)) 513 (rcirc-send-string process (concat response " " target " :" text))
494 (if more 514 (when more (rcirc-send-message process target more noticep))))
495 (rcirc-send-message process target more noticep))))
496 515
497(defvar rcirc-input-ring nil) 516(defvar rcirc-input-ring nil)
498(defvar rcirc-input-ring-index 0) 517(defvar rcirc-input-ring-index 0)
@@ -582,10 +601,6 @@ If buffer is nil, return the target of the current buffer."
582(define-key rcirc-mode-map (kbd "C-c C-s") 'rcirc-switch-to-server-buffer) 601(define-key rcirc-mode-map (kbd "C-c C-s") 'rcirc-switch-to-server-buffer)
583(define-key rcirc-mode-map (kbd "C-c C-a") 'rcirc-jump-to-first-unread-line) 602(define-key rcirc-mode-map (kbd "C-c C-a") 'rcirc-jump-to-first-unread-line)
584 603
585(define-key global-map (kbd "C-c `") 'rcirc-next-active-buffer)
586(define-key global-map (kbd "C-c C-@") 'rcirc-next-active-buffer)
587(define-key global-map (kbd "C-c C-SPC") 'rcirc-next-active-buffer)
588
589(defvar rcirc-browse-url-map (make-sparse-keymap) 604(defvar rcirc-browse-url-map (make-sparse-keymap)
590 "Keymap used for browsing URLs in `rcirc-mode'.") 605 "Keymap used for browsing URLs in `rcirc-mode'.")
591 606
@@ -730,8 +745,6 @@ This is used for the initial name given to IRC buffers."
730(defun rcirc-get-buffer (process target &optional server) 745(defun rcirc-get-buffer (process target &optional server)
731 "Return the buffer associated with the PROCESS and TARGET. 746 "Return the buffer associated with the PROCESS and TARGET.
732 747
733If TARGET is nil, return the server buffer.
734
735If optional argument SERVER is non-nil, return the server buffer 748If optional argument SERVER is non-nil, return the server buffer
736if there is no existing buffer for TARGET, otherwise return nil." 749if there is no existing buffer for TARGET, otherwise return nil."
737 (with-rcirc-process-buffer process 750 (with-rcirc-process-buffer process
@@ -744,7 +757,11 @@ if there is no existing buffer for TARGET, otherwise return nil."
744 "Return the buffer associated with the PROCESS and TARGET. 757 "Return the buffer associated with the PROCESS and TARGET.
745Create the buffer if it doesn't exist." 758Create the buffer if it doesn't exist."
746 (let ((buffer (rcirc-get-buffer process target))) 759 (let ((buffer (rcirc-get-buffer process target)))
747 (or buffer 760 (if buffer
761 (progn
762 (when (not rcirc-target)
763 (setq rcirc-target target))
764 buffer)
748 ;; create the buffer 765 ;; create the buffer
749 (with-rcirc-process-buffer process 766 (with-rcirc-process-buffer process
750 (let ((new-buffer (get-buffer-create 767 (let ((new-buffer (get-buffer-create
@@ -781,36 +798,45 @@ Create the buffer if it doesn't exist."
781 (delete-backward-char 1)) 798 (delete-backward-char 1))
782 (let ((input (buffer-substring-no-properties 799 (let ((input (buffer-substring-no-properties
783 rcirc-prompt-end-marker (point)))) 800 rcirc-prompt-end-marker (point))))
784 ;; process a /cmd 801 (dolist (line (split-string input "\n"))
785 (if (string-match "^/\\([^ ]+\\) ?\\(.*\\)$" input) 802 (rcirc-process-input-line rcirc-process target line))
786 (let* ((command (match-string 1 input))
787 (fun (intern-soft (concat "rcirc-cmd-" command)))
788 (args (match-string 2 input)))
789 (newline)
790 (with-current-buffer (current-buffer)
791 (delete-region rcirc-prompt-end-marker (point))
792 (if (string= command "me")
793 (rcirc-print rcirc-process (rcirc-nick rcirc-process)
794 "ACTION" (current-buffer) args)
795 (rcirc-print rcirc-process (rcirc-nick rcirc-process)
796 "COMMAND" (current-buffer) input))
797 (set-marker rcirc-prompt-end-marker (point))
798 (if (fboundp fun)
799 (funcall fun args rcirc-process target)
800 (rcirc-send-string rcirc-process
801 (concat command " " args)))))
802 ;; send message to server
803 (if (not rcirc-target)
804 (message "Not joined")
805 (delete-region rcirc-prompt-end-marker (point))
806 (mapc (lambda (message)
807 (rcirc-send-message rcirc-process target message))
808 (split-string input "\n"))))
809 ;; add to input-ring 803 ;; add to input-ring
810 (save-excursion 804 (save-excursion
811 (ring-insert rcirc-input-ring input) 805 (ring-insert rcirc-input-ring input)
812 (setq rcirc-input-ring-index 0))))))) 806 (setq rcirc-input-ring-index 0)))))))
813 807
808(defun rcirc-process-input-line (process target line)
809 (if (string-match "^/\\([^ ]+\\) ?\\(.*\\)$" line)
810 (rcirc-process-command (match-string 1 line)
811 (match-string 2 line)
812 line)
813 (rcirc-process-message line)))
814
815(defun rcirc-process-message (line)
816 (if (not rcirc-target)
817 (message "Not joined")
818 (delete-region rcirc-prompt-end-marker (point))
819 (rcirc-send-message rcirc-process rcirc-target line)))
820
821(defun rcirc-process-command (command args line)
822 (if (eq (aref command 0) ?/)
823 ;; "//text" will send "/text" as a message
824 (rcirc-process-message (substring line 1))
825 (let* ((fun (intern-soft (concat "rcirc-cmd-" command))))
826 (newline)
827 (with-current-buffer (current-buffer)
828 (delete-region rcirc-prompt-end-marker (point))
829 (if (string= command "me")
830 (rcirc-print rcirc-process (rcirc-nick rcirc-process)
831 "ACTION" rcirc-target args)
832 (rcirc-print rcirc-process (rcirc-nick rcirc-process)
833 "COMMAND" rcirc-target line))
834 (set-marker rcirc-prompt-end-marker (point))
835 (if (fboundp fun)
836 (funcall fun args rcirc-process rcirc-target)
837 (rcirc-send-string rcirc-process
838 (concat command " " args)))))))
839
814(defvar rcirc-parent-buffer nil) 840(defvar rcirc-parent-buffer nil)
815(defvar rcirc-window-configuration nil) 841(defvar rcirc-window-configuration nil)
816(defun rcirc-edit-multiline () 842(defun rcirc-edit-multiline ()
@@ -828,7 +854,8 @@ Create the buffer if it doesn't exist."
828 (setq rcirc-parent-buffer parent) 854 (setq rcirc-parent-buffer parent)
829 (setq rcirc-process process) 855 (setq rcirc-process process)
830 (insert text) 856 (insert text)
831 (and (> pos 0) (goto-char pos))))) 857 (and (> pos 0) (goto-char pos))
858 (message "Type C-c C-c to return text to %s, or C-c C-k to cancel" parent))))
832 859
833(define-derived-mode rcirc-multiline-edit-mode 860(define-derived-mode rcirc-multiline-edit-mode
834 text-mode "rcirc multi" 861 text-mode "rcirc multi"
@@ -879,46 +906,130 @@ Create the buffer if it doesn't exist."
879 buffer 906 buffer
880 (process-buffer process)))) 907 (process-buffer process))))
881 908
909(defcustom rcirc-response-formats
910 '(("PRIVMSG" . "%T<%n> %m")
911 ("NOTICE" . "%T-%n- %m")
912 ("ACTION" . "%T[%n] %m")
913 ("COMMAND" . "%T%m")
914 ("ERROR" . "%T%fw!!! %m")
915 (t . "%T%fp*** %fs%n %r %m"))
916 "An alist of formats used for printing responses.
917The format is looked up using the response-type as a key;
918if no match is found, the default entry (with a key of `t') is used.
919
920The entry's value part should be a string, which is inserted with
921the of the following escape sequences replaced by the described values:
922
923 %m The message text
924 %n The sender's nick (with face `rcirc-my-nick' or `rcirc-other-nick')
925 %r The response-type
926 %T The timestamp (with face `rcirc-timestamp')
927 %t The target
928 %fw Following text uses the face `font-lock-warning-face'
929 %fp Following text uses the face `rcirc-server-prefix'
930 %fs Following text uses the face `rcirc-server'
931 %f[FACE] Following text uses the face FACE
932 %f- Following text uses the default face
933 %% A literal `%' character
934"
935 :type '(alist :key-type (choice (string :tag "Type")
936 (const :tag "Default" t))
937 :value-type string)
938 :group 'rcirc)
939
882(defun rcirc-format-response-string (process sender response target text) 940(defun rcirc-format-response-string (process sender response target text)
883 (concat (rcirc-facify (format-time-string rcirc-time-format (current-time)) 941 "Return a nicely-formatted response string, incorporating TEXT
884 'rcirc-timestamp) 942\(and perhaps other arguments). The specific formatting used
885 (cond ((or (string= response "PRIVMSG") 943is found by looking up RESPONSE in `rcirc-response-formats'."
886 (string= response "NOTICE") 944 (let ((chunks
887 (string= response "ACTION")) 945 (split-string (or (cdr (assoc response rcirc-response-formats))
888 (let (first middle end) 946 (cdr (assq t rcirc-response-formats)))
889 (cond ((string= response "PRIVMSG") 947 "%"))
890 (setq first "<" middle "> ")) 948 (result "")
891 ((string= response "NOTICE") 949 (face nil)
892 (when sender 950 key face-key repl)
893 (setq first "-" middle "- "))) 951 (when (equal (car chunks) "")
894 (t 952 (pop chunks))
895 (setq first "[" middle " " end "]"))) 953 (dolist (chunk chunks)
896 (concat first 954 (if (equal chunk "")
897 (rcirc-facify (rcirc-user-nick sender) 955 (setq key ?%)
898 (if (string= sender 956 (setq key (aref chunk 0))
899 (rcirc-nick process)) 957 (setq chunk (substring chunk 1)))
900 'rcirc-my-nick 958 (setq repl
901 'rcirc-other-nick)) 959 (cond ((eq key ?%)
902 middle 960 ;; %% -- literal % character ;
903 (rcirc-mangle-text process text) 961 "%")
904 end))) 962 ((eq key ?n)
905 ((string= response "COMMAND") 963 ;; %n -- nick ;
906 text) 964 (rcirc-facify (concat (rcirc-abbrev-nick sender)
907 ((string= response "ERROR") 965 (and target (concat "," target)))
908 (propertize (concat "!!! " text) 966 (if (string= sender (rcirc-nick process))
909 'face 'font-lock-warning-face)) 967 'rcirc-my-nick
910 (t 968 'rcirc-other-nick)))
911 (rcirc-mangle-text 969 ((eq key ?T)
912 process 970 ;; %T -- timestamp ;
913 (concat (rcirc-facify "*** " 'rcirc-server-prefix) 971 (rcirc-facify
914 (rcirc-facify 972 (format-time-string rcirc-time-format (current-time))
915 (concat 973 'rcirc-timestamp))
916 (when (not (string= sender (rcirc-server process))) 974 ((eq key ?m)
917 (concat (rcirc-user-nick sender) " ")) 975 ;; %m -- message text ;
918 (when (zerop (string-to-number response)) 976 ;; We add the text property `rcirc-text' to identify this ;
919 (concat response " ")) 977 ;; as the body text. ;
920 text) 978 (propertize
921 'rcirc-server))))))) 979 (rcirc-mangle-text process (rcirc-facify text face))
980 'rcirc-text text))
981 ((eq key ?t)
982 ;; %t -- target ;
983 (rcirc-facify (or rcirc-target "") face))
984 ((eq key ?r)
985 ;; %r -- response ;
986 (rcirc-facify response face))
987 ((eq key ?f)
988 ;; %f -- change face ;
989 (setq face-key (aref chunk 0))
990 (cond ((eq face-key ?w)
991 ;; %fw -- warning face ;
992 (setq face 'font-lock-warning-face))
993 ((eq face-key ?p)
994 ;; %fp -- server-prefix face ;
995 (setq face 'rcirc-server-prefix))
996 ((eq face-key ?s)
997 ;; %fs -- warning face ;
998 (setq face 'rcirc-server))
999 ((eq face-key ?-)
1000 ;; %fs -- warning face ;
1001 (setq face nil))
1002 ((and (eq face-key ?\[)
1003 (string-match "^[[]\\([^]]*\\)[]]" chunk)
1004 (facep (match-string 1 chunk)))
1005 ;; %f[...] -- named face ;
1006 (setq face (intern (match-string 1 chunk)))
1007 (setq chunk (substring chunk (match-end 1)))))
1008 (setq chunk (substring chunk 1))
1009 "")
1010 (t
1011 ;; just insert the key literally ;
1012 (rcirc-facify (substring chunk 0 1) face))))
1013 (setq result (concat result repl (rcirc-facify chunk face))))
1014 result))
1015
1016(defun rcirc-target-buffer (process sender response target text)
1017 "Return a buffer to print the server response."
1018 (assert (not (bufferp target)))
1019 (with-rcirc-process-buffer process
1020 (cond ((not target)
1021 (if rcirc-always-use-server-buffer-flag
1022 (process-buffer process)
1023 (rcirc-get-any-buffer process)))
1024 ((not (rcirc-channel-p target))
1025 ;; message from another user
1026 (if (string= response "PRIVMSG")
1027 (rcirc-get-buffer-create process (if (string= sender rcirc-nick)
1028 target
1029 sender))
1030 (rcirc-get-buffer process target t)))
1031 ((or (rcirc-get-buffer process target)
1032 (rcirc-get-any-buffer process))))))
922 1033
923(defvar rcirc-activity-type nil) 1034(defvar rcirc-activity-type nil)
924(make-variable-buffer-local 'rcirc-activity-type) 1035(make-variable-buffer-local 'rcirc-activity-type)
@@ -926,19 +1037,11 @@ Create the buffer if it doesn't exist."
926 "Print TEXT in the buffer associated with TARGET. 1037 "Print TEXT in the buffer associated with TARGET.
927Format based on SENDER and RESPONSE. If ACTIVITY is non-nil, 1038Format based on SENDER and RESPONSE. If ACTIVITY is non-nil,
928record activity." 1039record activity."
929 (unless (or (member (rcirc-user-nick sender) rcirc-ignore-list) 1040 (unless (or (member sender rcirc-ignore-list)
930 (member (with-syntax-table rcirc-nick-syntax-table 1041 (member (with-syntax-table rcirc-nick-syntax-table
931 (when (string-match "^\\([^/]\\w*\\)[:,]" text) 1042 (when (string-match "^\\([^/]\\w*\\)[:,]" text)
932 (match-string 1 text))) rcirc-ignore-list)) 1043 (match-string 1 text))) rcirc-ignore-list))
933 (let* ((buffer (cond ((bufferp target) 1044 (let* ((buffer (rcirc-target-buffer process sender response target text))
934 target)
935 ((not target)
936 (rcirc-get-any-buffer process))
937 ((not (rcirc-channel-p target))
938 (rcirc-get-buffer-create process
939 (rcirc-user-nick sender)))
940 ((or (rcirc-get-buffer process target)
941 (rcirc-get-any-buffer process)))))
942 (inhibit-read-only t)) 1045 (inhibit-read-only t))
943 (with-current-buffer buffer 1046 (with-current-buffer buffer
944 (let ((moving (= (point) rcirc-prompt-end-marker)) 1047 (let ((moving (= (point) rcirc-prompt-end-marker))
@@ -960,38 +1063,31 @@ record activity."
960 (goto-char rcirc-prompt-start-marker) 1063 (goto-char rcirc-prompt-start-marker)
961 (set-marker-insertion-type rcirc-prompt-start-marker t) 1064 (set-marker-insertion-type rcirc-prompt-start-marker t)
962 (set-marker-insertion-type rcirc-prompt-end-marker t) 1065 (set-marker-insertion-type rcirc-prompt-end-marker t)
963 (insert 1066
964 (rcirc-format-response-string process sender response target text) 1067 (let ((fmted-text
965 (propertize "\n" 'hard t)) 1068 (rcirc-format-response-string process sender response nil
966 (set-marker-insertion-type rcirc-prompt-start-marker nil) 1069 text)))
967 (set-marker-insertion-type rcirc-prompt-end-marker nil) 1070
968 1071 (insert fmted-text (propertize "\n" 'hard t))
969 ;; fill the text we just inserted, maybe 1072 (set-marker-insertion-type rcirc-prompt-start-marker nil)
970 (when (and rcirc-fill-flag 1073 (set-marker-insertion-type rcirc-prompt-end-marker nil)
971 (not (string= response "372"))) ;/motd 1074
972 (let ((fill-prefix 1075 ;; fill the text we just inserted, maybe
973 (or rcirc-fill-prefix 1076 (when (and rcirc-fill-flag
974 (make-string 1077 (not (string= response "372"))) ;/motd
975 (+ (if rcirc-time-format 1078 (let ((fill-prefix
976 (length (format-time-string 1079 (or rcirc-fill-prefix
977 rcirc-time-format)) 1080 (make-string
978 0) 1081 (or (next-single-property-change 0 'rcirc-text
979 (cond ((or (string= response "PRIVMSG") 1082 fmted-text)
980 (string= response "NOTICE")) 1083 8)
981 (+ (length (rcirc-user-nick sender)) 1084 ?\s)))
982 2)) ; <> 1085 (fill-column (cond ((eq rcirc-fill-column 'frame-width)
983 ((string= response "ACTION") 1086 (1- (frame-width)))
984 (+ (length (rcirc-user-nick sender)) 1087 (rcirc-fill-column
985 1)) ; [ 1088 rcirc-fill-column)
986 (t 3)) ; *** 1089 (t fill-column))))
987 1) 1090 (fill-region fill-start rcirc-prompt-start-marker 'left t))))
988 ?\s)))
989 (fill-column (cond ((eq rcirc-fill-column 'frame-width)
990 (1- (frame-width)))
991 (rcirc-fill-column
992 rcirc-fill-column)
993 (t fill-column))))
994 (fill-region fill-start rcirc-prompt-start-marker 'left t)))
995 1091
996 ;; set inserted text to be read-only 1092 ;; set inserted text to be read-only
997 (when rcirc-read-only-flag 1093 (when rcirc-read-only-flag
@@ -1056,17 +1152,17 @@ record activity."
1056(defun rcirc-join-channels (process channels) 1152(defun rcirc-join-channels (process channels)
1057 "Join CHANNELS." 1153 "Join CHANNELS."
1058 (save-window-excursion 1154 (save-window-excursion
1059 (mapc (lambda (channel) 1155 (dolist (channel channels)
1060 (with-rcirc-process-buffer process 1156 (with-rcirc-process-buffer process
1061 (rcirc-cmd-join channel process))) 1157 (rcirc-cmd-join channel process)))))
1062 channels)))
1063 1158
1064;;; nick management 1159;;; nick management
1065(defun rcirc-user-nick (user) 1160(defun rcirc-user-nick (user)
1066 "Return the nick from USER. Remove any non-nick junk." 1161 "Return the nick from USER. Remove any non-nick junk."
1067 (if (string-match "^[@%+]?\\([^! ]+\\)!?" (or user "")) 1162 (save-match-data
1068 (match-string 1 user) 1163 (if (string-match "^[@%+]?\\([^! ]+\\)!?" (or user ""))
1069 user)) 1164 (match-string 1 user)
1165 user)))
1070 1166
1071(defun rcirc-user-non-nick (user) 1167(defun rcirc-user-non-nick (user)
1072 "Return the non-nick portion of USER." 1168 "Return the non-nick portion of USER."
@@ -1076,17 +1172,15 @@ record activity."
1076 1172
1077(defun rcirc-nick-channels (process nick) 1173(defun rcirc-nick-channels (process nick)
1078 "Return list of channels for NICK." 1174 "Return list of channels for NICK."
1079 (let ((nick (rcirc-user-nick nick))) 1175 (with-rcirc-process-buffer process
1080 (with-rcirc-process-buffer process 1176 (mapcar (lambda (x) (car x))
1081 (mapcar (lambda (x) (car x)) 1177 (gethash nick rcirc-nick-table))))
1082 (gethash nick rcirc-nick-table)))))
1083 1178
1084(defun rcirc-put-nick-channel (process nick channel) 1179(defun rcirc-put-nick-channel (process nick channel)
1085 "Add CHANNEL to list associated with NICK." 1180 "Add CHANNEL to list associated with NICK."
1086 (with-rcirc-process-buffer process 1181 (with-rcirc-process-buffer process
1087 (let* ((nick (rcirc-user-nick nick)) 1182 (let* ((chans (gethash nick rcirc-nick-table))
1088 (chans (gethash nick rcirc-nick-table)) 1183 (record (assoc-string channel chans t)))
1089 (record (assoc-string channel chans t)))
1090 (if record 1184 (if record
1091 (setcdr record (current-time)) 1185 (setcdr record (current-time))
1092 (puthash nick (cons (cons channel (current-time)) 1186 (puthash nick (cons (cons channel (current-time))
@@ -1101,8 +1195,7 @@ record activity."
1101(defun rcirc-remove-nick-channel (process nick channel) 1195(defun rcirc-remove-nick-channel (process nick channel)
1102 "Remove the CHANNEL from list associated with NICK." 1196 "Remove the CHANNEL from list associated with NICK."
1103 (with-rcirc-process-buffer process 1197 (with-rcirc-process-buffer process
1104 (let* ((nick (rcirc-user-nick nick)) 1198 (let* ((chans (gethash nick rcirc-nick-table))
1105 (chans (gethash nick rcirc-nick-table))
1106 (newchans 1199 (newchans
1107 ;; instead of assoc-string-delete-all: 1200 ;; instead of assoc-string-delete-all:
1108 (let ((record (assoc-string channel chans t))) 1201 (let ((record (assoc-string channel chans t)))
@@ -1136,28 +1229,44 @@ if NICK is also on `rcirc-ignore-list-automatic'."
1136 (delete nick rcirc-ignore-list)))) 1229 (delete nick rcirc-ignore-list))))
1137 1230
1138;;; activity tracking 1231;;; activity tracking
1232(defvar rcirc-track-minor-mode-map (make-sparse-keymap)
1233 "Keymap for rcirc track minor mode.")
1234
1235(define-key rcirc-track-minor-mode-map (kbd "C-c `") 'rcirc-next-active-buffer)
1236(define-key rcirc-track-minor-mode-map (kbd "C-c C-@") 'rcirc-next-active-buffer)
1237(define-key rcirc-track-minor-mode-map (kbd "C-c C-SPC") 'rcirc-next-active-buffer)
1238
1239;;; FIXME: the code to insert `rcirc-activity-string' into
1240;;; `global-mode-string' isn't called when the mode is activated by
1241;;; customize. I don't know how to set that up.
1242(define-minor-mode rcirc-track-minor-mode
1243 "Global minor mode for tracking activity in rcirc buffers."
1244 :init-value nil
1245 :lighter ""
1246 :keymap rcirc-track-minor-mode-map
1247 :global t
1248 :group 'rcirc
1249 (or global-mode-string (setq global-mode-string '("")))
1250 ;; toggle the mode-line channel indicator
1251 (if rcirc-track-minor-mode
1252 (and (not (memq 'rcirc-activity-string global-mode-string))
1253 (setq global-mode-string
1254 (append global-mode-string '(rcirc-activity-string))))
1255 (setq global-mode-string
1256 (delete 'rcirc-activity-string global-mode-string))))
1257
1139(or (assq 'rcirc-ignore-buffer-activity-flag minor-mode-alist) 1258(or (assq 'rcirc-ignore-buffer-activity-flag minor-mode-alist)
1140 (setq minor-mode-alist 1259 (setq minor-mode-alist
1141 (cons '(rcirc-ignore-buffer-activity-flag " Ignore") minor-mode-alist))) 1260 (cons '(rcirc-ignore-buffer-activity-flag " Ignore") minor-mode-alist)))
1142 1261
1143(defun rcirc-toggle-ignore-buffer-activity (&optional all) 1262(defun rcirc-toggle-ignore-buffer-activity ()
1144 "Toggle the value of `rcirc-ignore-buffer-activity-flag'. 1263 "Toggle the value of `rcirc-ignore-buffer-activity-flag'."
1145If ALL is non-nil, instead toggle the value of 1264 (interactive)
1146`rcirc-ignore-all-activity-flag'." 1265 (setq rcirc-ignore-buffer-activity-flag
1147 (interactive "P") 1266 (not rcirc-ignore-buffer-activity-flag))
1148 (if all 1267 (message (if rcirc-ignore-buffer-activity-flag
1149 (progn 1268 "Ignore activity in this buffer"
1150 (setq rcirc-ignore-all-activity-flag 1269 "Notice activity in this buffer"))
1151 (not rcirc-ignore-all-activity-flag))
1152 (message (if rcirc-ignore-all-activity-flag
1153 "Hide all buffer activity"
1154 "Display buffer activity"))
1155 (rcirc-update-activity-string))
1156 (setq rcirc-ignore-buffer-activity-flag
1157 (not rcirc-ignore-buffer-activity-flag))
1158 (message (if rcirc-ignore-buffer-activity-flag
1159 "Ignore activity in this buffer"
1160 "Notice activity in this buffer")))
1161 (force-mode-line-update)) 1270 (force-mode-line-update))
1162 1271
1163(defvar rcirc-switch-to-buffer-function 'switch-to-buffer 1272(defvar rcirc-switch-to-buffer-function 'switch-to-buffer
@@ -1229,21 +1338,18 @@ activity. Only run if the buffer is not visible and
1229(defun rcirc-update-activity-string () 1338(defun rcirc-update-activity-string ()
1230 "Update mode-line string." 1339 "Update mode-line string."
1231 (setq rcirc-activity-string 1340 (setq rcirc-activity-string
1232 (cond (rcirc-ignore-all-activity-flag 1341 (if (not rcirc-activity)
1233 " DND") 1342 ""
1234 ((not rcirc-activity) 1343 (concat " ["
1235 "") 1344 (mapconcat
1236 (t 1345 (lambda (b)
1237 (concat " [" 1346 (let ((s (rcirc-short-buffer-name b)))
1238 (mapconcat 1347 (with-current-buffer b
1239 (lambda (b) 1348 (if (not (eq rcirc-activity-type 'nick))
1240 (let ((s (rcirc-short-buffer-name b))) 1349 s
1241 (with-current-buffer b 1350 (rcirc-facify s 'rcirc-mode-line-nick)))))
1242 (if (not (eq rcirc-activity-type 'nick)) 1351 rcirc-activity ",")
1243 s 1352 "]"))))
1244 (rcirc-facify s 'rcirc-mode-line-nick)))))
1245 rcirc-activity ",")
1246 "]")))))
1247 1353
1248(defun rcirc-short-buffer-name (buffer) 1354(defun rcirc-short-buffer-name (buffer)
1249 "Return a short name for BUFFER to use in the modeline indicator." 1355 "Return a short name for BUFFER to use in the modeline indicator."
@@ -1488,23 +1594,22 @@ Ignore NICK, unignore NICK if already ignored, or list ignored
1488nicks when no NICK is given. When listing ignored nicks, the 1594nicks when no NICK is given. When listing ignored nicks, the
1489ones added to the list automatically are marked with an asterisk." 1595ones added to the list automatically are marked with an asterisk."
1490 (interactive "sToggle ignoring of nick: ") 1596 (interactive "sToggle ignoring of nick: ")
1491 (if (string= "" nick) 1597 (when (not (string= "" nick))
1492 (rcirc-print process (rcirc-nick process) "NOTICE" target
1493 (mapconcat
1494 (lambda (nick)
1495 (concat nick
1496 (if (member nick rcirc-ignore-list-automatic)
1497 "*" "")))
1498 rcirc-ignore-list " "))
1499 (if (member nick rcirc-ignore-list) 1598 (if (member nick rcirc-ignore-list)
1500 (setq rcirc-ignore-list (delete nick rcirc-ignore-list)) 1599 (setq rcirc-ignore-list (delete nick rcirc-ignore-list))
1501 (setq rcirc-ignore-list (cons nick rcirc-ignore-list))))) 1600 (setq rcirc-ignore-list (cons nick rcirc-ignore-list))))
1502 1601 (rcirc-print process (rcirc-nick process) "IGNORE" target
1602 (mapconcat
1603 (lambda (nick)
1604 (concat nick
1605 (if (member nick rcirc-ignore-list-automatic)
1606 "*" "")))
1607 rcirc-ignore-list " ")))
1503 1608
1504 1609
1505(defun rcirc-message-leader (sender face) 1610(defun rcirc-message-leader (sender face)
1506 "Return a string with SENDER propertized with FACE." 1611 "Return a string with SENDER propertized with FACE."
1507 (rcirc-facify (concat "<" (rcirc-user-nick sender) "> ") face)) 1612 (rcirc-facify (concat "<" sender "> ") face))
1508 1613
1509(defun rcirc-facify (string face) 1614(defun rcirc-facify (string face)
1510 "Return a copy of STRING with FACE property added." 1615 "Return a copy of STRING with FACE property added."
@@ -1518,8 +1623,8 @@ ones added to the list automatically are marked with an asterisk."
1518 "://" 1623 "://"
1519 (1+ (char "a-zA-Z0-9_.")) 1624 (1+ (char "a-zA-Z0-9_."))
1520 (optional ":" (1+ (char "0-9"))))) 1625 (optional ":" (1+ (char "0-9")))))
1521 (1+ (char "-a-zA-Z0-9_=!?#$\@~`%&*+|\\/:;.,")) 1626 (1+ (char "-a-zA-Z0-9_=!?#$\@~`%&*+|\\/:;.,{}[]"))
1522 (char "-a-zA-Z0-9_=!?#$\@~`%&*+|\\/:;")) 1627 (char "-a-zA-Z0-9_=#$\@~`%&*+|\\/:;{}[]"))
1523 "Regexp matching URLs. Set to nil to disable URL features in rcirc.") 1628 "Regexp matching URLs. Set to nil to disable URL features in rcirc.")
1524 1629
1525(defun rcirc-browse-url (&optional arg) 1630(defun rcirc-browse-url (&optional arg)
@@ -1603,7 +1708,7 @@ FUNCTION takes 3 arguments, MATCH-START, MATCH-END, and STRING."
1603 'mouse-face 'highlight 1708 'mouse-face 'highlight
1604 'keymap rcirc-browse-url-map) 1709 'keymap rcirc-browse-url-map)
1605 string)) 1710 string))
1606 (push (substring string start end) rcirc-urls)) 1711 (push (substring-no-properties string start end) rcirc-urls))
1607 rcirc-url-regexp 1712 rcirc-url-regexp
1608 text)) 1713 text))
1609 text) 1714 text)
@@ -1627,7 +1732,7 @@ FUNCTION takes 3 arguments, MATCH-START, MATCH-END, and STRING."
1627(defun rcirc-handler-PRIVMSG (process sender args text) 1732(defun rcirc-handler-PRIVMSG (process sender args text)
1628 (let ((target (if (rcirc-channel-p (car args)) 1733 (let ((target (if (rcirc-channel-p (car args))
1629 (car args) 1734 (car args)
1630 (rcirc-user-nick sender))) 1735 sender))
1631 (message (or (cadr args) ""))) 1736 (message (or (cadr args) "")))
1632 (if (string-match "^\C-a\\(.*\\)\C-a$" message) 1737 (if (string-match "^\C-a\\(.*\\)\C-a$" message)
1633 (rcirc-handler-CTCP process target sender (match-string 1 message)) 1738 (rcirc-handler-CTCP process target sender (match-string 1 message))
@@ -1650,25 +1755,21 @@ FUNCTION takes 3 arguments, MATCH-START, MATCH-END, and STRING."
1650 (match-string 1 message)) 1755 (match-string 1 message))
1651 (sender 1756 (sender
1652 (if (string= sender (rcirc-server process)) 1757 (if (string= sender (rcirc-server process))
1653 (process-buffer process) 1758 nil ; server notice
1654 (rcirc-user-nick sender)))) 1759 sender)))
1655 message t)))) 1760 message t))))
1656 ;; do we need this:
1657 ;;(and sender (rcirc-put-nick-channel process sender target))))
1658 1761
1659(defun rcirc-handler-WALLOPS (process sender args text) 1762(defun rcirc-handler-WALLOPS (process sender args text)
1660 (let ((target (rcirc-user-nick sender))) 1763 (rcirc-print process sender "WALLOPS" sender (car args) t))
1661 (rcirc-print process sender "WALLOPS" target (car args) t)))
1662 1764
1663(defun rcirc-handler-JOIN (process sender args text) 1765(defun rcirc-handler-JOIN (process sender args text)
1664 (let ((channel (car args)) 1766 (let ((channel (car args)))
1665 (nick (rcirc-user-nick sender)))
1666 (rcirc-get-buffer-create process channel) 1767 (rcirc-get-buffer-create process channel)
1667 (rcirc-print process sender "JOIN" channel "") 1768 (rcirc-print process sender "JOIN" channel "")
1668 1769
1669 ;; print in private chat buffer if it exists 1770 ;; print in private chat buffer if it exists
1670 (when (rcirc-get-buffer rcirc-process nick) 1771 (when (rcirc-get-buffer rcirc-process sender)
1671 (rcirc-print process sender "JOIN" nick channel)) 1772 (rcirc-print process sender "JOIN" sender channel))
1672 1773
1673 (rcirc-put-nick-channel process sender channel))) 1774 (rcirc-put-nick-channel process sender channel)))
1674 1775
@@ -1695,9 +1796,9 @@ FUNCTION takes 3 arguments, MATCH-START, MATCH-END, and STRING."
1695 (setq rcirc-target nil)))))) 1796 (setq rcirc-target nil))))))
1696 1797
1697(defun rcirc-handler-PART (process sender args text) 1798(defun rcirc-handler-PART (process sender args text)
1698 (rcirc-ignore-update-automatic (rcirc-user-nick sender)) 1799 (rcirc-ignore-update-automatic sender)
1699 (rcirc-handler-PART-or-KICK process "PART" 1800 (rcirc-handler-PART-or-KICK process "PART"
1700 (car args) sender (rcirc-user-nick sender) 1801 (car args) sender sender
1701 (cadr args))) 1802 (cadr args)))
1702 1803
1703(defun rcirc-handler-KICK (process sender args text) 1804(defun rcirc-handler-KICK (process sender args text)
@@ -1705,21 +1806,19 @@ FUNCTION takes 3 arguments, MATCH-START, MATCH-END, and STRING."
1705 (caddr args))) 1806 (caddr args)))
1706 1807
1707(defun rcirc-handler-QUIT (process sender args text) 1808(defun rcirc-handler-QUIT (process sender args text)
1708 (rcirc-ignore-update-automatic (rcirc-user-nick sender)) 1809 (rcirc-ignore-update-automatic sender)
1709 (let ((nick (rcirc-user-nick sender))) 1810 (mapc (lambda (channel)
1710 (mapc (lambda (channel) 1811 (rcirc-print process sender "QUIT" channel (apply 'concat args)))
1711 (rcirc-print process sender "QUIT" channel (apply 'concat args))) 1812 (rcirc-nick-channels process sender))
1712 (rcirc-nick-channels process nick))
1713 1813
1714 ;; print in private chat buffer if it exists 1814 ;; print in private chat buffer if it exists
1715 (let ((buffer (rcirc-get-buffer rcirc-process nick))) 1815 (when (rcirc-get-buffer rcirc-process sender)
1716 (when buffer 1816 (rcirc-print process sender "QUIT" sender (apply 'concat args)))
1717 (rcirc-print process sender "QUIT" buffer (apply 'concat args))))
1718 1817
1719 (rcirc-nick-remove process nick))) 1818 (rcirc-nick-remove process sender))
1720 1819
1721(defun rcirc-handler-NICK (process sender args text) 1820(defun rcirc-handler-NICK (process sender args text)
1722 (let* ((old-nick (rcirc-user-nick sender)) 1821 (let* ((old-nick sender)
1723 (new-nick (car args)) 1822 (new-nick (car args))
1724 (channels (rcirc-nick-channels process old-nick))) 1823 (channels (rcirc-nick-channels process old-nick)))
1725 ;; update list of ignored nicks 1824 ;; update list of ignored nicks
@@ -1796,9 +1895,8 @@ FUNCTION takes 3 arguments, MATCH-START, MATCH-END, and STRING."
1796 1895
1797 ;; print in private chat buffers if they exist 1896 ;; print in private chat buffers if they exist
1798 (mapc (lambda (nick) 1897 (mapc (lambda (nick)
1799 (let ((existing-buffer (rcirc-get-buffer process nick))) 1898 (when (rcirc-get-buffer process nick)
1800 (when existing-buffer 1899 (rcirc-print process sender "MODE" nick msg)))
1801 (rcirc-print process sender "MODE" existing-buffer msg))))
1802 (cddr args)))) 1900 (cddr args))))
1803 1901
1804(defun rcirc-get-temp-buffer-create (process channel) 1902(defun rcirc-get-temp-buffer-create (process channel)
@@ -1834,40 +1932,35 @@ FUNCTION takes 3 arguments, MATCH-START, MATCH-END, and STRING."
1834 1932
1835(defun rcirc-authenticate () 1933(defun rcirc-authenticate ()
1836 "Send authentication to process associated with current buffer. 1934 "Send authentication to process associated with current buffer.
1837Passwords are read from `rcirc-authinfo-file-name' (which see)." 1935Passwords are stored in `rcirc-authinfo' (which see)."
1838 (interactive) 1936 (interactive)
1839 (let ((password-alist 1937 (with-rcirc-process-buffer rcirc-process
1840 (with-temp-buffer 1938 (dolist (i rcirc-authinfo)
1841 (insert-file-contents-literally rcirc-authinfo-file-name) 1939 (let ((server (car i))
1842 (goto-char (point-min)) 1940 (nick (caddr i))
1843 (read (current-buffer))))) 1941 (method (cadr i))
1844 (with-rcirc-process-buffer rcirc-process 1942 (args (cdddr i)))
1845 (dolist (i password-alist) 1943 (when (and (string-match server rcirc-server)
1846 (let ((server (car i)) 1944 (string-match nick rcirc-nick))
1847 (nick (cadr i)) 1945 (cond ((equal method 'nickserv)
1848 (method (caddr i)) 1946 (rcirc-send-string
1849 (args (cdddr i))) 1947 rcirc-process
1850 (when (and (string-match server rcirc-server) 1948 (concat
1851 (string-match nick rcirc-nick)) 1949 "PRIVMSG nickserv :identify "
1852 (cond ((equal method 'nickserv) 1950 (car args))))
1853 (rcirc-send-string 1951 ((equal method 'chanserv)
1854 rcirc-process 1952 (rcirc-send-string
1855 (concat 1953 rcirc-process
1856 "PRIVMSG nickserv :identify " 1954 (concat
1857 (car args)))) 1955 "PRIVMSG chanserv :identify "
1858 ((equal method 'chanserv) 1956 (cadr args) " " (car args))))
1859 (rcirc-send-string 1957 ((equal method 'bitlbee)
1860 rcirc-process 1958 (rcirc-send-string
1861 (concat 1959 rcirc-process
1862 "PRIVMSG chanserv :identify " 1960 (concat "PRIVMSG &bitlbee :identify " (car args))))
1863 (car args) " " (cadr args)))) 1961 (t
1864 ((equal method 'bitlbee) 1962 (message "No %S authentication method defined"
1865 (rcirc-send-string 1963 method))))))))
1866 rcirc-process
1867 (concat "PRIVMSG #bitlbee :identify " (car args))))
1868 (t
1869 (message "No %S authentication method defined"
1870 method)))))))))
1871 1964
1872(defun rcirc-handler-INVITE (process sender args text) 1965(defun rcirc-handler-INVITE (process sender args text)
1873 (rcirc-print process sender "INVITE" nil (mapconcat 'identity args " ") t)) 1966 (rcirc-print process sender "INVITE" nil (mapconcat 'identity args " ") t))
@@ -1879,22 +1972,19 @@ Passwords are read from `rcirc-authinfo-file-name' (which see)."
1879 (if (string-match "^\\([^ ]+\\) *\\(.*\\)$" text) 1972 (if (string-match "^\\([^ ]+\\) *\\(.*\\)$" text)
1880 (let* ((request (upcase (match-string 1 text))) 1973 (let* ((request (upcase (match-string 1 text)))
1881 (args (match-string 2 text)) 1974 (args (match-string 2 text))
1882 (nick (rcirc-user-nick sender))
1883 (handler (intern-soft (concat "rcirc-handler-ctcp-" request)))) 1975 (handler (intern-soft (concat "rcirc-handler-ctcp-" request))))
1884 (if (not (fboundp handler)) 1976 (if (not (fboundp handler))
1885 (rcirc-print process sender "ERROR" 1977 (rcirc-print process sender "ERROR" target
1886 (rcirc-get-buffer process target) 1978 (format "%s sent unsupported ctcp: %s" sender text)
1887 (format "%s sent unsupported ctcp: %s" nick text)
1888 t) 1979 t)
1889 (funcall handler process target sender args) 1980 (funcall handler process target sender args)
1890 (if (not (string= request "ACTION")) 1981 (if (not (string= request "ACTION"))
1891 (rcirc-print process sender "CTCP" 1982 (rcirc-print process sender "CTCP" target
1892 (rcirc-get-buffer process target)
1893 (format "%s" text) t)))))) 1983 (format "%s" text) t))))))
1894 1984
1895(defun rcirc-handler-ctcp-VERSION (process target sender args) 1985(defun rcirc-handler-ctcp-VERSION (process target sender args)
1896 (rcirc-send-string process 1986 (rcirc-send-string process
1897 (concat "NOTICE " (rcirc-user-nick sender) 1987 (concat "NOTICE " sender
1898 " :\C-aVERSION " rcirc-id-string 1988 " :\C-aVERSION " rcirc-id-string
1899 "\C-a"))) 1989 "\C-a")))
1900 1990
@@ -1903,7 +1993,7 @@ Passwords are read from `rcirc-authinfo-file-name' (which see)."
1903 1993
1904(defun rcirc-handler-ctcp-TIME (process target sender args) 1994(defun rcirc-handler-ctcp-TIME (process target sender args)
1905 (rcirc-send-string process 1995 (rcirc-send-string process
1906 (concat "NOTICE " (rcirc-user-nick sender) 1996 (concat "NOTICE " sender
1907 " :\C-aTIME " (current-time-string) "\C-a"))) 1997 " :\C-aTIME " (current-time-string) "\C-a")))
1908 1998
1909(defun rcirc-handler-CTCP-response (process target sender message) 1999(defun rcirc-handler-CTCP-response (process target sender message)
@@ -1960,7 +2050,7 @@ Passwords are read from `rcirc-authinfo-file-name' (which see)."
1960 :group 'rcirc-faces) 2050 :group 'rcirc-faces)
1961 2051
1962(defface rcirc-server-prefix ; font-lock-comment-delimiter-face 2052(defface rcirc-server-prefix ; font-lock-comment-delimiter-face
1963 '((default :inherit font-lock-comment-face) 2053 '((default :inherit rcirc-server)
1964 (((class grayscale))) 2054 (((class grayscale)))
1965 (((class color) (min-colors 16))) 2055 (((class color) (min-colors 16)))
1966 (((class color) (min-colors 8) (background light)) 2056 (((class color) (min-colors 8) (background light))
diff --git a/lisp/net/rcompile.el b/lisp/net/rcompile.el
index c643d72da97..469f268fb9c 100644
--- a/lisp/net/rcompile.el
+++ b/lisp/net/rcompile.el
@@ -1,7 +1,7 @@
1;;; rcompile.el --- run a compilation on a remote machine 1;;; rcompile.el --- run a compilation on a remote machine
2 2
3;; Copyright (C) 1993, 1994, 2002, 2003, 2004, 3;; Copyright (C) 1993, 1994, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Albert <alon@milcse.rtsg.mot.com> 6;; Author: Albert <alon@milcse.rtsg.mot.com>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/net/rlogin.el b/lisp/net/rlogin.el
index 693113203ba..74b9e034f9a 100644
--- a/lisp/net/rlogin.el
+++ b/lisp/net/rlogin.el
@@ -1,7 +1,7 @@
1;;; rlogin.el --- remote login interface 1;;; rlogin.el --- remote login interface
2 2
3;; Copyright (C) 1992, 1993, 1994, 1995, 1997, 1998, 2002, 2003, 2004, 3;; Copyright (C) 1992, 1993, 1994, 1995, 1997, 1998, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Noah Friedman 6;; Author: Noah Friedman
7;; Maintainer: Noah Friedman <friedman@splode.com> 7;; Maintainer: Noah Friedman <friedman@splode.com>
diff --git a/lisp/net/snmp-mode.el b/lisp/net/snmp-mode.el
index 31c600a2804..62f6bb87b69 100644
--- a/lisp/net/snmp-mode.el
+++ b/lisp/net/snmp-mode.el
@@ -1,7 +1,7 @@
1;;; snmp-mode.el --- SNMP & SNMPv2 MIB major mode 1;;; snmp-mode.el --- SNMP & SNMPv2 MIB major mode
2 2
3;; Copyright (C) 1995, 1998, 2002, 2003, 2004, 3;; Copyright (C) 1995, 1998, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Paul D. Smith <psmith@BayNetworks.com> 6;; Author: Paul D. Smith <psmith@BayNetworks.com>
7;; Keywords: data 7;; Keywords: data
diff --git a/lisp/net/telnet.el b/lisp/net/telnet.el
index e4f91351c25..28bc552551b 100644
--- a/lisp/net/telnet.el
+++ b/lisp/net/telnet.el
@@ -1,7 +1,7 @@
1;;; telnet.el --- run a telnet session from within an Emacs buffer 1;;; telnet.el --- run a telnet session from within an Emacs buffer
2 2
3;; Copyright (C) 1985, 1988, 1992, 1994, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1988, 1992, 1994, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: William F. Schelter 6;; Author: William F. Schelter
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/net/tls.el b/lisp/net/tls.el
index e46c98b6f6a..fe089decad0 100644
--- a/lisp/net/tls.el
+++ b/lisp/net/tls.el
@@ -1,7 +1,7 @@
1;;; tls.el --- TLS/SSL support via wrapper around GnuTLS 1;;; tls.el --- TLS/SSL support via wrapper around GnuTLS
2 2
3;; Copyright (C) 1996, 1997, 1998, 1999, 2002, 2003, 2004, 3;; Copyright (C) 1996, 1997, 1998, 1999, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Simon Josefsson <simon@josefsson.org> 6;; Author: Simon Josefsson <simon@josefsson.org>
7;; Keywords: comm, tls, gnutls, ssl 7;; Keywords: comm, tls, gnutls, ssl
diff --git a/lisp/net/tramp-smb.el b/lisp/net/tramp-smb.el
index 5644e081e6c..04fbd3636f8 100644
--- a/lisp/net/tramp-smb.el
+++ b/lisp/net/tramp-smb.el
@@ -1,6 +1,6 @@
1;;; tramp-smb.el --- Tramp access functions for SMB servers -*- coding: iso-8859-1; -*- 1;;; tramp-smb.el --- Tramp access functions for SMB servers -*- coding: iso-8859-1; -*-
2 2
3;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Michael Albinus <michael.albinus@gmx.de> 5;; Author: Michael Albinus <michael.albinus@gmx.de>
6;; Keywords: comm, processes 6;; Keywords: comm, processes
diff --git a/lisp/net/tramp-uu.el b/lisp/net/tramp-uu.el
index e1e22af3cab..c33e8175315 100644
--- a/lisp/net/tramp-uu.el
+++ b/lisp/net/tramp-uu.el
@@ -1,7 +1,7 @@
1;;; -*- coding: iso-2022-7bit; -*- 1;;; -*- coding: iso-2022-7bit; -*-
2;;; tramp-uu.el --- uuencode in Lisp 2;;; tramp-uu.el --- uuencode in Lisp
3 3
4;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Kai Gro,A_(Bjohann <kai.grossjohann@gmx.net> 6;; Author: Kai Gro,A_(Bjohann <kai.grossjohann@gmx.net>
7;; Keywords: comm, terminals 7;; Keywords: comm, terminals
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 5ff8a0832bc..afe5308a918 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -1735,7 +1735,7 @@ on the remote host.")
1735(defvar tramp-perl-encode 1735(defvar tramp-perl-encode
1736 "%s -e ' 1736 "%s -e '
1737# This script contributed by Juanma Barranquero <lektu@terra.es>. 1737# This script contributed by Juanma Barranquero <lektu@terra.es>.
1738# Copyright (C) 2002 Free Software Foundation, Inc. 1738# Copyright (C) 2006 Free Software Foundation, Inc.
1739use strict; 1739use strict;
1740 1740
1741my %%trans = do { 1741my %%trans = do {
@@ -1777,7 +1777,7 @@ This string is passed to `format', so percent characters need to be doubled.")
1777(defvar tramp-perl-decode 1777(defvar tramp-perl-decode
1778 "%s -e ' 1778 "%s -e '
1779# This script contributed by Juanma Barranquero <lektu@terra.es>. 1779# This script contributed by Juanma Barranquero <lektu@terra.es>.
1780# Copyright (C) 2002 Free Software Foundation, Inc. 1780# Copyright (C) 2006 Free Software Foundation, Inc.
1781use strict; 1781use strict;
1782 1782
1783my %%trans = do { 1783my %%trans = do {
@@ -6482,7 +6482,8 @@ connection if a previous connection has died for some reason."
6482 p (processp p) (memq (process-status p) '(run open))) 6482 p (processp p) (memq (process-status p) '(run open)))
6483 (tramp-send-command 6483 (tramp-send-command
6484 multi-method method user host "echo are you awake" nil t) 6484 multi-method method user host "echo are you awake" nil t)
6485 (unless (tramp-wait-for-output 10) 6485 (unless (and (memq (process-status p) '(run open))
6486 (tramp-wait-for-output 10))
6486 (delete-process p) 6487 (delete-process p)
6487 (setq p nil)) 6488 (setq p nil))
6488 (erase-buffer))) 6489 (erase-buffer)))
diff --git a/lisp/net/trampver.el b/lisp/net/trampver.el
index 632d958249d..a71667291da 100644
--- a/lisp/net/trampver.el
+++ b/lisp/net/trampver.el
@@ -2,7 +2,7 @@
2;;; trampver.el --- Transparent Remote Access, Multiple Protocol 2;;; trampver.el --- Transparent Remote Access, Multiple Protocol
3;;; lisp/trampver.el. Generated from trampver.el.in by configure. 3;;; lisp/trampver.el. Generated from trampver.el.in by configure.
4 4
5;; Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. 5;; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6 6
7;; Author: Kai Gro,A_(Bjohann <kai.grossjohann@gmx.net> 7;; Author: Kai Gro,A_(Bjohann <kai.grossjohann@gmx.net>
8;; Keywords: comm, processes 8;; Keywords: comm, processes
diff --git a/lisp/net/webjump.el b/lisp/net/webjump.el
index 4a3baea4f41..e24ce702397 100644
--- a/lisp/net/webjump.el
+++ b/lisp/net/webjump.el
@@ -1,7 +1,7 @@
1;;; webjump.el --- programmable Web hotlist 1;;; webjump.el --- programmable Web hotlist
2 2
3;; Copyright (C) 1996, 1997, 2002, 2003, 2004, 3;; Copyright (C) 1996, 1997, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Neil W. Van Dyke <nwv@acm.org> 6;; Author: Neil W. Van Dyke <nwv@acm.org>
7;; Created: 09-Aug-1996 7;; Created: 09-Aug-1996
diff --git a/lisp/net/zone-mode.el b/lisp/net/zone-mode.el
index 9f6c9d1c778..441ef143f9c 100644
--- a/lisp/net/zone-mode.el
+++ b/lisp/net/zone-mode.el
@@ -1,6 +1,7 @@
1;;; zone-mode.el --- major mode for editing DNS zone files 1;;; zone-mode.el --- major mode for editing DNS zone files
2 2
3;; Copyright (C) 1998, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1998, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: John Heidemann <johnh@isi.edu> 6;; Author: John Heidemann <johnh@isi.edu>
6;; Keywords: DNS, languages 7;; Keywords: DNS, languages
diff --git a/lisp/novice.el b/lisp/novice.el
index dfaf0b6c6d3..97e27da5e5e 100644
--- a/lisp/novice.el
+++ b/lisp/novice.el
@@ -1,7 +1,7 @@
1;;; novice.el --- handling of disabled commands ("novice mode") for Emacs 1;;; novice.el --- handling of disabled commands ("novice mode") for Emacs
2 2
3;; Copyright (C) 1985, 1986, 1987, 1994, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1986, 1987, 1994, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: internal, help 7;; Keywords: internal, help
diff --git a/lisp/outline.el b/lisp/outline.el
index eed84bd61c7..fdbad00ada3 100644
--- a/lisp/outline.el
+++ b/lisp/outline.el
@@ -1,7 +1,7 @@
1;;; outline.el --- outline mode commands for Emacs 1;;; outline.el --- outline mode commands for Emacs
2 2
3;; Copyright (C) 1986, 1993, 1994, 1995, 1997, 2000, 2001, 2002, 3;; Copyright (C) 1986, 1993, 1994, 1995, 1997, 2000, 2001, 2002,
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: outlines 7;; Keywords: outlines
diff --git a/lisp/paren.el b/lisp/paren.el
index 8b5a134d2d4..29506174c6b 100644
--- a/lisp/paren.el
+++ b/lisp/paren.el
@@ -1,7 +1,7 @@
1;;; paren.el --- highlight matching paren 1;;; paren.el --- highlight matching paren
2 2
3;; Copyright (C) 1993, 1996, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1993, 1996, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: rms@gnu.org 6;; Author: rms@gnu.org
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/paths.el b/lisp/paths.el
index f248eac9242..846f91793d1 100644
--- a/lisp/paths.el
+++ b/lisp/paths.el
@@ -1,7 +1,7 @@
1;;; paths.el --- define pathnames for use by various Emacs commands -*- no-byte-compile: t -*- 1;;; paths.el --- define pathnames for use by various Emacs commands -*- no-byte-compile: t -*-
2 2
3;; Copyright (C) 1986, 1988, 1994, 1999, 2000, 2002, 2003, 3;; Copyright (C) 1986, 1988, 1994, 1999, 2000, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: internal 7;; Keywords: internal
diff --git a/lisp/pcmpl-cvs.el b/lisp/pcmpl-cvs.el
index 628ad8399ce..5915b5f5a9d 100644
--- a/lisp/pcmpl-cvs.el
+++ b/lisp/pcmpl-cvs.el
@@ -1,7 +1,7 @@
1;;; pcmpl-cvs.el --- functions for dealing with cvs completions 1;;; pcmpl-cvs.el --- functions for dealing with cvs completions
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7 7
diff --git a/lisp/pcmpl-gnu.el b/lisp/pcmpl-gnu.el
index bf7653618b8..7dc7808404f 100644
--- a/lisp/pcmpl-gnu.el
+++ b/lisp/pcmpl-gnu.el
@@ -1,7 +1,7 @@
1;;; pcmpl-gnu.el --- completions for GNU project tools 1;;; pcmpl-gnu.el --- completions for GNU project tools
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; This file is part of GNU Emacs. 6;; This file is part of GNU Emacs.
7 7
diff --git a/lisp/pcmpl-linux.el b/lisp/pcmpl-linux.el
index 02f840bee30..bd68d00ce76 100644
--- a/lisp/pcmpl-linux.el
+++ b/lisp/pcmpl-linux.el
@@ -1,7 +1,7 @@
1;;; pcmpl-linux.el --- functions for dealing with GNU/Linux completions 1;;; pcmpl-linux.el --- functions for dealing with GNU/Linux completions
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; This file is part of GNU Emacs. 6;; This file is part of GNU Emacs.
7 7
diff --git a/lisp/pcmpl-rpm.el b/lisp/pcmpl-rpm.el
index 5e9afcf51cb..5855a3e5d15 100644
--- a/lisp/pcmpl-rpm.el
+++ b/lisp/pcmpl-rpm.el
@@ -1,7 +1,7 @@
1;;; pcmpl-rpm.el --- functions for dealing with rpm completions 1;;; pcmpl-rpm.el --- functions for dealing with rpm completions
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; This file is part of GNU Emacs. 6;; This file is part of GNU Emacs.
7 7
diff --git a/lisp/pcmpl-unix.el b/lisp/pcmpl-unix.el
index de9c143ae6f..35637c01363 100644
--- a/lisp/pcmpl-unix.el
+++ b/lisp/pcmpl-unix.el
@@ -1,7 +1,7 @@
1;;; pcmpl-unix.el --- standard UNIX completions 1;;; pcmpl-unix.el --- standard UNIX completions
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; This file is part of GNU Emacs. 6;; This file is part of GNU Emacs.
7 7
diff --git a/lisp/pcomplete.el b/lisp/pcomplete.el
index c8d0ac19bd6..36878d2dff9 100644
--- a/lisp/pcomplete.el
+++ b/lisp/pcomplete.el
@@ -1,7 +1,7 @@
1;;; pcomplete.el --- programmable completion 1;;; pcomplete.el --- programmable completion
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
4;; 2005 Free Sofware Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: John Wiegley <johnw@gnu.org> 6;; Author: John Wiegley <johnw@gnu.org>
7;; Keywords: processes abbrev 7;; Keywords: processes abbrev
diff --git a/lisp/pcvs-defs.el b/lisp/pcvs-defs.el
index cd981581711..8f7de913261 100644
--- a/lisp/pcvs-defs.el
+++ b/lisp/pcvs-defs.el
@@ -1,7 +1,7 @@
1;;; pcvs-defs.el --- variable definitions for PCL-CVS 1;;; pcvs-defs.el --- variable definitions for PCL-CVS
2 2
3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4;; 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2000, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Stefan Monnier <monnier@cs.yale.edu> 6;; Author: Stefan Monnier <monnier@cs.yale.edu>
7;; Keywords: pcl-cvs 7;; Keywords: pcl-cvs
diff --git a/lisp/pcvs-info.el b/lisp/pcvs-info.el
index 291e4ae85c4..7d1a11ccb68 100644
--- a/lisp/pcvs-info.el
+++ b/lisp/pcvs-info.el
@@ -1,7 +1,7 @@
1;;; pcvs-info.el --- internal representation of a fileinfo entry 1;;; pcvs-info.el --- internal representation of a fileinfo entry
2 2
3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4;; 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2000, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Stefan Monnier <monnier@cs.yale.edu> 6;; Author: Stefan Monnier <monnier@cs.yale.edu>
7;; Keywords: pcl-cvs 7;; Keywords: pcl-cvs
diff --git a/lisp/pcvs-parse.el b/lisp/pcvs-parse.el
index 66c791db51c..2053d8f5bd5 100644
--- a/lisp/pcvs-parse.el
+++ b/lisp/pcvs-parse.el
@@ -1,7 +1,7 @@
1;;; pcvs-parse.el --- the CVS output parser 1;;; pcvs-parse.el --- the CVS output parser
2 2
3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4;; 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2000, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Stefan Monnier <monnier@cs.yale.edu> 6;; Author: Stefan Monnier <monnier@cs.yale.edu>
7;; Keywords: pcl-cvs 7;; Keywords: pcl-cvs
diff --git a/lisp/pcvs-util.el b/lisp/pcvs-util.el
index 1c4896435db..9ff40d09494 100644
--- a/lisp/pcvs-util.el
+++ b/lisp/pcvs-util.el
@@ -1,7 +1,7 @@
1;;; pcvs-util.el --- utility functions for PCL-CVS -*- byte-compile-dynamic: t -*- 1;;; pcvs-util.el --- utility functions for PCL-CVS -*- byte-compile-dynamic: t -*-
2 2
3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4;; 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Stefan Monnier <monnier@cs.yale.edu> 6;; Author: Stefan Monnier <monnier@cs.yale.edu>
7;; Keywords: pcl-cvs 7;; Keywords: pcl-cvs
diff --git a/lisp/pcvs.el b/lisp/pcvs.el
index 0f0ff76ed0c..b9d04522181 100644
--- a/lisp/pcvs.el
+++ b/lisp/pcvs.el
@@ -1,7 +1,7 @@
1;;; pcvs.el --- a front-end to CVS 1;;; pcvs.el --- a front-end to CVS
2 2
3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4;; 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2000, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: (The PCL-CVS Trust) pcl-cvs@cyclic.com 6;; Author: (The PCL-CVS Trust) pcl-cvs@cyclic.com
7;; (Per Cederqvist) ceder@lysator.liu.se 7;; (Per Cederqvist) ceder@lysator.liu.se
diff --git a/lisp/pgg-def.el b/lisp/pgg-def.el
index c6197db447d..058dca4fa8f 100644
--- a/lisp/pgg-def.el
+++ b/lisp/pgg-def.el
@@ -1,6 +1,7 @@
1;;; pgg-def.el --- functions/macros for defining PGG functions 1;;; pgg-def.el --- functions/macros for defining PGG functions
2 2
3;; Copyright (C) 1999, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1999, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Daiki Ueno <ueno@unixuser.org> 6;; Author: Daiki Ueno <ueno@unixuser.org>
6;; Created: 1999/11/02 7;; Created: 1999/11/02
@@ -82,6 +83,9 @@ Whether the passphrase is cached at all is controlled by
82(defvar pgg-scheme nil 83(defvar pgg-scheme nil
83 "Current scheme of PGP implementation.") 84 "Current scheme of PGP implementation.")
84 85
86(defvar pgg-text-mode nil
87 "If t, inform the recipient that the input is text.")
88
85(defmacro pgg-truncate-key-identifier (key) 89(defmacro pgg-truncate-key-identifier (key)
86 `(if (> (length ,key) 8) (substring ,key 8) ,key)) 90 `(if (> (length ,key) 8) (substring ,key 8) ,key))
87 91
diff --git a/lisp/pgg-gpg.el b/lisp/pgg-gpg.el
index c1ab5104c4c..0c9f45ab5b9 100644
--- a/lisp/pgg-gpg.el
+++ b/lisp/pgg-gpg.el
@@ -1,7 +1,7 @@
1;;; pgg-gpg.el --- GnuPG support for PGG. 1;;; pgg-gpg.el --- GnuPG support for PGG.
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Daiki Ueno <ueno@unixuser.org> 6;; Author: Daiki Ueno <ueno@unixuser.org>
7;; Symmetric encryption added by: Sascha Wilde <wilde@sha-bang.de> 7;; Symmetric encryption added by: Sascha Wilde <wilde@sha-bang.de>
@@ -87,7 +87,9 @@
87 (buffer-disable-undo) 87 (buffer-disable-undo)
88 (erase-buffer) 88 (erase-buffer)
89 (if (file-exists-p output-file-name) 89 (if (file-exists-p output-file-name)
90 (let ((coding-system-for-read 'raw-text-dos)) 90 (let ((coding-system-for-read (if pgg-text-mode
91 'raw-text
92 'binary)))
91 (insert-file-contents output-file-name))) 93 (insert-file-contents output-file-name)))
92 (set-buffer errors-buffer) 94 (set-buffer errors-buffer)
93 (if (not (equal exit-status 0)) 95 (if (not (equal exit-status 0))
@@ -187,7 +189,8 @@ passphrase cache or user."
187 pgg-gpg-user-id)))) 189 pgg-gpg-user-id))))
188 (args 190 (args
189 (append 191 (append
190 (list "--batch" "--textmode" "--armor" "--always-trust" "--encrypt") 192 (list "--batch" "--armor" "--always-trust" "--encrypt")
193 (if pgg-text-mode (list "--textmode"))
191 (if sign (list "--sign" "--local-user" pgg-gpg-user-id)) 194 (if sign (list "--sign" "--local-user" pgg-gpg-user-id))
192 (if recipients 195 (if recipients
193 (apply #'nconc 196 (apply #'nconc
@@ -196,8 +199,7 @@ passphrase cache or user."
196 (append recipients 199 (append recipients
197 (if pgg-encrypt-for-me 200 (if pgg-encrypt-for-me
198 (list pgg-gpg-user-id))))))))) 201 (list pgg-gpg-user-id)))))))))
199 (pgg-as-lbt start end 'CRLF 202 (pgg-gpg-process-region start end passphrase pgg-gpg-program args)
200 (pgg-gpg-process-region start end passphrase pgg-gpg-program args))
201 (when sign 203 (when sign
202 (with-current-buffer pgg-errors-buffer 204 (with-current-buffer pgg-errors-buffer
203 ;; Possibly cache passphrase under, e.g. "jas", for future sign. 205 ;; Possibly cache passphrase under, e.g. "jas", for future sign.
@@ -215,9 +217,9 @@ passphrase cache or user."
215 (pgg-read-passphrase 217 (pgg-read-passphrase
216 "GnuPG passphrase for symmetric encryption: "))) 218 "GnuPG passphrase for symmetric encryption: ")))
217 (args 219 (args
218 (append (list "--batch" "--textmode" "--armor" "--symmetric" )))) 220 (append (list "--batch" "--armor" "--symmetric" )
219 (pgg-as-lbt start end 'CRLF 221 (if pgg-text-mode (list "--textmode")))))
220 (pgg-gpg-process-region start end passphrase pgg-gpg-program args)) 222 (pgg-gpg-process-region start end passphrase pgg-gpg-program args)
221 (pgg-process-when-success))) 223 (pgg-process-when-success)))
222 224
223(defun pgg-gpg-decrypt-region (start end &optional passphrase) 225(defun pgg-gpg-decrypt-region (start end &optional passphrase)
@@ -279,13 +281,13 @@ passphrase cache or user."
279 (format "GnuPG passphrase for %s: " pgg-gpg-user-id) 281 (format "GnuPG passphrase for %s: " pgg-gpg-user-id)
280 pgg-gpg-user-id))) 282 pgg-gpg-user-id)))
281 (args 283 (args
282 (list (if cleartext "--clearsign" "--detach-sign") 284 (append (list (if cleartext "--clearsign" "--detach-sign")
283 "--armor" "--batch" "--verbose" 285 "--armor" "--batch" "--verbose"
284 "--local-user" pgg-gpg-user-id)) 286 "--local-user" pgg-gpg-user-id)
287 (if pgg-text-mode (list "--textmode"))))
285 (inhibit-read-only t) 288 (inhibit-read-only t)
286 buffer-read-only) 289 buffer-read-only)
287 (pgg-as-lbt start end 'CRLF 290 (pgg-gpg-process-region start end passphrase pgg-gpg-program args)
288 (pgg-gpg-process-region start end passphrase pgg-gpg-program args))
289 (with-current-buffer pgg-errors-buffer 291 (with-current-buffer pgg-errors-buffer
290 ;; Possibly cache passphrase under, e.g. "jas", for future sign. 292 ;; Possibly cache passphrase under, e.g. "jas", for future sign.
291 (pgg-gpg-possibly-cache-passphrase passphrase pgg-gpg-user-id) 293 (pgg-gpg-possibly-cache-passphrase passphrase pgg-gpg-user-id)
diff --git a/lisp/pgg-parse.el b/lisp/pgg-parse.el
index 422ccc6ac23..40ebcd9b195 100644
--- a/lisp/pgg-parse.el
+++ b/lisp/pgg-parse.el
@@ -1,6 +1,7 @@
1;;; pgg-parse.el --- OpenPGP packet parsing 1;;; pgg-parse.el --- OpenPGP packet parsing
2 2
3;; Copyright (C) 1999, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1999, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Daiki Ueno <ueno@unixuser.org> 6;; Author: Daiki Ueno <ueno@unixuser.org>
6;; Created: 1999/10/28 7;; Created: 1999/10/28
diff --git a/lisp/pgg-pgp.el b/lisp/pgg-pgp.el
index 19668f23c01..f58fd0d3c6d 100644
--- a/lisp/pgg-pgp.el
+++ b/lisp/pgg-pgp.el
@@ -1,7 +1,7 @@
1;;; pgg-pgp.el --- PGP 2.* and 6.* support for PGG. 1;;; pgg-pgp.el --- PGP 2.* and 6.* support for PGG.
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Daiki Ueno <ueno@unixuser.org> 6;; Author: Daiki Ueno <ueno@unixuser.org>
7;; Created: 1999/11/02 7;; Created: 1999/11/02
diff --git a/lisp/pgg-pgp5.el b/lisp/pgg-pgp5.el
index 6cb5331ed55..3cba59916e5 100644
--- a/lisp/pgg-pgp5.el
+++ b/lisp/pgg-pgp5.el
@@ -1,7 +1,7 @@
1;;; pgg-pgp5.el --- PGP 5.* support for PGG. 1;;; pgg-pgp5.el --- PGP 5.* support for PGG.
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Daiki Ueno <ueno@unixuser.org> 6;; Author: Daiki Ueno <ueno@unixuser.org>
7;; Created: 1999/11/02 7;; Created: 1999/11/02
diff --git a/lisp/pgg.el b/lisp/pgg.el
index 70aa27b8536..7a30dafce8d 100644
--- a/lisp/pgg.el
+++ b/lisp/pgg.el
@@ -1,7 +1,7 @@
1;;; pgg.el --- glue for the various PGP implementations. 1;;; pgg.el --- glue for the various PGP implementations.
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Daiki Ueno <ueno@unixuser.org> 6;; Author: Daiki Ueno <ueno@unixuser.org>
7;; Symmetric encryption added by: Sascha Wilde <wilde@sha-bang.de> 7;; Symmetric encryption added by: Sascha Wilde <wilde@sha-bang.de>
diff --git a/lisp/printing.el b/lisp/printing.el
index c199dcacc28..94be3dfbfab 100644
--- a/lisp/printing.el
+++ b/lisp/printing.el
@@ -1,10 +1,11 @@
1;;; printing.el --- printing utilities 1;;; printing.el --- printing utilities
2 2
3;; Copyright (C) 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2000, 2001, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
6;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> 7;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
7;; Time-stamp: <2005-09-18 05:57:14 deego> 8;; Time-stamp: <2006-02-06 15:06:40 ttn>
8;; Keywords: wp, print, PostScript 9;; Keywords: wp, print, PostScript
9;; Version: 6.8.4 10;; Version: 6.8.4
10;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/ 11;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/
diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el
index 6442463796c..d7e1ecb67e1 100644
--- a/lisp/progmodes/ada-mode.el
+++ b/lisp/progmodes/ada-mode.el
@@ -1,7 +1,7 @@
1;;; ada-mode.el --- major-mode for editing Ada sources 1;;; ada-mode.el --- major-mode for editing Ada sources
2 2
3;; Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Rolf Ebert <ebert@inf.enst.fr> 6;; Author: Rolf Ebert <ebert@inf.enst.fr>
7;; Markus Heritsch <Markus.Heritsch@studbox.uni-stuttgart.de> 7;; Markus Heritsch <Markus.Heritsch@studbox.uni-stuttgart.de>
diff --git a/lisp/progmodes/ada-prj.el b/lisp/progmodes/ada-prj.el
index 91adf1ed187..1d42a391066 100644
--- a/lisp/progmodes/ada-prj.el
+++ b/lisp/progmodes/ada-prj.el
@@ -1,6 +1,6 @@
1;;; ada-prj.el --- easy editing of project files for the ada-mode 1;;; ada-prj.el --- easy editing of project files for the ada-mode
2 2
3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Emmanuel Briot <briot@gnat.com> 6;; Author: Emmanuel Briot <briot@gnat.com>
diff --git a/lisp/progmodes/ada-stmt.el b/lisp/progmodes/ada-stmt.el
index 87825b1d624..525b53c2146 100644
--- a/lisp/progmodes/ada-stmt.el
+++ b/lisp/progmodes/ada-stmt.el
@@ -1,7 +1,7 @@
1;;; ada-stmt.el --- an extension to Ada mode for inserting statement templates 1;;; ada-stmt.el --- an extension to Ada mode for inserting statement templates
2 2
3;; Copyright(C) 1987, 1993, 1994, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 3;; Copyright(C) 1987, 1993, 1994, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; This file is part of GNU Emacs. 6;; This file is part of GNU Emacs.
7 7
diff --git a/lisp/progmodes/ada-xref.el b/lisp/progmodes/ada-xref.el
index 241296d8f67..9e3f8e14332 100644
--- a/lisp/progmodes/ada-xref.el
+++ b/lisp/progmodes/ada-xref.el
@@ -1,7 +1,7 @@
1;;; ada-xref.el --- for lookup and completion in Ada mode 1;;; ada-xref.el --- for lookup and completion in Ada mode
2 2
3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Markus Heritsch <Markus.Heritsch@studbox.uni-stuttgart.de> 6;; Author: Markus Heritsch <Markus.Heritsch@studbox.uni-stuttgart.de>
7;; Rolf Ebert <ebert@inf.enst.fr> 7;; Rolf Ebert <ebert@inf.enst.fr>
diff --git a/lisp/progmodes/antlr-mode.el b/lisp/progmodes/antlr-mode.el
index 229bec56dd5..7ddd9212f6c 100644
--- a/lisp/progmodes/antlr-mode.el
+++ b/lisp/progmodes/antlr-mode.el
@@ -1,6 +1,6 @@
1;;; antlr-mode.el --- major mode for ANTLR grammar files 1;;; antlr-mode.el --- major mode for ANTLR grammar files
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5;; 5;;
6;; Author: Christoph.Wedler@sap.com 6;; Author: Christoph.Wedler@sap.com
diff --git a/lisp/progmodes/asm-mode.el b/lisp/progmodes/asm-mode.el
index 44605b1fa9a..b79237adba7 100644
--- a/lisp/progmodes/asm-mode.el
+++ b/lisp/progmodes/asm-mode.el
@@ -1,6 +1,6 @@
1;;; asm-mode.el --- mode for editing assembler code 1;;; asm-mode.el --- mode for editing assembler code
2 2
3;; Copyright (C) 1991, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1991, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Eric S. Raymond <esr@snark.thyrsus.com> 6;; Author: Eric S. Raymond <esr@snark.thyrsus.com>
diff --git a/lisp/progmodes/autoconf.el b/lisp/progmodes/autoconf.el
index 2949b2da92f..fe021d04cea 100644
--- a/lisp/progmodes/autoconf.el
+++ b/lisp/progmodes/autoconf.el
@@ -1,6 +1,6 @@
1;;; autoconf.el --- mode for editing Autoconf configure.in files 1;;; autoconf.el --- mode for editing Autoconf configure.in files
2 2
3;; Copyright (C) 2000, 2001, 2002 2003, 2004, 2005 3;; Copyright (C) 2000, 2001, 2002 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Dave Love <fx@gnu.org> 6;; Author: Dave Love <fx@gnu.org>
@@ -52,7 +52,7 @@
52 "AC_\\(SUBST\\|DEFINE\\(_UNQUOTED\\)?\\)(\\(\\sw+\\)") 52 "AC_\\(SUBST\\|DEFINE\\(_UNQUOTED\\)?\\)(\\(\\sw+\\)")
53 53
54(defvar autoconf-font-lock-keywords 54(defvar autoconf-font-lock-keywords
55 `(("A[CHMS]_\\sw+" . font-lock-keyword-face) 55 `(("\\_<A[CHMS]_\\sw+" . font-lock-keyword-face)
56 (,autoconf-definition-regexp 56 (,autoconf-definition-regexp
57 3 font-lock-function-name-face) 57 3 font-lock-function-name-face)
58 ;; Are any other M4 keywords really appropriate for configure.in, 58 ;; Are any other M4 keywords really appropriate for configure.in,
diff --git a/lisp/progmodes/cc-align.el b/lisp/progmodes/cc-align.el
index 83b4d8387d4..8420ec99636 100644
--- a/lisp/progmodes/cc-align.el
+++ b/lisp/progmodes/cc-align.el
@@ -1,6 +1,7 @@
1;;; cc-align.el --- custom indentation functions for CC Mode 1;;; cc-align.el --- custom indentation functions for CC Mode
2 2
3;; Copyright (C) 1985,1987,1992-2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1985,1987,1992-2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc.
4 5
5;; Authors: 1998- Martin Stjernholm 6;; Authors: 1998- Martin Stjernholm
6;; 1992-1999 Barry A. Warsaw 7;; 1992-1999 Barry A. Warsaw
diff --git a/lisp/progmodes/cc-awk.el b/lisp/progmodes/cc-awk.el
index b16d571d277..9f86638696c 100644
--- a/lisp/progmodes/cc-awk.el
+++ b/lisp/progmodes/cc-awk.el
@@ -1,7 +1,7 @@
1;;; cc-awk.el --- AWK specific code within cc-mode. 1;;; cc-awk.el --- AWK specific code within cc-mode.
2 2
3;; Copyright (C) 1988,94,96,2000, 2001, 2002, 2003, 2004, 2005 Free 3;; Copyright (C) 1988,94,96,2000, 2001, 2002, 2003, 2004, 2005, 2006
4;; Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Alan Mackenzie <acm@muc.de> (originally based on awk-mode.el) 6;; Author: Alan Mackenzie <acm@muc.de> (originally based on awk-mode.el)
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/progmodes/cc-bytecomp.el b/lisp/progmodes/cc-bytecomp.el
index 6358f230e7c..f001fa60b25 100644
--- a/lisp/progmodes/cc-bytecomp.el
+++ b/lisp/progmodes/cc-bytecomp.el
@@ -1,7 +1,7 @@
1;;; cc-bytecomp.el --- compile time setup for proper compilation 1;;; cc-bytecomp.el --- compile time setup for proper compilation
2 2
3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, 3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006
4;; Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Martin Stjernholm 6;; Author: Martin Stjernholm
7;; Maintainer: bug-cc-mode@gnu.org 7;; Maintainer: bug-cc-mode@gnu.org
diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el
index e17656e54dd..4c8aa1518b7 100644
--- a/lisp/progmodes/cc-cmds.el
+++ b/lisp/progmodes/cc-cmds.el
@@ -1,7 +1,7 @@
1;;; cc-cmds.el --- user level commands for CC Mode 1;;; cc-cmds.el --- user level commands for CC Mode
2 2
3;; Copyright (C) 1985,1987,1992-2003, 2004, 2005 Free Software Foundation, 3;; Copyright (C) 1985,1987,1992-2003, 2004, 2005, 2006
4;; Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Authors: 1998- Martin Stjernholm 6;; Authors: 1998- Martin Stjernholm
7;; 1992-1999 Barry A. Warsaw 7;; 1992-1999 Barry A. Warsaw
diff --git a/lisp/progmodes/cc-compat.el b/lisp/progmodes/cc-compat.el
index 66bf9a55d79..0cd7973857c 100644
--- a/lisp/progmodes/cc-compat.el
+++ b/lisp/progmodes/cc-compat.el
@@ -1,7 +1,7 @@
1;;; cc-compat.el --- cc-mode compatibility with c-mode.el confusion 1;;; cc-compat.el --- cc-mode compatibility with c-mode.el confusion
2 2
3;; Copyright (C) 1985,1987,1992-2003, 2004, 2005 Free Software Foundation, 3;; Copyright (C) 1985,1987,1992-2003, 2004, 2005, 2006
4;; Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Authors: 1998- Martin Stjernholm 6;; Authors: 1998- Martin Stjernholm
7;; 1994-1999 Barry A. Warsaw 7;; 1994-1999 Barry A. Warsaw
diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el
index 9de0a24f09e..0053cfcf443 100644
--- a/lisp/progmodes/cc-defs.el
+++ b/lisp/progmodes/cc-defs.el
@@ -1,7 +1,7 @@
1;;; cc-defs.el --- compile time definitions for CC Mode 1;;; cc-defs.el --- compile time definitions for CC Mode
2 2
3;; Copyright (C) 1985,1987,1992-2003, 2004, 2005 Free Software Foundation, 3;; Copyright (C) 1985,1987,1992-2003, 2004, 2005, 2006
4;; Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Authors: 1998- Martin Stjernholm 6;; Authors: 1998- Martin Stjernholm
7;; 1992-1999 Barry A. Warsaw 7;; 1992-1999 Barry A. Warsaw
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el
index 7f829bd26d5..548fc74d961 100644
--- a/lisp/progmodes/cc-engine.el
+++ b/lisp/progmodes/cc-engine.el
@@ -1,7 +1,7 @@
1;;; cc-engine.el --- core syntax guessing engine for CC mode 1;;; cc-engine.el --- core syntax guessing engine for CC mode
2 2
3;; Copyright (C) 1985,1987,1992-2003, 2004, 2005 Free Software Foundation, 3;; Copyright (C) 1985,1987,1992-2003, 2004, 2005, 2006
4;; Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Authors: 1998- Martin Stjernholm 6;; Authors: 1998- Martin Stjernholm
7;; 1992-1999 Barry A. Warsaw 7;; 1992-1999 Barry A. Warsaw
diff --git a/lisp/progmodes/cc-fonts.el b/lisp/progmodes/cc-fonts.el
index e5dcecf459f..75d631ac399 100644
--- a/lisp/progmodes/cc-fonts.el
+++ b/lisp/progmodes/cc-fonts.el
@@ -1,6 +1,6 @@
1;;; cc-fonts.el --- font lock support for CC Mode 1;;; cc-fonts.el --- font lock support for CC Mode
2 2
3;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Authors: 2003- Alan Mackenzie 5;; Authors: 2003- Alan Mackenzie
6;; 2002- Martin Stjernholm 6;; 2002- Martin Stjernholm
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el
index 3c1df93e0f9..bea3b4f7e8c 100644
--- a/lisp/progmodes/cc-langs.el
+++ b/lisp/progmodes/cc-langs.el
@@ -1,7 +1,7 @@
1;;; cc-langs.el --- language specific settings for CC Mode 1;;; cc-langs.el --- language specific settings for CC Mode
2 2
3;; Copyright (C) 1985,1987,1992-2003, 2004, 2005 Free Software Foundation, 3;; Copyright (C) 1985,1987,1992-2003, 2004, 2005, 2006
4;; Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Authors: 1998- Martin Stjernholm 6;; Authors: 1998- Martin Stjernholm
7;; 1992-1999 Barry A. Warsaw 7;; 1992-1999 Barry A. Warsaw
@@ -258,9 +258,12 @@ the evaluated constant value at compile time."
258 (c-fn-region-is-active-p)])) 258 (c-fn-region-is-active-p)]))
259 "----" 259 "----"
260 ("Toggle..." 260 ("Toggle..."
261 ["Syntactic indentation" c-toggle-syntactic-indentation t] 261 ["Syntactic indentation" c-toggle-syntactic-indentation
262 ["Auto newline" c-toggle-auto-newline t] 262 :style toggle :selected c-syntactic-indentation]
263 ["Hungry delete" c-toggle-hungry-state t]))) 263 ["Auto newline" c-toggle-auto-newline
264 :style toggle :selected c-auto-newline]
265 ["Hungry delete" c-toggle-hungry-state
266 :style toggle :selected c-hungry-delete-key])))
264 267
265 268
266;;; Syntax tables. 269;;; Syntax tables.
diff --git a/lisp/progmodes/cc-menus.el b/lisp/progmodes/cc-menus.el
index e11f50c581b..418823b71fa 100644
--- a/lisp/progmodes/cc-menus.el
+++ b/lisp/progmodes/cc-menus.el
@@ -1,7 +1,7 @@
1;;; cc-menus.el --- imenu support for CC Mode 1;;; cc-menus.el --- imenu support for CC Mode
2 2
3;; Copyright (C) 1985,1987,1992-2003, 2004, 2005 Free Software Foundation, 3;; Copyright (C) 1985,1987,1992-2003, 2004, 2005, 2006
4;; Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Authors: 1998- Martin Stjernholm 6;; Authors: 1998- Martin Stjernholm
7;; 1992-1999 Barry A. Warsaw 7;; 1992-1999 Barry A. Warsaw
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el
index 247a4021abf..3994fe5cf09 100644
--- a/lisp/progmodes/cc-mode.el
+++ b/lisp/progmodes/cc-mode.el
@@ -1,7 +1,7 @@
1;;; cc-mode.el --- major mode for editing C and similar languages 1;;; cc-mode.el --- major mode for editing C and similar languages
2 2
3;; Copyright (C) 1985,1987,1992-2003, 2004, 2005 Free Software Foundation, 3;; Copyright (C) 1985,1987,1992-2003, 2004, 2005, 2006
4;; Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Authors: 2003- Alan Mackenzie 6;; Authors: 2003- Alan Mackenzie
7;; 1998- Martin Stjernholm 7;; 1998- Martin Stjernholm
diff --git a/lisp/progmodes/cc-styles.el b/lisp/progmodes/cc-styles.el
index 2377b4ce8bd..758720a3fd6 100644
--- a/lisp/progmodes/cc-styles.el
+++ b/lisp/progmodes/cc-styles.el
@@ -1,7 +1,7 @@
1;;; cc-styles.el --- support for styles in CC Mode 1;;; cc-styles.el --- support for styles in CC Mode
2 2
3;; Copyright (C) 1985,1987,1992-2003, 2004, 2005 Free Software Foundation, 3;; Copyright (C) 1985,1987,1992-2003, 2004, 2005, 2006
4;; Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Authors: 1998- Martin Stjernholm 6;; Authors: 1998- Martin Stjernholm
7;; 1992-1999 Barry A. Warsaw 7;; 1992-1999 Barry A. Warsaw
diff --git a/lisp/progmodes/cc-subword.el b/lisp/progmodes/cc-subword.el
index fd4ca891298..6ba76708ebf 100644
--- a/lisp/progmodes/cc-subword.el
+++ b/lisp/progmodes/cc-subword.el
@@ -1,6 +1,6 @@
1;;; cc-subword.el --- Handling capitalized subwords in a nomenclature 1;;; cc-subword.el --- Handling capitalized subwords in a nomenclature
2 2
3;; Copyright (C) 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Masatake YAMATO 5;; Author: Masatake YAMATO
6 6
diff --git a/lisp/progmodes/cc-vars.el b/lisp/progmodes/cc-vars.el
index 4c5d03c6f4c..9bde0c5dbaf 100644
--- a/lisp/progmodes/cc-vars.el
+++ b/lisp/progmodes/cc-vars.el
@@ -1,7 +1,7 @@
1;;; cc-vars.el --- user customization variables for CC Mode 1;;; cc-vars.el --- user customization variables for CC Mode
2 2
3;; Copyright (C) 1985,1987,1992-2003, 2004, 2005 Free Software 3;; Copyright (C) 1985,1987,1992-2003, 2004, 2005, 2006
4;; Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Authors: 1998- Martin Stjernholm 6;; Authors: 1998- Martin Stjernholm
7;; 1992-1999 Barry A. Warsaw 7;; 1992-1999 Barry A. Warsaw
diff --git a/lisp/progmodes/cfengine.el b/lisp/progmodes/cfengine.el
index a4b0389ab86..1b62774a72d 100644
--- a/lisp/progmodes/cfengine.el
+++ b/lisp/progmodes/cfengine.el
@@ -1,6 +1,7 @@
1;;; cfengine.el --- mode for editing Cfengine files 1;;; cfengine.el --- mode for editing Cfengine files
2 2
3;; Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc.
4 5
5;; Author: Dave Love <fx@gnu.org> 6;; Author: Dave Love <fx@gnu.org>
6;; Keywords: languages 7;; Keywords: languages
diff --git a/lisp/progmodes/cmacexp.el b/lisp/progmodes/cmacexp.el
index b3051f37b9d..8531a2f3133 100644
--- a/lisp/progmodes/cmacexp.el
+++ b/lisp/progmodes/cmacexp.el
@@ -1,6 +1,6 @@
1;;; cmacexp.el --- expand C macros in a region 1;;; cmacexp.el --- expand C macros in a region
2 2
3;; Copyright (C) 1992, 1994, 1996, 2000, 2001, 2002, 2003, 2004 3;; Copyright (C) 1992, 1994, 1996, 2000, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Francesco Potorti` <pot@gnu.org> 6;; Author: Francesco Potorti` <pot@gnu.org>
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index da2a3ee9d65..b1f02ed2ebf 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -1,7 +1,7 @@
1;;; compile.el --- run compiler as inferior of Emacs, parse error messages 1;;; compile.el --- run compiler as inferior of Emacs, parse error messages
2 2
3;; Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3;; Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4;; 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Authors: Roland McGrath <roland@gnu.org>, 6;; Authors: Roland McGrath <roland@gnu.org>,
7;; Daniel Pfeiffer <occitan@esperanto.org> 7;; Daniel Pfeiffer <occitan@esperanto.org>
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el
index dd1dcad3cc4..36f75b757b5 100644
--- a/lisp/progmodes/cperl-mode.el
+++ b/lisp/progmodes/cperl-mode.el
@@ -1,7 +1,7 @@
1;;; cperl-mode.el --- Perl code editing commands for Emacs 1;;; cperl-mode.el --- Perl code editing commands for Emacs
2 2
3;; Copyright (C) 1985, 1986, 1987, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 3;; Copyright (C) 1985, 1986, 1987, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
4;; 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 4;; 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
5;; Free Software Foundation, Inc. 5;; Free Software Foundation, Inc.
6 6
7;; Author: Ilya Zakharevich and Bob Olson 7;; Author: Ilya Zakharevich and Bob Olson
diff --git a/lisp/progmodes/cpp.el b/lisp/progmodes/cpp.el
index 06a141016e5..62f74b41a70 100644
--- a/lisp/progmodes/cpp.el
+++ b/lisp/progmodes/cpp.el
@@ -1,6 +1,6 @@
1;;; cpp.el --- highlight or hide text according to cpp conditionals 1;;; cpp.el --- highlight or hide text according to cpp conditionals
2 2
3;; Copyright (C) 1994, 1995, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1994, 1995, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation 4;; Free Software Foundation
5 5
6;; Author: Per Abrahamsen <abraham@dina.kvl.dk> 6;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
diff --git a/lisp/progmodes/cwarn.el b/lisp/progmodes/cwarn.el
index 979913f10c0..f0933bba8cd 100644
--- a/lisp/progmodes/cwarn.el
+++ b/lisp/progmodes/cwarn.el
@@ -1,6 +1,6 @@
1;;; cwarn.el --- highlight suspicious C and C++ constructions 1;;; cwarn.el --- highlight suspicious C and C++ constructions
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Anders Lindgren <andersl@andersl.com> 6;; Author: Anders Lindgren <andersl@andersl.com>
diff --git a/lisp/progmodes/dcl-mode.el b/lisp/progmodes/dcl-mode.el
index 16d1d7ba415..c3bc75c0d79 100644
--- a/lisp/progmodes/dcl-mode.el
+++ b/lisp/progmodes/dcl-mode.el
@@ -1,6 +1,6 @@
1;;; dcl-mode.el --- major mode for editing DCL command files 1;;; dcl-mode.el --- major mode for editing DCL command files
2 2
3;; Copyright (c) 1997, 2001, 2002, 2003, 2004, 2005 3;; Copyright (c) 1997, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Odd Gripenstam <gripenstamol@decus.se> 6;; Author: Odd Gripenstam <gripenstamol@decus.se>
diff --git a/lisp/progmodes/delphi.el b/lisp/progmodes/delphi.el
index 4c271113b72..03ab24adf47 100644
--- a/lisp/progmodes/delphi.el
+++ b/lisp/progmodes/delphi.el
@@ -1,6 +1,6 @@
1;;; delphi.el --- major mode for editing Delphi source (Object Pascal) in Emacs 1;;; delphi.el --- major mode for editing Delphi source (Object Pascal) in Emacs
2 2
3;; Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Ray Blaak <blaak@infomatch.com> 6;; Author: Ray Blaak <blaak@infomatch.com>
diff --git a/lisp/progmodes/ebnf-abn.el b/lisp/progmodes/ebnf-abn.el
index a1b3658c0b4..f393f78203b 100644
--- a/lisp/progmodes/ebnf-abn.el
+++ b/lisp/progmodes/ebnf-abn.el
@@ -1,6 +1,7 @@
1;;; ebnf-abn.el --- parser for ABNF (Augmented BNF) 1;;; ebnf-abn.el --- parser for ABNF (Augmented BNF)
2 2
3;; Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Sofware Foundation, Inc. 3;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Sofware Foundation, Inc.
4 5
5;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
6;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> 7;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
diff --git a/lisp/progmodes/ebnf-bnf.el b/lisp/progmodes/ebnf-bnf.el
index f0811d0ad80..fd58ec096b3 100644
--- a/lisp/progmodes/ebnf-bnf.el
+++ b/lisp/progmodes/ebnf-bnf.el
@@ -1,6 +1,6 @@
1;;; ebnf-bnf.el --- parser for EBNF 1;;; ebnf-bnf.el --- parser for EBNF
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Sofware Foundation, Inc. 4;; Free Sofware Foundation, Inc.
5 5
6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
diff --git a/lisp/progmodes/ebnf-dtd.el b/lisp/progmodes/ebnf-dtd.el
index 4a596154c43..a52469966fc 100644
--- a/lisp/progmodes/ebnf-dtd.el
+++ b/lisp/progmodes/ebnf-dtd.el
@@ -1,6 +1,7 @@
1;;; ebnf-dtd.el --- parser for DTD (Data Type Description for XML) 1;;; ebnf-dtd.el --- parser for DTD (Data Type Description for XML)
2 2
3;; Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Sofware Foundation, Inc. 3;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Sofware Foundation, Inc.
4 5
5;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
6;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> 7;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
diff --git a/lisp/progmodes/ebnf-ebx.el b/lisp/progmodes/ebnf-ebx.el
index ada523c6c34..7e65611cedf 100644
--- a/lisp/progmodes/ebnf-ebx.el
+++ b/lisp/progmodes/ebnf-ebx.el
@@ -1,6 +1,7 @@
1;;; ebnf-ebx.el --- parser for EBNF used to specify XML (EBNFX) 1;;; ebnf-ebx.el --- parser for EBNF used to specify XML (EBNFX)
2 2
3;; Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Sofware Foundation, Inc. 3;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Sofware Foundation, Inc.
4 5
5;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
6;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> 7;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
diff --git a/lisp/progmodes/ebnf-iso.el b/lisp/progmodes/ebnf-iso.el
index 96ae2842863..7596d366a12 100644
--- a/lisp/progmodes/ebnf-iso.el
+++ b/lisp/progmodes/ebnf-iso.el
@@ -1,6 +1,6 @@
1;;; ebnf-iso.el --- parser for ISO EBNF 1;;; ebnf-iso.el --- parser for ISO EBNF
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
diff --git a/lisp/progmodes/ebnf-otz.el b/lisp/progmodes/ebnf-otz.el
index 4beeaa8ad8f..df18beb690a 100644
--- a/lisp/progmodes/ebnf-otz.el
+++ b/lisp/progmodes/ebnf-otz.el
@@ -1,6 +1,6 @@
1;;; ebnf-otz.el --- syntactic chart OpTimiZer 1;;; ebnf-otz.el --- syntactic chart OpTimiZer
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Sofware Foundation, Inc. 4;; Free Sofware Foundation, Inc.
5 5
6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
diff --git a/lisp/progmodes/ebnf-yac.el b/lisp/progmodes/ebnf-yac.el
index 49f69f857ac..6e5465f0f01 100644
--- a/lisp/progmodes/ebnf-yac.el
+++ b/lisp/progmodes/ebnf-yac.el
@@ -1,6 +1,6 @@
1;;; ebnf-yac.el --- parser for Yacc/Bison 1;;; ebnf-yac.el --- parser for Yacc/Bison
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Sofware Foundation, Inc. 4;; Free Sofware Foundation, Inc.
5 5
6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
diff --git a/lisp/progmodes/ebnf2ps.el b/lisp/progmodes/ebnf2ps.el
index 18d88c92699..bce4381c614 100644
--- a/lisp/progmodes/ebnf2ps.el
+++ b/lisp/progmodes/ebnf2ps.el
@@ -1,6 +1,6 @@
1;;; ebnf2ps.el --- translate an EBNF to a syntactic chart on PostScript 1;;; ebnf2ps.el --- translate an EBNF to a syntactic chart on PostScript
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
diff --git a/lisp/progmodes/ebrowse.el b/lisp/progmodes/ebrowse.el
index 371cb4861d8..0d8d7bebbcb 100644
--- a/lisp/progmodes/ebrowse.el
+++ b/lisp/progmodes/ebrowse.el
@@ -1,7 +1,7 @@
1;;; ebrowse.el --- Emacs C++ class browser & tags facility 1;;; ebrowse.el --- Emacs C++ class browser & tags facility
2 2
3;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 3;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
4;; 2002, 2003, 2004, 2005 4;; 2002, 2003, 2004, 2005, 2006
5;; Free Software Foundation Inc. 5;; Free Software Foundation Inc.
6 6
7;; Author: Gerd Moellmann <gerd@gnu.org> 7;; Author: Gerd Moellmann <gerd@gnu.org>
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index d9f4698ecf7..6fe9fec3094 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -1,7 +1,7 @@
1;;; etags.el --- etags facility for Emacs 1;;; etags.el --- etags facility for Emacs
2 2
3;; Copyright (C) 1985, 1986, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1998, 3;; Copyright (C) 1985, 1986, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1998,
4;; 2000, 2001, 2002, 2003, 2004, 2005 4;; 2000, 2001, 2002, 2003, 2004, 2005, 2006
5;; Free Software Foundation, Inc. 5;; Free Software Foundation, Inc.
6 6
7;; Author: Roland McGrath <roland@gnu.org> 7;; Author: Roland McGrath <roland@gnu.org>
diff --git a/lisp/progmodes/executable.el b/lisp/progmodes/executable.el
index 615e9d0ae93..e74208431a3 100644
--- a/lisp/progmodes/executable.el
+++ b/lisp/progmodes/executable.el
@@ -1,6 +1,6 @@
1;;; executable.el --- base functionality for executable interpreter scripts -*- byte-compile-dynamic: t -*- 1;;; executable.el --- base functionality for executable interpreter scripts -*- byte-compile-dynamic: t -*-
2 2
3;; Copyright (C) 1994, 1995, 1996, 2000, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1994, 1995, 1996, 2000, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Daniel Pfeiffer <occitan@esperanto.org> 6;; Author: Daniel Pfeiffer <occitan@esperanto.org>
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el
index 3816fc3fb43..e661552c331 100644
--- a/lisp/progmodes/f90.el
+++ b/lisp/progmodes/f90.el
@@ -1,7 +1,7 @@
1;;; f90.el --- Fortran-90 mode (free format) 1;;; f90.el --- Fortran-90 mode (free format)
2 2
3;; Copyright (C) 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2005,
4;; Free Software Foundation, Inc. 4;; 2006 Free Software Foundation, Inc.
5 5
6;; Author: Torbj\"orn Einarsson <Torbjorn.Einarsson@era.ericsson.se> 6;; Author: Torbj\"orn Einarsson <Torbjorn.Einarsson@era.ericsson.se>
7;; Maintainer: Glenn Morris <rgm@gnu.org> 7;; Maintainer: Glenn Morris <rgm@gnu.org>
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el
index e7bda34e080..755e83646fc 100644
--- a/lisp/progmodes/gdb-ui.el
+++ b/lisp/progmodes/gdb-ui.el
@@ -4,7 +4,8 @@
4;; Maintainer: FSF 4;; Maintainer: FSF
5;; Keywords: unix, tools 5;; Keywords: unix, tools
6 6
7;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 7;; Copyright (C) 2002, 2003, 2004, 2005, 2006
8;; Free Software Foundation, Inc.
8 9
9;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
10 11
@@ -77,16 +78,9 @@
77;;; TODO: 78;;; TODO:
78 79
79;; 1) Use MI command -data-read-memory for memory window. 80;; 1) Use MI command -data-read-memory for memory window.
80;; 2) Highlight changed register values (use MI commands 81;; 2) Use tree-widget.el instead of the speedbar for watch-expressions?
81;; -data-list-register-values and -data-list-changed-registers instead 82;; 3) Mark breakpoint locations on scroll-bar of source buffer?
82;; of 'info registers' after release of 22.1. 83;; 4) With gud-print and gud-pstar, print the variable name in the GUD
83;; 3) Use tree-widget.el instead of the speedbar for watch-expressions?
84;; 4) Mark breakpoint locations on scroll-bar of source buffer?
85;; 5) After release of 22.1, use "-var-list-children --all-values"
86;; and "-stack-list-locals --simple-values" which need GDB 6.1 onwards.
87;; 6) After release of 22.1, use "-var-update --all-values" which needs
88;; GDB 6.4 onwards.
89;; 7) With gud-print and gud-pstar, print the variable name in the GUD
90;; buffer instead of the value's history number. 84;; buffer instead of the value's history number.
91 85
92;;; Code: 86;;; Code:
@@ -1192,6 +1186,8 @@ happens to be appropriate."
1192 (unless (or gdb-pending-triggers gdb-first-post-prompt) 1186 (unless (or gdb-pending-triggers gdb-first-post-prompt)
1193 (gdb-get-selected-frame) 1187 (gdb-get-selected-frame)
1194 (gdb-invalidate-frames) 1188 (gdb-invalidate-frames)
1189 ;; Regenerate breakpoints buffer in case it has been inadvertantly deleted.
1190 (gdb-get-create-buffer 'gdb-breakpoints-buffer)
1195 (gdb-invalidate-breakpoints) 1191 (gdb-invalidate-breakpoints)
1196 ;; Do this through gdb-get-selected-frame -> gdb-frame-handler 1192 ;; Do this through gdb-get-selected-frame -> gdb-frame-handler
1197 ;; so gdb-frame-address is updated. 1193 ;; so gdb-frame-address is updated.
@@ -1645,12 +1641,19 @@ static char *magick[] = {
1645 (define-key map [menu-bar breakpoints] (cons "Breakpoints" menu)) 1641 (define-key map [menu-bar breakpoints] (cons "Breakpoints" menu))
1646 (define-key map " " 'gdb-toggle-breakpoint) 1642 (define-key map " " 'gdb-toggle-breakpoint)
1647 (define-key map "D" 'gdb-delete-breakpoint) 1643 (define-key map "D" 'gdb-delete-breakpoint)
1648 (define-key map "q" 'kill-this-buffer) 1644 ;; Don't bind "q" to kill-this-buffer as we need it for breakpoint icons.
1645 (define-key map "q" 'gdb-delete-frame-or-window)
1649 (define-key map "\r" 'gdb-goto-breakpoint) 1646 (define-key map "\r" 'gdb-goto-breakpoint)
1650 (define-key map [mouse-2] 'gdb-goto-breakpoint) 1647 (define-key map [mouse-2] 'gdb-goto-breakpoint)
1651 (define-key map [follow-link] 'mouse-face) 1648 (define-key map [follow-link] 'mouse-face)
1652 map)) 1649 map))
1653 1650
1651(defun gdb-delete-frame-or-window ()
1652 "Delete frame if there is only one window. Otherwise delete the window."
1653 (interactive)
1654 (if (one-window-p) (delete-frame)
1655 (delete-window)))
1656
1654(defun gdb-breakpoints-mode () 1657(defun gdb-breakpoints-mode ()
1655 "Major mode for gdb breakpoints. 1658 "Major mode for gdb breakpoints.
1656 1659
@@ -2966,6 +2969,35 @@ BUFFER nil or omitted means use the current buffer."
2966 (gdb-invalidate-assembler)) 2969 (gdb-invalidate-assembler))
2967 2970
2968 2971
2972;; For debugging Emacs only (assumes that usual stack buffer already exists).
2973(defun gdb-xbacktrace ()
2974 "Generate a full lisp level backtrace with arguments."
2975 (interactive)
2976 (setq my-frames nil)
2977 (with-current-buffer (get-buffer-create "xbacktrace")
2978 (erase-buffer))
2979 (let (frame-number gdb-frame-number)
2980 (with-current-buffer (gdb-get-buffer 'gdb-stack-buffer)
2981 (save-excursion
2982 (goto-char (point-min))
2983 (while (search-forward "in Ffuncall " nil t)
2984 (goto-char (line-beginning-position))
2985 (looking-at "^#\\([0-9]+\\)")
2986 (push (match-string-no-properties 1) my-frames)
2987 (forward-line 1))))
2988 (dolist (frame my-frames)
2989 (gdb-enqueue-input (list (concat "server frame " frame "\n")
2990 'ignore))
2991; (gdb-enqueue-input (list "server ppargs\n" 'gdb-get-arguments))
2992 (gud-basic-call "server ppargs")
2993)
2994 (gdb-enqueue-input (list (concat "server frame " frame-number "\n")
2995 'ignore))))
2996
2997(defun gdb-get-arguments ()
2998 (with-current-buffer "xbacktrace"
2999 (insert-buffer-substring (gdb-get-buffer 'gdb-partial-output-buffer))))
3000
2969;; Code specific to GDB 6.4 3001;; Code specific to GDB 6.4
2970(defconst gdb-source-file-regexp-1 "fullname=\"\\(.*?\\)\"") 3002(defconst gdb-source-file-regexp-1 "fullname=\"\\(.*?\\)\"")
2971 3003
diff --git a/lisp/progmodes/glasses.el b/lisp/progmodes/glasses.el
index d19f636ff93..a8d2d8b8fe1 100644
--- a/lisp/progmodes/glasses.el
+++ b/lisp/progmodes/glasses.el
@@ -1,6 +1,6 @@
1;;; glasses.el --- make cantReadThis readable 1;;; glasses.el --- make cantReadThis readable
2 2
3;; Copyright (C) 1999, 2000, 2001, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1999, 2000, 2001, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Milan Zamazal <pdm@zamazal.org> 5;; Author: Milan Zamazal <pdm@zamazal.org>
6;; Maintainer: Milan Zamazal <pdm@zamazal.org> 6;; Maintainer: Milan Zamazal <pdm@zamazal.org>
@@ -67,13 +67,31 @@
67 67
68 68
69(defcustom glasses-separator "_" 69(defcustom glasses-separator "_"
70 "*String to be displayed as a visual separator in unreadable identifiers." 70 "*String to be displayed as a visual separator in identifiers.
71It is used both for adding missing separators and for replacing separators
72defined by `glasses-original-separator'. If you don't want to add missing
73separators, set `glasses-separator' to an empty string. If you don't want to
74replace existent separators, set `glasses-original-separator' to an empty
75string."
71 :group 'glasses 76 :group 'glasses
72 :type 'string 77 :type 'string
73 :set 'glasses-custom-set 78 :set 'glasses-custom-set
74 :initialize 'custom-initialize-default) 79 :initialize 'custom-initialize-default)
75 80
76 81
82(defcustom glasses-original-separator "_"
83 "*String to be displayed as `glasses-separator' in separator positions.
84For instance, if you set it to \"_\" and set `glasses-separator' to \"-\",
85underscore separators are displayed as hyphens.
86If `glasses-original-separator' is an empty string, no such display change is
87performed."
88 :group 'glasses
89 :type 'string
90 :set 'glasses-custom-set
91 :initialize 'custom-initialize-default
92 :version "22.1")
93
94
77(defcustom glasses-face nil 95(defcustom glasses-face nil
78 "*Face to be put on capitals of an identifier looked through glasses. 96 "*Face to be put on capitals of an identifier looked through glasses.
79If it is nil, no face is placed at the capitalized letter. 97If it is nil, no face is placed at the capitalized letter.
@@ -196,15 +214,20 @@ CATEGORY is the overlay category. If it is nil, use the `glasses' category."
196 (overlay-put o 'invisible t) 214 (overlay-put o 'invisible t)
197 (overlay-put o 'after-string (downcase (match-string n)))))) 215 (overlay-put o 'after-string (downcase (match-string n))))))
198 ;; Separator change 216 ;; Separator change
199 (unless (string= glasses-separator "_") 217 (when (and (not (string= glasses-original-separator glasses-separator))
218 (not (string= glasses-original-separator "")))
200 (goto-char beg) 219 (goto-char beg)
201 (while (re-search-forward "[a-zA-Z0-9]\\(_+\\)[a-zA-Z0-9]" end t) 220 (let ((original-regexp (regexp-quote glasses-original-separator)))
202 (goto-char (match-beginning 1)) 221 (while (re-search-forward
203 (while (eql (char-after) ?\_) 222 (format "[a-zA-Z0-9]\\(\\(%s\\)+\\)[a-zA-Z0-9]"
204 (let ((o (glasses-make-overlay (point) (1+ (point))))) 223 original-regexp)
205 ;; `concat' ensures the character properties won't merge 224 end t)
206 (overlay-put o 'display (concat glasses-separator))) 225 (goto-char (match-beginning 1))
207 (forward-char)))) 226 (while (looking-at original-regexp)
227 (let ((o (glasses-make-overlay (point) (1+ (point)))))
228 ;; `concat' ensures the character properties won't merge
229 (overlay-put o 'display (concat glasses-separator)))
230 (goto-char (match-end 0))))))
208 ;; Parentheses 231 ;; Parentheses
209 (when glasses-separate-parentheses-p 232 (when glasses-separate-parentheses-p
210 (goto-char beg) 233 (goto-char beg)
@@ -237,13 +260,13 @@ recognized according to the current value of the variable `glasses-separator'."
237 (let ((n (if (match-string 1) 1 2))) 260 (let ((n (if (match-string 1) 1 2)))
238 (replace-match "" t nil nil n) 261 (replace-match "" t nil nil n)
239 (goto-char (match-end n)))) 262 (goto-char (match-end n))))
240 (unless (string= glasses-separator "_") 263 (unless (string= glasses-separator glasses-original-separator)
241 (goto-char (point-min)) 264 (goto-char (point-min))
242 (while (re-search-forward (format "[a-zA-Z0-9]\\(%s+\\)[a-zA-Z0-9]" 265 (while (re-search-forward (format "[a-zA-Z0-9]\\(%s+\\)[a-zA-Z0-9]"
243 separator) 266 separator)
244 nil t) 267 nil t)
245 (replace-match "_" nil nil nil 1) 268 (replace-match glasses-original-separator nil nil nil 1)
246 (goto-char (match-beginning 1)))) 269 (goto-char (match-beginning 1))))
247 (when glasses-separate-parentheses-p 270 (when glasses-separate-parentheses-p
248 (goto-char (point-min)) 271 (goto-char (point-min))
249 (while (re-search-forward "[a-zA-Z]_*\\( \\)\(" nil t) 272 (while (re-search-forward "[a-zA-Z]_*\\( \\)\(" nil t)
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index 48d1c09d138..0e151ce9be2 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -1,7 +1,7 @@
1;;; grep.el --- run Grep as inferior of Emacs, parse match messages 1;;; grep.el --- run Grep as inferior of Emacs, parse match messages
2 2
3;; Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3;; Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4;; 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Roland McGrath <roland@gnu.org> 6;; Author: Roland McGrath <roland@gnu.org>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el
index 92c3eb55884..b927c765476 100644
--- a/lisp/progmodes/gud.el
+++ b/lisp/progmodes/gud.el
@@ -5,7 +5,7 @@
5;; Keywords: unix, tools 5;; Keywords: unix, tools
6 6
7;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 2000, 2001, 2002, 2003, 7;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 2000, 2001, 2002, 2003,
8;; 2004, 2005 Free Software Foundation, Inc. 8;; 2004, 2005, 2006 Free Software Foundation, Inc.
9 9
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11 11
@@ -3231,7 +3231,6 @@ Treats actions as defuns."
3231 3231
3232;;; Customizable settings 3232;;; Customizable settings
3233 3233
3234;;;###autoload
3235(define-minor-mode gud-tooltip-mode 3234(define-minor-mode gud-tooltip-mode
3236 "Toggle the display of GUD tooltips." 3235 "Toggle the display of GUD tooltips."
3237 :global t 3236 :global t
diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el
index 1f843dea03c..04e44e2dac1 100644
--- a/lisp/progmodes/hideif.el
+++ b/lisp/progmodes/hideif.el
@@ -1,6 +1,6 @@
1;;; hideif.el --- hides selected code within ifdef 1;;; hideif.el --- hides selected code within ifdef
2 2
3;; Copyright (C) 1988, 1994, 2001, 2002, 2003, 2004 2005 3;; Copyright (C) 1988, 1994, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Daniel LaLiberte <liberte@holonexus.org> 6;; Author: Daniel LaLiberte <liberte@holonexus.org>
diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el
index ddc0e277200..e7ed67ce61c 100644
--- a/lisp/progmodes/hideshow.el
+++ b/lisp/progmodes/hideshow.el
@@ -1,7 +1,7 @@
1;;; hideshow.el --- minor mode cmds to selectively display code/comment blocks 1;;; hideshow.el --- minor mode cmds to selectively display code/comment blocks
2 2
3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Thien-Thi Nguyen <ttn@gnu.org> 6;; Author: Thien-Thi Nguyen <ttn@gnu.org>
7;; Dan Nicolaescu <dann@ics.uci.edu> 7;; Dan Nicolaescu <dann@ics.uci.edu>
diff --git a/lisp/progmodes/icon.el b/lisp/progmodes/icon.el
index dc2cfd01683..393ba6dfb08 100644
--- a/lisp/progmodes/icon.el
+++ b/lisp/progmodes/icon.el
@@ -1,6 +1,6 @@
1;;; icon.el --- mode for editing Icon code 1;;; icon.el --- mode for editing Icon code
2 2
3;; Copyright (C) 1989, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1989, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Chris Smith <csmith@convex.com> 6;; Author: Chris Smith <csmith@convex.com>
diff --git a/lisp/progmodes/idlw-complete-structtag.el b/lisp/progmodes/idlw-complete-structtag.el
index bc659666a08..cec25fcc25e 100644
--- a/lisp/progmodes/idlw-complete-structtag.el
+++ b/lisp/progmodes/idlw-complete-structtag.el
@@ -1,5 +1,6 @@
1;;; idlw-complete-structtag.el --- Completion of structure tags. 1;;; idlw-complete-structtag.el --- Completion of structure tags.
2;; Copyright (c) 2001, 2002, 2003, 2004, 2005 Free Software Foundation 2;; Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006
3;; Free Software Foundation, Inc.
3 4
4;; Author: Carsten Dominik <dominik@science.uva.nl> 5;; Author: Carsten Dominik <dominik@science.uva.nl>
5;; Maintainer: J.D. Smith <jdsmith@as.arizona.edu> 6;; Maintainer: J.D. Smith <jdsmith@as.arizona.edu>
diff --git a/lisp/progmodes/idlw-help.el b/lisp/progmodes/idlw-help.el
index 0a848128032..17961fa7d9a 100644
--- a/lisp/progmodes/idlw-help.el
+++ b/lisp/progmodes/idlw-help.el
@@ -1,7 +1,7 @@
1;;; idlw-help.el --- HTML Help code for IDLWAVE 1;;; idlw-help.el --- HTML Help code for IDLWAVE
2;; Copyright (c) 2000 Carsten Dominik 2;; Copyright (c) 2000 Carsten Dominik
3;; Copyright (c) 2001, 2002 J.D. Smith 3;; Copyright (c) 2001, 2002 J.D. Smith
4;; Copyright (c) 2003, 2004, 2005, Free Software Foundation 4;; Copyright (c) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5;; 5;;
6;; Authors: J.D. Smith <jdsmith@as.arizona.edu> 6;; Authors: J.D. Smith <jdsmith@as.arizona.edu>
7;; Carsten Dominik <dominik@science.uva.nl> 7;; Carsten Dominik <dominik@science.uva.nl>
diff --git a/lisp/progmodes/idlw-rinfo.el b/lisp/progmodes/idlw-rinfo.el
index 367de774bcf..dfb08b289a5 100644
--- a/lisp/progmodes/idlw-rinfo.el
+++ b/lisp/progmodes/idlw-rinfo.el
@@ -1,7 +1,7 @@
1;;; idlw-rinfo.el --- Routine Information for IDLWAVE 1;;; idlw-rinfo.el --- Routine Information for IDLWAVE
2;; Copyright (c) 1999 Carsten Dominik 2;; Copyright (c) 1999 Carsten Dominik
3;; Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005 3;; Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation 4;; Free Software Foundation, Inc.
5 5
6;; Author: J.D. Smith <jdsmith@as.arizona.edu> 6;; Author: J.D. Smith <jdsmith@as.arizona.edu>
7;; Version: 5.7_22 7;; Version: 5.7_22
diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el
index 27360a54969..ff1bb7b689f 100644
--- a/lisp/progmodes/idlw-shell.el
+++ b/lisp/progmodes/idlw-shell.el
@@ -1,6 +1,6 @@
1;; idlw-shell.el --- run IDL as an inferior process of Emacs. 1;; idlw-shell.el --- run IDL as an inferior process of Emacs.
2;; Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005 2;; Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
3;; Free Software Foundation 3;; Free Software Foundation, Inc.
4 4
5;; Authors: J.D. Smith <jdsmith@as.arizona.edu> 5;; Authors: J.D. Smith <jdsmith@as.arizona.edu>
6;; Carsten Dominik <dominik@astro.uva.nl> 6;; Carsten Dominik <dominik@astro.uva.nl>
diff --git a/lisp/progmodes/idlw-toolbar.el b/lisp/progmodes/idlw-toolbar.el
index 08dd08335bb..af94d02ec91 100644
--- a/lisp/progmodes/idlw-toolbar.el
+++ b/lisp/progmodes/idlw-toolbar.el
@@ -1,6 +1,6 @@
1;;; idlw-toolbar.el --- a debugging toolbar for IDLWAVE 1;;; idlw-toolbar.el --- a debugging toolbar for IDLWAVE
2;; Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005 2;; Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
3;; Free Software Foundation 3;; Free Software Foundation, Inc.
4 4
5;; Author: Carsten Dominik <dominik@astro.uva.nl> 5;; Author: Carsten Dominik <dominik@astro.uva.nl>
6;; Maintainer: J.D. Smith <jdsmith@as.arizona.edu> 6;; Maintainer: J.D. Smith <jdsmith@as.arizona.edu>
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el
index 3ee01d07b0a..03d181da250 100644
--- a/lisp/progmodes/idlwave.el
+++ b/lisp/progmodes/idlwave.el
@@ -1,6 +1,6 @@
1;; idlwave.el --- IDL editing mode for GNU Emacs 1;; idlwave.el --- IDL editing mode for GNU Emacs
2;; Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005 2;; Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
3;; Free Software Foundation 3;; Free Software Foundation, Inc.
4 4
5;; Authors: J.D. Smith <jdsmith@as.arizona.edu> 5;; Authors: J.D. Smith <jdsmith@as.arizona.edu>
6;; Carsten Dominik <dominik@science.uva.nl> 6;; Carsten Dominik <dominik@science.uva.nl>
diff --git a/lisp/progmodes/inf-lisp.el b/lisp/progmodes/inf-lisp.el
index 64845e38aea..092c7736c27 100644
--- a/lisp/progmodes/inf-lisp.el
+++ b/lisp/progmodes/inf-lisp.el
@@ -1,6 +1,6 @@
1;;; inf-lisp.el --- an inferior-lisp mode 1;;; inf-lisp.el --- an inferior-lisp mode
2 2
3;; Copyright (C) 1988, 1993, 1994, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1988, 1993, 1994, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Olin Shivers <shivers@cs.cmu.edu> 6;; Author: Olin Shivers <shivers@cs.cmu.edu>
diff --git a/lisp/progmodes/ld-script.el b/lisp/progmodes/ld-script.el
index bdb386dc5e9..ec12468e5d9 100644
--- a/lisp/progmodes/ld-script.el
+++ b/lisp/progmodes/ld-script.el
@@ -1,6 +1,7 @@
1;;; ld-script.el --- GNU linker script editing mode for Emacs 1;;; ld-script.el --- GNU linker script editing mode for Emacs
2 2
3;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 3;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc.
4 5
5;; Author: Masatake YAMATO<jet@gyve.org> 6;; Author: Masatake YAMATO<jet@gyve.org>
6;; Keywords: languages, faces 7;; Keywords: languages, faces
diff --git a/lisp/progmodes/m4-mode.el b/lisp/progmodes/m4-mode.el
index 84174e2ca5d..af719a2854b 100644
--- a/lisp/progmodes/m4-mode.el
+++ b/lisp/progmodes/m4-mode.el
@@ -1,6 +1,6 @@
1;;; m4-mode.el --- m4 code editing commands for Emacs 1;;; m4-mode.el --- m4 code editing commands for Emacs
2 2
3;; Copyright (C) 1996, 1997, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1996, 1997, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Andrew Csillag <drew_csillag@geocities.com> 6;; Author: Andrew Csillag <drew_csillag@geocities.com>
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index 42a021ec692..3bbfeaac683 100644
--- a/lisp/progmodes/make-mode.el
+++ b/lisp/progmodes/make-mode.el
@@ -1,6 +1,6 @@
1;;; make-mode.el --- makefile editing commands for Emacs 1;;; make-mode.el --- makefile editing commands for Emacs
2 2
3;; Copyright (C) 1992, 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1992, 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Thomas Neumann <tom@smart.bo.open.de> 6;; Author: Thomas Neumann <tom@smart.bo.open.de>
diff --git a/lisp/progmodes/mantemp.el b/lisp/progmodes/mantemp.el
index 71791ef965b..d883254fdb7 100644
--- a/lisp/progmodes/mantemp.el
+++ b/lisp/progmodes/mantemp.el
@@ -1,6 +1,6 @@
1;;; mantemp.el --- create manual template instantiations from g++ 2.7.2 output 1;;; mantemp.el --- create manual template instantiations from g++ 2.7.2 output
2 2
3;; Copyright (C) 1996, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1996, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Tom Houlder <thoulder@icor.fr> 6;; Author: Tom Houlder <thoulder@icor.fr>
diff --git a/lisp/progmodes/meta-mode.el b/lisp/progmodes/meta-mode.el
index d113f94280f..3c4fdc2330e 100644
--- a/lisp/progmodes/meta-mode.el
+++ b/lisp/progmodes/meta-mode.el
@@ -1,6 +1,6 @@
1;;; meta-mode.el --- major mode for editing Metafont or MetaPost sources 1;;; meta-mode.el --- major mode for editing Metafont or MetaPost sources
2 2
3;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Ulrik Vieth <vieth@thphy.uni-duesseldorf.de> 6;; Author: Ulrik Vieth <vieth@thphy.uni-duesseldorf.de>
diff --git a/lisp/progmodes/mixal-mode.el b/lisp/progmodes/mixal-mode.el
index 741ae8097a0..8b7084675d4 100644
--- a/lisp/progmodes/mixal-mode.el
+++ b/lisp/progmodes/mixal-mode.el
@@ -1,6 +1,6 @@
1;;; mixal-mode.el --- Major mode for the mix asm language. 1;;; mixal-mode.el --- Major mode for the mix asm language.
2 2
3;; Copyright (C) 2003, 2004, 2005 Free Software Foundation 3;; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation
4 4
5;; This program is free software; you can redistribute it and/or 5;; This program is free software; you can redistribute it and/or
6;; modify it under the terms of the GNU General Public License as 6;; modify it under the terms of the GNU General Public License as
diff --git a/lisp/progmodes/octave-hlp.el b/lisp/progmodes/octave-hlp.el
index f9654ef71cb..18ea9c1f699 100644
--- a/lisp/progmodes/octave-hlp.el
+++ b/lisp/progmodes/octave-hlp.el
@@ -1,6 +1,6 @@
1;;; octave-hlp.el --- getting help on Octave symbols using info 1;;; octave-hlp.el --- getting help on Octave symbols using info
2 2
3;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at> 6;; Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>
diff --git a/lisp/progmodes/octave-inf.el b/lisp/progmodes/octave-inf.el
index 67b5b108fa5..b6e6e4fc456 100644
--- a/lisp/progmodes/octave-inf.el
+++ b/lisp/progmodes/octave-inf.el
@@ -1,6 +1,6 @@
1;;; octave-inf.el --- running Octave as an inferior Emacs process 1;;; octave-inf.el --- running Octave as an inferior Emacs process
2 2
3;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at> 6;; Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>
diff --git a/lisp/progmodes/octave-mod.el b/lisp/progmodes/octave-mod.el
index 56dac972472..5f52e6f4d3c 100644
--- a/lisp/progmodes/octave-mod.el
+++ b/lisp/progmodes/octave-mod.el
@@ -1,6 +1,6 @@
1;;; octave-mod.el --- editing Octave source files under Emacs 1;;; octave-mod.el --- editing Octave source files under Emacs
2 2
3;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at> 6;; Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>
diff --git a/lisp/progmodes/pascal.el b/lisp/progmodes/pascal.el
index d462557f291..02d5c509c62 100644
--- a/lisp/progmodes/pascal.el
+++ b/lisp/progmodes/pascal.el
@@ -1,7 +1,7 @@
1;;; pascal.el --- major mode for editing pascal source in Emacs 1;;; pascal.el --- major mode for editing pascal source in Emacs
2 2
3;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 3;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Espen Skoglund <esk@gnu.org> 6;; Author: Espen Skoglund <esk@gnu.org>
7;; Keywords: languages 7;; Keywords: languages
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el
index f5a857f9015..b0e31bafc28 100644
--- a/lisp/progmodes/perl-mode.el
+++ b/lisp/progmodes/perl-mode.el
@@ -1,6 +1,6 @@
1;;; perl-mode.el --- Perl code editing commands for GNU Emacs 1;;; perl-mode.el --- Perl code editing commands for GNU Emacs
2 2
3;; Copyright (C) 1990, 1994, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1990, 1994, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: William F. Mann 6;; Author: William F. Mann
diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el
index 9191d5f95ee..14b47475eb1 100644
--- a/lisp/progmodes/prolog.el
+++ b/lisp/progmodes/prolog.el
@@ -1,6 +1,6 @@
1;;; prolog.el --- major mode for editing and running Prolog under Emacs 1;;; prolog.el --- major mode for editing and running Prolog under Emacs
2 2
3;; Copyright (C) 1986, 1987, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1986, 1987, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Masanobu UMEDA <umerin@mse.kyutech.ac.jp> 6;; Author: Masanobu UMEDA <umerin@mse.kyutech.ac.jp>
diff --git a/lisp/progmodes/ps-mode.el b/lisp/progmodes/ps-mode.el
index 299093b29bc..61b075b3bce 100644
--- a/lisp/progmodes/ps-mode.el
+++ b/lisp/progmodes/ps-mode.el
@@ -1,6 +1,6 @@
1;;; ps-mode.el --- PostScript mode for GNU Emacs 1;;; ps-mode.el --- PostScript mode for GNU Emacs
2 2
3;; Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Peter Kleiweg <p.c.j.kleiweg@rug.nl> 6;; Author: Peter Kleiweg <p.c.j.kleiweg@rug.nl>
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 0ed58fd558e..f110828d602 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1,6 +1,6 @@
1;;; python.el --- silly walks for Python 1;;; python.el --- silly walks for Python
2 2
3;; Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Dave Love <fx@gnu.org> 5;; Author: Dave Love <fx@gnu.org>
6;; Maintainer: FSF 6;; Maintainer: FSF
diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el
index 26d6e05fc2c..ce420015326 100644
--- a/lisp/progmodes/scheme.el
+++ b/lisp/progmodes/scheme.el
@@ -1,7 +1,7 @@
1;;; scheme.el --- Scheme (and DSSSL) editing mode 1;;; scheme.el --- Scheme (and DSSSL) editing mode
2 2
3;; Copyright (C) 1986, 1987, 1988, 1997, 1998, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1986, 1987, 1988, 1997, 1998, 2001, 2002, 2003, 2004, 2005,
4;; Free Software Foundation, Inc. 4;; 2006 Free Software Foundation, Inc.
5 5
6;; Author: Bill Rozas <jinx@martigny.ai.mit.edu> 6;; Author: Bill Rozas <jinx@martigny.ai.mit.edu>
7;; Adapted-by: Dave Love <d.love@dl.ac.uk> 7;; Adapted-by: Dave Love <d.love@dl.ac.uk>
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index 51291d717b6..e331268391a 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -1,7 +1,7 @@
1;;; sh-script.el --- shell-script editing commands for Emacs 1;;; sh-script.el --- shell-script editing commands for Emacs
2 2
3;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 1999, 2001, 2003, 2004, 2005 3;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 1999, 2001, 2003, 2004, 2005,
4;; Free Software Foundation, Inc. 4;; 2006 Free Software Foundation, Inc.
5 5
6;; Author: Daniel Pfeiffer <occitan@esperanto.org> 6;; Author: Daniel Pfeiffer <occitan@esperanto.org>
7;; Version: 2.0f 7;; Version: 2.0f
diff --git a/lisp/progmodes/simula.el b/lisp/progmodes/simula.el
index eba9a03b2ae..891549ac2aa 100644
--- a/lisp/progmodes/simula.el
+++ b/lisp/progmodes/simula.el
@@ -1,6 +1,6 @@
1;;; simula.el --- SIMULA 87 code editing commands for Emacs 1;;; simula.el --- SIMULA 87 code editing commands for Emacs
2 2
3;; Copyright (C) 1992, 1994, 1996 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1992, 1994, 1996 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Hans Henrik Eriksen <hhe@ifi.uio.no> 6;; Author: Hans Henrik Eriksen <hhe@ifi.uio.no>
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el
index 6d73abb1432..ff5493de364 100644
--- a/lisp/progmodes/sql.el
+++ b/lisp/progmodes/sql.el
@@ -1,6 +1,6 @@
1;;; sql.el --- specialized comint.el for SQL interpreters 1;;; sql.el --- specialized comint.el for SQL interpreters
2 2
3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Alex Schroeder <alex@gnu.org> 6;; Author: Alex Schroeder <alex@gnu.org>
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el
index ed64de4c89c..d81a5fcf47b 100644
--- a/lisp/progmodes/vhdl-mode.el
+++ b/lisp/progmodes/vhdl-mode.el
@@ -1,6 +1,6 @@
1;;; vhdl-mode.el --- major mode for editing VHDL code 1;;; vhdl-mode.el --- major mode for editing VHDL code
2 2
3;; Copyright (C) 1992-2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1992-2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Authors: Reto Zimmermann <reto@gnu.org> 5;; Authors: Reto Zimmermann <reto@gnu.org>
6;; Rodney J. Whitby <software.vhdl-mode@rwhitby.net> 6;; Rodney J. Whitby <software.vhdl-mode@rwhitby.net>
diff --git a/lisp/progmodes/which-func.el b/lisp/progmodes/which-func.el
index 66d91dce3da..8ca7eb188ec 100644
--- a/lisp/progmodes/which-func.el
+++ b/lisp/progmodes/which-func.el
@@ -1,6 +1,6 @@
1;;; which-func.el --- print current function in mode line 1;;; which-func.el --- print current function in mode line
2 2
3;; Copyright (C) 1994, 1997, 1998, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1994, 1997, 1998, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Alex Rezinsky <alexr@msil.sps.mot.com> 6;; Author: Alex Rezinsky <alexr@msil.sps.mot.com>
diff --git a/lisp/progmodes/xscheme.el b/lisp/progmodes/xscheme.el
index d568bca5b75..4f1cd37a9f7 100644
--- a/lisp/progmodes/xscheme.el
+++ b/lisp/progmodes/xscheme.el
@@ -1,6 +1,6 @@
1;;; xscheme.el --- run MIT Scheme under Emacs 1;;; xscheme.el --- run MIT Scheme under Emacs
2 2
3;; Copyright (C) 1986, 1987, 1989, 1990, 2001, 2002, 2003, 2004, 2005 3;; Copyright (C) 1986, 1987, 1989, 1990, 2001, 2002, 2003, 2004, 2005, 2006
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
diff --git a/lisp/ps-bdf.el b/lisp/ps-bdf.el
index 090f0431218..0c3736fab9e 100644
--- a/lisp/ps-bdf.el
+++ b/lisp/ps-bdf.el
@@ -1,6 +1,6 @@
1;;; ps-bdf.el --- BDF font file handler for ps-print 1;;; ps-bdf.el --- BDF font file handler for ps-print
2 2
3;; Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc. 3;; Copyright (C) 1998, 1999, 2001, 2006 Free Software Foundation, Inc.
4;; Copyright (C) 1998, 1999, 2001, 2003 4;; Copyright (C) 1998, 1999, 2001, 2003
5;; National Institute of Advanced Industrial Science and Technology (AIST) 5;; National Institute of Advanced Industrial Science and Technology (AIST)
6;; Registration Number H14PRO021 6;; Registration Number H14PRO021
diff --git a/lisp/ps-mule.el b/lisp/ps-mule.el
index 1be2eafba9d..c4a19cd3871 100644
--- a/lisp/ps-mule.el
+++ b/lisp/ps-mule.el
@@ -1,7 +1,7 @@
1;;; ps-mule.el --- provide multi-byte character facility to ps-print 1;;; ps-mule.el --- provide multi-byte character facility to ps-print
2 2
3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Vinicius Jose Latorre <vinicius@cpqd.com.br> 6;; Author: Vinicius Jose Latorre <vinicius@cpqd.com.br>
7;; Kenichi Handa <handa@etl.go.jp> (multi-byte characters) 7;; Kenichi Handa <handa@etl.go.jp> (multi-byte characters)
diff --git a/lisp/ps-print.el b/lisp/ps-print.el
index fc91e55a746..5307e1bf97c 100644
--- a/lisp/ps-print.el
+++ b/lisp/ps-print.el
@@ -1,7 +1,7 @@
1;;; ps-print.el --- print text from the buffer as PostScript 1;;; ps-print.el --- print text from the buffer as PostScript
2 2
3;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 3;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
4;; 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Jim Thompson (was <thompson@wg2.waii.com>) 6;; Author: Jim Thompson (was <thompson@wg2.waii.com>)
7;; Jacques Duthen (was <duthen@cegelec-red.fr>) 7;; Jacques Duthen (was <duthen@cegelec-red.fr>)
diff --git a/lisp/recentf.el b/lisp/recentf.el
index 1106fea18b6..2afb0955c46 100644
--- a/lisp/recentf.el
+++ b/lisp/recentf.el
@@ -1,7 +1,7 @@
1;;; recentf.el --- setup a menu of recently opened files 1;;; recentf.el --- setup a menu of recently opened files
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: David Ponce <david@dponce.com> 6;; Author: David Ponce <david@dponce.com>
7;; Created: July 19 1999 7;; Created: July 19 1999
diff --git a/lisp/rect.el b/lisp/rect.el
index a7a863e204b..63979cb967c 100644
--- a/lisp/rect.el
+++ b/lisp/rect.el
@@ -1,7 +1,7 @@
1;;; rect.el --- rectangle functions for GNU Emacs 1;;; rect.el --- rectangle functions for GNU Emacs
2 2
3;; Copyright (C) 1985, 1999, 2000, 2001, 2002, 2003, 2004 3;; Copyright (C) 1985, 1999, 2000, 2001, 2002, 2003, 2004
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: Didier Verna <didier@xemacs.org> 6;; Maintainer: Didier Verna <didier@xemacs.org>
7;; Keywords: internal 7;; Keywords: internal
diff --git a/lisp/register.el b/lisp/register.el
index 14d7494633a..8dea532410c 100644
--- a/lisp/register.el
+++ b/lisp/register.el
@@ -1,7 +1,7 @@
1;;; register.el --- register commands for Emacs 1;;; register.el --- register commands for Emacs
2 2
3;; Copyright (C) 1985, 1993, 1994, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1993, 1994, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: internal 7;; Keywords: internal
diff --git a/lisp/repeat.el b/lisp/repeat.el
index adaf8a4bb9a..b225b729def 100644
--- a/lisp/repeat.el
+++ b/lisp/repeat.el
@@ -1,6 +1,7 @@
1;;; repeat.el --- convenient way to repeat the previous command 1;;; repeat.el --- convenient way to repeat the previous command
2 2
3;; Copyright (C) 1998, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1998, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Will Mengarini <seldon@eskimo.com> 6;; Author: Will Mengarini <seldon@eskimo.com>
6;; Created: Mo 02 Mar 98 7;; Created: Mo 02 Mar 98
diff --git a/lisp/replace.el b/lisp/replace.el
index 92b4be7fd7b..3187bbbbd36 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -1,7 +1,7 @@
1;;; replace.el --- replace commands for Emacs 1;;; replace.el --- replace commands for Emacs
2 2
3;; Copyright (C) 1985, 1986, 1987, 1992, 1994, 1996, 1997, 2000, 2001, 3;; Copyright (C) 1985, 1986, 1987, 1992, 1994, 1996, 1997, 2000, 2001,
4;; 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7 7
diff --git a/lisp/reposition.el b/lisp/reposition.el
index 7a6ea277b02..a87b72443df 100644
--- a/lisp/reposition.el
+++ b/lisp/reposition.el
@@ -1,7 +1,7 @@
1;;; reposition.el --- center a Lisp function or comment on the screen 1;;; reposition.el --- center a Lisp function or comment on the screen
2 2
3;; Copyright (C) 1991, 1994, 2002, 2003, 2004, 3;; Copyright (C) 1991, 1994, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Michael D. Ernst <mernst@theory.lcs.mit.edu> 6;; Author: Michael D. Ernst <mernst@theory.lcs.mit.edu>
7;; Created: Jan 1991 7;; Created: Jan 1991
diff --git a/lisp/resume.el b/lisp/resume.el
index 29ce253e4a2..0a719278266 100644
--- a/lisp/resume.el
+++ b/lisp/resume.el
@@ -1,6 +1,7 @@
1;;; resume.el --- process command line args from within a suspended Emacs job 1;;; resume.el --- process command line args from within a suspended Emacs job
2 2
3;; Copyright (C) 1992, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1992, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Joe Wells <jbw@bucsf.bu.edu> 6;; Author: Joe Wells <jbw@bucsf.bu.edu>
6;; Adapted-By: ESR 7;; Adapted-By: ESR
diff --git a/lisp/rfn-eshadow.el b/lisp/rfn-eshadow.el
index a9f55ced0e4..e8f0ab74caa 100644
--- a/lisp/rfn-eshadow.el
+++ b/lisp/rfn-eshadow.el
@@ -1,7 +1,7 @@
1;;; rfn-eshadow.el --- Highlight `shadowed' part of read-file-name input text 1;;; rfn-eshadow.el --- Highlight `shadowed' part of read-file-name input text
2;; 2;;
3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5;; 5;;
6;; Author: Miles Bader <miles@gnu.org> 6;; Author: Miles Bader <miles@gnu.org>
7;; Keywords: convenience minibuffer 7;; Keywords: convenience minibuffer
diff --git a/lisp/rot13.el b/lisp/rot13.el
index 664e2cfadc6..449583ab8dd 100644
--- a/lisp/rot13.el
+++ b/lisp/rot13.el
@@ -1,6 +1,7 @@
1;;; rot13.el --- display a buffer in rot13 1;;; rot13.el --- display a buffer in rot13
2 2
3;; Copyright (C) 1988, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1988, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Howard Gayle 6;; Author: Howard Gayle
6;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/ruler-mode.el b/lisp/ruler-mode.el
index 4763072a424..a441c3a112e 100644
--- a/lisp/ruler-mode.el
+++ b/lisp/ruler-mode.el
@@ -1,6 +1,7 @@
1;;; ruler-mode.el --- display a ruler in the header line 1;;; ruler-mode.el --- display a ruler in the header line
2 2
3;; Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2001, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: David Ponce <david@dponce.com> 6;; Author: David Ponce <david@dponce.com>
6;; Maintainer: David Ponce <david@dponce.com> 7;; Maintainer: David Ponce <david@dponce.com>
diff --git a/lisp/s-region.el b/lisp/s-region.el
index 06b5bb3f926..6bc4b481d7b 100644
--- a/lisp/s-region.el
+++ b/lisp/s-region.el
@@ -1,7 +1,7 @@
1;;; s-region.el --- set region using shift key 1;;; s-region.el --- set region using shift key
2 2
3;; Copyright (C) 1994, 1995, 2002, 2003, 2004, 3;; Copyright (C) 1994, 1995, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Morten Welinder <terra@diku.dk> 6;; Author: Morten Welinder <terra@diku.dk>
7;; Keywords: terminals 7;; Keywords: terminals
diff --git a/lisp/savehist.el b/lisp/savehist.el
index 6c6d936af6a..8b8ca9c0f8a 100644
--- a/lisp/savehist.el
+++ b/lisp/savehist.el
@@ -1,6 +1,6 @@
1;;; savehist.el --- Save minibuffer history. 1;;; savehist.el --- Save minibuffer history.
2 2
3;; Copyright (C) 1997, 2005 Free Software Foundation 3;; Copyright (C) 1997, 2005, 2006 Free Software Foundation
4 4
5;; Author: Hrvoje Niksic <hniksic@xemacs.org> 5;; Author: Hrvoje Niksic <hniksic@xemacs.org>
6;; Keywords: minibuffer 6;; Keywords: minibuffer
diff --git a/lisp/saveplace.el b/lisp/saveplace.el
index 645b298ee66..a2bc18e9de1 100644
--- a/lisp/saveplace.el
+++ b/lisp/saveplace.el
@@ -1,7 +1,7 @@
1;;; saveplace.el --- automatically save place in files 1;;; saveplace.el --- automatically save place in files
2 2
3;; Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Karl Fogel <kfogel@red-bean.com> 6;; Author: Karl Fogel <kfogel@red-bean.com>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/sb-image.el b/lisp/sb-image.el
index e1ed8d06a86..c608346cd02 100644
--- a/lisp/sb-image.el
+++ b/lisp/sb-image.el
@@ -1,6 +1,7 @@
1;;; sb-image --- Image management for speedbar 1;;; sb-image --- Image management for speedbar
2 2
3;;; Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Eric M. Ludlam <zappo@gnu.org> 6;; Author: Eric M. Ludlam <zappo@gnu.org>
6;; Keywords: file, tags, tools 7;; Keywords: file, tags, tools
diff --git a/lisp/scroll-all.el b/lisp/scroll-all.el
index f2a953f7a21..9e816480f38 100644
--- a/lisp/scroll-all.el
+++ b/lisp/scroll-all.el
@@ -1,6 +1,7 @@
1;;; scroll-all.el --- scroll all buffers together minor mode 1;;; scroll-all.el --- scroll all buffers together minor mode
2 2
3;; Copyright (C) 1997, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1997, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Gary D. Foster <Gary.Foster@corp.sun.com> 6;; Author: Gary D. Foster <Gary.Foster@corp.sun.com>
6;; Keywords: scroll crisp brief lock 7;; Keywords: scroll crisp brief lock
diff --git a/lisp/scroll-bar.el b/lisp/scroll-bar.el
index 1fabb78dc49..69d696f7741 100644
--- a/lisp/scroll-bar.el
+++ b/lisp/scroll-bar.el
@@ -1,7 +1,7 @@
1;;; scroll-bar.el --- window system-independent scroll bar support 1;;; scroll-bar.el --- window system-independent scroll bar support
2 2
3;; Copyright (C) 1993, 1994, 1995, 1999, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1993, 1994, 1995, 1999, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: hardware 7;; Keywords: hardware
diff --git a/lisp/scroll-lock.el b/lisp/scroll-lock.el
index e5fca2d1c6e..8eb3977752f 100644
--- a/lisp/scroll-lock.el
+++ b/lisp/scroll-lock.el
@@ -1,6 +1,6 @@
1;;; scroll-lock.el --- Scroll lock scrolling. 1;;; scroll-lock.el --- Scroll lock scrolling.
2 2
3;; Copyright (C) 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Ralf Angeli <angeli@iwi.uni-sb.de> 5;; Author: Ralf Angeli <angeli@iwi.uni-sb.de>
6;; Maintainer: FSF 6;; Maintainer: FSF
diff --git a/lisp/select.el b/lisp/select.el
index 1d8d13208fa..01d1af6edf1 100644
--- a/lisp/select.el
+++ b/lisp/select.el
@@ -4,7 +4,7 @@
4;; Keywords: internal 4;; Keywords: internal
5 5
6;; Copyright (C) 1993, 1994, 2002, 2003, 2004, 6;; Copyright (C) 1993, 1994, 2002, 2003, 2004,
7;; 2005 Free Software Foundation, Inc. 7;; 2005, 2006 Free Software Foundation, Inc.
8;; Based partially on earlier release by Lucid. 8;; Based partially on earlier release by Lucid.
9 9
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
diff --git a/lisp/server.el b/lisp/server.el
index 382befd5349..87fbf640f06 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -1,7 +1,7 @@
1;;; server.el --- Lisp code for GNU Emacs running as server process 1;;; server.el --- Lisp code for GNU Emacs running as server process
2 2
3;; Copyright (C) 1986, 1987, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 3;; Copyright (C) 1986, 1987, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
4;; 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: William Sommerfeld <wesommer@athena.mit.edu> 6;; Author: William Sommerfeld <wesommer@athena.mit.edu>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/shadowfile.el b/lisp/shadowfile.el
index 8dd5f375daa..f5f8bac7edc 100644
--- a/lisp/shadowfile.el
+++ b/lisp/shadowfile.el
@@ -1,7 +1,7 @@
1;;; shadowfile.el --- automatic file copying 1;;; shadowfile.el --- automatic file copying
2 2
3;; Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Boris Goldowsky <boris@gnu.org> 6;; Author: Boris Goldowsky <boris@gnu.org>
7;; Keywords: comm files 7;; Keywords: comm files
diff --git a/lisp/shell.el b/lisp/shell.el
index 84de8efd8df..f7eaeb84341 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -1,7 +1,7 @@
1;;; shell.el --- specialized comint.el for running the shell 1;;; shell.el --- specialized comint.el for running the shell
2 2
3;; Copyright (C) 1988, 1993, 1994, 1995, 1996, 1997, 2000, 3;; Copyright (C) 1988, 1993, 1994, 1995, 1996, 1997, 2000,
4;; 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Olin Shivers <shivers@cs.cmu.edu> 6;; Author: Olin Shivers <shivers@cs.cmu.edu>
7;; Simon Marshall <simon@gnu.org> 7;; Simon Marshall <simon@gnu.org>
diff --git a/lisp/skeleton.el b/lisp/skeleton.el
index 26d6613d1bf..0b3fc82f025 100644
--- a/lisp/skeleton.el
+++ b/lisp/skeleton.el
@@ -1,7 +1,7 @@
1;;; skeleton.el --- Lisp language extension for writing statement skeletons 1;;; skeleton.el --- Lisp language extension for writing statement skeletons
2 2
3;; Copyright (C) 1993, 1994, 1995, 1996, 2002, 2003, 3;; Copyright (C) 1993, 1994, 1995, 1996, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Daniel Pfeiffer <occitan@esperanto.org> 6;; Author: Daniel Pfeiffer <occitan@esperanto.org>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/smerge-mode.el b/lisp/smerge-mode.el
index 87c572372b0..9fddc4b1a05 100644
--- a/lisp/smerge-mode.el
+++ b/lisp/smerge-mode.el
@@ -1,7 +1,7 @@
1;;; smerge-mode.el --- Minor mode to resolve diff3 conflicts 1;;; smerge-mode.el --- Minor mode to resolve diff3 conflicts
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Stefan Monnier <monnier@cs.yale.edu> 6;; Author: Stefan Monnier <monnier@cs.yale.edu>
7;; Keywords: tools revision-control merge diff3 cvs conflict 7;; Keywords: tools revision-control merge diff3 cvs conflict
diff --git a/lisp/sort.el b/lisp/sort.el
index 6a008b82425..174a8531786 100644
--- a/lisp/sort.el
+++ b/lisp/sort.el
@@ -1,7 +1,7 @@
1;;; sort.el --- commands to sort text in an Emacs buffer 1;;; sort.el --- commands to sort text in an Emacs buffer
2 2
3;; Copyright (C) 1986, 1987, 1994, 1995, 2002, 2003, 3;; Copyright (C) 1986, 1987, 1994, 1995, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Howie Kaye 6;; Author: Howie Kaye
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/soundex.el b/lisp/soundex.el
index 58ba1872503..e48dbcf3bd6 100644
--- a/lisp/soundex.el
+++ b/lisp/soundex.el
@@ -1,6 +1,7 @@
1;;; soundex.el --- implement Soundex algorithm 1;;; soundex.el --- implement Soundex algorithm
2 2
3;; Copyright (C) 1993, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1993, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Christian Plaunt <chris@bliss.berkeley.edu> 6;; Author: Christian Plaunt <chris@bliss.berkeley.edu>
6;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/speedbar.el b/lisp/speedbar.el
index a48f480a756..c3f949ead37 100644
--- a/lisp/speedbar.el
+++ b/lisp/speedbar.el
@@ -1,6 +1,7 @@
1;;; speedbar --- quick access to files and tags in a frame 1;;; speedbar --- quick access to files and tags in a frame
2 2
3;;; Copyright (C) 1996, 97, 98, 99, 00, 01, 02, 03, 04, 05 Free Software Foundation 3;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005, 2006 Free Software Foundation, Inc.
4 5
5;; Author: Eric M. Ludlam <zappo@gnu.org> 6;; Author: Eric M. Ludlam <zappo@gnu.org>
6;; Keywords: file, tags, tools 7;; Keywords: file, tags, tools
diff --git a/lisp/strokes.el b/lisp/strokes.el
index 84bff1b6ba0..bcf7656347e 100644
--- a/lisp/strokes.el
+++ b/lisp/strokes.el
@@ -1,7 +1,7 @@
1;;; strokes.el --- control Emacs through mouse strokes 1;;; strokes.el --- control Emacs through mouse strokes
2 2
3;; Copyright (C) 1997, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1997, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: David Bakhash <cadet@alum.mit.edu> 6;; Author: David Bakhash <cadet@alum.mit.edu>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/subr.el b/lisp/subr.el
index b97ed1ba566..3aad35d05e8 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1,7 +1,7 @@
1;;; subr.el --- basic lisp subroutines for Emacs 1;;; subr.el --- basic lisp subroutines for Emacs
2 2
3;; Copyright (C) 1985, 1986, 1992, 1994, 1995, 1999, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1985, 1986, 1992, 1994, 1995, 1999, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: internal 7;; Keywords: internal
@@ -561,7 +561,7 @@ In other words, OLDDEF is replaced with NEWDEF where ever it appears.
561Alternatively, if optional fourth argument OLDMAP is specified, we redefine 561Alternatively, if optional fourth argument OLDMAP is specified, we redefine
562in KEYMAP as NEWDEF those keys which are defined as OLDDEF in OLDMAP. 562in KEYMAP as NEWDEF those keys which are defined as OLDDEF in OLDMAP.
563 563
564For most uses, it is simpler and safer to use command remappping like this: 564For most uses, it is simpler and safer to use command remapping like this:
565 \(define-key KEYMAP [remap OLDDEF] NEWDEF)" 565 \(define-key KEYMAP [remap OLDDEF] NEWDEF)"
566 ;; Don't document PREFIX in the doc string because we don't want to 566 ;; Don't document PREFIX in the doc string because we don't want to
567 ;; advertise it. It's meant for recursive calls only. Here's its 567 ;; advertise it. It's meant for recursive calls only. Here's its
@@ -607,8 +607,7 @@ For most uses, it is simpler and safer to use command remappping like this:
607 (nconc (nreverse skipped) newdef))) 607 (nconc (nreverse skipped) newdef)))
608 ;; Look past a symbol that names a keymap. 608 ;; Look past a symbol that names a keymap.
609 (setq inner-def 609 (setq inner-def
610 (and defn 610 (or (indirect-function defn t) defn))
611 (condition-case nil (indirect-function defn) (error defn))))
612 ;; For nested keymaps, we use `inner-def' rather than `defn' so as to 611 ;; For nested keymaps, we use `inner-def' rather than `defn' so as to
613 ;; avoid autoloading a keymap. This is mostly done to preserve the 612 ;; avoid autoloading a keymap. This is mostly done to preserve the
614 ;; original non-autoloading behavior of pre-map-keymap times. 613 ;; original non-autoloading behavior of pre-map-keymap times.
diff --git a/lisp/tabify.el b/lisp/tabify.el
index 84809839883..6e12270bf47 100644
--- a/lisp/tabify.el
+++ b/lisp/tabify.el
@@ -1,7 +1,7 @@
1;;; tabify.el --- tab conversion commands for Emacs 1;;; tabify.el --- tab conversion commands for Emacs
2 2
3;; Copyright (C) 1985, 1994, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1994, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7 7
diff --git a/lisp/talk.el b/lisp/talk.el
index 0807e655703..8ec443b5d6e 100644
--- a/lisp/talk.el
+++ b/lisp/talk.el
@@ -1,6 +1,7 @@
1;;; talk.el --- allow several users to talk to each other through Emacs 1;;; talk.el --- allow several users to talk to each other through Emacs
2 2
3;; Copyright (C) 1995, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1995, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Maintainer: FSF 6;; Maintainer: FSF
6;; Keywords: comm, frames 7;; Keywords: comm, frames
diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el
index 5a400ffbec4..f24a91d4145 100644
--- a/lisp/tar-mode.el
+++ b/lisp/tar-mode.el
@@ -1,7 +1,7 @@
1;;; tar-mode.el --- simple editing of tar files from GNU emacs 1;;; tar-mode.el --- simple editing of tar files from GNU emacs
2 2
3;; Copyright (C) 1990, 1991, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3;; Copyright (C) 1990, 1991, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4;; 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Jamie Zawinski <jwz@lucid.com> 6;; Author: Jamie Zawinski <jwz@lucid.com>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/tempo.el b/lisp/tempo.el
index 62ba3c9acae..e65a8179518 100644
--- a/lisp/tempo.el
+++ b/lisp/tempo.el
@@ -1,7 +1,7 @@
1;;; tempo.el --- Flexible template insertion 1;;; tempo.el --- Flexible template insertion
2 2
3;; Copyright (C) 1994, 1995, 2002, 2003, 2004, 3;; Copyright (C) 1994, 1995, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: David K}gedal <davidk@lysator.liu.se> 6;; Author: David K}gedal <davidk@lysator.liu.se>
7;; Created: 16 Feb 1994 7;; Created: 16 Feb 1994
diff --git a/lisp/term/AT386.el b/lisp/term/AT386.el
index fda2da44ac8..adec1f1505f 100644
--- a/lisp/term/AT386.el
+++ b/lisp/term/AT386.el
@@ -3,7 +3,8 @@
3;; Author: Eric S. Raymond <esr@snark.thyrsus.com> 3;; Author: Eric S. Raymond <esr@snark.thyrsus.com>
4;; Keywords: terminals 4;; Keywords: terminals
5 5
6;; Copyright (C) 1992, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 6;; Copyright (C) 1992, 2002, 2003, 2004, 2005,
7;; 2006 Free Software Foundation, Inc.
7 8
8;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
9 10
diff --git a/lisp/term/internal.el b/lisp/term/internal.el
index e9de649158a..0cbb3ae10f6 100644
--- a/lisp/term/internal.el
+++ b/lisp/term/internal.el
@@ -1,7 +1,7 @@
1;;; internal.el --- support for PC internal terminal -*- coding: raw-text; no-byte-compile: t -*- 1;;; internal.el --- support for PC internal terminal -*- coding: raw-text; no-byte-compile: t -*-
2 2
3;; Copyright (C) 1993, 1994, 1998, 1999, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1993, 1994, 1998, 1999, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Morten Welinder <terra@diku.dk> 6;; Author: Morten Welinder <terra@diku.dk>
7 7
diff --git a/lisp/term/iris-ansi.el b/lisp/term/iris-ansi.el
index 1a3a65fa716..c68aa7f8984 100644
--- a/lisp/term/iris-ansi.el
+++ b/lisp/term/iris-ansi.el
@@ -1,6 +1,7 @@
1;;; iris-ansi.el --- configure Emacs for SGI xwsh and winterm apps -*- no-byte-compile: t -*- 1;;; iris-ansi.el --- configure Emacs for SGI xwsh and winterm apps -*- no-byte-compile: t -*-
2 2
3;; Copyright (C) 1997, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1997, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Dan Nicolaescu <dann@ics.uci.edu> 6;; Author: Dan Nicolaescu <dann@ics.uci.edu>
6 7
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el
index dea988868eb..ba0466f9c6f 100644
--- a/lisp/term/mac-win.el
+++ b/lisp/term/mac-win.el
@@ -1,7 +1,7 @@
1;;; mac-win.el --- parse switches controlling interface with Mac window system -*-coding: iso-2022-7bit;-*- 1;;; mac-win.el --- parse switches controlling interface with Mac window system -*-coding: iso-2022-7bit;-*-
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Andrew Choi <akochoi@mac.com> 6;; Author: Andrew Choi <akochoi@mac.com>
7;; Keywords: terminals 7;; Keywords: terminals
@@ -1918,9 +1918,9 @@ It returns a name of the created fontset."
1918;; characters decoded from mac-roman encoding (ascii, latin-iso8859-1, 1918;; characters decoded from mac-roman encoding (ascii, latin-iso8859-1,
1919;; and mule-unicode-xxxx-yyyy) are displayed by a mac-roman font. 1919;; and mule-unicode-xxxx-yyyy) are displayed by a mac-roman font.
1920(create-fontset-from-fontset-spec 1920(create-fontset-from-fontset-spec
1921 "-etl-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-mac, 1921 "-etl-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-standard,
1922ascii:-*-Monaco-*-*-*-*-12-*-*-*-*-*-mac-roman") 1922ascii:-*-Monaco-*-*-*-*-12-*-*-*-*-*-mac-roman")
1923(fontset-add-mac-fonts "fontset-mac" t) 1923(fontset-add-mac-fonts "fontset-standard" t)
1924 1924
1925;; Create fontset specified in X resources "Fontset-N" (N is 0, 1, ...). 1925;; Create fontset specified in X resources "Fontset-N" (N is 0, 1, ...).
1926(create-fontset-from-x-resource) 1926(create-fontset-from-x-resource)
diff --git a/lisp/term/news.el b/lisp/term/news.el
index ab2d10158c8..eaf662c8cfc 100644
--- a/lisp/term/news.el
+++ b/lisp/term/news.el
@@ -1,7 +1,7 @@
1;;; news.el --- keypad and function key bindings for the Sony NEWS keyboard -*- no-byte-compile: t -*- 1;;; news.el --- keypad and function key bindings for the Sony NEWS keyboard -*- no-byte-compile: t -*-
2 2
3;; Copyright (C) 1989, 1993, 2002, 2003, 2004, 3;; Copyright (C) 1989, 1993, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: FSF 6;; Author: FSF
7;; Keywords: terminals 7;; Keywords: terminals
diff --git a/lisp/term/pc-win.el b/lisp/term/pc-win.el
index bdaef8813e7..fd63e5a1db9 100644
--- a/lisp/term/pc-win.el
+++ b/lisp/term/pc-win.el
@@ -1,7 +1,7 @@
1;;; pc-win.el --- setup support for `PC windows' (whatever that is) 1;;; pc-win.el --- setup support for `PC windows' (whatever that is)
2 2
3;; Copyright (C) 1994, 1996, 1997, 1999, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1994, 1996, 1997, 1999, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Morten Welinder <terra@diku.dk> 6;; Author: Morten Welinder <terra@diku.dk>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/term/rxvt.el b/lisp/term/rxvt.el
index 79994403301..fe29b87f2e6 100644
--- a/lisp/term/rxvt.el
+++ b/lisp/term/rxvt.el
@@ -1,6 +1,6 @@
1;;; rxvt.el --- define function key sequences and standard colors for rxvt 1;;; rxvt.el --- define function key sequences and standard colors for rxvt
2 2
3;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Eli Zaretskii 5;; Author: Eli Zaretskii
6;; Keywords: terminals 6;; Keywords: terminals
diff --git a/lisp/term/sun-mouse.el b/lisp/term/sun-mouse.el
index a55c8902320..329e88e23e6 100644
--- a/lisp/term/sun-mouse.el
+++ b/lisp/term/sun-mouse.el
@@ -1,6 +1,7 @@
1;;; sun-mouse.el --- mouse handling for Sun windows 1;;; sun-mouse.el --- mouse handling for Sun windows
2 2
3;; Copyright (C) 1987, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1987, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Jeff Peck 6;; Author: Jeff Peck
6;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/term/sun.el b/lisp/term/sun.el
index 99e3ec28c7c..8913fa98268 100644
--- a/lisp/term/sun.el
+++ b/lisp/term/sun.el
@@ -1,7 +1,7 @@
1;;; sun.el --- keybinding for standard default sunterm keys 1;;; sun.el --- keybinding for standard default sunterm keys
2 2
3;; Copyright (C) 1987, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1987, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Jeff Peck <peck@sun.com> 6;; Author: Jeff Peck <peck@sun.com>
7;; Keywords: terminals 7;; Keywords: terminals
diff --git a/lisp/term/sup-mouse.el b/lisp/term/sup-mouse.el
index 54da5b34505..ebc406d8206 100644
--- a/lisp/term/sup-mouse.el
+++ b/lisp/term/sup-mouse.el
@@ -1,7 +1,7 @@
1;;; sup-mouse.el --- supdup mouse support for lisp machines 1;;; sup-mouse.el --- supdup mouse support for lisp machines
2 2
3;; Copyright (C) 1985, 1986, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1986, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Wolfgang Rupprecht 6;; Author: Wolfgang Rupprecht
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/term/tty-colors.el b/lisp/term/tty-colors.el
index 6fcf5d3edba..c03aebf4068 100644
--- a/lisp/term/tty-colors.el
+++ b/lisp/term/tty-colors.el
@@ -1,7 +1,7 @@
1;;; tty-colors.el --- color support for character terminals 1;;; tty-colors.el --- color support for character terminals
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Eli Zaretskii 6;; Author: Eli Zaretskii
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/term/tvi970.el b/lisp/term/tvi970.el
index 647e4cc2745..bcdf886638f 100644
--- a/lisp/term/tvi970.el
+++ b/lisp/term/tvi970.el
@@ -3,7 +3,8 @@
3;; Author: Jim Blandy <jimb@occs.cs.oberlin.edu>, January 1992 3;; Author: Jim Blandy <jimb@occs.cs.oberlin.edu>, January 1992
4;; Keywords: terminals 4;; Keywords: terminals
5 5
6;; Copyright (C) 1992, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 6;; Copyright (C) 1992, 2002, 2003, 2004, 2005,
7;; 2006 Free Software Foundation, Inc.
7 8
8;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
9 10
diff --git a/lisp/term/vt100.el b/lisp/term/vt100.el
index 9822bd6e5a2..d17f61bc782 100644
--- a/lisp/term/vt100.el
+++ b/lisp/term/vt100.el
@@ -1,7 +1,7 @@
1;;; vt100.el --- define VT100 function key sequences in function-key-map 1;;; vt100.el --- define VT100 function key sequences in function-key-map
2 2
3;; Copyright (C) 1989, 1993, 2002, 2003, 2004, 3;; Copyright (C) 1989, 1993, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: FSF 6;; Author: FSF
7;; Keywords: terminals 7;; Keywords: terminals
diff --git a/lisp/term/wyse50.el b/lisp/term/wyse50.el
index d561329d9c6..07de09914d1 100644
--- a/lisp/term/wyse50.el
+++ b/lisp/term/wyse50.el
@@ -1,7 +1,7 @@
1;;; wyse50.el --- terminal support code for Wyse 50 -*- no-byte-compile: t -*- 1;;; wyse50.el --- terminal support code for Wyse 50 -*- no-byte-compile: t -*-
2 2
3;; Copyright (C) 1989, 1993, 1994, 2002, 2003, 2004, 3;; Copyright (C) 1989, 1993, 1994, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Daniel Pfeiffer <occitan@esperanto.org>, 6;; Author: Daniel Pfeiffer <occitan@esperanto.org>,
7;; Jim Blandy <jimb@occs.cs.oberlin.edu> 7;; Jim Blandy <jimb@occs.cs.oberlin.edu>
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index a61577215e5..db31dc36684 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -1,7 +1,7 @@
1;;; x-win.el --- parse relevant switches and set up for X -*-coding: iso-2022-7bit;-*- 1;;; x-win.el --- parse relevant switches and set up for X -*-coding: iso-2022-7bit;-*-
2 2
3;; Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: FSF 6;; Author: FSF
7;; Keywords: terminals, i18n 7;; Keywords: terminals, i18n
diff --git a/lisp/term/xterm.el b/lisp/term/xterm.el
index 399385b4fc4..049d65c62fa 100644
--- a/lisp/term/xterm.el
+++ b/lisp/term/xterm.el
@@ -1,6 +1,7 @@
1;;; xterm.el --- define function key sequences and standard colors for xterm 1;;; xterm.el --- define function key sequences and standard colors for xterm
2 2
3;; Copyright (C) 1995, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1995, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: FSF 6;; Author: FSF
6;; Keywords: terminals 7;; Keywords: terminals
diff --git a/lisp/terminal.el b/lisp/terminal.el
index 645d7a6bd6a..63092e3caea 100644
--- a/lisp/terminal.el
+++ b/lisp/terminal.el
@@ -1,7 +1,7 @@
1;;; terminal.el --- terminal emulator for GNU Emacs 1;;; terminal.el --- terminal emulator for GNU Emacs
2 2
3;; Copyright (C) 1986, 1987, 1988, 1989, 1993, 1994, 2002, 2003, 3;; Copyright (C) 1986, 1987, 1988, 1989, 1993, 1994, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Richard Mlynarik <mly@eddie.mit.edu> 6;; Author: Richard Mlynarik <mly@eddie.mit.edu>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el
index b13b080cf79..9305bdbf9bc 100644
--- a/lisp/textmodes/artist.el
+++ b/lisp/textmodes/artist.el
@@ -1,7 +1,7 @@
1;;; artist.el --- draw ascii graphics with your mouse 1;;; artist.el --- draw ascii graphics with your mouse
2 2
3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Tomas Abrahamsson <tab@lysator.liu.se> 6;; Author: Tomas Abrahamsson <tab@lysator.liu.se>
7;; Maintainer: Tomas Abrahamsson <tab@lysator.liu.se> 7;; Maintainer: Tomas Abrahamsson <tab@lysator.liu.se>
diff --git a/lisp/textmodes/bib-mode.el b/lisp/textmodes/bib-mode.el
index 6609673289b..1c4dacf71d8 100644
--- a/lisp/textmodes/bib-mode.el
+++ b/lisp/textmodes/bib-mode.el
@@ -1,6 +1,7 @@
1;;; bib-mode.el --- major mode for editing bib files 1;;; bib-mode.el --- major mode for editing bib files
2 2
3;; Copyright (C) 1989, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1989, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Maintainer: FSF 6;; Maintainer: FSF
6;; Keywords: bib 7;; Keywords: bib
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el
index c708355ce7e..f1e055594b7 100644
--- a/lisp/textmodes/bibtex.el
+++ b/lisp/textmodes/bibtex.el
@@ -1,7 +1,7 @@
1;;; bibtex.el --- BibTeX mode for GNU Emacs 1;;; bibtex.el --- BibTeX mode for GNU Emacs
2 2
3;; Copyright (C) 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2002, 2003, 3;; Copyright (C) 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Stefan Schoef <schoef@offis.uni-oldenburg.de> 6;; Author: Stefan Schoef <schoef@offis.uni-oldenburg.de>
7;; Bengt Martensson <bengt@mathematik.uni-Bremen.de> 7;; Bengt Martensson <bengt@mathematik.uni-Bremen.de>
diff --git a/lisp/textmodes/conf-mode.el b/lisp/textmodes/conf-mode.el
index 764c831d1b3..e762f87f328 100644
--- a/lisp/textmodes/conf-mode.el
+++ b/lisp/textmodes/conf-mode.el
@@ -1,6 +1,6 @@
1;;; conf-mode.el --- Simple major mode for editing conf/ini/properties files 1;;; conf-mode.el --- Simple major mode for editing conf/ini/properties files
2 2
3;; Copyright (C) 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Daniel Pfeiffer <occitan@esperanto.org> 5;; Author: Daniel Pfeiffer <occitan@esperanto.org>
6;; Keywords: conf ini windows java 6;; Keywords: conf ini windows java
diff --git a/lisp/textmodes/dns-mode.el b/lisp/textmodes/dns-mode.el
index 12f99ba090e..a323d4c4468 100644
--- a/lisp/textmodes/dns-mode.el
+++ b/lisp/textmodes/dns-mode.el
@@ -1,6 +1,6 @@
1;;; dns-mode.el --- a mode for viewing/editing Domain Name System master files 1;;; dns-mode.el --- a mode for viewing/editing Domain Name System master files
2 2
3;; Copyright (C) 2000, 2001, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2000, 2001, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Simon Josefsson <simon@josefsson.org> 5;; Author: Simon Josefsson <simon@josefsson.org>
6;; Keywords: DNS master zone file SOA 6;; Keywords: DNS master zone file SOA
diff --git a/lisp/textmodes/enriched.el b/lisp/textmodes/enriched.el
index dc8d4c96b2b..1c81b5cf25e 100644
--- a/lisp/textmodes/enriched.el
+++ b/lisp/textmodes/enriched.el
@@ -1,7 +1,7 @@
1;;; enriched.el --- read and save files in text/enriched format 1;;; enriched.el --- read and save files in text/enriched format
2 2
3;; Copyright (C) 1994, 1995, 1996, 2002, 2003, 2004, 3;; Copyright (C) 1994, 1995, 1996, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Boris Goldowsky <boris@gnu.org> 6;; Author: Boris Goldowsky <boris@gnu.org>
7;; Keywords: wp, faces 7;; Keywords: wp, faces
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el
index 48defb7d786..f472743ef16 100644
--- a/lisp/textmodes/fill.el
+++ b/lisp/textmodes/fill.el
@@ -1,7 +1,7 @@
1;;; fill.el --- fill commands for Emacs -*- coding: iso-2022-7bit -*- 1;;; fill.el --- fill commands for Emacs -*- coding: iso-2022-7bit -*-
2 2
3;; Copyright (C) 1985, 1986, 1992, 1994, 1995, 1996, 1997, 1999, 2001, 2002, 3;; Copyright (C) 1985, 1986, 1992, 1994, 1995, 1996, 1997, 1999, 2001, 2002,
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: wp 7;; Keywords: wp
diff --git a/lisp/textmodes/makeinfo.el b/lisp/textmodes/makeinfo.el
index 542c4829e9c..26a47a65e84 100644
--- a/lisp/textmodes/makeinfo.el
+++ b/lisp/textmodes/makeinfo.el
@@ -1,7 +1,7 @@
1;;; makeinfo.el --- run makeinfo conveniently 1;;; makeinfo.el --- run makeinfo conveniently
2 2
3;; Copyright (C) 1991, 1993, 2002, 2003, 2004, 3;; Copyright (C) 1991, 1993, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Robert J. Chassell 6;; Author: Robert J. Chassell
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/textmodes/nroff-mode.el b/lisp/textmodes/nroff-mode.el
index ababc041099..4a07b091e2a 100644
--- a/lisp/textmodes/nroff-mode.el
+++ b/lisp/textmodes/nroff-mode.el
@@ -42,8 +42,9 @@
42 :group 'wp 42 :group 'wp
43 :prefix "nroff-") 43 :prefix "nroff-")
44 44
45
45(defcustom nroff-electric-mode nil 46(defcustom nroff-electric-mode nil
46 "*Non-nil means automatically closing requests when you insert an open." 47 "Non-nil means automatically closing requests when you insert an open."
47 :group 'nroff 48 :group 'nroff
48 :type 'boolean) 49 :type 'boolean)
49 50
@@ -51,10 +52,10 @@
51 (let ((map (make-sparse-keymap))) 52 (let ((map (make-sparse-keymap)))
52 (define-key map "\t" 'tab-to-tab-stop) 53 (define-key map "\t" 'tab-to-tab-stop)
53 (define-key map "\es" 'center-line) 54 (define-key map "\es" 'center-line)
54 (define-key map "\e?" 'count-text-lines) 55 (define-key map "\e?" 'nroff-count-text-lines)
55 (define-key map "\n" 'electric-nroff-newline) 56 (define-key map "\n" 'nroff-electric-newline)
56 (define-key map "\en" 'forward-text-line) 57 (define-key map "\en" 'nroff-forward-text-line)
57 (define-key map "\ep" 'backward-text-line) 58 (define-key map "\ep" 'nroff-backward-text-line)
58 map) 59 map)
59 "Major mode keymap for `nroff-mode'.") 60 "Major mode keymap for `nroff-mode'.")
60 61
@@ -66,7 +67,7 @@
66 (modify-syntax-entry ?\" "\" 2" st) 67 (modify-syntax-entry ?\" "\" 2" st)
67 ;; Comments are delimited by \" and newline. 68 ;; Comments are delimited by \" and newline.
68 (modify-syntax-entry ?\\ "\\ 1" st) 69 (modify-syntax-entry ?\\ "\\ 1" st)
69 (modify-syntax-entry ?\n "> 1" st) 70 (modify-syntax-entry ?\n ">" st)
70 st) 71 st)
71 "Syntax table used while in `nroff-mode'.") 72 "Syntax table used while in `nroff-mode'.")
72 73
@@ -116,7 +117,6 @@ closing requests for requests that are used in matched pairs."
116 ;; near the end of large buffers due to searching to buffer's 117 ;; near the end of large buffers due to searching to buffer's
117 ;; beginning. 118 ;; beginning.
118 '(nroff-font-lock-keywords nil t nil backward-paragraph)) 119 '(nroff-font-lock-keywords nil t nil backward-paragraph))
119 (set (make-local-variable 'nroff-electric-mode) nil)
120 (set (make-local-variable 'outline-regexp) "\\.H[ ]+[1-7]+ ") 120 (set (make-local-variable 'outline-regexp) "\\.H[ ]+[1-7]+ ")
121 (set (make-local-variable 'outline-level) 'nroff-outline-level) 121 (set (make-local-variable 'outline-level) 'nroff-outline-level)
122 ;; now define a bunch of variables for use by commands in this mode 122 ;; now define a bunch of variables for use by commands in this mode
@@ -138,8 +138,8 @@ closing requests for requests that are used in matched pairs."
138 (skip-chars-forward ".H ") 138 (skip-chars-forward ".H ")
139 (string-to-number (buffer-substring (point) (+ 1 (point)))))) 139 (string-to-number (buffer-substring (point) (+ 1 (point))))))
140 140
141;;; Compute how much to indent a comment in nroff/troff source. 141;; Compute how much to indent a comment in nroff/troff source.
142;;; By mit-erl!gildea April 86 142;; By mit-erl!gildea April 86
143(defun nroff-comment-indent () 143(defun nroff-comment-indent ()
144 "Compute indent for an nroff/troff comment. 144 "Compute indent for an nroff/troff comment.
145Puts a full-stop before comments on a line by themselves." 145Puts a full-stop before comments on a line by themselves."
@@ -161,21 +161,21 @@ Puts a full-stop before comments on a line by themselves."
161 9) 8)))))) ; add 9 to ensure at least two blanks 161 9) 8)))))) ; add 9 to ensure at least two blanks
162 (goto-char pt)))) 162 (goto-char pt))))
163 163
164(defun count-text-lines (start end &optional print) 164(defun nroff-count-text-lines (start end &optional print)
165 "Count lines in region, except for nroff request lines. 165 "Count lines in region, except for nroff request lines.
166All lines not starting with a period are counted up. 166All lines not starting with a period are counted up.
167Interactively, print result in echo area. 167Interactively, print result in echo area.
168Noninteractively, return number of non-request lines from START to END." 168Noninteractively, return number of non-request lines from START to END."
169 (interactive "r\np") 169 (interactive "r\np")
170 (if print 170 (if print
171 (message "Region has %d text lines" (count-text-lines start end)) 171 (message "Region has %d text lines" (nroff-count-text-lines start end))
172 (save-excursion 172 (save-excursion
173 (save-restriction 173 (save-restriction
174 (narrow-to-region start end) 174 (narrow-to-region start end)
175 (goto-char (point-min)) 175 (goto-char (point-min))
176 (- (buffer-size) (forward-text-line (buffer-size))))))) 176 (- (buffer-size) (forward-text-line (buffer-size)))))))
177 177
178(defun forward-text-line (&optional cnt) 178(defun nroff-forward-text-line (&optional cnt)
179 "Go forward one nroff text line, skipping lines of nroff requests. 179 "Go forward one nroff text line, skipping lines of nroff requests.
180An argument is a repeat count; if negative, move backward." 180An argument is a repeat count; if negative, move backward."
181 (interactive "p") 181 (interactive "p")
@@ -193,11 +193,11 @@ An argument is a repeat count; if negative, move backward."
193 (setq cnt (+ cnt 1))) 193 (setq cnt (+ cnt 1)))
194 cnt) 194 cnt)
195 195
196(defun backward-text-line (&optional cnt) 196(defun nroff-backward-text-line (&optional cnt)
197 "Go backward one nroff text line, skipping lines of nroff requests. 197 "Go backward one nroff text line, skipping lines of nroff requests.
198An argument is a repeat count; negative means move forward." 198An argument is a repeat count; negative means move forward."
199 (interactive "p") 199 (interactive "p")
200 (forward-text-line (- cnt))) 200 (nroff-forward-text-line (- cnt)))
201 201
202(defconst nroff-brace-table 202(defconst nroff-brace-table
203 '((".(b" . ".)b") 203 '((".(b" . ".)b")
@@ -235,7 +235,7 @@ An argument is a repeat count; negative means move forward."
235 (".nf" . ".fi") 235 (".nf" . ".fi")
236 (".de" . ".."))) 236 (".de" . "..")))
237 237
238(defun electric-nroff-newline (arg) 238(defun nroff-electric-newline (arg)
239 "Insert newline for nroff mode; special if electric-nroff mode. 239 "Insert newline for nroff mode; special if electric-nroff mode.
240In `electric-nroff-mode', if ending a line containing an nroff opening request, 240In `electric-nroff-mode', if ending a line containing an nroff opening request,
241automatically inserts the matching closing request after point." 241automatically inserts the matching closing request after point."
@@ -256,23 +256,23 @@ automatically inserts the matching closing request after point."
256 (if needs-nl (insert "\n"))) 256 (if needs-nl (insert "\n")))
257 (forward-char 1)))) 257 (forward-char 1))))
258 258
259(defun electric-nroff-mode (&optional arg) 259(define-minor-mode nroff-electric-mode
260 "Toggle `nroff-electric-newline' minor mode. 260 "Toggle `nroff-electric-newline' minor mode.
261`nroff-electric-newline' forces Emacs to check for an nroff request at the 261`nroff-electric-newline' forces Emacs to check for an nroff request at the
262beginning of the line, and insert the matching closing request if necessary. 262beginning of the line, and insert the matching closing request if necessary.
263This command toggles that mode (off->on, on->off), with an argument, 263This command toggles that mode (off->on, on->off), with an argument,
264turns it on iff arg is positive, otherwise off." 264turns it on iff arg is positive, otherwise off."
265 (interactive "P") 265 :lighter " Electric"
266 (or (eq major-mode 'nroff-mode) (error "Must be in nroff mode")) 266 (or (derived-mode-p 'nroff-mode) (error "Must be in nroff mode")))
267 (or (assq 'nroff-electric-mode minor-mode-alist) 267
268 (setq minor-mode-alist (append minor-mode-alist 268;; Old names that were not namespace clean.
269 (list '(nroff-electric-mode 269(define-obsolete-function-alias 'count-text-lines 'nroff-count-text-lines "22.1")
270 " Electric"))))) 270(define-obsolete-function-alias 'forward-text-line 'nroff-forward-text-line "22.1")
271 (setq nroff-electric-mode 271(define-obsolete-function-alias 'backward-text-line 'nroff-backward-text-line "22.1")
272 (cond ((null arg) (null nroff-electric-mode)) 272(define-obsolete-function-alias 'electric-nroff-newline 'nroff-electric-newline "22.1")
273 (t (> (prefix-numeric-value arg) 0))))) 273(define-obsolete-function-alias 'electric-nroff-mode 'nroff-electric-mode "22.1")
274 274
275(provide 'nroff-mode) 275(provide 'nroff-mode)
276 276
277;;; arch-tag: 6e276340-6c65-4f65-b4e3-0ca431ddfb6c 277;; arch-tag: 6e276340-6c65-4f65-b4e3-0ca431ddfb6c
278;;; nroff-mode.el ends here 278;;; nroff-mode.el ends here
diff --git a/lisp/textmodes/org.el b/lisp/textmodes/org.el
index 0381854542a..3c70314703b 100644
--- a/lisp/textmodes/org.el
+++ b/lisp/textmodes/org.el
@@ -1,6 +1,6 @@
1;;; org.el --- Outline-based notes management and organize 1;;; org.el --- Outline-based notes management and organize
2;; Carstens outline-mode for keeping track of everything. 2;; Carstens outline-mode for keeping track of everything.
3;; Copyright (c) 2004, 2005, 2006 Free Software Foundation 3;; Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
4;; 4;;
5;; Author: Carsten Dominik <dominik at science dot uva dot nl> 5;; Author: Carsten Dominik <dominik at science dot uva dot nl>
6;; Keywords: outlines, hypermedia, calendar, wp 6;; Keywords: outlines, hypermedia, calendar, wp
diff --git a/lisp/textmodes/page-ext.el b/lisp/textmodes/page-ext.el
index 365ed19d9ce..280a8d28020 100644
--- a/lisp/textmodes/page-ext.el
+++ b/lisp/textmodes/page-ext.el
@@ -1,7 +1,7 @@
1;;; page-ext.el --- extended page handling commands 1;;; page-ext.el --- extended page handling commands
2 2
3;; Copyright (C) 1990, 1991, 1993, 1994, 2002, 2003, 2004, 3;; Copyright (C) 1990, 1991, 1993, 1994, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: Robert J. Chassell <bob@gnu.org> 6;; Maintainer: Robert J. Chassell <bob@gnu.org>
7;; Keywords: wp data 7;; Keywords: wp data
diff --git a/lisp/textmodes/page.el b/lisp/textmodes/page.el
index 3ec1eca1fb7..20458491808 100644
--- a/lisp/textmodes/page.el
+++ b/lisp/textmodes/page.el
@@ -1,6 +1,7 @@
1;;; page.el --- page motion commands for Emacs 1;;; page.el --- page motion commands for Emacs
2 2
3;; Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1985, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Maintainer: FSF 6;; Maintainer: FSF
6;; Keywords: wp convenience 7;; Keywords: wp convenience
diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el
index b196001c799..927fa644b9d 100644
--- a/lisp/textmodes/paragraphs.el
+++ b/lisp/textmodes/paragraphs.el
@@ -1,7 +1,7 @@
1;;; paragraphs.el --- paragraph and sentence parsing 1;;; paragraphs.el --- paragraph and sentence parsing
2 2
3;; Copyright (C) 1985, 1986, 1987, 1991, 1994, 1995, 1996, 1997, 1999, 2000, 3;; Copyright (C) 1985, 1986, 1987, 1991, 1994, 1995, 1996, 1997, 1999, 2000,
4;; 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: wp 7;; Keywords: wp
diff --git a/lisp/textmodes/picture.el b/lisp/textmodes/picture.el
index 78741065100..1c3e1baa9b1 100644
--- a/lisp/textmodes/picture.el
+++ b/lisp/textmodes/picture.el
@@ -1,7 +1,7 @@
1;;; picture.el --- "Picture mode" -- editing using quarter-plane screen model 1;;; picture.el --- "Picture mode" -- editing using quarter-plane screen model
2 2
3;; Copyright (C) 1985, 1994, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1994, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: K. Shane Hartman 6;; Author: K. Shane Hartman
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/textmodes/po.el b/lisp/textmodes/po.el
index c9af801bef0..07b9ba1a2b1 100644
--- a/lisp/textmodes/po.el
+++ b/lisp/textmodes/po.el
@@ -1,7 +1,7 @@
1;;; po.el --- basic support of PO translation files -*- coding: latin-1; -*- 1;;; po.el --- basic support of PO translation files -*- coding: latin-1; -*-
2 2
3;; Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Authors: François Pinard <pinard@iro.umontreal.ca>, 6;; Authors: François Pinard <pinard@iro.umontreal.ca>,
7;; Greg McGary <gkm@magilla.cichlid.com>, 7;; Greg McGary <gkm@magilla.cichlid.com>,
diff --git a/lisp/textmodes/refbib.el b/lisp/textmodes/refbib.el
index 99e2b780999..25613cff8ca 100644
--- a/lisp/textmodes/refbib.el
+++ b/lisp/textmodes/refbib.el
@@ -1,6 +1,7 @@
1;;; refbib.el --- convert refer-style references to ones usable by Latex bib 1;;; refbib.el --- convert refer-style references to ones usable by Latex bib
2 2
3;; Copyright (C) 1989, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1989, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Henry Kautz <kautz@research.att.com> 6;; Author: Henry Kautz <kautz@research.att.com>
6;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/textmodes/refer.el b/lisp/textmodes/refer.el
index 9fa0afe2046..ce0f96956df 100644
--- a/lisp/textmodes/refer.el
+++ b/lisp/textmodes/refer.el
@@ -1,7 +1,7 @@
1;;; refer.el --- look up references in bibliography files 1;;; refer.el --- look up references in bibliography files
2 2
3;; Copyright (C) 1992, 1996, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1992, 1996, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Ashwin Ram <ashwin@cc.gatech.edu> 6;; Author: Ashwin Ram <ashwin@cc.gatech.edu>
7;; Maintainer: Gernot Heiser <gernot@acm.org> 7;; Maintainer: Gernot Heiser <gernot@acm.org>
diff --git a/lisp/textmodes/refill.el b/lisp/textmodes/refill.el
index bf8938a7ec5..28ecd3bb4fe 100644
--- a/lisp/textmodes/refill.el
+++ b/lisp/textmodes/refill.el
@@ -1,6 +1,7 @@
1;;; refill.el --- `auto-fill' by refilling paragraphs on changes 1;;; refill.el --- `auto-fill' by refilling paragraphs on changes
2 2
3;; Copyright (C) 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2000, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Dave Love <fx@gnu.org> 6;; Author: Dave Love <fx@gnu.org>
6;; Maintainer: Miles Bader <miles@gnu.org> 7;; Maintainer: Miles Bader <miles@gnu.org>
diff --git a/lisp/textmodes/reftex-auc.el b/lisp/textmodes/reftex-auc.el
index 65815dd2885..ff044230803 100644
--- a/lisp/textmodes/reftex-auc.el
+++ b/lisp/textmodes/reftex-auc.el
@@ -1,6 +1,6 @@
1;;; reftex-auc.el --- RefTeX's interface to AUCTeX 1;;; reftex-auc.el --- RefTeX's interface to AUCTeX
2;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004, 2005 2;; Copyright (C) 1997, 1998, 1999, 2000, 2003, 2004, 2005,
3;; Free Software Foundation, Inc. 3;; 2006 Free Software Foundation, Inc.
4 4
5;; Author: Carsten Dominik <dominik@science.uva.nl> 5;; Author: Carsten Dominik <dominik@science.uva.nl>
6;; Version: VERSIONTAG 6;; Version: VERSIONTAG
@@ -75,7 +75,7 @@ What is being used depends upon `reftex-plug-into-AUCTeX'."
75 75
76 76
77(defun reftex-arg-index-tag (optional &optional prompt &rest args) 77(defun reftex-arg-index-tag (optional &optional prompt &rest args)
78 "Prompt for an index tag with completion. 78 "Prompt for an index tag with completion.
79This is the name of an index, not the entry." 79This is the name of an index, not the entry."
80 (let (tag taglist) 80 (let (tag taglist)
81 (setq prompt (concat (if optional "(Optional) " "") 81 (setq prompt (concat (if optional "(Optional) " "")
@@ -85,8 +85,8 @@ This is the name of an index, not the entry."
85 ;; Use RefTeX completion 85 ;; Use RefTeX completion
86 (progn 86 (progn
87 (reftex-access-scan-info nil) 87 (reftex-access-scan-info nil)
88 (setq taglist 88 (setq taglist
89 (cdr (assoc 'index-tags 89 (cdr (assoc 'index-tags
90 (symbol-value reftex-docstruct-symbol))) 90 (symbol-value reftex-docstruct-symbol)))
91 tag (completing-read prompt (mapcar 'list taglist)))) 91 tag (completing-read prompt (mapcar 'list taglist))))
92 ;; Just ask like AUCTeX does. 92 ;; Just ask like AUCTeX does.
@@ -131,7 +131,7 @@ argument identify one of multiple indices."
131 ;; Replace AUCTeX functions with RefTeX functions. 131 ;; Replace AUCTeX functions with RefTeX functions.
132 ;; Which functions are replaced is controlled by the variable 132 ;; Which functions are replaced is controlled by the variable
133 ;; `reftex-plug-into-AUCTeX'. 133 ;; `reftex-plug-into-AUCTeX'.
134 134
135 (if (reftex-plug-flag 0) 135 (if (reftex-plug-flag 0)
136 (setq LaTeX-label-function 'reftex-label) 136 (setq LaTeX-label-function 'reftex-label)
137 (setq LaTeX-label-function nil)) 137 (setq LaTeX-label-function nil))
@@ -143,11 +143,11 @@ argument identify one of multiple indices."
143 (and (reftex-plug-flag 3) 143 (and (reftex-plug-flag 3)
144 (fboundp 'TeX-arg-cite) 144 (fboundp 'TeX-arg-cite)
145 (fset 'TeX-arg-cite 'reftex-arg-cite)) 145 (fset 'TeX-arg-cite 'reftex-arg-cite))
146 146
147 (and (reftex-plug-flag 4) 147 (and (reftex-plug-flag 4)
148 (fboundp 'TeX-arg-index-tag) 148 (fboundp 'TeX-arg-index-tag)
149 (fset 'TeX-arg-index-tag 'reftex-arg-index-tag)) 149 (fset 'TeX-arg-index-tag 'reftex-arg-index-tag))
150 (and (reftex-plug-flag 4) 150 (and (reftex-plug-flag 4)
151 (fboundp 'TeX-arg-index) 151 (fboundp 'TeX-arg-index)
152 (fset 'TeX-arg-index 'reftex-arg-index))) 152 (fset 'TeX-arg-index 'reftex-arg-index)))
153 153
diff --git a/lisp/textmodes/reftex-cite.el b/lisp/textmodes/reftex-cite.el
index cb85ea201fa..c6f43a07d26 100644
--- a/lisp/textmodes/reftex-cite.el
+++ b/lisp/textmodes/reftex-cite.el
@@ -1,6 +1,6 @@
1;;; reftex-cite.el --- creating citations with RefTeX 1;;; reftex-cite.el --- creating citations with RefTeX
2;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004, 2005 2;; Copyright (C) 1997, 1998, 1999, 2000, 2003, 2004, 2005,
3;; Free Software Foundation, Inc. 3;; 2006 Free Software Foundation, Inc.
4 4
5;; Author: Carsten Dominik <dominik@science.uva.nl> 5;; Author: Carsten Dominik <dominik@science.uva.nl>
6;; Version: VERSIONTAG 6;; Version: VERSIONTAG
diff --git a/lisp/textmodes/reftex-dcr.el b/lisp/textmodes/reftex-dcr.el
index 56adf2956c6..7546c654f70 100644
--- a/lisp/textmodes/reftex-dcr.el
+++ b/lisp/textmodes/reftex-dcr.el
@@ -1,6 +1,6 @@
1;;; reftex-dcr.el --- viewing cross references and citations with RefTeX 1;;; reftex-dcr.el --- viewing cross references and citations with RefTeX
2;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004, 2005 2;; Copyright (C) 1997, 1998, 1999, 2000, 2003, 2004, 2005,
3;; Free Software Foundation, Inc. 3;; 2006 Free Software Foundation, Inc.
4 4
5;; Author: Carsten Dominik <dominik@science.uva.nl> 5;; Author: Carsten Dominik <dominik@science.uva.nl>
6;; Version: VERSIONTAG 6;; Version: VERSIONTAG
diff --git a/lisp/textmodes/reftex-global.el b/lisp/textmodes/reftex-global.el
index 580a0c8e314..fafc1a30998 100644
--- a/lisp/textmodes/reftex-global.el
+++ b/lisp/textmodes/reftex-global.el
@@ -1,6 +1,6 @@
1;;; reftex-global.el --- operations on entire documents with RefTeX 1;;; reftex-global.el --- operations on entire documents with RefTeX
2;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004, 2005 2;; Copyright (C) 1997, 1998, 1999, 2000, 2003, 2004, 2005,
3;; Free Software Foundation, Inc. 3;; 2006 Free Software Foundation, Inc.
4 4
5;; Author: Carsten Dominik <dominik@science.uva.nl> 5;; Author: Carsten Dominik <dominik@science.uva.nl>
6;; Version: VERSIONTAG 6;; Version: VERSIONTAG
diff --git a/lisp/textmodes/reftex-index.el b/lisp/textmodes/reftex-index.el
index 65025645c0d..a7e7203a639 100644
--- a/lisp/textmodes/reftex-index.el
+++ b/lisp/textmodes/reftex-index.el
@@ -1,6 +1,6 @@
1;;; reftex-index.el --- index support with RefTeX 1;;; reftex-index.el --- index support with RefTeX
2;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004, 2005 2;; Copyright (C) 1997, 1998, 1999, 2000, 2003, 2004, 2005,
3;; Free Software Foundation, Inc. 3;; 2006 Free Software Foundation, Inc.
4 4
5;; Author: Carsten Dominik <dominik@science.uva.nl> 5;; Author: Carsten Dominik <dominik@science.uva.nl>
6;; Version: VERSIONTAG 6;; Version: VERSIONTAG
diff --git a/lisp/textmodes/reftex-parse.el b/lisp/textmodes/reftex-parse.el
index 032bcba7dc9..ce43840c888 100644
--- a/lisp/textmodes/reftex-parse.el
+++ b/lisp/textmodes/reftex-parse.el
@@ -1,6 +1,6 @@
1;;; reftex-parse.el --- parser functions for RefTeX 1;;; reftex-parse.el --- parser functions for RefTeX
2;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004, 2005 2;; Copyright (C) 1997, 1998, 1999, 2000, 2003, 2004, 2005,
3;; Free Software Foundation, Inc. 3;; 2006 Free Software Foundation, Inc.
4 4
5;; Author: Carsten Dominik <dominik@science.uva.nl> 5;; Author: Carsten Dominik <dominik@science.uva.nl>
6;; Version: VERSIONTAG 6;; Version: VERSIONTAG
diff --git a/lisp/textmodes/reftex-ref.el b/lisp/textmodes/reftex-ref.el
index c250806c118..f1a8d6d3965 100644
--- a/lisp/textmodes/reftex-ref.el
+++ b/lisp/textmodes/reftex-ref.el
@@ -1,6 +1,6 @@
1;;; reftex-ref.el --- code to create labels and references with RefTeX 1;;; reftex-ref.el --- code to create labels and references with RefTeX
2;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004, 2005 2;; Copyright (C) 1997, 1998, 1999, 2000, 2003, 2004, 2005,
3;; Free Software Foundation, Inc. 3;; 2006 Free Software Foundation, Inc.
4 4
5;; Author: Carsten Dominik <dominik@science.uva.nl> 5;; Author: Carsten Dominik <dominik@science.uva.nl>
6;; Version: VERSIONTAG 6;; Version: VERSIONTAG
diff --git a/lisp/textmodes/reftex-sel.el b/lisp/textmodes/reftex-sel.el
index f4fc8368a50..9aa7edbf438 100644
--- a/lisp/textmodes/reftex-sel.el
+++ b/lisp/textmodes/reftex-sel.el
@@ -1,6 +1,6 @@
1;;; reftex-sel.el --- the selection modes for RefTeX 1;;; reftex-sel.el --- the selection modes for RefTeX
2;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2440, 2005 2;; Copyright (C) 1997, 1998, 1999, 2000, 2003, 2440, 2005,
3;; Free Software Foundation, Inc. 3;; 2006 Free Software Foundation, Inc.
4 4
5;; Author: Carsten Dominik <dominik@science.uva.nl> 5;; Author: Carsten Dominik <dominik@science.uva.nl>
6;; Version: VERSIONTAG 6;; Version: VERSIONTAG
diff --git a/lisp/textmodes/reftex-toc.el b/lisp/textmodes/reftex-toc.el
index 541b3091af0..f9eb3cfef82 100644
--- a/lisp/textmodes/reftex-toc.el
+++ b/lisp/textmodes/reftex-toc.el
@@ -1,6 +1,6 @@
1;;; reftex-toc.el --- RefTeX's table of contents mode 1;;; reftex-toc.el --- RefTeX's table of contents mode
2;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004, 2005 2;; Copyright (C) 1997, 1998, 1999, 2000, 2003, 2004, 2005,
3;; Free Software Foundation, Inc. 3;; 2006 Free Software Foundation, Inc.
4 4
5;; Author: Carsten Dominik <dominik@science.uva.nl> 5;; Author: Carsten Dominik <dominik@science.uva.nl>
6;; Version: VERSIONTAG 6;; Version: VERSIONTAG
diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el
index 01e8a1b4ddf..b8eddcd0386 100644
--- a/lisp/textmodes/reftex-vars.el
+++ b/lisp/textmodes/reftex-vars.el
@@ -1,6 +1,6 @@
1;;; reftex-vars.el --- configuration variables for RefTeX 1;;; reftex-vars.el --- configuration variables for RefTeX
2;; Copyright (c) 1997, 1998, 1999, 2003, 2004, 2005 2;; Copyright (C) 1997, 1998, 1999, 2003, 2004, 2005,
3;; Free Software Foundation, Inc. 3;; 2006 Free Software Foundation, Inc.
4 4
5;; Author: Carsten Dominik <dominik@science.uva.nl> 5;; Author: Carsten Dominik <dominik@science.uva.nl>
6;; Version: VERSIONTAG 6;; Version: VERSIONTAG
diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el
index 386f19f1797..cb2e960225d 100644
--- a/lisp/textmodes/reftex.el
+++ b/lisp/textmodes/reftex.el
@@ -1,6 +1,6 @@
1;;; reftex.el --- minor mode for doing \label, \ref, \cite, \index in LaTeX 1;;; reftex.el --- minor mode for doing \label, \ref, \cite, \index in LaTeX
2;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004, 2005 2;; Copyright (C) 1997, 1998, 1999, 2000, 2003, 2004, 2005,
3;; Free Software Foundation, Inc. 3;; 2006 Free Software Foundation, Inc.
4 4
5;; Author: Carsten Dominik <dominik@science.uva.nl> 5;; Author: Carsten Dominik <dominik@science.uva.nl>
6;; Version: VERSIONTAG 6;; Version: VERSIONTAG
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el
index 77f625b8456..ff6df4a5a56 100644
--- a/lisp/textmodes/sgml-mode.el
+++ b/lisp/textmodes/sgml-mode.el
@@ -1,7 +1,7 @@
1;;; sgml-mode.el --- SGML- and HTML-editing modes -*- coding: iso-2022-7bit -*- 1;;; sgml-mode.el --- SGML- and HTML-editing modes -*- coding: iso-2022-7bit -*-
2 2
3;; Copyright (C) 1992, 1995, 1996, 1998, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1992, 1995, 1996, 1998, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: James Clark <jjc@jclark.com> 6;; Author: James Clark <jjc@jclark.com>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/textmodes/spell.el b/lisp/textmodes/spell.el
index 077e9b0fd35..ddc6788123d 100644
--- a/lisp/textmodes/spell.el
+++ b/lisp/textmodes/spell.el
@@ -1,6 +1,7 @@
1;;; spell.el --- spelling correction interface for Emacs 1;;; spell.el --- spelling correction interface for Emacs
2 2
3;; Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1985, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Maintainer: FSF 6;; Maintainer: FSF
6;; Keywords: wp, unix 7;; Keywords: wp, unix
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index bdd4e659a0e..97153e31a25 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -1,7 +1,7 @@
1;;; tex-mode.el --- TeX, LaTeX, and SliTeX mode commands -*- coding: utf-8 -*- 1;;; tex-mode.el --- TeX, LaTeX, and SliTeX mode commands -*- coding: utf-8 -*-
2 2
3;; Copyright (C) 1985, 1986, 1989, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 3;; Copyright (C) 1985, 1986, 1989, 1992, 1994, 1995, 1996, 1997, 1998, 1999,
4;; 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: tex 7;; Keywords: tex
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el
index 15a15eb37fb..8794ebddc15 100644
--- a/lisp/textmodes/texinfmt.el
+++ b/lisp/textmodes/texinfmt.el
@@ -2,7 +2,7 @@
2 2
3;; Copyright (C) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 3;; Copyright (C) 1985, 1986, 1988, 1990, 1991, 1992, 1993,
4;; 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002, 2003, 4;; 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002, 2003,
5;; 2004, 2005 Free Software Foundation, Inc. 5;; 2004, 2005, 2006 Free Software Foundation, Inc.
6 6
7;; Maintainer: Robert J. Chassell <bug-texinfo@gnu.org> 7;; Maintainer: Robert J. Chassell <bug-texinfo@gnu.org>
8;; Keywords: maint, tex, docs 8;; Keywords: maint, tex, docs
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el
index 8392e56dc00..36603174948 100644
--- a/lisp/textmodes/texinfo.el
+++ b/lisp/textmodes/texinfo.el
@@ -1,7 +1,7 @@
1;;; texinfo.el --- major mode for editing Texinfo files -*- coding: iso-2022-7bit -*- 1;;; texinfo.el --- major mode for editing Texinfo files -*- coding: iso-2022-7bit -*-
2 2
3;; Copyright (C) 1985, 1988, 1989, 1990, 1991, 1992, 1993, 1996, 1997, 3;; Copyright (C) 1985, 1988, 1989, 1990, 1991, 1992, 1993, 1996, 1997,
4;; 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Robert J. Chassell 6;; Author: Robert J. Chassell
7;; Date: [See date below for texinfo-version] 7;; Date: [See date below for texinfo-version]
diff --git a/lisp/textmodes/texnfo-upd.el b/lisp/textmodes/texnfo-upd.el
index 110981d33b0..29af72162d0 100644
--- a/lisp/textmodes/texnfo-upd.el
+++ b/lisp/textmodes/texnfo-upd.el
@@ -1,7 +1,7 @@
1;;; texnfo-upd.el --- utilities for updating nodes and menus in Texinfo files 1;;; texnfo-upd.el --- utilities for updating nodes and menus in Texinfo files
2 2
3;; Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Robert J. Chassell 6;; Author: Robert J. Chassell
7;; Maintainer: bug-texinfo@gnu.org 7;; Maintainer: bug-texinfo@gnu.org
diff --git a/lisp/textmodes/text-mode.el b/lisp/textmodes/text-mode.el
index 5e4cfc88471..a4b67057676 100644
--- a/lisp/textmodes/text-mode.el
+++ b/lisp/textmodes/text-mode.el
@@ -1,7 +1,7 @@
1;;; text-mode.el --- text mode, and its idiosyncratic commands 1;;; text-mode.el --- text mode, and its idiosyncratic commands
2 2
3;; Copyright (C) 1985, 1992, 1994, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1992, 1994, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: wp 7;; Keywords: wp
diff --git a/lisp/textmodes/tildify.el b/lisp/textmodes/tildify.el
index 1810e41cbca..bf6edac230c 100644
--- a/lisp/textmodes/tildify.el
+++ b/lisp/textmodes/tildify.el
@@ -1,7 +1,7 @@
1;;; tildify.el --- adding hard spaces into texts 1;;; tildify.el --- adding hard spaces into texts
2 2
3;; Copyright (C) 1997, 1998, 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1997, 1998, 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Milan Zamazal <pdm@zamazal.org> 6;; Author: Milan Zamazal <pdm@zamazal.org>
7;; Version: 4.5 7;; Version: 4.5
diff --git a/lisp/textmodes/two-column.el b/lisp/textmodes/two-column.el
index 1e83b7a725b..b8ab100c19d 100644
--- a/lisp/textmodes/two-column.el
+++ b/lisp/textmodes/two-column.el
@@ -1,7 +1,7 @@
1;;; two-column.el --- minor mode for editing of two-column text 1;;; two-column.el --- minor mode for editing of two-column text
2 2
3;; Copyright (C) 1992, 1993, 1994, 1995, 2002, 2003, 2004, 3;; Copyright (C) 1992, 1993, 1994, 1995, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Daniel Pfeiffer <occitan@esperanto.org> 6;; Author: Daniel Pfeiffer <occitan@esperanto.org>
7;; Adapted-By: ESR, Daniel Pfeiffer 7;; Adapted-By: ESR, Daniel Pfeiffer
diff --git a/lisp/textmodes/underline.el b/lisp/textmodes/underline.el
index 3c67307da51..8e8ef3b399e 100644
--- a/lisp/textmodes/underline.el
+++ b/lisp/textmodes/underline.el
@@ -1,6 +1,7 @@
1;;; underline.el --- insert/remove underlining (done by overstriking) in Emacs 1;;; underline.el --- insert/remove underlining (done by overstriking) in Emacs
2 2
3;; Copyright (C) 1985, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1985, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Maintainer: FSF 6;; Maintainer: FSF
6;; Keywords: wp 7;; Keywords: wp
diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el
index c76a3bf2d70..27fecacdd36 100644
--- a/lisp/thingatpt.el
+++ b/lisp/thingatpt.el
@@ -1,7 +1,7 @@
1;;; thingatpt.el --- get the `thing' at point 1;;; thingatpt.el --- get the `thing' at point
2 2
3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000 3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000
4;; 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Mike Williams <mikew@gopher.dosli.govt.nz> 6;; Author: Mike Williams <mikew@gopher.dosli.govt.nz>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/thumbs.el b/lisp/thumbs.el
index bcab502b0f4..ff5fcf2b33c 100644
--- a/lisp/thumbs.el
+++ b/lisp/thumbs.el
@@ -1,6 +1,6 @@
1;;; thumbs.el --- Thumbnails previewer for images files 1;;; thumbs.el --- Thumbnails previewer for images files
2 2
3;; Copyright (C) 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Jean-Philippe Theberge <jphiltheberge@videotron.ca> 5;; Author: Jean-Philippe Theberge <jphiltheberge@videotron.ca>
6;; Maintainer: FSF 6;; Maintainer: FSF
diff --git a/lisp/time-stamp.el b/lisp/time-stamp.el
index 7020dd0c2b7..3e3fcf78ae6 100644
--- a/lisp/time-stamp.el
+++ b/lisp/time-stamp.el
@@ -1,11 +1,11 @@
1;;; time-stamp.el --- Maintain last change time stamps in files edited by Emacs 1;;; time-stamp.el --- Maintain last change time stamps in files edited by Emacs
2 2
3;; Copyright (C) 1989, 1993, 1994, 1995, 1997, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1989, 1993, 1994, 1995, 1997, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; This file is part of GNU Emacs. 6;; This file is part of GNU Emacs.
7 7
8;; Maintainer's Time-stamp: <2004-09-25 20:55:35 gildea> 8;; Maintainer's Time-stamp: <2006-02-06 15:11:58 ttn>
9;; Maintainer: Stephen Gildea <gildea@stop.mail-abuse.org> 9;; Maintainer: Stephen Gildea <gildea@stop.mail-abuse.org>
10;; Keywords: tools 10;; Keywords: tools
11 11
diff --git a/lisp/time.el b/lisp/time.el
index 614bb055b25..115681c1b58 100644
--- a/lisp/time.el
+++ b/lisp/time.el
@@ -1,7 +1,7 @@
1;;; time.el --- display time, load and mail indicator in mode line of Emacs -*-coding: utf-8 -*- 1;;; time.el --- display time, load and mail indicator in mode line of Emacs -*-coding: utf-8 -*-
2 2
3;; Copyright (C) 1985, 1986, 1987, 1993, 1994, 1996, 2000, 2001, 2002, 3;; Copyright (C) 1985, 1986, 1987, 1993, 1994, 1996, 2000, 2001, 2002,
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7 7
diff --git a/lisp/timezone.el b/lisp/timezone.el
index 7093aec22a4..2529f7da865 100644
--- a/lisp/timezone.el
+++ b/lisp/timezone.el
@@ -1,7 +1,7 @@
1;;; timezone.el --- time zone package for GNU Emacs 1;;; timezone.el --- time zone package for GNU Emacs
2 2
3;; Copyright (C) 1990, 1991, 1992, 1993, 1996, 1999, 2002, 2003, 3;; Copyright (C) 1990, 1991, 1992, 1993, 1996, 1999, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Masanobu Umeda 6;; Author: Masanobu Umeda
7;; Maintainer: umerin@mse.kyutech.ac.jp 7;; Maintainer: umerin@mse.kyutech.ac.jp
diff --git a/lisp/tmm.el b/lisp/tmm.el
index f73e3fa0980..86c326616aa 100644
--- a/lisp/tmm.el
+++ b/lisp/tmm.el
@@ -1,7 +1,7 @@
1;;; tmm.el --- text mode access to menu-bar 1;;; tmm.el --- text mode access to menu-bar
2 2
3;; Copyright (C) 1994, 1995, 1996, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1994, 1995, 1996, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Ilya Zakharevich <ilya@math.mps.ohio-state.edu> 6;; Author: Ilya Zakharevich <ilya@math.mps.ohio-state.edu>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/tool-bar.el b/lisp/tool-bar.el
index 15321a4ffd8..0a1d706a694 100644
--- a/lisp/tool-bar.el
+++ b/lisp/tool-bar.el
@@ -1,7 +1,7 @@
1;;; tool-bar.el --- setting up the tool bar 1;;; tool-bar.el --- setting up the tool bar
2;; 2;;
3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5;; 5;;
6;; Author: Dave Love <fx@gnu.org> 6;; Author: Dave Love <fx@gnu.org>
7;; Keywords: mouse frames 7;; Keywords: mouse frames
diff --git a/lisp/tooltip.el b/lisp/tooltip.el
index 5d19e8cfba4..8dc811c09e6 100644
--- a/lisp/tooltip.el
+++ b/lisp/tooltip.el
@@ -1,7 +1,7 @@
1;;; tooltip.el --- show tooltip windows 1;;; tooltip.el --- show tooltip windows
2 2
3;; Copyright (C) 1997, 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1997, 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Gerd Moellmann <gerd@acm.org> 6;; Author: Gerd Moellmann <gerd@acm.org>
7;; Keywords: help c mouse tools 7;; Keywords: help c mouse tools
diff --git a/lisp/tree-widget.el b/lisp/tree-widget.el
index 8ee1d5f9ed9..55385d42e95 100644
--- a/lisp/tree-widget.el
+++ b/lisp/tree-widget.el
@@ -1,6 +1,6 @@
1;;; tree-widget.el --- Tree widget 1;;; tree-widget.el --- Tree widget
2 2
3;; Copyright (C) 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: David Ponce <david@dponce.com> 5;; Author: David Ponce <david@dponce.com>
6;; Maintainer: David Ponce <david@dponce.com> 6;; Maintainer: David Ponce <david@dponce.com>
diff --git a/lisp/tumme.el b/lisp/tumme.el
index 91d7f72b5b9..8f75da24ca2 100644
--- a/lisp/tumme.el
+++ b/lisp/tumme.el
@@ -1,8 +1,8 @@
1;;; tumme.el --- use dired to browse and manipulate your images 1;;; tumme.el --- use dired to browse and manipulate your images
2;; 2;;
3;; Copyright (C) 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2005, 2006 Free Software Foundation, Inc.
4;; 4;;
5;; Version: 0.4.10 5;; Version: 0.4.11
6;; Keywords: multimedia 6;; Keywords: multimedia
7;; Author: Mathias Dahl <mathias.rem0veth1s.dahl@gmail.com> 7;; Author: Mathias Dahl <mathias.rem0veth1s.dahl@gmail.com>
8 8
@@ -57,8 +57,8 @@
57;; 57;;
58;; `tumme' stores the thumbnail files in `tumme-dir' using the file 58;; `tumme' stores the thumbnail files in `tumme-dir' using the file
59;; name format ORIGNAME.thumb.ORIGEXT. For example 59;; name format ORIGNAME.thumb.ORIGEXT. For example
60;; ~/.tumme/myimage01.thumb.jpg. The "database" is for now just a 60;; ~/.emacs.d/tumme/myimage01.thumb.jpg. The "database" is for now
61;; plain text file with the following format: 61;; just a plain text file with the following format:
62;; 62;;
63;; file-name-non-directory;comment:comment-text;tag1;tag2;tag3;...;tagN 63;; file-name-non-directory;comment:comment-text;tag1;tag2;tag3;...;tagN
64;; 64;;
@@ -128,11 +128,6 @@
128;; LIMITATIONS 128;; LIMITATIONS
129;; =========== 129;; ===========
130;; 130;;
131;; * In order to work well, `tumme' require that all your images have
132;; unique names. The reason is the way thumbnail file names are
133;; generated. I will probably not fix this problem as my images all
134;; have unique names.
135;;
136;; * Supports all image formats that Emacs and convert supports, but 131;; * Supports all image formats that Emacs and convert supports, but
137;; the thumbnails are hard-coded to JPEG format. 132;; the thumbnails are hard-coded to JPEG format.
138;; 133;;
@@ -489,10 +484,41 @@
489;; * To be included in Emacs 22. 484;; * To be included in Emacs 22.
490;; 485;;
491;; 486;;
487;; Version 0.4.11, 2006-MM-DD
488;;
489;; * Changed `tumme-display-thumbs' so that it calls `display-buffer'
490;; after generating the thumbnails and changed
491;; `tumme-display-thumbnail-original-image' to display the image
492;; buffer. These small changes should make it easier for a user to
493;; start using tumme.
494;;
495;; * Added `tumme-show-all-from-dir' to mimic thumbs.el's easy-to-use
496;; `thumbs' command. A new customize option,
497;; `tumme-show-all-from-dir-max-files' was added too.
498;;
499;; * Renamed `tumme-dired' to `tumme-dired-with-window-configuration'
500;; and added code to save the window configuration before messing it
501;; up. The saved window configuration can be restored using the new
502;; command `tumme-restore-window-configuration'.
503;;
504;; * Added `tumme-get-thumbnail-image', created by Chong Yidong. His
505;; own comments: ..., that just takes the original filename and
506;; returns a thumbnail image descriptor. Then third-party libraries
507;; won't have to muck around with tumme.el's internal functions like
508;; `thumme-thumb-name', `tumme-create-thumb', etc. His code to get
509;; speedbar display tumme thumbnails, might be integrated soon.
510;;
511;; * Changed the default value of `tumme-dir' to "~/.emacs.d/tumme"
512;; and added a new function, `tumme-dir' to handle the creating of
513;; it. Code copied from thumbs.el.
514;;
492;; 515;;
493;; TODO 516;; TODO
494;; ==== 517;; ====
495;; 518;;
519;; * Look into supporting the Thumbnail Managing Standard, maybe as a
520;; configurable option.
521;;
496;; * Support gallery creation when using per-directory thumbnail 522;; * Support gallery creation when using per-directory thumbnail
497;; storage. 523;; storage.
498;; 524;;
@@ -506,10 +532,16 @@
506;; files. 532;; files.
507;; 533;;
508;; * From thumbs.el: Add an option for clean-up/max-size functionality 534;; * From thumbs.el: Add an option for clean-up/max-size functionality
509;; for thumbnail directory. 535;; for thumbnail directory.
510;; 536;;
511;; * From thumbs.el: Add setroot function. 537;; * From thumbs.el: Add setroot function.
512;; 538;;
539;; * From thumbs.el: Add image resizing, if useful (tumme's automatic
540;; "image fit" might be enough)
541;;
542;; * From thumbs.el: Add the "modify" commands (emboss, negate,
543;; monochrome etc).
544;;
513;; * Asynchronous creation of thumbnails. 545;; * Asynchronous creation of thumbnails.
514;; 546;;
515;; * Add `tumme-display-thumbs-ring' and functions to cycle that. Find 547;; * Add `tumme-display-thumbs-ring' and functions to cycle that. Find
@@ -524,7 +556,8 @@
524;; `dired-next-line' and `dired-previous-line' figure out if tumme is 556;; `dired-next-line' and `dired-previous-line' figure out if tumme is
525;; enabled in the current buffer and, if it is, call 557;; enabled in the current buffer and, if it is, call
526;; `tumme-dired-next-line' and `tumme-dired-previous-line', 558;; `tumme-dired-next-line' and `tumme-dired-previous-line',
527;; respectively. 559;; respectively. Update: This is partly done; some bindings have now
560;; been added to dired.
528;; 561;;
529;; * Enhanced gallery creation with basic CSS-support and pagination 562;; * Enhanced gallery creation with basic CSS-support and pagination
530;; of tag pages with many pictures. 563;; of tag pages with many pictures.
@@ -548,8 +581,8 @@
548 :prefix "tumme-" 581 :prefix "tumme-"
549 :group 'files) 582 :group 'files)
550 583
551(defcustom tumme-dir "~/.tumme/" 584(defcustom tumme-dir "~/.emacs.d/tumme/"
552 "*Directory where thumbnail images for are stored." 585 "*Directory where thumbnail images are stored."
553 :type 'string 586 :type 'string
554 :group 'tumme) 587 :group 'tumme)
555 588
@@ -565,17 +598,17 @@ means that each thumbnail is stored in a subdirectory called
565 (const :tag "Per-directory" per-directory)) 598 (const :tag "Per-directory" per-directory))
566 :group 'tumme) 599 :group 'tumme)
567 600
568(defcustom tumme-db-file "~/.tumme/.tumme_db" 601(defcustom tumme-db-file "~/.emacs.d/tumme/.tumme_db"
569 "*Database file where file names and their associated tags are stored." 602 "*Database file where file names and their associated tags are stored."
570 :type 'string 603 :type 'string
571 :group 'tumme) 604 :group 'tumme)
572 605
573(defcustom tumme-temp-image-file "~/.tumme/.tumme_temp" 606(defcustom tumme-temp-image-file "~/.emacs.d/tumme/.tumme_temp"
574 "*Name of temporary image file used by various commands." 607 "*Name of temporary image file used by various commands."
575 :type 'string 608 :type 'string
576 :group 'tumme) 609 :group 'tumme)
577 610
578(defcustom tumme-gallery-dir "~/.tumme/.tumme_gallery" 611(defcustom tumme-gallery-dir "~/.emacs.d/tumme/.tumme_gallery"
579 "*Directory to store generated gallery html pages. 612 "*Directory to store generated gallery html pages.
580This path needs to be \"shared\" to the public so that it can access 613This path needs to be \"shared\" to the public so that it can access
581the index.html page that tumme creates." 614the index.html page that tumme creates."
@@ -667,12 +700,12 @@ Available options are %p which is replaced by
667number of (positive) degrees to rotate the image, normally 90 or 700number of (positive) degrees to rotate the image, normally 90 or
668270 \(for 90 degrees right and left), %o which is replaced by the 701270 \(for 90 degrees right and left), %o which is replaced by the
669original image file name and %t which is replaced by 702original image file name and %t which is replaced by
670`tumme-temp-image-file'" 703`tumme-temp-image-file'."
671 :type 'string 704 :type 'string
672 :group 'tumme) 705 :group 'tumme)
673 706
674(defcustom tumme-temp-rotate-image-file 707(defcustom tumme-temp-rotate-image-file
675 "~/.tumme/.tumme_rotate_temp" 708 "~/.emacs.d/tumme/.tumme_rotate_temp"
676 "*Temporary file for rotate operations." 709 "*Temporary file for rotate operations."
677 :type 'string 710 :type 'string
678 :group 'tumme) 711 :group 'tumme)
@@ -760,7 +793,7 @@ line-up means that no automatic line-up will be done."
760 :group 'tumme) 793 :group 'tumme)
761 794
762(defcustom tumme-display-window-width-correction 1 795(defcustom tumme-display-window-width-correction 1
763 "*Number to be used to correct image display window height. 796 "*Number to be used to correct image display window width.
764Change if the default (1) does not work (i.e. if the image does not 797Change if the default (1) does not work (i.e. if the image does not
765completely fit)." 798completely fit)."
766 :type 'integer 799 :type 'integer
@@ -768,7 +801,7 @@ completely fit)."
768 801
769(defcustom tumme-display-window-height-correction 0 802(defcustom tumme-display-window-height-correction 0
770 "*Number to be used to correct image display window height. 803 "*Number to be used to correct image display window height.
771Use if the default (0) does not work (i.e. if the image does not 804Change if the default (0) does not work (i.e. if the image does not
772completely fit)." 805completely fit)."
773 :type 'integer 806 :type 'integer
774 :group 'tumme) 807 :group 'tumme)
@@ -801,7 +834,7 @@ dired and you might want to turn it off."
801 :group 'tumme) 834 :group 'tumme)
802 835
803(defcustom tumme-display-properties-format "%b: %f (%t): %c" 836(defcustom tumme-display-properties-format "%b: %f (%t): %c"
804 "* Display format for thumbnail properties. 837 "*Display format for thumbnail properties.
805%b is replaced with associated dired buffer name, %f with file name 838%b is replaced with associated dired buffer name, %f with file name
806\(without path) of original image file, %t with the list of tags and %c 839\(without path) of original image file, %t with the list of tags and %c
807with the comment." 840with the comment."
@@ -821,6 +854,22 @@ Used by `tumme-copy-with-exif-file-name'."
821 :type 'string 854 :type 'string
822 :group 'tumme) 855 :group 'tumme)
823 856
857(defcustom tumme-show-all-from-dir-max-files 50
858 "*Maximum number of files to show using`tumme-show-all-from-dir'.
859before warning the user."
860 :type 'integer
861 :group 'tumme)
862
863(defun tumme-dir ()
864 "Return the current thumbnails directory (from `tumme-dir').
865Create the thumbnails directory if it does not exist."
866 (let ((tumme-dir (file-name-as-directory
867 (expand-file-name tumme-dir))))
868 (unless (file-directory-p tumme-dir)
869 (make-directory tumme-dir t)
870 (message "Creating thumbnails directory"))
871 tumme-dir))
872
824(defun tumme-insert-image (file type relief margin) 873(defun tumme-insert-image (file type relief margin)
825 "Insert image FILE of image TYPE, using RELIEF and MARGIN, at point." 874 "Insert image FILE of image TYPE, using RELIEF and MARGIN, at point."
826 875
@@ -830,6 +879,18 @@ Used by `tumme-copy-with-exif-file-name'."
830 :margin ,margin))) 879 :margin ,margin)))
831 (insert-image i))) 880 (insert-image i)))
832 881
882(defun tumme-get-thumbnail-image (file)
883 "Return the image descriptor for a thumbnail of image file FILE."
884 (unless (string-match (image-file-name-regexp) file)
885 (error "%s is not a valid image file" file))
886 (let ((thumb-file (tumme-thumb-name file)))
887 (unless (and (file-exists-p thumb-file)
888 (<= (float-time (nth 5 (file-attributes file)))
889 (float-time (nth 5 (file-attributes thumb-file)))))
890 (tumme-create-thumb file thumb-file))
891 (list 'image :type 'jpeg :file thumb-file
892 :relief tumme-thumb-relief :margin tumme-thumb-margin)))
893
833(defun tumme-insert-thumbnail (file original-file-name 894(defun tumme-insert-thumbnail (file original-file-name
834 associated-dired-buffer) 895 associated-dired-buffer)
835 "Insert thumbnail image FILE. 896 "Insert thumbnail image FILE.
@@ -867,7 +928,7 @@ add a subdirectory."
867 ;; be used here. 928 ;; be used here.
868 (setq md5-hash (md5 (file-name-as-directory 929 (setq md5-hash (md5 (file-name-as-directory
869 (file-name-directory file)))) 930 (file-name-directory file))))
870 (file-name-as-directory (expand-file-name tumme-dir))) 931 (file-name-as-directory (expand-file-name (tumme-dir))))
871 ((eq 'per-directory tumme-thumbnail-storage) 932 ((eq 'per-directory tumme-thumbnail-storage)
872 (format "%s.tumme/" 933 (format "%s.tumme/"
873 (file-name-directory f)))) 934 (file-name-directory f))))
@@ -969,8 +1030,11 @@ add a subdirectory."
969 (tumme-display-image-mode))) 1030 (tumme-display-image-mode)))
970 buf)) 1031 buf))
971 1032
1033(defvar tumme-saved-window-configuration nil
1034 "Saved window configuration.")
1035
972;;;###autoload 1036;;;###autoload
973(defun tumme-dired (dir &optional arg) 1037(defun tumme-dired-with-window-configuration (dir &optional arg)
974 "Open directory DIR and create a default window configuration. 1038 "Open directory DIR and create a default window configuration.
975 1039
976Convenience command that: 1040Convenience command that:
@@ -979,11 +1043,21 @@ Convenience command that:
979 - Splits windows in most useful (?) way 1043 - Splits windows in most useful (?) way
980 - Set `truncate-lines' to t 1044 - Set `truncate-lines' to t
981 1045
982If called with prefix argument ARG, skip splitting of windows." 1046After the command has finished, you would typically mark some
1047image files in dired and type
1048\\[tumme-display-thumbs] (`tumme-display-thumbs').
1049
1050If called with prefix argument ARG, skip splitting of windows.
1051
1052The current window configuration is saved and can be restored by
1053calling `tumme-restore-window-configuration'."
983 (interactive "DDirectory: \nP") 1054 (interactive "DDirectory: \nP")
984 (let ((buf (tumme-create-thumbnail-buffer)) 1055 (let ((buf (tumme-create-thumbnail-buffer))
985 (buf2 (tumme-create-display-image-buffer))) 1056 (buf2 (tumme-create-display-image-buffer)))
1057 (setq tumme-saved-window-configuration
1058 (current-window-configuration))
986 (dired dir) 1059 (dired dir)
1060 (delete-other-windows)
987 (when (not arg) 1061 (when (not arg)
988 (split-window-horizontally) 1062 (split-window-horizontally)
989 (setq truncate-lines t) 1063 (setq truncate-lines t)
@@ -995,6 +1069,16 @@ If called with prefix argument ARG, skip splitting of windows."
995 (switch-to-buffer buf2) 1069 (switch-to-buffer buf2)
996 (other-window -2))))) 1070 (other-window -2)))))
997 1071
1072(defun tumme-restore-window-configuration ()
1073 "Restore window configuration.
1074Restore any changes to the window configuration made by calling
1075`tumme-dired-with-window-configuration'."
1076 (interactive)
1077 (if tumme-saved-window-configuration
1078 (set-window-configuration tumme-saved-window-configuration)
1079 (message "No saved window configuration")))
1080
1081;;;###autoload
998(defun tumme-display-thumbs (&optional arg append) 1082(defun tumme-display-thumbs (&optional arg append)
999 "Display thumbnails of all marked files, in `tumme-thumbnail-buffer'. 1083 "Display thumbnails of all marked files, in `tumme-thumbnail-buffer'.
1000If a thumbnail image does not exist for a file, it is created on the 1084If a thumbnail image does not exist for a file, it is created on the
@@ -1038,7 +1122,31 @@ instead of erasing it first."
1038 ((eq 'none tumme-line-up-method) 1122 ((eq 'none tumme-line-up-method)
1039 nil) 1123 nil)
1040 (t 1124 (t
1041 (tumme-line-up-dynamic)))))) 1125 (tumme-line-up-dynamic))))
1126 (pop-to-buffer tumme-thumbnail-buffer)))
1127
1128(defun tumme-show-all-from-dir (dir)
1129 "Make a preview buffer for all images in DIR and display it.
1130If the number of files in DIR matching `image-file-name-regexp'
1131exceeds `tumme-show-all-from-dir-max-files', a warning will be
1132displayed."
1133 (interactive "DDir: ")
1134 (dired dir)
1135 (dired-mark-files-regexp (image-file-name-regexp))
1136 (let ((files (dired-get-marked-files)))
1137 (if (or (<= (length files) tumme-show-all-from-dir-max-files)
1138 (and (> (length files) tumme-show-all-from-dir-max-files)
1139 (y-or-n-p
1140 (format
1141 "Directory contains more than %d image files. Proceed? "
1142 tumme-show-all-from-dir-max-files))))
1143 (progn
1144 (tumme-display-thumbs)
1145 (pop-to-buffer tumme-thumbnail-buffer))
1146 (message "Cancelled."))))
1147
1148;;;###autoload
1149(defalias 'tumme 'tumme-show-all-from-dir)
1042 1150
1043(defun tumme-write-tag (files tag) 1151(defun tumme-write-tag (files tag)
1044 "For all FILES, writes TAG to the image database." 1152 "For all FILES, writes TAG to the image database."
@@ -1125,6 +1233,7 @@ instead of erasing it first."
1125 (kill-buffer buf) 1233 (kill-buffer buf)
1126 (split-string tags ";")))) 1234 (split-string tags ";"))))
1127 1235
1236;;;###autoload
1128(defun tumme-tag-files (arg) 1237(defun tumme-tag-files (arg)
1129 "Tag marked file(s) in dired. With prefix ARG, tag file at point." 1238 "Tag marked file(s) in dired. With prefix ARG, tag file at point."
1130 (interactive "P") 1239 (interactive "P")
@@ -1143,6 +1252,7 @@ instead of erasing it first."
1143 (tumme-update-property 1252 (tumme-update-property
1144 'tags (tumme-list-tags (tumme-original-file-name)))) 1253 'tags (tumme-list-tags (tumme-original-file-name))))
1145 1254
1255;;;###autoload
1146(defun tumme-tag-remove (arg) 1256(defun tumme-tag-remove (arg)
1147 "Remove tag for selected file(s). 1257 "Remove tag for selected file(s).
1148With prefix argument ARG, remove tag from file at point." 1258With prefix argument ARG, remove tag from file at point."
@@ -1310,7 +1420,7 @@ move ARG lines."
1310(defun tumme-format-properties-string (buf file props comment) 1420(defun tumme-format-properties-string (buf file props comment)
1311 "Format display properties. 1421 "Format display properties.
1312BUF is the associated dired buffer, FILE is the original image file 1422BUF is the associated dired buffer, FILE is the original image file
1313name, PROPS is a list of tags and COMMENT is the images files's 1423name, PROPS is a list of tags and COMMENT is the image files's
1314comment." 1424comment."
1315 (format-spec 1425 (format-spec
1316 tumme-display-properties-format 1426 tumme-display-properties-format
@@ -1406,6 +1516,7 @@ You probably want to use this together with
1406 (select-window window)) 1516 (select-window window))
1407 (message "Associated dired buffer not visible")))) 1517 (message "Associated dired buffer not visible"))))
1408 1518
1519;;;###autoload
1409(defun tumme-jump-thumbnail-buffer () 1520(defun tumme-jump-thumbnail-buffer ()
1410 "Jump to thumbnail buffer." 1521 "Jump to thumbnail buffer."
1411 (interactive) 1522 (interactive)
@@ -1804,11 +1915,13 @@ Ask user for number of images to show and the delay in between."
1804 (if (looking-at " ") 1915 (if (looking-at " ")
1805 (delete-char 1)))) 1916 (delete-char 1))))
1806 1917
1918;;;###autoload
1807(defun tumme-display-thumbs-append () 1919(defun tumme-display-thumbs-append ()
1808 "Append thumbnails to `tumme-thumbnail-buffer'." 1920 "Append thumbnails to `tumme-thumbnail-buffer'."
1809 (interactive) 1921 (interactive)
1810 (tumme-display-thumbs nil t)) 1922 (tumme-display-thumbs nil t))
1811 1923
1924;;;###autoload
1812(defun tumme-display-thumb () 1925(defun tumme-display-thumb ()
1813 "Shorthard for `tumme-display-thumbs' with prefix argument." 1926 "Shorthard for `tumme-display-thumbs' with prefix argument."
1814 (interactive) 1927 (interactive)
@@ -1845,7 +1958,7 @@ See also `tumme-line-up-dynamic'."
1845 1958
1846(defun tumme-line-up-dynamic () 1959(defun tumme-line-up-dynamic ()
1847 "Line up thumbnails images dynamically. 1960 "Line up thumbnails images dynamically.
1848Calculate how many thumbnails that fits." 1961Calculate how many thumbnails fit."
1849 (interactive) 1962 (interactive)
1850 (let* ((char-width (frame-char-width)) 1963 (let* ((char-width (frame-char-width))
1851 (width (tumme-window-width-pixels (tumme-thumbnail-window))) 1964 (width (tumme-window-width-pixels (tumme-thumbnail-window)))
@@ -1858,7 +1971,7 @@ Calculate how many thumbnails that fits."
1858 1971
1859(defun tumme-line-up-interactive () 1972(defun tumme-line-up-interactive ()
1860 "Line up thumbnails interactively. 1973 "Line up thumbnails interactively.
1861Ask user how many thumbnails that should be displayed per row." 1974Ask user how many thumbnails should be displayed per row."
1862 (interactive) 1975 (interactive)
1863 (let ((tumme-thumbs-per-row 1976 (let ((tumme-thumbs-per-row
1864 (string-to-number (read-string "How many thumbs per row: ")))) 1977 (string-to-number (read-string "How many thumbs per row: "))))
@@ -1879,6 +1992,7 @@ Ask user how many thumbnails that should be displayed per row."
1879 tumme-external-viewer 1992 tumme-external-viewer
1880 file)))))) 1993 file))))))
1881 1994
1995;;;###autoload
1882(defun tumme-dired-display-external () 1996(defun tumme-dired-display-external ()
1883 "Display file at point using an external viewer." 1997 "Display file at point using an external viewer."
1884 (interactive) 1998 (interactive)
@@ -1984,8 +2098,10 @@ With prefix argument ARG, display image in its original size."
1984 (message "No thumbnail at point") 2098 (message "No thumbnail at point")
1985 (if (not file) 2099 (if (not file)
1986 (message "No original file name found") 2100 (message "No original file name found")
1987 (tumme-display-image file arg)))))) 2101 (tumme-display-image file arg)
2102 (display-buffer tumme-display-image-buffer))))))
1988 2103
2104;;;###autoload
1989(defun tumme-display-dired-image (&optional arg) 2105(defun tumme-display-dired-image (&optional arg)
1990 "Display current image file. 2106 "Display current image file.
1991See documentation for `tumme-display-image' for more information. 2107See documentation for `tumme-display-image' for more information.
@@ -2151,21 +2267,17 @@ default value at the prompt."
2151 2267
2152(defun tumme-copy-with-exif-file-name () 2268(defun tumme-copy-with-exif-file-name ()
2153 "Copy file with unique name to main image directory. 2269 "Copy file with unique name to main image directory.
2154Copy current or all marked files in dired to a new file in your main 2270Copy current or all marked files in dired to a new file in your
2155image directory, using a file name generated by 2271main image directory, using a file name generated by
2156`tumme-get-exif-file-name'. This might or might not be useful for 2272`tumme-get-exif-file-name'. A typical usage for this if when
2157other people, but I use it each time I fetch images from my digital 2273copying images from a digital camera into the image directory.
2158camera, for copying the images into my main image directory.
2159
2160Typically I open up the folder where I store my incoming digital
2161images, with file names like dscn0319.jpg, dscn0320.jpg etc., mark the
2162files I want to copy into my main image directory, and execute this
2163function. The result is a couple of new files in
2164`tumme-main-image-directory' called 2005_05_08_12_52_00_dscn0319.jpg,
21652005_05_08_14_27_45_dscn0320.jpg etc.
2166 2274
2167When the images are safely in my main image directory I start to 2275 Typically, you would open up the folder with the incoming
2168browse and tag them using rest of the functionality in `tumme'." 2276digital images, mark the files to be copied, and execute this
2277function. The result is a couple of new files in
2278`tumme-main-image-directory' called
22792005_05_08_12_52_00_dscn0319.jpg,
22802005_05_08_14_27_45_dscn0320.jpg etc."
2169 (interactive) 2281 (interactive)
2170 (let (new-name 2282 (let (new-name
2171 (files (dired-get-marked-files))) 2283 (files (dired-get-marked-files)))
@@ -2187,7 +2299,7 @@ browse and tag them using rest of the functionality in `tumme'."
2187 (tumme-display-thumbnail-original-image)) 2299 (tumme-display-thumbnail-original-image))
2188 2300
2189(defun tumme-display-previous-thumbnail-original () 2301(defun tumme-display-previous-thumbnail-original ()
2190 "Move to previous thumbnail and display image." 2302 "Move to previous thumbnail and display image."
2191 2303
2192 (interactive) 2304 (interactive)
2193 (tumme-backward-char) 2305 (tumme-backward-char)
@@ -2236,6 +2348,7 @@ browse and tag them using rest of the functionality in `tumme'."
2236 prop 2348 prop
2237 value))) 2349 value)))
2238 2350
2351;;;###autoload
2239(defun tumme-dired-comment-files () 2352(defun tumme-dired-comment-files ()
2240 "Add comment to current or marked files in dired." 2353 "Add comment to current or marked files in dired."
2241 (interactive) 2354 (interactive)
@@ -2256,8 +2369,9 @@ browse and tag them using rest of the functionality in `tumme'."
2256 (tumme-display-thumb-properties)) 2369 (tumme-display-thumb-properties))
2257 2370
2258(defun tumme-read-comment (&optional file) 2371(defun tumme-read-comment (&optional file)
2259 "Read comment, optionally using old comment from FILE as initial value." 2372 "Read comment for an image.
2260 2373Read comment for an image, optionally using old comment from FILE
2374as initial value."
2261 (let ((comment 2375 (let ((comment
2262 (read-string 2376 (read-string
2263 "Comment: " 2377 "Comment: "
@@ -2286,8 +2400,14 @@ browse and tag them using rest of the functionality in `tumme'."
2286 (kill-buffer buf) 2400 (kill-buffer buf)
2287 comment))) 2401 comment)))
2288 2402
2403;;;###autoload
2289(defun tumme-mark-tagged-files () 2404(defun tumme-mark-tagged-files ()
2290 "Use regexp to mark files with matching tag." 2405 "Use regexp to mark files with matching tag.
2406A `tag' is a keyword, a piece of meta data, associated with an
2407image file and stored in tumme's database file. This command
2408lets you input a regexp and this will be matched against all tags
2409on all image files in the database file. The files that have a
2410matching tags will be marked in the dired buffer."
2291 (interactive) 2411 (interactive)
2292 (let ((tag (read-string "Mark tagged files (regexp): ")) 2412 (let ((tag (read-string "Mark tagged files (regexp): "))
2293 (hits 0) 2413 (hits 0)
@@ -2506,7 +2626,7 @@ when using per-directory thumbnail file storage"))
2506 ;; Make sure gallery root exist 2626 ;; Make sure gallery root exist
2507 (if (file-exists-p tumme-gallery-dir) 2627 (if (file-exists-p tumme-gallery-dir)
2508 (if (not (file-directory-p tumme-gallery-dir)) 2628 (if (not (file-directory-p tumme-gallery-dir))
2509 (error "Tumme-gallery-dir is not a directory")) 2629 (error "Variable tumme-gallery-dir is not a directory"))
2510 (make-directory tumme-gallery-dir)) 2630 (make-directory tumme-gallery-dir))
2511 ;; Open index file 2631 ;; Open index file
2512 (setq index-buf (find-file 2632 (setq index-buf (find-file
@@ -2555,7 +2675,7 @@ when using per-directory thumbnail file storage"))
2555 ;; Insert thumbnail with link to full image 2675 ;; Insert thumbnail with link to full image
2556 (insert 2676 (insert
2557 (format "<a href=\"%s/%s\"><img src=\"%s/%s\"%s></a>\n" 2677 (format "<a href=\"%s/%s\"><img src=\"%s/%s\"%s></a>\n"
2558 tumme-gallery-image-root-url file 2678 tumme-gallery-image-root-url (file-name-nondirectory file)
2559 tumme-gallery-thumb-image-root-url 2679 tumme-gallery-thumb-image-root-url
2560 (file-name-nondirectory (tumme-thumb-name file)) file)) 2680 (file-name-nondirectory (tumme-thumb-name file)) file))
2561 ;; Insert comment, if any 2681 ;; Insert comment, if any
@@ -2597,38 +2717,53 @@ when using per-directory thumbnail file storage"))
2597 (error nil)) 2717 (error nil))
2598 (kill-buffer buffer))) 2718 (kill-buffer buffer)))
2599 2719
2600
2601;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 2720;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2602;;;;;;;;; TEST-SECTION ;;;;;;;;;;; 2721;;;;;;;;; TEST-SECTION ;;;;;;;;;;;
2603;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 2722;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2604 2723
2605 2724;; (defvar tumme-dir-max-size 12300000)
2606(defvar tumme-dir-max-size 12300000) 2725
2607 2726;; (defun tumme-test-clean-old-files ()
2608(defun tumme-test () 2727;; "Clean `tumme-dir' from old thumbnail files.
2609 "Clean `tumme-dir' from old thumbnail files. 2728;; \"Oldness\" measured using last access time. If the total size of all
2610\"Oldness\" measured using last access time. If the total size of all 2729;; thumbnail files in `tumme-dir' is larger than 'tumme-dir-max-size',
2611thumbnail files in `tumme-dir' is larger than 'tumme-dir-max-size', 2730;; old files are deleted until the max size is reached."
2612old files are deleted until the max size is reached." 2731;; (let* ((files
2613 (let* ((files 2732;; (sort
2614 (sort 2733;; (mapcar
2615 (mapcar 2734;; (lambda (f)
2616 (lambda (f) 2735;; (let ((fattribs (file-attributes f)))
2617 (let ((fattribs (file-attributes f))) 2736;; ;; Get last access time and file size
2618 ;; Get last access time and file size 2737;; `(,(nth 4 fattribs) ,(nth 7 fattribs) ,f)))
2619 `(,(nth 4 fattribs) ,(nth 7 fattribs) ,f))) 2738;; (directory-files (tumme-dir) t ".+\.thumb\..+$"))
2620 (directory-files tumme-dir t ".+\.thumb\..+$")) 2739;; ;; Sort function. Compare time between two files.
2621 ;; Sort function. Compare time between two files. 2740;; '(lambda (l1 l2)
2622 '(lambda (l1 l2) 2741;; (time-less-p (car l1) (car l2)))))
2623 (time-less-p (car l1) (car l2))))) 2742;; (dirsize (apply '+ (mapcar (lambda (x) (cadr x)) files))))
2624 (dirsize (apply '+ (mapcar (lambda (x) (cadr x)) files)))) 2743;; (while (> dirsize tumme-dir-max-size)
2625 (while (> dirsize tumme-dir-max-size) 2744;; (y-or-n-p
2626 (y-or-n-p 2745;; (format "Size of thumbnail directory: %d, delete old file %s? "
2627 (format "Size of thumbnail directory: %d, delete old file %s? " 2746;; dirsize (cadr (cdar files))))
2628 dirsize (cadr (cdar files)))) 2747;; (delete-file (cadr (cdar files)))
2629 (delete-file (cadr (cdar files))) 2748;; (setq dirsize (- dirsize (car (cdar files))))
2630 (setq dirsize (- dirsize (car (cdar files)))) 2749;; (setq files (cdr files)))))
2631 (setq files (cdr files))))) 2750
2751;;;;;;;;;;;;;;;;;;;;;;,
2752
2753;; (defun dired-speedbar-buttons (dired-buffer)
2754;; (when (and (boundp 'tumme-use-speedbar)
2755;; tumme-use-speedbar)
2756;; (let ((filename (with-current-buffer dired-buffer
2757;; (dired-get-filename))))
2758;; (when (and (not (string-equal filename (buffer-string)))
2759;; (string-match (image-file-name-regexp) filename))
2760;; (erase-buffer)
2761;; (insert (propertize
2762;; filename
2763;; 'display
2764;; (tumme-get-thumbnail-image filename)))))))
2765
2766;; (setq tumme-use-speedbar t)
2632 2767
2633(provide 'tumme) 2768(provide 'tumme)
2634 2769
diff --git a/lisp/type-break.el b/lisp/type-break.el
index 9c49a5b6672..beb7e6f3725 100644
--- a/lisp/type-break.el
+++ b/lisp/type-break.el
@@ -1,7 +1,7 @@
1;;; type-break.el --- encourage rests from typing at appropriate intervals 1;;; type-break.el --- encourage rests from typing at appropriate intervals
2 2
3;; Copyright (C) 1994, 1995, 1997, 2000, 2002, 2003, 3;; Copyright (C) 1994, 1995, 1997, 2000, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Noah Friedman 6;; Author: Noah Friedman
7;; Maintainer: Noah Friedman <friedman@splode.com> 7;; Maintainer: Noah Friedman <friedman@splode.com>
diff --git a/lisp/uniquify.el b/lisp/uniquify.el
index cc08ab70836..24b49a983ad 100644
--- a/lisp/uniquify.el
+++ b/lisp/uniquify.el
@@ -1,7 +1,7 @@
1;;; uniquify.el --- unique buffer names dependent on file name 1;;; uniquify.el --- unique buffer names dependent on file name
2 2
3;; Copyright (C) 1989, 1995, 1996, 1997, 2001, 2002, 2003, 3;; Copyright (C) 1989, 1995, 1996, 1997, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Dick King <king@reasoning.com> 6;; Author: Dick King <king@reasoning.com>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/userlock.el b/lisp/userlock.el
index 37ff1f13ba2..8a539daace8 100644
--- a/lisp/userlock.el
+++ b/lisp/userlock.el
@@ -1,7 +1,7 @@
1;;; userlock.el --- handle file access contention between multiple users 1;;; userlock.el --- handle file access contention between multiple users
2 2
3;; Copyright (C) 1985, 1986, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1986, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: internal 7;; Keywords: internal
diff --git a/lisp/vc-arch.el b/lisp/vc-arch.el
index 79056c4c947..a0fc8af8345 100644
--- a/lisp/vc-arch.el
+++ b/lisp/vc-arch.el
@@ -1,6 +1,6 @@
1;;; vc-arch.el --- VC backend for the Arch version-control system 1;;; vc-arch.el --- VC backend for the Arch version-control system
2 2
3;; Copyright (C) 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: FSF (see vc.el for full credits) 5;; Author: FSF (see vc.el for full credits)
6;; Maintainer: Stefan Monnier <monnier@gnu.org> 6;; Maintainer: Stefan Monnier <monnier@gnu.org>
diff --git a/lisp/vc-cvs.el b/lisp/vc-cvs.el
index 51d4174b40f..94fd3d0acd9 100644
--- a/lisp/vc-cvs.el
+++ b/lisp/vc-cvs.el
@@ -1,7 +1,7 @@
1;;; vc-cvs.el --- non-resident support for CVS version-control 1;;; vc-cvs.el --- non-resident support for CVS version-control
2 2
3;; Copyright (C) 1995, 1998, 1999, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1995, 1998, 1999, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: FSF (see vc.el for full credits) 6;; Author: FSF (see vc.el for full credits)
7;; Maintainer: Andre Spiegel <spiegel@gnu.org> 7;; Maintainer: Andre Spiegel <spiegel@gnu.org>
diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el
index 1c1f0844303..13425391647 100644
--- a/lisp/vc-hooks.el
+++ b/lisp/vc-hooks.el
@@ -1,7 +1,7 @@
1;;; vc-hooks.el --- resident support for version-control 1;;; vc-hooks.el --- resident support for version-control
2 2
3;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2002, 3;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2002,
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: FSF (see vc.el for full credits) 6;; Author: FSF (see vc.el for full credits)
7;; Maintainer: Andre Spiegel <spiegel@gnu.org> 7;; Maintainer: Andre Spiegel <spiegel@gnu.org>
diff --git a/lisp/vc-mcvs.el b/lisp/vc-mcvs.el
index 4394dd510f5..4075ffc3649 100644
--- a/lisp/vc-mcvs.el
+++ b/lisp/vc-mcvs.el
@@ -1,6 +1,6 @@
1;;; vc-mcvs.el --- VC backend for the Meta-CVS version-control system 1;;; vc-mcvs.el --- VC backend for the Meta-CVS version-control system
2 2
3;; Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: FSF (see vc.el for full credits) 5;; Author: FSF (see vc.el for full credits)
6;; Maintainer: Stefan Monnier <monnier@gnu.org> 6;; Maintainer: Stefan Monnier <monnier@gnu.org>
diff --git a/lisp/vc-rcs.el b/lisp/vc-rcs.el
index bfb66e8a5cf..00700c5a652 100644
--- a/lisp/vc-rcs.el
+++ b/lisp/vc-rcs.el
@@ -1,7 +1,7 @@
1;;; vc-rcs.el --- support for RCS version-control 1;;; vc-rcs.el --- support for RCS version-control
2 2
3;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 3;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
4;; 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: FSF (see vc.el for full credits) 6;; Author: FSF (see vc.el for full credits)
7;; Maintainer: Andre Spiegel <spiegel@gnu.org> 7;; Maintainer: Andre Spiegel <spiegel@gnu.org>
diff --git a/lisp/vc-sccs.el b/lisp/vc-sccs.el
index ef2c8b34ff1..ae349f57f32 100644
--- a/lisp/vc-sccs.el
+++ b/lisp/vc-sccs.el
@@ -1,7 +1,7 @@
1;;; vc-sccs.el --- support for SCCS version-control 1;;; vc-sccs.el --- support for SCCS version-control
2 2
3;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 3;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
4;; 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: FSF (see vc.el for full credits) 6;; Author: FSF (see vc.el for full credits)
7;; Maintainer: Andre Spiegel <spiegel@gnu.org> 7;; Maintainer: Andre Spiegel <spiegel@gnu.org>
diff --git a/lisp/vc-svn.el b/lisp/vc-svn.el
index b08765b89a3..6d27c5c6a7e 100644
--- a/lisp/vc-svn.el
+++ b/lisp/vc-svn.el
@@ -1,6 +1,6 @@
1;;; vc-svn.el --- non-resident support for Subversion version-control 1;;; vc-svn.el --- non-resident support for Subversion version-control
2 2
3;; Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: FSF (see vc.el for full credits) 5;; Author: FSF (see vc.el for full credits)
6;; Maintainer: Stefan Monnier <monnier@gnu.org> 6;; Maintainer: Stefan Monnier <monnier@gnu.org>
@@ -114,7 +114,7 @@ This is only meaningful if you don't use the implicit checkout model
114 (file-name-directory file))) 114 (file-name-directory file)))
115 (with-temp-buffer 115 (with-temp-buffer
116 (cd (file-name-directory file)) 116 (cd (file-name-directory file))
117 (let ((status 117 (let ((status
118 (condition-case nil 118 (condition-case nil
119 ;; Ignore all errors. 119 ;; Ignore all errors.
120 (vc-svn-command t t file "status" "-v") 120 (vc-svn-command t t file "status" "-v")
@@ -176,6 +176,23 @@ This is only meaningful if you don't use the implicit checkout model
176 ((eq svn-state 'needs-patch) "(patch)") 176 ((eq svn-state 'needs-patch) "(patch)")
177 ((eq svn-state 'needs-merge) "(merge)")))) 177 ((eq svn-state 'needs-merge) "(merge)"))))
178 178
179(defun vc-svn-previous-version (file rev)
180 (let ((newrev (1- (string-to-number rev))))
181 (when (< 0 newrev)
182 (number-to-string newrev))))
183
184(defun vc-svn-next-version (file rev)
185 (let ((newrev (1+ (string-to-number rev))))
186 ;; The "workfile version" is an uneasy conceptual fit under Subversion;
187 ;; we use it as the upper bound until a better idea comes along. If the
188 ;; workfile version W coincides with the tree's latest revision R, then
189 ;; this check prevents a "no such revision: R+1" error. Otherwise, it
190 ;; inhibits showing of W+1 through R, which could be considered anywhere
191 ;; from gracious to impolite.
192 (unless (< (string-to-number (vc-file-getprop file 'vc-workfile-version))
193 newrev)
194 (number-to-string newrev))))
195
179 196
180;;; 197;;;
181;;; State-changing functions 198;;; State-changing functions
@@ -353,7 +370,11 @@ The changes are between FIRST-VERSION and SECOND-VERSION."
353 (vc-svn-command 370 (vc-svn-command
354 buffer 371 buffer
355 (if (and (vc-stay-local-p file) (fboundp 'start-process)) 'async 0) 372 (if (and (vc-stay-local-p file) (fboundp 'start-process)) 'async 0)
356 file "log"))) 373 file "log"
374 ;; By default Subversion only shows the log upto the working version,
375 ;; whereas we also want the log of the subsequent commits. At least
376 ;; that's what the vc-cvs.el code does.
377 "-rHEAD:0")))
357 378
358(defun vc-svn-diff (file &optional oldvers newvers buffer) 379(defun vc-svn-diff (file &optional oldvers newvers buffer)
359 "Get a difference report using SVN between two versions of FILE." 380 "Get a difference report using SVN between two versions of FILE."
diff --git a/lisp/vc.el b/lisp/vc.el
index 6fa31fa6502..b130aadb085 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -1,7 +1,7 @@
1;;; vc.el --- drive a version-control system from within Emacs 1;;; vc.el --- drive a version-control system from within Emacs
2 2
3;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 3;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000,
4;; 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: FSF (see below for full credits) 6;; Author: FSF (see below for full credits)
7;; Maintainer: Andre Spiegel <spiegel@gnu.org> 7;; Maintainer: Andre Spiegel <spiegel@gnu.org>
@@ -2800,9 +2800,6 @@ backend to NEW-BACKEND, and unregister FILE from the current backend.
2800 (vc-mode-line new) 2800 (vc-mode-line new)
2801 (set-buffer-modified-p nil))))) 2801 (set-buffer-modified-p nil)))))
2802 2802
2803;; Only defined in very recent Emacsen
2804(defvar small-temporary-file-directory nil)
2805
2806;;;###autoload 2803;;;###autoload
2807(defun vc-update-change-log (&rest args) 2804(defun vc-update-change-log (&rest args)
2808 "Find change log file and add entries from recent version control logs. 2805 "Find change log file and add entries from recent version control logs.
diff --git a/lisp/vcursor.el b/lisp/vcursor.el
index 11ac28ae14a..a9d3fd68d74 100644
--- a/lisp/vcursor.el
+++ b/lisp/vcursor.el
@@ -1,7 +1,7 @@
1;;; vcursor.el --- manipulate an alternative ("virtual") cursor 1;;; vcursor.el --- manipulate an alternative ("virtual") cursor
2 2
3;; Copyright (C) 1994, 1996, 1998, 2002, 2003, 3;; Copyright (C) 1994, 1996, 1998, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Peter Stephenson <pws@ibmth.df.unipi.it> 6;; Author: Peter Stephenson <pws@ibmth.df.unipi.it>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/version.el b/lisp/version.el
index f02f291c4b5..5b9fccfefb3 100644
--- a/lisp/version.el
+++ b/lisp/version.el
@@ -1,7 +1,7 @@
1;;; version.el --- record version number of Emacs -*- no-byte-compile: t -*- 1;;; version.el --- record version number of Emacs -*- no-byte-compile: t -*-
2 2
3;; Copyright (C) 1985, 1992, 1994, 1995, 1999, 2000, 2001, 2002, 3;; Copyright (C) 1985, 1992, 1994, 1995, 1999, 2000, 2001, 2002,
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: internal 7;; Keywords: internal
diff --git a/lisp/view.el b/lisp/view.el
index ea7762cb7d1..457d5efc1c1 100644
--- a/lisp/view.el
+++ b/lisp/view.el
@@ -1,7 +1,7 @@
1;;; view.el --- peruse file or buffer without editing 1;;; view.el --- peruse file or buffer without editing
2 2
3;; Copyright (C) 1985, 1989, 1994, 1995, 1997, 2000, 2001, 2002, 3;; Copyright (C) 1985, 1989, 1994, 1995, 1997, 2000, 2001, 2002,
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: K. Shane Hartman 6;; Author: K. Shane Hartman
7;; Maintainer: Inge Frick <inge@nada.kth.se> 7;; Maintainer: Inge Frick <inge@nada.kth.se>
diff --git a/lisp/vms-patch.el b/lisp/vms-patch.el
index b591c0d56f2..eb365c3b580 100644
--- a/lisp/vms-patch.el
+++ b/lisp/vms-patch.el
@@ -1,7 +1,7 @@
1;;; vms-patch.el --- override parts of files.el for VMS 1;;; vms-patch.el --- override parts of files.el for VMS
2 2
3;; Copyright (C) 1986, 1992, 2002, 2003, 2004, 3;; Copyright (C) 1986, 1992, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: vms 7;; Keywords: vms
diff --git a/lisp/vmsproc.el b/lisp/vmsproc.el
index aa96560ee48..649d3a22534 100644
--- a/lisp/vmsproc.el
+++ b/lisp/vmsproc.el
@@ -1,6 +1,7 @@
1;;; vmsproc.el --- run asynchronous VMS subprocesses under Emacs 1;;; vmsproc.el --- run asynchronous VMS subprocesses under Emacs
2 2
3;; Copyright (C) 1986, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1986, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Mukesh Prasad 6;; Author: Mukesh Prasad
6;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/vt-control.el b/lisp/vt-control.el
index 61d8ec32a7b..d5bc90044b1 100644
--- a/lisp/vt-control.el
+++ b/lisp/vt-control.el
@@ -1,7 +1,7 @@
1;;; vt-control.el --- Common VTxxx control functions 1;;; vt-control.el --- Common VTxxx control functions
2 2
3;; Copyright (C) 1993, 1994, 2002, 2003, 3;; Copyright (C) 1993, 1994, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Rob Riepel <riepel@networking.stanford.edu> 6;; Author: Rob Riepel <riepel@networking.stanford.edu>
7;; Maintainer: Rob Riepel <riepel@networking.stanford.edu> 7;; Maintainer: Rob Riepel <riepel@networking.stanford.edu>
diff --git a/lisp/vt100-led.el b/lisp/vt100-led.el
index 0238962082e..541f06ef471 100644
--- a/lisp/vt100-led.el
+++ b/lisp/vt100-led.el
@@ -1,6 +1,7 @@
1;;; vt100-led.el --- functions for LED control on VT-100 terminals & clones 1;;; vt100-led.el --- functions for LED control on VT-100 terminals & clones
2 2
3;; Copyright (C) 1988, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1988, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Howard Gayle 6;; Author: Howard Gayle
6;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/w32-fns.el b/lisp/w32-fns.el
index 004a4662f5e..072606d97da 100644
--- a/lisp/w32-fns.el
+++ b/lisp/w32-fns.el
@@ -1,7 +1,7 @@
1;;; w32-fns.el --- Lisp routines for Windows NT 1;;; w32-fns.el --- Lisp routines for Windows NT
2 2
3;; Copyright (C) 1994, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1994, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Geoff Voelker <voelker@cs.washington.edu> 6;; Author: Geoff Voelker <voelker@cs.washington.edu>
7;; Keywords: internal 7;; Keywords: internal
diff --git a/lisp/w32-vars.el b/lisp/w32-vars.el
index 1b4ea8ee60b..0918ed4c569 100644
--- a/lisp/w32-vars.el
+++ b/lisp/w32-vars.el
@@ -1,6 +1,6 @@
1;;; w32-vars.el --- MS-Windows specific user options 1;;; w32-vars.el --- MS-Windows specific user options
2 2
3;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Jason Rumney <jasonr@gnu.org> 5;; Author: Jason Rumney <jasonr@gnu.org>
6;; Keywords: internal 6;; Keywords: internal
diff --git a/lisp/wdired.el b/lisp/wdired.el
index 298d20a370d..2471ab909c6 100644
--- a/lisp/wdired.el
+++ b/lisp/wdired.el
@@ -1,6 +1,6 @@
1;;; wdired.el --- Rename files editing their names in dired buffers 1;;; wdired.el --- Rename files editing their names in dired buffers
2 2
3;; Copyright (C) 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Filename: wdired.el 5;; Filename: wdired.el
6;; Author: Juan León Lahoz García <juanleon1@gmail.com> 6;; Author: Juan León Lahoz García <juanleon1@gmail.com>
@@ -30,10 +30,10 @@
30;; renaming files. 30;; renaming files.
31;; 31;;
32;; Have you ever wished to use C-x r t (string-rectangle), M-% 32;; Have you ever wished to use C-x r t (string-rectangle), M-%
33;; (query-replace), M-c (capitalize-word), etc. to change the name of 33;; (query-replace), M-c (capitalize-word), etc... to change the name of
34;; the files in a "dired" buffer? Now you can do this. All the power 34;; the files in a "dired" buffer? Now you can do this. All the power
35;; of Emacs commands are available to renaming files! 35;; of Emacs commands are available to renaming files!
36;; 36;;
37;; This package provides a function that makes the filenames of a a 37;; This package provides a function that makes the filenames of a a
38;; dired buffer editable, by changing the buffer mode (which inhibits 38;; dired buffer editable, by changing the buffer mode (which inhibits
39;; all of the commands of dired mode). Here you can edit the names of 39;; all of the commands of dired mode). Here you can edit the names of
@@ -102,20 +102,17 @@
102;;; Code: 102;;; Code:
103 103
104(defvar dired-backup-overwrite) ; Only in Emacs 20.x this is a custom var 104(defvar dired-backup-overwrite) ; Only in Emacs 20.x this is a custom var
105(eval-when-compile
106 (set (make-local-variable 'byte-compile-dynamic) t))
107 105
108(eval-and-compile 106(require 'dired)
109 (require 'dired) 107(autoload 'dired-do-create-files-regexp "dired-aux")
110 (autoload 'dired-do-create-files-regexp "dired-aux") 108(autoload 'dired-call-process "dired-aux")
111 (autoload 'dired-call-process "dired-aux"))
112 109
113(defgroup wdired nil 110(defgroup wdired nil
114 "Mode to rename files by editing their names in dired buffers." 111 "Mode to rename files by editing their names in dired buffers."
115 :group 'dired) 112 :group 'dired)
116 113
117(defcustom wdired-use-interactive-rename nil 114(defcustom wdired-use-interactive-rename nil
118 "*If non-nil, WDired requires confirmation before actually renaming files. 115 "If non-nil, WDired requires confirmation before actually renaming files.
119If nil, WDired doesn't require confirmation to change the file names, 116If nil, WDired doesn't require confirmation to change the file names,
120and the variable `wdired-confirm-overwrite' controls whether it is ok 117and the variable `wdired-confirm-overwrite' controls whether it is ok
121to overwrite files without asking." 118to overwrite files without asking."
@@ -123,14 +120,14 @@ to overwrite files without asking."
123 :group 'wdired) 120 :group 'wdired)
124 121
125(defcustom wdired-confirm-overwrite t 122(defcustom wdired-confirm-overwrite t
126 "*If nil the renames can overwrite files without asking. 123 "If nil the renames can overwrite files without asking.
127This variable has no effect at all if `wdired-use-interactive-rename' 124This variable has no effect at all if `wdired-use-interactive-rename'
128is not nil." 125is not nil."
129 :type 'boolean 126 :type 'boolean
130 :group 'wdired) 127 :group 'wdired)
131 128
132(defcustom wdired-use-dired-vertical-movement nil 129(defcustom wdired-use-dired-vertical-movement nil
133 "*If t, the \"up\" and \"down\" movement works as in Dired mode. 130 "If t, the \"up\" and \"down\" movement works as in Dired mode.
134That is, always move the point to the beginning of the filename at line. 131That is, always move the point to the beginning of the filename at line.
135 132
136If `sometimes, only move to the beginning of filename if the point is 133If `sometimes, only move to the beginning of filename if the point is
@@ -144,14 +141,14 @@ If nil, \"up\" and \"down\" movement is done as in any other buffer."
144 :group 'wdired) 141 :group 'wdired)
145 142
146(defcustom wdired-allow-to-redirect-links t 143(defcustom wdired-allow-to-redirect-links t
147 "*If non-nil, the target of the symbolic links are editable. 144 "If non-nil, the target of the symbolic links are editable.
148In systems without symbolic links support, this variable has no effect 145In systems without symbolic links support, this variable has no effect
149at all." 146at all."
150 :type 'boolean 147 :type 'boolean
151 :group 'wdired) 148 :group 'wdired)
152 149
153(defcustom wdired-allow-to-change-permissions nil 150(defcustom wdired-allow-to-change-permissions nil
154 "*If non-nil, the permissions bits of the files are editable. 151 "If non-nil, the permissions bits of the files are editable.
155 152
156If t, to change a single bit, put the cursor over it and press the 153If t, to change a single bit, put the cursor over it and press the
157space bar, or left click over it. You can also hit the letter you want 154space bar, or left click over it. You can also hit the letter you want
@@ -197,13 +194,11 @@ program `dired-chmod-program', which must exist."
197 :help "Abort changes and return to dired mode")) 194 :help "Abort changes and return to dired mode"))
198 (define-key map [menu-bar wdired wdired-finish-edit] 195 (define-key map [menu-bar wdired wdired-finish-edit]
199 '("Commit Changes" . wdired-finish-edit)) 196 '("Commit Changes" . wdired-finish-edit))
200 ;; FIXME: Use the new remap trick. 197
201 (substitute-key-definition 'upcase-word 'wdired-upcase-word 198 (define-key map [remap upcase-word] 'wdired-upcase-word)
202 map global-map) 199 (define-key map [remap capitalize-word] 'wdired-capitalize-word)
203 (substitute-key-definition 'capitalize-word 'wdired-capitalize-word 200 (define-key map [remap downcase-word] 'wdired-downcase-word)
204 map global-map) 201
205 (substitute-key-definition 'downcase-word 'wdired-downcase-word
206 map global-map)
207 map)) 202 map))
208 203
209(defvar wdired-mode-hook nil 204(defvar wdired-mode-hook nil
@@ -314,21 +309,20 @@ relies on WDired buffer's properties. Optional arg NO-DIR with value
314non-nil means don't include directory. Optional arg OLD with value 309non-nil means don't include directory. Optional arg OLD with value
315non-nil means return old filename." 310non-nil means return old filename."
316 ;; FIXME: Use dired-get-filename's new properties. 311 ;; FIXME: Use dired-get-filename's new properties.
317 (let (beg end file) 312 (let* ((end (line-end-position))
318 (save-excursion 313 (beg (next-single-property-change
319 (setq end (progn (end-of-line) (point))) 314 (line-beginning-position) 'old-name nil end)))
320 (beginning-of-line) 315 (unless (eq beg end)
321 (setq beg (next-single-property-change (point) 'old-name nil end)) 316 (let ((file
322 (unless (eq beg end) 317 (if old
323 (if old 318 (get-text-property beg 'old-name)
324 (setq file (get-text-property beg 'old-name)) 319 (wdired-normalize-filename
325 (setq end (next-single-property-change (1+ beg) 'end-name)) 320 (buffer-substring-no-properties
326 (setq file (buffer-substring-no-properties (+ 2 beg) end))) 321 (+ 2 beg) (next-single-property-change (1+ beg) 'end-name))))))
327 (and file (setq file (wdired-normalize-filename file)))) 322 (if (or no-dir old)
328 (if (or no-dir old) 323 file
329 file 324 (and file (> (length file) 0)
330 (and file (> (length file) 0) 325 (concat (dired-current-directory) file)))))))
331 (concat (dired-current-directory) file))))))
332 326
333 327
334(defun wdired-change-to-dired-mode () 328(defun wdired-change-to-dired-mode ()
@@ -344,7 +338,7 @@ non-nil means return old filename."
344 (setq mode-name "Dired") 338 (setq mode-name "Dired")
345 (dired-advertise) 339 (dired-advertise)
346 (remove-hook 'kill-buffer-hook 'wdired-check-kill-buffer t) 340 (remove-hook 'kill-buffer-hook 'wdired-check-kill-buffer t)
347 (setq revert-buffer-function 'dired-revert)) 341 (set (make-local-variable 'revert-buffer-function) 'dired-revert))
348 342
349 343
350(defun wdired-abort-changes () 344(defun wdired-abort-changes ()
@@ -412,7 +406,7 @@ non-nil means return old filename."
412 (forward-line -1))) 406 (forward-line -1)))
413 (if changes 407 (if changes
414 (revert-buffer) ;The "revert" is necessary to re-sort the buffer 408 (revert-buffer) ;The "revert" is necessary to re-sort the buffer
415 (let ((buffer-read-only nil)) 409 (let ((inhibit-read-only t))
416 (remove-text-properties (point-min) (point-max) 410 (remove-text-properties (point-min) (point-max)
417 '(old-name nil end-name nil old-link nil 411 '(old-name nil end-name nil old-link nil
418 end-link nil end-perm nil 412 end-link nil end-perm nil
@@ -425,9 +419,9 @@ non-nil means return old filename."
425 (set-buffer-modified-p nil) 419 (set-buffer-modified-p nil)
426 (setq buffer-undo-list nil)) 420 (setq buffer-undo-list nil))
427 421
428;; Renames a file, searching it in a modified dired buffer, in order 422;; Rename a file, searching it in a modified dired buffer, in order
429;; to be able to use `dired-do-create-files-regexp' and get its 423;; to be able to use `dired-do-create-files-regexp' and get its
430;; "benefits" 424;; "benefits".
431(defun wdired-search-and-rename (filename-ori filename-new) 425(defun wdired-search-and-rename (filename-ori filename-new)
432 (save-excursion 426 (save-excursion
433 (goto-char (point-max)) 427 (goto-char (point-max))
@@ -528,21 +522,18 @@ says how many lines to move; default is one line."
528(defun wdired-get-previous-link (&optional old move) 522(defun wdired-get-previous-link (&optional old move)
529 "Return the next symlink target. 523 "Return the next symlink target.
530If OLD, return the old target. If MOVE, move point before it." 524If OLD, return the old target. If MOVE, move point before it."
531 (let (beg end target) 525 (let ((beg (previous-single-property-change (point) 'old-link nil)))
532 (setq beg (previous-single-property-change (point) 'old-link nil)) 526 (when beg
533 (if beg 527 (let ((target
534 (progn 528 (if old
535 (if old 529 (get-text-property (1- beg) 'old-link)
536 (setq target (get-text-property (1- beg) 'old-link)) 530 (buffer-substring-no-properties
537 (setq end (next-single-property-change beg 'end-link)) 531 (1+ beg) (next-single-property-change beg 'end-link)))))
538 (setq target (buffer-substring-no-properties (1+ beg) end))) 532 (if move (goto-char (1- beg)))
539 (if move (goto-char (1- beg))))) 533 (and target (wdired-normalize-filename target))))))
540 (and target (wdired-normalize-filename target))))
541
542
543 534
544;; Perform the changes in the target of the changed links. 535;; Perform the changes in the target of the changed links.
545(defun wdired-do-symlink-changes() 536(defun wdired-do-symlink-changes ()
546 (let ((changes nil) 537 (let ((changes nil)
547 (errors 0) 538 (errors 0)
548 link-to-ori link-to-new link-from) 539 link-to-ori link-to-new link-from)
@@ -550,36 +541,34 @@ If OLD, return the old target. If MOVE, move point before it."
550 (while (setq link-to-new (wdired-get-previous-link)) 541 (while (setq link-to-new (wdired-get-previous-link))
551 (setq link-to-ori (wdired-get-previous-link t t)) 542 (setq link-to-ori (wdired-get-previous-link t t))
552 (setq link-from (wdired-get-filename nil t)) 543 (setq link-from (wdired-get-filename nil t))
553 (if (not (equal link-to-new link-to-ori)) 544 (unless (equal link-to-new link-to-ori)
554 (progn 545 (setq changes t)
555 (setq changes t) 546 (if (equal link-to-new "") ;empty filename!
556 (if (equal link-to-new "") ;empty filename! 547 (setq link-to-new "/dev/null"))
557 (setq link-to-new "/dev/null")) 548 (condition-case err
558 (condition-case err 549 (progn
559 (progn 550 (delete-file link-from)
560 (delete-file link-from) 551 (make-symbolic-link
561 (make-symbolic-link 552 (substitute-in-file-name link-to-new) link-from))
562 (substitute-in-file-name link-to-new) link-from)) 553 (error
563 (error 554 (setq errors (1+ errors))
564 (setq errors (1+ errors)) 555 (dired-log (concat "Link `" link-from "' to `"
565 (dired-log (concat "Link `" link-from "' to `" 556 link-to-new "' failed:\n%s\n")
566 link-to-new "' failed:\n%s\n") 557 err)))))
567 err))))))
568 (cons changes errors))) 558 (cons changes errors)))
569 559
570;; Perform a "case command" skipping read-only words. 560;; Perform a "case command" skipping read-only words.
571(defun wdired-xcase-word (command arg) 561(defun wdired-xcase-word (command arg)
572 (if (< arg 0) 562 (if (< arg 0)
573 (funcall command arg) 563 (funcall command arg)
574 (progn 564 (while (> arg 0)
575 (while (> arg 0) 565 (condition-case err
576 (condition-case err 566 (progn
577 (progn 567 (funcall command 1)
578 (funcall command 1) 568 (setq arg (1- arg)))
579 (setq arg (1- arg))) 569 (error
580 (error 570 (if (not (forward-word 1))
581 (if (not (forward-word 1)) 571 (setq arg 0)))))))
582 (setq arg 0))))))))
583 572
584(defun wdired-downcase-word (arg) 573(defun wdired-downcase-word (arg)
585 "WDired version of `downcase-word'. 574 "WDired version of `downcase-word'.
@@ -603,25 +592,25 @@ Like original function but it skips read-only words."
603;; The following code deals with changing the access bits (or 592;; The following code deals with changing the access bits (or
604;; permissions) of the files. 593;; permissions) of the files.
605 594
606(defvar wdired-perm-mode-map nil) 595(defvar wdired-perm-mode-map
607(unless wdired-perm-mode-map 596 (let ((map (make-sparse-keymap)))
608 (setq wdired-perm-mode-map (copy-keymap wdired-mode-map)) 597 (define-key map " " 'wdired-toggle-bit)
609 (define-key wdired-perm-mode-map " " 'wdired-toggle-bit) 598 (define-key map "r" 'wdired-set-bit)
610 (define-key wdired-perm-mode-map "r" 'wdired-set-bit) 599 (define-key map "w" 'wdired-set-bit)
611 (define-key wdired-perm-mode-map "w" 'wdired-set-bit) 600 (define-key map "x" 'wdired-set-bit)
612 (define-key wdired-perm-mode-map "x" 'wdired-set-bit) 601 (define-key map "-" 'wdired-set-bit)
613 (define-key wdired-perm-mode-map "-" 'wdired-set-bit) 602 (define-key map "S" 'wdired-set-bit)
614 (define-key wdired-perm-mode-map "S" 'wdired-set-bit) 603 (define-key map "s" 'wdired-set-bit)
615 (define-key wdired-perm-mode-map "s" 'wdired-set-bit) 604 (define-key map "T" 'wdired-set-bit)
616 (define-key wdired-perm-mode-map "T" 'wdired-set-bit) 605 (define-key map "t" 'wdired-set-bit)
617 (define-key wdired-perm-mode-map "t" 'wdired-set-bit) 606 (define-key map "s" 'wdired-set-bit)
618 (define-key wdired-perm-mode-map "s" 'wdired-set-bit) 607 (define-key map "l" 'wdired-set-bit)
619 (define-key wdired-perm-mode-map "l" 'wdired-set-bit) 608 (define-key map [down-mouse-1] 'wdired-mouse-toggle-bit)
620 (define-key wdired-perm-mode-map [down-mouse-1] 'wdired-mouse-toggle-bit)) 609 map))
621 610
622;; Put a local-map to the permission bits of the files, and store the 611;; Put a local-map to the permission bits of the files, and store the
623;; original name and permissions as a property 612;; original name and permissions as a property
624(defun wdired-preprocess-perms() 613(defun wdired-preprocess-perms ()
625 (let ((inhibit-read-only t) 614 (let ((inhibit-read-only t)
626 filename) 615 filename)
627 (set (make-local-variable 'wdired-col-perm) nil) 616 (set (make-local-variable 'wdired-col-perm) nil)
@@ -638,7 +627,7 @@ Like original function but it skips read-only words."
638 (put-text-property (match-beginning 0) (match-end 0) 627 (put-text-property (match-beginning 0) (match-end 0)
639 'read-only nil) 628 'read-only nil)
640 (put-text-property (1+ (match-beginning 0)) (match-end 0) 629 (put-text-property (1+ (match-beginning 0)) (match-end 0)
641 'local-map wdired-perm-mode-map)) 630 'keymap wdired-perm-mode-map))
642 (put-text-property (match-end 0) (1+ (match-end 0)) 'end-perm t) 631 (put-text-property (match-end 0) (1+ (match-end 0)) 'end-perm t)
643 (put-text-property (match-beginning 0) (1+ (match-beginning 0)) 632 (put-text-property (match-beginning 0) (1+ (match-beginning 0))
644 'old-perm (match-string-no-properties 0)))) 633 'old-perm (match-string-no-properties 0))))
@@ -663,25 +652,24 @@ Like original function but it skips read-only words."
663 (let ((new-bit (char-to-string last-command-char)) 652 (let ((new-bit (char-to-string last-command-char))
664 (inhibit-read-only t) 653 (inhibit-read-only t)
665 (pos-prop (- (point) (- (current-column) wdired-col-perm)))) 654 (pos-prop (- (point) (- (current-column) wdired-col-perm))))
666 (put-text-property 0 1 'local-map wdired-perm-mode-map new-bit) 655 (put-text-property 0 1 'keymap wdired-perm-mode-map new-bit)
667 (put-text-property 0 1 'read-only t new-bit) 656 (put-text-property 0 1 'read-only t new-bit)
668 (insert new-bit) 657 (insert new-bit)
669 (delete-char 1) 658 (delete-char 1)
670 (put-text-property pos-prop (1- pos-prop) 'perm-changed t)) 659 (put-text-property pos-prop (1- pos-prop) 'perm-changed t))
671 (forward-char 1))) 660 (forward-char 1)))
672 661
673(defun wdired-toggle-bit() 662(defun wdired-toggle-bit ()
674 "Toggle the permission bit at point." 663 "Toggle the permission bit at point."
675 (interactive) 664 (interactive)
676 (let ((inhibit-read-only t) 665 (let ((inhibit-read-only t)
677 (new-bit "-") 666 (new-bit (cond
667 ((not (eq (char-after (point)) ?-)) "-")
668 ((= (% (- (current-column) wdired-col-perm) 3) 0) "r")
669 ((= (% (- (current-column) wdired-col-perm) 3) 1) "w")
670 (t "x")))
678 (pos-prop (- (point) (- (current-column) wdired-col-perm)))) 671 (pos-prop (- (point) (- (current-column) wdired-col-perm))))
679 (if (eq (char-after (point)) ?-) 672 (put-text-property 0 1 'keymap wdired-perm-mode-map new-bit)
680 (setq new-bit
681 (if (= (% (- (current-column) wdired-col-perm) 3) 0) "r"
682 (if (= (% (- (current-column) wdired-col-perm) 3) 1) "w"
683 "x"))))
684 (put-text-property 0 1 'local-map wdired-perm-mode-map new-bit)
685 (put-text-property 0 1 'read-only t new-bit) 673 (put-text-property 0 1 'read-only t new-bit)
686 (insert new-bit) 674 (insert new-bit)
687 (delete-char 1) 675 (delete-char 1)
@@ -697,23 +685,28 @@ Like original function but it skips read-only words."
697;; Allowed chars for 2000 bit are Ssl in position 6 685;; Allowed chars for 2000 bit are Ssl in position 6
698;; Allowed chars for 1000 bit are Tt in position 9 686;; Allowed chars for 1000 bit are Tt in position 9
699(defun wdired-perms-to-number (perms) 687(defun wdired-perms-to-number (perms)
700 (let ((nperm 0777)) 688 (+
701 (if (= (elt perms 1) ?-) (setq nperm (- nperm 400))) 689 (if (= (elt perms 1) ?-) 0 400)
702 (if (= (elt perms 2) ?-) (setq nperm (- nperm 200))) 690 (if (= (elt perms 2) ?-) 0 200)
703 (let ((p-bit (elt perms 3))) 691 (case (elt perms 3)
704 (if (memq p-bit '(?- ?S)) (setq nperm (- nperm 100))) 692 (?- 0)
705 (if (memq p-bit '(?s ?S)) (setq nperm (+ nperm 4000)))) 693 (?S 4000)
706 (if (= (elt perms 4) ?-) (setq nperm (- nperm 40))) 694 (?s 4100)
707 (if (= (elt perms 5) ?-) (setq nperm (- nperm 20))) 695 (t 100))
708 (let ((p-bit (elt perms 6))) 696 (if (= (elt perms 4) ?-) 0 40)
709 (if (memq p-bit '(?- ?S ?l)) (setq nperm (- nperm 10))) 697 (if (= (elt perms 5) ?-) 0 20)
710 (if (memq p-bit '(?s ?S ?l)) (setq nperm (+ nperm 2000)))) 698 (case (elt perms 6)
711 (if (= (elt perms 7) ?-) (setq nperm (- nperm 4))) 699 (?- 0)
712 (if (= (elt perms 8) ?-) (setq nperm (- nperm 2))) 700 (?S 2000)
713 (let ((p-bit (elt perms 9))) 701 (?s 2010)
714 (if (memq p-bit '(?- ?T)) (setq nperm (- nperm 1))) 702 (t 10))
715 (if (memq p-bit '(?t ?T)) (setq nperm (+ nperm 1000)))) 703 (if (= (elt perms 7) ?-) 0 4)
716 nperm)) 704 (if (= (elt perms 8) ?-) 0 2)
705 (case (elt perms 9)
706 (?- 0)
707 (?T 1000)
708 (?t 1001)
709 (t 1))))
717 710
718;; Perform the changes in the permissions of the files that have 711;; Perform the changes in the permissions of the files that have
719;; changed. 712;; changed.
@@ -729,28 +722,31 @@ Like original function but it skips read-only words."
729 (setq perms-ori (get-text-property (point) 'old-perm)) 722 (setq perms-ori (get-text-property (point) 'old-perm))
730 (setq perms-new (buffer-substring-no-properties 723 (setq perms-new (buffer-substring-no-properties
731 (point) (next-single-property-change (point) 'end-perm))) 724 (point) (next-single-property-change (point) 'end-perm)))
732 (if (not (equal perms-ori perms-new)) 725 (unless (equal perms-ori perms-new)
733 (progn 726 (setq changes t)
734 (setq changes t) 727 (setq filename (wdired-get-filename nil t))
735 (setq filename (wdired-get-filename nil t)) 728 (if (= (length perms-new) 10)
736 (if (= (length perms-new) 10) 729 (progn
737 (progn 730 (setq perm-tmp
738 (setq perm-tmp 731 (int-to-string (wdired-perms-to-number perms-new)))
739 (int-to-string (wdired-perms-to-number perms-new))) 732 (unless (equal 0 (dired-call-process dired-chmod-program
740 (if (not (equal 0 (dired-call-process dired-chmod-program 733 t perm-tmp filename))
741 t perm-tmp filename))) 734 (setq errors (1+ errors))
742 (progn 735 (dired-log (concat dired-chmod-program " " perm-tmp
743 (setq errors (1+ errors)) 736 " `" filename "' failed\n\n"))))
744 (dired-log (concat dired-chmod-program " " perm-tmp 737 (setq errors (1+ errors))
745 " `" filename "' failed\n\n"))))) 738 (dired-log (concat "Cannot parse permission `" perms-new
746 (setq errors (1+ errors)) 739 "' for file `" filename "'\n\n"))))
747 (dired-log (concat "Cannot parse permission `" perms-new
748 "' for file `" filename "'\n\n")))))
749 (goto-char (next-single-property-change (1+ (point)) prop-wanted 740 (goto-char (next-single-property-change (1+ (point)) prop-wanted
750 nil (point-max)))) 741 nil (point-max))))
751 (cons changes errors))) 742 (cons changes errors)))
752 743
753(provide 'wdired) 744(provide 'wdired)
754 745
746;; Local Variables:
747;; coding: latin-1
748;; byte-compile-dynamic: t
749;; End:
750
755;; arch-tag: bc00902e-526f-4305-bc7f-8862a559184f 751;; arch-tag: bc00902e-526f-4305-bc7f-8862a559184f
756;;; wdired.el ends here 752;;; wdired.el ends here
diff --git a/lisp/whitespace.el b/lisp/whitespace.el
index 8ef4d449e01..7f3cbd913ca 100644
--- a/lisp/whitespace.el
+++ b/lisp/whitespace.el
@@ -1,7 +1,7 @@
1;;; whitespace.el --- warn about and clean bogus whitespaces in the file 1;;; whitespace.el --- warn about and clean bogus whitespaces in the file
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Rajesh Vaidheeswarran <rv@gnu.org> 6;; Author: Rajesh Vaidheeswarran <rv@gnu.org>
7;; Keywords: convenience 7;; Keywords: convenience
diff --git a/lisp/wid-browse.el b/lisp/wid-browse.el
index c8a34140f69..887f6553592 100644
--- a/lisp/wid-browse.el
+++ b/lisp/wid-browse.el
@@ -1,6 +1,7 @@
1;;; wid-browse.el --- functions for browsing widgets 1;;; wid-browse.el --- functions for browsing widgets
2;; 2;;
3;; Copyright (C) 1997, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 1997, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4;; 5;;
5;; Author: Per Abrahamsen <abraham@dina.kvl.dk> 6;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
6;; Keywords: extensions 7;; Keywords: extensions
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el
index 21cbf72797e..720fb9929e4 100644
--- a/lisp/wid-edit.el
+++ b/lisp/wid-edit.el
@@ -1,7 +1,7 @@
1;;; wid-edit.el --- Functions for creating and using widgets -*-byte-compile-dynamic: t;-*- 1;;; wid-edit.el --- Functions for creating and using widgets -*-byte-compile-dynamic: t;-*-
2;; 2;;
3;; Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5;; 5;;
6;; Author: Per Abrahamsen <abraham@dina.kvl.dk> 6;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/widget.el b/lisp/widget.el
index f99429b5910..6acfdfd48d8 100644
--- a/lisp/widget.el
+++ b/lisp/widget.el
@@ -1,7 +1,7 @@
1;;; widget.el --- a library of user interface components 1;;; widget.el --- a library of user interface components
2;; 2;;
3;; Copyright (C) 1996, 1997, 2002, 2003, 2004, 3;; Copyright (C) 1996, 1997, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5;; 5;;
6;; Author: Per Abrahamsen <abraham@dina.kvl.dk> 6;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
7;; Keywords: help, extensions, faces, hypermedia 7;; Keywords: help, extensions, faces, hypermedia
diff --git a/lisp/windmove.el b/lisp/windmove.el
index b3aacf62d51..3b62437e280 100644
--- a/lisp/windmove.el
+++ b/lisp/windmove.el
@@ -1,7 +1,7 @@
1;;; windmove.el --- directional window-selection routines 1;;; windmove.el --- directional window-selection routines
2;; 2;;
3;; Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004, 3;; Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5;; 5;;
6;; Author: Hovav Shacham (hovav@cs.stanford.edu) 6;; Author: Hovav Shacham (hovav@cs.stanford.edu)
7;; Created: 17 October 1998 7;; Created: 17 October 1998
diff --git a/lisp/window.el b/lisp/window.el
index 917edaac57f..4d02390be16 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -1,7 +1,7 @@
1;;; window.el --- GNU Emacs window commands aside from those written in C 1;;; window.el --- GNU Emacs window commands aside from those written in C
2 2
3;; Copyright (C) 1985, 1989, 1992, 1993, 1994, 2000, 2001, 2002, 3;; Copyright (C) 1985, 1989, 1992, 1993, 1994, 2000, 2001, 2002,
4;; 2003, 2004, 2005 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: internal 7;; Keywords: internal
diff --git a/lisp/winner.el b/lisp/winner.el
index 0fbd0221e49..de0dcde6b06 100644
--- a/lisp/winner.el
+++ b/lisp/winner.el
@@ -1,11 +1,11 @@
1;;; winner.el --- Restore old window configurations 1;;; winner.el --- Restore old window configurations
2 2
3;; Copyright (C) 1997, 1998, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1997, 1998, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation. Inc. 4;; 2005, 2006 Free Software Foundation. Inc.
5 5
6;; Author: Ivar Rummelhoff <ivarru@math.uio.no> 6;; Author: Ivar Rummelhoff <ivarru@math.uio.no>
7;; Created: 27 Feb 1997 7;; Created: 27 Feb 1997
8;; Time-stamp: <2002-02-20 22:06:58 ivarru> 8;; Time-stamp: <2006-02-06 15:13:57 ttn>
9;; Keywords: convenience frames 9;; Keywords: convenience frames
10 10
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
diff --git a/lisp/woman.el b/lisp/woman.el
index 5e8aff75e7f..22fcc0e3f62 100644
--- a/lisp/woman.el
+++ b/lisp/woman.el
@@ -1,6 +1,7 @@
1;;; woman.el --- browse UN*X manual pages `wo (without) man' 1;;; woman.el --- browse UN*X manual pages `wo (without) man'
2 2
3;; Copyright (C) 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2000, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc.
4 5
5;; Author: Francis J. Wright <F.J.Wright@qmul.ac.uk> 6;; Author: Francis J. Wright <F.J.Wright@qmul.ac.uk>
6;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/x-dnd.el b/lisp/x-dnd.el
index 423c6cdfc52..3ad9a5f0e2c 100644
--- a/lisp/x-dnd.el
+++ b/lisp/x-dnd.el
@@ -1,6 +1,6 @@
1;;; x-dnd.el --- drag and drop support for X. 1;;; x-dnd.el --- drag and drop support for X.
2 2
3;; Copyright (C) 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5;; Author: Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 5;; Author: Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
6;; Maintainer: FSF 6;; Maintainer: FSF
diff --git a/lisp/xml.el b/lisp/xml.el
index c97c8052148..2ce3ec7b4f9 100644
--- a/lisp/xml.el
+++ b/lisp/xml.el
@@ -1,7 +1,7 @@
1;;; xml.el --- XML parser 1;;; xml.el --- XML parser
2 2
3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 2000, 2001, 2002, 2003, 2004,
4;; 2005 Free Software Foundation, Inc. 4;; 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Emmanuel Briot <briot@gnat.com> 6;; Author: Emmanuel Briot <briot@gnat.com>
7;; Maintainer: Mark A. Hershberger <mah@everybody.org> 7;; Maintainer: Mark A. Hershberger <mah@everybody.org>
diff --git a/lisp/xt-mouse.el b/lisp/xt-mouse.el
index 0036712fec4..2d1710fce01 100644
--- a/lisp/xt-mouse.el
+++ b/lisp/xt-mouse.el
@@ -1,7 +1,7 @@
1;;; xt-mouse.el --- support the mouse when emacs run in an xterm 1;;; xt-mouse.el --- support the mouse when emacs run in an xterm
2 2
3;; Copyright (C) 1994, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1994, 2000, 2001, 2002, 2003,
4;; 2004, 2005 Free Software Foundation, Inc. 4;; 2004, 2005, 2006 Free Software Foundation, Inc.
5 5
6;; Author: Per Abrahamsen <abraham@dina.kvl.dk> 6;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
7;; Keywords: mouse, terminals 7;; Keywords: mouse, terminals