ChangeLog 369 KB
Newer Older
Glenn Morris's avatar
Glenn Morris committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
2012-01-21  Glenn Morris  <rgm@gnu.org>

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

24 25 26 27 28
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).

29 30 31 32 33 34
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.

35 36 37 38 39 40 41 42
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
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
2012-01-18  Alan Mackenzie  <acm@muc.de>

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

	* progmodes/cc-engine.el (c-state-nonlit-pos-interval): change
	value 10000 -> 3000.
	(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
67 68 69 70 71
2012-01-18  Glenn Morris  <rgm@gnu.org>

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

72 73
2012-01-17  Glenn Morris  <rgm@gnu.org>

74 75
	* isearch.el (search-nonincremental-instead): Fix doc typo.

76 77 78
	* dired.el (dired-insert-directory): Handle newlines in directory name.
	(dired-build-subdir-alist): Unescape newlines in directory name.

79 80 81 82 83 84
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)

85 86 87 88
2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>

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

89 90 91 92 93 94 95 96 97
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.

98 99 100 101
2012-01-15  Michael Albinus  <michael.albinus@gmx.de>

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

102 103 104 105 106
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.

107 108 109
2012-01-14  Chong Yidong  <cyd@gnu.org>

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

112 113 114 115 116
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).

117 118 119 120
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
121 122 123 124 125 126 127 128 129 130 131
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.

132 133
2012-01-13  Glenn Morris  <rgm@gnu.org>

134 135 136 137
	* 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)

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

140 141 142 143 144
2012-01-12  Glenn Morris  <rgm@gnu.org>

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

145 146 147 148
2012-01-11  Alan Mackenzie  <acm@muc.de>

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

149
	* progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
150 151 152
	widen around each invocation of c-state-pp-to-literal.  Remove an
	unused let variable.

153 154 155
2012-01-11  Glenn Morris  <rgm@gnu.org>

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

158 159
2012-01-10  Chong Yidong  <cyd@gnu.org>

160 161
	* net/network-stream.el (network-stream-open-starttls):
	Avoid emitting a confusing error message when the server gives a bad
162 163
	response to the capability command.

164 165 166 167
2012-01-10  Glenn Morris  <rgm@gnu.org>

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

168 169 170 171
2012-01-09  Chong Yidong  <cyd@gnu.org>

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

172 173 174 175 176 177 178 179 180
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
181
2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
182 183

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

186 187
2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>

