ChangeLog 443 KB
Newer Older
1 2 3 4
2012-04-15  Chong Yidong  <cyd@gnu.org>

	* bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).

Chong Yidong's avatar
Chong Yidong committed
5 6 7 8 9
2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	Avoid the use of ((lambda ...) ...) in lexical-binding code.
	* emacs-lisp/easy-mmode.el (define-minor-mode):Use funcall (bug#11241).

10 11 12 13
2012-04-15  Glenn Morris  <rgm@gnu.org>

	* simple.el (process-file-side-effects): Doc fix.

Chong Yidong's avatar
Chong Yidong committed
14
2012-04-15  Glenn Morris  <rgm@gnu.org>
15 16 17

	* international/mule-cmds.el (set-language-environment): Doc fix.

18 19 20 21 22 23
2012-04-14  Juanma Barranquero  <lekktu@gmail.com>

	* server.el (server-auth-key, server-generate-key): Doc fixes.
	(server-get-auth-key): Doc fix.  Use `string-match-p'.
	(server-start): Reflow docstring.

24 25 26 27 28
2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>

	* server.el (server-generate-key): `called-interactively-p'
	requires a parameter.

29 30 31
2012-04-14  Michal Nazarewicz  <mina86@mina86.com>

	* server.el (server-auth-key): New variable.
Juanma Barranquero's avatar
Juanma Barranquero committed
32
	(server-generate-key, server-get-auth-key): New function.
33 34 35
	(server-start): Use the new variable and functions to allow
	setting a permanent server key (bug#9423).

36 37 38 39
2012-04-14  Leo Liu  <sdl.web@gmail.com>

	* vc/diff-mode.el (diff-file-prev/next): Fix typo.

Paul Eggert's avatar
Paul Eggert committed
40 41 42 43 44 45
2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling fixes.
	* hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
	Emacs uses American spelling.

46 47 48 49 50 51 52
2012-04-14  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
	(emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
	(emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
	(emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)

53 54 55 56
2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/which-func.el (which-func-modes): Change default.

57
2012-04-14  Kim F. Storm  <storm@cua.dk>
58 59 60 61

	* emulation/cua-base.el (cua-exchange-point-and-mark): Just call
	exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).

62
2012-04-14  Chong Yidong  <cyd@gnu.org>
63 64 65

	* custom.el (custom-theme-set-variables): Doc fix.

66
2012-04-14  Glenn Morris  <rgm@gnu.org>
67 68 69

	* international/mule.el (set-auto-coding-for-load): Doc fix.

70
2012-04-14  Alan Mackenzie  <acm@muc.de>
71

72 73 74
	* progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
	imenu work again for Objective C Mode.  Correct the *-index values,
	these having been disturbed by a previous change in 2011-08.
75

76 77 78
	* progmodes/cc-engine.el (c-before-change-check-<>-operators):
	Correct two search limits.

79
2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
80 81 82

	* startup.el (command-line-1): Inhibit splash from daemon (bug#10996).

83
2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
84 85 86

	* international/characters.el: Fix sorting.

87
2012-04-14  Eli Zaretskii  <eliz@gnu.org>
Eli Zaretskii's avatar
Eli Zaretskii committed
88 89 90

	* international/characters.el: Add more missing Latin case pairs.

91
2012-04-14  Glenn Morris  <rgm@gnu.org>
92 93 94

	* files.el (dir-locals-set-class-variables): Doc fix.

95
2012-04-14  Eli Zaretskii  <eliz@gnu.org>
96

97 98 99 100
	* international/characters.el: Add set-case-syntax-pair call for
	LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
	counterpart.  (Bug#11209)

101 102
	* simple.el (shell-command-on-region): Doc fix.  (Bug#11208)

103
2012-04-14  Glenn Morris  <rgm@gnu.org>
104 105 106

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

107
2012-04-14  Eli Zaretskii  <eliz@gnu.org>
108

109 110
	* textmodes/ispell.el (ispell-dictionary-base-alist):
	Add data for Hebrew.
111

112
2012-04-14  Chong Yidong  <cyd@gnu.org>
113

114 115
	* net/rcirc.el (rcirc-cmd-quit):
	Revert 2012-03-18 change (Bug#11192).
116

117
2012-04-14  Glenn Morris  <rgm@gnu.org>
118 119 120

	* pcmpl-rpm.el (pcomplete/rpm): Handle -qf.

121
2012-04-14  Eli Zaretskii  <eliz@gnu.org>
122

123 124
	* minibuffer.el (completion-in-region-mode-map):
	Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
125

126 127 128 129
2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>

	* hexl.el (hexl-insert-char): Make display sizes other than 16 work.

130 131 132 133 134 135
2012-04-13  Masatake YAMATO  <yamato@redhat.com>

	* minibuffer.el (minibuffer-local-filename-syntax): New variable
	to allow `C-M-f' and `C-M-b' to move to the nearest path
	separator (bug#9511).

136 137 138 139 140
2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>

	* avoid.el: Require cl when compiling.  And also move the
	`provide' to the end.

141 142 143 144 145
2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* avoid.el (mouse-avoidance-banish-position): New variable.
	(mouse-avoidance-banish-destination): Use it (bug#10165).

146 147 148 149
2012-04-13  Leo Liu  <sdl.web@gmail.com>

	* progmodes/which-func.el (which-func-modes): Add objc-mode.

150 151 152
2012-04-13  Ken Brown  <kbrown@cornell.edu>

	* net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
153
	this is no longer needed now that cygstart understands file:// URLs.
154 155 156
	(browse-url-filename-alist): For the same reason, don't modify
	file:// URLs on Cygwin.

157 158 159 160 161
2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
	the region on shift if the binding is already shifted (bug#11221).

Glenn Morris's avatar
Glenn Morris committed
162 163 164 165
2012-04-12  Glenn Morris  <rgm@gnu.org>

	* mail/mailpost.el: Move to obsolete/.

166 167 168 169 170
2012-04-12  Drew Adams  <drew.adams@oracle.com>

	* imenu.el (imenu--generic-function): Ignore invisible definitions
	(bug#10123).

171 172 173 174
2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>

	* hexl.el (hexl-bits): New variable.
	(hexl-options): Mention the variable in the doc string.
Juanma Barranquero's avatar
Juanma Barranquero committed
175
	(hexl-rulerise, hexl-line-displen): New functions.
176
	(hexl-mode): Mention the new variable.
Juanma Barranquero's avatar
Juanma Barranquero committed
177 178
	(hexl-mode, hexl-current-address, hexl-current-address):
	Use the displen.
179 180 181 182
	(hexl-ascii-start-column): New function.
	(hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
	(hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).

183 184 185 186 187 188
2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* textmodes/flyspell.el (flyspell-large-region): For hunspell, use
	'("-i" ENCODING), in 2 separate command-line arguments, to specify
	the encoding, as expected by hunspell.

189 190 191 192 193 194 195
2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* battery.el (battery--linux-sysfs-regexp): New const.
	(battery-status-function): Use it.  Remove yeeloong special case.
	(battery-yeeloong-sysfs): Remove.
	(battery-echo-area-format): Remove yeeloong special case.

196 197
2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>

198 199 200
	* imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
	Reported by Noah Friedman.

201 202
	* subr.el (read-passwd): Use read-string.

203 204 205 206 207
2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* vcursor.el (vcursor-move): Increase the priority of the overlay
	(bug#9663).

208 209 210 211 212
2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

	* net/rcirc.el (rcirc-kill-channel-buffers): New variable.
	(rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).

213 214 215 216 217
2012-04-11  William Stevenson  <yhvh2000@gmail.com>

	* textmodes/artist.el (artist-mode): Convert artist-mode to use
	define-minor-mode (bug#10760).

Glenn Morris's avatar
Glenn Morris committed
218
2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
Wolfgang Jenkner's avatar
Wolfgang Jenkner committed
219 220 221 222 223

	* lisp/progmodes/grep.el (rgrep): Tweak the find command line so
	that directories matching `grep-find-ignored-files' won't be
	pruned (bug#10351).

224 225 226 227 228
2012-04-11  Chong Yidong  <cyd@gnu.org>

	* startup.el (command-line): Remove support for long-obsolete
	variable font-lock-face-attributes.

Glenn Morris's avatar
Glenn Morris committed
229 230 231 232
2012-04-11  Glenn Morris  <rgm@gnu.org>

	* vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.

233 234 235 236
2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* window.el (window--state-get-1): Obey window-point-insertion-type.

Lennart Borgman's avatar
Lennart Borgman committed
237 238 239 240
2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>

	* emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
	to previous function when point is on the first character of a
Juanma Barranquero's avatar
Juanma Barranquero committed
241
	function.  Take care of that in `narrow-to-defun' (bug#6157).
Lennart Borgman's avatar
Lennart Borgman committed
242

Glenn Morris's avatar
Glenn Morris committed
243 244
2012-04-11  Glenn Morris  <rgm@gnu.org>

245 246 247
	* vc/vc-bzr.el (vc-bzr-status): Handle all errors,
	not just file-errors.

Glenn Morris's avatar
Glenn Morris committed
248 249 250
	* vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
	(vc-bzr-sha1): Use internal sha1.

251 252 253 254
2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).

255 256 257 258 259
2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)

	* progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
	that start in the middle of the line (bug#10496).

260 261 262 263 264 265 266
2012-04-10  Dan Nicolaescu  <dann@gnu.org>

	* battery.el (battery-linux-proc-acpi): Only one battery is
	discharged at a time, but that seems to confuse battery.el when
	computing `rate-type' for the battery not being discharged
	(bug#10332).

267 268
2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>

269 270
	* emacs-lisp/autoload.el (autoload-make-program): Remove, unused.

271 272 273 274 275
	* international/quail.el: Use dolist and simplify.
	(quail-define-package, quail-update-keyboard-layout)
	(quail-define-rules): Use dolist.
	(quail-insert-kbd-layout, quail-get-translation): CSE.

276 277 278 279 280
	* tmm.el: Use dolist, remove left over hook.
	(tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
	Use dolist.
	(calendar-load-hook): Don't mess with it.

281 282 283
	* vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
	Use derived-mode-p.  Run the diff asynchronously.

284 285 286 287
2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* obsolete/mouse-sel.el: Add an Obsolete-since header.

288 289 290 291 292 293
2012-04-10  Juanma Barranquero  <lekktu@gmail.com>

	* misc.el: Display absolute path of loaded DLLs (bug#10424).
	(list-dynamic-libraries--loaded): New function.
	(list-dynamic-libraries--refresh): Use it.

294 295
2012-04-10  Nathan Weizenbaum  <nweiz@google.com>

296 297
	* progmodes/python.el (python-fill-paragraph):
	Make python-fill-region in a multiline string work when font-lock is
298 299
	disabled (bug#7018).

Laimonas V bra's avatar
Laimonas V bra committed
300 301
2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)

302
	* language/european.el (cp775): Add oem/legacy (en)coding on
Juanma Barranquero's avatar
Juanma Barranquero committed
303 304
	DOS/MS Windows for the Baltic languages.  There are still plenty
	of texts written in this encoding/codepage (bug#6519).
Laimonas V bra's avatar
Laimonas V bra committed
305

306 307 308 309 310
2012-04-10  Glenn Morris  <rgm@gnu.org>

	* cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
	Add :standard values, reducing "rogue" customs in emacs -Q a bit more.

311 312
2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)

313
	* recentf.el (recentf-dialog-mode-map): Add two keybindings for
314 315 316
	next-line "n" and previous-line "p" in order to make recentf more
	consistent with ibuffer, dired or org-mode (bug#9387).

317 318
2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>

319 320 321 322 323
	* image.el (put-image): Return the overlay created instead of the
	optional input string (bug#7834).  Note that this may break code
	that is (for some reason or other) depending on `put-image'
	returning the string.

324 325
	* mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).

326 327 328
	* simple.el (zap-to-char): Allow zapping using input methods
	(bug#1580).

329 330 331
	* textmodes/fill.el (fill-region): Leave point and mark where they
	were before filling (bug#5399).

Glenn Morris's avatar
Glenn Morris committed
332 333 334 335 336
2012-04-09  Glenn Morris  <rgm@gnu.org>

	* version.el (emacs-bzr-get-version):
	Handle lightweight checkouts of local branches.

Andreas Schwab's avatar
Andreas Schwab committed
337 338
2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>

Glenn Morris's avatar
Glenn Morris committed
339
	* international/characters.el: Recover lost case pairs.  (Bug#11209)
Andreas Schwab's avatar
Andreas Schwab committed
340

341 342 343 344 345 346 347 348 349 350 351 352
2012-04-09  Chong Yidong  <cyd@gnu.org>

	* custom.el (custom-variable-p): Return nil for non-symbol
	arguments instead of signaling an error.
	(user-variable-p): Obsolete alias for custom-variable-p.

	* apropos.el (apropos-variable):
	* files-x.el (read-file-local-variable):
	* simple.el (set-variable):
	* woman.el (woman-mini-help):
	* emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.

353 354
2012-04-09  Glenn Morris  <rgm@gnu.org>

355 356 357
	* startup.el (normal-top-level): Don't look for leim-list.el
	in places where it will not be found.  (Bug#910)

358 359 360 361 362
	* international/mule-cmds.el (set-default-coding-systems):
	* files.el (normal-mode):
	Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
	This function was removed with ucs-tables.el in 2008.

363 364 365 366 367 368 369 370
2012-04-08  Eli Zaretskii  <eliz@gnu.org>

	* textmodes/ispell.el (ispell-check-version): For hunspell, set
	ispell-encoding8-command to "-i", without a trailing space.
	(ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
	separate command-line arguments, to specify the encoding, since
	that's how hunspell expects it.

371 372 373 374 375
2012-04-08  Glenn Morris  <rgm@gnu.org>

	* loadup.el: Load bindings before cus-start.
	This reduces somewhat the number of "rogue" settings in emacs -Q.

Glenn Morris's avatar
Glenn Morris committed
376 377 378
2012-04-07  Glenn Morris  <rgm@gnu.org>

	* version.el (emacs-bzr-get-version): New function.
Glenn Morris's avatar
Glenn Morris committed
379
	(emacs-bzr-version): New variable.
Glenn Morris's avatar
Glenn Morris committed
380 381 382
	* loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
	* mail/emacsbug.el (report-emacs-bug): Include bzr version.

383 384
2012-04-07  Eli Zaretskii  <eliz@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
385 386 387 388 389 390 391
	* international/uni-bidi.el, international/uni-category.el:
	* international/uni-combining.el, international/uni-decimal.el:
	* international/uni-decomposition.el, international/uni-digit.el:
	* international/uni-lowercase.el, international/uni-mirrored.el:
	* international/uni-name.el, international/uni-numeric.el:
	* international/uni-titlecase.el, international/uni-uppercase.el:
	Update for Unicode 6.1.
392

393 394 395 396
2012-04-07  Eli Zaretskii  <eliz@gnu.org>

	* term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.

397 398 399 400 401
2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* window.el (shrink-window): Mention the `window-min-height'
	variable in the doc string.

Bastien Guerry's avatar
Bastien Guerry committed
402 403 404 405
2012-04-05  Bastien Guerry  <bzg@altern.org>

	* color.el (color-lighten-name): Fix typo.

406 407 408 409 410
2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* server.el (server--on-display-p): New function.
	(server--on-display-p): Use it.

411 412 413 414 415
2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)

	* ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
	(bug#11145).

416 417 418 419 420 421
2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* comint.el (comint--common-quoted-suffix): Check string boundary
	before comparing (bug#11158).
	* pcomplete.el (pcomplete--common-quoted-suffix): Idem.

422 423
2012-04-04  Chong Yidong  <cyd@gnu.org>

424 425
	* minibuffer.el (completion-extra-properties): Doc fix.

426 427
	* subr.el (delayed-warnings-hook): Doc fix.

428 429 430 431 432 433 434
2012-04-04  Daiki Ueno  <ueno@unixuser.org>

	* epa.el (epa--select-keys): Bind C-c C-c to finish the key
	selection (Bug#11159).
	(epa-insert-keys): Inform that the default public key will be
	exported if no key is selected.

435 436 437 438
2012-04-04  Richard Stallman  <rms@gnu.org>

	* mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.

439 440 441 442 443
2012-04-03  Chong Yidong  <cyd@gnu.org>

	* mail/sendmail.el (mail-mode-map): Bind C-c C-i to
	mail-insert-file, not its obsolete alias mail-attach-file.

444 445 446 447
2012-04-03  Michael Albinus  <michael.albinus@gmx.de>

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

448 449 450 451
2012-04-02  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/authors.el (authors-aliases): Another addition.

452 453 454 455 456 457
2012-04-02  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
	`tramp-compat-call-process' instead of `tramp-local-call-process'.
	Reported by Magnus Henoch <magnus.henoch@gmail.com>.

458 459 460 461 462 463 464 465 466
2012-04-01  Chong Yidong  <cyd@gnu.org>

	* files.el (file-in-directory-p): Rename from file-subdir-of-p.
	Handle root directory properly.
	(copy-directory): Caller changed.

	* dired-aux.el (dired-copy-file-recursive, dired-create-files):
	* net/tramp.el (tramp-file-name-for-operation): Callers changed.

Glenn Morris's avatar
Glenn Morris committed
467 468
2012-03-31  Glenn Morris  <rgm@gnu.org>

469 470
	* term/xterm.el (xterm-extra-capabilities): Doc fix.

471 472
	* language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)

473 474 475 476
	* calendar/calendar.el (calendar-window-list)
	(calendar-hide-window): Restore.  (Bug#11140)
	(calendar-exit): Use calendar-window-list, calendar-hide-window again.

Glenn Morris's avatar
Glenn Morris committed
477 478
	* emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.

Thierry Volpiatto's avatar
Thierry Volpiatto committed
479 480 481 482 483 484 485
2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* dired-aux.el (dired-copy-file-recursive, dired-create-files):
	Check if file is a symlink (Bug#10489).

	* files.el (copy-directory): Likewise.

486 487 488 489 490
2012-03-30  Chong Yidong  <cyd@gnu.org>

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

491 492 493
2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* ispell.el (ispell-get-extended-character-mode): Disable
Juanma Barranquero's avatar
Juanma Barranquero committed
494 495
	extended-char-mode for hunspell.  hunspell does not support it
	and treats ~word as ordinary words in pipe mode.
496

497 498 499 500 501
2012-03-30  Glenn Morris  <rgm@gnu.org>

	* tutorial.el (help-with-tutorial): Ensure local variables don't
	happen to make the buffer read-only.  (Bug#11127)

502 503 504 505 506
2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
	(perl-calculate-indent): Return `noindent' in strings.

507 508 509 510 511 512 513 514
2012-03-28  Sam Steingold  <sds@gnu.org>

	* calendar/calendar.el (calendar-exit): Use `quit-windows-on'
	instead of the broken adhockery which does not prevent calendar
	buffers from being displayed at random after exit.
	(calendar-window-list, calendar-hide-window): Remove the broken
	adhockery.

515 516 517 518
2012-03-28  Glenn Morris  <rgm@gnu.org>

	* replace.el (query-replace-map): Doc fix.

Andreas Schwab's avatar
Andreas Schwab committed
519 520 521 522 523
2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>

	* vc/vc-git.el (vc-git-state): Don't try to match all of the diff
	contents.  (Bug#11109)

524 525 526 527 528 529
2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
	(bug#11077).
	(avl-tree--check, avl-tree--check-node): New funs.

530 531 532
2012-03-27  Martin Rudalics  <rudalics@gmx.at>

	* window.el (switch-to-visible-buffer): New option.
533 534
	(switch-to-prev-buffer, switch-to-next-buffer):
	Observe switch-to-visible-buffer.  Make sure that checking for a window
535 536
	showing a buffer already is done on the same frame.

537 538 539 540
2012-03-27  Glenn Morris  <rgm@gnu.org>

	* startup.el (mail-host-address): Doc fix.

541 542 543 544 545
2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
	than 197 variables.

546 547 548 549
2012-03-26  Ami Fischman  <ami@fischman.org>

	* vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.

Glenn Morris's avatar
Glenn Morris committed
550 551
2012-03-26  Glenn Morris  <rgm@gnu.org>

552 553
	* files.el (save-buffers-kill-emacs): Doc fix.

Glenn Morris's avatar
Glenn Morris committed
554 555 556
	* startup.el (normal-top-level, command-line, command-line-1):
	Give them doc strings.

557 558 559
2012-03-25  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
560
	of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
561

562 563
2012-03-25  Chong Yidong  <cyd@gnu.org>

564 565 566
	* custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
	theme if it was previously enabled before (Bug#11031).

567 568 569
	* cus-theme.el (custom-theme-write-faces): Retrieve current face
	spec with custom-face-get-current-spec if its :shown-value is not
	determined yet (Bug#9337).
570
	(customize-create-theme, custom-theme-revert): Doc fixes.
571

572 573
	* button.el (button-at): Minor addition to docstring.

574 575 576 577
2012-03-24  Simon Leinen  <simon.leinen@gmail.com>

	* vc/vc.el (vc-merge): Fix a prompt.

578 579 580 581 582
2012-03-24  Chong Yidong  <cyd@gnu.org>

	* mwheel.el (mwheel-scroll): Call deactivate-mark at the right
	point (Bug#9623).

583 584
	* button.el (button-at): Minor addition to docstring.

585 586 587 588
2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* newcomment.el (comment-choose-indent): No space after BOL.

589 590 591 592 593
2012-03-22  Sam Steingold  <sds@gnu.org>

	* window.el (switch-to-prev-buffer): Revert last patch because the
	bug turned out to be an advertised feature (Elisp manual 28.14).

594 595 596 597 598
2012-03-22  Glenn Morris  <rgm@gnu.org>

	* vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
	(vc-bzr-command): If running "status", pass vc-bzr-status-switches.

599 600 601 602 603
2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/network-stream.el (network-stream-open-starttls): Make error
	message under Windows be less misleading.

604 605 606 607 608
2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)

	* progmodes/etags.el (etags-list-tags): Only use tags which goto-func
	understands (bug#9942).

609 610 611 612 613
2012-03-22  Chong Yidong  <cyd@gnu.org>

	* simple.el (end-of-visible-line): Handle return value of
	next-single-property-change properly (Bug#9371).

614 615 616 617 618 619
2012-03-22  Kenichi Handa  <handa@m17n.org>

	* international/quail.el (quail-insert-kbd-layout): Fix previous
	change.  To avoid unwanted bidi reordering, use
	bidi-string-mark-left-to-right instead of inserting LRO and PDF.

620 621 622 623 624 625 626 627
2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
	(ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
	(ruby-beginning-of-indent): Be more careful with the difference
	between word-boundary and symbol boundary.
	(ruby-mode-syntax-table): Make : a symbol constituent.

628
2012-03-21  Andreas Politz  <politza@fh-trier.de>
629

630 631
	* outline.el (outline-flag-region): Evaporate overlays (bug#10789).

632 633
2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>

634 635 636
	* progmodes/etags.el (tags-completion-at-point-function):
	Improve last fix.

637 638
	* files.el (move-file-to-trash): Files aren't regexps (bug#11055).

639 640 641 642 643
2012-03-21  Sam Steingold  <sds@gnu.org>

	* progmodes/etags.el (tags-completion-at-point-function):
	Avoid the error when point is inside the pattern.

644 645 646 647 648
2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)

	* progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
	line (Bug#10855).

649 650 651 652
2012-03-21  Drew Adams  <drew.adams@oracle.com>

	* info.el (Info-menu): Handle string value of FORK arg (Bug#10858).

653 654 655 656 657 658
2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)

	* ido.el (ido-set-current-directory, ido-read-internal)
	(ido-choose-completion-string, ido-completion-help): Handle nil
	value of ido-completion-buffer (Bug#11008).

659 660 661 662 663
2012-03-21  Sam Steingold  <sds@gnu.org>

	* window.el (switch-to-prev-buffer): Do not switch to a visible
	window previous buffer, just like with the frame previous buffers.

664 665 666 667 668 669
2012-03-21  Chong Yidong  <cyd@gnu.org>

	* faces.el (make-face, make-empty-face, copy-face):
	* face-remap.el (face-remap-add-relative, face-remap-set-base):
	Doc fixes.

670 671 672 673 674
2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* wid-edit.el (widget-complete-field): Remove (bug#11051).
	(widget-complete): Remove broken use of it.

675 676
2012-03-20  Chong Yidong  <cyd@gnu.org>

677 678
	* emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
	Use string-width and truncate-string-width to handle arbitrary
679 680
	characters.

681 682 683 684 685 686
2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>

	* textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
	to draw rectangles, not squares.  (Regression introduced by revno
	2011-03-02T03:48:01Z!cyd@stupidchicken.com)

687 688 689 690 691
2012-03-18  Chong Yidong  <cyd@gnu.org>

	* faces.el (face-spec-reset-face): Don't call display-graphic-p if
	it is not yet defined (for temacs).

692 693
2012-03-18  Leo Liu  <sdl.web@gmail.com>

694
	* net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
695

Eli Zaretskii's avatar
Eli Zaretskii committed
696 697 698 699 700 701 702 703 704 705 706 707 708 709
2012-03-17  Eli Zaretskii  <eliz@gnu.org>

	* textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
	(ispell-choices-win-default-height, ispell-silently-savep)
	(ispell-dictionary-alist, ispell-encoding8-command)
	(ispell-check-version, ispell-aspell-find-dictionary)
	(ispell-valid-dictionary-list, ispell-words-keyword)
	(ispell-get-word, ispell-internal-change-dictionary)
	(ispell-region, ispell-skip-region-list)
	(ispell-begin-skip-region-regexp, ispell-ignore-fcc)
	(ispell-process-line, ispell-minor-mode, ispell-minor-check)
	(ispell-message-text-end, ispell-message)
	(ispell-buffer-local-parsing): Doc fix.

710 711 712 713 714 715 716 717 718 719 720 721 722 723
2012-03-13  Jambunathan K  <kjambunathan@gmail.com>

	* htmlfontify.el: Add support for code block fontification for ODT
	export (Bug #9914).
	(hfy-optimisations): Define new option
	`body-text-only'
	(hfy-fontify-buffer): Honor above setting.
	(hfy-begin-span, hfy-end-span): New routines factored out form
	`hfy-fontify-buffer'.
	(hfy-begin-span-handler, hfy-end-span-handler): New variables
	that permit insertion of custom tags.
	(hfy-fontify-buffer): Use above handlers.
	(hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
	(hfy-face-to-css): Re-defined to be a variable.
724
	(hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
Juanma Barranquero's avatar
Juanma Barranquero committed
725
	over multiple runs.  This is made possible by having the caller let
726 727 728 729 730 731
	bind a special variable `hfy-user-sheet-assoc'.
	(htmlfontify-string): New defun.
	(hfy-compile-face-map): Make sure that the last char in the
	buffer is correctly fontified.
	(hfy-face-resolve-face): Whitespace only change.

732 733 734 735 736
2012-03-17  Eli Zaretskii  <eliz@gnu.org>

	* textmodes/ispell.el (ispell-get-decoded-string): Make the error
	message more clear.

737 738 739 740
2012-03-16  Leo Liu  <sdl.web@gmail.com>

	* emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.

741 742 743 744 745 746 747
2012-03-16  Alan Mackenzie  <acm@muc.de>

	Further optimise the handling of large macros.

	* progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
	limit to a call of `c-literal-limits'.
	(c-determine-+ve-limit): New function.
748 749
	(c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
	(c-guess-basic-syntax): In macros, restrict a search limit to 2000.
750 751 752 753 754 755
	In CASE 5B, restrict a search limit to 500.
	(c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.

	* progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
	Restrict macro bounds to +-500 from after-change's BEG END.

756 757 758 759
2012-03-16  Leo Liu  <sdl.web@gmail.com>

	* font-lock.el (lisp-font-lock-keywords-2): Add letrec.

760 761 762
2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>

	* tar-mode.el (tar-mode): Fix saving by conditionally undoing
763
	`special-mode' setting of `buffer-read-only'.  (Bug#11010)
764

765 766
2012-03-16  Glenn Morris  <rgm@gnu.org>

767 768 769
	* view.el (view-buffer, view-buffer-other-window)
	(view-buffer-other-frame): Doc fixes re special mode-class.

770 771 772
	* subr.el (eval-after-load): If named feature is provided not from
	a file, run after-load forms.  (Bug#10946)

773 774 775
	* calendar/calendar.el (calendar-insert-at-column):
	Handle non-unit-width characters a bit better.  (Bug#10978)

776 777 778 779 780 781 782 783
2012-03-15  Chong Yidong  <cyd@gnu.org>

	* emacs-lisp/ring.el (ring-extend): New function.
	(ring-insert+extend): Extend the ring correctly (Bug#11019).

	* comint.el (comint-read-input-ring)
	(comint-add-to-input-history): Grow comint-input-ring lazily.

784 785
2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>

786 787 788
	* progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
	Fix up parsing of multiline twoarg non-paired elements (bug#11014).

789 790 791 792
	* imenu.el: Fix multiple inheritance breakage (bug#9199).
	(imenu-add-to-menubar): Don't add a redundant index.
	(imenu-update-menubar): Handle a dynamically composed keymap.

793 794 795 796 797
2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>

	* mail/sendmail.el (mail-encode-header):
	Bind rfc2047-encode-encoded-words to nil.

798 799 800 801 802
2012-03-13  Glenn Morris  <rgm@gnu.org>

	* calendar/calendar.el (calendar-string-spread):
	Handle non-unit-width characters a bit better.  (Bug#10978)

803 804 805 806 807
2012-03-13  Leo Liu  <sdl.web@gmail.com>

	* vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
	directory and file as argument (Bug#10822).

808 809 810 811 812 813
2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)

	* progmodes/gdb-mi.el (gdb-invalidate-disassembly):
	For dynamically generated code, follow $PC.
	(gdb-disassembly-handler-custom): Handle no function name case.

814 815 816 817 818 819 820
2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)

	* calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
	* emulation/ws-mode.el (ws-query-replace):
	* sort.el (sort-regexp-fields):
	Fix missing trailing whitespace in interactive prompts.  (Bug#11002)

821 822 823 824 825 826 827
2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* dabbrev.el: Fix cycle completion order (bug#10963).
	(dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
	(dabbrev-completion): Don't use an obarray; provide
	a cycle-sort-function.

828 829
2012-03-12  Leo Liu  <sdl.web@gmail.com>

830
	* simple.el (kill-new): Use equal-including-properties for comparison.
831 832
	(kill-do-not-save-duplicates): Doc fix.

833 834 835 836 837 838
2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* dabbrev.el: Fix cycle completion (bug#10963).
	Use lexical binding and wrap to 80 columns.
	(dabbrev-completion): Delay computing the list of completions.

839 840 841 842 843 844 845
2012-03-12  Kenichi Handa  <handa@m17n.org>

	* international/quail.el (quail-insert-kbd-layout): Surround each
	row by LRO and PDF instead of inserting many LRMs.  Pad the left
	and right of each non-spacing marks.  Insert invisible space
	between lower and upper characters to prevent composition.

846 847 848 849 850 851
2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (minibuffer-complete): Don't get confused when the
	function is run twice via different commands (bug#10958).
	(complete-with-action): Fix docstring.

852 853
2012-03-12  Chong Yidong  <cyd@gnu.org>

854 855 856 857 858
	* nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
	(nxml-completion-at-point-function): New function.
	(nxml-mode): Use it.
	(nxml-bind-meta-tab-to-complete-flag): Default to t.

859 860 861 862
	* emacs-lisp/package.el (package-unpack, package-unpack-single):
	Load generated autoloads file before byte compiling (Bug#10970).
	(package--make-autoloads-and-compile): New helper fun.

863 864 865 866
2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>

	* ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.

867 868 869 870 871 872
2012-03-11  Michael Albinus  <michael.albinus@gmx.de>

	* autorevert.el (auto-revert-handler): Ensure, that
	file-readable-p is applied only for local files or in
	auto-revert-tail-mode.

873 874
2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>

875 876
	* server.el (server-eval-at): Handle non-tcp connections.
	Decode result string.
877

878 879 880 881 882 883
	* server.el (server-msg-size): New constant.
	(server-reply-print): New function.
	(server-eval-and-print): Use it.
	(server-eval-at): Use server-quote-arg and server-unquote-arg.
	Handle -print-nonl.

884 885 886 887 888
2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>

	* ibuffer.el (ibuffer-redisplay): Remove gratuitous error
	(Bug#10987).

889 890
2012-03-11  Chong Yidong  <cyd@gnu.org>

891 892
	* simple.el (goto-line): Doc fix (Bug#9938).

893 894
	* subr.el (save-window-excursion): Doc fix (Bug#9979).

895 896 897
	* dabbrev.el (dabbrev--find-expansion): Update progress reporter
	when finished (Bug#10963).

898 899 900 901 902
2012-03-11  Martin Rudalics  <rudalics@gmx.at>

	* window.el (split-window-below): Fix bug in case where
	split-window-keep-point is nil (Bug#10971).

903 904 905 906 907
2012-03-11  Juri Linkov  <juri@jurta.org>

	* replace.el (replace-highlight): Set isearch-word to nil
	unconditionally.  (Bug#10887)

908 909 910 911
2012-03-10  Eli Zaretskii  <eliz@gnu.org>

	* net/mairix.el (mairix-replace-invalid-chars): Rename from
	mairix-replace-illegal-chars; all callers changed.  Don't remove
912
	^, ~, and = characters: they are meaningful in mairix search specs.
913 914 915
	(mairix-widget-create-query): Add usage information about mairix
	search forms: negating words, searching for substrings, etc.

916 917 918 919 920
2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)

	* international/fontset.el (font-encoding-alist): Add an entry for
	ksx1001 (Bug#5667).

921 922
2012-03-10  Richard Stallman  <rms@gnu.org>

923 924 925
	* mail/sendmail.el (mail-encode-header):
	Set rfc2047-encode-encoded-words.

926 927
	* mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.

928 929 930 931 932
	* mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
	view buffer means not swapped.
	(rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
	(rmail-write-region-annotate): Error if real text has disappeared.

933 934
	* epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.

935 936 937
2012-03-10  Chong Yidong  <cyd@gnu.org>

	* emulation/cua-rect.el (cua--init-rectangles):
938 939
	* emulation/cua-base.el (cua--init-keymaps):
	Add delete-forward-char to remappings (Bug#9666).
940

941 942
2012-03-10  Martin Rudalics  <rudalics@gmx.at>

943 944
	* speedbar.el (speedbar-unhighlight-one-tag-line):
	Avoid unhighlighting due to frame switching (Bug#10275).
945

946 947
2012-03-10  Chong Yidong  <cyd@gnu.org>

948 949 950
	* minibuffer.el (completion-in-region, completion-help-at-point):
	Give the completion field overlay a high priority (Bug#6830).

951 952 953 954 955
	* dired.el (dired-goto-file): Recognize absolute file name
	listings (Bug#7126).
	(dired-goto-file-1): New helper function.
	(dired-toggle-read-only): Inhibit warnings.

956 957
2012-03-09  Michael Albinus  <michael.albinus@gmx.de>

Juanma Barranquero's avatar
Juanma Barranquero committed
958
	* net/dbus.el (dbus-property-handler): Return empty array if
959 960
	there are no properties.

961 962 963 964 965
2012-03-09  Leo Liu  <sdl.web@gmail.com>

	* savehist.el (savehist-printable): Stricter check for string
	value (Bug#10937).

966 967
2012-03-09  Eli Zaretskii  <eliz@gnu.org>

968 969
	* mail/smtpmail.el (smtpmail-send-it):
	Bind coding-system-for-write to *-unix, so that FCC files are kept in
970 971
	valid mbox format.

Glenn Morris's avatar
Glenn Morris committed
972 973 974 975 976 977
2012-03-09  Glenn Morris  <rgm@gnu.org>

	* files.el (dir-locals-find-file):
	Don't check result is regular, readable.
	(dir-locals-read-from-file): Demote errors.

978 979
2012-03-08  Eli Zaretskii  <eliz@gnu.org>

980 981
	* international/quail.el (quail-insert-kbd-layout):
	Insert invisible LRM characters before each character in a keyboard
982 983 984 985
	layout cell, to prevent their reordering by bidi display engine.
	For details, see the discussion in
	http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.

986 987 988 989 990 991 992
2012-03-08  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
	the starting position; make it extend the marked region when
	invoked repeatedly - all under appropriate circumstances.
	Fixes bugs #5525, #10906.

993 994 995 996 997
2012-03-08  Glenn Morris  <rgm@gnu.org>

	* files.el (locate-dominating-file, dir-locals-find-file):
	Undo 2012-03-06 change.

998 999
2012-03-07  Eli Zaretskii  <eliz@gnu.org>

1000 1001
	* international/quail.el (quail-help):
	Force bidi-paragraph-direction be left-to-right.  See discussion in
1002 1003 1004
	http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
	for the reason.

Michael Albinus's avatar
Michael Albinus committed
1005
2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016

	Avoid superfluous registering of signals.  (Bug#10807)

	* notifications.el (notifications-on-action-object)
	(notifications-on-close-object): New defvars.
	(notifications-on-action-signal, notifications-on-closed-signal):
	Unregister the signal if not needed any longer.
	(notifications-notify): Register `notifications-action-signal' or
	`notifications-closed-signal', if :on-action or :on-close has been
	passed as argument.

1017 1018 1019 1020 1021
2012-03-07  Chong Yidong  <cyd@gnu.org>

	* cus-start.el: Avoid x-select-enable-clipboard-manager warning on
	non-X platforms.

Glenn Morris's avatar
Glenn Morris committed
1022 1023 1024 1025 1026 1027
2012-03-06  Glenn Morris  <rgm@gnu.org>

	* term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
	(x-disown-selection-internal, x-get-selection-internal):
	Doc fix (add arglist signatures).  (Bug#10783)

1028 1029 1030 1031 1032
2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)

	* progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
	Handle breakpoints with no "type".

1033 1034 1035 1036 1037
2012-03-06  Glenn Morris  <rgm@gnu.org>

	* files.el (locate-dominating-file): Add optional predicate argument.
	(dir-locals-find-file): Make use of above change.

1038 1039 1040 1041
2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* info.el (Info-insert-dir): Also try "dir.gz".

1042 1043
2012-03-06  Glenn Morris  <rgm@gnu.org>

1044 1045 1046
	* files.el (dir-locals-find-file):
	Ignore non-readable or non-regular files.  (Bug#10928)

1047 1048
	* files.el (locate-dominating-file): Doc fix.

1049 1050 1051 1052 1053
2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)

	* calendar/calendar.el (calendar-set-mode-line):
	`getenv' returns a string.  (Bug#10951)

1054 1055
2012-03-05  Leo Liu  <sdl.web@gmail.com>

1056 1057 1058
	* simple.el (backward-delete-char-untabify): Constrain point to
	field (Bug#10939).

1059 1060
	* eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.

1061 1062 1063 1064 1065 1066 1067 1068 1069
2012-03-05  Chong Yidong  <cyd@gnu.org>

	* simple.el (count-words): If called from Lisp, return the word
	count, for symmetry with `count-lines'.  Arglist changed.
	(count-words--message): Args changed.  Consolidate counting code
	from count-words and count-words-region.
	(count-words-region): Caller changed.
	(count-lines-region): Make it an obsolete alias.

1070 1071 1072 1073 1074 1075
2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>

	* saveplace.el (save-place-to-alist)
	(save-place-ignore-files-regexp): Allow value nil to disable this
	feature.

1076 1077 1078 1079 1080
2012-03-04  Chong Yidong  <cyd@gnu.org>

	* faces.el (face-spec-reset-face): For the default face, reset the
	attributes to default values (Bug#10748).

1081 1082 1083 1084 1085 1086
2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
	previous patch: Check `message-send-mail-function', and not the
	default function (bug#10897).

1087 1088
2012-03-04  Michael Albinus  <michael.albinus@gmx.de>

1089 1090 1091
	* notifications.el (notifications-on-action-signal)
	(notifications-on-closed-signal): Check for unique service name of
	incoming event.  Fix error in removing entry.
1092
	(top): Register for signals with wildcard service name.
1093
	(notifications-notify): Use daemon unique service name for map entries.
1094

1095 1096
2012-03-04  Chong Yidong  <cyd@gnu.org>

1097
	* cus-start.el: Make x-select-enable-clipboard-manager customizable.
1098

Glenn Morris's avatar
Glenn Morris committed
1099 1100 1101 1102 1103 1104
2012-03-04  Glenn Morris  <rgm@gnu.org>

	* abbrev.el (copy-abbrev-table, abbrev-table-p)
	(abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
	(expand-abbrev, define-abbrev-table): Doc fixes.

1105 1106 1107 1108 1109 1110 1111
2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
	`message-default-send-mail-function' and not `send-mail-function'
	when doing the prompting for `sendmail-query-once' before sending
	in Message buffers (bug#10897).

1112 1113 1114 1115
	* net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
	This is inconsistent with all the other stream functions, which leave
	the setting up to the higher levels (if so wanted) (bug#10931).

1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131
2012-03-02  Alan Mackenzie  <acm@muc.de>

	Depessimize the handling of very large macros.

	* progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
	(c-macro-cache-syntactic): New variables to implement a one
	element macro cache.
	(c-invalidate-macro-cache): New function.
	(c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
	Adapt to use the new cache.
	(c-state-safe-place): Use better the cache of safe positions.
	(c-state-semi-nonlit-pos-cache)
	(c-state-semi-nonlit-pos-cache-limit):
	New variables for...
	(c-state-semi-safe-place): New function.  Here, in a macro is "safe".
	(c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
1132 1133
	(c-in-literal, c-literal-limits, c-determine-limit-get-base):
	Use c-state-semi-safe-place.
1134

1135 1136
	* progmodes/cc-langs.el (c-get-state-before-change-functions):
	Add c-invalidate-macro-cache to the C, C++, Obj entries.
1137

1138 1139
2012-03-02  Michael Albinus  <michael.albinus@gmx.de>

1140 1141
	* jka-compr.el (jka-compr-call-process):
	Apply `file-accessible-directory-p' only when the default directory is
1142 1143
	not remote.

1144 1145 1146 1147 1148
2012-03-01  Michael Albinus  <michael.albinus@gmx.de>

	* files.el (file-equal-p): Fix docstring.  Avoid unnecessary
	access of FILE2, if FILE1 does not exist.

1149 1150 1151 1152 1153 1154
	* net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
	Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.

	* vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
	Add "PAGER=" to `process-environment'.

1155 1156 1157 1158 1159 1160 1161 1162 1163
2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>

	* progmodes/sql.el: Bug fix
	(sql-get-login-ext): Save login values in globals.
	(sql-get-login): Use new version of `sql-get-login-ext'.
	(sql-interactive-mode): Set global `sql-connection' to nil.
	(sql-connect): Set global values for connection.
	(sql-product-interactive): Save global values as buffer local.

Leo Liu's avatar
Leo Liu committed
1164 1165 1166 1167
2012-02-29  Leo Liu  <sdl.web@gmail.com>

	* abbrev.el (define-abbrevs): Reset sys to nil.

1168 1169
2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
1170 1171
	* files.el (file-equal-p): Rename from `files-equal-p'.
	Return nil when one or both files don't exist.
1172 1173
	(file-subdir-of-p): Now only top directory must exists,
	return nil if it doesn't.
Juanma Barranquero's avatar
Juanma Barranquero committed
1174 1175 1176 1177
	(copy-directory): No need to test with `file-subdir-of-p' after
	creating dir.
	* net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
	to `file-equal-p'.
1178

1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199
2012-02-28  Glenn Morris  <rgm@gnu.org>

	* shell.el (shell-mode):
	* progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
	* play/landmark.el (landmark-font-lock-face-O):
	* play/handwrite.el (handwrite):
	* play/gomoku.el (gomoku-O):
	* net/browse-url.el (browse-url-browser-display):
	* international/mule.el (define-charset):
	* htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
	* filesets.el (filesets-find-file-delay):
	* eshell/em-xtra.el (eshell-xtra):
	* eshell/em-unix.el (eshell-grep):
	* emulation/viper.el (viper-mode):
	* emacs-lisp/regexp-opt.el (regexp-opt-group):
	* emacs-lisp/easymenu.el (easy-menu-define):
	* calendar/timeclock.el (timeclock-use-display-time):
	* bs.el (bs-mode):
	* bookmark.el (bookmark-save-flag):
	Doc fix (standardize possessive apostrophe usage).

1200 1201
2012-02-27  Chong Yidong  <cyd@gnu.org>

Juanma Barranquero's avatar
Juanma Barranquero committed
1202 1203
	* emulation/viper-cmd.el (viper-intercept-ESC-key):
	Fix key-binding lookup for ESC key (Bug#9146).
Chong Yidong's avatar
Chong Yidong committed
1204

1205 1206 1207
	* font-lock.el (font-lock-specified-p): Rename from
	font-lock-spec-present.  Callers changed.

Chong Yidong's avatar
Chong Yidong committed
1208
2012-02-27  Daniel Hackney  <dan@haxney.org>
1209

Juanma Barranquero's avatar
Juanma Barranquero committed
1210 1211
	* emacs-lisp/package.el (package-compute-transaction):
	Handle holding a package version to t in package-load-list.
1212

1213 1214 1215 1216 1217
2012-02-26  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
	(tramp-get-inode, tramp-get-device): Use cached values.