ChangeLog 321 KB
Newer Older
1 2
2007-10-29  Dan Nicolaescu  <dann@ics.uci.edu>

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
	* ps-print.el (ps-xemacs-color-name, ps-xemacs-face-kind-p): Only
	do work for XEmacs.
	(ps-xemacs-mapper): Rename from ps-mapper, only work on XEmacs.
	(ps-xemacs-extent-sorter): Rename from ps-extent-sorter, only work
	on XEmacs.
	(ps-x-color-instance-p, ps-x-color-instance-rgb-components)
	(ps-x-color-name, ps-x-color-specifier-p)
	(ps-x-copy-coding-system, ps-x-device-class)
	(ps-x-extent-end-position, ps-x-extent-face)
	(ps-x-extent-priority, ps-x-extent-start-position)
	(ps-x-face-font-instance, ps-x-find-coding-system)
	(ps-x-font-instance-properties, ps-x-make-color-instance)
	(ps-x-map-extents, ps-e-face-bold-p, ps-e-face-italic-p)
	(ps-e-next-overlay-change, ps-e-overlays-at, ps-e-overlay-get)
	(ps-e-overlay-end, ps-e-x-color-values, ps-e-color-values):
	(ps-generate-postscript-with-faces): Delete defaliases.
	(ps-face-foreground-name, ps-face-background-name)
	(ps-color-values, ps-face-bold-p, ps-face-italic-p): Move
	definitions to top level, make the body conditional on the emacs
	flavor. Replace uses of deleted aliases and renamed functions.
	(ps-generate-postscript-with-faces, ps-color-device): Replace uses
	of deleted aliases and renamed functions.