188 189 190
	* faces.el (set-face-attribute): Clarify the meaning of the nil
	frame (bug#10294).

191 192 193
	* subr.el (with-selected-frame): Mention that the selected frame
	is restored (bug#9980).

194 195 196
	* ibuffer.el (ibuffer-mode): List the bindings in the corrent map
	(bug#9759).

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

200 201 202 203 204
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).

205 206 207 208 209 210
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.

211 212 213 214 215 216 217 218
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.

219 220
2012-01-06  Glenn Morris  <rgm@gnu.org>

221 222 223
	* mail/unrmail.el (unrmail): Give an explicit error if the input file
	has no messages.  (Bug#10377)

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

Glenn Morris's avatar
Glenn Morris committed
227 228 229
	* time.el (display-time-load-average, display-time-next-load-average):
	Doc fixes.

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

233 234 235
	* calendar/calendar.el (calendar-mode):
	Locally set scroll-margin to 0.  (Bug#10379)

236 237 238 239
2012-01-06  Ulrich Mueller  <ulm@gentoo.org>

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

240 241 242 243 244
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)

245 246
2012-01-05  Chong Yidong  <cyd@gnu.org>

247 248 249 250 251
	* 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).

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

254 255
	* cus-theme.el (custom-theme-merge-theme):
	Ignore custom-enabled-themes and custom-safe-themes.
256

257 258 259 260 261
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
262
	keywords.
263 264 265 266
	(sql-mode-mysql-font-lock-keywords):  Add ELSEIF keyword.
	(sql-product-interactive): Bug fix: Set `sql-buffer' in
	context of original buffer.  Invoke `sql-login-hook'.

267 268 269 270 271
2012-01-04  Eli Zaretskii  <eliz@gnu.org>

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

272 273 274 275
2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>

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

276 277
2012-01-03  Chong Yidong  <cyd@gnu.org>

278 279
	* shell.el (shell-dynamic-complete-functions):
	Put pcomplete-completions-at-point, so as to try
280 281
	comint-filename-completion first (Bug#10417).

282 283 284 285 286 287 288 289
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.

290 291 292 293 294 295 296 297 298 299 300 301
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.

302 303
2012-01-01  Eli Zaretskii  <eliz@gnu.org>

304 305
	* term/w32-win.el (dynamic-library-alist) <gnutls>:
	Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
306 307
	libgnutls-26.dll.

308 309 310 311
2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>

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

312 313 314 315 316
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.

317 318 319 320 321 322 323 324 325
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.

326 327 328 329 330 331
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
332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348
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
349 350
	(gdb-get-changed-registers, gdb-get-main-selected-frame):
	Callers changed.
Chong Yidong's avatar
Chong Yidong committed
351 352 353
	(gud-gdbmi-completions): New function.
	(gdb): Use it for generating the completion table.

354 355 356
2011-12-24  Alan Mackenzie  <acm@muc.de>

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

359 360
	* 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
361
	(c-before-context-fontification-functions): New defvar, a list of
362 363 364
	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
365
	New, functionality extracted from
366
	c-neutralize-syntax-in-and-mark-CPP.
Juanma Barranquero's avatar
Juanma Barranquero committed
367
	(c-in-after-change-fontification): New variable.
368 369 370
	(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
371 372 373 374
	(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.
375

376 377 378 379 380
2011-12-24  Juri Linkov  <juri@jurta.org>

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

381 382 383 384 385
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)

386 387 388 389
2011-12-23  Alan Mackenzie  <acm@muc.de>

	Fix unstable fontification inside templates.

Juanma Barranquero's avatar
Juanma Barranquero committed
390 391
	* progmodes/cc-langs.el (c-before-font-lock-functions):
	Newly created from the singular version.  The (c c++ objc) entry now
392 393 394
	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
395 396
	* progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
	The functionality for "local" declarations has been extracted to
397 398
	c-set-fl-decl-start.

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

404 405 406 407
2011-12-23  Juanma Barranquero  <lekktu@gmail.com>

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

408 409 410 411
2011-12-22  Juri Linkov  <juri@jurta.org>

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

412 413 414 415
2011-12-22  Chong Yidong  <cyd@gnu.org>

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

416 417 418 419
2011-12-21  Drew Adams  <drew.adams@oracle.com>

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

420 421 422 423
2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>

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

424 425
2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>

426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444
	* 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.
445

446 447 448 449 450
2011-12-21  Chong Yidong  <cyd@gnu.org>

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

451 452 453 454 455
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.

456 457 458 459 460 461 462 463 464 465
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.

466 467 468 469 470 471
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.

472 473 474 475
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
476 477 478 479 480 481
	(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.
482

483
2011-12-17  Chong Yidong  <cyd@gnu.org>
484 485

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

488 489 490 491
2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>

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

492 493 494 495 496
2011-12-13  Sam Steingold  <sds@gnu.org>

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

497 498 499 500 501 502
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.

503 504
2011-12-13  Alan Mackenzie  <acm@muc.de>

505 506 507 508 509 510 511
	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.
512 513
	(c-nonlabel-token-key): Allow string literals for AWK.
	Refactor for the other modes.
514

515
	Large brace-block initialisation makes CC Mode slow: Fix.
516
	Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
517 518 519 520
	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.
521
	(c-state-safe-place): New defun, extracted from c-state-literal-at.
522
	(c-state-literal-at): Use the above new defun.
523 524
	(c-slow-in-literal, c-fast-in-literal): Remove.
	(c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
525 526 527 528 529 530 531

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

532 533 534 535
2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>

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

536 537 538 539 540
2011-12-13  Martin Rudalics  <rudalics@gmx.at>

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

541 542 543 544 545 546 547 548 549
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
550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568
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.

569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585
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.

586 587 588 589 590
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).

591 592 593 594
2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>

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

595 596 597
2011-12-10  Eli Zaretskii  <eliz@gnu.org>

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

603 604 605 606
2011-12-10  Juanma Barranquero  <lekktu@gmail.com>

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

607 608 609 610 611
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.
612
	Correct outdated description about texinfo-master-menu.
613 614 615 616 617
	(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
618 619 620 621 622
	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:
623 624
	http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.

625 626 627 628 629
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
630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650
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.

651 652
2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>

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

655 656 657 658 659 660
	* 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).

661 662 663 664 665
2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>

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

666 667 668 669
2011-12-06  Glenn Morris  <rgm@gnu.org>

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

670 671 672 673
2011-12-06  Chong Yidong  <cyd@gnu.org>

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

Juanma Barranquero's avatar
Juanma Barranquero committed
674 675 676 677
2011-12-06  Juanma Barranquero  <lekktu@gmail.com>

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

678 679 680 681
2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)

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

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

690 691 692 693
2011-12-05  Chong Yidong  <cyd@gnu.org>

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

Glenn Morris's avatar
Glenn Morris committed
694 695 696 697 698
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
699 700 701 702 703
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.

704 705 706 707 708 709 710
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.

711 712 713 714
2011-12-03  Glenn Morris  <rgm@gnu.org>

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

715 716
2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>

717 718 719 720 721
	* 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.

722 723 724 725
	* 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.

726 727 728 729 730
2011-12-02  Michael Albinus  <michael.albinus@gmx.de>

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

731 732
2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>

733 734 735
	* pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
	(bug#9160).

736 737 738
	* dired-aux.el (dired-query): Don't assume help-char is modifier-free
	(bug#10191).

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

744 745 746 747 748
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)

749 750 751 752 753 754 755
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
756 757 758 759
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
760
	(eshell-history-file-name, eshell-history-size): Fix custom type.
Glenn Morris's avatar
Glenn Morris committed
761

762 763 764 765
2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>

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

766
2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
767

768 769
	* progmodes/verilog-mode.el (verilog-pretty-expr):
	Rework verilog-pretty-expr to handle new assignment operators in system
770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795
	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).

796
2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
797 798 799 800 801 802 803 804 805 806 807 808 809 810 811

	* progmodes/verilog-mode.el (verilog-read-defines): Fix reading
	parameters with embedded comments.  Reported by Ray Stevens.
	(verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
	verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
	Reported by Tim Holt.
	(verilog-auto): Fix AUTOing a upper module then AUTOing module
	instantiated by upper module causing wrong expansion until AUTOed a
	second time.  Reported by K C Buckenmaier.
	(verilog-diff-auto): Fix showing .* as a difference when
	`verilog-auto-star-save' off.  Reported by Dan Dever.
	(verilog-auto-reset, verilog-read-always-signals)
	(verilog-auto-reset-blocking-in-non): Fix AUTORESET including
	temporary signals in reset list if
	verilog-auto-reset-blocking-in-non is nil, and match assignment
812 813
	style to each signal's assignment type, bug381.
	Reported by Thomas Esposito.
814 815 816
	(verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
	(verilog-uvm-statement-re): Support UVM indentation and
	highlighting, with old OVM keywords only.
817
	(verilog-auto-tieoff, verilog-auto-tieoff-declaration):
818 819
	Support AUTOTIEOFF creating non-wire data types.
	Suggested by Jonathan Greenlaw.
820 821 822
	(verilog-auto-insert-lisp, verilog-delete-to-paren)
	(verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
	(verilog-inject-sense, verilog-read-inst-pins)
823 824
	(verilog-read-sub-decls, verilog-read-sub-decls-line):
	Fix mismatching parenthesis inside commented out code when deleting
Juanma Barranquero's avatar
Juanma Barranquero committed
825
	AUTOINST, bug383.  Reported by Jonathan Greenlaw.
826 827 828
	(verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
	non-numeric vector width.  Reported by Alex Reed.
	(verilog-auto-ascii-enum): Add "onehot" option to work around not
Juanma Barranquero's avatar
Juanma Barranquero committed
829
	detecting signals with parameter widths.  Reported by Alex Reed.
830 831
	(verilog-auto-delete-trailing-whitespace):
	With `verilog-auto-delete-trailing-whitespace' remove trailing
832 833 834 835 836 837 838 839 840 841 842 843 844
	whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
	(verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
	Fix verilog-scan-cache corruption when running user AUTO expansion
	hooks that call indentation routines.
	(verilog-simplify-range-expression): Fix typo ignoring lower case
	identifiers.
	(verilog-delete-auto): Fix delete-autos to also remove user created
	automatics, as long as they start with AUTO.
	(verilog-batch-diff-auto, verilog-diff-auto)
	(verilog-diff-function): Add `verilog-diff-auto' and bind to
	"C-c?"  to report differences in AUTO expansion, ignoring spaces.
	(verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
	(verilog-in-paren-quick, verilog-re-search-backward-quick)
845 846
	(verilog-re-search-forward-quick, verilog-syntax-ppss):
	Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
847 848 849 850 851 852 853 854
	is disabled and its cache will get corrupt, causing AUTOS not to
	expand.  Instead use only -quick functions.
	(verilog-scan-region): Fix scanning over escaped quotes.
	(verilog-inside-comment-or-string-p, verilog-inside-comment-p)
	(verilog-re-search-backward-quick)
	(verilog-re-search-forward-quick, verilog-scan): verilog-scan and
	related functions now ignore strings, to fix misparsing of strings
	with magic comments embedded in them.
855 856 857 858 859
	(verilog-read-auto-template):
	Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
	Reported by Brad Dobbie.
	(verilog-read-auto-template):
	Fix 'verilog-auto-inst-template-numbers' with comments.
860 861 862 863 864
	Reported by Brad Dobbie.
	(verilog-auto-inst, verilog-auto-inst-param)
	(verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
	merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
	(verilog-auto-inst-template-numbers): Add 'lhs' policy for
865 866 867 868
	debugging templates without merge conflicts, bug357.
	Reported by Brad Dobbie.
	(verilog-read-auto-template):
	Fix verilog-auto-inst-template-numbers with multiple templates.
869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888
	Reported by Brad Dobbie.
	(verilog-define-abbrev): Fix verilog-mode abbrevs to be system
	abbrevs so user won't be asked to save.
	(verilog-read-auto-lisp-present): Fix to start at beginning of
	buffer in case called outside of verilog-auto.
	(verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
	to "X-2".  Reported by Matthew Myers.
	(verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
	all inputs from module templates.  Reported by Leith Johnson.
	(verilog-module-inside-filename-p): Fix locating programs as with
	modules.
	(verilog-auto-inst-port): Fix vl-width expressions when using
	verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
	(verilog-decls-get-regs, verilog-decls-get-signals,
	verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
	verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
	verilog-read-decls): Combine reg and wire structures into one var
	structure to represent SystemVerilog concepts.
	(verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
	(verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
889 890
	(verilog-auto-wire-type, verilog-insert-definition):
	Add verilog-auto-wire-type and AUTOLOGIC to support using
891 892 893
	SystemVerilog "logic" keyword instead of "wire"/"reg".
	(verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
	to declares outputs that also have assignments (presumably in an
894 895 896 897
	ifdef or generate if so there's not a driver conflict).
	Reported by Matthew Myers.
	(verilog-auto-declare-nettype, verilog-insert-definition):
	Add verilog-auto-declare-nettype to fix declarations using
898 899 900 901 902 903 904
	`default_nettype none.  Reported by Julian Gorfajn.
	(verilog-read-always-signals-recurse, verilog-read-decls)
	(verilog-read-sub-decls-gate): Fix infinite loop with (*) and
	malformed end statement, bug325.  Reported by Joshua Wise and
	Andrew Drake.
	(verilog-auto-star-safe, verilog-delete-auto-star-implicit)
	(verilog-inst-comment-re): Fix not deleting Interfaced comment
905 906
	when expanding .* in interfaces, bug320.
	Reported by Pierre-David Pfister.
907
	(verilog-read-module-name): Fix import statements between module
908 909
	name and open parenthesis, bug317.
	Reported by Pierre-David Pfister.
910 911 912 913 914 915 916 917 918 919 920
	(verilog-simplify-range-expression): Fix simplification of
	multiplications inside AUTOWIRE connections, bug303.
	(verilog-auto-inst-port): Support parameter expansion in
	multidimensional arrays.
	(verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
	after "assert property".  Reported by Julian Gorfajn.
	(verilog-simplify-range-expression): Fix "couldn't merge" errors
	with multiplication, bug303.
	(verilog-read-decls): Fix parsing of unsigned data types, bug302.
	Reported by Jan Frode Lonnum.

921 922 923 924 925 926 927 928 929 930 931 932 933 934
2011-11-30  Juanma Barranquero  <lekktu@gmail.com>

	* htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
	(hfy-shell-file-name, hfy-shell):
	* international/fontset.el (x-decompose-font-name): Fix typos.

2011-11-29  Ken Brown  <kbrown@cornell.edu>

	* progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
	(gdb-version): Remove defvar.
	(gdb-supports-non-stop): New defvar, replacing `gdb-version'.
	(gdb-gud-context-command, gdb-non-stop-handler)
	(gdb-current-context-command, gdb-stopped): Use it.
	(gdb-init-1): Enable pretty printing here.
935 936
	(gdb-non-stop-handler): Don't enable pretty-printing here.
	Check to see if the target supports non-stop mode; if not, turn off
937 938 939 940 941 942 943 944 945 946 947 948
	non-stop mode.  Use the following.
	(gdb-check-target-async): New defun.
	(gud-watch, gdb-stopped): Fix whitespace.
	(gdb-get-source-file): Don't try to display the source file if
	`gdb-main-file' is nil.

2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* align.el: Try to generate fewer markers (bug#10047).
	(align--set-marker): New macro.
	(align-region): Use it.

949 950 951 952
2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).

953 954 955 956 957 958
2011-11-29  Chong Yidong  <cyd@gnu.org>

	* indent.el (indent-for-tab-command, indent-according-to-mode):
	Doc fix.
	(indent-region): Doc fix.  Switch nested ifs to equivalent cond.

959 960 961 962 963
2011-11-29  Michael Albinus  <michael.albinus@gmx.de>

	* vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
	aware of remote file names.  (Bug#10124)

964 965 966 967
2011-11-29  Chong Yidong  <cyd@gnu.org>

	* frame.el (auto-raise-mode, auto-lower-mode): Doc fix.

968 969 970 971 972 973 974
2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* files.el (find-file): Don't use force-same-window (bug#10144).
	* window.el (switch-to-buffer): Better match Emacs-23 behavior and only
	use pop-to-buffer if the selected window can't be used.
	(pop-to-buffer-same-window): Use display-buffer--same-window-action.

975 976 977 978 979
2011-11-28  Eli Zaretskii  <eliz@gnu.org>

	* vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
	special-mode-map.

980 981 982 983
2011-11-28  Chong Yidong  <cyd@gnu.org>

	* emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.

984 985 986 987 988
2011-11-27  Nick Roberts  <nickrob@snap.net.nz>

	* progmodes/gdb-mi.el (gdb-init-1): Condition execution of
	  gdb-get-source-file-list on gdb-create-source-file-list.

989 990 991 992 993
2011-11-26  Eli Zaretskii  <eliz@gnu.org>

	* whitespace.el (whitespace-newline): Use a different foreground
	color for 16-color light-background displays.

994 995 996 997
2011-11-24  Chong Yidong  <cyd@gnu.org>

	* window.el (display-buffer--special-action): Doc fix.

Juanma Barranquero's avatar
Juanma Barranquero committed
998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008
2011-11-25  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
	(avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
	(avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
	(avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
	(avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
	(avl-tree-stack-first):
	* emacs-lisp/cconv.el (cconv--analyse-use):
	* net/gnutls.el (gnutls-negotiate): Fix typos.

1009 1010
2011-11-24  Glenn Morris  <rgm@gnu.org>

1011 1012 1013 1014 1015 1016 1017 1018 1019
	* lpr.el (lpr-windows-system, lpr-lp-system):
	* mail/binhex.el (binhex-begin-line):
	* progmodes/grep.el (grep-history, grep-find-history):
	* textmodes/flyspell.el:
	* vc/pcvs-defs.el (cvs-global-menu):
	* vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
	* vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
	* vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.

Glenn Morris's avatar
Glenn Morris committed
1020 1021
	* net/tls.el: Fix case of "GnuTLS".

1022 1023
	* paths.el (rmail-file-name): Format doc-string for make-docfile.

1024 1025
	* version.el (emacs-build-system): Give it a doc-string.

1026 1027 1028 1029
2011-11-24  Juri Linkov  <juri@jurta.org>

	* view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).

1030 1031 1032 1033 1034
2011-11-24  Glenn Morris  <rgm@gnu.org>

	* mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
	if called on a non-mime message just toggle the headers.  (Bug#8006)

Juanma Barranquero's avatar
Juanma Barranquero committed
1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051
2011-11-24  Juanma Barranquero  <lekktu@gmail.com>

	* allout.el (allout-setup, allout-auto-save-temporarily-disabled)
	(allout-lead-with-comment-string, allout-structure-deleted-hook)
	(allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
	(allout-rebullet-heading, allout-open-sibtopic)
	(allout-toggle-current-subtree-encryption)
	(allout-toggle-subtree-encryption, allout-encrypt-string)
	(allout-next-topic-pending-encryption, allout-adjust-file-variable)
	(allout-distinctive-bullets-string, allout-auto-activation):
	* window.el (window-normalize-buffer-to-display):
	* progmodes/verilog-mode.el (verilog-batch-indent):
	* textmodes/bibtex.el (bibtex-field-braces-opt)
	(bibtex-field-strings-opt):
	* vc/cvs-status.el (cvs-tree-merge):
	Fix typos.

1052 1053 1054 1055 1056
2011-11-23  Michael Albinus  <michael.albinus@gmx.de>

	* rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
	`non-essential' to t, in order to avoid remote connections.

1057 1058
2011-11-23  Eli Zaretskii  <eliz@gnu.org>

1059 1060
	* emacs-lisp/autoload.el (autoload-generate-file-autoloads):
	On MS-DOS and MS-Windows, compare with loaddefs.el
1061 1062
	case-insensitively.

1063 1064 1065 1066
2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)

	* mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)

1067 1068
2011-11-23  Glenn Morris  <rgm@gnu.org>

1069 1070 1071
	* paths.el (rmail-file-name): Reformat the doc-string so that it
	is picked up.

1072 1073 1074 1075
	* mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
	(rmail-auto-file): Ignore case in the "special" field names,
	as mail-fetch-field does for all others.

1076 1077 1078 1079 1080
	* mail/rmail.el (rmail-forward):
	* mail/rmailkwd.el (rmail-set-label):
	* mail/rmailout.el (rmail-output, rmail-output-as-seen)
	(rmail-output-body-to-file): Give error if no message.  (Bug#10082)

1081 1082
	* mail/rmail.el (rmail-current-message): Doc fix.

1083 1084
	* mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)

1085 1086 1087 1088
2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* server.el (server-eval-and-print): Allow C-g (bug#6585).

1089 1090 1091 1092 1093 1094
2011-11-22  Glenn Morris  <rgm@gnu.org>

	* mail/rmailmm.el (test-rmail-mime-handler)
	(test-rmail-mime-bulk-handler)
	(test-rmail-mime-multipart-handler): Move tests to test/ directory.

1095 1096
2011-11-21  Juri Linkov  <juri@jurta.org>

Juanma Barranquero's avatar
Juanma Barranquero committed
1097 1098
	* calc/calc.el (calc-read-key-sequence):
	Let-bind `input-method-function' to nil.  (Bug#10018)
1099

1100 1101 1102 1103 1104 1105
2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
	Tell the caller that the next line needs recomputation, even
	though it doesn't start a sexp (bug#10094).

1106 1107 1108 1109
2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.

1110 1111
2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>

1112 1113
	* vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
	Use force-same-window.
1114

Juanma Barranquero's avatar
Juanma Barranquero committed
1115 1116 1117 1118 1119 1120 1121 1122
2011-11-20  Juanma Barranquero  <lekktu@gmail.com>

	* descr-text.el (describe-char-unicode-data):
	* json.el (json-string-escape):
	* mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
	(Footnote-unicode, Footnote-style-p):
	* net/ntlm.el (ntlm-get-password-hashes): Fix typos.

1123 1124 1125 1126
2011-11-20  Chong Yidong  <cyd@gnu.org>

	* window.el (replace-buffer-in-windows): Restore interactive spec.

1127 1128
2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>

1129 1130
	* electric.el (electric-indent-mode): Fix last change (too optimistic).

1131 1132 1133 1134 1135 1136
	* emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
	(byte-compile-global-not-obsolete-vars): New var.
	(byte-compile-check-variable, byte-compile-make-obsolete-variable):
	Use it.
	(byte-compile-warn-obsolete): Align text with the one in *Help*.

Juanma Barranquero's avatar
Juanma Barranquero committed
1137 1138 1139 1140 1141 1142 1143
2011-11-20  Juanma Barranquero  <lekktu@gmail.com>

	* progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
	* progmodes/pascal.el (electric-pascal-equal):
	* textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
	* xml.el (xml-substitute-special): Fix typos.

Glenn Morris's avatar
Glenn Morris committed
1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154
2011-11-20  Glenn Morris  <rgm@gnu.org>

	* mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
	(rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
	Doc fixes.
	(rmail-decode-mime-charset): Mark as obsolete.

	* mail/rmailsum.el (rmail-message-regexp-p-1):
	* mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
	Before using mime functions, check they are set.  (Bug#10077)

1155 1156 1157 1158 1159 1160
2011-11-19  Juri Linkov  <juri@jurta.org>

	* info.el (Info-finder-find-node): Use `package--builtins' instead
	of `package-alist'.  Use node names formed by the pattern "Keyword "
	and the keyword name.

1161 1162
2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>

1163
	* progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
1164

1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176
2011-11-19  Juri Linkov  <juri@jurta.org>

	* info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
	that calls `revert-buffer' on all Info buffers.  (Bug#9915)
	(Info-revert-find-node): Remove let-bindings `old-buffer-name',
	`old-history', `old-history-forward'.  Add let-binding
	`window-selected'.  Remove calls to `kill-buffer',
	`switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
	before calling `Info-find-node', so `Info-find-node-2' will reread
	the Info file.  Restore window positions only when `window-selected'
	is non-nil.

1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191
2011-11-19  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-lazy-highlight-new-loop):
	Remove condition `(not isearch-error)'.  (Bug#9918)

	* misearch.el (multi-isearch-search-fun): Add condition
	`(not bound)' to ignore lazy-highlighting search.
	Add the search-failed message "end of multi" when the end of
	multi-sequence is reached.  Uncapitalize the search-failed
	message "Repeat for next buffer".

	* info.el (Info-search): Add the search-failed message
	"end of the manual" when the end of the manual is reached
	in Isearch mode.

1192 1193 1194 1195 1196 1197 1198
2011-11-19  Juri Linkov  <juri@jurta.org>

	* info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
	Use non-destructive `remove' instead of `delete' because
	`Info-history-list' stored to `Info-isearch-initial-history-list' in
	`Info-isearch-start' might need to be restored in `Info-isearch-end'.

1199 1200 1201 1202 1203 1204
2011-11-19  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
	to nil instead of binding `search-ring' and `regexp-search-ring'.
	(Bug#9185)

1205 1206 1207 1208 1209 1210
2011-11-19  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (line-move): Force movement by logical lines for any
	hscrolled window, not only when auto-hscroll-mode is on.
	(line-move-visual): Update doc string to that effect.  (Bug#10076)

1211 1212 1213 1214
2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>

	* language/european.el (macintosh): Define as alias for mac-roman.

1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229
2011-11-19  Eli Zaretskii  <eliz@gnu.org>

	* mail/rmailmm.el (rmail-mime-display-header)
	(rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
	(rmail-mime-entity-segment, rmail-mime-toggle-raw)
	(rmail-mime-toggle-hidden, rmail-mime-insert-text)
	(rmail-mime-insert-bulk, rmail-mime-insert-multipart)
	(rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
	of a raw aref.
	(rmail-mime-entity-segment): To get past the tagline, move forward
	2 more lines, to account for the 2 empty lines that precede and
	follow the line with the buttons.
	(rmail-mime-update-tagline): Move one more line, to get past the
	empty line that follows the buttons in the tagline.  (Bug#9520)

1230 1231 1232 1233 1234 1235
2011-11-19  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-max-delta-1, window-min-delta-1)
	(window-min-size-1, window-state-get-1, window-state-put-1)
	(window-state-put-2): Use "window--" prefix.

1236 1237
2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>

1238 1239 1240 1241 1242 1243 1244 1245 1246
	* emacs-lisp/smie.el: Improve warnings and conflict detection.
	(smie-warning-count): New var.
	(smie-set-prec2tab): Use it.
	(smie-bnf->prec2): Improve warnings.  Add docstring.
	(smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
	(smie-bnf--set-class): New function.
	(smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
	corner case.

1247 1248 1249 1250
	* progmodes/compile.el: Obey compilation-first-column in dest buffer.
	(compilation-error-properties, compilation-move-to-column):
	Handle compilation-first-column while in the target buffer.

1251 1252 1253
	* progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
	Don't hardcode point-min==1.

1254 1255 1256 1257 1258 1259
	* eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
	(eshell-rewrite-for-command): Remove workaround.
	(eshell-do-pipelines, eshell-do-pipelines-synchronously)
	(eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
	* eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.

1260 1261
	* files-x.el (modify-file-local-variable): Obey commenting conventions.

Glenn Morris's avatar
Glenn Morris committed
1262 1263 1264 1265 1266 1267
2011-11-17  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/autoload.el (autoload-generate-file-autoloads):
	Ignore buffer-local generated-autoload-file if it is the same
	as the global value.  (Bug#10049)

Juanma Barranquero's avatar
Juanma Barranquero committed
1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283
2011-11-17  Juanma Barranquero  <lekktu@gmail.com>

	* textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
	(reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
	(reftex-toc-previous-heading, reftex-toc-max-level)
	(reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
	(reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
	(reftex-toc-do-promote, reftex-toc-promote-prepare)
	(reftex-toc-promote-action, reftex-toc-extract-section-number)
	(reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
	(reftex-toc-rename-label, reftex-toc-visit-location)
	(reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
	(reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
	(reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
	leaving "*toc*" only for references to the buffer.

1284 1285 1286 1287
2011-11-17  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-resize, delete-window, split-window):
	Replace window-splits by window-combination-resize.
1288
	* cus-start.el (window-splits): Replace by window-combination-resize.
1289

1290 1291 1292 1293 1294
2011-11-17  Glenn Morris  <rgm@gnu.org>

	* progmodes/sh-script.el (sh-font-lock-keywords-var):
	Make bash entry derive from sh entry, not shell entry.

1295 1296 1297 1298 1299
2011-11-16  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-cache.el (tramp-flush-file-property): Flush also
	properties of linked files.  (Bug#9879)

1300 1301 1302
	* net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
	local file name.

Juanma Barranquero's avatar
Juanma Barranquero committed
1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322
2011-11-16  Juanma Barranquero  <lekktu@gmail.com>

	* menu-bar.el (menu-bar-file-menu):
	* printing.el (pr-ps-utility):
	* calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
	(icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
	(icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
	(icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
	(icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
	(icalendar--convert-cyclic-to-ical)
	(icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
	(icalendar--convert-ical-to-diary)
	(icalendar--convert-recurring-to-diary)
	(icalendar--convert-non-recurring-all-day-to-diary)
	(icalendar-import-format-sample):
	* progmodes/idlw-shell.el (idlwave-shell-mode):
	* progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
	(vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
	(vhdl-ps-print-init): Fix typos.

1323 1324
2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>

Glenn Morris's avatar
Glenn Morris committed
1325 1326 1327
	* allout.el, allout-widgets.el (file metadata): Attribute copyright to
	FSF and collapse date sequence, obscure author/maintainer email address
	better, remove extra version line, track relocation of author's webpage.
1328

Glenn Morris's avatar
Glenn Morris committed
1329 1330 1331 1332 1333
	* progmodes/python.el (python-pdbtrack-input-prompt)
	(python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
	regular python pdb prompts.  Adjustments shamelessly taken exactly as
	suggested in EmacsWiki page (tiny change):
	http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
1334

Juanma Barranquero's avatar
Juanma Barranquero committed
1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347
2011-11-16  Juanma Barranquero  <lekktu@gmail.com>

	* expand.el (expand-pos, expand-index, expand-point):
	Remove redundant info from docstring.
	(expand-add-abbrevs): Doc fix.
	(expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
	(expand-sample-perl-mode-expand-list): Fix typos.

	* net/dbus.el (dbus-event-member-name):
	* play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
	* term/pc-win.el (msdos-create-frame-with-faces):
	* textmodes/texinfmt.el (texinfo-format-image): Fix typos.

1348 1349 1350 1351 1352
2011-11-16  Martin Rudalics  <rudalics@gmx.at>

	* window.el (split-window, window-state-get-1)
	(window-state-put-1, window-state-put-2): Rename occurrences of
	window-nest to window-combination-limit.
1353
	* cus-start.el (window-nest): Rename to window-combination-limit.
1354

1355 1356 1357 1358 1359
2011-11-16  Chong Yidong  <cyd@gnu.org>

	* progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
	regexp (Bug#10033).

1360 1361 1362 1363 1364 1365 1366 1367 1368
2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
	`completing-read' will remove *Completions* and will preserve
	current-buffer for us.
	(tmm-add-prompt): Users of *Completions* will always (re)set its
	major mode.
	(tmm-old-comp-map): Remove.

1369 1370 1371 1372 1373 1374 1375 1376
2011-11-16  Glenn Morris  <rgm@gnu.org>

	* mail/rmailedit.el: Require rmailmm when compiling.
	(rmail-old-mime-state): New declaration.
	(rmail-edit-current-message): If editing a mime message,
	edit the "raw" message from the mbox buffer.
	(rmail-cease-edit): Handle mime messages.  (Bug#9840)

1377 1378 1379 1380 1381 1382
2011-11-15  Glenn Morris  <rgm@gnu.org>

	* mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
	which wasn't being used.  Add optional arg to force given state.
	(rmail-mime): Add optional arg to force given state.

Juanma Barranquero's avatar
Juanma Barranquero committed
1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395
2011-11-15  Juanma Barranquero  <lekktu@gmail.com>

	* allout.el (allout-encryption-plaintext-sanitization-regexps):
	* frame.el (display-mm-dimensions-alist):
	* outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)