ChangeLog 364 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
2007-11-18  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-completion-reread-directory-timeout): New
	defcustom.
	(tramp-handle-file-name-all-completions): Flush directory contents
	from cache regularly.
	(tramp-set-auto-save-file-modes): Check also for
	`buffer-modified-p'.
	(tramp-open-connection-setup-interactive-shell): Call
	`tramp-cleanup-connection' via funcall.

	* net/tramp-ftp.el (tramp-ftp-file-name-handler): Temp file is already
	created when copying.

15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
2007-11-17  Dan Nicolaescu  <dann@ics.uci.edu>

	* eshell/esh-util.el (eshell-under-xemacs-p): Remove.
	* eshell/esh-mode.el (eshell-mode-syntax-table)
	(command-running-p):
	* eshell/esh-ext.el (eshell-external-command):
	* eshell/esh-cmd.el (require):
	* eshell/em-unix.el (eshell-plain-locate-behavior):
	* eshell/em-cmpl.el (eshell-cmpl-initialize): Replace
	eshell-under-xemacs-p with (featurep 'xemacs).
	* eshell/esh-mode.el (characterp,char-int): Remove unused
	conditional defaliases.

	* pcomplete.el (pcomplete-event-matches-key-specifier-p): Rename
	from event-matches-key-specifier-p, define unconditionally.
	(event-basic-type): Remove unused defalias.
	(pcomplete-show-completions):
	Use pcomplete-event-matches-key-specifier-p.

34 35 36 37 38
2007-11-17  Eli Zaretskii  <eliz@gnu.org>

	* eshell/esh-module.el (eshell-load-defgroups): Don't make backups
	when saving esh-groups.el.

39 40 41 42 43 44
2007-11-17  Martin Rudalics  <rudalics@gmx.at>

	* wid-edit.el (widget-default-complete):
	* progmodes/flymake.el (flymake-goto-file-and-line):
	Fix typo in (doc-)string.

Glenn Morris's avatar
Glenn Morris committed
45 46 47 48 49 50 51 52 53 54
2007-11-17  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/byte-run.el (declare-function): New macro.
	* emacs-lisp/bytecomp.el (byte-compile-declare-function):
	New function, byte-hunk-handler for declare-function.
	(byte-compile-callargs-warn): Handle declared functions.

	* emacs-lisp/check-declare.el: New file.
	* Makefile.in (check-declare): New target.

55 56
	* progmodes/fortran.el (gud-find-c-expr): Declare as a function.

Glenn Morris's avatar
Glenn Morris committed
57 58 59 60
	* subr.el (process-lines): Move here from ../admin/admin.el.
	* emacs-lisp/authors.el (authors-process-lines): Remove.
	(authors): Use process-lines rather than authors-process-lines.

Glenn Morris's avatar
Glenn Morris committed
61 62 63
	* progmodes/compilation-perl.el, progmodes/compilation-weblint.el:
	Remove these files.

64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
2007-11-17  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/backquote.el (backquote):
	Improve argument/docstring consistency.

	* emacs-lisp/ring.el (ring-size, ring-p, ring-insert)
	(ring-length, ring-empty-p): Use c[ad]dr.
	(ring-plus1): Use `1+'.
	(ring-minus1): Use `zerop'.
	(ring-remove): Use c[ad]dr.  Use `when'.
	(ring-copy): Use c[ad]dr.  Use `let', not `let*'.
	(ring-ref): Use `let', not `let*'.
	(ring-insert-at-beginning): Use c[ad]dr.  Doc fix.
	(ring-insert+extend): Use c[ad]dr.  Fix typo in docstring.
	(ring-member): Simplify.  Doc fix.
	(ring-convert-sequence-to-ring): Simplify.

81 82 83 84 85 86 87
2007-11-17  Juri Linkov  <juri@jurta.org>

	* dired-aux.el (dired-create-directory): Allow creating
	a directory of an arbitrary depth.  Add a loop to find the topmost
	nonexistent parent dir `new', and call `dired-add-file' on it.
	Set the `PARENTS' arg of `make-directory' to t.

88 89 90 91 92 93
2007-11-16  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-aent.el (calc-last-user-lang-parse-table): New variable.
	(math-build-parse-table): Get parse information from
	`math-parse-table'.

94 95
2007-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
96 97 98 99
	* window.el (recenter-last-op): New var.
	(recenter-top-bottom): New command.
	(global-map): Bind it to C-l.

100 101
	* abbrev.el (abbrev--write): Fix error in transcription from C.

102 103 104 105 106 107 108
	* emulation/pc-select.el (pc-select-shifted-mark): Remove.
	(pc-select-ensure-mark): Set mark-active to a special value instead.
	Rename from ensure-mark.  Update call callers.
	(pc-select-maybe-deactivate-mark): Rename from maybe-deactivate-mark.
	Rewrite.  Update all callers.
	(pc-selection-mode): Remove redundant var declaration.

109 110
2007-11-16  Tassilo Horn  <tassilo@member.fsf.org>

111 112
	* doc-view.el (doc-view-search-backward, doc-view-search):
	Fix assignment to free variable bug.
113

114 115 116 117 118
2007-11-16  Martin Pohlack  <mp26@os.inf.tu-dresden.de>  (tiny change)

	* emulation/pc-select.el (pc-select-shifted-mark): New var.
	(ensure-mark): Set it.
	(maybe-deactivate-mark): New fun.
119
	Use it everywhere instead of (setq mark-active nil).
120

Dan Nicolaescu's avatar
Dan Nicolaescu committed
121 122
2007-11-16  Dan Nicolaescu  <dann@ics.uci.edu>

123 124
	* textmodes/reftex-dcr.el (reftex-start-itimer-once):
	Add check for XEmacs.
Dan Nicolaescu's avatar
Dan Nicolaescu committed
125 126 127 128 129

	* calc/calc-menu.el (calc-mode-map): Pacify byte compiler.

	* doc-view.el (doc-view-resolution): Add missing :group.

130 131 132 133 134
2007-11-16  Juanma Barranquero  <lekktu@gmail.com>

	* subr.el (make-variable-frame-local):
	Fix typo in obsolescence declaration.

135 136 137 138 139 140
2007-11-16  Werner Lemberg  <wl@gnu.org>

	* files.el (set-auto-mode-1): Check second line for -*- if file
	starts with '\" (which is used by man pages to identify needed
	troff preprocessors).

141 142 143 144
2007-11-16  Glenn Morris  <rgm@gnu.org>

	* mail/mail-extr.el (mail-extr-all-top-level-domains): Update domains.

Jay Belanger's avatar
Jay Belanger committed
145 146 147 148 149 150 151
2007-11-16  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-lang.el (math-oper-table): Fix typo.
	Reduce precedence of "/" for TeX.

	* calc/calc-menu.el (calc-modes-menu): Add Languages submenu.

152 153 154 155 156 157 158 159 160 161 162
2007-11-16  Juri Linkov  <juri@jurta.org>

	* dired-aux.el (dired-read-shell-command-default): New function.
	(dired-read-shell-command): Use its return value for DEFAULT arg.

	* replace.el (keep-lines-read-args, occur-read-primary-args):
	Use a list of default values for DEFAULT arg of read-from-minibuffer.

	* man.el (Man-heading-regexp): Add 0-9.
	(Man-first-heading-regexp): Remove leading space [ \t]* before NAME.

163 164 165 166 167 168 169 170 171
2007-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* doc-view.el (doc-view-ghostscript-options): Remove resolution arg.
	(doc-view-resolution): New custom var.
	(doc-view-pdf/ps->png): Use it.
	(doc-view-shrink-factor): New var.
	(doc-view-enlarge, doc-view-shrink): New commands.
	(doc-view-mode-map): Use them.

172 173 174 175 176 177 178 179 180 181 182 183 184
2007-11-15  Juanma Barranquero  <lekktu@gmail.com>

	* ediff-wind.el (ediff-window-setup-function):
	* simple.el (normal-erase-is-backspace):
	* eshell/em-unix.el (eshell/info):
	* progmodes/cc-engine.el (c-crosses-statement-barrier-p):
	Fix typos in docstrings.

	* emulation/cua-base.el (cua--keymaps-initialized):
	Rename from `cua--keymaps-initalized'.  Callers changed.
	(cua-highlight-region-shift-only): Doc fix.
	(cua-paste-pop): Fix typo in docstring.

185 186
2007-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
187 188 189 190
	* emulation/cua-base.el (cua--pre-command-handler-1):
	Use input-decode-map instead of function-key-map.
	Use event-modifiers now that it works reliably.

191 192
	* vc.el (vc-diff-internal): Pop-to-buffer later.

193 194
	* subr.el (event-modifiers): Use internal-event-symbol-parse-modifiers.

195 196 197
	* pcvs.el (cvs-revert-if-needed): Ignore `unknown' files, since cvs
	did not touch them.

Jay Belanger's avatar
Jay Belanger committed
198 199 200 201 202
2007-11-15  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-menu.el: New file.
	* calc/calc.el (calc-mode): Require calc-menu.

Juanma Barranquero's avatar
Juanma Barranquero committed
203 204 205 206
2007-11-14  Juanma Barranquero  <lekktu@gmail.com>

	* isearch-multi.el (isearch-buffers-next-buffer-function): Doc fix.

Nick Roberts's avatar
Nick Roberts committed
207 208 209 210 211 212 213 214 215 216 217
2007-11-14  Nick Roberts  <nickrob@snap.net.nz>

	* progmodes/gdb-ui.el (gdb-parent-bptno-enabled): New variable.
	(gdb-breakpoint-regexp, gdb-mouse-toggle-breakpoint-margin)
	(gdb-mouse-toggle-breakpoint-fringe, gdb-delete-breakpoint)
	(gdb-goto-breakpoint): Generalise for breakpoints with multiple
	locations.
	(gdb-info-breakpoints-custom, gdb-assembler-custom)
	(gdb-toggle-breakpoint): Update for new gdb-breakpoint-regexp.
	(gdb-put-breakpoint-icon): Only display icon for parent breakpoint.

218 219 220 221 222
2007-11-13  Noah Friedman  <friedman@splode.com>

	* calc/calc.el: Add `backward-delete-char-untabify' to the list of
	bindings to remap when `calc-scan-for-dels' is non-nil.

223 224 225 226 227 228 229
2007-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/byte-opt.el (byte-compile-trueconstp): Handle more
	constant forms.
	(byte-compile-nilconstp): New function.
	(byte-optimize-cond): Kill subsequent branches when a branch is
	know to be taken or not taken.
230
	(byte-optimize-if): Use byte-compile-nilconstp instead of hand coding.
231

232 233 234 235 236
2007-11-13  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc.el (vc-register): Allow registering a file passed as a
	parameter instead of just the current buffer.

237 238
2007-11-12  Michael Albinus  <michael.albinus@gmx.de>

239 240
	* net/tramp.el (tramp-open-connection-setup-interactive-shell):
	Check whether the output of "uname -sr" has been changed.
241

242 243 244 245 246
2007-11-12  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

	* progmodes/compile.el (compilation-error-regexp-alist-alist): Insert
	patterns from compilation-perl.el and compilation-weblint.el files.

247 248
2007-11-12  Dan Nicolaescu  <dann@ics.uci.edu>

249 250 251 252
	* progmodes/compilation-perl.el:
	* progmodes/compilation-weblint.el: Disable autoloads, they cause
	a bootstrap failure.

253
	* vc-cvs.el (vc-cvs-diff): If backup files exist, diff them
254
	instead of doing "cvs diff" in order to avoid accessing the repository.
255

Vinicius Jose Latorre's avatar
Vinicius Jose Latorre committed
256 257 258 259 260
2007-11-12  Kevin Ryde  <user42@zip.com.au>

	* progmodes/compilation-perl.el:
	* progmodes/compilation-weblint.el: New files.

Juanma Barranquero's avatar
Juanma Barranquero committed
261 262 263 264 265 266 267 268 269
2007-11-11  Juanma Barranquero  <lekktu@gmail.com>

	* international/iso-cvt.el (iso-translate-conventions): Doc fix.
	(iso-aggressive-german-trans-tab, iso-conservative-german-trans-tab)
	(iso-tex2iso-trans-tab, iso-gtex2iso-trans-tab): Reflow docstring.
	(iso-spanish, iso-german, iso-iso2tex, iso-tex2iso, iso-gtex2iso)
	(iso-iso2gtex, iso-iso2duden, iso-iso2sgml, iso-sgml2iso):
	Rewrite in active voice.

270 271 272 273
2007-11-11  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el: Add comments about isearch support.

274 275 276
2007-11-11  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc.el (vc-start-entry): Fix setting the in the case the function
Juanma Barranquero's avatar
Juanma Barranquero committed
277
	is called from vc-dired.  Use when instead of if where appropriate.
278

279
2007-11-11  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
Kim F. Storm's avatar
Kim F. Storm committed
280

Juanma Barranquero's avatar
Juanma Barranquero committed
281 282
	* ps-print.el (ps-do-despool): Do not force ps-lpr-switches
	to be a list.
283
	(ps-begin-job): Error if ps-lpr-switches is not a list.
Kim F. Storm's avatar
Kim F. Storm committed
284

Miles Bader's avatar
Miles Bader committed
285
2007-11-11  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
Kim F. Storm's avatar
Kim F. Storm committed
286

Miles Bader's avatar
Miles Bader committed
287 288
	* faces.el (face-normalize-spec): Remove function.
	(frame-set-background-mode): Undo last change.
Kim F. Storm's avatar
Kim F. Storm committed
289

290 291 292 293 294
2007-11-10  Jason Rumney  <jasonr@gnu.org>

	* w32-fns.el: Sync charset names with setup-default-fontset.
	Append "-1" where second part missing.

295 296 297 298 299 300 301 302
2007-11-10  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-mode-end-hook, isearch-mode-end-hook-quit):
	Fix docstring.  Reported by Leo <sdl.web@gmail.com>.

	* custom.el (custom-note-var-changed): Remove the `interactive'
	spec from this new non-interactive function.

303 304 305 306 307 308 309 310 311 312
2007-11-10  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el (doc-view-mode-map, doc-view-menu)
	(doc-view-pdf->txt-sentinel): Adapt to new search UI.
	(doc-view-search-backward): New function.
	(doc-view-search): Query new regexp if prefix arg is given, else
	jump to next/previous match.
	(doc-view-mode): Handle compressed files.
	(jka-compr): Required for compressed files.

313 314 315 316 317 318 319 320 321 322
2007-11-10  Paul Pogonyshev  <pogonyshev@gmx.net>

	* replace.el (query-replace-show-replacement): New defcustom.
	(perform-replace): Use `match-substitute-replacement' if
	`query-replace-show-replacement' is non-nil.

2007-11-10  David Kastrup  <dak@gnu.org>

	* subr.el (match-substitute-replacement): New function.

Carsten Dominik's avatar
Carsten Dominik committed
323 324 325 326 327
2007-11-10  Carsten Dominik  <dominik@science.uva.nl>

	* files.el (auto-mode-alist): Select org-mode for files with the
	extension ".org".

328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367
2007-11-10  Martin Rudalics  <rudalics@gmx.at>

	* help.el (help-window, help-window-point-marker): New variables.
	(help-window-select): New option.
	(with-help-window): New macro for displaying help windows.
	(help-window-display-message, help-window-setup-finish)
	(help-window-setup): New functions used for setting up help windows.
	(print-help-return-message): Reset help-window to nil.
	(view-lossage): Use with-help-window instead of
	with-output-to-temp-buffer and move help-window-point-marker after
	inserted text.
	(describe-bindings, describe-key, describe-mode): Use
	with-help-window instead of with-output-to-temp-buffer.

	* help-mode.el (help-mode): Set view-exit-action to bury the
	buffer instead of fiddling with windows.  Simplify code.
	(help-mode-finish): When help-window eqs t set it to the selected
	window and have with-help-window set up view-return-to-alist.
	(help-buffer): Add autoload cookie.

	* view.el (view-remove-frame-by-deleting): Change default value to t.
	Add autoload cookie.
	(view-exit-action, view-file, view-file-other-window)
	(view-file-other-frame, view-buffer, view-buffer-other-window)
	(view-buffer-other-frame): Rewrite doc strings.
	(view-return-to-alist-update): New function to remove stale entries
	from view-return-to-alist.
	(view-mode-enter): Rewrite doc string and simplify code.
	(view-mode-exit): Handle new case 'keep-frame.  Don't reset
	view-exit-action to nil.  Simplify code and rewrite doc string.

	* apropos.el (apropos-describe-plist):
	* descr-text.el (describe-char):
	* disp-table.el (describe-display-table):
	* faces.el (list-faces-display, describe-face):
	* facemenu.el (list-colors-display):
	* help-fns.el (describe-function, describe-variable)
	(describe-syntax, describe-categories):
	Use with-help-window instead of with-output-to-temp-buffer.

368 369
2007-11-10  Dan Nicolaescu  <dann@ics.uci.edu>

Juanma Barranquero's avatar
Juanma Barranquero committed
370 371
	* emacs-lisp/byte-opt.el (byte-optimize-featurep):
	Optimize (featurep 'emacs) to t.
372

Juanma Barranquero's avatar
Juanma Barranquero committed
373 374
	* emacs-lisp/bytecomp.el (byte-compile-find-bound-condition):
	New function.
375 376 377 378
	(byte-compile-maybe-guarded): Use it to also look for bound
	symbols inside `and' forms.  Comment out non-working code that was
	trying to avoid warnings for XEmacs code.

379 380 381 382 383 384 385 386 387
	* vc.el (vc-diff-internal): Make the *vc-diff* buffer read only.

	* vc-svn.el (vc-svn-print-log, vc-svn-diff):
	* vc-mcvs.el (vc-mcvs-print-log, vc-mcvs-annotate-command):
	* vc-cvs.el (vc-cvs-print-log, vc-cvs-diff)
	(vc-cvs-annotate-command):
	* vc-arch.el (vc-arch-diff): Remove test to check if start-process
	is bound, it always is.

388 389 390 391 392
2007-11-10  Jason Rumney  <jasonr@gnu.org>

	* term/w32-win.el (w32-initialize-window-system): Move SJIS font
	setup here from global scope.

393 394 395 396 397
2007-11-10  Juanma Barranquero  <lekktu@gmail.com>

	* ido.el (ido-save-history): Save the history file in UTF-8, not
	the current filename coding system.

398 399
2007-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>

400 401 402
	* simple.el (interprogram-cut-function, interprogram-paste-function):
	Don't make them frame-local any more.

403 404 405
	* faces.el (x-create-frame-with-faces, tty-create-frame-with-faces):
	Don't set interprogram-(cut|paste)-function on each frame.

406 407 408 409 410
	* term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
	Make them work in tty frames.
	(interprogram-cut-function, interprogram-paste-function):
	Set them globally.

Juanma Barranquero's avatar
Juanma Barranquero committed
411 412 413 414 415 416
2007-11-09  Juanma Barranquero  <lekktu@gmail.com>

	* international/iso-cvt.el (iso-spanish, iso-german, iso-iso2tex)
	(iso-tex2iso, iso-gtex2iso, iso-iso2gtex, iso-iso2duden): Doc fixes.
	(iso-iso2duden-trans-tab): Add docstring.

417 418
2007-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>

419 420
	* abbrev.el (define-abbrev-table): Record the variable definition.

421 422 423
	* emacs-lisp/bytecomp.el (byte-compile-file-form-define-abbrev-table):
	New function.

424 425
2007-11-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

426 427
	* ps-print.el: Clean the code for checking suitable Emacs version.
	(ps-do-despool): If ps-lpr-switches is not a list, force it to be one.
428 429
	(ps-print-version): New version 6.8.1.

430 431 432 433
2007-11-09  Juanma Barranquero  <lekktu@gmail.com>

	* files.el (enable-local-variables): Doc fix.

Miles Bader's avatar
Miles Bader committed
434
2007-11-09  Nick Roberts  <nickrob@snap.net.nz>
435

Miles Bader's avatar
Miles Bader committed
436
	* progmodes/gud.el (gud-gdb): Remove vestigial gdba doc and code.
Kim F. Storm's avatar
Kim F. Storm committed
437

Miles Bader's avatar
Miles Bader committed
438
2007-11-09  Sven Joachim  <svenjoac@gmx.de>
Kim F. Storm's avatar
Kim F. Storm committed
439

Miles Bader's avatar
Miles Bader committed
440 441
	* dired-aux.el (dired-copy-file-recursive):
	Preserve directory permissions.
Kim F. Storm's avatar
Kim F. Storm committed
442

Miles Bader's avatar
Miles Bader committed
443
2007-11-09  Juanma Barranquero  <lekktu@gmail.com>
Kim F. Storm's avatar
Kim F. Storm committed
444

Miles Bader's avatar
Miles Bader committed
445 446 447 448
	* whitespace.el (whitespace-write-file-hook): Remove interactive spec.
	(whitespace-unload-function): New-style unload function.  When run,
	unintern `whitespace-unload-hook' and call `unload-feature' recursively
	to stop the old hook from messing with the unloading.
Kim F. Storm's avatar
Kim F. Storm committed
449

Miles Bader's avatar
Miles Bader committed
450
2007-11-09  Juanma Barranquero  <lekktu@gmail.com>
Kim F. Storm's avatar
Kim F. Storm committed
451

Miles Bader's avatar
Miles Bader committed
452 453 454 455
	* emacs-lisp/elp.el (elp-report-limit, elp-restore-all)
	(elp-unset-master, elp-results): Fix typos.
	(elp-sort-by-function, elp-use-standard-output, elp-recycle-buffers-p):
	Doc fixes.
Kim F. Storm's avatar
Kim F. Storm committed
456

Miles Bader's avatar
Miles Bader committed
457 458 459 460
	* msb.el (msb--many-menus): Remove variable.
	(msb-max-menu-items, msb--add-to-menu): Doc fixes.
	(msb-menu-cond, msb-item-handling-function, msb--create-function-info)
	(msb--toggle-menu-type): Fix typos in docstrings.
Kim F. Storm's avatar
Kim F. Storm committed
461

Miles Bader's avatar
Miles Bader committed
462 463 464 465 466
	* shadowfile.el (shadow-inhibit-overload, shadow-remove-from-todo)
	(shadow-insert-var): Doc fixes.
	(shadow-file-match, shadow-define-cluster, shadow-define-regexp-group):
	Reflow docstrings.
	(shadow-parse-fullname, shadow-read-files): Fix typos in docstrings.
Kim F. Storm's avatar
Kim F. Storm committed
467

Miles Bader's avatar
Miles Bader committed
468
2007-11-09  Juanma Barranquero  <lekktu@gmail.com>
Kim F. Storm's avatar
Kim F. Storm committed
469

Miles Bader's avatar
Miles Bader committed
470 471 472
	* ediff-hook.el (ediff, ediff-files, ediff-buffers, ebuffers, ediff3)
	(ediff-files3, ediff-buffers3, ebuffers3, erevision, ediff-revision):
	Fix typos in autoload docstrings.
Kim F. Storm's avatar
Kim F. Storm committed
473

Miles Bader's avatar
Miles Bader committed
474
2007-11-09  Richard Stallman  <rms@gnu.org>
Kim F. Storm's avatar
Kim F. Storm committed
475

Miles Bader's avatar
Miles Bader committed
476
	* savehist.el (savehist-save): Obey savehist-ignored-variables.
Kim F. Storm's avatar
Kim F. Storm committed
477

Miles Bader's avatar
Miles Bader committed
478
2007-11-09  Nick Roberts  <nickrob@snap.net.nz>
Kim F. Storm's avatar
Kim F. Storm committed
479

Miles Bader's avatar
Miles Bader committed
480 481
	* progmodes/gdb-ui.el (gdb-delete-out-of-scope): New option.
	(gdb-var-update-handler-1): Use it.
Kim F. Storm's avatar
Kim F. Storm committed
482

Miles Bader's avatar
Miles Bader committed
483
2007-11-09  Juanma Barranquero  <lekktu@gmail.com>
Kim F. Storm's avatar
Kim F. Storm committed
484

Miles Bader's avatar
Miles Bader committed
485 486 487
	* loadhist.el (unload-feature): Remove erroneous check for the
	FEATURE-unload-function variable; check the existence of the
	function (that's what the docstring says, and it makes more sense).
Kim F. Storm's avatar
Kim F. Storm committed
488

Miles Bader's avatar
Miles Bader committed
489 490
	* follow.el (follow-unload-function): Add docstring.
	(follow-unload-function): Remove variable.
Kim F. Storm's avatar
Kim F. Storm committed
491

Miles Bader's avatar
Miles Bader committed
492 493
	* server.el (server-unload-function): Remove variable.
	(server-unload-function): Unbind `server-edit' from `C-x #'.
Kim F. Storm's avatar
Kim F. Storm committed
494

Miles Bader's avatar
Miles Bader committed
495
	* ses.el (ses-unload-function): New function.
Kim F. Storm's avatar
Kim F. Storm committed
496

Miles Bader's avatar
Miles Bader committed
497
2007-11-09  Juanma Barranquero  <lekktu@gmail.com>
Kim F. Storm's avatar
Kim F. Storm committed
498

Miles Bader's avatar
Miles Bader committed
499 500
	* emacs-lisp/unsafep.el (unsafep, unsafep-function)
	(unsafep-progn, unsafep-let): Fix typos in docstrings.
Kim F. Storm's avatar
Kim F. Storm committed
501

Miles Bader's avatar
Miles Bader committed
502 503 504
	* uniquify.el (uniquify-maybe-rerationalize-w/o-cb): Define it
	before use to avoid a warning in packages that require uniquify.
	(uniquify-unload-function): New function and var.
Kim F. Storm's avatar
Kim F. Storm committed
505

506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563
2007-11-09  Dan Nicolaescu  <dann@ics.uci.edu>

	* ediff-init.el (ediff-xemacs-p, ediff-emacs-p): Remove.
	(ediff-has-face-support-p, ediff-BAD-INFO, ediff-check-version)
	(ediff-current-diff-A, ediff-current-diff-B)
	(ediff-current-diff-C, ediff-fine-diff-C, ediff-fine-diff-A)
	(ediff-fine-diff-B, ediff-fine-diff-Ancestor, ediff-even-diff-A)
	(ediff-even-diff-B, ediff-even-diff-C, ediff-even-diff-Ancestor)
	(ediff-odd-diff-A, ediff-odd-diff-B, ediff-odd-diff-C)
	(ediff-odd-diff-Ancestor, ediff-reset-mouse):
	* ediff-wind.el (ediff-narrow-control-frame-leftward-shift)
	(ediff-setup-windows-plain-merge)
	(ediff-setup-windows-plain-compare, ediff-setup-control-frame)
	(ediff-refresh-control-frame, ediff-get-visible-buffer-window):
	* ediff-util.el (ediff-setup-keymap, )
	(ediff-toggle-wide-display, ediff-toggle-multiframe)
	(ediff-toggle-use-toolbar, ediff-really-quit)
	(ediff-good-frame-under-mouse)
	(ediff-highlight-diff-in-one-buffer)
	(ediff-remove-flags-from-buffer, ediff-place-flags-in-buffer1)
	(ediff-make-bullet-proof-overlay):
	* ediff-mult.el (ediff-setup-meta-map, ediff-emacs-p)
	(ediff-set-meta-overlay):
	* ediff-help.el (ediff-help-region-map, ediff-set-help-overlays):
	* ediff.el (ediff-documentation): Replace ediff-xemacs-p and
	ediff-emacs-p with their former definitions.

	* emulation/viper-init.el (viper-xemacs-p, viper-emacs-p): Remove.
	(viper-has-face-support-p, viper-inactivate-input-method)
	(viper-activate-input-method)
	(viper-use-replace-region-delimiters, viper-restore-cursor-type):
	* emulation/viper-mous.el (viper-multiclick-timeout)
	(viper-surrounding-word, viper-mouse-click-insert-word)
	(viper-mouse-click-search-word, viper-parse-mouse-key):
	* emulation/viper-macs.el (viper-char-array-to-macro):
	* emulation/viper.el (viper-go-away, viper-set-hooks)
	(viper-non-hook-settings):
	* emulation/viper-util.el (viper-get-saved-cursor-color-in-replace-mode)
	(viper-get-saved-cursor-color-in-insert-mode)
	(viper-get-saved-cursor-color-in-emacs-mode)
	(viper-check-version, viper-get-visible-buffer-window)
	(viper-file-checked-in-p, viper-set-replace-overlay)
	(viper-set-replace-overlay-glyphs, viper-set-minibuffer-overlay)
	(viper-check-minibuffer-overlay, viper-read-key-sequence)
	(viper-key-to-emacs-key): Replace viper-xemacs-p and viper-emacs-p
	with their former definitions.
	(viper-eventify-list-xemacs): Only do work for XEmacs.
	(viper-set-unread-command-events): Only do work for Emacs.
	(viper-overlay-p, viper-make-overlay, viper-overlay-live-p)
	(viper-move-overlay, viper-overlay-start, viper-overlay-end)
	(viper-overlay-get, viper-overlay-put, viper-read-event)
	(viper-characterp, viper-int-to-char, viper-get-face)
	(viper-color-defined-p, viper-iconify): New defaliases replacing
	the old fsets.

	* progmodes/fortran.el (comment-region-function)
	(uncomment-region-function): Pacify byte compiler.

564
	* vc.el (vc-diff-internal): Remove code for an old version of gnus.
565

566 567 568 569 570
2007-11-08  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-maybe-open-connection): Use a local copy of
	`process-environment'.

571 572 573 574 575
2007-11-08  David Hansen  <david.hansen@gmx.net>  (tiny change)

	* eshell/em-dirs.el (eshell-expand-multiple-dots): Change regexp to
	match dir like "a...b".

576 577 578 579
2007-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* smerge-mode.el (smerge-refine-subst): Pass "-d" to diff.

580 581
2007-11-07  Michael Albinus  <michael.albinus@gmx.de>

582 583
	* net/tramp.el (tramp-handle-substitute-in-file-name):
	Don't expand the remote connection identification.
584 585 586 587 588 589
	(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
	Set also $PS2 and $PS3 when setting $PS1.  Check for shell echoing
	before calling stty.

	* net/tramp-cache.el (tramp-cache-print)
	(tramp-dump-connection-properties): Fix docstring.
590
	(tramp-list-connections): Rename from
591 592 593 594 595 596 597 598 599 600
	`tramp-cache-list-connections'.

	* net/tramp-cmds.el (tramp-cleanup-connection): Apply it.

	* net/tramp-ftp.el (tramp-ftp-file-name-handler): Don't expand the
	remote connection identification when setting connection property.

	* net/tramp-smb.el (tramp-smb-handle-substitute-in-file-name):
	"//" substitutes only in the local filename part.

601 602 603 604
2007-11-07  David Hansen  <david.hansen@gmx.net>

	* eshell/em-glob.el (eshell-extended-glob): Sort matches.

605 606 607 608 609 610
2007-11-07  Glenn Morris  <rgm@gnu.org>

	* emulation/tpu-mapper.el (tpu-map-key): Use unless rather than cond.
	Remove superfluous concats.  Move final set-buffer to
	non-emacs-specific code.

611 612 613 614
2007-11-07  Rob Riepel  <riepel@networking.stanford.edu>

	* emulation/tpu-mapper.el (tpu-map-key): Remove un-needed cond branch.

615 616 617 618 619 620
2007-11-07  Johan Bockg,Ae(Brd  <bojohan@gnu.org>

	* eshell/esh-mode.el (eshell-output-filter):
	* eshell/esh-proc.el (eshell-insertion-filter, eshell-sentinel):
	Use `with-current-buffer'.

621 622 623 624 625
2007-11-07  Andreas Schwab  <schwab@suse.de>

	* server.el (server-start): Only register cleanup after server was
	started.

626 627 628 629 630 631 632 633 634
2007-11-06  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (top): Don't autoload `tramp-cache-print'.

	* net/tramp-cache (tramp-cache-print): Move down.
	(tramp-cache-list-connections): New defun.

	* net/tramp-cmds.el (tramp-cleanup-connection): Use it.

Juanma Barranquero's avatar
Juanma Barranquero committed
635 636 637 638 639
2007-11-06  Juanma Barranquero  <lekktu@gmail.com>

	* ido.el (ido-save-history): Write the history file in the current
	filename coding system, and add `coding' file-local variable.

Carsten Dominik's avatar
Carsten Dominik committed
640 641
2007-11-06  Carsten Dominik  <dominik@science.uva.nl>

Juanma Barranquero's avatar
Juanma Barranquero committed
642 643
	* textmodes/org.el (org-table-formula-substitute-names):
	Remove forgotten temporary debugging code.
Carsten Dominik's avatar
Carsten Dominik committed
644

645 646 647 648 649
2007-11-05  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-wait-for-output): Ignore escape sequences in
	the prompt.

650 651 652 653
2007-10-05  Chris Moore  <christopher.ian.moore@gmail.com>

	* wdired.el (wdired-use-dired-vertical-movement): Doc fix.

654 655 656 657
2007-11-05  Simon Josefsson  <simon@josefsson.org>

	* net/tls.el (tls-end-of-info): Doc fix.

Kenichi Handa's avatar
Kenichi Handa committed
658 659 660 661 662 663
2007-11-05  Kenichi Handa  <handa@ni.aist.go.jp>

	* international/utf-7.el (utf-7-imap): New coding system.
	(utf-7-imap-post-read-conversion): New function.
	(utf-7-imap-pre-write-conversion): New function.

Stefan Monnier's avatar
Stefan Monnier committed
664 665 666 667
2007-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* abbrev.el (abbrev--write): Fix up typo.

668 669 670 671
2007-11-04  Juanma Barranquero  <lekktu@gmail.com>

	* abbrev.el (define-abbrev-table): Doc fix.

672 673 674 675
2007-11-04  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* info.el (Info-revert-buffer-function): New func.
	(Info-mode): Arrange to use it for reverting.
Thien-Thi Nguyen's avatar
Thien-Thi Nguyen committed
676
	(Info-copy-current-node-name): Add space between filename and nodename.
677

678 679 680 681
2007-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* abbrev.el (expand-abbrev): Move point back to expansion's end.

682 683 684 685 686 687 688 689 690 691 692 693 694
2007-11-04  Glenn Morris  <rgm@gnu.org>

	* net/tls.el: Don't require rx when compiling.
	(tls-end-of-info): Rewrite without using rx.
	(open-tls-stream): Use with-current-buffer.

2007-11-04  Riccardo Murri  <riccardo.murri@gmail.com>

	* net/tls.el: Require rx when compiling.
	(tls-end-of-info): New variable.
	(open-tls-stream): Keep reading input until `tls-end-of-info' is
	matched.

695 696 697 698 699
2007-11-03  Sean O'Rourke  <seano@cs.ucla.edu>

	* register.el (append-to-register, prepend-to-register):
	Don't signal error on empty register; use the text, instead.

700 701
2007-11-03  Michael Olson  <mwolson@gnu.org>

702 703
	* textmodes/remember.el (remember-buffer):
	Use define-obsolete-function-alias rather than defalias.
704

705 706 707 708
2007-11-03  Ulrich Mueller  <ulm@gentoo.org>  (tiny change)

	* simple.el (bad-packages-alist): Anchor semantic regexp.

709 710 711 712 713 714 715 716 717 718
2007-11-03  Glenn Morris  <rgm@gnu.org>

	* newcomment.el (comment-dwim): Call comment-insert-comment-function,
	if defined, for blank lines.  Doc fix.

	* progmodes/fortran.el (fortran-mode-map): Don't bind M-;.
	(fortran-mode): Set values for comment-region-function,
	uncomment-region-function and comment-insert-comment-function.
	(fortran-uncomment-region): New function.

719 720
	* textmodes/nroff-mode.el (nroff-mode):
	Set comment-insert-comment-function rather than indent-line-function.
721 722 723
	(nroff-indent-line-function): Remove.
	(nroff-insert-comment-function): New function.

724
2007-11-02  Michael Kifer  <kifer@cs.stonybrook.edu>
Juanma Barranquero's avatar
Juanma Barranquero committed
725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744

	* ediff-vers.el (ediff-vc-working-revision): Add a quote.

2007-11-02  Michael Kifer  <kifer@cs.stonybrook.edu>

	* emulation/viper-ex.el (viper-ex): Do not ignore the region.

	* emulation/viper-cmd.el (viper-prev-destructive-command)
	(viper-insert-prev-from-insertion-ring): Use ring-copy instead of
	copy-sequence.

	* ediff-util.el (ediff-make-current-diff-overlay): Do not use face-name.
	Got rid of ediff-copy-list.

	* ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer): Do not
	use face-name.
	(ediff-test-utility,ediff-diff-mandatory-option)
	(ediff-reset-diff-options): Remove to simplify the mandatory option
	handling on Windows.
	(ediff-set-diff-options): Add.
Juanma Barranquero's avatar
Juanma Barranquero committed
745
	(ediff-diff-options): Set "--binary" option as default in some cases.
Juanma Barranquero's avatar
Juanma Barranquero committed
746 747

	* ediff-vers.el (ediff-vc-internal): Use ediff-vc-revision-other-window.
Juanma Barranquero's avatar
Juanma Barranquero committed
748 749
	(ediff-vc-merge-internal): Use ediff-vc-revision-other-window and
	ediff-vc-working-revision.  Require vc-hooks.
Juanma Barranquero's avatar
Juanma Barranquero committed
750

751 752 753 754
2007-11-02  Drake Wilson  <drake@begriffli.ch>  (tiny change)

	* files.el (hack-local-variables): Fix membership tests to avoid
	treating all variables as safe if `enable-local-variables' is
Romain Francoise's avatar
Romain Francoise committed
755
	set to :safe (CVE-2007-5795).
756

757 758
2007-11-02  Glenn Morris  <rgm@gnu.org>

759 760 761
	* newcomment.el (comment-indent): Let comment-insert-comment-function,
	if defined, do all the work of inserting a new comment.

762 763
	* progmodes/etags.el (tags-table-mode): Disable undo.

764 765
	* simple.el (bad-packages-alist): Revert previous change.

766 767 768 769 770 771
2007-11-02  Dan Nicolaescu  <dann@ics.uci.edu>

	* emacs-lisp/lselect.el: Move to obsolete/lselect.el.

	* obsolete/lselect.el: Do not warn about unknown functions.

772 773 774 775 776
2007-11-02  Michael Olson  <mwolson@gnu.org>

	* textmodes/remember.el (remember-buffer): Make this an alias of
	remember-finalize, because Org uses it.

777 778
2007-11-01  Michael Olson  <mwolson@gnu.org>

779 780
	* textmodes/remember.el: Improve documentation in heading.
	(remember-before-remember-hook): Turn into a customizable option.
781 782 783 784 785 786 787 788
	(remember): Document INITIAL argument.
	(remember-region): Remove autoload cookie.  Improve docstring to
	mention that it is called from the *Remember* buffer, and does not
	have any functional overlap with the `remember' function.
	(remember-finalize): Remove autoload cookie.  Rename from
	remember-buffer to emphasize that this does not have any
	functional overlap with the `remember' function.
	(remember-destroy): Remove autoload cookie.
789
	(remember-mode-map): Define and initialize in one step.
790
	(remember-mode): Improve docstring.
Juanma Barranquero's avatar
Juanma Barranquero committed
791 792
	(remember-annotation-functions): Default to just '(buffer-file-name),
	and don't try to take the default value from Planner.
793

794 795
2007-11-01  Glenn Morris  <rgm@gnu.org>

796 797
	* doc-view.el (doc-view-cache-directory): Remove superfluous concat.

798 799
	* simple.el (bad-packages-alist): Add an entry for standalone vc-svn.

Glenn Morris's avatar
Glenn Morris committed
800 801 802 803
	* emacs-lisp/authors.el (authors-scan-change-log)
	(authors-scan-el): Don't enable local eval; enable only safe local
	variables, without querying.

804 805 806 807 808
	* mail/footnote.el (footnote-numeric-regexp)
	(footnote-english-upper-regexp, footnote-english-lower-regexp)
	(footnote-roman-lower-regexp, footnote-roman-upper-regexp):
	Match multi-character footnotes.

Glenn Morris's avatar
Glenn Morris committed
809 810 811 812 813
	* textmodes/nroff-mode.el (nroff-mode): Set indent-line-function.
	(nroff-indent-line-function): New function.
	(nroff-count-text-lines): Use nroff-forward-text-line rather than
	obsolete alias.

814 815 816 817 818 819 820 821 822
2007-11-01  Ryan Yeske  <rcyeske@gmail.com>

	* net/rcirc.el (rcirc-last-quit-line, rcirc-last-line)
	(rcirc-elapsed-lines): New argument PROCESS.  Update callers.
	(rcirc-print): Only update the line count when not marking the
	line as omittable.
	(rcirc-log-write): Specify coding system when writing logfile.
	(rcirc-markup-fill): Make sure ellipsis does not cause line to wrap.

823 824
2007-11-01  Dan Nicolaescu  <dann@ics.uci.edu>

825 826 827 828 829 830 831 832 833 834 835
	* printing.el (printing): Fix :version, printing.el was included
	for in emacs-22.1.
	(pr-path-style, pr-path-alist, pr-txt-name)
	(pr-txt-printer-alist, pr-ps-name, pr-ps-printer-alist)
	(pr-temp-dir, pr-ps-temp-file, pr-file-modes, pr-gv-command)
	(pr-gs-command, pr-gs-switches, pr-gs-device, pr-gs-resolution)
	(pr-print-using-ghostscript, pr-file-tumble, pr-auto-region)
	(pr-auto-mode, pr-mode-alist, pr-ps-utility)
	(pr-ps-utility-alist, pr-menu-char-height, pr-menu-char-width)
	(pr-setting-database, pr-visible-entry-list)
	(pr-delete-temp-file, pr-list-directory, pr-buffer-name)
Juanma Barranquero's avatar
Juanma Barranquero committed
836
	(pr-buffer-name-ignore, pr-buffer-verbose): Remove incorrect :version.
837

838 839 840 841 842 843 844 845 846 847
	* ediff-util.el (ediff-nuke-selective-display): Move definition to
	top level, make it dependent on the emacs flavor.

	* play/gamegrid.el (gamegrid-kill-timer, gamegrid-start-timer):
	Test for XEmacs not for itimer.

	* term/sun-mouse.el:
	* obsolete/sun-fns.el:
	* obsolete/sun-curs.el: Remove files.

Juanma Barranquero's avatar
Juanma Barranquero committed
848
	* term/sun.el (select-previous-complex-command): Remove obsolete code.
849

850 851 852 853 854
2007-10-31  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el (doc-view-cache-directory): Fix bug where an integer
	was given to concat.

855 856
2007-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>

857 858 859 860
	* doc-view.el (doc-view-mode-map): Bind doc-view-goto-page to the keys
	used normally for goto-line.  Change `g' to revert the buffer.
	Add redundant `r' binding for buffer-revert.

861 862 863 864 865 866 867 868
	* mail/mailabbrev.el (mail-abbrevs-mode): Use define-minor-mode.
	(mail-abbrevs-setup): Use abbrev-expand-functions.
	(build-mail-abbrevs): Use with-temp-buffer.
	(define-mail-abbrev): Simplify.
	(mail-abbrev-expand-wrapper): Rename sendmail-pre-abbrev-expand-hook.
	Change it for use on abbrev-expand-functions.
	(mail-abbrev-complete-alias): Use with-syntax-table.

869 870 871 872 873
2007-10-31  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-handle-shell-command): Call `start-file-process'
	directly.  Fix bug in deleting temp file.

874 875 876 877 878 879 880 881 882
2007-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/python.el (python-mode-abbrev-table): Use :regexp.
	Merge defvar and define-abbrev-table.
	(def-python-skeleton): Use :case-fixed and :enable-function.
	(python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook):
	Remove.
	(python-mode): Don't modify pre-abbrev-expand-hook.

Dan Nicolaescu's avatar
Dan Nicolaescu committed
883 884 885 886 887
2007-10-31  Dan Nicolaescu  <dann@ics.uci.edu>

	* ediff-util.el (ediff-file-checked-out-p)
	(ediff-file-checked-in-p): Only call vc-locking-user for XEmacs.

888 889 890 891 892
2007-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>

	* abbrev.el (abbrev-symbol): Correct let->let*.
	(abbrev--before-point): Only use abbrev-start-location if before point.

893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908
2007-10-31  Juanma Barranquero  <lekktu@gmail.com>

	* strokes.el (strokes-alphabetic-lessp): Simplify.  Doc fix.
	(strokes-unload-hook): Remove function and variable.
	(strokes-unload-function): New-style unload function, adapted
	from `strokes-unload-hook'.

	* emacs-lisp/cl.el (cl-cannot-unload): Remove function.
	(cl-unload-hook): Remove variable.
	(cl-unload-function): New-style unload function, adapted
	from `cl-cannot-unload'.

	* emacs-lisp/elp.el (elp-unload-hook): Remove function and variable.
	(elp-unload-function): New-style unload function, adapted
	from `elp-unload-hook'.

909 910
2007-10-31  Sean O'Rourke  <sorourke@cs.ucsd.edu>

911
	* emacs-lisp/find-func.el (find-library): Use library at
912 913
	point as default interactive argument.

Juanma Barranquero's avatar
Juanma Barranquero committed
914 915 916 917 918 919 920 921 922
2007-10-31  Juanma Barranquero  <lekktu@gmail.com>

	* shadowfile.el (shadow-join): Remove.
	(shadow-shadows): Use `mapconcat' instead of `shadow-join'.
	(shadow-initialize): Use `write-file-functions', not `write-file-hooks'.
	(shadowfile-unload-hook): Remove function and variable.
	(shadowfile-unload-function): New-style unload function, adapted
	from `shadowfile-unload-hook'.

923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943
2007-10-31  Dan Nicolaescu  <dann@ics.uci.edu>

	* progmodes/mixal-mode.el (mixal-run, mixal-debug): Call mixvm
	only if it is bound.

	* textmodes/reftex.el: Move autoloads for before all uses.
	(reftex-make-overlay, reftex-overlay-put, reftex-move-overlay)
	(reftex-delete-overlay): Move to the top level with the condition
	in the body.

	* progmodes/simula.el: Use when instead of if.

	* iimage.el (iimage-locate-file): Define unconditionally.

	* mail/mailabbrev.el (mail-abbrev-next-line):
	* emulation/vip.el (vip-enlarge-region, vip-line)
	(vip-next-line-at-bol, vip-previous-line)
	(vip-previous-line-at-bol, vip-find-char, vip-put-back, ex-read):
	Wrap with-no-warnings around uses of next-line and previous-line.

	* ediff.el (run-ediff-from-cvs-buffer):
Juanma Barranquero's avatar
Juanma Barranquero committed
944 945
	* ediff-vers.el (cvs-run-ediff-on-file-descriptor):
	Remove function not used by pcl-cvs anymore.
946 947 948 949
	(noninteractive, generic-sc-get-latest-rev)
	(ediff-generic-sc-internal, ediff-generic-sc-merge-internal):
	Delete support for long obsolete generic-sc.el.

950 951 952 953 954 955 956 957 958
2007-10-31  Glenn Morris  <rgm@gnu.org>

	* cvs-status.el: No longer require pcvs when compiling.

	* doc-view.el (doc-view-conversion-refresh-interval)
	(doc-view-dvi->pdf, doc-view-pdf/ps->png, doc-view-pdf->txt)
	(doc-view-reset-slice): Doc fixes.
	(doc-view-menu): Remove deleted function doc-view-edit-doc.

959 960 961 962 963 964 965 966 967 968 969 970 971 972
2007-10-31  Juanma Barranquero  <lekktu@gmail.com>

	* help-at-pt.el (help-at-pt-unload-hook): Remove.
	Timers are automatically canceled by `unload-feature'.

	* delsel.el (delsel-unload-hook): Remove function and variable.
	(delsel-unload-function): New-style unload function, adapted
	from `delsel-unload-hook'.

	* msb.el (msb-unload-hook): Remove function and variable.
	(msb-unload-function): New-style unload function, adapted from
	`msb-unload-hook'.

2007-10-30  Juanma Barranquero  <lekktu@gmail.com>
973 974 975 976 977 978 979

	* desktop.el (uniquify-managed): Pacify byte compiler.
	(desktop-buffer-info): If the buffer name is managed by uniquify,
	save the base name, not the uniquified one.
	(desktop-create-buffer): Allow `rename-buffer' to generate a new
	name in case of conflict.

980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999
2007-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* doc-view.el: Use expand-file-name rather than concat.
	(doc-view-cache-directory): Add the UID so multiple users won't clash.
	(doc-view-current-overlay, doc-view-pending-cache-flush): New vars.
	(doc-view-goto-page, doc-view-insert-image, doc-view-buffer-message)
	(doc-view-toggle-display): Use an overlay over the whole buffer so as
	not to have to touch the buffer's content.
	(doc-view-initiate-display): New function, extracted from doc-view-mode.
	(doc-view-mode): Use it.  Don't mark as a special mode.
	Put the page numbers in the modeline.
	Set up the overlay.  Hide the cursor.  Run the mode hook.
	Use after-revert-hook rather than revert-buffer-function.
	(doc-view-search-internal): Fix typo.
	(doc-view-convert-current-doc, doc-view-insert-image): Delay the
	image-cache flush.
	(doc-view-reconvert-doc): Don't reset the whole mode.
	(doc-view-make-safe-dir): New function.
	(doc-view-current-cache-dir): Use it.

1000 1001 1002 1003
2007-10-30  Jason Rumney  <jasonr@gnu.org>

	* time.el (display-time-world-list): Test for zoneinfo support.

1004 1005 1006 1007 1008 1009 1010 1011
2007-10-30  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-maybe-open-connection): Set $LC_ALL to "C".

	* net/tramp-cache.el (tramp-flush-file-function): Check also
	`default-directory' if `buffer-file-name' does not return a
	string.  Added to `eshell-pre-command-hook'.

1012 1013
2007-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>

1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024
	* doc-view.el (doc-view-current-doc): Remove.
	Replace all uses by buffer-file-name.
	(doc-view-menu): New menu.
	(doc-view-reconvert-doc): Don't bind inhibit-read-only and remove
	unused var `doc'.
	(doc-view-sort): Simplify.
	(doc-view-buffer-message): Don't change buffer-modified-p.
	(doc-view-mode): Change it here instead.
	Tighten scoping of prev-major-mode.  Don't re-insert the file's content.
	Don't modify the global value of revert-buffer-function.

1025 1026 1027 1028 1029
	* image-mode.el (image-forward-hscroll, image-next-line, image-eol)
	(image-eob, image-mode, image-minor-mode, image-toggle-display-text)
	(image-toggle-display): Take overlays into account and don't assume
	point-min==1.

1030 1031 1032 1033 1034
2007-10-30  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* vc.el (vc-annotate): Fix omission bug:
	Specify value for vc-sentinel-movepoint.

1035 1036 1037
2007-10-30  Michael Olson  <mwolson@gnu.org>

	* textmodes/remember.el (remember-mode-hook)
1038 1039
	(remember-handler-functions, remember-annotation-functions):
	Add additional items as options, including some Org functions.
1040

1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067
2007-10-30  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el: Remove cl-dependency.
	(doc-view-buffer-message): Mention new binding K.
	(doc-view-convert-current-doc): Use function d-v-current-cache-dir
	instead of variable.
	(doc-view-current-cache-dir): Better cache dir naming.
	(doc-view-current-display): Remove variable.
	(doc-view-edit-doc, doc-view-display-maybe): Remove functions.
	(doc-view-kill-proc): Set converter process to nil.
	(doc-view-minor-mode): New minor mode.
	(doc-view-minor-mode-map): New keymap.
	(doc-view-mode): Remove text/image switching code.  Use plain defun.
	(doc-view-mode-map): New binding K kills converter process.
	Remove C-c C-e binding.
	(doc-view-mode-text-map): Remove keymap.
	(doc-view-pdf/ps->png): Timer calls d-v-display instead of
	d-v-display-maybe.
	(doc-view-previous-major-mode): New variable.
	(doc-view-ps->pdf): Resort args to make ps2pdf happy.
	(doc-view-remove-if): New function.
	(doc-view-search-next-match, doc-view-search-previous-match): Use it.
	(doc-view-toggle-display): Toggle modes instead of display styles.
	(doc-view-reconvert-doc): Adapt to new way of doing things.

	* progmodes/ps-mode.el (ps-mode-map): Enable doc-view-minor-mode.

Glenn Morris's avatar
Glenn Morris committed
1068 1069
2007-10-30  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1070
	* dirtrack.el (dirtrack-mode): Doc fix.
Juanma Barranquero's avatar
Juanma Barranquero committed
1071

Glenn Morris's avatar
Glenn Morris committed
1072 1073 1074
	* shell.el (shell-dirtrack-verbose, shell-mode)
	(shell-directory-tracker, shell-dirtrack-mode): Doc fix.

Glenn Morris's avatar
Glenn Morris committed
1075 1076 1077 1078 1079 1080
	* emacs-lisp/bytecomp.el (byte-compile-disable-warning)
	(byte-compile-enable-warning): Doc fix.

	* emulation/tpu-mapper.el (tpu-map-key): Use with-no-warnings to
	suppress byte-opt warning.

1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108
2007-10-30  Dan Nicolaescu  <dann@ics.uci.edu>

	* emulation/edt.el (edt-emacs19-p, edt-x-emacs19-p)
	(edt-gnu-emacs19-p): Remove.
	(edt-emacs-variant, edt-window-system): Use feature 'emacs.
	(edt-xserver, edt-page-backward, edt-beginning-of-line)
	(edt-end-of-line-forward, edt-end-of-line-backward)
	(edt-one-word-forward, edt-one-word-backward, edt-character)
	(edt-line-forward, edt-next-line, edt-previous-line, edt-top)
	(edt-find-forward, edt-find-backward, edt-find-next-forward)
	(edt-find-next-backward, edt-reset, edt-advance, edt-backup)
	(edt-define-key, edt-bottom-check, edt-sentence-forward)
	(edt-sentence-backward, edt-paragraph-forward)
	(edt-paragraph-backward, edt-restore-key, edt-window-top)
	(edt-window-bottom, edt-scroll-window-forward-line)
	(edt-scroll-window-backward-line, edt-line-to-bottom-of-window)
	(edt-line-to-top-of-window, edt-paragraph-backward)
	(edt-restore-key, edt-window-top, edt-window-bottom)
	(edt-scroll-window-forward-line)
	(edt-scroll-window-backward-line, edt-line-to-bottom-of-window)
	(edt-line-to-middle-of-window, edt-goto-percentage)
	(edt-display-the-time, edt-remember, edt-split-window)
	(edt-emulation-on, edt-emulation-off)
	(edt-default-emulation-setup, edt-user-emulation-setup)
	(edt-select-default-global-map, edt-select-user-global-map):
	Replace uses of edt-x-emacs19-p and edt-gnu-emacs19-p with feature
	tests.

1109 1110
	* textmodes/reftex-index.el (reftex-index-selection-or-word):
	Use feature test instead of boundp test so it can be resolved at
1111 1112 1113 1114 1115
	compile time.

	* net/newsticker.el (replace-regexp-in-string): Only define for
	XEmacs.

1116 1117 1118 1119 1120 1121 1122 1123
2007-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* abbrev.el: Rename `count' and `system-flag' to :count and :system.
	Update all users.
	(abbrev-get, abbrev-put): Simplify.
	(define-abbrev): Don't store the `force' value in the :system property.
	(abbrev--before-point): Obey the :enable-function of the abbrev as well.

1124 1125 1126 1127
2007-10-30  Michael Olson  <mwolson@gnu.org>

	* desktop.el (desktop-minor-mode-table): Add line for ERC.

Michael Olson's avatar
Michael Olson committed
1128 1129 1130 1131 1132 1133
	* textmodes/remember.el: New file that implements a mode for
	quickly jotting down things to remember.

	* textmodes/remember-diary.el: A backend for remember.el that
	implements saving notes to a Diary file.

1134 1135
2007-10-29  Ken Manheimer  <ken.manheimer@gmail.com>

1136
	* allout.el (allout-command-prefix, allout-inhibit-auto-fill):
1137
	Relocate in file.
1138
	(allout-doublecheck-at-and-shallower): Increase to include
1139 1140
	slightly greater depths, since yank interaction is now ok.
	Also, elaborate the docstring to explain the situation.
1141
	(produce-allout-mode-map, allout-hotspot-key-handler): Use vconcat
1142 1143
	instead of concat, so we accommodate key sequences expressed as
	vectors as well as strings and lists.
1144
	(allout-flag-region, allout-hide-by-annotation): Make the
1145
	hidden-text overlays 'front-advance.
1146
	(allout-overlay-insert-in-front-handler): Correct docstring's grammar.
1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157
	(allout-aberrant-container-p, allout-on-current-heading-p)
	(allout-e-o-prefix-p, allout-next-heading)
	(allout-previous-heading, allout-goto-prefix)
	(allout-end-of-prefix, allout-next-sibling-leap)
	(allout-next-visible-heading, allout-auto-fill)
	(allout-rebullet-heading, allout-kill-line, allout-kill-topic)
	(allout-yank-processing, allout-resolve-xref)
	(allout-current-topic-collapsed-p, allout-hide-region-body)
	(allout-latex-verbatim-quote-curr-line, allout-encrypt-string)
	(allout-encrypted-topic-p, allout-next-topic-pending-encryption)
	(count-trailing-whitespace-region): Preserve match data, so allout
1158
	outline navigation doesn't disrupt other Emacs operations.
1159
	(allout-beginning-of-line): Retreat to the beginning of the hidden
1160
	text, so fields are respected (for submodes that care).
1161
	(allout-end-of-line): Preserve mark activation status when jumping.
1162
	(allout-open-topic): Account for opening after a child that
1163 1164
	contains a hidden trailing newline.  Preserve match data.
	Run allout-structure-added-hook
1165 1166
	(allout-encrypt-decrypted): Preserve match data.
	(allout-toggle-current-subtree-exposure): Add new interactive
1167
	function for toggle subtree exposure - suggested by tassilo.
1168
	(move-beginning-of-line, move-end-of-line): Don't use
1169 1170 1171
	line-move-invisible-p, it's obsolete - substitute the code,
	instead.

1172 1173
2007-10-29  Dan Nicolaescu  <dann@ics.uci.edu>

1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184
	* textmodes/flyspell.el (message-signature-separator):
	* longlines.el (message-indent-citation-function): Pacify byte
	compiler.

	* emacs-lisp/cl-loaddefs.el:
	* ldefs-boot.el: Regenerate.

	* Makefile.in (BYTE_COMPILE_EXTRA_FLAGS): New variable.
	(.el.elc, compile, compile-always, compile-calc)
	($(lisp)/progmodes/cc-mode.elc): Use it.

Juanma Barranquero's avatar
Juanma Barranquero committed
1185 1186
	* ps-print.el (ps-xemacs-color-name, ps-xemacs-face-kind-p):
	Only do work for XEmacs.
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201
	(ps-xemacs-mapper): Rename from ps-mapper, only work on XEmacs.
	(ps-xemacs-extent-sorter): Rename from ps-extent-sorter, only work
	on XEmacs.
	(ps-x-color-instance-p, ps-x-color-instance-rgb-components)
	(ps-x-color-name, ps-x-color-specifier-p)
	(ps-x-copy-coding-system, ps-x-device-class)
	(ps-x-extent-end-position, ps-x-extent-face)
	(ps-x-extent-priority, ps-x-extent-start-position)
	(ps-x-face-font-instance, ps-x-find-coding-system)
	(ps-x-font-instance-properties, ps-x-make-color-instance)
	(ps-x-map-extents, ps-e-face-bold-p, ps-e-face-italic-p)
	(ps-e-next-overlay-change, ps-e-overlays-at, ps-e-overlay-get)
	(ps-e-overlay-end, ps-e-x-color-values, ps-e-color-values):
	(ps-generate-postscript-with-faces): Delete defaliases.
	(ps-face-foreground-name, ps-face-background-name)
Juanma Barranquero's avatar
Juanma Barranquero committed
1202 1203
	(ps-color-values, ps-face-bold-p, ps-face-italic-p):
	Move definitions to top level, make the body conditional on the Emacs
1204
	flavor.  Replace uses of deleted aliases and renamed functions.
1205 1206 1207
	(ps-generate-postscript-with-faces, ps-color-device): Replace uses
	of deleted aliases and renamed functions.

1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229
	* calc/calc.el (calc-emacs-type-lucid): Remove.
	(calc-digit-map, calcDigit-start, calc-read-key)
	(calc-clear-unread-commands):
	* calc/calc-ext.el (calc-user-key-map): Replace uses of
	calc-emacs-type-lucid with (featurep 'xemacs)

	* emulation/tpu-mapper.el: Replace tpu-lucid-emacs19-p with
	(featurep 'xemacs).
	(tpu-lucid-emacs19-p): Remove.
	(tpu-map-key): Make it a function instead of using fset.  Inline
	tpu-emacs-map-key and tpu-lucid-map-key.  Use featurep 'xemacs.
	(tpu-emacs-map-key, tpu-lucid-map-key): Remove.

	* ielm.el: Use featurep 'xemacs.

	* progmodes/cperl-mode.el (cperl-xemacs-p): Remove.
	(condition-case, cperl-can-font-lock, cperl-singly-quote-face)
	(cperl-define-key, cperl-mode-map, cperl-mode, cperl-init-faces)
	(cperl-write-tags, cperl-tags-hier-init, cperl-perldoc): Replace
	cperl-xemacs-p with (featurep 'xemacs).
	(font-lock-cache-position): Pacify byte compiler.

1230 1231 1232 1233 1234 1235 1236 1237
2007-10-29  Drew Adams  <drew.adams@oracle.com>

	* faces.el (read-color): New function.
	(face-at-point, foreground-color-at-point)
	(background-color-at-point): New functions.

2007-10-28  Richard Stallman  <rms@gnu.org>

Juanma Barranquero's avatar
Juanma Barranquero committed
1238
	* net/browse-url.el (browse-url-text-xterm): Rename from
1239 1240 1241
	browse-url-lynx-xterm and made generic.
	(browse-url-text-emacs): Likewise.
	(browse-url-text-browser): New variable.
Juanma Barranquero's avatar
Juanma Barranquero committed
1242
	(browse-url-text-emacs-args): Rename from browse-url-lynx-emacs-args.
1243 1244 1245
	(browse-url-text-input-field, browse-url-text-input-attempts)
	(browse-url-kde-program): Likewise.

Glenn Morris's avatar
Glenn Morris committed
1246 1247 1248 1249 1250 1251
2007-10-29  Glenn Morris  <rgm@gnu.org>

	* textmodes/org-publish.el (org-publish-get-plist-from-filename):
	Use mapc rather than mapcar (reinstall change deleted without log
	entry 2007-10-22).

1252 1253
2007-10-29  Martin Rudalics  <rudalics@gmx.at>

Juanma Barranquero's avatar
Juanma Barranquero committed
1254 1255
	* wdired.el (wdired-next-line, wdired-previous-line):
	Use next-line and previous-line wrapped in with-no-warnings.
1256

1257 1258
2007-10-29  Ryan Yeske  <rcyeske@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
1259
	* net/rcirc.el (rcirc-server-alist): Use keywords for parameter names.
1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281
	(rcirc-recent-quit-alist): New function.
	(rcirc): Print a better message when there is only one connected server.
	(rcirc-complete-nick): Do not update the nick table here.
	(rcirc-mode-map): Add M-o.
	(rcirc-current-line): Add variable.
	(rcirc-mode): Setup variables for line based omit.
	(rcirc-edit-multiline): Strip text properties.
	(rcirc-omit-responses): Add NICK.
	(rcirc-omit-threshold): Add variable.
	(rcirc-last-quit-line, rcirc-last-line, rcirc-elapsed-lines):
	Add functions.
	(rcirc-print): Keep track of current line.  Do not fill text if
	`rcirc-fill-flag' is null.  Only omit text if the last activity
	from the sender is more than `rcirc-omit-threshold' lines ago.
	(rcirc-put-nick-channel, rcirc-handler-PRIVMSG): Track line
	numbers instead of time.
	(rcirc-channel-nicks): Sort by line numbers instead of time.
	(rcirc-omit-mode): Add `...' when omitting text and recenter.
	(rcirc-handler-JOIN): Restore the joiners linestamp.
	(rcirc-maybe-remember-nick-quit): Add function.
	(rcirc-handler-QUIT): Record sender in table of recently quit nicks.

1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292
2007-10-29  Juanma Barranquero  <lekktu@gmail.com>

	* loadhist.el (unload-feature-special-hooks):
	Add `delete-frame-functions' and `suspend-tty-functions'.

	* server.el (server-unload-function): Rename from `server-unload-hook'
	and adapt to new `unload-feature' functionality.  Remove hook from
	`kill-buffer-hook' buffer-locally.
	(server-unload-hook): Remove.
	(server-unload-function): New var; replaces `server-unload-hook'.

Glenn Morris's avatar
Glenn Morris committed
1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304
2007-10-29  Glenn Morris  <rgm@gnu.org>

	* dirtrack.el (dirtrack-debug): Doc fix.
	(dirtrack-mode, dirtrack-debug-mode): New names for
	dirtrack-toggle and dirtrack-debug-toggle.  Use define-minor-mode.
	(dirtrack-toggle, dirtrack-debug-toggle, dirtrackp, dirtrack-debug):
	Make obsolete.
	(dirtrack-debug-message): Only print message if
	dirtrack-debug-mode is non-nil.  Use with-current-buffer.
	(dirtrack): Doc fix.  Use dirtrack-mode rather than dirtrackp.
	Remove dirtrack-debug checks now that dirtrack-debug-message does this.

1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326
2007-10-28  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/bytecomp.el (byte-compile-warnings): Document `not'.
	(byte-compile-warnings-safe-p): Handle `not'.
	(byte-compile-warning-enabled-p, byte-compile-disable-warning)
	(byte-compile-enable-warning): New functions.
	(byte-compile-eval-before-compile)
	(byte-compile-file-form-require): Use byte-compile-disable-warning.
	(byte-compile-close-variables): Locally bind byte-compile-warnings,
	but do not modify it.
	(byte-compile-eval, byte-compile-obsolete)
	(byte-compile-warn-about-unresolved-functions)
	(byte-compile-file-form-defvar)
	(byte-compile-file-form-custom-declare-variable)
	(byte-compile-file-form-require)
	(byte-compile-file-form-defmumble, byte-compile-lambda)
	(byte-compile-form, byte-compile-normal-call)
	(byte-compile-variable-ref, byte-compile-defvar)
	(byte-compile-make-variable-buffer-local):
	Use byte-compile-warning-enabled-p.
	* emacs-lisp/advice.el (ad-compile-function):
	Use byte-compile-disable-warning.
Glenn Morris's avatar
Glenn Morris committed
1327 1328
	* emacs-lisp/cl.el: Move local variables to end of file, and set
	byte-compile-warnings to `(not cl-functions)'.
1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339
	* emacs-lisp/cl-compat.el: Add a local variables section, and set
	byte-compile-warnings to `(not cl-functions)'.
	* emacs-lisp/cl-macs.el: Unify local variable section, and set
	byte-compile-warnings to `(not cl-functions)'.
	(cl-do-proclaim): Use byte-compile-disable-warning and
	byte-compile-enable-warning.
	* emacs-lisp/cl-seq.el: Unify local variable section, and set
	byte-compile-warnings to `(not cl-functions)'.
	* progmodes/cc-bytecomp.el (cc-bytecomp-ignore-obsolete):
	Use byte-compile-disable-warning.

1340 1341 1342 1343 1344
2007-10-28  Dan Nicolaescu  <dann@ics.uci.edu>

	* cus-edit.el (custom-browse-insert-prefix):
	* emulation/edt.el (edt-x-emacs19-p): Use featurep 'xemacs.

1345 1346 1347 1348 1349 1350 1351
2007-10-28  Juanma Barranquero  <lekktu@gmail.com>

	* server.el (server-process-filter): Fix typo in docstring.
	(server-log): Reflow docstrings.
	(server-delete-client, server-kill-emacs-query-function): Doc fixes.
	(server-goto-line-column): Use `when'.

1352 1353 1354 1355 1356 1357 1358 1359
2007-10-28  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-other-meta-char): Call `isearch-edit-string'
	when mouse is clicked on the isearch message.
	(isearch-resume): Call `isearch-update' at the end.
	Rename argument `search' to `string' to conform to the
	isearch terminology.

Stefan Monnier's avatar
Stefan Monnier committed
1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382
2007-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	Rewrite abbrev.c in Elisp.
	* abbrev.el (abbrev-mode): Move custom group from cus-edit.el.
	(abbrev-table-get, abbrev-table-put, abbrev-get)
	(abbrev-put, make-abbrev-table, abbrev-table-p, clear-abbrev-table)
	(define-abbrev, abbrev--check-chars, define-global-abbrev)
	(define-mode-abbrev, abbrev--active-tables, abbrev-symbol)
	(abbrev-expansion, abbrev--before-point, expand-abbrev)
	(unexpand-abbrev, abbrev--write, abbrev--describe)
	(insert-abbrev-table-description, define-abbrev-table):
	New funs, largely transcribed from abbrev.c.
	(abbrev-with-wrapper-hook): New macro.
	(abbrev-table-name-list, global-abbrev-table)
	(abbrev-minor-mode-table-alist, fundamental-mode-abbrev-table)
	(abbrevs-changed, abbrev-all-caps, abbrev-start-location)
	(abbrev-start-location-buffer, last-abbrev, last-abbrev-text)
	(last-abbrev-location, pre-abbrev-expand-hook, abbrev-expand-function):
	New vars, largely transcribed from abbrev.c.
	* cus-edit.el (abbrev-mode): Remove.  Move to abbrev.el.
	* cus-start.el: Remove abbrev-all-caps and pre-abbrev-expand-hook.
	* loadup.el: Load "abbrev.el" before "lisp-mode.el".

1383 1384