ChangeLog 491 KB
Newer Older
1 2
2012-05-09  Juanma Barranquero  <lekktu@gmail.com>

3 4 5
	* progmodes/idlw-shell.el (specs): Remove reference to deleted
	variable `idlwave-shell-activate-alt-keybindings' and simplify.

6 7
	* eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.

8 9 10 11
2012-05-08  Glenn Morris  <rgm@gnu.org>

	* files.el (auto-mode-alist): Treat ".make" like ".mk".

12 13
2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>

14 15 16 17 18 19 20
	* vc/log-edit.el: Add GNU coding standards highlighting.
	(log-edit-font-lock-gnu-style)
	(log-edit-font-lock-gnu-keywords): New vars.
	(log-edit-font-lock-keywords): New fun.
	(log-edit-mode): Don't fold case in font-lock.
	(log-edit-font-lock-keywords): Do not assume case-folding.

21 22 23 24 25 26 27 28
	* imenu.el: Misc cleanup.  Make docstrings out of comments.
	Use lexical-binding.
	(imenu--index-alist, imenu--last-menubar-index-alist)
	(imenu-menubar-modified-tick): Use defvar-local.
	(imenu--split-menu): Remove unused var.
	(imenu--cleanup-seen): Declare as global.
	(imenu--cleanup): Use dolist.

29 30
	* subr.el (defvar-local): Add debug spec and doc-string position.

31 32
2012-05-08  Glenn Morris  <rgm@gnu.org>

33 34 35 36 37 38 39 40
	* lisp/language/burmese.el, language/cham.el, language/czech.el:
	* language/english.el, language/georgian.el, language/greek.el:
	* language/japanese.el, language/khmer.el, language/korean.el:
	* language/lao.el, language/misc-lang.el, language/romanian.el:
	* language/sinhala.el, language/slovak.el, language/tai-viet.el:
	* language/thai.el, language/utf-8-lang.el:
	Remove no-byte-compile setting.

41 42
	* play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)

43 44 45 46 47
2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>

	* progmodes/make-mode.el (makefile-browse):
	Remove unnecessary interactive.  (Bug#11324)

48 49
2012-05-07  Glenn Morris  <rgm@gnu.org>

50 51
	* forms-d2.el, forms-pass.el: Move to ../etc/forms directory.

52 53
	* international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.

54 55
2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>

56 57 58
	* loadup.el: Preload newcomment.el.
	* newcomment.el: Move autoload-only code to toplevel.

59 60 61 62 63 64
	* buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
	* emacs-lisp/tabulated-list.el (tabulated-list-init-header):
	Handle new :right-align column property.
	(tabulated-list-print-col): Idem, plus use `display' text-property to
	try and preserve alignment for variable pitch fonts.

65 66 67 68 69 70 71 72 73 74 75 76 77
2012-05-07  Chong Yidong  <cyd@gnu.org>

	* emacs-lisp/tabulated-list.el: Add no-header-line alternative.
	(tabulated-list-use-header-line): New var.
	(tabulated-list-init-header): Use it.
	(tabulated-list-print-fake-header): New function.
	(tabulated-list-print): Use it.
	(tabulated-list-sort-button-map): Add non-header-line commands.
	(tabulated-list-init-header): Add column name property to basic
	labels as well.
	(tabulated-list-col-sort): Handle non-header-line button case.
	(tabulated-list--sort-by-column-name): Fix a corner case.

78 79
	* buff-menu.el (list-buffers--refresh):
	Handle Buffer-menu-use-header-line.
80