26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
	* calc/calc.el (calc-emacs-type-lucid): Remove.
	(calc-digit-map, calcDigit-start, calc-read-key)
	(calc-clear-unread-commands):
	* calc/calc-ext.el (calc-user-key-map): Replace uses of
	calc-emacs-type-lucid with (featurep 'xemacs)

	* emulation/tpu-mapper.el: Replace tpu-lucid-emacs19-p with
	(featurep 'xemacs).
	(tpu-lucid-emacs19-p): Remove.
	(tpu-map-key): Make it a function instead of using fset.  Inline
	tpu-emacs-map-key and tpu-lucid-map-key.  Use featurep 'xemacs.
	(tpu-emacs-map-key, tpu-lucid-map-key): Remove.

	* ielm.el: Use featurep 'xemacs.

	* progmodes/cperl-mode.el (cperl-xemacs-p): Remove.
	(condition-case, cperl-can-font-lock, cperl-singly-quote-face)
	(cperl-define-key, cperl-mode-map, cperl-mode, cperl-init-faces)
	(cperl-write-tags, cperl-tags-hier-init, cperl-perldoc): Replace
	cperl-xemacs-p with (featurep 'xemacs).
	(font-lock-cache-position): Pacify byte compiler.

48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
2007-10-29  Drew Adams  <drew.adams@oracle.com>

	* faces.el (read-color): New function.
	(face-at-point, foreground-color-at-point)
	(background-color-at-point): New functions.

2007-10-28  Richard Stallman  <rms@gnu.org>

	* net/browse-url.el (browse-url-text-xterm): Renamed from
	browse-url-lynx-xterm and made generic.
	(browse-url-text-emacs): Likewise.
	(browse-url-text-browser): New variable.
	(browse-url-text-emacs-args): Renamed from browse-url-lynx-emacs-args.
	(browse-url-text-input-field, browse-url-text-input-attempts)
	(browse-url-kde-program): Likewise.

Glenn Morris's avatar
Glenn Morris committed
64 65 66 67 68 69
2007-10-29  Glenn Morris  <rgm@gnu.org>

	* textmodes/org-publish.el (org-publish-get-plist-from-filename):
	Use mapc rather than mapcar (reinstall change deleted without log
	entry 2007-10-22).

70 71
2007-10-29  Martin Rudalics  <rudalics@gmx.at>

Juanma Barranquero's avatar
Juanma Barranquero committed
72 73
	* wdired.el (wdired-next-line, wdired-previous-line):
	Use next-line and previous-line wrapped in with-no-warnings.
74

75 76
2007-10-29  Ryan Yeske  <rcyeske@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
77
	* net/rcirc.el (rcirc-server-alist): Use keywords for parameter names.
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
	(rcirc-recent-quit-alist): New function.
	(rcirc): Print a better message when there is only one connected server.
	(rcirc-complete-nick): Do not update the nick table here.
	(rcirc-mode-map): Add M-o.
	(rcirc-current-line): Add variable.
	(rcirc-mode): Setup variables for line based omit.
	(rcirc-edit-multiline): Strip text properties.
	(rcirc-omit-responses): Add NICK.
	(rcirc-omit-threshold): Add variable.
	(rcirc-last-quit-line, rcirc-last-line, rcirc-elapsed-lines):
	Add functions.
	(rcirc-print): Keep track of current line.  Do not fill text if
	`rcirc-fill-flag' is null.  Only omit text if the last activity
	from the sender is more than `rcirc-omit-threshold' lines ago.
	(rcirc-put-nick-channel, rcirc-handler-PRIVMSG): Track line
	numbers instead of time.
	(rcirc-channel-nicks): Sort by line numbers instead of time.
	(rcirc-omit-mode): Add `...' when omitting text and recenter.
	(rcirc-handler-JOIN): Restore the joiners linestamp.
	(rcirc-maybe-remember-nick-quit): Add function.
	(rcirc-handler-QUIT): Record sender in table of recently quit nicks.

100 101 102 103 104 105 106 107 108 109 110
2007-10-29  Juanma Barranquero  <lekktu@gmail.com>

	* loadhist.el (unload-feature-special-hooks):
	Add `delete-frame-functions' and `suspend-tty-functions'.

	* server.el (server-unload-function): Rename from `server-unload-hook'
	and adapt to new `unload-feature' functionality.  Remove hook from
	`kill-buffer-hook' buffer-locally.
	(server-unload-hook): Remove.
	(server-unload-function): New var; replaces `server-unload-hook'.

Glenn Morris's avatar
Glenn Morris committed
111 112 113 114 115 116 117 118 119 120 121 122
2007-10-29  Glenn Morris  <rgm@gnu.org>

	* dirtrack.el (dirtrack-debug): Doc fix.
	(dirtrack-mode, dirtrack-debug-mode): New names for
	dirtrack-toggle and dirtrack-debug-toggle.  Use define-minor-mode.
	(dirtrack-toggle, dirtrack-debug-toggle, dirtrackp, dirtrack-debug):
	Make obsolete.
	(dirtrack-debug-message): Only print message if
	dirtrack-debug-mode is non-nil.  Use with-current-buffer.
	(dirtrack): Doc fix.  Use dirtrack-mode rather than dirtrackp.
	Remove dirtrack-debug checks now that dirtrack-debug-message does this.

123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
2007-10-28  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/bytecomp.el (byte-compile-warnings): Document `not'.
	(byte-compile-warnings-safe-p): Handle `not'.
	(byte-compile-warning-enabled-p, byte-compile-disable-warning)
	(byte-compile-enable-warning): New functions.
	(byte-compile-eval-before-compile)
	(byte-compile-file-form-require): Use byte-compile-disable-warning.
	(byte-compile-close-variables): Locally bind byte-compile-warnings,
	but do not modify it.
	(byte-compile-eval, byte-compile-obsolete)
	(byte-compile-warn-about-unresolved-functions)
	(byte-compile-file-form-defvar)
	(byte-compile-file-form-custom-declare-variable)
	(byte-compile-file-form-require)
	(byte-compile-file-form-defmumble, byte-compile-lambda)
	(byte-compile-form, byte-compile-normal-call)
	(byte-compile-variable-ref, byte-compile-defvar)
	(byte-compile-make-variable-buffer-local):
	Use byte-compile-warning-enabled-p.
	* emacs-lisp/advice.el (ad-compile-function):
	Use byte-compile-disable-warning.
Glenn Morris's avatar
Glenn Morris committed
145 146
	* emacs-lisp/cl.el: Move local variables to end of file, and set
	byte-compile-warnings to `(not cl-functions)'.
147 148 149 150 151 152 153 154 155 156 157
	* emacs-lisp/cl-compat.el: Add a local variables section, and set
	byte-compile-warnings to `(not cl-functions)'.
	* emacs-lisp/cl-macs.el: Unify local variable section, and set
	byte-compile-warnings to `(not cl-functions)'.
	(cl-do-proclaim): Use byte-compile-disable-warning and
	byte-compile-enable-warning.
	* emacs-lisp/cl-seq.el: Unify local variable section, and set
	byte-compile-warnings to `(not cl-functions)'.
	* progmodes/cc-bytecomp.el (cc-bytecomp-ignore-obsolete):
	Use byte-compile-disable-warning.

158 159 160 161 162
2007-10-28  Dan Nicolaescu  <dann@ics.uci.edu>

	* cus-edit.el (custom-browse-insert-prefix):
	* emulation/edt.el (edt-x-emacs19-p): Use featurep 'xemacs.

163 164 165 166 167 168 169
2007-10-28  Juanma Barranquero  <lekktu@gmail.com>

	* server.el (server-process-filter): Fix typo in docstring.
	(server-log): Reflow docstrings.
	(server-delete-client, server-kill-emacs-query-function): Doc fixes.
	(server-goto-line-column): Use `when'.

170 171 172 173 174 175 176 177
2007-10-28  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-other-meta-char): Call `isearch-edit-string'
	when mouse is clicked on the isearch message.
	(isearch-resume): Call `isearch-update' at the end.
	Rename argument `search' to `string' to conform to the
	isearch terminology.

Stefan Monnier's avatar
Stefan Monnier committed
178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200
2007-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	Rewrite abbrev.c in Elisp.
	* abbrev.el (abbrev-mode): Move custom group from cus-edit.el.
	(abbrev-table-get, abbrev-table-put, abbrev-get)
	(abbrev-put, make-abbrev-table, abbrev-table-p, clear-abbrev-table)
	(define-abbrev, abbrev--check-chars, define-global-abbrev)
	(define-mode-abbrev, abbrev--active-tables, abbrev-symbol)
	(abbrev-expansion, abbrev--before-point, expand-abbrev)
	(unexpand-abbrev, abbrev--write, abbrev--describe)
	(insert-abbrev-table-description, define-abbrev-table):
	New funs, largely transcribed from abbrev.c.
	(abbrev-with-wrapper-hook): New macro.
	(abbrev-table-name-list, global-abbrev-table)
	(abbrev-minor-mode-table-alist, fundamental-mode-abbrev-table)
	(abbrevs-changed, abbrev-all-caps, abbrev-start-location)
	(abbrev-start-location-buffer, last-abbrev, last-abbrev-text)
	(last-abbrev-location, pre-abbrev-expand-hook, abbrev-expand-function):
	New vars, largely transcribed from abbrev.c.
	* cus-edit.el (abbrev-mode): Remove.  Move to abbrev.el.
	* cus-start.el: Remove abbrev-all-caps and pre-abbrev-expand-hook.
	* loadup.el: Load "abbrev.el" before "lisp-mode.el".

201 202 203
2007-10-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

	* ps-print.el: Now detect if text foreground and background colors are
204
	equal and replace the foreground color by another color, so the text
205 206 207 208 209 210 211 212
	becomes visible.  Doc fix.
	(ps-print-version): New version 6.8.
	(ps-default-fg, ps-default-bg): Docstring fix.
	(ps-postscript-code-directory): Fix default value code.
	(ps-fg-list, ps-fg-validate-p): New options.
	(ps-foreground-list): New var.
	(ps-setup, ps-begin-job, ps-plot-region): Fix code.

Glenn Morris's avatar
Glenn Morris committed
213 214 215 216 217 218 219
2007-10-27  Glenn Morris  <rgm@gnu.org>

	* shell.el (shell-dirtrack-verbose, shell-directory-tracker): Doc fix.
	(shell-dirtrack-toggle): Mark as obsolete.
	(dirtrack-toggle, dirtrack-mode): No longer alias to
	shell-dirtrack-mode.

Jay Belanger's avatar
Jay Belanger committed
220 221 222 223 224 225 226
2007-10-27  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (math-standard-opers): Lower the precedence
	of negation.
	* calc/calc-lang.el (math-oper-table): Lower precedence of
	negation for C, TeX, and eqn.

227 228 229 230
2007-10-27  Dan Nicolaescu  <dann@ics.uci.edu>

	* progmodes/cc-defs.el: Reorder conditions to avoid warnings.

231 232 233 234 235
2007-10-27  Juanma Barranquero  <lekktu@gmail.com>

	* desktop.el (desktop-load-locked-desktop, desktop-base-lock-name)
	(desktop-not-loaded-hook): Fix :version tags.

236 237 238 239 240 241 242 243 244 245 246 247 248
2007-10-27  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-wrong-passwd-regexp): Tune regexp.
	(tramp-get-remote-tmpdir): New defun.
	(tramp-make-tramp-temp-file): Use it.
	(tramp-local-call-process): New defun.  Replace all calls of
	`call-process' by this when appropriate.
	(tramp-handle-write-region): Replace calls of `file-attributes' by
	`tramp-compat-file-attributes'.
	(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
	Make the first command a `tramp-send-command' call, with let-bind
	of `tramp-end-of-output'.
	(tramp-version, tramp-bug, tramp-reporter-dump-variable)
Juanma Barranquero's avatar
Juanma Barranquero committed
249 250
	(tramp-load-report-modules, tramp-append-tramp-buffers):
	Move to tramp-cmds.el.
251 252 253 254 255 256 257

	* net/tramp-fish.el (tramp-fish-handle-copy-file)
	(tramp-fish-do-copy-or-rename-file)
	(tramp-fish-do-copy-or-rename-file-directly):
	* net/tramp-smb.el (tramp-smb-handle-copy-file):
	Add parameter PRESERVE-UID-GID.

258 259 260 261 262 263 264
2007-10-27  Eli Zaretskii  <eliz@gnu.org>

	* time.el (zoneinfo-style-world-list, legacy-style-world-list):
	New defcustoms.
	(display-time-world-list): Use them as appropriate for the current
	value of `system-type'.

Vinicius Jose Latorre's avatar
Vinicius Jose Latorre committed
265 266 267 268 269 270 271 272 273 274 275 276 277 278 279
2007-10-26  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

	* printing.el: Pacify byte compiler, that is, no compiler warnings.
	Move (again) some variable definitions before use, define some fun
	aliases, no code change.
	(pr-version): New version 6.9.2.
	(pr-path-style, pr-auto-region, pr-menu-char-height)
	(pr-menu-char-width, pr-menu-lock, pr-ps-printer-alist)
	(pr-txt-printer-alist, pr-ps-utility-alist): Options declaration
	via (defvar VAR).
	(pr-menu-lookup, pr-menu-lock, pr-menu-alist, pr-even-or-odd-pages)
	(pr-menu-get-item, pr-menu-set-item-name, pr-menu-set-utility-title)
	(pr-menu-set-ps-title, pr-menu-set-txt-title, pr-region-active-p)
	(pr-do-update-menus, pr-update-mode-line, pr-f-read-string)
	(pr-f-set-keymap-parents, pr-keep-region-active): Fun aliases.
280
	(pr-menu-print-item, pr-ps-printer-menu-modified)
Vinicius Jose Latorre's avatar
Vinicius Jose Latorre committed
281 282 283
	(pr-txt-printer-menu-modified, pr-ps-utility-menu-modified)
	(pr-even-or-odd-alist): Vars definition moved.

284 285
2007-10-26  Dan Nicolaescu  <dann@ics.uci.edu>

286 287 288 289
	* emulation/pc-select.el (next-line-mark, next-line-nomark)
	(previous-line-mark, previous-line-nomark): Wrap with-no-warnings
	around uses of previous-line and next-line.

Juanma Barranquero's avatar
Juanma Barranquero committed
290 291
	* diff.el (diff-old-file, diff-new-file, diff-extra-args):
	New defvars.
292 293 294

	* textmodes/css-mode.el (comment-continue):
	* net/browse-url.el (url-handler-regexp):
Juanma Barranquero's avatar
Juanma Barranquero committed
295 296
	* progmodes/idlw-help.el (idlwave-system-routines):
	Pacify byte-compiler.
297

298
	* textmodes/fill.el (fill-nobreak-p): Replace obsolete alias
Juanma Barranquero's avatar
Juanma Barranquero committed
299 300
	line-move-invisible-p with its former definition: invisible-p.
	line-move-invisible-p was removed on 2007-08-29.
301

302 303 304 305 306
2007-10-26  Juanma Barranquero  <lekktu@gmail.com>

	* files.el (kill-emacs-query-functions): Doc fix;
	`save-buffers-kill-emacs' is no longer bound to a key.

307 308 309 310 311 312 313 314 315 316 317 318 319 320 321
2007-10-26  Richard Stallman  <rms@gnu.org>

	* isearch-multi.el (isearch-buffers-multi): New option.
	(isearch-buffers-search-fun): Test it.

	* progmodes/ps-mode.el (ps-mode-map): Delete C-c v binding.
	Put ps-run-clear on C-c C-l.

	* newcomment.el (comment-styles): New style indent-or-triple.
	(comment-style): Make that the default.
	(comment-add defvar): Doc fix.
	(comment-add): Delete arg EXTRA.
	(comment-region-default): Open code call to comment-add.
	Handle indent-or-triple style which uses `multi-char' for INDENT.

Juanma Barranquero's avatar
Juanma Barranquero committed
322 323 324 325
2007-10-26  Juanma Barranquero  <lekktu@gmail.com>

	* eshell/em-unix.el (nil-blank-string): Doc fix.

326 327 328
2007-10-26  John Wiegley  <johnw@newartisans.com>

	* eshell/em-unix.el (eshell/diff): Before calling the `diff'
Juanma Barranquero's avatar
Juanma Barranquero committed
329
	function, ensure that the third argument is turned into a nil if
330 331 332 333 334
	the string is otherwise completely empty (either no characters, or
	all tabs/spaces).  This fixes a bug from a user who found himself
	unable to customize `diff-switches' and still use Eshell's diff
	command.

335 336 337 338 339
2007-10-26  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/bytecomp.el (byte-compile-warnings): Autoload the
	safe-local-variable property.

340 341 342 343 344 345 346 347 348 349 350 351 352 353 354
2007-10-26  Gwern Branwen  <gwern0@gmail.com>  (tiny change)

	* net/browse-url.el (browse-url-browser-function): Delete grail.
	(browse-url-grail): Function and variable deleted.
	(browse-url-browser-function): Delete IXI Mosaic.
	(browse-url-default-browser): Don't try IXI Mosaic.
	(browse-url-iximosaic): Function deleted.
	(browse-url-browser-function): Delete MMM.
	(browse-url-default-browser): Don't try MMM.
	(browse-url-mmm): Function deleted.

2007-10-26  Drew Adams  <drew.adams@oracle.com>

	* custom.el (custom-note-var-changed): New function.

355 356 357
2007-10-25  Dan Nicolaescu  <dann@ics.uci.edu>

	* emulation/edt-mapper.el (edt-emacs-variant): Replace the only
Juanma Barranquero's avatar
Juanma Barranquero committed
358
	use with the definition.  Remove.
359 360 361

	* add-log.el (change-log-start-entry-re): New defconst.
	(change-log-sortable-date-at): Use it.
Juanma Barranquero's avatar
Juanma Barranquero committed
362 363
	(change-log-beginning-of-defun, change-log-end-of-defun):
	New functions.
364 365 366
	(change-log-mode): Use them for beginning-of-defun-function and
	end-of-defun-function.

367 368 369
2007-10-25  Jonathan Yavner  <jyavner@member.fsf.org>

	* ses.el: Make `ses--symbolic-formulas' a safe local variable.
Juanma Barranquero's avatar
Juanma Barranquero committed
370
	(ses-mode-print-map): Add `c' and `t' (suggested by Gareth Rees).
371 372 373 374 375 376
	(ses-recalculate-cell): Deal with point being just beyond end of
	data area (why does this happen?)
	(ses-set-curcell): Ditto.
	(ses-column-letter): Handle columns beyond 702.  Code written by
	Gareth Rees.

Carsten Dominik's avatar
Carsten Dominik committed
377 378
2007-10-25  Carsten Dominik  <dominik@science.uva.nl>

Juanma Barranquero's avatar
Juanma Barranquero committed
379 380
	* textmodes/org.el (org-agenda-get-restriction-and-command):
	Use `mapc' instead of `mapcar'.
Carsten Dominik's avatar
Carsten Dominik committed
381 382 383 384
	(org-agenda-list): Numeric prefix argument can specify the number
	of days.
	(remember-register, remember-buffer): Prevent byte compiler from
	complaining.
Carsten Dominik's avatar
Carsten Dominik committed
385
	(org-todo): Save and restore match data.
Carsten Dominik's avatar
Carsten Dominik committed
386 387
	(org-no-warnings): New macro.
	(org-columns-eval): Use `org-no-warnings'.
Carsten Dominik's avatar
Carsten Dominik committed
388

389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422
2007-10-25  Chris Moore  <christopher.ian.moore@gmail.com>

	* comint.el (comint-password-prompt-regexp):
	Handle `[sudo] password'-style prompt.

2007-10-25  Glenn Morris  <rgm@gnu.org>

	* custom.el (custom-declare-variable): Add :risky and :safe keywords.
	(defcustom): Doc fix.

	* progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re):
	Add `non_intrinsic'.
	(f90-constants-re): Add ieee modules.
	(f90-typedef-matcher, f90-typedec-matcher)
	(f90-imenu-type-matcher): New functions.
	(f90-font-lock-keywords-1): Give module procedures function-name face.
	Use `f90-typedef-matcher' for derived types.  Fix `abstract interface'.
	Add `use, intrinsic'.
	(f90-font-lock-keywords-2): Use `f90-typedec-matcher' for derived types.
	Move start of `enum' blocks to separate entry.
	(f90-start-block-re): Fix `type', `abstract interface'.
	(f90-imenu-generic-expression): Use `f90-imenu-type-matcher' for
	derived types.
	(f90-mode-abbrev-table): Add `abstract interface', `asynchronous',
	`elemental', change `enumerator'.
	(f90-no-block-limit): Fix `abstract interface'.

	* progmodes/f90.el (f90-indented-comment-re)
	(f90-directive-comment-re, f90-break-delimiters):
	* progmodes/fortran.el (fortran-comment-line-start-skip)
	(fortran-directive-re):
	* textmodes/conf-mode.el (conf-space-keywords): Mark these regexps
	as safe if they are strings.

423 424 425 426
2007-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* startup.el (window-system): Remove.  Don't make it frame-local.

Miles Bader's avatar
Miles Bader committed
427
2007-10-24  Richard Stallman  <rms@gnu.org>
Kim F. Storm's avatar
Kim F. Storm committed
428

Miles Bader's avatar
Miles Bader committed
429
	* savehist.el (savehist-save): Omit unreadable elements.
Kim F. Storm's avatar
Kim F. Storm committed
430

Miles Bader's avatar
Miles Bader committed
431 432 433
	* loadhist.el (unload-function-defs-list): Renamed from
	unload-function-features-list.
	(unload-feature-special-hooks, unload-feature): Doc fixes.
Kim F. Storm's avatar
Kim F. Storm committed
434

Miles Bader's avatar
Miles Bader committed
435 436
	* indent.el (indent-to-left-margin): If point's in the indentation,
	move to the end of the indentation.
Kim F. Storm's avatar
Kim F. Storm committed
437

Miles Bader's avatar
Miles Bader committed
438
	* cus-edit.el (customize-changed-options): Make arg optional.
Kim F. Storm's avatar
Kim F. Storm committed
439

Miles Bader's avatar
Miles Bader committed
440
2007-10-24  Juanma Barranquero  <lekktu@gmail.com>
Kim F. Storm's avatar
Kim F. Storm committed
441

Miles Bader's avatar
Miles Bader committed
442
	* bs.el (bs-select, bs-select-other-window): Fix typos in docstrings.
Kim F. Storm's avatar
Kim F. Storm committed
443

444 445 446 447 448
2007-10-24  Dan Nicolaescu  <dann@ics.uci.edu>

	* textmodes/org-publish.el (org-publish-attachment): Re-install
	accidentally deleted change.

449 450 451 452
2007-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* term/iris-ansi.el (iris-function-map): Move init into declaration.

453 454 455 456 457 458
2007-10-24  Juanma Barranquero  <lekktu@gmail.com>

	* buff-menu.el (Buffer-menu-sort-column): Doc fix.
	(Buffer-menu-mode-map): Initialize in the declaration.
	(Buffer-menu-mode): Define with `define-derived-mode'.

Carsten Dominik's avatar
Carsten Dominik committed
459 460
2007-10-24  Carsten Dominik  <dominik@science.uva.nl>

461 462 463
	* textmodes/org.el (org-version): Change to 5.13e.
	(org-agenda-file-regexp): Fix typo in docstring.
	(org-add-planning-info): Fix bug in parenthesis settings.
464
	(org-scan-tags): Catch the case of indirect buffers with no filename.
Carsten Dominik's avatar
Carsten Dominik committed
465
	(org-fast-tag-selection, org-export-as-ascii, org-export-as-html):
466
	Re-install switch to mapc, had been removed by accident.
Carsten Dominik's avatar
Carsten Dominik committed
467
	(org-columns-map): New binding `C-c C-o'.
468 469
	(org-columns-menu): Change menu text and added new entry.
	(org-columns-eval): Document the use of `next-line'.
Carsten Dominik's avatar
Carsten Dominik committed
470
	(org-columns-open-link): New function.
471
	(org-columns-follow-link): Remove function.
Carsten Dominik's avatar
Carsten Dominik committed
472
	(org-open-link-from-string): New function.
473
	(org-read-date-get-relative): Fix typo in docstring.
Carsten Dominik's avatar
Carsten Dominik committed
474 475 476 477 478 479 480
	(org-read-date-get-relative): Leading +/- is not optional.
	(org-agenda-get-restriction-and-command): Always resize window on
	first loop cycle.
	(org-agenda-open-link): Make sure the link abbreviations are
	present in the agenda buffer.
	(org-agenda-copy-local-variable): New function.

481 482 483 484
2007-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc.el (vc-update-changelog-rcs2log): Remove incorrect `backend' arg.

485 486 487 488 489
2007-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (reindent-then-newline-and-indent): Use a `move after
	insert' kind of marker in the save-excursion.

Miles Bader's avatar
Miles Bader committed
490
2007-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
Kim F. Storm's avatar
Kim F. Storm committed
491

Miles Bader's avatar
Miles Bader committed
492 493
	* textmodes/css-mode.el: Require CL.
	(comment-continue): Declare.
Kim F. Storm's avatar
Kim F. Storm committed
494

Miles Bader's avatar
Miles Bader committed
495 496
	* subr.el (make-variable-frame-localizable): Remove.
	(make-variable-frame-local): Mark obsolete.
Kim F. Storm's avatar
Kim F. Storm committed
497

Miles Bader's avatar
Miles Bader committed
498
2007-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
Kim F. Storm's avatar
Kim F. Storm committed
499

Miles Bader's avatar
Miles Bader committed
500 501
	* textmodes/tex-mode.el (tex-uptodate-p): Don't signal an error if one
	of the subdirs is unreadable.
Kim F. Storm's avatar
Kim F. Storm committed
502

503 504 505 506 507
2007-10-23  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-set-file-uid-gid): Protect `call-process'
	when we are local.

508 509 510 511 512
2007-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/python.el (python-current-defun): Remove left-over
	assignment to `start'.

