ChangeLog 82.1 KB
Newer Older
1 2
2009-08-22  Glenn Morris  <rgm@gnu.org>

3 4 5 6
	* progmodes/cperl-mode.el (cperl-imenu-name-and-position):
	Copy imenu-example--name-and-position function here for own use.
	(cperl-xsub-scan): Use cperl-imenu-name-and-position.

7 8 9 10 11 12 13 14 15 16 17 18 19
	* bs.el (bs--redisplay):
	* cus-edit.el (custom-redraw):
	* ibuffer.el (ibuffer-bury-buffer):
	* server.el (server-goto-line-column):
	* startup.el (command-line-1):
	* strokes.el (strokes-xpm-for-stroke):
	* term.el (term-display-buffer-line):
	* view.el (View-goto-line):
	* calc/calc.el (calc-do, calc-trail-buffer):
	* play/gamegrid.el (gamegrid-add-score-insecure):
	* progmodes/ada-mode.el (ada-compile-goto-error):
	* progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
	(ebrowse-select-1st-to-9nth):
20
	* progmodes/cperl-mode.el (cperl-time-fontification):
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
	* progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
	* progmodes/gud.el (gud-display-line):
	(idlwave-shell-display-line):
	* progmodes/idlw-shell.el (idlwave-shell-goto-frame)
	* progmodes/make-mode.el (makefile-browser-toggle):
	(vhdl-speedbar-port-copy, vhdl-compose-components-package):
	* progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
	* textmodes/picture.el (picture-draw-rectangle):
	* textmodes/reftex-index.el (reftex-index-goto-letter):
	(reftex-select-jump-to-previous):
	* textmodes/reftex-sel.el (reftex-find-start-point)
	* textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
	(rst-straighten-deco-spacing, rst-section-tree, rst-toc):
	* textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
	* textmodes/tex-mode.el (tex-compilation-parse-errors):
	* textmodes/two-column.el (2C-associated-buffer):
	Use forward-line rather than goto-line.

	* emulation/vi.el (vi-goto-line): Don't warn about non-interactive
	goto-line.

	* international/ucs-normalize.el (nfd)
	(decomposition-translation-alist, decomposition-char-recursively)
	(alist-list-to-vector, quick-check-list, quick-check-list-to-regexp):
	Declare.

	* progmodes/make-mode.el (makefile-browser-insert-selection): Use
	goto-char rather than goto-line.

	* progmodes/prolog.el (compilation-error-regexp-alist)
	(compilation-forget-errors): Declare.

Juri Linkov's avatar
Juri Linkov committed
53 54 55 56 57 58 59 60 61 62
2009-08-22  Juri Linkov  <juri@jurta.org>

	* progmodes/grep.el (lgrep, rgrep): At the beginning
	set `dir' to `default-directory' unless `dir' is a non-nil
	readable directory.  (Bug#4052)
	(lgrep, rgrep): Change a weird way to report an error
	from using `read-string' to using `error'.
	Instead of using interactive arguments in the function body,
	add new argument `confirm'.

63 64
2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>

65 66 67 68
	* textmodes/remember.el (remember-buffer):
	* progmodes/cperl-mode.el (cperl-vc-header-alist):
	* calendar/icalendar.el (icalendar-convert-diary-to-ical)
	(icalendar-extract-ical-from-buffer):
69 70 71 72 73 74 75 76 77 78 79 80
	* net/newst-treeview.el (newsticker-groups-filename):
	* net/newst-backend.el (newsticker-cache-filename):
	* speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
	(speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
	(speedbar-add-ignored-path-regexp, speedbar-line-path)
	(speedbar-buffers-line-path, speedbar-path-line)
	(speedbar-buffers-line-path):
	* epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
	(epg-sign-keys):
	* epa.el (epa-display-verify-result):
	* progmodes/pascal.el (pascal-outline): Add version of obsolescence.

81 82
2009-08-21  Glenn Morris  <rgm@gnu.org>

83 84
	* progmodes/js.el (inferior-moz-process): Fix declaration.

85 86
	* imenu.el (imenu-example--name-and-position): Fix obsolescence message.

87 88 89
	* obsolete/rnewspost.el (news-mail-reply):
	Use goto-char rather than goto-line.

90 91 92
	* term/ns-win.el (ns-open-file-select-line):
	Use line-beginning-position rather than goto-line.

93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
	* apropos.el (apropos-command):
	* ehelp.el (electric-helpify):
	* printing.el (pr-show-setup):
	* strokes.el (strokes-help):
	* tutorial.el (tutorial--describe-nonstandard-key)
	(tutorial--detailed-help):
	* woman.el (woman-mini-help, woman-display-extended-fonts):
	* calc/calc-help.el (calc-describe-key):
	* emulation/edt.el (edt-electric-helpify):
	* international/mule-diag.el (mule-diag):
	* play/yow.el (apropos-zippy):
	* progmodes/python.el (python-describe-symbol):
	* progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
	* textmodes/table.el (*table--cell-describe-mode)
	(*table--cell-describe-bindings):
	Use help-print-return-message rather than the now obsolete alias.

110
	* calendar/cal-move.el (calendar-cursor-to-nearest-date)
111 112 113 114 115 116 117 118
	(calendar-cursor-to-visible-date):
	* play/5x5.el (5x5-position-cursor):
	* play/decipher.el (decipher):
	* play/gomoku.el (gomoku-goto-xy):
	* play/landmark.el (lm-goto-xy):
	* play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
	(mpuz-paint-digit):
	Use forward-line, not goto-line.
119

120 121 122 123 124
	* mail/rmail.el (rmail-obsolete): Delete custom group.
	(rmail-pop-password, rmail-pop-password-required): Make into aliases.
	(rmail-remote-password, rmail-remote-password-required):
	Remove unneeded :set-after and :set properties.

125 126 127 128
2009-08-21  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (top): Initialize only when `dbusbind' is loaded.

129 130
2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>

Dan Nicolaescu's avatar
Dan Nicolaescu committed
131 132
	* loadup.el: Remove leftover macos code.

133 134 135 136
	* vc-git.el (vc-git-annotate-command): Run asynchronously.
	Explicitly pass the date format to git blame so that user local
	so that the output format can be parsed.

137 138 139 140 141
2009-08-20  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (top): Don't check for (getenv
	"DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.

142 143 144
2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>

	* log-edit.el (log-edit-strip-single-file-name): New var.
145
	(log-edit-insert-changelog): Use it.  Bug#3571
146

147 148
2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>

149
	* subr.el (read-passwd): Use read-key so keypad keys work as well.
150
	Bug#3287
151

152 153 154
	* help.el (help-print-return-message): Rename from
	print-help-return-message.

155 156 157 158
	* log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
	cvs-mode-map parent hack.
	(log-view-mode): Derive from special-mode.

159 160 161 162
	* linum.el (linum-mode): window-size-change-functions is redundant.
	Adapt to new window-configuration-change-hook behavior.
	(linum-after-size, linum-after-config): Remove.

163 164 165 166 167
	* imenu.el (imenu-example--name-and-position)
	(imenu-example--lisp-extract-index-name)
	(imenu-example--create-lisp-index, imenu-example--create-c-index):
	Mark as obsolete.

168 169 170 171
	* progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
	(inferior-prolog-mode): Use it.
	(inferior-prolog-load-file): Reset list of errors.

172 173 174 175 176 177
2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)

	* language/tibetan.el ("Tibetan"): Fix sample-text entry.

	* language/tai-viet.el ("TaiViet"): Fix sample-text entry.

