ChangeLog 386 KB
Newer Older
Glenn Morris's avatar
Glenn Morris committed
1 2
2012-02-09  Glenn Morris  <rgm@gnu.org>

3 4
	* files.el (rename-uniquely): Doc fix.  (Bug#3806)

Glenn Morris's avatar
Glenn Morris committed
5 6 7
	* progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
	Add :version tags.

Glenn Morris's avatar
Glenn Morris committed
8
	* progmodes/compile.el (compilation-first-column)
9
	(compilation-error-screen-columns, compilation-filter-start): Doc fixes.
Glenn Morris's avatar
Glenn Morris committed
10

Glenn Morris's avatar
Glenn Morris committed
11 12 13
	* vc/log-view.el (log-view-toggle-entry-display):
	* vc/vc.el (vc-merge, vc-pull): Doc fixes.

Glenn Morris's avatar
Glenn Morris committed
14 15 16 17 18
	* mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
	(report-emacs-bug-can-use-xdg-email):
	(report-emacs-bug-insert-to-mailer): Doc fixes.
	(report-emacs-bug): Message fix.

Glenn Morris's avatar
Glenn Morris committed
19 20 21
	* net/browse-url.el (browse-url-can-use-xdg-open)
	(browse-url-xdg-open): Doc fixes.

Glenn Morris's avatar
Glenn Morris committed
22 23 24 25
	* electric.el (electric-indent-mode, electric-pair-mode)
	(electric-layout-rules, electric-layout-mode): Doc fixes.
	(electric-pair-pairs, electric-pair-skip-self): Add :version tags.

26 27 28 29 30
2012-02-08  Martin Rudalics  <rudalics@gmx.at>

	* server.el (server-unselect-display): Don't inadvertently kill
	the current buffer.  (Bug#10729)

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

33 34 35
	* progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
	(sql-list-table): Doc fixes.

36 37 38
	* image-mode.el (image-transform-minor-mode-map, image-transform-mode):
	Comment out (does nothing).

39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
	* completion.el (dynamic-completion-mode):
	* dirtrack.el (dirtrack-debug-mode):
	* electric.el (electric-layout-mode):
	* epa-mail.el (epa-mail-mode, epa-global-mail-mode):
	* face-remap.el (text-scale-mode, buffer-face-mode):
	* iimage.el (iimage-mode):
	* image-mode.el (image-transform-mode):
	* minibuffer.el (completion-in-region-mode):
	* scroll-lock.el (scroll-lock-mode):
	* simple.el (next-error-follow-minor-mode):
	* tar-mode.el (tar-subfile-mode):
	* tooltip.el (tooltip-mode):
	* vcursor.el (vcursor-use-vcursor-map):
	* wid-browse.el (widget-minor-mode):
	* emulation/tpu-edt.el (tpu-edt-mode):
	* emulation/tpu-extras.el (tpu-cursor-free-mode):
	* international/iso-ascii.el (iso-ascii-mode):
	* language/thai-util.el (thai-word-mode):
	* mail/supercite.el (sc-minor-mode):
	* net/goto-addr.el (goto-address-mode):
	* net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
	* progmodes/cwarn.el (cwarn-mode):
	* progmodes/flymake.el (flymake-mode):
	* progmodes/glasses.el (glasses-mode):
	* progmodes/hideshow.el (hs-minor-mode):
	* progmodes/pascal.el (pascal-outline-mode):
	* textmodes/enriched.el (enriched-mode):
	* vc/smerge-mode.el (smerge-mode):
	Doc fixes (minor mode argument).

69 70 71 72 73 74
2012-02-07  Eli Zaretskii  <eliz@gnu.org>

	* ls-lisp.el (ls-lisp-sanitize): New function.
	(ls-lisp-insert-directory): Use it to fix or remove any elements
	in file-alist with missing attributes.  (Bug#4673)

75 76 77 78 79 80 81
2012-02-07  Alan Mackenzie  <acm@muc.de>

	Fix spurious recognition of c-in-knr-argdecl.

	* progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
	putative K&R region.

82 83 84 85 86
2012-02-07  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-engine.el (c-forward-objc-directive): Prevent
	looping in "#pragma mark @implementation".

87 88 89 90 91
2012-02-07  Michael Albinus  <michael.albinus@gmx.de>

	* notifications.el (notifications-on-closed-signal): Make `reason'
	optional.  (Bug#10744)

Glenn Morris's avatar
Glenn Morris committed
92 93
2012-02-07  Glenn Morris  <rgm@gnu.org>

94 95 96
	* emacs-lisp/easy-mmode.el (define-minor-mode):
	Doc fixes for the macro and the mode it defines.

Glenn Morris's avatar
Glenn Morris committed
97 98
	* image.el (imagemagick-types-inhibit): Doc fix.

Glenn Morris's avatar
Glenn Morris committed
99 100
	* cus-start.el (imagemagick-render-type): Add it.

101 102 103 104 105 106 107 108
2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>

	* progmodes/cc-mode.el
	(c-standard-font-lock-fontify-region-function): Set the default at
	load time, too, so that `font-lock-fontify-buffer' can be called
	without setting up the entire mode first.  This fixes a bug in
	`mm-inline-text' with C MIME parts.

109 110
2012-02-06  Chong Yidong  <cyd@gnu.org>

111 112 113
	* simple.el (list-processes--refresh): Delete exited processes
	(Bug#8094).

114 115 116
	* comint.el (comint-next-prompt): next-single-char-property-change
	and prev-single-char-property-change never return nil (Bug#8657).

117 118
	* custom.el (defcustom): Doc fix (Bug#9711).

119 120
2012-02-05  Chong Yidong  <cyd@gnu.org>

121 122
	* cus-edit.el (custom-variable-reset-backup): Quote the value
	before storing it in the customized-value property (Bug#6712).
123
	(custom-display): Add a customization type tag.
124
	(custom-buffer-create-internal): Improve tooltip message.
125

126 127 128 129
	* wid-edit.el (widget-field-value-get): New optional arg to
	suppress trailing whitespace truncation.
	(character): Use it (Bug#2689).

130 131 132 133 134
2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>

	* progmodes/gud.el (gud-pv): Use pv instead of pv1.
	* progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.

135 136
2012-02-05  Chong Yidong  <cyd@gnu.org>

137 138 139
	* cus-edit.el (custom-variable-value-create): For mismatched
	types, show the current value (Bug#7600).

140 141
	* custom.el (defcustom): Doc fix.

142 143 144 145
2012-02-05  Glenn Morris  <rgm@gnu.org>

	* font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.

146 147 148 149 150 151
2012-02-05  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
	(pp-buffer): Use `ignore-errors', `looking-at-p'.
	(pp-last-sexp): Use `looking-at-p'.

152 153
2012-02-04  Glenn Morris  <rgm@gnu.org>

154 155 156
	* files.el (revert-buffer):
	Doc fix (mention revert-buffer-in-progress-p).

Glenn Morris's avatar
Glenn Morris committed
157 158 159
	* emacs-lisp/ert-x.el (ert-simulate-command):
	Check deferred-action-list (which is obsolete) is bound.

160 161
	* subr.el (with-wrapper-hook): Doc fixes.

162 163 164
	* simple.el (filter-buffer-substring-functions)
	(buffer-substring-filters, filter-buffer-substring): Doc fixes.

165 166 167 168 169
2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)

	* eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
	anywhere in shell-file-name, not just at the beginning.  (Bug#10523)

Leo Liu's avatar
Leo Liu committed
170 171 172 173
2012-02-04  Leo Liu  <sdl.web@gmail.com>

	* emacs-lisp/smie.el: Fix dead link (Bug#10711).

174 175
2012-02-04  Glenn Morris  <rgm@gnu.org>

176 177
	* image.el (image-extension-data): Add obsolete alias.

178 179
	* isearch.el (isearch-update): Doc fix.

180 181
	* facemenu.el (list-colors-display): Doc fix (minor rephrasing).

182 183
	* ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).

Glenn Morris's avatar
Glenn Morris committed
184 185 186 187 188 189 190
2012-02-03  Glenn Morris  <rgm@gnu.org>

	* image.el (image-animated-p): Doc fix.  Use image-animated-types.
	(image-animate-timeout): Doc fix.

	* image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.

191 192
2012-02-02  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
193 194 195
	* server.el (server-auth-dir): Doc fix.
	(server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.

196 197
	* subr.el (run-mode-hooks): Doc fix.

198 199 200 201 202
2012-02-02  Juri Linkov  <juri@jurta.org>

	* image-mode.el (image-toggle-display-image): Remove tautological
	`major-mode' from the `derived-mode-p' test.

203 204
2012-02-02  Kenichi Handa  <handa@m17n.org>

205
	* composite.el (compose-region): Cancel previous change.
206

Kenichi Handa's avatar
Kenichi Handa committed
207
2012-02-02  Kenichi Handa  <handa@m17n.org>
208 209 210 211

	* composite.el (compose-region, compose-string): Signal error for
	a null string component (Bug#6988).

212 213
2012-02-01  Chong Yidong  <cyd@gnu.org>

214 215 216 217
	* view.el (view-buffer-other-window, view-buffer-other-frame):
	Handle special modes like view-buffer (Bug#10650).
	(view-buffer): Simplify.

218 219
	* frame.el (set-frame-font): Tweak meaning of third argument.

220 221
	* dynamic-setting.el (font-setting-change-default-font):
	Use set-frame-font (Bug#9982).
222

223 224
2012-02-01  Glenn Morris  <rgm@gnu.org>

225 226 227
	* progmodes/compile.el (compilation-internal-error-properties):
	Respect compilation-first-column in the "*compilation*" buffer.

228 229 230
	* emacs-lisp/easy-mmode.el (define-minor-mode):
	Relax :variable's test for a named function.

231 232 233 234 235
2012-01-31  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
	off by one error.

236 237 238 239 240 241 242 243 244
2012-01-31  Chong Yidong  <cyd@gnu.org>

	* frame.el (set-frame-font): New arg ALL-FRAMES.

	* menu-bar.el (menu-set-font): Use set-frame-font.

	* faces.el (face-spec-reset-face): Don't apply unspecified
	attribute values to the default face.

245 246 247 248 249 250 251 252 253
2012-01-31  Juanma Barranquero  <lekktu@gmail.com>

	* progmodes/cwarn.el (cwarn): Remove dead link.
	(cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
	Remove * from defcustom docstrings.
	(turn-on-cwarn-mode): Make obsolete.
	(c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
	(turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.

254 255
2012-01-31  Glenn Morris  <rgm@gnu.org>

256
	* emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
257
	Fix :variable handling of mode a symbol not equal to modefun.
258
	Allow named functions to be used as the cdr of :variable.
259

Glenn Morris's avatar
Glenn Morris committed
260 261 262 263 264
2012-01-30  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/authors.el (authors-fixed-entries):
	Remove reference to deleted file rnewspost.el.

265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281
2012-01-29  Juanma Barranquero  <lekktu@gmail.com>

	* window.el (window-with-parameter): Remove unused variable `windows'.
	(window--side-check): Remove unused variable `code'.
	(window--resize-siblings): Remove unused variable `first'.
	(adjust-window-trailing-edge): Remove unused variable `failed'.
	(window-deletable-p, window--delete): Remove unused variable `buffer'.
	Use `let', not `let*'.
	(balance-windows-2): Remove unused variable `found'.
	(window--state-put-2): Remove unused variable `splits'.
	(window-state-put): Remove unused variable `selected'.
	(same-window-p): Use `string-match-p'.
	(display-buffer-assq-regexp): Remove unused variable `value'.
	(display-buffer-pop-up-frame, display-buffer-pop-up-window):
	Mark argument ALIST as ignored.
	(pop-to-buffer): Remove unused variable `old-window'.

282 283 284 285 286
2012-01-29  Eli Zaretskii  <eliz@gnu.org>

	* jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
	and .lzma compressed files.

287 288
2012-01-29  Chong Yidong  <cyd@gnu.org>

289 290
	* frame.el (window-system-default-frame-alist): Doc fix.

291 292 293
	* dynamic-setting.el (font-setting-change-default-font): Don't
	change the default face if SET-FONT argument is non-nil (Bug#9982).

294 295 296 297
2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)

	* custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).

298
2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
Syver Enstad's avatar
Syver Enstad committed
299 300 301 302

	* progmodes/gud.el (pdb): Give pdb full paths, to allow setting
	breakpoints in files outside current directory (Bug#6098).

303 304
2012-01-29  Chong Yidong  <cyd@gnu.org>

Syver Enstad's avatar
Syver Enstad committed
305 306
	* progmodes/python.el: Require ansi-color at top-level.

Juanma Barranquero's avatar
Juanma Barranquero committed
307 308
	* emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
	Define and use in Emacs Lisp mode (Bug#9360).
309 310 311 312
	(lisp-mode-abbrev-table): Add doc.
	(lisp-mode-variables): Don't set local-abbrev-table.
	(lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.

313 314 315 316
2012-01-28  Roland Winkler  <winkler@gnu.org>

	* textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.

317 318 319 320 321 322 323 324 325 326 327 328 329 330 331
2012-01-28  Roland Winkler  <winkler@gnu.org>

	* textmodes/bibtex.el (bibtex-entry-alist): New function.
	(bibtex-set-dialect): Use it.  Either set global values of
	dialect-dependent variables or bind these variables buffer-locally
	(Bug#10254).
	(bibtex-mode): Call bibtex-set-dialect via
	hack-local-variables-hook.
	(bibtex-dialect): Update docstring.  Add
	safe-local-variable predicate.
	(bibtex-entry-alist, bibtex-field-alist): Initialize via
	bibtex-set-dialect.
	(bibtex-mode-map): Define menu for each dialect.
	(bibtex-entry): Fix docstring.

332 333 334 335 336 337 338 339
2012-01-28  Chong Yidong  <cyd@gnu.org>

	* eshell/esh-arg.el (eshell-quote-argument): New function.

	* eshell/esh-ext.el (eshell-invoke-batch-file):
	* eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
	first arg to eshell-parse-command (Bug#10523).

340 341 342 343 344
2012-01-28  Drew Adams  <drew.adams@oracle.com>

	* net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
	`default-directory' is non-nil.

345 346 347 348 349
2012-01-28  Eli Zaretskii  <eliz@gnu.org>

	* mail/emacsbug.el (report-emacs-bug): Fill the potentially long
	line that displays system-configuration-options.  (Bug#9924)

350 351 352 353 354 355 356 357
2012-01-28  Drew Adams  <drew.adams@oracle.com>

	* descr-text.el (describe-char): Show information about POS, in
	addition to information about the character at POS.  Improve and
	update the doc string.  Change "code point" to "code point in
	charset", to avoid confusion with the character's Unicode code
	point shown above that.  (Bug#10129)

358 359 360 361 362 363 364
2012-01-28  Eli Zaretskii  <eliz@gnu.org>

	* descr-text.el (describe-char): Show the raw character, not only
	its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
	See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
	for the reasons.

365 366 367
2012-01-28  Phil Hagelberg  <phil@hagelb.org>

	* emacs-lisp/package.el (package-install): Run
Chong Yidong's avatar
Chong Yidong committed
368
	package-refresh-contents if there is no archive yet (Bug#9798).
369

370 371
2012-01-28  Chong Yidong  <cyd@gnu.org>

372 373
	* emacs-lisp/package.el (package-maybe-load-descriptor):
	New function, split from package-maybe-load-descriptor.
374 375 376 377 378
	(package-maybe-load-descriptor): Use it.
	(package-download-transaction): Fully load required packages
	inside the loop, so that `require' calls work (Bug#10593).
	(package-install): No need to call package-initialize now.

379 380
2012-01-28  Chong Yidong  <cyd@gnu.org>

381 382
	* simple.el (deactivate-mark): Doc fix (Bug#8614).

383 384 385
	* tooltip.el (tooltip-mode): Doc fix.
	(tooltip-use-echo-area): Mark as obsolete (Bug#6595).

386 387
	* frame.el (set-cursor-color): Doc fix (Bug#352).

388 389 390
	* mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
	(rmail-mail-return): Switch to NEWBUF only if it is non-nil.

391 392
	* cus-edit.el (custom-buffer-create-internal): Fix search button
	action (Bug#10542).
393
	(customize-unsaved, customize-saved): Doc fix (Bug#10541).
394

395 396 397 398 399
2012-01-27  Eduard Wiebe  <usenet@pusto.de>

	* dired.el (dired-mark-files-regexp):
	Include any subdirectory components.  (Bug#10445)

Mike Lamb's avatar
Mike Lamb committed
400 401 402 403 404
2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)

	* pcmpl-unix.el (pcmpl-ssh-known-hosts):
	Handle [host]:port syntax.  (Bug#10533)

405 406 407 408
2012-01-27  Alex Harsanyi  <harsanyi@mac.com>

	* xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).

409 410 411 412 413 414
2012-01-26  Glenn Morris  <rgm@gnu.org>

	* dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
	* term.el (term-raw-escape-map): Use Control-X-prefix.
	* vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)

415 416 417 418 419
2012-01-25  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-state-get, window--state-get-1): Don't deal
	with fixed-sizeness of windows.  Simplify code.

420 421
2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
422 423
	* window.el (window--state-get-1, window--state-put-2):
	Don't save and restore the mark.
424

425 426 427 428
2012-01-25  Chong Yidong  <cyd@gnu.org>

	* custom.el (custom-variable-p): Doc fix.

429 430
2012-01-25  Glenn Morris  <rgm@gnu.org>

431 432 433
	* dired.el (dired-goto-file): Handle some of the more common
	characters that `ls -b' escapes.  (Bug#10596)

Glenn Morris's avatar
Glenn Morris committed
434 435 436 437
	* progmodes/compile.el (compilation-next-error-function):
	Respect compilation-first-column in the "*compilation*" buffer.
	* progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)

438 439
	* vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)

440 441 442 443
2012-01-24  Glenn Morris  <rgm@gnu.org>

	* pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)

444 445 446 447 448 449 450 451 452
2012-01-24  Julien Danjou  <julien@danjou.info>

	* color.el (color-rgb-to-hsl): Fix value computing.
	(color-hue-to-rgb): New function.
	(color-hsl-to-rgb): New function.
	(color-clamp, color-saturate-hsl, color-saturate-name)
	(color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
	(color-lighten-name, color-darken-hsl, color-darken-name): New function.

453 454 455 456 457 458
2012-01-24  Glenn Morris  <rgm@gnu.org>

	* vc/vc-rcs.el (vc-rcs-create-tag):
	* vc/vc-sccs.el (vc-sccs-create-tag):
	Fix argument spec to be what vc-create-tag expects.  (Bug#10515)

459 460 461 462 463
2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)

	* eshell/esh-util.el (eshell-read-hosts-file):
	Skip comment lines.  (Bug#10549)

464 465
	* eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)

466 467
2012-01-23  Juanma Barranquero  <lekktu@gmail.com>

468 469 470 471
	* subr.el (display-delayed-warnings): Doc fix.
	(collapse-delayed-warnings): New function to collapse identical
	adjacent warnings.
	(delayed-warnings-hook): Add it.
472

473 474 475 476 477 478 479 480 481 482 483 484
2012-01-22  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-action-login): Set connection property "login-as".

	* net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
	properties, when "login-as" is set.

	* net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
	(tramp-default-user-alist): Don't add "pscp".
	(tramp-do-copy-or-rename-file-out-of-band): Use connection
	property "login-as", if set.  (Bug#10530)

485 486 487 488 489 490
2012-01-21  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
	"plink1" and "psftp".  (Bug#10530)

2012-01-21  Kenichi Handa  <handa@m17n.org>
491 492 493 494 495

	* international/mule-cmds.el (prefer-coding-system): Show a
	warning message if the default value of file-name-coding-system
	was not changed.

496 497
2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>

498 499
	* windmove.el (windmove-reference-loc):
	Fix windmove-reference-loc miscalculation.
500

501 502 503 504 505
2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-units.el (math-put-default-units): Don't use "1" as a
	default unit.

Glenn Morris's avatar
Glenn Morris committed
506 507
2012-01-21  Glenn Morris  <rgm@gnu.org>

508 509
	* international/mule.el (auto-coding-alist): Add .tbz.

Glenn Morris's avatar
Glenn Morris committed
510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530
	* files.el (local-enable-local-variables): Doc fix.
	(inhibit-local-variables-regexps): Rename from
	inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
	Doc fix.  Add some extensions from auto-coding-alist.
	(inhibit-local-variables-suffixes):
	Rename from inhibit-first-line-modes-suffixes.  Doc fix.
	(inhibit-local-variables-p):
	New function, extracted from set-auto-mode-1.
	(set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
	(set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
	(hack-local-variables): Doc fix.  Make the mode-only case
	respect enable-local-variables and friends.
	Respect inhibit-local-variables-regexps for file-locals, but
	not for directory-locals.
	(set-visited-file-name):
	Take account of inhibit-local-variables-regexps.
	Whether it applies may change as the file name is changed.
	* jka-cmpr-hook.el (jka-compr-install):
	* jka-compr.el (jka-compr-uninstall):
	Update for inhibit-first-line-modes-suffixes name change.

531 532 533 534 535
2012-01-20  Martin Rudalics  <rudalics@gmx.at>

	* help-macro.el (make-help-screen): Temporarily restore original
	binding for minor-mode-map-alist (Bug#10454).

536 537 538 539 540 541
2012-01-19  Julien Danjou  <julien@danjou.info>

	* color.el (color-name-to-rgb): Use the white color to find the max
	color component value and return correctly computed values.
	(color-name-to-rgb): Add missing float conversion for max value.

542 543 544 545 546 547 548 549
2012-01-19  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window--state-get-1, window-state-get): Do not use
	special state value for window-persistent-parameters.  Rename
	argument IGNORE to WRITABLE.  Rewrite doc-string.
	(window--state-put-2): Reset all window parameters to nil before
	assigning values of persistent parameters.

Alan Mackenzie's avatar
Alan Mackenzie committed
550 551 552 553 554
2012-01-18  Alan Mackenzie  <acm@muc.de>

	Eliminate sluggishness and hangs in fontification of "semicolon
	deserts".

555 556
	* progmodes/cc-engine.el (c-state-nonlit-pos-interval):
	Change value 10000 -> 3000.
Alan Mackenzie's avatar
Alan Mackenzie committed
557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573
	(c-state-safe-place): Reformulate so it doesn't stack up an
	infinite number of wrong entries in c-state-nonlit-pos-cache.
	(c-determine-limit-get-base, c-determine-limit): New functions to
	determine backward search limits disregarding literals.
	(c-find-decl-spots): Amend commenting.
	(c-cheap-inside-bracelist-p): New function which detects "={".

	* progmodes/cc-fonts.el
	(c-make-font-lock-BO-decl-search-function): Give a limit to a
	backward search.
	(c-font-lock-declarations): Fix an occurrence of point being
	undefined.  Check additionally for point being in a bracelist or
	near a macro invocation without a semicolon so as to avoid a
	fruitless time consuming search for a declarator.  Give a more
	precise search limit for declarators using the new
	c-determine-limit.

Glenn Morris's avatar
Glenn Morris committed
574 575 576 577 578
2012-01-18  Glenn Morris  <rgm@gnu.org>

	* files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
	(set-auto-mode): Doc fixes.

579 580
2012-01-17  Glenn Morris  <rgm@gnu.org>

581 582
	* isearch.el (search-nonincremental-instead): Fix doc typo.

583 584 585
	* dired.el (dired-insert-directory): Handle newlines in directory name.
	(dired-build-subdir-alist): Unescape newlines in directory name.

586 587 588 589 590 591
2012-01-17  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-local-end-of-line): New defcustom.
	(tramp-action-login, tramp-action-yesno, tramp-action-yn)
	(tramp-action-terminal): Use it.  (Bug#10530)

592 593 594 595
2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion--replace): Strip properties (bug#10062).

596 597 598 599 600 601 602 603 604
2012-01-16  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-state-ignored-parameters): Remove variable.
	(window--state-get-1): Rename argument MARKERS to IGNORE.
	Handle persistent window parameters.  Make copy of clone-of
	parameter only if requested.  (Bug#10348)
	(window--state-put-2): Install a window parameter only if it has
	a non-nil value or an existing parameter shall be overwritten.

605 606 607 608
2012-01-15  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.

609 610 611 612 613
2012-01-14  Eli Zaretskii  <eliz@gnu.org>

	* info.el (Info-toc-build): If the Info file has no "Up" pointer,
	don't pass the (nil) value of `upnode' to string-match.

614 615 616
2012-01-14  Chong Yidong  <cyd@gnu.org>

	* startup.el (command-line): Fix X resource class for cursorColor.
617
	Fix values recognized by the cursorBlink resource.
618

619 620 621 622 623
2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>

	* epg.el (epg--make-temp-file): Avoid permission race condition
	when running on old Emacs versions (bug#10403).

624 625 626 627
2012-01-14  Glenn Morris  <rgm@gnu.org>

	* dired.el (dired-get-filename): Fix 'verbatim case of previous change.

Alan Mackenzie's avatar
Alan Mackenzie committed
628 629 630 631 632 633 634 635 636 637 638
2012-01-13  Alan Mackenzie  <acm@muc.de>

	Fix filling for when filladapt mode is enabled.

	* progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
	c-mask-paragraph, pass in `fill-paragraph' rather than
	`fill-region-as-paragraph'.  (This is a reversion of a previous
	change.)
	* progmodes/cc-mode.el (c-basic-common-init): Make
	fill-paragraph-handle-comment buffer local and set it to nil.

639 640
2012-01-13  Glenn Morris  <rgm@gnu.org>

641 642 643 644
	* dired.el (dired-switches-escape-p): New function.
	(dired-insert-directory): Use dired-switches-escape-p.
	(dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)

645 646
	* find-dired.el (find-ls-option): Doc fix.  (Bug#10262)

647 648 649 650 651
2012-01-12  Glenn Morris  <rgm@gnu.org>

	* mail/sendmail.el (mail-mode): Update paragraph-separate for
	changes in adaptive-fill-regexp.  (Bug#10276)

652 653 654 655
2012-01-11  Alan Mackenzie  <acm@muc.de>

	Fix Emacs bug #10463 - put `widen's around the critical spots.

656
	* progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
657 658 659
	widen around each invocation of c-state-pp-to-literal.  Remove an
	unused let variable.

660 661 662
2012-01-11  Glenn Morris  <rgm@gnu.org>

	* dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
663
	Doc fix.
664

665 666
2012-01-10  Chong Yidong  <cyd@gnu.org>

667 668
	* net/network-stream.el (network-stream-open-starttls):
	Avoid emitting a confusing error message when the server gives a bad
669 670
	response to the capability command.

671 672 673 674
2012-01-10  Glenn Morris  <rgm@gnu.org>

	* mail/unrmail.el (unrmail): Tweak previous change.

675 676 677 678
2012-01-09  Chong Yidong  <cyd@gnu.org>

	* custom.el (custom-safe-themes): Use SHA-256 for hashing.

679 680 681 682 683 684 685 686 687
2012-01-08  Alan Mackenzie  <acm@muc.de>

	Optimise font locking in long enum definitions.

	* progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
	arm to a cond form to handle enums.
	* progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
	* progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.

Paul Eggert's avatar
Paul Eggert committed
688
2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
689 690

	* files.el (move-file-to-trash): Preserve default file modes on error.
Paul Eggert's avatar
Paul Eggert committed
691
	(Bug#10401)
692

693 694
2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>

695 696 697
	* faces.el (set-face-attribute): Clarify the meaning of the nil
	frame (bug#10294).

698 699 700
	* subr.el (with-selected-frame): Mention that the selected frame
	is restored (bug#9980).

701 702 703
	* ibuffer.el (ibuffer-mode): List the bindings in the corrent map
	(bug#9759).

Juanma Barranquero's avatar
Juanma Barranquero committed
704
	* mail/smtpmail.el (password-cache-add): Remove unused declaration.
705 706
	(password-read): Don't autoload unused function.

707 708 709 710 711
2012-01-07  Juanma Barranquero  <lekktu@gmail.com>

	* progmodes/which-func.el (which-func-mode): Turn into a
	non-interactive function and mark as obsolete (bug#10428).

712 713 714 715 716 717
2012-01-06  Chong Yidong  <cyd@gnu.org>

	* files.el (hack-dir-local-variables-non-file-buffer): Add doc.
	(hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
	functions, along with 1 and -1.

718 719 720 721 722 723 724 725
2012-01-06  Eli Zaretskii  <eliz@gnu.org>

	* time.el (display-time-load-average)
	(display-time-default-load-average): Doc fixes.  See the thread
	starting at
	http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
	for the details.

726 727
2012-01-06  Glenn Morris  <rgm@gnu.org>

728 729 730
	* mail/unrmail.el (unrmail): Give an explicit error if the input file
	has no messages.  (Bug#10377)

731 732 733
	* info.el (Info-mode-map): Bind e to end-of-buffer, rather
	than Info-edit.  (Bug#10385)

Glenn Morris's avatar
Glenn Morris committed
734 735 736
	* time.el (display-time-load-average, display-time-next-load-average):
	Doc fixes.

737 738 739
	* emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
	local setting of buffer-read-only to the input buffer.  (Bug#10419)

740 741 742
	* calendar/calendar.el (calendar-mode):
	Locally set scroll-margin to 0.  (Bug#10379)

743 744 745 746
2012-01-06  Ulrich Mueller  <ulm@gentoo.org>

	* play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)

747 748 749 750 751
2012-01-05  Glenn Morris  <rgm@gnu.org>

	* eshell/em-unix.el (diff-no-select): Autoload it.
	(eshell/diff): Use diff-no-select.  (Bug#10420)

752 753
2012-01-05  Chong Yidong  <cyd@gnu.org>

754 755 756 757 758
	* shell.el (shell-dynamic-complete-functions): Revert last change.
	(shell-command-completion-function): New function.
	(shell-completion-vars): Use it to implement
	shell-completion-execonly (Bug#10417).

759 760
	* custom.el (enable-theme): Don't set custom-safe-themes.

761 762
	* cus-theme.el (custom-theme-merge-theme):
	Ignore custom-enabled-themes and custom-safe-themes.
763

764 765 766 767 768
2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>

	* progmodes/sql.el (sql-login-hook): Add hook to respond to the
	first prompt in `sql-interacive-mode'.
	(sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
769
	keywords.
Juanma Barranquero's avatar
Juanma Barranquero committed
770
	(sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
771 772 773
	(sql-product-interactive): Bug fix: Set `sql-buffer' in
	context of original buffer.  Invoke `sql-login-hook'.

774 775 776 777 778
2012-01-04  Eli Zaretskii  <eliz@gnu.org>

	* mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
	letters in cite-prefix.

779 780 781 782
2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.

783 784
2012-01-03  Chong Yidong  <cyd@gnu.org>

785 786
	* shell.el (shell-dynamic-complete-functions):
	Put pcomplete-completions-at-point, so as to try
787 788
	comint-filename-completion first (Bug#10417).

789 790 791 792 793 794 795 796
2012-01-02  Richard Stallman  <rms@gnu.org>

	* battery.el (battery-status-function):
	Detect when to use battery-yeeloong-sysfs.
	(battery-echo-area-format): Add string for Yeeloong.
	(battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
	(battery-yeeloong-sysfs): New function.

797 798 799 800 801 802 803 804 805 806 807 808
2012-01-02  Chong Yidong  <cyd@gnu.org>

	* dirtrack.el (dirtrack-list): Eliminate unused third element.
	(dirtrack): Merge code for handling relative filenames in prompt
	from shell-dir-cookie-watcher.
	(dirtrack-debug-message): New arg to avoid excess format calls.

	* shell.el (shell-dir-cookie-re): Variable deleted.
	(shell-dir-cookie-watcher): Function deleted.
	(shell-mode): Don't use shell-dir-cookie-re, since it is redundant
	with dirtrack-mode.

809 810
2012-01-01  Eli Zaretskii  <eliz@gnu.org>

811 812
	* term/w32-win.el (dynamic-library-alist) <gnutls>:
	Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
813 814
	libgnutls-26.dll.

815 816 817 818
2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>

	* emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.

819 820 821 822 823
2011-12-31  Eli Zaretskii  <eliz@gnu.org>

	* mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
	headers of non-MIME messages, when rmail-enable-mime is non-nil.

824 825 826 827 828 829 830 831 832
2011-12-29  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
	also for alternative shells.
	(tramp-open-connection-setup-interactive-shell): Check, whether
	the shell is a busybox.
	(tramp-send-command): Don't suppress multiple prompts for
	busyboxes, it hurts.

833 834 835 836 837 838
2011-12-28  Chong Yidong  <cyd@gnu.org>

	* progmodes/gdb-mi.el (gdb-get-source-file-list)
	(gdb-get-source-file): Move mode line update to
	gdb-get-source-file (Bug#10087).

Chong Yidong's avatar
Chong Yidong committed
839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855
2011-12-25  Chong Yidong  <cyd@gnu.org>

	* progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
	gud-gdb-marker-filter without taking it as an argument.
	(gud-gdb-run-command-fetch-lines): Caller changed.
	(gud-gdb-completion-function): New variable.
	(gud-gdb-completion-at-point): Use it.
	(gud-gdb-completions-1): Split from gud-gdb-completions.

	* progmodes/gdb-mi.el (gdb-input): Accept command and handler
	function as separate arguments.
	(gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
	(gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
	(gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
	(gdb-var-delete-children, gdb-edit-value, gdb-var-update)
	(gdb-stopped, def-gdb-auto-update-trigger)
	(gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
Juanma Barranquero's avatar
Juanma Barranquero committed
856 857
	(gdb-get-changed-registers, gdb-get-main-selected-frame):
	Callers changed.
Chong Yidong's avatar
Chong Yidong committed
858 859 860
	(gud-gdbmi-completions): New function.
	(gdb): Use it for generating the completion table.

861 862 863
2011-12-24  Alan Mackenzie  <acm@muc.de>

	Introduce a mechanism to widen the region used in context font
864
	locking.  Use this to protect declarations from losing their contexts.
865

866 867
	* progmodes/cc-langs.el (c-before-font-lock-functions):
	Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
Juanma Barranquero's avatar
Juanma Barranquero committed
868
	(c-before-context-fontification-functions): New defvar, a list of
869 870 871
	functions to be run just before context (etc.) font locking.

	* progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
Juanma Barranquero's avatar
Juanma Barranquero committed
872
	New, functionality extracted from
873
	c-neutralize-syntax-in-and-mark-CPP.
Juanma Barranquero's avatar
Juanma Barranquero committed
874
	(c-in-after-change-fontification): New variable.
875 876 877
	(c-after-change): Set c-in-after-change-fontification.
	(c-set-fl-decl-start): Rejig its interface, so it can be called
	from both after-change and context fontifying.
Juanma Barranquero's avatar
Juanma Barranquero committed
878 879 880 881
	(c-change-set-fl-decl-start, c-context-set-fl-decl-start):
	New functions.
	(c-standard-font-lock-fontify-region-function): New variable.
	(c-font-lock-fontify-region): New function.
882

883 884 885 886 887
2011-12-24  Juri Linkov  <juri@jurta.org>

	* window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
	(Bug#10348)

888 889 890 891 892
2011-12-23  Michael Albinus  <michael.albinus@gmx.de>

	* net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
	existence of source file.  (Bug#10325)

893 894 895 896
2011-12-23  Alan Mackenzie  <acm@muc.de>

	Fix unstable fontification inside templates.

Juanma Barranquero's avatar
Juanma Barranquero committed
897 898
	* progmodes/cc-langs.el (c-before-font-lock-functions):
	Newly created from the singular version.  The (c c++ objc) entry now
899 900 901
	additionally has c-set-fl-decl-start.  The other languages (apart
	from AWK) have that as a single entry.

Juanma Barranquero's avatar
Juanma Barranquero committed
902 903
	* progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
	The functionality for "local" declarations has been extracted to
904 905
	c-set-fl-decl-start.

Juanma Barranquero's avatar
Juanma Barranquero committed
906 907
	* progmodes/cc-mode.el (c-common-init, c-after-change):
	Changes due to pluralisation of c-before-font-lock-functions.
908 909 910
	(c-set-fl-decl-start): New function, extracted from
	c-font-lock-enclosing-decls and enhanced.

911 912 913 914
2011-12-23  Juanma Barranquero  <lekktu@gmail.com>

	* desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).

915 916 917 918
2011-12-22  Juri Linkov  <juri@jurta.org>

	* progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)

919 920 921 922
2011-12-22  Chong Yidong  <cyd@gnu.org>

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

923 924 925 926
2011-12-21  Drew Adams  <drew.adams@oracle.com>

	* files.el (file-remote-p): Fix docstring.  (Bug#10319)

927 928 929 930
2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>

	* battery.el (battery-linux-sysfs): Add missing parameters from acpi.

931 932
2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>

933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951
	* progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
	highlighting and support.  Fix up comments for capitalization.
	(cfengine-mode-debug): New var.
	(cfengine3-mode): Change the modeline indicator to "CFE3".
	(cfengine3-font-lock-keywords): Improve defun highlighting.
	(cfengine2-actions): Rename from `cfengine-actions'.
	(cfengine2-font-lock-keywords): Rename from
	`cfengine-font-lock-keywords'.
	(cfengine2-imenu-expression): Rename from
	`cfengine-imenu-expression'.
	(cfengine2-outline-level): Rename from `cfengine-outline-level'.
	(cfengine2-beginning-of-defun): Rename from
	`cfengine-beginning-of-defun'.
	(cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
	(cfengine2-indent-line): Rename from `cfengine-indent-line'.
	(cfengine2-mode): Rename from `cfengine-mode'.  Change the
	modeline indicator to "CFE2".
	(cfengine-mode): Defalias to `cfengine-auto-mode'.
	(cfengine-mode-abbrevs): Mark obsolete.
952

953 954 955 956 957
2011-12-21  Chong Yidong  <cyd@gnu.org>

	* vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
	filename argument.

958 959 960 961 962
2011-12-20  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-normalize-buffer-to-display): Remove.
	(display-buffer): Handle buffer-or-name argument as in Emacs 23.

963 964 965 966 967 968 969 970 971 972
2011-12-19  Chong Yidong  <cyd@gnu.org>

	* vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
	Don't signal an error in a predicate function; return non-nil.
	(vc-dir-mark-file): Move the error here.
	(vc-dir-mark-unmark): If acting on the region, keep going if one
	of the entries cannot be marked/unmarked.
	(vc-dir-mark-all-files): If current entry is a directory, mark
	only child files, as documented.

973 974 975 976 977 978
2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	* ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
	branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
	addition.

979 980 981 982
2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>

	* term/ns-win.el (ns-get-selection-internal)
	(ns-store-selection-internal): Declare.
Juanma Barranquero's avatar
Juanma Barranquero committed
983 984 985 986 987 988
	(ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
	Declare as obsolete.
	(ns-get-pasteboard, ns-paste-secondary):
	Use ns-get-selection-internal.
	(ns-set-pasteboard,  ns-copy-including-secondary):
	Use ns-store-selection-internal.
989

990
2011-12-17  Chong Yidong  <cyd@gnu.org>
991 992

	* vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
993
	(vc-deduce-fileset): Doc fix.
994

995 996 997 998
2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>

	* calc/calc-misc.el (calc-help): Avoid wrapping help message.

999 1000 1001 1002 1003
2011-12-13  Sam Steingold  <sds@gnu.org>

	* man.el (Man-getpage-in-background): When running under a
	window-system, ignore $MANWIDTH and $COLUMNS.

1004 1005 1006 1007 1008 1009
2011-12-15  Kenichi Handa  <handa@m17n.org>

	* language/ethio-util.el: Change coding tag to utf-8-emacs.
	(setup-ethiopic-environment-internal): Comment out key-binding for
	ethio-toggle-punctuation.

1010 1011
2011-12-13  Alan Mackenzie  <acm@muc.de>

1012 1013 1014 1015 1016 1017 1018
	Add the switch statement to AWK Mode.

	* progmodes/cc-awk (awk-font-lock-keywords): Add "switch", "case",
	"default" to the keywords regexp.

	* progmodes/cc-langs (c-label-kwds): Let AWK take the same
	expression as the rest.
1019 1020
	(c-nonlabel-token-key): Allow string literals for AWK.
	Refactor for the other modes.
1021

1022
	Large brace-block initialisation makes CC Mode slow: Fix.
1023
	Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
1024 1025 1026 1027
	routines.  Limit backward searching in c-font-lock-enclosing.decl.

	* progmodes/cc-engine.el (c-state-pp-to-literal): Return the
	pp-state and literal type in addition to the limits.
1028
	(c-state-safe-place): New defun, extracted from c-state-literal-at.
1029
	(c-state-literal-at): Use the above new defun.
1030 1031
	(c-slow-in-literal, c-fast-in-literal): Remove.
	(c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
1032 1033 1034 1035 1036 1037 1038

	* progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
	being in a literal.  Add a limit for backward searching.

	* progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
	c-slow-in-literal.

1039 1040 1041 1042
2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).

1043 1044 1045 1046 1047
2011-12-13  Martin Rudalics  <rudalics@gmx.at>

	* window.el (delete-other-windows): Use correct frame in call to
	window-with-parameter.

1048 1049 1050 1051 1052 1053 1054 1055 1056
2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>

	* progmodes/make-mode.el: Bring it up to date with makepp V2.0.
	(makefile-make-font-lock-keywords): Extend meaning of `keywords'.
	(makefile-gmake-statements, makefile-makepp-statements):
	Use it and add new makepp keywords.
	(makefile-makepp-font-lock-keywords): Add new patterns.
	(makefile-match-function-end): Match new [...] and [[...]].

Juanma Barranquero's avatar
Juanma Barranquero committed
1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075
2011-12-11  Juanma Barranquero  <lekktu@gmail.com>

	* ses.el (ses-call-printer-return, ses-cell-property-get)
	(ses-sym-rowcol, ses-printer-validate, ses-formula-record)
	(ses-create-cell-variable, ses-reset-header-string)
	(ses-cell-set-formula, ses-repair-cell-reference-all)
	(ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
	(ses-check-curcell, ses-call-printer, ses-adjust-print-width)
	(ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
	(ses-aset-with-undo, ses-load, ses-truncate-cell)
	(ses-read-column-printer, ses-read-default-printer, ses-insert-row)
	(ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
	(ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
	(ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
	(ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
	(ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
	(ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
	(ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.

1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092
2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	* ses.el: The overall change is to add cell renaming, that is
	setting fancy names for cell symbols other than name matching
	"\\`[A-Z]+[0-9]+\\'" regexp .
	(ses-create-cell-variable): New defun.
	(ses-relocate-formula): Relocate formulas only for cells the
	symbols of which are not renamed, i.e. symbols whose names do not
	match regexp "\\`[A-Z]+[0-9]+\\'".
	(ses-relocate-all): Relocate values only for cells the symbols of
	which are not renamed.
	(ses-load): Create cells variables as the (ses-cell ...) are read,
	in order to check row col consistency with cell symbol name only
	for cells that are not renamed.
	(ses-replace-name-in-formula): New defun.
	(ses-rename-cell): New defun.

1093 1094 1095 1096 1097
2011-12-11  Chong Yidong  <cyd@gnu.org>

	* progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
	for completion via gud-gdb-fetch-lines-filter (Bug#10274).

1098 1099 1100 1101
2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>

	* window.el (other-window): Fix docstring.

1102 1103 1104
2011-12-10  Eli Zaretskii  <eliz@gnu.org>

	* mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1105 1106
	`from' or `to' address before taking its substring.
	Fixes incorrect display in Rmail summary buffer whereby an RFC2047
1107 1108 1109
	encoded name is chopped in the middle of the encoded string, and
	thus displayed encoded.

1110 1111 1112 1113
2011-12-10  Juanma Barranquero  <lekktu@gmail.com>

	* makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.

1114 1115 1116 1117 1118
2011-12-10  Eli Zaretskii  <eliz@gnu.org>

	* textmodes/texnfo-upd.el: Update commentary.  Add a warning not
	to use texinfo-update-node and commands that call it if the
	Texinfo file uses @node lines without next/prev/up pointers.
1119
	Correct outdated description about texinfo-master-menu.
1120 1121 1122 1123 1124
	(texinfo-all-menus-update, texinfo-master-menu)
	(texinfo-update-node, texinfo-every-node-update)
	(texinfo-multiple-files-update): Doc fix.  Warn against updating
	all the @node lines.
	(texinfo-master-menu): Only call texinfo-update-node if the prefix
1125 1126 1127 1128 1129
	argument is numeric.  Explain better in the doc string what the
	function really does.
	(texinfo-insert-master-menu-list): Improve the error message
	displayed if there's no menu in the Top node.
	(Bug#2975)  See also this thread:
1130 1131
	http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.

1132 1133 1134 1135 1136
2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)

	* speedbar.el (speedbar-supported-extension-expressions):
	Add .adb and .ads, commonly used for Ada source code (bug#10256).

Juanma Barranquero's avatar
Juanma Barranquero committed
1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157
2011-12-09  Juanma Barranquero  <lekktu@gmail.com>

	* printing.el (pr-mode-alist):
	* simple.el (filter-buffer-substring-functions)
	(completion-list-insert-choice-function):
	* window.el (window-with-parameter, window-atom-root)
	(window-sides-slots, window-size-fixed, window-min-delta)
	(window-max-delta, window--resize-mini-window)
	(window--resize-child-windows-normal, window-tree)
	(delete-other-windows, quit-window, split-window)
	(display-buffer-record-window, special-display-buffer-names)
	(special-display-regexps, special-display-popup-frame)
	(same-window-p, split-window-sensibly)
	(display-buffer-overriding-action, display-buffer-alist)
	(display-buffer-base-action, display-buffer, switch-to-buffer)
	(switch-to-buffer-other-window, switch-to-buffer-other-frame)
	(fit-window-to-buffer, recenter-positions)
	(mouse-autoselect-window-state, mouse-autoselect-window-select):
	* emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
	and remove unneeded backslashes in docstrings.

1158 1159
2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>

1160 1161
	* emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).

1162 1163 1164 1165 1166 1167
	* pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
	(pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
	end in ".mk".
	(pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
	when reading the makefile (bug#10116).

1168 1169 1170 1171 1172
2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
	(bug#10116).

1173 1174 1175 1176
2011-12-06  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/package.el (package-archives): Doc fix re riskiness.

1177 1178 1179 1180
2011-12-06  Chong Yidong  <cyd@gnu.org>

	* progmodes/cc-fonts.el (c-annotation-face): Use defface.

Juanma Barranquero's avatar
Juanma Barranquero committed
1181 1182 1183 1184
2011-12-06  Juanma Barranquero  <lekktu@gmail.com>

	* textmodes/table.el (table-shorten-cell): Fix typo.

1185 1186 1187 1188
2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)

	* emacs-lisp/assoc.el (aput): Fix return value (bug#10146)

1189 1190 1191 1192 1193 1194 1195 1196
2011-12-05  Eli Zaretskii  <eliz@gnu.org>

	* descr-text.el (describe-char): Fix display of strong
	right-to-left characters and directional embeddings and overrides.

	* simple.el (what-cursor-position): Fix display of codepoints of
	strong right-to-left characters.

1197 1198 1199 1200
2011-12-05  Chong Yidong  <cyd@gnu.org>

	* faces.el (read-color): Doc fix.

Glenn Morris's avatar
Glenn Morris committed
1201 1202 1203 1204 1205
2011-12-05  Glenn Morris  <rgm@gnu.org>

	* align.el (align--set-marker): Add doc-string.
	Don't try to move something that is not a marker.  (Bug#10216)

Glenn Morris's avatar
Glenn Morris committed
1206 1207 1208 1209 1210
2011-12-04  Glenn Morris  <rgm@gnu.org>

	* calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
	overly zealous deletion of trailing whitespace.

1211 1212 1213 1214 1215 1216 1217
2011-12-04  Juanma Barranquero  <lekktu@gmail.com>

	* server.el (server-delete-client): On Windows, do not try to delete
	the only terminal.
	(server-process-filter): On Windows, treat requests for a tty frame as
	if they were for a GUI frame if the running server is in GUI mode.

1218 1219 1220 1221
2011-12-03  Glenn Morris  <rgm@gnu.org>

	* textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)

1222 1223
2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>

1224 1225 1226 1227 1228
	* electric.el: Streamline electric-indent's hook.
	(electric-indent-chars): Revert to simple list.
	(electric-indent-functions): New var.
	(electric-indent-post-self-insert-function): Use it.

1229 1230 1231 1232
	* progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
	there's no inferior buffer (bug#10196).
	(prolog-consult-compile): Don't use toggle-read-only.

1233 1234 1235 1236 1237
2011-12-02  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-maybe-open-connection): Handle user
	interrupt.  (Bug#10187)

1238 1239
2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>

1240 1241 1242
	* pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
	(bug#9160).

1243 1244 1245
	* dired-aux.el (dired-query): Don't assume help-char is modifier-free
	(bug#10191).

1246 1247 1248 1249 1250
2011-12-02  Juri Linkov  <juri@jurta.org>

	* info.el (Info-search): Display "end of manual" when Isearch
	reaches the end of single-file Info manual.  (Bug#9918)

1251 1252 1253 1254 1255
2011-12-02  Eli Zaretskii  <eliz@gnu.org>

	* isearch.el (isearch-message-prefix): Run the input method part
	of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)

1256 1257 1258 1259 1260 1261 1262
2011-12-02  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-occur): Use `word-search-regexp' for
	`isearch-word'.
	(isearch-search-and-update): Add condition for `isearch-word' and
	call `word-search-regexp'.  (Bug#10145)

Glenn Morris's avatar
Glenn Morris committed
1263 1264 1265 1266
2011-12-01  Glenn Morris  <rgm@gnu.org>

	* eshell/em-hist.el (eshell-hist-initialize):
	Handle eshell-history-size nil and HISTSIZE set or unset.
Glenn Morris's avatar
Glenn Morris committed
1267
	(eshell-history-file-name, eshell-history-size): Fix custom type.
Glenn Morris's avatar
Glenn Morris committed
1268

1269 1270 1271 1272
2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* man.el (Man-completion-table): Fix the lambda case (bug#10168).

1273
2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
1274

1275 1276
	* progmodes/verilog-mode.el (verilog-pretty-expr):
	Rework verilog-pretty-expr to handle new assignment operators in system
1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302
	verilog, such as += *= and the like.
	(verilog-assignment-operator-re): Regular expression to find the
	assigment operator in a verilog assignment.
	(verilog-assignment-operation-re): Regular expression to find an
	assignment statement for pretty-expr.
	(verilog-in-attribute-p): Query returns true if point is in an
	attribute context; used to skip these for expression line up from
	pretty-expr.
	(verilog-in-parameter-p): Query returns true if point is in an
	parameter definition context; used to skip these for expression
	line up from pretty-expr.
	(verilog-in-parenthesis-p): Query returns true if point is in a
	parenthetical expression, specifically ( ) but not [ ] or { };
	used by pretty-expr.
	(verilog-just-one-space): If there is no space, don't add one.
	(verilog-get-lineup-indent-2): Specifically skip just attribute
	contexts for expression lineup, rather than skipping all
	parenthetical expressions.
	(verilog-calculate-indent): Fix comment, and fix indent.
	(verilog-do-indent): Indent declarations in lists (suggested by
	Joachim Lechner).
	(verilog-mode-abbrev-table): Populate abbrev mode with the various
	skeleton items.
	(verilog-sk-ovm-class): Add skeleton for OVM classes (reported
	by Alain Mellan).