513 514 515 516 517
2007-10-23  Juanma Barranquero  <lekktu@gmail.com>

	* ibuf-ext.el (ibuffer-auto-update-changed): Use `dolist' rather
	than `mapcar'; return value is not used.

518 519 520 521 522
2007-10-23  Dan Nicolaescu  <dann@ics.uci.edu>

	* progmodes/gud.el (gdb-source-window, gud-tooltip-mode)
	(hl-line-mode, hl-line-sticky-flag): Pacify byte compiler.

Juanma Barranquero's avatar
Juanma Barranquero committed
523 524 525 526 527
2007-10-23  Juanma Barranquero  <lekktu@gmail.com>

	* ibuf-ext.el (ibuffer-switch-to-saved-filters)
	(ibuffer-switch-to-saved-filter-groups): Doc fixes.

528 529
2007-10-23  Dan Nicolaescu  <dann@ics.uci.edu>

Juanma Barranquero's avatar
Juanma Barranquero committed
530
	* term/xterm.el (terminal-init-xterm): Experiment with a longer timeout.
531

532 533 534 535 536
2007-10-23  Katsumi Yamaoka  <yamaoka@jpl.org>

	* emacs-lisp/advice.el (ad-make-advised-docstring):
	Add ad-advice-info text property to doc string.