178 179 180 181 182
2009-08-19  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
	is running already.

183 184 185 186 187 188 189 190 191 192 193 194 195
2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (listify-key-sequence-1): Use normal syntax since those
	integers are nowadays always represented by the same (positive) number
	on all platforms.
	(read-key-empty-map): New const.
	(read-key-delay): New var.
	(read-key): New function.
	(force-mode-line-update): Use with-current-buffer.
	(locate-user-emacs-file): Don't forget to abbreviate the file name.
	(start-process-shell-command, start-file-process-shell-command):
	Discourage the use of command-args.

196 197 198 199
2009-08-19  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.

200 201
2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>

202 203 204 205
	* simple.el (choose-completion-string): Don't rely on
	minibuffer-completing-file-name and ad-hoc checks to decide whether
	to continue completion or not.

206 207 208 209 210 211 212 213
	* minibuffer.el (minibuffer-hide-completions): New function.
	(completion--do-completion): Use it.
	(completions-annotations): New face.
	(completion--insert-strings): Use it.
	(completion-pcm--delim-wild-regex): Add docstring.
	(completion-pcm--string->pattern): Add support for 0-width delimiters
	in completion-pcm--delim-wild-regex.

214 215
2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>

216 217 218
	* international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
	Remove unused var `buffer-modified-p'.

219 220 221 222
	* minibuffer.el (completion--do-completion): Move point for the #b001
	case as well (bug#4176).
	(minibuffer-complete, minibuffer-complete-word): Don't move point.

223 224 225 226 227
2009-08-18  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
	and :session buses.

228 229
2009-08-18  Kenichi Handa  <handa@m17n.org>

230 231
	* international/ucs-normalize.el (ucs-normalize-version):
	Change to 1.1.
232 233 234
	(ucs-normalize-hfs-nfd-pre-write-conversion): New function.
	(utf-8-hfs): Make it perform normalization on encoding too.

235 236 237
	* textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
	(sentence-end-without-space): Delete duplicated chars.
	(sentence-end-base): Likewise.
238 239 240 241 242 243

	* textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
	(html-mode): Delete duplicated chars from sentence-end-base.

	* textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
	(texinfo-mode): Delete duplicated chars from sentence-end-base.
244

245 246 247 248 249
2009-08-17  Chong Yidong  <cyd@stupidchicken.com>

	* files.el (hack-one-local-variable): If the mode function is for
	a minor mode, pass it an argument (Bug#4148).

250 251 252 253 254
2009-08-17  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-register-completion-file-name-handler):
	Check also for (member 'partial-completion completion-styles).

255 256 257 258 259
2009-08-16  Chong Yidong  <cyd@stupidchicken.com>

	* progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
	abbrev (Bug#3943).

260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277
2007-10-08  Ilya Zakharevich  <ilyaz@cpan.org>

	* progmodes/cperl-mode.el: Merge upstream 6.2.
	(cperl-mode-syntax-table): Modify syntax entry for ["'`].
	(cperl-forward-re): Check cperl-brace-recursing.
	(cperl-highlight-charclass): New function.
	(cperl-find-pods-heres): Use it.
	(cperl-fill-paragraph): Synch to save-excursion placement used
	upstream.
	(cperl-beautify-regexp-piece): Fix column calculation.
	(cperl-make-regexp-x): Handle case where point is between "q" and
	"rs".
	(cperl-beautify-level): Don't process entire regexp.
	(cperl-build-manpage, cperl-perldoc): Bind Man-switches before
	calling man.
	(cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
	(cperl-init-faces): Build a list in the normal way.

278 279 280 281 282
2009-08-16  Chong Yidong  <cyd@stupidchicken.com>

	* calendar/parse-time.el (parse-time-string-chars): Save match
	data.

283 284
2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>

285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301
	* progmodes/sql.el (sql-product-alist): Add :name tag to entries.
	(sql-product): Use it.
	(sql-mode-menu): Auto-generate the menu based on sql-product-alist.
	(sql-set-product): Add completion.
	(sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
	(sql-highlight-linter-keywords, sql-highlight-ms-keywords)
	(sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
	(sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
	(sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
	(sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
	(sql-highlight-db2-keywords): Remove.
	(sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
	(sql-highlight-product): Use derived-mode-p.
	(sql-set-sqli-buffer): Use with-current-buffer.
	(sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
	Simplify.

302 303
	* emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.

304 305
	* term.el: Fix commenting convention, turn comments into docstrings.

306 307 308 309
2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)

	* whitespace.el (whitespace-style): Doc fix (Bug#3661).

310
2009-08-16  Jan Seeger <jan.seeger@thenybble.de>  (tiny change)
311

312
	* calendar/parse-time.el (parse-time-string-chars): Compute using
313 314 315
	character classes, to handle non-ascii characters (Bug#3190).

2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
316

317 318 319
	* progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
	another heredoc if the user adds another < (Bug#3226).

320 321
	* mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
	Don't initialize based on window-system (Bug#4124).
322

323 324 325
	* facemenu.el (facemenu-read-color): Use a completion function
	that accepts any defined color, such as RGB triplets (Bug#3677).

326 327 328 329
	* files.el (get-free-disk-space): Change fallback default
	directory to /.  Expand DIR argument before switching to fallback.
	Suggested by Kevin Ryde (Bug#2631, Bug#3911).

330 331 332 333
2009-08-15  Chong Yidong  <cyd@stupidchicken.com>

	* files.el (load-library): Doc fix.

334
2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
335

336 337
	* viper-cmd.el (viper-insert-isearch-string): New function.
	(viper-if-string): Redefine C-s in the minibuffer to insert the last
338
	incremental search string.
339

340
	* ediff-init.el (ediff-coding-system): Use escape-quoted in case of
341
	XEmacs.
342

343 344 345
	* ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
	(ediff-merge-region-is-non-clash)
	(ediff-skip-merge-region-if-changed-from-default-p): Use defun.
346
	Also check if the job is really a merge job.
347

348
	* ediff.el (ediff-current-file): New function.
349

350 351 352 353
2009-08-15  Chong Yidong  <cyd@stupidchicken.com>

	* progmodes/js.el: Edit docstrings throughout to follow Emacs
	conventions.
354
	(js-insert-and-indent): Delete function.
355 356 357
	(js-mode-map): Don't bind keys to js-insert-and-indent.
	(js-beginning-of-defun): Rename from js--beginning-of-defun.
	(js-end-of-defun): Rename from js--end-of-defun.
358
	(js-auto-indent-flag): Delete variable.
359

360 361
2009-08-14  Chong Yidong  <cyd@stupidchicken.com>

362 363
	* progmodes/js.el: Remove proclaim statement.
	Defvar which-func-imenu-joiner-function to silence compiler.
364

365 366
	* files.el (auto-mode-alist): Use js-mode for .js files.

367
	* progmodes/js2-mode.el: Remove file.
368 369 370 371 372

	* Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.

	* speedbar.el (speedbar-supported-extension-expressions): Add .js.

373
	* progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
374 375

2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
Glenn Morris's avatar
Glenn Morris committed
376
	Karl Landstrom  <karl.landstrom@brgeight.se>
377 378 379

	* progmodes/js.el: New file.

380 381 382 383 384 385
2009-08-14  Mark A. Hershberger  <mah@everybody.org>

	* timezone.el (timezone-parse-date): Add ability to understand ISO
	basic format (minimal separators) dates in addition to the
	already-supported extended format dates.

386 387
2009-08-14  Eli Zaretskii  <eliz@gnu.org>

Eli Zaretskii's avatar
Eli Zaretskii committed
388 389
	* international/ucs-normalize.el: Add a `coding' file variable.

390 391
	* Makefile.in (ELCFILES): Add international/ucs-normalize.elc.

392 393
2009-08-14  Sam Steingold  <sds@gnu.org>

Sam Steingold's avatar
typo  
Sam Steingold committed
394
	* vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
395

396 397 398 399 400 401 402 403
2009-08-13  Chong Yidong  <cyd@stupidchicken.com>

	* faces.el (help-argument-name): Define it here instead of
	help-fns.el, because in daemon mode help-fns.el may be loaded when
	faces are still uninitialized (Bug#1078).

	* help-fns.el (help-argument-name): Move defface to faces.el.

Nick Roberts's avatar
Nick Roberts committed
404 405 406 407 408 409
2009-08-13  Nick Roberts  <nickrob@snap.net.nz>

	* progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
	create buffer with a pty but no process so that GDB can make the
	inferior the controlling process.

Glenn Morris's avatar
Glenn Morris committed
410
2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
Kenichi Handa's avatar
Kenichi Handa committed
411 412 413

	* international/ucs-normalize.el: New file.

414 415
2009-08-13  Richard Stallman  <rms@gnu.org>

416 417 418
	* mail/rmail.el (rmail-get-attr-names):
	Accept an attribute header that is too short.

419 420 421
	* mail/rmail.el (rmail-forget-messages):
	Ignore nil elt in rmail-message-vector.  Use dotimes.

422 423 424
	* progmodes/compile.el (compilation-goto-locus):
	Use next-error-move-function.

425 426
	* simple.el (next-error-move-function): New variable.

427 428 429 430 431 432 433 434 435 436
2009-08-12  Juri Linkov  <juri@jurta.org>

	* progmodes/grep.el (lgrep): Ensure that `default-directory' is
	always non-nil.  (Bug#4052)

	* replace.el (read-regexp): Return empty string when
	`default-value' is nil.
	(keep-lines-read-args): Don't use empty string as the
	default value for `read-regexp'.  (Bug#2495)

437 438 439 440 441 442 443 444
2009-08-12  Juri Linkov  <juri@jurta.org>

	* international/mule-cmds.el (ucs-insert): Change arguments
	from `arg' to `character', `count', `inherit' to be the same
	as in `insert-char'.  Doc fix.  (Bug#4039)

	* international/mule-conf.el (utf-16be-with-signature): Doc fix.

Juri Linkov's avatar
Juri Linkov committed
445 446 447 448 449 450 451 452 453
2009-08-12  Juri Linkov  <juri@jurta.org>

	* files-x.el: New file.

	* files.el: Move code that deals with adding/deleting
	file/directory-local variables to files-x.el.

	* Makefile.in (ELCFILES): Add files-x.elc.

Dmitry Dzhus's avatar
Dmitry Dzhus committed
454 455
2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>

456 457 458 459 460 461 462
	* progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
	to use `goto-line'.
	(gdb-place-breakpoints, gdb-get-location): Rewritten without
	`goto-line'.
	(gdb-invalidate-disassembly): Do not refresh upon receiving
	'update signal. Instead, update all disassembly buffers only after
	threads list.
463 464 465 466 467
	(gdb): Send -target-detach when buffer is killed (#3794).
	(gdb-starting): Moved -data-list-register-names...
	(gdb-stopped): ...here so it's sent when first thread stops.
	(gdb-registers-handler-custom): Do nothing if register names are
	unknown yet.
468

Dmitry Dzhus's avatar
Dmitry Dzhus committed
469 470 471 472 473 474 475
	* progmodes/gud.el (gud-stop-subjob): Rewritten without macros
	from `gdb-mi.el' to avoid extra tangling.

	* progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
	change which breaks `gud-def' definitions. used in `gdb'.
	(gdb-update-gud-running): No extra fuss for updating frame number.

476 477
2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>

478 479 480 481 482 483 484 485 486
	* international/mule-cmds.el (mule-keymap, mule-menu-keymap)
	(describe-language-environment-map, setup-language-environment-map)
	(set-coding-system-map): Move initialization into declaration.
	(set-language-info-alist): Last arg to define-key-after can be skipped.

	* international/quail.el (quail-completion-1): Simplify.
	(quail-define-rules): Use slightly more compact code.
	(quail-insert-decode-map): Propertize keys, compact columns.

487 488 489
	* emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
	Add goto-line.

490 491 492 493 494 495 496 497 498 499 500 501 502 503
2009-08-10  Miles Bader  <miles@gnu.org>

	* progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
	(js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
	(js2-instance-member, js2-private-member, js2-private-function-call)
	(js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
	(js2-magic-paren, js2-external-variable):
	Remove "-face" suffix from face names.
	(js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
	(js2-highlight-undeclared-vars, js2-peek-token)
	(js2-parse-function-params, js2-mode-show-errors)
	(js2-mode-show-warnings, js2-make-magic-delimiter)
	(js2-mode-highlight-magic-parens): Update to use new face names.

504 505 506 507 508
2009-08-09  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-get-ls-command-with-dired): New defun.
	(tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)

509 510
2009-08-09  Chong Yidong  <cyd@stupidchicken.com>

511 512
	* subr.el: Provide hashtable-print-readable.

513 514 515 516 517
	* progmodes/hideshow.el (hs-special-modes-alist): Don't use
	hs-c-like-adjust-block-beginning.
	(hs-hide-block-at-point): Stop hiding at the beginning of
	hs-block-end-regexp (Bug#700).

518 519 520 521 522 523 524
2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>

	* progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
	a macro.
	(gdb-registers-handler-custom): Do not fail when register names
	are unavailable.

Dmitry Dzhus's avatar
Dmitry Dzhus committed
525 526 527 528 529 530 531 532 533
2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>

	* progmodes/gdb-mi.el (gdb-control-all-threads)
	(gdb-control-current-thread): Interactive setters for
	`gdb-gud-control-all-threads' to use in menu.
	(gdb-show-run-p): Show «Go» when process is not active.
	(gud-tool-bar-map): Add non-stop/A,T indicator. Uses
	gud/thread.xpm and gud/all.xpm.

534 535 536 537
2009-08-08  Yoni Rabkin  <yoni@rabkins.net>

	* net/net-utils.el (net-utils-font-lock-keywords): New var.
	(nslookup-font-lock-keywords): Make it a variable.
538 539 540 541
	(net-utils-mode): New mode for viewing diagnostic network output.
	(net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
	(net-utils-run-simple): New function.
	(ifconfig, iwconfig, netstat, arp, route): Use it.
542

Dmitry Dzhus's avatar
Dmitry Dzhus committed
543 544 545 546 547 548 549 550 551 552
2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>

	* progmodes/gdb-mi.el (gdb-read-memory-custom)
	(gdb-memory-set-address, def-gdb-set-positive-number)
	(def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
	after changing settings.
	(gdb-invalidate-disassembly): Update when first shown.
	(gdb-edit-locals-value): Fixed.
	(gdb-registers-handler-custom): Print registers in right order and
	allow changing register values (only for current thread yet).
553 554 555 556 557 558
	(gdb-breakpoints-mode-map): Don't assume threads buffer is present.
	(gdb-threads-mode-map): Don't assume breakpoints buffer is present.
	(gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
	(gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
	info in mode name.
	(gdb-registers-mode-map): TAB to switch to locals.
Dmitry Dzhus's avatar
Dmitry Dzhus committed
559

560 561 562 563 564 565
2009-08-08  Eli Zaretskii  <eliz@gnu.org>

	* mail/rmail.el (rmail-add-mbox-headers)
	(rmail-set-message-counters-counter): Search for
	rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)

Glenn Morris's avatar
Glenn Morris committed
566 567 568 569
2009-08-08  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (ELCFILES): Update.

570 571
2009-08-07  Eli Zaretskii  <eliz@gnu.org>

572 573 574 575
	* mail/sendmail.el (mail-yank-original): Set
	buffer-file-coding-system from the one used by the message whose
	text is yanked.

576 577 578 579 580 581 582 583 584 585 586 587 588 589
	* calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
	to "windows" when "pgnuplot" is used.
	(calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
	call accept-process-output if "pgnuplot" is used.
	(calc-graph-init): Don't send -display and -geometry to
	"pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
	running "pgnuplot -V" with shell-command-to-string.

	* calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
	the default.

2009-08-07  Eli Zaretskii  <eliz@gnu.org>

	* Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
590 591
	org/org-latex.elc.

592 593
2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>

594 595
	* vc-dispatcher.el (vc-resynch-window): Update comment.

596 597 598
	* term.el (term-handle-ansi-escape): Add comments with the
	terminfo capabilities implemented.

599 600 601 602 603 604 605 606 607 608 609 610
2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>

	* progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
	(gdb-var-create-handler): Rewritten using JSON parser.
	(gdb-propertize-header): Moved earlier.
	(gdb-set-header): Removed to avoid duplication.
	(gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
	Refresh disassembly buffers only after threads list have been
	update.
	(gdb-threads-header, gdb-registers-header): Per-buffer header line
	variables.

611 612 613 614 615 616 617 618 619 620 621 622 623
2009-08-04  Juri Linkov  <juri@jurta.org>

	* files.el: Commands to add/delete file/directory-local variables.
	(read-file-local-variable, read-file-local-variable-value)
	(read-file-local-variable-mode, modify-file-local-variable)
	(modify-file-local-variable-prop-line)
	(modify-dir-local-variable): New functions.
	(add-file-local-variable, delete-file-local-variable)
	(add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
	(add-dir-local-variable, delete-dir-local-variable)
	(copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
	(copy-dir-locals-to-file-locals-prop-line): New commands.

624 625 626 627 628
2009-08-04  Chong Yidong  <cyd@stupidchicken.com>

	* abbrev.el (insert-abbrev-table-description): Prettify output.
	Suggested by Karl Chen.

629 630
2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>

631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698
	* progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
	(gdb-overlay-arrow-position): Renamed to
	`gdb-disassembly-position'.
	(gdb-overlay-arrow-position, gdb-thread-position)
	(gdb-disassembly-position): Declare variables.
	(gdb-wait-for-pending): Function now.
	(gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
	(gdb-emit-signal, gdb-buf-publisher): Declare before first use so
	compilation goes smoothly.
	(gdb, gdb-non-stop, gdb-buffers): New customization groups.
	(gdb-non-stop-setting): New customization setting which replaces
	`gdb-non-stop' so changing it doesn't break active GDB session.
	(gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
	(gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
	(gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
	(gdb-show-threads-by-default): New customization options.
	(gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
	routines.
	(gdb-get-buffer-create): Send buffers update signal when they are
	created.
	(gdb-invalidate-locals, gdb-invalidate-registers)
	(gdb-invalidate-breakpoints)
	(gdb-invalidate-threads, gdb-invalidate-disassembly)
	(gdb-invalidate-memory): Accept update signal.
	(gdb-current-context-command): Use --frame option.
	(gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
	Implement `gdb-frame-number' selection logic.
	(gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
	whether to show GUD toolbar buttons.
	(gdb-thread-exited): Unselect current thread when it exits.
	(gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
	(gdb-mark-line): Routine which sets overlay arrow or inverses
	video on fringeless displays.
	(gdb-table, gdb-table-add-row, gdb-table-string): Structure used
	to build aligned columns of data in GDB buffers and set text
	properties line-by-line.
	(gdb-invalidate-breakpoints)
	(gdb-breakpoints-list-handler-custom)
	(gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
	(gdb-stack-list-frames-custom, gdb-locals-handler-custom)
	(gdb-registers-handler-custom): Align data columns.
	(gdb-locals-handler-custom): Now prints data like in variable
	declarations.
	(gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
	Removed confusing buttons.
	(gdb-invalidate-threads): Append --frame.
	(gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
	between breakpoints/threads buffers.
	(gdb-set-window-buffer): Now can ignore dedicated windows.
	(gdb-propertize-header): Use `gdb-set-window-buffer'.
	(def-gdb-thread-buffer-simple-command): Numerous typos fixed.
	(def-gdb-thread-buffer-gud-command): Replaces
	`def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
	for fine thread control.
	(gdb-preempt-existing-or-display-buffer): New function used to
	display bound buffers without breaking window layout.
	(gdb-frame-location): Replaces `gdb-insert-frame-location'.
	(gdb-select-frame): New version of `gdb-frames-select' which now
	sets `gdb-frame-number' so commands may use --frame option instead
	of inner debugger state.
	(gdb-frame-handler): Do not set `gdb-frame-number'.
	(gdb-threads-mode-map): Select threads with mouse.

	* progmodes/gud.el (gdb-gud-context-call): Declare function to
	avoid compilation warning.
	(gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
	`gdb-show-stop-p`.

699 700 701 702 703 704 705 706 707 708 709 710 711 712 713
	* progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
	Argument `key' renamed to `buffer-type'.
	(gdb-current-context-buffer-name): Do not add thread info to
	buffer name when no thread is selected.
	(gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
	command (bug 3794).
	(gdb-thread-selected): Handle `=thread-selected' notification.
	(gdb-wait-for-pending): New macro to deal with congestion problems.
	(gdb-breakpoints-list-handler-custom): Don't fail on pending
	breakpoints.
	(gdb-invalidate-disassembly): Use 'fullname instead of 'file. This
	fixes problem similar to one described in bug 3947.
	(gud-menu-map): More menu items.
	(gdb-init-1): Reset `gdb-thread-number' to nil.

714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744
	* progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
	non-stop settings.

	* progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
	(gdb-current-context-command): Do not append --thread if
	`gdb-thread-number' is nil.
	(gdb-running-threads-count, gdb-stopped-threads-count): New
	variables.
	(gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
	(gdb-stopped-hooks, gdb-switch-when-another-stopped): New
	customization options.
	(gdb-gud-context-command, gdb-gud-context-call): New wrappers for
	GUD commands.
	(gdb): `gud-def' definitions changed to use `gdb-gud-context-call'
	(gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
	(gdb-setq-thread-number, gdb-update-gud-running): New functions to
	set `gdb-thread-number' and update `gud-running' properly.
	(gdb-running): Update threads list when new threads appear.
	(gdb-stopped): Support non-stop operation and new thread switching
	logic.
	(gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
	(gdb-json-partial-output): New set of JSON routines.
	(def-gdb-auto-update-trigger): New `signal-list' optional
	argument.
	(gdb-thread-list-handler-custom): Update `gud-running',
	`gdb-stopped-threads-count' and `gdb-running-threads-count'.
	(def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
	(gdb-continue-thread, gdb-step-thread): New commands for fine
	thread execution control.
	(gud-menu-map): New menu items to switch non-stop options.
	(gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
745
	(gdb-send): Mimic RET properly (bug 3794).
746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761

	* progmodes/gdb-mi.el (gdb-rules-name-maker)
	(gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
	gdb-buffer-rules.
	(def-gdb-auto-update-handler): New nopreserve optional argument.
	(gdb-stack-list-frames-custom): Print stack from top to bottom.

	* progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
	(gdb-threads-list, gdb-breakpoints-list): New assoc lists.
	(gdb-parent-mode): New mode to derive other GDB modes from.
	(gdb-display-disassembly-for-thread)
	(gdb-frame-disassembly-for-thread): New commands for threads
	buffer.

	* progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
	(gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
762 763 764 765 766 767 768
	(gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
	(gdb-update): We now store all GDB buffers in a list so that they
	can be updated by traversing a list instead of calling invalidate
	triggers explicitly
	(def-gdb-trigger-and-handler): New macro to define trigger-handler
	pair for GDB buffer.
	(gdb-stack-buffer-name): Add thread information.
769 770 771 772 773 774 775 776 777
	(gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
	handle pending triggers.
	(gdb-threads-mode-map, def-gdb-thread-buffer-command)
	(def-gdb-thread-buffer-simple-command)
	(gdb-display-stack-for-thread, gdb-display-locals-for-thread)
	(gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
	(gdb-frame-locals-for-thread, gdb-frame-registers-for-thread): New
	commands which show buffers bound to thread.
	(gdb-stack-list-locals-regexp): Removed unused regexp.
778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796

	* progmodes/gdb-mi.el (gdb-breakpoints-buffer-name,gdb-locals-buffer-name)
	(gdb-registers-buffer-name)
	(gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
	to (gud-comint-buffer) in *-buffer-name functions
	because (gdb-get-target-string) already does that.
	(gdb-locals-handler-custom, gdb-registers-handler-custom)
	(gdb-changed-registers-handler): Rewritten without regexps.

	* progmodes/gdb-mi.el Basic thread selection support.
	(gdb-thread-number): New variable.
	(gdb-current-context-command): New macro which adds --thread
	option to command.
	(gdb-threads-mode-map): Select thread with SPC
	(gdb-thread-list-handler-custom): Mark current thread with overlay
	arrow. Synchronize GDB thread and Emacs thread.
	(gdb-select-thread): New command which selects current thread.
	(gdb-invalidate-frames, gdb-invalidate-locals)
	(gdb-invalidate-registers): Use --thread option.
797

798 799 800
2009-08-04  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (top): Make check for tramp-gvfs loading more
801
	robust.  (Bug#3977)
802 803 804 805 806 807
	(tramp-handle-insert-file-contents): `unwind-protect' must be
	inside `with-parsed-tramp-file-name'.

	* net/tramp-gvfs.el (top): Remove superfluous message when loading
	fails.

Nick Roberts's avatar
Nick Roberts committed
808 809 810 811 812
2009-08-03  Nick Roberts  <nickrob@snap.net.nz>

	* progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
	directory if CLASSPATH is not set.

813 814 815 816
2009-08-03  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp) New
	defconst.
Michael Albinus's avatar
Michael Albinus committed
817
	(tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
818

819 820 821 822 823
2009-08-02  Kevin Ryde  <user42@zip.com.au>

	* net/newst-backend.el (newsticker--raw-url-list-defaults): Update
	freshmeat link.  Delete newsforge.com as it seems gone.

824 825
2009-08-02  Chong Yidong  <cyd@stupidchicken.com>

826 827 828 829
	* select.el (x-set-selection): Doc fix (Bug#4021).

	* w32-fns.el (x-set-selection): Doc fix (Bug#4021).

830 831 832
	* help-fns.el (describe-variable): Treat list return values from
	dir-locals-find-file properly (Bug#4005).

833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850
2009-08-02  Julian Scheid <julians37@googlemail.com>  (tiny change)

	* net/tramp.el (tramp-debug-message): Print also microseconds.

2009-08-02  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
	or END is non-nil.
	(tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
	(tramp-get-debug-buffer): Change `outline-regexp' according to new
	format.

	* net/tramp-cache.el (tramp-cache-inhibit-cache ): New defvar.
	(tramp-get-file-property): Use it.

	* autorevert.el (auto-revert-handler): Allow
	`auto-revert-tail-mode' for remote files.

851 852 853 854 855
2009-08-02  Jason Rumney  <jasonr@gnu.org>

	* minibuffer.el (read-file-name): Treat confirm options to
 	MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)

856 857 858 859 860 861
2009-08-02  Chong Yidong  <cyd@stupidchicken.com>

	* font-lock.el (font-lock-string-face, font-lock-builtin-face)
	(font-lock-variable-name-face, font-lock-constant-face): Darken
	the colors for light backgrounds.

Eli Zaretskii's avatar
Eli Zaretskii committed
862 863 864 865 866
2009-08-01  Eli Zaretskii  <eliz@gnu.org>

	* mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
	month names.  (Bug#3987)

867 868 869 870
2009-07-31  Chong Yidong  <cyd@stupidchicken.com>

	* simple.el (line-move-finish): Pass whole number to
	line-move-to-column.
871
	(line-move-visual): Perform hscroll to the recorded position.
872

873 874 875 876
2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.

877 878 879 880
2009-07-29  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-defs.el (c-version): Bump to 5.31.7.

881 882
2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>

883 884
	* progmodes/gdb-mi.el (gdb-goto-breakpoint)
	(gdb-place-breakpoints): Use full path when setting breakpoints.
885

886 887 888 889 890 891 892 893 894
2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (calc-mode-map): Add keybinding for
	`calc-transpose-lines'.

2009-07-29  Vincent Belaïche <vincent.belaiche@gmail.com>

	* calc/calc-misc.el (calc-transpose-lines): New function.

895 896 897 898 899 900 901
2009-07-28  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
	Simplify check for out-of-band methods.
	(tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
	remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.

Dan Nicolaescu's avatar
Dan Nicolaescu committed
902 903 904 905
2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-git.el (vc-git-checkin): Fix typo.

Steve Yegge's avatar
Steve Yegge committed
906 907 908 909
2009-07-28  Steve Yegge  <steve.yegge@gmail.com>>

	* progmodes/js2-mode.el: New file.

Nick Roberts's avatar
Nick Roberts committed
910 911 912 913 914
2009-07-28  Nick Roberts  <nickrob@snap.net.nz>

	* progmodes/gud.el (jdb): Add gud-pstar to dump object information.
	(gud-menu-map): Adjust tooltip accordingly.

915 916
2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>

917 918 919
	* vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
	(vc-bzr-log-view-mode): Adjust log-view-file-re.

920 921
	* add-log.el (change-log-mode-map): Add a menu.

922 923 924 925 926 927 928
2009-07-27  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (dbus-call-method-non-blocking): Handle the case the
	function returns nil.
	(dbus-handle-event): Handle special return value :ignore.
	Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.

929 930 931 932 933
2009-07-26  Chong Yidong  <cyd@stupidchicken.com>

	* view.el (view-mode-enable): Don't define Helper-return-blurb if
	it's not needed.

Eli Zaretskii's avatar
Eli Zaretskii committed
934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955
2009-07-25  Eli Zaretskii  <eliz@gnu.org>

	Fix Bug#3888:

	* w32-vars.el (x-select-enable-clipboard): Doc fix.

	* term/pc-win.el (x-display-name, x-colors)
	(x-select-enable-clipboard, x-select-text): Doc fix.

	* term/common-win.el (x-display-name, x-colors): Doc fix.

	* term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
	(xw-defined-colors): Doc fix.

	* w32-fns.el (x-select-text, x-setup-function-keys)
	(x-get-selection, x-set-selection): Doc fix.

	* term/x-win.el (x-select-text, x-setup-function-keys)
	(x-select-enable-clipboard, xw-defined-colors): Doc fix.

	* select.el (x-set-selection): Doc fix.

956 957 958 959 960 961 962
2009-07-25  Michael Albinus  <michael.albinus@gmx.de>

	* net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
	instead of "IsNSSSupportAvailable".  Avahi ought to work also when
	"IsNSSSupportAvailable" method is not available.  Reported by
	Steve Youngs <steve@sxemacs.org>.

Kenichi Handa's avatar
Kenichi Handa committed
963 964 965 966 967 968 969
2009-07-24  Kenichi Handa  <handa@m17n.org>

	* international/characters.el: Fix setting of category ?C, ?|, ?K,
	and ?H.  Fix setting of case for Latin Extended and Greek
	Extended.
	(build-unicode-category-table): Fix range checks.

970 971 972 973 974 975 976 977 978
2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
	the buffer we try to sync is current when calling
	vc-resynch-buffer.

	* vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
	not show up to date files.

979 980 981 982 983 984 985 986
2009-07-24  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/elint.el (elint-current-buffer, elint-defun):
	Add autoload cookies.  If necessary, initialize.
	(elint-log): Handle non-file buffers.
	(elint-initialize): Add optional argument to reinitialize.
	(elint-find-builtin-variables): Save excursion.

987 988 989 990 991
2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>

	* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
	for Lint.

992 993
2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>

994 995
	* vc.el (vc-print-log-internal): New function, split out from ...
	(vc-print-log): ... here.
996
	(vc-dir-move-to-goal-column): Declare.
997

998 999 1000 1001
	* vc-git.el (vc-git-add-signoff): New variable.
	(vc-git-checkin): Use it.
	(vc-git-toggle-signoff): New function.
	(vc-git-extra-menu-map): Bind it to menu.
1002 1003 1004
	(vc-git--run-command-string): Accept a nil FILE argument.
	(vc-git-stash-list): New function.
	(vc-git-dir-extra-headers): Use it.
1005

1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055
2009-07-23  Glenn Morris  <rgm@gnu.org>

	* help-fns.el (describe-variable): Describe ignored and risky local
	variables in a similar way to that in which we describe safe ones.

	* emacs-lisp/bytecomp.el (byte-compile-from-buffer)
	(byte-compile-output-file-form, byte-compile-output-docform)
	(byte-compile-file-form-defmumble, byte-compile-output-as-comment):
	Give some more local variables with common names a "bytecomp-" prefix,
	so as not to shadow things during compilation.
	* emacs-lisp/cl-macs.el (load-time-value)
	* emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
	`outbuffer' to `bytecomp-outbuffer'.

	* emacs-lisp/elint.el (elint-standard-variables): Remove most members,
	since the next two variables cover them automatically now.
	(elint-builtin-variables, elint-autoloaded-variables): New.
	(elint-unknown-builtin-args): Remove all members, since they can be
	parsed automatically now.
	(elint-extra-errors): New.
	(elint-env-add-env, elint-env-add-macro): Use cadr.
	(elint-current-buffer): Use or.  Change final message.
	(elint-get-top-forms): Use line-end-position.
	(elint-init-env): Use cadr.  Handle autoload, declare-function,
	and defalias.
	(elint-add-required-env): Doc fix.  Use or.  Standardize error.
	(regexp-assoc): Remove unused function.
	(elint-top-form): Set elint-current-pos, to record the start of the
	top-level form, for compilation-mode.
	(elint-form): Trap errors in macro expansion.  Use dolist.
	(elint-unbound-variable): Use elint-builtin-variables and
	elint-autoloaded-variables.
	(elint-get-args): Use cadr, or.
	(elint-check-cond-form): Use dolist, cadr.
	(elint-check-condition-case-form): Doc fix.  Use cadr.
	Use elint-extra-errors.
	(elint-log): New function.
	(elint-error, elint-warning): Use elint-log for a bytecomp-style format.
	Distinguish errors and warnings.
	(elint-log-message): Use with-current-buffer.  Inhibit read-only.
	Use a bytecomp-style format.
	(elint-clear-log): Preserve default-directory.  Inhibit read-only.
	(elint-get-log-buffer): Use compilation mode.  Disable undo.
	Don't truncate lines.
	(elint-initialize): Set builtin and autoloaded variable lists.
	Only process elint-unknown-builtin-args if non-nil.
	(elint-find-builtin-variables, elint-find-autoloaded-variables):
	New functions.
	(elint-find-builtin-args): Doc fix.  Handle "BODY...)".

1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069
2009-07-22  Kevin Ryde  <user42@zip.com.au>

	* net/newst-backend.el (newsticker--parse-atom-1.0)
	(newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
	(newsticker--parse-rss-1.0):
	* progmodes/idlwave.el (idlwave-mode):
	* progmodes/idlw-shell.el (idlwave-shell-mode):
	* progmodes/vera-mode.el (vera-mode):
	* progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
	* progmodes/vhdl-mode.el (vhdl-mode):
	* textmodes/table.el (table-generate-source)
	(table--warn-incompatibility):
	Hyperlink urls in docstrings with URL `...'.

1070 1071
2009-07-22  Glenn Morris  <rgm@gnu.org>

1072 1073 1074 1075 1076
	* emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
	* emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
	* emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
	Remove leading * from defcustom docs.

1077 1078 1079 1080 1081 1082 1083 1084
	* simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)

	* emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
	defcustom doc.
	(list-load-path-shadows): Optionally, just return shadows as a string.

	* mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.

1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095
2009-07-21  Chong Yidong  <cyd@stupidchicken.com>

	* mail/rmailedit.el (rmail-edit-mode): Use
	auto-save-include-big-deletions.

	* mail/rmail.el (rmail-variables): Use
	auto-save-include-big-deletions.

	* files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
	changes.

1096 1097 1098 1099 1100
2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (calc-undo-length): New variable.
	(calc-quit): Truncate rather than eliminate `calc-undo-list'.

1101 1102 1103 1104 1105
2009-07-21  Richard Stallman  <rms@gnu.org>

	* files.el (auto-save-mode): Handle buffer-save-size = -2
	for toggling mode.

1106 1107
2009-07-21  Glenn Morris  <rgm@gnu.org>

1108 1109
	* textmodes/ispell.el (ispell-looking-back): Update declaration.

1110 1111
	* calendar/todo-mode.el (calendar-current-date): Update declaration.

1112 1113 1114 1115 1116
	* ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
	silence compiler.  Instead...
	(jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
	(ps-print-ensure-fontified): Update for above function name changes.

Glenn Morris's avatar
Glenn Morris committed
1117 1118 1119 1120 1121 1122 1123
	* printing.el (pr-mh-get-msg-num, pr-mh-show)
	(pr-mh-start-of-uncleaned-message): Remove aliases only used to
	silence compiler.  Instead...
	(mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
	(mh-show-buffer): Only define for compiler.
	(pr-mh-current-message): Update for above function name changes.

1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146
	* files.el (abort-if-file-too-large): Explicitly pass `filename'
	as an argument.
	(find-file-noselect, insert-file-1): Update for above change.

	* mail/rmail.el (rmail-retry-ignored-headers): Bump :version.

	* mail/mailclient.el (mailclient-send-it): Fix message.

	* emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
	(edebug-eval): Check cl-debug-env is bound.
	(print-level, print-circle): Don't redefine built-in variables.

	* emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
	(custom-print-vectors): Remove old comments from doc.

	* emerge.el (menu-bar-emerge-menu): Remove unused variable.
	(emerge-version): Make the variable an obsolete alias for the
	emacs-version variable.  Make the function obsolete.
	(emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
	Emerge options, rather than merging in into the main Options menu.
	(emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
	and auto advance modes.  Disable edit/fast items when not relevant.

1147 1148 1149 1150
2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>

	* term/vt420.el (terminal-init-vt420): Fix typo.

1151 1152 1153 1154 1155
2009-07-20  Sam Steingold  <sds@gnu.org>

	* progmodes/ada-mode.el (compile-auto-highlight): Remove the
	variable (removed from compile.el on 2004-03-11).

1156 1157 1158 1159
2009-07-20  Chong Yidong  <cyd@stupidchicken.com>

	* files.el (hack-local-variables-filter): Fix last change.

1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174
2009-07-19  Juri Linkov  <juri@jurta.org>

	* files.el (ignored-local-variables): Add `dir-local-variables-alist'.
	(dir-local-variables-alist): New buffer-local variable.
	(hack-local-variables-filter): If variable is not dir-local,
	i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
	because file-local overrides dir-local.
	(c-postprocess-file-styles)<declare-function>:
	Remove obsolete declaration.
	(hack-dir-local-variables): Add dir-local variable/value pair to
	`dir-local-variables-alist' and remove duplicates.  Doc fix.

	* help-fns.el (describe-variable): Add information about
	file-local and dir-local variables.

1175 1176 1177 1178
2009-07-19  Chong Yidong  <cyd@stupidchicken.com>

	* files.el (hack-local-variables-filter): Rewrite.

1179 1180
2009-07-19  Glenn Morris  <rgm@gnu.org>

1181 1182 1183
	* progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
	Silence compiler by only defining on XEmacs.

1184 1185 1186
	* international/mule.el (auto-coding-regexp-alist): Only match
	BABYL... at the start of buffer, not of lines.  (Bug#3790)

1187 1188 1189 1190 1191 1192 1193 1194
	* calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
	non-calendar buffers (Bug#3862).  Restore "not on a date" message.
	(cal-menu-context-mouse-menu): Doc fix.

	* desktop.el (desktop-buffers-not-to-save): Set :version tag.

	* simple.el (mail-user-agent): Doc fix.  Set :version tag.

1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210
2009-07-18  Juri Linkov  <juri@jurta.org>

	* info.el: Virtual Info keyword finder.
	(add-to-list)<Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
	(Info-finder-file): New variable.
	(Info-finder-find-file): New function.
	(finder-known-keywords, finder-package-info)
	(find-library-name, lm-commentary): Use defvar and
	declare-function to silence compiler warnings.
	(Info-finder-find-node): New function.
	(info-finder): New command.

	* subr.el (process-kill-buffer-query-function): New function.
	(add-hook)<kill-buffer-query-functions>: Add hook
	`process-kill-buffer-query-function'.

Alan Mackenzie's avatar
Alan Mackenzie committed
1211 1212 1213 1214 1215 1216 1217 1218 1219 1220
2009-07-18  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-mode.el (c-before-hack-hook),
	(c-postprocess-file-styles): Give invocation of `c-set-style'
	DONT-OVERRIDE parameter of t.  Already set style variables will
	thus not be overridden by style settings given by `c-file-syle'.

	* files.el (hack-local-variables-filter): Remove entries with
	duplicate keys from `file-local-variables-alist'.

1221 1222 1223 1224 1225 1226
2009-07-18  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (deactivate-mark, activate-mark, set-mark): Don't call
	x-set-selection if display-selections-p returns nil for the
	current frame.

1227 1228 1229 1230
2009-07-18  Chong Yidong  <cyd@stupidchicken.com>

	* simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).

1231 1232
2009-07-18  Eli Zaretskii  <eliz@gnu.org>

1233 1234 1235 1236 1237 1238 1239 1240 1241
	* desktop.el (desktop-buffers-not-to-save): Default value is nil.
	Accept nil in addition to a regexp.
	(desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
	Accept nil in addition to a regexp.
	(desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
	buffers that have an associated file.  Handle nil values of
	desktop-buffers-not-to-save and desktop-files-not-to-save.
	(Bug#3833)

1242 1243 1244
	* term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
	(x-disown-selection-internal): New functions.

Nick Roberts's avatar
Nick Roberts committed
1245 1246 1247 1248 1249 1250 1251
2009-07-18  Nick Roberts  <nickrob@snap.net.nz>

	* progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
	warning.
	(gdb-breakpoints-header): Move forward to avoid compiler warning.
	(gdb-make-header-line-mouse-map): Remove duplicate definition.

1252 1253 1254 1255
2009-07-18  David De La Harpe Golden  <david@harpegolden.net>

	* simple.el (set-mark): Revert last change.

1256 1257 1258 1259 1260 1261
2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
	rendering of pngs is not possible instead of messaging a long
	description.

1262 1263 1264 1265 1266
2009-07-17  David De La Harpe Golden  <david@harpegolden.net>

	* w32-fns.el (x-selection-owner-p): New function.

	* mouse.el (mouse-drag-track): Call deactivate-mark earlier.
1267 1268 1269
	(mouse-yank-at-click, mouse-yank-primary): If
	select-active-regions is non-nil, deactivate the mark before
	insertion.
1270 1271 1272 1273

	* simple.el (deactivate-mark, set-mark): Only save selection if we
	own it.

Kenichi Handa's avatar
Kenichi Handa committed
1274 1275 1276 1277 1278
2009-07-17  Kenichi Handa  <handa@m17n.org>

	* case-table.el (describe-buffer-case-table): Fix for the case
	that KEY is a cons.

1279 1280 1281 1282 1283
2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-rcs.el (vc-rcs-find-file-hook):
	* vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.

1284 1285 1286 1287 1288 1289
2009-07-16  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-wait-for-output): Handle the case when
	commands do not return a newline but a null byte before the shell
	prompt.  (Bug#3858)

1290 1291 1292 1293 1294
2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* term/ns-win.el (ns-set-alpha): Don't declare.
	(ns-set-background-alpha): Remove function.

1295 1296 1297 1298 1299
2009-07-16  Kevin Ryde  <user42@zip.com.au>

	* emacs-lisp/copyright.el (copyright-update): Save match-data across
	y-or-n-p, for safety.

1300 1301 1302 1303 1304 1305 1306 1307
2009-07-16  Richard Stallman  <rms@gnu.org>

	* files.el (auto-save-mode): If buffer-saved-size is -2,
	don't clobber it.

	* mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
	(rmail-retry-ignored-headers): Add more uninteresting fields.

1308 1309 1310 1311 1312 1313
2009-07-15  Jari Aalto  <jari.aalto@cante.net>

	* net/rcirc.el (rcirc): Use history variables.
	(rcirc-server-name-history, rcirc-nick-name-history)
	(rcirc-server-port-history): New variables.

1314 1315
2009-07-15  Kenichi Handa  <handa@m17n.org>

1316 1317 1318 1319
	* international/mule-cmds.el (set-language-environment-charset):
	If coding-system-charset-list returns `iso-2022' or `emacs-mule',
	ignore them.

1320 1321 1322
	* language/misc-lang.el ("IPA"): Change coding systems to utf-8.
	Delete unibyte-display.

1323 1324 1325 1326
2009-07-15  Chong Yidong  <cyd@stupidchicken.com>

	* simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).

1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353
2009-07-15  Chong Yidong  <cyd@stupidchicken.com>

	* simple.el (deactivate-mark): Optional argument FORCE.
	(set-mark): Use deactivate-mark.

	* info.el (Info-search): No need to check transient-mark-mode
	before calling deactivate-mark.

	* select.el (x-set-selection): Doc fix.
	(x-valid-simple-selection-p): Allow buffer values.
	(xselect--selection-bounds): Handle buffer values.  Suggested by
	David De La Harpe Golden.

	* mouse.el (mouse-set-region, mouse-drag-track): Call
	copy-region-as-kill before setting the mark, to let
	select-active-regions work.

2009-06-28  David De La Harpe Golden  <david@harpegolden.net>

	* simple.el (deactivate-mark): If select-active-regions is
	non-nil, copy the selection data into a string.
	(activate-mark): If select-active-regions is non-nil, set the
	selection to the current buffer.
	(set-mark): Update selection if select-active-regions is non-nil.

	* select.el (x-valid-simple-selection-p): Allow buffer values.

1354 1355 1356 1357 1358
2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (mail-user-agent): Default to the upwardly-UI-compatible
	and more featureful message-mode.

1359 1360 1361 1362 1363 1364 1365 1366 1367 1368
2009-07-14  Chong Yidong  <cyd@stupidchicken.com>

	* select.el (x-set-selection): Doc fix.
	(x-valid-simple-selection-p): Disallow selection data consisting
	of a list or cons of integers, since that is not used.
	(xselect--selection-bounds, xselect--int-to-cons): New functions.
	(xselect-convert-to-string, xselect-convert-to-length)
	(xselect-convert-to-filename, xselect-convert-to-charpos)
	(xselect-convert-to-lineno, xselect-convert-to-colno): Use them.

1369 1370 1371 1372 1373
2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>

	* progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
	output in -break-info command (Emacs bug #3794).

Glenn Morris's avatar
Glenn Morris committed
1374 1375
2009-07-14  Glenn Morris  <rgm@gnu.org>

1376 1377 1378 1379 1380 1381 1382 1383 1384 1385
	* emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
	(edebug-eval-macro-args, edebug-save-displayed-buffer-points)
	(edebug-print-length, edebug-print-level, edebug-print-circle)
	(edebug-sit-for-seconds, edebug-view-outside)
	(edebug-bounce-point, edebug-set-global-break-condition)
	(edebug-Go-nonstop-mode, edebug-trace-mode)
	(edebug-Trace-fast-mode, edebug-continue-mode)
	(edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
	(edebug-visit-eval-list): Doc fixes.

Glenn Morris's avatar
Glenn Morris committed
1386 1387
	* subr.el (def-edebug-spec): Doc fix.

Kenichi Handa's avatar
Kenichi Handa committed
1388 1389 1390 1391
2009-07-14  Kenichi Handa  <handa@m17n.org>

	* international/characters.el: Fix setting of category ?C.

1392 1393 1394 1395 1396
2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>

	* term/ns-win.el (x-select-font): defailias x-select-font to
	ns-popup-font-panel instead of generate-fontset-menu.

1397 1398 1399 1400
2009-07-12  Eli Zaretskii  <eliz@gnu.org>

	* desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)

1401 1402 1403 1404 1405
2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)

	* arc-mode.el (archive-find-type): Allow for a PK00 string before
	the PK\003\004 header (Bug#3770).

1406 1407 1408 1409 1410
2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>

	* pcomplete.el (pcomplete-comint-setup): Check for
	shell-dynamic-complete-filename too.

1411 1412 1413 1414 1415 1416 1417 1418
2009-07-11  Chong Yidong  <cyd@stupidchicken.com>

	* simple.el (temporary-goal-column): Change the value for
	line-move-visual to a cons cell.
	(line-move-visual): Record or set the window hscroll, if
	necessary (Bug#3494).
	(line-move-1): Handle cons value of temporary-goal-column.

1419 1420 1421 1422 1423
2009-07-11  Kenichi Handa  <handa@m17n.org>

	* international/mule-diag.el (describe-character-set): Don't show
	width.

1424 1425 1426 1427 1428 1429
2009-07-10  Sam Steingold  <sds@gnu.org>

	* progmodes/compile.el (compilation-mode-font-lock-keywords):
	Omake sometimes indents the errors it prints, so allow all
	regexps to start with spaces.

1430 1431
2009-07-10  Eli Zaretskii  <eliz@gnu.org>

1432 1433
	* cus-edit.el (customize-changed-options-previous-release):
	Bump value to 22.1.  (Bug#3804)
1434

1435 1436 1437 1438 1439 1440
2009-07-08  Sam Steingold  <sds@gnu.org>

	* progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
	to be a cons cell (test . ignored-directory) to selectively ignore
	some directories depending on the location of the search.

1441 1442 1443 1444 1445 1446 1447
2009-07-08  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-set-file-uid-gid): Handle the case the
	remote user is root, on the local host.
	(tramp-local-host-p): Either the local user or the remote user
	must be root.  (Bug#3771)

Nick Roberts's avatar
Nick Roberts committed
1448 1449 1450 1451
2009-07-08  Nick Roberts  <nickrob@snap.net.nz>

	* progmodes/gdb-mi.el (gdb): Remove description of
	gdb-use-separate-io-buffer.
1452
	(menu): Don't allow toggling of or enable
Nick Roberts's avatar
Nick Roberts committed
1453 1454
	gdb-use-separate-io-buffer from menubar.

1455 1456 1457 1458 1459
2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)

	* mail/unrmail.el (unrmail): Make sure the message ends with two
	newlines (Bug#3769).

1460 1461 1462 1463
2009-07-08  Glenn Morris  <rgm@gnu.org>

	* calendar/calendar.el (calendar-current-date): Rework previous change.

1464 1465 1466 1467 1468
2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>

	* calendar/calendar.el (calendar-current-date):
	Add an optional argument giving an offset from today.

1469 1470 1471 1472 1473 1474
2009-07-08  Glenn Morris  <rgm@gnu.org>

	* tutorial.el (tutorial--describe-nonstandard-key):
	Adjust the message for when a key has been unbound.
	(help-with-tutorial): Hide the arch-tag.

1475