ChangeLog 460 KB
Newer Older
1 2 3 4 5 6 7
2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* ispell.el (ispell-insert-word) Remove unneeded function using
	obsolete `translation-table-for-input'.
	(ispell-word, ispell-process-line, ispell-complete-word): Use
	plain `insert' instead of removed `ispell-insert-word'.

8 9 10 11 12 13 14 15
2012-04-22  Chong Yidong  <cyd@gnu.org>

	* cus-edit.el (custom-variable-menu)
	(custom-variable-reset-saved, custom-face-menu)
	(custom-face-reset-saved): If there is no saved value, make the
	"reset-saved" operation bring back the default (Bug#9509).
	(custom-face-state): Properly detect themed faces.

16 17 18
	* faces.el (face-spec-set): Stop supporting deprecated form of
	third arg.

19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
2012-04-22  Michael Albinus  <michael.albinus@gmx.de>

	Move functions from C to Lisp.  Make non-blocking method calls
	the default.  Implement further D-Bus standard interfaces.

	* net/dbus.el (dbus-message-internal): Declare function.  Remove
	unneeded function declarations.
	(defvar dbus-message-type-invalid, dbus-message-type-method-call)
	(dbus-message-type-method-return, dbus-message-type-error)
	(dbus-message-type-signal): Declare variables.  Remove local
	definitions.
	(dbus-interface-dbus, dbus-interface-peer)
	(dbus-interface-introspectable, dbus-interface-properties)
	(dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
	Adapt docstring.
	(dbus-interface-objectmanager): New defconst.
	(dbus-call-method, dbus-call-method-asynchronously)
	(dbus-send-signal, dbus-method-return-internal)
	(dbus-method-error-internal, dbus-register-service)
	(dbus-register-signal, dbus-register-method): New defuns, moved
	from dbusbind.c
	(dbus-call-method-handler, dbus-setenv)
	(dbus-get-all-managed-objects, dbus-managed-objects-handler): New
	defuns.
	(dbus-call-method-non-blocking): Make it an obsolete function.
	(dbus-unregister-object, dbus-unregister-service)
	(dbus-handle-event, dbus-register-property)
	(dbus-property-handler): Obey the new structure of
	`bus-registered-objects'.
	(dbus-introspect): Use `dbus-call-method'.  Use a timeout.
	(dbus-get-property, dbus-set-property, dbus-get-all-properties):
	Use `dbus-call-method'.

52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
2012-04-22  Chong Yidong  <cyd@gnu.org>

	* cus-edit.el (custom-commands, custom-reset-menu)
	(Custom-reset-standard): Tweak labels.
	(custom-reset-button-menu): Change default to t.
	(custom-buffer-create-internal): For the custom-reset-button-menu
	case, put the revert button first.
	(custom-group-subtitle): New face.
	(custom-group-value-create): Align docstring to a specific column.

	* wid-edit.el (widget-documentation-link-add): Don't handle
	indentation in this function.
	(widget-documentation-string-indent-to): New function.
	(widget-documentation-string-value-create): Use it.

	* autorevert.el (auto-revert):
	* epg-config.el (epg):
	* ibuffer.el (ibuffer):
	* mpc.el (mpc):
	* ses.el (ses):
	* eshell/eshell.el (eshell):
	* net/ange-ftp.el (ange-ftp):
	* progmodes/ebnf2ps.el (postscript):
	* progmodes/flymake.el (flymake):
	* progmodes/prolog.el (prolog):
	* progmodes/verilog-mode.el (verilog-mode):
	* progmodes/which-func.el (which-func):
	* term/xterm.el (xterm):
	* textmodes/picture.el (picture):
	* textmodes/tildify.el (tildify):
	* vc/ediff.el (ediff): Tweak defgroups to improve presentation in
	customization buffers.

85 86 87 88 89 90
2012-04-22  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
	Adding a ) can hide the resulting (..) from searches.  Fix it.
	Bound the backward search to the position of the existing (.

91 92 93 94 95 96
2012-04-21  Juanma Barranquero  <lekktu@gmail.com>

	* progmodes/verilog-mode.el (verilog-mode): Check whether
	which-func-modes is t before adding verilog-mode.
	Reported by Andy Moreton <andrewjmoreton@gmail.com>.

97 98
2012-04-21  Leo Liu  <sdl.web@gmail.com>

99
	* net/rcirc.el (rcirc): Avoid error when process-contact returns t.
100

101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>

	* woman.el: Add support for "T{ T}" tbl syntax, and fix the
	filling of the last column of a table (Bug#5635).
	(woman-find-next-control-line): New arg, specifying an additional
	regexp component for the control line.
	(woman2-roff-buffer): Use it.
	(woman-break-table): New function.
	(woman2-TS): Use it.

2012-04-21  Chong Yidong  <cyd@gnu.org>

	* woman.el (woman-set-buffer-display-table, woman-decode-region)
	(woman-horizontal-escapes, woman-negative-vertical-space)
	(woman-tab-to-tab-stop, woman2-fc, woman2-TS)
	(WoMan-warn-ignored): Use ?\s instead of ?\ .

118 119 120 121
2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion-file-name-table): Complete user names.

122 123 124 125 126
2012-04-20  Leo Liu  <sdl.web@gmail.com>

	* font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
	and pcase-let*.

127 128 129 130 131 132
2012-04-20  Chong Yidong  <cyd@gnu.org>

	* server.el (server-execute): Respect initial-buffer-choice if it
	is a string and there are no files to open (Bug#2825).
	(server-create-window-system-frame, server-create-tty-frame):
	Don't switch buffers here.
133 134
	(server-process-filter): Only try to open a window system frame if
	compiled with graphical support (Bug#8314).
135

Dan Nicolaescu's avatar
Dan Nicolaescu committed
136 137 138 139 140 141
2012-04-20  Dan Nicolaescu  <dann@gnu.org>

	* battery.el (battery-echo-area-format): Display remaining time
	for sysfs backend too (Bug#11269).
	(battery-linux-sysfs): Fix conditional for the charge.

142 143
2012-04-20  Chong Yidong  <cyd@gnu.org>

Chong Yidong's avatar
Chong Yidong committed
144
	* progmodes/gdb-mi.el (gdb): Revert previous change.
145 146 147 148 149 150 151 152 153
	(gdb-inferior-io--init-proc): New function.
	(gdb-init-1): Use it.
	(gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
	responsible for allocating a new pty and hooking it to gdb when
	the old pty gets an EIO due to process exit.
	(gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
	(gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
	(gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.

154 155 156 157 158 159 160 161 162
2012-04-20  Eli Zaretskii  <eliz@gnu.org>

	* window.el (window-min-size, window-sizable, window-min-delta)
	(window-max-delta, window--resizable, window-resizable)
	(window-total-size, window-full-height-p, window-full-width-p)
	(window-in-direction, window--resize-mini-window, window-resize)
	(window--resize-child-windows-normal)
	(window--resize-child-windows, window--resize-siblings)
	(window--resize-this-window, adjust-window-trailing-edge)
163
	(enlarge-window, shrink-window): Doc fixes.
164

Chong Yidong's avatar
Chong Yidong committed
165
2012-04-20  Chong Yidong  <cyd@gnu.org>
166 167 168 169 170 171 172 173 174 175 176 177 178

	* progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New
	function to call delete-process on the gdb-inferior buffer's pty.
	(gdb-reset): Use it, instead of relying on kill-buffer to kill the
	pty process (Bug#11273).
	(gdb-update): New arg to suppress talking to the gdb process.
	(gdb-done-or-error): Use it.
	(gdb-stopped-functions): Rename from gdb-stopped-hooks.
	(gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
	sentinel not being called.

	* comint.el (make-comint-in-buffer, comint-exec): Doc fix.

179 180
	* progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).

Chong Yidong's avatar
Chong Yidong committed
181
2012-04-20  Glenn Morris  <rgm@gnu.org>
182 183 184

	* net/network-stream.el (open-network-stream): Doc fix.

Chong Yidong's avatar
Chong Yidong committed
185
2012-04-20  Chong Yidong  <cyd@gnu.org>
186 187 188

	* emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.

Chong Yidong's avatar
Chong Yidong committed
189
2012-04-20  Alan Mackenzie  <acm@muc.de>
190 191 192 193 194 195 196

	Ensure searching for keywords is case sensitive.

	* progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
	(c-electric-paren, c-beginning-of-defun, c-end-of-defun)
	(c-defun-name, c-mark-function, c-cpp-define-name)
	(c-comment-indent, c-scan-conditionals, c-indent-defun)
Chong Yidong's avatar
Chong Yidong committed
197
	(c-context-line-break): Bind case-fold-search to nil.
198

Chong Yidong's avatar
Chong Yidong committed
199
	* progmodes/cc-mode.el (c-font-lock-fontify-region): Bind
200 201
	case-fold-search to nil.

Chong Yidong's avatar
Chong Yidong committed
202
2012-04-20  Chong Yidong  <cyd@gnu.org>
203 204 205 206

	* mail/sendmail.el (mail-bury): Call return action with the right
	Rmail buffer (Bug#11242).

207 208 209
	* server.el (server-process-filter): Handle corner case where both
	tty and nowait options are present (Bug#11102).

210 211 212
2012-04-20  Eli Zaretskii  <eliz@gnu.org>

	* version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
213 214
	(top level): Put into the executable the ident-style '$Id:' tag on
	windows-nt as well.
215

216 217 218 219 220
2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* electric.el (electric-indent-post-self-insert-function): Check that
	electric-indent-mode is enabled in current buffer.

221 222 223 224 225
2012-04-19  Juanma Barranquero  <lekktu@gmail.com>

	* imenu.el (imenu-progress-message): Restore; it is "used" in
	erc/erc-imenu.el and net/snmp-mode.el.

226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283
2012-04-19  Juanma Barranquero  <lekktu@gmail.com>

	* avoid.el (mouse-avoidance-mode): Mark unused arg.
	(mouse-avoidance-nudge-mouse): Remove unused binding.

	* bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.

	* descr-text.el (describe-char):
	* progmodes/python.el (python-describe-symbol):
	Don't call `toggle-read-only', set `buffer-read-only'.

	* imenu.el (imenu-default-goto-function): Mark unused args.
	(imenu-progress-message): Remove obsolete macro; all callers changed.

	* subr.el (keymap-canonicalize): Remove unused binding.
	(read-passwd): Mark unused arg.

	* tutorial.el (tutorial--display-changes): Remove unused binding.
	(tutorial--save-tutorial-to): Remove unused variable.

	* emacs-lisp/package.el (define-package, package-menu-mark-delete)
	(package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
	(package-generate-autoloads, package-menu--generate)
	(package-menu--find-upgrades): Remove unused bindings.

	* emulation/cua-rect.el (cua-restrict-regexp-rectangle)
	(cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
	(cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
	(cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
	(cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
	(cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
	(cua--rectangle-aux-replace, cua--left-fill-rectangle)
	(cua-scroll-rectangle-up, cua-scroll-rectangle-down)
	(cua-delete-char-rectangle): Mark unused args.
	(cua-align-rectangle): Remove unused binding.

	* mail/rmail.el (compilation--message->loc)
	(epa--find-coding-system-for-mime-charset): Declare.

	* net/dbus.el (dbus-register-service): Declare.
	(dbus-name-owner-changed-handler): Remove unused binding.

	* nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
	(nxml-compute-indent-from-matching-start-tag): Remove unused variables.
	(nxml-scan-backward-within): Mark unused arg.
	(nxml-dynamic-markup-word): Remove unused binding.

	* mouse.el (mouse-menu-major-mode-map):
	* emacs-lisp/authors.el (authors-scan-change-log)
	(authors-add-to-author-list):
	* emacs-lisp/avl-tree.el (avl-tree--enter-balance):
	* emacs-lisp/smie.el (smie-auto-fill):
	* mail/sendmail.el (mail-bury):
	* mail/unrmail.el (unrmail):
	* net/tls.el (open-tls-stream):
	* textmodes/picture.el (picture-mouse-set-point):
	Remove unused bindings.

284 285 286 287 288
2012-04-19  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-action-password): Let-bind
	`enable-recursive-minibuffers' to t.

289 290 291 292 293 294 295
2012-04-18  Sam Steingold  <sds@gnu.org>

	* progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
	instead of 'string to accommodate values like [f11].
	Always use `vconcat' instead of `concat' on it, like in `gud-def'.
	* progmodes/gdb-mi.el: Likewise.

296 297 298 299 300 301 302
2012-04-18  Leo Liu  <sdl.web@gmail.com>

	* abbrev.el (edit-abbrevs): Move point to the abbrev table of
	current buffer.
	(prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
	LOCAL is nil.

303 304 305 306 307
2012-04-18  Chong Yidong  <cyd@gnu.org>

	* simple.el (line-move): Use forward-line if in batch mode
	(Bug#11053).

308 309 310 311 312
2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>

	* files.el (after-find-file): Do not try to add a final newline if
	the buffer is read-only (Bug#11156).

313 314 315 316 317 318 319 320 321 322 323
2012-04-17  Richard Stallman  <rms@gnu.org>

	* mail/rmail.el (rmail-start-mail):
	Pass (rmail-mail-return...) for the return-action.
	Pass (rmail-yank-current-message...) for the yank-action.
	(rmail-yank-current-message): New function.
	(rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
	(rmail-reply): Likewise.
	(rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.

	* mail/sendmail.el (mail-bury): Choose the first rmail-mode
324
	buffer, not the last.  Reject temp buffers.  Use the rmail-mode
325 326
	buffer, not newbuf.

327 328 329 330
2012-04-17  Juanma Barranquero  <lekktu@gmail.com>

	* server.el (server-ensure-safe-dir): Simplify.

331
2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
332

333 334 335
	* emacs-lisp/smie.el: Provide smarter auto-filling.
	(smie-auto-fill): New function.
	(smie-setup): Use it.
336

337 338 339
	* newcomment.el (comment-choose-indent): Obey comment-inline-offset.

2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
340 341 342 343

	* newcomment.el (comment-inline-offset): New custom var (bug#11090).
	(comment-indent): Use it.

344
2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
345 346 347 348

	* ses.el: The overall change is to add cell renaming, that is
	setting fancy names for cell symbols other than name matching
	"\\`[A-Z]+[0-9]+\\'" regexp .
349
	(ses-localvars): Add ses--renamed-cell-symb-list.
350
	(ses-create-cell-variable): New defun.
351
	(ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
352 353 354 355 356 357 358 359 360 361 362
	(ses-relocate-formula): Relocate formulas only for cells the
	symbols of which are not renamed, i.e. symbols whose names do not
	match regexp "\\`[A-Z]+[0-9]+\\'".
	(ses-relocate-all): Relocate values only for cells the symbols of
	which are not renamed.
	(ses-load): Create cells variables as the (ses-cell ...) are read,
	in order to check row col consistency with cell symbol name only
	for cells that are not renamed.
	(ses-replace-name-in-formula): New defun.
	(ses-rename-cell): New defun.

363 364 365 366 367 368
2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)

	* progmodes/perl-mode.el (perl-indent-parens-as-block):
	New option (bug#11118).
	(perl-calculate-indent): Respect it.

369 370 371 372
2012-04-17  Glenn Morris  <rgm@gnu.org>

	* dired-aux.el (dired-mark-read-string): Doc fix.

373 374 375 376 377
2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>

	* dired-aux.el (dired-mark-read-string): Offer optional completion.
	(dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)

378 379 380 381 382 383
2012-04-17  Glenn Morris  <rgm@gnu.org>

	* mouse.el (mouse-drag-track):
	* speedbar.el (speedbar-frame-mode):
	Use auto-hscroll-mode rather than the alias automatic-hscrolling.

384 385 386 387
2012-04-16  Leo Liu  <sdl.web@gmail.com>

	* progmodes/python.el: Trivial cleanup.

388 389
2012-04-16  Glenn Morris  <rgm@gnu.org>

390 391 392 393 394 395 396 397
	* vc/vc.el (vc-string-prefix-p):
	* vc/pcvs-util.el (cvs-string-prefix-p):
	* textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
	* mpc.el (mpc-string-prefix-p):
	Make all of these into obsolete aliases for string-prefix-p.
	Update callers.
	* vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.

Glenn Morris's avatar
Glenn Morris committed
398 399 400 401 402 403 404
	* textmodes/two-column.el: Move custom options to the start.
	(frame-width): Remove compat definition.
	(2C-associate-buffer, 2C-dissociate):
	Use with-current-buffer rather than save-excursion.
	(2C-dissociate): Force a mode-line update.
	(2C-autoscroll): Use ignore-errors.

405 406 407
	* emacs-lisp/eieio-opt.el (describe-class, describe-generic):
	Autoload trivia.

408 409 410
	* emacs-lisp/cl-extra.el (*random-state*):
	Remove unnecessary declaration.

411 412
	* calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.

413 414 415
	* play/cookie1.el (cookie-snarf):
	Give an explicit error if input file cannot be read.

416 417
	* play/yow.el (yow-file): Use expand-file-name rather than concat.

418 419 420
	* progmodes/perl-mode.el (c-macro-expand):
	Remove unnecessary autoload (it is in loaddefs.el).

Glenn Morris's avatar
Glenn Morris committed
421 422 423 424 425
	* textmodes/picture.el (picture-desired-column)
	(picture-update-desired-column): Convert comments to doc-strings.
	(picture-substitute): Remove function.
	(picture-mode-map): Initialize in the defvar.

426 427 428 429
	* woman.el: Remove eval-after-load for tar-mode.
	* tar-mode.el (tar-mode-map): Add woman binding and menu entry.
	(woman-tar-extract-file): Autoload it.

430 431
	* frame.el (automatic-hscrolling): Make this alias obsolete.

432 433 434
2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* ispell.el (ispell-set-spellchecker-params): Post-process
435
	`ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
436 437 438
	(ispell-dictionary-base-alist): Revert to original XEmacs
	friendly version for default.  [:alpha:] will be added in
	`ispell-set-spellchecker-params' if needed
439

440 441 442 443 444 445 446 447 448 449 450 451 452
2012-04-16  Chong Yidong  <cyd@gnu.org>

	* image.el (imagemagick--extension-regexp): New variable.
	(imagemagick-register-types): Use it.
	(imagemagick-types-inhibit): Add :set function.  Allow new value
	of t to inhibit all types.

	* emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
	so we can preload it.

	* loadup.el (fboundp): Preload regexp-opt, needed by
	imagemagick-register-types.

453 454 455 456 457 458
2012-04-15  Chong Yidong  <cyd@gnu.org>

	* frame.el (scrolling): Remove nearly unused customization group.

	* scroll-all.el (scroll-all-mode): Move to windows group.

459 460 461 462
2012-04-15  Chong Yidong  <cyd@gnu.org>

	* bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).

Chong Yidong's avatar
Chong Yidong committed
463 464 465
2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	Avoid the use of ((lambda ...) ...) in lexical-binding code.
466
	* emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
Chong Yidong's avatar
Chong Yidong committed
467

468 469 470 471
2012-04-15  Glenn Morris  <rgm@gnu.org>

	* simple.el (process-file-side-effects): Doc fix.

Chong Yidong's avatar
Chong Yidong committed
472
2012-04-15  Glenn Morris  <rgm@gnu.org>
473 474 475

	* international/mule-cmds.el (set-language-environment): Doc fix.

476 477 478 479 480 481
2012-04-14  Juanma Barranquero  <lekktu@gmail.com>

	* server.el (server-auth-key, server-generate-key): Doc fixes.
	(server-get-auth-key): Doc fix.  Use `string-match-p'.
	(server-start): Reflow docstring.

482 483 484 485 486
2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>

	* server.el (server-generate-key): `called-interactively-p'
	requires a parameter.

487 488 489
2012-04-14  Michal Nazarewicz  <mina86@mina86.com>

	* server.el (server-auth-key): New variable.
Juanma Barranquero's avatar
Juanma Barranquero committed
490
	(server-generate-key, server-get-auth-key): New function.
491 492 493
	(server-start): Use the new variable and functions to allow
	setting a permanent server key (bug#9423).

494 495 496 497
2012-04-14  Leo Liu  <sdl.web@gmail.com>

	* vc/diff-mode.el (diff-file-prev/next): Fix typo.

Paul Eggert's avatar
Paul Eggert committed
498 499 500 501 502 503
2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling fixes.
	* hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
	Emacs uses American spelling.

504 505 506 507 508 509 510
2012-04-14  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
	(emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
	(emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
	(emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)

511 512 513 514
2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/which-func.el (which-func-modes): Change default.

515
2012-04-14  Kim F. Storm  <storm@cua.dk>
516 517 518 519

	* emulation/cua-base.el (cua-exchange-point-and-mark): Just call
	exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).

520
2012-04-14  Chong Yidong  <cyd@gnu.org>
521 522 523

	* custom.el (custom-theme-set-variables): Doc fix.

524
2012-04-14  Glenn Morris  <rgm@gnu.org>
525 526 527

	* international/mule.el (set-auto-coding-for-load): Doc fix.

528
2012-04-14  Alan Mackenzie  <acm@muc.de>
529

530 531 532
	* progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
	imenu work again for Objective C Mode.  Correct the *-index values,
	these having been disturbed by a previous change in 2011-08.
533

534 535 536
	* progmodes/cc-engine.el (c-before-change-check-<>-operators):
	Correct two search limits.

537
2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
538 539 540

	* startup.el (command-line-1): Inhibit splash from daemon (bug#10996).

541
2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
542 543 544

	* international/characters.el: Fix sorting.

545
2012-04-14  Eli Zaretskii  <eliz@gnu.org>
Eli Zaretskii's avatar
Eli Zaretskii committed
546 547 548

	* international/characters.el: Add more missing Latin case pairs.

549
2012-04-14  Glenn Morris  <rgm@gnu.org>
550 551 552

	* files.el (dir-locals-set-class-variables): Doc fix.

553
2012-04-14  Eli Zaretskii  <eliz@gnu.org>
554

555 556 557 558
	* international/characters.el: Add set-case-syntax-pair call for
	LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
	counterpart.  (Bug#11209)

559 560
	* simple.el (shell-command-on-region): Doc fix.  (Bug#11208)

561
2012-04-14  Glenn Morris  <rgm@gnu.org>
562 563 564

	* calendar/holidays.el (calendar-check-holidays): Doc fix.

565
2012-04-14  Eli Zaretskii  <eliz@gnu.org>
566

567 568
	* textmodes/ispell.el (ispell-dictionary-base-alist):
	Add data for Hebrew.
569

570
2012-04-14  Chong Yidong  <cyd@gnu.org>
571

572 573
	* net/rcirc.el (rcirc-cmd-quit):
	Revert 2012-03-18 change (Bug#11192).
574

575
2012-04-14  Glenn Morris  <rgm@gnu.org>
576 577 578

	* pcmpl-rpm.el (pcomplete/rpm): Handle -qf.

579
2012-04-14  Eli Zaretskii  <eliz@gnu.org>
580

581 582
	* minibuffer.el (completion-in-region-mode-map):
	Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
583

584 585 586 587
2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>

	* hexl.el (hexl-insert-char): Make display sizes other than 16 work.

588 589 590 591 592 593
2012-04-13  Masatake YAMATO  <yamato@redhat.com>

	* minibuffer.el (minibuffer-local-filename-syntax): New variable
	to allow `C-M-f' and `C-M-b' to move to the nearest path
	separator (bug#9511).

594 595 596 597 598
2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>

	* avoid.el: Require cl when compiling.  And also move the
	`provide' to the end.

599 600 601 602 603
2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* avoid.el (mouse-avoidance-banish-position): New variable.
	(mouse-avoidance-banish-destination): Use it (bug#10165).

604 605 606 607
2012-04-13  Leo Liu  <sdl.web@gmail.com>

	* progmodes/which-func.el (which-func-modes): Add objc-mode.

608 609 610
2012-04-13  Ken Brown  <kbrown@cornell.edu>

	* net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
611
	this is no longer needed now that cygstart understands file:// URLs.
612 613 614
	(browse-url-filename-alist): For the same reason, don't modify
	file:// URLs on Cygwin.

615 616 617 618 619
2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
	the region on shift if the binding is already shifted (bug#11221).

Glenn Morris's avatar
Glenn Morris committed
620 621 622 623
2012-04-12  Glenn Morris  <rgm@gnu.org>

	* mail/mailpost.el: Move to obsolete/.

624 625 626 627 628
2012-04-12  Drew Adams  <drew.adams@oracle.com>

	* imenu.el (imenu--generic-function): Ignore invisible definitions
	(bug#10123).

629 630 631 632
2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>

	* hexl.el (hexl-bits): New variable.
	(hexl-options): Mention the variable in the doc string.
Juanma Barranquero's avatar
Juanma Barranquero committed
633
	(hexl-rulerise, hexl-line-displen): New functions.
634
	(hexl-mode): Mention the new variable.
Juanma Barranquero's avatar
Juanma Barranquero committed
635 636
	(hexl-mode, hexl-current-address, hexl-current-address):
	Use the displen.
637 638 639 640
	(hexl-ascii-start-column): New function.
	(hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
	(hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).

641 642 643 644 645 646
2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* textmodes/flyspell.el (flyspell-large-region): For hunspell, use
	'("-i" ENCODING), in 2 separate command-line arguments, to specify
	the encoding, as expected by hunspell.

647 648 649 650 651 652 653
2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* battery.el (battery--linux-sysfs-regexp): New const.
	(battery-status-function): Use it.  Remove yeeloong special case.
	(battery-yeeloong-sysfs): Remove.
	(battery-echo-area-format): Remove yeeloong special case.

654 655
2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>

656 657 658
	* imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
	Reported by Noah Friedman.

659 660
	* subr.el (read-passwd): Use read-string.

661 662 663 664 665
2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* vcursor.el (vcursor-move): Increase the priority of the overlay
	(bug#9663).

666 667 668 669 670
2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

	* net/rcirc.el (rcirc-kill-channel-buffers): New variable.
	(rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).

671 672 673 674 675
2012-04-11  William Stevenson  <yhvh2000@gmail.com>

	* textmodes/artist.el (artist-mode): Convert artist-mode to use
	define-minor-mode (bug#10760).

Glenn Morris's avatar
Glenn Morris committed
676
2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
Wolfgang Jenkner's avatar
Wolfgang Jenkner committed
677

678
	* progmodes/grep.el (rgrep): Tweak the find command line so
Wolfgang Jenkner's avatar
Wolfgang Jenkner committed
679 680 681
	that directories matching `grep-find-ignored-files' won't be
	pruned (bug#10351).

682 683 684 685 686
2012-04-11  Chong Yidong  <cyd@gnu.org>

	* startup.el (command-line): Remove support for long-obsolete
	variable font-lock-face-attributes.

Glenn Morris's avatar
Glenn Morris committed
687 688 689 690
2012-04-11  Glenn Morris  <rgm@gnu.org>

	* vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.

691 692 693 694
2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* window.el (window--state-get-1): Obey window-point-insertion-type.

Lennart Borgman's avatar
Lennart Borgman committed
695 696 697 698
2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>

	* emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
	to previous function when point is on the first character of a
Juanma Barranquero's avatar
Juanma Barranquero committed
699
	function.  Take care of that in `narrow-to-defun' (bug#6157).
Lennart Borgman's avatar
Lennart Borgman committed
700

Glenn Morris's avatar
Glenn Morris committed
701 702
2012-04-11  Glenn Morris  <rgm@gnu.org>

703 704 705
	* vc/vc-bzr.el (vc-bzr-status): Handle all errors,
	not just file-errors.

Glenn Morris's avatar
Glenn Morris committed
706 707 708
	* vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
	(vc-bzr-sha1): Use internal sha1.

709 710 711 712
2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).

713 714 715 716 717
2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)

	* progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
	that start in the middle of the line (bug#10496).

718 719 720 721 722 723 724
2012-04-10  Dan Nicolaescu  <dann@gnu.org>

	* battery.el (battery-linux-proc-acpi): Only one battery is
	discharged at a time, but that seems to confuse battery.el when
	computing `rate-type' for the battery not being discharged
	(bug#10332).

725 726
2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>

727 728
	* emacs-lisp/autoload.el (autoload-make-program): Remove, unused.

729 730 731 732 733
	* international/quail.el: Use dolist and simplify.
	(quail-define-package, quail-update-keyboard-layout)
	(quail-define-rules): Use dolist.
	(quail-insert-kbd-layout, quail-get-translation): CSE.

734 735 736 737 738
	* tmm.el: Use dolist, remove left over hook.
	(tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
	Use dolist.
	(calendar-load-hook): Don't mess with it.

739 740 741
	* vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
	Use derived-mode-p.  Run the diff asynchronously.

742 743 744 745
2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* obsolete/mouse-sel.el: Add an Obsolete-since header.

746 747 748 749 750 751
2012-04-10  Juanma Barranquero  <lekktu@gmail.com>

	* misc.el: Display absolute path of loaded DLLs (bug#10424).
	(list-dynamic-libraries--loaded): New function.
	(list-dynamic-libraries--refresh): Use it.

752 753
2012-04-10  Nathan Weizenbaum  <nweiz@google.com>

754 755
	* progmodes/python.el (python-fill-paragraph):
	Make python-fill-region in a multiline string work when font-lock is
756 757
	disabled (bug#7018).

Laimonas V bra's avatar
Laimonas V bra committed
758 759
2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)

760
	* language/european.el (cp775): Add oem/legacy (en)coding on
Juanma Barranquero's avatar
Juanma Barranquero committed
761 762
	DOS/MS Windows for the Baltic languages.  There are still plenty
	of texts written in this encoding/codepage (bug#6519).
Laimonas V bra's avatar
Laimonas V bra committed
763

764 765 766 767 768
2012-04-10  Glenn Morris  <rgm@gnu.org>

	* cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
	Add :standard values, reducing "rogue" customs in emacs -Q a bit more.

769 770
2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)

771
	* recentf.el (recentf-dialog-mode-map): Add two keybindings for
772 773 774
	next-line "n" and previous-line "p" in order to make recentf more
	consistent with ibuffer, dired or org-mode (bug#9387).

775 776
2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>

777 778 779 780 781
	* image.el (put-image): Return the overlay created instead of the
	optional input string (bug#7834).  Note that this may break code
	that is (for some reason or other) depending on `put-image'
	returning the string.

782 783
	* mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).

784 785 786
	* simple.el (zap-to-char): Allow zapping using input methods
	(bug#1580).

787 788 789
	* textmodes/fill.el (fill-region): Leave point and mark where they
	were before filling (bug#5399).

Glenn Morris's avatar
Glenn Morris committed
790 791 792 793 794
2012-04-09  Glenn Morris  <rgm@gnu.org>

	* version.el (emacs-bzr-get-version):
	Handle lightweight checkouts of local branches.

Andreas Schwab's avatar
Andreas Schwab committed
795 796
2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>

Glenn Morris's avatar
Glenn Morris committed
797
	* international/characters.el: Recover lost case pairs.  (Bug#11209)
Andreas Schwab's avatar
Andreas Schwab committed
798

799 800 801 802 803 804 805 806 807 808 809 810
2012-04-09  Chong Yidong  <cyd@gnu.org>

	* custom.el (custom-variable-p): Return nil for non-symbol
	arguments instead of signaling an error.
	(user-variable-p): Obsolete alias for custom-variable-p.

	* apropos.el (apropos-variable):
	* files-x.el (read-file-local-variable):
	* simple.el (set-variable):
	* woman.el (woman-mini-help):
	* emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.

811 812
2012-04-09  Glenn Morris  <rgm@gnu.org>

813 814 815
	* startup.el (normal-top-level): Don't look for leim-list.el
	in places where it will not be found.  (Bug#910)

816 817 818 819 820
	* international/mule-cmds.el (set-default-coding-systems):
	* files.el (normal-mode):
	Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
	This function was removed with ucs-tables.el in 2008.

821 822 823 824 825 826 827 828
2012-04-08  Eli Zaretskii  <eliz@gnu.org>

	* textmodes/ispell.el (ispell-check-version): For hunspell, set
	ispell-encoding8-command to "-i", without a trailing space.
	(ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
	separate command-line arguments, to specify the encoding, since
	that's how hunspell expects it.

829 830 831 832 833
2012-04-08  Glenn Morris  <rgm@gnu.org>

	* loadup.el: Load bindings before cus-start.
	This reduces somewhat the number of "rogue" settings in emacs -Q.

Glenn Morris's avatar
Glenn Morris committed
834 835 836
2012-04-07  Glenn Morris  <rgm@gnu.org>

	* version.el (emacs-bzr-get-version): New function.
Glenn Morris's avatar
Glenn Morris committed
837
	(emacs-bzr-version): New variable.
Glenn Morris's avatar
Glenn Morris committed
838 839 840
	* loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
	* mail/emacsbug.el (report-emacs-bug): Include bzr version.

841 842
2012-04-07  Eli Zaretskii  <eliz@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
843 844 845 846 847 848 849
	* international/uni-bidi.el, international/uni-category.el:
	* international/uni-combining.el, international/uni-decimal.el:
	* international/uni-decomposition.el, international/uni-digit.el:
	* international/uni-lowercase.el, international/uni-mirrored.el:
	* international/uni-name.el, international/uni-numeric.el:
	* international/uni-titlecase.el, international/uni-uppercase.el:
	Update for Unicode 6.1.
850

851 852 853 854
2012-04-07  Eli Zaretskii  <eliz@gnu.org>

	* term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.

855 856 857 858 859
2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* window.el (shrink-window): Mention the `window-min-height'
	variable in the doc string.

Bastien Guerry's avatar
Bastien Guerry committed
860 861 862 863
2012-04-05  Bastien Guerry  <bzg@altern.org>

	* color.el (color-lighten-name): Fix typo.

864 865 866 867 868
2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* server.el (server--on-display-p): New function.
	(server--on-display-p): Use it.

869 870 871 872 873
2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)

	* ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
	(bug#11145).

874 875 876 877 878 879
2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* comint.el (comint--common-quoted-suffix): Check string boundary
	before comparing (bug#11158).
	* pcomplete.el (pcomplete--common-quoted-suffix): Idem.

880 881
2012-04-04  Chong Yidong  <cyd@gnu.org>

882 883
	* minibuffer.el (completion-extra-properties): Doc fix.

884 885
	* subr.el (delayed-warnings-hook): Doc fix.

886 887 888 889 890 891 892
2012-04-04  Daiki Ueno  <ueno@unixuser.org>

	* epa.el (epa--select-keys): Bind C-c C-c to finish the key
	selection (Bug#11159).
	(epa-insert-keys): Inform that the default public key will be
	exported if no key is selected.

893 894 895 896
2012-04-04  Richard Stallman  <rms@gnu.org>

	* mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.

897 898 899 900 901
2012-04-03  Chong Yidong  <cyd@gnu.org>

	* mail/sendmail.el (mail-mode-map): Bind C-c C-i to
	mail-insert-file, not its obsolete alias mail-attach-file.

902 903 904 905
2012-04-03  Michael Albinus  <michael.albinus@gmx.de>

	* notifications.el (notifications-notify): Fix docstring.

906 907 908 909
2012-04-02  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/authors.el (authors-aliases): Another addition.

910 911 912 913 914 915
2012-04-02  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
	`tramp-compat-call-process' instead of `tramp-local-call-process'.
	Reported by Magnus Henoch <magnus.henoch@gmail.com>.

916 917 918 919 920 921 922 923 924
2012-04-01  Chong Yidong  <cyd@gnu.org>

	* files.el (file-in-directory-p): Rename from file-subdir-of-p.
	Handle root directory properly.
	(copy-directory): Caller changed.

	* dired-aux.el (dired-copy-file-recursive, dired-create-files):
	* net/tramp.el (tramp-file-name-for-operation): Callers changed.

Glenn Morris's avatar
Glenn Morris committed
925 926
2012-03-31  Glenn Morris  <rgm@gnu.org>

927 928
	* term/xterm.el (xterm-extra-capabilities): Doc fix.

929 930
	* language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)

931 932 933 934
	* calendar/calendar.el (calendar-window-list)
	(calendar-hide-window): Restore.  (Bug#11140)
	(calendar-exit): Use calendar-window-list, calendar-hide-window again.

Glenn Morris's avatar
Glenn Morris committed
935 936
	* emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.

Thierry Volpiatto's avatar
Thierry Volpiatto committed
937 938 939 940 941 942 943
2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* dired-aux.el (dired-copy-file-recursive, dired-create-files):
	Check if file is a symlink (Bug#10489).

	* files.el (copy-directory): Likewise.

944 945 946 947 948
2012-03-30  Chong Yidong  <cyd@gnu.org>

	* image.el (imagemagick-types-inhibit)
	(imagemagick-register-types): Doc fix.

949 950 951
2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* ispell.el (ispell-get-extended-character-mode): Disable
Juanma Barranquero's avatar
Juanma Barranquero committed
952 953
	extended-char-mode for hunspell.  hunspell does not support it
	and treats ~word as ordinary words in pipe mode.
954

955 956 957 958 959
2012-03-30  Glenn Morris  <rgm@gnu.org>

	* tutorial.el (help-with-tutorial): Ensure local variables don't
	happen to make the buffer read-only.  (Bug#11127)

960 961 962 963 964
2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
	(perl-calculate-indent): Return `noindent' in strings.

965 966 967 968 969 970 971 972
2012-03-28  Sam Steingold  <sds@gnu.org>

	* calendar/calendar.el (calendar-exit): Use `quit-windows-on'
	instead of the broken adhockery which does not prevent calendar
	buffers from being displayed at random after exit.
	(calendar-window-list, calendar-hide-window): Remove the broken
	adhockery.

973 974 975 976
2012-03-28  Glenn Morris  <rgm@gnu.org>

	* replace.el (query-replace-map): Doc fix.

Andreas Schwab's avatar
Andreas Schwab committed
977 978 979 980 981
2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>

	* vc/vc-git.el (vc-git-state): Don't try to match all of the diff
	contents.  (Bug#11109)

982 983 984 985 986 987
2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
	(bug#11077).
	(avl-tree--check, avl-tree--check-node): New funs.

988 989 990
2012-03-27  Martin Rudalics  <rudalics@gmx.at>

	* window.el (switch-to-visible-buffer): New option.
991 992
	(switch-to-prev-buffer, switch-to-next-buffer):
	Observe switch-to-visible-buffer.  Make sure that checking for a window
993 994
	showing a buffer already is done on the same frame.

995 996 997 998
2012-03-27  Glenn Morris  <rgm@gnu.org>

	* startup.el (mail-host-address): Doc fix.

999 1000 1001 1002 1003
2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
	than 197 variables.

1004 1005 1006 1007
2012-03-26  Ami Fischman  <ami@fischman.org>

	* vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.

Glenn Morris's avatar
Glenn Morris committed
1008 1009
2012-03-26  Glenn Morris  <rgm@gnu.org>

1010 1011
	* files.el (save-buffers-kill-emacs): Doc fix.

Glenn Morris's avatar
Glenn Morris committed
1012 1013 1014
	* startup.el (normal-top-level, command-line, command-line-1):
	Give them doc strings.

1015 1016 1017
2012-03-25  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1018
	of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1019

1020 1021
2012-03-25  Chong Yidong  <cyd@gnu.org>

1022 1023 1024
	* custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
	theme if it was previously enabled before (Bug#11031).

1025 1026 1027
	* cus-theme.el (custom-theme-write-faces): Retrieve current face
	spec with custom-face-get-current-spec if its :shown-value is not
	determined yet (Bug#9337).
1028
	(customize-create-theme, custom-theme-revert): Doc fixes.
1029

1030 1031
	* button.el (button-at): Minor addition to docstring.

1032 1033 1034 1035
2012-03-24  Simon Leinen  <simon.leinen@gmail.com>

	* vc/vc.el (vc-merge): Fix a prompt.

1036 1037 1038 1039 1040
2012-03-24  Chong Yidong  <cyd@gnu.org>

	* mwheel.el (mwheel-scroll): Call deactivate-mark at the right
	point (Bug#9623).

1041 1042
	* button.el (button-at): Minor addition to docstring.

1043 1044 1045 1046
2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* newcomment.el (comment-choose-indent): No space after BOL.

1047 1048 1049 1050 1051
2012-03-22  Sam Steingold  <sds@gnu.org>

	* window.el (switch-to-prev-buffer): Revert last patch because the
	bug turned out to be an advertised feature (Elisp manual 28.14).

1052 1053 1054 1055 1056
2012-03-22  Glenn Morris  <rgm@gnu.org>

	* vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
	(vc-bzr-command): If running "status", pass vc-bzr-status-switches.

1057 1058 1059 1060 1061
2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/network-stream.el (network-stream-open-starttls): Make error
	message under Windows be less misleading.

1062 1063 1064 1065 1066
2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)

	* progmodes/etags.el (etags-list-tags): Only use tags which goto-func
	understands (bug#9942).

1067 1068 1069 1070 1071
2012-03-22  Chong Yidong  <cyd@gnu.org>

	* simple.el (end-of-visible-line): Handle return value of
	next-single-property-change properly (Bug#9371).

1072 1073 1074 1075 1076 1077
2012-03-22  Kenichi Handa  <handa@m17n.org>

	* international/quail.el (quail-insert-kbd-layout): Fix previous
	change.  To avoid unwanted bidi reordering, use
	bidi-string-mark-left-to-right instead of inserting LRO and PDF.

1078 1079 1080 1081 1082 1083 1084 1085
2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
	(ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
	(ruby-beginning-of-indent): Be more careful with the difference
	between word-boundary and symbol boundary.
	(ruby-mode-syntax-table): Make : a symbol constituent.

1086
2012-03-21  Andreas Politz  <politza@fh-trier.de>
1087

1088 1089
	* outline.el (outline-flag-region): Evaporate overlays (bug#10789).

1090 1091
2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>

1092 1093 1094
	* progmodes/etags.el (tags-completion-at-point-function):
	Improve last fix.

1095 1096
	* files.el (move-file-to-trash): Files aren't regexps (bug#11055).

1097 1098 1099 1100 1101
2012-03-21  Sam Steingold  <sds@gnu.org>

	* progmodes/etags.el (tags-completion-at-point-function):
	Avoid the error when point is inside the pattern.

1102 1103 1104 1105 1106
2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)

	* progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
	line (Bug#10855).

1107 1108 1109 1110
2012-03-21  Drew Adams  <drew.adams@oracle.com>

	* info.el (Info-menu): Handle string value of FORK arg (Bug#10858).

1111 1112 1113 1114 1115 1116
2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)

	* ido.el (ido-set-current-directory, ido-read-internal)
	(ido-choose-completion-string, ido-completion-help): Handle nil
	value of ido-completion-buffer (Bug#11008).

1117 1118 1119 1120 1121
2012-03-21  Sam Steingold  <sds@gnu.org>

	* window.el (switch-to-prev-buffer): Do not switch to a visible
	window previous buffer, just like with the frame previous buffers.

1122 1123 1124 1125 1126 1127
2012-03-21  Chong Yidong  <cyd@gnu.org>

	* faces.el (make-face, make-empty-face, copy-face):
	* face-remap.el (face-remap-add-relative, face-remap-set-base):
	Doc fixes.

1128 1129 1130 1131 1132
2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* wid-edit.el (widget-complete-field): Remove (bug#11051).
	(widget-complete): Remove broken use of it.

1133 1134
2012-03-20  Chong Yidong  <cyd@gnu.org>

1135 1136
	* emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
	Use string-width and truncate-string-width to handle arbitrary
1137 1138
	characters.

1139 1140 1141 1142 1143 1144
2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>

	* textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
	to draw rectangles, not squares.  (Regression introduced by revno
	2011-03-02T03:48:01Z!cyd@stupidchicken.com)

1145 1146 1147 1148 1149
2012-03-18  Chong Yidong  <cyd@gnu.org>

	* faces.el (face-spec-reset-face): Don't call display-graphic-p if
	it is not yet defined (for temacs).

1150 1151
2012-03-18  Leo Liu  <sdl.web@gmail.com>

1152
	* net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1153

Eli Zaretskii's avatar
Eli Zaretskii committed
1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167
2012-03-17  Eli Zaretskii  <eliz@gnu.org>

	* textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
	(ispell-choices-win-default-height, ispell-silently-savep)
	(ispell-dictionary-alist, ispell-encoding8-command)
	(ispell-check-version, ispell-aspell-find-dictionary)
	(ispell-valid-dictionary-list, ispell-words-keyword)
	(ispell-get-word, ispell-internal-change-dictionary)
	(ispell-region, ispell-skip-region-list)
	(ispell-begin-skip-region-regexp, ispell-ignore-fcc)
	(ispell-process-line, ispell-minor-mode, ispell-minor-check)
	(ispell-message-text-end, ispell-message)
	(ispell-buffer-local-parsing): Doc fix.

1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181
2012-03-13  Jambunathan K  <kjambunathan@gmail.com>

	* htmlfontify.el: Add support for code block fontification for ODT
	export (Bug #9914).
	(hfy-optimisations): Define new option
	`body-text-only'
	(hfy-fontify-buffer): Honor above setting.
	(hfy-begin-span, hfy-end-span): New routines factored out form
	`hfy-fontify-buffer'.
	(hfy-begin-span-handler, hfy-end-span-handler): New variables
	that permit insertion of custom tags.
	(hfy-fontify-buffer): Use above handlers.
	(hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
	(hfy-face-to-css): Re-defined to be a variable.
1182
	(hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
Juanma Barranquero's avatar
Juanma Barranquero committed
1183
	over multiple runs.  This is made possible by having the caller let
1184 1185 1186 1187 1188 1189
	bind a special variable `hfy-user-sheet-assoc'.
	(htmlfontify-string): New defun.
	(hfy-compile-face-map): Make sure that the last char in the
	buffer is correctly fontified.
	(hfy-face-resolve-face): Whitespace only change.

1190 1191 1192 1193 1194
2012-03-17  Eli Zaretskii  <eliz@gnu.org>

	* textmodes/ispell.el (ispell-get-decoded-string): Make the error
	message more clear.

1195 1196 1197 1198
2012-03-16  Leo Liu  <sdl.web@gmail.com>

	* emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.

1199 1200 1201 1202 1203 1204 1205
2012-03-16  Alan Mackenzie  <acm@muc.de>

	Further optimise the handling of large macros.

	* progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
	limit to a call of `c-literal-limits'.
	(c-determine-+ve-limit): New function.
1206 1207
	(c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
	(c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1208 1209 1210 1211 1212 1213
	In CASE 5B, restrict a search limit to 500.
	(c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.

	* progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
	Restrict macro bounds to +-500 from after-change's BEG END.

1214 1215 1216 1217
2012-03-16  Leo Liu  <sdl.web@gmail.com>

	* font-lock.el (lisp-font-lock-keywords-2): Add letrec.

1218 1219 1220
2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>

	* tar-mode.el (tar-mode): Fix saving by conditionally undoing
1221
	`special-mode' setting of `buffer-read-only'.  (Bug#11010)
1222

1223 1224
2012-03-16  Glenn Morris  <rgm@gnu.org>

1225 1226 1227
	* view.el (view-buffer, view-buffer-other-window)
	(view-buffer-other-frame): Doc fixes re special mode-class.

1228 1229 1230
	* subr.el (eval-after-load): If named feature is provided not from
	a file, run after-load forms.  (Bug#10946)

1231 1232 1233
	* calendar/calendar.el (calendar-insert-at-column):
	Handle non-unit-width characters a bit better.  (Bug#10978)

1234 1235 1236 1237 1238 1239 1240 1241
2012-03-15  Chong Yidong  <cyd@gnu.org>

	* emacs-lisp/ring.el (ring-extend): New function.
	(ring-insert+extend): Extend the ring correctly (Bug#11019).

	* comint.el (comint-read-input-ring)
	(comint-add-to-input-history): Grow comint-input-ring lazily.

1242 1243
2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>

1244 1245 1246
	* progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
	Fix up parsing of multiline twoarg non-paired elements (bug#11014).

1247 1248 1249 1250
	* imenu.el: Fix multiple inheritance breakage (bug#9199).
	(imenu-add-to-menubar): Don't add a redundant index.
	(imenu-update-menubar): Handle a dynamically composed keymap.

1251 1252 1253 1254 1255
2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>

	* mail/sendmail.el (mail-encode-header):
	Bind rfc2047-encode-encoded-words to nil.

1256 1257 1258 1259 1260
2012-03-13  Glenn Morris  <rgm@gnu.org>

	* calendar/calendar.el (calendar-string-spread):
	Handle non-unit-width characters a bit better.  (Bug#10978)

1261 1262 1263 1264 1265
2012-03-13  Leo Liu  <sdl.web@gmail.com>

	* vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
	directory and file as argument (Bug#10822).

1266 1267 1268 1269 1270 1271
2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)

	* progmodes/gdb-mi.el (gdb-invalidate-disassembly):
	For dynamically generated code, follow $PC.
	(gdb-disassembly-handler-custom): Handle no function name case.

1272 1273 1274 1275 1276 1277 1278
2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)

	* calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
	* emulation/ws-mode.el (ws-query-replace):
	* sort.el (sort-regexp-fields):
	Fix missing trailing whitespace in interactive prompts.  (Bug#11002)

1279 1280 1281 1282 1283 1284 1285
2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* dabbrev.el: Fix cycle completion order (bug#10963).
	(dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
	(dabbrev-completion): Don't use an obarray; provide
	a cycle-sort-function.

1286 1287
2012-03-12  Leo Liu  <sdl.web@gmail.com>