ChangeLog 455 KB
Newer Older
1 2 3 4 5
2008-01-04  Juanma Barranquero  <lekktu@gmail.com>

	* savehist.el (savehist-coding-system): Default to a variant coding
	system with explicit unix end-of-line conversion, which is safer.

6 7
2008-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>

8 9 10
	* ibuf-ext.el (mode-name sorter, ibuffer-mark-by-mode-regexp):
	* ibuffer.el (mode column): Use format-mode-line.

11 12 13
	* server.el (server-create-window-system-frame): Remove workaround for
	a bug that has been fixed.

14 15
2008-01-03  Magnus Henoch  <magnus@zemdatav>

16 17
	* net/dbus.el (dbus-name-owner-changed-handler):
	Use dbus-unregister-object instead of dbus-unregister-signal.
18

19 20 21 22
2008-01-03  Drew Adams  <drew.adams@oracle.com>

	* frame.el (frame-geom-value-cons, frame-geom-spec-cons): New fns.

23 24 25 26 27 28
2008-01-03  Richard Stallman  <rms@gnu.org>

	* replace.el (occur-context-lines): New subroutine,
	broken out of occur-engine.
	(occur-engine): Call it.

29 30 31 32 33 34
2008-01-03  Alexandre Julliard  <julliard@winehq.org>

	* vc-git.el (vc-git--ls-files-state): New function.
	(vc-git-dir-state): Use it instead of processing the status
	results here.

35 36
2008-01-02  Eric S. Raymond  <esr@snark.thyrsus.com>

37 38
	* progmodes/grep.el (grep-find-ignored-directories):
	Initialize from the value of vc-directory-exclusion-list.
39 40 41 42

	* vc-hooks (vc-directory-exclusion-list):  Include "_darcs",
	even though we don't have a back end for darcs yet.

43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
2008-01-02  Karl Fogel  <kfogel@red-bean.com>

	Change a return type, for greater extensibility.  See
	http://lists.gnu.org/archive/html/emacs-devel/2007-12/msg01077.html
	and its thread for discussion leading to this change.

	* emacs-cvs/lisp/bookmark.el:
	(bookmark-jump-noselect): Return an alist instead of a dotted pair.
	(bookmark-jump, bookmark-jump-other-window, bookmark-insert)
	(bookmark-bmenu-2-window, bookmark-bmenu-other-window)
	(bookmark-bmenu-switch-other-window): Adjust accordingly.
	(bookmark-make-cell-function): Adjust documentation accordingly.

	* emacs-cvs/lisp/image-mode.el
	(image-bookmark-jump): Adjust return type accordingly; document.

	* emacs-cvs/lisp/doc-view.el
	(doc-view-bookmark-jump): Adjust return type accordingly; document.

62
2008-01-02  Miles Bader  <miles@gnu.org>
63 64 65 66 67 68 69 70 71

	* net/rcirc.el (rcirc-log-filename-function): New variable.
	(rcirc-log): Use `rcirc-log-filename-function' to generate the
	log-file name.  Don't log anything if it returns nil.
	(rcirc-log-write): Use `expand-file-name' when merging the
	log-file name from the alist with rcirc-log-directory; this does
	the right thing if the name in the alist already an absolute
	filename.  Make the log-file directory if necessary.

72 73
2007-12-29  Richard Stallman  <rms@gnu.org>

74 75 76 77
	* font-lock.el (font-lock-prepend-text-property)
	(font-lock-append-text-property): Canonicalize the face and
	font-lock-face properties.

Richard M. Stallman's avatar
Richard M. Stallman committed
78 79
	* faces.el (facep): Doc fix.

80 81 82 83 84 85
	* startup.el (fancy-startup-tail, fancy-about-text)
	(fancy-startup-text): Regularize format of face property.

	* facemenu.el (list-colors-print): Use :background and :foreground
	instead of background-color and foreground-color.

86 87 88 89
2007-12-29  Drew Adams  <drew.adams@oracle.com>

	* cus-edit.el (custom-add-parent-links):
	Fill the "Parent documentation" text.
90

91 92 93 94 95 96
2007-12-29  Eli Zaretskii  <eliz@gnu.org>

	* textmodes/ispell.el (ispell-grep-command): Use "grep" on
	MS-Windows and MS-DOS.
	(ispell-grep-options): Use "-Ei" on MS-Windows and MS-DOS.

97 98 99 100
2008-01-02  Eric S. Raymond  <esr@snark.thyrsus.com>

	* vc-svn.el (vc-svn-modify-change comment): New function.

101 102
2008-01-01  Dan Nicolaescu  <dann@ics.uci.edu>

103 104
	* vc-git.el (vc-git-dir-state): Set the vc-backend property.
	Do not disable undo, with-temp-buffer does it by default.
105

106 107
2008-01-01  Eric S. Raymond  <esr@snark.thyrsus.com>

Dan Nicolaescu's avatar
Dan Nicolaescu committed
108
	* vc-svn.el (vc-svn-parse-status): Set the 'unregisted property
109 110
	correctly.

111 112
	* vc.el (vc-dired-hook):  Speed tuning.  Replace a vc-backend call
	with vc-state.
Dan Nicolaescu's avatar
Dan Nicolaescu committed
113
	(vc-next-action): Fix vc-transfer-file call.
114

Nick Roberts's avatar
Nick Roberts committed
115
2007-12-31  Tom Tromey  <tromey@redhat.com>
Nick Roberts's avatar
Nick Roberts committed
116

117 118
	* emacs-lisp/elp.el (elp-results): Use header-line-format for header.
	Move point to the start of the buffer.
Nick Roberts's avatar
Nick Roberts committed
119

120 121
2007-12-31  Dan Nicolaescu  <dann@ics.uci.edu>

122 123
	* vc-cvs.el (vc-cvs-parse-entry): Set the vc-backend property.

124 125 126
	* vc.el: State that dir-state is required to set the vc-state and
	vc-backend properties.

127 128
2007-12-31  Martin Rudalics  <rudalics@gmx.at>

129 130
	* man.el (Man-default-man-entry): Make this a defun.
	Improve guessing mechanism and handling of section numbers.
131

132 133 134 135
2007-12-31  Richard Stallman  <rms@gnu.org>

	* faces.el (face-all-attributes): If FRAME is nil, return defaults.

136 137 138 139 140
2007-12-31  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-units.el (calc-convert-temperature): Ensure that units
	are on the result even when the result is zero.

141 142 143 144 145 146
2007-12-30  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (dbus-name-owner-changed-handler): Make the function
	resistent towards wrong parameters.
	(dbus-handle-event): Propagate D-Bus errors only in the debug case.

147 148
2007-12-30  Richard Stallman  <rms@gnu.org>

149 150 151 152 153
	* faces.el (face-all-attributes): New function.

	* faces.el (face-differs-from-default-p): Compute list of attr names
	from face-attribute-name-alist.

154 155 156 157 158 159 160 161
	* cus-edit.el (custom-face-set): Call `face-spec-set' with FOR-DEFFACE.
	(custom-face-save): Likewise.
	(custom-face-reset-saved, custom-face-reset-standard): Likewise.

	* cus-face.el (custom-declare-face): Per frame, use `face-spec-set-2'.
	(custom-theme-set-faces): Clear `face-override-spec' property.
	Call `face-spec-set' with FOR-DEFFACE.

162
	* custom.el (custom-theme-recalc-face): Simply call `face-spec-recalc'.
163 164 165 166 167 168 169 170 171 172

	* faces.el (face-spec-set): Third arg is now FOR-DEFFACE.
	Use of frame as third arg is deprecated.
	Handle `face-override-spec' property.
	(face-spec-recalc): New function.
	(face-spec-set-2): New function.
	(frame-set-background-mode): Handle `face-override-spec' property.
	Use `face-spec-recalc'.
	(face-set-after-frame-default): Use `face-spec-recalc'.

Nick Roberts's avatar
Nick Roberts committed
173 174 175 176
2007-12-29  Nick Roberts  <nickrob@snap.net.nz>

	* thumbs.el (thumbs-conversion-program): Add comment for Windows XP.

177 178 179 180
2007-12-29  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-hg.el (vc-hg-dir-state): Set the vc-backend property.

181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200
2007-12-29  Eric S. Raymond  <esr@snark.thyrsus.com>

	* vc-svn.el (vc-svn-parse-status): Recognize 'unregistered,
	'added, 'removed.

	* vc.el (header coment): Better description of dir-state.
	(vc-compatible-state): New function.  Checks whether two states
	can be in the same changeset; used with 'edited it can test whether
	the next action for a state should be commit.
	(vc-default-dired-format0info): Display 'added state.
	(vc-dired-hook): Turn off undo, this is a speed tweak.

	* vc-bzr.el (vc-bzr-dir-state): Recognize 'added.

	* vc-hg.el (vc-bzr-hg-state): Recognize 'added and 'removed.
	Cope with the possibility that the 'C' status flag might change
	in 0.9,6.

	* vc-git.el (vc-bzr-dir-state): Recognize 'removed.

201 202 203 204 205
2007-12-29  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* files.el (cd-absolute): Fix omission bug:
	Make `list-buffers-directory' buffer-local.

