ChangeLog 857 KB
Newer Older
1
2013-01-19  Leo Liu  <sdl.web@gmail.com>
2 3 4 5

	* dired.el (dired-get-marked-files): Prune erroneous values due to
	last change.  (Bug#13152)

6
2013-01-19  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
7 8 9 10

	* progmodes/etags.el (tags-table-check-computed-list):
	Preserve point in tags buffer.  (Bug#13412)

11 12
	* emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.

13 14 15 16 17 18 19 20
2013-01-19  Christian Wittern  <cwittern@gmail.com>  (tiny change)
	    Chong Yidong  <cyd@gnu.org>

	* image-mode.el (image-next-file, image-previous-file): New
	commands (Bug#8453).
	(image-mode-map): Bind them to n and p.
	(image-mode--images-in-directory): New helper function.

21 22 23 24 25 26
2013-01-19  Chong Yidong  <cyd@gnu.org>

	* image-mode.el (image-mode-fit-frame): Add a frame argument.
	Suggested by Drew Adams (Bug#7730).  Handle window decorations;
	save and restore the old window configuration.

27 28 29 30
2013-01-18  Leo Liu  <sdl.web@gmail.com>

	* progmodes/js.el: Tweak autoload cookie for alias.

31 32 33 34 35
2013-01-17  Michael Albinus  <michael.albinus@gmx.de>

	* autorevert.el (auto-revert-notify-watch-descriptor): Make it
	buffer local, again.  This was lost with the fix on 2013-01-12.

36 37 38 39 40
2013-01-17  Jürgen Hötzel  <juergen@archlinux.org>

	* eshell/esh-util.el (eshell-path-env): Make it buffer local, in
	order to support several eshell buffers in parallel.

41 42 43 44 45 46 47 48 49 50
2013-01-17  Michael Albinus  <michael.albinus@gmx.de>

	* autorevert.el (auto-revert-use-notify): In the :set function, do
	not modify `kill-buffer-hook'.
	(auto-revert-notify-rm-watch): Remove
	`auto-revert-notify-rm-watch' from `kill-buffer-hook'.
	(auto-revert-notify-add-watch): Do not call
	`auto-revert-notify-rm-watch', but add it to a buffer local
	`kill-buffer-hook'.

51 52 53 54 55
2013-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
	call to `eval' rather than a backquoted lambda.

56 57
2013-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>

58 59 60 61 62 63 64
	* emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
	to return an explicit nil.
	(advice--remove-function): Change accordingly.

	* emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
	the use of nadvice.el.

65 66 67
	* progmodes/which-func.el (which-function): Silence imenu errors
	(bug#13433).

68 69
2013-01-15  Michael R. Mauger  <mmaug@yahoo.com>

70
	* progmodes/sql.el: (sql-imenu-generic-expression):
71 72 73 74 75
	(sql-mode-font-lock-object-name): Match schema qualified names.
	(sql-connect): Use string keys.
	(sql-product-interactive): Wait for interpreter prompt.
	(sql-comint-oracle): Set process coding based on NLS_LANG.

76 77 78
2013-01-15  Michael R. Mauger  <mmaug@yahoo.com>

	* progmodes/sql.el (sql-output-to-send): Remove, unused.
79 80
	(sql-interactive-remove-continuation-prompt):
	(sql-send-magic-terminator, sql-interactive-mode): Remove references.
81

82 83 84 85 86
2013-01-14  Leo Liu  <sdl.web@gmail.com>

	* calendar/calendar.el (calendar-redraw): Sync window-point and point.
	(Bug#13420)

87 88 89 90 91
2013-01-14  Glenn Morris  <rgm@gnu.org>

	* progmodes/compile.el (compilation-error-regexp-alist-alist):
	Fix interpretation of gnu line.col1-col2 format.  (Bug#13335)

92
2013-01-13  Fabián Ezequiel Gallina  <fgallina@cuca>
93

94 95
	* progmodes/python.el (python-nav-end-of-statement):
	Fix cornercase when handling multiline strings.
96

97 98
2013-01-13  Richard Stallman  <rms@gnu.org>

Richard M. Stallman's avatar
Richard M. Stallman committed
99 100
	* mail/sendmail.el (mail-position-on-field): Add doc string.

101 102
	* mail/rmailmm.el (rmail-insert-mime-forwarded-message):
	Get current message boundaries and pass them to
103 104
	message-forward-make-body-mime.  Minor style changes.

105 106 107
2013-01-13  Eli Zaretskii  <eliz@gnu.org>

	* cus-start.el (all): Avoid warnings about
108
	scroll-bar-adjust-thumb-portion on platforms where it is not defined.
109

110 111 112 113
2013-01-11  Jan Djärv  <jan.h.d@swipnet.se>

	* cus-start.el (all): Add scroll-bar-adjust-thumb-portion.

114 115 116 117 118 119 120 121 122 123
2013-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* jit-lock.el (jit-lock-debug-mode): New minor mode.
	(jit-lock--debug-fontifying): New var.
	(jit-lock--debug-fontify): New function.
	* subr.el (condition-case-unless-debug): Don't prevent catching the
	error, just let the debbugger run.
	* emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
	timer code and don't drop errors silently.

124 125 126 127
2013-01-12  Michael Albinus  <michael.albinus@gmx.de>

	* autorevert.el (auto-revert-notify-watch-descriptor): Give it
	`permanent-local' property.
128
	(auto-revert-notify-handler): Use `file-equal-p'.
129

130 131 132 133 134 135
2013-01-12  Eli Zaretskii  <eliz@gnu.org>

	* autorevert.el (auto-revert-notify-handler): Fix filtering of
	file notification by ACTION. For filtering by file name, compare
	only the non-directory part of the file name.

136 137
2013-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>

138 139
	* autorevert.el: Use cl-lib instead of cl.

140 141 142 143 144
	* vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
	(vc-bzr-checkin): Use it.
	* vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
	will preserve match-data.

145
2013-01-11  Felix H. Dahlke  <fhd@ubercode.de>
146

147 148 149 150
	* progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
	(js--declaration-keyword-re): New var.
	(js--multi-line-declaration-indentation): New function.
	(js--proper-indentation): Use it.
151

152
2013-01-11  Aaron S. Hawley  <Aaron.Hawley@vtinfo.com>
153

154 155 156 157
	* calc/calc.el (calc-highlight-selections-with-faces)
	 (calc-dispatch):
	* comint.el (comint-history-isearch-message):
	* emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
158 159 160
	* ffap.el (ffap-string-at-point-region, ffap-next)
	(ffap-string-at-point, ffap-string-around)
	(ffap-copy-string-as-kill, ffap-highlight-overlay)
161
	(ffap-literally):
162
	* font-lock.el (font-lock-keywords-alist)
163 164 165 166 167 168 169
	(font-lock-removed-keywords-alist):
	* help-mode.el (help-xref-symbol-regexp):
	* info.el (Info-find-emacs-command-nodes):
	* international/mule.el (add-to-coding-system-list):
	* isearch.el (isearch-message-function, isearch-fail-pos):
	* misearch.el (multi-isearch-next-buffer-function):
	* newcomment.el (comment-box):
170
	* printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
171
	(pr-setting-database):
172 173 174
	* progmodes/cc-fonts.el (c-font-lock-keywords-3)
	(c++-font-lock-keywords-3, objc-font-lock-keywords-3)
	(java-font-lock-keywords-3, idl-font-lock-keywords-3)
175 176
	(pike-font-lock-keywords-3):
	* progmodes/compile.el (compile):
177
	* progmodes/etags.el (tags-table-files)
178
	(tags-table-files-function, tags-included-tables-function):
179
	* progmodes/gdb-mi.el (gdb, gdb-setup-windows)
180
	(gdb-restore-windows):
181
	* ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
182 183
	(ps-n-up-filling-database):
	* server.el (server-buffer, server-log):
184 185
	* simple.el (newline, delete-backward-char, delete-forward-char)
	(minibuffer-history-isearch-message, kill-line, track-eol)
186
	(temporary-goal-column):
187
	* textmodes/flyspell.el (flyspell-mark-duplications-flag)
188 189 190
	(flyspell-default-deplacement-commands):
	* textmodes/ispell.el (ispell-accept-output):
	* textmodes/sgml-mode.el (html-tag-help):
191
	* vc/compare-w.el (compare-ignore-whitespace)
192 193
	(compare-ignore-case, compare-windows-dehighlight):
	* vc/diff.el (diff):
194 195
	* whitespace.el (whitespace-point)
	(whitespace-font-lock-refontify, whitespace-bob-marker)
196
	(whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
197

198 199 200 201 202
2013-01-11  Michael Albinus  <michael.albinus@gmx.de>

	* autorevert.el (top): Require 'cl in order to pacify byte compiler.
	(auto-revert-notify-rm-watch): Ignore errors.
	(auto-revert-notify-add-watch): Ignore errors.  Use '(modify) for
203 204
	inotify, and '(size last-write-time) for w32notify.
	Set buffer-local `auto-revert-use-notify' to nil when adding a file
205 206 207 208 209 210 211 212
	watch fails - this is a fallback to the file modification check.
	(auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
	(auto-revert-notify-event-action)
	(auto-revert-notify-event-file-name): New defuns.
	(auto-revert-notify-handler): Use them.  Implement first
	plausibility checks.
	(auto-revert-handler): Handle also `auto-revert-tail-mode'.

213 214 215 216 217 218
2013-01-11  Julien Danjou  <julien@danjou.info>

	* color.el (color-rgb-to-hsv): Fix conversion computing in case min and
	max are almost equal. Also return the correct value for V which is
	already between 0 and 1.

219 220 221 222
2013-01-11  Dmitry Antipov  <dmantipov@yandex.ru>

	* emacs-lisp/ert.el (ert-run-test): Use point-max-marker.

223 224 225 226 227 228
2013-01-11  Eli Zaretskii  <eliz@gnu.org>

	* autorevert.el (auto-revert-notify-rm-watch)
	(auto-revert-notify-add-watch): Fix typos in w32notify function
	names.

229 230 231 232 233 234 235 236 237
2013-01-10  Michael Albinus  <michael.albinus@gmx.de>

	* autorevert.el (auto-revert-notify-enabled): Move up.
	(auto-revert-use-notify): New defcustom.
	(auto-revert-mode, global-auto-revert-mode)
	(auto-revert-notify-add-watch, auto-revert-handler)
	(auto-revert-buffers): Use `auto-revert-use-notify' instead of
	`auto-revert-notify-enabled'.

238 239 240 241 242 243 244
2013-01-10  Elias Pipping  <pipping@exherbo.org>

	* files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
	* doc-view.el (doc-view-document->bitmap):
	Use doc-view-single-page-converter-function instead of
	single-page-converter arg; adjust callers.

245 246 247 248 249
2013-01-10  Feng Li  <fengli@gmail.com>  (tiny change)

	* progmodes/which-func.el (which-function): Understand Semantic's use
	of overlays in imenu--index-alist.

250 251 252 253 254 255 256 257
2013-01-10  Wolfgang Jenkner  <wjenkner@inode.at>

	* man.el: Handle different "man -k" behaviors (bug#13160).  Use utf-8.
	(Man-man-k-use-anchor): New var.
	(Man-parse-man-k): New function.
	(Man-completion-table): Use it.
	(man): Flush the completion cache between uses.

258 259 260 261 262 263 264 265 266 267 268 269 270 271
2013-01-10  Michael Albinus  <michael.albinus@gmx.de>

	* autorevert.el: Add file watch support.
	(auto-revert-notify-enabled): New defconst.
	(auto-revert-notify-watch-descriptor-hash-list)
	(auto-revert-notify-watch-descriptor)
	(auto-revert-notify-modified-p): New defvars.
	(auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
	(auto-revert-notify-handler): New defuns.
	(auto-revert-mode, global-auto-revert-mode): Remove file watches
	when mode is disabled.
	(auto-revert-handler): Check for `auto-revert-notify-modified-p'.
	(auto-revert-buffers): Add file watches for active buffers.

272 273 274 275 276 277
2013-01-10  Dmitry Antipov  <dmantipov@yandex.ru>

	* cus-start.el (toplevel): Only allow float values for
	scroll-up-aggressively and scroll-down-aggressively.
	Allow any number for line-spacing.

278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299
2013-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
	(doc-view-pdf->png-converter-function): Use mupdf if available.
	(doc-view-djvu->png-converter-function)
	(doc-view-ps->png-converter-function): Remove.
	(doc-view--image-file-pattern): Replace doc-view--image-file-extension.
	(doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
	(doc-view-already-converted-p): Adjust accordingly.
	(doc-view-mode-p): Simplify.
	(doc-view-enlarge): Use setq-local.
	(doc-view-pdf->png-converter-ghostscript)
	(doc-view-djvu->png-converter-ddjvu)
	(doc-view-pdf->png-converter-mupdf): Rework to call
	doc-view-start-process directly.
	(doc-view-pdf/ps->png): Simplify accordingly.
	(doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
	(doc-view-document->bitmap): Rename from doc-view-document->png.
	(doc-view-convert-current-doc): Merge pdf and djvu cases.
	(doc-view-set-slice-from-bounding-box): Fix completion table.
	(doc-view-mode): Use add-hook for after-revert-hook.

Glenn Morris's avatar
Glenn Morris committed
300 301 302 303 304 305
2013-01-10  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/authors.el (authors-ignored-files)
	(authors-valid-file-names, authors-renamed-files-alist):
	Add some more entries.

Stefan Monnier's avatar
Stefan Monnier committed
306
2013-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
307 308 309 310

	* image-mode.el (image-mode-winprops): Don't throw away the fallback
	`t' pseudo-window entry.

Stefan Monnier's avatar
Stefan Monnier committed
311
2013-01-10  Alan Mackenzie  <acm@muc.de>
312 313 314 315 316 317 318 319 320 321 322 323 324

	Fix bugs in the c-parse-state mechanism.  Reuse some markers
	instead of continually generating new ones.

	* progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
	(c-state-old-cpp-end-marker): New variables.
	(c-append-lower-brace-pair-to-state-cache): Start a backward
	search for "}" definitively outside CPP constructs.
	(c-remove-stale-state-cache): Inform the caller of a need to
	search back for a brace pair in certain circumstances.
	(c-state-maybe-marker): New macro.
	(c-parse-state): Reuse markers when appropriate.

Stefan Monnier's avatar
Stefan Monnier committed
325
2013-01-10  Glenn Morris  <rgm@gnu.org>
326 327 328 329

	* simple.el (execute-extended-command): Doc fix.
	Bind prefix-arg around read-extended-command, for prompt.  (Bug#13395)

Stefan Monnier's avatar
Stefan Monnier committed
330
2013-01-10  Chong Yidong  <cyd@gnu.org>
331 332 333

	* faces.el (read-face-name): Doc fix.

334 335 336 337 338 339 340 341
2013-01-10  Roland Winkler  <winkler@gnu.org>

	* emacs-lisp/crm.el: Allow any regexp for separators.
	(crm-default-separator): All spaces around the default comma separator.
	(crm--completion-command): New macro.
	(crm-completion-help, crm-complete, crm-complete-word): Use it.
	(crm-complete-and-exit): Handle non-single-char separators.

342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359
2013-01-09  Elias Pipping  <pipping@lavabit.com>

	* doc-view.el: Add support for DjVu (bug#13164).
	(doc-view-djvu->png-converter-function): New config var.
	(doc-view-single-page-converter-function, doc-view--image-type)
	(doc-view--image-file-extension): New vars.
	(doc-view-mode): Initialize them.
	(doc-view-goto-page): Use them.
	(doc-view-mode-p): Add support for ddjvu.
	(doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
	(doc-view-set-up-single-converter): New funs.
	(doc-view-pdf/ps->png): Extend for djvu.
	(doc-view-document->png): Rename from doc-view-pdf->png.
	(doc-view-convert-current-doc): Handle djvu.
	(doc-view-insert-image, doc-view-display)
	(doc-view-already-converted-p): Don't hardcode png.
	(doc-view-set-doc-type): Recognize djvu docs.

360 361 362 363 364 365 366 367 368 369
2013-01-09  Elias Pipping  <pipping@lavabit.com>

	* doc-view.el: Add support for mupdf converter (bug#13164).
	(doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
	(doc-view-ps->png-converter-function): New config vars.
	(doc-view-pdf->png-converter-ghostscript)
	(doc-view-ps->png-converter-ghostscript)
	(doc-view-pdf->png-converter-mupdf): New functions.
	(doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.

370 371 372 373 374 375 376
2013-01-09  Jürgen Hötzel  <juergen@archlinux.org>

	* net/tramp.el (tramp-eshell-directory-change): Check remote-path
	first in session cache: When `tramp-own-remote-path' is in
	`tramp-remote-path', the remote path is only set in the session
	cache.

377 378
2013-01-09  Glenn Morris  <rgm@gnu.org>

379 380
	* emacs-lisp/trace.el (trace-function-foreground)
	(trace-function-background): Doc fix.
381

382 383 384 385 386 387 388 389 390
2013-01-09  Juri Linkov  <juri@jurta.org>

	* international/mule-cmds.el (read-char-by-name): Move let-binding
	of completion-ignore-case around completing-read to fix regression
	exhibited by the test case `C-x 8 RET *acc TAB' and caused by
	`string-match-p' using the nil value of `case-fold-search' and
	`completion-ignore-case' in `completion-pcm--all-completions'.
	(Bug#12615).

391
2013-01-09  Glenn Morris  <rgm@gnu.org>
392 393 394 395

	* progmodes/compile.el (compilation-parse-errors):
	Fix typo.  (Bug#13369)

396
2013-01-09  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
Vitalie Spinu's avatar
Vitalie Spinu committed
397 398 399 400

	* comint.el (comint-send-input): Check size of buffer before
	waiting for process output, in case already accepted.  (Bug#13290)

Paul Eggert's avatar
Paul Eggert committed
401 402 403 404 405 406
2013-01-09  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling fixes.
	* net/tramp-adb.el (tramp-adb-get-toolbox):
	Fix misspelling of 'unknown'.

407 408 409 410 411 412
2013-01-08  Juri Linkov  <juri@jurta.org>

	* textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
	* progmodes/flymake.el (flymake-errline, flymake-warnline):
	Use underline style wave on terminals that support it.  (Bug#13000)

413 414
2013-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>

415 416 417
	* emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
	the predicate returns nil.

418 419 420 421
	* simple.el: Use lexical-binding.
	(primitive-undo): Use pcase.
	(minibuffer-history-isearch-push-state): Use a closure.

422 423 424 425
2013-01-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>

	* simple.el (primitive-undo): Move from undo.c.

426 427
2013-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>

428 429 430
	* vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
	(cvs-mode-remove-handled): Use it (bug#13380).

431 432 433 434 435
	* emacs-lisp/nadvice.el (advice--tweak): New function.
	(advice--remove-function, advice--subst-main): Use it.

	* emacs-lisp/advice.el: Update commentary.

436 437
2013-01-08  Michael Albinus  <michael.albinus@gmx.de>

438 439
	* net/tramp-adb.el (tramp-adb-file-name-handler-alist):
	Remove spurious entry.
440

Glenn Morris's avatar
Glenn Morris committed
441 442 443 444
2013-01-08  Glenn Morris  <rgm@gnu.org>

	* net/tramp.el (tramp-default-host-alist): Add :version.

445 446 447 448 449 450 451 452
2013-01-08  Juri Linkov  <juri@jurta.org>

	* info.el (Info-read-node-name-2): Don't duplicate suffixes for
	single completion.  (Bug#12456)
	(info--manual-names): Expand node completions into an explicit list
	before appending it to another list.  Filter out internal buffers
	with the leading space in the buffer name.  (Bug#10771)

453 454 455 456 457 458 459 460 461
2013-01-08  Juri Linkov  <juri@jurta.org>

	* info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
	that defaults to the Top node.
	(Info-goto-node, Info-read-node-name): Doc fix to mention that
	the short format (FILENAME) goes to the Top node.
	(Info-build-node-completions): Rename arg `file' to `filename'.
	(Bug#13365)

462 463
2013-01-07  Bastien Guerry  <bzg@gnu.org>

464 465
	* menu-bar.el (menu-bar-search-documentation-menu):
	Use `apropos-user-option' and fix the help message.
466 467 468 469 470 471 472 473 474 475 476

2013-01-07  Bastien Guerry  <bzg@gnu.org>

	* apropos.el (apropos-do-all): Update docstring.
	(apropos-user-option-button): New face.
	(apropos-user-option): Rename from `apropos-variable' and update
	docstring.
	(apropos-variable): Rewrite, now show all variables by default.
	(apropos-print): Mention "User option" instead of "Variable" when
	printing doc for user options.  (Bug#13276)

477 478 479 480 481 482 483
2013-01-07  Jürgen Hötzel  <juergen@archlinux.org>

	* net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
	Handle filename correctly, when parsing "source -> target" symlink
	output.
	(tramp-adb-handle-set-file-times): New defun.

484 485 486 487 488
2013-01-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
	advice list when the interactive-spec of ad-Advice-* changes.

489 490 491 492 493
2013-01-07  Katsumi Yamaoka  <yamaoka@jpl.org>

	* wid-edit.el (widget-default-get): Work for inlined elements.
	(Bug#12670)

494 495 496 497
2013-01-07  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-default-host-alist): New defcustom.
	(tramp-find-host): Use it.
498
	(tramp-eshell-directory-change): Move from tramp-sh.el.  Add to
499 500 501 502 503 504 505 506
	`eshell-directory-change-hook'.

	* net/tramp-adb.el (top): Add adb specific entry in
	`tramp-default-host-alist'.
	(tramp-adb-file-name-host): Remove function.
	(tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
	Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.

507
	* net/tramp-sh.el: Move eshell integration code to tramp.el.
508

509 510 511 512
2013-01-06  Jürgen Hötzel  <juergen@archlinux.org>

	* net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.

513 514 515
2013-01-06  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
516
	consist of more than one digit.
517 518
	(tramp-adb-file-name-handler-alist):
	Use `tramp-handle-file-exists-p' consistently.
519 520 521 522 523 524 525
	(tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
	(tramp-adb-handle-file-exists-p): Remove function.
	(tramp-adb-file-name-host): New defun.
	(tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
	Use it.
	(tramp-adb-maybe-open-connection): Set "remote-path" property.

526 527 528 529 530 531 532
2013-01-06  Chong Yidong  <cyd@gnu.org>

	* vc/vc.el (vc-next-action): Detect buffer modifications
	conflicting with locking VCS operation (Bug#11490).

	* vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.

533 534 535 536 537
2013-01-05  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
	(tramp-adb-handle-directory-files-and-attributes): Fix typos.

538 539 540 541 542 543 544 545
2013-01-05  Jürgen Hötzel  <juergen@archlinux.org>

	* net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
	parsing of ls output using regular expression (handle filenames
	with spaces).  Use virtual device number.
	(tramp-do-parse-file-attributes-with-ls): New defun (Code
	cleanup).

546 547 548 549 550 551
2013-01-04  Daiki Ueno  <ueno@gnu.org>

	* epg.el: Silence byte-compiler warnings.
	(epg--start): Use delete-char instead of delete-backward-char.
	(epg-wait-for-completion): Pass FRAME arg to redraw-frame.

552 553 554 555 556
2013-01-04  Daiki Ueno  <ueno@gnu.org>

	* epg.el (epg--start): Don't call "tty" program on W32 platforms.
	Suggested by Eli Zaretskii  <eliz@gnu.org>.

557 558 559 560 561 562
2013-01-04  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
	non-negative integers.  Otherwise, the default values are used.
	(tramp-convert-file-attributes): Convert uid and gid to integers.

563
2013-01-04  Glenn Morris  <rgm@gnu.org>
564

Glenn Morris's avatar
Glenn Morris committed
565 566 567
	* term.el (term-handle-colors-array): Ensure face attributes
	are fully specified, not nil.  (Bug#13337)

568 569 570
	* term.el (term-default-fg-color, term-default-bg-color):
	Fix custom type.

571 572 573 574
	* progmodes/etags.el (tags-compression-info-list): Doc fix.
	(tag-find-file-of-tag-noselect): Check auto-compression-mode
	rather than 'jka-compr being loaded.  (Bug#13338)

575 576 577 578 579 580
2013-01-04  Wesley Dawson  <whd@lavabit.com>  (tiny change)

	* icomplete.el (icomplete-completions):
	Honor icomplete-prospects-height once more following
	2012-11-29 changes.  (Bug#13224)

581 582
2013-01-04  Stefan Monnier  <monnier@iro.umontreal.ca>

583 584 585
	* subr.el (internal--called-interactively-p--get-frame): Find aliases
	of called-interactively-p as well (bug#13237).

586 587 588 589 590 591 592 593
	* view.el (view--enable, view--disable): Rename from view-mode-enable
	and view-mode-disable and assume it's called from view-mode.
	(view-mode-enable, view-mode-disable): Redefine as obsolete
	compatibility layer above view-mode.
	(view-mode-enter): Call `view-mode'.

	* files.el (after-find-file): Call `view-mode'.

594 595 596
	* doc-view.el (doc-view-scale-internally): New var.
	(doc-view-enlarge, doc-view-insert-image): Obey it.

597 598 599 600 601
2013-01-03  Daiki Ueno  <ueno@gnu.org>

	* epg.el (epg--start): Ignore errors when /dev/fd/0 does not
	exist.  (Bug#13344)

602 603
2013-01-03  Glenn Morris  <rgm@gnu.org>

604 605 606
	* mail/rmail.el (rmail-set-header-1): Ignore case.
	Handle multi-line headers.  (Bug#13330)

Glenn Morris's avatar
Glenn Morris committed
607 608 609
	* progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
	Handle paragraph starting at beginning of buffer.

Glenn Morris's avatar
Glenn Morris committed
610 611 612
	* subr.el (eval-after-load): Don't purecopy the form, so that it
	can be nconc'd later on; reverts 2009-11-11 change.  (Bug#13331)

613 614 615
	* emacs-lisp/byte-run.el (defun): Place cl declarations
	after any interactive spec.  (Bug#13265)

616
2013-01-02  Andreas Schwab  <schwab@linux-m68k.org>
617 618 619 620 621

	* emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
	defun.  Don't check for DECL if DOCSTRING isn't a string.
	(defun): Likewise.

622
2013-01-02  Glenn Morris  <rgm@gnu.org>
623

624 625 626
	* eshell/em-cmpl.el (eshell-pcomplete):
	More thoroughly imitate pcomplete.  (Bug#13293)

627 628 629
	* files.el (parse-colon-path): Doc fix.  (Bug#12351)
	Return nil for empty path elements.  (Bug#13296)

630
2013-01-02  Fabián Ezequiel Gallina  <fgallina@cuca>
631 632 633 634 635

	* progmodes/python.el (python-nav-end-of-statement): Rewrite in
	order to improve efficiency (Based on Daniel Colascione's
	<dancol@dancol.org> patch).  (Bug#13182)

636
2013-01-02  Glenn Morris  <rgm@gnu.org>
637 638 639

	* vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.

640
2013-01-02  Andreas Schwab  <schwab@linux-m68k.org>
Andreas Schwab's avatar
Andreas Schwab committed
641 642 643 644

	* emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
	neither DOCSTRING nor DECL was given.  (Bug#13316)

645 646 647 648 649 650 651
2013-01-02  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
	`error' call.
	(tramp-do-copy-or-rename-file): Ignore errors when calling
	`set-file-extended-attributes'.

652 653
	* net/tramp-smb.el (tramp-smb-file-name-handler-alist):
	Add handler for `file-acl'.
654 655
	(tramp-smb-handle-file-acl): New defun.

656 657 658 659
2013-01-02  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/README: Mention ISO 8601 week-numbering dates.

660 661 662 663 664 665 666
2013-01-01  Martin Rudalics  <rudalics@gmx.at>

	* view.el (view-mode-enable): New argument run-view-mode-hook.
	Run view-mode-hook only when it's non-nil (Bug#13315).
	(view-mode-enter): Call view-mode-enable with run-view-mode-hook
	argument t.

667 668 669 670 671
2012-12-31  Jürgen Hötzel  <juergen@archlinux.org>

	* net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
	(No device connected, invalid device name). (Bug #13299)

672 673 674 675 676 677 678 679
2012-12-31  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-resizable--p): Rename to window-resizable-p.
	(window-resize-no-error): New function.

	* mail/rmail.el (rmail-maybe-display-summary): Restore behavior
	broken in fix from 2012-12-28.

680 681 682 683
2012-12-31  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (special-form-p): Don't signal errors on undef aliases.

684 685 686
2012-12-31  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-forms.el (math-parse-date): Try using
687 688
	`math-parse-iso-date' when it looks like it might be needed.
	Allow times of 24:00.
689 690 691
	(math-parse-date-validate, math-parse-iso-date-validate):  Allow times
	of 24:00.

Glenn Morris's avatar
Glenn Morris committed
692 693 694 695 696 697 698
2012-12-30  Glenn Morris  <rgm@gnu.org>

	* net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
	Remove unnecessary/buggy autoloads (missing interactive).  (Bug#13294)
	(rmail-summary-displayed, rmail-summary): Declare.
	(mairix-rmail-display): Just require rmail.

699
2012-12-30  Chong Yidong  <cyd@gnu.org>
700 701 702 703

	* emacs-lisp/package.el (package-untar-buffer): Improve integrity
	check for the tarball contents.

704
2012-12-30  Matt Fidler  <matt.fidler@alcon.com>  (tiny change)
705 706 707 708

	* emacs-lisp/package.el (package-untar-buffer): Handle problematic
	tarfile content listings (Bug#13136).

709
2012-12-30  Mark Lillibridge  <mark.lillibridge@hp.com>
710

711 712
	* mail/rmailmm.el (rmail-insert-mime-forwarded-message):
	Insert the undecoded text of the message being forwarded.  (Bug#9521)
713

714 715
2012-12-30  Michael Albinus  <michael.albinus@gmx.de>

716 717 718
	* net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
	integers, if they are real numbers.  (Bug#13282)

719 720 721
	* net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
	Return `t' on success.

722 723
	* net/tramp-smb.el (tramp-smb-file-name-handler-alist):
	Add handler for `set-file-selinux-context'.
724

725 726 727 728 729
2012-12-29  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
	(tramp-sh-handle-set-file-acl): Return `t' on success.

730 731
2012-12-29  Eli Zaretskii  <eliz@gnu.org>

732 733
	* files.el (backup-buffer-copy, basic-save-buffer-2):
	If set-file-extended-attributes fails, fall back on set-file-modes
734
	instead of signaling an error.  (Bug#13298)
Eli Zaretskii's avatar
Eli Zaretskii committed
735
	(basic-save-buffer): Likewise.
736

737 738 739 740 741 742 743
2012-12-29  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el: Support other commands triggering
	python-indent-line so indentation cycling continues to work.
	(python-indent-trigger-commands): New defcustom.
	(python-indent-line): Use it.

744 745 746 747 748
2012-12-29  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el (python-shell-send-region): Add blank lines
	for non sent code so backtraces remain correct.

749 750 751 752 753 754
2012-12-29  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el: Remove cl dependency.
	(python-syntax-count-quotes): Replace incf call.
	(python-fill-string): Replace setf call.

755 756
2012-12-29  Damien Cassou  <damien.cassou@gmail.com>

757
	* info.el (info-other-window): New arg, for consistency with info.
758

759 760
2012-12-28  Martin Rudalics  <rudalics@gmx.at>

761 762
	* mail/rmail.el (rmail-maybe-display-summary):
	Rewrite (Bug#13066).
763

764 765 766 767
2012-12-28  Andreas Schwab  <schwab@linux-m68k.org>

	* epg.el (epg--start): Modify process-environment locally.

Daiki Ueno's avatar
Daiki Ueno committed
768 769 770 771 772 773 774 775 776 777
2012-12-28  Daiki Ueno  <ueno@gnu.org>

	* epg.el: Support pinentry-curses.
	Suggested by Werner Koch in
	<http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
	(epg-agent-file, epg-agent-mtime): New variable.
	(epg--start): Record the modified time of gpg-agent socket file,
	to restore Emacs frame after pinentry-curses termination.
	(epg-wait-for-completion): Restore Emacs frame here.

778 779 780 781 782 783 784 785 786 787 788 789 790
2012-12-27  Juri Linkov  <juri@jurta.org>

	* info.el (Info-file-completions): New variable.
	(Info-read-node-name-1): Complete node names in the Info file
	when a file name is given.  Call `Info-build-node-completions'
	with a file name.
	(Info-build-node-completions): Add new arg `file'.  When it is
	non-nil, visit it in a temporary buffer and cache its completions in
	`Info-current-file-completions'.  Move most of the function body to
	`Info-build-node-completions-1'.
	(Info-build-node-completions-1): New function with the body from
	`Info-build-node-completions'.  (Bug#12456)

791 792 793 794 795 796 797 798 799
2012-12-27  Juri Linkov  <juri@jurta.org>

	* frame.el (frame-maximization-style): Remove user option.
	(cycle-frame-maximized): Remove function.
	(toggle-frame-maximized): Rewrite and bind to M-<f10>.
	(toggle-frame-fullscreen): New command bound to <f11> instead of
	`toggle-frame-maximized'.
	http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html

800 801 802 803 804 805 806 807 808
2012-12-27  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.

	* net/tramp-adb.el (tramp-adb-file-name-handler-alist):
	* net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
	* net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
	for `file-accessible-directory-p'.  (Bug#13275)

809 810 811 812 813
2012-12-27  Sam Steingold  <sds@gnu.org>

	* progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
	continuations, see <http://stackoverflow.com/questions/3582436>.

814
2012-12-27  Dmitry Gutov  <dgutov@yandex.ru>
815 816

	* progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
817 818
	"module" and "def" to have indentation before them.
	Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
819

820 821
	* progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).

822
2012-12-27  Alan Mackenzie  <acm@muc.de>
823 824 825 826 827

	Speed up fontification where there's large brace blocks.
	* progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
	to a call of c-beginning-of-decl-1.

828 829 830
2012-12-27  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)

	* comint.el (comint-adjust-window-point): New function.
831 832
	(comint-postoutput-scroll-to-bottom):
	Call comint-adjust-window-point (Bug#13248).
833

834 835 836 837 838 839 840
2012-12-26  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
	Rakefile regexp.
	(auto-mode-alist): Associate .gemspec files with ruby-mode
	(https://bugs.ruby-lang.org/issues/5453).

841 842
2012-12-26  Jürgen Hötzel  <juergen@archlinux.org>

843 844
	* net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
	Suppress coloring, if possible (required for BusyBox based systems like
Paul Eggert's avatar
Paul Eggert committed
845
	CyanogenMod).
846 847 848 849 850 851
	(tramp-adb-handle-file-attributes)
	(tramp-adb-handle-insert-directory)
	(tramp-adb-handle-file-name-all-completions): Use it.
	(tramp-adb-get-toolbox): New defun.  Check for remote shell
	implementation (BusyBox or Toolbox).

852 853 854 855 856 857 858 859 860
2012-12-24  Constantin Kulikov <zxnotdead@gmail.com>  (tiny change)

	* startup.el (initial-buffer-choice): Allow function as value
	(Bug#13251).
	(command-line-1): Handle case where initial-buffer-choice
	specifies a function.
	* server.el (server-execute): Handle case where
	initial-buffer-choice specifies a function.

861 862 863 864 865 866 867
2012-12-24  Lars Ingebrigtsen  <larsi@gnus.org>

	* mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
	its own function.
	(smtpmail-try-auth-methods): Forget the user name/password if the
	login is unsuccessful (bug#12424).

868 869
2012-12-22  Michael Albinus  <michael.albinus@gmx.de>

870 871 872
	* notifications.el (notifications-notify): Protect body with
	`with-demoted-errors'.

873 874
	* net/tramp-adb.el (tramp-adb-maybe-open-connection):
	Check properties of remote device.  Restart connection, if there is a
875 876
	change.

Chong Yidong's avatar
Chong Yidong committed
877 878 879 880
2012-12-21  Chong Yidong  <cyd@gnu.org>

	* sort.el (sort-subr): Doc fix (Bug#13056).

881
2012-12-21  Bastien Guerry  <bzg@gnu.org>
Bastien Guerry's avatar
Bastien Guerry committed
882 883 884

	* progmodes/etags.el (tags-search): Fix typo.  Bug #13232.

885 886 887 888
2012-12-21  Michael Albinus  <michael.albinus@gmx.de>

	* simple.el (process-file): Overwrite stderr file, if exists.

889 890 891
2012-12-21  Daiki Ueno  <ueno@gnu.org>

	* epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
892
	(epg-error): Set `error-message' property.
893

894 895
2012-12-21  Chong Yidong  <cyd@gnu.org>

896 897 898
	* international/mule-cmds.el (read-char-by-name): Signal an error
	if the user does not supply a valid character (Bug#13177).

899 900 901
	* simple.el (transpose-subr-1): Preserve marker positions by
	changing the insertion sequence (Bug#13122).

902 903 904 905 906
2012-12-21  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)

	* simple.el (kill-region): Deactivate mark even for empty regions
	(Bug#13169).

907 908 909 910 911
2012-12-21  Chong Yidong  <cyd@gnu.org>

	* help-fns.el (describe-variable): Make sure we get the right
	buffer name (Bug#13105).  Suggested by Kelly Dean.

912 913 914 915 916 917 918
2012-12-20  Michael R. Mauger  <mmaug@yahoo.com>

	* comint.el (comint-redirect-previous-input-string): New variable.
	(comint-redirect-setup, comint-redirect-cleanup)
	(comint-redirect-preoutput-filter): Use it.  Fixes redirection bug.
	(comint-redirect-preoutput-filter): Fix verbose message.

919 920 921 922 923 924 925 926 927
2012-12-20  Michael Albinus  <michael.albinus@gmx.de>

	* progmodes/grep.el (rgrep): Escape command line.  Sometimes, it
	is too long for Tramp.  See discussion in
	<http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.

	* progmodes/compile.el (compilation-start): Remove line escape
	template.

928 929 930 931 932
2012-12-20  Dmitry Antipov  <dmantipov@yandex.ru>

	* vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
	Adjust comment.

933 934 935 936 937 938 939 940
2012-12-19  Jonas Bernoulli  <jonas@bernoul.li>

	* emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
	following non-comment text (bug#13207).
	(lm-header-multiline): Continuation lines need to be indented more than
	the first line.
	(lm-homepage): New function.
	(lm-with-file): Don't be confused if narrowing is in effect.
941

942 943
2012-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>

944 945 946
	* vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
	very beginning of a hunk (e.g. killing the first line).

947 948 949 950 951 952 953
2012-12-19  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
	and text properties from returned ACL string.
	(tramp-sh-handle-set-file-acl): Do not use additional parentheses
	for "setfacl" command.

954 955 956 957 958 959
2012-12-18  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-error-with-buffer): Give a hint to use
	`tramp-cleanup-this-connection', when the process has died.
	(Bug#13151)

960 961 962 963
2012-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* icomplete.el (icomplete-completions): Also use … to truncate prefix.

964 965 966 967
2012-12-17  Kevin Ryde  <user42@zip.com.au>

	* files.el (auto-save-file-name-p): Use \` and \' (bug#13186).

968 969 970 971 972 973 974
2012-12-17  Michael Albinus  <michael.albinus@gmx.de>

	Add support for preserving ACL entries of files.

	* net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
	`set-file-acl' handlers.

975 976
	* net/tramp-adb.el (tramp-adb-handle-copy-file):
	Handle PRESERVE-EXTENDED-ATTRIBUTES.
977

978 979
	* net/tramp-compat.el (tramp-compat-copy-file):
	Handle PRESERVE-EXTENDED-ATTRIBUTES.
980

981 982 983 984 985 986
	* net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
	Add `file-acl' and `set-file-acl' handlers.
	(tramp-gvfs-handle-copy-file):
	Handle PRESERVE-EXTENDED-ATTRIBUTES.
	(tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
	New defuns.
987

988 989
	* net/tramp-sh.el (tramp-sh-file-name-handler-alist):
	Add `file-acl' and `set-file-acl' handlers.
990 991
	(tramp-remote-acl-p, tramp-sh-handle-file-acl)
	(tramp-sh-handle-set-file-acl): New defuns.
992 993
	(tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
	Handle PRESERVE-EXTENDED-ATTRIBUTES.
994

995 996
	* net/tramp-smb.el (tramp-smb-file-name-handler-alist):
	Add `file-acl' and `set-file-acl' handlers.
997 998
	(tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.

999 1000 1001
2012-12-17  Kelly Dean  <kellydeanch@yahoo.com> (tiny change)

	* help-macro.el (make-help-screen): Instead of switch-to-buffer
1002
	use pop-to-buffer with NORECORD argument t.  As buffer name, use
1003 1004
	*Metahelp* with a leading space (Bug#13190).

1005 1006 1007 1008 1009 1010 1011 1012 1013 1014
2012-12-16  Romain Francoise  <romain@orebokech.com>

	* files.el (file-extended-attributes)
	(set-file-extended-attributes): New functions.
	(backup-buffer): Use them to handle both SELinux context and ACL
	entries.
	(backup-buffer-copy): Work with an alist of extended attributes,
	rather than an SELinux context.
	(basic-save-buffer-2): Ditto.

1015 1016 1017 1018
2012-12-16  Timo Myyrä  <timo.myyra@gmail.com>

	* battery.el (battery-bsd-apm): New function.

1019 1020 1021 1022 1023
2012-12-16  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (calc-standard-date-formats): Adjust one of the
	standard date formats.

1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037
2012-12-15  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
	`isearch-insert-char-by-name'.
	(with-isearch-suspended): New defmacro with body mostly from
	`isearch-edit-string' except the part that sets
	`isearch-new-string' and `isearch-new-message'.
	(isearch-edit-string): Use new macro `with-isearch-suspended' with
	body that sets `isearch-new-string' and `isearch-new-message'.
	(isearch-insert-char-by-name): New command.
	* international/mule-cmds.el (read-char-by-name): Let-bind
	`enable-recursive-minibuffers' to t.
	http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html

1038 1039 1040 1041 1042
2012-12-15  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
	(Bug#13175)

1043 1044 1045 1046 1047
2012-12-15  Christopher Schmidt  <christopher@ch.ristopher.com>

	* dired-x.el (dired-guess-shell-command): Put colon at the end of
	the prompt.  (Bug#13045)

1048 1049 1050 1051 1052
2012-12-14  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/macroexp.el (macroexp--warn-and-return):
	Try to include filename in non-bytecomp warning.  (Bug#13132)

1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068
2012-12-14  Paul Eggert  <eggert@cs.ucla.edu>

	Fix permissions bugs with setgid directories etc. (Bug#13125)
	* files.el (backup-buffer): Don't rely on 9th output of
	file-attributes, as it's now a placeholder.  Instead, use the new
	optional arg of file-ownership-preserved-p.
	(file-ownership-preserved-p): New optional arg GROUP.
	Fix mishandling of setuid directories that would cause this
	function to return t when it should have returned nil.
	Document what happens if the file does not exist, and when
	it's not known whether the ownership will be preserved.
	* net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
	Likewise.
	(tramp-get-local-gid): Use group-gid for integer, as that's
	faster and more reliable.

1069 1070
2012-12-14  Julien Danjou  <julien@danjou.info>

1071 1072
	* progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
	Update keywords list, data type and PL/pgSQL.
1073

1074 1075 1076 1077 1078 1079 1080
2012-12-14  Dave Abrahams  <dave@boostpro.com>

	* vc/ediff-util.el (ediff-buffer-type): New function.
	(ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
	rather than taking it as as argument.
	(ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).

1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091
2012-12-14  Ryan Crum  <ryan.crum@eleostech.com>

	* json.el: Add pretty-print option (bug#12634).
	(json-encoding-separator, json-encoding-default-indentation)
	(json--encoding-current-indentation, json-encoding-pretty-print)
	(json-encoding-lisp-style-closings): New vars.
	(json--with-indentation): New macro.
	(json-encode-hash-table, json-encode-alist, json-encode-plist)
	(json-encode-array): Use it to obey json-encoding-pretty-print.
	(json-pretty-print-buffer, json-pretty-print): New commands.

1092 1093 1094 1095 1096 1097 1098 1099
2012-12-14  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-syntax-propertize-function):
	Extract `ruby-syntax-propertize-expansions'.
	(ruby-syntax-propertize-expansions): Only change syntax on
	certain string delimiters, to punctuation.  This way the common
	functions like forward-word and thing-at-point still work.
	(ruby-match-expression-expansion): Improve readability.
1100 1101
	(ruby-block-contains-point): New function.
	(ruby-add-log-current-method): Handle several edge cases.
1102

1103 1104 1105 1106 1107 1108
2012-12-13  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/edebug.el (edebug-unload-function): Make sure that
	unload-feature finishes even when aborting an ongoing edebug session.
	Also, do not worry about edebug-mode, unload-feature takes care of it.

1109 1110 1111 1112
2012-12-13  Andreas Schwab  <schwab@suse.de>

	* net/tls.el (tls-program): Update customize type.

1113 1114 1115 1116 1117 1118
2012-12-13  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/edebug.el (edebug--require-cl-read): New function.
	(edebug-setup-hook, cl-read-load-hooks): Use it.
	(edebug-unload-function): New function.  (Bug#13163)

1119 1120 1121 1122 1123
2012-12-13  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
	Otherwise, there could be errors in autoloading.  (Bug#13151)

1124 1125 1126 1127 1128
2012-12-13  Jürgen Hötzel  <juergen@archlinux.org>

	* net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
	sequences.

1129
2012-12-13  Alan Mackenzie  <acm@muc.de>
1130 1131 1132 1133 1134

	Make CC Mode not hang when _some_ lines end in CRLF.  Bug #11841.
	* progmodes/cc-engine.el (c-backward-comments): Add code to work
	around `forward-comment' not recognizing ^M as whitespace.

1135
2012-12-13  Fabián Ezequiel Gallina  <fgallina@cuca>
1136 1137 1138 1139

	* progmodes/python.el (python-skeleton-class)
	(python-skeleton-def): Do not add space after defun name.

1140 1141 1142 1143 1144
2012-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
	(cl--symbol-function): Remove (now that funbound is like nil).

1145 1146 1147 1148
2012-12-12  Glenn Morris  <rgm@gnu.org>

	* button.el (button--area-button-p): Fix typo.

1149 1150 1151 1152 1153 1154 1155 1156
2012-12-12  Sam Steingold  <sds@gnu.org>

	* frame.el (frame-maximization-style): New user option.
	(toggle-frame-maximized): Toggle frame maximization according to
	`frame-maximization-style', bound to <f11>.
	(cycle-frame-maximized): Cycle between all maximization styles and
	non-maximized frame, bound to shift-<f11>.

1157 1158 1159 1160
2012-12-12  David Cadé  <codename68@gmail.com>

	* mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).

1161 1162 1163 1164 1165 1166 1167 1168 1169 1170
2012-12-12  Jonas Bernoulli  <jonas@bernoul.li>

	* lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
	(eieio-override-prin1): Don't quote kewords and booleans.
	(object-write) <eieio-default-superclass>: Don't put closing parens
	on new line, avoid needless empty lines, align values that are objects
	with the slot keyword (instead of beginning on the same line).
	(eieio-list-prin1): Align value with slot keyword; increase
	eieio-print-depth before printing members of the list.

1171 1172
2012-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>

1173 1174 1175 1176
	* mail/emacsbug.el (report-emacs-bug): Move the intangible text to
	a display text-property.
	(report-emacs-bug-hook): Don't bother deleting it any more.

1177 1178 1179 1180
	* hilit-chg.el (highlight-save-buffer-state): Delete.
	Use with-silent-modifications instead.
	(hilit-chg-set-face-on-change): Only fixup the text that's modified.

1181 1182 1183 1184
	* button.el: Handle buttons in display text-properties.
	(button--area-button-p, button--area-button-string):
	Use (STRING . STRING-POS) representation instead of just STRING.

1185 1186 1187 1188 1189
2012-12-11  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in (compile4-SH): Fix a typo that caused term
	subdirectory be skipped.

1190 1191
2012-12-11  Glenn Morris  <rgm@gnu.org>

1192 1193
	* net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.

1194 1195 1196 1197
	* progmodes/f90.el (f90-line-continued, f90-indent-region):
	Treat preprocessor lines embedded in continuations like comments.
	(f90-indent-line): Special-case preprocessor lines.  (Bug#13138)

1198 1199 1200 1201 1202 1203 1204 1205 1206
2012-12-11  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (calc-standard-date-formats):  Add more date
	formats.
	* calc/calc-forms.el (math-parse-iso-date): New function.
	(math-parse-date): Use `math-parse-iso-date' when appropriate.
	(math-parse-iso-date-validate): Add extra error checking.
	(calc-date-notation): Add ability to access new date formats.

1207 1208 1209 1210 1211
2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
	font-lock as well as when there's no text-property.

1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224
2012-12-10  Jambunathan K  <kjambunathan@gmail.com>

	* hi-lock.el: Refine the choice of default face.
	(hi-lock-keyword->face): New function.  Use it wherever we used
	cadadadr instead.
	(hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
	(hi-lock--last-face): Remove var.
	(hi-lock--unused-faces): New var to replace it.
	(hi-lock-read-face-name): Use/maintain it.
	(hi-lock-unface-buffer): Maintain it.  Fix error for the C-u case.
	(hi-lock-set-pattern): Ignore new rule if it has the same regexp even
	if it has another face.

1225 1226 1227 1228 1229
2012-12-10  Eli Zaretskii  <eliz@gnu.org>

	* subr.el (w32notify-handle-event): New function.
	(inotify-handle-event): Doc fix.

1230 1231 1232 1233
2012-12-10  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>

	* subr.el (inotify-event-p, inotify-handle-event): New functions.

1234
2012-12-10  Dani Moncayo <dmoncayo@gmail.com>
1235 1236 1237

	* simple.el (just-one-space): Doc fix.

1238
2012-12-10  Eli Zaretskii  <eliz@gnu.org>
1239

1240
	* textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
1241

1242
2012-12-10  Le Wang  <l26wang@gmail.com>
1243 1244 1245 1246

	* hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
	narrowed buffer (bug#12361).

1247
2012-12-10  Juanma Barranquero  <lekktu@gmail.com>
1248 1249 1250

	* vc/vc-hooks.el (vc-state): Doc fix.

1251
2012-12-10  Glenn Morris  <rgm@gnu.org>
1252 1253 1254 1255

	* mail/rmail.el (rmail-maybe-display-summary):
	Preserve buffer, in case select-window changes it.  (Bug#13066)

1256
2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1257 1258 1259 1260

	* emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
	cl-load-hook where they belong.

1261 1262 1263 1264
2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-lib.el (cl-declaim): Paren typo.

1265 1266 1267 1268
2012-12-09  Eli Zaretskii  <eliz@gnu.org>

	Parallelize byte compilation on MS-Windows.
	* makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
1269
	(WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
1270 1271 1272 1273 1274 1275
	(WINS_BASIC): Define as concatenation of the above.
	(compile): Subdivide into 4 separate and independent jobs that can
	be run in parallel.
	(compile0-CMD, compile0-SH): New targets for compiling
	COMPILE_FIRST files, which are prerequisites for the rest of the
	byte-compilation.
1276 1277