ChangeLog 317 KB
Newer Older
1 2 3 4 5 6 7 8
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)

9 10 11 12 13 14
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
15 16 17 18 19 20 21 22 23 24 25 26 27
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)
	(outline-move-subtree-down):
	* net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
	(newsticker--treeview-do-get-node):
	* net/quickurl.el (quickurl-list-buffer-name):
	* progmodes/dcl-mode.el (dcl-mode):
	* progmodes/gdb-mi.el (gdb-mapcar*):
	* progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.

28 29 30 31 32 33 34 35 36 37
2011-11-15  Glenn Morris  <rgm@gnu.org>

	* mail/rmail.el (rmail-file-coding-system): It's only ever used
	in a boolean sense, so just make it a boolean, and fix the doc.
	(rmail-show-mime-function, rmail-mime-feature)
	(rmail-require-mime-maybe): Doc fixes.
	(rmail-show-message-1): Check rmail-show-mime-function is non-nil.

	* mail/rmailmm.el (rmail-show-mime): Doc fix.

Juanma Barranquero's avatar
Juanma Barranquero committed
38 39 40 41 42 43 44
2011-11-15  Juanma Barranquero  <lekktu@gmail.com>

	* epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
	(epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
	(epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
	(epg-start-generate-key, epg-context-set-progress-callback): Fix typos.

Glenn Morris's avatar
Glenn Morris committed
45 46
2011-11-15  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
47 48 49 50 51 52
	* mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
	(rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
	(rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
	(rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
	(rmail-mime, rmail-show-mime): Doc fixes.

Glenn Morris's avatar
Glenn Morris committed
53 54 55
	* term/ns-win.el (mode-line-frame-identification):
	Leave it alone.  (Bug#10051)

56 57
	* simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)

Glenn Morris's avatar
Glenn Morris committed
58 59 60
	* mail/rmailout.el (rmail-output-to-rmail-buffer):
	Handle empty buffers.  (Bug#9978)

Juanma Barranquero's avatar
Juanma Barranquero committed
61 62 63 64 65 66 67 68 69
2011-11-14  Juanma Barranquero  <lekktu@gmail.com>

	* international/mule.el (define-charset):
	* mail/rmailmm.el (rmail-mime-find-header-encoding):
	* progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
	* progmodes/verilog-mode.el (verilog-backward-token):
	* textmodes/ispell.el (lookup-words):
	* textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.

70 71
2011-11-14  Glenn Morris  <rgm@gnu.org>

72 73 74 75
	* progmodes/executable.el
	(executable-make-buffer-file-executable-if-script-p):
	Handle file-modes returning nil.

Glenn Morris's avatar
Glenn Morris committed
76 77 78
	* mail/rmailsum.el (rmail-summary): Remove movement to beginning of
	message - not necessary, and causes problems.  (Bug#9831)

79 80
	* mail/rmailsum.el (rmail-new-summary): Preserve message number.

81 82
	* mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.

83 84 85 86
	* mail/rmailsum.el (rmail-summary, rmail-new-summary)
	(rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
	(rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.

Martin Rudalics's avatar
Martin Rudalics committed
87 88 89 90 91 92 93
2011-11-12  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-resize, delete-window): Use window-splits
	variable instead of function.
	(window-state-get-1, window-state-put-2, window-state-put):
	Don't deal with windows' splits status.

Glenn Morris's avatar
Glenn Morris committed
94 95 96 97 98
2011-11-12  Glenn Morris  <rgm@gnu.org>

	* apropos.el (apropos-do-all, apropos-library, apropos-value)
	(apropos-documentation): Doc fixes.

Juanma Barranquero's avatar
Juanma Barranquero committed
99 100 101 102 103
2011-11-11  Juanma Barranquero  <lekktu@gmail.com>

	* progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
	* textmodes/sgml-mode.el (html-tag-help): Fix typos.

104 105 106 107 108 109
2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* electric.el (electric-indent-post-self-insert-function): Make it
	possible for a char to only indent in some circumstances.
	(electric-indent-mode): Simplify.

110 111 112 113 114
2011-11-11  Martin Rudalics  <rudalics@gmx.at>

	* window.el (windows-with-parameter): Remove unused function.
	(windows-at-side): Rename to window-at-side-list.
	(window-check, window-atom-check, window-atom-check-1)
115 116 117
	(window-side-check, window-size-ignore, window-size-fixed-1)
	(window-in-direction-2): Prefix with "window--".
	(window-tree-1): Rename to window--subtree, fix doc-string.
118

119 120 121 122 123
2011-11-11  Glenn Morris  <rgm@gnu.org>

	* subr.el (eval-after-load): If FILE is already loaded,
	evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)

124 125
2011-11-10  Glenn Morris  <rgm@gnu.org>

126 127 128 129 130
	* vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
	Call svn via vc-svn-command rather than vc-do-command.
	(vc-svn-command): Add --non-interactive.  (Bug#9993)
	(vc-svn-update, vc-svn-merge-news): No need for --non-interactive.

131 132 133 134 135
	* emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
	Add toggle-read-only.  (Bug#7292)
	* files.el (toggle-read-only): Mention that it should only
	be used interactively.  (Bug#10006)

136 137
2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>

138 139 140
	* progmodes/compile.el (compilation-error-regexp-alist-alist):
	Adjust regexp for OCaml warnings.

141 142 143
	* electric.el (electric-pair-post-self-insert-function): Let user
	turn it off buffer-locally (bug#9932).

144 145 146
	* progmodes/python.el (python-beginning-of-statement):
	Rewrite (bug#2703).

147 148 149 150 151
	* progmodes/compile.el: Better handle TABs (bug#9749).
	(compilation-internal-error-properties)
	(compilation-next-error-function): Obey the target buffer's
	compilation-error-screen-columns.

Juanma Barranquero's avatar
Juanma Barranquero committed
152 153 154 155 156 157
2011-11-09  Juanma Barranquero  <lekktu@gmail.com>

	* progmodes/meta-mode.el: Remove obsolete comments.
	(meta-right-comment-regexp, meta-ignore-comment-regexp):
	Fix typos in docstrings.

Martin Rudalics's avatar
Martin Rudalics committed
158 159 160
2011-11-09  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-size-fixed-p): Rewrite doc-string.
161
	(window-resizable-p): Rename to window--resizable-p.  Update callers.
Martin Rudalics's avatar
Martin Rudalics committed
162 163 164 165
	(window--resizable): New function.  Make all callers of
	window-resizable call window--resizable instead.
	(window-resizable): Rewrite in terms of window--resizable.

166 167 168 169 170
2011-11-08  Glenn Morris  <rgm@gnu.org>

	* progmodes/delphi.el (delphi-mode-syntax-table):
	Let define-derived-mode define a proper syntax table.  (Bug#9994)

171 172 173 174 175 176
2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* window.el: Stay away from defsubst.
	(window-list-no-nils): Remove.
	(window-state-get-1, window-state-get): Use backquote instead.

thierry volpiatto's avatar
thierry volpiatto committed
177 178
2011-11-08  thierry  <thierry.volpiatto@gmail.com>

179
	* emacs-lisp/find-func.el (find-function-read):
thierry volpiatto's avatar
thierry volpiatto committed
180 181
	Fix incorrect use of default argument in `completing-read'.

182 183 184 185 186
2011-11-08  Martin Rudalics  <rudalics@gmx.at>

	* window.el (display-buffer-function, special-display-function):
	Mention display-buffer-record-window but do not mention
	help-setup parameter in doc-strings.
187
	(window-min-delta): Fix doc-string typo.
188

189 190 191 192 193 194
2011-11-08  Chong Yidong  <cyd@gnu.org>

	* window.el (window-total-height, window-total-width): Doc fix.
	(window-body-size): Move from C.
	(window-body-height, window-body-width): Move to C.

195 196 197 198 199 200 201 202 203 204
2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* window.el: Make special-display like display-buffer-alist (bug#9532).
	(display-buffer--special-action): New function, morphed
	from display-buffer--special.
	(display-buffer): Use it to handle special-display-buffers at higher
	priority (just after display-buffer-alist).
	(display-buffer-fallback-action, display-buffer--other-frame-action)
	(pop-to-buffer-same-window): Remove display-buffer--special.

Glenn Morris's avatar
Glenn Morris committed
205 206 207 208 209
2011-11-07  Glenn Morris  <rgm@gnu.org>

	* calendar/cal-menu.el (cal-menu-set-date-title):
	Do nothing if not in a calendar.  (Bug#9976)

210 211 212 213
2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* files.el (find-file): Always use selected-window.

214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230
2011-11-07  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-combinations): Make WINDOW argument
	mandatory.  Rewrite doc-string.
	(walk-window-subtree, window-atom-check, window-min-delta)
	(window-max-delta, window--resize-this-window)
	(window--resize-root-window-vertically, window-tree)
	(balance-windows, window-state-put): Rewrite doc-strings as to
	not mention the term "subwindow".
	(window--resize-subwindows-skip-p): Rename to
	window--resize-child-windows-skip-p.
	(window--resize-subwindows-normal): Rename to
	window--resize-child-windows-normal.
	(window--resize-subwindows): Rename to
	window--resize-child-windows.
	(window-or-subwindow-p): Rename to window--in-subtree-p.

231 232 233 234 235
2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)

	* mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
	Ensure that mbox format messages end in two newlines (Bug#9974).

236 237 238 239 240 241 242
2011-11-06  Chong Yidong  <cyd@gnu.org>

	* window.el (window-combination-p): Function deleted; its
	side-effect is not used in any existing code.
	(window-combinations, window-combined-p): Call window-*-child
	directly.

243 244 245
2011-11-05  Chong Yidong  <cyd@gnu.org>

	* window.el (window-valid-p): Rename from window-any-p.
246 247 248
	(window-size-ignore, window-state-get): Callers changed.
	(window-normalize-window): Rename from window-normalize-any-window.
	New arg LIVE-ONLY, replacing window-normalize-live-window.
249
	(window-normalize-live-window): Delete.
250 251 252 253 254 255 256 257 258 259 260 261 262 263
	(window-combination-p, window-combined-p, window-combinations)
	(walk-window-subtree, window-atom-root, window-min-size)
	(window-sizable, window-sizable-p, window-size-fixed-p)
	(window-min-delta, window-max-delta, window-resizable)
	(window-resizable-p, window-full-height-p, window-full-width-p)
	(window-current-scroll-bars, window-point-1, set-window-point-1)
	(window-at-side-p, window-in-direction, window-resize)
	(adjust-window-trailing-edge, maximize-window, minimize-window)
	(window-deletable-p, delete-window, delete-other-windows)
	(record-window-buffer, unrecord-window-buffer)
	(switch-to-prev-buffer, switch-to-next-buffer, window--delete)
	(quit-window, split-window, window-state-put)
	(set-window-text-height, fit-window-to-buffer)
	(shrink-window-if-larger-than-buffer): Callers changed.
264

265 266
2011-11-04  Eli Zaretskii  <eliz@gnu.org>

267 268 269 270 271
	* mail/rmail.el (rmail-simplified-subject): Decode subject with
	rfc2047-decode-string.
	(rmail-mime-toggle-hidden): Declare to avoid byte-compilation
	warnings.

272 273 274 275
	* window.el (window-body-height, window-body-width): Mention in
	the doc string that the return values are in frame's canonical
	units.  (Bug#9949)

Alan Mackenzie's avatar
Alan Mackenzie committed
276 277 278 279 280
2011-11-03  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
	change in cc-engine.el.

281 282 283 284
2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* window.el (switch-to-buffer): Use `force-same-window' interactively.

285 286 287 288
2011-11-02  Martin Rudalics  <rudalics@gmx.at>

	* window.el (quit-window): Call unrecord-window-buffer after
	showing another buffer in the window.  (Bug#9937)
289
	(bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
290

Juanma Barranquero's avatar
Juanma Barranquero committed
291 292 293 294 295 296
2011-11-02  Juanma Barranquero  <lekktu@gmail.com>

	* vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
	Accept status with more than 9 shelves.  (Bug#9935)
	Reported by Colin D Bennett <colin@gibibit.com>.

297 298 299 300 301
2011-11-01  Martin Rudalics  <rudalics@gmx.at>

	* help.el (with-help-window): Don't reference
	temp-buffer-show-specifiers in doc-string.

302 303 304 305 306
2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>

	* subr.el (keymap--menu-item-with-binding): Ignore item if not a
	menu-item.

307 308 309 310 311 312
2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

	* whitespace.el: New version 13.2.2.
	(whitespace-newline-mode): Disable properly.  Reported by Sarah
	<EmacsWiki>.

313 314 315 316 317
2011-10-30  Ulf Jasper  <ulf.jasper@web.de>

	* net/newst-treeview.el: Remove "Time-stamp".
	(newsticker--group-manage-orphan-feeds): Do not call
	newsticker--treeview-tree-update.
Juanma Barranquero's avatar
Juanma Barranquero committed
318 319
	(newsticker-treeview-update, newsticker-treeview):
	Call newsticker--treeview-tree-update if necessary.
320

321 322 323
2011-10-30  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window-iso-combination-p, window-iso-combined-p)
324 325
	(window-iso-combinations): Remove "iso-" infix.
	Suggested by Chong Yidong.
326 327 328 329 330 331
	(window-min-size-1, window-size-fixed-1, window-min-delta-1)
	(window-max-delta-1, window-resize, window--resize-siblings)
	(window--resize-this-window, adjust-window-trailing-edge)
	(split-window, balance-windows-1)
	(shrink-window-if-larger-than-buffer):
	* calendar/calendar.el (calendar-generate-window):
Juanma Barranquero's avatar
Juanma Barranquero committed
332
	* help.el (resize-temp-buffer-window): Adjust callers accordingly.
333

334 335 336 337 338 339 340 341 342 343 344 345 346 347
2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
	in place (bug#9907).
	(eshell-subcommand-arg-values, eshell-rewrite-named-command)
	(eshell-rewrite-if-command, eshell-rewrite-for-command)
	(eshell-structure-basic-command, eshell-rewrite-while-command)
	(eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
	(eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
	(eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
	(eshell-do-pipelines-synchronously, eshell-eval-command):
	Use backquotes and prefer setq to set.
	(eshell-lookup-function, function-p-func, eshell-functionp): Remove.
	(eshell-macrop): Use functionp.
348
	(eshell-do-eval): Handle multiple expressions in `while' body.
349

350 351 352 353 354
2011-10-30  Chong Yidong  <cyd@gnu.org>

	* emulation/viper-cmd.el (viper-exec-change): Use push-mark
	instead of set-mark (Bug#9810).

355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384
2011-10-30  Chong Yidong  <cyd@gnu.org>

	* window.el (split-window-below, split-window-right): Rename from
	split-window-above-each-other and split-window-side-by-side
	respectively.  All callers changed.
	(split-window-sensibly, split-window-sensibly): Use them.
	(split-window-keep-point): Doc fix.

	* isearch.el: Add isearch-scroll property to split-window-below
	and split-window-right.

	* follow.el (follow-mode):
	* vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
	* progmodes/ada-xref.el (ada-gdb-application):
	* emulation/vip.el (vip-buffer-in-two-windows):
	* image-dired.el (image-dired-dired-with-window-configuration):
	* dired-x.el (dired-do-find-marked-files):
	* dired.el (dired-pop-to-buffer):
	* bs.el (bs--show-with-configuration):
	* vc/emerge.el (emerge-setup-windows):
	* textmodes/two-column.el (2C-two-columns):
	* textmodes/reftex-toc.el (reftex-toc):
	* progmodes/gdb-mi.el (gdb-setup-windows):
	* progmodes/fortran.el (fortran-window-create):
	* net/newst-treeview.el (newsticker--treeview-window-init):
	* emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
	* emulation/tpu-edt.el (tpu-gold-map):
	* emulation/crisp.el (crisp-mode-map):
	* calendar/calendar.el (calendar-basic-setup): Callers changed.

385 386
2011-10-29  Chong Yidong  <cyd@gnu.org>

387 388
	* subr.el (y-or-n-p): Add code for batch mode (Bug#9818).

389 390
	* mouse.el (mouse-yank-primary): Push the mark (Bug#9894).

391 392 393
	* textmodes/flyspell.el (flyspell-word): Fix char offset for
	forged Ispell output (Bug#7904).

394 395
	* emacs-lisp/package.el (package-refresh-contents): Add autoload.

396 397 398 399 400 401 402 403 404
2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* doc-view.el: Avoid ugly errors about not finding nil.
	(doc-view-ghostscript-program, doc-view-dvipdfm-program)
	(doc-view-dvipdf-program, doc-view-unoconv-program)
	(doc-view-ps2pdf-program, doc-view-pdftotext-program):
	Avoid nil or absolute file name as default value.
	(doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.

405 406
2011-10-28  Alan Mackenzie  <acm@muc.de>

Juanma Barranquero's avatar
Juanma Barranquero committed
407
	* progmodes/cc-defs.el (c-version): -> 5.32.2.
408

Alan Mackenzie's avatar
Alan Mackenzie committed
409 410 411 412 413
2011-10-28  Alan Mackenzie  <acm@muc.de>

	Amend the handling of c-beginning/end-of-defun in nested declaration
	scopes.

414 415
	* progmodes/cc-vars.el (c-defun-tactic): Move here from
	cc-langs.el.  Change it to a defcustom.
Alan Mackenzie's avatar
Alan Mackenzie committed
416

417 418
	* progmodes/cc-langs.el (c-defun-tactic): Move this variable to
	cc-vars.el.
Alan Mackenzie's avatar
Alan Mackenzie committed
419

420 421
	* progmodes/cc-engine.el (c-beginning-of-statement-1):
	Prevent "class foo : bar" being spuriously recognized as a label.
Alan Mackenzie's avatar
Alan Mackenzie committed
422

423
	* progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
424
	Add parameter `inclusive' (to include enclosing braces in the region).
Alan Mackenzie's avatar
Alan Mackenzie committed
425 426 427 428 429 430 431 432
	(c-widen-to-enclosing-decl-scope): New function.
	(c-while-widening-to-decl-block): New macro.
	(c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
	outward for defun boundaries, and correspondingly change symbol
	`respect-enclosure' to `go-outward'.
	(c-declaration-limits): Change algorithm to report only the "innermost"
	defun's boundaries.

433 434 435 436
2011-10-28  Deniz Dogan  <deniz@dogan.se>

	* net/rcirc.el (rcirc-mode): Use hard newlines.

Alan Mackenzie's avatar
Merge  
Alan Mackenzie committed
437 438 439 440 441
2011-10-28  Alan Mackenzie  <acm@muc.de>

	Amend to indent and fontify macros "which include their own semicolon"
	correctly, using the "virtual semicolon" mechanism.

442
	* progmodes/cc-defs.el: Update "virtual semicolon" comments.
Alan Mackenzie's avatar
Merge  
Alan Mackenzie committed
443

444
	* progmodes/cc-engine.el (c-crosses-statement-barrier-p):
445
	Recode to scan one line at at time rather than having \n and \r
446
	explicitly in c-stmt-delim-chars
Alan Mackenzie's avatar
Merge  
Alan Mackenzie committed
447 448 449 450
	(for some modes, e.g. AWK).
	(c-forward-label): Amend for virtual semicolons.
	(c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions

451 452
	* progmodes/cc-fonts.el (c-font-lock-declarations): Take account
	of the new C macros.
Alan Mackenzie's avatar
Merge  
Alan Mackenzie committed
453

454
	* progmodes/cc-langs.el (c-at-vsemi-p-fn):
455 456
	(c-vsemi-status-unknown-p-fn): Move to earlier in the file.
	(c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
Alan Mackenzie's avatar
Merge  
Alan Mackenzie committed
457 458 459 460
	(c-opt-cpp-macro-define): Make into a full language variable.
	(c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
	AWK Mode (including \n, \r) removed, no longer needed.

461 462
	* progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
	Invoke c-make-macro-with-semi-re.
Alan Mackenzie's avatar
Merge  
Alan Mackenzie committed
463

464 465
	* progmodes/cc-vars.el (c-macro-with-semi-re):
	(c-macro-names-with-semicolon): New variables.
Alan Mackenzie's avatar
Merge  
Alan Mackenzie committed
466 467
	(c-make-macro-with-semi-re): New function

468 469 470 471 472 473
2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc/log-edit.el: Fill empty field rather than adding new one.
	(log-edit-add-field): New function.
	(log-edit-insert-changelog): Use it.

474 475 476 477
2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)

	* mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).

478 479 480 481 482 483
2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
	(gdb--check-interpreter): New function.
	(gdb): Use it.

484 485
2011-10-27  Glenn Morris  <rgm@gnu.org>

486 487 488 489 490 491 492 493 494 495 496 497 498
	* emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
	(least-positive-float, least-negative-float)
	(least-positive-normalized-float, least-negative-normalized-float)
	(float-epsilon, float-negative-epsilon):
	Remove unnecessary declarations.

	* emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
	* emacs-lisp/cl.el (most-positive-float, most-negative-float)
	(least-positive-float, least-negative-float)
	(least-positive-normalized-float, least-negative-normalized-float)
	(float-epsilon, float-negative-epsilon): Add doc-strings,
	based on those in cl.texi.

499 500 501
	* files.el (set-visited-file-name): If the major-mode changed,
	reload the local variables.  (Bug#9796)

502 503 504 505 506
2011-10-27  Chong Yidong  <cyd@gnu.org>

	* subr.el (change-major-mode-after-body-hook): New hook.
	(run-mode-hooks): Run it.

507 508
	* emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
	Use change-major-mode-before-body-hook.
509 510 511 512 513

	* simple.el (fundamental-mode):
	* emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
	change introducing fundamental-mode-hook.

514 515
2011-10-26  Juanma Barranquero  <lekktu@gmail.com>

516
	* term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
517

518 519 520
2011-10-26  Michael Albinus  <michael.albinus@gmx.de>

	* ido.el (ido-file-name-all-completions-1): Do not require
Juanma Barranquero's avatar
Juanma Barranquero committed
521
	tramp.el explicitly.  (Bug#7583)
522

523 524 525 526 527
2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/octave-mod.el:
	* progmodes/octave-inf.el: Update maintainer.

Chong Yidong's avatar
Chong Yidong committed
528 529 530 531
2011-10-26  Chong Yidong  <cyd@gnu.org>

	* subr.el (with-wrapper-hook): Rewrite doc.

532 533 534
2011-10-25  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
535
	filenames "/method:foo:".  (Bug#9793)
536

537 538 539 540 541
2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
	(bug#9865).

542 543 544 545
2011-10-24  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)

546 547 548 549 550
2011-10-24  Michael Albinus  <michael.albinus@gmx.de>

	* notifications.el: Add the requirement of a running D-Bus session
	bus to the Commentary.

551 552 553 554 555 556
2011-10-24  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
	`search-whitespace-regexp' only when `isearch-regexp' is non-nil.
	(Bug#9364)

557 558 559 560 561
2011-10-24  Juri Linkov  <juri@jurta.org>

	* info.el (Info-following-node-name-re): Add newline to the list
	of allowed characters for leading space.  (Bug#9824)

562 563
2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>

564 565
	* progmodes/octave-inf.el (inferior-octave-mode-map):
	Fix C-c C-h binding.
566 567
	* progmodes/octave-mod.el (octave-help): Remove.

Michael Albinus's avatar
Michael Albinus committed
568 569 570 571 572 573 574 575 576
2011-10-23  Michael Albinus  <michael.albinus@gmx.de>

	Sync with Tramp 2.2.3.

	* net/tramp-cache.el (top): Pacify byte-compiler using
	`init-file-user' and `site-run-file'.

	* net/trampver.el: Update release number.

577 578 579 580 581 582 583 584 585
2011-10-23  Chong Yidong  <cyd@gnu.org>

	* files.el (toggle-read-only): Remove obsolete comment about
	version control.

	* vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
	for toggle-read-only.  Note that this hasn't called vc-next-action
	since 2008-05-02, though it wasn't documented at the time.

586 587
	* vc/ediff-init.el (ediff-toggle-read-only-function):
	Use toggle-read-only.
588

589 590 591 592 593
2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>

	Fix bug #9560, sporadic wrong indentation; improve instrumentation
	of c-parse-state.

Glenn Morris's avatar
Glenn Morris committed
594
	* progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
595
	correct faulty logical expression.
596 597 598 599
	(c-parse-state-state, c-record-parse-state-state):
	(c-replay-parse-state-state): New defvar/defuns.
	(c-debug-parse-state): Use new functions.

Martin Rudalics's avatar
Martin Rudalics committed
600 601 602
2011-10-22  Martin Rudalics  <rudalics@gmx.at>

	* mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
603
	last fix.  Use window-in-direction correctly.
Martin Rudalics's avatar
Martin Rudalics committed
604

605 606 607 608
2011-10-21  Chong Yidong  <cyd@gnu.org>

	* progmodes/idlwave.el (idlwave-mode):
	* progmodes/vera-mode.el (vera-mode): No need to set
609 610
	require-final-newline; that's done in prog-mode.
	Suggested by Stefan Monnier.
611

612 613 614 615 616 617 618 619 620 621 622
2011-10-21  Martin Rudalics  <rudalics@gmx.at>

	* mouse.el (mouse-drag-window-above)
	(mouse-drag-move-window-bottom, mouse-drag-move-window-top)
	(mouse-drag-mode-line-1, mouse-drag-header-line)
	(mouse-drag-vertical-line-rightward-window): Remove.
	(mouse-drag-line): New function.
	(mouse-drag-mode-line, mouse-drag-header-line)
	(mouse-drag-vertical-line): Call mouse-drag-line.
	* window.el (window-at-side-p, windows-at-side): New functions.

Ulrich Mueller's avatar
Ulrich Mueller committed
623 624 625 626 627
2011-10-21  Ulrich Mueller  <ulm@gentoo.org>

	* tar-mode.el (tar-grind-file-mode):
	Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)

628 629 630
2011-10-21  Chong Yidong  <cyd@gnu.org>

	* progmodes/idlwave.el (idlwave-mode):
631 632
	* progmodes/vera-mode.el (vera-mode):
	Use mode-require-final-newline.
633

634 635
2011-10-20  Glenn Morris  <rgm@gnu.org>

Juanma Barranquero's avatar
Juanma Barranquero committed
636
	* vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
637

638 639 640 641
2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>

	* emulation/cua-base.el (cua-set-mark): Fix case of string.

Chong Yidong's avatar
Chong Yidong committed
642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675
2011-10-20  Chong Yidong  <cyd@gnu.org>

	* emulation/cua-base.el (cua-mode):
	* mail/footnote.el (footnote-mode):
	* mail/mailabbrev.el (mail-abbrevs-mode):
	* net/xesam.el (xesam-minor-mode):
	* progmodes/bug-reference.el (bug-reference-mode):
	* progmodes/cap-words.el (capitalized-words-mode):
	* progmodes/compile.el (compilation-minor-mode)
	(compilation-shell-minor-mode):
	* progmodes/gud.el (gud-tooltip-mode):
	* progmodes/hideif.el (hide-ifdef-mode):
	* progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
	* progmodes/subword.el (subword-mode):
	* progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
	* progmodes/which-func.el (which-function-mode):
	* term/tvi970.el (tvi970-set-keypad-mode):
	* term/vt100.el (vt100-wide-mode):
	* textmodes/flyspell.el (flyspell-mode):
	* textmodes/ispell.el (ispell-minor-mode):
	* textmodes/nroff-mode.el (nroff-electric-mode):
	* textmodes/paragraphs.el (use-hard-newlines):
	* textmodes/refill.el (refill-mode):
	* textmodes/reftex.el (reftex-mode):
	* textmodes/rst.el (rst-minor-mode):
	* textmodes/sgml-mode.el (html-autoview-mode)
	(sgml-electric-tag-pair-mode):
	* textmodes/tex-mode.el (latex-electric-env-pair-mode):
	* vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
	* emulation/crisp.el (crisp-mode):
	* emacs-lisp/eldoc.el (eldoc-mode):
	* emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
	minor mode behavior.

676 677 678 679 680
2011-10-19  Juri Linkov  <juri@jurta.org>

	* descr-text.el (describe-char): Add #x2010 and #x2011 to
	the list of hard-coded chars with escape-glyph face.

681 682 683 684
2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.

685 686 687 688 689
2011-10-19  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-connectable-p): Make a stronger check on a
	running process.

690 691 692 693 694
2011-10-19  Glenn Morris  <rgm@gnu.org>

	* vc/vc-bzr.el (vc-bzr-after-dir-status):
	Ignore ignored files.  (Bug#9726)

695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767
2011-10-19  Chong Yidong  <cyd@gnu.org>

	Doc fix for minor modes, stating that an omitted argument enables
	the mode unconditionally when called from Lisp.

	* abbrev.el (abbrev-mode):
	* allout.el (allout-mode):
	* autoinsert.el (auto-insert-mode):
	* autoarg.el (autoarg-mode, autoarg-kp-mode):
	* autorevert.el (auto-revert-mode, auto-revert-tail-mode)
	(global-auto-revert-mode):
	* battery.el (display-battery-mode):
	* composite.el (global-auto-composition-mode)
	(auto-composition-mode):
	* delsel.el (delete-selection-mode):
	* desktop.el (desktop-save-mode):
	* dired-x.el (dired-omit-mode):
	* dirtrack.el (dirtrack-mode):
	* doc-view.el (doc-view-minor-mode):
	* double.el (double-mode):
	* electric.el (electric-indent-mode, electric-pair-mode):
	* emacs-lock.el (emacs-lock-mode):
	* epa-hook.el (auto-encryption-mode):
	* follow.el (follow-mode):
	* font-core.el (font-lock-mode):
	* frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
	* help.el (temp-buffer-resize-mode):
	* hilit-chg.el (highlight-changes-mode)
	(highlight-changes-visible-mode):
	* hi-lock.el (hi-lock-mode):
	* hl-line.el (hl-line-mode, global-hl-line-mode):
	* icomplete.el (icomplete-mode):
	* ido.el (ido-everywhere):
	* image-file.el (auto-image-file-mode):
	* image-mode.el (image-minor-mode):
	* iswitchb.el (iswitchb-mode):
	* jka-cmpr-hook.el (auto-compression-mode):
	* linum.el (linum-mode):
	* longlines.el (longlines-mode):
	* master.el (master-mode):
	* mb-depth.el (minibuffer-depth-indicate-mode):
	* menu-bar.el (menu-bar-mode):
	* minibuf-eldef.el (minibuffer-electric-default-mode):
	* mouse-sel.el (mouse-sel-mode):
	* msb.el (msb-mode):
	* mwheel.el (mouse-wheel-mode):
	* outline.el (outline-minor-mode):
	* paren.el (show-paren-mode):
	* recentf.el (recentf-mode):
	* reveal.el (reveal-mode, global-reveal-mode):
	* rfn-eshadow.el (file-name-shadow-mode):
	* ruler-mode.el (ruler-mode):
	* savehist.el (savehist-mode):
	* scroll-all.el (scroll-all-mode):
	* scroll-bar.el (scroll-bar-mode):
	* server.el (server-mode):
	* shell.el (shell-dirtrack-mode):
	* simple.el (auto-fill-mode, transient-mark-mode)
	(visual-line-mode, overwrite-mode, binary-overwrite-mode)
	(line-number-mode, column-number-mode, size-indication-mode)
	(auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
	* strokes.el (strokes-mode):
	* time.el (display-time-mode):
	* t-mouse.el (gpm-mouse-mode):
	* tool-bar.el (tool-bar-mode):
	* tooltip.el (tooltip-mode):
	* type-break.el (type-break-mode-line-message-mode)
	(type-break-query-mode):
	* view.el (view-mode):
	* whitespace.el (whitespace-mode, whitespace-newline-mode)
	(global-whitespace-mode, global-whitespace-newline-mode):
	* xt-mouse.el (xterm-mouse-mode): Doc fix.

768 769
	* emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
	Fix autogenerated docstring.
770

771 772 773 774 775 776
2011-10-19  Juri Linkov  <juri@jurta.org>

	* net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
	by checking environment variables "DESKTOP_SESSION" and
	"XDG_CURRENT_DESKTOP".  (Bug#9779)

777 778 779 780 781 782 783 784 785
2011-10-19  Juri Linkov  <juri@jurta.org>

	* net/browse-url.el (browse-url-browser-function): Add "Chromium".
	(browse-url-chromium-program, browse-url-chromium-arguments):
	New defcustoms.
	(browse-url-default-browser): Check for `browse-url-chromium' and
	call `browse-url-chromium-program'.
	(browse-url-chromium): New command.  (Bug#9779)

786 787 788 789 790 791
2011-10-18  Juanma Barranquero  <lekktu@gmail.com>

	* facemenu.el (list-colors-duplicates): On Windows, detect more
	duplicates by assuming that only colors matching "^System" are
	special "system colors".  (Bug#9722)

792 793 794 795 796
2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc/log-edit.el (log-edit): Add "Author:" header to encourage people
	to distinguish the author from the committer.

797 798 799 800
2011-10-18  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.

801 802 803 804 805 806 807
2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)

	* international/mule.el (sgml-html-meta-auto-coding-function):
	Add support for detecting encoding in HTML5 specified only as
	<meta charset="UTF-8">.  Implementation just makes http-equiv and
	content-type parts from HTML4 encoding string optional.  (Bug#9716)

808 809 810 811
2011-10-18  Glenn Morris  <rgm@gnu.org>

	* vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)

812 813 814 815
2011-10-18  Chong Yidong  <cyd@gnu.org>

	* faces.el (cursor): Doc fix.

816 817 818 819
2011-10-17  Chong Yidong  <cyd@gnu.org>

	* font-lock.el (font-lock-maximum-size): Mark as obsolete.

820
2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
821 822 823 824

	* dirtrack.el (dirtrack): Support shell buffers with path
	prefixes, e.g. tramp-based remote shells.  (Bug#9647)

825 826 827 828 829
2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>

	* json.el: Bump version to 1.3 and note change in History.
	(json-alist-p, json-plist-p): Rewrite to avoid recursion.

830 831
2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>

832 833 834 835 836
	* comint.el (comint-insert-input, comint-send-input)
	(comint-get-old-input-default, comint-backward-matching-input)
	(comint-next-prompt): Use nil instead of `input' for field property of
	past user input (bug#114).

837 838 839 840
	* minibuffer.el (completion--replace): Inherit surrounding properties
	(bug#114).
	(minibuffer-complete-and-exit): Use it.

841 842 843
	* comint.el (comint--table-subvert): Quote the all-completions output
	(bug#9160).

844 845
2011-10-17  Martin Rudalics  <rudalics@gmx.at>

846
	* ido.el (ido-default-buffer-method): Remove redundant :type entry.
847

848
	* menu-bar.el (menu-bar-file-menu): Add entry for making new
849
	window on right of selected.  (Bug#9350) Reword other window
850 851
	entries and separate them from frame entries.

852 853 854 855 856
2011-10-15  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
	Doc fixes.

857 858
2011-10-15  Chong Yidong  <cyd@stupidchicken.com>

859 860
	* net/network-stream.el (network-stream-open-starttls):
	Improve detection of failure due to lack of TLS support.
861

862 863 864
	* mail/sendmail.el (sendmail-query-once): Tweak prompt message,
	putting the input text in front and in bold.

865 866
2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>

867 868
	* pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.

869 870 871
	* mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
	empty buffer.

872 873 874
	* mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
	unread-command-events rather than pushing yet-another event.

875 876 877 878 879 880
2011-10-14  Eli Zaretskii  <eliz@gnu.org>

	* mail/sendmail.el (sendmail-query-once): Improve the wording of
	the explanation of the possible choices.  Make the options passed
	to completing-read shorter.

881 882 883 884 885
2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* textmodes/flyspell.el (flyspell-large-region): Make sure
	extended character mode is used if defined (Bug#1339).

886 887 888
2011-10-13  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (what-cursor-position): Fix the display of the
889 890
	character info for LRE, LRO, RLE, and RLO characters by appending
	an invisible PDF.
891

892 893 894 895 896 897
2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
	even in case of error; add debug spec; simplify data flow.
	(with-timeout-handler): Remove.

Michael Albinus's avatar
Michael Albinus committed
898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914
2011-10-12  Michael Albinus  <michael.albinus@gmx.de>

	Fix Bug#6019, Bug#9315.

	* files.el (set-auto-mode): Call `file-name-sans-versions' for the
	complete `buffer-file-name', the local file name part could look
	remotely (for example on VMS).

	* net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
	`tramp-run-real-handler'.
	(ange-ftp-fix-name-for-vms): Handle the case, where `name' is
	already quoted by '"'.

	* net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
	Let `file-name-handler-alist' be nil, the local file name part
	could look remotely (for example on VMS).

915 916 917 918 919 920
2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* textmodes/flyspell.el (flyspell-word): Move with-local-quit
	from here...
	(flyspell-post-command-hook): ...to here.

921 922 923 924 925 926 927 928
2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
	if not needed.
	(sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
	using completion.  Protect against "slow" callers.
	Remove the "message hack".

929 930 931 932 933 934
2011-10-11  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-lazy-highlight-word): New variable.
	(isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
	Use it.  (Bug#9727)

935 936 937 938 939
2011-10-11  Glenn Morris  <rgm@gnu.org>

	* progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
	like f90-previous-statement does.

940 941
2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

Glenn Morris's avatar
Glenn Morris committed
942
	* eshell/eshell.el (eshell-command): History should be saved
943 944
	only in interactive use, to avoid error.

945 946 947 948 949
2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion-file-name-table): Fix last change,
	i.e. ignore normal errors but not the other ones.

950 951 952 953 954
2011-10-10  Martin Rudalics  <rudalics@gmx.at>

	* window.el (special-display-buffer-names)
	(special-display-regexps): Remove some remnants of earlier
	changes from doc-strings.
955 956 957 958 959
	(quit-windows-on): New function.

	* vc/vc.el (vc-revert, vc-rollback):
	* vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
	instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
Martin Rudalics's avatar
Martin Rudalics committed
960
	(Bug#6183) (Bug#7074) (Bug#7447)
961

962 963 964 965 966
2011-10-09  Martin Rudalics  <rudalics@gmx.at>

	* window.el (frame-auto-hide-function): Add version tag.
	(Bug#9699)

967 968 969 970 971
2011-10-09  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-file-name-handler): Add 'debug to the error
	condition.

972 973 974 975 976
2011-10-09  Leo Liu  <sdl.web@gmail.com>

	* mail/smtpmail.el (smtpmail-send-data): Add a missing space.
	(Bug#9701)

Glenn Morris's avatar
Glenn Morris committed
977 978 979 980 981
2011-10-08  Glenn Morris  <rgm@gnu.org>

	* progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
	before the first code statement zero indent.  (Bug#9690)

982 983 984 985 986 987 988 989 990 991 992 993
2011-10-08  Chong Yidong  <cyd@stupidchicken.com>

	* simple.el (count-words-region): Always count in the region.
	Report the number of lines and characters too.
	(count-words): New command, which counts in the buffer if the
	region is inactive, as count-words-region used to.
	(count-words--message): New function.  Handle plurals.
	(count-lines-region): Make it an alias for count-words-region.

	* bindings.el (esc-map): Replace count-lines-region with
	count-words-region.

994 995 996 997
2011-10-08  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window--delete): Delete dedicated frame
	unconditionally when argument KILL is non-nil.  (Bug#9699)
998
	(switch-to-buffer): Fix doc-string typo.
999

1000 1001 1002 1003
2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* lisp/eshell/eshell.el (eshell-command): Avoid using hooks.

1004 1005 1006 1007 1008
2011-10-07  Chong Yidong  <cyd@stupidchicken.com>

	* bindings.el ([M-left],[M-right]): Bind to left-word and
	right-word respectively.

1009 1010 1011 1012
2011-10-07  Glenn Morris  <rgm@gnu.org>

	* cus-start.el (debug-on-quit): Fix custom type.

1013 1014
2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>

1015 1016 1017
	* subr.el (define-key-after): Clarify that the function is not
	useful for non-menu keymaps.

1018 1019
	* progmodes/gdb-mi.el (gdb): Fix typo in doc string.

thierry volpiatto's avatar
thierry volpiatto committed
1020 1021
2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

1022
	* eshell/eshell.el (eshell-command): Enable `eshell-mode' only
thierry volpiatto's avatar
thierry volpiatto committed
1023 1024
	in current minibuffer (Fix bug with recursive minibuffers).

1025 1026 1027 1028
2011-10-06  Chong Yidong  <cyd@stupidchicken.com>

	* progmodes/gdb-mi.el (gdb): Doc fix.

1029 1030 1031 1032 1033 1034
2011-10-05  Martin Rudalics  <rudalics@gmx.at>

	* window.el (frame-auto-hide-function): New option replacing
	frame-auto-delete.  Suggested by Stefan Monnier.
	(window--delete): Call frame-auto-hide-function instead of
	investigating frame-auto-delete.
1035 1036 1037 1038 1039
	(window-point-1, set-window-point-1): New functions.
	(window-in-direction, record-window-buffer, window-state-get-1)
	(display-buffer-record-window): Use window-point-1 instead of
	window-point.
	(set-window-buffer-start-and-point): Use set-window-point-1.
1040

1041 1042 1043 1044
2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/edebug.el: Heed checkdoc recommendations.

Glenn Morris's avatar
Glenn Morris committed
1045 1046 1047 1048 1049
2011-10-05  Glenn Morris  <rgm@gnu.org>

	* progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
	(perl-calculate-indent): Suppress scan errors.  (Bug#2205)

1050 1051 1052 1053 1054
2011-10-05  Leo Liu  <sdl.web@gmail.com>

	* subr.el (read-char-choice): Fix argument to buffer-live-p which
	works with buffer object.

1055 1056 1057 1058
2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* mpc.el (mpc-tool-bar-map): Add labels.

1059 1060 1061 1062
2011-10-04  Glenn Morris  <rgm@gnu.org>

	* calendar/holidays.el (calendar-check-holidays): Doc fix.

1063 1064 1065 1066 1067 1068 1069 1070 1071 1072
2011-10-04  Martin Rudalics  <rudalics@gmx.at>

	* window.el (window--delete): New function.
	(frame-auto-delete): Resuscitate option.
	(bury-buffer, replace-buffer-in-windows)
	(quit-window): Rewrite using window--delete.
	(display-buffer-pop-up-frame, display-buffer-pop-up-window):
	Pass display-buffer-mark-dedicated to window--display-buffer-2
	(Bug#9639).

1073 1074
2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>

1075 1076 1077 1078 1079 1080 1081 1082
	* pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
	returns a list (bug#9554).  Add remote file name completion.
	* comint.el (comint--table-subvert): Curry and get quote&unquote
	functions as arguments.
	(comint--complete-file-name-data): Adjust call accordingly.
	* pcomplete.el (pcomplete--table-subvert): Remove.
	(pcomplete-completions-at-point): Use comint--table-subvert instead.

1083 1084 1085 1086 1087 1088 1089 1090
	* minibuffer.el (completion-table-case-fold): Use currying.
	(completion--styles-type, completion--cycling-threshold-type):
	New constants.
	(completion-styles, completion-category-overrides)
	(completion-cycle-threshold): Use them.
	* pcomplete.el (pcomplete-completions-at-point): Adjust call to
	completion-table-case-fold.

1091 1092 1093 1094 1095
2011-10-03  Stephen Berman  <stephen.berman@gmx.net>

	* minibuffer.el (completion-category-overrides): Fix type of styles
	and add more user friendly tags (bug#9660).

1096 1097 1098 1099 1100 1101
2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
	(mule-input-method-string): New widget.
	(default-input-method, language-info-custom-alist): Use it.

1102 1103
2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>

1104 1105 1106 1107 1108 1109 1110 1111 1112
	* pcomplete.el: Require comint.
	(pcomplete--common-suffix): Remove.
	(pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
	(pcomplete--table-subvert): Sync with comint--table-subvert.
	(pcomplete--entries): Use comint-completion-file-name-table.
	* comint.el (comint-unquote-filename): Simplify.
	(comint-completion-file-name-table): New function (bug#9616).
	(comint--complete-file-name-data): Use it.

1113 1114 1115
	* pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
	(pcmpl-gnu-tar-buffer): Remove.
	(pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
1116 1117
	around.  Make sure pcomplete-suffix-list is only changed temporarily.
	Don't look inside the tar's file if it's too large.
1118

1119 1120
2011-10-01  Chong Yidong  <cyd@stupidchicken.com>

1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140
	* cus-edit.el (custom-mode-map):
	* epa.el (epa-key-list-mode-map):
	* man.el (Man-mode-map):
	* startup.el (splash-screen-keymap):
	* simple.el (special-mode-map): Use scroll-up-command and
	scroll-down-command.

	* progmodes/idlw-help.el (idlwave-help-mode-map):
	* progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
	* net/newst-plainview.el (newsticker-mode-map):
	* emulation/ws-mode.el (wordstar-mode-map):
	* emulation/vi.el (vi-com-map):
	* calc/calc-graph.el (calc-graph-show-dumb):
	* term/sun.el (terminal-init-sun):
	* term/ns-win.el (global-map):
	* progmodes/grep.el (grep-mode-map):
	* progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
	* mail/rmail.el (rmail-mode-map):
	* progmodes/cpp.el (cpp-edit-mode-map): Likewise.

1141 1142 1143
	* custom.el (custom-safe-themes, load-theme): Treat value of t for
	custom-safe-themes as special.

1144 1145 1146 1147
2011-10-01  Julien Danjou  <julien@danjou.info>

	* notifications.el (notifications-notify): Fix docstring.

1148 1149 1150 1151
2011-10-01  Per Starbäck  <per@starback.se>

	* pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)

1152 1153 1154 1155
2011-09-30  Martin Rudalics  <rudalics@gmx.at>

	* startup.el (command-line-1): Fix last fix by inserting
	initial-scratch-message into *scratch* before displaying it.
1156
	(Bug#9605) and (Bug#9636)
1157

1158 1159 1160 1161 1162 1163
2011-09-29  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (line-move): If auto-hscroll-mode is disabled and the
	window is hscrolled, move by logical lines.  (Bug#9607)
	(line-move-visual): Update the doc string to the above effect.

1164 1165
2011-09-29  Martin Rudalics  <rudalics@gmx.at>

1166 1167 1168
	* window.el (display-buffer-record-window): When WINDOW is the
	selected window use `point' instead of `window-point'.  (Bug#9626)

1169 1170
	* startup.el (command-line-1): Use insert-before-markers when
	inserting initial-scratch-message.  (Bug#9605)
1171

1172 1173
	* help.el (help-window): Remove variable.

1174 1175 1176 1177
2011-09-29  Glenn Morris  <rgm@gnu.org>

	* pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.

1178 1179 1180 1181 1182
2011-09-29  Juanma Barranquero  <lekktu@gmail.com>

	* descr-text.el (describe-char-categories): Accept category
	descriptions more than one line long.

1183 1184
2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>

1185 1186
	* simple.el (delete-trailing-whitespace): Fix last change.

1187 1188 1189
	* progmodes/perl-mode.el (perl-syntax-propertize-function):
	Don't confuse "y => 3" as the beginning of a `y' operation.

1190 1191 1192
	* emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
	object has more than 4 slots (bug#9613).

Juanma Barranquero's avatar
Juanma Barranquero committed
1193 1194 1195 1196 1197 1198
2011-09-28  Juanma Barranquero  <lekktu@gmail.com>

	* subr.el (with-output-to-temp-buffer):
	* net/quickurl.el (quickurl, quickurl-browse-url):
	Fix typos in docstrings.

1199 1200 1201 1202 1203 1204
2011-09-27  Eli Zaretskii  <eliz@gnu.org>

	* minibuffer.el (completion-styles)
	(completion-category-overrides): Cross reference each other in doc
	strings.

Glenn Morris's avatar
Glenn Morris committed
1205 1206 1207 1208 1209
2011-09-27  Glenn Morris  <rgm@gnu.org>

	* pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
	to split-string.  (Bug#9606)

1210 1211 1212 1213 1214
2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
	(bug#9615).

1215 1216 1217 1218
2011-09-27  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/package.el (list-packages): Fix echo area message.

1219 1220 1221 1222
2011-09-27  Leo Liu  <sdl.web@gmail.com>

	* ido.el (ido-read-internal): Accept cons cell HIST arg.

1223 1224 1225 1226 1227
2011-09-25  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (dbus-unregister-object): Don't release services for
	registered signals.  (Bug#9581)

1228 1229 1230 1231 1232 1233
2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>

	* progmodes/cfengine.el (cfengine-auto-mode): Add convenience
	function that picks between cfengine 2 and 3 support
	automatically.  Update docs accordingly.

1234 1235 1236 1237 1238 1239 1240
2011-09-22  Kenichi Handa  <handa@m17n.org>

	* language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
	ZERO.
	(indian-itrans-v5-table-for-tamil): New variable.
	(indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).

1241 1242 1243 1244 1245 1246 1247 1248 1249
2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>

	* allout.el (allout-this-command-hid-stuff): Buffer-local variable
	that's true if the current command involved collapsing of text.
	It's reset to false at the beginning of the next command.
	(allout-post-command-business): Move the cursor to the beginning
	of entry if the cursor is hidden and collapsing activity just
	happened.

1250 1251 1252 1253 1254
2011-09-24  Chong Yidong  <cyd@stupidchicken.com>

	* mouse.el (mouse-drag-track): Set scroll-margin to 0 while
	tracking (Bug#9541).

1255 1256 1257 1258
2011-09-24  Ulf Jasper  <ulf.jasper@web.de>

	* net/newst-reader.el (newsticker-html-renderer)
	(newsticker-show-news): Automatically
1259 1260
	load html rendering package if newsticker-html-renderer is set.
	Fixes "Warning: defvar ignored because w3m-fill-column is
1261 1262 1263
	let-bound" and the error "Symbol's value as variable is void:
	w3m-fill-column".

1264 1265 1266 1267 1268
2011-09-24  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (dbus-unregister-object): Remove match rule of signals.
	Release services only if they are defined.  (Bug#9581)

1269 1270
2011-09-23  Richard Stallman  <rms@gnu.org>

1271 1272 1273
	* textmodes/paragraphs.el (forward-sentence): For backwards case,
	distinguish start of paragraph from start of its text.

1274 1275
	* mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.

1276 1277 1278 1279
	* mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
	(rmail-generate-viewer-buffer): Put that hook on view buffer.
	(rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.

1280 1281 1282 1283 1284
2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>

	* international/mule-diag.el (mule-diag): Insert a newline after
	each fontset description.

1285 1286 1287 1288 1289
2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (delete-trailing-whitespace):
	Document last change; simplify.

1290 1291
2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>

1292 1293 1294
	* simple.el (delete-trailing-whitespace): Also delete
	extra newlines at the end of the buffer.

1295 1296 1297
	* textmodes/picture.el: Make motion commands obey shift-select-mode.
	(picture-newline): Use forward-line so as to ignore fields.

1298 1299 1300 1301
2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (with-wrapper-hook): Fix edebug spec.

1302 1303 1304 1305 1306
2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* simple.el (kill-line): Note effect of `show-trailing-whitespace'
	(bug#4538).

1307 1308
2011-09-23  Michael Albinus  <michael.albinus@gmx.de>

1309 1310
	* net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
	Fix nasty bug using wrong cached values.
1311

1312 1313 1314 1315
2011-09-23  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-defs.el (c-version): Increase to 5.31.9.

1316 1317 1318 1319 1320
2011-09-23  Chong Yidong  <cyd@stupidchicken.com>

	* window.el (pop-to-buffer): Ensure right window is selected if we
	chose another frame.

1321 1322 1323 1324 1325 1326
2011-09-22  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (what-cursor-position): Use get-char-property-change
	and next-single-char-property-change, to be able to show display
	properties that come from overlays as well as text properties.

1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338
2011-09-22  Chong Yidong  <cyd@stupidchicken.com>

	* window.el (pop-to-buffer-same-window): New (reinstated) fun.

	* cmuscheme.el (run-scheme, switch-to-scheme):
	* cus-edit.el (customize-group, custom-buffer-create)
	(customize-browse):
	* info.el (info):
	* shell.el (shell):
	* mail/sendmail.el (mail):
	* progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).

1339 1340 1341 1342 1343
2011-09-22  Richard Stallman  <rms@gnu.org>

	* textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
	move back only to line beg, don't move back over blank lines.