206 207 208 209
2007-12-29  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-hg.el (vc-hg-dir-state): Deal with the up-to-date state.

Jay Belanger's avatar
Jay Belanger committed
210 211
2007-12-29  Jay Belanger  <jay.p.belanger@gmail.com>

212
	* calc/calc-aent.el (math-read-token): Fix misplaced parentheses.
Jay Belanger's avatar
Jay Belanger committed
213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234

	* calc/calc-lang.el (calc-yacas-language, calc-maxima-language)
	(calc-giac-language, math-yacas-parse-Sum, math-yacas-compose-sum)
	(math-yacas-compose-deriv, math-yacas-compose-taylor)
	(math-maxima-parse-subst, math-maxima-parse-taylor)
	(math-maxima-compose-taylor, math-maxima-compose-subst)
	(math-maxima-compose-if, math-lang-switch-args)
	(math-lang-compose-switch-args, math-read-giac-subscr):
	New functions.
	(calc-lang-allow-underscores, calc-lang-allow-percentsigns)
	(calc-lang-brackets-are-subscripts, calc-lang-c-type-hex):
	Add languages.
	(math-vector-brackets, math-complex-format, math-variable-table)
	(math-parse-table, math-oper-table, math-function-table)
	(math-special-function-table, math-compose-subscr):
	Add values for new languages.

	* calc/calccomp.el (math-compose-expr): Add new languages.

	* calc/calc.el (calc-language): Add languages to docstring.

	* calc/calc-ext.el (calc-init-extensions): Add keybindings
235
	for new languages.  Autoload commands to change languages.
Jay Belanger's avatar
Jay Belanger committed
236 237 238 239

	* calc/calc-help.el (calc-d-prefix-help): Add new languages.

	* calc/calc-menu.el (calc-modes-menu): Add new languages.
240 241 242 243
	(calc-arithmetic-menu, calc-scientific-function-menu)
	(calc-algebra-menu, calc-graphics-menu, calc-vectors-menu)
	(calc-units-menu, calc-variables-menu, calc-stack-menu):
	Add :active keywords.
Jay Belanger's avatar
Jay Belanger committed
244

245 246 247 248 249 250 251 252
2007-12-28  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-hg.el (vc-hg-registered): Return the false when vc-hg-state
	returns 'ignored or 'unregistered.
	(vc-hg-state): Pass "-A" to the status command and deal with the
	output.
	(vc-hg-dir-state): Pass "-A" to the status command.

Miles Bader's avatar
Miles Bader committed
253
2007-12-29  Richard Stallman  <rms@gnu.org>
254 255 256 257

	* progmodes/compile.el (compilation-start): Set initial visible
	point properly even when compilation buffer already current.

Miles Bader's avatar
Miles Bader committed
258
2007-12-29  Richard Stallman  <rms@gnu.org>
259 260 261 262

	* files.el (conf-mode-maybe): New function.
	(auto-mode-alist): Use conf-mode-maybe for .conf etc.

Miles Bader's avatar
Miles Bader committed
263
2007-12-29  Martin Rudalics  <rudalics@gmx.at>
264 265 266

	* textmodes/fill.el (fill-find-break-point): Fix doc-string typo.

Miles Bader's avatar
Miles Bader committed
267
2007-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
268 269 270

	* progmodes/asm-mode.el (asm-mode-map): Add a major mode menu.

Miles Bader's avatar
Miles Bader committed
271
2007-12-29  Richard Stallman  <rms@gnu.org>
272 273 274 275

	* comint.el (comint-mode-map): Explicitly bind `delete' and `kp-delete'
	so they never do EOF.

Miles Bader's avatar
Miles Bader committed
276
2007-12-29  Richard Stallman  <rms@gnu.org>
277

278 279 280
	* faces.el (copy-face): Create the new face explicitly if it
	does not exist already.

Miles Bader's avatar
Miles Bader committed
281
2007-12-29  Eli Zaretskii  <eliz@gnu.org>
282

283
	* simple.el (minibuffer-history, shell-command-history)
284 285 286
	(set-variable-value-history):
	* replace.el (regexp-history):
	* international/mule-cmds.el (input-method-history):
287 288 289
	* files.el (file-name-history): Add reference to history-length in
	the doc string.

