ChangeLog 751 KB
Newer Older
1 2 3 4 5
2010-12-16  Leo  <sdl.web@gmail.com>

	* eshell/eshell.el (eshell-directory-name): Use
	locate-user-emacs-file (Bug#7578).

6 7 8 9
2010-12-15  Glenn Morris  <rgm@gnu.org>

	* loadup.el (symbol-file-load-history-loaded): Remove; unused.

10 11 12 13 14 15 16
2010-12-15  Jari Aalto  <jari.aalto@cante.net>
            Scott Evans <gse@antisleep.com>

	* rect.el (rectange--default-line-number-format)
	(rectangle-number-line-callback): New functions.
	(rectangle-number-lines): New command, bound to C-x r N (Bug#4382).

17 18 19 20 21 22
2010-12-15  Chong Yidong  <cyd@stupidchicken.com>

	* rect.el (operate-on-rectangle-lines, string-rectangle-string):
	Delete unused variables.
	(move-to-column-force): Remove function obsolete since 21.2.

23 24 25 26 27 28 29 30 31 32 33 34 35
2010-12-14  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
	(tramp-handle-insert-file-contents): Do not set permanent-local
	property.

	* net/tramp-cache.el (tramp-persistency-file-name): Use
	`locate-user-emacs-file' if fboundp.

	* net/tramp-sh.el (tramp-methods): Add "ksu".
	(tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
	method list.

36 37
2010-12-14  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
38 39 40 41
	* progmodes/js.el: Doc't require font-lock, etags, or easymenu.
	(find-tag-marker-ring): Declare.
	(js-find-symbol): Require etags.

Glenn Morris's avatar
Glenn Morris committed
42 43 44 45 46 47 48 49
	* mail/sendmail.el: Don't require rmail or mailalias when compiling.
	Require mail-utils.
	(mail-alias-file): Don't autoload.  Doc fix.
	(mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
	(mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
	Mark as obsolete, and risky.
	(mail-setup): Simplify.

50 51 52
	* mail/mailalias.el (build-mail-aliases): Make it interactive.
	* mail/sendmail.el (build-mail-aliases): Update autoload.

53 54 55 56
	* dired.el (dired-trivial-filenames, dired-chown-program)
	(dired-auto-revert-buffer): Remove autoload cookies.
	* mail/sendmail.el (mail-recover-1): Require 'dired.

57 58 59 60 61
	* dired.el (dired-subdir-switches, dired-chown-program)
	(dired-use-ls-dired, dired-chmod-program, dired-touch-program):
	Make into defcustoms.
	(dired-chown-program): Simplify initialization.

62 63
	* mail/mail-utils.el: No need to require lisp-mode, it's in loadup.

64 65 66 67
2010-12-13  Romain Francoise  <romain@orebokech.com>

	* net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.

68 69 70 71 72 73
2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/netrc.el (netrc-point-at-eol): Remove the unused
	netrc-point-at-old and netrc-bound-and-true-p bindings.
	(netrc-parse): Cache the netrc contents.

Stefan Monnier's avatar
Stefan Monnier committed
74
2010-12-13  Eli Zaretskii  <eliz@gnu.org>
75 76 77 78

	* subr.el (posn-col-row): Evaluate header-line-format in the
	context of the POSITION window's buffer.

Stefan Monnier's avatar
Stefan Monnier committed
79
2010-12-13  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
80 81 82 83

	* subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
	(with-silent-modifications): Doc fixes.

Stefan Monnier's avatar
Stefan Monnier committed
84
2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
85 86

	* net/tramp.el (tramp-action-password, tramp-process-actions):
87
	Revert previous from.  Use `save-restriction'.
88

Stefan Monnier's avatar
Stefan Monnier committed
89
2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
Stephen Berman's avatar
Stephen Berman committed
90 91 92 93

	* calendar/diary-lib.el (diary-list-sexp-entries):
	Handle case of no newline at end of file.  (Bug#7536)

Stefan Monnier's avatar
Stefan Monnier committed
94
2010-12-13  Glenn Morris  <rgm@gnu.org>
95 96 97

	* mail/smtpmail.el (smtpmail-send-it): Revert previous change.

Stefan Monnier's avatar
Stefan Monnier committed
98
2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
99

Stefan Monnier's avatar
Stefan Monnier committed
100
	* net/tramp.el (tramp-action-password): Delete region, do not narrow.
101
	(tramp-process-actions): Do not widen.
102

Stefan Monnier's avatar
Stefan Monnier committed
103 104
	* net/tramp-sh.el (tramp-sh-handle-start-file-process):
	Protect buffer-modified value.  (Bug#7557)
105

Stefan Monnier's avatar
Stefan Monnier committed
106
2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
107 108 109 110

	* log-edit.el (log-edit-changelog-entries):
	Regexp quote filename.  (Bug#7505)

Stefan Monnier's avatar
Stefan Monnier committed
111
2010-12-13  Tom Breton  <tehom@panix.com>
112 113 114 115

	* cus-edit.el (custom-save-all):
	Bind print-length and print-level to nil.  (Bug#7581)

Stefan Monnier's avatar
Stefan Monnier committed
116
2010-12-13  Glenn Morris  <rgm@gnu.org>
117

Glenn Morris's avatar
Glenn Morris committed
118 119 120
	* mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
	Run hooks to update menu contents.  (Bug#7586)

121 122 123
	* mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
	file names, for the sake of MS Windows.  (Bug#7588)

Stefan Monnier's avatar
Stefan Monnier committed
124
2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
125 126 127 128

	* diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
	empty lines without a leading space.

Stefan Monnier's avatar
Stefan Monnier committed
129
2010-12-13  Leo  <sdl.web@gmail.com>
130

Glenn Morris's avatar
Glenn Morris committed
131 132
	* dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
	while mapping over marks (Bug#6810).
133

Stefan Monnier's avatar
Stefan Monnier committed
134
2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
135 136 137 138 139 140

	* image-dired.el (image-dired-db-file)
	(image-dired-temp-image-file, image-dired-gallery-dir)
	(image-dired-temp-rotate-image-file): Set default values relative
	to image-dired-dir (Bug#7518).

Stefan Monnier's avatar
Stefan Monnier committed
141
2010-12-13  Lawrence Mitchell  <wence@gmx.li>
142 143 144 145

	* format.el (format-decode-run-method): Pass args FROM and TO, not
	point-min and point-max, to shell-command-on-region (Bug#7488).

Stefan Monnier's avatar
Stefan Monnier committed
146
2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
147 148 149

	* frame.el (blink-cursor-mode): Make default t for ns.

Stefan Monnier's avatar
Stefan Monnier committed
150
2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
151 152 153

	* vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).

Stefan Monnier's avatar
Stefan Monnier committed
154
2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
155

156 157 158 159 160 161 162
	* comint.el (comint-dynamic-list-input-ring)
	(comint-dynamic-complete-filename)
	(comint-replace-by-expanded-filename)
	(comint-dynamic-simple-complete)
	(comint-dynamic-list-filename-completions)
	(comint-dynamic-list-completions): Doc fix (Bug#7499).

163 164 165
	* subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
	Doc fix (Bug#7471).

Stefan Monnier's avatar
Stefan Monnier committed
166
2010-12-13  Martin Rudalics  <rudalics@gmx.at>
167 168 169 170

	* dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
	(Bug#7533).

Stefan Monnier's avatar
Stefan Monnier committed
171
2010-12-13  W. Martin Borgert <debacle@debian.org>  (tiny change)
172 173 174 175

	* files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
	(Bug#7491).

Stefan Monnier's avatar
Stefan Monnier committed
176
2010-12-13  Eli Zaretskii  <eliz@gnu.org>
177 178 179 180

	* files.el (file-relative-name): Handle UNC file names on
	DOS/Windows.  (Bug#4674)

Stefan Monnier's avatar
Stefan Monnier committed
181
2010-12-13  Daiki Ueno  <ueno@unixuser.org>
Daiki Ueno's avatar
Daiki Ueno committed
182 183 184 185 186 187

	* epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
	"RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
	(epg-context-set-passphrase-callback): Mention that the callback
	is not called when used with GnuPG 2.x.

Stefan Monnier's avatar
Stefan Monnier committed
188
2010-12-13  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
189 190 191 192 193

	* ps-print.el (ps-line-lengths-internal, ps-nb-pages):
	Ensure ps-footer-font-size-internal is initialized.
	Call ps-get-page-dimensions before trying to use ps-font-for-text.

Stefan Monnier's avatar
Stefan Monnier committed
194
2010-12-13  Kenichi Handa  <handa@m17n.org>
195 196 197 198 199 200 201 202

	* mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
	within condition-case.
	(rmail-show-mime): Don't use condition-case.
	(rmail-search-mime-message): New function.
	(rmail-search-mime-message-function): Set to
	rmail-search-mime-message.

Stefan Monnier's avatar
Stefan Monnier committed
203
2010-12-13  Leo  <sdl.web@gmail.com>
204

205
	* ido.el (ido-common-initialization): New function.  (bug#3274)
206 207 208
	(ido-mode): Use it.
	(ido-completing-read): Call it.

209 210 211 212 213 214 215 216
2010-12-12  Karl Fogel  <kfogel@red-bean.com>

	* bookmark.el (bookmark-name-from-full-record): Rename back to
	this original name from `bookmark-name-from-record' reverting part
	of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
	As Drew Adams pointed out, there was no reason to cause churn for
	third-party callers.

217 218 219 220 221
2010-12-12  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-engine.el (c-forward-type): Before scanning a
	template arglist, check that the current language supports this.

222 223
2010-12-11  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
224 225 226 227 228 229
	* vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
	state of the file matches.  (Bug#7544)
	(vc-bzr-register, vc-bzr-checkin)
	(vc-bzr-annotate-extract-revision-at-line): Doc fixes.
	(vc-directory-exclusion-list): Remove unnecessary eval-after-load.

230 231
	* textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.

232 233 234 235
2010-12-11  Karel Klíč  <kklic@redhat.com>

	* files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)

236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350
2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	Derive from prog-mode, use derived-mode-p, and fix up various
	minor style issues in lisp/progmodes.

	* progmodes/vhdl-mode.el (vhdl-mode):
	* progmodes/verilog-mode.el (verilog-mode):
	* progmodes/vera-mode.el (vera-mode):
	* progmodes/sql.el (sql-mode):
	* progmodes/scheme.el (scheme-mode):
	* progmodes/perl-mode.el (perl-mode):
	* progmodes/octave-inf.el (inferior-octave-mode):
	* progmodes/autoconf.el (autoconf-mode):
	* progmodes/m4-mode.el (m4-mode):
	* progmodes/inf-lisp.el (inferior-lisp-mode):
	* progmodes/idlwave.el (idlwave-mode):
	* progmodes/icon.el (icon-mode):
	* progmodes/idlw-help.el (idlwave-help-mode):
	* progmodes/dcl-mode.el (dcl-mode):
	* progmodes/idlw-shell.el (idlwave-shell-mode):
	* progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
	(ebrowse-member-mode, ebrowse-electric-position-mode):
	Use define-derived-mode.

	* progmodes/xscheme.el (exit-scheme-interaction-mode)
	(xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
	(xscheme-debugger-mode-p, xscheme-send-string-1):
	* progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
	(tcl-load-file, tcl-restart-with-file):
	* progmodes/ps-mode.el (ps-run-running):
	* progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
	* progmodes/js.el (js--get-all-known-symbols):
	* progmodes/inf-lisp.el (inferior-lisp-proc):
	* progmodes/idlwave.el (idlwave-beginning-of-statement)
	(idlwave-template, idlwave-update-buffer-routine-info)
	(idlwave-update-current-buffer-info)
	(idlwave-get-routine-info-from-buffers, idlwave-choose)
	(idlwave-scan-class-info, idlwave-fix-keywords)
	(idlwave-list-buffer-load-path-shadows):
	* progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
	(idlwave-toolbar-remove):
	* progmodes/idlw-shell.el (idlwave-shell-save-and-action)
	(idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
	(idlwave-shell-menu-def):
	* progmodes/idlw-complete-structtag.el
	(idlwave-prepare-structure-tag-completion):
	* progmodes/gud.el (gud-set-buffer):
	* progmodes/f90.el (f90-backslash-not-special):
	* progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.

	* progmodes/xscheme.el (xscheme-start)
	(local-set-scheme-interaction-buffer, scheme-interaction-mode):
	* progmodes/which-func.el (which-function):
	* progmodes/vhdl-mode.el (vhdl-set-style):
	* progmodes/verilog-mode.el (verilog-set-compile-command)
	(verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
	(verilog-set-define, verilog-auto-reeval-locals):
	* progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
	* progmodes/simula.el (simula-mode):
	* progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
	* progmodes/python.el (python-check, python-mode):
	* progmodes/prolog.el (prolog-mode-variables):
	* progmodes/gud.el (gud-tooltip-activate-mouse-motions):
	* progmodes/ebrowse.el (ebrowse-view-file-other-frame):
	* progmodes/delphi.el (delphi-mode):
	* progmodes/cc-styles.el (c-setup-paragraph-variables):
	* progmodes/cc-mode.el (c-basic-common-init, c-common-init)
	(c-font-lock-init): Move make-local-variable to their setq.

	* progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
	(vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
	make-local-hook.
	* progmodes/sh-script.el (sh-require-final-newline): Remove.
	(sh-set-shell): Don't set require-final-newline since it's already done
	by prog-mode.
	* progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
	since we never set it.
	* progmodes/ebrowse.el (ebrowse-set-tree-indentation):
	Use read-string and standard prompt.
	* progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
	* progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
	(meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
	(meta-common-mode-map): Rename from meta-mode-map.
	Remove C-m binding, which is a user preference, not mode specific.
	(meta-common-mode): New major mode; replace meta-common-initialization.
	* progmodes/js.el (js-mode): Call syntax-propertize rather than messing
	around with font-lock.
	* progmodes/etags.el (select-tags-table-mode):
	Derive from special-mode.
	* progmodes/octave-mod.el (octave-mode):
	* progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
	(gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
	(gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
	Let define-derived-mode do its job.
	* progmodes/cpp.el (cpp-edit-mode-map):
	Move initialization into declaration.
	(cpp-edit-mode): Use define-derived-mode.
	(cpp-edit-load): Use derived-mode-p.
	* progmodes/mixal-mode.el (mixal-mode):
	* progmodes/f90.el (f90-mode):
	* progmodes/cfengine.el (cfengine-mode): Don't bother setting
	require-final-newline since prog-mode does it already.
	* progmodes/cc-cmds.el (c-update-modeline): Use match-string.
	* progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
	* progmodes/antlr-mode.el: Require cc-mode upfront.
	(antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
	the declaration.
	(antlr-directory-dependencies, antlr-show-makefile-rules):
	Use derived-mode-p.
	(antlr-language-option): Don't assume point-min==1.
	(antlr-mode): Use define-derived-mode.
	* progmodes/ada-mode.el: Use derived-mode-p.
	(ada-mode): Use define-derived-mode.
	Use hack-local-variables-hook.

351 352 353 354 355 356 357 358 359 360 361 362 363 364
2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
	(texinfo-mode): Don't disable adaptive-fill-mode.
	(texinfo-insert-block): Adjust cursor placement for blocks with arg.
	(texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
	(texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
	(texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
	(texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
	(texinfo-insert-@quotation, texinfo-insert-@samp)
	(texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
	(texinfo-insert-@uref): Use define-skeleton.
	(texinfo-insert-@-with-arg): Delete.

365 366 367 368 369
2010-12-10  Eli Zaretskii  <eliz@gnu.org>

	* arc-mode.el (archive-zip-extract): If w32-quote-process-args is
	nil, do quote archive member names.  (Bug#6144)

370 371
2010-12-10  Glenn Morris  <rgm@gnu.org>

372 373
	* files.el (diff-no-select): Declare.

Glenn Morris's avatar
Glenn Morris committed
374 375 376
	* mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
	(report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.

377 378
	* comint.el (comint-input-ring-file-name): Doc fix.

379 380 381 382
2010-12-09  Eli Zaretskii  <eliz@gnu.org>

	* menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
	New functions.
383 384
	(menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
	Use them instead of `nil' and `>', respectively.
385 386 387 388 389 390
	(menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
	instead of `nil'.
	(toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
	and menu-bar-positive-p instead of `nil' and `>', respectively.
	(Bug#1077)

Vinicius Jose Latorre's avatar
Vinicius Jose Latorre committed
391 392 393 394
2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

	* whitespace.el (whitespace-newline-mode): Code fix.

Glenn Morris's avatar
Glenn Morris committed
395 396 397 398 399
2010-12-09  Glenn Morris  <rgm@gnu.org>

	* play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
	Rename functions without commas, update callers.

Glenn Morris's avatar
Glenn Morris committed
400
2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
401

Glenn Morris's avatar
Glenn Morris committed
402 403
	* whitespace.el (whitespace-cleanup-region):
	Clean up spaces before tabs.  (Bug#7582)
404

405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434
2010-12-08  Karl Fogel  <kfogel@red-bean.com>

	* bookmark.el: Adjust parameter names and doc strings to resolve
	confusion over whether "bookmark" meant a bookmark name or a
	bookmark record.  Along the way, shorten one function's name for
	similar reasons.  (Issue #7548)
	(bookmark-name-from-record): New name for
	`bookmark-name-from-full-record'.  All callers changed.
	(bookmark-get-bookmark, bookmark-get-bookmark-record)
	(bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
	(bookmark-get-annotation, bookmark-set-annotation)
	(bookmark-get-filename, bookmark-set-filename)
	(bookmark-get-position, bookmark-set-position)
	(bookmark-get-front-context-string, bookmark-set-front-context-string)
	(bookmark-get-rear-context-string, bookmark-set-rear-context-string)
	(bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
	(bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
	Rename `bookmark' parameter to `bookmark-name-or-record', to
	clearly show its role, and shorten or adjust doc strings accordingly.
	(bookmark-set-name): Same, and pass the parameter directly to
	`bookmark-get-bookmark' instead of redundantly doing the callee's work.
	(bookmark-default-annotation-text, bookmark-send-edited-annotation)
	(bookmark-relocate, bookmark-insert-location, bookmark-insert)
	(bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
	and in some cases shorten doc string accordingly.
	(bookmark-rename): Change `old' and `new' parameters to `old-name'
	and `new-name', and adjust an internal variable to avoid confusion.
	(bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
	parameter in doc string.

435 436
2010-12-08  Glenn Morris  <rgm@gnu.org>

437 438 439
	* progmodes/gdb-mi.el (gdb): Try to initialize comint input history
	from gdb's history file.  (Bug#7575)

440 441 442
	* mail/emacsbug.el (report-emacs-bug):
	Try to handle some other mail clients.

443 444 445 446 447 448 449 450 451 452 453
2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* files.el (dir-locals-collect-variables): Don't let errors stop us.
	Use string-prefix-p.
	(file-name-version-regexp): New var.
	(file-name-sans-versions):
	* jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
	(jka-compr-get-compression-info): Use dolist.
	(jka-compr-compression-info-list): Don't bother specifying
	version/backup regexps.

454 455 456 457 458
2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>

	* simple.el (just-one-space): Make argument n default to 1 if
	omitted.

459 460 461 462 463
2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* electric.el (electric-indent-post-self-insert-function):
	Delete trailing newlines even if we don't reindent.

464 465
2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>

466 467 468 469 470
	* minibuffer.el (completion-at-point): Remove the `arg'.
	* bindings.el (complete-symbol): Move back from minibuffer.el.

2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

471 472
	* simple.el (just-one-space): Delete newlines for negative arg.

473 474 475 476 477 478
2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
	(ansi-color-filter-apply): Simplify.
	(ansi-color-apply): Use `font-lock-face' rather than `face'.

479 480 481 482
2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>

	* vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).

483 484 485 486 487 488 489
2010-12-04  Chong Yidong  <cyd@stupidchicken.com>

	* dired.el (dired-use-ls-dired): Set default to a special
	"unspecified" value.
	(dired-insert-directory): When called the first time, check
	whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).

490 491 492 493
2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>

	* replace.el: Add "collect" feature to occur.
	(occur-collect-regexp-history): New var.
494 495
	(occur-read-primary-args): Return a replace string for nlines,
	if needed.
496 497
	(occur): Extend the meaning of nlines.

498 499 500 501 502 503
2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/which-func.el (which-func-ff-hook): Log the error message.
	(which-func-update-1): Distinguish symbols from strings.
	(which-function): Stay within 80 columns.

504 505
2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>

506 507
	* subr.el (with-demoted-errors): Distinguish symbols from strings.

508 509 510 511
	* newcomment.el (comment-styles): Add docs to each style (bug#7509).
	Improve docstring.
	(comment-style): Use comment-styles's docs to describe values.

512 513 514 515 516 517 518 519
2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>

	* term/common-win.el (x-setup-function-keys): Restore ns-new-frame
	and ns-show-prefs (Bug#7535).

	* term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
	bindings (Bug#7535).

Glenn Morris's avatar
Glenn Morris committed
520 521
2010-12-03  Glenn Morris  <rgm@gnu.org>

522 523 524 525
	* nxml/nxml-mode.el: Require rng-nxml.
	(rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
	Remove declarations.

526 527 528 529
	* nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
	* nxml/rng-nxml.el, nxml/rng-valid.el:
	Remove leading `*' from defcustom docs.

Glenn Morris's avatar
Glenn Morris committed
530 531 532 533
	* startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
	(normal-top-level-add-to-load-path, tty-handle-args):
	Convert comments to basic doc-strings.

534 535 536
	* net/browse-url.el (browse-url-url-at-point)
	(browse-url-default-browser): Remove autoload cookies.

Glenn Morris's avatar
Glenn Morris committed
537 538 539
	* mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
	Remove more undefined cl functions.

Glenn Morris's avatar
Glenn Morris committed
540 541 542
	* vc/diff.el (diff-sentinel): Make new arguments optional.
	* ibuf-ext.el (diff-sentinel): Update declaration.

Daiki Ueno's avatar
Daiki Ueno committed
543 544 545 546 547 548 549
2010-12-03  Daiki Ueno  <ueno@unixuser.org>

	* epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
	"RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
	(epg-context-set-passphrase-callback): Mention that the callback
	is not called when used with GnuPG 2.x.

550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568
2010-12-02  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-local-host-regexp): Add "localhost6".
	(tramp-file-name-port): Check also for `tramp-default-port'.
	(tramp-get-connection-name): New defun.
	(tramp-get-connection-process): Use it.
	(tramp-debug-message): Extend function exclude list.
	(tramp-drop-volume-letter): Fix doc string.

	* net/tramp-cmds.el: Remove solved todo item.

	* net/tramp-efs.el:
	* net/tramp-ftp.el:
	* net/tramp-gvfs.el:
	* net/tramp-gw.el:
	* net/tramp-imap.el:
	* net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
	and `tramp-default-user-alist', respectively.

569 570
	* net/tramp-gw.el (tramp-gw-open-connection):
	Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587

	* net/tramp-imap.el (tramp-imap-make-iht): Use just
	`tramp-file-name-port'.

	* net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
	and "psftp".  Exchange "%k" marker with options.
	(tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
	Compute size of link target.
	(tramp-do-copy-or-rename-file-out-of-band). Move setting of
	`tramp-current-*' up due to gateway methods.  Optimze computing of
	copy arguments.  Use `tramp-get-connection-name' and
	`tramp-get-connection-buffer'.  Improve debug messages.
	(tramp-compute-multi-hops): Remove port determination.
	(tramp-maybe-open-connection): Use `tramp-get-connection-name'.

	* net/trampver.el: Update release number.

Glenn Morris's avatar
Glenn Morris committed
588 589
2010-12-02  Glenn Morris  <rgm@gnu.org>

590 591 592
	* emacs-lisp/cl-macs.el (cl-parse-loop-clause):
	Avoid infinite loop over windows.  (Bug#7492)

Glenn Morris's avatar
Glenn Morris committed
593 594 595 596 597 598
	* progmodes/flymake.el (flymake-check-file-limit):
	Allow nil to mean "no limit".
	(flymake-check-patch-master-file-buffer): Update for above change.
	Allow a .tex file-name extension to be optional.
	(flymake-master-tex-init): Also match \include statements.

599 600 601 602 603 604 605 606 607 608
2010-11-30  Sam Steingold  <sds@gnu.org>

	* nxml/nxml-mode.el (nxml-parent-document): Add a variable.
	(nxml-parent-document-set): A function to set `nxml-parent-document'.
	(nxml-mode): Define using `define-derived-mode' instead of `defun'.
	(nxml-mode-hook): Remove `defcustom' (auto-defined by
	define-derived-mode').
	* nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
	users who want to call `nxml-parent-document-set'.

609 610 611 612 613 614
2010-11-27  Chong Yidong  <cyd@stupidchicken.com>

	* log-edit.el (log-edit-font-lock-keywords): Don't try matching
	stand-alone lines, since that is handled by log-edit-match-to-eoh
	(Bug#6465).

615 616 617 618 619 620 621 622 623
2010-11-27  Eduard Wiebe  <usenet@pusto.de>

	* dired.el (dired-get-filename): Replace backslashes with slashes
	in file names on MS-Windows, needed by `locate'.  (Bug#7308)
	* locate.el (locate-default-make-command-line): Don't consider
	drive letter and root directory part of
	`directory-listing-before-filename-regexp'.  (Bug#7308)
	(locate-post-command-hook, locate-post-command-hook): New defcustoms.

624
2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
625 626 627 628 629 630 631

	* emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
	of :smie-open/close-alist.
	(smie-next-sexp): Make it accept a "start token" as argument.
	(smie-indent-keyword): Be careful not to misidentify tokens that span
	more than one line, as empty lines.  Add argument `token'.

632
2010-11-27  Kenichi Handa  <handa@m17n.org>
633

634 635 636
	* mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
	multipart subtypes, insert all as usual.

637 638
	* mail/rmail.el: Require rfc2047.

639
2010-11-27  Kenichi Handa  <handa@m17n.org>
Kenichi Handa's avatar
Kenichi Handa committed
640 641 642 643 644 645 646 647

	* mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
	(rmail-mime-entity-disposition)
	(rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
	(rmail-mime-entity-body, rmail-mime-entity-children): New functions.
	(rmail-mime-save): Handle the case that the button's `data' is a
	MIME entity.
	(rmail-mime-insert-text): New function.
Glenn Morris's avatar
Glenn Morris committed
648
	(rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
Kenichi Handa's avatar
Kenichi Handa committed
649 650 651
	(rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
	(rmail-mime-insert-bulk): New function mostly copied from the old
	rmail-mime-bulk-handler.
Glenn Morris's avatar
Glenn Morris committed
652 653
	(rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
	(rmail-mime-process-multipart): New function mostly copied from
Kenichi Handa's avatar
Kenichi Handa committed
654 655
	the old rmail-mime-multipart-handler.
	(rmail-mime-show): Just call rmail-mime-process.
Glenn Morris's avatar
Glenn Morris committed
656
	(rmail-mime-process): New function mostly copied from the old
Kenichi Handa's avatar
Kenichi Handa committed
657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679
	rmail-mime-show.
	(rmail-mime-insert-multipart, rmail-mime-parse)
	(rmail-mime-insert, rmail-show-mime)
	(rmail-insert-mime-forwarded-message)
	(rmail-insert-mime-resent-message): New functions.
	(rmail-insert-mime-forwarded-message-function): Set to
	rmail-insert-mime-forwarded-message.
	(rmail-insert-mime-resent-message-function): Set to
	rmail-insert-mime-resent-message.

	* mail/rmailsum.el: Require rfc2047.
	(rmail-header-summary): Handle multiline Subject: field.
	(rmail-summary-line-decoder): Change the default to
	rfc2047-decode-string.

	* mail/rmail.el (rmail-enable-mime): Change the default to t.
	(rmail-mime-feature): Change the default to `rmailmm'.
	(rmail-quit): Delete the specifal code for rmail-enable-mime.
	(rmail-display-labels): Likewise.
	(rmail-show-message-1): Check rmail-enable-mime, and use
	rmail-show-mime-function for a MIME message.  Decode the headers
	according to RFC2047.

680
2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
681 682 683 684 685 686

	* progmodes/which-func.el (which-func-imenu-joiner-function):
	Return a string, as expected.
	(which-function-mode): Make sure we stop any previous timer before
	starting a new one.

687
2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
688 689

	* net/tramp.el (tramp-default-method-alist)
690 691
	(tramp-default-user-alist, tramp-default-proxies-alist):
	Adapt custom options type.  (Bug#7445)
692

693
2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
694 695 696 697 698

	* progmodes/python.el: Add Ipython support (Bug#5390).
	(python-shell-prompt-alist)
	(python-shell-continuation-prompt-alist): New options.
	(python--set-prompt-regexp): New function.
699 700
	(inferior-python-mode, run-python, python-shell):
	Require ansi-color.  Use python--set-prompt-regexp to set the comint
701 702 703 704 705 706
	prompt based on the Python interpreter.
	(python--prompt-regexp): New var.
	(python-check-comint-prompt)
	(python-comint-output-filter-function): Use it.
	(run-python): Use a pipe (Bug#5694).

707
2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
708 709 710 711

	* progmodes/python.el (run-python): Doc fix.
	(python-keep-current-directory-in-path): New var (Bug#7454).

712
2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
713 714 715 716

	* lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
	Prompt user before actually printing.

Glenn Morris's avatar
Glenn Morris committed
717 718 719 720 721
2010-11-27  Glenn Morris  <rgm@gnu.org>

	* startup.el (package-enable-at-startup, package-initialize):
	Remove unnecessary declarations.

722 723 724 725 726
2010-11-27  Eli Zaretskii  <eliz@gnu.org>

	* international/characters.el (glyphless-char-display-control):
	Exclude newline and TAB from the c0-control group.

727 728
2010-11-27  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
729 730 731
	* mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
	(expand-mail-aliases): Remove unnecessary autoload.

732 733
	* allout.el (allout-command-prefix, allout-mode-map): Declare.

734 735
	* shell.el (shell-dir-cookie-re): Move definition before use.

736 737 738
	* mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
	Replace undefined CL functions.

739 740
2010-11-26  Eli Zaretskii  <eliz@gnu.org>

741 742 743
	* simple.el (prog-mode): Set bidi-paragraph-direction to
	left-to-right.

744 745
	* term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.

746 747 748 749 750 751 752 753 754 755
2010-11-26  Glenn Morris  <rgm@gnu.org>

	* calendar/diary-lib.el (diary-outlook-format-1): New function, so that
	diary-outlook-formats can be sensitive to calendar-date-style.
	(diary-outlook-formats): Simplify the default setting.
	(diary-from-outlook-internal): Pass subject and body as arguments.
	Use dolist rather than dotimes.  Don't save the diary buffer.
	(diary-from-outlook-gnus, diary-from-outlook-rmail):
	Pass subject and body as explicit arguments to the -internal function.

756 757 758 759 760
2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
	parsing them.  This makes mailto:...?subject=foo\nbar work.

761 762 763 764
2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc/diff.el (diff): Fix last change.

765 766 767 768 769 770 771 772 773 774
2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
	(pcase--dontcare-upats): New var.
	(pcase-let, pcase-let*): Generate better code.
	Accept the same bodies as `let'.
	(pcase-dolist): New macro.
	(pcase--trivial-upat-p): New helper function.
	(pcase--expand): Strip leading "(let nil" if any.

775 776
2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>

777 778 779 780
	* mail/mailclient.el (browse-url): Require.
	(mailclient-send-it): Bind `browse-url-mailto-function' to nil to
	use the external browser function to send the mail (bug#7469).

781 782 783 784 785 786
	* net/browse-url.el (browse-url-browser-function): Revert the
	default back to the previous value, since the new value broke
	mailclient.el.
	(browse-url-mailto-function): New variable for mailto: URLs.
	(browse-url): Use the new variable for mailto: URLs.

787 788 789 790 791 792 793
2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* eshell/esh-cmd.el (eshell-parse-command):
	* eshell/esh-arg.el (eshell-parse-arguments):
	* eshell/em-script.el (eshell-source-file):
	Use with-silent-modifications.

794 795 796 797 798 799 800 801 802
2010-11-23  Chong Yidong  <cyd@stupidchicken.com>

	* vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
	for a merge location.

	* vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
	(vc-bzr-merge-branch): Always prompt.
	(vc-bzr-async-command): Use the full branch filename.

803 804 805 806
2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* shell.el (shell): Use current-buffer by default if it's already
	a shell mode buffer and its process is dead.
807
	Suggested by Jose E. Marchesi <jemarch@gnu.org>.
808

809 810
2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>

811 812
	* mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
	Mention that the keywords should be comma separated.
813

814 815 816 817 818 819 820 821 822 823 824 825 826
2010-11-23  Chong Yidong  <cyd@stupidchicken.com>

	* vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
	Accept optional prefix arg meaning to prompt for a command.
	(vc-update): Use vc-BACKEND-pull if available.  Accept optional
	prefix arg meaning to prompt for a command.
	(vc-pull): Alias for vc-update.

	* vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
	(vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
	(vc-bzr-merge-branch): New functions, implementing merge-branch
	and pull operations.

827 828
2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>

829 830
	* Makefile.in: Fix up last merge.

831 832 833 834 835 836 837 838 839 840 841 842 843 844 845
	* vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
	(diff-sentinel): Get them as arguments instead.
	(diff-old-file, diff-new-file, diff-extra-args): Remove.
	(diff-file-local-copy, diff-better-file-name): New funs.
	(diff-no-select): Rename from diff-into-buffer.
	Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
	Prefer closures to buffer-local variables.
	(diff): Adjust accordingly.
	(diff-buffer-with-file): Move from files.el.
	* files.el (diff-buffer-with-file): Move to vc/diff.el.
	(diff-buffer-internal): Remove.
	(diff-buffer-buffer): Remove.
	(save-some-buffers-action-alist): Use diff-no-select so as not to guess
	the buffer name used, and so as not to mess up windows and frames.

846 847 848 849 850 851 852 853
2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>

	* files.el: Make revert work with diff-buffer-with-file (bug#7277).
	(diff-buffer-internal): New function extracted from diff-buffer-with-file
	(diff-buffer-with-file): Use it.
	* vc/diff.el (diff-into-buffer): New fun, extracted from diff.
	(diff): Use it.

854 855 856 857 858
2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>

	* textmodes/reftex-ref.el (reftex-goto-label): Use the current
	\ref's or \pageref's value as default instead of initial input.

859 860 861 862 863 864 865 866 867
2010-11-21  Michael Albinus  <michael.albinus@gmx.de>

	* files.el (backup-by-copying-when-mismatch): The default value is
	now t.

	* startup.el (normal-top-level):
	* net/tramp.el (tramp-handle-insert-file-contents): Do not set
	`backup-by-copying-when-mismatch'.

868 869 870 871
2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>

	* tool-bar.el (tool-bar-setup): Remove save as, print and customize.

872 873
2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>

874 875
	* progmodes/python.el (python-font-lock-keywords):
	Highlight top-level augmented assignments (Bug#6445).
876

877 878 879 880 881 882 883 884
2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>

	* term/ns-win.el (ns-right-control-modifier)
	(ns-right-command-modifier): Defvar them.

	* cus-start.el (all): Add ns-right-control-modifier and
	ns-right-command-modifier (Bug#7458).

Glenn Morris's avatar
Glenn Morris committed
885 886 887 888 889
2010-11-20  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/authors.el (authors-ignored-files)
	(authors-valid-file-names, authors-renamed-files-alist): Add entries.

890 891 892 893 894 895 896 897
2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>

	* mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
	(report-emacs-bug-parse-query-results)
	(report-emacs-bug-create-existing-bugs-buffer): Pass through
	keywords used for querying the bug database to show them in the
	existing bugs buffer.

898 899 900 901 902 903
2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>

	* tool-bar.el (tool-bar-setup): Add some :vert-only keywords.

	* info.el (info-tool-bar-map): Add some :vert-only keywords.

904 905 906 907 908 909 910
2010-11-20  Eli Zaretskii  <eliz@gnu.org>

	* international/characters.el (glyphless-char-display-control):
	Make it a defcustom, with update-glyphless-char-display as its
	:set attribute.
	(top level): Don't call update-glyphless-char-display.

Michael Albinus's avatar
Michael Albinus committed
911 912 913 914 915 916 917 918 919 920 921 922
2010-11-20  Michael Albinus  <michael.albinus@gmx.de>

	Sync with Tramp 2.2.0.

	* net/tramp.el (tramp-handle-insert-file-contents): Don't use
	`file-remote-p' (due to compatibility).

	* net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
	(tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.

	* net/trampver.el: Update release number.

923 924 925 926
2010-11-20  Eli Zaretskii  <eliz@gnu.org>

	* faces.el (glyphless-char): Define value for `pc'.

927 928
2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>

929 930
	Implemented a bug querying mechanism.
	* mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
931 932
	(report-emacs-bug-create-existing-bugs-buffer)
	(report-emacs-bug-parse-query-results)
933
	(report-emacs-bug-query-existing-bugs): New functions.
934

935 936 937 938 939
2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>

	* textmodes/reftex-ref.el (reftex-goto-label): If point is inside
	a \ref{} or \pageref{} macro, then use its value as initial input.

940 941 942 943 944 945 946 947
2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-units.el (math-build-units-table-buffer):
	calc/README: Mention that the TeX specific units won't use the
	`tex' prefix in TeX mode.
	calc/calc-lang.el (math-variable-table): Don't use the `tex'
	prefix for units in TeX mode.

948 949 950
2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (kill-new, kill-append, kill-region):
951 952
	* comint.el (comint-kill-region): Make the yank-handler argument
	obsolete.
953

Stefan Monnier's avatar
Stefan Monnier committed
954
2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
955

956 957 958 959 960 961 962 963
	* emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
	that are both openers (resp. closers) and something else.
	(smie-grammar): Loosen definition of valid values.
	(smie-next-sexp, smie-down-list, smie-blink-matching-open)
	(smie-indent--parent, smie-rule-parent, smie-indent-keyword)
	(smie-indent-after-keyword): Adjust users.
	(smie-indent-keyword): Don't indent empty lines.

964 965 966 967
	* vc-hg.el (vc-hg-program): New var.
	Suggested by Norman Gray <norman@astro.gla.ac.uk>.
	(vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.

Stefan Monnier's avatar
Stefan Monnier committed
968
2010-11-18  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
969 970 971 972

	* emacs-lisp/autoload.el (autoload-find-destination): The function
	coding-system-eol-type may return non-numeric values.  (Bug#7414)

Stefan Monnier's avatar
Stefan Monnier committed
973
2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
974 975 976

	* server.el (server-force-stop): Ensure the server is stopped (Bug#7409).

Stefan Monnier's avatar
Stefan Monnier committed
977
2010-11-18  Eli Zaretskii  <eliz@gnu.org>
978 979 980

	* subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)

Stefan Monnier's avatar
Stefan Monnier committed
981
2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
982 983 984 985 986

	* textmodes/picture.el (picture-mouse-set-point): Don't use
	posn-col-row; explicitly compute the motion based on the posn at
	the window-start (Bug#7390).

Stefan Monnier's avatar
Stefan Monnier committed
987
2010-11-18  Glenn Morris  <rgm@gnu.org>
988 989 990 991

	* novice.el (disabled-command-function):
	Fix 2009-11-15 change.  (Bug#7384)

Stefan Monnier's avatar
Stefan Monnier committed
992
2010-11-18  Glenn Morris  <rgm@gnu.org>
993 994 995 996

	* calendar/calendar.el (diary-iso-date-forms): Make elements
	mutually exclusive.  (Bug#7377)

Stefan Monnier's avatar
Stefan Monnier committed
997
2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
998 999 1000 1001

	* emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
	when filling the remaining "unconstrained" values.

Stefan Monnier's avatar
Stefan Monnier committed
1002
2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1003

1004 1005 1006 1007 1008
	* emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
	safety predicate.

	* files.el (safe-local-variable-p): Gracefully handle errors.

1009 1010 1011 1012 1013 1014
	* emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
	Use smie-indent-virtual when indenting relative to an opener.
	(smie-rule-separator): Use smie-rule-parent.
	(smie-indent-keyword): Consult rules, even for openers at bol.
	(smie-indent-comment-close): Try to align closer's content.

Stefan Monnier's avatar
Stefan Monnier committed
1015
2010-11-18  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
1016 1017 1018

	* ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.

Stefan Monnier's avatar
Stefan Monnier committed
1019
2010-11-18  Glenn Morris  <rgm@gnu.org>
Glenn Morris's avatar
Glenn Morris committed
1020

1021 1022
	* printing.el (pr-menu-bind): Doc fix.

1023 1024
	* speedbar.el (speedbar-toggle-images): Doc fix.

1025 1026
	* progmodes/python.el (python-shell): Doc fix.

Glenn Morris's avatar
Glenn Morris committed
1027 1028 1029
	* wid-edit.el (widget-field-use-before-change)
	(widget-use-overlay-change): Doc fixes.

1030 1031
2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>

1032 1033 1034 1035 1036 1037 1038 1039 1040 1041
	Minor cleanup to improve style.
	* textmodes/rst.el (rst-update-section): Use point-marker.
	(rst-get-decoration): Eliminate unneeded assignment.
	(rst-promote-region, rst-straighten-decorations)
	(rst-section-tree, rst-adjust): Use point-marker.
	(rst-toc-mode-mouse-goto): Avoid setq.
	(rst-shift-region-guts, rst-shift-region-left)
	(rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
	(rst-convert-bullets-to-enumeration): Use copy-marker.

1042 1043 1044
	* minibuffer.el (completion-fail-discreetly): New var.
	(completion--do-completion): Use it.

1045 1046 1047 1048 1049
	* electric.el (electric-pair-pairs): New var.
	(electric-pair-post-self-insert-function): Use it.
	(electric-layout-post-self-insert-function): Don't insert a before
	newline unless it's actually needed.

1050 1051
2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>

1052 1053 1054
	* progmodes/python.el (run-python): Explain why we remove the current
	directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.

1055 1056
	* progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).

1057 1058
2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>

1059 1060 1061 1062 1063 1064 1065 1066 1067
	* progmodes/octave-mod.el: Rely on elecric-*-modes.
	(octave-mode-map): Don't bind ;, SPC, and LF.
	(octave-auto-indent, octave-auto-newline): Remove.
	(electric-layout-rules): Declare.
	(octave-mode): Set electric-layout-rules.
	(octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
	(octave-reindent-then-newline-and-indent, octave-electric-semi)
	(octave-electric-space): Remove.

1068 1069 1070 1071 1072 1073 1074
	* electric.el (electric-layout-mode): New minor mode.
	(electric--after-char-pos): New function.
	(electric-indent-post-self-insert-function): Use it.
	(electric-layout-rules): New var.
	(electric-layout-post-self-insert-function): New function.
	(electric-indent-mode): Make them interact better.

1075 1076 1077 1078 1079 1080
2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
	(checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
	(checkdoc-proper-noun-region-engine): Use with-syntax-table.

1081 1082 1083 1084 1085
2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>

	* textmodes/flyspell.el (flyspell-generic-progmode-verify):
	Make sure to check inside the word (Bug#6761).

1086 1087 1088 1089 1090
2010-11-14  Chong Yidong  <cyd@stupidchicken.com>

	* startup.el (command-line): If the cursorColor resource is set,
	change the cursor face-spec (Bug#7392).

Glenn Morris's avatar
Glenn Morris committed
1091
2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
1092

Glenn Morris's avatar
Glenn Morris committed
1093
	The main features of the following allout.el changes are:
1094 1095
	- implement user customization for the allout key bindings
	- add a customization control by which the user can inhibit use of
Glenn Morris's avatar
Glenn Morris committed
1096
	  a trailing Ctrl-H, so by default it's reserved for use with
1097 1098
	  describe-prefix-bindings
	- adapt to new version of called-interactively-p, while
Glenn Morris's avatar
Glenn Morris committed
1099
	  maintaining backwards compatibility with old version
1100 1101
	- fix hotspot navigation so i works properly with meta-modified keys

Glenn Morris's avatar
Glenn Morris committed
1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113
	* allout.el (allout-keybindings, allout-bind-keys)
	(allout-keybindings-binding, allout-prefixed-keybindings)
	(allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
	(allout-keybindings-list, allout-mode-map-adjustments)
	(allout-setup-mode-map): Establish allout-mode keymaps as user
	customizable settings, and also establish a customizable setting which
	regulates whether or not a trailing control-h is reserved for use with
	describe-prefix-bindings - and inhibit it by default, so that control-h
	*is* reserved for describe-prefix-bindings unless the user changes it.

	* allout.el (allout-hotspot-key-handler): Distinguish more explicitly
	and accurately between modified and unmodified events, and handle
1114 1115
	modified events more comprehensively.

Glenn Morris's avatar
Glenn Morris committed
1116 1117 1118
	* allout.el (allout-substring-no-properties):
	Alias to use or provide version of `substring-no-properties'.
	(allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1119

Glenn Morris's avatar
Glenn Morris committed
1120 1121 1122 1123
	* allout.el (allout-next-single-char-property-change):
	Alias to use or provide version of `next-single-char-property-change'.
	(allout-annotate-hidden, allout-hide-by-annotation):
	Use `allout-next-single-char-property-change'.
1124

Glenn Morris's avatar
Glenn Morris committed
1125 1126 1127 1128
	* allout.el (allout-select-safe-coding-system):
	Alias to use or provide version of `select-safe-coding-system'.
	(allout-toggle-subtree-encryption):
	Use `allout-select-safe-coding-system'.
1129

Glenn Morris's avatar
Glenn Morris committed
1130 1131 1132
	* allout.el (allout-set-buffer-multibyte):
	Alias to use or provide version of `set-buffer-multibyte'.
	(allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1133

Glenn Morris's avatar
Glenn Morris committed
1134 1135 1136 1137 1138
	* allout.el (allout-called-interactively-p): Macro for using the
	different versions of called-interactively-p identically, depending on
	the subroutine's argument signature.
	(allout-back-to-current-heading, allout-beginning-of-current-entry):
	Use `(interactive "p")' instead of `(called-interactively-p)'.
1139

Glenn Morris's avatar
Glenn Morris committed
1140 1141 1142 1143
	* allout.el (allout-init, allout-ascend, allout-end-of-level)
	(allout-previous-visible-heading, allout-forward-current-level)
	(allout-backward-current-level, allout-show-children):
	Use `allout-called-interactively-p' instead of `called-interactively-p'.
1144

Glenn Morris's avatar
Glenn Morris committed
1145 1146 1147
	* allout.el (allout-before-change-handler):
	Exempt edits to the (overlaid) character after the allout outline
	bullet from edit confirmation prompt.
1148

Glenn Morris's avatar
Glenn Morris committed
1149 1150
	* allout.el (allout-add-resumptions):
	Ensure that it respects correct buffer for keybindings.
1151

Glenn Morris's avatar
Glenn Morris committed
1152 1153 1154
	* allout.el (allout-beginning-of-line):
	Use `allout-previous-single-char-property-change' alias for the sake of
	diverse compatibility.
1155

Glenn Morris's avatar
Glenn Morris committed
1156 1157
	* allout.el (allout-end-of-line):
	Use `allout-mark-active-p' to encapsulate respect for mark activity.
1158

1159 1160 1161 1162 1163 1164
2010-11-13  Chong Yidong  <cyd@stupidchicken.com>

	* frame.el (frame-notice-user-settings): Don't clobber other
	user-set parameters when calling face-set-after-frame-default in
	response to background-color parameter (Bug#7373).

1165 1166 1167
2010-11-13  Eli Zaretskii  <eliz@gnu.org>

	* international/characters.el (glyphless-char-display-control):
1168
	Rename from glyphless-char-control; all users changed.  Doc fix.
1169 1170
	Signal an error if display method is not one of the recognized
	symbols.
1171

1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197
2010-11-13  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-compat.el (tramp-compat-line-beginning-position)
	(tramp-compat-line-end-position): Remove them.

	* net/tramp.el (tramp-parse-rhosts-group)
	(tramp-parse-shosts-group, tramp-parse-sconfig-group)
	(tramp-parse-hosts-group, tramp-parse-passwd-group)
	(tramp-parse-netrc-group, tramp-parse-putty-group)
	* net/tramp-cmds.el (tramp-append-tramp-buffers)
	* net/tramp-sh.el (tramp-do-file-attributes-with-ls)
	(tramp-sh-handle-file-selinux-context)
	(tramp-sh-handle-file-name-all-completions)
	(tramp-sh-handle-insert-directory)
	(tramp-sh-handle-expand-file-name, tramp-find-executable)
	(tramp-wait-for-output, tramp-send-command-and-read)
	* net/tramp-smb.el (tramp-smb-read-file-entry)
	(tramp-smb-get-cifs-capabilities): Use `point-at-eol'.

	* net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
	`point-at-bol'.
	(tramp-remote-coding-commands): Add an alternative using "base64
	-d -i".  This is needed for older base64 versions from GNU
	coreutils.  Reported by Klaus Reichl
	<Klaus.Reichl@thalesgroup.com>.

1198 1199 1200 1201
2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>

	* simple.el (count-words-region): New function.

1202 1203
2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>

1204 1205 1206
	* shell.el (shell-dir-cookie-re): New custom variable.
	(shell-dir-cookie-watcher): New function.

1207 1208 1209
	* vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
	and compilation-mode (bug#7350).

1210 1211 1212
	* vc/smerge-mode.el (smerge-refine): Choose better default part to
	highlight when one of them is empty.

1213 1214 1215 1216 1217
	* skeleton.el (skeleton-read): Don't use `newline' since it may strip
	trailing space.
	(skeleton-newline): New function.
	(skeleton-internal-1): Use it.

1218 1219
	* simple.el (open-line): `newline' may strip trailing space.

1220 1221 1222 1223
2010-11-12  Kevin Ryde  <user42@zip.com.au>

	* international/mule-cmds.el (princ-list): Use mapc.

Glenn Morris's avatar
Glenn Morris committed
1224 1225 1226 1227 1228
2010-11-12  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
	Use it to replace all instances of "*Compile-Log*"

1229 1230 1231 1232 1233
2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
	indentation specs.

1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250
2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/modula2.el: Use SMIE and skeleton.
	(m2-mode-syntax-table): (*..*) can be nested.
	Add //...\n.  Fix paren syntax.
	(m2-mode-map): Remove LF and TAB bindings.
	(m2-indent): Add safety property.
	(m2-smie-grammar): New var.
	(m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
	(m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
	(m2-mode): Use define-derived-mode.
	(m2-newline, m2-tab): Remove.
	(m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
	(m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
	(m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
	(m2-import): Use define-skeleton.

Glenn Morris's avatar
Glenn Morris committed
1251 1252
2010-11-11  Glenn Morris  <rgm@gnu.org>

1253 1254
	* obsolete/lucid.el: Don't warn about any CL functions in this file.

Glenn Morris's avatar
Glenn Morris committed
1255 1256 1257 1258 1259
	* ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
	(ls-lisp-verbosity): Add custom :set-after property.
	(ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
	(ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
	(ls-lisp-insert-directory): Update caller.
1260 1261 1262
	(ls-lisp-set-options): New function.
	(ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
	Doc fix.
Glenn Morris's avatar
Glenn Morris committed
1263

1264 1265 1266
	* play/landmark.el (lm-prompt-for-move):
	* play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.

Glenn Morris's avatar
Glenn Morris committed
1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282
	* progmodes/idlw-complete-structtag.el: Remove unused dec `name'.

	* progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
	(idlwave-study-twins): Prefix dynamic local variable `name'.
	(idlwave-routine-twin-compare): Update for above change.

	* progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
	Prefix dynamic local variables `name', `kwd', and `link'.
	* progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
	* progmodes/idlw-complete-structtag.el
	(idlwave-complete-structure-tag-help):
	* progmodes/idlwave.el (idlwave-complete-sysvar-help)
	(idlwave-complete-sysvar-tag-help)
	(idlwave-complete-class-structure-tag-help):
	Update for above name changes.

1283 1284 1285 1286 1287
2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* net/browse-url.el (browse-url-browser-function): Change the
	default to use `browse-url-mail' on mailto: URLs.

1288 1289
2010-11-10  Chong Yidong  <cyd@stupidchicken.com>

1290 1291
	* emacs-lisp/package.el (package-read-all-archive-contents):
	Reset package-archive-contents to nil before re-reading.
1292

Glenn Morris's avatar
Glenn Morris committed
1293
2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
1294 1295 1296

	* textmodes/flyspell.el (flyspell-word): Do not re-check words
	already found as misspellings by (flyspell-large-region), just
1297
	do highlighting (bug#7322).
1298

1299 1300
2010-11-10  Glenn Morris  <rgm@gnu.org>

1301 1302
	* progmodes/octave-mod.el (octave-mark-block): Update for smie change.

Glenn Morris's avatar
Glenn Morris committed
1303 1304 1305 1306 1307
	* emulation/edt.el (edt-with-position): New macro.
	(edt-find-forward, edt-find-backward, edt-find-next-forward)
	(edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
	(edt-paragraph-forward, edt-paragraph-backward): Use it.

Glenn Morris's avatar
Glenn Morris committed
1308 1309 1310
	* emulation/tpu-extras.el (tpu-with-position): New macro.
	(tpu-paragraph, tpu-page, tpu-search-internal): Use it.

1311 1312
	* textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.

1313 1314 1315 1316 1317 1318 1319
	* textmodes/texnfo-upd.el (texinfo-all-menus-update)
	(texinfo-menu-copy-old-description, texinfo-start-menu-description)
	(texinfo-master-menu, texinfo-insert-node-lines)
	(texinfo-multiple-files-update):
	* textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
	Use line-beginning-position.

Glenn Morris's avatar
Glenn Morris committed
1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337
	* progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
	No recent Emacs supports system-type `emx'.

	* progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
	(ada-command-separator, ada-default-prj-properties)
	(ada-find-any-references): Update for above name change.

	* dirtrack.el (dirtrack-directory-function)
	(dirtrack-canonicalize-function):
	* filecache.el (file-cache-completion-ignore-case)
	(file-cache-case-fold-search, file-cache-ignore-case):
	* term.el (serial-port-is-file-p): Cosmetic change.

	* emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
	Remove non-existent `windows-95' system-type.
	* dired.el (dired-chown-program): Remove non-existent `linux'
	system-type.

Glenn Morris's avatar
Glenn Morris committed