Glenn Morris's avatar
Glenn Morris committed
537 538
2007-10-23  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
539 540 541 542 543 544 545 546
	* progmodes/f90.el (f90-do-indent, f90-if-indent)
	(f90-type-indent, f90-program-indent, f90-associate-indent)
	(f90-continuation-indent, f90-comment-region)
	(f90-beginning-ampersand, f90-smart-end)
	(f90-break-before-delimiters, f90-auto-keyword-case)
	(f90-leave-line-no, f90-mode-hook):
	Give an appropriate safe-local-variable property.

Glenn Morris's avatar
Glenn Morris committed
547 548 549 550 551 552 553 554 555 556 557 558 559 560 561
	* progmodes/fortran.el (fortran-tab-mode-default)
	(fortran-tab-mode-string, fortran-do-indent, fortran-if-indent)
	(fortran-structure-indent, fortran-continuation-indent)
	(fortran-comment-indent, fortran-comment-line-extra-indent)
	(fortran-comment-line-start)
	(fortran-minimum-statement-indent-fixed)
	(fortran-minimum-statement-indent-tab)
	(fortran-comment-indent-char, fortran-line-number-indent)
	(fortran-check-all-num-for-matching-do)
	(fortran-blink-matching-if, fortran-continuation-string)
	(fortran-comment-region, fortran-electric-line-number)
	(fortran-column-ruler-fixed, fortran-column-ruler-tab)
	(fortran-analyze-depth, fortran-break-before-delimiters):
	Give an appropriate safe-local-variable property.

562 563 564 565 566
2007-10-23  Dan Nicolaescu  <dann@ics.uci.edu>

	* printing.el: Move variable definitions before use.
	(pr-menu-char-width, pr-menu-char-height): Pacify byte compiler.

Miles Bader's avatar
Miles Bader committed
567
2007-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
Kim F. Storm's avatar
Kim F. Storm committed
568

Miles Bader's avatar
Miles Bader committed
569 570 571 572
	* emulation/tpu-edt.el (tpu-edt-old-global-values): New var.
	(tpu-edt-off): Use it.
	(tpu-edt-on): Set it.  Make sure the tpu-global-map is not already on
	the global-map before adding it to global-map.
Kim F. Storm's avatar
Kim F. Storm committed
573

Miles Bader's avatar
Miles Bader committed
574 575 576 577 578
	* menu-bar.el (global-buffers-menu-map): New var.
	(global-map, menu-bar-update-buffers): Use it.
	* msb.el (msb-menu-bar-update-buffers): Use it.
	(msb-sort-by-directory, msb--choose-menu, msb--mode-menu-cond)
	(msb--most-recently-used-menu, msb--create-buffer-menu-2):
Kim F. Storm's avatar
Kim F. Storm committed
579 580
	Use with-current-buffer.

581 582 583 584 585 586 587 588 589 590 591 592 593 594
2007-10-22  Juri Linkov  <juri@jurta.org>

	* isearch-multi.el: New file.

	* isearch.el (isearch-search-string): After finding the next
	occurrence switch to buffer isearch-buffers-current-buffer when
	isearch-buffers-next-buffer-function is non-nil and
	isearch-buffers-current-buffer is live.

	* add-log.el (change-log-mode): Make and set buffer-local variable
	isearch-buffers-next-buffer-function to change-log-next-buffer.
	Call isearch-buffers-minor-mode.
	(change-log-next-buffer): New function.

John Wiegley's avatar
John Wiegley committed
595 596
2007-10-22  Carsten Dominik  <dominik@science.uva.nl>

Juanma Barranquero's avatar
Juanma Barranquero committed
597
	* textmodes/org.el (org-read-date-get-relative): New function.
John Wiegley's avatar
John Wiegley committed
598 599 600 601
	(org-agenda-file-regexp): New variable.
	(org-agenda-files): Allow directories in the variable.
	(org-agenda-get-restriction-and-command): New function.
	(org-agenda): Use `org-agenda-get-restriction-and-command'.
Juanma Barranquero's avatar
Juanma Barranquero committed
602
	(org-todo-blocker-hook, org-todo-trigger-hook): New hooks.
John Wiegley's avatar
John Wiegley committed
603 604 605 606 607 608 609
	(org-entry-is-todo-p, org-entry-is-done-p, org-get-todo-state):
	New functions.
	(org-entry-add-to-multivalued-property)
	(org-entry-remove-from-multivalued-property)
	(org-entry-member-in-multivalued-property): New functions.
	(org-remember-apply-template): Catch C-g and make sure window
	configuration is restored.
Juanma Barranquero's avatar
Juanma Barranquero committed
610
	(org-agenda-open-link): Make it work with several links in the line.
John Wiegley's avatar
John Wiegley committed
611
	(org-drawers, org-set-regexps-and-options)
Juanma Barranquero's avatar
Juanma Barranquero committed
612
	(org-get-current-options): Add support for a DRAWERS in-buffer option.
John Wiegley's avatar
John Wiegley committed
613 614 615 616 617 618 619 620 621 622 623
	(org-agenda-window-frame-fractions): New option.
	(org-fit-agenda-window): Use `org-agenda-window-frame-fractions'.
	(org-columns-cleanup-item, org-find-entry-with-id)
	(org-insert-columns-dblock, org-listtable-to-string)
	(org-dblock-write:columnview, org-columns-capture-view)
	(org-edit-headline): New functions.
	(org-agenda-to-appt): Require calendar.
	(org-entry-get-with-inheritance): Widen for search.
	(org-columns-display-here): Don't mark buffer as modified when
	adding space characters to accomodate column overlays.
	(org-export-as-html): Better formatting of tags in the toc.
Juanma Barranquero's avatar
Juanma Barranquero committed
624
	(org-columns-display-here): Make the ITEM column as compact as possible.
John Wiegley's avatar
John Wiegley committed
625 626 627 628 629
	(org-remember-templates): Customization interface improved.
	(org-export-with-property-drawer): Variable removed.
	(org-export-with-drawers): New option.
	(org-complex-heading-regexp): New variable.
	(org-sort-entries): Rewrite using `sort-subr'.
Juanma Barranquero's avatar
Juanma Barranquero committed
630
	(org-set-property): More appropriate completion during interactive use.
John Wiegley's avatar
John Wiegley committed
631
	(org-sort-entries): Allow sorting by property.
Juanma Barranquero's avatar
Juanma Barranquero committed
632 633
	(org-additional-option-like-keywords): Add more values.
	(org-sort-entries-or-items): Rename from `org-sort-entries'.
John Wiegley's avatar
John Wiegley committed
634 635 636