Miles Bader's avatar
Miles Bader committed
290
2007-12-29  Richard Stallman  <rms@gnu.org>
291 292 293

	* comint.el (comint-password-prompt-regexp): Match `Enter Password'.

Miles Bader's avatar
Miles Bader committed
294
2007-12-29  Jason Rumney  <jasonr@gnu.org>
Jason Rumney's avatar
Jason Rumney committed
295 296 297 298 299 300 301 302 303

	* find-dired.el (find-name-arg): New custom variable.
	(find-name-dired): Use it.
	(find-dired-find-program): Remove.
	(find-dired): Use find-program.
	(find-grep-dired): Use grep-program.

	* progmodes/grep.el (rgrep): Use find-name-arg.

Miles Bader's avatar
Miles Bader committed
304
2007-12-29  Thien-Thi Nguyen  <ttn@gnuvola.org>
305 306

	* progmodes/cc-vars.el (defcustom-c-stylevar):
307
	Revert to pre-2007-12-12 version.
308

Miles Bader's avatar
Miles Bader committed
309
2007-12-29  Richard Stallman  <rms@gnu.org>
310 311 312

	* emacs-lisp/find-func.el (find-function-after-hook): Add :type.

313
	* info.el (Info-clone-buffer): Rename from Info-clone-buffer-hook.
314 315 316 317 318 319 320 321
	Use changed.

	* startup.el (fancy-splash-help-echo): Var deleted.
	(fancy-splash-insert): Get help-echo from (startup-echo-area-message).
	(fancy-about-screen): Don't display fancy-splash-help-echo.

	* menu-bar.el (menu-bar-describe-menu): Remove dots from menu text.

322 323
2007-12-28  Eric S. Raymond  <esr@snark.thyrsus.com>

324 325
	* vc-hooks.el, vc.el: Move vc-directory-exclusion-list from vc.el
	to vc-hooks.el so it will be available to other modes, such as
Eric S. Raymond's avatar
Eric S. Raymond committed
326
	speedbar.el.  Also, teach it to recognize monotone state directories.
327 328 329 330 331

	* speedbar.el: Remove this mode's fragile assumptions about
	version-control systems.  Instead, make it use logic from
	vc-hooks.el so it will become smarter whenever VC mode does.

Juanma Barranquero's avatar
Juanma Barranquero committed
332 333
	* vc-hooks.el: 'added is a real state, not a future hypothetical one.
	Fix the documentation.
334

335 336
	* vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el, vc-mcvs.el, vc-svn.el:
	Modify all instances of the dir-state back-end method to suppress
Eric S. Raymond's avatar
Eric S. Raymond committed
337 338
	keeping undo lists on the buffers holding status output, which
	can get extremely large.
339

Juanma Barranquero's avatar
Juanma Barranquero committed
340 341
	* vc-cvs.el, vc-svn.el: Simplify backend dired-state-info functions
	so they don't do work that the default one can do instead.
342 343

	* vc-hooks.el (vc-state): Document new 'ignored and 'unregistered
Juanma Barranquero's avatar
Juanma Barranquero committed
344
	states, and the new return-value convention.  These are not
345 346 347 348 349
	actually used yet, just set.

	* vc-svn.el (vc-svn-parse-status): Set 'ignored and 'unregistered
	states when appropriate.

Juanma Barranquero's avatar
Juanma Barranquero committed
350 351
	* vc-hg.el (vc-hg-state, vc-hg-dir-state): Set 'ignored and
	'unregistered when appropriate.
352 353 354

	* vc-git.el: Document that we don't set the new states yet.

Eric S. Raymond's avatar
Eric S. Raymond committed
355
	* vc.el (vc-dired-state-info): Display 'added, 'unregistered and
356 357 358 359 360
	'ignored states.

	* vc-cvs.el (vc-cvs-parse-status): Set the 'ignored state when
	appropriate.

Juanma Barranquero's avatar
Juanma Barranquero committed
361 362
	* vc-bzr.el (vc-bzr-dir-state): Set 'ignored and 'unregistered
	when appropriate.
363

Nick Roberts's avatar
Nick Roberts committed
364 365 366 367
2007-12-28  Nick Roberts  <nickrob@snap.net.nz>

	* thumbs.el (thumbs-call-convert): Use call-process directly
	with thumbs-conversion-program instead of through shell-file-name
Nick Roberts's avatar
Nick Roberts committed
368
	for better error reporting.
Nick Roberts's avatar
Nick Roberts committed
369

370 371 372 373 374 375
2007-12-27  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-aent.el (math-remove-percentsigns):
	* calc/calccomp.el (math-to-percentsigns): Change placeholder
	for percent signs.

376 377 378 379 380 381 382
2007-12-27  Eric S. Raymond  <esr@snark.thyrsus.com>

	* vc.el (vc-dired-ignorable-p, vc-dired-hook): Speed optimization;
	use completion-ignored-extensions to detect files that should be
	ignorted in VC-Dired listings, heading off lots of expensive calls
	to (vc-state).

383 384 385 386
	* vc.el (vc-dired-hook): Show unregistered file status as "?" in
	non-terse mode.
	(vc-dired-ignorable-p): Ignore Makefile when it has a peer named
	Makefile.in or Makefile.am
Eric S. Raymond's avatar
Eric S. Raymond committed
387

388 389 390 391 392 393
2007-12-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

	* ps-print.el (ps-mark-active-p): Fun returned back.
	(ps-print-preprint-region): Use `ps-mark-active-p' instead of
	`region-active-p' for error checking.

394 395
2007-12-27  Eric S. Raymond  <esr@snark.thyrsus.com>

396 397
	* vc.el, vc-sccs.el, vc-rcs.el, vc-cs.el, vc-mcvs.el:
	Put new machinery in place to support editing of change comments
398 399 400
	with 'e' in a log-view buffer.  Not documented yet as this
	only works for SCCS, RCS, and maybe CVS if you have admin
	privileges.  When we have backend support for Subversion and
Eric S. Raymond's avatar
Eric S. Raymond committed
401
	more modern systems it will be time to write this up.
402

403 404
2007-12-27  Kenichi Handa  <handa@ni.aist.go.jp>

Juanma Barranquero's avatar
Juanma Barranquero committed
405 406
	* international/mule-cmds.el (select-safe-coding-system):
	When a buffer is modified, cancel the writing.
407

408 409
2007-12-26  Eric S. Raymond  <esr@snark.thyrsus.com>

Eric S. Raymond's avatar
Eric S. Raymond committed
410
	* log-view.el: Add Subversion and Mercurial log format samples.
Dan Nicolaescu's avatar
Dan Nicolaescu committed
411 412 413 414 415 416 417 418 419 420 421 422 423 424 425

	* vc.el (vc-dired-hook): Significantly speed up by arranging for
	it to call the backend dir-state hook (if it exists)
	exactly *once*, rather than once per each subdirectory (with
	dired-state-info calls on all toplevel files slowing it down even
	further).  For this to work, backend dir-state methods have to
	recurse to subdirectories.  Most of them already did anyway; a few
	needed *non*-recursion switches removed.  This change mostly
	removed code that was perversely bad and should have been shot
	through the head years ago.

	* vc-bzr.el (vc-bzr-dir-state):
	* vc-cvs.el (vc-cvs-dir-state):
	* vc-mcvs.el (vc-mcvs-dir-state):
	* vc-svn.el (vc-svn-dir-state): Recurse in subdirectories.
426

Eric S. Raymond's avatar
Eric S. Raymond committed
427 428
	* vc-svn.el (vc-svn-print-log): svn log doesn't actually accept
	multiple arguments, so generate logs sequentially when we get them.
Eric S. Raymond's avatar
Eric S. Raymond committed
429 430 431
	* vc-hg.el (vc-hg-print-log): Gives this CVS-like "Working file:"
	headers so the various log bindings can do the right thing.
	* vc-cvs.el (vc-cvs-print-log): Fix a misleading comment.
Eric S. Raymond's avatar
Eric S. Raymond committed
432

433 434 435 436 437
2007-12-26  Andreas Schwab  <schwab@suse.de>

	* font-lock.el (save-buffer-state): Make sure the state of the
	buffer is always restored.

438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455
2007-12-26  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (calc-lang-allow-percentsigns): New variable.

	* calc/calc-lang.el (calc-lang-allow-percentsigns): Declare as
	a variable.

	* calc/calccomp.el (math-to-percentsigns): New function.
	(math-compose-var): Handle variables with percent signs.
	(math-compose-expr): Handle function names with percent signs.

	* calc/calc-aent.el (math-to-percentsigns): Declare as function.
	(math-read-exprs): Handle percent signs in languages that
	allow them.
	(math-restore-underscores): Remove function.
	(math-remove-percentsigns, math-restore-placeholders):
	New functions.

456 457 458
2007-12-26  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

	* ps-print.el (ps-print-preprint-region): Use `region-active-p' instead
Juanma Barranquero's avatar
Juanma Barranquero committed
459
	of `mark' for error checking.
460

461 462
2007-12-26  Tassilo Horn  <tassilo@member.fsf.org>

463 464 465 466
	* image-mode.el (image-bookmark-make-cell, image-bookmark-jump):
	New functions.
	(image-mode): Set bookmark-make-cell-function appropriately.

Juanma Barranquero's avatar
Juanma Barranquero committed
467
	* doc-view.el (doc-view-bookmark-jump): Correct misspelled arg name.
468

469 470 471 472 473
	* bookmark.el (bookmark-make-cell-function): New variable.
	(bookmark-make): Call bookmark-make-cell-function's function
	instead of bookmark-make-cell.
	(bookmark-get-handler, bookmark-jump-internal): New functions.
	(bookmark-jump, bookmark-jump-other-window, bookmark-insert)
Juanma Barranquero's avatar
Juanma Barranquero committed
474 475
	(bookmark-bmenu-2-window, bookmark-bmenu-other-window):
	Use bookmark-jump-internal.
476
	(bookmark-make-cell-for-text-file): Rename from bookmark-make-cell.
477 478 479 480 481

	* doc-view.el (doc-view-bookmark-make-cell)
	(doc-view-bookmark-jump): New functions.
	(doc-view-mode): Set bookmark-make-cell-function buffer-locally.

482 483 484 485 486 487 488 489
2007-12-25  Miles Bader  <miles@gnu.org>

	* indent.el (indent-for-tab-command): Rigidly indent the following
	sexp along with the current line when a prefix arg is given in the
	non-active-region case.  Specify raw prefix in interactive spec.
	Simplify main indentation logic to get rid of the conditional call
	to `indent-according-to-mode' (it just ended up calling
	`indent-line-function' in all cases anyway, which can be done more
Juanma Barranquero's avatar
Juanma Barranquero committed
490
	simply here).  Remove unnecessary test of ARG in active region case.
491

492 493
2007-12-25  Richard Stallman  <rms@gnu.org>

Juanma Barranquero's avatar
Juanma Barranquero committed
494
	* allout.el (allout-region-active-p): Rename from my-region-active-p.
495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518
	Use `use-region-p'.
	(allout-write-file-hook-handler): Simplify code.

	* ps-print.el (ps-mark-active-p): Function deleted.
	(ps-print-preprint-region): Use (mark) for the error check.

	* tooltip.el (tooltip-region-active-p): Use `use-region-p'.

	* winner.el (winner-active-region): Use `mark-active' if it's defined.

	* progmodes/ada-mode.el (ada-region-selected): Use `use-region-p'.

	* textmodes/org.el (org-region-active-p): Use `use-region-p'.

	* progmodes/idlwave.el (idlwave-region-active-p): Use `use-region-p'.

	* textmodes/reftex.el (reftex-region-active-p): Use `use-region-p'.

	* progmodes/cc-defs.el (c-region-is-active-p):
	Use `mark-active' if it's defined.

	* progmodes/cc-cmds.el (c-indent-line-or-region):
	Pass prefix arg to `c-indent-command'.  Use `use-region-p'.

