1 2007-09-22 Juri Linkov <juri@jurta.org>
3 * startup.el (fancy-startup-text, fancy-about-text, fancy-startup-tail):
4 Add help-echo to external links and to links without description.
5 (fancy-splash-insert): Use help-echo from the 3rd element of the
6 link specification list, or "Follow this link" if it's nil. Doc fix.
8 2007-09-22 Juri Linkov <juri@jurta.org>
10 * startup.el (command-line): Rename `inhibit-startup-message' to
11 `inhibit-startup-screen'.
12 (fancy-about-text): Use shorter label for "Ordering Manuals".
13 (fancy-startup-tail): Add optional arg `concise'. When `concise'
14 is nil, display a line with "To start..." and 3 links to useful
15 tasks. Display the "Dismiss" button and "Don't show this message
16 again" only when concise is non-nil.
17 (fancy-startup-screen): Call `fancy-startup-tail' with optional
18 arg `concise'. If CONCISE is non-nil, display a concise version
19 of the splash screen in another window. Otherwise, switch to the
20 startup buffer in the same window.
21 (startup-echo-area-message): Change displayed binding from
22 C-h C-p (describe-project) to C-h C-a (about-emacs), and change
23 text "about the GNU system and GNU/Linux" to "about GNU Emacs and
25 (display-startup-screen): Fix buffer name from "*About GNU Emacs*"
27 (display-about-screen): Don't check the existence of the buffer
29 (display-splash-screen): Make alias to `display-startup-screen'.
30 (command-line-1): Rename `inhibit-startup-message' to
31 `inhibit-startup-screen'. Inhibit startup screen when Emacs is
32 started with command line options "-f", "-funcall", "-e", "-eval",
33 "-execute", "-insert", "-find-file", "-file", "-visit".
34 Inhibit startup screen when Emacs is started with a file name only
35 on tty (i.e. don't inhibit it when started with a file name like
36 "emacs FILE..." on a window system).
37 (command-line-1): Simplify logic of displaying the startup screen:
38 if file-count > 0, then display the concise version in another
39 window, otherwise display full version in the same window.
41 * help.el (help-map): Bind C-h C-a to about-emacs.
42 (help-for-help-internal): Add C-a description to C-h help text.
44 2007-09-22 Dan Nicolaescu <dann@ics.uci.edu>
46 * emacs-lisp/checkdoc.el (checkdoc-force-docstrings-flag)
47 (checkdoc-permit-comma-termination-flag): Autoload the
48 safe-local-variable setting.
50 * bookmark.el (bookmark-xemacsp): Remove.
51 (bookmark-make): Don't use bookmark-xemacsp, use
52 (featurep 'xemacs) instead.
54 * speedbar.el (speedbar-frame-mode)
55 (speedbar-frame-reposition-smartly)
56 (speedbar-set-mode-line-format, speedbar-reconfigure-keymaps)
57 (speedbar-check-vc): Remove use of non-existent variable
58 dframe-xemacsp, use (featurep 'xemacs) instead.
60 * indent.el (indent-for-tab-command): Indent the region if
61 transient-mark-mode and the region is active.
63 2007-09-21 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
65 * progmodes/octave-inf.el (inferior-octave-mode): Use add-hook to
66 add inferior-octave-directory-tracker to the buffer-local value
67 of comint-input-filter-functions.
69 2007-09-21 Dan Nicolaescu <dann@ics.uci.edu>
71 * xt-mouse.el (xterm-mouse-mode): Re-enable suspend-tty-functions.
73 2007-09-21 Juanma Barranquero <lekktu@gmail.com>
75 * frame.el (suspend-frame): Call `iconify-or-deiconify-frame' also
78 2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
80 * startup.el (normal-top-level): Remove DISPLAY from
81 process-environment to let it be computed dynamically in callproc.c.
83 * frame.el (frame-initialize, make-frame):
84 * faces.el (tty-set-up-initial-frame-faces):
85 * env.el (setenv): Don't set display-environment-variable.
87 * server.el (server-getenv-from): Remove. Use getenv-internal instead.
88 (server-create-tty-frame): Don't set unused `tty' property.
89 Set `display' instead of display-environment-variable.
90 (server-create-window-system-frame): No display-environment-variable.
92 2007-09-21 Michael Albinus <michael.albinus@gmx.de>
94 * rfn-eshadow.el (rfn-eshadow-setup-minibuffer-hook)
95 (rfn-eshadow-update-overlay-hook): New defvars.
96 (rfn-eshadow-setup-minibuffer, rfn-eshadow-update-overlay):
99 * net/tramp.el (tramp-rfn-eshadow-overlay): New defvar.
100 (tramp-rfn-eshadow-setup-minibuffer)
101 (tramp-rfn-eshadow-update-overlay): New defuns. Hook into
104 * net/tramp-smb.el (tramp-smb-errors): Add error message for call
107 2007-09-21 Glenn Morris <rgm@gnu.org>
109 * obsolete/sun-fns.el (emacs-quit-menu): Remove emacstool-related code.
110 * term/sun-mouse.el (suspend-emacstool): Remove.
111 * term/sun.el: Remove emacstool-related code.
113 * emacs-lisp/bytecomp.el (byte-compile-warnings)
114 (byte-compile-warnings-safe-p): Add `mapcar'.
115 (byte-compile-warning-types): Add mapcar and make-local.
116 (byte-compile-normal-call): Add option to suppress mapcar warning.
117 (top-level): Use mapc rather than mapcar in eval-when-compile.
119 * textmodes/tex-mode.el (tex-validate-region): Handle escaped parens.
120 (tex-next-unmatched-eparen, tex-last-unended-eparen): New functions.
121 (latex-forward-sexp-1, latex-backward-sexp-1): Doc fix.
122 Handle escaped parens.
123 (latex-forward-sexp): Doc fix.
125 * eshell/esh-mode.el (eshell-output-filter-functions): Add
126 eshell-postoutput-scroll-to-bottom.
128 * loadup.el: Remove termdev.
130 * progmodes/fortran.el (fortran-mode-abbrev-table, fortran-line-length):
131 * progmodes/f90.el (f90-mode-abbrev-table): Use mapc rather than mapcar.
133 2007-09-21 Markus Triska <markus.triska@gmx.at>
135 * emacs-lisp/bytecomp.el (byte-compile-normal-call): Warn when
136 `mapcar' is called for effect.
138 2007-09-21 Kevin Ryde <user42@zip.com.au>
140 * international/mule.el (sgml-html-meta-auto-coding-function):
141 Bind `case-fold-search' to t.
143 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
145 * termdev.el: Remove.
147 * frame.el (get-device-terminal): New function. Moved from termdev.el.
148 (frames-on-display-list): Use it.
150 * bindings.el: Bind C-z to suspend-frame instead of suspend-emacs.
152 * termdev.el (terminal-id): Ask terminal-live-p before giving up.
154 2007-09-20 Richard Stallman <rms@gnu.org>
156 * newcomment.el (comment-add): If EXTRA, double `comment-add' value.
158 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
160 * add-log.el (add-log-current-defun): Fix thinko w.r.t derived-mode-p.
162 2007-09-20 Glenn Morris <rgm@gnu.org>
164 * textmodes/tex-mode.el (tex-validate-buffer): Use paragraph
165 motion functions, rather than hard-coding "\n\n".
166 (tex-validate-region): Check for eobp, to speed up.
167 (tex-next-unmatched-end): Doc fix.
169 2007-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
171 * files.el (auto-mode-alist): Use archive-mode for .rar files.
173 * international/mule.el (auto-coding-alist): Rar archives are binary.
175 * arc-mode.el: Add basic support for Rar.
176 (archive-find-type): Recognize Rar's signature.
177 (archive-desummarize): New fun.
178 (archive-summarize): Use it to restore the buffer's data in case
179 someone wants to switch to some other major mode.
180 (archive-resummarize): Use it as well.
181 (archive-rar-summarize, archive-rar-extract): New functions.
183 * filesets.el: Remove spurious * in docstrings.
184 (filesets-running-xemacs): Remove. Use (featurep 'xemacs) instead.
185 (filesets-conditional-sort): Remove unused arg `simply-do-it'.
186 (filesets-ingroup-collect): Remove unused arg `depth'.
187 (filesets-update): Remove unused arg `version'.
189 * finder.el (finder-compile-keywords): Fix up comment style.
190 (finder-mouse-face-on-line): previous-line -> forward-line.
192 * recentf.el: Remove spurious * in docstrings.
193 (recentf-save-list): Fix up comment style.
195 * progmodes/octave-mod.el: Remove spurious * in docstrings.
196 (octave-mode-map): Move init into declaration and remove \t binding.
197 (octave-mode-startup-message): Remove unused var.
198 (octave-scan-blocks): Remove unused arg `from'.
199 (octave-forward-block, octave-down-block, octave-up-block):
202 * progmodes/meta-mode.el (meta-mode-syntax-table): Move init into decl.
203 (meta-mode-map): Likewise and remove \t binding.
205 * net/snmp-mode.el: Remove spurious * in docstrings.
206 (snmp-rfc1155-types, snmp-rfc1213-types, snmp-rfc1902-types)
207 (snmp-rfc1903-types, snmp-rfc1155-access, snmp-rfc1902-access)
208 (snmp-rfc1212-status, snmp-rfc1902-status): Remove list wrappers now
209 that completion accepts lists of strings.
210 (snmp-mode-syntax-table): Move initialization into declaration.
211 (snmp-mode-map): Likewise and remove \t binding.
212 (snmp-common-mode): Set tab-always-indent according to snmp-t-a-i.
213 (snmp-indent-line, snmp-mode-imenu-create-index): Remove unused var.
214 (snmp-indent-command): Remove.
216 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Use the default TAB
217 binding, so tab-always-indent works right.
219 2007-09-19 Johannes Weiner <hannes@saeurebad.de>
221 * net/browse-url.el (browse-url-elinks-new-window): New function.
222 (browse-url-elinks): Use browse-url-elinks-new-window.
223 Accept optional second argument `new-window'. Fix typo in doc-string.
224 (browse-url-elinks-sentinel): Use browse-url-elinks-new-window.
225 Improve error message.
227 2007-09-19 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
229 * net/browse-url.el (browse-url-url-encode-chars): Use the right
230 parameter name in the function body.
231 Reported by Johannes Weiner.
233 2007-09-19 Glenn Morris <rgm@gnu.org>
235 * net/socks.el (socks-open-network-stream): Signal an explicit
236 error if the port associated with a service string can't be found.
238 * textmodes/tex-mode.el (tex-terminate-paragraph):
239 Use backward-paragraph.
241 2007-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
243 * server.el (server-running-p): New function.
245 2007-09-18 Jason Rumney <jasonr@gnu.org>
247 * term/w32-win.el (w32-focus-frame): Make obsolete alias for
250 * frame.el (select-frame-set-input-focus, select-frame-by-name):
251 Use x-focus-frame for w32.
253 2007-09-17 David Kastrup <dak@gnu.org>
255 * textmodes/tex-mode.el (tex-verbatim-environments):
256 Eliminate CL dependency.
258 2007-09-17 Richard Stallman <rms@gnu.org>
260 * newcomment.el (comment-add): New arg EXTRA.
261 (comment-region-default): Pass EXTRA if not indenting lines.
263 2007-09-17 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
265 * net/browse-url.el (browse-url-url-encode-chars): New function.
266 URL-encode some chars in a string.
267 (browse-url-encode-url): Rewrite using the previous function.
268 (browse-url-file-url): Use `browse-url-url-encode-chars'.
269 (browse-url-elinks-sentinel): Fix typo.
270 (browse-url-new-window-flag): Doc change.
272 2007-09-17 Glenn Morris <rgm@gnu.org>
274 * textmodes/tex-mode.el (tex-compilation-parse-errors): Prefer the
275 filename from `--file-line-error', if it is available.
277 2007-09-17 Joe Wells <jbw@macs.hw.ac.uk> (tiny change)
279 * textmodes/tex-mode.el (tex-compilation-parse-errors): Also match
280 TeX `--file-line-error' format.
282 2007-09-17 Dan Nicolaescu <dann@ics.uci.edu>
284 * xt-mouse.el: Delete add-hook calls that were moved to
286 (xterm-mouse-mode): Disable resume-tty-functions, explain why it
289 2007-09-17 Richard Stallman <rms@gnu.org>
291 * cus-face.el (custom-theme-set-faces): Undo previous change.
293 * faces.el (face-spec-set): When FRAME nil, look up each frame in SPEC.
295 2007-09-17 Glenn Morris <rgm@gnu.org>
297 * textmodes/tex-mode.el (tex-region): Simplify previous change,
298 handling the case where the region is not in `tex-main-file'.
299 (tex-region-1): Delete.
300 (tex-region-header): New function, doing the header part of the
303 2007-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
305 * simple.el (newline): Simplify use of prefix-numeric-value.
306 (line-move-partial): Remove unused var `ppos'.
307 (line-move-1): Replace 9999 with most-positive-fixnum.
308 (move-end-of-line): Use more efficient single-property search.
309 (move-beginning-of-line): Remove unused var `start'.
310 (blink-matching-open): Restructure in a more functional style.
312 2007-09-16 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
314 * calendar/holidays.el (list-holidays): Remove the cyclic alias.
316 2007-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
318 * server.el (server-clients): Only keep procs, no properties any more.
319 (server-client): Remove.
320 (server-client-get, server-client-set): Remove, replace all callers by
321 process-get and process-put resp.
322 (server-clients-with, server-add-client, server-delete-client)
323 (server-create-tty-frame, server-create-window-system-frame)
324 (server-process-filter, server-execute, server-visit-files)
325 (server-buffer-done, server-kill-buffer-query-function)
326 (server-kill-emacs-query-function, server-switch-buffer)
327 (server-save-buffers-kill-terminal): Update accordingly.
329 * server.el (server-with-environment): Simplify.
330 (server-select-display, server-unselect-display): Re-add functions that
331 seem to have been lost in the multi-tty merge.
332 (server-eval-and-print, server-create-tty-frame)
333 (server-create-window-system-frame, server-goto-toplevel)
334 (server-execute, server-return-error): New functions extracted from
335 server-process-filter.
336 (server-execute-continuation): New functions.
337 (server-process-filter): Restructure so that all arguments are analysed
338 first and then acted upon in a subsequent stage. This way
339 server-goto-toplevel can be executed later, when we know if
341 Remove the "-version" and "-version-good" support.
343 2007-09-16 Drew Adams <drew.adams@oracle.com>
345 * cus-edit (custom-face-edit-activate): Doc fix.
347 2007-09-16 Glenn Morris <rgm@gnu.org>
349 * calendar/cal-menu.el, calendar/calendar.el, calendar/diary-lib.el:
350 Following cal-bahai renaming, update all instances of
351 list-bahai-diary-entries to diary-bahai-list-entries,
352 mark-bahai-diary-entries to diary-bahai-mark-entries,
353 calendar-goto-bahai-date to calendar-bahai-goto-date,
354 insert-bahai-diary-entry to diary-bahai-insert-entry,
355 insert-monthly-bahai-diary-entry to diary-bahai-insert-monthly-entry,
356 insert-yearly-bahai-diary-entry to diary-bahai-insert-yearly-entry, and
357 calendar-print-bahai-date to calendar-bahai-print-date.
359 * textmodes/tex-mode.el (tex-region): Handle the case where the
360 region is not in `tex-main-file'. Move the old code that applies
362 (tex-region-1): ...to this new function.
364 2007-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
366 * vc.el (vc-process-sentinel): New function.
367 (vc-exec-after): Use it instead of using ugly hackish analysis and
368 construction of Elisp code.
369 (vc-sentinel-movepoint): New dynamically scoped var.
370 (vc-print-log, vc-annotate): Set it to move the user's point.
372 * vc-cvs.el (vc-cvs-annotate-time): Use inhibit-read-only and
373 inhibit-modification-hooks.
375 * calendar/cal-bahai.el (mark-bahai-diary-entries): Fix up typo.
376 (calendar-bahai-print-date, calendar-bahai-goto-date)
377 (diary-bahai-list-entries, diary-bahai-insert-entry):
378 New names to clean up the namespace a bit more.
379 (calendar-goto-bahai-date, calendar-print-bahai-date): Compat aliases.
381 2007-09-15 Glenn Morris <rgm@gnu.org>
383 * calendar/holidays.el (holiday-list): Rename it back to
384 `list-holidays', but leave `holiday-list' as an alias.
386 * textmodes/bibtex-style.el (bibtex-style-indent-basic): Specify a
389 * textmodes/css-mode.el (css): New custom group.
390 (css-electrick-keys, css-selector, css-property)
391 (css-indent-offset): Specify custom group.
393 2007-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
395 * pcvs.el (cvs-tags-list, cvs-retrieve-revision, cvs-find-modif)
396 (cvs-execute-single-file): Use process-file.
397 (cvs-run-process): Use start-file-process.
399 2007-09-15 Dan Nicolaescu <dann@ics.uci.edu>
401 * xt-mouse.el (xterm-mouse-mode): Add hooks here not at the top
402 level. Remove the hooks when turning off the mode.
404 * term/xterm.el: Require xt-mouse at compile time.
405 (terminal-init-xterm): Turn on xterm mouse tracking for this
406 terminal if xterm-mouse-mode is enabled.
408 2007-09-14 Dan Nicolaescu <dann@ics.uci.edu>
410 * term/xterm.el (xterm-function-map): Replace bindings that were
411 deleted by the merge.
413 2007-09-14 Ulf Jasper <ulf.jasper@web.de>
415 * play/bubbles.el (bubbles-version): Bump value to "0.5".
416 (bubbles-mode-map): Move define-key statements here.
417 (bubbles-game-theme-menu): Ditto.
418 (bubbles-graphics-theme-menu): Ditto.
419 (bubbles-menu): Ditto.
420 (bubbles-mode): Initialize buffer-undo-list, redisplay.
421 (bubbles--initialize): Reset buffer-undo-list, redisplay.
422 (bubbles-plop): Set buffer-undo-list, redisplay.
423 (bubbles-undo): Reset buffer-undo-list, redisplay.
424 (bubbles--show-images): Take care of missing text properties.
426 2007-09-14 Glenn Morris <rgm@gnu.org>
428 * startup.el (fancy-startup-text, fancy-about-text): Fix face
431 * calendar/cal-hebrew.el, calendar/cal-menu.el
432 * calendar/calendar.el, calendar/diary-lib.el
433 * calendar/holidays.el: Rename all instances of
434 list-calendar-holidays callers to calendar-list-holidays,
435 list-holidays to holiday-list, check-calendar-holidays to
436 calendar-check-holidays, mark-calendar-holidays to
437 calendar-mark-holidays, and filter-visible-calendar-holidays to
438 holiday-filter-visible-calendar.
440 2007-09-14 Dan Nicolaescu <dann@ics.uci.edu>
442 * term/xterm.el (xterm-function-map): Add C-M- bindings.
444 2007-09-13 Sascha Wilde <wilde@sha-bang.de> (tiny change)
446 * play/bubbles.el (bubbles--initialize-images): Fix bug:
447 Use transparent background for empty cells in graphics mode.
449 2007-09-13 Jari Aalto <jari.aalto@cante.net>
451 * man.el (Man-default-man-entry): At end of line, continue looking
452 to the next line for possible end of hyphenated command.
454 2007-09-13 Chris Moore <dooglus@gmail.com>
456 * shell.el (shell-resync-dirs): Don't move the cursor relative to
457 the command being edited.
459 2007-09-12 Jim Meyering <jim@meyering.net> (tiny change)
461 * emacs-lisp/copyright.el (copyright-names-regexp): Doc fix: typo.
463 2007-09-12 Dan Nicolaescu <dann@ics.uci.edu>
465 * term/xterm.el (xterm-function-map): Add bindings for M-S- and
468 * term/rxvt.el (rxvt-function-map): Initialize in the declaration.
470 2007-09-12 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
472 * net/browse-url.el (browse-url-encode-url): Fix an infinite loop.
473 New argument `filename-p' to use one set of confusing chars or another.
474 (browse-url-file-url): Use the argument.
475 Suggested by Johannes Weiner.
477 2007-09-12 Romain Francoise <romain@orebokech.com>
479 * cus-start.el (all): Revert 2007-09-08 change.
481 2007-09-12 Aaron Hawley <aaronh@garden.org>
483 * jka-cmpr-hook.el (jka-compr-compression-info-list): Use gzip to
484 extract .Z files, since it is more common than uncompress.
486 2007-09-12 Glenn Morris <rgm@gnu.org>
488 * textmodes/org-publish.el (org-publish-org-to-html): Remove
489 duplicate function definition.
491 2007-09-10 Chris Moore <dooglus@gmail.com>
493 * diff-mode.el (diff-sanity-check-hunk):
494 Also accept single-line hunks.
496 2007-09-10 Chong Yidong <cyd@stupidchicken.com>
498 * startup.el (startup-screen-inhibit-startup-screen)
499 (pure-space-overflow-message): New vars.
500 (fancy-splash-insert): Allow functions for face and link specs.
501 (fancy-splash-head): Remove unused arg. Move splash text...
502 (fancy-startup-text, fancy-about-text): ...here.
503 (fancy-startup-tail): Rename from fancy-splash-tail.
504 (fancy-startup-screen, fancy-about-screen): Split off from
505 fancy-splash-screens.
506 (display-startup-screen): New function.
507 (display-about-screen): Rename from display-splash-screen.
508 (command-line-1): Use concise startup screen if necessary.
510 2007-09-10 Thien-Thi Nguyen <ttn@gnuvola.org>
512 * net/browse-url.el (browse-url-encode-url): Use copy-sequence.
513 Reported by Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>.
515 2007-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
517 * progmodes/python.el: Merge changes from Dave Love's v2007-Sep-10.
518 (python-font-lock-keywords): Update to the 2.5 version of the language.
519 (python-quote-syntax): Let-bind font-lock-syntactic-keywords to nil.
520 (python-backspace): Only behave funny in code.
521 (python-compilation-regexp-alist): Add PDB stack trace regexp.
522 (inferior-python-mode): Add PDB prompt regexp.
523 (python-fill-paragraph): Refine the fenced-string regexp.
524 (python-find-imports): Handle imports spanning several lines.
525 (python-mode): Add `class' to hideshow support.
527 2007-09-10 Dave Love <fx@gnu.org>
530 * outline.el (outline-4, outline-5, outline-7):
531 Move font-lock-builtin-face down from 4 to 7 to better keep the
532 progression of color brightness, and to better match Org-mode's faces.
534 2007-09-10 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
536 * progmodes/meta-mode.el (meta-font-lock-keywords)
537 (font-lock-match-meta-declaration-item-and-skip-to-next)
538 (meta-comment-indent, meta-indent-previous-line)
539 (meta-indent-unfinished-line, meta-beginning-of-defun)
540 (meta-end-of-defun, meta-common-initialization): Handle \f.
541 (meta-indent-unfinished-line): Do not handle a `%' in a string as
544 * files.el (file-modes-char-to-who, file-modes-char-to-right)
545 (file-modes-rights-to-number): Auxiliary functions for symbolic to
546 numeric notation of file modes.
547 (file-modes-symbolic-to-number): New. Convert symbolic modes to its
549 (read-file-modes): New. Read either an octal value of a file mode or a
550 symbolic value, and return its numeric value.
552 * dired-aux.el (dired-do-chmod): Change to use the built-in
553 `set-file-modes' and the previous symbolic mode parsing functions.
555 2007-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
557 * textmodes/texinfo.el: Remove spurious * in docstrings.
558 (texinfo-mode-syntax-table, texinfo-mode-map):
559 Initialize in the declaration.
561 * tmm.el: Remove spurious * in docstrings.
562 (tmm-prompt): Use with-current-buffer.
564 * vcursor.el: Remove spurious * in docstrings.
565 (vcursor-map): Initialize in the declaration.
566 (vcursor-use-vcursor-map): Use define-minor-mode.
567 (vcursor-toggle-vcursor-map): Keep as an obsolete alias.
569 * wid-browse.el (widget-browse-mode-map, widget-minor-mode-map):
570 Initialize in the declaration.
571 (widget-minor-mode): Use define-minor-mode.
573 * woman.el (woman-mode-map, woman-syntax-table):
574 Initialize in the declaration.
576 2007-09-09 Tassilo Horn <tassilo@member.fsf.org>
578 * doc-view.el: New file.
580 2007-09-09 Juri Linkov <juri@jurta.org>
582 * Makefile.in (update-authors): Add etc/ to AUTHORS.
584 * makefile.w32-in (update-authors): Add etc/ to AUTHORS.
586 * startup.el (initial-buffer-choice): Rename choice "Splash screen"
587 to "Startup screen". Fix docstring.
588 (inhibit-startup-screen): Rename from `inhibit-splash-screen'.
589 (inhibit-splash-screen): Make alias to `inhibit-startup-screen'.
590 (inhibit-startup-message): Change alias to `inhibit-startup-screen'.
591 (initial-scratch-message): Fix docstring.
592 (fancy-startup-text): Move link to Emacs Manual below Emacs Guided
593 Tour (which is a kind of tutorial and will be next to Emacs Tutorial).
594 Add link to "Customize Startup" and set interval between links to
596 (fancy-about-text): Add links "Authors" and "Contributing".
597 (fancy-splash-head): Add text "Welcome to " on the startup screen,
598 and "This is " on the about screen. Add link to
599 "http://www.gnu.org/software/emacs/" for "GNU Emacs".
600 For the about screen move emacs version to the header from
601 `fancy-splash-tail' (as it's done already for normal about screen).
602 (fancy-splash-tail): Insert emacs version only for startup screen.
603 (normal-splash-screen): Remove duplicate empty lines.
604 (normal-about-screen): Add links "Authors" and "Contributing".
606 * menu-bar.el (menu-bar-help-menu):
607 Move "About Emacs" and "About GNU" to the end of the Help menu.
608 Move "Emacs Psychotherapist" after "Send Bug Report...".
609 Move "External Packages" after "Find Emacs Packages".
611 2007-09-09 Michael Albinus <michael.albinus@gmx.de>
613 * net/tramp.el (top): Remove declarations of `tramp-gw-*' symbols,
614 they are useless with the byte compiler.
615 (tramp-make-temp-file, tramp-make-tramp-temp-file): Move up.
616 (tramp-do-copy-or-rename-file-directly): Rearrange let-bindings.
617 (tramp-compute-multi-hops): Mask `tramp-gw-*' symbols.
618 (tramp-file-name-real-host, tramp-file-name-port)
619 (tramp-find-method, tramp-find-user, tramp-find-host): Make them
622 * net/tramp-cache.el (top): Improve error message when
623 `tramp-persistency-file-name' is corrupted.
625 2007-09-09 Carsten Dominik <dominik@science.uva.nl>
627 * textmodes/org.el (org-re): Also replace the :alpha: class.
628 (org-todo-tag-alist): Variable removed.
629 (org-todo-key-alist, org-todo-key-trigger) New variables.
630 (org-use-fast-todo-selection): New option.
631 (org-log-done): Docstring fixed.
632 (org-deadline-warning-days): New default value 14.
633 (org-edit-timestamp-down-means-later) New option.
634 (org-tag-alist): Docstring fixed.
635 (org-fast-tag-selection-include-todo): New option.
636 (org-export-language-setup): New languages added.
637 (org-set-regexps-and-options): Compute the new variables.
638 (org-paste-subtree): Cleaning up.
639 (org-remember-apply-template): New escape %A.
640 (org-todo): Call fast TODO selection.
641 (org-fast-todo-selection): New function.
642 (org-add-log-note): Allow prefix for abort exit.
643 (org-at-property-p, org-entry-properties)
644 (org-columns-get-autowidth-alist): Use :alpha: class.
645 (org-get-wdays): New function.
646 (org-agenda-remove-date): New variable.
647 (org-agenda-get-deadlines): Use `org-get-wdays'.
648 (org-agenda-get-deadlines): Reverse ee before returning.
649 (org-format-agenda-item): New argument REMOVE-RE.
650 (org-agenda-convert-date): Baha'i calendar added.
651 (org-infile-export-plist): Also find DATE line.
652 (org-get-min-level): New function.
653 (org-export-as-html, org-export-as-ascii): Use the date format.
654 (org-shiftup, org-shiftdown): Use.
655 `org-edit-timestamp-down-means-later'.
656 (org-assign-fast-keys): New function.
658 2007-09-08 Fredrik Axelsson <f.axelsson@gmail.com>
660 * cus-start.el (all): Add prefer-window-split-horizontally from
663 2007-09-08 Eli Zaretskii <eliz@gnu.org>
665 * net/browse-url.el (browse-url-galeon): Fix last change.
666 (top-level): Require cl when compiling.
668 2007-09-08 Carsten Dominik <dominik@science.uva.nl>
670 * textmodes/org-export-latex.el: arch-tag restored.
672 * textmodes/org-publish.el: arch-tag restored.
674 2007-09-08 Masatake YAMATO <jet@gyve.org>
676 * progmodes/which-func.el (which-func-modes): Add diff-mode.
678 * progmodes/cc-langs.el: Support new keywords added to
679 objective-c frontend of gcc.
680 (c-simple-stmt-kwds): Add @throw.
681 (c-block-stmt-2-kwds): Add @synchronized.
682 (c-block-stmt-1-kwds): Add @finally and @try.
684 2007-09-07 Carsten Dominik <dominik@science.uva.nl>
686 * textmodes/org.el (org-edit-timestamp-down-means-later): New option.
687 (org-agenda-after-show-hook): New variable.
688 (org-columns-compile-format)
689 (org-columns-get-autowidth-alist, org-buffer-property-keys)
690 (org-entry-properties, org-at-property-p): Allow [:alnum:] in
692 (org-get-wdays): New function.
694 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
696 * simple.el (normal-erase-is-backspace-setup-frame): Massage.
698 * term/xterm.el (xterm-function-map): Initialize in the declaration.
700 * vc-arch.el (vc-arch-checkin): Fix typo.
702 2007-09-07 Johan Bockg
\e,Ae
\e(Brd <bojohan@gnu.org>
704 * cus-face.el (custom-theme-set-faces): Set face attributes
705 locally for each frame.
707 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
709 * progmodes/fortran.el (fortran-mode): Set font-lock-syntactic-keywords
710 via font-lock-defaults.
712 * emacs-lisp/bytecomp.el (byte-compile-log-file): Check major-mode via
715 2007-09-07 Thien-Thi Nguyen <ttn@gnuvola.org>
717 * progmodes/autoconf.el (autoconf-definition-regexp):
718 Handle optional square brackets around definition name.
720 2007-09-07 Johannes Weiner <hannes@saeurebad.de>
722 * net/browse-url.el (browse-url-browser-function): Add elinks.
723 (browse-url-elinks-wrapper): New option.
724 (browse-url-encode-url, browse-url-elinks)
725 (browse-url-elinks-sentinel): New functions.
726 (browse-url-file-url, browse-url-netscape, browse-url-mozilla)
727 (browse-url-firefox, browse-url-galeon, browse-url-epiphany):
728 Use new function browse-url-encode-url.
730 2007-09-07 Glenn Morris <rgm@gnu.org>
732 * version.el (emacs-version): Revert 2007-08-29 change: no need to
733 say if multi-tty is present.
735 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
737 * cus-start.el (split-window-preferred-function): Add custom info.
739 * calendar/holidays.el (holiday-list, calendar-check-holidays)
740 (calendar-mark-holidays, calendar-list-holidays)
741 (holiday-filter-visible-calendar): New names to clean up namespace.
742 (filter-visible-calendar-holidays, list-calendar-holidays)
743 (mark-calendar-holidays, check-calendar-holidays, list-holidays):
744 Add compatibility aliases.
745 (calendar-check-holidays, calendar-mark-holidays)
746 (calendar-holiday-list, holiday-filter-visible-calendar): Use dolist.
747 (holiday-sexp): Replace append with list.
748 (holiday-filter-visible-calendar): Replace append with push.
750 * woman.el: Remove spurious * in docstrings.
751 (woman-mini-help, woman-non-underline-faces, woman0-rename)
752 (woman-topic-all-completions-merge, woman-file-name-all-completions)
753 (woman-select-symbol-fonts, woman-expand-directory-path): Use dolist.
754 (woman-write-directory-cache, woman-display-extended-fonts)
755 (WoMan-log-begin, WoMan-log-1): Use with-current-buffer.
756 (woman-really-find-file): Use pop-to-buffer if switch-to-buffer fails.
757 (woman-mode): Use inhibit-read-only.
758 (woman-negative-vertical-space): Use dotimes.
759 (woman2-tagged-paragraph, woman-tab-to-tab-stop): Use insert-char.
761 2007-09-06 Romain Francoise <romain@orebokech.com>
763 * vc-bzr.el (vc-bzr-admin-lastrev): New defconst.
764 (vc-bzr-workfile-version): Use it.
766 2007-09-06 Sean O'Rourke <sorourke@cs.ucsd.edu>
768 * complete.el (PC-do-completion): Don't try to treat
769 empty string as an abbreviation.
771 2007-09-06 Johan Bockg
\e,Ae
\e(Brd <bojohan@dd.chalmers.se>
773 * help-fns.el (describe-variable): Keep doc's text properties.
775 2007-09-06 Dan Nicolaescu <dann@ics.uci.edu>
777 * vc.el (vc-default-diff-tree): Pass a list to the diff vc command
780 2007-09-06 Glenn Morris <rgm@gnu.org>
782 * emacs-lisp/checkdoc.el (checkdoc-minor-mode-string): New.
783 (checkdoc-minor-mode): Allow user to specify lighter via
784 checkdoc-minor-mode-string.
786 2007-09-05 Richard Stallman <rms@gnu.org>
788 * startup.el (fancy-startup-text): Rename from fancy-splash-text.
789 Several items removed, simplified, or put on one line.
790 (fancy-about-text): Add substantial contents, part of startup text.
791 (fancy-splash-head): Make "GNU" or "GNU/Linux" a link.
792 (normal-splash-screen): Call normal-mouse-startup-screen,
793 normal-no-mouse-startup-screen, or normal-about-screen.
794 (normal-mouse-startup-screen): New fn, broken out, shortened.
795 (normal-no-mouse-startup-screen): New fn, broken out.
796 (normal-about-screen): New function, contents all new.
798 2007-09-05 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
800 * emacs-lisp/rx.el (rx): Fix typo in docstring.
802 2007-09-05 Glenn Morris <rgm@gnu.org>
804 * cus-edit.el (custom-buffer-create-internal): Check tool-bar-mode
807 2007-09-05 Johan Bockg
\e,Ae
\e(Brd <bojohan@dd.chalmers.se>
809 * emacs-lisp/advice.el (ad-make-advised-docstring): Highlight note
812 2007-09-04 Dan Nicolaescu <dann@ics.uci.edu>
814 * server.el (server-start, server-unload-hook): Undo previous change.
816 * xt-mouse.el: Undo previous change.
818 2007-09-04 Juri Linkov <juri@jurta.org>
820 * startup.el (fancy-about-text): New variable.
821 (fancy-splash-delay, fancy-splash-max-time): Remove user options.
822 (fancy-current-text, fancy-splash-stop-time)
823 (fancy-splash-outer-buffer): Remove variables.
824 (fancy-splash-head, fancy-splash-tail): Add new optional argument
825 `startup' and use it to conditionally display different texts for
826 Startup and About screens. Don't display Help commands on the About
828 (fancy-splash-screens-1): Remove function and move its content to
829 `fancy-splash-screens' to the part that dislpays the About screen.
830 (exit-splash-screen): Don't treat specially exiting from
832 (fancy-splash-screens): Rename argument `static' to `startup'.
833 Fix docstring. Remove code for displaying alternating screens.
834 Use arg `startup' in calls to `fancy-splash-head', `fancy-splash-tail'.
835 Remove let-bind for `fancy-splash-outer-buffer' and add let-bind
836 for `inhibit-read-only'.
837 (normal-splash-screen): Rename argument `static' to `startup'.
838 Fix docstring. Use argument `startup' to conditionally display
839 different texts for Startup and About screens. Don't display Help
840 commands on the About screen. Remove `unwind-protect' `sit-for'
841 delay and `kill-buffer' after it.
842 (display-startup-echo-area-message): Remove call to
843 `use-fancy-splash-screens-p' because image.el is preloaded and
844 doesn't display "Loading image... done".
845 (display-splash-screen): Rename argument `static' to `startup'.
848 2007-09-04 Dan Nicolaescu <dann@ics.uci.edu>
850 * server.el (server-start, server-unload-hook):
851 suspend-tty-functions has been renamed to suspend-tty-hook.
853 * xt-mouse.el: Likewise. resume-tty-functions has been renamed to
856 2007-09-03 Emanuele Giaquinta <e.giaquinta@glauco.it> (tiny change)
858 * loadup.el: Fix merge problem, only load "button" once.
860 2007-09-03 Glenn Morris <rgm@gnu.org>
862 * vc-svn.el (vc-svn-print-log): If there is only one file, use
863 "Working file:" as the prefix, for the sake of
864 log-view-current-file.
866 2007-09-02 Dan Nicolaescu <dann@ics.uci.edu>
868 * term/xterm.el (xterm-modify-other-keys-terminal-list): New variable.
869 (xterm-turn-on-modify-other-keys): Only turn on modify-other-keys
870 if the selected frames is in
871 xterm-modify-other-keys-terminal-list.
872 (xterm-turn-off-modify-other-keys): Add an optional frame
873 parameter. Only turn off modify-other-keys if FRAME is in
874 xterm-modify-other-keys-terminal-list.
875 (xterm-remove-modify-other-keys): New function.
876 (terminal-init-xterm): Use it. Deal with delete-frame hook.
877 Add the selected frame to xterm-modify-other-keys-terminal-list.
879 2007-09-02 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
881 * term/x-win.el (x-gtk-stock-map): Map diropen to system-file-manager.
882 (icon-map-list): New variable.
883 (x-gtk-map-stock): Use icon-map-list.
885 2007-09-02 Romain Francoise <romain@orebokech.com>
887 * log-view.el (log-view-current-file): Balance parens.
889 2007-09-02 Glenn Morris <rgm@gnu.org>
891 * comint.el (comint-mode): Don't set scroll-conservatively.
893 * eshell/em-unix.el (eshell/time): Stringify and flatten the
894 non-command arguments.
896 * log-view.el (log-view-current-file): Give a more explicit error
897 if log-view-file-re fails to find a match.
899 2007-09-01 Thien-Thi Nguyen <ttn@gnuvola.org>
901 * emacs-lisp/bytecomp.el (byte-recompile-directory):
902 Fix bug: Don't expand top-level file name more than once.
903 Reported by Dmitry Antipov <dmantipov@yandex.ru>.
905 2007-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
907 * server.el (server-process-filter): Don't display the splash screen.
908 It's annoying enough on the initial screen and becomes positively
911 2007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
913 * emacs-lisp/avl-tree.el: Use defstruct rather than macros.
914 Change naming to use "avl-tree--" for internal functions.
916 2007-08-31 Dan Nicolaescu <dann@ics.uci.edu>
918 * term/x-win.el (x-menu-bar-open): Delete duplicated function from
920 (global-set-key): Delete f10 mapping, now done in menu-bar.el.
921 (provide): Move to the end of file.
923 * vc-svn.el (vc-svn-diff-tree): Pass a list to vc-svn-diff.
925 2007-08-31 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
927 * textmodes/flyspell.el (flyspell-mark-duplications-exceptions):
928 New variable. List of exceptions for the duplicated word rule.
929 (flyspell-mark-duplications-flag): Mention it.
930 (flyspell-word): Treat it.
932 * files.el (create-file-buffer): If the filename sans directory starts
933 with spaces, remove them.
935 2007-08-31 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
937 * term/x-win.el (x-gtk-stock-map): Add etc/images to keys.
938 (x-gtk-map-stock): Use two directory elements when matching
941 2007-08-31 James Wright <james@chumsley.org>
943 * eshell/em-unix.el (eshell/info): New function.
945 2007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
947 * frame.el (frame-initialize, make-frame):
948 * server.el (server-process-filter):
949 * faces.el (tty-set-up-initial-frame-faces): Don't set
950 term-environment-variable since it's not used any more.
952 * env.el (setenv): Don't treat $TERM specially.
954 * startup.el (normal-top-level): Set $TERM to `dumb' so that unless
955 stated otherwise, subprocesses do not send back escape sequences
956 corresponding to the terminal from which Emacs was started.
958 2007-08-31 Thien-Thi Nguyen <ttn@gnuvola.org>
960 * calculator.el: Require cl for compilation.
962 2007-08-30 Daniel Pfeiffer <occitan@esperanto.org>
964 * outline.el (outline-font-lock-levels): Comment out unused var.
965 (outline-font-lock-face): Wrap around face list to handle any
966 nesting depth gracefully.
968 2007-08-30 Michael Albinus <michael.albinus@gmx.de>
970 * net/ange-ftp.el: Add ange-ftp property to `set-file-modes' and
973 2007-08-30 Carsten Dominik <dominik@science.uva.nl>
975 * textmodes/org.el (org-export-visible): Fix drawers before export.
976 (org-do-sort): Allow sorting by priority.
977 (org-agenda-files): Ignore non-existing files.
978 (org-agenda-skip-unavailable-files): New variable.
979 (org-ellipsis): All a face as value.
980 (org-mode): Interprete the face value of `org-ellipsis'.
981 (org-archive-save-context-info): New option.
982 (org-archive-subtree): Store context info in archived entry.
983 (org-fast-tag-selection-can-set-todo-state): New variable.
984 (org-fast-tag-selection): Allow setting TODO states through this
986 (org-cycle): Docstring updated.
987 (org-todo-keyword-faces): New option.
988 (org-get-todo-face): New function.
989 (org-set-font-lock-defaults, org-agenda-highlight-todo):
990 Use `org-get-todo-face'.
991 (org-switch-to-buffer-other-window): New function.
992 (org-table-edit-field, org-table-show-reference)
993 (org-table-edit-formulas, org-add-log-note)
994 (org-fast-tag-selection, org-agenda, org-prepare-agenda)
995 (org-timeline): Use `org-switch-to-buffer-other-window' instead of
996 `switch-to-buffer-other-window' to make sure that the temporary
997 windows show up on the current frame.
998 (org-mhe-get-message-real-folder, org-batch-store-agenda-views)
999 (org-get-entries-from-diary, org-replace-region-by-html):
1000 Don't allow pop-up frames.
1001 (org-agenda-get-deadlines, org-agenda-get-scheduled):
1002 Fix problems with time-of-day.
1003 (org-export-get-title-from-subtree): New function.
1004 (org-agenda-get-scheduled, org-agenda-get-deadlines): Fix problems
1005 with listing items that are DONE.
1006 (org-change-tag-in-region): New command.
1007 (org-agenda-skip-scheduled-if-done)
1008 (org-agenda-skip-deadline-if-done): Docstring clarified.
1009 (org-mode): Hide drawers on startup.
1010 (org-get-todo-face): New function.
1011 (org-todo-keyword-faces): New option.
1012 (org-set-regexps-and-options): Use `org-remove-keyword-keys'.
1013 (org-remove-keyword-keys): New function.
1015 2007-08-30 Jari Aalto <jari.aalto@cante.net> (tiny change)
1017 * progmodes/grep.el (grep-find-ignored-directories):
1018 Add monotone _MTN bookkeeping directory in workspaces.
1019 Add RCS control directory. List items in alphabetical order.
1021 * progmodes/grep.el (grep-files-aliases): Add cc alias.
1022 Sort items in alphabetical order. Fix parens.
1024 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
1026 * vc-hg.el (vc-hg-extra-menu-map): New variable.
1027 (vc-hg-extra-menu, vc-hg-outgoing, vc-hg-incoming, vc-hg-push)
1028 (vc-hg-pull): New functions.
1029 (vc-hg-outgoing-mode, vc-hg-incoming-mode): New derived modes.
1031 * term/mac-win.el: Don't require url, only autoloaded url
1032 functions are used in this file.
1034 2007-08-29 Andreas Schwab <schwab@suse.de>
1036 * shell.el (shell): Return correct value from interactive spec.
1038 2007-08-29 Glenn Morris <rgm@gnu.org>
1040 * version.el (emacs-version): Increase to 23.0.50.
1042 2007-08-29 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
1044 * term/x-win.el (x-gtk-stock-map): :version changed to 23.1.
1046 2007-08-29 Juri Linkov <juri@jurta.org>
1048 * loadup.el: Add "button" loading after "faces" and move "startup"
1049 to load after "button".
1051 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
1053 * loadup.el: Load term/mac-win on a Mac using Carbon.
1055 * term/mac-win.el: Provide mac-win.
1056 (mac-initialized): New variable.
1057 (mac-initialize-window-system): New function. Move global setup here.
1058 (handle-args-function-alist, frame-creation-function-alist):
1059 (window-system-initialization-alist): Add mac entries.
1060 (x-setup-function-keys): New function containing all the
1061 top level function key definitions.
1063 * term/x-win.el (x-menu-bar-open): Use accelerate-menu.
1065 * env.el (read-envvar-name): Don't consider the environment frame param.
1068 * frame.el (frame-initialize, make-frame):
1069 * faces.el (tty-set-up-initial-frame-faces):
1070 * server.el (server-process-filter): Set
1071 display-environment-variable and term-environment-variable.
1073 * server.el (server-process-filter): Set COLORFGBG and COLORTERM.
1075 2007-08-29 Jason Rumney <jasonr@gnu.org>
1077 * loadup.el: Only load term/x-win when X is compiled in.
1078 Load term/w32-win and dependencies on windows-nt.
1080 * term/w32-win.el: Reorder to match x-win.el more closely.
1081 Provide w32-win. Don't throw error when global window-system not w32.
1082 (internal-face-interactive): Remove obsolete function.
1083 (x-setup-function-keys): Use local-function-key-map.
1084 (w32-initialized): New variable.
1085 (w32-initialize-window-system): Set it.
1086 Move more global setup here.
1087 (x-setup-function-keys): New function.
1088 (w32-initialize-window-system): Move non function key global setup here.
1089 (x-cut-buffer-max): Remove.
1090 (w32-initialize-window-system): New function.
1091 (handle-args-function-alist, frame-creation-function-alist):
1092 (window-system-initialization-alist): Add w32 entries.
1094 2007-08-29 David Kastrup <dak@gnu.org>
1096 * env.el (getenv): Pass frame to getenv-internal.
1098 2007-08-29 Karoly Lorentey <lorentey@elte.hu>
1100 * version.el (emacs-version): Show if multi-tty is present.
1102 * loadup.el: Delay loading env; mule-conf gets confused by cl
1103 during bootstrap. Also load termdev and term/x-win.
1105 * bindings.el (mode-line-client): New variable.
1106 (help-echo): Add it to the default mode-line format.
1108 * cus-start.el: Remove bogus window-system reference from GTK test.
1110 * ebrowse.el (ebrowse-electric-list-mode-map)
1111 (ebrowse-electric-position-mode-map):
1112 * ebuff-menu.el (electric-buffer-menu-mode-map):
1113 * echistory.el (electric-history-map): Bind C-z to `suspend-frame',
1114 not `suspend-emacs'.
1116 * ediff-wind.el (ediff-setup-windows-automatic): New function.
1117 (ediff-window-setup-function): Use it as default.
1119 * files.el (save-buffers-kill-terminal): New function.
1120 (ctl-x-map): Change binding of C-x C-c to save-buffers-kill-terminal.
1122 * font-lock.el (lisp-font-lock-keywords-2): Add `let-environment'
1123 and `with-selected-frame'.
1125 * help-fns.el (describe-variable): Describe frame-local variables
1128 * simple.el (normal-erase-is-backspace-mode): Rewrite for multiple
1130 (normal-erase-is-backspace-setup-frame): New function.
1132 * subr.el (with-selected-frame): New function.
1133 (read-quoted-char): Use terminal-local binding of
1134 local-function-key-map instead of function-key-map.
1136 * talk.el (talk): New function.
1137 (talk-handle-delete-frame): New function.
1138 (talk-add-display): Open a new frame only if FRAME was not a frame.
1140 * termdev.el: New file.
1142 * menu-bar.el (menu-bar-open): New function. Bind it to f10.
1143 * term/x-win.el: Don't bind f10.
1144 * tmm.el: Remove autoload binding for f10.
1146 * international/encoded-kb.el (encoded-kbd-setup-display): Use
1147 `set-input-meta-mode'. Fix broken condition before set-input-mode.
1148 Store the saved input method as a terminal parameter. Add keymap
1149 parameter. Use it instead of changing key-translation-map directly.
1150 (saved-key-translation-map, encoded-kbd-mode, saved-input-mode):
1152 (encoded-kbd-setup-display): New function.
1154 * international/mule-cmds.el (set-locale-environment): Fix getenv
1155 call. Use save-buffers-kill-terminal. Ignore window-system; always
1156 set the keyboard coding system. Add DISPLAY parameter.
1157 (set-display-table-and-terminal-coding-system): Add DISPLAY
1158 parameter. Pass it to set-terminal-coding-system.
1160 * international/mule.el (keyboard-coding-system): Test for
1161 encoded-kbd-setup-display, not encoded-kbd-mode.
1162 (set-terminal-coding-system, set-keyboard-coding-system): Add
1164 (set-keyboard-coding-system): Use encoded-kbd-setup-display.
1166 * term/README: Update.
1168 * term/linux.el (terminal-init-linux): Use `set-input-meta-mode'.
1170 * term/x-win.el (x-setup-function-keys): New function. Move
1171 function-key-map tweaks here. Protect against multiple calls on
1172 the same terminal. Use terminal-local binding of
1173 local-function-key-map instead of function-key-map.
1174 (x-initialize-window-system): Make a copy of pure list. Pass a
1177 * term/vt200.el, term/vt201.el, term/vt220.el, term/vt240.el:
1178 * term/vt300.el, term/vt320.el, term/vt400.el, term/vt420.el:
1179 * term/AT386.el, term/internal.el, term/iris-ansi.el, term/lk201.el:
1180 * term/mac-win.el, term/news.el, term/rxvt.el, term/sun.el:
1181 * term/tvi970.el, term/wyse50.el: Use terminal-local binding of
1182 local-function-key-map instead of function-key-map.
1184 * term/rxvt.el, term/xterm.el: Speed up load time by protecting
1185 `substitute-key-definition' and `define-key' calls against
1186 multiple execution. Use terminal-local binding of
1187 local-function-key-map instead of function-key-map. Pass a frame
1190 * edmacro.el (edmacro-format-keys):
1191 * emulation/cua-base.el (cua--pre-command-handler):
1192 * isearch.el (isearch-other-meta-char):
1193 * xt-mouse.el: Use terminal-local binding of
1194 local-function-key-map instead of function-key-map.
1196 * fringe.el (set-fringe-mode): Simplify and fix using
1197 `modify-all-frames-parameters'.
1198 * scroll-bar.el (set-scroll-bar-mode): Ditto.
1199 * tool-bar.el (tool-bar-mode): Ditto. Remove 'tool-bar-map length
1200 check before calling `tool-bar-setup'.
1201 (tool-bar-setup): New variable.
1202 (tool-bar-setup): Use it to guard against multiple calls. Add
1203 optional frame parameter, and select that frame before adding items.
1204 (toggle-tool-bar-mode-from-frame): New function.
1206 * menu-bar.el (toggle-menu-bar-mode-from-frame): New function.
1207 (menu-bar-showhide-menu): Use toggle-menu-bar-mode-from-frame and
1208 toggle-tool-bar-mode-from-frame to change "Menu-bar" and
1209 "Tool-bar" toggles to reflect the state of the current frame.
1210 (menu-bar-mode): Simplify and fix using `modify-all-frames-parameters'.
1212 * env.el: Require cl for byte compilation (for `block' and `return').
1213 (environment, setenv-internal): New functions.
1214 (let-environment): New macro.
1215 (setenv, getenv): Add optional terminal parameter. Update docs.
1216 (setenv): Use setenv-internal. Always set process-environment.
1217 Handle `local-environment-variables'.
1218 (read-envvar-name, setenv, getenv): Use frame parameters
1219 to store the local environment, not terminal parameters. Include
1220 `process-environment' as well.
1222 * faces.el (tty-run-terminal-initialization): New function.
1223 (tty-create-frame-with-faces): Use it. Set up faces and
1224 background mode only after the terminal has been initialized.
1225 Call terminal-init-*. Don't load the initialization file more
1226 than once. Call set-locale-environment.
1227 (frame-set-background-mode): Handle the 'background-mode terminal
1229 (tty-find-type): New function.
1230 (x-create-frame-with-faces): Remove bogus check for
1231 first frame. Call `tool-bar-setup'. Don't make frame visible
1232 until we are done setting up all its parameters. Call
1233 x-setup-function-keys.
1235 * frame.el (make-frame): Always inherit 'environment and 'client
1236 parameters. Set up the 'environment frame parameter, when needed.
1237 Also inherit 'client parameter. Don't override explicitly
1238 specified values with inherited ones. Add 'terminal frame
1239 parameter. Append window-system-default-frame-alist to parameters
1240 before calling frame-creation-function.
1241 (frame-initialize): Copy the environment from the initial frame.
1242 (window-system-default-frame-alist): Enhance doc string.
1243 (frame-notice-user-settings): Don't put 'tool-bar-lines in
1244 `default-frame-alist' when initial frame is on a tty.
1245 (modify-all-frames-parameters): Simplify using `assq-delete-all'.
1246 Remove specified parameters from `window-system-default-frame-alist'.
1247 (make-frame-on-tty, framep-on-display, suspend-frame):
1248 Extend doc string, update parameter names.
1249 (frames-on-display-list): Use terminal-id to get the display id.
1250 (frame-notice-user-settings): Extend to apply
1251 settings in `window-system-default-frame-alist' as well.
1252 (terminal-id, terminal-parameters, terminal-parameter)
1253 (set-terminal-parameter, terminal-handle-delete-frame): New functions.
1254 (delete-frame-functions): Add to `delete-frame-functions' hook.
1255 (blink-cursor-mode): Adapt blink-cursor-mode default
1256 value from startup.el.
1257 (make-frame-on-display): Protect condition on x-initialized when
1258 x-win.el is not loaded. Update doc.
1259 (suspend-frame): Use display-controlling-tty-p to decide between
1260 suspend-emacs and suspend-tty.
1261 (frames-on-display-list): Update for display ids.
1262 (framep-on-display): Ditto.
1263 (suspend-frame): Use display-name, not frame-tty-name.
1264 (selected-terminal): New function.
1266 * server.el: Use `device' instead of `display' or `display-id' in
1267 variable and client parameter names.
1268 (server-select-display): Remove (unused).
1269 (server-tty-live-p, server-handle-delete-tty): Remove.
1270 (server-unquote-arg, server-quote-arg, server-buffer-clients):
1272 (server-getenv-from, server-with-environment, server-send-string)
1273 (server-save-buffers-kill-terminal): New functions.
1274 (server-delete-client): Handle quits in kill-buffer. Don't kill
1275 modified buffers. Add extra logging. Delete frames after
1276 deleting the tty. Clear 'client parameter before deleting a frame.
1277 Use delete-display, not delete-tty.
1278 (server-visit-files): Don't set `server-existing-buffer' if the
1279 buffer already has other clients. Return list of buffers
1280 created. Update doc. Don't set client-record when nowait.
1281 (server-handle-delete-frame): Delete the client if this was its
1282 last frame. Check that the frame is alive. Remove bogus comment.
1283 Add note on possible race condition. Delete tty clients, if needed.
1284 (server-handle-suspend-tty): Use server-send-string. Kill the
1285 client in case of errors from process-send-string. Use the display
1287 (server-unload-hook): Remove obsolete delete-tty hook.
1288 (server-start): Ask before restarting if the old server still has
1289 clients. Add feedback messages. Remove obsolete delete-tty hook.
1290 (server-process-filter): Use server-send-string. Accept `-dir'
1291 command. Switch to *scratch* immediately after creating the frame,
1292 before evaluating any -evals. Protect `display-splash-screen'
1293 call in a condition-case. Explain why. Call
1294 `display-startup-echo-area-message' before
1295 `display-splash-screen'. Don't display the splash screen when no
1296 frame was created. Show the Emacs splash screen and startup echo
1297 area message. Display the *scratch* buffer by default. Store the
1298 local environment in a frame (not terminal) parameter. Do not try
1299 to decode environment strings. Fix reference to the 'display
1300 frame parameter. Change syntax of environment variables. Put
1301 environment into terminal parameters, not client parameters. Use
1302 a dummy client with --no-wait's X frames. In `-position LINE'
1303 handler, don't ruin the request string until the line number is
1304 extracted. Log opened files. Handle -current-frame command.
1305 Don't create frames when it is given. Don't bind X frames to the
1306 client when we are in -no-wait mode. Set locale environment
1307 variables from client while creating tty frames. Disable call to
1308 configure-display-for-locale. When processing -position command,
1309 don't change the request string until the parameters are
1310 extracted. Don't try to create an X frame when Emacs does not
1311 support it. Improve logging. Temporarily set ncurses-related
1312 environment variables to those of the client while creating a new
1313 tty frame. Select buffers opened by nowait clients, don't leave
1314 them buried under others. Set the display parameter, and use it
1317 * startup.el (display-startup-echo-area-message): Handle
1318 `inhibit-startup-echo-area-message' here.
1319 (command-line-1): Moved from here.
1320 (fancy-splash-screens): Use `overriding-local-map' instead of
1321 `overriding-terminal-local-map' for now; the latter doesn't work
1322 right, it looses keypresses to another terminal. Use
1323 `overriding-terminal-local-map' to set up keymap. Install a
1324 `delete-frame-functions' hook to catch `delete-frame' events.
1325 Ignore `select-window' events to cope better with
1326 `focus-follows-mouse'. Don't switch back to the original buffer
1327 if the splash frame has been killed. Restore previous buffer, even
1329 (normal-splash-screen): Don't let-bind `mode-line-format'; it
1330 changes the global binding - setq it instead. Use
1331 `save-buffers-kill-terminal'.
1332 (display-splash-screen): Don't do anything if the splash screen is
1333 already displayed elsewhere.
1334 (fancy-splash-exit, fancy-splash-delete-frame): New functions.
1335 (command-line): Replace duplicated code with a call to
1336 tty-run-terminal-initialization. Don't load the terminal
1337 initialization file more than once. Remove call to nonexistent
1338 function `set-locale-translation-file-name'.
1340 * xt-mouse.el (xterm-mouse-x, xterm-mouse-y): Convert to terminal
1342 (xterm-mouse-position-function, xterm-mouse-event): Update.
1343 (xterm-mouse-mode): Don't depend on current value of window-system.
1344 (turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking):
1345 Update for multi-tty.
1346 (turn-on-xterm-mouse-tracking-on-terminal)
1347 (turn-off-xterm-mouse-tracking-on-terminal)
1348 (xterm-mouse-handle-delete-frame): New functions.
1349 (delete-frame-functions, after-make-frame-functions)
1350 (suspend-tty-functions, resume-tty-functions): Install extra hooks
1353 2007-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1355 * simple.el (invisible-p): Remove: implemented in C now.
1356 (line-move-invisible-p): Remove obsolete alias.
1358 2007-08-28 Juri Linkov <juri@jurta.org>
1360 * image-mode.el (image-type): New variable.
1361 (image-mode): Set default major mode name to "Image[text]".
1362 (image-minor-mode): Change LIGHTER to display image-type in the
1364 (image-minor-mode): Set default image-type to "text".
1365 (image-toggle-display): After switching to text mode, set
1366 image-type to "text" and major mode name to "Image[text]".
1367 After switching to image mode, set image-type to actual image
1368 type, and add image type to major mode name. Let-bind the same
1369 variable names as arguments of `image-type' and `create-image'.
1370 Bind `type' to the result of `image-type' and use it as arg
1371 of `create-image' to not determine the image type twice.
1373 2007-08-28 Michael Albinus <michael.albinus@gmx.de>
1375 * net/tramp.el (tramp-handle-set-file-times): Flush the file properties.
1376 (tramp-set-file-uid-gid, tramp-get-local-uid)
1377 (tramp-get-local-gid): New defuns.
1378 (tramp-handle-copy-file): Handle new parameter PRESERVE-UID-GID.
1379 (tramp-do-copy-or-rename-file): New parameter PRESERVE-UID-GID.
1381 (tramp-do-copy-or-rename-file-directly): Sync parameter list with
1382 the other tramp-do-copy-or-rename-file-* functions. Major rewrite.
1383 (tramp-handle-file-local-copy, tramp-handle-insert-file-contents)
1384 (tramp-handle-write-region): Improve fast track.
1385 (tramp-handle-file-remote-p): IDENTIFICATION can also be `localname'.
1386 (tramp-maybe-open-connection): Let `process-adaptive-read-buffering'
1389 2007-08-28 Ivan Kanis <apple@kanis.eu>
1391 * time.el: New feature to display several time zones in a buffer.
1392 (display-time-world-mode, display-time-world-display)
1393 (display-time-world, display-time-world-timer): New functions.
1394 (display-time-world-list, display-time-world-time-format)
1395 (display-time-world-buffer-name, display-time-world-timer-enable)
1396 (display-time-world-timer-second, display-time-world-mode-map):
1399 2007-08-28 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
1401 * term/x-win.el (x-gtk-stock-map): New variable.
1402 (x-gtk-map-stock): New function.
1404 * info.el (info-tool-bar-map): Add :rtl keyword to right/left-arrow and
1407 2007-08-28 Johan Bockg
\e,Ae
\e(Brd <bojohan@dd.chalmers.se> (tiny change)
1409 * play/gamegrid.el (gamegrid-init): Set line-spacing to 0.
1411 2007-08-28 Glenn Morris <rgm@gnu.org>
1413 * progmodes/cc-langs.el (c-constant-kwds): Add java: null, true, false.
1415 2007-08-27 Thien-Thi Nguyen <ttn@gnuvola.org>
1417 * progmodes/modula2.el (m2-definition, m2-module):
1418 Don't use previous-line. Reported by T. V. Raman.
1420 2007-08-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1422 * term/mac-win.el (mac-handle-toolbar-switch-mode): Add explicit
1423 argument to tool-bar-mode call.
1425 2007-08-27 Glenn Morris <rgm@gnu.org>
1427 * diff-mode.el (diff-find-file-name): Only accept regular files,
1428 to rule out /dev/null, directories, etc.
1430 * vc-svn.el (vc-svn-diff): If the repository version of all the
1431 files is the same as the specified OLDVERS, do a local diff.
1433 2007-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
1435 * uniquify.el (uniquify-rationalize-file-buffer-names): Check liveness
1436 of buffers in uniquify-managed.
1438 * simple.el (invisible-p): Rename from text-invisible-p.
1441 2007-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1443 * progmodes/cperl-mode.el (defcustom, x-color-defined-p, cperl-is-face)
1444 (cperl-is-face, cperl-force-face, cperl-etags-snarf-tag, cperl-mode)
1445 (cperl-etags-snarf-tag, cperl-etags-goto-tag-location, cperl-init-faces)
1446 (cperl-etags-goto-tag-location): Use new style backquotes.
1448 * net/browse-url.el: Remove spurious * in custom docstrings.
1449 (browse-url-filename-alist): Use new-style backquote.
1451 * emacs-lisp/backquote.el (backquote-unquote-symbol)
1452 (backquote-splice-symbol): Clarify they're not new-style unquotes.
1454 * emacs-lisp/edebug.el (edebug-list-form, edebug-match-symbol, \,)
1455 (\,@): Backslash the , and ,@ which are not new-style unquotes.
1457 * textmodes/texinfmt.el (\,): Clarify it's not a new-style unquote.
1459 * net/socks.el (socks-username/password-auth-filter):
1460 Remove unused vars `state' and `desired-len'.
1461 (socks-parse-services, socks-nslookup-host): Use with-current-buffer.
1462 (socks-wait-for-state-change): Use new-style backquotes.
1464 * pcvs.el (cvs-mode-status): Fix long-standing typo.
1466 * emacs-lisp/bytecomp.el (byte-compile-from-buffer): Check old-style
1467 backquotes after each `read' rather than once per buffer.
1469 * dframe.el: Remove spurious * in custom docstrings.
1470 (dframe-xemacsp): Remove, use (featurep 'xemacs) instead.
1471 (dframe-xemacs20p): Remove, inline at the sole use point.
1472 (defface): Don't defvar the face, don't use old-style backquote.
1473 (defcustom): Don't use old-style backquote.
1474 (dframe-frame-parameter, dframe-mouse-event-p):
1475 Make it obvious that it's always defined.
1476 (dframe-popup-kludge): New function to replace
1477 dframe-xemacs-popup-kludge and dframe-xemacs-popup-kludge.
1478 (dframe-frame-mode, dframe-set-timer-internal)
1479 (dframe-mouse-set-point): Remove use of with-no-warnings from
1480 XEmacs-specific code.
1481 (dframe-set-timer-internal): Fix very old bug with
1482 post-command-idle-hook.
1484 * emacs-lisp/byte-opt.el (byte-optimize-featurep): Handle `sxemacs'.
1486 2007-08-27 Thien-Thi Nguyen <ttn@gnuvola.org>
1488 * emacs-lisp/avl-tree.el: New file.
1490 2007-08-26 Micha
\e,bk
\e(Bl Cadilhac <michael@cadilhac.name>
1492 * hi-lock.el (hi-lock-unface-buffer): Show a x-menu only if the mouse
1495 2007-08-26 Sean O'Rourke <seano@cs.ucsd.edu>
1497 * complete.el (PC-do-completion): Make RET accept a non-unique but
1498 complete expansion again.
1500 2007-08-26 Thien-Thi Nguyen <ttn@gnuvola.org>
1502 * eshell/esh-opt.el (eshell-eval-using-options):
1503 Add debug declaration.
1505 2007-08-26 Dan Nicolaescu <dann@ics.uci.edu>
1507 * log-view.el (log-view-toggle-mark-entry): Add docstring.
1508 (log-view-get-marked): Likewise.
1510 * vc-hooks.el (vc-registered): Use mapc instead of mapcar.
1511 (vc-delete-automatic-version-backups): Likewise.
1513 * vc.el (vc-dired-buffers-for-dir): Likewise.
1515 2007-08-25 Dan Nicolaescu <dann@ics.uci.edu>
1517 * progmodes/cperl-mode.el (cperl-indent-level): Autoload the
1518 safe-local-variable setting.
1519 * progmodes/perl-mode.el (perl-indent-level): Likewise.
1521 * log-view.el (log-view-marked-list): Delete variable.
1522 (log-view-mode): Don't use it.
1523 (log-view-toggle-mark-entry): Likewise, simplify.
1524 (log-view-current-tag): Don't return properties.
1525 (log-view-get-marked): New function.
1527 2007-08-25 Alexandre Julliard <julliard@winehq.org>
1529 * vc-git.el (vc-git-mode-line-string): New function.
1531 2007-08-25 Alan Mackenzie <acm@muc.de>
1533 * progmodes/cc-langs.el (c-other-decl-block-key-in-symbols-alist):
1534 new language variable.
1536 * progmodes/cc-engine.el (c-brace-anchor-point): new function.
1537 (c-add-stmt-syntax): Give accurate anchor points for "namespace",
1538 "extern" etc., rather than BOI. Fix addition of spurious
1539 syntactic-symbol 'defun-block-intro, replacing it with
1542 2007-08-25 Juri Linkov <juri@jurta.org>
1544 * files.el (auto-mode-alist): Move "\\.x[bp]m\\'" to image-mode.el.
1546 * image-mode.el: Add autoloads to put associations in auto-mode-alist:
1547 associate "\\.x[bp]m\\'" with c-mode and image-mode-maybe, and
1548 "\\.svgz?\\'" with xml-mode and image-mode-maybe.
1550 * image.el (image-type-header-regexps): Use more complex regexp for svg.
1551 (image-type-file-name-regexps): Add ("\\.svgz?\\'" . svg).
1552 (image-type-auto-detectable): Add (svg . maybe).
1554 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add .svgz
1555 to treat it like .tgz.
1557 * calendar/cal-bahai.el: Add file coding cookie.
1559 2007-08-25 Reiner Steib <Reiner.Steib@gmx.de>
1561 * pcvs.el (cvs-query-directory): Only prompt when prefix is given.
1562 Don't behave differently when executed via M-x. Add doc string.
1564 * sort.el (sort-fold-case, sort-numeric-base): Mark as
1565 safe-local-variable.
1567 2007-08-25 Jay Belanger <jay.p.belanger@gmail.com>
1569 * calc/calc-forms.el (var-TimeZone): Make nil explicitly
1571 (math-calendar-tzinfo): New variable.
1572 (math-get-calendar-tzinfo): New function.
1573 (calcFunc-tzone, calcFunc-dst): Use Emacs's calendar
1574 to get information when zone is nil.
1576 2007-08-24 Dan Nicolaescu <dann@ics.uci.edu>
1578 * log-view.el (log-view-toggle-mark-entry): New function.
1579 (log-view-mode-map): Bind it.
1580 (log-view-marked-list): New variable.
1581 (log-view-mode): Make it local.
1583 2007-08-24 Thien-Thi Nguyen <ttn@gnuvola.org>
1585 * play/zone.el (zone-pgm-rat-race): New func.
1586 (zone-programs): Add `zone-pgm-rat-race'.
1588 2007-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
1590 * emacs-lisp/byte-opt.el (byte-optimize-if): Don't presume `clause' is
1593 2007-08-24 Thien-Thi Nguyen <ttn@gnuvola.org>
1595 * progmodes/hideshow.el (hs-match-data): Delete alias.
1596 (hs-hide-block-at-point, hs-find-block-beginning)
1597 (hs-show-block): Use `match-data' directly.
1599 2007-08-24 Martin Rudalics <rudalics@gmx.at>
1601 * format.el (format-alist): Fix typo in doc-string.
1603 2007-08-24 Michael Albinus <michael.albinus@gmx.de>
1605 * net/tramp.el (tramp-local-host-p): New defun.
1606 (tramp-handle-file-local-copy, tramp-handle-write-region):
1607 Implement fast track when being on the local host.
1608 (tramp-file-name-handler): Don't set "started" property. It shall
1609 be reserved for the "ftp" method.
1610 (tramp-make-copy-program-file-name): Use `tramp-file-name-real-host'.
1612 * net/tramp-ftp.el (top): Autoload `tramp-set-connection-property'.
1613 (tramp-ftp-file-name-handler): Set "started" property.
1615 2007-08-24 Ulrich Mueller <ulm@gentoo.org> (tiny change)
1617 * files.el (backup-buffer-copy): Don't wrap delete in
1618 condition-case, only try to delete if file exists.
1620 2007-08-24 Glenn Morris <rgm@gnu.org>
1622 * files.el (backup-buffer-copy): Revert 2007-08-22 change.
1624 * startup.el (tutorial-directory): Set with eval-at-startup so it
1625 gets the right value in an installed Emacs.
1627 2007-08-24 Nikolaj Schumacher <n_schumacher@web.de> (tiny change)
1629 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): New face.
1630 (eldoc-highlight-function-argument): Use it.
1632 2007-08-23 Masatake YAMATO <jet@gyve.org>
1634 * progmodes/cc-fonts.el (gtkdoc-font-lock-doc-comments): Highlight
1635 name of parameters in document body.
1637 2007-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1639 * emacs-lisp/bytecomp.el (byte-compile-output-docform)
1640 (byte-compile-output-as-comment): Use with-current-buffer rather than
1641 a weird set-buffer&prog1 combination.
1643 * emacs-lisp/byte-opt.el (byte-optimize-if): Move `progn' out of the
1644 test so as to optimise cases where the `progn's result is constant.
1646 2007-08-23 Thien-Thi Nguyen <ttn@gnuvola.org>
1648 * locate.el (locate-get-file-positions):
1649 Use line-beginning-position and line-end-position.
1651 2007-08-23 John Wiegley <johnw@newartisans.com>
1653 * calendar/cal-bahai.el: Added in the diacriticals that were
1654 missing for many of the month names.
1656 2007-08-22 Jason Rumney <jasonr@gnu.org>
1658 * vc-hooks.el (vc-menu-map-filter): Reapply 2007-08-06 bugfix.
1660 2007-08-22 Chong Yidong <cyd@stupidchicken.com>
1662 * image-mode.el (image-minor-mode): Use image-mode-text-map.
1664 2007-08-22 Sean O'Rourke <sorourke@cs.ucsd.edu>
1666 * dabbrev.el (dabbrev--progress-reporter): New variable.
1667 (dabbrev--scanning-message): Delete func.
1668 (dabbrev--find-expansion): Use a progress reporter
1669 instead of dabbrev--scanning-message.
1671 2007-08-22 Michael Albinus <michael.albinus@gmx.de>
1673 * comint.el (comint-exec-1): Raise an error if
1674 `start-file-process' does not return a process object.
1676 * shell.el (shell): Prompt for `default-directory' if it is a
1677 remote file name, and if called with a prefix arg.
1679 2007-08-22 Sam Steingold <sds@gnu.org>
1681 * pcvs.el (cvs-vc-command-advice): Fix a typo in code (file->files).
1683 2007-08-22 Carsten Dominik <dominik@science.uva.nl>
1685 * textmodes/org-export-latex.el: New file.
1687 * textmodes/org-publish.el (org-publish-org-to-latex): New function.
1689 * textmodes/org.el (org-agenda-skip): Allow a form for
1690 `org-agenda-skip-function'.
1691 (org-agenda-redo): Re-use local settings.
1692 (org-agenda): Store local settings.
1693 (org-agenda-deadline-faces): New option.
1694 (org-agenda-deadline-face): New function.
1695 (org-agenda-get-deadlines, org-agenda-get-scheduled): Also handle
1696 entries on their due date.
1697 (org-agenda-get-timestamps): No longer handle the due dates of
1698 schedules and deadline items.
1699 (org-insert-link-global, org-open-at-point-global): New commands.
1700 (org-export-as-ascii): Call `org-cleaned-string-for-export' with a
1701 :for-ascii parameter.
1702 (org-skip-comments): Function removed.
1703 (org-cleaned-string-for-export): Handle special table lines.
1704 (org-global-properties): New option.
1705 (org-entry-get-with-inheritance): Check global properties.
1706 (org-local-properties): New variable.
1707 (org-set-regexps-and-options): Find the #+PROPERTY line.
1708 (org-link-types): Change type into variable (was constant).
1709 (org-make-link-regexps): New function.
1710 (org-link-re-with-space, org-link-re-with-space2)
1711 (org-angle-link-re, org-plain-link-re, org-bracket-link-regexp)
1712 (org-bracket-link-analytic-regexp, org-any-link-re): Creation of
1713 these regular expressions happens now in the function
1714 `org-make-link-regexps'.
1715 (org-store-link): Call the functions in
1716 `org-store-link-functions'.
1717 (org-add-link-type): New function.
1718 (org-store-link-functions): New variable.
1719 (org-activate-tags): Force matches to be in headlines.
1720 (org-batch-store-agenda-views): Fix bug with killing agenda buffer.
1721 (org-columns-display-here): Make sure this works in a narrowed
1722 buffer by checking for point-min.
1723 (org-columns-display-here): Make the rest of the line intangible,
1724 so that point never can be there.
1725 (org-cleaned-string-for-export): Use `with-current-buffer'.
1726 (org-replace-region-by-html): Use `with-current-buffer'.
1727 (org-unfontify-region, org-do-occur, org-columns-display-here)
1728 (org-columns-remove-overlays, org-columns-quit)
1729 (org-columns-edit-value, org-columns-next-allowed-value)
1730 (org-eval-in-calendar, org-agenda-undo, org-no-read-only)
1731 (org-finalize-agenda, org-remove-subtree-entries-from-agenda)
1732 (org-agenda-todo, org-agenda-change-all-lines)
1733 (org-agenda-align-tags, org-agenda-priority)
1734 (org-agenda-set-tags, org-agenda-toggle-archive-tag)
1735 (org-agenda-show-new-time, org-cleaned-string-for-export)
1736 (org-export-grab-title-from-buffer)
1737 (org-export-as-ascii, org-export-as-html): Use `inhibit-read-only'
1738 instead of `buffer-read-only'.
1739 (org-export-as-html): Set `coding-system-for-write'.
1740 (org-remember-store-without-prompt): New option.
1741 (org-archive-subtree): Fixed bug with modifying TODO keyword.
1742 (org-beginning-of-line): Also treat C-a special in items.
1743 (org-table-convert-refs-to-rc): Fixed problem with column
1744 reference after "..".
1745 (org-columns-compute): Don't mark buffer modified because of text
1747 (org-batch-store-agenda-views): Use the variable
1748 `default-directory', not the function.
1749 (org-clock-out-if-current): Respect `org-clock-out-when-done'.
1750 (org-clock-out-when-done): New option.
1751 (org-html-entities): Added HTML entities for smileys.
1753 2007-08-22 Glenn Morris <rgm@gnu.org>
1755 * image.el (create-image): Doc fix.
1757 * startup.el (tutorial-directory): New constant.
1758 (fancy-splash-text): Tutorials now in tutorial-directory.
1759 * tutorial.el (help-with-tutorial): Tutorials now in
1762 2007-08-22 Michael Albinus <michael.albinus@gmx.de>
1764 * net/tramp.el (top): Require cl.el, when `copy-tree' is not available
1766 (tramp-get-remote-path): New defun. Replace occurrences of
1767 `tramp-default-remote-path' by this function.
1768 (tramp-set-remote-path): Move most of the code to
1769 `tramp-get-remote-path'.
1770 (tramp-get-ls-command, tramp-get-remote-id): Don't check for not
1771 existing directories, this is done already in
1772 `tramp-get-remote-path'.
1774 2007-08-22 Paul Pogonyshev <pogonyshev@gmx.net>
1776 * image-file.el (image-file-name-extensions): Add "svg".
1777 * image.el (image-type-header-regexps): Add svg entry.
1779 2007-08-22 Glenn Morris <rgm@gnu.org>
1781 * files.el (backup-buffer-copy): Check backup directory is
1782 writable, to avoid infloop deleting old backup.
1784 * mail/rmail.el (rmail-movemail-variant-p): Call on load to set
1785 movemail related variables.
1786 (rmail-insert-inbox-text): Use only rmail-movemail-program, which
1787 will now be set before this is called.
1789 2007-08-21 Juri Linkov <juri@jurta.org>
1791 * delsel.el (delete-selection-pre-hook):
1792 * emulation/cua-base.el (cua-paste): Use `mouse-region-match'
1793 instead of checking last-command.
1795 2007-08-21 Juri Linkov <juri@jurta.org>
1797 * loadup.el: Preload "button".
1799 2007-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1801 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1802 Add previous-line and next-line.
1804 * vc-arch.el (vc-arch-extra-menu-map): New var and fun.
1805 (vc-arch-find-file-not-found-hook): Remove, it's now the default.
1807 * vc-hooks.el (vc-menu-entry): New var.
1808 (vc-mode-line-map): Use it so that this menu also uses the extra-menu.
1809 (menu-bar-tools-menu): Add the VC menu here rather than in menu-bar.el.
1810 (vc-menu-map): Declare and initialize in one step.
1811 (vc-menu-map-filter): Move&rename from menu-bar.el:menu-bar-vc-filter.
1813 * menu-bar.el (vc-menu-map): Don't setup any more.
1814 Instead, just create the proper spot in the menu.
1816 2007-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1818 * smerge-mode.el (smerge-resolve): New arg `safe'.
1819 (smerge-resolve-all, smerge-batch-resolve): New function.
1820 (smerge-refine): Make sure `diff' returns the expected result.
1821 (smerge-parsep-re): New const.
1822 (smerge-mode): Use it to adjust paragraph-separate.
1824 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
1825 Correctly match / regexp matchers as first char on a line when
1826 fontifying only that line.
1828 * emacs-lisp/cl-macs.el (cl-transform-lambda): Preserve the match-data.
1830 2007-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1832 * vc-bzr.el: Don't fiddle with vc-handled-backend.
1833 (vc-bzr-registered): Don't redundantly protect against
1834 file-error. Actually use the format-specific code.
1835 (vc-bzr-buffer-nonblank-p): Remove.
1836 (vc-bzr-status): Change `kindchange' -> `kindchanged'.
1838 2007-08-20 Juri Linkov <juri@jurta.org>
1840 * startup.el (fancy-splash-text): Change multiple tabs into one
1841 tab. Remove "Useful File menu items" section (with "Exit Emacs"
1842 and "Recover Crashed Session").
1843 (fancy-splash-screens): Set tab-width to 22.
1844 (normal-splash-screen): Replace literal tabs with \t and
1845 fix whitespace. Remove "Useful File menu items" section (with
1846 "Exit Emacs" and "Recover Crashed Session").
1848 2007-08-20 Johannes Weiner <hannes@saeurebad.de> (tiny change)
1850 * emacs-lisp/lisp-mode.el (preceding-sexp): New fun, the code was
1851 extracted from `eval-last-sexp-1'.
1852 (eval-last-sexp-1): Call `preceding-sexp'.
1854 2007-08-20 Thien-Thi Nguyen <ttn@gnuvola.org>
1856 * vc-rcs.el (vc-rcs-annotate-command):
1857 Fix bug introduced 2007-07-18T16:32:40Z!esr@snark.thyrsus.com:
1858 Add back :vc-annotate-prefix propertization.
1860 2007-08-20 Andreas Schwab <schwab@suse.de>
1862 * mail/rmail.el (rmail-autodetect): Doc fix.
1864 2007-08-19 Juri Linkov <juri@jurta.org>
1866 * startup.el (normal-splash-screen): Add more links.
1868 2007-08-19 Juri Linkov <juri@jurta.org>
1870 * startup.el (splash-screen-keymap): Rename from `fancy-splash-keymap'
1871 because it's common to both types of splash screen: fancy and normal.
1872 Bind SPC to scroll-up, DEL to scroll-down and `q' to exit-splash-screen.
1873 (exit-splash-screen): Rename from `fancy-splash-quit'.
1874 Use `quit-window' instead of `kill-buffer'.
1875 (fancy-splash-head): Use make-button to insert GNU image link.
1876 (fancy-splash-screens, normal-splash-screen): Rename " About GNU
1877 Emacs" to "*About GNU Emacs*", and " GNU Emacs" to "*GNU Emacs*".
1878 (normal-splash-screen): Put "Browse manuals" on the same line with
1879 "Emacs manual". Remove descriptions from "Useful tasks" and put
1880 all links in two columns on two lines.
1882 2007-08-19 Michael Kifer <kifer@cs.stonybrook.edu>
1884 * viper.el (viper-remove-hooks): Remove some additional viper hooks
1885 when the user calls viper-go-away.
1886 (viper-go-away): Restore the default of default-major-mode.
1887 Save the value of default-major-mode before vaperization.
1889 * viper-cmd.el: Replace error "" with "Viper bell".
1891 * viper-ex.el: Replace error "" with "Viper bell".
1893 * ediff-util.el (ediff-make-temp-file): Use the coding system of the
1894 buffer for which file is created.
1896 2007-08-19 Glenn Morris <rgm@gnu.org>
1898 * Makefile.in (custom-deps, finder-data, autoloads, recompile)
1899 (progmodes/cc-mode.elc, mh-e/mh-loaddefs.el): Use $(emacs) rather
1900 than $(EMACS), so that EMACSLOADPATH is set. Prevents any system
1901 shadow files messing up the compilation.
1903 2007-08-18 Glenn Morris <rgm@gnu.org>
1905 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): Add doc
1906 string. Also apply eldoc-argument-case in the help-split-fundoc
1907 case. Adapt for changed behavior of eldoc-function-argstring,
1908 eldoc-function-argstring-format, and
1909 eldoc-highlight-function-argument.
1910 (eldoc-highlight-function-argument): Handle nil INDEX argument,
1911 just call eldoc-docstring-format-sym-doc in that case.
1912 (eldoc-function-argstring): Change the behavior. Now it converts
1913 an argument list to a string.
1914 (eldoc-function-argstring-format): Change the behavior. Now it
1915 applies `eldoc-argument-case' to a string.
1917 * progmodes/scheme.el (scheme-mode-variables): Set
1918 font-lock-comment-start-skip.
1920 2007-08-18 Martin Rudalics <rudalics@gmx.at>
1922 * progmodes/ada-mode.el (ada-create-syntax-table): Move
1923 set-syntax-table from here to ...
1924 (ada-mode): ... here. Do not change global value of
1925 comment-multi-line. Call new function
1926 ada-initialize-syntax-table-properties and add new function
1927 ada-handle-syntax-table-properties to font-lock-mode-hook.
1928 (ada-deactivate-properties, ada-initialize-properties): Replace
1929 by new functions ...
1930 (ada-handle-syntax-table-properties)
1931 (ada-initialize-syntax-table-properties)
1932 (ada-set-syntax-table-properties): ... to set up syntax-table
1933 properties uniformly, independently from whether font-lock-mode
1934 is enabled or not. Handle read-only buffers and do not change
1935 undo-list when setting syntax-table properties.
1936 (ada-after-change-function): Use ada-set-syntax-table-properties.
1938 2007-08-18 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
1940 * progmodes/meta-mode.el (meta-indent-calculate-last): Remove.
1941 (meta-indent-current-nesting): Use a computation of the nesting
1943 (meta-indent-current-indentation): Indentation is given according
1944 to nesting and if the previous line was finished or not.
1945 (meta-indent-unfinished-line): Tell if the current line ends with
1946 a finished expression.
1947 (meta-indent-looking-at-code): Like `looking-at', but checks if
1948 the point is in a string before.
1949 (meta-indent-level-count): Use it. Don't count parenthesis as it's
1950 done in the nesting function.
1951 (meta-indent-in-string-p): Tell if the current point is in a
1953 (meta-indent-calculate): Treat b-o-b as a special case. Use the
1956 2007-08-17 Thien-Thi Nguyen <ttn@gnuvola.org>
1958 * emacs-lisp/copyright.el (copyright-limit): New defsubst.
1959 (copyright-update-year, copyright-update)
1960 (copyright-fix-years): Use it.
1962 2007-08-17 Kimit Yada <kimitto@gmail.com> (tiny change)
1964 * emacs-lisp/copyright.el (copyright-update-year):
1965 Fix bug: Handle nil copyright-limit.
1967 2007-08-17 Jay Belanger <jay.p.belanger@gmail.com>
1969 * calc/calc-units.el (math-standard-units): Give exact
1972 * calc/calc.el (math-bignum-digit-length): Compute the
1975 * calc/calc-bin.el (math-bignum-logb-digit-size)
1976 (math-bignum-digit-power-of-two):
1977 * calc/calc-comb.el (math-small-factorial-table):
1978 * calc/calc-ext.el (math-approx-pi, math-approx-sqrt-e)
1979 (math-approx-gamma-const):
1980 * calc/calc-funcs.el (math-besJ0, math-besJ1, math-besY0)
1981 (math-besY1, math-bernoulli-b-cache):
1982 * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
1983 Remove `eval-when-compile's.
1985 2007-08-17 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
1987 * progmode/cperl-mode.el (cperl-look-at-leading-count)
1988 (cperl-find-pods-heres): Fix an error when typing expressions like
1991 2007-08-17 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
1993 * mail/emacsbug.el (report-emacs-bug): Remove the last number of
1994 `emacs-version', use the topic prefix ``version; ''. Make MS-DOS
1995 a special case (there's no build number).
1997 2007-08-17 T. V. Raman <raman@users.sf.net> (tiny change)
1999 * completion.el (symbol-under-point, symbol-before-point)
2000 (symbol-before-point-for-complete): Use buffer-substring-no-properties.
2002 2007-08-17 Glenn Morris <rgm@gnu.org>
2004 * progmodes/compile.el (compilation-get-file-structure): Make use
2005 of the directory part when checking for an existing entry, to
2006 handle files with same basename in different directories.
2008 2007-08-17 Jay Belanger <jay.p.belanger@gmail.com>
2010 * calc/calc.el (calc-language-alist): Add texinfo-mode.
2012 2007-08-16 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2014 * ps-print.el (ps-header-font-size, ps-header-title-font-size)
2015 (ps-footer-font-size, ps-line-number-font-size, ps-line-spacing)
2016 (ps-paragraph-spacing): Docstring fix.
2018 2007-08-16 Glenn Morris <rgm@gnu.org>
2020 * ps-print.el (ps-font-size): Doc fix.
2022 2007-08-16 Richard Stallman <rms@gnu.org>
2024 * emacs-lisp/copyright.el (copyright-names-regexp): Add custom group.
2026 2007-08-15 Juri Linkov <juri@jurta.org>
2028 * startup.el (initialization): Change parent group from `internal'
2030 (initial-buffer-choice): New variable.
2031 (command-line): Revert 2007-07-02 change that sets
2032 buffer-offer-save in *scratch* and enables auto-save in it.
2033 (fancy-splash-text): Add links to existing items. Add new items
2034 with links for useful tasks. Move information about Control-g to
2035 fancy-splash-head. Move "Emacs Guided Tour" to the end.
2036 (fancy-splash-keymap): New variable.
2037 (fancy-splash-last-input-event): Remove variable.
2038 (fancy-splash-insert): Add processing of `:link' element.
2039 (fancy-splash-head): Replace "Type Control-l to begin editing"
2040 with "Type `q' to exit".
2041 (fancy-splash-screens-1): Let-bind inhibit-read-only to t.
2042 (fancy-splash-default-action, fancy-splash-special-event-action):
2044 (fancy-splash-quit): New function.
2045 (fancy-splash-screens): Rename input arg from `hide-on-input' to
2046 `static' and reverse the condition of its usage. Don't preserve
2047 original values of `minor-mode-map-alist',
2048 `emulation-mode-map-alists', `special-event-map'.
2049 Rename startup-buffer from "*About GNU Emacs*" to " GNU Emacs".
2050 Rename about-buffer from " GNU Emacs" to " About GNU Emacs".
2051 Remove processing of special events. Use local key map
2052 `fancy-splash-keymap'. Set buffer to read-only.
2053 (normal-splash-screen): Rename input arg from `hide-on-input' to
2054 `static' and reverse the condition of its usage.
2055 Rename startup-buffer from "*About GNU Emacs*" to " GNU Emacs".
2056 Rename about-buffer from " GNU Emacs" to " About GNU Emacs".
2057 Add links to existing items. Add new items with links for useful
2058 tasks. Use local key map `fancy-splash-keymap'.
2059 (display-splash-screen): Rename input arg from `hide-on-input' to
2061 (about-emacs): Add alias to display-splash-screen.
2062 (command-line-1): Use `initial-buffer-choice'.
2064 * menu-bar.el (menu-bar-help-menu):
2065 * term/mac-win.el (mac-apple-event-map): Bind About Emacs menu
2066 item to about-emacs instead of display-splash-screen.
2068 2007-08-15 Jay Belanger <jay.p.belanger@gmail.com>
2070 * calc/calc-units.el (math-standard-units): Update values.
2071 Put in exact, rational values when possible.
2072 (math-unit-prefixes): Replace floats with powers of ten.
2073 (math-standard-units-systems): Replace floats with integers.
2074 (math-make-unit-string): Remove extra spaces in output.
2076 2007-08-15 Glenn Morris <rgm@gnu.org>
2078 * mail/undigest.el (rmail-digest-parse-rfc1153sloppy): Be even
2079 sloppier, for the sake of GNU Mailman.
2080 (rmail-digest-rfc1153): Initialize `result' correctly.
2082 2007-08-15 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
2084 * mail/emacsbug.el (report-emacs-bug): Put `Bug: emacs-version; '
2085 in the mail title. Suggested by Reiner Steib.
2087 2007-08-14 Chris Hecker <checker@d6.com> (tiny change)
2089 * calc/calc-aent.el (calc-do-quick-calc): Add binary
2090 representation of integers to the list of outputs.
2092 2007-08-14 Glenn Morris <rgm@gnu.org>
2094 * simple.el (bad-packages-alist): New constant.
2095 (bad-package-check): New function. Together, these two add elements
2096 to `after-load-alist' to check for problematic external packages.
2097 * emulation/cua-base.el: Move CUA-mode check to `bad-packages-alist'.
2099 2007-08-14 Jay Belanger <jay.p.belanger@gmail.com>
2101 * calc/calc-units.el (math-get-standard-units)
2102 (math-get-units, math-make-unit-string)
2103 (math-get-default-units, math-put-default-units): New functions.
2104 (math-default-units-table): New variable.
2105 (calc-convert-units, calc-convert-temperature): Add machinery
2106 to supply default values.
2108 2007-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2110 * emulation/tpu-edt.el: Add tpu-extras's autoloads.
2111 (tpu-gold-map, tpu-global-map): Comment-out the bindings to nil.
2112 (tpu-gold-map): Bind F to tpu-cursor-free-mode.
2113 (minibuffer-local-map): Use funkey symbols rather than esc-sequence.
2115 * emulation/tpu-extras.el: Remove spurious * in docstrings.
2116 Put its autoloads into tpu-edt.el rather than loaddefs.el.
2117 (tpu-cursor-free-mode): Rename from tpu-cursor-free.
2118 Make into a proper minor-mode.
2119 (tpu-backward-char, tpu-next-line, tpu-previous-line)
2120 (tpu-next-end-of-line, tpu-current-end-of-line): Use new name.
2121 (tpu-trim-line-ends-if-needed): Rename from tpu-before-save-hook.
2122 (tpu-set-cursor-free, tpu-set-cursor-bound):
2123 Delegate to tpu-cursor-free-mode.
2124 (tpu-next-line, tpu-previous-line, tpu-forward-line)
2125 (tpu-backward-line, tpu-scroll-window-down, tpu-scroll-window-up):
2126 Use line-move or forward-line instead of next-line-internal.
2128 2007-08-13 Nick Roberts <nickrob@snap.net.nz>
2130 * progmodes/gdb-ui.el (gdb-send): Handle CTRL-D more carefully.
2132 2007-08-12 Richard Stallman <rms@gnu.org>
2134 * pcvs.el (cvs-reread-cvsrc, cvs-checkout, cvs-mode-checkout)
2135 (cvs-execute-single-file): Use new name split-string-and-unquote.
2136 (cvs-header-msg): Use new name combine-and-quote-strings.
2138 * emulation/vi.el (vi-next-line): Ignore return value of line-move.
2140 * progmodes/gud.el (gud-common-init): Use new name
2141 split-string-and-unquote.
2143 * progmodes/flymake.el (flymake-err-line-patterns): Fix infloop
2146 * pcvs-util.el (cvs-qtypedesc-strings): Use new names
2147 combine-and-quote-strings and split-string-and-unquote.
2149 * subr.el (combine-and-quote-strings): Rename from strings->string.
2150 (split-string-and-unquote): Rename from string->strings.
2152 2007-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2154 * log-view.el (log-view-font-lock-keywords): Use `eval' so as to adapt
2155 to buffer-local settings.
2157 * emacs-lisp/backquote.el (backquote-delay-process): New function.
2158 (backquote-process): Add internal arg `level'. Use the two to
2159 correctly handle nested backquotes.
2161 2007-08-09 Riccardo Murri <riccardo.murri@gmail.com>
2163 * vc-bzr.el (vc-bzr-registered): Use \0 instead of literal NULs.
2164 (vc-bzr-state-words): Add "kind changed" state word.
2165 (vc-bzr-status): New function. Return Bzr idea of file status,
2166 which is different from VC's.
2167 (vc-bzr-state): Use vc-bzr-status.
2168 (vc-workfile-unchanged-p): Use vc-bzr-status.
2169 (vc-bzr-revert): Use synchronous process; expect exitcode 0.
2170 (vc-dired-state): Process "kind changed" state word.
2172 2007-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2174 * vc-hooks.el (vc-default-find-file-not-found-hook): Do nothing.
2176 * vc-rcs.el (vc-rcs-find-file-not-found-hook):
2177 Move from vc-default-find-file-not-found-hook.
2179 2007-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2181 * man.el: Remove spurious * in docstrings.
2182 Merge defvars and toplevel setq-defaults.
2183 (Man-highlight-references0): Limit=nil rather than point-max.
2184 (Man-mode-map): Move initialization into the declaration.
2185 (Man-strip-page-headers, Man-unindent): Use dolist & inhibit-read-only.
2186 (Man-view-header-file): Use expand-file-name rather than concat.
2187 (Man-notify-when-ready, Man-bgproc-sentinel): Use with-current-buffer.
2189 * man.el (Man-next-section): Make sure we do not move backward.
2191 2007-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2193 * files.el (auto-mode-alist): Use the purecopied text (duh!).
2195 2007-08-08 Glenn Morris <rgm@gnu.org>
2197 * Replace `iff' in doc-strings and comments.
2199 2007-08-08 Martin Rudalics <rudalics@gmx.at>
2201 * dired.el (dired-pop-to-buffer):
2202 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2203 * calendar/calendar.el (generate-calendar-window):
2204 * progmodes/compile.el (compilation-set-window-height):
2205 * textmodes/two-column.el (2C-two-columns, 2C-merge):
2206 Use window-full-width-p instead of comparing frame-width and
2209 * progmodes/compile.el (compilation-find-buffer): Remove extra
2210 argument in call to compilation-buffer-internal-p.
2212 2007-08-07 Tom Tromey <tromey@redhat.com>
2214 * progmodes/tcl.el (tcl-indent-level, tcl-continued-indent-level):
2215 Add safe-local-variable property.
2217 2007-08-07 Chong Yidong <cyd@stupidchicken.com>
2219 * image-mode.el (image-toggle-display): Use image-refresh.
2221 2007-08-07 Riccardo Murri <riccardo.murri@gmail.com>
2223 * vc-bzr.el: Remove comments about vc-bzr.el being a modified
2225 (vc-bzr-command): Remove redundant setting of process-connection-type.
2226 (vc-bzr-admin-checkout-format-file): Add autoload.
2227 (vc-bzr-root-dir): Remove in favor of vc-bzr-root.
2228 (vc-bzr-root): Switch to implementation of vc-bzr-root-dir.
2229 (vc-bzr-registered): Compare dirstate format tag with known good
2230 value, abort parsing if match fails. Warn user in docstring.
2231 (vc-bzr-workfile-version): Case for different Bzr branch formats.
2232 See bzrlib/branch.py in Bzr sources.
2233 (vc-bzr-diff): First argument FILES may be a string rather than a list.
2234 (vc-bzr-shell-command): Remove in favor of
2235 vc-bzr-command-discarding-stderr.
2236 (vc-bzr-command-discarding-stderr): New function.
2238 2007-08-06 Riccardo Murri <riccardo.murri@gmail.com>
2240 * vc-bzr.el (vc-bzr-registered): Gracefully handle missing "bzr"
2241 program, and return nil.
2242 (vc-bzr-state): Gracefully handle missing "bzr" program, and return nil.
2243 (vc-bzr-state): Look for path names relative to the repository
2244 root after status keyword.
2245 (vc-bzr-file-name-relative): New function.
2246 (vc-bzr-admin-dirname): Reinstate, as other vc-bzr-admin-... paths
2248 (vc-bzr-admin-dirname, ...-checkout-format-file)
2249 (...-branch-format-file, ...-revhistory): Paths to some Bzr internal
2250 files that we now parse directly for speed.
2251 (vc-bzr-root-dir): Use `vc-bzr-admin-checkout-format-file' as witness.
2252 (vc-bzr-registered): Only parse vc-bzr-admin-dirstate file if it exists.
2253 (vc-bzr-state): "bzr status" successful only if exitcode is 0.
2254 (vc-bzr-root): Use `vc-bzr-shell-command'. Stderr may contain
2255 Bzr warnings, so we must discard it.
2256 (vc-bzr-workfile-version): Speedup counting lines from
2257 `vc-bzr-admin-revhistory' file, but fallback to spawning "bzr revno"
2258 if that file doesn't exist.
2259 (vc-bzr-responsible-p): Use `vc-bzr-root' instead of
2260 `vc-bzr-root-dir' for speed. Add `vc-bzr-admin-dirname' (not ".bzr"!)
2261 to `vc-directory-exclusion-list'.
2262 (vc-bzr-shell-command): New function.
2264 2007-08-06 Tom Tromey <tromey@redhat.com>
2266 * diff-mode.el (diff-unified->context, diff-reverse-direction)
2267 (diff-fixup-modifs): Typo in docstring.
2269 2007-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2271 * emulation/tpu-edt.el (tpu-current-line): Use posn-at-point and
2273 (tpu-edt-off): Disable relevant pieces of advice.
2275 * emulation/tpu-extras.el (tpu-before-save-hook): Rename from
2276 tpu-write-file-hook. Activate it with add-hook on buffer-save-hook.
2277 (newline, newline-and-indent, do-auto-fill): Use advice instead of
2278 redefining the function.
2279 (tpu-set-scroll-margins): Activate the pieces of advice.
2281 2007-08-06 Martin Rudalics <rudalics@gmx.at>
2283 * help.el (resize-temp-buffer-window): Use window-full-width-p
2284 instead of comparing frame-width and window-width.
2286 2007-08-13 Stephen Leake <stephen_leake@stephe-leake.org>
2288 * pcvs-parse.el (cvs-parse-table): Handle additional instance of
2289 optional quotes around files in NEED-UPDATE . REMOVED case.
2291 * progmodes/ada-xref.el (ada-gnatls-args): Fix docstring.
2292 (ada-treat-cmd-string): Improve error message.
2293 (ada-do-file-completion): Call `ada-require-project-file', so
2294 project variables are set properly.
2295 (ada-prj-find-prj-file): Delete Emacs 20.2 support.
2296 (ada-gnatfind-buffer-name): New constant.
2297 (ada-find-any-references): Use new constant. Set buffer name
2298 properly in compilation-start. Toggle read-only properly.
2299 (ada-find-in-src-path): Fix spelling error in docstring.
2301 * progmodes/vhdl-mode.el (vhdl-update-progress-info): Avoid divide
2304 2007-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2306 * emacs-lisp/autoload.el (autoload-print-form): Use print-quoted.
2308 2007-08-12 Richard Stallman <rms@gnu.org>
2310 * progmodes/sh-script.el (sh): Delete group `unix'.
2312 * progmodes/gud.el (gud): Change to group `processes'.
2314 2007-08-11 Glenn Morris <rgm@gnu.org>
2316 * progmodes/compile.el (compilation-buffer-name): Don't check
2317 compilation-arguments. It is superfluous, and the variable isn't
2318 even set when this function is called.
2320 2007-08-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2322 * term/mac-win.el (mac-ae-reopen-application): New function.
2323 (mac-apple-event-map): Bind "reopen application" Apple event to it.
2325 2007-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2327 * textmodes/tex-mode.el (tex-font-lock-unfontify-region): Fix to
2328 take tex-font-script-display into account.
2329 (tex-font-script-display, tex-font-lock-suscript): Change from a cons
2330 cell to a list of 2 elements to simplify the unfontify code.
2332 2007-08-08 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2334 * ps-print.el (ps-default-fg, ps-default-bg): Docstring fix.
2335 (ps-begin-job): Use ps-default-fg and ps-default-bg only when
2336 ps-print-color-p is neither nil nor black-white. Reported by Christian
2337 Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
2339 2007-08-08 Andreas Schwab <schwab@suse.de>
2341 * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook): Check for
2342 self-insert-command, not self-insert.
2344 2007-08-08 Glenn Morris <rgm@gnu.org>
2346 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): Make second
2347 argument optional, for backwards compatibility, and only highlight
2348 args when present. Fix symbol name typo (doc/args).
2350 * help-mode.el (help-make-xrefs): Search for symbol constituents,
2351 rather than just `-'.
2353 2007-08-07 Jay Belanger <jay.p.belanger@gmail.com>
2355 * calc/calc-units.el (calc-convert-temperature):
2356 Use `/' to create fractions.
2358 2007-08-07 Michael Albinus <michael.albinus@gmx.de>
2360 * net/tramp.el (tramp-wrong-passwd-regexp): Make the regexp more
2362 (tramp-handle-shell-command): Handle OUTPUT-BUFFER and
2363 ERROR-BUFFER more robust. Display output.
2364 (tramp-file-name-handler): Add a connection property when we found
2365 a foreign file name handler. This allows backends like ftp to
2366 profit also from usr/host name completion based on connection
2368 (tramp-send-command-and-read): Search for trash after the regexp
2369 until eol only. In XEmacs, there is a problem with \n.
2371 * net/tramp-cache.el (top): Read persistent connection history
2372 when cache is empty.
2374 2007-08-07 Nic Ferrier <nferrier@tapsellferrier.co.uk> (tiny change)
2376 * net/tramp.el (tramp-handle-process-file): Fix bug inserting
2379 2007-08-07 Sam Steingold <sds@gnu.org>
2381 * progmodes/compile.el (compilation-start): Pass nil as startfile
2384 2007-08-07 Chong Yidong <cyd@stupidchicken.com>
2386 * longlines.el (longlines-decoded): New variable.
2387 (longlines-mode): Avoid encoding or decoding the buffer twice.
2389 2007-08-07 Martin Rudalics <rudalics@gmx.at>
2391 * format.el (format-insert-file): Make sure that at most one undo
2392 entry is recorded for the insertion. Inhibit point-motion and
2393 modification hooks around call to insert-file-contents.
2395 2007-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2397 * vc.el (vc-annotate): Select temp-buffer before running vc-exec-after.
2398 Select the buffer's window before moving point.
2400 2007-08-07 Richard Stallman <rms@gnu.org>
2402 * term.el (term): Remove parent group `unix'.
2404 * simple.el (default-indent-new-line): New function.
2405 It calls comment-line-break-function if there are comments.
2406 (do-auto-fill): Use that.
2408 2007-08-07 Sean O'Rourke <sorourke@cs.ucsd.edu>
2410 * complete.el (PC-lisp-complete-symbol): Complete symbol around point.
2411 (PC-do-completion): Add "acronym completion" for symbols and
2412 filenames, so e.g. "mvbl" expands to "make-variable-buffer-local".
2414 2007-08-06 Sam Steingold <sds@gnu.org>
2416 * mouse.el (mouse-buffer-menu): Pass mode-name through
2417 format-mode-line because it may be a list,
2418 e.g., (sgml-xml-mode "XML" "SGML"), and not a string.
2420 2007-08-06 Vinicius Jose Latorre <viniciusig@ig.com.br>
2422 * printing.el (pr-update-menus): Docstring fix.
2424 2007-08-06 Jason Rumney <jasonr@gnu.org>
2426 * menu-bar.el (menu-bar-vc-filter): Use vc-call-backend.
2428 * vc-hooks.el (vc-call): Add doc string.
2430 2007-08-06 Michael Albinus <michael.albinus@gmx.de>
2432 * net/ange-ftp.el (ange-ftp-hook-function): Catch also errors in
2435 2007-08-06 Kenichi Handa <handa@m17n.org>
2437 * international/quail.el: Wrap (require 'help-mode) by
2439 (quail-help-init): New function.
2440 (quail-help): Call quail-help-init.
2441 (quail-store-decode-map-key): Change it to a function.
2443 2007-08-05 Jason Rumney <jasonr@gnu.org>
2445 * vc.el (vc-rollback): Add norevert argument back.
2446 (vc-revert-buffer): Add back as obsolete alias.
2448 2007-08-05 Peter Povinec <ppovinec@yahoo.com> (tiny change)
2450 * term.el: Honor term-default-fg-color and term-default-bg-color
2451 settings when modifying term-current-face.
2452 (term-default-fg-color, term-default-bg-color): Initialize from
2453 default term-current-face.
2454 (term-mode, term-reset-terminal): Set term-current-face with
2455 term-default-fg-color and term-default-bg-color.
2456 (term-handle-colors-array): term-current-face has term-default-fg-color
2457 and term-default-bg-color after reset escape sequence.
2458 (term-handle-colors-array): Set term-current-color with
2459 term-default-fg/bg-color instead of ansi-term-color-vector when the
2460 index (term-ansi-current-color or term-ansi-current-bg-color) is zero.
2462 2007-08-05 Jay Belanger <jay.p.belanger@gmail.com>
2464 * calc/calc-nlfit.el (math-nlfit-curve): Remove unnecessary variables.
2465 (math-nlfit-givens): Let bind free variables.
2467 2007-08-05 Vinicius Jose Latorre <viniciusig@ig.com.br>
2469 * printing.el: Require lpr and ps-print when loading printing package.
2470 Reported by Glenn Morris <rgm@gnu.org>.
2472 2007-08-05 Michael Albinus <michael.albinus@gmx.de>
2474 * files.el (set-auto-mode): Handle also remote files wrt
2477 2007-08-04 Jay Belanger <jay.p.belanger@gmail.com>
2479 * calc/calcalg3.el (calc-curve-fit): Add support for nonlinear
2480 curves and plotting.
2482 * calc/calc-nlfit.el: New file.
2484 2007-08-04 Glenn Morris <rgm@gnu.org>
2486 * autorevert.el (auto-revert-tail-mode): auto-revert-tail-pos is
2487 zero, not nil, when the library is first loaded. Check for a file
2488 that has been modified on disk.
2490 * progmodes/cperl-mode.el (cperl-compilation-error-regexp-alist):
2491 Remove duplicate defvar preventing initialization.
2492 (cperl-mode): Fix compilation-error-regexp-alist-alist setting.
2494 2007-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2496 * diff-mode.el (diff-font-lock-keywords): Fix up false positives.
2497 (diff-beginning-of-file): Adjust to the fact that diff-file-header-re
2498 may match up to 4 lines.
2499 (diff-beginning-of-file-and-junk): Rewrite.
2501 2007-08-03 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2503 * printing.el: Evaluate require only during compilation.
2504 (pr-version): New version 6.9.1.
2505 (deactivate-mark): Replace (defvar VAR nil) by (defvar VAR).
2506 (pr-global-menubar): Fix code.
2508 2007-08-03 Dan Nicolaescu <dann@ics.uci.edu>
2510 * term.el (term-erase-in-display): Fix case when point is not at
2511 the beginning of the line.
2513 2007-08-03 Jay Belanger <jay.p.belanger@gmail.com>
2515 * calc/calc-ext.el (math-get-value, math-get-sdev)
2516 (math-contains-sdev): New functions.
2518 * calc/calc-graph.el (calc-graph-format-data)
2519 (calc-graph-add-curve): Check for error forms.
2520 (calc-graph-set-styles): Add option for error forms.
2522 2007-08-03 Miles Bader <miles@gnu.org>
2524 * vc-hooks.el (vc-handled-backends): Change capitalization of VC
2525 backend names for new backends to `Git', `Hg', and `Bzr'.
2526 * vc-hg.el (vc-hg-dired-state-info): Use `Hg' as VC backend name,
2528 * vc-git.el (vc-git-dired-state-info): Use `Git' as VC backend
2530 * vc-bzr.el (vc-bzr-dir-state, vc-bzr-dired-state-info)
2531 (vc-bzr-unload-hook): Use `Bzr' as VC backend name, not `BZR'.
2533 2007-08-03 Richard Stallman <rms@gnu.org>
2535 * mail/rmailsum.el (rmail-make-summary-line): Find end of msg number
2536 to update deleted flag.
2538 * cus-edit.el (customize-apropos, customize-apropos-options)
2539 (customize-apropos-faces, customize-apropos-groups): Improve prompt.
2541 * menu-bar.el (menu-bar-help-menu): Add "About GNU" menu item.
2543 * startup.el (fancy-splash-head, startup-echo-area-message):
2544 Change message text.
2546 * emulation/tpu-edt.el (next-line-internal): Setting deleted.
2547 All callers use line-move.
2549 * progmodes/compile.el (compilation-find-buffer): Return current
2550 buffer immediately if suitable.
2551 (compile, compilation-buffer-name, compilation-start): Doc fixes.
2553 2007-08-03 Daiki Ueno <ueno@unixuser.org>
2555 * faces.el (face-normalize-spec): New function.
2556 (frame-set-background-mode): Normalize face-spec before calling
2559 2007-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2561 * server.el (server-window): Add switch-to-buffer-other-frame option.
2563 2007-08-03 Glenn Morris <rgm@gnu.org>
2565 * cus-edit.el (customize-apropos): Make the error message indicate
2566 what kind of thing the user was trying to customize.
2568 * net/telnet.el (telnet-mode): Set comint-use-prompt-regexp to t.
2570 * progmodes/fortran.el (fortran-font-lock-syntactic-keywords):
2571 Fix off-by-one error in previous change.
2573 2007-08-03 Drew Adams <drew.adams@oracle.com>
2575 * emacs-lisp/pp.el (pp-eval-expression): Add progress message.
2576 Make buffer writable.
2578 2007-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2580 * calc/calc-math.el (math-sqrt-raw, math-sin-raw-2)
2581 (math-cos-raw-2, math-arctan-raw, math-ln-raw):
2582 Use native Emacs functions, when appropriate.
2584 2007-08-01 Dan Nicolaescu <dann@ics.uci.edu>
2585 Stefan Monnier <monnier@iro.umontreal.ca>
2587 * vc.el: Document new VC operation `extra-menu'.
2589 * vc-hooks.el (vc-default-extra-menu): New function.
2591 * menu-bar.el (menu-bar-vc-filter): New function.
2592 (menu-bar-tools-menu): Use it as a filter.
2594 2007-08-01 Eric Hanchrow <offby1@blarg.net> (tiny change)
2596 * ibuf-ext.el (ibuffer-mark-old-buffers): Docstring fix.
2598 2007-08-01 Glenn Morris <rgm@gnu.org>
2600 * progmodes/fortran.el: Remove leading `*' from all defcustom doc
2602 (fortran-tab-mode-default): Remove needless autoload.
2603 (fortran-tab-mode-string): Add help-echo and mouse properties, and
2605 (fortran-line-length): New buffer-local variable, safe if integer.
2606 (fortran-if-start-re, fortran-end-prog-re1, fortran-end-prog-re):
2607 Change from variables to constants.
2608 (fortran-font-lock-syntactic-keywords): Delete as a variable,
2609 replace with a new function definition.
2610 (fortran-mode): Use fortran-line-length, and
2611 fortran-font-lock-syntactic-keywords as a function. Add a
2612 hack-local-variables-hook function.
2613 (fortran-line-length, fortran-hack-local-variables): New functions.
2614 (fortran-window-create, fortran-strip-sequence-nos): Doc fix.
2615 Use fortran-line-length rather than 72.
2616 (fortran-window-create-momentarily): Doc fix.
2618 2007-07-31 Drew Adams <drew.adams@oracle.com> (tiny change)
2620 * cus-edit.el (custom-group-value-create, custom-goto-parent):
2621 Fix parent groups link.
2623 2007-07-31 Paul Pogonyshev <pogonyshev@gmx.net>
2625 * progmodes/python.el (python-current-defun): Adjust to never fall
2628 2007-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
2630 * pcvs.el (cvs-vc-command-advice): Handle the new fileset case.
2632 2007-07-29 Kimit Yada <kimitto@gmail.com> (tiny change)
2634 * emacs-lisp/copyright.el (copyright-update-year, copyright-update)
2635 (copyright-fix-years, copyright): Correctly handle the case where
2636 copyright-limit is nil.
2638 2007-07-28 Konstantin Novitsky <knovitsk@Bear.com> (tiny change)
2640 * progmodes/python.el (run-python): Fix path separator under w32.
2642 2007-07-30 Richard Stallman <rms@gnu.org>
2644 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2645 Treat non-break space as whitespace in Lisp.
2647 2007-07-30 Stefan Monnier <monnier@iro.umontreal.ca>
2649 * vc.el (vc-dired-hook): Use inhibit-read-only.
2651 * progmodes/compile.el (compilation-forget-errors):
2652 Reset compilation-auto-jump-to-next.
2654 2007-07-30 Michael Olson <mwolson@gnu.org>
2656 * cus-edit.el (custom-group-save): Fix void function definition
2657 error. Thanks to Zhang Wei for the report.
2659 * ps-print.el: Check in trivial changes to the autoloads section
2660 caused by the build process. These autoloads really ought to be
2661 placed in a separate file, methinks.
2663 2007-07-29 Stefan Monnier <monnier@iro.umontreal.ca>
2665 * calendar/calendar.el (calendar-mode): Make sure
2666 displayed-(month|year) are set.
2667 (calendar-basic-setup): Display buffer before adjusting window sizes.
2668 (generate-calendar-window): Use inhibit-read-only. Simplify.
2669 Generate buffer and set displayed-month and displayed-year before
2670 calling update-calendar-mode-line.
2672 2007-07-29 Michael Albinus <michael.albinus@gmx.de>
2676 * net/trampver.el: Use utf-8 encoding with coding cookie.
2678 * net/tramp-cache.el:
2679 * net/tramp-fish.el:
2682 * net/tramp-smb.el: Remove coding cookie.
2684 * net/tramp.el (tramp-handle-verify-visited-file-modtime):
2685 Flush buffer file-name's file property.
2686 (tramp-handle-file-remote-p): The first parameter is FILENAME.
2688 * net/trampver.el: Update release number.
2690 2007-07-29 Juri Linkov <juri@jurta.org>
2692 * dired.el (dired-mode-map): Bind C-x C-q to dired-toggle-read-only.
2693 Filter out menu item "Edit File Names" `wdired-change-to-wdired-mode'
2694 when major-mode is not dired-mode.
2695 (dired-toggle-read-only): New function.
2696 (dired-recursive-deletes): Remove obsolete comments about old
2698 (dired-do-flagged-delete, dired-do-delete): Refill docstring.
2700 * wdired.el (wdired-exit): New function.
2701 (wdired-mode-map): Bind C-x C-q to wdired-exit.
2703 2007-07-28 Stefan Monnier <monnier@iro.umontreal.ca>
2705 * cus-edit.el (customize-read-group): New fun.
2706 (customize-group-other-window, customize-face-other-window):
2707 Prompt before delegating to customize-(group|face).
2708 Bind pop-up-windows rather than use the other-window argument.
2709 (customize-group, customize-face): Prompt from the interactive spec.
2710 Remove args `prompt-for-group' and `other-window'.
2712 * emacs-lisp/advice.el (ad-interactive-form): Re-introduce.
2713 (ad-body-forms, ad-advised-interactive-form): Revert this part of
2716 2007-07-28 Masatake YAMATO <jet@gyve.org>
2718 * vc.el (vc-dired-mode): Add a menu for VC related operation.
2719 Use backend name as the menu label. Suggested by David Kastrup.
2721 2007-07-28 Alan Mackenzie <acm@muc.de>
2723 Fix problem with modes derived from CC Mode:
2724 * progmodes/cc-mode.el (c-make-emacs-variables-local): Move this
2726 (c-init-language-vars-for): Remove call to above macro.
2727 * progmodes/cc-langs.el (c-make-emacs-variables-local): Macro has
2729 (c-make-init-lang-vars-fun): Call c-make-emacs-variables-local.
2731 2007-07-28 Eli Zaretskii <eliz@gnu.org>
2733 * net/trampver.el: Fix the `coding' cookie.
2735 2007-07-28 Dan Nicolaescu <dann@ics.uci.edu>
2737 * vc-git.el (vc-git-print-log): Support both the old single file
2738 interface and the new one.
2740 2007-07-28 Nick Roberts <nickrob@snap.net.nz>
2742 * bindings.el (mode-line-remote): Use updated %@ construct.
2744 2007-07-27 Stefan Monnier <monnier@iro.umontreal.ca>
2746 * calendar/cal-bahai.el (calendar-bahai-month-name-array)
2747 (calendar-bahai-epoch, calendar-bahai-leap-year-p)
2748 (calendar-bahai-leap-base, calendar-bahai-prompt-for-date)
2749 (diary-list-bahai-entries, diary-bahai-mark-entries)
2750 (calendar-bahai-mark-date-pattern, diary-insert-bahai-entry)
2751 (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
2752 New names to clean up namespace.
2753 (list-bahai-diary-entries, mark-bahai-diary-entries)
2754 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
2755 (insert-yearly-bahai-diary-entry, mark-bahai-calendar-date-pattern):
2756 Add compatibility aliases.
2758 * calendar/appt.el: Don't wrap defvar within eval-when-compile.
2760 * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right)
2761 (calendar-scroll-left-three-months)
2762 (calendar-scroll-right-three-months): Clean up namespace.
2763 (scroll-calendar-left, scroll-calendar-right)
2764 (scroll-calendar-left-three-months)
2765 (scroll-calendar-right-three-months): Add compatibility aliases.
2767 * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
2768 Behave like mouse-scroll-calendar-* when used from the mouse.
2770 * calendar/cal-menu.el (cal-menu-scroll-menu)
2771 (cal-menu-global-mouse-menu):
2772 * calendar/calendar.el (calendar-mode-map):
2773 Use new calendar-scroll-* names.
2774 (mouse-scroll-calendar-left, mouse-scroll-calendar-right):
2775 Remove. Use calendar-scroll-* directly instead.
2777 2007-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2779 * emacs-lisp/advice.el (ad-interactive-p, ad-interactive-form): Remove.
2780 (ad-body-forms, ad-advised-interactive-form, ad-make-cache-id)
2781 (ad-make-advised-definition, ad-cache-id-verification-code):
2782 Use commandp and interactive-form instead.
2784 2007-07-26 Dan Nicolaescu <dann@ics.uci.edu>
2786 * vc-git.el: Relicense to GPLv3 or later.
2787 (vc-directory-exclusion-list, vc-handled-backends): Remove.
2789 * vc-hooks.el (vc-handled-backends): Add GIT.
2791 * vc.el (vc-directory-exclusion-list): Add .git.
2793 2007-07-26 Alexandre Julliard <julliard@winehq.org>
2795 * vc-git.el (vc-git-revision-table)
2796 (vc-git-revision-completion-table): New functions.
2798 2007-07-26 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2800 * progmodes/ebnf-abn.el (ebnf-abn-skip-comment):
2801 * progmodes/ebnf-bnf.el (ebnf-bnf-skip-comment):
2802 * progmodes/ebnf-dtd.el (ebnf-dtd-skip-comment):
2803 * progmodes/ebnf-ebx.el (ebnf-ebx-skip-comment):
2804 * progmodes/ebnf-iso.el (ebnf-iso-skip-comment):
2805 * progmodes/ebnf-yac.el (ebnf-yac-skip-comment): New version.
2806 New command actions for EPS header and EPS footer.
2808 * progmodes/ebnf2ps.el: New command actions for EPS header and EPS
2809 footer. Fix some problems with one-or-more, zero-or-more and
2810 alternative constructions generation. Some log messages
2811 implementation. Doc fix.
2812 (ebnf-version): New version 4.4.
2813 (ebnf-eps-header-font, ebnf-eps-header, ebnf-eps-footer-font)
2814 (ebnf-eps-footer, ebnf-log): New options.
2815 (ebnf-find-style, ebnf-eps-header-footer, ebnf-eps-header)
2816 (ebnf-eps-footer, ebnf-eps-string, ebnf-eps-header-footer-comment)
2817 (ebnf-eps-header-footer-p, ebnf-eps-header-comment)
2818 (ebnf-eps-footer-comment, ebnf-eps-header-footer-file)
2819 (ebnf-eps-header-footer-set, ebnf-log-header, ebnf-log): New funs.
2820 (ebnf-style-custom-list, ebnf-style-database): Put new values.
2821 (ebnf-print-directory, ebnf-print-file, ebnf-print-buffer)
2822 (ebnf-print-region, ebnf-spool-directory, ebnf-spool-file)
2823 (ebnf-spool-buffer, ebnf-spool-region, ebnf-eps-directory)
2824 (ebnf-eps-file, ebnf-eps-buffer, ebnf-eps-region)
2825 (ebnf-syntax-directory, ebnf-syntax-file, ebnf-syntax-buffer)
2826 (ebnf-syntax-region, ebnf-parse-and-sort, ebnf-begin-job)
2827 (ebnf-dimensions, ebnf-production-dimension, ebnf-terminal-dimension)
2828 (ebnf-non-terminal-dimension, ebnf-special-dimension)
2829 (ebnf-terminal-dimension1, ebnf-repeat-dimension)
2830 (ebnf-except-dimension, ebnf-alternative-dimension)
2831 (ebnf-optional-dimension, ebnf-one-or-more-dimension)
2832 (ebnf-zero-or-more-dimension, ebnf-sequence-dimension): Insert log
2834 (ebnf-setup, ebnf-generate-one-or-more, ebnf-generate-zero-or-more)
2835 (ebnf-begin-job, ebnf-begin-file, ebnf-eps-finish-and-write)
2836 (ebnf-insert-ebnf-prologue, ebnf-production-dimension)
2837 (ebnf-terminal-dimension1, ebnf-alternative-dimension)
2838 (ebnf-one-or-more-dimension, ebnf-zero-or-more-dimension)
2839 (ebnf-eps-add-context, ebnf-eps-add-production): Fix code.
2840 (ebnf-eps-filename, ebnf-trim-right): Replace `?\s' by `?\ ' to keep
2841 compatibility with Emacs 20 & 21.
2842 (ebnf-eps-header-comment, ebnf-eps-footer-comment)
2843 (ebnf-eps-file-alist, ebnf-basic-width-extra)
2844 (ebnf-basic-empty-height): New vars.
2845 (ebnf-prologue): Fix PostScript code.
2846 (ebnf-make-empty, ebnf-make-terminal1, ebnf-make-or-more1)
2847 (ebnf-make-production, ebnf-make-alternative, ebnf-make-optional)
2848 (ebnf-make-except, ebnf-make-repeat, ebnf-make-sequence)
2849 (ebnf-make-dup-sequence, ebnf-token-alternative): Add comments.
2851 2007-07-25 Glenn Morris <rgm@gnu.org>
2853 * Relicense all FSF files to GPLv3 or later.
2855 * COPYING: Switch to GPLv3.
2857 2007-07-25 Stefan Monnier <monnier@iro.umontreal.ca>
2859 * pcvs.el (cvs-temp-buffer): Undo last ill-conceived change.
2860 Replace it with another one which disables undo before calling
2861 erase-buffer and then turns it back on if needed.
2863 2007-07-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2865 * ps-print.el: Problem with foreground and background color when
2866 printing a buffer with and without faces. Reported by Christian
2867 Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
2868 (ps-print-version): New version 6.7.5.
2869 (ps-default-fg): Change default value to nil, so black color is used
2870 when a face does not specify a foreground color.
2871 (ps-default-bg): Change default value to nil, so white color is used
2872 for background color.
2873 (ps-begin-job): Fix code.
2875 2007-07-24 Dan Nicolaescu <dann@ics.uci.edu>
2877 * vc-hg.el (vc-hg-revision-completion-table): Temporarily comment out.
2879 2007-07-24 Glenn Morris <rgm@gnu.org>
2881 * calendar/cal-tex.el (cal-tex-holidays, cal-tex-diary)
2882 (cal-tex-rules, cal-tex-buffer, cal-tex-24)
2883 (cal-tex-cursor-month-landscape, cal-tex-cursor-month)
2884 (cal-tex-cursor-week, cal-tex-cursor-week2)
2885 (cal-tex-cursor-week-iso, cal-tex-week-hours)
2886 (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
2887 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2888 (cal-tex-cursor-filofax-daily, cal-tex-daily-page): Doc fix.
2890 2007-07-25 Stefan Monnier <monnier@iro.umontreal.ca>
2892 * calendar/calendar.el (calendar-mode-map): Move initialization
2893 into declaration. Add menu bindings (used to be done in cal-menu).
2894 (calendar-mode): Don't add an activate-menubar-hook.
2896 * calendar/cal-menu.el: Break dependency on calendar.el (i.e. do not
2897 modify calendar-mode-map), use easy-menu, and make sure that C-h k
2898 can be used on the menu entries.
2899 (cal-menu-holiday-window-suffix, cal-menu-set-date-title): New funs.
2900 (cal-menu-moon-menu, cal-menu-diary-menu, cal-menu-holidays-menu)
2901 (cal-menu-goto-menu, cal-menu-scroll-menu): New consts.
2902 (cal-menu-context-mouse-menu, cal-menu-global-mouse-menu): New menus.
2903 (calendar-flatten, cal-menu-update): Remove.
2904 (calendar-mouse-insert-hebrew-diary-entry)
2905 (calendar-mouse-insert-islamic-diary-entry)
2906 (calendar-mouse-insert-bahai-diary-entry):
2907 Remove (fold into cal-menu-diary-menu).
2908 (calendar-mouse-2-date-menu, calendar-mouse-cal-tex-menu)
2909 (cal-tex-mouse-filofax): Remove (fold into cal-menu-context-mouse-menu).
2910 (calendar-mouse-3-map): Remove (turn into cal-menu-global-mouse-menu).
2911 (calendar-mouse-view-diary-entries): Minor simplifications.
2912 (calendar-event-to-date): Use with-current-buffer.
2914 2007-07-25 Nick Roberts <nickrob@snap.net.nz>
2916 * add-log.el (change-log-redate): Remove (not needed anymore and
2917 doesn't appear to work).
2919 2007-07-25 Stefan Monnier <monnier@iro.umontreal.ca>
2921 * frame.el: Use mapc and dolist instead of mapcar where possible.
2922 (close-display-connection): New command.
2924 2007-07-25 Alexandre Julliard <julliard@winehq.org>
2926 * vc-git.el (vc-git-log-view-mode): Port to the multi-file vc interface.
2927 (vc-git-create-snapshot, vc-git-retrieve-snapshot): New functions.
2929 2007-07-25 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2931 * ps-print.el (ps-multibyte-buffer): Docstring fix.
2933 * ps-mule.el: Doc fix.
2934 (ps-multibyte-buffer, ps-mule-font-info-database-default)
2935 (ps-mule-external-libraries, ps-mule-begin-job): Docstring fix.
2937 2007-07-25 Glenn Morris <rgm@gnu.org>
2939 * calendar/cal-tex.el (cal-tex-which-days, cal-tex-holidays)
2940 (cal-tex-diary, cal-tex-daily-string, cal-tex-daily-start)
2941 (cal-tex-daily-end, cal-tex-hook)
2942 (cal-tex-cal-one-month, cal-tex-cal-multi-month)
2943 (cal-tex-year, cal-tex-cursor-week, cal-tex-cursor-week2)
2944 (cal-tex-cursor-week-iso, cal-tex-week-hours)
2945 (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
2946 (cal-tex-cursor-day, cal-tex-insert-preamble): Doc fix.
2947 (cal-tex-day-prefix, cal-tex-day-name-format)
2948 (cal-tex-cal-one-month, cal-tex-cal-multi-month, cal-tex-myday)
2949 (cal-tex-caldate, cal-tex-LaTeX-hourbox)
2950 (cal-tex-LaTeX-subst-list): Change from variables to constants.
2951 (cal-tex-preamble, cal-tex-arg, cal-tex-nl): Simplify with `format'.
2952 (cal-tex-cursor-filofax-year, cal-tex-weekly4-box): Use \textbf,
2953 etc, rather than \bf.
2954 (cal-tex-mini-calendar): Fix typos in previous change.
2955 (cal-tex-latexify-list): Remove inner let binding.
2956 (cal-tex-end-document, cal-tex-banner): Use multi-line
2958 (cal-tex-comment): Handle embedded newlines.
2959 (cal-tex-LaTeXify-string): Use substring-no-properties.
2961 2007-07-25 Joakim Verona <joakim@verona.se> (tiny change)
2963 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2964 Add support for the Maden build tool.
2966 2007-07-25 William Xu <william.xwl@gmail.com> (tiny change)
2968 * net/webjump.el (webjump-url-encode): Fix for non-ASCII characters.
2970 2007-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2972 * pcvs.el (cvs-temp-buffer): Disable undo in temp buffers.
2974 2007-07-24 Dan Nicolaescu <dann@ics.uci.edu>
2976 * dired.el (dired-mode-map): Bind wdired-change-to-wdired-mode to
2979 * vc-git.el (vc-git-print-log): Fix previous change.
2981 2007-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2983 * window.el (save-selected-window): Minor optimization.
2984 (bw-adjust-window): If operation failed, try with a smaller delta.
2985 (window-fixed-size-p): New function.
2986 (window-area-factor): New var.
2987 (balance-windows-area): New command.
2989 * ps-mule.el (ps-multibyte-buffer): Docstring fixes.
2990 (ps-mule-encode-ethiopic): Make it clear that it's always defined.
2991 (ps-mule-prepare-font-for-components, ps-mule-encode-header-string)
2992 (ps-mule-encode-bit, ps-mule-encode-ucs2): Use dotimes.
2993 (ps-mule-begin-job): Use dolist.
2995 2007-07-24 Michael Albinus <michael.albinus@gmx.de>
2997 * subr.el (start-file-process-shell-command)
2998 (process-file-shell-command): New defuns.
3000 * progmodes/compile.el (compilation-start):
3001 Apply `start-file-process-shell-command'.
3003 2007-07-24 Alexandre Julliard <julliard@winehq.org>
3005 * vc-git.el (vc-git-checkout, vc-directory-exclusion-list): Fix typos.
3007 2007-07-24 Alan Mackenzie <acm@muc.de>
3009 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
3010 Initialise byte-compile-unresolved-functions before rather than
3011 after a compilation.
3012 (byte-compile-unresolved-functions): Amplify doc string.
3014 2007-07-24 Glenn Morris <rgm@gnu.org>
3016 * startup.el (normal-splash-screen): Use `emacs-copyright'.
3018 * calendar/cal-tex.el (cal-tex-holidays, cal-tex-diary)
3019 (cal-tex-rules, cal-tex-buffer, cal-tex-24)
3020 (cal-tex-cursor-month-landscape, cal-tex-cursor-month)
3021 (cal-tex-cursor-week, cal-tex-cursor-week2)
3022 (cal-tex-cursor-week-iso, cal-tex-week-hours)
3023 (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
3024 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3025 (cal-tex-cursor-filofax-daily, cal-tex-daily-page): Doc fix.
3027 * calendar/cal-tex.el: Remove leading `*' from defcustom docs.
3028 (cal-tex-daily-string, cal-tex-daily-start, cal-tex-daily-end)
3029 (cal-tex-day-name-format, cal-tex-cal-one-month)
3030 (cal-tex-cal-multi-month, cal-tex-myday, cal-tex-preamble)
3031 (cal-tex-comment, cal-tex-nl, cal-tex-cmd, cal-tex-e-parbox)
3032 (cal-tex-mini-calendar, cal-tex-em): Doc fix.
3033 (cal-tex-list-holidays, cal-tex-cursor-year)
3034 (cal-tex-cursor-year-landscape, cal-tex-year)
3035 (cal-tex-cursor-filofax-year, cal-tex-cursor-month-landscape)
3036 (cal-tex-cursor-month, cal-tex-insert-days)
3037 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
3038 (cal-tex-first-blank-p, cal-tex-cursor-week)
3039 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3040 (cal-tex-week-hours, cal-tex-cursor-week-monday)
3041 (cal-tex-weekly4-box, cal-tex-cursor-filofax-2week)
3042 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily)
3043 (cal-tex-cursor-day, cal-tex-daily-page, cal-tex-mini-calendar)
3044 (cal-tex-latexify-list, cal-tex-previous-month)
3045 (cal-tex-next-month, cal-tex-insert-preamble): General tidy-up and
3046 modernization, including using dotimes rather than
3048 (cal-tex-LaTeX-subst-list): Remove `@'.
3049 (cal-tex-em, cal-tex-bf, cal-tex-Huge-bf, cal-tex-large-bf):
3050 Use \textit and \textbf rather than \em and \it.
3052 * calendar/cal-bahai.el (list-bahai-diary-entries)
3053 * calendar/cal-hebrew.el (list-hebrew-diary-entries)
3054 * calendar/cal-islam.el (list-islamic-diary-entries)
3055 * calendar/calendar.el (generate-calendar, generate-calendar-month)
3056 * calendar/diary-lib.el (diary-list-entries)
3057 (mark-calendar-date-pattern): Use `dotimes' rather than
3058 `calendar-for-loop'.
3060 * calendar/calendar.el (calendar-for-loop): Doc fix.
3062 2007-07-23 Stefan Monnier <monnier@iro.umontreal.ca>
3064 * ses.el (ses-cleanup): Prevent Emacs from spuriously checking if the
3065 underlying file is uptodate.
3067 2007-07-23 Christopher J. Madsen <cjm@cjmweb.net>
3069 * replace.el (perform-replace): Use isearch-no-upper-case-p.
3071 2007-07-23 Stefan Monnier <monnier@iro.umontreal.ca>
3073 * vc-hooks.el (vc-mode-line-map): New const.
3074 (vc-mode-line): Use it.
3076 2007-07-23 Alexandre Julliard <julliard@winehq.org>
3078 * vc-git.el (vc-git-delete-file, vc-git-rename-file)
3079 (vc-git-unregister): New functions.
3080 (vc-git-find-version): Use the result of ls-files as a parameter
3083 2007-07-23 Michael Albinus <michael.albinus@gmx.de>
3085 * net/tramp.el (tramp-perl-file-attributes)
3086 (tramp-perl-directory-files-and-attributes)
3087 (tramp-handle-file-attributes-with-stat)
3088 (tramp-handle-directory-files-and-attributes-with-stat)
3089 (tramp-convert-file-attributes): Handle huge file sizes.
3091 2007-07-23 Juri Linkov <juri@jurta.org>
3093 * isearch.el (isearch-message-function): New variable.
3094 (isearch-update, isearch-search): Use it.
3096 * simple.el (goto-history-element): New function created from
3097 next-history-element.
3098 (next-history-element): Most code moved to goto-history-element.
3099 Call goto-history-element with (- minibuffer-history-position n).
3100 (previous-history-element): Call goto-history-element with (+
3101 minibuffer-history-position n).
3102 (minibuffer-setup-hook): Add minibuffer-history-isearch-setup.
3103 (minibuffer-history-isearch-message-overlay): New buffer-local variable.
3104 (minibuffer-history-isearch-setup, minibuffer-history-isearch-end)
3105 (minibuffer-history-isearch-search, minibuffer-history-isearch-message)
3106 (minibuffer-history-isearch-wrap, minibuffer-history-isearch-push-state)
3107 (minibuffer-history-isearch-pop-state): New functions.
3109 2007-07-23 Thien-Thi Nguyen <ttn@gnuvola.org>
3111 * vc-hooks.el (vc-stay-local-p): Fix bug: Avoid remove-if-not.
3112 Also, if FILE is a list, return non-nil if any of its elements
3113 should stay local. Update docstring.
3115 2007-07-23 Stefan Monnier <monnier@iro.umontreal.ca>
3117 * emacs-lisp/copyright.el (copyright-update-year): Fix 2007-05-25
3118 change by reverting a small part.
3120 2007-07-23 Richard Stallman <rms@gnu.org>
3122 * progmodes/octave-inf.el (inferior-octave-prompt): Accept .exe.
3124 2007-07-23 Dan Nicolaescu <dann@ics.uci.edu>
3126 * vc-git.el (vc-git-checkin): Delete unused parameter and the code
3127 handling it. Use vc-git-command.
3128 (vc-git-find-version, vc-git-diff-tree): New functions.
3129 (vc-git-revert): Use vc-git-command.
3130 (vc-git--run-command): Delete.
3132 2007-07-23 Alexandre Julliard <julliard@winehq.org>
3134 * vc-git.el (vc-git-workfile-unchanged-p): Update comment.
3136 2007-07-20 Kenichi Handa <handa@m17n.org>
3138 * international/utf-8.el (utf-8-post-read-conversion):
3139 Temporarily bind utf-8-compose-scripts to nil while running
3140 *-compose-region functions.
3142 2007-07-23 Dan Nicolaescu <dann@ics.uci.edu>
3144 * vc-git.el: Update status.
3145 (vc-directory-exclusion-list): Use eval-after-load.
3147 2007-07-22 Nick Roberts <nickrob@snap.net.nz>
3149 * bindings.el (mode-line-remote): New variable.
3150 (help-echo): Add to default values of mode-line-format.
3152 * files.el: Mark mode-line-remote as risky.
3154 2007-07-22 Juri Linkov <juri@jurta.org>
3156 * isearch.el (isearch-edit-string): Save old point and
3157 isearch-other-end to old-point and old-other-end before reading
3158 the search string from minibuffer. After exiting minibuffer set
3159 point to old-other-end if point and the search direction is the
3160 same as before reading the search string.
3161 (isearch-del-char): Don't set isearch-yank-flag to t. Put point
3162 to isearch-other-end. Instead of isearch-search-and-update call
3163 three functions isearch-search, isearch-push-state and isearch-update.
3165 2007-07-22 Dan Nicolaescu <dann@ics.uci.edu>
3167 * vc-git.el (vc-git-register, vc-git-checkin): Use vc-git-command,
3168 deal with multiple file arguments.
3169 (vc-git-print-log): Deal with multiple file arguments.
3171 2007-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3173 * diff-mode.el (diff-refine-ignore-spaces-hunk): Rename from
3174 diff-refine-hunk. Adjust users.
3175 (diff-unified-hunk-p, diff-splittable-p): New functions.
3176 (diff-mode-menu): Use it to disable Split when it doesn't work.
3178 2007-07-22 Dan Nicolaescu <dann@ics.uci.edu>
3180 * diff-mode.el (diff-mode-menu): New entries.
3182 2007-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3184 * diff-mode.el (diff-unified->context): Use the new `apply' undo entry
3185 if applicable, so as to save undo-log space.
3187 * diff-mode.el (diff-find-file-name): Add arg `batch'.
3189 * diff-mode.el (diff-beginning-of-file-and-junk): New function.
3190 (diff-file-kill): Use it.
3191 (diff-beginning-of-hunk): Add arg `try-harder' using it.
3192 (diff-restrict-view, diff-find-source-location, diff-refine-hunk):
3193 Use it so they find the hunk even when we're in the file header.
3195 2007-07-22 Dan Nicolaescu <dann@ics.uci.edu>
3197 * vc-git.el (vc-git-revision-granularity, vc-git-root)
3198 (vc-git-command, vc-git-dir-state, vc-git-dired-state-info)
3199 (vc-git-create-repo): New functions.
3200 (vc-git-registered): New autoloaded function definition.
3201 (vc-git-registered): Use vc-git-root.
3202 (vc-git-responsible-p): New defalias.
3203 (vc-git-annotate-extract-revision-at-line): Uncomment.
3204 (vc-git-print-log): Add the file name to the log.
3205 (vc-git-log-view-mode): New derived mode.
3206 (vc-git-diff, vc-git-annotate-command): Use vc-git-command.
3208 2007-07-22 Michael Albinus <michael.albinus@gmx.de>
3210 * progmodes/grep.el (grep-compute-defaults): Keep default values.
3212 2007-07-22 Ralf Angeli <angeli@caeruleus.net>
3214 * textmodes/reftex.el (reftex-access-parse-file): Create parse
3215 file in a way that does not interfere with recentf mode.
3216 (reftex-access-parse-file): Do not risk destroying an existing
3219 2007-07-22 Alexandre Julliard <julliard@winehq.org>
3221 * vc-git.el: New file.
3223 2007-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3225 * textmodes/tex-mode.el (tex-font-script-display): Change default.
3227 2007-07-22 Dan Nicolaescu <dann@ics.uci.edu>
3229 * vc-cvs.el (vc-cvs-mode-line-string): Add support for tooltips
3230 for branches and new files.
3232 * vc-hooks.el (vc-default-mode-line-string): Move mouse-face and
3233 local-map handling ...
3234 (vc-mode-line): ... here. Improve handling of help-echo.
3236 * vc.el (mode-line-string): Document help-echo usage.
3238 2007-07-22 Michael Albinus <michael.albinus@gmx.de>
3240 Sync with Tramp 2.1.10.
3242 * net/tramp.el (tramp-get-ls-command): Fix typo.
3244 * net/trampver.el: Update release number.
3246 2007-07-22 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
3248 * startup.el (command-line-x-option-alist): Use x-handle-no-bitmap-icon.
3250 * term/x-win.el (x-handle-no-bitmap-icon): New function.
3252 2007-07-22 Martin Rudalics <rudalics@gmx.at>
3254 * add-log.el (change-log-fill-parenthesized-list): New function.
3255 (change-log-indent): Call change-log-fill-parenthesized-list.
3256 (change-log-fill-paragraph): Bind fill-indent-according-to-mode to t.
3257 Have lines with leading asterisk start a paragraph.
3259 2007-07-21 Jay Belanger <jay.p.belanger@gmail.com>
3261 * calc/calc-math.el (math-emacs-precision)
3262 (math-largest-emacs-expt, math-smallest-emacs-expt):
3264 (math-use-emacs-fn): New function.
3265 (math-exp-raw): Evaluate with `math-use-emacs-fn', when
3268 2007-07-21 Thien-Thi Nguyen <ttn@gnuvola.org>
3270 * image-dired.el (image-dired-sane-db-file): New func.
3271 (image-dired-write-tags, image-dired-remove-tag)
3272 (image-dired-list-tags, image-dired-write-comments)
3273 (image-dired-get-comment, image-dired-mark-tagged-files)
3274 (image-dired-create-gallery-lists): Call new func.
3275 Reported by Dieter Wilhelm <dieter@duenenhof-wilhelm.de>.
3277 2007-07-21 Dan Nicolaescu <dann@ics.uci.edu>
3279 * vc-hg.el (vc-hg-dir-state): Fix loop.
3280 (vc-hg-print-log): Fix expected return value for vc-hg-command.
3281 (vc-hg-next-version, vc-hg-delete-file, vc-hg-rename-file)
3282 (vc-hg-register, vc-hg-create-repo, vc-hg-checkin)
3283 (vc-hg-revert): Likewise.
3284 (vc-hg-revision-table, vc-hg-revision-completion-table): New
3287 2007-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3289 * add-log.el (change-log-resolve-conflict): Don't lose data if the
3292 2007-07-20 Dan Nicolaescu <dann@ics.uci.edu>
3294 * progmodes/compile.el (compilation-auto-jump-to-first-error):
3295 Add group and version.
3297 2007-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3299 * add-log.el (add-log-file-name): Use file-relative-name.
3300 (add-change-log-entry): Delay reading
3301 add-log-(full-name|mailing-address) to after we've switched to the
3302 ChangeLog buffer so we get the right value.
3303 (add-change-log-entry, add-log-current-defun, change-log-merge):
3304 Use derived-mode-p rather than checking major-mode directly.
3306 * pcvs.el (cvs-mode-add-change-log-entry-other-window): Use a directory
3307 name for buffer-file-name if it refers to a directory.
3309 * vc-arch.el (vc-arch-diff): Fix last change.
3311 * progmodes/compile.el (compilation-start): Remember the original
3312 directory in a buffer-local compilation-directory.
3313 (compile): Set the global value of compilation-directory.
3314 (recompile): Use compilation-directory even in the compilation buffer.
3316 2007-07-20 Dan Nicolaescu <dann@ics.uci.edu>
3318 * vc-hg.el (vc-hg-diff): Use vc-hg-command.
3320 2007-07-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3322 * ps-print.el: Problem with foreground and background color when
3323 printing a buffer with and without faces. Reported by Christian
3324 Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
3325 (ps-print-version): New version 6.7.5.
3326 (ps-default-fg): Change default value to nil, so black color is used
3327 when a face does not specify a foreground color.
3328 (ps-default-bg): Change default value to nil, so white color is used
3329 for background color.
3330 (ps-begin-job): Fix code.
3332 2007-07-20 Eli Zaretskii <eliz@gnu.org>
3334 * makefile.w32-in (install-lisp-SH): Don't create subdirectories
3335 in $(INSTALL_DIR)/lisp/ if they already exist.
3337 2007-07-20 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
3339 * makefile.w32-in (install-lisp-CMD): Don't create subdirectories
3340 in $(INSTALL_DIR)/lisp/ if they already exist.
3342 2007-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3344 * progmodes/vera-mode.el (vera-re-search-forward)
3345 (vera-re-search-backward): Remove use of store-match-data.
3346 (vera-mode-map): Move initialization into declaration.
3348 * progmodes/flymake.el (flymake-buildfile-dirs): Remove.
3349 (flymake-find-buildfile): Use locate-dominating-file.
3351 * vc.el (vc-delistify): Use mapconcat.
3352 (vc-do-command): Minor simplification.
3353 (vc-expand-dirs): Use push.
3355 * vc-mcvs.el (vc-mcvs-create-repo):
3356 * vc-cvs.el (vc-cvs-create-repo): Remove.
3358 * vc-hooks.el (vc-find-root): Fix case where `file' is the current
3359 directory and the root as well.
3361 2007-07-20 Dan Nicolaescu <dann@ics.uci.edu>
3363 * vc-hooks.el (vc-default-workfile-unchanged-p): Pass a list
3366 * vc-hg.el (vc-hg-print-log): Deal with multiple file arguments.
3367 (vc-hg-registered): Replace if with when.
3368 (vc-hg-state): Deal with nonexistent files and handle removed files.
3369 (vc-hg-dir-state, vc-hg-dired-state-info): New functions.
3370 (vc-hg-checkout): Re-enable.
3371 (vc-hg-create-repo): Fix typos.
3372 (vc-hg-print-log): Fix for multiple files.
3373 (vc-hg-workfile-unchanged-p): New function.
3376 (vc-print-log): Fix call to print-log.
3377 (vc-default-comment-history): Likewise.
3378 (vc-directory-exclusion-list): Add .hg and .bzr.
3379 (vc-diff-internal): Pass a list instead of a file.
3381 * vc-mcvs.el (vc-mcvs-create-repo): Fix typos.
3383 * vc-bzr.el (vc-bzr-create-repo): New function.
3385 2007-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3387 * vc-hooks.el (vc-find-root): Walk up the tree to find an existing
3388 `file' from which to start the search.
3390 2007-07-19 Eric S. Raymond <esr@snark.thyrsus.com>
3392 * vc-cvs.el (vc-cvs-checkin, vc-cvs-diff): Finish transition from
3393 having a single file argument to having a list of files as the
3396 2007-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3398 * files.el (locate-dominating-file): New function.
3400 2007-07-18 Michael Albinus <michael.albinus@gmx.de>
3402 * progmodes/grep.el (grep-host-defaults-alist): New defvar.
3403 (grep-compute-defaults): Use it.
3405 2007-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3407 * uniquify.el: Docstring fixes.
3409 2007-07-18 Eric S. Raymond <esr@snark.thyrsus.com>
3411 * vc.el (revision-granularity, create-repo): Document new vc
3413 (vc-rollback): Renamed from vc-cancel-version. Update
3414 references. Pass a list instead of a file.
3415 (vc-revert): Renamed from vc-revert-buffer. Update references.
3416 (vc-delistify, vc-expand-dirs): New functions.
3417 (vc-do-command): Rename FILE to FILE-OR-LIST and deal with a list
3418 of files instead of a single file.
3419 (vc-position-context, vc-resync-window, vc-diff-internal)
3420 (vc-print-log): Pass a list instead of a file.
3422 * vc-hooks.el (vc-stay-local-p, vc-backend)
3423 (vc-backend-subdirectory-name): Work on a file list, not a single
3425 (vc-workfile-version): Update docstring.
3426 (vc-menu-map): Use vc-rollback instead of vc-cancel-version and
3427 vc-revert instead of vc-revert-buffer.
3428 (vc-prefix-map): Likewise. Bind vc-update.
3430 * vc-svn.el (vc-svn-revision-granularity, vc-svn-create-repo)
3431 (vc-svn-wash-log): New functions.
3432 (vc-svn-register, vc-svn-checkin, vc-svn-print-log)
3433 (vc-svn-command): Deal with a list of files, not a single file.
3435 * vc-rcs.el (vc-rcs-revision-granularity, vc-rcs-create-repo)
3436 (vc-rcs-wash-log): New functions.
3437 (vc-rcs-register, vc-rcs-checkin, vc-rcs-diff, vc-rcs-print-log):
3438 Deal with a list of files, not a single file.
3439 (vc-rcs-rollback): Likewise. Rename from vc-rcs-cancel-version.
3441 * vc-sccs.el (vc-sccs-revision-granularity, vc-sccs-wash-log): New
3443 (vc-sccs-register, vc-sccs-checkin, vc-sccs-diff): Deal with a
3444 list of files, not a single file.
3446 * vc-mcvs.el (vc-mcvs-revision-granularity, vc-mcvs-create-repo):
3448 (vc-mcvs-register, vc-mcvs-checkin, vc-mcvs-print-log)
3449 (vc-mcvs-diff): Deal with a list of files, not a single file.
3451 * vc-hg.el (vc-hg-revision-granularity, vc-hg-create-repo): New
3453 (vc-hg-print-log): Deal with a list of files, not a single file.
3454 (vc-hg-diff-tree): New function, replace defalias with the same
3456 (vc-hg-register, vc-hg-checkin, vc-hg-command): Rename FILE to
3457 FILES to denote that it is a file list, not a single file.
3459 * vc-cvs.el (vc-cvs-create-repo, vc-cvs-wash-log): New functions.
3460 (vc-cvs-register, vc-cvs-checkin): Deal with a list of files, not
3462 (vc-cvs-print-log, vc-cvs-command): Rename FILE to FILES to denote
3463 that it is a file list, not a single file.
3464 (vc-cvs-diff): Likewise. Simplify.
3466 * vc-arch.el (vc-arch-register, vc-arch-checkin, vc-arch-diff):
3467 Deal with a list of files, not a single file.
3469 * vc-bzr.el (vc-bzr-register, vc-bzr-command, vc-bzr-checkin)
3470 (vc-bzr-print-log): Update FILE parameter name to denote that it
3471 is a file list, not a single file.
3472 (vc-bzr-diff): Likewise. Use the car of files.
3474 2007-07-18 Juanma Barranquero <lekktu@gmail.com>
3476 * follow.el (follow-mode-hook, follow-mode-off-hook, follow-mode)
3477 (follow-delete-other-windows-and-split, follow-recenter)
3478 (follow-windows-aligned-p, follow-point-visible-all-windows-p)
3479 (follow-redisplay, follow-estimate-first-window-start)
3480 (follow-xemacs-scrollbar-support, follow-intercept-process-output):
3481 Fix typos in docstrings.
3483 2007-07-18 Martin Rudalics <rudalics@gmx.at>
3485 * add-log.el (change-log-mode): Use fill-nobreak-predicate to
3486 avoid that filling introduces lines with a single asterisk.
3488 * kmacro.el (kmacro-end-macro): When ignoring empty macro
3489 avoid incorrect kmacro-ring-empty-p messages.
3490 Reported by Michael Schierl <schierlm@gmx.de>.
3492 2007-07-17 Dan Nicolaescu <dann@ics.uci.edu>
3494 * vc.el: Add more info about the vc-registered function.
3496 2007-07-17 Michael Albinus <michael.albinus@gmx.de>
3498 * files.el (file-remote-p): Introduce optional parameter
3501 * recentf.el (recentf-keep-default-predicate): Adapt call of
3504 * progmodes/grep.el (grep-probe): Use `process-file'.
3505 (grep-compute-defaults): Handle variables host specific.
3507 * net/ange-ftp.el (ange-ftp-file-remote-p): Handle optional
3508 parameter IDENTIFICATION.
3510 * net/tramp.el (tramp-handle-file-remote-p): Handle optional
3511 parameter IDENTIFICATION.
3512 (tramp-handle-set-file-times): New defun. Replaces `tramp-touch'.
3513 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
3514 Add entry for `set-file-times'.
3515 (tramp-do-copy-or-rename-file-via-buffer)
3516 (tramp-do-copy-or-rename-file-out-of-band): Use `set-file-times'.
3517 (tramp-handle-unhandled-file-name-directory): Rewrite.
3518 (tramp-convert-file-attributes): Add error handling when inode is
3520 (tramp-get-inode): Change parameter from FILE to VEC.
3521 (tramp-handle-start-file-process): Use (current-buffer) if BUFFER
3522 is nil. This is according to the specification. Goto (point-max)
3524 (tramp-handle-shell-command): Rewrite completely, using
3525 `process-file' and `start-file-process'.
3526 (tramp-methods, tramp-find-shell)
3527 (tramp-open-connection-setup-interactive-shell)
3528 (tramp-maybe-open-connection): Guard against $PROMPT_COMMAND shell
3529 var. Reported by Steve Youngs <steve@sxemacs.org>.
3531 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add
3532 entry for `set-file-times'. Rename `start-process' into
3533 `start-file-process'. Remove `call-process' entry.
3534 (tramp-fish-handle-set-file-times): New defun.
3535 (tramp-fish-handle-executable-find): Use `process-file'.
3536 (tramp-fish-handle-process-file): New defun. Replaces
3537 `tramp-fish-handle-call-process'.
3538 (tramp-fish-do-copy-or-rename-file-directly): Use
3540 (tramp-fish-get-file-entries): Change `tramp-get-inode' parameter.
3542 * net/tramp-smb.el (tramp-smb-handle-file-attributes): Change
3543 `tramp-get-inode' parameter.
3545 2007-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3547 * vc-bzr.el (vc-bzr-version, vc-bzr-at-least-version)
3548 (vc-bzr-post-command-function): Remove. Version 0.8 is already old
3549 nowadays, and by the time Emacs-23 comes out, nobody will even remember
3550 it has ever existed.
3552 2007-07-17 Dan Nicolaescu <dann@ics.uci.edu>
3554 * vc.el: Undo previous change.
3556 2007-07-16 Eli Zaretskii <eliz@gnu.org>
3558 * makefile.w32-in (clean): Don't delete *~.
3560 2007-07-16 Stefan Monnier <monnier@iro.umontreal.ca>
3562 * textmodes/tex-mode.el (tex-verbatim-environments):
3563 Add safe-local-variable property.
3564 (tex-font-lock-syntactic-keywords): Lookup tex-verbatim-environments
3565 when starting font-lock rather than when loading tex-mode.el.
3567 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Skip over the
3568 whole $( rather than just the $. Rename from sh-quoted-subshell.
3569 (sh-font-lock-syntactic-keywords): Adjust call accordingly.
3571 2007-07-16 Thien-Thi Nguyen <ttn@gnuvola.org>
3573 * bookmark.el (bookmark-maybe-sort-alist): Don't modify
3574 bookmark-alist. Instead, if not sorting, simply return it.
3575 (bookmark-bmenu-list): Call bookmark-maybe-sort-alist
3576 for its return value, not for its side effect.
3578 * emacs-lisp/lisp-mode.el (calculate-lisp-indent): In the
3579 case of alignment under a constant symbol, find and consider
3580 the sexp actually at indentation to be the "last sexp".
3582 2007-07-16 Drew Adams <drew.adams@oracle.com>
3584 * mouse.el (mouse-yank-secondary): Better error message if no
3585 secondary selection.
3587 2007-07-16 Dan Nicolaescu <dann@ics.uci.edu>
3589 * vc-hooks.el (vc-handled-backends): Move BZR later in the list.
3591 * term/xterm.el (xterm-turn-on-modify-other-keys)
3592 (xterm-turn-off-modify-other-keys): New functions.
3593 (terminal-init-xterm): Enable the modifyOtherKeys feature if the
3594 terminal supports it.
3596 2007-07-16 Thien-Thi Nguyen <ttn@gnuvola.org>
3598 * bookmark.el (bookmark-show-all-annotations):
3599 Make sure each inserted annotation ends with newline.
3601 2007-07-15 Richard Stallman <rms@gnu.org>
3603 * kmacro.el (kmacro-bind-to-key): Avoid comparisons on function keys.
3605 * tutorial.el (tutorial--find-changed-keys):
3606 Handle C-x specially like ESC.
3608 2007-07-15 Aaron Hawley <aaronh@garden.org>
3610 * tar-mode.el (tar-get-descriptor): No error for zero-length file.
3612 2007-07-15 Juri Linkov <juri@jurta.org>
3614 * delsel.el (delete-selection-pre-hook):
3615 * emulation/cua-base.el (cua-paste): Before a yank command,
3616 check also whether last-command is one of mouse-save-then-kill,
3617 mouse-secondary-save-then-kill, mouse-set-region, mouse-drag-region.
3619 2007-07-15 Michael Albinus <michael.albinus@gmx.de>
3621 * recentf.el (recentf-keep-default-predicate): New defun.
3622 (recentf-keep): Use it as initial value.
3624 2007-07-15 Karl Fogel <kfogel@red-bean.com>
3626 * bookmark.el: Revert 2007-07-13T18:16:17Z!kfogel@red-bean.com,
3627 thus restoring bookmark bindings to three slots under C-x r. See
3628 http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00705.html.
3630 2007-07-15 Jeff Miller <jmiller@cablespeed.com> (tiny change)
3632 * calendar/calendar.el (calendar-goto-bahai-date): Autoload it.
3634 2007-07-15 Jason Rumney <jasonr@gnu.org>
3636 * w32-fns.el (set-default-process-coding-system): Use dos line ends
3637 for input to cmdproxy on all versions of Windows.
3638 Use dos line ends for input to plink.
3640 * comint.el (comint-simple-send): Concat newline before sending.
3641 (comint-password-prompt-regexp): Recognize plink's passphrase prompt.
3643 2007-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
3645 * emacs-lisp/autoload.el (generated-autoload-file): Autoload the
3646 safe-local-variable setting.
3648 2007-07-14 David Kastrup <dak@gnu.org>
3650 * emacs-lisp/advice.el (defadvice): Doc fix.
3652 2007-07-14 Juanma Barranquero <lekktu@gmail.com>
3654 * subr.el (when, unless): Doc fix.
3656 2007-07-13 Dan Nicolaescu <dann@ics.uci.edu>
3658 * replace.el (match): Use yellow1 instead of yellow.
3660 * progmodes/gdb-ui.el (breakpoint-enabled): Use red1 instead of
3663 * pcvs-info.el (cvs-unknown): Likewise.
3665 2007-07-13 Eli Zaretskii <eliz@gnu.org>
3667 * makefile.w32-in (install-lisp-SH, install-lisp-CMD): New targets.
3668 (install): Use them to copy all *.el files before *.elc.
3670 2007-07-13 Drew Adams <drew.adams@oracle.com>
3672 * bookmark.el (bookmark-jump-other-window): New function.
3673 (bookmark-map): Bind it to "o".
3675 http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html
3676 and its thread contains discussion about this change.
3677 The original patch was slightly tweaked by Karl Fogel
3678 <kfogel@red-bean.com> before committing.
3680 2007-07-13 Karl Fogel <kfogel@red-bean.com>
3682 * bookmark.el: Shorten some comments to fit within 80 lines.
3684 2007-07-13 Karl Fogel <kfogel@red-bean.com>
3686 * bookmark.el: Don't define bookmark keys under the "C-xr" map;
3687 instead, make "C-xp" a prefix for bookmark-map. Patch by Drew
3688 Adams <drew.adams@oracle.com>, mildly tweaked by me. See
3689 http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html.
3691 2007-07-13 Carsten Dominik <dominik@science.uva.nl>
3693 * textmodes/org.el: Bug fixes.
3694 (org-end-of-line): Move to end of line if in headline without tags.
3696 2007-07-13 Stefan Monnier <monnier@iro.umontreal.ca>
3698 * vc-hooks.el: Remove spurious * in docstrings.
3699 (vc-handled-backends): Add BZR.
3701 * vc-hooks.el (vc-find-file-hook): Use with-demoted-errors.
3703 2007-07-12 Davis Herring <herring@lanl.gov>
3705 * desktop.el (desktop-buffer-info, desktop-save):
3706 Use `desktop-dirname' instead of `dirname'.
3708 2007-07-12 Paul Pogonyshev <pogonyshev@gmx.net>
3710 * progmodes/which-func.el (which-func-modes): Add `python-mode'.
3712 * progmodes/python.el (python-which-func-length-limit): New var.
3713 (python-which-func): New function.
3714 (python-current-defun): Add optional `length-limit' and try to fit
3715 computed function name to that length.
3716 (python-mode): Hook `python-which-func' up.
3718 2007-07-12 Sean O'Rourke <sorourke@cs.ucsd.edu> (tiny change)
3720 * pcomplete.el (pcomplete-entries): Obey pcomplete-ignore-case.
3722 * comint.el (comint-dynamic-complete-as-filename):
3723 Use read-file-name-completion-ignore-case.
3725 2007-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
3727 * comint.el (comint-dynamic-list-filename-completions):
3728 Use read-file-name-completion-ignore-case.
3730 * vc-cvs.el: Require CL.
3731 (vc-cvs-revision-table, vc-cvs-revision-completion-table):
3732 New functions to provide completion of revision names.
3734 * vc-cvs.el (vc-functions): Clear up the cache when reloading the file.
3735 (vc-cvs-annotate-first-line-re): New const.
3736 (vc-cvs-annotate-process-filter): New fun.
3737 (vc-cvs-annotate-command): Use them and run the command asynchronously.
3739 2007-07-12 Paul Pogonyshev <pogonyshev@gmx.net>
3741 * emacs-lisp/eldoc.el (eldoc-last-data): Revise documentation.
3742 (eldoc-print-current-symbol-info): Adjust for changed helper
3743 function signatures.
3744 (eldoc-get-fnsym-args-string): Add `args' argument. Use new
3745 `eldoc-highlight-function-argument'.
3746 (eldoc-highlight-function-argument): New function.
3747 (eldoc-get-var-docstring): Format documentation with
3748 `font-lock-variable-name-face'.
3749 (eldoc-docstring-format-sym-doc): Add `face' argument and apply it
3751 (eldoc-fnsym-in-current-sexp): Return a list with argument index.
3752 (eldoc-beginning-of-sexp): Return number of skipped sexps.
3754 2007-07-11 Michael Albinus <michael.albinus@gmx.de>
3756 * progmodes/compile.el (compilation-start): `start-process' must
3757 still be redefined when calling `start-process-shell-command'.
3759 * progmodes/gud.el (gud-file-name): When `default-directory' is a
3760 remote file name, prepend its remote part to the filename.
3761 (gud-common-init): When `default-directory' is a remote file name,
3762 make the filename relative to it.
3763 Based on a patch by Nick Roberts <nickrob@snap.net.nz>.
3765 2007-07-11 Dan Nicolaescu <dann@ics.uci.edu>
3767 * vc-hooks.el (vc-default-mode-line-string): Add a mouse face,
3768 mouse binding and a tooltip.
3770 2007-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3772 * menu-bar.el (vc-menu-map): New defalias.
3774 2007-07-10 Richard Stallman <rms@gnu.org>
3776 * emacs-lisp/lisp-mode.el (eval-defun):
3777 Explain special handling of `defface'.
3779 2007-07-10 Jim Meyering <jim@meyering.net> (tiny change)
3781 * emacs-lisp/copyright.el (copyright-current-gpl-version): Set to 3.
3783 * autoinsert.el (auto-insert-alist): s/2/3/ in the generated comment.
3785 2007-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3787 * emacs-lisp/cl.el: Load cl-loaddefs.el quietly.
3789 * vc-arch.el (vc-arch-complete): Remove.
3790 (vc-arch-revision-completion-table): Use complete-with-action.
3792 * subr.el (condition-case-no-debug, with-demoted-errors): New macros.
3793 (complete-with-action): New function.
3794 (dynamic-completion-table): Use it.
3796 2007-07-10 Michael Albinus <michael.albinus@gmx.de>
3798 * comint.el (make-comint, make-comint-in-buffer)
3799 (comint-exec-1): Replace `start-process' by `start-file-process'.
3801 * progmodes/compile.el (compilation-start): Revert redefining
3804 2007-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3806 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Be careful
3807 with EOLs when generating MD5 checksums.
3809 * follow.el: Don't change the global map from the follow-mode-map
3810 defvar, but from the toplevel. Use easy-menu to unify the Emacs and
3812 (turn-on-follow-mode, turn-off-follow-mode): Remove interactive spec
3813 since `follow-mode' should be used instead for that.
3815 * emacs-lisp/easymenu.el (easy-menu-binding): New function.
3816 (easy-menu-do-define): Use it.
3817 (easy-menu-do-add-item): Inline into easy-menu-add-item and then remove.
3819 * progmodes/compile.el (compilation-auto-jump-to-first-error)
3820 (compilation-auto-jump-to-next): New vars.
3821 (compilation-auto-jump): New function.
3822 (compilation-error-properties): Use them to jump to first error.
3823 (compilation-start): Set the var if requested.
3825 * emacs-lisp/autoload.el (update-directory-autoloads): Remove
3826 duplicates without also removing entries from other directories.
3828 2007-07-10 Carsten Dominik <dominik@science.uva.nl>
3830 * textmodes/org.el (org-agenda-day-view, org-agenda-week-view):
3831 Remember span as default.
3832 (org-columns-edit-value): Rename from `org-column-edit'.
3833 (org-columns-display-here-title): Rename from
3834 `org-overlay-columns-title'.
3835 (org-columns-remove-overlays): Rename from org-remove-column-overlays.
3836 (org-columns-get-autowidth-alist): Rename from
3837 `org-get-columns-autowidth-alist'.
3838 (org-columns-display-here): Rename from `org-overlay-columns'.
3839 (org-columns-new-overlay): Rename from `org-new-column-overlay'.
3840 (org-columns-quit): Rename from `org-column-quit'.
3841 (org-columns-show-value): Rename from `org-column-show-value'.
3842 (org-columns-content, org-columns-widen)
3843 (org-columns-next-allowed-value)
3844 (org-columns-edit-allowed, org-columns-store-format)
3845 (org-columns-uncompile-format, org-columns-redo)
3846 (org-columns-edit-attributes, org-delete-property)
3847 (org-set-property, org-columns-update)
3848 (org-columns-compute, org-columns-eval)
3849 (org-columns-not-in-agenda, org-columns-compute-all)
3850 (org-property-next-allowed-value)
3851 (org-columns-compile-format)
3852 (org-fill-paragraph-experimental)
3853 (org-string-to-number, org-property-action)
3854 (org-columns-move-left, org-columns-new)
3855 (org-column-number-to-string)
3856 (org-property-previous-allowed-value)
3857 (org-at-property-p, org-columns-delete)
3858 (org-columns-previous-allowed-value)
3859 (org-columns-move-right, org-columns-narrow)
3860 (org-property-get-allowed-values)
3861 (org-verify-version, org-column-string-to-number)
3862 (org-delete-property-globally): New functions.
3863 (org-columns-current-fmt): Rename from `org-current-columns-fmt'.
3864 (org-columns-overlays): Rename from `org-column-overlays'.
3865 (org-columns-map): Rename from `org-column-map'.
3866 (org-columns-current-maxwidths): Rename from
3867 `org-current-columns-maxwidths'.
3868 (org-columns-begin-marker, org-columns-current-fmt-compiled)
3869 (org-previous-header-line-format)
3870 (org-columns-inhibit-recalculation)
3871 (org-columns-top-level-marker): New variables.
3872 (org-columns-default-format): Rename from `org-default-columns-format'.
3873 (org-property-re): New constant.
3875 2007-07-10 Guanpeng Xu <herberteuler@hotmail.com>
3877 * subr.el (looking-at-p, string-match-p): New functions.
3879 2007-07-09 Reiner Steib <Reiner.Steib@gmx.de>
3881 * textmodes/tex-mode.el (tex-fontify-script)
3882 (tex-font-script-display): New variables to make display of
3883 superscripts and subscripts customizable.
3884 (tex-font-lock-suscript, tex-font-lock-match-suscript): Use them.
3886 2007-07-09 Richard Stallman <rms@gnu.org>
3888 * isearch.el (isearch-edit-string): Call to isearch-push-state
3891 2007-07-09 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
3893 * window.el (fit-window-to-buffer): Remove setting of window-min-height
3894 to 1 as enlarge-window uses the value to resize/shrink windows other
3895 than WINDOW if needed.
3897 2007-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
3899 * cus-start.el (file-coding-system-alist): Fix custom type.
3901 2007-07-08 Chong Yidong <cyd@stupidchicken.com>
3903 * longlines.el (longlines-wrap-region): Avoid marking buffer as
3905 (longlines-auto-wrap, longlines-window-change-function):
3906 Remove unnecessary calls to set-buffer-modified-p.
3908 2007-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
3910 * cus-start.el (file-coding-system-alist): Fix custom type.
3912 2007-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3914 * vc-cvs.el (vc-cvs-revert): Use vc-default-revert.
3915 (vc-cvs-checkout): Remove last arg now unused; simplify.
3917 2007-07-08 Michael Albinus <michael.albinus@gmx.de>
3919 * files.el (file-remote-p): Introduce optional parameter CONNECTED.
3925 * net/trampver.el: Migrate to Tramp 2.1.
3927 * net/tramp-cache.el:
3928 * net/tramp-fish.el:
3929 * net/tramp-gw.el: New Tramp packages.
3931 * net/tramp-util.el:
3932 * net/tramp-vc.el: Removed.
3934 * net/ange-ftp.el: Add ange-ftp property to 'start-file-process.
3935 (ange-ftp-file-remote-p): Handle optional parameter CONNECTED.
3937 * net/rcompile.el (remote-compile): Handle Tramp 2.1 arguments.
3939 * progmodes/compile.el (compilation-start): Redefine
3940 `start-process' temporarily when `default-directory' is remote.
3941 Remove case of synchronous compilation, this won't happen ever.
3942 (compilation-setup): Make local variable `comint-file-name-prefix'
3943 for remote compilation.
3945 2007-07-08 Martin Rudalics <rudalics@gmx.at>
3947 * novice.el (disabled-command-function): Fit window to buffer to
3948 make last line visible.
3949 Reported by Stephen Berman <Stephen.Berman at gmx.net>.
3951 * mouse.el (mouse-drag-track): Reset transient-mark-mode to nil
3952 when handling the terminating event.
3954 2007-07-07 Jay Belanger <jay.p.belanger@gmail.com>
3956 * calc/calc.el (math-read-number-simple): Remove leading 0s.
3957 (math-bignum-digit-length): Change to optimal value.
3959 * calc/calc-bin.el (math-bignum-logb-digit-size)
3960 (math-bignum-digit-power-of-two): Evaluate when compiled.
3962 * calc/calc-comb.el (math-small-factorial-table)
3963 (math-init-random-base, math-prime-test): Remove unnecessary calls
3964 to `math-read-number-simple'.
3966 * calc/calc-ext.el (math-approx-pi, math-approx-sqrt-e)
3967 (math-approx-gamma-const): Add docstrings.
3969 * calc/calc-forms.el (math-julian-date-beginning)
3970 (math-julian-date-beginning-int): New constants.
3971 (math-format-date-part, math-parse-standard-date, calcFunc-julian):
3972 Use the new constants.
3974 * calc/calc-funcs.el (math-gammap1-raw): Add docstring.
3976 * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
3979 2007-07-07 Tom Tromey <tromey@redhat.com>
3981 * vc.el (vc-annotate): Jump to line and output message only after the
3982 process is really all done.
3984 2007-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
3986 * vc.el (vc-exec-after): Don't move point from the sentinel.
3987 Forcefully read all the remaining text in the pipe upon process exit.
3988 (vc-annotate-display-autoscale, vc-annotate-lines):
3989 Don't stop at the first unrecognized line.
3990 (vc-annotate-display-select): Run autoscale after the process is done
3991 since it depends on the whole result.
3993 2007-07-07 Eli Zaretskii <eliz@gnu.org>
3995 * term/w32-win.el (menu-bar-open): New function.
3998 2007-07-07 Michael Albinus <michael.albinus@gmx.de>
4000 * simple.el (start-file-process): New defun.
4002 2007-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4004 * files.el (find-file-confirm-nonexistent-file): Rename from
4005 find-file-confirm-inexistent-file. Update users.
4007 * emacs-lisp/autoload.el (autoload-find-destination): Understand a new
4008 format of autoload block where the file's time-stamp is replaced by its
4010 (autoload-generate-file-autoloads): Use MD5 checksum instead of
4011 time-stamp for secondary autoloads files.
4012 (update-directory-autoloads): Remove duplicate entries.
4013 Use time-less-p for time-stamps, as done in autoload-find-destination.
4015 2007-07-07 Jay Belanger <jay.p.belanger@gmail.com>
4017 * calc/calc.el (math-read-number): Replace number by variable.
4018 (math-read-number-simple): Properly parse small integers.
4020 2007-07-07 Dan Nicolaescu <dann@ics.uci.edu>
4022 * vc.el: Fix doc for the checkout function.
4024 2007-07-06 Dan Nicolaescu <dann@ics.uci.edu>
4026 * vc-hg.el (vc-hg-root): New function.
4027 (vc-hg-registered): Use it.
4028 (vc-hg-diff-tree): New defalias.
4029 (vc-hg-responsible-p): Likewise.
4030 (vc-hg-checkout): Comment out, not needed.
4031 (vc-hg-delete-file, vc-hg-rename-file, vc-hg-could-register)
4032 (vc-hg-find-version, vc-hg-next-version): New functions.
4034 2007-07-06 Andreas Schwab <schwab@suse.de>
4036 * emacs-lisp/lisp-mode.el (eval-last-sexp): Avoid introducing any
4037 dynamic bindings around the evaluation of the expression.
4038 Reported by Jay Belanger <jay.p.belanger@gmail.com>.
4040 2007-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4042 * autorevert.el (auto-revert-tail-handler): Use inhibit-read-only.
4043 Run before-revert-hook. Suggested by Denis Bueno <denbuen@sandia.gov>.
4044 Use run-hooks rather than run-mode-hooks.
4046 2007-07-05 Jay Belanger <jay.p.belanger@gmail.com>
4048 * calc/calc-comb.el (math-random-digit): Rename to
4049 `math-random-three-digit-number'.
4050 (math-random-digits): Don't depend on representation of integer.
4052 * calc/calc-bin.el (math-bignum-logb-digit-size)
4053 (math-bignum-digit-power-of-two): New constants.
4054 (math-and-bignum, math-or-bignum, math-xor-bignum, math-diff-bignum)
4055 (math-not-bignum, math-clip-bignum): Use the constants
4056 `math-bignum-digit-power-of-two' and `math-bignum-logb-digit-size'
4057 instead of their values.
4058 (math-clip): Use math-small-integer-size instead of its value.
4060 * calc/calc.el (math-add-bignum): Replace number by constant.
4062 2007-07-05 Chong Yidong <cyd@stupidchicken.com>
4064 * wid-edit.el (widget-documentation-string-value-create):
4065 Insert indentation spaces.
4067 2007-07-05 Thien-Thi Nguyen <ttn@gnuvola.org>
4069 * emacs-lisp/byte-opt.el: Revert last change.
4071 2007-07-05 Dan Nicolaescu <dann@ics.uci.edu>
4073 * vc-hooks.el (vc-handled-backends): Add HG.
4075 * vc-hg.el (vc-handled-backends): Remove, done in vc-hooks.el now.
4077 2007-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4079 * complete.el (PC-do-complete-and-exit): Add support for the new
4080 `confirm-only' confirmation mode.
4082 2007-07-05 Chong Yidong <cyd@stupidchicken.com>
4084 * cus-edit.el (custom-commands): New variable.
4085 (custom-tool-bar-map): New variable. Initialize using
4087 (custom-mode): Use `custom-tool-bar-map'.
4088 (custom-buffer-create-internal): Insert action buttons only if
4089 tool bar is not used. Use `custom-commands'.
4090 (Custom-help, custom-command-apply): New function.
4091 (custom-command-apply, Custom-set, Custom-save)
4092 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard):
4093 Use `custom-command-apply' instead of duplicating code.
4094 (customize-group-other-window): Call `customize-group' instead of
4096 (customize-face-other-window): Call `customize-face' instead of
4098 (customize-group, customize-face): Add optional args for opening
4100 (custom-variable-tag): Don't inherit `variable-pitch' face.
4101 (custom-group-tag): Inherit `variable-pitch' face.
4102 (custom-variable-value-create): Set documentation indentation.
4103 (custom-group-value-create): Make group name a link, instead of
4104 using an extra "go to group" button.
4105 (custom-prompt-variable, custom-group-set, custom-group-save)
4106 (custom-group-reset-current, custom-group-reset-saved)
4107 (custom-group-reset-standard): Minor cleanup.
4109 2007-07-05 Thien-Thi Nguyen <ttn@gnuvola.org>
4111 * Makefile.in (bootstrap-prepare): When copying from
4112 ldefs-boot.el, make sure loaddefs.el is writeable.
4114 (bootstrap-prepare): Make $(lisp)/ps-print.el
4115 and $(lisp)/emacs-lisp/cl-loaddefs.el writable, as well.
4117 2007-07-05 Dan Nicolaescu <dann@ics.uci.edu>
4119 * vc-hg.el (vc-hg-internal-status): Inline in `vc-hg-state', the
4120 only caller, and delete.
4121 (vc-hg-state): Deal with exceptions and only parse the output on
4123 (vc-hg-internal-log): Inline in `vc-hg-workfile-version', the only
4125 (vc-hg-workfile-version): Deal with exceptions and only parse the
4126 output on successful return.
4127 (vc-hg-revert): New function.
4129 2007-07-04 Jay Belanger <jay.p.belanger@gmail.com>
4131 * calculator.el (calculator-expt): Use more cases to determine
4134 2007-07-03 Dan Nicolaescu <dann@ics.uci.edu>
4136 * progmodes/gud.el (auto-mode-alist): Match more valid gdb init
4139 2007-07-03 Jay Belanger <jay.p.belanger@gmail.com>
4141 * calculator.el (calculator-expt, calculator-integer-p):
4143 (calculator-fact): Check to see if the factorial will be too
4144 large before computing it.
4145 (calculator-initial-operators): Use `calculator-expt' to
4147 (calculator-mode): Mention that results which are too large
4149 * calc/calc-comb.el (math-small-factorial-table): Replace list
4152 2007-07-03 David Kastrup <dak@gnu.org>
4154 * shell.el: On request of the authors, remove their addresses for
4155 the sake of bug reports, and add the developer list address as
4156 maintainer information.
4158 2007-07-03 Richard Stallman <rms@gnu.org>
4160 * files.el (make-directory): Doc fix.
4161 (find-file-confirm-inexistent-file): Make it a defcustom.
4162 Make nil the default.
4164 2007-07-02 Richard Stallman <rms@gnu.org>
4166 * startup.el (command-line): Set buffer-offer-save in *scratch*
4167 and enable auto-save in it.
4169 2007-07-02 Carsten Dominik <dominik@science.uva.nl>
4171 * textmodes/org.el (orgstruct-mode-map): New variable.
4172 (orgstruct-mode): New minor mode.
4173 (turn-on-orgstruct, orgstruct-error, orgstruct-setup)
4174 (orgstruct-make-binding, org-context-p, org-get-local-variables)
4175 (org-run-like-in-org-mode): New functions.
4176 (org-cycle-list-bullet): New command.
4177 (org-special-properties, org-property-start-re)
4178 (org-property-end-re): New constants.
4179 (org-with-point-at): New macro.
4180 (org-get-property-block, org-entry-properties, org-entry-get)
4181 (org-entry-delete, org-entry-get-with-inheritance)
4182 (org-entry-put, org-buffer-property-keys): New functions.
4183 (org-insert-property-drawer): New command.
4184 (org-entry-property-inherited-from): New variable.
4185 (org-column): New face.
4186 (org-column-overlays, org-current-columns-fmt)
4187 (org-current-columns-maxwidths, org-column-map): New variables.
4188 (org-column-menu): New menu.
4189 (org-new-column-overlay, org-overlay-columns)
4190 (org-overlay-columns-title, org-remove-column-overlays)
4191 (org-column-show-value, org-column-quit, org-column-edit): New
4193 (org-columns, org-agenda-columns): New commands.
4194 (org-get-columns-autowidth-alist): New functions.
4195 (org-properties): New customize group.
4196 (org-default-columns-format): New option.
4197 (org-priority): Realign tags after changing priority.
4198 (org-preserve-lc): New macro.
4199 (org-update-checkbox-count): Catch case when there is no headline.
4200 (org-agenda-quit): Remove any column overlays.
4201 (org-beginning-of-item-list): Fixed bug when non-item line is
4203 (org-cached-props): New variable.
4204 (org-cached-entry-get): New function.
4205 (org-make-tags-matcher): Handle property matches.
4206 (org-table-recalculate): Swap evaluation order: Field formula
4207 first, then column formulas, but don't allow them to overwrite the
4209 (org-table-eval-formula): New argument untouchable.
4210 (org-table-put-field-property): New function.
4212 2007-07-02 Martin Rudalics <rudalics@gmx.at>
4214 * help-mode.el (help-make-xrefs): Skip spaces too when
4217 * ffap.el (dired-at-point-prompter): Improve prompt in
4218 list-directory case.
4220 2007-07-01 Richard Stallman <rms@gnu.org>
4222 * files.el (find-file-visit-truename): Fix safe-local-variable value.
4224 2007-07-01 Richard Stallman <rms@gnu.org>
4226 * cus-start.el (max-mini-window-height): Added.
4228 2007-07-01 Sean O'Rourke <sorourke@cs.ucsd.edu> (tiny change)
4230 * complete.el (partial-completion-mode): Remove advice of
4231 read-file-name-internal.
4232 (PC-do-completion): Rebind minibuffer-completion-table.
4233 (PC-read-file-name-internal): New function doing what
4234 read-file-name-internal advice did.
4236 2007-07-01 Paul Pogonyshev <pogonyshev@gmx.net>
4238 * emacs-lisp/byte-opt.el: Set `binding-is-magic'
4239 property on a few symbols.
4240 (byte-compile-side-effect-free-dynamically-safe-ops): New defconst.
4241 (byte-optimize-lapcode): Remove bindings that are not referenced
4242 and certainly will not effect through dynamic scoping.
4244 2007-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4246 * files.el (find-file-confirm-inexistent-file): New var.
4247 (find-file, find-file-other-window, find-file-other-frame)
4248 (find-file-read-only, find-file-read-only-other-window)
4249 (find-file-read-only-other-frame): Use it.
4251 2007-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4253 * emacs-lisp/rx.el (rx-constituents): Fix up `anything'.
4255 2007-06-29 Juanma Barranquero <lekktu@gmail.com>
4257 * generic-x.el (generic-define-mswindows-modes)
4258 (generic-define-unix-modes, apache-log-generic-mode)
4259 (bat-generic-mode-keymap, java-manifest-generic-mode)
4260 (show-tabs-generic-mode): Fix typos in docstrings.
4262 2007-06-29 Ryan Yeske <rcyeske@gmail.com>
4264 * net/rcirc.el (rcirc-server-alist): Rename from rcirc-connections.
4265 (rcirc-default-full-name): Rename from rcirc-default-user-full-name.
4266 (rcirc-clear-activity): Make sure RCIRC-ACTIVITY isn't modified.
4267 (rcirc-print): Never ignore messages from ourself.
4269 2007-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4271 * font-lock.el (lisp-font-lock-keywords-2): Recognize the new \(?1:..\)
4272 syntax as well. Reported by Juri Linkov <juri@jurta.org>.
4274 2007-06-28 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
4276 * dnd.el (dnd-get-local-file-name): Set fixcase to t in call to
4277 replace-regexp-in-string.
4279 2007-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4281 * emacs-lisp/cl.el: Set edebug and indentation before loading
4282 cl-loaddefs.el so that its use of dolist doesn't load cl-macs.
4284 2007-06-28 Andreas Schwab <schwab@suse.de>
4286 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Depend on
4289 2007-06-28 Juanma Barranquero <lekktu@gmail.com>
4291 * speedbar.el (speedbar-handle-delete-frame): Don't try to delete
4292 the speedbar frame if nil; that deletes the current frame or
4293 causes an error if it is the only frame.
4294 Reported by Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>.
4296 2007-06-28 Kevin Ryde <user42@zip.com.au>
4298 * textmodes/nroff-mode.el: Groff \# comments.
4299 (nroff-mode-syntax-table): \# comment intro,
4300 plain # as punct per global table.
4301 (nroff-font-lock-keywords): Add # as a single char escape.
4302 (nroff-mode): In comment-start-skip, match \#.
4304 2007-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4306 * vc-bzr.el (vc-functions): Clear up the cache when reloading the file.
4307 (vc-bzr-workfile-version, vc-bzr-could-register): Don't hardcode
4310 2007-06-28 Nick Roberts <nickrob@snap.net.nz>
4312 * pcvs-util.el (cvs-strings->string, cvs-string->strings):
4313 Rename and move to...
4315 * subr.el (strings->string, string->strings): ...here.
4317 * pcvs.el (cvs-reread-cvsrc, cvs-header-msg, cvs-checkout)
4318 (cvs-mode-checkout, cvs-execute-single-file): Use new function names.
4320 * progmodes/gud.el (gud-common-init): Call string->strings instead
4323 2007-06-27 Michael Albinus <michael.albinus@gmx.de>
4325 * dired-aux.el: Remove `dired-call-process'.
4326 (dired-check-process): Call `process-file'.
4328 * wdired.el (wdired-do-perm-changes): Call `process-file'.
4330 * net/ange-ftp.el (ange-ftp-dired-call-process): Reimplement it as
4331 `ange-ftp-process-file'.
4333 2007-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4335 * emacs-lisp/cl.el: Use cl-loaddefs.el rather than manual autoloads.
4337 * emacs-lisp/cl-extra.el:
4338 * emacs-lisp/cl-seq.el:
4339 * emacs-lisp/cl-macs.el: Set generated-autoload-file to cl-loaddefs.el.
4340 Add autoload cookies on all defs autoloaded manually in cl.el.
4342 * emacs-lisp/cl-loaddefs.el: New file.
4344 * textmodes/texinfmt.el (texinfo-raisesections-alist)
4345 (texinfo-lowersections-alist): Merge definition and declaration.
4346 (texinfo-start-of-header, texinfo-end-of-header): Remove.
4347 (texinfo-format-syntax-table): Merge init into declaration.
4348 (texinfo-format-parse-line-args, texinfo-format-parse-args)
4349 (texinfo-format-parse-defun-args, texinfo-format-node)
4350 (texinfo-push-stack, texinfo-multitable-widths)
4351 (texinfo-define-info-enclosure, texinfo-alias)
4352 (texinfo-format-defindex, batch-texinfo-format): Use push.
4353 (texinfo-footnote-number): Remove duplicate declaration.
4355 * ps-print.el: Update with auto-generated autoloads.
4357 * ps-mule.el: Set generated-autoload-file to "ps-print.el".
4359 2007-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4361 * emacs-lisp/autoload.el (autoload-generated-file): Interpret names
4362 relative to current dir for file-local settings.
4363 (autoload-generate-file-autoloads): Add `outfile' arg.
4364 (update-directory-autoloads): Use it to directly call
4365 autoload-generate-file-autoloads instead of going through
4366 update-file-autoloads so we avoid redundant searches and so we can know
4367 the set of buffers changed so we can save them all.
4369 * emacs-lisp/autoload.el (autoload-find-destination): Return nil
4370 rather than throwing `up-to-date'.
4371 (autoload-generate-file-autoloads): Adjust correspondingly.
4372 (update-file-autoloads): Be careful to let-bind
4373 autoload-modified-buffers and adjust to new calling conventions.
4374 (autoload-modified-buffers): Make it a dynamically scoped var.
4375 (update-directory-autoloads): Use file-relative-name instead of
4376 autoload-trim-file-name.
4377 (autoload-insert-section-header): Don't use autoload-trim-file-name
4378 since the file is already relative now.
4379 (autoload-trim-file-name): Remove.
4381 * vc-arch.el (vc-arch-add-tagline): Do a slightly cleaner job.
4382 (vc-arch-complete, vc-arch--version-completion-table)
4383 (vc-arch-revision-completion-table): New functions to provide
4384 completion of revision names.
4385 (vc-arch-trim-find-least-useful-rev, vc-arch-trim-make-sentinel)
4386 (vc-arch-trim-one-revlib, vc-arch-trim-revlib): New functions
4387 to let the user trim the revlib.
4389 * vc.el: Add new VC operation `revision-completion-table'.
4390 (vc-default-revision-completion-table): New function.
4391 (vc-version-diff, vc-version-other-window): Use it to provide
4392 completion of revision names if the backend provides it.
4394 * log-edit.el (log-edit-changelog-entries): Use with-current-buffer.
4396 * vc-svn.el (vc-svn-repository-hostname): Adjust to non-XML format
4397 of newer .svn/entries.
4399 2007-06-25 David Kastrup <dak@gnu.org>
4401 * calc/calc-poly.el (math-padded-polynomial)
4402 (math-partial-fractions): Add some function comments.
4404 2007-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4406 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4407 Make `outbuf' optional.
4408 (update-file-autoloads): Use it.
4410 2007-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4412 * emacs-lisp/autoload.el (autoload-modified-buffers): New var.
4413 (autoload-find-destination): Keep it uptodate.
4414 (autoload-save-buffers): New fun.
4415 (update-file-autoloads): Use it. Re-add the "up to date" message.
4417 * emacs-lisp/autoload.el: Refactor for upcoming changes.
4418 (autoload-find-destination): New function extracted from
4419 update-file-autoloads.
4420 (update-file-autoloads): Use it.
4421 (autoload-generate-file-autoloads): New function extracted from
4422 generate-file-autoloads. Use file-relative-name. Delay computation of
4423 output-start to the first cookie. Remove done-any, replaced by
4425 (generate-file-autoloads): Use it.
4427 2007-06-24 Jay Belanger <jay.p.belanger@gmail.com>
4429 * calc/calc-comb.el (math-init-random-base, math-prime-test):
4430 Use math-read-number-simple to insert constants.
4431 (math-prime-test): Redo calculation of sum.
4433 * calc/calc-misc.el (math-div2-bignum): Use math-bignum-digit-size.
4435 * calc/calc-math.el (math-scale-bignum-digit-size): Rename from
4436 math-scale-bignum-3.
4437 (math-isqrt-bignum): Use math-scale-bignum-digit-size and
4438 math-bignum-digit-size.
4439 (math-isqrt-small): Add another possible initial guess.
4441 2007-06-23 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
4443 * textmodes/bibtex.el (bibtex-entry-format): New options
4444 `whitespace', `braces', and `string'.
4445 (bibtex-field-braces-alist, bibtex-field-strings-alist)
4446 (bibtex-field-braces-opt, bibtex-field-strings-opt)
4447 (bibtex-cite-matcher-alist): New variables.
4448 (bibtex-font-lock-keywords): Use bibtex-cite-matcher-alist.
4449 (bibtex-flash-head): Use blink-matching-delay.
4450 (bibtex-insert-kill, bibtex-mark-entry): Use push-mark.
4451 (bibtex-format-entry, bibtex-reformat): Handle new options of
4452 bibtex-entry-format.
4453 (bibtex-field-re-init, bibtex-font-lock-cite, bibtex-dist):
4455 (bibtex-complete-internal): Do not display messages while
4456 minibuffer is used. Do not leave around a completions buffer
4457 that is out of date.
4458 (bibtex-copy-summary-as-kill): New optional arg.
4459 (bibtex-font-lock-url): New optional arg no-button.
4460 (bibtex-find-crossref): Use `bibtex-cite-matcher-alist'.
4461 (bibtex-url): Allow multiple URLs per entry.
4463 2007-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4465 * emacs-lisp/autoload.el (autoload-generated-file): New function.
4466 (update-file-autoloads, update-directory-autoloads): Use it.
4467 (autoload-file-load-name): New function.
4468 (generate-file-autoloads, update-file-autoloads): Use it.
4469 (autoload-find-file): Accept non-absolute argument. Set default-dir.
4470 (generate-file-autoloads): If the autoloaded form is malformed,
4471 indicate the problem with a warning instead of aborting.
4473 2007-06-23 Thien-Thi Nguyen <ttn@gnuvola.org>
4475 * simple.el (next-error-recenter): Accept `(4)' as well;
4476 also, specify `integer' instead of `number'.
4478 2007-06-23 Eli Zaretskii <eliz@gnu.org>
4480 * ls-lisp.el (insert-directory): If an invalid regexp error is
4481 thrown, try using FILE as a literal file name, not a wildcard.
4483 2007-06-23 Juanma Barranquero <lekktu@gmail.com>
4485 * ruler-mode.el (ruler-mode): Prevent clobbering the original
4486 `header-line-format' when reentering ruler mode.
4488 2007-06-23 Eli Zaretskii <eliz@gnu.org>
4490 * ls-lisp.el (insert-directory): Don't treat FILE as a wildcard if
4491 FILE exists as a file.
4493 2007-06-22 Jay Belanger <jay.p.belanger@gmail.com>
4495 * calc/calc.el (math-bignum-digit-length)
4496 (math-bignum-digit-size, math-small-integer-size):
4498 (math-normalize, math-bignum-big, math-make-float)
4499 (math-div10-bignum, math-scale-left, math-scale-left-bignum)
4500 (math-scale-right, math-scale-right-bignum, math-scale-rounding)
4501 (math-add, math-add-bignum, math-sub-bignum, math-sub, math-mul)
4502 (math-mul-bignum, math-mul-bignum-digit, math-idivmod)
4503 (math-quotient, math-div-bignum, math-div-bignum-digit)
4504 (math-div-bignum-part, math-format-bignum-decimal)
4505 (math-read-bignum): Use math-bignum-digit-length,
4506 math-bignum-digit-size and math-small-integer-size.
4508 * calc/calc-ext.el (math-fixnum-big): Use the variable
4509 math-bignum-digit-size.
4511 2007-06-23 Dan Nicolaescu <dann@ics.uci.edu>
4513 * log-view.el (log-view-mode-menu): New menu.
4515 2007-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4517 * diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change
4520 * vc-hg.el (vc-hg-registered): Add an autoloaded version.
4521 (vc-hg-log-view-mode): Use log-view-font-lock-keywords.
4523 2007-06-22 Dan Nicolaescu <dann@ics.uci.edu>
4525 * vc-hg.el (vc-hg-print-log): Insert the file name.
4526 (vc-hg-log-view-mode): Fontify the file name.
4528 2007-06-22 Jay Belanger <jay.p.belanger@gmail.com>
4530 * calc/calc-forms.el (math-format-date-part, calc-parse-standard-date)
4531 (calcFunc-julian): Fix incorrect number used in calculations.
4533 2007-06-22 Thien-Thi Nguyen <ttn@gnuvola.org>
4535 * simple.el (next-error-recenter): New defcustom.
4536 (next-error, next-error-internal): Recenter if specified,
4537 immediately prior to running `next-error-hook'.
4539 * progmodes/hideshow.el (hs-show-block): Use line-end-position.
4540 (hs-hide-block-at-point, hs-hide-comment-region): Likewise.
4542 * progmodes/hideshow.el (hs-hide-all): Use progress reporter.
4544 2007-06-22 Jay Belanger <jay.p.belanger@gmail.com>
4546 * calc/calc-comb.el (math-small-factorial-table): New variable.
4547 (calcFunc-fact): Use `math-small-factorial-table'.
4549 * calc/calc-ext.el (math-defcache): Allow forms to evaluate
4551 (math-approx-pi, math-approx-sqrt-e, math-approx-gamma-const):
4552 New variables to use in caches.
4554 * calc/calc-forms.el (math-format-date-part, math-parse-standard-date)
4555 (calcFunc-julian): Use `math-read-number-simple' to insert bignums.
4557 * calc/calc-func.el (math-besJ0, math-besJ1, math-besY0, math-besY1)
4558 (math-bernoulli-b-cache): Use math-read-number-simple to insert
4561 * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
4562 New variables to use in caches.
4564 2007-06-22 Dan Nicolaescu <dann@ics.uci.edu>
4566 * vc-bzr.el (vc-bzr-log-view-mode): Add + to the email address regexp.
4568 * vc-hg.el (vc-hg-log-view-mode): New mode.
4570 2007-06-21 Jay Belanger <jay.p.belanger@gmail.com>
4572 * calc/calc.el (math-read-number-simple): New function.
4574 2007-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4576 * vera-mode.el (vera-mode): Fix `commend-end-skip' setting.
4577 (vera-font-lock-match-item): Fix doc string.
4578 (vera-in-comment-p): Remove unused function.
4579 (vera-skip-forward-literal, vera-skip-backward-literal): Improve code,
4581 (vera-forward-syntactic-ws): Fix argument order.
4582 (vera-prepare-search): Use `with-syntax-table'.
4583 (vera-indent-line): Fix doc string.
4584 (vera-electric-tab): Fix doc string.
4585 (vera-expand-abbrev): Define alias instead of using `fset'.
4586 (vera-comment-uncomment-region): Use `comment-start-skip'.
4588 2007-06-21 Carsten Dominik <dominik@science.uva.nl>
4590 * textmodes/org.el (org-export-with-footnotes): New option.
4591 (org-export-as-html): Fix replacement bug for XEmacs.
4592 (org-agenda-default-appointment-duration): New option.
4594 2007-06-21 Dan Nicolaescu <dann@ics.uci.edu>
4596 * vc-hg.el: Add to do items.
4597 (vc-hg-diff): Add support for comparing different revisions.
4598 (vc-hg-diff, vc-hg-annotate-command, vc-hg-annotate-time)
4599 (vc-hg-annotate-extract-revision-at-line)
4600 (vc-hg-previous-version, vc-hg-checkin): New functions.
4601 (vc-hg-annotate-re): New constant.
4603 2007-06-20 Jay Belanger <jay.p.belanger@gmail.com>
4605 * calc/calc.el (math-standard-ops): Fix precedence of multiplication.
4607 2007-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4609 * log-view.el (log-view-font-lock-keywords): Use `eval' to consult the
4610 buffer-local value of log-view-*-re if applicable.
4612 * vc-bzr.el (vc-bzr-dir-state): Use setq rather than set.
4613 Use vc-bzr-command rather than the ill defined vc-bzr-command*.
4614 (vc-bzr-command*): Remove both (incompatible) versions.
4615 (vc-bzr-do-command*): Remove.
4616 (vc-bzr-with-process-environment, vc-bzr-std-process-invocation):
4617 Remove by folding into its only caller vc-bzr-command.
4618 (vc-bzr-command): Always set the environment, even when ineffective.
4619 (vc-bzr-version): Minor fix up.
4620 (vc-bzr-admin-dirname): New var.
4621 (vc-bzr-bzr-dir): Remove.
4622 (vc-bzr-root-dir): New fun.
4623 (vc-bzr-registered): Use it. Add an autoloaded version.
4624 (vc-bzr-responsible-p): Use vc-bzr-root-dir as well.
4625 (vc-bzr-view-log-function): Remove.
4626 (vc-bzr-log-view-mode): New major mode to replace it.
4627 (vc-bzr-print-log): Only activate the old hack if needed.
4629 * vc.el (vc-default-log-view-mode): New function.
4630 (vc-print-log): Add new `log-view-mode' VC operation.
4632 2007-06-20 Juanma Barranquero <lekktu@gmail.com>
4634 * ido.el (ido-find-file-in-dir): Don't signal an error for
4637 * add-log.el (change-log-mode): Set `show-trailing-whitespace'.
4639 * desktop.el (desktop-read): Run `desktop-not-loaded-hook' in the
4640 directory where the desktop file was found, as the docstring says.
4641 (desktop-kill): Use `read-directory-name'.
4643 2007-06-20 Alan Mackenzie <acm@muc.de>
4645 * progmodes/cc-mode.el (c-remove-any-local-eval-or-mode-variables):
4646 When removing lines, also remove the \n. Correction of patch of
4649 2007-06-20 Martin Rudalics <rudalics@gmx.at>
4651 * mouse.el (mouse-drag-mode-line-1): Quit mouse tracking when
4652 event is not a cons cell. Do not unread drag-mouse-1 events.
4653 Select right window in check whether space was stolen from
4656 * help-mode.el (help-make-xrefs): Adjust position of new forward
4659 2007-06-20 Riccardo Murri <riccardo.murri@gmail.com>
4661 * vc-bzr.el (vc-bzr-with-process-environment)
4662 (vc-bzr-std-process-invocation): New macros.
4663 (vc-bzr-command, vc-bzr-command*): Use them.
4664 (vc-bzr-with-c-locale): Remove.
4665 (vc-bzr-dir-state): Replace its use with vc-bzr-command.
4666 (vc-bzr-buffer-nonblank-p): New function.
4667 (vc-bzr-state-words): New const.
4668 (vc-bzr-state): Look for `bzr status` keywords in output.
4669 Display everything else as a warning message to the user.
4670 Fix status report with bzr >= 0.15.
4672 2007-06-20 Dan Nicolaescu <dann@ics.uci.edu>
4674 * vc-hg.el (vc-hg-global-switches): Simplify.
4675 (vc-hg-state): Handle more states.
4676 (vc-hg-diff): Fix doc-string.
4677 (vc-hg-register): New function.
4678 (vc-hg-checkout): Likewise.
4680 2007-06-20 Reto Zimmermann <reto@gnu.org>
4682 * progmodes/vera-mode.el: New file.
4684 2007-06-19 Jay Belanger <jay.p.belanger@gmail.com>
4686 * calc/calc.el (calc-multiplication-has-precendence):
4688 (math-standard-ops, math-standard-ops-p, math-expr-ops):
4690 (math-expr-opers): Define using math-standard-ops rather than
4691 math-standard-opers.
4692 * calc/calc-aent.el (calc-do-calc-eval): Let math-expr-opers
4693 equal the function math-standard-ops rather than the variable
4694 math-standard-opers.
4695 (calc-algebraic-entry): Let math-expr-opers equal
4696 math-standard-ops or math-expr-ops, as appropriate.
4697 (math-expr-read-level, math-read-factor): Let math-expr-opers
4698 equal math-expr-ops.
4699 * calc/calc-embed.el (calc-embedded-finish-edit):
4700 Let math-expr-opers equal the function math-standard-ops
4701 rather than the variable math-standard-opers.
4702 * calc/calc-ext.el (math-read-plain-expr)
4703 (math-format-flat-expr-fancy): Let math-expr-opers equal the
4704 function math-standard-ops rather than the variable
4705 math-standard-opers.
4706 * calc/calc-lang.el (calc-set-language, math-read-big-rec):
4707 Let math-expr-opers equal the function math-standard-ops rather
4708 than the variable math-standard-opers.
4709 * calc/calc-prog.el (calc-read-parse-table): Let math-expr-opers
4710 equal the function math-standard-ops rather than the variable
4711 math-standard-opers.
4712 * calc/calc-yank.el (calc-finish-stack-edit): Let math-expr-opers
4713 equal the function math-standard-ops rather than the variable
4714 math-standard-opers.
4715 * calc/calccomp.el (math-compose-expr): Let math-expr-opers equal
4718 2007-06-19 Ivan Kanis <apple@kanis.eu>
4720 * vc-hg.el: New file.
4722 2007-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4724 * progmodes/sh-script.el (sh-font-lock-paren): Mark the relevant text
4725 with font-lock-multiline.
4727 2007-06-17 Glenn Morris <rgm@gnu.org>
4729 * lpr.el (lpr-page-header-switches): Move %s to separate element
4730 for correct quoting. Doc fix.
4732 2007-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4734 * textmodes/sgml-mode.el (sgml-xml-guess): Return the result rather
4735 than setting sgml-xml-mode.
4736 (sgml-mode, html-mode): Set sgml-xml-mode.
4737 (sgml-skip-tag-backward): Tell if we skipped over matched tags.
4738 (sgml-skip-tag-backward, sgml-electric-tag-pair-overlays): New var.
4739 (sgml-electric-tag-pair-before-change-function)
4740 (sgml-electric-tag-pair-flush-overlays): New functions.
4741 (sgml-electric-tag-pair-mode): New minor mode.
4742 (sgml-font-lock-keywords-2, sgml-get-context, sgml-unclosed-tag-p)
4743 (sgml-calculate-indent): Use assoc-string.
4745 2007-06-16 Karl Fogel <kfogel@red-bean.com>
4747 * thingatpt.el (thing-at-point-email-regexp): Don't require two
4748 chars before the "@" in an email address. Andreas Roehler noticed
4751 2007-06-15 Karl Fogel <kfogel@red-bean.com>
4753 * thingatpt.el: Add support for email addresses (`email').
4754 (thing-at-point, bounds-of-thing-at-point): Document `email' support.
4755 (thing-at-point-email-regexp): New variable.
4756 (`email'): Put `bounds-of-thing-at-point' and `thing-at-point'
4757 properties on this symbol, with lambda forms for values.
4759 2007-06-15 Masatake YAMATO <jet@gyve.org>
4761 * vc-bzr.el (vc-bzr-root): Cache the output of shell command execution.
4763 * vc.el (vc-dired-hook): Check the backend returned from
4764 `vc-responsible-backend' can really handle `subdir'.
4766 2007-06-15 Chong Yidong <cyd@stupidchicken.com>
4768 * wid-edit.el (widget-add-documentation-string-button):
4769 Fix handling of documentation indent.
4771 2007-06-15 Miles Bader <miles@fencepost.gnu.org>
4773 * mb-depth.el: New file.
4775 2007-06-15 Masatake YAMATO <jet@gyve.org>
4777 * vc.el (vc-dired-mode): Show backend name as part of mode name.
4779 2007-06-14 Chong Yidong <cyd@stupidchicken.com>
4781 * wid-edit.el (widget-default-create): Move ?h handling here...
4782 (widget-default-format-handler): ...from here.
4783 (widget-docstring, widget-add-documentation-string-button): New funs.
4784 (documentation-string): Add :visibility-widget property.
4785 (widget-documentation-string-value-create): Use it.
4787 * cus-edit.el (custom-split-regexp-maybe): Simplify.
4788 (custom-buffer-create-internal): Simplify message.
4789 (custom-variable-tag): Reduce height to normal.
4790 (custom-variable-value-create, custom-face-value-create)
4791 (custom-visibility): New widget.
4792 (custom-visibility): New face.
4793 (custom-group-value-create):
4794 Call widget-add-documentation-string-button, using `custom-visibility'.
4796 2007-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4798 * emacs-lisp/bytecomp.el (byte-compile-current-group)
4799 (byte-compile-nogroup-warn, byte-compile-file): Revert part of last
4800 change. Apparently the "warning even if the group is implicit" is
4801 a feature rather than a bug.
4803 2007-06-14 Michael Kifer <kifer@cs.stonybrook.edu>
4805 * viper.el (viper-describe-key-ad, viper-describe-key-briefly-ad):
4806 Different advices for Emacs and XEmacs. Compile them conditionally.
4807 (viper-version): Belated version change.
4809 2007-06-14 Juanma Barranquero <lekktu@gmail.com>
4811 * follow.el (follow-all-followers, follow-generic-filter):
4812 * pcomplete.el (pcomplete-restore-windows):
4813 * x-dnd.el (x-dnd-maybe-call-test-function, x-dnd-save-state)
4815 * emacs-lisp/edebug.el (edebug-pop-to-buffer, edebug-display):
4816 * progmodes/python.el (python-complete-symbol):
4817 * term/mac-win.el (mac-dnd-drop-data): Remove redundant check.
4819 2007-06-13 Ryan Yeske <rcyeske@gmail.com>
4821 * rcirc.el (rcirc-format-response-string): Use rcirc-nick-syntax
4822 around bright and dim regexps. Make sure bright and dim matches
4823 use word anchors. Send text through rcirc-markup functions.
4824 (rcirc-url-regexp): Add single quote character.
4825 (rcirc-connect): Write logs to disk on auto-save-hook.
4826 Make server a non-optional argument.
4827 (rcirc-log-alist): New variable.
4828 (rcirc-log-directory): Make customizable.
4829 (rcirc-log-flag): New customizable variable.
4830 (rcirc-log): New function.
4831 (rcirc-print): Use above function.
4832 (rcirc-log-write): New function.
4833 (rcirc-generate-new-buffer-name): Strip text properties.
4834 (rcirc-switch-to-buffer-function): Remove variable.
4835 (rcirc-last-non-irc-buffer): Remove variable.
4836 (rcirc-non-irc-buffer): Add function.
4837 (rcirc-next-active-buffer): Use above function.
4838 (rcirc-keepalive): Send KEEPALIVE ctcp instead of a PING.
4839 (rcirc-handler-ctcp-KEEPALIVE): Add handler.
4840 (rcirc-handler-CTCP): Don't print KEEPALIVE responses.
4841 (rcirc-omit-mode): Add minor-mode.
4842 (rcirc-mode-map): Change C-c C-o binding.
4843 (rcirc-mode): Clear mode-line-process. Use a custom
4844 fill-paragraph-function. Set up buffer-invisibility-spec.
4845 (rcirc-response-formats): Remove timestamp code.
4846 (rcirc-omit-responses): Add variable.
4847 (rcirc-print): Don't put the overlay arrow on potentially omitted
4848 lines. Log line to disk. Record activity for private messages
4849 from /dim nicks. Facify the fill-prefix with rcirc-timestamp face.
4850 (rcirc-jump-to-first-unread-line): Print message if there is no
4852 (rcirc-clear-unread): New function.
4853 (rcirc-markup-text-functions): Add variable.
4854 (rcirc-markup-timestamp, rcirc-markup-fill): Add functions.
4855 (rcirc-debug): Don't mess with window configuration.
4856 (rcirc-send-message): Send message before printing locally.
4857 Add SILENT argument, do not print message if non-nil.
4858 (rcirc-visible-buffers): New function and variable.
4859 (rcirc-window-configuration-change-1): Add function.
4860 (rcirc-target-buffer): Make sure ACTIONs don't get sent to the
4862 (rcirc-clean-up-buffer): Set rcirc-target to nil when finished.
4863 (rcirc-fill-paragraph): Add function.
4864 (rcirc-record-activity, rcirc-window-configuration-change-1):
4865 Only update the activity string if it has actually changed.
4866 (rcirc-update-activity-string): Remove padding characters from the
4868 (rcirc-disconnect-buffer): New function to be called when a
4869 channel is parted or the user quits.
4870 (rcirc-server-name): Warn when the server-name hasn't been set.
4871 (rcirc-window-configuration-change): Postpone work until
4873 (rcirc-window-configuration-change-1): Update mode-line and
4874 overlay arrows here.
4875 (rcirc-authenticate): Fixc hanserv identification.
4876 (rcirc-default-server): Remove variable.
4877 (rcirc): Connect according to rcirc-connections.
4878 (rcirc-connections): Add variable.
4879 (rcirc-startup-channels-alist): Remove variable.
4880 (rcirc-startup-channels): Remove function.
4882 2007-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4884 * diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change.
4886 2007-06-13 Johan Bockg
\e,Ae
\e(Brd <bojohan@dd.chalmers.se> (tiny change)
4888 * term/xterm.el (terminal-init-xterm): Escape parens in character
4891 2007-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4893 * progmodes/sh-script.el: Remove unneeded * from docstrings.
4894 Use [:alpha:] and [:alnum:] where applicable.
4895 (sh-quoted-subshell): Rewrite to correctly
4896 handle nested mixes of `...` and $(...).
4897 (sh-apply-quoted-subshell): Remove.
4898 (sh-font-lock-syntactic-keywords): Adjust call to sh-quoted-subshell.
4900 * vc-arch.el (vc-arch-command): Remove bzr. It's a different program.
4902 2007-06-13 Michael Kifer <kifer@cs.stonybrook.edu>
4904 * ediff-ptch.el (ediff-context-diff-label-regexp): Partially undo
4907 2007-06-12 Tom Tromey <tromey@redhat.com>
4909 * subr.el (user-emacs-directory): New defconst.
4910 * cmuscheme.el (scheme-start-file):
4912 * completion.el (save-completions-file-name):
4913 * custom.el (custom-theme-directory):
4914 * term/x-win.el (emacs-session-filename):
4915 * filesets.el (filesets-menu-cache-file):
4916 * thumbs.el (thumbs-thumbsdir):
4917 * server.el (server-auth-dir):
4918 * image-dired.el (image-dired-dir):
4919 (image-dired-db-file):
4920 (image-dired-temp-image-file):
4921 (image-dired-gallery-dir):
4922 (image-dired-temp-rotate-image-file):
4923 * play/gamegrid.el (gamegrid-user-score-file-directory):
4924 * savehist.el (savehist-file):
4925 * tutorial.el (tutorial--saved-dir):
4926 * startup.el (auto-save-list-file-prefix): Use user-emacs-directory.
4928 2007-06-12 Ralf Angeli <angeli@caeruleus.net>
4930 * scroll-lock.el (scroll-lock-mode): Doc fix.
4932 2007-06-12 Michael Kifer <kifer@cs.stonybrook.edu>
4934 * ediff-ptch.el (ediff-context-diff-label-regexp): Spurious parenthesis.
4936 * ediff-init.el: Doc strings.
4938 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4940 * emacs-lisp/bytecomp.el (byte-compile-current-group): New var.
4941 (byte-compile-file): Bind it.
4942 (byte-compile-nogroup-warn): Use it to avoid spurious warnings when the
4943 group argument is provided implicitly.
4944 (byte-compile-format-warn, byte-compile-from-buffer)
4945 (byte-compile-insert-header): Don't hardcode point-min==1.
4946 (byte-compile-file-form-require): Remove unused var old-load-list.
4947 (byte-compile-eval): Remove unused vars old-autoloads and hist-nil-new.
4949 2007-06-12 Michael Kifer <kifer@cs.stonybrook.edu>
4951 * emulation/viper-cmd.el (viper-prefix-arg-com, viper-prefix-arg-value):
4952 Display error messages.
4953 (viper-prev-destructive-command, viper-insert-prev-from-insertion-ring):
4954 Get rid of cl.el dependencies.
4956 * emulation/viper-init.el (viper-suppress-input-method-change-message):
4958 (viper-activate-input-method-action)
4959 (viper-inactivate-input-method-action):
4960 Use viper-suppress-input-method-change-message.
4962 * emulation/viper-kem.el (viper-vi-basic-map): Disable the bindings
4965 * emulation/viper-util.el (viper-set-cursor-color-according-to-state):
4966 Use viper-replace-overlay-cursor-color instead of
4967 viper-replace-overlay-cursor-color.
4968 (viper-sit-for-short): Use sit-for with 3 arguments.
4970 * emulation/viper.el (viper-insert-state-mode-list): Add gud-mode.
4971 (viper-major-mode-modifier-list): Add viper-comint-mode-modifier-map
4974 * ediff-mult.el (ediff-meta-buffer-brief-message)
4975 (ediff-meta-buffer-verbose-message): New variables.
4976 (ediff-meta-buffer-message): Variable deleted.
4977 (ediff-verbose-help-enabled): New variable.
4978 (ediff-toggle-verbose-help-meta-buffer): New function.
4979 (ediff-redraw-directory-group-buffer): Made aware of short/verbose
4982 * ediff-ptch.el (ediff-context-diff-label-regexp): Better regexp.
4983 (ediff-fixup-patch-map): Improve heuristic.
4985 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4987 * log-view.el (log-view-file-re, log-view-message-re): Use \(?1:...\).
4988 (log-view-font-lock-keywords): Simplify.
4989 (log-view-current-file, log-view-current-tag): Simplify.
4991 2007-06-12 Sam Steingold <sds@gnu.org>
4993 * vc-arch.el (vc-arch-command): Also try "baz" and "bzr".
4995 2007-06-12 Juanma Barranquero <lekktu@gmail.com>
4997 * desktop.el (desktop-load-locked-desktop): New option.
4998 (desktop-read): Use it.
4999 (desktop-truncate, desktop-outvar, desktop-restore-file-buffer):
5002 2007-06-12 Davis Herring <herring@lanl.gov>
5004 * desktop.el (desktop-save-mode-off): New function.
5005 (desktop-base-lock-name, desktop-not-loaded-hook): New variables.
5006 (desktop-full-lock-name, desktop-file-modtime, desktop-owner)
5007 (desktop-claim-lock, desktop-release-lock): New functions.
5008 (desktop-kill): Tell `desktop-save' that this is the last save.
5009 Release the lock afterwards.
5010 (desktop-buffer-info): New function.
5011 (desktop-save): Use it. Run `desktop-save-hook' where the doc
5012 says to. Detect conflicts, and manage the lock.
5013 (desktop-read): Detect conflicts. Manage the lock.
5015 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5017 * emulation/tpu-mapper.el (tpu-emacs-map-key): Use new keymap names.
5019 * emulation/tpu-edt.el (tpu-gold-map): Rename from GOLD-map.
5020 (tpu-lucid-emacs-p): Remove. Use (featurep 'xemacs) instead.
5021 (CSI-map, GOLD-CSI-map, GOLD-SS3-map, SS3-map): Delete vars.
5022 (tpu-gold-map, tpu-global-map): Add all the SS3 and CSI bindings, using
5023 keysyms rather than byte sequences.
5024 (tpu-copy-keyfile): Don't force the user to use tpu-mapper.el.
5026 2007-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5028 * font-lock.el (font-lock-add-keywords): In case font-lock was only
5029 half-activated, forcefully activate it completely.
5031 2007-06-11 Richard Stallman <rms@gnu.org>
5033 * cus-edit.el (custom-variable-type): Doc fix.
5035 2007-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5037 * progmodes/sh-script.el (sh-font-lock-backslash-quote)
5038 (sh-font-lock-flush-syntax-ppss-cache): New functions.
5039 (sh-font-lock-syntactic-keywords): Use them to distinguish the
5040 different possible cases for \'.
5042 * complete.el (PC-bindings): Don't bind things already bound in the
5045 * textmodes/bibtex-style.el: New file.
5047 2007-06-11 Riccardo Murri <riccardo.murri@gmail.com>
5049 * vc-bzr.el: New file.
5051 2007-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5053 * vc-svn.el (vc-svn-program): New var.
5054 (vc-svn-command): Use it.
5056 2007-06-11 Juanma Barranquero <lekktu@gmail.com>
5058 * server.el (server-switch-buffer): Remove redundant check.
5060 2007-06-10 Martin Rudalics <rudalics@gmx.at>
5062 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
5063 Match against file-name-nondirectory.
5064 Fix text on user customization variables.
5065 Reported by Johan Bockg
\e,Ae
\e(Brd <bojohan@dd.chalmers.se>.
5067 2007-06-09 Alfred M. Szmidt <ams@gnu.org> (tiny change)
5069 * mail/rmail.el (rmail-movemail-variant-in-use): Fix doc typo.
5071 2007-06-09 Davis Herring <herring@lanl.gov>
5073 * desktop.el (desktop-minor-mode-table): Doc fix.
5075 2007-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5077 * textmodes/css-mode.el (css-navigation-syntax-table):
5078 Use set-char-table-range so it also works in the unicode branch.
5080 2007-06-08 Nick Roberts <nickrob@snap.net.nz>
5082 * help-mode.el (help-xref-forward-stack)
5083 (help-xref-stack-forward-item, help-forward-label): New variables.
5084 (help-forward): New button type.
5085 (help-setup-xref): Initialise help-xref-forward-stack.
5086 (help-make-xrefs): Add forward button, if appropriate.
5087 (help-xref-go-back): Push item on forward stack.
5088 (help-xref-go-forward, help-go-forward): New functions.
5090 2007-06-07 Chong Yidong <cyd@stupidchicken.com>
5092 * dired.el (dired-mode-map): Remove spurious separator.
5094 2007-06-07 Juanma Barranquero <lekktu@gmail.com>
5096 * progmodes/ebrowse.el (ebrowse-draw-file-member-info): Doc fix.
5098 * progmodes/mixal-mode.el (mixal-operation-codes-alist):
5099 * progmodes/idlwave.el (idlwave-one-key-select): Fix typo in docstring.
5101 2007-06-07 Carsten Dominik <dominik@science.uva.nl>
5103 * textmodes/org.el: Version number fixed.
5105 2007-06-07 Glenn Morris <rgm@gnu.org>
5107 * version.el (emacs-copyright): New constant.
5108 * startup.el (fancy-splash-tail): Use emacs-copyright.
5109 * calc/calc-help.el (calc-full-help): Use emacs-copyright.
5111 * emacs-lisp/bytecomp.el (byte-compile-warnings): Add new option
5113 (byte-compile-warnings-safe-p): Add `make-local'.
5114 (byte-compile-make-variable-buffer-local):
5115 Allow byte-compile-warnings to suppress this warning.
5117 * tutorial.el (tutorial--describe-nonstandard-key): Adjust for new
5118 format of "menu" description.
5119 (tutorial--find-changed-keys): Describe the specific menu a
5122 * dframe.el (dframe-frame-parameter, dframe-mouse-event-p):
5123 Rewrite compatibility functions to silence byte-compiler.
5125 2007-06-07 Alfred M. Szmidt <ams@gnu.org> (tiny change)
5127 * mail/rmailsum.el (rmail-summary-save-buffer): New command.
5128 (rmail-summary-mode-map): Add rmail-summary-save-buffer.
5130 2007-06-07 Eric M. Ludlam <eric@siege-engine.com>
5132 * emacs-lisp/checkdoc.el (checkdoc-ispell-lisp-words): Remove "iff".
5134 2007-06-07 Juanma Barranquero <lekktu@gmail.com>
5136 * progmodes/ebrowse.el (ebrowse-member-table):
5137 * textmodes/org.el (org-export-ascii-bullets, org-batch-agenda)
5138 (org-batch-agenda-csv): Fix typos in docstrings.
5140 2007-06-06 Juanma Barranquero <lekktu@gmail.com>
5142 * international/mule-cmds.el (toggle-enable-multibyte-characters)
5143 (sort-coding-systems, search-unencodable-char): Doc fixes.
5144 (coding-system-change-eol-conversion, set-default-coding-systems)
5145 (prefer-coding-system, find-multibyte-characters, princ-list)
5146 (leim-list-entry-regexp, set-input-method, locale-language-names)
5147 (input-method-exit-on-first-char, exit-language-environment-hook)
5148 (locale-charset-language-names): Fix typos in docstrings.
5150 2007-06-06 Juanma Barranquero <lekktu@gmail.com>
5152 * pgg.el (pgg-sign-region, pgg-sign):
5153 * ses.el (ses-call-printer):
5154 * calendar/icalendar.el (icalendar--diarytime-to-isotime):
5155 * textmodes/org.el (org-cycle): Fix typos in docstrings.
5157 2007-06-06 Carsten Dominik <dominik@science.uva.nl>
5160 (org-export-region-as-html, org-replace-region-by-html)
5161 (org-number-to-letters, org-table-fedit-finish)
5162 (org-normalize-color, org-table-fedit-ref-right)
5163 (org-date-to-gregorian, org-table-fedit-move)
5164 (org-table-convert-refs-to-rc, org-calendar-holiday)
5165 (org-table-fedit-toggle-ref-type, org-write-agenda)
5166 (org-colgroup-info-to-vline-list, org-agenda-todo-previousset)
5167 (org-defkey, org-encode-for-stdout)
5168 (org-indent-line-function, org-export-as-html-to-buffer)
5169 (org-store-agenda-views, org-update-mode-line)
5170 (org-find-if, org-delete-all)
5171 (org-table-fedit-convert-buffer, org-emphasize)
5172 (org-uniquify, org-table-fedit-lisp-indent)
5173 (org-table-fedit-scroll, org-get-todo-sequence-head)
5174 (org-table-fedit-scroll-down, org-table-fedit-line-down)
5175 (org-table-fedit-ref-left, org-agenda-export-csv-mapper)
5176 (org-table-fedit-toggle-coordinates, org-dvipng-color)
5177 (org-table-fedit-line-up, org-table-fedit-ref-down)
5178 (org-table-formula-from-user, org-mode-flyspell-verify)
5179 (org-cycle-show-empty-lines, org-ctrl-c-ret)
5180 (org-table-formula-to-user, org-diary-to-ical-string)
5181 (orgtbl-export, org-table-fedit-post-command)
5182 (org-closed-in-range, org-shiftcontrolright)
5183 (org-table-convert-refs-to-an, org-table-hline-and-move)
5184 (org-table-formula-less-p, org-format-table-ascii)
5185 (org-agenda-get-sexps, org-shift-refpart)
5186 (org-diary-sexp-entry, org-time-string-to-absolute)
5187 (org-table-show-reference, org-letters-to-number)
5188 (org-fix-agenda-info, org-table-fedit-ref-up)
5189 (org-table-fedit-shift-reference, org-table-fedit-abort)
5190 (org-closest-date, org-shiftcontrolleft)
5191 (org-at-heading-or-item-p, org-rematch-and-replace)
5192 (org-agenda-todo-nextset, org-export-grab-title-from-buffer):
5194 (org-table-edit-scroll-down, org-finish-edit-formulas)
5195 (org-table-edit-next-field, org-abort-edit-formulas)
5196 (org-font-lock-level, org-export-find-first-heading-line)
5197 (org-table-edit-line-down, org-table-edit-backward-field)
5198 (org-edit-formula-lisp-indent, org-table-edit-move)
5199 (org-check-log-option, org-this-word)
5200 (org-table-edit-line-up, org-table-edit-formulas-post-command)
5201 (org-agenda-file-to-end, org-expand-file-name)
5202 (org-fake-empty-table-line, org-table-edit-scroll)
5203 (org-toggle-log-option, org-show-reference): Function removed.
5204 (org-inhibit-invisibility, org-table-formula-make-cmp-string):
5206 (org-unmodified, org-batch-store-agenda-views)
5207 (org-batch-agenda-csv): New macro.
5208 (org-agenda-export): New customization group.
5209 (org-agenda-skip-deadline-if-done, org-agenda-remove-tags)
5210 (org-highest-priority, org-agenda-exporter-settings)
5211 (org-log-done-with-time, org-replace-disputed-keys)
5212 (org-format-latex-header, org-export-table-header-tags)
5213 (org-cycle-separator-lines, org-export-table-data-tags)
5214 (org-icalendar-include-sexps)
5215 (org-empty-line-terminates-plain-lists)
5216 (org-log-repeat, org-special-ctrl-a)
5217 (org-table-use-standard-references, org-disputed-keys)
5218 (org-export-skip-text-before-1st-heading, org-agenda-with-colors)
5219 (org-agenda-export-html-style): New option.
5220 (org-allow-auto-repeat, org-agenda-remove-tags-when-in-prefix)
5221 (org-CUA-compatible): Option removed.
5222 (org-agenda-structure, org-sexp-date): New face.
5223 (org-todo-keywords-for-agenda, org-not-done-keywords)
5224 (org-planning-or-clock-line-re, org-agenda-name)
5225 (org-table-colgroup-info, org-todo-sets)
5226 (constants-unit-system, org-clock-mode-line-entry)
5227 (org-mode-line-timer, org-table-current-begin-pos)
5228 (org-todo-keywords-1, org-mode-line-string)
5229 (org-table-clean-did-remove-column, org-table-fedit-map)
5230 (org-clock-heading, org-table-buffer-is-an)
5231 (org-agenda-info, org-done-keywords)
5232 (org-done-keywords-for-agenda, org-todo-heads)
5233 (org-todo-kwd-alist, org-clock-start-time): New variable.
5234 (org-todo-kwd-priority-p, org-edit-formulas-map)
5235 (org-repeat-re, org-todo-kwd-max-priority)
5236 (org-version, org-done-string)
5237 (org-table-clean-did-remove-column-1, org-disputed-keys):
5239 (org-table-translate-regexp, org-repeat-re, org-version): New consts.
5240 (org-ts-lengths): Constant removed.
5241 (org-follow-gnus-link): Don't ask how many articles to read.
5242 (org-export-find-first-export-line): Rename from
5243 `org-export-find-first-heading'.
5244 Use `org-export-skip-text-before-1st-heading'.
5245 (org-table-fedit-post-command): Rename from
5246 `org-table-edit-formulas-post-command'.
5247 (org-table-fedit-finish): Rename from `org-finish-edit-formulas'.
5248 (org-table-fedit-abort): Rename from `org-abort-edit-formulas'.
5249 (org-table-fedit-lisp-indent): Rename from
5250 `org-edit-formula-lisp-indent'.
5251 (org-table-show-reference): Rename from `org-show-reference'.
5252 (org-table-store-formulas): Use `org-table-formula-less-p'.
5253 (org-table-edit-formulas): Position cursor to current field equation.
5254 (org-update-checkbox-count, org-hide-archived-subtrees)
5255 (org-timestamp-up-day, org-timestamp-down-day)
5256 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
5257 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
5258 (org-metadown, org-shiftup, org-shiftdown, org-shiftright)
5259 (org-shiftleft, org-ctrl-c-ctrl-c, org-context):
5260 Let `org-on-heading-p' also check for invisible heading.
5261 (org-read-date): Match am/pm times.
5262 (org-eval-in-calendar): Fix default date in prompt.
5264 2007-06-05 Chong Yidong <cyd@stupidchicken.com>
5266 * files.el (auto-mode-alist): Separate "ChangeLog.1" and
5267 "ChangeLog.a" entries, giving the latter lower priority.
5269 2007-06-05 Juanma Barranquero <lekktu@gmail.com>
5271 * faces.el (face-id): If the argument is a face alias,
5272 return the ID of the target face.
5274 2007-06-05 Michael Albinus <michael.albinus@gmx.de>
5276 * net/socks.el (top): Remove unnecessary copyright line.
5278 2007-06-04 Chong Yidong <cyd@stupidchicken.com>
5280 * longlines.el (longlines-auto-wrap): Handle argument correctly.
5282 2007-06-04 Michael Albinus <michael.albinus@gmx.de>
5284 * net/socks.el: New file, taken from w3 repository.
5285 (top): Update Copyright. Don't load cl.el.
5286 (all): Replace `case' by `cond', `string-to-int' by
5287 `string-to-number', and `process-kill-without-query' by
5288 `set-process-query-on-exit-flag'.
5289 (socks-char-int): Remove defalias and all occurrences.
5291 2007-06-04 Juanma Barranquero <lekktu@gmail.com>
5293 * progmodes/compile.el (compilation-find-file, compilation-handle-exit):
5294 Fix typos in docstrings.
5295 (compilation-search-path, compilation-buffer-name-function): Doc fixes.
5296 (compilation-finish-function): Fix typo in obsolescence declaration.
5298 2007-06-03 Sam Steingold <sds@gnu.org>
5300 * progmodes/compile.el: Add TIMESTAMP to the LOC data structure, to
5301 handle unending automatic recompilation of changed files (`omake -P').
5302 (compilation-loop): VISITED is now 5th CDR.
5303 (compilation-next-error-function): Set TIMESTAMP.
5305 2007-06-03 Sam Steingold <sds@gnu.org>
5307 * files.el (kill-buffer-ask): New function.
5308 (kill-some-buffers): Use it.
5309 (kill-matching-buffers): New user command.
5311 2007-06-01 David Kastrup <dak@gnu.org>
5313 * dired.el (dired-recursive-deletes, dired-recursive-copies):
5314 Change default to `top'.
5316 2007-05-31 Richard Stallman <rms@gnu.org>
5318 * dired.el (dired-do-flagged-delete, dired-do-delete): Doc fix.
5320 2007-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5322 * textmodes/css-mode.el: New file.
5324 2007-05-30 Michael Olson <mwolson@gnu.org>
5326 * emacs-lisp/tq.el (tq-queue-pop): Stifle error when a process has
5327 died and we are trying to send a signal to it. The program using
5328 tq.el should periodically check to see whether the process has
5329 died and react appropriately -- this is not the responsibility of
5330 tq.el, and is consistent with the rest of the tq.el source code.
5332 2007-05-29 Martin Rudalics <rudalics@gmx.at>
5334 * textmodes/table.el (table--point-entered-cell-function)
5335 (table--point-left-cell-function):
5336 Bind `inhibit-point-motion-hooks' to t.
5338 2007-05-29 Nikolaj Schumacher <n_schumacher@web.de> (tiny change)
5340 * emacs-lisp/rx.el (rx): Doc fix.
5342 2007-05-28 Juanma Barranquero <lekktu@gmail.com>
5344 * progmodes/idlwave.el (idlwave-routines): Fix typo in docstring.
5346 2007-05-28 Michael Albinus <michael.albinus@gmx.de>
5348 Sync with Tramp 2.0.56.
5353 * net/tramp-util.el:
5355 Don't load cl.el, because that pollutes the namespace. Replace cl
5356 macros by their implementations where necessary. Requested by
5357 Richard Stallman <rms@gnu.org>.
5359 * net/tramp.el (top): Make `set-buffer-multibyte' an alias if it
5361 (with-parsed-tramp-file-name): Protect debug spec during compilation.
5362 (tramp-handle-insert-directory): Check (featurep 'ls-lisp).
5363 (tramp-file-name-p, tramp-file-name-multi-method)
5364 (tramp-file-name-method, tramp-file-name-user)
5365 (tramp-file-name-host, tramp-file-name-localname): New defuns,
5366 replacing defstruct `tramp-file-name'.
5367 (tramp-handle-file-remote-p, tramp-completion-dissect-file-name1)
5368 (tramp-dissect-file-name, tramp-dissect-multi-file-name):
5369 Apply `vector' instead of `make-tramp-file-name'.
5370 (tramp-handle-make-auto-save-file-name):
5371 Apply `tramp-temporary-file-directory' for compatibility reasons.
5372 (tramp-completion-mode): Use `natnump' instead of `wholenump'
5374 (tramp-completion-mode): `last-input-event' is nil when XEmacs is
5377 2007-05-28 Chong Yidong <cyd@stupidchicken.com>
5379 * textmodes/sgml-mode.el (sgml-point-entered): Use condition-case.
5381 2007-05-27 Tetsurou Okazaki <okazaki@be.to> (tiny change)
5383 * log-edit.el (log-edit-changelog-paragraph): Return point-max
5384 as the end of the ChangeLog paragraph when it ends without a line
5387 2007-05-27 Ryan Yeske <rcyeske@gmail.com>
5389 * net/webjump.el (webjump-sample-sites):
5390 Add simple Wikipedia query.
5392 2007-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5394 * emacs-lisp/derived.el (define-derived-mode): Remove bogus
5397 * emacs-lisp/copyright.el (copyright-names-regexp): New var.
5398 (copyright-update-year): Use it.
5400 * edmacro.el (edmacro-format-keys): Use current-active-maps.
5402 * ediff-init.el (ediff-defvar-local, ediff-with-current-buffer):
5403 Add indentation and debugging info. Fix up comment convention.
5405 * cus-dep.el (custom-make-dependencies): Simplify.
5407 * composite.el (compose-region, decompose-region):
5408 Use inhibit-read-only and restore-buffer-modified-p.
5410 * xt-mouse.el (xterm-mouse-truncate-wrap): New function.
5411 (xterm-mouse-event): Use it.
5413 2007-05-25 Juanma Barranquero <lekktu@gmail.com>
5415 * bs.el (bs-cycle-previous): Don't modify the cycle list until
5416 `switch-to-buffer' has returned succesfully.
5417 (bs-cycle-next): Ditto. Also, don't bury the buffer when the
5418 window is dedicated (it could iconify the frame).
5420 2007-05-25 Miles Bader <miles@fencepost.gnu.org>
5422 * vc-hooks.el (vc-find-root): Fix file attribute test.
5424 2007-05-24 Richard Stallman <rms@gnu.org>
5426 * textmodes/flyspell.el (flyspell-correct-word-before-point):
5427 Don't let opoint be nil.
5428 (flyspell-emacs-popup): Explicit error if no dialogs.
5430 2007-05-24 Chong Yidong <cyd@stupidchicken.com>
5432 * image-mode.el (image-forward-hscroll, image-backward-hscroll)
5433 (image-next-line, image-previous-line, image-scroll-up)
5434 (image-scroll-down, image-bol, image-eol, image-bob, image-eob):
5436 (image-mode-map): Remap motion commands.
5437 (image-mode-text-map): New keymap for viewing images as text.
5438 (image-mode): Use image-mode-map.
5439 (image-toggle-display): Toggle auto-hscroll-mode and mode keymaps.
5441 2007-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5443 * textmodes/fill.el (canonically-space-region): Make the second arg
5444 a marker if it's not already the case.
5446 2007-05-23 Eli Zaretskii <eliz@gnu.org>
5448 * tar-mode.el (tar-header-block-summarize, tar-summarize-buffer)
5449 (tar-get-descriptor): Handle type 55, an extended pax header.
5451 2007-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5453 * autoinsert.el (auto-insert-alist): Quote elisp sample code so as not
5454 to confuse outline-minor-mode.
5456 2007-05-23 Eli Zaretskii <eliz@gnu.org>
5458 * tar-mode.el (tar-file-name-handler): New function.
5459 (tar-extract): Bind file-name-handler-alist to it to force
5460 find-buffer-file-type-coding-system behave as if the file being
5461 extracted existed. Use last-coding-system-used to force
5462 buffer-file-coding-system to what decode-coding-region actually
5463 used to decode the file.
5465 2007-05-23 Nikolaj Schumacher <n_schumacher@web.de> (tiny change)
5467 * progmodes/compile.el (compilation-handle-exit):
5468 `compilation-finish-function' may change the current buffer.
5470 2007-05-22 Richard Stallman <rms@gnu.org>
5472 * files.el (set-auto-mode): Doc fix.
5474 2007-05-22 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
5476 * help-fns.el (find-source-lisp-file): New function.
5477 (describe-function-1): Use find-source-lisp-file to find source
5478 file in compile tree.
5480 2007-05-22 Eli Zaretskii <eliz@gnu.org>
5482 * dos-w32.el (find-buffer-file-type-coding-system): Doc fix.
5484 2007-05-22 Juanma Barranquero <lekktu@gmail.com>
5486 * emacs-lisp/easy-mmode.el (define-minor-mode)
5487 (easy-mmode-define-navigation): Fix typos in docstrings.
5489 2007-05-22 Glenn Morris <rgm@gnu.org>
5491 * files.el (auto-mode-alist): Open `.asd' files in lisp-mode.
5493 2007-05-22 Katsumi Yamaoka <yamaoka@jpl.org>
5495 * mail/mail-extr.el (mail-extract-address-components):
5496 Recognize non-ASCII characters except for NBSP as words.
5498 2007-05-21 Trent Buck <trentbuck@gmail.com> (tiny change)
5500 * net/rcirc.el (rcirc-fill-column): Allow `window-width'.
5501 (rcirc-print): Handle `window-width'.
5502 (rcirc-buffer-maximum-lines): Doc fix.
5504 2007-05-21 Chong Yidong <cyd@stupidchicken.com>
5506 * image-mode.el (image-toggle-display): Don't clear image cache.
5507 Only use filename in image spec if the file is readable.
5510 * image.el (image-type-from-file-name, image-type): Simplify.
5511 (image-type-auto-detected-p): Don't scan auto-mode-alist.
5513 * files.el (magic-mode-alist): Remove image-type-auto-detected-p.
5514 (magic-fallback-mode-alist): Add image-type-auto-detected-p.
5516 2007-05-20 Nick Roberts <nickrob@snap.net.nz>
5518 * t-mouse.el (t-mouse-mode): Reset t-mouse-mode to nil if there
5521 * term/linux.el (terminal-init-linux): Don't signal an error
5522 if gpm isn't running.
5524 2007-05-20 Nick Roberts <nickrob@snap.net.nz>
5526 * t-mouse.el: Reduce to a minor-mode macro call.
5527 (t-mouse-mode): Remove the lighter.
5529 * term/linux.el (terminal-init-linux): Enable t-mouse by default.
5531 2007-05-19 Dan Nicolaescu <dann@ics.uci.edu>
5533 * files.el (auto-mode-alist): Change the regexp so that
5534 ChangeLog.unicode and ChangeLog.multi-tty use change-log-mode.
5536 2007-06-02 Chong Yidong <cyd@stupidchicken.com>
5538 * Version 22.1 released.
5540 2007-05-19 Chong Yidong <cyd@stupidchicken.com>
5542 * paren.el (show-paren-function): Undo 2007-04-19 and 2007-04-20
5545 2007-05-19 Kevin Ryde <user42@zip.com.au>
5547 * info.el (Info-fontify-node): Fontify https as well as http and ftp.
5549 2007-05-18 Thien-Thi Nguyen <ttn@gnuvola.org>
5551 * textmodes/sgml-mode.el: Revert last change.
5553 2007-05-18 Richard Stallman <rms@gnu.org>
5555 * simple.el (push-mark): Doc fix.
5557 2007-05-18 Rob Riepel <riepel@Stanford.EDU>
5559 * emulation/tpu-edt.el (CSI-map, SS3-map): Move from global-map to
5561 (tpu-original-global-map): Variable deleted.
5562 (tpu-control-keys-map): New keymap variable.
5563 (tpu-set-control-keys): Use tpu-reset-control-keys rather than
5564 setting keymapping directly.
5565 (tpu-reset-control-keys): Use tpu-control-keys-map instead of
5567 (tpu-edt-on): Activate the tpu-global-map.
5568 (tpu-edt-off): Deactivate the tpu-global-map.
5570 2007-05-18 Ryan Yeske <rcyeske@gmail.com>
5572 * textmodes/ispell.el (ispell-get-word): Return markers
5573 for start and end positions.
5574 (ispell-word): Assume END is a marker.
5576 2007-05-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5578 * printing.el: Group together all XEmacs/Emacs definitions.
5579 (pr-version): New version 6.9.
5580 (pr-global-menubar, pr-menu-char-height, pr-menu-char-width): New funs.
5581 (pr-menu-char-height, pr-menu-char-width): Fix initialization code.
5582 (pr-menu-bind): Fix code.
5583 (pr-e-frame-char-height, pr-e-frame-char-width)
5584 (pr-e-mouse-pixel-position, pr-x-add-submenu, pr-x-event-function)
5585 (pr-x-event-object, pr-x-find-menu-item, pr-x-font-height)
5586 (pr-x-font-width, pr-x-get-popup-menu-response, pr-x-make-event)
5587 (pr-x-misc-user-event-p, pr-x-relabel-menu-item, pr-x-event-x-pixel)
5588 (pr-x-event-y-pixel): Aliases eliminated.
5589 (pr-xemacs-global-menubar): Macro moved.
5590 (current-menubar, current-mouse-event, zmacs-region-stays)
5591 (deactivate-mark, pr-menu-position, pr-menu-state, pr-ps-name-old)
5592 (pr-txt-name-old, pr-ps-utility-old, pr-even-or-odd-old, pr-temp-menu):
5594 (pr-region-active-p, pr-menu-position, pr-menu-lookup, pr-menu-lock)
5595 (pr-update-mode-line, pr-do-update-menus, pr-menu-alist)
5596 (pr-relabel-menu-item, pr-menu-set-ps-title, pr-menu-set-txt-title)
5597 (pr-menu-set-utility-title, pr-even-or-odd-pages)
5598 (pr-f-set-keymap-parents, pr-f-set-keymap-name, pr-f-read-string)
5599 (pr-keep-region-active, pr-menu-get-item, pr-menu-set-item-name): Funs
5602 2007-05-17 Christian Plate <cplate@web.de> (tiny change)
5604 * textmodes/sgml-mode.el (sgml-tag):
5605 Fix bug: Call sgml-transformation-function.
5607 2007-05-17 Martin Rudalics <rudalics@gmx.at>
5609 * hilit-chg.el (highlight-changes-rotate-faces): Don't set
5610 modified flag of buffer. Use `inhibit-modification-hooks'.
5612 2007-05-16 Richard Stallman <rms@gnu.org>
5614 * buff-menu.el (Buffer-menu-sort-column): Doc fix.
5616 2007-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5618 * files.el (magic-mode-alist, magic-fallback-mode-alist):
5619 Move the *ml, Postscript, and XmCD entries to the fallback part.
5621 * files.el (magic-fallback-mode-alist):
5622 Rename from file-start-mode-alist.
5624 2007-05-16 Nikolaj Schumacher <n_schumacher@web.de> (tiny change)
5626 * progmodes/compile.el (compilation-handle-exit): Quote first
5627 argument of `run-hook-with-args'.
5629 2007-05-16 Juanma Barranquero <lekktu@gmail.com>
5631 * buff-menu.el (Buffer-menu-sort-column):
5632 * dabbrev.el (dabbrev-upcase-means-case-search):
5633 * dired.el (dired-recursive-deletes, dired-recursive-copies):
5634 * info.el (Info-current-subfile):
5635 * ls-lisp.el (ls-lisp-verbosity):
5636 * msb.el (msb-menu-cond):
5637 * pcvs.el (cvs-dired-use-hook):
5638 * simple.el (set-mark-command-repeat-pop):
5639 * time.el (display-time-24hr-format, display-time-mail-file):
5642 * tutorial.el (get-lang-string, tutorial--find-changed-keys):
5643 * printing.el (pr-ps-fast-fire): Fix typos in docstrings.
5645 * view.el (view-inhibit-help-message): Fix typo in docstring.
5646 (view-scroll-auto-exit, view-try-extend-at-buffer-end): Doc fixes.
5648 2007-05-16 Martin Rudalics <rudalics@gmx.at>
5650 * textmodes/ispell.el (ispell-start-process): Defend against bad
5653 2007-05-14 Eli Zaretskii <eliz@gnu.org>
5655 * mail/rmail.el (rmail-convert-to-babyl-format): Check
5656 content-transfer-encoding _last_, because it's its position that
5657 we need as value of base64-header-field-end.
5659 2007-05-14 Juanma Barranquero <lekktu@gmail.com>
5661 * files.el (mode-require-final-newline, require-final-newline)
5662 (enable-local-variables, enable-local-eval): Doc fixes.
5664 2007-05-13 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5666 * ps-print.el: Use default color when foreground or background color
5667 are unspecified. Reported by Leo <sdl.web@gmail.com>.
5668 (ps-print-version): New version 6.7.4.
5669 (ps-rgb-color): New argument. Use default color when color is
5671 (ps-begin-job): Fix code.
5673 2007-05-12 Chong Yidong <cyd@stupidchicken.com>
5675 * longlines.el (longlines-mode): Make longlines-auto-wrap
5676 buffer-local. Add hooks unconditionally.
5677 (longlines-auto-wrap): Toggle wrapping.
5678 (longlines-after-change-function)
5679 (longlines-post-command-function): Check longlines-auto-wrap.
5681 2007-05-12 Nick Roberts <nickrob@snap.net.nz>
5683 * xt-mouse.el (xterm-mouse-debug-buffer): New variable.
5684 (xterm-mouse-translate): Use it.
5686 2007-05-10 Richard Stallman <rms@gnu.org>
5688 * international/iso-cvt.el (iso-cvt-read-only): Ignore arguments.
5689 (iso-cvt-write-only): Likewise.
5691 * emacs-lisp/easy-mmode.el (define-minor-mode):
5692 Fix generated doc string.
5694 * startup.el (fancy-splash-text): Add URL of guided tour.
5695 Adjust horizontal and vertical whitespace.
5697 * progmodes/compile.el (compilation-handle-exit):
5698 Use run-hook-with-args to run compilation-finish-functions.
5700 * files.el (file-start-mode-alist): New variable.
5701 (magic-mode-regexp-match-limit): Doc fix.
5702 (set-auto-mode): Handle file-start-mode-alist.
5703 A little cleanup of structure.
5705 * dabbrev.el (dabbrev-eliminate-newlines):
5706 Renamed from dabbrev--eliminate-newlines. All uses changed.
5708 2007-05-10 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
5710 * man.el (Man-next-section): Don't consider the last line of the page
5711 as being part of any section.
5713 2007-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
5715 * textmodes/sgml-mode.el (sgml-value): Fix handling of attributes which
5716 can take any number of values.
5718 2007-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5720 * textmodes/tex-mode.el (tex-font-lock-keywords-2): Add citet and citep
5721 to the list of citation commands.
5723 2007-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5725 * vc-hooks.el (vc-find-root): Stop searching when the user changes.
5727 2007-05-09 Edward O'Connor <hober0@gmail.com> (tiny change)
5729 * progmodes/python.el (python-font-lock-keywords)
5730 (python-open-block-statement-p, python-mode): Add support for the new
5733 2007-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5735 * diff-mode.el (diff-apply-hunk, diff-test-hunk): Don't do by default
5736 the exact opposite of diff-goto-source.
5738 * emacs-lisp/advice.el (ad-special-forms): Remove.
5739 (ad-special-form-p): Use subr-arity.
5741 * newcomment.el (comment-search-forward): Make sure we search forward.
5742 (comment-enter-backward): Try and distinguish the non-matching case at
5743 EOB from the non-matching case with a missing comment-end-skip for
5744 a 2-char comment ender.
5745 (comment-choose-indent): New function extracted from comment-indent.
5746 Improve the alignment algorithm.
5747 (comment-indent): Use it.
5749 * textmodes/sgml-mode.el (sgml-lexical-context): Add handling of
5750 XML style Processing Instructions.
5751 (sgml-parse-tag-backward): Handle XML-style PIs. Also ensure progress.
5752 (sgml-calculate-indent): Handle `pi' context.
5754 * vc.el: Ensure that update-changelog issues an error when used with
5755 a backend that does not implement it.
5756 (vc-update-changelog-rcs2log): Rename from vc-default-update-changelog.
5757 Remove `backend' argument. Use expand-file-name.
5758 (vc-cvs-update-changelog, vc-rcs-update-changelog): New aliases.
5760 * progmodes/python.el (python-end-of-block): Revert last change.
5761 (python-end-of-statement): Make sure we move *forward*.
5763 2007-05-08 Richard Stallman <rms@gnu.org>
5765 * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook):
5766 Don't include non-self-insert commands in the exception for `-'.
5768 2007-05-08 David Reitter <david.reitter@gmail.com>
5770 * progmodes/python.el (python-guess-indent): Check non-nullness
5771 before comparing indent against the 2..8 interval.
5773 2007-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5775 * term/mac-win.el (mac-ts-unicode-for-key-event): Check if text is
5778 2007-05-06 Richard Stallman <rms@gnu.org>
5780 * emacs-lisp/eldoc.el (turn-on-eldoc-mode): Doc fix.
5782 2007-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5784 * diff.el (diff): Use buffer-local vars diff-old-file and diff-new-file
5785 rather than storing their value in the revert-buffer function.
5787 2007-05-04 Nick Roberts <nickrob@snap.net.nz>
5789 * t-mouse.el (t-mouse-mode): Do nothing on a graphical display
5790 when disabling t-mouse-mode.
5792 2007-05-01 Davis Herring <herring@lanl.gov>
5794 * calendar/timeclock.el: Update version number.
5795 (timeclock-modeline-display): Mention timeclock-use-display-time
5796 in explanatory message.
5797 (timeclock-in): Fix non-interactive workday specifications.
5798 (timeclock-log): Don't kill the log buffer if it already existed.
5799 Suppress warnings when finding the log. Don't check for a nil
5800 project twice. Run hooks after killing the buffer (if applicable).
5801 (timeclock-geometric-mean): Rename to `timeclock-mean' (it never
5802 was geometric). All uses changed.
5803 (timeclock-generate-report): Support prefix argument.
5805 2007-05-03 Ryan Yeske <rcyeske@gmail.com>
5807 * net/rcirc.el (rcirc-timeout-seconds): Increase to prevent unwanted
5810 2007-05-01 Romain Francoise <romain@orebokech.com>
5812 * dired-x.el: Revert 2007-04-06 change.
5814 2007-04-29 Stephen Berman <Stephen.Berman@gmx.net>
5816 * find-dired.el (find-dired-filter): Propertize all text down to eob.
5818 2007-04-29 Richard Stallman <rms@gnu.org>
5820 * international/mule.el (auto-coding-alist): Add pdf => no-conversion.
5822 2007-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5824 * progmodes/cc-mode.el (c-before-change): Use point-min rather
5827 2007-04-28 Richard Stallman <rms@gnu.org>
5829 * progmodes/sh-script.el (sh-mode): Recognize .profile as sh style.
5831 2007-04-28 Nick Roberts <nickrob@snap.net.nz>
5833 * progmodes/gud.el (gud-menu-map): Pdb can't handle SIGINT so
5834 don't put stop on toolbar.
5836 2007-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5838 * vc-hooks.el (vc-ignore-dir-regexp): Add /.../ for the DFS filesystem.
5840 2007-04-28 Eli Zaretskii <eliz@gnu.org>
5842 * makefile.w32-in ($(lisp)/mh-e/mh-loaddefs.el): Use ./mh-e
5843 instead of $(lisp)/mh-e.
5845 2007-04-28 Glenn Morris <rgm@gnu.org>
5847 * image-dired.el (image-dired-cmd-create-thumbnail-options)
5848 (image-dired-cmd-create-temp-image-options): Replace option
5849 +profile "*" with -strip.
5851 2007-04-27 Chong Yidong <cyd@stupidchicken.com>
5853 * textmodes/flyspell.el (flyspell-auto-correct-previous-word):
5854 Use window-start and window-end.
5856 2007-04-27 Andreas Schwab <schwab@suse.de>
5858 * emacs-lisp/sregex.el (sregexq): Fix doc string quoting.
5860 2007-04-27 Eli Zaretskii <eliz@gnu.org>
5862 * textmodes/fill.el (fill-paragraph): Doc fix.
5864 2007-04-26 Luc Teirlinck <teirllm@dms.auburn.edu>
5866 * locate.el (locate-in-alternate-database): Doc fix.
5868 2007-04-26 Glenn Morris <rgm@gnu.org>
5870 * button.el (button): Use underline if supported, else fall back
5873 * version.el (emacs-version): Increase to 22.1.50.
5875 2007-04-25 Richard Stallman <rms@gnu.org>
5877 * hi-lock.el (hi-lock-file-patterns-policy): Default to `ask'.
5879 2007-04-25 J.D. Smith <jdsmith@as.arizona.edu>
5881 * progmodes/idlwave.el (idlwave-beginning-of-subprogram)
5882 (idlwave-end-of-subprogram): Take optional NOMARK arg to prevent
5884 (idlwave-current-routine): Don't push mark.
5886 2007-04-25 Mathias Dahl <mathias.dahl@gmail.com>
5888 * image-dired.el (image-dired-display-image): Derive image-type from
5889 filename rather than assuming jpeg, in case no resizing was needed.
5891 2007-04-25 Johan Bockg
\e,Ae
\e(Brd <bojohan@dd.chalmers.se>
5893 * custom.el (defface): Doc fix.
5895 See ChangeLog.12 for earlier changes.
5898 ;; coding: iso-2022-7bit
5899 ;; add-log-time-zone-rule: t
5902 Copyright (C) 2007 Free Software Foundation, Inc.
5904 This file is part of GNU Emacs.
5906 GNU Emacs is free software; you can redistribute it and/or modify
5907 it under the terms of the GNU General Public License as published by
5908 the Free Software Foundation; either version 3, or (at your option)
5911 GNU Emacs is distributed in the hope that it will be useful,
5912 but WITHOUT ANY WARRANTY; without even the implied warranty of
5913 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5914 GNU General Public License for more details.
5916 You should have received a copy of the GNU General Public License
5917 along with GNU Emacs; see the file COPYING. If not, write to the
5918 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
5919 Boston, MA 02110-1301, USA.
5921 ;; arch-tag: 1e8aa93a-fc6c-4ac3-9b10-1f445e1840af