2007-10-22  Carsten Dominik  <dominik@science.uva.nl>

Juanma Barranquero's avatar
Juanma Barranquero committed
637
	* textmodes/org.el (org-get-date-from-calendar): New function.
John Wiegley's avatar
John Wiegley committed
638 639 640 641 642 643 644 645 646 647 648
	(org-at-timestamp-p, org-timestamp-change)
	(org-remember-templates): First element of each entry is now a
	name for the template.
	(org-store-log-note): Check for `org-note-abort'.
	(org-kill-note-or-show-branches): New command.
	(org-fontify-priorities): New option.
	(org-fontify-priorities): New function.
	(org-cut-subtree, org-copy-subtree): New argument N to
	act on N sequential subtrees.
	(org-paste-subtree): Fix the level at which a tree is pasted.
	(org-fit-agenda-window): Limitations on window size removed.
Juanma Barranquero's avatar
Juanma Barranquero committed
649 650
	(org-agenda-find-same-or-today-or-agenda): Rename from
	`org-agenda-find-today-or-agenda'.
John Wiegley's avatar
John Wiegley committed
651 652 653 654 655 656 657 658 659
	(org-scheduled-past-days): New option.
	(org-agenda-scheduled-leaders)
	(org-agenda-deadline-leaders): New options.
	(org-agenda-get-deadlines): Use `org-agenda-deadline-leaders'.
	(org-agenda-get-scheduled): Use `org-agenda-scheduled-leaders'.
	(org-export-with-tags, org-export-plist-vars)
	(org-infile-export-plist): New "tags" option.
	(org-use-property-inheritance): New option.
	(org-cached-entry-get): Use `org-use-property-inheritance'.
Juanma Barranquero's avatar
Juanma Barranquero committed
660
	(org-remember-apply-template): Fix typo.
John Wiegley's avatar
John Wiegley committed
661

662 663 664 665 666 667
2007-10-22  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-find-shell)
	(tramp-open-connection-setup-interactive-shell): Improve sending
	initial commands.
	(tramp-action-terminal): Send debug message.
Juanma Barranquero's avatar
Juanma Barranquero committed
668
	(tramp-wait-for-shell-prompt, tramp-send-command-internal): Remove.
669 670 671
	(tramp-barf-if-no-shell-prompt): Insert code of
	`tramp-wait-for-shell-prompt'.

672 673
2007-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>

674 675
	* term/AT386.el (terminal-init-AT386): Use input-decode-map.

676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700
	* term/vt200.el (terminal-init-vt200):
	* term/vt201.el (terminal-init-vt201):
	* term/vt220.el (terminal-init-vt220):
	* term/vt240.el (terminal-init-vt240):
	* term/vt300.el (terminal-init-vt300):
	* term/vt320.el (terminal-init-vt320):
	* term/vt400.el (terminal-init-vt400):
	* term/vt420.el (terminal-init-vt420): Use input-decode-map.

	* term/wyse50.el (wyse50-terminal-map): New var.
	(terminal-init-wyse50): Use it and input-decode-map.
	(enable-arrow-keys): Emasculate.

	* term/tvi970.el (tvi970-terminal-map): New var.
	(terminal-init-tvi970): Use it and input-decode-map.
	(tvi970-keypad-numeric): Remove.
	(tvi970-set-keypad-mode): Use a terminal-parameter rather than var.

	* term/sun.el (sun-raw-prefix): Fill as part of declaration.
	(terminal-init-sun): Use it and input-decode-map.

	* term/news.el (terminal-init-news):
	* term/lk201.el (terminal-init-lk201):
	* term/iris-ansi.el (terminal-init-iris-ansi): Use input-decode-map.

Juanma Barranquero's avatar
Juanma Barranquero committed
701
2007-10-22  Sean O'Rourke  <sorourke@cs.ucsd.edu>
702 703 704 705 706 707 708 709

	* complete.el (PC-expand-many-files): Remove.
	(PC-do-completion): Call file-expand-wildcards instead of
	PC-expand-many-files.

	* net/tramp.el (tramp-handle-expand-many-files): Remove.
	(PC-expand-many-files): Remove advice.

710 711 712
2007-10-22  Glenn Morris  <rgm@gnu.org>

	* progmodes/f90.el: Remove leading "*" from defcustom doc-strings.
713 714 715 716 717 718 719 720 721 722 723
	Add some support for Fortran 2003 syntax:
	(f90-type-indent): Now also applies to `enum'.
	(f90-associate-indent): New user option.
	(f90-keywords-re, f90-keywords-level-3-re, f90-procedures-re):
	Add some F2003 keywords.
	(f90-constants-re): New constant.
	(f90-font-lock-keywords-1): Add `associate' blocks, and `abstract
	Interface'.
	(f90-font-lock-keywords-2): Add `enumerator', `generic', `procedure',
	`class'.  Arguments for `type'/`class' may have spaces.  Add a new
	element for functions with specified types.  Add `end enum' and
724 725
	`select type'.  Add `implicit enumerator' and `procedure'.
	Add `class default' and `type is', `class is'.  Fix `go to' regexp.
726 727 728 729 730 731 732 733 734 735 736 737 738
	(f90-font-lock-keywords-3): Add `asynchronous' attribute.
	(f90-font-lock-keywords-4): Add `f90-constants-re'.
	(f90-blocks-re): Add `enum' and `associate'.
	(f90-else-like-re): Add `class is', `type is', and `class default'.
	(f90-end-type-re): Add `enum'.
	(f90-end-associate-re, f90-typeis-re): New constants.
	(f90-end-block-re): Add `enum' and `associate'.  Change from
	optional whitespace to end-of-word, to avoid `enumerator'.
	(f90-start-block-re): Add `select type', `abstract interface', and
	`enum'.  Avoid `type is', and `type (sometype)'.
	(f90-mode-abbrev-table): Add `enumerator', `protected', and `volatile'.
	(f90-mode): Doc fix.
	(f90-looking-at-select-case): Doc fix.  Add `select type'.
Juanma Barranquero's avatar
Juanma Barranquero committed
739
	(f90-looking-at-associate): New function.
740 741 742 743 744
	(f90-looking-at-type-like): Avoid `type is' and `type (sometype)'.
	Add `enum' and `abstract interface'.
	(f90-no-block-limit): Add `select type' and `abstract interface'.
	(f90-get-correct-indent, f90-calculate-indent)
	(f90-end-of-block, f90-beginning-of-block, f90-next-block)