519 520
	* simple.el (select-active-regions): New option.
	(set-mark): Obey it.
521 522
	(yank-pop-change-selection): New option.
	(current-kill): Obey it.
523

524
	* simple.el (use-region-p): Rename from `region-active-p'.
525 526
	(region-active-p): New function.

527 528 529 530 531 532 533 534
2007-12-25  David Golden  <david.delaharpe.golden@gmail.com>  (tiny change)

	* term/x-win.el (x-select-enable-primary): New option.
	(x-select-text, x-cut-buffer-or-selection-value): Obey it.

	* mouse.el (mouse-yank-primary): New function (almost same
	as mouse-yank-secondary).

Dan Nicolaescu's avatar
Dan Nicolaescu committed
535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556
2007-12-25  Dan Nicolaescu  <dann@ics.uci.edu>

	* calculator.el:
	* dframe.el:
	* iswitchb.el:
	* whitespace.el:
	* winner.el:
	* emacs-lisp/checkdoc.el:
	* mail/feedmail.el:
	* net/quickurl.el:
	* obsolete/fast-lock.el:
	* play/5x5.el:
	* progmodes/delphi.el:
	* progmodes/idlw-shell.el:
	* progmodes/idlwave.el:
	* textmodes/artist.el:
	* textmodes/ispell.el:
	* textmodes/texinfmt.el:
	* textmodes/texinfo.el: Remove obsolete definitions of backward
	compatibility macros for defcustom, defgroup, defface, when,
	unless, with-current-buffer and with-temp-message.

Nick Roberts's avatar
Nick Roberts committed
557 558
2007-12-24  Nick Roberts  <nickrob@snap.net.nz>

Nick Roberts's avatar
Nick Roberts committed
559
	* progmodes/verilog-mode.el: Reformat parts to 80 columns.
Nick Roberts's avatar
Nick Roberts committed
560

561 562 563 564 565
2007-12-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* server.el (server-save-buffers-kill-terminal): Check the `proc' is
	indeed a process.

566 567
2007-12-23  Richard Stallman  <rms@gnu.org>

568 569 570
	* simple.el (region-active-p): New function.
	(use-empty-active-region): New variable.

571 572
	* dired-aux.el (dired): Load dired.el at run time too.

573 574 575 576 577 578 579
2007-12-23  Juri Linkov  <juri@jurta.org>

	* man.el (Man-follow-manual-reference): Fill the minibuffer's
	default list with a full list of references.

	* files.el (auto-mode-alist): Add \\' to doc-view files regexp.

580 581 582 583 584
2007-12-23  Andreas Schwab  <schwab@suse.de>

	* files.el (switch-to-buffer-other-frame): Return the buffer
	switched to.

Michael Albinus's avatar
Michael Albinus committed
585 586 587 588 589 590 591 592 593 594 595
2007-12-23  Michael Albinus  <michael.albinus@gmx.de>

	Sync with Tramp 2.1.12.

	* net/tramp.el: New todo item.

	* net/tramp-smb.el (tramp-smb-handle-insert-directory): Handle "-F"
	switch.  Reported by Mark T. Kennedy <mkennedy@diamondbackcap.com>.

	* net/trampver.el: Update release number.

596 597 598 599 600
2007-12-22  Richard Stallman  <rms@gnu.org>

	* newcomment.el (comment-region-default): Don't triple the
	comment starter if the first region line isn't indented enough.

601 602 603 604 605
2007-12-21  Martin Rudalics  <rudalics@gmx.at>

	* autoinsert.el (auto-insert-alist): Remove nonsensical precision
	specifier from format-string.  Reported by Ye Wenbin.

606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648
2007-12-20  Jason Rumney  <jasonr@gnu.org>

	* nxml/nxml-mode.el (nxml-faces): Rename from nxml-highlighting-faces.
	Parent group is font-lock-faces.
	(nxml-light-blue-color, nxml-dark-blue-color, nxml-green-color)
	(nxml-sky-blue-color, nxml-dark-green-color, nxml-light-green-color):
	(nxml-version): Remove.
	(nxml-delimited-data, nxml-name, nxml-ref, nxml-delimiter)
	(nxml-text, nxml-comment-content, nxml-comment-delimiter)
	(nxml-processing-instruction-delimiter)
	(nxml-processing-instruction-target)
	(nxml-processing-instruction-content, nxml-cdata-section-delimiter)
	(nxml-cdata-section-CDATA, nxml-cdata-section-content)
	(nxml-char-ref-number, nxml-char-ref-delimiter, nxml-entity-ref-name)
	(nxml-entity-ref-delimiter, nxml-tag-delimiter, nxml-tag-slash)
	(nxml-element-prefix, nxml-element-colon, nxml-element-local-name)
	(nxml-attribute-prefix, nxml-attribute-colon)
	(nxml-attribute-local-name, nxml-namespace-attribute-xmlns)
	(nxml-namespace-attribute-colon, nxml-namespace-attribute-prefix)
	(nxml-attribute-value, nxml-attribute-value-delimiter)
	(nxml-namespace-attibute-value)
	(nxml-namespace-attribure-value-delimiter)
	(nxml-prolog-literal-delimiter, nxml-prolog-literal-content)
	(nxml-prolog-keyword, nxml-markup-declaration-delimiter, nxml-hash)
	(nxml-glyph): Rename, removing -face suffix.
	Inherit from existing font-lock faces.
	(nxml-apply-fontify-rule, nxml-char-ref-display-extra):
	Use new face names.

	* nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
	(nxml-outline-active-indicator, nxml-outline-ellipsis):
	Rename, removing -face suffix.
	(nxml-highlighted-less-than, nxml-highlighted-greater-than)
	(nxml-highlighted-colon, nxml-highlighted-slash)
	(nxml-highlighted-ellipsis, nxml-highlighted-inactive-minus)
	(nxml-highlighted-active-minus, nxml-highlighted-active-plus)
	(nxml-highlighted-qname, nxml-outline-display-heading):
	Use new face names.

	* nxml/rng-valid.el (rng-error): Rename from rng-error-face.

	* nxml/rng-nxml.el (rng-nxml-easy-menu): Remove nxml-version.

649 650
2007-12-19  Martin Rudalics  <rudalics@gmx.at>

651 652 653
	* cus-start.el (all): Use correct group name for members of
	mode-line group.

654 655 656 657 658 659 660 661 662 663 664 665
	* man.el (Man-default-man-entry): When looking for default man
	entry title search text preceding point.  Use when instead of if.

	* indent.el (indent-for-tab-command): Fix doc-string typo.

	* vc.el (vc-ensure-vc-buffer): Avoid infinite looping when
	vc-parent-buffer is the current buffer.

	* info-look.el (info-lookup, info-lookup-setup-mode)
	(info-lookup-make-completions): Avoid clobbering Info-history and
	Info-history-list.

666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681
2007-12-19  Glenn Morris  <rgm@gnu.org>

	* progmodes/verilog-mode.el (top-level): Don't require compile.
	(compilation-error-regexp-alist, compilation-last-buffer):
	Define for compiler.
	(verilog-insert-1): New function.
	(verilog-insert-indices, verilog-generate-numbers): Doc fixes.
	Use verilog-insert-1.
	(verilog-surelint-off): Use next-error-last-buffer if bound.
	Check compile buffer is live.

2007-12-19  John J Foerch  <jjfoerch@earthlink.net>  (tiny change)

	* progmodes/compile.el (compilation-start): Don't pass a FRAME
	argument to display-buffer.

682 683
2007-12-19  Jason Rumney  <jasonr@gnu.org>

684 685 686
	* nxml/rng-maint.el (rng-format-manual): Do not autoload.
	(rng-autoload-modules, rng-update-autoloads, rng-compile-modules)
	(rng-byte-compile-load, rng-write-version): Remove.
687 688 689 690 691

	* nxml/rng-loc.el (rng-schema-locating-files-default)
	(rng-schema-locating-file-schema-file): Use files in etc/schemas.
	(rng-schema-loader-alist): Use rng-c-load-schema to load rnc files.

