ChangeLog 472 KB
Newer Older
1 2
2012-04-27  Chong Yidong  <cyd@gnu.org>

3 4 5 6 7 8 9 10
	* startup.el (x-apply-session-resources): New function.

	* term/ns-win.el (ns-initialize-window-system):
	* term/w32-win.el (w32-initialize-window-system):
	* term/x-win.el (x-initialize-window-system): Use it to properly
	set menu-bar-mode and other vars from X resources, even if the
	initial frame is not a window-system frame (Bug#2299).

11 12 13
	* subr.el (read-key): Avoid running filter function when setting
	up temporary tool bar entries (Bug#9922).

14
2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
Andreas Schwab's avatar
Andreas Schwab committed
15 16 17 18

	* vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
	(Bug#11344)

19
2012-04-27  Chong Yidong  <cyd@gnu.org>
20 21 22 23 24 25 26 27

	* select.el (xselect--encode-string): New function, split from
	xselect-convert-to-string.
	(xselect-convert-to-string): Use it.
	(xselect-convert-to-filename, xselect-convert-to-os)
	(xselect-convert-to-host, xselect-convert-to-user): Ensure that
	returned strings are properly encoded (Bug#11315).

28
2012-04-27  Chong Yidong  <cyd@gnu.org>
29 30 31

	* simple.el (delete-active-region): Move to killing custom group.

32
2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
33 34 35 36

	* progmodes/which-func.el (which-func-current): Quote %
	characters for mode-line processing.

37
2012-04-27  Chong Yidong  <cyd@gnu.org>
38 39 40 41

	* xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
	reaching eob (Bug#11286).

42
2012-04-27  Eli Zaretskii  <eliz@gnu.org>
43 44 45 46 47 48 49 50 51

	* progmodes/gdb-mi.el (gdb-control-level): New variable.
	(gdb): Make it buffer-local and init to zero.
	(gdb-control-commands-regexp): New variable.
	(gdb-send): Don't wrap in "-interpreter-exec console" if
	gdb-control-level is positive.  Increment gdb-control-level
	whenever the command matches gdb-control-commands-regexp, and
	decrement it each time the command is "end".  (Bug#11279)

52
2012-04-27  Martin Rudalics  <rudalics@gmx.at>
53 54 55 56 57 58

	* window.el (adjust-window-trailing-edge, enlarge-window)
	(shrink-window, window-resize):
	* mouse.el (mouse-drag-line): Fix resizing of minibuffer
	windows (Bug#11276).

59 60 61
2012-04-27  Chong Yidong  <cyd@gnu.org>

	* progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
62
	fix "missing prefix" warning.  All callers changed.
63

64 65 66 67
2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>

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

68 69
2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>

70
	* emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
71 72 73 74 75 76 77 78 79 80 81

	* term/ns-win.el (ns-define-service):
	* progmodes/pascal.el (pascal-goto-defun):
	* progmodes/js.el (js--read-tab):
	* progmodes/etags.el (tags-lazy-completion-table):
	* emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
	* emacs-lisp/ewoc.el (ewoc--wrap):
	* emacs-lisp/assoc.el (aput, adelete, amake):
	* doc-view.el (doc-view-convert-current-doc):
	* vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.

Chong Yidong's avatar
Chong Yidong committed
82 83
2012-04-26  Chong Yidong  <cyd@gnu.org>

84 85 86
	* image.el (image-type-from-buffer): Only return supported image
	type (Bug#9045).

Chong Yidong's avatar
Chong Yidong committed
87 88 89 90 91 92 93 94 95
	* vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
	value, for symmetry with diff-end-of-hunk.
	(diff-split-hunk, diff-find-source-location)
	(diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
	(diff-bounds-of-hunk, diff-bounds-of-file): New functions.
	(diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
	compute the relevant hunk or file properly (Bug#6005).
	(diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).

Stefan Monnier's avatar
Stefan Monnier committed
96 97 98 99 100 101 102 103 104 105 106 107 108 109
2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc/vc-mtn.el:
	* vc/vc-hg.el:
	* vc/vc-git.el:
	* vc/vc-dir.el:
	* vc/vc-cvs.el:
	* vc/vc-bzr.el:
	* vc/vc-arch.el:
	* vc/vc.el: Replace lexical-let by lexical-binding.
	* minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
	* emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
	* emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).

110 111
2012-04-26  Chong Yidong  <cyd@gnu.org>

112 113 114
	* vc/diff-mode.el (diff-undo): New command (Bug#5302).
	(diff-mode-shared-map): Bind it to / and [remap undo].

115 116 117 118 119 120 121
	* vc/ediff-wind.el (ediff-setup-windows-default): New function.
	(ediff-window-setup-function): Use it as the default, to set up
	windows based on whether the current frame is graphical (Bug#2138).
	(ediff-choose-window-setup-function-automatically): Make obsolete.

	* vc/ediff-init.el: Always define ediff-pixel-width/height.

122 123
2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>

124 125 126
	* ffap.el: Remove old code for obsolete package.
	(ffap-complete-as-file-p): Remove.

127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
	Use completion-table-with-quoting for comint and pcomplete.
	* comint.el (comint--unquote&requote-argument)
	(comint--unquote-argument, comint--requote-argument): New functions.
	(comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
	(comint-quote-filename): Use regexp-opt-charset.
	(comint--common-suffix, comint--common-quoted-suffix)
	(comint--table-subvert): Remove.
	(comint-unquote-function, comint-requote-function): New vars.
	(comint--complete-file-name-data): Use them with
	completion-table-with-quoting.
	* pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
	* pcomplete.el (pcomplete-arg-quote-list)
	(pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
	(pcomplete-unquote-argument-function): Default to non-nil.
	(pcomplete-unquote-argument): Simplify.
	(pcomplete--common-quoted-suffix): Remove.
	(pcomplete-requote-argument-function): New var.
	(pcomplete--common-suffix): New function.
	(pcomplete-completions-at-point): Use completion-table-with-quoting
	and completion-table-subvert.

148 149 150 151 152
	* minibuffer.el: Use completion-table-with-quoting for read-file-name.
	(minibuffer--double-dollars): Preserve properties.
	(completion--sifn-requote): New function.
	(completion--file-name-table): Rewrite using it and c-t-with-quoting.

153 154 155 156 157 158
	* minibuffer.el: Add support for completion of quoted/escaped data.
	(completion-table-with-quoting, completion-table-subvert): New funs.
	(completion--twq-try, completion--twq-all): New functions.
	(completion--nth-completion): New function.
	(completion-try-completion, completion-all-completions): Use it.

159 160
2012-04-25  Leo Liu  <sdl.web@gmail.com>

161 162
	* progmodes/python.el (python-pdbtrack-get-source-buffer):
	Use compilation-message if available to find real filename.
163

164 165 166 167 168 169 170 171 172
2012-04-25  Chong Yidong  <cyd@gnu.org>

	* vc/diff-mode.el (diff-setup-whitespace): New function.
	(diff-mode): Use it.

	* vc/diff.el (diff-sentinel):
	* vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
	Whitespace mode variables based on diff style (Bug#8612).

173 174
2012-04-25  Leo Liu  <sdl.web@gmail.com>

175 176 177
	* progmodes/python.el (python-send-region): Add suffix .py to the
	temp file.

178 179
	* files.el (auto-mode-alist): Use javascript-mode instead.

180 181
2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>

182
	Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
183 184

	* soap-client.el (soap-resolve-references-for-sequence-type)
185
	(soap-resolve-references-for-array-type): Hack to prevent self
186
	references, see Bug#9.
187
	(soap-parse-envelope): Report the contents of the 'detail' node
188
	when receiving a fault reply.
189
	(soap-parse-envelope): Report the contents of the entire 'detail' node.
190 191

	* soap-inspect.el (soap-sample-value-for-simple-type)
192
	(soap-inspect-simple-type): New function.
193

194
	* soap-client.el (soap-simple-type): New struct.
195
	(soap-default-xsd-types, soap-default-soapenc-types)
196 197
	(soap-decode-basic-type, soap-encode-basic-type):
	support unsignedInt and double basic types.
198
	(soap-resolve-references-for-simple-type)
199 200
	(soap-parse-simple-type, soap-encode-simple-type): New function.
	(soap-parse-schema): Parse xsd:simpleType declarations.
201 202

	* soap-client.el (soap-default-xsd-types)
203 204 205 206
	(soap-default-soapenc-types): Add integer, byte and anyURI types.
	(soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
	the local name of "soapenc:Array".
	(soap-decode-basic-type, soap-encode-basic-type): Support encoding
207 208
	decoding integer, byte and anyURI xsd types.

209 210 211 212
2012-04-25  Chong Yidong  <cyd@gnu.org>

	* cus-edit.el (custom-buffer-create-internal): Update header text.

213 214 215 216 217 218
2012-04-25  Eli Zaretskii  <eliz@gnu.org>

	* progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
	settings on 'system-type', not on 'window-system'.  On MS-Windows,
	set interactive-mode on in GDB.

219 220 221 222 223 224 225
2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/ruby-mode.el: Simplify last change, and cleanup code.
	(ruby-syntax-propertize-regexp): Remove.
	(ruby-syntax-propertize-function): Split regexp into chunks.
	Match following code directly.

226 227
2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>

228 229 230 231 232
	* progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
	(ruby-syntax-propertize-regexp): New function.
	(ruby-syntax-propertize-function): Use it to handle regexp not preceded
	by a special keyword.

233 234 235 236 237 238 239 240
	* progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
	(ruby-syntax-general-delimiters-goto-beg)
	(ruby-syntax-propertize-general-delimiters): New functions.
	(ruby-syntax-propertize-function): Use them to handle GDL.
	(ruby-font-lock-keywords): Move old handling of GDL...
	(ruby-font-lock-syntactic-keywords): .. to here.
	(ruby-calculate-indent): Adjust indentation for GDL.

241 242
2012-04-24  Michael Albinus  <michael.albinus@gmx.de>

243 244
	* notifications.el (top): Remove unneeded declarations.
	(notifications-specification-version): Change to "1.2".
245
	(notifications-interface, notifications-notify-method)
246 247
	(notifications-close-notification-method): Fix docstring.
	(notifications-get-capabilities-method): New defconst.
248 249 250
	(notifications-notify): Add :action-items, :resident and
	:transient hints.  Change "image_data" to "image-data" and
	"image_path" to "image-path".
251 252
	(notifications-get-capabilities): New defun.

253 254 255 256
2012-04-24  Leo Liu  <sdl.web@gmail.com>

	* progmodes/python.el: Move hideshow setup to the end.

257 258 259 260 261
2012-04-24  Martin Rudalics  <rudalics@gmx.at>

	* window.el (handle-select-window): Clear echo area since this is
	no more done by read_char (Bug#11304).

262 263 264 265 266 267 268 269 270
2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
	and `/ M' to filter-derived-mode.
	* ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
	(ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
	(ibuffer-mark-by-mode): Use default rather than initial-input.
	(ibuffer-filter-by-derived-mode): Autoload and require-match.

271 272 273 274 275 276
2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)

	* ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
	(ibuffer-filter-by-derived-mode): New filter.
	* ibuffer.el (ibuffer-mode-map): Bind to `/ w'.

277 278 279 280
2012-04-23  Andreas Politz  <politza@fh-trier.de>

	* subr.el (accept-change-group): Fix arg usage (Bug#6095).

281 282 283 284 285 286 287 288 289 290
2012-04-23  Chong Yidong  <cyd@gnu.org>

	* cus-edit.el (customize-apropos, customize-apropos-options):
	Disable matching of non-option variables (Bug#11176).
	(customize-option, customize-option-other-window)
	(customize-changed-options): Doc fix.
	(customize-apropos-options, customize-apropos-faces)
	(customize-apropos-groups): Use apropos-read-pattern (Bug#11124).

	* apropos.el (apropos-read-pattern): Make prompt less cryptic.
291
	Fix word list splitting (Bug#11132).
Chong Yidong's avatar
Chong Yidong committed
292 293 294 295 296 297 298 299
	(apropos-symbol, apropos-keybinding, apropos-label)
	(apropos-property, apropos-function-button)
	(apropos-variable-button, apropos-misc-button): New faces.
	(apropos-symbol-face, apropos-keybinding-face)
	(apropos-label-face, apropos-property-face, apropos-match-face):
	Variables removed (Bug#8396).
	(apropos-library-button, apropos-format-plist, apropos-print)
	(apropos-print-doc, apropos-describe-plist): Callers changed.
300

301 302 303 304 305
2012-04-23  Michael Albinus  <michael.albinus@gmx.de>

	* net/xesam.el (xesam-mode-map): Use let-bound map in
	initialization.  (Bug#11292)

306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321
2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	Preserve ispell session localwords when switching back to
	original buffer.

	* ispell.el (ispell-buffer-session-localwords): New buffer-local
	variable to hold buffer session localwords.
	(ispell-kill-ispell): add option 'clear to delete session
	localwords.
	(ispell-command-loop, ispell-change-dictionary)
	(ispell-buffer-local-words): Preserve session localwords when
	needed.

	* flyspell.el (flyspell-process-localwords, flyspell-do-correct):
	Preserve session localwords when needed.

322 323 324 325
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'.
326 327
	(ispell-word, ispell-process-line, ispell-complete-word):
	Use plain `insert' instead of removed `ispell-insert-word'.
328

329 330 331 332 333 334 335 336
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.

337 338 339
	* faces.el (face-spec-set): Stop supporting deprecated form of
	third arg.

340 341 342 343 344
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.

345 346
	* net/dbus.el (dbus-message-internal): Declare function.
	Remove unneeded function declarations.
347 348 349 350 351 352 353 354 355 356 357 358 359 360 361
	(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)
362 363
	(dbus-get-all-managed-objects, dbus-managed-objects-handler):
	New defuns.
364 365 366 367 368 369 370 371 372
	(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'.

373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405
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.

406 407 408 409 410 411
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 (.

412 413 414 415 416 417
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>.

418 419
2012-04-21  Leo Liu  <sdl.web@gmail.com>

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

422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438
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 ?\ .

439 440 441 442
2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>

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

443 444 445 446 447
2012-04-20  Leo Liu  <sdl.web@gmail.com>

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

448 449 450 451 452 453
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.
454 455
	(server-process-filter): Only try to open a window system frame if
	compiled with graphical support (Bug#8314).
456

Dan Nicolaescu's avatar
Dan Nicolaescu committed
457 458 459 460 461 462
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.

463 464
2012-04-20  Chong Yidong  <cyd@gnu.org>

Chong Yidong's avatar
Chong Yidong committed
465
	* progmodes/gdb-mi.el (gdb): Revert previous change.
466 467 468 469 470 471 472 473 474
	(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.

475 476 477 478 479 480 481 482 483
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)
484
	(enlarge-window, shrink-window): Doc fixes.
485

Chong Yidong's avatar
Chong Yidong committed
486
2012-04-20  Chong Yidong  <cyd@gnu.org>
487

488 489
	* progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
	New function to call delete-process on the gdb-inferior buffer's pty.
490 491 492 493 494 495 496 497 498 499
	(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.

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

Chong Yidong's avatar
Chong Yidong committed
502
2012-04-20  Glenn Morris  <rgm@gnu.org>
503 504 505

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

Chong Yidong's avatar
Chong Yidong committed
506
2012-04-20  Chong Yidong  <cyd@gnu.org>
507 508 509

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

Chong Yidong's avatar
Chong Yidong committed
510
2012-04-20  Alan Mackenzie  <acm@muc.de>
511 512 513 514 515 516 517

	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
518
	(c-context-line-break): Bind case-fold-search to nil.
519

520 521
	* progmodes/cc-mode.el (c-font-lock-fontify-region):
	Bind case-fold-search to nil.
522

Chong Yidong's avatar
Chong Yidong committed
523
2012-04-20  Chong Yidong  <cyd@gnu.org>
524 525 526 527

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

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

531 532 533
2012-04-20  Eli Zaretskii  <eliz@gnu.org>

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

537 538 539 540 541
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.

542 543 544 545 546
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.

547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604
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.

605 606 607 608 609
2012-04-19  Michael Albinus  <michael.albinus@gmx.de>

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

610 611 612 613 614 615 616
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.

617 618 619 620 621 622 623
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.

624 625 626 627 628
2012-04-18  Chong Yidong  <cyd@gnu.org>

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

629 630 631 632 633
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).

634 635 636 637 638 639 640 641 642 643 644
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
645
	buffer, not the last.  Reject temp buffers.  Use the rmail-mode
646 647
	buffer, not newbuf.

648 649 650 651
2012-04-17  Juanma Barranquero  <lekktu@gmail.com>

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

652
2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
653

654 655 656
	* emacs-lisp/smie.el: Provide smarter auto-filling.
	(smie-auto-fill): New function.
	(smie-setup): Use it.
657

658 659 660
	* newcomment.el (comment-choose-indent): Obey comment-inline-offset.

2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
661 662 663 664

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

665
2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
666 667 668 669

	* 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 .
670
	(ses-localvars): Add ses--renamed-cell-symb-list.
671
	(ses-create-cell-variable): New defun.
672
	(ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
673 674 675 676 677 678 679 680 681 682 683
	(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.

684 685 686 687 688 689
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.

690 691 692 693
2012-04-17  Glenn Morris  <rgm@gnu.org>

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

694 695 696 697 698
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)

699 700 701 702 703 704
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.

705 706 707 708
2012-04-16  Leo Liu  <sdl.web@gmail.com>

	* progmodes/python.el: Trivial cleanup.

709 710
2012-04-16  Glenn Morris  <rgm@gnu.org>

711 712 713 714 715 716 717 718
	* 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
719 720 721 722 723 724 725
	* 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.

726 727 728
	* emacs-lisp/eieio-opt.el (describe-class, describe-generic):
	Autoload trivia.

729 730 731
	* emacs-lisp/cl-extra.el (*random-state*):
	Remove unnecessary declaration.

732 733
	* calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.

734 735 736
	* play/cookie1.el (cookie-snarf):
	Give an explicit error if input file cannot be read.

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

739 740 741
	* progmodes/perl-mode.el (c-macro-expand):
	Remove unnecessary autoload (it is in loaddefs.el).

Glenn Morris's avatar
Glenn Morris committed
742 743 744 745 746
	* 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.

747 748 749 750
	* 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.

751 752
	* frame.el (automatic-hscrolling): Make this alias obsolete.

753 754 755
2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

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

761 762 763 764 765 766 767 768 769 770 771 772 773
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.

774 775 776 777 778 779
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.

780 781 782 783
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
784 785 786
2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>

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

789 790 791 792
2012-04-15  Glenn Morris  <rgm@gnu.org>

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

Chong Yidong's avatar
Chong Yidong committed
793
2012-04-15  Glenn Morris  <rgm@gnu.org>
794 795 796

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

797 798 799 800 801 802
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.

803 804 805 806 807
2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>

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

808 809 810
2012-04-14  Michal Nazarewicz  <mina86@mina86.com>

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

815 816 817 818
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
819 820 821 822 823 824
2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>

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

825 826 827 828 829 830 831
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)

832 833 834 835
2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>

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

836
2012-04-14  Kim F. Storm  <storm@cua.dk>
837 838 839 840

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

841
2012-04-14  Chong Yidong  <cyd@gnu.org>
842 843 844

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

845
2012-04-14  Glenn Morris  <rgm@gnu.org>
846 847 848

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

849
2012-04-14  Alan Mackenzie  <acm@muc.de>
850

851 852 853
	* 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.
854

855 856 857
	* progmodes/cc-engine.el (c-before-change-check-<>-operators):
	Correct two search limits.

858
2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
859 860 861

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

862
2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
863 864 865

	* international/characters.el: Fix sorting.

866
2012-04-14  Eli Zaretskii  <eliz@gnu.org>
Eli Zaretskii's avatar
Eli Zaretskii committed
867 868 869

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

870
2012-04-14  Glenn Morris  <rgm@gnu.org>
871 872 873

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

874
2012-04-14  Eli Zaretskii  <eliz@gnu.org>
875

876 877 878 879
	* international/characters.el: Add set-case-syntax-pair call for
	LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
	counterpart.  (Bug#11209)

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

882
2012-04-14  Glenn Morris  <rgm@gnu.org>
883 884 885

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

886
2012-04-14  Eli Zaretskii  <eliz@gnu.org>
887

888 889
	* textmodes/ispell.el (ispell-dictionary-base-alist):
	Add data for Hebrew.
890

891
2012-04-14  Chong Yidong  <cyd@gnu.org>
892

893 894
	* net/rcirc.el (rcirc-cmd-quit):
	Revert 2012-03-18 change (Bug#11192).
895

896
2012-04-14  Glenn Morris  <rgm@gnu.org>
897 898 899

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

900
2012-04-14  Eli Zaretskii  <eliz@gnu.org>
901

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

905 906 907 908
2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>

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

909 910 911 912 913 914
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).

915 916 917 918 919
2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>

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

920 921 922 923 924
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).

925 926 927 928
2012-04-13  Leo Liu  <sdl.web@gmail.com>

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

929 930 931
2012-04-13  Ken Brown  <kbrown@cornell.edu>

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

936 937 938 939 940
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
941 942 943 944
2012-04-12  Glenn Morris  <rgm@gnu.org>

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

945 946 947 948 949
2012-04-12  Drew Adams  <drew.adams@oracle.com>

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

950 951 952 953
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
954
	(hexl-rulerise, hexl-line-displen): New functions.
955
	(hexl-mode): Mention the new variable.
Juanma Barranquero's avatar
Juanma Barranquero committed
956 957
	(hexl-mode, hexl-current-address, hexl-current-address):
	Use the displen.
958 959 960 961
	(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).

962 963 964 965 966 967
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.

968 969 970 971 972 973 974
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.

975 976
2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>

977 978 979
	* imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
	Reported by Noah Friedman.

980 981
	* subr.el (read-passwd): Use read-string.

982 983 984 985 986
2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>

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

987 988 989 990 991
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).

992 993 994 995 996
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
997
2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
Wolfgang Jenkner's avatar
Wolfgang Jenkner committed
998

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

1003 1004 1005 1006 1007
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
1008 1009 1010 1011
2012-04-11  Glenn Morris  <rgm@gnu.org>

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

1012 1013 1014 1015
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
1016 1017 1018 1019
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
1020
	function.  Take care of that in `narrow-to-defun' (bug#6157).
Lennart Borgman's avatar
Lennart Borgman committed
1021

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

1024 1025 1026
	* vc/vc-bzr.el (vc-bzr-status): Handle all errors,
	not just file-errors.

Glenn Morris's avatar
Glenn Morris committed
1027 1028 1029
	* vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
	(vc-bzr-sha1): Use internal sha1.

1030 1031 1032 1033
2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1034 1035 1036 1037 1038
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).

1039 1040 1041 1042 1043 1044 1045
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).

1046 1047
2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1050 1051 1052 1053 1054
	* 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.

1055 1056 1057 1058 1059
	* 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.

1060 1061 1062
	* vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
	Use derived-mode-p.  Run the diff asynchronously.

1063 1064 1065 1066
2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>

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

1067 1068 1069 1070 1071 1072
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.

1073 1074
2012-04-10  Nathan Weizenbaum  <nweiz@google.com>

1075 1076
	* progmodes/python.el (python-fill-paragraph):
	Make python-fill-region in a multiline string work when font-lock is
1077 1078
	disabled (bug#7018).

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

1081
	* language/european.el (cp775): Add oem/legacy (en)coding on
Juanma Barranquero's avatar
Juanma Barranquero committed
1082 1083
	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
1084

1085 1086 1087 1088 1089
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.

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

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

1096 1097
2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>

1098 1099 1100 1101 1102
	* 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.

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

1105 1106 1107
	* simple.el (zap-to-char): Allow zapping using input methods
	(bug#1580).

1108 1109 1110
	* textmodes/fill.el (fill-region): Leave point and mark where they
	were before filling (bug#5399).

Glenn Morris's avatar
Glenn Morris committed
1111 1112 1113 1114 1115
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
1116 1117
2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>

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

1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131
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.

1132 1133
2012-04-09  Glenn Morris  <rgm@gnu.org>

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

1137 1138 1139 1140 1141
	* 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.

1142 1143 1144 1145 1146 1147 1148 1149
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.

1150 1151 1152 1153 1154
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
1155 1156 1157
2012-04-07  Glenn Morris  <rgm@gnu.org>

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

1162 1163
2012-04-07  Eli Zaretskii  <eliz@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1164 1165 1166 1167 1168 1169 1170
	* 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.
1171

1172 1173 1174 1175
2012-04-07  Eli Zaretskii  <eliz@gnu.org>

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

1176 1177 1178 1179 1180
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
1181 1182 1183 1184
2012-04-05  Bastien Guerry  <bzg@altern.org>

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

1185 1186 1187 1188 1189
2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1190 1191 1192 1193 1194
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).

1195 1196 1197 1198 1199 1200
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.

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

1203 1204
	* minibuffer.el (completion-extra-properties): Doc fix.

1205 1206
	* subr.el (delayed-warnings-hook): Doc fix.

1207 1208 1209 1210 1211 1212 1213
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.

1214 1215 1216 1217
2012-04-04  Richard Stallman  <rms@gnu.org>

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

1218 1219 1220 1221 1222
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.

1223 1224 1225 1226
2012-04-03  Michael Albinus  <michael.albinus@gmx.de>

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

1227 1228 1229 1230
2012-04-02  Glenn Morris  <rgm@gnu.org>

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

1231 1232 1233 1234 1235 1236
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>.

1237 1238 1239 1240 1241 1242 1243 1244 1245
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
1246 1247
2012-03-31  Glenn Morris  <rgm@gnu.org>

1248 1249
	* term/xterm.el (xterm-extra-capabilities): Doc fix.

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

1252 1253 1254 1255
	* 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
1256 1257
	* emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.

Thierry Volpiatto's avatar
Thierry Volpiatto committed
1258 1259 1260 1261 1262 1263 1264
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.