Juanma Barranquero's avatar
Juanma Barranquero committed
745
	(f90-indent-region, f90-match-end): Handle `associate' blocks.
746

747 748 749 750 751
2007-10-22  Martin Rudalics  <rudalics@gmx.at>

	* progmodes/fortran.el (fortran-mode-map, fortran-window-create):
	Use window-full-width-p.

752 753 754 755 756 757
2007-10-22  Dan Nicolaescu  <dann@ics.uci.edu>

	* mail/vms-pmail.el (insert-signature): Don't use end-of-buffer.

	* tooltip.el: Use featurep 'xemacs.

Juanma Barranquero's avatar
Juanma Barranquero committed
758
	* printing.el: Move variable definitions before use, no code change.
759

760 761 762 763 764
2007-10-22  Juri Linkov  <juri@jurta.org>

	* simple.el (goto-history-element): Allow minibuffer-default to be
	a list of default values accessible by typing M-n in the minibuffer.

765 766 767 768
	* dired-x.el (dired-guess-shell-command): Put all guesses to the
	minibuffer default value list instead of pushing them temporarily
	to the history list.

Miles Bader's avatar
Miles Bader committed
769
2007-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
Kim F. Storm's avatar
Kim F. Storm committed
770

Miles Bader's avatar
Miles Bader committed
771
	* hexl.el (hexl-menu): New major mode menu.
Kim F. Storm's avatar
Kim F. Storm committed
772

773 774 775 776
2007-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/byte-opt.el (byte-optimize-featurep): Fix paren typo.

777 778
2007-10-21  Dan Nicolaescu  <dann@ics.uci.edu>

779
	* w32-fns.el (w32-quote-process-args):
780 781 782
	* dos-w32.el (print-region-function, lpr-headers-switches)
	(ps-print-region-function): Pacify byte-compiler.

783
	* emulation/edt-mapper.el (function-key-map):
784 785
	(edt-map-key): Make it a function instead of using fset.
	Inline edt-gnu-map-key and edt-lucid-map-key.  Use featurep 'xemacs.
786 787
	(edt-gnu-map-key, edt-lucid-map-key): Remove.
	(edt-x-emacs-p): Remove.
788
	(edt-emacs-variant, edt-window-system, edt-xserver):
789 790 791 792 793 794 795 796 797 798 799 800
	Use featurep 'xemacs.

	* net/eudc.el: Use (featurep 'xemacs) instead of the string test.
	Replace eudc-xemacs-p with its definition.
	(eudc-xemacs-p, eudc-emacs-p, eudc-xemacs-mule-p)
	(eudc-emacs-mule-p): Remove.
	(eudc-install-menu, eudc-mode): Replace eudc-emacs-p and
	eudc-xemacs-p with feature tests.

	* net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-mail-keymap)
	(eudc-bob-url-keymap, eudc-bob-sound-keymap)
	(eudc-bob-generic-keymap, eudc-bob-popup-menu)
801 802 803
	(eudc-bob-toggle-inline-display):
	* net/eudc-hotlist.el (eudc-hotlist-emacs-menu):
	Replace eudc-emacs-p and eudc-xemacs-p with feature tests.
804

805 806
	* net/eudcb-ph.el (eudc-ph-open-session):
	Replace eudc-xemacs-mule-p with its former definition.
807 808

	* progmodes/octave-mod.el (octave-xemacs-p): Remove.
809
	(octave-abbrev-start): Replace octave-xemacs-p with (featurep 'xemacs).
810

811 812
	* progmodes/vera-mode.el (vera-xemacs): Remove.
	(vera-mode-syntax-table): Replace vera-xemacs with (featurep 'xemacs).
813 814 815 816 817 818 819 820 821

	* progmodes/vhdl-mode.el (vhdl-xemacs): Remove.
	(vhdl-doc-mode, vhdl-doc-variable, vhdl-compile-init)
	(vhdl-speedbar-initialize, vhdl-ps-print-init)
	(vhdl-forward-comment, vhdl-mode-map-init, vhdl-show-messages)
	(vhdl-emacs-22, vhdl-emacs-21): Replace vhdl-xemacs
	with (featurep 'xemacs).

	* progmodes/antlr-mode.el (cond-emacs-xemacs-macfn, defunx)
822 823
	(save-buffer-state-x):
	* obsolete/fast-lock.el (fast-lock-verbose):
824
	* emulation/viper-init.el (viper-xemacs-p)
825 826 827 828
	(viper-cond-compile-for-xemacs-or-emacs):
	* emacs-lisp/checkdoc.el (checkdoc-minor-mode-map):
	* ps-print.el (case-fold-search):
	* ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs):
829 830
	* calculator.el (calculator-help): Use featurep 'xemacs.

831
	* progmodes/prolog.el: Undo previous change.
832
	(comint-prompt-regexp, comint-process-echoes): Pacify byte-compiler.
833 834 835 836 837 838

	* progmodes/dcl-mode.el:
	* play/yow.el:
	* calendar/todo-mode.el:
	* calendar/cal-hebrew.el:
	* vc-hg.el: Undo previous change.
839

840 841 842
	* vms-patch.el: Likewise.
	(print-region-function): Pacify byte-compiler.

843 844 845 846 847 848 849 850
2007-10-21  Michael Albinus  <michael.albinus@gmx.de>

	* files.el (backup-buffer-copy): Call `copy-file' with non-nil
	preserve-uid-gid.

	* net/ange-ftp.el (ange-ftp-copy-file): Add PRESERVE-UID-GID for
	compatibility.  It is not used, though.

851 852 853 854 855 856 857 858
	* net/tramp.el (top): Put load of all tramp-* files into a dolist.
	Require tramp-cmds.el.
	(tramp-make-tramp-temp-file): We can get rid of DONT-CREATE.
	(tramp-handle-file-name-all-completions): Expand DIRECTORY.
	 (tramp-do-copy-or-rename-file-directly): Make more rigid checks.
	(tramp-do-copy-or-rename-file-out-of-band)
	(tramp-maybe-open-connection): Use `make-temp-name'.  This is
	possible, because we don't need to create the temporary file, but
859
	we need a prefix for ssh, which has its own temporary file handling.
860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875
	(tramp-handle-delete-directory): Add "-f" to rmdir.
	(tramp-handle-dired-recursive-delete-directory): Call "rm -rf".
	(tramp-handle-insert-file-contents): Don't raise a tramp-error but
	a signal, in order to give the callee a chance to suppress.
	(tramp-handle-write-region): Set owner also in case of short
	track.  Don't use compatibility calls for `write-region' anymore.
	(tramp-clear-passwd): Add parameter VEC.  Adapt all callees.
	(tramp-append-tramp-buffers): Apply `tramp-list-tramp-buffers'.

	* net/tramp-cmds.el: New file.

	* net/tramp-gw.el (tramp-gw-basic-authentication): Apply VEC to
	`tramp-clear-passwd'.

	* net/trampver.el: Update release number.

876 877 878 879 880 881
2007-10-21  Dan Nicolaescu  <dann@ics.uci.edu>

	* progmodes/gud.el (gud-target-name): Move definition before use.

	* progmodes/dcl-mode.el: Require imenu at compile time.

882 883
	* progmodes/cc-engine.el (c-maybe-stale-found-type):
	Pacify byte-compiler.
884

885
	* obsolete/fast-lock.el: Use featurep test instead of string-match.
886

887 888
	* eshell/esh-mode.el (eshell-handle-ansi-color):
	Require ansi-color at compile time too.
889

Juanma Barranquero's avatar
Juanma Barranquero committed
890
	* eshell/em-unix.el (eshell/info): Require info at compile time too.
891 892 893 894 895 896

	* w32-fns.el: Require w32-vars.

	* diff-mode.el (diff-refine-hunk): Require smerge-mode at compile
	time too.

Stefan Monnier's avatar
Stefan Monnier committed
897 898
2007-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>

899
	* double.el ([ignore]): Use `ignore'.
Stefan Monnier's avatar
Stefan Monnier committed
900 901 902
	(double-setup): Inline into double-mode.
	(double-mode): Use define-minor-mode.

903 904 905 906 907 908 909 910 911
2007-10-21  Dan Nicolaescu  <dann@ics.uci.edu>

	* textmodes/reftex.el: Move require easymenu before first use.
	(reftex-info): Require info at compile too.

	* textmodes/org-publish.el (org-publish-org-to-html)
	(org-publish-org-to): Require org at compile time too.
	(org-publish-attachment): Require at compile time too.

Stefan Monnier's avatar
Stefan Monnier committed
912 913
	* term/tty-colors.el (w32-tty-standard-colors):
	Pacify byte-compiler.
914 915 916 917 918 919

	* term/pc-win.el (frame-creation-function-alist): Add to this
	instead of setting frame-creation-function.

	* play/blackbox.el (bb-up, bb-down): Use forward-line.

Stefan Monnier's avatar
Stefan Monnier committed
920
	* net/rcirc.el (rcirc-markup-text-functions): Move definition earlier.
921 922 923

	* calendar/todo-mode.el: Require calendar at compile time.

Dan Nicolaescu's avatar
Dan Nicolaescu committed
924
	* calendar/cal-hebrew.el: Require holidays at compile time.
925 926 927 928 929 930

	* w32-vars.el: Provide w32-vars.

	* term/w32-win.el: Require w32-vars.
	(w32-color-map): Pacify byte-compiler.

Juanma Barranquero's avatar
Juanma Barranquero committed
931
	* loadup.el: Load w32-vars before term/w32-win.
932

933 934 935 936 937 938
2007-10-20  Juri Linkov  <juri@jurta.org>

	* textmodes/fill.el (fill-paragraph): When the region is active,
	don't try other `or' branches regardless of the value returned by
	fill-region; just return t.

939 940 941 942
2007-10-20  Eric S. Raymond  <esr@snark.thyrsus.com>

	* vc.el (vc-do-command): Condition out a misleading message when
	running asynchronously.
943
	(vc-deduce-fileset): New argument enables using an unregistered
Eric S. Raymond's avatar
Eric S. Raymond committed
944
	visited file as a singleton fileset if nothing else is available.
945
	(vc-next-action): Restore file-registering behavior.
946

Jay Belanger's avatar
Jay Belanger committed
947 948 949 950
2007-10-20  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/README: Add recent news.

951 952 953 954 955 956
2007-10-20  Dan Nicolaescu  <dann@ics.uci.edu>

	* term/x-win.el (x-gtk-stock-map, icon-map-list)
	(x-gtk-map-stock): Delete duplicated definitions from merge.

	* progmodes/compile.el (compilation-skip-to-next-location)
Juanma Barranquero's avatar
Juanma Barranquero committed
957 958
	(compilation-skip-threshold, compilation-skip-visited):
	Move definitions earlier.
959

960
	* play/decipher.el (decipher-keypress):
961 962 963 964 965 966 967 968 969 970
	* play/zone.el (zone-fall-through-ws):
	* play/landmark.el (lm-move-down, lm-move-up):
	* play/handwrite.el (handwrite):
	* mail/mspools.el (mspools-visit-spool):
	* wdired.el (wdired-next-line, wdired-previous-line):
	* tar-mode.el (tar-subfile-save-buffer):
	* scroll-lock.el (scroll-lock-next-line)
	(scroll-lock-previous-line):
	* image-dired.el (image-dired-next-line)
	(image-dired-previous-line):
Juanma Barranquero's avatar
Juanma Barranquero committed
971 972
	* ediff-help.el (ediff-help-message-line-length):
	Use forward-line.