692 693 694 695 696 697 698 699 700 701 702 703
2007-12-18  Michael Albinus  <michael.albinus@gmx.de>

	* files.el (cd-absolute): Set `list-buffers-directory' in order to
	show correct path in buffer list.

	* net/tramp.el (tramp-open-connection-setup-interactive-shell)
	(tramp-find-shell): Send only single prompt setting commands, in
	order to avoid double-prompt.

	* net/tramp-compat.el (top): Require cl only when compiling.
	Reported by Glenn Morris <rgm@gnu.org>.

704 705 706 707 708 709 710 711 712 713
2007-12-18  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* progmodes/cc-vars.el (defcustom-c-stylevar): Eval VAL.
	(c-comment-continuation-stars): No longer declare with
	cc-bytecomp-obsolete-var and cc-bytecomp-defvar.
	(c-block-comment-prefix): Use symbol-value to
	access c-comment-continuation-stars.
	* progmodes/cc-mode.el (c-initialize-cc-mode):
	Use symbol-value to access c-comment-continuation-stars.

Mark A. Hershberger's avatar
Mark A. Hershberger committed
714 715 716 717 718 719 720
2007-12-18  Mark A. Hershberger  <mah@everybody.org>

	* xml.el (xml-escape-string): New function.  Escape string using
	xml-entity-alist.
	(xml-debug-print-internal): Use xml-escape-string to escape
	characters in attributes and in text children of elements.

721 722 723 724 725
2007-12-18  Glenn Morris  <rgm@gnu.org>

	* progmodes/cc-subword.el (c-subword-mode): Drop support for
	systems without define-minor-mode.

Juanma Barranquero's avatar
Juanma Barranquero committed
726
	* progmodes/cc-vars.el (defcustom-c-stylevar): Remove debugging message.
727 728 729 730 731 732 733 734

	* progmodes/verilog-mode.el: Replace all instances of
	string-to-int with string-to-number, insert-string with insert,
	and read-input with read-string.
	(top-level): No need to require imenu, reporter, dinotrace, vc,
	font-lock when compiling.  Always require compile.  Relegate remaining
	compatibility cruft to XEmacs.  Don't require font-lock.
	(verilog-version): Remove superfluous concat.
735 736
	(dinotrace-unannotate-all, zmacs-activate-region, customize-apropos):
	No need to define.
737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761
	(verilog-regexp-opt): On Emacs, just make it an alias for regexp-opt.
	(verilog-font-lock-keywords, verilog-font-lock-keywords-1)
	(verilog-font-lock-keywords-2, verilog-font-lock-keywords-3)
	(verilog-startup-message-displayed): These are variables, not constants.
	(verilog-batch-execute-func, verilog-auto-inst)
	(verilog-auto-inst-param): Use mapc rather than mapcar.
	(sigs-in, sigs-inout, sigs-out): Define for compiler rather than
	actually defining.
	(verilog-modi-get-decls, verilog-modi-get-sub-decls)
	(verilog-modi-get-outputs, verilog-modi-get-inouts)
	(verilog-modi-get-inputs, verilog-modi-get-wires)
	(verilog-modi-get-regs, verilog-modi-get-assigns)
	(verilog-modi-get-consts, verilog-modi-get-gparams)
	(verilog-modi-get-sub-outputs, verilog-modi-get-sub-inouts)
	(verilog-modi-get-sub-inputs): Move inline functions earlier in
	the file.
	(sigs-in, sigs-out): Don't declare multiple times.
	(got-sig, got-rvalue, uses-delayed): Define for compiler with just
	`defvar'.
	(verilog-auto): Call dinotrace-unannotate-all only if bound.
	(verilog-module-inside-filename-p): No need to wrap fboundp test
	in condition-case.
	(reporter-submit-bug-report): Autoload it.
	(verilog-mark-defun): Call zmacs-activate-region only if bound.
	(verilog-font-customize): Call customize-apropos only if bound.
762 763
	(verilog-getopt-flags, verilog-auto-reeval-locals):
	Use make-local-variable rather than make-variable-buffer-local.
Juanma Barranquero's avatar
Juanma Barranquero committed
764 765
	(verilog-company, verilog-project, verilog-modi-cache-list):
	Move make-variable-buffer-local calls to top-level.
766 767 768
	(font-lock-defaults-alist): Don't define it.
	(verilog-need-fld): Remove.
	(verilog-font-lock-init): Don't set font-lock-defaults-alist.
769 770
	(verilog-mode): Only call make-local-hook on XEmacs.
	Set font-lock-defaults rather than using verilog-font-lock-init.
771

772 773
2007-12-17  Andreas Schwab  <schwab@suse.de>

Juanma Barranquero's avatar
Juanma Barranquero committed
774 775
	* progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
	Fix comment typo.
776

777 778
2007-12-16  Michael Albinus  <michael.albinus@gmx.de>

Juanma Barranquero's avatar
Juanma Barranquero committed
779 780 781
	* net/dbus.el (dbus-name-owner-changed-handler):
	Use `dbus-unregister-signal' for removing old rules.
	Obey new structure of `dbus-registered-functions-table'.
782

Thien-Thi Nguyen's avatar
Thien-Thi Nguyen committed
783 784 785 786
2007-12-12  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* progmodes/cc-vars.el (defcustom-c-stylevar): Rewrite.

787 788 789 790 791 792 793 794
2007-12-11  Dan Nicolaescu  <dann@ics.uci.edu>

	* progmodes/verilog-mode.el (set-buffer-menubar): Remove unused
	function.
	(add-submenu): Only define for XEmacs.
	(verilog-regexp-words): Revert previous change, keep the other
	definition.

795 796 797 798 799 800 801 802
2007-12-09  Dan Nicolaescu  <dann@ics.uci.edu>

	* progmodes/perl-mode.el (perl-continued-statement-offset)
	(perl-continued-brace-offset, perl-brace-offset)
	(perl-brace-imaginary-offset, perl-label-offset):
	* progmodes/cperl-mode.el (cperl-brace-offset)
	(cperl-continued-brace-offset, cperl-label-offset)
	(cperl-continued-statement-offset)
Juanma Barranquero's avatar
Juanma Barranquero committed
803 804
	(cperl-extra-newline-before-brace, cperl-merge-trailing-else):
	Add safe-local-variable properties.
805

806 807
2007-12-08  Dan Nicolaescu  <dann@ics.uci.edu>

808 809 810 811 812
	* progmodes/verilog-mode.el (verilog-mode-map)
	(verilog-template-map, verilog-mode-mouse-map): Fix typos.
	(verilog-colorize-include-files): Use only overlay functions so
	that it can work on both emacs and XEmacs.
	(set-extent-keymap): Remove unused defun.
813 814 815 816 817
	(verilog-kill-existing-comment, verilog-insert-date)
	(verilog-insert-year): Rename in order not to pollute the global
	namespace from kill-existing-comment, insert-date and
	insert-year, respectively.
	(verilog-set-auto-endcomments, verilog-header): Update callers.
818

819 820
	* files.el (auto-mode-alist): Recognize verilog files.

821 822 823 824 825 826 827
	* progmodes/verilog-mode.el (verilog-string-replace-matches)
	(verilog-string-remove-spaces, verilog-re-search-forward)
	(verilog-re-search-backward, verilog-re-search-forward-quick)
	(verilog-re-search-backward-quick, verilog-get-beg-of-line)
	(verilog-get-end-of-line, verilog-within-string): Move definitions
	before first use. No code changes.

Dan Nicolaescu's avatar
Dan Nicolaescu committed
828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845
2007-12-08  Dan Nicolaescu  <dann@ics.uci.edu>

	* progmodes/verilog-mode.el (verilog-mode-version)
	(verilog-mode-release-date): Don't use expanding keywords.
	(provide): Move to the end of file.
	(fboundp): Don't check if eval-when-compile is bound, it is used
	later in the file without checking.
	(when, unless): Copy definitions from subr.el.
	(char-before, defcustom, defface, customize-group)
	(verilog-batch-error-wrapper): Don't use old style backquotes.
	(verilog-regexp-opt): Avoid using the cl function case.
	(verilog-regexp-words): Remove duplicated definition.
	(verilog-mode-abbrev-table): Remove, duplicate.
	(verilog-mode-map, verilog-template-map, verilog-mode-mouse-map):
	Declare and initialize in one step.
	(verilog-declaration-prefix-re, verilog-declaration-re)
	(verilog-end-of-statement, verilog-indent-declaration)
	(verilog-get-lineup-indent): Remove trailing whitespace.
846 847
	(verilog-mode): Fix autoload cookie.
	Set beginning-of-defun-function and end-of-defun-function.  Use when
Dan Nicolaescu's avatar
Dan Nicolaescu committed
848 849 850 851
	instead of if.
	(verilog-emacs-features, verilog-auto-ascii-enum)
	(verilog-insert-indices): Escape braces in doc strings.