81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
2012-05-06  Chong Yidong  <cyd@gnu.org>

	* buff-menu.el: Convert to Tabulated List mode.
	(Buffer-menu-buffer+size-width): Make obsolete.
	(Buffer-menu-name-width, Buffer-menu-size-width): New variables.
	(Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
	(Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
	documentation into docstring of buffer-menu.
	(Buffer-menu-toggle-files-only): Add an informative message.
	(Buffer-menu-sort): Convert to alias for tabulated-list-sort.
	(Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
	(Buffer-menu-unmark, Buffer-menu-backup-unmark)
	(Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
	(Buffer-menu-execute, Buffer-menu-select)
	(Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
	(Buffer-menu-bury): Use Tabulated List machinery.
	(Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
	(Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
99
	Delete.
100 101 102 103 104 105 106 107 108 109 110 111
	(list-buffers--refresh): New function.
	(list-buffers-noselect): Use it.
	(tabulated-list-entry-size->, Buffer-menu--pretty-name)
	(Buffer-menu--pretty-file-name): New helper functions.

	* loadup.el: Preload tabulated-list.

	* emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
	tabulated-list-sort-column.
	(tabulated-list-init-header): Add the initial aligning space even
	if tabulated-list-padding is zero.

112 113 114 115 116
2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>

	* emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
	whose cdr is not a cons cell correctly (bug#11038).

117 118
2012-05-06  Chong Yidong  <cyd@gnu.org>

119 120
	* emacs-lisp/tabulated-list.el (tabulated-list-format):
	Accept additional plist in column descriptors.
121 122 123 124 125 126
	(tabulated-list-init-header): Obey it.
	(tabulated-list-get-entry): New function.
	(tabulated-list-put-tag): Use it.  Use string-width instead of
	length.
	(tabulated-list--column-number): New function.
	(tabulated-list-print): Use it.
127 128
	(tabulated-list-print-col): New function.
	Set `tabulated-list-column-name' property on each column's text.
129
	(tabulated-list-print-entry): Use it.
130 131
	(tabulated-list-delete-entry, tabulated-list-set-col):
	New functions.
132 133
	(tabulated-list-sort-column): New command (Bug#11337).

134 135 136 137 138 139
	* buff-menu.el (list-buffers): Move C-x C-b binding from
	buff-menu.el to bindings.el.

	* ebuff-menu.el (Electric-buffer-menu-undefined): Use the
	:advertised-binding feature.

140 141 142 143 144 145
2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)

	* progmodes/compile.el (compilation-internal-error-properties):
	Calculate start position correctly when end-col is set but
	end-line is not (Bug#11382).

146 147 148 149 150
2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>

	* man.el (Man-unindent): Use text-property-default-nonsticky to
	prevent untabify from inheriting face properties (Bug#11408).

151 152
2012-05-05  Glenn Morris  <rgm@gnu.org>

153 154 155 156 157 158 159 160 161 162
	* calendar/cal-html.el: Optionally include holidays in the output.
	Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
	(cal-html-holidays): New option.
	(cal-html-css-default): Add holiday entry.
	(holiday-in-range): Autoload it.
	(cal-html-htmlify-entry): Add optional class argument.
	(cal-html-htmlify-list): Add optional holidays argument.
	(cal-html-insert-agenda-days): Include holidays in the output.
	(cal-html-one-month): Maybe include holidays.

163 164 165 166 167
	* calendar/holidays.el (holiday-in-range):
	Move here from cal-tex-list-holidays.
	* calendar/cal-tex.el (cal-tex-list-holidays):
	Make it an obsolete alias for holiday-in-range.  Update all callers.

Glenn Morris's avatar
Glenn Morris committed
168
2012-05-05  Chong Yidong  <cyd@gnu.org>
169 170 171 172

	* select.el (xselect--encode-string): Always use utf-8 for TEXT on
	Nextstep.

173 174 175 176 177
2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)

	* files.el (file-auto-mode-skip): New var.
	(set-auto-mode-1): Use it.

178 179
2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>

180 181 182 183 184 185 186 187 188
	* repeat.el: Use lexical-binding.
	(repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
	(repeat-undo-count): Remove.
	(repeat):
	* progmodes/octave-mod.el (octave-abbrev-start):
	* progmodes/f90.el (f90-abbrev-start):
	* face-remap.el (text-scale-adjust):
	* kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.

189 190 191 192 193 194 195
	* emacs-lisp/pcase.el (pcase--let*): New function.
	(pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
	a bit more.
	(pcase--split-pred): Be more clever about ruling out overlap between
	a predicate and some constant pattern.
	(pcase--q1): Use `null' instead of (eq foo nil).

196 197 198 199 200
	* subr.el (setq-local, defvar-local): New macros.
	(kbd): Redefine as an alias.
	(with-selected-window): Leave unrelated frames alone.
	(set-temporary-overlay-map): New function.

201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245
2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (user-error): New function.
	* window.el (switch-to-buffer):
	* vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
	(smerge-match-conflict):
	* simple.el (previous-matching-history-element)
	(next-matching-history-element, goto-history-element, undo-more)
	(undo-start):
	* progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
	(find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
	(next-file, tags-loop-scan, list-tags, complete-tag):
	* progmodes/compile.el (compilation-loop):
	* mouse.el (mouse-minibuffer-check):
	* man.el (Man-bgproc-sentinel, Man-goto-page):
	* info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
	(Info-history-forward, Info-follow-reference, Info-menu)
	(Info-extract-menu-item, Info-extract-menu-counting)
	(Info-forward-node, Info-backward-node, Info-next-menu-item)
	(Info-last-menu-item, Info-next-preorder, Info-last-preorder)
	(Info-next-reference, Info-prev-reference, Info-index)
	(Info-index-next, Info-follow-nearest-node)
	(Info-copy-current-node-name):
	* imenu.el (imenu--make-index-alist)
	(imenu-default-create-index-function, imenu-add-to-menubar):
	* files.el (basic-save-buffer, recover-file):
	* emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
	* emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
	(checkdoc-message-text, checkdoc-defun):
	* dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
	* cus-edit.el (customize-changed-options, customize-rogue)
	(customize-saved, custom-variable-set, custom-variable-mark-to-save)
	(custom-variable-mark-to-reset-standard)
	(custom-variable-reset-backup, custom-face-mark-to-reset-standard)
	(custom-file):
	* completion.el (check-completion-length):
	* comint.el (comint-search-arg)
	(comint-previous-matching-input-string-position)
	(comint-previous-matching-input)
	(comint-replace-by-expanded-history-before-point, comint-send-input)
	(comint-copy-old-input, comint-backward-matching-input)
	(comint-goto-process-mark, comint-set-process-mark):
	* calendar/calendar.el (calendar-cursor-to-date): Use it.
	* bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.

246 247
2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>

248 249 250 251
	* dabbrev.el (dabbrev--ignore-case-p): New function.
	(dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
	Use it.

252 253
	* files.el (automount-dir-prefix): Mark as obsolete.

254 255 256 257
2012-05-04  Glenn Morris  <rgm@gnu.org>

	* patcomp.el, play/bruce.el: Move to obsolete/.

Paul Eggert's avatar
Paul Eggert committed
258 259 260 261 262 263 264 265 266 267 268 269
2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>

	Fix minor Y10k bugs.
	* arc-mode.el (archive-unixdate):
	* autoinsert.el (auto-insert-alist):
	* calc/calc-forms.el (math-this-year):
	* emacs-lisp/copyright.el (copyright-current-year)
	(copyright-update-year, copyright):
	* tar-mode.el (tar-clip-time-string):
	* time.el (display-time-update):
	Don't assume years have 4 digits.

270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297
2012-05-04  Chong Yidong  <cyd@gnu.org>

	* dos-w32.el (file-name-buffer-file-type-alist)
	(direct-print-region-use-command-dot-com):
	* ffap.el (ffap-menu-regexp):
	* find-file.el (ff-special-constructs):
	* follow.el (follow-debug):
	* forms.el (forms--debug):
	* iswitchb.el (iswitchb-all-frames):
	* ido.el (ido-all-frames):
	* emacs-lisp/timer.el (timer-max-repeats):
	* mail/feedmail.el (feedmail-mail-send-hook)
	(feedmail-mail-send-hook-queued):
	* mail/footnote.el (footnote-signature-separator):
	* mail/mailabbrev.el (mail-alias-separator-string)
	(mail-abbrev-mode-regexp):
	* mail/rmail.el (rmail-speedbar-match-folder-regexp):
	* progmodes/idlwave.el (idlwave-libinfo-file)
	(idlwave-default-completion-case-is-down)
	(idlwave-library-routines): Convert defvars to defcustoms.

	* mail/rmail.el (rmail-decode-mime-charset):
	* progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
	(idlwave-shell-fix-inserted-breaks)
	(idlwave-shell-activate-alt-keybindings)
	(idlwave-shell-use-breakpoint-glyph):
	* facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.

298 299 300 301
2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion--twq-all): Beware completion-ignore-case.

302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363
2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>

	* progmodes/verilog-mode.el (font-lock-keywords):
	Fix mis-highligting auto.  Reported by Craig Barner.
	(verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
	defines from global name space. Reported by Dan Dever.
	(verilog-auto-reset, verilog-auto-reset-widths)
	(verilog-auto-tieoff): Support using unbased numbers for
	AUTORESET and AUTOTIEOFF.
	(verilog-submit-bug-report): Update variable list.
	(verilog-read-auto-params): Fix AUTOINPUT regexps containing
	parenthesis from not matching. Reported by Michael Rytting.
	(verilog-auto-template-lint): Fix hash error when linting modules
	with no used templates.
	(verilog-warn, verilog-warn-error)
	(verilog-warn-fatal): When non-interactive report multiple
	warnings before exiting.  Suggested by Brad Dobbie.
	(verilog-auto-template-lint, verilog-auto-template-warn-unused)
	(verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
	to report unused template errors.  Reported by Brad Dobbie.
	(verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
	nets, bug438. Reported by Vns Blore.
	(verilog-auto-inout-module, verilog-auto-reg)
	(verilog-read-decls, verilog-read-sub-decls-sig)
	(verilog-signals-edit-wire-reg, verilog-signals-with):
	Fix passing of Verilog data types in ANSI input/output ports
	such as "output logic" into the AUTOs. Special case "wire" and
	"reg" for backwards compatibility presuming Verilog 2001.
	(verilog-auto-ascii-enum): Add "auto enum" as alias.
	(verilog-preprocess): Fix replication of preprocess output.
	Reported by Brad Dobbie.
	(verilog-auto-inst-interfaced-ports):
	Create verilog-auto-inst-interfaced-ports, bug429.
	Reported by Julian Gorfajn.
	(verilog-after-save-font-hook)
	(verilog-before-save-font-hook): New variable.
	(verilog-modi-cache-results, verilog-save-font-mod-hooked)
	(verilog-save-font-mods): Wrap disabling fontification, reported
	by David Rogoff.
	(verilog-do-indent, verilog-pretty-declarations-auto)
	(verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
	Reported by Pierre-David Pfister.
	(verilog-set-auto-endcomments): Fix endtask auto comments outside
	of class declarations, bug292.  Reported by Kevin Heilman.
	(verilog-read-decls): Fix 'parameter type' not appearing in
	AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
	(verilog-auto-logic): Fix when AUTOLOGIC present to properly do
	AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
	(verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
	Reported by David Kravitz.

2012-05-03  Michael McNamara  <mac@mail.brushroad.com>

	* progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
	assignment with tests in ifs and for loops.
	(verilog-extended-complete-re, verilog-complete-reg): Change so
	that DPI inport functions don't look like fuction declarations.
	(verilog-pretty-expr): Don't line up assignment
	operations to the test and increment in if and for loops
	(verilog-extended-complete-re, verilog-complete-reg): Change so
	that DPI inport functions don't look like fuction declarations

364 365 366 367 368 369
2012-05-03  Kenichi Handa  <handa@m17n.org>

	* mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
	decoding, and show a warning message without signalling an error
	(Bug#11282).

Stefan Monnier's avatar
Stefan Monnier committed
370 371 372 373 374 375 376 377
2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/bytecomp.el
	(byte-compile-file-form-custom-declare-variable): Compile all elements,
	since cconv.el might have introduced :fun-body, internal-make-closure,
	and friends for bytecomp to handle (bug#11391).
	* custom.el (defcustom): Avoid ((λ ..) ..).

378 379 380 381
2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (read-passwd): Better clean after ourselves (bug#11392).

382 383 384 385 386 387
2012-05-02  Juanma Barranquero  <lekktu@gmail.com>

	* notifications.el (dbus-debug):
	* term/linux.el (gpm-mouse-enable):
	* term/screen.el (xterm-register-default-colors): Declare.

388 389
2012-05-02  Chong Yidong  <cyd@gnu.org>

390 391 392 393 394 395
	* cus-start.el (gc-cons-percentage, exec-suffixes)
	(dos-display-scancodes, dos-hyper-key, dos-super-key)
	(dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
	(make-cursor-line-fully-visible, void-text-area-pointer)
	(font-list-limit): Add customization data.

396 397 398 399 400
	* allout.el (allout-exposure-change-functions)
	(allout-structure-added-functions)
	(allout-structure-deleted-functions)
	(allout-structure-shifted-functions): Rename abnormal hooks from
	*-hook, and convert to defcustoms.
Juanma Barranquero's avatar
Juanma Barranquero committed
401 402
	(allout-after-copy-or-kill-hook, allout-post-undo-hook):
	Convert to defcustoms.
403 404 405 406
	(allout-mode-hook, allout-mode-deactivate-hook): Doc fix.

	* allout-widgets.el: Hook callers changed.

407
2012-05-02  Eli Zaretskii  <eliz@gnu.org>
408 409 410 411 412

	* mail/rmail.el (rmail-yank-current-message): Use the encoding of
	the yanked message in preference to the default value of
	buffer-file-coding-system.

413
2012-05-02  Martin Rudalics  <rudalics@gmx.at>
414

Juanma Barranquero's avatar
Juanma Barranquero committed
415 416
	* window.el (display-buffer--action-function-custom-type):
	Fix entry.
417

418
2012-05-02  Alan Mackenzie  <acm@muc.de>
419 420 421

	* progmodes/cc-defs.el (c-version): Update to 5.32.3.

422 423
2012-05-01  Glenn Morris  <rgm@gnu.org>

424 425
	* cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.

426 427
	* eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.

428 429
	* cus-edit.el (custom-variable-documentation): Simplify with format.

430 431 432 433 434 435
2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
            Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (suggest-key-bindings, execute-extended-command):
	Move from keyboard.c.

436 437 438 439 440
2012-05-01  Chong Yidong  <cyd@gnu.org>

	* follow.el: Eliminate advice.
	(set-process-filter, process-filter, sit-for): Advice deleted.
	(follow-mode-off-hook): Obsolete hook removed.
441 442
	(follow-avoid-tail-recenter-p, follow-process-filter-alist):
	Vars deleted.
443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462
	(follow-auto): Use a :set function.
	(follow-mode): Rewritten.  Don't advise process filters.
	(follow-switch-to-current-buffer-all, follow-scroll-up)
	(follow-scroll-down): Assume follow-mode is bound.
	(follow-comint-scroll-to-bottom)
	(follow-align-compilation-windows): New functions.
	(follow--window-sorter): New function.
	(follow-all-followers): Use it to explicitly sort windows by their
	positions; don't make assumptions about next-window order.
	(follow-windows-start-end, follow-delete-other-windows-and-split)
	(follow-calc-win-start): Doc fix.
	(follow-windows-aligned-p, follow-select-if-visible): Don't call
	vertical-motion unnecessarily.
	(follow-adjust-window): New function.
	(follow-post-command-hook): Use it.
	(follow-call-set-process-filter, follow-call-process-filter)
	(follow-intercept-process-output, follow-tidy-process-filter-alist)
	(follow-stop-intercept-process-output, follow-generic-filter):
	Functions deleted.
	(follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
463 464
	(follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
	New functions, replacing advice on scroll-bar-* commands.
465
	(follow-mwheel-scroll): New function (Bug#4112).
466 467

	* comint.el (comint-adjust-point): New function.
468 469
	(comint-postoutput-scroll-to-bottom): Use it.
	Call follow-comint-scroll-to-bottom for Follow mode buffers.
470

471 472 473 474 475 476 477 478 479
2012-05-01  Glenn Morris  <rgm@gnu.org>

	* term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
	* term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
	* term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
	* term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
	* term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
	Remove no-byte-compile setting.

480 481 482 483 484
2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion-table-with-quoting): Fix compatibility
	all-completions code to not return a number in the last cdr.

485 486 487 488 489
2012-04-30  Leo Liu  <sdl.web@gmail.com>

	* ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
	read-only error.

490 491 492 493 494 495
2012-04-29  Chong Yidong  <cyd@gnu.org>

	* follow.el (follow-calc-win-end): Rewrite to handle partial
	screen lines correctly (Bug#8390).
	(follow-avoid-tail-recenter): Minor cleanup.

496 497 498 499 500 501 502 503 504 505 506 507 508 509
2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	Avoid the obsolete `assoc' package.
	* speedbar.el (speedbar-refresh): Avoid adelete.
	(speedbar-file-lists): Simplify and avoid aput.
	* man.el (Man--sections, Man--refpages): New vars, replacing
	Man-sections-alist and Man-refpages-alist.
	(Man-build-section-alist, Man-build-references-alist):
	Use them; avoid aput.
	(Man--last-section, Man--last-refpage): New vars.
	(Man-follow-manual-reference): Use them.
	Use the `default' arg of completing-read.
	(Man-goto-section): Idem.  Move prompt to the `interactive' spec.

510 511
2012-04-27  Chong Yidong  <cyd@gnu.org>

512 513
	* vc/diff.el (diff-sentinel): Go to bob (Bug#10259).

514 515 516 517 518 519 520 521
	* 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).

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

525
2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
Andreas Schwab's avatar
Andreas Schwab committed
526 527 528 529

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

530
2012-04-27  Chong Yidong  <cyd@gnu.org>
531 532 533 534 535 536 537 538

	* 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).

539
2012-04-27  Chong Yidong  <cyd@gnu.org>
540 541 542

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

543
2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
544 545 546 547

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

548
2012-04-27  Chong Yidong  <cyd@gnu.org>
549 550 551 552

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

553
2012-04-27  Eli Zaretskii  <eliz@gnu.org>
554 555 556 557 558 559 560 561 562

	* 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)

563
2012-04-27  Martin Rudalics  <rudalics@gmx.at>
564 565 566 567 568 569

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

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

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

575 576 577 578
2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>

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

579 580
2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>

581
	* emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
582 583 584 585 586 587 588 589 590 591 592

	* 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
593 594
2012-04-26  Chong Yidong  <cyd@gnu.org>

595 596 597
	* image.el (image-type-from-buffer): Only return supported image
	type (Bug#9045).

Chong Yidong's avatar
Chong Yidong committed
598 599 600 601 602 603 604 605 606
	* 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
607 608 609 610 611 612 613 614 615 616 617 618 619 620
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 ((λ ...) ...).

621 622
2012-04-26  Chong Yidong  <cyd@gnu.org>

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

626 627 628 629 630 631 632
	* 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.

633 634
2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>

635 636 637
	* ffap.el: Remove old code for obsolete package.
	(ffap-complete-as-file-p): Remove.

638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658
	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.

659 660 661 662 663
	* 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.

664 665 666 667 668 669
	* 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.

670 671
2012-04-25  Leo Liu  <sdl.web@gmail.com>

672 673
	* progmodes/python.el (python-pdbtrack-get-source-buffer):
	Use compilation-message if available to find real filename.
674

675 676 677 678 679 680 681 682 683
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).

684 685
2012-04-25  Leo Liu  <sdl.web@gmail.com>

686 687 688
	* progmodes/python.el (python-send-region): Add suffix .py to the
	temp file.

689 690
	* files.el (auto-mode-alist): Use javascript-mode instead.

691 692
2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>

693
	Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
694 695

	* soap-client.el (soap-resolve-references-for-sequence-type)
696
	(soap-resolve-references-for-array-type): Hack to prevent self
697
	references, see Bug#9.
698
	(soap-parse-envelope): Report the contents of the 'detail' node
699
	when receiving a fault reply.
700
	(soap-parse-envelope): Report the contents of the entire 'detail' node.
701 702

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

705
	* soap-client.el (soap-simple-type): New struct.
706
	(soap-default-xsd-types, soap-default-soapenc-types)
707 708
	(soap-decode-basic-type, soap-encode-basic-type):
	support unsignedInt and double basic types.
709
	(soap-resolve-references-for-simple-type)
710 711
	(soap-parse-simple-type, soap-encode-simple-type): New function.
	(soap-parse-schema): Parse xsd:simpleType declarations.
712 713

	* soap-client.el (soap-default-xsd-types)
714 715 716 717
	(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
718 719
	decoding integer, byte and anyURI xsd types.

720 721 722 723
2012-04-25  Chong Yidong  <cyd@gnu.org>

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

724 725 726 727 728 729
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.

730 731 732 733 734 735 736
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.

737 738
2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>

739 740 741 742 743
	* 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.

744 745 746 747 748 749 750 751
	* 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.

752 753
2012-04-24  Michael Albinus  <michael.albinus@gmx.de>

754 755
	* notifications.el (top): Remove unneeded declarations.
	(notifications-specification-version): Change to "1.2".
756
	(notifications-interface, notifications-notify-method)
757 758
	(notifications-close-notification-method): Fix docstring.
	(notifications-get-capabilities-method): New defconst.
759 760 761
	(notifications-notify): Add :action-items, :resident and
	:transient hints.  Change "image_data" to "image-data" and
	"image_path" to "image-path".
762 763
	(notifications-get-capabilities): New defun.

764 765 766 767
2012-04-24  Leo Liu  <sdl.web@gmail.com>

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

768 769 770 771 772
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).

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

782 783 784 785 786 787
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'.

788 789 790 791
2012-04-23  Andreas Politz  <politza@fh-trier.de>

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

792 793 794 795 796 797 798 799 800 801
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.
802
	Fix word list splitting (Bug#11132).
Chong Yidong's avatar
Chong Yidong committed
803 804 805 806 807 808 809 810
	(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.
811

812 813 814 815 816
2012-04-23  Michael Albinus  <michael.albinus@gmx.de>

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

817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832
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.

833 834 835 836
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'.
837 838
	(ispell-word, ispell-process-line, ispell-complete-word):
	Use plain `insert' instead of removed `ispell-insert-word'.
839

840 841 842 843 844 845 846 847
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.

848 849 850
	* faces.el (face-spec-set): Stop supporting deprecated form of
	third arg.

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

856 857
	* net/dbus.el (dbus-message-internal): Declare function.
	Remove unneeded function declarations.
858 859 860 861 862 863 864 865 866 867 868 869 870 871 872
	(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)
873 874
	(dbus-get-all-managed-objects, dbus-managed-objects-handler):
	New defuns.
875 876 877 878 879 880 881 882 883
	(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'.

884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916
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.

917 918 919 920 921 922
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 (.

923 924 925 926 927 928
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>.

929 930
2012-04-21  Leo Liu  <sdl.web@gmail.com>

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

933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949
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 ?\ .

950 951 952 953
2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>

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

954 955 956 957 958
2012-04-20  Leo Liu  <sdl.web@gmail.com>

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

959 960 961 962 963 964
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.
965 966
	(server-process-filter): Only try to open a window system frame if
	compiled with graphical support (Bug#8314).
967

Dan Nicolaescu's avatar
Dan Nicolaescu committed
968 969 970 971 972 973
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.

974 975
2012-04-20  Chong Yidong  <cyd@gnu.org>

Chong Yidong's avatar
Chong Yidong committed
976
	* progmodes/gdb-mi.el (gdb): Revert previous change.
977 978 979 980 981 982 983 984 985
	(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.

986 987 988 989 990 991 992 993 994
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)
995
	(enlarge-window, shrink-window): Doc fixes.
996

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

999 1000
	* progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
	New function to call delete-process on the gdb-inferior buffer's pty.
1001 1002 1003 1004 1005 1006 1007 1008 1009 1010
	(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.

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

Chong Yidong's avatar
Chong Yidong committed
1013
2012-04-20  Glenn Morris  <rgm@gnu.org>
1014 1015 1016

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

Chong Yidong's avatar
Chong Yidong committed
1017
2012-04-20  Chong Yidong  <cyd@gnu.org>
1018 1019 1020

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

Chong Yidong's avatar
Chong Yidong committed
1021
2012-04-20  Alan Mackenzie  <acm@muc.de>
1022 1023 1024 1025 1026 1027 1028

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

1031 1032
	* progmodes/cc-mode.el (c-font-lock-fontify-region):
	Bind case-fold-search to nil.
1033

Chong Yidong's avatar
Chong Yidong committed
1034
2012-04-20  Chong Yidong  <cyd@gnu.org>
1035 1036 1037 1038

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

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

1042 1043 1044
2012-04-20  Eli Zaretskii  <eliz@gnu.org>

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

1048 1049 1050 1051 1052
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.

1053 1054 1055 1056 1057
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.

1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115
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.

1116 1117 1118 1119 1120
2012-04-19  Michael Albinus  <michael.albinus@gmx.de>

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

1121 1122 1123 1124 1125 1126 1127
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.

1128 1129 1130 1131 1132 1133 1134
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.

1135 1136 1137 1138 1139
2012-04-18  Chong Yidong  <cyd@gnu.org>

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

1140 1141 1142 1143 1144
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).

1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155
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
1156
	buffer, not the last.  Reject temp buffers.  Use the rmail-mode
1157 1158
	buffer, not newbuf.

1159 1160 1161 1162
2012-04-17  Juanma Barranquero  <lekktu@gmail.com>

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

1163
2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1164

1165 1166 1167
	* emacs-lisp/smie.el: Provide smarter auto-filling.
	(smie-auto-fill): New function.
	(smie-setup): Use it.
1168

1169 1170 1171
	* newcomment.el (comment-choose-indent): Obey comment-inline-offset.

2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
1172 1173 1174 1175

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

1176
2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1177 1178 1179 1180

	* 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 .
1181
	(ses-localvars): Add ses--renamed-cell-symb-list.
1182
	(ses-create-cell-variable): New defun.
1183
	(ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194
	(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.

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

1201 1202 1203 1204
2012-04-17  Glenn Morris  <rgm@gnu.org>

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

1205 1206 1207 1208 1209
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)

1210 1211 1212 1213 1214 1215
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.

1216 1217 1218 1219
2012-04-16  Leo Liu  <sdl.web@gmail.com>

	* progmodes/python.el: Trivial cleanup.

1220 1221
2012-04-16  Glenn Morris  <rgm@gnu.org>

1222 1223 1224 1225 1226 1227 1228 1229
	* 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
1230 1231 1232 1233 1234 1235 1236
	* 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.

1237 1238 1239
	* emacs-lisp/eieio-opt.el (describe-class, describe-generic):
	Autoload trivia.

1240 1241 1242
	* emacs-lisp/cl-extra.el (*random-state*):
	Remove unnecessary declaration.

1243 1244
	* calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.

1245 1246 1247
	* play/cookie1.el (cookie-snarf):
	Give an explicit error if input file cannot be read.

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

1250 1251 1252
	* progmodes/perl-mode.el (c-macro-expand):
	Remove unnecessary autoload (it is in loaddefs.el).

Glenn Morris's avatar
Glenn Morris committed
1253 1254 1255 1256 1257
	* 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.

1258 1259 1260 1261
	* 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.

1262 1263
	* frame.el (automatic-hscrolling): Make this alias obsolete.

1264 1265 1266
2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

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

1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284
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.

1285 1286 1287 1288 1289 1290
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.

1291 1292 1293 1294
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
1295 1296 1297
2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1300 1301 1302 1303
2012-04-15  Glenn Morris  <rgm@gnu.org>

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

Chong Yidong's avatar
Chong Yidong committed
1304
2012-04-15  Glenn Morris  <rgm@gnu.org>
1305 1306 1307

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

1308 1309 1310 1311 1312 1313
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.

1314 1315 1316 1317 1318
2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>

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

1319 1320 1321
2012-04-14  Michal Nazarewicz  <mina86@mina86.com>

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

1326 1327 1328 1329
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
1330 1331 1332 1333 1334 1335
2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>

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

1336 1337 1338 1339 1340 1341 1342
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)

1343 1344 1345 1346
2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>

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

1347
2012-04-14  Kim F. Storm  <storm@cua.dk>
1348 1349 1350 1351

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

1352
2012-04-14  Chong Yidong  <cyd@gnu.org>
1353 1354 1355

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

1356
2012-04-14  Glenn Morris  <rgm@gnu.org>
1357 1358 1359

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

1360
2012-04-14  Alan Mackenzie  <acm@muc.de>
1361

1362 1363 1364
	* 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.
1365

1366 1367 1368
	* progmodes/cc-engine.el (c-before-change-check-<>-operators):
	Correct two search limits.

1369
2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1370 1371 1372

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

1373
2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
1374 1375 1376

	* international/characters.el: Fix sorting.

1377
2012-04-14  Eli Zaretskii  <eliz@gnu.org>
Eli Zaretskii's avatar
Eli Zaretskii committed
1378 1379 1380

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

1381
2012-04-14  Glenn Morris  <rgm@gnu.org>