973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988

	* smerge-mode.el (smerge-auto-refine):
	* diff-mode.el (diff-auto-refine): Add :group.

	* play/yow.el: Require doctor at compile time.

	* vmsproc.el: Provide vmsproc.
	(command-send-input): Use forward-line.

	* vms-patch.el: Require ps-print and vmsproc at compile time.

	* vc-mtn.el (log-view-message-re, log-view-file-re)
	(log-view-font-lock-keywords): Pacify byte-compiler.

	* vc-hg.el: Require log-view at compile time.

989 990 991 992
2007-10-20  Eric S. Raymond  <esr@snark.thyrsus.com>

	* log-view.el (log-view-diff): Adapt log-view-diff for new VC API.

993 994 995 996 997
2007-10-20  Glenn Morris  <rgm@gnu.org>

	* progmodes/f90.el (f90-font-lock-keywords-2)
	(f90-looking-at-type-like): Fix regexp typos.

998 999
2007-10-19  Juanma Barranquero  <lekktu@gmail.com>

1000
	* bs.el (bs--track-window-changes): Don't refresh the whole list.
1001
	(bs-mode): Set mode-class property to special.
1002

Stefan Monnier's avatar
Stefan Monnier committed
1003 1004 1005 1006 1007 1008 1009 1010 1011
2007-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* diff-mode.el (diff-auto-refine): New var.
	(diff-hunk): Use it.
	(diff-ignore-whitespace-hunk): Rename diff-refine-ignore-spaces-hunk.
	(diff-refine-change): Rename from diff-fine-change.  Change it.
	(diff-refine-preproc): Rename from diff-fine-highlight-preproc.
	(diff-refine-hunk): Rename from diff-fine-highlight.

1012 1013 1014 1015 1016 1017
2007-10-20  John Paul Wallington  <jpw@pobox.com>

	* help-fns.el (describe-variable-custom-version-info): New function
	to return variable's version or package version note.
	(describe-variable): Use it, display result.

1018 1019
2007-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>

1020 1021 1022 1023
	* smerge-mode.el (smerge-auto-refine): New var.
	(smerge-next, smerge-prev): Use it.
	(smerge-batch-resolve): Ad-hoc trick for Arch's .rej files.

1024 1025 1026
	* emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
	Add `body' arg.  Cleanup the check-narrow-maybe/re-narrow-maybe mess.

1027 1028 1029 1030 1031 1032 1033
	* vc-bzr.el (vc-bzr-diff-tree):
	* vc-git.el (vc-git-diff-tree):
	* vc-hg.el (vc-hg-diff-tree):
	* vc-mcvs.el (vc-mcvs-diff-tree):
	* vc-mtn.el (vc-mtn-diff-tree):
	* vc-svn.el (vc-svn-diff-tree): Remove.

1034 1035 1036
	* vc-mtn.el (vc-mtn-revision-completion-table):
	* vc-cvs.el (vc-cvs-revision-completion-table):
	* vc-arch.el (vc-arch-revision-completion-table):
1037
	* vc-hg.el (vc-hg-revision-completion-table, vc-hg-revision-table):
1038
	* vc-git.el (vc-git-revision-completion-table, vc-git-revision-table):
1039
	Make it work when the arg is a list of files.
1040

1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057
2007-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc.el: Remove `diff-tree' operation, now subsumed by `diff'.
	Also `revision-completion-table' now takes a list of files.
	(vc-deduce-fileset): Remove unused var `regexp'.
	Only obey allow-directory-wildcard in dired buffers.
	(vc-default-diff-tree): Remove.
	(vc-diff-added-files): New var.
	(vc-diff-internal): Use it.  Remove arg `backend'.  Update callers.
	(vc-version-diff): Revert from `vc-history-diff' to the original name.
	Remove the `backend' arg.
	(vc-contains-version-controlled-file): Remove.
	(vc-diff): Bring it closer to the version in Emacs-22.
	(vc-revert): Fix typo in let-binding.
	(vc-default-unregister): Remove.
	(vc-dired-buffers-for-dir): Remove N^2 behavior.

1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076
2007-10-19  Dan Nicolaescu  <dann@ics.uci.edu>

	* textmodes/two-column.el (2C-split, 2C-merge):
	* textmodes/bib-mode.el (bib-find-key, mark-bib):
	* progmodes/idlw-shell.el (idlwave-shell-move-or-history):
	* progmodes/etags.el (find-tag-in-order, etags-tags-apropos)
	* progmodes/ada-xref.el (ada-get-all-references):
	* obsolete/mlsupport.el (ml-next-line, ml-previous-line):
	* emulation/vi.el (vi-previous-line-first-nonwhite)
	(vi-effective-range, vi-put-before):
	* emulation/edt.el (edt-next-line, edt-previous-line)
	(edt-paragraph-forward): Use forward-line.

	* progmodes/etags.el (tags-apropos): Require apropos at compile
	time too.

	* progmodes/prolog.el: Require comint when compiling.
	(inferior-prolog-flavor): Move defvar before use.

1077 1078 1079
2007-10-19  Richard Stallman  <rms@gnu.org>

	* font-core.el (turn-on-font-lock-if-desired):
1080
	Rename from `turn-on-font-lock-if-enabled'.
1081 1082
	Fully obey `font-lock-global-modes'.

1083 1084
2007-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>

1085 1086 1087 1088
	* diff-mode.el (diff-fine-highlight-preproc): Stick to minimal changes
	which will not affect the behavior of things like forward-word.
	(diff-fine-highlight): Preserve point.

1089 1090 1091 1092
	* doc-view.el (doc-view-mode-map): Use remapping.
	Don't rebind C-v, M-v to their default value.
	Don't bind mouse-4 and mouse-5: it's mwheel.el's job.

1093 1094 1095 1096 1097 1098 1099
	* smerge-mode.el: Add word-granularity refinement.
	(smerge-refine-forward-function, smerge-refine-ignore-whitespace)
	(smerge-refine-weight-hack): New vars.
	(smerge-refine-forward): New fun.
	(smerge-refine-chopup-region, smerge-refine-highlight-change): Use them.
	(smerge-refine-subst): Use them as well.  Preserve point.

1100 1101
2007-10-19  Juanma Barranquero  <lekktu@gmail.com>

1102 1103
	* follow.el (follow-unload-function): New function.

1104 1105 1106 1107 1108 1109
	* loadhist.el (unload-function-features-list):
	Rename from `unload-hook-features-list'.
	(unload-hook-features-list): Add as obsolete alias.
	(unload-feature): Use `unload-function-features-list'
	and new FEATURE-unload-function.

1110 1111 1112 1113 1114
2007-10-19  Glenn Morris  <rgm@gnu.org>

	* bindings.el (mouse-minor-mode-menu)
	(minor-mode-menu-from-indicator): Move to mouse.el.
	* mouse.el (mouse-minor-mode-menu, minor-mode-menu-from-indicator):
1115
	Move here from bindings.el.
1116

Richard M. Stallman's avatar
Richard M. Stallman committed
1117 1118 1119 1120 1121
2007-10-19  Richard Stallman  <rms@gnu.org>

	* help-fns.el (describe-function-1): Don't use the advice origname
	if it has no function definition.

1122 1123 1124 1125 1126
2007-10-18  Johan Bockg,Ae(Brd  <bojohan@gnu.org>

	* net/tramp.el (tramp-rfn-eshadow-update-overlay): Save excursion.
	Use `save-restriction' rather than `widen'.

1127 1128 1129 1130
2007-10-18  Richard Stallman  <rms@gnu.org>

	* time.el (display-time-world-time-format): Display day # not month #.

Reiner Steib's avatar
Reiner Steib committed
1131 1132
2007-10-18  Reiner Steib  <Reiner.Steib@gmx.de>

1133 1134
	* files.el (auto-mode-alist): Don't use doc-view for PS and EPS.

Reiner Steib's avatar
Reiner Steib committed
1135 1136 1137 1138 1139 1140 1141
	* doc-view.el: Remove version keyword.
	(doc-view-ghostscript-program, doc-view-dvipdfm-program)
	(doc-view-ps2pdf-program): Use executable-find.  Simplify custom type.
	(doc-view-ghostscript-options): Improve custom type.
	(doc-view-cache-directory, doc-view-conversion-buffer)
	(doc-view-conversion-refresh-interval): Simplify custom type.

1142 1143 1144 1145 1146
2007-10-18  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el (doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf)
	(doc-view-pdf/ps->png-sentinel, doc-view-pdf/ps->png)
	(doc-view-pdf->txt-sentinel, doc-view-pdf->txt)
1147 1148 1149 1150
	(doc-view-ps->pdf-sentinel, doc-view-ps->pdf):
	Remove superfluous messages.
	(doc-view-mode-map): Use the image-mode scrolling commands.
	Don't rebind C-x k.
1151