852 853
2007-12-08  Michael McNamara  <mac@verilog.com>
	    Wilson Snyder  <wsnyder@wsnyder.org>
Dan Nicolaescu's avatar
Dan Nicolaescu committed
854 855 856

	* progmodes/verilog-mode.el: New file.

Eli Zaretskii's avatar
""  
Eli Zaretskii committed
857 858
2007-12-08  Eli Zaretskii  <eliz@fencepost.gnu.org>

859 860
	* international/latexenc.el (latexenc-find-file-coding-system):
	If both coding-system-for-write and buffer-file-coding-system of
Eli Zaretskii's avatar
""  
Eli Zaretskii committed
861 862
	latex-main-file are nil, use `undecided'.

Jason Rumney's avatar
Jason Rumney committed
863 864 865 866
2007-12-06  Jason Rumney  <jasonr@gnu.org>

	* mouse.el (mouse-buffer-menu-alist): Keep buffer names left aligned.

867 868 869 870
2007-12-12  Yoni Rabkin Katzenell  <yoni-r@actcom.com>  (tiny change)

	* files.el (revert-buffer): Docstring fix.

871 872 873 874
2007-12-11  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/check-declare.el (check-declare-verify): Handle deffoo.

875 876
2007-12-11  Jay Belanger  <jay.p.belanger@gmail.com>

877 878 879 880 881
	* calc/calc-aent.el (math-restore-underscores)
	(math-string-restore-underscores): New functions.
	(math-read-factor): Properly check variable names with underscores
	for entries in `math-expr-variable-mapping'.

882 883 884 885 886
	* calc/calc-lang.el (math-lang-name): New property name.

	* calc/calc.el (calc-set-mode-line): Use `math-lang-name'
	to set language name.

Miles Bader's avatar
Miles Bader committed
887 888 889 890
2007-12-10  Katsumi Yamaoka  <yamaoka@jpl.org>

	* pgg.el (pgg-run-at-time, pgg-cancel-timer): Use eval-and-compile.

891 892 893 894 895
2007-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* server.el (server-select-display): Fix important typo.
	(server-process-filter): Turn a "" display into nil.

Juri Linkov's avatar
Juri Linkov committed
896 897 898 899 900 901 902 903 904 905 906 907 908 909 910
2007-12-09  Juri Linkov  <juri@jurta.org>

	* replace.el (keep-lines, flush-lines, how-many): Doc fix.
	Check search-upper-case before calling isearch-no-upper-case-p
	to set case-fold-search.
	(occur): Doc fix.
	(occur-1, perform-replace): Check search-upper-case before calling
	isearch-no-upper-case-p to set case-fold-search.

	* isearch.el (search-upper-case): Doc fix.
	(isearch-mode-map): Bind `M-s o' to isearch-occur.
	(isearch-query-replace): Doc fix.  Let-bind search-upper-case to nil.
	(isearch-query-replace-regexp): Doc fix.
	(isearch-occur): New function.

Miles Bader's avatar
Miles Bader committed
911 912
2007-12-09  Reiner Steib  <Reiner.Steib@gmx.de>

913 914
	* pgg.el, pgg-parse.el (declare-function): Add new no-op macro for
	backward compatibility.
Miles Bader's avatar
Miles Bader committed
915 916 917

	* net/imap.el (imap-string-to-integer): New function.

David Kastrup's avatar
David Kastrup committed
918 919 920 921 922
2007-12-09  David Kastrup  <dak@gnu.org>

	* emacs-lisp/lisp-mnt.el (lm-verify): Make it work with
	directories.  Not sure anybody uses this anymore, though.

923 924
2007-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

Vinicius Jose Latorre's avatar
Vinicius Jose Latorre committed
925
	* printing.el: Fix pr-interface-map initialization code.
926
	(pr-version): New version 6.9.3.
927 928 929
	(pr-f-set-keymap-parents): Replace by pr-set-keymap-parents.
	(pr-f-set-keymap-name): Replace by pr-set-keymap-name.
	(pr-f-read-string): Replace by pr-read-string.
Vinicius Jose Latorre's avatar
Vinicius Jose Latorre committed
930 931
	(pr-set-keymap-parents, pr-set-keymap-name, pr-read-string): New fun
	name.
932 933
	(pr-interactive-n-up, pr-interactive-regexp): Code fix.

934 935 936 937 938
2007-12-09  Glenn Morris  <rgm@gnu.org>

	* emulation/viper-init.el (top-level): Use dolist rather than mapc
	in make-variable-frame-local call.

939 940 941 942 943 944
2007-12-08  Dan Nicolaescu  <dann@ics.uci.edu>

	* mail/hashcash.el (declare-function):
	* net/imap.el (declare-function): New no-op macro for backward
	compatibility.

Eli Zaretskii's avatar
Eli Zaretskii committed
945 946 947
2007-12-08  Eli Zaretskii  <eliz@gnu.org>

	Sync makefile.w32-in with Makefile.in.
948

Eli Zaretskii's avatar
Eli Zaretskii committed
949 950 951 952 953 954 955
	* makefile.w32-in (check-declare): New target.
	(BYTE_COMPILE_EXTRA_FLAGS): New variable.
	(.el.elc, compile-CMD, compile-SH, compile-always-CMD)
	(compile-always-SH, compile-calc-CMD, compile-calc-SH)
	($(lisp)/progmodes/cc-mode.elc): Use it.
	($(lisp)/progmodes/cc-mode.elc): New rule.

956 957
2007-12-08  Reiner Steib  <Reiner.Steib@gmx.de>

958 959
	* indent.el (tab-stop-list): Mark as safe-local-variable.

960 961 962
	* generic-x.el (etc-sudoers-generic-mode): New mode.
	(generic-unix-modes): Add it.

963 964 965
2007-12-08  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (dbus-hash-table=): Remove function.  We cannot
966
	apply wildcards in a hash table key; there is no usable hash code then.
967 968 969 970
	(dbus-registered-functions-table): Use `equal' as test function.
	(dbus-name-owner-changed-handler): Rewrite due to new hash table
	structure.

971 972 973 974 975
2007-12-08  Martin Rudalics  <rudalics@gmx.at>

	* progmodes/cc-cmds.el (c-mask-paragraph): Avoid invalid search
	bound error in block comment branch.

976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010
2007-12-08  David Kastrup  <dak@gnu.org>

	* textmodes/reftex.el (reftex-select-with-char):
	* textmodes/reftex-toc.el (reftex-toc-do-promote)
	(reftex-toc-visit-location, reftex-toc-find-section):
	* textmodes/reftex-index.el (reftex-index-show-entry):
	* textmodes/org.el (org-cycle-hide-archived-subtrees)
	(org-table-rotate-recalc-marks, org-mark-ring-push)
	(org-follow-info-link, org-mhe-get-message-folder-from-index)
	(org-auto-repeat-maybe, org-store-log-note, org-delete-property)
	(org-evaluate-time-range, org-edit-agenda-file-list):
	* textmodes/artist.el (artist-select-next-op-in-list)
	(artist-select-prev-op-in-list):
	* term/mac-win.el (mac-service-insert-text):
	* startup.el (fancy-about-screen):
	* progmodes/vhdl-mode.el (vhdl-decision-query):
	* progmodes/idlwave.el (idlwave-template)
	(idlwave-scroll-completions, idlwave-display-completion-list):
	* progmodes/ebrowse.el (ebrowse-show-progress):
	* progmodes/cperl-mode.el (cperl-find-pods-heres):
	* progmodes/antlr-mode.el (antlr-insert-option-do):
	* play/mpuz.el (mpuz-close-game):
	* net/rcirc.el (rcirc-next-active-buffer):
	* mail/reporter.el (reporter-update-status):
	* kmacro.el (kmacro-display):
	* international/ja-dic-cnv.el (skkdic-set-okuri-nasi):
	* emulation/viper-util.el (viper-save-setting):
	* emacs-lisp/lisp-mnt.el (lm-verify):
	* emacs-lisp/edebug.el (edebug-set-mode):
	* emacs-lisp/checkdoc.el (checkdoc-rogue-spaces, checkdoc-defun):
	* calendar/calendar.el (calendar-print-day-of-year):
	* calc/calcalg3.el (calc-curve-fit):
	* calc/calcalg2.el (math-integral):
	* calc/calc.el (calc-read-key-sequence, calc-version):
	* calc/calc-mode.el (calc-set-simplify-mode):
1011
	* calc/calc-ext.el (calc-fancy-prefix): Fix buggy call to `message'.
