ChangeLog 793 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
2012-11-25  Chong Yidong  <cyd@gnu.org>

	* faces.el: Make face-spec-set more analogous to setq.
	(face-spec-set): Change the third arg to specify whether this
	function is being called via defface, customize, or a third party.
	Set the appropriate symbol properties.  Clear the override spec if
	setting via Custom.  Initialize face if necessary.  (Bug#4988)
	(face-spec-recalc): Allow theme faces to completely replace the
	defface spec, in the same way as custom faces (Bug#8454).

	* cus-face.el (custom-declare-face): Move face initialization to
	face-spec-set.
	(custom-theme-set-faces): Don't initialize the face name here, as
	that is now done in face-spec-set.

	* cus-edit.el (custom-face-set, custom-face-mark-to-save)
	(custom-face-reset-saved, custom-face-mark-to-reset-standard):
	Simplify by using the new arg to face-spec-set.

	* emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
	reset face-override-spec too, and use custom-declare-face.

23 24 25 26 27
2012-11-24  Jan Djärv  <jan.h.d@swipnet.se>

	* term/ns-win.el (ns-initialize-window-system): Move creation of
	fontsets here (Bug#11964).

28 29 30 31 32
2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	* ses.el (ses-rename-cell): Correct bug on mode-line update after
	cell renaming.

33 34
2012-11-24  Chong Yidong  <cyd@gnu.org>

35 36 37
	* woman.el (woman-default-faces, woman-monochrome-faces): Mark as
	obsolete.

38 39 40 41
	* custom.el (custom-theme-set-variables): Use a topological sort
	for ordering by custom dependencies (Bug#12952).
	(custom--sort-vars, custom--sort-vars-1): New functions.

42
2012-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
43 44 45 46

	* emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
	lexical-binding (bug#12938).

47
2012-11-24  Wolfgang Jenkner  <wjenkner@inode.at>
48 49 50 51 52 53 54

	* image-mode.el (image-transform-check-size): Use assertions only
	for images of type imagemagick.

	Otherwise no error, image-transform-fit-to-{width,height} is
	silently ignored, as before.  Doc fix.

55
2012-11-24  Chong Yidong  <cyd@gnu.org>
56 57 58

	* faces.el (color-defined-p): Doc fix (Bug#12853).

59
2012-11-24  Juri Linkov  <juri@jurta.org>
60 61 62 63 64 65 66

	* dired.el (dired-mark): Add optional arg `interactive'.
	Check for `use-region-p' if `interactive' is non-nil.
	(dired-unmark, dired-flag-file-deletion): Add optional arg
	`interactive'.  Call `dired-mark' with the arg `interactive'.
	(Bug#10624)

67 68 69 70 71 72 73 74
	* wdired.el: Revert 2012-10-17 change partly and replace it with
	Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
	(wdired-finish-edit): Add marks for new file names to
	`wdired-old-marks'.  Restore marks using `dired-mark-remembered'
	after `revert-buffer'.
	(wdired-do-renames): Remove calls to `dired-remove-file',
	`dired-add-file', `dired-add-entry'.  (Bug#11795)

75
2012-11-24  Alan Mackenzie  <acm@muc.de>
76

77 78
	* progmodes/cc-defs.el (c-version): Bump to 5.32.4.

79 80 81 82 83 84 85 86 87 88 89
	Fix bugs in the state cache.  Enhance a debugging mechanism.
	* progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
	"brace at column zero" strategy for C++.
	(c-append-lower-brace-pair-to-state-cache): Repair algorithm.
	(c-parse-state-point): New variable.
	(c-record-parse-state-state): Record old parse state with
	`copy-tree'.  Record previous value of point.
	(c-debug-parse-state-double-cons): New debugging function.
	(c-debug-parse-state): Call the above new function.
	(c-toggle-parse-state-debug): Output a confirmatory message.

90 91
	* progmodes/cc-mode.el (c-before-change, c-after-change):
	Call c-invalidate-state-cache from `c-before-change' instead of
92 93
	`c-after-change'.

94 95 96 97 98
2012-11-23  Chong Yidong  <cyd@gnu.org>

	* find-cmd.el (find-constituents): Add executable, ipath,
	readable, samefile, writable, daystart, regextype (Bug#12856).

99 100 101 102
2012-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.

103 104 105 106
2012-11-22  Paul Eggert  <eggert@cs.ucla.edu>

	* calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
	definition.  This fixes a bootstrap failure.
107 108 109
	(calc-gregorian-switch): In menu, put dates before regions.
	This is easier to follow, lines up better in the menu, and lets us
	coalesce regions that switch at the same time.  Give country
110 111
	names, not "Vatican", as that's better for non-expert users.
	Use names that are stable between the date of switch and now, e.g.,
112 113 114 115 116
	Bohemia and Moravia (which existed then and now) and not
	Czechoslovakia (which didn't exist then and doesn't exist now).
	What is now the U.S. mostly did not switch at the same time as
	Britain, so omit the U.S.  Correct spelling of "Britain".
	Catholic Switzerland was too much of a mess, so omit it.
117

118 119 120 121 122
2012-11-22  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
	after the variable is changed.

123 124 125
2012-11-21  Daniel Colascione  <dancol@dancol.org>

	* progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
126 127
	in SQL declarations for font-lock.
	(sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
128

129 130
2012-11-21  Glenn Morris  <rgm@gnu.org>

131 132 133
	* faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
	(face-italic-p): Add optional argument "inherit".

134 135 136 137 138 139 140
	* faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
	Remove -p suffix from names, for consistency with other set-face-*.
	(set-face-inverse-video): Fix interactive spec.
	* play/gamegrid.el (gamegrid-make-mono-tty-face):
	* textmodes/table.el (table--update-cell-face):
	Use set-face-inverse-video rather than now obsolete alias.

141
2012-11-21  Eli Zaretskii  <eliz@gnu.org>
142 143 144 145

	* simple.el (line-move): Don't call line-move-partial if
	scroll-conservatively is in effect.  (Bug#12927)

146
2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
147

148 149 150 151 152 153 154
	* eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
	Fallback on completion-at-point rather than
	pcomplete-expand-and-complete, and only if pcomplete actually failed.
	(eshell-cmpl-initialize): Setup completion-at-point.

	* pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.

155 156
	* emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.

157
2012-11-21  Michael Albinus  <michael.albinus@gmx.de>
158 159 160 161

	* net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
	are remote, check out-of-band property for both.

162
2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
163 164 165 166

	* window.el (switch-to-buffer): Re-add the warning that was lost in the
	code rewrite.

167
2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
168

Paul Eggert's avatar
Paul Eggert committed
169 170 171 172 173 174 175
	More minor time fixes.
	* calendar/time-date.el: Commentary fix.
	* net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
	too much other code depends on (0 0) time stamps.
	* net/tramp.el (tramp-time-less-p, tramp-time-subtract):
	Add a couple of FIXME comments.

176 177 178 179 180 181 182 183
	Minor cleanup for times as lists of four integers.
	* files.el (dir-locals-directory-cache):
	* ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
	Doc fixes.
	* net/tramp-sh.el (tramp-do-file-attributes-with-ls):
	* ps-bdf.el (bdf-file-newer-than-time):
	Process four-integers time stamps, not two.  Doc fixes.

184 185
2012-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>

186 187 188 189
	* uniquify.el (uniquify-managed): Use defvar-local.
	(rename-buffer, create-file-buffer): Advise with advice-add.
	(uniquify-unload-function): Unadvise accordingly.

190 191 192 193 194 195 196 197 198 199 200 201 202
	* emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
	(trace-buffer): Don't purecopy.
	(trace-entry-message, trace-exit-message): Add `context' arg.
	(trace--timer): New var.
	(trace-make-advice): Adjust for use in nadvice.
	Add `context' argument.  Delay `display-buffer' via a timer.
	(trace-function-internal): Use advice-add.
	(trace--read-args): New function.
	(trace-function-foreground, trace-function-background): Use it.
	(trace-function): Rename to trace-function-foreground and redefine as
	an alias to that new name.
	(untrace-function, untrace-all): Adjust to the use of nadvice.

203 204
	* emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.

205 206
	* emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.

207 208 209 210 211 212 213 214 215 216
	* subr.el (called-interactively-p-functions): New var.
	(internal--called-interactively-p--get-frame): New macro.
	(called-interactively-p, interactive-p): Rewrite in Lisp.
	* emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
	(called-interactively-p-functions): Use it.
	* emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
	(called-interactively-p-functions): Use it.
	* allout.el (allout-called-interactively-p): Don't assume
	called-interactively-p is a subr.

217 218 219 220 221 222
2012-11-20  Glenn Morris  <rgm@gnu.org>

	* profiler.el (profiler-report-mode-map): Add a menu.
	No need to bind `q' because we derive from special-mode.
	(profiler-report-find-entry): Handle calls from the menu-bar.

223 224
2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>

225 226 227 228 229 230 231 232
	* emacs-lisp/byte-run.el (defun-declarations-alist):
	Allow a compiler-macro to be a lambda expression.

	* progmodes/python.el: Use cl-lib.  Move var declarations outside of
	eval-when-compile.
	(python-syntax-context): Add compiler-macro.
	(python-font-lock-keywords): Simplify with De Morgan.

233 234
	* vc/diff-mode.el (diff-hunk): Don't make useless timers.

235 236 237 238
	* files.el (load-file): Require match in minibuffer selection, as was
	the case in Emacs-20 before we changed the spec to allow .elc files
	(bug#12935).

239 240 241 242
	* json.el: Don't require cl since we don't use it.
	* color.el: Don't require cl.
	(color-complement): `caddr' -> `nth 2'.

243 244
	* calendar/time-date.el (time-to-seconds): De-obsolete.

245 246 247 248 249 250 251
2012-11-19  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-forms.el (math-leap-year-p):  Fix formula for negative
	year numbers.
	(math-date-to-julian-dt): Adjust the initial approximation for the
	year to deal with the new definition of the DATE.

252 253
2012-11-19  Daniel Colascione  <dancol@dancol.org>

254 255
	* term/w32-win.el (cygwin-convert-path-from-windows):
	Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
256

257 258 259 260 261 262 263 264 265 266
2012-11-18  Chong Yidong  <cyd@gnu.org>

	* filecache.el (file-cache--read-list): New function.
	(file-cache-add-directory-list, file-cache-add-file-list)
	(file-cache-delete-file-list, file-cache-delete-directory-list):
	Use it to read a list of files or directories (Bug#12846).
	(file-cache-add-file, file-cache-add-directory)
	(file-cache-delete-file-list, file-cache-delete-file-regexp)
	(file-cache-delete-directory): Print an message.

267 268 269 270 271
2012-11-18  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-forms.el (math-date-to-dt): Use integer date when
	calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.

272 273 274 275
2012-11-18  Glenn Morris  <rgm@gnu.org>

	* image.el (insert-image, insert-sliced-image): Doc fix.

276
2012-11-18  Chong Yidong  <cyd@gnu.org>
277 278 279 280

	* emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
	(Bug#12810).

281
2012-11-18  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
Chong Yidong's avatar
Chong Yidong committed
282 283 284 285

	* vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
	response when the target file is in a subdirectory (Bug#12757).

286
2012-11-18  Chong Yidong  <cyd@gnu.org>
287 288 289

	* filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).

290
2012-11-18  Glenn Morris  <rgm@gnu.org>
291

292 293 294
	* emacs-lisp/cl-lib.el (face-underline-p):
	Use set-face-underline rather than the alias set-face-underline-p.

295
	* window.el (with-temp-buffer-window): Doc fix.
296 297
	* subr.el (with-output-to-temp-buffer):
	Add doc xref to with-temp-buffer-window.
298

Juanma Barranquero's avatar
Juanma Barranquero committed
299 300 301 302 303
2012-11-18  Juanma Barranquero  <lekktu@gmail.com>

	* woman.el (woman-non-underline-faces): Use `set-face-underline'.
	* calc/calc.el (math-format-date-cache): Declare.

304 305
2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>

306 307
	Calc by default uses the Gregorian calendar for all dates (Bug#12633).
	It also uses January 1, 1 AD as its day number 1.
308
	* calc/calc-forms.el (math-julian-date-beginning)
309
	(math-julian-date-beginning-int): Implement this.
310

311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332
2012-11-17  Juanma Barranquero  <lekktu@gmail.com>

	* descr-text.el (quail-find-key):
	* dired.el (desktop-file-name):
	* dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
	* generic-x.el (comint-mode, comint-exec):
	* image-dired.el (widget-forward):
	* info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
	(speedbar-change-expand-button-char)
	(speedbar-change-initial-expansion-list, speedbar-delete-subblock)
	(speedbar-make-specialized-keymap, speedbar-make-tag-line):
	* printing.el (easy-menu-add-item, easy-menu-remove-item)
	(widget-field-action, widget-value-set):
	* speedbar.el (imenu--make-index-alist):
	* term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
	(ring-length, ring-insert):
	* vcursor.el (compare-windows-skip-whitespace):
	* woman.el (dired-get-filename):
	Declare functions.

	* term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.

333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352
2012-11-17  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (calc-gregorian-switch): New variable.

	* calc/calc-forms.el (math-day-in-year, math-dt-before-p)
	(math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
	(math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
	(math-leap-year-p): Add option to distinguish between Julian
	and Gregorian calendars.
	(math-day-number): Use `math-day-in-year' to do the computations.
	(math-absolute-from-dt): Rename from `math-absolute-from-date'.
	Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
	to do the computations.
	(math-date-to-dt): Use `math-date-to-julian-dt' and
	`math-date-to-gregorian-dt' to do the computations.
	(calcFunc-weekday, math-format-date-part): Use the new version of
	the DATE to determine the weekday.
	(calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
	when necessary.

353 354 355 356 357 358 359
2012-11-17  Eli Zaretskii  <eliz@gnu.org>

	* term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
	Cygwin; otherwise use 'file:'.  (Bug#12914)
	(cygwin-convert-path-from-windows): Declare, to avoid
	byte-compiler warnings.

360 361 362 363 364 365
2012-11-17  Andreas Politz  <politza@fh-trier.de>

	* ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
	(ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
	prefix and negative numeric prefix args (Bug#12795).

366 367 368 369 370 371
2012-11-17  Stephen Berman  <stephen.berman@gmx.net>

	* play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
	Don't signal an error with a score that is too low to add to the
	list of top scores. (Bug#12779)

372 373
2012-11-17  Chong Yidong  <cyd@gnu.org>

374 375
	* help-mode.el (help-xref-interned): End on point-min (Bug#12737).

376 377 378
	* filecache.el (file-cache-add-file): Handle relative file name in
	the argument (Bug#12694).

379 380 381 382
2012-11-16  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)

	* eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).

383 384
2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>

385 386
	* emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.

387 388
	* emacs-lisp/cl-lib.el: Set more meaningful version number.

389 390 391 392 393 394 395 396 397 398 399 400 401
2012-11-16  Martin Rudalics  <rudalics@gmx.at>

	* window.el (enlarge-window, shrink-window): Don't mention return
	value in doc-string (Bug#12896).
	(window--display-buffer): Don't resize frames - it won't work
	with all window managers and defeat pop-up-frame-alist.
	(display-buffer-alist): In doc-string explain that CONDITION can
	be a function and which arguments are passed to it (Bug#12854).
	(display-buffer-assq-regexp): New argument ACTION.  Handle lambda
	expressions (Bug#12854).
	(display-buffer): Pass ACTION argument to
	display-buffer-assq-regexp.

402 403
2012-11-16  Glenn Morris  <rgm@gnu.org>

404 405 406
	* window.el (fit-frame-to-buffer-bottom-margin)
	(fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.

407 408
	* faces.el (face-underline-p): Use face-attribute-specified-or.

409
2012-11-16  Juanma Barranquero  <lekktu@gmail.com>
410 411 412

	* emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.

413
2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
414 415 416

	* emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).

417
2012-11-16  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
418

419 420 421
	* eshell/em-cmpl.el (eshell-pcomplete): New command.  (Bug#12838)
	(eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.

422 423 424 425 426 427 428 429
	* faces.el (face-underline-p): Doc fix.  Handle :underline being
	things other than `t' (a string, a list).
	(face-inverse-video-p): Doc fix.
	(set-face-underline): Rename it back from set-face-underline-p.
	Doc fix.  Allow interactive input of values other than t.
	(read-face-attribute): Apply formatting to :underline,
	since like :box and :stipple it can take list values.

Glenn Morris's avatar
Glenn Morris committed
430 431 432
	* term.el (ansi-term): Don't let C-x escape-char binding
	clobber the more standard C-c binding.  (Bug#12842)

433 434
	* subr.el (set-temporary-overlay-map): Doc fix.

435
2012-11-16  Martin Rudalics  <rudalics@gmx.at>
436 437 438 439 440

	* window.el (record-window-buffer)
	(display-buffer-record-window): When copying the markers to
	window-point preserve window-point-insertion-type. (Bug#12588)

441
2012-11-16  Glenn Morris  <rgm@gnu.org>
442 443 444 445 446

	* emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
	* net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
	Use new names for hooks rather than obsolete aliases.

447 448 449
2012-11-15  Daniel Colascione  <dancol@dancol.org>

	* term/w32-win.el (w32-handle-dropped-file): Use a "file://"
Daniel Colascione's avatar
Daniel Colascione committed
450 451 452 453
	prefix instead of "file:" so that when FILE-NAME begins with "//",
	as it does when the target file is on a network share, url-handler
	isn't confused.

454 455 456 457 458
2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
	a preactivated advice from an old advice.el; they're not compatible!

459 460 461 462 463 464 465
2012-11-15  Katsumi Yamaoka  <yamaoka@jpl.org>

	* emacs-lisp/nadvice.el (advice--make-interactive-form):
	Fix string-spec case.

	* emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.

466 467 468 469 470 471 472
2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/nadvice.el: Add buffer-local support to add-function.
	(advice--buffer-local-function-sample): New var.
	(advice--set-buffer-local, advice--buffer-local): New functions.
	(add-function, remove-function): Use them.

473 474 475 476
2012-11-15  Drew Adams  <drew.adams@oracle.com>

	* imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).

477 478 479 480 481 482
2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
	potential binding of print-gensym to t, and prettify (back)quotes in
	case they appear in args's default values (bug#12884).

483 484 485 486 487 488
2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/nadvice.el: Add around advice for interactive specs.
	(advice-eval-interactive-spec): New function.
	(advice--make-interactive-form): Support around advice (bug#12844).

489 490 491 492
2012-11-14  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
	more strict.  Add docstring.
Dmitry Gutov's avatar
Dmitry Gutov committed
493 494 495 496 497 498 499 500 501
	(ruby-expression-expansion-re): Extract from
	`ruby-match-expression-expansion'.
	(ruby-syntax-propertize-function): After everything else, search
	for expansions in string literals, mark their insides as
	whitespace syntax and save match data for font-lock.
	(ruby-font-lock-keywords): Use the 2nd group from expression
	expansion matches.
	(ruby-match-expression-expansion): Use the match data saved to the
	text property in ruby-syntax-propertize-function.
502

503 504 505 506 507
2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
	(bug#12879).

508 509 510 511 512 513 514
2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
	start/end keyword a bit harder.  Works with different values of N.
	Add more comments.
	(ruby-end-of-block): Update accordingly.

515 516
2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>

517 518 519
	* woman.el (woman-file-name): Don't mess with unread-command-events
	(bug#12861).

520 521 522 523 524 525 526
	* emacs-lisp/advice.el: Layer on top of nadvice.el.
	Remove out of date self-require hack.
	(ad-do-advised-functions): Use simple `dolist'.
	(ad-advice-name, ad-advice-protected, ad-advice-enabled)
	(ad-advice-definition): Redefine as functions.
	(ad-advice-classes): Move before first use.
	(ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
527
	(ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
528
	(ad--defalias-fset): Remove functions.
529
	(ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
530 531 532 533 534 535 536
	(ad-get-orig-definition): Rewrite.
	(ad-make-advised-definition-docstring): Change base docstring.
	(ad-real-orig-definition): Rewrite.
	(ad-map-arglists): Change name of called function.
	(ad--make-advised-docstring): Redirect `function' from ad-Advice-...
	(ad-make-advised-definition): Simplify.
	(ad-assemble-advised-definition): Tweak for new calling context.
537
	(ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
538 539 540 541 542 543 544 545
	(ad--defalias-fset): Rename from ad-handle-definition.  Make it set the
	function and call ad-activate if needed.
	(ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
	(ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
	(ad-compile-function): Compile ad-Advice-*.
	(ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
	(ad-start-advice, ad-stop-advice): Remove.

546 547 548 549 550 551
2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
	period before class method names, not after.  Remove handling of
	one impossible case.  Add comments.

552 553
2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>

554 555 556 557 558
	* emacs-lisp/advice.el: Remove support for freezing.
	(ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
	(ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
	Remove support for `freeze'.

559 560 561 562 563 564 565 566 567 568 569 570 571 572
	* emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
	override the default.
	* emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
	cl--dotimes/dolist.
	* subr.el (dolist, dotimes, declare): Redefine them normally, even when
	`cl' is loaded.

	* emacs-lisp/nadvice.el (advice--normalize): New function, extracted
	from add-advice.
	(advice--strip-macro): New function.
	(advice--defalias-fset): Use them to handle macros.
	(advice-add): Use them.
	(advice-member-p): Correctly handle macros.

573 574
2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>

575 576
	* progmodes/ruby-mode.el (ruby-font-lock-keywords):
	Never font-lock the beginning of singleton class as heredoc.
577

578
2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
579 580 581

	* emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).

582
2012-11-13  Wolfgang Jenkner  <wjenkner@inode.at>
583 584

	* ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
585 586
	39 and 49 (bug#12792).  Also, treat unimplemented parameters as 0,
	thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
587

588
2012-11-13  Fabián Ezequiel Gallina  <fgallina@cuca>
589 590 591 592 593 594 595

	Fix end-of-defun misbehavior.
	* progmodes/python.el (python-nav-beginning-of-defun): Rename from
	python-beginning-of-defun-function.  Handle nested defuns
	correctly.
	(python-nav-end-of-defun): Rename from
	python-end-of-defun-function.  Ensure forward movement.
596
	(python-info-current-defun): Reimplement to work as intended
597 598 599
	with new fixed python-nav-{end,beginning}-of-defun.  Stop scanning
	parent defuns as soon as possible.

600
2012-11-13  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
601 602 603 604 605

	* progmodes/flymake.el (flymake-error-bitmap)
	(flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
	(flymake-error-bitmap, flymake-warning-bitmap): Fix :types.

606
2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
607 608 609 610 611

	* progmodes/ruby-mode.el (ruby-move-to-block): When moving
	backward, always stop at indentation.  Reverts the change from
	2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).

612
2012-11-13  Glenn Morris  <rgm@gnu.org>
613

614 615 616
	* ibuffer.el (ibuffer-mode-map, ibuffer-mode):
	Add ibuffer-filter-by-derived-mode.

Glenn Morris's avatar
Glenn Morris committed
617 618 619
	* ibuffer.el (ibuffer-mode-map): Don't have two menu items with
	the same name shadowing each other.

620 621
	* window.el (with-temp-buffer-window): Doc tweak.

Glenn Morris's avatar
Glenn Morris committed
622 623
	* emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.

Glenn Morris's avatar
Glenn Morris committed
624 625
	* help.el (temp-buffer-max-height):
	* window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
626 627
	* emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.

628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664
2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/nadvice.el: New package.
	* subr.el (special-form-p): New function.
	* emacs-lisp/elp.el: Use lexical-binding and advice-add.
	(elp-all-instrumented-list): Remove var.
	(elp-not-profilable): Remove elp-wrapper.
	(elp-profilable-p): Use autoloadp and special-form-p.
	(elp--advice-name): New const.
	(elp-instrument-function): Use advice-add.
	(elp--instrumented-p): New predicate.
	(elp-restore-function): Use advice-remove.
	(elp-restore-all, elp-reset-all): Use mapatoms.
	(elp-set-master): Use elp--instrumented-p.
	(elp--make-wrapper): Rename from elp-wrapper, return a function
	suitable for advice-add.  Use cl-inf.
	(elp-results): Use mapatoms+elp--instrumented-p.
	* emacs-lisp/debug.el: Use lexical-binding and advice-add.
	(debug-function-list): Remove var.
	(debug): Rename arg, and then let-bind it explicitly inside.
	(debugger-setup-buffer): Rename arg.
	(debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
	(debugger-frame-number): Adjust to new debug-on-entry setup.
	(debug--implement-debug-on-entry): Rename from
	implement-debug-on-entry, add argument.
	(debugger-special-form-p): Remove, use special-form-p instead.
	(debug-on-entry): Use advice-add.
	(debug--function-list): New function.
	(cancel-debug-on-entry): Use it, along with advice-remove.
	(debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
	(debugger-list-functions): Use debug--function-list instead of
	debug-function-list.
	* emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
	(ad-special-form-p): Remove, use special-form-p instead.
	(ad-set-advice-info): Use add-function and remove-function.
	(ad--defalias-fset): Adjust accordingly.

665 666
2012-11-10  Glenn Morris  <rgm@gnu.org>

667 668 669 670 671 672
	* mail/emacsbug.el (report-emacs-bug-tracker-url)
	(report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
	(report-emacs-bug-create-existing-bugs-buffer)
	(report-emacs-bug-parse-query-results)
	(report-emacs-bug-query-existing-bugs): Remove.  (Bug#7449)

673 674 675
	* term.el (term-default-fg-color, term-default-bg-color):
	Make obsolete, rather than just saying "deprecated" in the doc.

676 677 678 679 680
	* term.el (term): Rename from `term-face'.
	(term-current-face, ansi-term-color-vector)
	(term-default-fg-color, term-default-bg-color, term-ansi-reset):
	Update all users.

681
2012-11-10  Jan Djärv  <jan.h.d@swipnet.se>
682 683 684 685

	* server.el (server-create-window-system-frame): Handle Nextstep
	specially (Bug#12780).

686
2012-11-10  Glenn Morris  <rgm@gnu.org>
687 688 689 690

	* mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
	Unautoload, and make obsolete.  (Bug#7449)

691
2012-11-10  Chong Yidong  <cyd@gnu.org>
692 693 694 695

	* vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
	rename from diff-remove-trailing-whitespace (Bug#12831).

696
2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
697 698 699 700

	* emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
	miscompilation of trace.el.

701
2012-11-10  Glenn Morris  <rgm@gnu.org>
702 703 704

	* vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.

705
2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
706 707 708 709

	* emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
	(bug#12812).

710
2012-11-10  Chong Yidong  <cyd@gnu.org>
711 712 713 714 715

	* minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
	a defcustom with an appropriate :set function.
	(minibuffer-default--in-prompt-regexps): New function.

716
2012-11-10  Glenn Morris  <rgm@gnu.org>
717

Glenn Morris's avatar
Glenn Morris committed
718 719 720
	* emacs-lisp/cl.el (define-setf-expander, defsetf)
	(define-modify-macro): Doc fixes.

721 722 723
	* emacs-lisp/gv.el (gv-letplace): Fix doc typo.
	(gv-define-simple-setter): Update doc of `fix-return'.

724
2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
725

726 727 728
	* emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
	twice when `fix-return' is set (bug#12813).

729 730 731
	* emacs-lisp/cl.el (defsetf): Pass the third arg to
	gv-define-simple-setter (bug#12812).

732 733 734
	* woman.el (woman-decode-region): Disable adaptive-fill when rendering
	(bug#12756).

735
2012-11-10  Glenn Morris  <rgm@gnu.org>
736 737 738

	* emacs-lisp/gv.el (gv-define-setter): Fix doc typo.

Glenn Morris's avatar
Glenn Morris committed
739 740 741 742 743 744 745
	* emacs-lisp/cl-extra.el (cl-prettyexpand):
	* emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
	* emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
	(cl-the, cl-compiler-macroexpand): Add basic doc strings.

	* emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.

746 747 748 749 750
2012-11-10  Leo Liu  <sdl.web@gmail.com>

	* ido.el (ido-set-matches-1): Improve flex matching performance by
	removing backtracking in the regexp (suggested by Stefan).  (Bug#12796)

751 752 753 754 755 756 757
2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
	(ad--defalias-fset): New function.
	(ad-safe-fset): Remove.
	(ad-make-freeze-definition): Use cl-letf*.

758 759
2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>

760 761
	* subr.el (dolist): Don't bind VAR in RESULT.

762 763 764 765 766 767 768 769 770 771 772 773 774
	* emacs-lisp/advice.el: Miscellaneous cleanup.  Use lexical-binding.
	(fset, documentation): Don't save real def since we don't advise.
	(ad-do-advised-functions): Remove problematic `result-form'.
	(ad-safe-fset): `ad-real-fset' => `fset'.
	(ad-read-advised-function): Don't assume that ad-do-advised-functions
	uses CL's dolist internally.
	(ad-arglist): Remove unused arg `name'.
	(ad-docstring, ad-make-advised-docstring):
	`ad-real-documentation' => `documentation'.
	(warning-suppress-types): Declare.
	(ad-set-arguments): Simple CSE.
	(ad-recover-normality): Sanity check.

775 776 777
	* emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
	(funcall '(lambda ..) ..) into ((lambda ..) ..).

778 779 780
2012-11-09  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	* ses.el: symbol to coordinate mapping is made by symbol property
781 782 783 784
	`ses-cell'.  This means that the same mapping is done for all SES
	sheets.  That is good enough for cells with standard A1 names, but
	not for named cell.  So a hash map is added for the latter.
	(defconst ses-localvars): Add local variable ses--named-cell-hashmap
785 786 787
	(ses-sym-rowcol): Use hashmap for named cell.
	(ses-is-cell-sym-p): New defun.
	(ses-decode-cell-symbol): New defun.
788 789
	(ses-create-cell-variable): Add cell to hashmap when name is not
	A1-like.
790 791 792 793 794
	(ses-rename-cell): Check that cell new name is not already in
	spreadsheet with the use of ses-is-cell-sym-p
	(ses-rename-cell): Use hash map for named cells, but accept also
	renaming back to A1-like.

795 796
2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>

797 798 799 800 801 802 803 804 805 806
	* emacs-lisp/advice.el: Use new dynamic docstrings.
	(ad-make-advised-definition-docstring, ad-advised-definition-p):
	Use dynamic-docstring-function instead of ad-advice-info.
	(ad--make-advised-docstring): New function extracted from
	ad-make-advised-docstring.
	(ad-make-advised-docstring): Use it.
	* progmodes/sql.el (sql--make-help-docstring): New function, extracted
	from sql-help.
	(sql-help): Use it with dynamic-docstring-function.

807 808
	* env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).

809 810
2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>

811 812 813
	* files.el (hack-one-local-variable--obsolete): New function.
	(hack-one-local-variable): Use it for obsolete settings.

814 815 816
	* subr.el (locate-user-emacs-file): If both old and new name exist, use
	the new name.

817 818 819 820 821
	* progmodes/js.el (js--filling-paragraph): New var.
	(c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
	(js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
	less sneaky.

822 823 824 825 826
2012-11-08  Julien Danjou  <julien@danjou.info>

	* progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
	`auto-mode-alist' (Bug#12835).

827 828
2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>

829 830 831 832 833 834 835 836 837 838 839 840
	* progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
	(perl--prettify-symbols-alist): New const.
	(perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
	New functions.
	(perl-font-lock-keywords-2): Use them.
	(perl-electric-noindent-p): New function.
	(perl-mode): Use it to set up electric-indent-mode.
	(perl-electric-terminator, perl-indent-command): Mark obsolete.
	(perl-mode-map): Remove bindings for them.
	(perl-imenu-generic-expression, perl-outline-level):
	Match functions&packages in column>0.

841 842 843 844
	* env.el (env--substitute-vars-regexp): New const.
	(substitute-env-vars): Use it.  Add `only-defined' arg.
	* net/tramp.el (tramp-replace-environment-variables): Use it.

845 846 847 848 849 850
	* emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
	Byte-compile *before* eval in eval-and-compile.
	(byte-compile-log-warning): Remove redundant inhibit-read-only.
	(byte-compile-file-form-autoload): Don't hide actual definition.
	(byte-compile-maybe-guarded): Accept `functionp' as well.

851 852
	* emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.

853 854 855 856 857 858 859
2012-11-07  Michael Albinus  <michael.albinus@gmx.de>

	* notifications.el (notifications-get-server-information-method):
	New defconst.
	(notifications-get-capabilities): Fix docstring.
	(notifications-get-server-information): New defun.

860 861 862 863 864
2012-11-06  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* textmodes/ispell.el (ispell-region): Standard re-indent for better
	readability.

865 866 867 868 869 870 871 872 873 874
	* textmodes/ispell.el: Experimental support for support debugging.
	(ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
	buffer for ispell.
	(ispell-print-if-debug): New function to print stuff to
	`ispell-debug-buffer' if debugging is enabled.
	(ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
	show some debugging info.
	(ispell-buffer-with-debug): New function that creates a debugging
	buffer and calls `ispell-buffer' with debugging enabled.

875 876 877
	* textmodes/ispell.el (ispell-region): Do not prefix sent string by
	comment in autoconf mode. (Bug#12768)

878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897
2012-11-06  Dmitry Antipov  <dmantipov@yandex.ru>

	* emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
	frame-first-window, frame-root-window, frame-selected-window,
	minibuffer-selected-window, minibuffer-window,
	window-absolute-pixel-edges, window-at, window-body-height,
	window-body-width, window-display-table, window-combination-limit,
	window-frame, window-fringes, window-inside-absolute-pixel-edges,
	window-inside-edges, window-inside-pixel-edges, window-left-child,
	window-left-column, window-margins, window-next-buffers,
	window-next-sibling, window-new-normal, window-new-total,
	window-normal-size, window-parameter, window-parameters, window-parent,
	window-pixel-edges, window-point, window-prev-buffers,
	window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
	window-start, window-text-height, window-top-child, window-top-line,
	window-total-height, window-total-width and window-use-time to the list
	of functions without side-effects.
	(toplevel): Add window-valid-p to the list of error-free functions
	without side-effects.

898 899
2012-11-05  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

900 901
	* textmodes/ispell.el (ispell-program-name):
	Update spellchecker parameters when customized.
902

903 904 905 906
2012-11-04  Glenn Morris  <rgm@gnu.org>

	* vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn.  (Bug#7850)

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

	* bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
	same-window-* variables.

912 913 914 915 916 917
2012-11-04  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-help-for-help, isearch-describe-bindings)
	(isearch-describe-key, isearch-describe-mode): Use a display
	action instead of binding same-window-* variables (Bug#10040).

918 919
2012-11-03  Glenn Morris  <rgm@gnu.org>

920 921 922
	* emacs-lisp/cl-macs.el (cl-parse-loop-clause):
	Rename handler properties back from cl-- to cl-.  (Bug#12788)

923 924
	* emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.

925 926 927 928 929 930
2012-11-03  Eli Zaretskii  <eliz@gnu.org>

	* term/pc-win.el: Don't load term/internal from here.

	* loadup.el: Load term/internal from here.

931 932 933 934 935
2012-11-03  Fabián Ezequiel Gallina  <fgallina@cuca>

	* progmodes/python.el (inferior-python-mode): Fix hang in
	jit-lock (Bug#12645).

936 937 938 939 940
2012-11-03  Martin Rudalics  <rudalics@gmx.at>

	* window.el (switch-to-visible-buffer)
	(switch-to-buffer-preserve-window-point): Fix doc-strings.

941 942 943 944 945 946 947
2012-11-03  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/cl-lib.el (cl--random-time):
	Rename from cl-random-time.  (Bug#12773)
	(cl--gensym-counter, cl--random-state): Update callers.
	* emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.

948 949 950 951
2012-11-03  Chong Yidong  <cyd@gnu.org>

	* cus-start.el: Make cursor-type customizable (Bug#11633).

952 953
2012-11-02  Glenn Morris  <rgm@gnu.org>

954 955 956 957
	* filecache.el: No need to load find-lisp when compiling.
	(find-lisp-find-files): Autoload it.
	(file-cache-add-directory-recursively): Don't require find-lisp.

958 959
	* image.el (image-type-from-file-name): Trivial simplification.

960 961 962
	* emacs-lisp/bytecomp.el (byte-compile-eval):
	Decouple "noruntime" and "cl-functions" warnings.

963 964 965 966 967
2012-11-01  Stephen Berman  <stephen.berman@gmx.net>

	* play/gomoku.el (gomoku-display-statistics): Update mode line
	only if in Gomoku buffer; don't capitalize "won" (Bug#12771).

968 969 970 971 972 973
2012-10-31  Martin Rudalics  <rudalics@gmx.at>

	* window.el (quit-restore-window): If the window has been
	created on an existing frame and ended up as the sole window on
	that frame, do not delete it (Bug#12764).

974 975
2012-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>

976 977 978 979
	* progmodes/sh-script.el (sh--inside-noncommand-expression):
	Rename from sh--inside-arithmetic-expression, handle more cases
	(bug#11263).

980 981 982
	* progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
	(sh-font-lock-open-heredoc): Use it (bug#12770).

983 984
2012-10-30  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
985 986
	* emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie.  Doc fix.

987 988
	* emacs-lisp/cl.el (letf): Doc fix.  (Bug#12760)

989 990
2012-10-29  Chong Yidong  <cyd@gnu.org>

991 992 993
	* isearch.el (isearch-other-meta-char): Ensure that a reprocessed
	function key is stored in a keyboard macro (Bug#4894).

994 995
	* thingatpt.el (number-at-point): Apply a thing-at-point property.

996 997
2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>

998 999 1000 1001 1002
	* vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
	header comments".
	(diff-unified->context, diff-context->unified)
	(diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.

1003 1004
	* emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).

1005 1006
	* files.el (find-alternate-file): Only ask one question (bug#12487).

1007 1008
2012-10-29  Chong Yidong  <cyd@gnu.org>

1009 1010 1011
	* vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
	Suggested by Dan Nicolaescu (Bug#6326).

1012 1013
	* info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).

Chong Yidong's avatar
Chong Yidong committed
1014
	* startup.el (fancy-about-screen): Don't message (Bug#12680).
1015

1016 1017
	* thingatpt.el (thing-at-point): Doc fix (Bug#12691).

1018 1019
	* imenu.el (imenu): Inhibit push-mark message (Bug#12726).

1020 1021 1022
	* face-remap.el (face-remap-add-relative): Handle the case where a
	face-remapping-alist entry is a cons cell (Bug#12762).

1023 1024 1025 1026 1027
2012-10-29  Kevin Ryde  <user42@zip.com.au>

	* woman.el (woman-parse-numeric-value): Handle picas correctly
	(Bug#12639).

1028 1029 1030 1031
2012-10-29  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/cl.el (defsetf): Doc fix.

1032 1033 1034 1035 1036 1037 1038 1039
2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
	syntax to the matching opener, if any (bug#12547).
	(sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
	matching open as a "case-(".
	(sh-smie-rc-grammar): Add a corresponding rule for it.

1040 1041 1042 1043 1044
2012-10-28  Daniel Hackney  <dan@haxney.org>

	* emacs-lisp/package.el (package-generate-autoloads): Kill buffer
	"PKGNAME-autoloads.el" in case we created it.

1045 1046
2012-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>

1047 1048
	* minibuffer.el (completion--sifn-requote): Rewrite to handle things
	like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
1049
	(completion--twq-all): Disable too-strict assertions.
1050

1051 1052
	* tmm.el (tmm-prompt): Use map-keymap (bug#12744).

1053 1054 1055 1056 1057
2012-10-27  Eli Zaretskii  <eliz@gnu.org>

	* profiler.el (profiler-report-make-entry-part): Fix help-echo
	text to match the real keybindings.

1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068
2012-10-27  Juri Linkov  <juri@jurta.org>

	* wdired.el (wdired-keep-marker-rename): New defcustom.
	(wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
	(Bug#11795)

	* dired.el (dired-keep-marker-rename): Add reference to
	`wdired-keep-marker-rename' in the docstring.
	Add default character value ?R to display initially in
	Customization UI instead of ?@.

1069 1070 1071 1072 1073 1074 1075 1076
2012-10-27  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer): In doc-string describe
	window-height and window-width alist entries.

	* time.el (display-time-world): Restore fit-window-to-buffer
	behavior.

1077 1078 1079 1080
2012-10-27  Chong Yidong  <cyd@gnu.org>

	* subr.el (insert-buffer-substring-as-yank): Doc fix.

1081 1082 1083 1084 1085
2012-10-26  Jambunathan K  <kjambunathan@gmail.com>

	* minibuffer.el (completion-category-overrides): New completion
	category `bookmark' (bug#11131).

1086 1087
2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>

1088 1089 1090
	* emacs-lisp/advice.el (ad-assemble-advised-definition):
	Silence bogus compiler warnings for ad-do-it.

1091 1092 1093
	* bookmark.el (bookmark-completing-read): Set the completion category
	to `bookmark' (bug#11131).

1094 1095 1096 1097 1098 1099 1100
2012-10-26  Bastien  <bzg@altern.org>
            Stefan Monnier  <monnier@iro.umontreal.ca>

	* face-remap.el: Use lexical-binding.
	(text-scale-adjust): Improve docstring.  Use itself for the temporary
	overlay-map bindings, so as to repeat the "Use..." message each time.

1101 1102
2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>

1103 1104 1105
	* emacs-lisp/macroexp.el (macroexp--expand-all):
	Obey byte-compile-warning-enabled-p (bug#12486).

1106 1107 1108
	* vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
	(diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).

1109 1110 1111 1112 1113 1114 1115
2012-10-26  Martin Rudalics  <rudalics@gmx.at>

	* mouse.el (mouse-drag-line): Move last form into preceding when
	clause (Bug#12731).

	* help.el (resize-temp-buffer-window): Fix doc-string.

David Engster's avatar
David Engster committed
1116 1117 1118
2012-10-25  David Engster  <deng@randomsample.de>

	* emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
1119
	Remove.  This feature is already integrated in imenu.
David Engster's avatar
David Engster committed
1120 1121 1122 1123

	* emacs-lisp/eieio-opt.el: Remove require for `button' since it is
	always loaded.  Require `speedbar' unconditionally.

1124 1125
2012-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>

1126 1127
	* dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).

1128 1129
	* minibuffer.el (minibuffer-force-complete): Fix thinko.

1130 1131 1132
	* net/ldap.el (ldap-search-internal): The official ldif format starts
	with a "version: 1" header (bug#12724).

1133 1134 1135
	* emacs-lisp/package.el (package-installed-p): Warn if not ready
	(bug#12721).

Glenn Morris's avatar
Glenn Morris committed
1136 1137 1138 1139
2012-10-25  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/cl-macs.el (cl-progv): Doc fix.

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

	* minibuffer.el (minibuffer-force-complete): Use one more marker
	for the temporary-overlay-map command (bug#12619).

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

	* time.el (display-time-world-mode): Derive from special-mode.
	(display-time-world): Use display-buffer (Bug#12708).
	(display-time-world-mode-map): Variable deleted.
1150 1151
	(display-time-world-display): Wrap the final delete-char inside
	inhibit-read-only.
1152

1153 1154
2012-10-24  Chong Yidong  <cyd@gnu.org>

1155 1156 1157
	* dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
	Doc fix.

1158 1159
	* emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).

1160 1161 1162 1163 1164 1165 1166 1167 1168
2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion--all-sorted-completions-location): New var.
	(completion--cache-all-sorted-completions)
	(completion--flush-all-sorted-completions): Use it.
	(completion-in-region, completion-in-region--postch)
	(completion-at-point, completion-help-at-point): Use markers in
	completion-in-region--data (bug#12619).

1169 1170
2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>

1171 1172 1173
	* progmodes/compile.el (compilation-start): Try to handle common
	quoting of `cd' argument (bug#12640).

1174 1175 1176
	* vc/diff-mode.el (diff-hunk): `save-excursion' while refining
	(bug#12671).

1177 1178 1179 1180 1181
2012-10-23  Glenn Morris  <rgm@gnu.org>

	* progmodes/gud.el (gud-menu-map):
	Check gdb-active-process is bound.  (Bug#12358)

Stefan Monnier's avatar
Stefan Monnier committed
1182 1183
2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>

1184 1185
	* repeat.el (repeat): Set real-this-command (bug#12232).

Stefan Monnier's avatar
Stefan Monnier committed
1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199
	* htmlfontify.el (hfy-post-html-hook):
	* filesets.el (filesets-cache-fill-content-hook):
	* arc-mode.el (archive-extract-hook):
	* progmodes/cc-mode.el (c-prepare-bug-report-hook):
	* net/rcirc.el (rcirc-sentinel-functions)
	(rcirc-receive-message-functions, rcirc-activity-functions)
	(rcirc-print-functions):
	* net/dbus.el (dbus-event-error-functions):
	* emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
	* emacs-lisp/checkdoc.el (checkdoc-style-functions)
	(checkdoc-comment-style-functions): Don't use "-hooks" suffix.
	* term/sun.el (sun-raw-prefix-hooks):
	* mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.

1200 1201
2012-10-23  Michael Albinus  <michael.albinus@gmx.de>

Stefan Monnier's avatar
Stefan Monnier committed
1202 1203
	* net/tramp-smb.el (tramp-smb-maybe-open-connection):
	Set `tramp-chunksize' to 1.  This improves the performance.
1204 1205 1206
	(tramp-smb-wait-for-output): Add timeout to
	`tramp-accept-process-output' calls.

1207 1208
2012-10-23  Chong Yidong  <cyd@gnu.org>

1209 1210 1211 1212 1213
	* faces.el (font-list-limit): Define as an obsolete variable.

	* startup.el (command-line):
	* cus-start.el: Don't refer to font-list-limit.

1214 1215
	* newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).

1216 1217 1218 1219 1220
2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (internal-temp-output-buffer-show): Rename from
	temp-output-buffer-show, since previously compiled files expect this name.

1221 1222 1223 1224 1225
2012-10-23  Glenn Morris  <rgm@gnu.org>

	* image.el (image-type-from-file-name): If multiple types match,
	return the first one that is supported.  (Bug#9045)

1226 1227 1228 1229
2012-10-22  Glenn Morris  <rgm@gnu.org>

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

1230 1231 1232 1233 1234
2012-10-22  Takafumi Arakaki  <aka.tkf@gmail.com>  (tiny change)

	* progmodes/which-func.el (which-func-current): The hash-table may have
	an explicit nil (bug#12338).

1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248
2012-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* electric.el (electric-pair-delete-selection-self-insert-function):
	Rename to electric-pair-will-use-region, return a boolean.
	(electric-pair-mode): Adjust accordingly.  Don't require delsel.

	* delsel.el (delete-selection-helper): Use a function instead of a hook.
	(delete-selection-pre-hook): Use use-region-p.
	(delete-selection-self-insert-function): Remove.
	(self-insert-command): Obey self-insert-uses-region-functions.
	(self-insert-iso): Revert to previous setting, since we don't actually
	know what that command does.
	(delete-selection-self-insert-hooks): Remove.

1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263
2012-10-22  Simon Law  <sfllaw@sfllaw.ca>  (tiny change)

	* delsel.el (delete-selection-helper): New function, extracted from
	delete-selection-pre-hook.
	(delete-selection-pre-hook): Use it.
	(delete-selection-self-insert-function): New function.
	(delete-selection-self-insert-hooks): New hook.
	(self-insert-command, self-insert-iso): Use it.
	* electric.el (electric-pair-syntax): New function, extracted from
	electric-pair-post-self-insert-function.
	(electric-pair-post-self-insert-function): Use it.
	(electric-pair-delete-selection-self-insert-function): New function.
	(electric-pair-mode): Require delsel and setup
	delete-selection-self-insert-hooks (bug#11520).

Chong Yidong's avatar
Chong Yidong committed
1264 1265
2012-10-20  Chong Yidong  <cyd@gnu.org>

1266 1267 1268
	* vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
	no changes to show (Bug#12586).

Chong Yidong's avatar
Chong Yidong committed
1269 1270 1271
	* eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
	list explicitly (Bug#12571).

Chong Yidong's avatar
Chong Yidong committed
1272
2012-10-20  Arne Jørgensen  <arne@arnested.dk>
1273

1274 1275
	* progmodes/flymake.el (flymake-create-temp-inplace):
	Use file-truename.
1276

1277 1278 1279 1280
2012-10-20  Eli Zaretskii  <eliz@gnu.org>

	* loadup.el: Update comment about uncompiled Lisp files.  (Bug#12395)

1281 1282 1283 1284 1285
2012-10-20  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-units.el (math-extract-units): Properly extract powers
	of units.

1286