1152 1153 1154 1155 1156
2007-10-18  Reiner Steib  <Reiner.Steib@gmx.de>

	* doc-view.el (doc-view-ghostscript-options, doc-view-ps->pdf):
	Add comment about "-dSAFER".

1157 1158
2007-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
1159 1160 1161 1162
	* term/xterm.el: Don't require xt-mouse.
	(terminal-init-xterm): Run terminal-init-xterm-hook rather than
	calling turn-on-xterm-mouse-tracking-on-terminal directly.

1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174
	* xt-mouse.el: Don't change the global function-key-map anny more.
	(xterm-mouse-mode): Use terminal-init-xterm-hook.
	Don't use after-make-frame-functions now that term/xterm.el calls
	us directly.
	(turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking):
	Use turn-*-xterm-mouse-tracking-on-terminal.  Only once per terminal.
	(turn-on-xterm-mouse-tracking-on-terminal): Make param optional.
	Setup input-decode-map and remember that xterm-mouse-mode was
	enabled in this terminal.
	(turn-off-xterm-mouse-tracking-on-terminal): Only disable on those
	terminals where it has been enabled.

1175 1176 1177 1178 1179 1180
	* faces.el (tty-create-frame-with-faces): Make sure not only
	tty-run-terminal-initialization but also set-locale-environment
	are run only once per terminal.
	(tty-run-terminal-initialization): Don't check if the terminal was
	already initted.

1181 1182 1183 1184 1185
	* international/encoded-kb.el (encoded-kbd-setup-display): Be careful
	not to remove keymaps that just happen to inherit from one of ours.
	When setting up our keymap, make sure it won't be accidentally
	modified by someone else.

1186 1187 1188
2007-10-18  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* textmodes/artist.el (artist-previous-line, artist-next-line):
1189
	* dired.el (dired-next-line, dired-previous-line):
1190 1191
	* progmodes/delphi.el (delphi-newline):
	* textmodes/org.el (org-columns-eval):
1192 1193
	Use forward-line.

1194 1195 1196
	* emerge.el (emerge-setup): Use insert-buffer-substring.
	(emerge-prepare-error-list, emerge-setup-with-ancestor): Likewise.

1197 1198 1199 1200 1201 1202
2007-10-18  Juanma Barranquero  <lekktu@gmail.com>

	* textmodes/fill.el (fill-individual-paragraphs): Doc fix.
	(adaptive-fill-function): Doc fix.  Remove * from docstring.

2007-10-18  Tom Horsley  <tom.horsley@att.net>
1203 1204 1205 1206 1207

	* simple.el (interprogram-paste-function): Doc fix.
	(current-kill): Accept list of strings as well
	as single string from `interprogram-paste-function'.

Glenn Morris's avatar
Glenn Morris committed
1208 1209 1210 1211
2007-10-18  Glenn Morris  <rgm@gnu.org>

	* ibuf-ext.el (ibuffer-saved-filter-groups): Doc fix.

1212 1213 1214 1215 1216 1217 1218 1219 1220
2007-10-18  Drew Adams  <drew.adams@oracle.com>

	* bindings.el (mode-line-minor-mode-keymap):
	Add mouse-minor-mode-menu on mouse-1.
	(mode-line-modes): Add mouse-1 to help-echo text.
	(mouse-minor-mode-menu, minor-mode-menu-from-indicator):
	New functions.
	(mode-line-minor-mode-help): Doc fix.

1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244
2007-10-17  Juri Linkov  <juri@jurta.org>

	* textmodes/fill.el (fill-paragraph-or-region): Remove function
	at the request of RMS.
	(fill-paragraph): Change `arg' to optional `justify'.  Add interactive
	arg `region'.  Fix docstring.  At the first `or' branch add call to
	`fill-region' if it the region is active in transient-mark-mode.

	* bindings.el (esc-map): Bind M-q to fill-paragraph
	instead of fill-paragraph-or-region.

	* tutorial.el (tutorial--default-keys): Replace fill-paragraph-or-region
	with fill-paragraph.

	* textmodes/ispell.el (ispell-word): Add interactive arg `region'.
	Fix docstring.

	* indent.el (indent-for-tab-command): Change interactive spec from
	"P" to "p".  Add check for interactive arg before indenting the
	active region.

	* files.el (auto-mode-alist): Add \\. before PDF/PS/DVI extensions.
	Regroup.

1245 1246
2007-10-17  Juanma Barranquero  <lekktu@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
1247 1248
	* emacs-lisp/find-func.el: Don't require loadhist.

1249 1250 1251 1252
	* loadhist.el (feature-symbols, file-provides, file-requires)
	(file-set-intersect, file-dependents): Simplify.
	(unload-feature-special-hooks): Update list of special hooks.

1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265
2007-10-17  Tassilo Horn  <tassilo@member.fsf.org>

	* bindings.el (completion-ignored-extensions): Remove pdf and dvi
	extensions since they can be viewed with doc-view.

	* files.el (auto-mode-alist): Make doc-view-mode the default mode
	for pdf, ps and dvi files.

	* doc-view.el: Make doc-view-mode the standard mode for viewing
	pdf, [e]ps and dvi files and add binding C-c C-c to toggle between
	text and image display.  Add binding C-c C-e to switch to an
	editing mode.
	(doc-view-ghostscript-options, doc-view-ps->pdf): Add "-dSAFER" to
1266
	avoid security problems when rendering files from untrusted sources.
1267

1268 1269 1270 1271 1272
2007-10-17  Aaron Hawley  <aaronh@garden.org>

	* tutorial.el (tutorial--save-tutorial): Display message when tutorial
	position is not saved.

1273 1274 1275 1276 1277
2007-10-17  Reiner Steib  <Reiner.Steib@gmx.de>

	* doc-view.el: Mention xpdf.  Fix spelling of Ghostscript.
	(doc-view-ghostscript-options): Fix typo in doc string.

1278 1279
2007-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>

1280 1281 1282
	* progmodes/compile.el (compilation-next-error-function): Fix timestamp
	handling, so compilation-fake-loc works again.

1283 1284 1285
	* server.el (server-select-display): Nop if we do not support m-f-o-d.
	(server-process-filter): Revert last change.

1286 1287 1288
	* vc.el (vc-diff-sentinel, vc-diff-internal): Revert some change in the
	behavior unrelated to filesets.

1289 1290 1291 1292
2007-10-17  Chong Yidong  <cyd@stupidchicken.com>

	* longlines.el (longlines-wrap-follows-window-size): Integer value
	specifies wrapping margin.
1293 1294
	(longlines-mode, longlines-window-change-function):
	Set window-specific wrapping margin based on the above.
1295

1296 1297 1298 1299
2007-10-17  John Wiegley  <johnw@newartisans.com>

	* eshell/esh-cmd.el (eshell-complex-commands): Add "ls".

1300 1301 1302 1303 1304
2007-10-17  Dan Nicolaescu  <dann@ics.uci.edu>

	* server.el (server-process-filter): Only set display if X11 is
	supported.

1305 1306
2007-10-17  Glenn Morris  <rgm@gnu.org>

1307 1308
	* progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
	Tweak regexp to avoid stack overflow.
1309

1310 1311 1312 1313 1314
2007-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (reindent-then-newline-and-indent): Don't assume that
	indent-according-to-mode preserves point.

1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342
2007-10-16  Juanma Barranquero  <lekktu@gmail.com>

	* bs.el (bs--make-header-match-string, bs-show-in-buffer)
	(bs--nth-wrapper): Simplify.
	(bs-select, bs--insert-one-entry): Simplify.  Use `when'.
	(bs-buffer-list): Simplify.  Use `when'.  Use `string-match-p'.
	(bs-sort-buffer-interns-are-last): Use `string-match-p'.
	(bs-attributes-list, bs-max-window-height, bs-must-always-show-regexp)
	(bs-maximal-buffer-name-column, bs-minimal-buffer-name-column)
	(bs-configurations, bs-default-configuration)
	(bs-alternative-configuration, bs-cycle-configuration-name)
	(bs-string-show-always, bs-string-show-never, bs-string-current)
	(bs-string-current-marked, bs-string-marked, bs-string-show-normally)
	(bs-sort-functions, bs-default-sort-name): Remove * in docstrings.
	(bs--redisplay, bs--goto-current-buffer, bs--current-buffer, bs-delete)
	(bs-apply-sort-faces, bs-next-config-aux): Use `when'.
	(bs--window-config-coming-from): Revert 2006-11-09 change.
	(bs--restore-window-config): Keep the selected frame.
	(bs--track-window-changes, bs--remove-hooks): New functions.
	(bs-mode): Use `define-derived-mode'.  Set hook to track window changes.
	(bs--create-header): Remove.
	(bs--create-header-line): New function, based on `bs--create-header'.
	(bs--show-header): Use `bs--create-header-line'.
	(bs--show-with-configuration): Revert 2006-11-09 change.
	Don't reuse window unless it is visible on the selected frame.
	Restore window configuration (possibly in a different frame)
	before creating any window.

Glenn Morris's avatar
Glenn Morris committed