1012

1013 1014 1015 1016 1017 1018 1019 1020 1021 1022
2007-12-07  D. Goel  <deego3@gmail.com>

	* progmodes/idlw-shell.el (idlwave-shell-display-line)
	* progmodes/ada-xref.el (ada-find-file, ada-get-all-references)
	(ada-xref-find-in-modified-ali, ada-find-in-src-path)
	* mail/uce.el (uce-reply-to-uce)
	* progmodes/vhdl-mode.el (vhdl-template-modify)
	* mail/feedmail.el (feedmail-dump-message-to-queue): Improve calls
	to `error' (as suggested by RMS.)

1023 1024 1025 1026 1027 1028 1029
2007-12-07  Glenn Morris  <rgm@gnu.org>

	* allout.el (allout-write-file-hook-handler):
	* textmodes/reftex.el (reftex-TeX-master-file):
	* textmodes/reftex-parse.el (reftex-short-context):
	Revert previous change.

1030 1031
2007-12-07  Michael Albinus  <michael.albinus@gmx.de>

1032 1033
	* net/dbus.el (dbus-hash-table=): Fix for new hash table key structure.
	(dbus-list-hash-table, dbus-name-owner-changed-handler): New defuns.
1034 1035 1036 1037 1038 1039 1040 1041
	(dbus-check-event, dbus-handle-event, dbus-event-bus-name)
	(dbus-event-service-name, dbus-event-path-name)
	(dbus-event-interface-name, dbus-event-member-name): Fix for new
	event structure.
	(dbus-list-activatable-names, dbus-list-names)
	(dbus-list-queued-owners, dbus-get-name-owner, dbus-introspect):
	Reorder `dbus-call-method' arguments.

Deepak Goel's avatar
Deepak Goel committed
1042 1043
2007-12-06  D. Goel  <deego3@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
1044 1045 1046 1047 1048
	* allout.el (allout-write-file-hook-handler):
	* textmodes/reftex.el (reftex-TeX-master-file):
	* textmodes/org.el (org-paste-subtree):
	* progmodes/vhdl-mode.el (vhdl-template-modify):
	* progmodes/idlw-shell.el (idlwave-shell-send-command)
Glenn Morris's avatar
Glenn Morris committed
1049
	(idlwave-shell-display-line):
Juanma Barranquero's avatar
Juanma Barranquero committed
1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063
	* progmodes/ada-xref.el (ada-find-file, ada-get-all-references)
	(ada-xref-find-in-modified-ali, ada-find-in-src-path):
	* net/trampver.el (x):
	* mail/uce.el (uce-reply-to-uce):
	* mail/rmailout.el (rmail-output):
	* mail/feedmail.el (feedmail-dump-message-to-queue):
	* whitespace.el (whitespace-write-file-hook):
	* wdired.el (wdired-check-kill-buffer):
	* vc.el (vc-update):
	* vc-mcvs.el (vc-mcvs-checkin):
	* vc-cvs.el (vc-cvs-checkin):
	* man.el (Man-bgproc-sentinel, Man-goto-see-also-section):
	* ibuffer.el (ibuffer-current-buffer):
	* dired.el (dired-move-to-end-of-filename):
Glenn Morris's avatar
Glenn Morris committed
1064
	* bindings.el (complete-symbol):
Juanma Barranquero's avatar
Juanma Barranquero committed
1065
	* textmodes/org-publish.el (org-publish-file):
Glenn Morris's avatar
Glenn Morris committed
1066 1067 1068
	(org-publish-current-project):
	* textmodes/reftex-parse.el (reftex-short-context):
	* textmodes/texinfmt.el: Fix buggy calls to `error'.
1069

1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080
2007-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* doc-view.el (doc-view-dvi->pdf-sentinel)
	(doc-view-pdf/ps->png-sentinel, doc-view-pdf->txt-sentinel)
	(doc-view-ps->pdf-sentinel, doc-view-display): Don't change buffer
	within a sentinel or timer.
	(doc-view-display): Don't try to display before the requested page
	is available, unless told to do so explicitly.
	(doc-view-pdf/ps->png-sentinel, doc-view-initiate-display):
	Force display even if the requested page is not available.

1081 1082 1083 1084 1085
2007-12-06  Richard Stallman  <rms@gnu.org>

	* help-fns.el (describe-function-1): Call ad-get-advice-info
	only on symbols.

Glenn Morris's avatar
Glenn Morris committed
1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103
2007-12-06  Glenn Morris  <rgm@gnu.org>

	* progmodes/antlr-mode.el (antlr-keyword, antlr-syntax)
	(antlr-ruledef, antlr-tokendef, antlr-ruleref-face)
	(antlr-tokenref, antlr-literal): Inherit from standard font-lock
	faces in non-light-background case.

	* add-log.el, dired-aux.el, font-lock.el, help-fns.el, ido.el:
	* informat.el, emacs-lisp/bytecomp.el, emacs-lisp/gulp.el:
	* emacs-lisp/tcover-ses.el, emacs-lisp/timer.el, emulation/edt.el:
	* emulation/vi.el, emulation/viper-cmd.el:
	* international/titdic-cnv.el, mail/emacsbug.el, progmodes/dcl.el:
	* progmodes/prolog.el, progmodes/ps-mode.el, progmodes/python.el:
	* textmodes/fill.el: Remove directory part from filenames in
	function declarations.

	* dired-aux.el (mailcap-mime-info): Update declaration.

Miles Bader's avatar
Miles Bader committed
1104
2007-12-05  Richard Stallman  <rms@gnu.org>
Richard M. Stallman's avatar
Richard M. Stallman committed
1105 1106 1107

	* wid-edit.el (widget-type): Doc fix.

Miles Bader's avatar
Miles Bader committed
1108
2007-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1109 1110 1111 1112

	* progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
	Don't match "sub { (...) ... }".

Miles Bader's avatar
Miles Bader committed
1113
2007-12-05  Richard Stallman  <rms@gnu.org>
1114 1115 1116 1117 1118

	* international/mule-cmds.el (toggle-input-method-active): New var.
	(toggle-input-method): Bind toggle-input-method-active to t.
	Error if it was already non-nil.

Miles Bader's avatar
Miles Bader committed
1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152
2007-12-05  Reiner Steib  <Reiner.Steib@gmx.de>

	* net/tls.el (tls-hostmismatch, open-tls-stream): Checkdoc cleanup.

2007-12-05  Elias Oltmanns  <eo@nebensachen.de>

	* net/tls.el (open-tls-stream): Actually consult tls-checktrust to
	see if certs should be verified and what is to be done in the
	event of a verification failure.

2007-12-05  Reiner Steib  <Reiner.Steib@gmx.de>

	* net/tls.el (tls-program): Provide more custom choices from
	`tls-checktrust'.  Refer to `tls-checktrust' in doc string.
	(tls-process-connection-type, tls-success): Remove "*" in doc string.
	(tls-checktrust, tls-hostmismatch, tls-untrusted): Add custom
	version.  Minor improvement to doc strings.
	(tls-program): Add comment.

2007-12-05  Elias Oltmanns  <eo@nebensachen.de>

	* net/tls.el (tls-certtool-program, tls-hostmismatch): New variables.
	(tls-checktrust): New variable.  Check if GNU TLS complained about a
	mismatch between the hostname provided in the certificate and the name
	of the host connnecting to.
	(open-tls-stream): Use them.  Check certificates against trusted root
	certificates.

2007-12-05  Nathan J. Williams  <nathanw@MIT.EDU>  (tiny change)

	* net/imap.el (imap-mailbox-status-asynch): Upcase STATUS items.
	(imap-parse-status): Upcase status-att for broken servers that sends
	them lower-case (e.g., MS Exchange 2007).

1153 1154
2007-12-05  D. Goel  <deego3@gmail.com>

1155 1156 1157 1158 1159 1160 1161 1162 1163
	* simple.el (undo):
	* image-dired.el (image-dired-display-thumb-properties):
	(image-dired-modify-mark-on-thumb-original-file):
	(image-dired-dired-display-properties):
	* help.el (help-window-display-message):
	* files.el (hack-local-variables-confirm):
	* ediff.el (ediff-version):
	* complete.el (pc-chunk-after, PC-temp-minibuffer-message):
	`message' and `error': Ensure that first arg is a format string.
1164

1165 1166 1167
	* emacs-lisp/find-func.el (find-library-name): Prefer files with
	".el" suffix over "".

1168 1169 1170 1171 1172
2007-12-05  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (dbus-hash-table=): Allow nil as wildcard in the
	interface and member fields.

1173 1174
2007-12-05  Glenn Morris  <rgm@gnu.org>

1175 1176 1177 1178 1179 1180 1181 1182 1183 1184
	* eshell/em-alias.el (pcomplete-stub): Define for compiler.
	(pcomplete-here): Autoload it.

	* eshell/em-basic.el (print-func): No need to define for compiler.

	* eshell/esh-cmd.el (eshell-debug-command):
	* eshell/esh-io.el (eshell-print): Move definitions before use.

	* eshell/esh-module.el (eshell-load-defgroups): Eval and compile.

1185 1186
	* eshell/esh-util.el (top-level): Don't require pp.
	Use condition-case rather than ignore-errors.
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207

	* eshell/eshell.el (eshell-buffer-name): Define for compiler.

	* eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el
	* eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el
	* eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el
	* eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el
	* eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el
	* eshell/em-xtra.el, eshell/esh-cmd.el, eshell/esh-test.el
	* eshell/esh-util.el, eshell/eshell.el: Require individual files
	if needed when compiling, rather than esh-maint.  Collect any
	require statements.  Move provide statement to end.  Move any
	commentary to start.

	* eshell/esh-arg.el, eshell/esh-ext.el, eshell/esh-io.el:
	* eshell/esh-mode.el, eshell/esh-module.el, eshell/esh-opt.el:
	* eshell/esh-proc.el, eshell/esh-var.el:
	Require individual files if needed when compiling, rather than
	esh-maint.  Collect any require statements.  Leave provide at start.
	Move any commentary to start.

1208 1209
	* emacs-lisp/bytecomp.el (byte-compile-declare-function):
	Remove declared function from byte-compile-noruntime-functions.
1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223

	* ediff-util.el (ediff-version):
	* progmodes/python.el (compilation-shell-minor-mode):
	* textmodes/org.el (Info-goto-node, calendar-astro-date-string)
	(calendar-bahai-date-string, calendar-check-holidays)
	(calendar-chinese-date-string, calendar-coptic-date-string)
	(calendar-ethiopic-date-string, calendar-forward-day)
	(calendar-french-date-string, calendar-goto-date)
	(calendar-goto-today, calendar-hebrew-date-string)
	(calendar-islamic-date-string, calendar-iso-date-string)
	(calendar-julian-date-string, calendar-mayan-date-string)
	(calendar-persian-date-string, gnus-summary-last-subject)
	(parse-time-string, rmail-show-message): Declare as functions.

1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236
2007-12-05  Michael Olson  <mwolson@gnu.org>

	* textmodes/remember.el: Merge contents of remember-diary.el here,
	updating header.  Add autoload cookie so that byte-compilation
	works without warning.
	(remember-diary-file): Default to nil, since diary might not yet
	be loaded at this point, which would deny us access to diary-file.
	(remember-diary-extract-entries): If remember-diary-file is nil,
	then use diary-file instead.

	* textmodes/remember-diary.el: Remove, due to the issue of needing
	the first 8 characters of a filename to be unique.

1237 1238 1239 1240 1241
2007-12-04  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (dbus-hash-table=): New defun.
	(dbus-hash-table-test) New hash table test function, used in
	`dbus-registered-functions-table'.
Michael Albinus's avatar
Michael Albinus committed
1242 1243 1244 1245
	(dbus-check-event, dbus-handle-event, dbus-event-bus-name)
	(dbus-event-service-name, dbus-event-path-name)
	(dbus-event-interface-name, dbus-event-member-name): Rewritten,
	due to new structure of `dbus-event'.
1246

Juanma Barranquero's avatar
Juanma Barranquero committed
1247 1248 1249 1250 1251
2007-12-04  Juanma Barranquero  <lekktu@gmail.com>

	* ido.el (ido-save-history): Set the `coding' local
	variable in the first line of the file.

1252 1253
2007-12-04  Glenn Morris  <rgm@gnu.org>

1254 1255 1256 1257
	* password-cache.el: Move here from gnus/password.el.
	(top-level): Don't require cl when compiling.
	(password-read-and-add): Doc fix.  Make obsolete.

1258 1259
	* net/tramp.el: Require password-cache or password.

1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280
	* emulation/cua-base.el (top-level): Move (provide 'cua-base) to end.
	No longer provide 'cua.  Don't require cua-rect, cua-gmrk when
	compiling.
	(cua-set-rectangle-mark): Add doc string to autoload.
	(cua--rectangle, cua--last-killed-rectangle)
	(cua--global-mark-active): Always define for compiler.
	(cua-copy-rectangle, cua-cut-rectangle, cua--rectangle-left)
	(cua--delete-rectangle, cua--insert-rectangle)
	(cua--rectangle-corner, cua--rectangle-assert)
	(cua--insert-at-global-mark, cua--global-mark-post-command):
	Declare as functions.

	* emulation/cua-gmrk.el (top-level): Move provide to end.

	* emulation/cua-rect.el (top-level): Move provide to end.
	Don't require cua-gmrk when compiling.
	(cua--cut-rectangle-to-global-mark)
	(cua--copy-rectangle-to-global-mark): Declare as functions.

	* emulation/viper-init.el (viper-replace-overlay-cursor-color)
	(viper-insert-state-cursor-color, viper-emacs-state-cursor-color)
Juanma Barranquero's avatar
Juanma Barranquero committed
1281 1282
	(viper-vi-state-cursor-color):
	Consolidate make-variable-frame-local calls.
1283 1284 1285 1286 1287 1288 1289 1290

	* net/eudcb-bbdb.el (bbdb-address-streets): Declare as a function.
	(eudc-bbdb-extract-addresses): Use bbdb-address-streets rather
	than bbdb-address-street1,2,3.

	* textmodes/reftex-toc.el (reftex-make-separate-toc-frame):
	Try x-focus-frame before focus-frame.  Only try focus-frame on XEmacs.

1291 1292 1293 1294 1295 1296 1297
2007-12-03  Karl Fogel  <kfogel@red-bean.com>

	* saveplace.el (save-place-quiet): Remove, reverting 2007-12-02T19:54:46Z!kfogel@red-bean.com.
	(save-place-alist-to-file, load-save-place-alist-from-file):
	Don't print non-error messages at all, there's really no need.
	Do print if there's a problem, and clarify message in that case.

1298 1299
2007-12-03  Dan Nicolaescu  <dann@ics.uci.edu>

Juanma Barranquero's avatar
Juanma Barranquero committed
1300 1301
	* ediff-diff.el (ediff-prepare-error-list):
	* ediff-util.el (ediff-setup): Disable undo for ediff-error-buffer.
1302

1303 1304 1305
2007-12-03  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el (doc-view-initiate-display): Use `doc-view-mode-p'.
Juanma Barranquero's avatar
Juanma Barranquero committed
1306 1307
	(doc-view-current-overlay, doc-view-pending-cache-flush):
	Add doc string.
1308

1309 1310
2007-12-03  Richard Stallman  <rms@gnu.org>

1311
	* subr.el (declare-function): Move from byte-run.el.
1312

1313
	* emacs-lisp/byte-run.el (declare-function): Move to subr.el
1314

1315 1316
	* window.el (recenter-top-bottom): Don't use `ecase'.

1317 1318
2007-12-02  Karl Fogel  <kfogel@red-bean.com>

1319 1320
	* saveplace.el (save-place-alist-to-file):
	Set coding-system-for-write once and refer to it throughout.
1321
	Suggested by David Reitter <dreitter{_AT_}inf.ed.ac.uk>.
1322

1323 1324 1325 1326
2007-12-02  Karl Fogel  <kfogel@red-bean.com>

	* saveplace.el (save-place-alist-to-file): Use `utf-8' coding
	system when writing, and set it in the first-line file variables.
1327 1328
	Suggested by David Reitter <dreitter{_AT_}inf.ed.ac.uk> and
	Juanma Barranquero.
1329

1330 1331
2007-12-02  Glenn Morris  <rgm@gnu.org>

Juanma Barranquero's avatar
Juanma Barranquero committed
1332 1333
	* emacs-lisp/bytecomp.el (byte-compile-declare-function):
	Reverse branches of if statement.
Glenn Morris's avatar
Glenn Morris committed
1334