1 2007-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3 * faces.el (tty-create-frame-with-faces): Make sure not only
4 tty-run-terminal-initialization but also set-locale-environment
5 are run only once per terminal.
6 (tty-run-terminal-initialization): Don't check if the terminal was
9 * international/encoded-kb.el (encoded-kbd-setup-display): Be careful
10 not to remove keymaps that just happen to inherit from one of ours.
11 When setting up our keymap, make sure it won't be accidentally
12 modified by someone else.
14 2007-10-18 Thien-Thi Nguyen <ttn@gnuvola.org>
16 * textmodes/artist.el (artist-previous-line, artist-next-line):
17 * dired.el (dired-next-line, dired-previous-line):
18 * progmodes/delphi.el (delphi-newline):
19 * textmodes/org.el (org-columns-eval):
22 * emerge.el (emerge-setup): Use insert-buffer-substring.
23 (emerge-prepare-error-list, emerge-setup-with-ancestor): Likewise.
25 2007-10-18 Juanma Barranquero <lekktu@gmail.com>
27 * textmodes/fill.el (fill-individual-paragraphs): Doc fix.
28 (adaptive-fill-function): Doc fix. Remove * from docstring.
30 2007-10-18 Tom Horsley <tom.horsley@att.net>
32 * simple.el (interprogram-paste-function): Doc fix.
33 (current-kill): Accept list of strings as well
34 as single string from `interprogram-paste-function'.
36 2007-10-18 Glenn Morris <rgm@gnu.org>
38 * ibuf-ext.el (ibuffer-saved-filter-groups): Doc fix.
40 2007-10-18 Drew Adams <drew.adams@oracle.com>
42 * bindings.el (mode-line-minor-mode-keymap):
43 Add mouse-minor-mode-menu on mouse-1.
44 (mode-line-modes): Add mouse-1 to help-echo text.
45 (mouse-minor-mode-menu, minor-mode-menu-from-indicator):
47 (mode-line-minor-mode-help): Doc fix.
49 2007-10-17 Juri Linkov <juri@jurta.org>
51 * textmodes/fill.el (fill-paragraph-or-region): Remove function
52 at the request of RMS.
53 (fill-paragraph): Change `arg' to optional `justify'. Add interactive
54 arg `region'. Fix docstring. At the first `or' branch add call to
55 `fill-region' if it the region is active in transient-mark-mode.
57 * bindings.el (esc-map): Bind M-q to fill-paragraph
58 instead of fill-paragraph-or-region.
60 * tutorial.el (tutorial--default-keys): Replace fill-paragraph-or-region
63 * textmodes/ispell.el (ispell-word): Add interactive arg `region'.
66 * indent.el (indent-for-tab-command): Change interactive spec from
67 "P" to "p". Add check for interactive arg before indenting the
70 * files.el (auto-mode-alist): Add \\. before PDF/PS/DVI extensions.
73 2007-10-17 Juanma Barranquero <lekktu@gmail.com>
75 * emacs-lisp/find-func.el: Don't require loadhist.
77 * loadhist.el (feature-symbols, file-provides, file-requires)
78 (file-set-intersect, file-dependents): Simplify.
79 (unload-feature-special-hooks): Update list of special hooks.
81 2007-10-17 Tassilo Horn <tassilo@member.fsf.org>
83 * bindings.el (completion-ignored-extensions): Remove pdf and dvi
84 extensions since they can be viewed with doc-view.
86 * files.el (auto-mode-alist): Make doc-view-mode the default mode
87 for pdf, ps and dvi files.
89 * doc-view.el: Make doc-view-mode the standard mode for viewing
90 pdf, [e]ps and dvi files and add binding C-c C-c to toggle between
91 text and image display. Add binding C-c C-e to switch to an
93 (doc-view-ghostscript-options, doc-view-ps->pdf): Add "-dSAFER" to
94 avoid security problems when rendering files from untrusted sources.
96 2007-10-17 Aaron Hawley <aaronh@garden.org>
98 * tutorial.el (tutorial--save-tutorial): Display message when tutorial
99 position is not saved.
101 2007-10-17 Reiner Steib <Reiner.Steib@gmx.de>
103 * doc-view.el: Mention xpdf. Fix spelling of Ghostscript.
104 (doc-view-ghostscript-options): Fix typo in doc string.
106 2007-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
108 * progmodes/compile.el (compilation-next-error-function): Fix timestamp
109 handling, so compilation-fake-loc works again.
111 * server.el (server-select-display): Nop if we do not support m-f-o-d.
112 (server-process-filter): Revert last change.
114 * vc.el (vc-diff-sentinel, vc-diff-internal): Revert some change in the
115 behavior unrelated to filesets.
117 2007-10-17 Chong Yidong <cyd@stupidchicken.com>
119 * longlines.el (longlines-wrap-follows-window-size): Integer value
120 specifies wrapping margin.
121 (longlines-mode, longlines-window-change-function):
122 Set window-specific wrapping margin based on the above.
124 2007-10-17 John Wiegley <johnw@newartisans.com>
126 * eshell/esh-cmd.el (eshell-complex-commands): Add "ls".
128 2007-10-17 Dan Nicolaescu <dann@ics.uci.edu>
130 * server.el (server-process-filter): Only set display if X11 is
133 2007-10-17 Glenn Morris <rgm@gnu.org>
135 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
136 Tweak regexp to avoid stack overflow.
138 2007-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
140 * simple.el (reindent-then-newline-and-indent): Don't assume that
141 indent-according-to-mode preserves point.
143 2007-10-16 Juanma Barranquero <lekktu@gmail.com>
145 * bs.el (bs--make-header-match-string, bs-show-in-buffer)
146 (bs--nth-wrapper): Simplify.
147 (bs-select, bs--insert-one-entry): Simplify. Use `when'.
148 (bs-buffer-list): Simplify. Use `when'. Use `string-match-p'.
149 (bs-sort-buffer-interns-are-last): Use `string-match-p'.
150 (bs-attributes-list, bs-max-window-height, bs-must-always-show-regexp)
151 (bs-maximal-buffer-name-column, bs-minimal-buffer-name-column)
152 (bs-configurations, bs-default-configuration)
153 (bs-alternative-configuration, bs-cycle-configuration-name)
154 (bs-string-show-always, bs-string-show-never, bs-string-current)
155 (bs-string-current-marked, bs-string-marked, bs-string-show-normally)
156 (bs-sort-functions, bs-default-sort-name): Remove * in docstrings.
157 (bs--redisplay, bs--goto-current-buffer, bs--current-buffer, bs-delete)
158 (bs-apply-sort-faces, bs-next-config-aux): Use `when'.
159 (bs--window-config-coming-from): Revert 2006-11-09 change.
160 (bs--restore-window-config): Keep the selected frame.
161 (bs--track-window-changes, bs--remove-hooks): New functions.
162 (bs-mode): Use `define-derived-mode'. Set hook to track window changes.
163 (bs--create-header): Remove.
164 (bs--create-header-line): New function, based on `bs--create-header'.
165 (bs--show-header): Use `bs--create-header-line'.
166 (bs--show-with-configuration): Revert 2006-11-09 change.
167 Don't reuse window unless it is visible on the selected frame.
168 Restore window configuration (possibly in a different frame)
169 before creating any window.
171 2007-10-16 Glenn Morris <rgm@gnu.org>
173 * simple.el (blink-matching-open): Don't report false errors with
174 the `$' syntax class.
176 2007-10-16 Richard Stallman <rms@gnu.org>
178 * emacs-lisp/advice.el (ad-get-advice-info): Change to a function.
179 (ad-get-advice-info-macro): New macro, like old ad-get-advice-info.
180 (ad-is-advised, ad-get-advice-info-field)
181 (ad-set-advice-info-field): Use ad-get-advice-info-macro.
183 2007-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
185 * vc-hooks.el (vc-workfile-version): Compatibility alias.
186 (vc-default-working-revision): Compatibility for backends.
188 2007-10-15 Juanma Barranquero <lekktu@gmail.com>
190 * filesets.el (filesets-alist-get): Use `let' rather than `let*'.
191 (filesets-ormap, filesets-sort-case-sensitive-flag)
192 (filesets-remake-shortcut, filesets-ingroup-collect-files):
193 Fix typos in docstrings.
194 (filesets-conditional-sort, filesets-find-or-display-file)
195 (filesets-data-get-name, filesets-data-get-data)
196 (filesets-data-set, filesets-cmd-query-replace-getargs)
197 (filesets-ingroup-collect): Doc fixes.
199 2007-10-15 Sam Steingold <sds@gnu.org>
201 * mail/sendmail.el (sendmail-error-reporting-interactive)
202 (sendmail-error-reporting-non-interactive): New variables for
203 sendmail error reporting options to simplify support for imperfect
205 (sendmail-send-it): Use them instead of list literals.
207 2007-10-15 Juanma Barranquero <lekktu@gmail.com>
209 * help-fns.el: Revert previous change; it creates a
210 dependency loop between advice.el and help-fns.el.
212 2007-10-15 Juanma Barranquero <lekktu@gmail.com>
214 * help-fns.el: Require advice when compiling.
216 2007-10-14 Drew Adams <drew.adams@oracle.com>
218 * emacs-lisp/ring.el (ring-convert-sequence-to-ring)
219 (ring-insert+extend, ring-remove+insert+extend, ring-member)
220 (ring-next, ring-previous): New functions.
222 2007-10-14 Richard Stallman <rms@gnu.org>
224 * emacs-lisp/advice.el (documentation): Advice deleted.
225 Doc for advised functions is now handled at C level.
226 This is now handled at C level.
227 (ad-stop-advice, ad-start-advice): Don't enable or disable
228 advice for `documentation'.
229 (ad-advised-definition-docstring-regexp): Var deleted.
230 (ad-make-advised-definition-docstring): Store orig name
231 as text property of string.
232 (ad-advised-definition-p): Check for text property of docstring.
234 * help-fns.el (describe-function-1): Find source of advised functions.
236 2007-10-14 Juri Linkov <juri@jurta.org>
238 * faces.el (describe-face): Allow handling a string as the face name.
240 * textmodes/ispell.el (ispell-word): Call `ispell-region' on the
241 active region in transient-mark-mode.
242 (ispell-region): Change messages displayed at the start and end of
243 the spell-checking to be the same.
245 * startup.el (fancy-startup-tail): Say exactly what does the button
246 dismiss ("Dismiss this startup screen"). Use text "Never show
247 it again" for the checkbox after this button.
248 (fancy-startup-screen, fancy-about-screen): Put point before the
249 first link, so the user can quickly select links with the keyboard.
250 (normal-mouse-startup-screen): Add more useful text describing how
253 2007-10-14 Glenn Morris <rgm@gnu.org>
255 * progmodes/etags.el (select-tags-table): Disable undo in the
256 `*Tags Table List*' buffer.
258 2007-10-13 Eli Zaretskii <eliz@gnu.org>
260 * dired.el (dired-warn-writable): New face.
261 (dired-warn-writable-face): New variable.
262 (dired-font-lock-keywords): Use dired-warn-writable-face, instead
263 of dired-warning-face, for group- and world-writable files.
265 2007-10-13 Richard Stallman <rms@gnu.org>
267 * files.el (directory-abbrev-alist): Doc fix.
269 2007-10-13 Jari Aalto <jari.aalto@cante.net>
271 * comint.el (comint-password-prompt-regexp): Add 'LDAP'.
273 2007-10-12 Martin Rudalics <rudalics@gmx.at>
275 * frame.el (set-frame-configuration): Assign name parameter only
276 if it has been set explicitly before.
278 2007-10-11 Tom Tromey <tromey@redhat.com>
280 * progmodes/gdb-ui.el (gdb-info-stack-custom): Ensure current
283 2007-10-10 Richard Stallman <rms@gnu.org>
285 * emacs-lisp/debug.el (debugger-setup-buffer): Disable undo
288 * faces.el (face-font-selection-order): Doc fix.
290 * loadhist.el (unload-feature): Doc fix.
292 2007-10-13 Glenn Morris <rgm@gnu.org>
294 * progmodes/octave-mod.el (octave-looking-at-kw): Add doc string.
295 (octave-re-search-forward-kw, octave-re-search-backward-kw):
296 Add doc string, and an explicit COUNT argument.
297 (octave-scan-blocks, octave-beginning-of-defun): Explicitly pass
298 `inc' to search functions.
300 * faces.el (face-spec-set): When FRAME is nil, set the default for
301 new frames (restores pre-2007-09-17 behavior). Doc fix.
303 2007-10-13 John W. Eaton <jwe@octave.org>
305 * progmodes/octave-mod.el (octave-looking-at-kw)
306 (octave-re-search-forward-kw, octave-re-search-backward-kw):
308 (octave-in-defun-p, calculate-octave-indent)
309 (octave-blink-matching-block-open, octave-beginning-of-defun)
310 (octave-auto-fill): Use octave-looking-at-kw instead of looking-at,
311 to search for regexps that contain case-sensitive keywords.
312 (octave-beginning-of-defun): Likewise, for octave-re-search-backward-kw.
313 (octave-scan-blocks): Likewise, for octave-re-search-forward-kw.
315 2007-10-13 Dan Nicolaescu <dann@ics.uci.edu>
317 * frame.el (select-frame-set-input-focus): Fix typo "max" -> "mac".
318 Do not use a single clause cond.
320 * cus-start.el (all): Use test that does not match the X11 version
323 2007-10-13 Markus Gritsch <m.gritsch@gmail.com> (tiny change)
325 * progmodes/ebrowse.el (ebrowse-tree-mode): Disable undo in the
328 2007-10-13 Dan Nicolaescu <dann@ics.uci.edu>
330 * cus-start.el (all): Undo previous change.
332 2007-10-13 Glenn Morris <rgm@gnu.org>
334 * woman.el (woman0-rename): Fix paren typo.
336 * mail/feedmail.el (feedmail-run-the-queue)
337 (feedmail-look-at-queue-directory):
338 * mail/reporter.el (reporter-dump-state):
339 * net/eudc-hotlist.el (eudc-edit-hotlist):
340 * net/eudc.el (eudc-display-records)
341 (eudc-filter-duplicate-attributes)
342 (eudc-distribute-field-on-records, eudc-query-form)
344 * net/eudcb-bbdb.el (eudc-bbdb-filter-non-matching-record)
345 (eudc-bbdb-query-internal):
346 * net/eudcb-ldap.el (eudc-ldap-simple-query-internal):
347 * net/socks.el (socks-build-auth-list):
348 * progmodes/cc-cmds.el (top level):
349 * progmodes/cc-styles.el (c-make-styles-buffer-local)
351 * progmodes/cperl-mode.el (top level, cperl-imenu-addback)
352 (cperl-write-tags, cperl-tags-treeify):
353 * progmodes/ebnf-yac.el (ebnf-yac-token-table):
354 * progmodes/ebnf2ps.el (ebnf-map-name, ebnf-dimensions):
355 * progmodes/idlw-shell.el (idlwave-shell-filter-bp, top level):
356 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere)
357 (idlwave-toolbar-remove-everywhere):
358 * progmodes/idlwave.el (idlwave-indent-line)
359 (idlwave-sintern-keyword-list, idlwave-scan-user-lib-files)
360 (idlwave-write-paths, idlwave-all-method-classes)
361 (idlwave-all-method-keyword-classes, idlwave-entry-keywords)
362 (idlwave-fix-keywords, idlwave-display-calling-sequence)
363 (idlwave-complete-in-buffer):
364 * textmodes/org.el (org-export-as-html, org-export-as-ascii)
365 (org-fast-tag-selection):
366 * textmodes/reftex-sel.el (reftex-select-item): Use mapc rather
369 2007-10-13 Dan Nicolaescu <dann@ics.uci.edu>
371 * diff-mode.el (diff-fine-change): Add :group.
373 2007-10-12 Dan Nicolaescu <dann@ics.uci.edu>
375 * cus-start.el (all): Use the same test as the 22.2 branch.
377 2007-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
379 * diff-mode.el (diff-current-defun): Force recomputation of
380 change-log-default-name.
382 2007-10-12 Chong Yidong <cyd@stupidchicken.com>
384 * startup.el (fancy-startup-screen): Remove an unnecessary newline
385 and some leftover logic regarding dedicated frames. If showing
386 concise startup screen, fit window to buffer.
387 (command-line-1): If we will be using the splash screen, use
388 find-file instead of find-file-other-window to find additional files.
389 Comment out unused code for coping with the old sit-for behavior.
391 2007-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
393 * term/xterm.el (xterm-function-map, xterm-alternatives-map): Use the
394 `meta' modifier consistently, rather than using sometimes meta
397 2007-10-12 Martin Rudalics <rudalics@gmx.at>
399 * window.el (handle-select-window): Revert part of 2007-10-08
400 change setting the input focus.
402 2007-10-12 Glenn Morris <rgm@gnu.org>
404 * startup.el (command-line): Do not read abbrev file in batch mode.
406 * emacs-lisp/byte-opt.el (top level):
407 * mail/rmail.el (rmail-list-to-menu):
408 * obsolete/hilit19.el (hilit-mode):
409 * progmodes/cc-mode.el (c-postprocess-file-styles)
410 (c-submit-bug-report):
411 * textmodes/org-publish.el (org-publish-get-plist-from-filename):
412 * textmodes/reftex.el (reftex-erase-all-selection-and-index-buffers)
413 (reftex-access-parse-file):
414 * textmodes/reftex-cite.el (reftex-do-citation)
415 (reftex-insert-bib-matches):
416 * textmodes/reftex-ref.el (reftex-offer-label-menu):
417 * textmodes/reftex-sel.el (reftex-select-unmark):
418 * textmodes/reftex-toc.el (reftex-toc-do-promote):
419 * vc-mcvs.el (vc-mcvs-checkin): Use mapc rather than mapcar.
421 * cus-edit.el (custom-variable-menu, custom-face-menu)
422 (custom-group-menu): Check init-file-user rather than
423 user-init-file, in case cus-edit is loaded by site-run-file.
425 2007-10-11 Dan Nicolaescu <dann@ics.uci.edu>
427 * vc.el (vc-deduce-fileset): Delete unused code.
428 (vc-next-action): Fix typos.
430 2007-10-11 Juanma Barranquero <lekktu@gmail.com>
432 * bs.el (bs--mark-unmark): New function.
433 (bs-mark-current, bs-unmark-current): Use it.
435 2007-10-11 Eric S. Raymond <esr@snark.thyrsus.com>
438 (vc-diff-internal): Merge a patch by Juanma Barranquero. Also,
439 emporarily disable the check for his edge case of
440 vc-diff (stopping it from grinding when callerd from $HOME), as
441 it's calling some brittle code in vc-hooks.el.
442 (with-vc-properties): Fix evaluation time of a macro argument.
443 * ediff-vers.el (ediff-vc-internal):
445 * loaddefs.el: Follow up on VC terminology change.
447 2007-10-11 Juanma Barranquero <lekktu@gmail.com>
449 * follow.el (follow-stop-intercept-process-output):
450 Use `follow-call-process-filter' rather than `process-filter'.
453 2007-10-11 Eric S. Raymond <esr@snark.thyrsus.com>
455 * vc.el: Address an edge case in vc-diff pointed out by
456 Juanma Barranquero. This is an experimental fix and may change.
458 * vc-hooks.el (vc-registered): Robustify this function a bit
459 against filenames with no directory component.
461 2007-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
463 * international/characters.el: Undo unwanted and unexplained change.
465 2007-10-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
467 * ps-print.el: Fix the usage of :foreground and :background face
468 attributes. Reported by Nikolaj Schumacher <n_schumacher@web.de>.
469 (ps-print-version): New version 6.7.6.
470 (ps-face-attributes, ps-face-attribute-list, ps-face-background):
472 (ps-face-foreground-color-p, ps-face-background-color-p)
473 (ps-face-color-p): New inline funs.
475 2007-10-10 Carsten Dominik <dominik@science.uva.nl>
477 * org.el (org-additional-option-like-keywords): New constant.
478 (org-complete): Use `org-additional-option-like-keywords'.
479 (org-parse-local-options): New function.
481 2007-10-10 Carsten Dominik <dominik@science.uva.nl>
483 * org.el (org-in-clocktable-p): New function.
484 (org-clock-report): Only update the table at point, or insert a
486 (org-clock-goto): New function.
487 (org-open-file): Use `start-process-shell-command' instead of
488 `shell-command' with an ampersand.
489 (org-deadline, org-schedule): New argument REMOVE to remove the
491 (org-agenda-schedule, org-agenda-deadline): Pass the prefix
492 argument to `org-schedule' and `org-deadline'.
493 (org-trim): Use the correct expressions for beginning and end of
495 (org-get-cleaned-entry): Trim the string before returning it.
496 (org-clock-find-position): New function.
497 (org-clock-into-drawer): New option.
498 (org-agenda-tags-column): Rename from
499 `org-agenda-align-tags-to-column'.
500 (org-agenda-align-tags): Allow negative values for
501 `org-agenda-tags-column'.
502 (org-insert-labeled-timestamps-before-properties-drawer): Remove var.
503 (org-agenda-to-appt): New optional argument FILTER.
504 (org-completion-fallback-command): New variable.
505 (org-complete): Use `org-completion-fallback-command'.
506 (org-find-base-buffer-visiting): Catch the case that there is no
507 buffer visiting the file.
508 (org-property-or-variable-value): New function.
509 (org-todo): Use `org-property-or-variable-value'
510 (org-agenda-compact-blocks): New option.
511 (org-prepare-agenda, org-agenda-list): Use `org-agenda-compact-blocks'.
512 (org-agenda-schedule, org-agenda-deadline):
513 Call `org-agenda-show-new-time'.
514 (org-agenda-show-new-time): New argument PREFIX.
515 (org-colgroup-info-to-vline-list): Fix but that cause a
516 shift in the vertical lines.
517 (org-buffer-property-keys): New argument INCLUDE-DEFAULTS.
518 (org-maybe-renumber-ordered-list, org-cycle-list-bullet)
519 (org-indent-item): No arg in call to `org-fix-bullet-type'.
520 (org-fix-bullet-type): Remove argument.
521 (org-read-date): Check for am/pm twice, to catch the end time.
522 (org-goto-map): Use `suppress-keymap'.
523 (org-remember-apply-template): Respect the dynamically scoped
526 * org.texi (Appointment reminders): New section.
528 2007-10-10 Bastien Guerry <Bastien.Guerry@ens.fr>
530 * org-export-latex.el (org-export-latex-protect-string):
531 Renaming of `org-latex-protect'.
532 (org-export-latex-emphasis-alist): By default, don't protect
533 any emphasis formatter from further conversion.
534 (org-export-latex-tables): Honor column grouping for tables.
535 (org-export-latex-title-command): New option.
536 (org-export-latex-treat-backslash-char): Use \textbackslash{} to
537 export backslash character.
539 2007-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
541 * frame.el (frame-inherited-parameters): Remove unused `environment'
542 parameter, and let server.el add `client' when needed.
544 * server.el (server-create-tty-frame)
545 (server-create-window-system-frame): Set frame-inherited-parameters.
547 * frame.el (frame-inherited-parameters): New var.
548 (make-frame): Use it.
550 * font-lock.el (lisp-font-lock-keywords-2): Remove let-environment.
552 * env.el (let-environment): Remove. Unused.
553 (read-envvar-name): Simplify.
554 (setenv): Remove unused arg `frame'.
556 * help-fns.el (describe-variable): Add missing " " for multiline
557 obsolescence info and missing EOL after global value.
559 2007-10-10 Eric S. Raymond <esr@snark.thyrsus.com>
576 * vc-svn.el: Terminology cleanup: workfile-version -> working-revision,
577 {find,init,next,previous,annotate-*,log}-version ->
578 {find,init,next,previous,annotate-*,log}-revision,
579 annotate-focus-version -> annotate-working-revision, The term
580 'focus' is gone. The term 'revision' is now used consistently
581 everywhere that reference to a revision ID is intended, replacing
582 older use of 'version'.
584 2007-10-10 Juanma Barranquero <lekktu@gmail.com>
586 * follow.el: Change all instances of "Follow Mode" to "Follow
587 mode" in docstrings and messages.
588 (follow-menu-filter): Fix arg passed to `bound-and-true-p'.
590 2007-10-10 Eric S. Raymond <esr@snark.thyrsus.com>
592 * vc.el (vc-next-action): Rewrite completely; this principal
593 entry point now operates on a current fileset selected either
594 explicitly via VC-Dired or implicitly by visiting a file buffer,
595 rather than always operating on the file of the current buffer as
596 in older versions. Rewrite the rest of the mode to match.
597 (with-vc-properties): Rewrite to operate on a file list.
598 (with-vc-file): vc-checkin takes a file list argument now.
599 (vc-post-command-functions): This hook now receives a file list.
600 (vc-do-command): Take a either a file or a file list as argument.
601 (vc-deduce-fileset): New function for deducing a file list to
603 (vc-next-action-on-file, vc-next-action-dired): Remove.
604 Merge into vc-next-action.
605 (vc-register): Adapt to the fact that vc-start-entry now takes a
607 (vc-register-with): New function.
608 (vc-start-entry): Take a file list argument rather than a
610 (vc-checkout): Cope with vc-start-entry taking a file list.
611 (vc-steal-lock): Cope with with-vc-properties taking a
613 (vc-checkin): Take a file list argument rather than a file argument.
614 (vc-finish-logentry): Use the filelist passed by vc-start-entry.
615 (vc-diff-internal): Rewrite for filesets.
616 (vc-diff-sentinel): New function, tests whether changes were
617 written into a diff buffer.
618 (vc-diff): Rewrite for filesets.
619 (vc-version-diff): Rewrite for filesets.
620 (vc-print-log): Take a fileset argument.
621 (vc-revert): Revert the entire selected fileset, not just the
623 (vc-rollback): Roll back the entire selected fileset, if
624 possible. No longer accepts a prefix argument.
625 (vc-update): Merge new changes for the entire selected
626 fileset, not just the current buffer.
627 (vc-revert-file): Cope with with-vc-properties taking a file list.
628 (vc-default-dired-state-info): Add + status suffix if the file is
630 (vc-annotate-warp-version): Use the new diff machinery.
631 (vc-log-edit): Take a file list argument rather than a file argument.
633 2007-10-10 Michael Albinus <michael.albinus@gmx.de>
635 Sync with Tramp 2.1.11.
637 * net/tramp.el (tramp-open-connection-setup-interactive-shell):
638 Pacify byte compiler.
640 * net/trampver.el: Update release number.
642 2007-10-09 Richard Stallman <rms@gnu.org>
644 * play/gamegrid.el (gamegrid-setup-default-font): Use face-spec-set.
646 2007-10-09 Juanma Barranquero <lekktu@gmail.com>
648 * follow.el: Require easymenu.
649 (follow-mode-hook, follow-mode): Doc fixes.
650 (follow-mode-off-hook): Mark as obsolete.
652 2007-10-08 Martin Rudalics <rudalics@gmx.at>
654 * window.el (mouse-autoselect-window-cancel): Don't cancel for
655 select-window or select-frame events.
656 (handle-select-window): When autoselecting window set input
659 * frame.el (focus-follows-mouse): Move to frame.c.
660 * cus-start.el (all): Add focus-follows-mouse.
662 2007-10-08 Juanma Barranquero <lekktu@gmail.com>
664 * bs.el (bs-mode): Make sure global-font-lock-mode doesn't
665 activate font-locking in the *buffer-selection* buffer.
666 (bs-show-sorted): Doc fix.
668 * bs.el (bs--get-marked-string, bs--get-modified-string)
669 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
670 (bs--get-mode-name, bs-mode): Fix typos in docstrings.
671 (bs--format-aux): Doc fix.
673 2007-10-08 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
675 * progmodes/gud.el (gud-gud-gdb-command-name): Fix typo in docstring.
677 2007-10-08 Nick Roberts <nickrob@snap.net.nz>
679 * progmodes/gud.el (gud-gud-gdb-command-name): New option.
680 (gud-gdb): New function for old M-x gdb (text command mode).
681 (gud-gdb-command-name, gdb): Move to...
683 * progmodes/gdb-ui.el: ...here and adapt doc string.
684 (gud-gdba-command-name, gdba): Delete.
686 2007-10-08 Juanma Barranquero <lekktu@gmail.com>
688 * bs.el: Don't defvar `font-lock-verbose'.
689 (bs-config-clear, bs-kill, bs-string-show-normally, bs-sort-functions)
690 (bs--get-file-name): Fix typos in docstrings.
691 (bs--show-header): Use `dolist' instead of `mapcar'.
692 (bs-mode): Set `show-trailing-whitespace' to nil.
693 (bs-buffer-sort-function, bs-mouse-select-other-frame)
694 (bs-visits-non-file, bs-sort-buffer-interns-are-last, bs-show):
697 2007-10-08 Adam Hupp <adam@hupp.org> (tiny change)
699 * progmodes/gdb-ui.el (pdb): Specify file for gud-break.
701 2007-10-08 Nick Roberts <nickrob@snap.net.nz>
703 * progmodes/gud.el (gdb): Make graphical mode the default and
704 switch to text command mode if appropriate, i.e., reverse previous
706 (gud-gdb-marker-filter): Adapt for above change.
708 * progmodes/gdb-ui.el (gdb-init-1): Don't set the values
709 gud-minor-mode and gud-marker-filter.
710 (gdb-fullname-regexp): New variable.
711 (gud-gdba-marker-filter): Use it to switch to text command
714 2007-10-08 Nick Roberts <nickrob@snap.net.nz>
716 * progmodes/gud.el (gud-display-line): Find source buffer even when
717 GUD buffer has its own frame.
719 2007-10-08 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
721 * term/x-win.el (icon-map-list): Set to nil for 22.1 compatibility.
723 2007-10-08 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
725 * term/x-win.el (x-gtk-stock-map): Version is 22.2.
727 2007-10-08 Martin Rudalics <rudalics@gmx.at>
729 * allout.el (allout-before-change-handler): Replace got-char by
732 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
734 * vc-svn.el (vc-svn-resolve-when-done, vc-svn-find-file-hook): New funs.
735 Used to try and automatically enabled smerge-mode in the presence of
736 conflicts and to call `svn resolved' when the conflicts are gone.
737 (vc-svn-parse-status): Remember the svn-specific status.
739 2007-10-08 Eli Zaretskii <eliz@gnu.org>
741 * menu-bar.el (menu-bar-search-documentation-menu): Rename from
742 menu-bar-apropos-menu. All users changed.
743 (menu-bar-help-menu): Change menu symbols to better match the text
744 displayed by the menu.
746 2007-10-08 Dan Nicolaescu <dann@ics.uci.edu>
748 * files.el (file-name-sans-versions): Use [:alnum:] and also allow
751 2007-10-08 Dan Nicolaescu <dann@ics.uci.edu>
753 * pcvs-defs.el (cvs-mode-map): Bind TAB and backtab.
755 * log-view.el (log-view-mode-map): Likewise.
757 * diff-mode.el (diff-mode-shared-map): Likewise.
759 2007-10-08 Dan Nicolaescu <dann@ics.uci.edu>
761 * files.el (file-name-sans-versions): Also allow `A-Z'.
763 * vc.el: Mention all supported VC backends.
765 2007-10-08 Richard Stallman <rms@gnu.org>
767 * wid-edit.el (widget-specify-button): Don't merge mouse-face with
768 neighbouring buttons.
770 2007-10-08 Andreas Schwab <schwab@suse.de>
772 * files.el (file-name-sans-versions): Also allow `_'.
774 2007-10-08 Dan Nicolaescu <dann@ics.uci.edu>
776 * files.el (file-name-sans-versions): Allow - and a-z in version names.
778 * log-view.el (log-view-mode-map, log-view-mode-menu):
779 Bind log-view-annotate-version.
780 (log-view-beginning-of-defun, log-view-end-of-defun)
781 (log-view-annotate-version): New functions.
782 (log-view-mode): Use log-view-beginning-of-defun and
783 log-view-end-of-defun.
785 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
787 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix staging.
789 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
791 * wid-edit.el (widget-image-insert): Don't merge mouse-face with
792 neighbouring buttons.
794 * progmodes/compile.el (compilation-error-regexp-alist-alist):
795 Recognize gcc's use of "note" for informational messages.
797 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
799 * textmodes/css-mode.el (css-electric-keys): electrick->electric.
800 (css-mode): Update correspondingly.
802 2007-10-08 Dan Nicolaescu <dann@ics.uci.edu>
804 * vc-git.el (vc-git-log-view-mode): Add font-lock patterns for
805 Signed-off-by, Acked-by and Merge.
807 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
809 * ediff-init.el (ediff-verbose-p): This var is not a constant.
811 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
813 * vc-mtn.el: New file.
815 * vc-hooks.el (vc-handled-backends): Add Mtn.
817 2007-10-08 Eli Zaretskii <eliz@gnu.org>
819 * files.el (find-file, find-file-other-window)
820 (find-file-other-frame, find-file-existing, find-file-read-only)
821 (find-file-read-only-other-window)
822 (find-file-read-only-other-frame)
823 (find-alternate-file-other-window, find-alternate-file): Doc fixes.
825 2007-10-08 Nick Roberts <nickrob@snap.net.nz>
827 * progmodes/gud.el (gdb-ready): New variable.
828 (gdb): Set it to nil. Set gud-running to nil here...
829 (gud-common-init): ...instead of here.
831 * progmodes/gdb-ui.el (gdba, gdb-send, gdb-source-info):
832 Use gdb-ready. Discard input until GDB is ready to accept it.
834 2007-10-08 Martin Rudalics <rudalics@gmx.at>
836 * dired.el (dired-warning): Inherit from font-lock-warning-face to
837 make it show up with eight colors.
839 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
841 * diff-mode.el (diff-sanity-check-hunk): Fix up the case when unified
842 diffs are concatenated with no intervening line.
844 2007-10-08 Dave Love <fx@gnu.org>
846 * progmodes/python.el: Merge changes from Dave Love's v2007-Sep-10.
847 (python-font-lock-keywords): Update to the 2.5 version of the language.
848 (python-quote-syntax): Let-bind font-lock-syntactic-keywords to nil.
849 (python-backspace): Only behave funny in code.
850 (python-compilation-regexp-alist): Add PDB stack trace regexp.
851 (inferior-python-mode): Add PDB prompt regexp.
852 (python-fill-paragraph): Refine the fenced-string regexp.
853 (python-find-imports): Handle imports spanning several lines.
854 (python-mode): Add `class' to hideshow support.
856 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
858 * pcvs.el (cvs-mode-add-change-log-entry-other-window):
859 Use add-log-buffer-file-name-function rather than binding
860 buffer-file-name, so we don't end up calling change-log-mode in *cvs*
861 when `fi' is the ChangeLog file itself.
863 * outline.el (outline-flag-region): Use front-advance.
865 2007-10-08 Ilya Zakharevich <ilyaz@cpan.org>
867 * progmodes/cperl-mode.el: Merge upstream 5.23.
868 (cperl-where-am-i): Remove function.
869 (cperl-backward-to-noncomment): Don't go too far when skipping POD/HEREs
870 (cperl-sniff-for-indent): De-invert [string] and [comment].
871 When looking for label, skip s:m:y:tr.
872 (cperl-indent-line): Likewise.
873 (cperl-mode): Don't assume `font-lock-multiline' is auto-local.
874 (cperl-windowed-init): Wrong `ps-print' handling.
875 Both thanks to Chong Yidong.
876 (cperl-look-at-leading-count): Could fail with unfinished RExen.
877 (cperl-find-pods-heres): If the second part of s()[] is missing,
878 don't try to highlight delimiters...
880 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
882 * progmodes/compile.el (compilation-get-file-structure): Complete last
883 change by also using spec-directory in the puthash.
885 2007-10-08 Riccardo Murri <riccardo.murri@gmail.com>
887 * vc-bzr.el (vc-bzr-file-name-relative): Use 'when' instead of 'and'.
888 (vc-bzr-status): Fix shadowing of variable 'status'.
889 (vc-bzr-workfile-version): Use correct path to 'last-revision' file.
890 Use `expand-file-name' instead of `concat'.
891 (vc-bzr-annotate-command): Use option name '--long' instead of '-l'.
892 Update annotation line regexp. Fixes launchpad.net [Bug 137435].
894 2007-10-08 Jason Rumney <jasonr@gnu.org>
896 * frame.el (focus-follows-mouse): Doc-fix. Change default on w32.
898 2007-10-08 Richard Stallman <rms@gnu.org>
900 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Make defcustom.
901 Add `safe-local-variable' property.
902 (lisp-body-indent): Likewise.
904 2007-10-08 Richard Stallman <rms@gnu.org>
906 * files.el (hack-local-variables-confirm): Rename arg VARS to ALL-VARS.
909 2007-10-08 Martin Rudalics <rudalics@gmx.at>
911 * files.el (backup-buffer-copy): Try to overwrite old backup first.
913 2007-10-08 Martin Rudalics <rudalics@gmx.at>
915 * repeat.el (repeat): Use last-repeatable-command instead of
916 real-last-command. Run pre- and post-command hooks for
917 self-insertion. Update doc-string.
919 2007-10-08 Alexandre Julliard <julliard@winehq.org>
921 * vc-git.el (vc-git-state): Call git-add --refresh to update the
923 (vc-git-workfile-unchanged-p): Delegate implementation to vc-git-state.
924 (vc-git-create-repo): Fix invalid command.
926 2007-10-08 Richard Stallman <rms@gnu.org>
928 * textmodes/flyspell.el (flyspell-mode):
929 Catch errors in flyspell-mode-on.
931 2007-10-09 Juanma Barranquero <lekktu@gmail.com>
933 * term/x-win.el (x-alternatives-map): Remove spurious parenthesis.
935 2007-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
937 * international/encoded-kb.el (encoded-kbd-setup-display):
938 Use input-decode-map rather than local-key-translation-map.
940 * term/rxvt.el (rxvt-alternatives-map): New map.
941 (terminal-init-rxvt): Use it.
942 Bind rxvt-function-map in input-decode-map.
944 * term/xterm.el (xterm-alternatives-map): New map.
945 (terminal-init-xterm): Use it.
946 Bind xterm-function-map in input-decode-map.
948 * term/x-win.el (x-alternatives-map): New var.
949 (x-setup-function-keys): Use it.
951 * help-fns.el (describe-variable): Slightly change the layout of
952 meta-info to separate it better from the docstring.
953 Standardize insertion of extra empty lines in various circumstances.
955 * diff-mode.el (diff-hunk-style): New fun.
956 (diff-end-of-hunk): Use it.
957 (diff-context->unified): Use the new `apply' undo element,
958 if applicable, so as to save undo-log space.
959 (diff-fine-change): New face.
960 (diff-fine-highlight-preproc): New function.
961 (diff-fine-highlight): New command.
962 (diff-mode-map, diff-mode-menu): Add diff-fine-highlight.
964 * smerge-mode.el (smerge-refine-chopup-region): Add `preproc' argument.
965 (smerge-refine-highlight-change): Add `props' argument.
966 (smerge-refine-subst): New function holding most of smerge-refine.
967 (smerge-refine): Use it.
969 2007-10-08 Eric S. Raymond <esr@snark.thyrsus.com>
971 * vc.el (vc-default-wash-log): Remove unused code, the
972 log washers all live in the backends now.
973 (vc-default-comment-history): Correct for the fact
974 that wash-log is argumentless in the new API.
976 2007-10-08 Michael Albinus <michael.albinus@gmx.de>
978 * net/tramp.el (tramp-find-foreign-file-name-handler): Check also host.
979 (tramp-maybe-send-script): Apply `member' but `memq'.
980 (tramp-advice-file-expand-wildcards): Simplify implementation.
982 2007-10-08 Juanma Barranquero <lekktu@gmail.com>
984 * follow.el (follow-mode): Don't run hooks twice. Use `when'.
986 * mb-depth.el (minibuf-depth-indicator-function): New variable.
987 (minibuf-depth-setup-minibuffer): Use it.
989 2007-10-07 Glenn Morris <rgm@gnu.org>
991 * simple.el (bad-packages-alist): Clarify Semantic and CEDET
994 2007-10-06 Juri Linkov <juri@jurta.org>
996 * textmodes/fill.el (fill-paragraph-or-region): New function.
998 * bindings.el (esc-map): Bind M-q to fill-paragraph-or-region
999 instead of fill-paragraph.
1001 * tutorial.el (tutorial--default-keys): Replace fill-paragraph
1002 with fill-paragraph-or-region. Suspend command is now the same
1003 `suspend-frame' on window systems and on tty.
1005 * image.el (image-type): Check if image-types is bound to not fail
1008 * delsel.el (delete-selection-pre-hook):
1009 * emulation/cua-base.el (cua-paste): Check if mouse-region-match
1010 is fbound to not fail on mouseless tty.
1012 2007-10-06 Michael Albinus <michael.albinus@gmx.de>
1014 * net/tramp.el (top): Move loading of tramp-util.el and
1015 tramp-vc.el to tramp-compat.el.
1016 (tramp-make-tramp-temp-file): Complete rewrite. Create remote
1017 temporary file if possible, in order to avoid a security hole.
1018 (tramp-do-copy-or-rename-file-out-of-band)
1019 (tramp-maybe-open-connection): Call `tramp-make-tramp-temp-file'
1020 with DONT-CREATE, because the connection is not setup yet.
1021 (tramp-handle-process-file): Rewrite temporary file handling.
1022 (tramp-completion-mode): New defvar.
1023 (tramp-completion-mode-p): Use it.
1025 * net/tramp-compat.el (top): Load tramp-util.el and tramp-vc.el.
1027 * net/tramp-fish.el (tramp-fish-handle-process-file):
1028 Rewrite temporary file handling.
1030 2007-10-06 Eric S. Raymond <esr@snark.thyrsus.com>
1032 * vc.el: Workfile version -> focus version change. Port various
1033 comments from new VC to reduce the noise in the diff.
1034 Patch in the new vc-create-repo function to go with the
1035 header comment about it already present.
1036 There are no changes to existing logic in this patch.
1037 (vc-revert-buffer1): Rename to vc-revert-buffer-internal.
1039 2007-10-06 Aaron Hawley <aaronh@garden.org>
1041 * autoinsert.el (auto-insert-alist): Add a Texinfo entry.
1043 2007-10-05 Chris Moore <dooglus@gmail.com>
1045 * server.el (server-kill-new-buffers): Doc fix.
1047 2007-10-05 John W. Eaton <jwe@octave.org>
1049 * progmodes/octave-mod.el (octave-abbrev-table): Add "until".
1050 (octave-begin-keywords): Add "do".
1051 (octave-end-keywords): Remove "end".
1052 (octave-reserved-words): Add "end". Remove "all_va_args",
1053 "gplot", and 'gsplot".
1054 (octave-text-functions): Remove "gset", "gshow", "set", and "show".
1055 (octave-variables): Remove "IMAGEPATH", "INFO_FILE",
1056 "INFO_PROGRAM", "LOADPATH", "__error_text__", "automatic_replot",
1057 "default_return_value", "define_all_return_values",
1058 "do_fortran_indexing", "empty_list_elements_ok",
1059 "gnuplot_has_multiplot", "implicit_str_to_num_ok",
1060 "ok_to_lose_imaginary_part", "prefer_column_vectors",
1061 "prefer_zero_one_indexing", "propagate_empty_matrices",
1062 "resize_on_range_error", "treat_neg_dim_as_zero",
1063 "warn_assign_as_truth_value", "warn_comma_in_global_decl",
1064 "warn_divide_by_zero", "warn_function_name_clash",
1065 "warn_missing_semicolon", "whitespace_in_literal_matrix".
1066 Add "DEFAULT_EXEC_PATH", "DEFAULT_LOADPATH", "IMAGE_PATH",
1067 "crash_dumps_octave_core", "sighup_dumps_octave_core",
1068 "sigterm_dumps_octave_core".
1069 (octave-block-match-alist): Remove "end" from block-end keywords.
1070 (octave-mode): Update ftp site address.
1072 2007-10-05 Dan Nicolaescu <dann@ics.uci.edu>
1074 * vc.el: Reorder functions, no code changes.
1076 2007-10-04 Michael Albinus <michael.albinus@gmx.de>
1078 * net/tramp.el (tramp-make-temp-file): Move to tramp-compat.el.
1079 (tramp-do-copy-or-rename-file-directly): Handle tmpfile only in
1080 the cond clauses where needed.
1081 (tramp-handle-write-region): Rearrange code for proper handling of
1084 * net/tramp-compat.el (tramp-compat-make-temp-file): New defsubst.
1087 * net/tramp-fish.el:
1089 * net/tramp-smb.el: Rename `tramp-make-temp-file' to
1090 `tramp-compat-make-temp-file'.
1092 2007-10-04 Juanma Barranquero <lekktu@gmail.com>
1094 * image-dired.el (image-dired-image-at-point-p): Fix typo in docstring.
1096 2007-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1098 * emacs-lisp/copyright.el (copyright-update): Don't update if the file
1099 already uses a more recent copyright version than the "current" one.
1101 2007-10-03 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
1103 * doc-view.el (doc-view-dvi->pdf-sentinel, doc-view-reset-slice)
1104 (doc-view-insert-image): Minor aesthetical docstring changes.
1106 2007-10-03 Tassilo Horn <tassilo@member.fsf.org>
1108 * doc-view.el (doc-view): Don't ignore pdf and dvi files when
1109 completing filename.
1110 (doc-view-search-internal): Docstring change.
1112 2007-10-03 Michael Albinus <michael.albinus@gmx.de>
1114 * net/tramp.el (top): Add tramp-compat to `tramp-unload-hook'.
1115 (tramp-file-name-handler-alist):
1116 Add `tramp-handle-insert-file-contents-literally'. Needed for XEmacs.
1117 (tramp-make-temp-file): Use `make-temp-name'. `make-temp-file',
1118 used before, creates the file already, which is not desired.
1119 (tramp-do-copy-or-rename-file-directly): Simplify handling of
1121 (tramp-handle-insert-file-contents): Assign the result in the
1123 (tramp-handle-insert-file-contents-literally): New defun.
1124 (tramp-completion-mode-p): Revert change from 2007-09-24.
1125 Checking for `return' etc as last character is not sufficient, for
1126 example in dired-mode when entering <g> (revert-buffer) or
1129 * net/tramp-compat.el (top): Add also compatibility code for loading
1130 appropriate timer package.
1131 (tramp-compat-copy-tree): Check for `subrp' and `symbol-file' in
1132 order to avoid autoloading problems.
1134 * net/tramp-fish.el:
1135 * net/tramp-smb.el: Move further compatibility code to tramp-compat.el.
1137 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Handle the case
1138 where the second parameter of `copy-file' or `rename-file' is a
1139 remote file but not via ftp.
1141 2007-10-02 Richard Stallman <rms@gnu.org>
1143 * frame.el (cursor-in-non-selected-windows): Doc fix.
1145 2007-10-01 Thien-Thi Nguyen <ttn@gnuvola.org>
1147 * play/zone.el (zone): Let-bind show-trailing-whitespace to nil.
1148 Suggested by Chris Moore <christopher.ian.moore@gmail.com>.
1150 2007-10-01 Jay Belanger <jay.p.belanger@gmail.com>
1152 * calc/calc-math.el (math-largest-emacs-expt): Handle the cases
1153 when `expt' doesn't give range errors.
1155 2007-10-01 Markus Triska <markus.triska@gmx.at>
1157 * calc/calc-math.el (math-smallest-emacs-expt):
1158 Make the computation more robust.
1160 2007-09-30 David Kastrup <dak@gnu.org>
1162 * startup.el (argv): Alias for `command-line-args-left' to use as
1163 `(pop argv)' inside of --eval command sequences. Allows for
1164 passing shell commands into Emacs verbatim without need for Lisp
1167 * autorevert.el (auto-revert-handler): In `auto-revert-tail-mode',
1168 check only for changed size.
1169 (auto-revert-tail-handler): Get size from caller. If the file has
1170 shrunk, tail the whole file again (the file presumably has been
1173 * woman.el (woman-topic-all-completions, woman-mini-help):
1174 Fix fallout from 2007-09-07 introduction of `dolist' when the list
1175 actually was being manipulated in the loop.
1176 (woman-Cyg-to-Win, woman-pre-process-region)
1177 (woman-horizontal-escapes, woman-if-body, woman-unescape)
1178 (woman-strings, woman-special-characters, woman1-hc)
1179 (woman-change-fonts, woman-find-next-control-line):
1180 Use `match-beginning' rather than `match-string' when the result is
1181 just used as a flag.
1183 2007-09-30 Michael Albinus <michael.albinus@gmx.de>
1185 * net/tramp-compat.el: New file.
1188 * net/tramp-fish.el:
1191 * net/trampver.el: Move compatibility code to tramp-compat.el.
1192 Apply `mapc' instead of `mapcar' when the code needs side effects
1193 only. Move utf-8 coding cookie to the second line.
1195 2007-09-30 Reiner Steib <Reiner.Steib@gmx.de>
1197 * term/x-win.el (x-gtk-stock-map): Add Gnus and MH-E icons.
1198 Improve custom type.
1199 (icon-map-list): Make it customizable. Document how to disable
1202 2007-09-30 Richard Stallman <rms@gnu.org>
1204 * play/zone.el (zone-hiding-modeline): Use mode-line-format.
1206 2007-09-29 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
1208 * term/x-win.el (x-gtk-stock-map): Version is 22.2.
1210 2007-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1212 * t-mouse.el (gpm-mouse-mode): Rename from t-mouse-mode. Rewrite.
1213 (t-mouse-mode): New compatibility alias.
1215 2007-09-28 Dan Nicolaescu <dann@ics.uci.edu>
1217 * server.el (server-delete-client): Only delete the terminal if it
1220 2007-09-28 Michael Albinus <michael.albinus@gmx.de>
1222 * net/tramp.el (with-file-property, with-connection-property):
1223 Highlight as keyword.
1224 (tramp-rfn-eshadow-setup-minibuffer)
1225 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
1226 (tramp-set-file-uid-gid, tramp-do-copy-or-rename-file-via-buffer)
1227 (tramp-do-copy-or-rename-file-directly)
1228 (tramp-do-copy-or-rename-file-out-of-band)
1229 (tramp-handle-shell-command, tramp-get-debug-buffer)
1230 (tramp-send-command-and-read, tramp-equal-remote)
1231 (tramp-get-local-gid): Pacify byte-compiler.
1232 (tramp-handle-file-name-directory): Result shall not be expanded.
1233 (tramp-find-foreign-file-name-handler): Rewrite.
1234 (tramp-dissect-file-name): Add optional parameter NODEFAULT.
1236 * net/tramp-cache.el (tramp-cache-print): Pacify byte-compiler.
1238 * net/tramp-fish.el (tramp-fish-handle-expand-file-name):
1239 Apply `tramp-completion-mode-p'.
1240 (tramp-fish-handle-set-file-times)
1241 (tramp-fish-handle-executable-find)
1242 (tramp-fish-handle-process-file, tramp-fish-get-file-entries)
1243 (tramp-fish-retrieve-data): Pacify byte-compiler.
1245 * net/tramp-gw.el (tramp-gw-basic-authentication):
1246 Call `tramp-read-passwd' with first parameter `nil'.
1248 2007-09-28 Glenn Morris <rgm@gnu.org>
1250 * mail/supercite.el (sc-attribs-filter-namelist): Use mapc rather
1253 * textmodes/tex-mode.el (tex-suscript-height-ratio)
1254 (tex-suscript-height-minimum): New customizable variables.
1255 (tex-suscript-height): New function.
1256 (superscript, subscript): Set height using tex-suscript-height
1257 rather than fixing at 0.8.
1258 (tex-fontify-script, tex-font-script-display): Add :version tag.
1260 2007-09-27 Juanma Barranquero <lekktu@gmail.com>
1262 * progmodes/python.el (python-eldoc-function): Doc fix.
1264 2007-09-27 Glenn Morris <rgm@gnu.org>
1266 * image.el (image-type-auto-detected-p): Doc fix. Don't detect an
1267 image if it is not in image-type-auto-detectable, or is there with
1270 2007-09-27 Michael Albinus <michael.albinus@gmx.de>
1272 * net/tramp.el (tramp-maybe-open-connection): Make test for alive
1273 connection more robust.
1275 2007-09-26 Juanma Barranquero <lekktu@gmail.com>
1277 * emacs-lisp/eldoc.el (eldoc-function-argstring-format):
1278 Deal with the case that special &keywords are at the beginning or
1279 end of the argument list. Also add some (incomplete) support for
1280 non-standard arglists.
1282 2007-09-26 Juanma Barranquero <lekktu@gmail.com>
1284 * emacs-lisp/eldoc.el (eldoc-message-commands-table-size)
1285 (eldoc-message-commands, eldoc-current-idle-delay)
1286 (eldoc-function-argstring-format): Fix typos in docstrings.
1288 2007-09-26 Jay Belanger <jay.p.belanger@gmail.com>
1290 * calc/calc-units.el (calc-convert-units)
1291 (calc-convert-temperature): Remove unnecessary colons.
1293 2007-09-26 Bastien Guerry <bzg@altern.org>
1295 * org-export-latex.el (org-export-latex-tables-verbatim): New function.
1296 (org-export-latex-remove-from-headlines): Name changed because of typo.
1297 (org-export-latex-quotation-marks-convention): Option removed.
1298 (org-export-latex-make-preamble): Handle the DATE option.
1299 (org-export-latex-cleaned-string): Now the only cleaning function,
1300 synched up with org.el.
1301 (org-export-latex-lists, org-export-latex-parse-list)
1302 (org-export-list-to-latex): New functions.
1304 2007-09-26 Carsten Dominik <dominik@science.uva.nl>
1306 * org.el (org-kill-is-subtree-p): Use `org-outline-regexp'.
1307 (org-outline-regexp): New constant.
1308 (org-remember-handler): Throw error when the target file is not in
1310 (org-cleaned-string-for-export): No longer call
1311 `org-export-latex-cleaned-string' with an argument.
1312 (org-get-tags): Returns now a list, not a string.
1313 (org-get-tags-string): New function.
1314 (org-archive-subtree): No need to split return of `org-get-tags'.
1315 (org-set-tags, org-entry-properties): Call `org-get-tags-string'
1316 instead of `org-get-tags'.
1317 (org-agenda-format-date): Rename from `org-agenda-date-format'.
1318 (org-time-from-absolute, org-agenda-format-date-aligned): New funs.
1319 (org-compatible-face): New argument INHERITS. Inherit from this
1321 (org-level-1, org-level-2, org-level-3, org-level-4)
1322 (org-level-5, org-level-6, org-level-7, org-level-8)
1323 (org-special-keyword, org-drawer, org-column, org-warning)
1324 (org-archived, org-todo, org-done, org-headline-done, org-table)
1325 (org-formula, org-code, org-agenda-structure)
1326 (org-scheduled-today, org-scheduled-previously)
1327 (org-upcoming-deadline, org-time-grid): Call `org-compatible-face'
1329 (org-get-heading): New argument NO-TAGS.
1330 (org-fast-tag-selection-include-todo): Made defvar instead of
1331 defcustom, feature is not deprecated.
1332 (org-remember-store-without-prompt): New default value t.
1333 (org-todo-log-states): New variable.
1334 (org-set-regexps-and-options): #+TODO is an alias for SEQ_TODO.
1335 Compute the log states.
1336 (org-goto-map): More commands copied from global map. Also bind
1338 (org-goto): Made into a general lookup command.
1339 (org-get-location): Complete rewrite.
1340 (org-goto-exit-command): New variable.
1341 (org-goto-selected-point): New variable.
1342 (org-goto-ret, org-goto-left, org-goto-right, org-goto-quit):
1343 Set the new variables.
1344 (org-paste-subtree): Whitespace insertion strategy revised.
1345 (org-remember-apply-template): Protect v-A from the possibility
1346 that v-a might be nil.
1347 (org-remember-handler): Insertion rules revised.
1348 (org-todo): Respect org-todo-log-states.
1349 (org-up-heading-safe): New function.
1350 (org-entry-get-with-inheritance): Use `org-up-heading-safe'.
1352 2007-09-26 Dan Nicolaescu <dann@ics.uci.edu>
1354 * progmodes/cc-cmds.el (c-indent-line-or-region): Only indent the
1355 region if in transient-mark-mode.
1357 2007-09-26 Juanma Barranquero <lekktu@gmail.com>
1359 * calc/calc-ext.el (calc-init-extensions, calc-reset):
1360 * calc/calc-help.el (calc-full-help):
1361 * calc/calc-misc.el (another-calc):
1362 * calc/calc-store.el (calc-var-name-map):
1363 * calc/calc-stuff.el (calc-flush-caches):
1364 * calc/calc-units.el (math-build-units-table):
1365 * calc/calc.el (calc-digit-map, calc-dispatch-map, calc-mode)
1367 * calendar/icalendar.el (icalendar--format-ical-event)
1368 (icalendar--convert-ical-to-diary):
1369 * emacs-lisp/authors.el (authors):
1370 * emacs-lisp/cust-print.el (custom-print-install)
1371 (custom-print-uninstall):
1372 * emacs-lisp/disass.el (disassemble-1):
1373 * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
1374 * emacs-lisp/edebug.el (byte-compile-resolve-functions):
1375 * emacs-lisp/elint.el (elint-current-buffer, elint-check-defun-form)
1376 (elint-check-let-form, elint-check-condition-case-form)
1378 * emacs-lisp/elp.el (elp-results):
1379 * emacs-lisp/generic.el (generic-mode-internal):
1380 * emacs-lisp/re-builder.el (reb-delete-overlays):
1381 * emacs-lisp/regi.el (regi-interpret):
1382 * emacs-lisp/sregex.el (sregex--char-aux):
1383 * emulation/cua-rect.el (cua--deactivate-rectangle)
1384 (cua--highlight-rectangle, cua--rectangle-post-command):
1385 * emulation/viper-keym.el (viper-toggle-key, viper-ESC-key):
1386 * emulation/viper-macs.el (viper-describe-kbd-macros)
1387 (viper-describe-one-macro):
1388 * emulation/viper-util.el (viper-setup-master-buffer):
1389 * emulation/viper.el (set-viper-state-in-major-mode):
1390 * international/mule-diag.el (describe-current-coding-system):
1391 * language/ethio-util.el (ethio-fidel-to-sera-buffer):
1392 * mail/emacsbug.el (report-emacs-bug):
1393 * net/ange-ftp.el (ange-ftp-call-chmod, ange-ftp-parse-bs2000-listing):
1394 * obsolete/hilit19.el (hilit-unhighlight-region)
1395 (hilit-set-mode-patterns):
1396 * play/solitaire.el (solitaire-check, solitaire-solve):
1397 * play/zone.el (zone-pgm-rotate):
1398 * progmodes/ada-mode.el (ada-save-exceptions-to-file):
1399 * progmodes/ada-prj.el (ada-prj-display-page):
1400 * progmodes/delphi.el (delphi-search-directory, delphi-find-unit-file)
1401 (delphi-debug-mode-map, delphi-mode-map, delphi-mode):
1402 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-view-exit-fn)
1403 (ebrowse-member-mode, ebrowse-save-tree-as, ebrowse-save-class):
1404 * progmodes/sh-script.el (sh-make-vars-local)
1405 (sh-reset-indent-vars-to-global-values):
1406 * progmodes/sql.el (top):
1407 * progmodes/vhdl-mode.el (vhdl-set-style, vhdl-regress-line):
1408 * progmodes/xscheme.el (top):
1409 * textmodes/artist.el (artist-mt-get-symbol-from-keyword-sub)
1410 (artist-go-retrieve-from-symbol-sub, artist-go-get-symbol-shift-sub)
1411 (artist-fc-retrieve-from-symbol-sub, artist-vaporize-line)
1412 (artist-vaporize-lines, artist-ellipse-compute-fill-info)
1413 (artist-submit-bug-report):
1414 * textmodes/flyspell.el (flyspell-delay-commands)
1415 (flyspell-deplacement-commands):
1416 * textmodes/table.el (table--generate-source-epilogue, table-insert)
1417 (table--generate-source-cells-in-a-row, table--make-cell-map)
1418 (*table--cell-describe-bindings): Use `mapc' rather than `mapcar'.
1420 2007-09-25 Juanma Barranquero <lekktu@gmail.com>
1422 * allout.el (produce-allout-mode-map, allout-process-exposed):
1423 * ansi-color.el (ansi-color-make-color-map):
1424 * autoinsert.el (auto-insert):
1425 * bookmark.el (bookmark-bmenu-list, bookmark-show-all-annotations):
1426 * dired-aux.el (dired-create-files):
1427 * dired.el (dired-restore-desktop-buffer):
1428 * ediff-diff.el (ediff-setup-fine-diff-regions):
1429 * ediff-mult.el (ediff-intersect-directories)
1430 (ediff-redraw-directory-group-buffer, ediff-dir-diff-copy-file)
1431 (ediff-redraw-registry-buffer):
1432 * ediff-ptch.el (ediff-fixup-patch-map):
1433 * ediff-util.el (ediff-toggle-multiframe, ediff-toggle-use-toolbar)
1434 (ediff-really-quit, ediff-clear-diff-vector):
1435 * emerge.el (emerge-really-quit):
1436 * ffap.el (ffap-replace-file-component):
1437 * filecache.el (file-cache-add-directory)
1438 (file-cache-add-directory-recursively)
1439 (file-cache-add-from-file-cache-buffer, file-cache-delete-file-regexp)
1440 (file-cache-delete-directory, file-cache-files-matching-internal)
1441 (file-cache-display):
1443 * find-lisp.el (find-lisp-insert-directory):
1444 * finder.el (finder-compile-keywords):
1445 * help.el (view-emacs-news):
1446 * hi-lock.el (hi-lock-write-interactive-patterns):
1447 * ido.el (ido-to-end, ido-set-matches-1):
1448 * image-dired.el (image-dired-display-thumbs, image-dired-remove-tag)
1449 (image-dired-mark-tagged-files):
1450 * jka-cmpr-hook.el (jka-compr-get-compression-info):
1451 * printing.el (pr-eval-local-alist, pr-eval-setting-alist):
1452 * ps-print.el (ps-background, ps-begin-file)
1453 (ps-build-reference-face-lists):
1454 * simple.el (clone-buffer):
1455 * startup.el (command-line):
1456 * tempo.el (tempo-insert-template, tempo-is-user-element)
1457 (tempo-forward-mark, tempo-backward-mark):
1458 * woman.el (woman-dired-define-keys): Use `mapc' rather than `mapcar'.
1460 2007-09-25 Glenn Morris <rgm@gnu.org>
1462 * textmodes/tex-mode.el (tex-font-script-display): Doc fix.
1464 * view.el (view-search-no-match-lines): Add a doc string.
1465 Rewrite to simplify and work better.
1467 2007-09-24 Dan Nicolaescu <dann@ics.uci.edu>
1469 * progmodes/cc-mode.el (c-mode-base-map):
1470 Use c-indent-line-or-region instead of c-indent-line.
1472 * indent.el (indent-for-tab-command): First check if the region is
1475 2007-09-24 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
1477 * whitespace.el (whitespace-tickle-timer): Don't install the timer if
1478 whitespace-rescan-timer-time is 0.
1480 2007-09-24 Karl Berry <karl@gnu.org>
1482 * international/mule.el (coding-system-base): Fix doc string grammar.
1484 2007-09-24 Michael Albinus <michael.albinus@gmx.de>
1486 * net/tramp.el (tramp-completion-mode-p): Rename from
1487 `tramp-completion-mode'. Revert logic, check `return', `newline'
1488 and such alike. Packages like Icicles tend to use other completion
1489 characters but `tab' and `space' only.
1491 2007-09-24 Adam Hupp <adam@hupp.org>
1493 * progmodes/python.el (run-python): Import emacs module without
1494 waiting; prevents lockup on error.
1496 2007-09-23 Richard Stallman <rms@gnu.org>
1498 * mail/sendmail.el (mail-bury): Delete the frame
1499 if this frame looks like it was made for this message.
1501 * completion.el (completion-separator-self-insert-command)
1502 (completion-separator-self-insert-autofilling):
1503 If `self-insert-command' has been remapped, use the substitute.
1505 * simple.el (copy-region-as-kill): Doc fix.
1507 * textmodes/org.el (org-confirm-shell-link-function)
1508 (org-confirm-elisp-link-function): Doc fixes.
1510 2007-09-23 Glenn Morris <rgm@gnu.org>
1512 * ses.el (ses-calculate-cell): Don't evaluate unsafe formulae.
1514 2007-09-23 Dan Nicolaescu <dann@ics.uci.edu>
1516 * term/w32-win.el (w32-drag-n-drop): Use mapc instead of mapcar.
1518 * term/tvi970.el (terminal-init-tvi970): Likewise.
1520 * term/sun-mouse.el (print-mouse-format): Likewise.
1522 * term/sun.el (scroll-down-in-place, scroll-up-in-place):
1523 Use forward-line instead of previous-line and next-line.
1525 2007-09-22 Juri Linkov <juri@jurta.org>
1527 * textmodes/org.el (org-confirm-shell-link-function): Doc fix.
1529 * tutorial.el (tutorial--default-keys): Update standard bindings:
1530 rename `iconify-or-deiconify-frame' to `suspend-frame',
1531 and `save-buffers-kill-emacs' to `save-buffers-kill-terminal'.
1533 2007-09-22 Juri Linkov <juri@jurta.org>
1535 * startup.el (fancy-startup-text, fancy-about-text, fancy-startup-tail):
1536 Add help-echo to external links and to links without description.
1537 (fancy-splash-insert): Use help-echo from the 3rd element of the
1538 link specification list, or "Follow this link" if it's nil. Doc fix.
1540 2007-09-22 Juri Linkov <juri@jurta.org>
1542 * startup.el (command-line): Rename `inhibit-startup-message' to
1543 `inhibit-startup-screen'.
1544 (fancy-about-text): Use shorter label for "Ordering Manuals".
1545 (fancy-startup-tail): Add optional arg `concise'. When `concise'
1546 is nil, display a line with "To start..." and 3 links to useful
1547 tasks. Display the "Dismiss" button and "Don't show this message
1548 again" only when concise is non-nil.
1549 (fancy-startup-screen): Call `fancy-startup-tail' with optional
1550 arg `concise'. If CONCISE is non-nil, display a concise version
1551 of the splash screen in another window. Otherwise, switch to the
1552 startup buffer in the same window.
1553 (startup-echo-area-message): Change displayed binding from
1554 C-h C-p (describe-project) to C-h C-a (about-emacs), and change
1555 text "about the GNU system and GNU/Linux" to "about GNU Emacs and
1557 (display-startup-screen): Fix buffer name from "*About GNU Emacs*"
1559 (display-about-screen): Don't check the existence of the buffer
1560 "*About GNU Emacs*".
1561 (display-splash-screen): Make alias to `display-startup-screen'.
1562 (command-line-1): Rename `inhibit-startup-message' to
1563 `inhibit-startup-screen'. Inhibit startup screen when Emacs is
1564 started with command line options "-f", "-funcall", "-e", "-eval",
1565 "-execute", "-insert", "-find-file", "-file", "-visit".
1566 Inhibit startup screen when Emacs is started with a file name only
1567 on tty (i.e. don't inhibit it when started with a file name like
1568 "emacs FILE..." on a window system).
1569 (command-line-1): Simplify logic of displaying the startup screen:
1570 if file-count > 0, then display the concise version in another
1571 window, otherwise display full version in the same window.
1573 * help.el (help-map): Bind C-h C-a to about-emacs.
1574 (help-for-help-internal): Add C-a description to C-h help text.
1576 2007-09-22 Dan Nicolaescu <dann@ics.uci.edu>
1578 * emacs-lisp/checkdoc.el (checkdoc-force-docstrings-flag)
1579 (checkdoc-permit-comma-termination-flag): Autoload the
1580 safe-local-variable setting.
1582 * bookmark.el (bookmark-xemacsp): Remove.
1583 (bookmark-make): Don't use bookmark-xemacsp,
1584 use (featurep 'xemacs) instead.
1586 * speedbar.el (speedbar-frame-mode)
1587 (speedbar-frame-reposition-smartly)
1588 (speedbar-set-mode-line-format, speedbar-reconfigure-keymaps)
1589 (speedbar-check-vc): Remove use of non-existent variable
1590 dframe-xemacsp, use (featurep 'xemacs) instead.
1592 * indent.el (indent-for-tab-command): Indent the region if
1593 transient-mark-mode and the region is active.
1595 2007-09-21 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1597 * progmodes/octave-inf.el (inferior-octave-mode): Use add-hook to
1598 add inferior-octave-directory-tracker to the buffer-local value
1599 of comint-input-filter-functions.
1601 2007-09-21 Dan Nicolaescu <dann@ics.uci.edu>
1603 * xt-mouse.el (xterm-mouse-mode): Re-enable suspend-tty-functions.
1605 2007-09-21 Juanma Barranquero <lekktu@gmail.com>
1607 * frame.el (suspend-frame): Call `iconify-or-deiconify-frame' also
1610 2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1612 * startup.el (normal-top-level): Remove DISPLAY from
1613 process-environment to let it be computed dynamically in callproc.c.
1615 * frame.el (frame-initialize, make-frame):
1616 * faces.el (tty-set-up-initial-frame-faces):
1617 * env.el (setenv): Don't set display-environment-variable.
1619 * server.el (server-getenv-from): Remove. Use getenv-internal instead.
1620 (server-create-tty-frame): Don't set unused `tty' property.
1621 Set `display' instead of display-environment-variable.
1622 (server-create-window-system-frame): No display-environment-variable.
1624 2007-09-21 Michael Albinus <michael.albinus@gmx.de>
1626 * rfn-eshadow.el (rfn-eshadow-setup-minibuffer-hook)
1627 (rfn-eshadow-update-overlay-hook): New defvars.
1628 (rfn-eshadow-setup-minibuffer, rfn-eshadow-update-overlay):
1631 * net/tramp.el (tramp-rfn-eshadow-overlay): New defvar.
1632 (tramp-rfn-eshadow-setup-minibuffer)
1633 (tramp-rfn-eshadow-update-overlay): New defuns. Hook into
1636 * net/tramp-smb.el (tramp-smb-errors): Add error message for call
1639 2007-09-21 Glenn Morris <rgm@gnu.org>
1641 * obsolete/sun-fns.el (emacs-quit-menu): Remove emacstool-related code.
1642 * term/sun-mouse.el (suspend-emacstool): Remove.
1643 * term/sun.el: Remove emacstool-related code.
1645 * emacs-lisp/bytecomp.el (byte-compile-warnings)
1646 (byte-compile-warnings-safe-p): Add `mapcar'.
1647 (byte-compile-warning-types): Add mapcar and make-local.
1648 (byte-compile-normal-call): Add option to suppress mapcar warning.
1649 (top-level): Use mapc rather than mapcar in eval-when-compile.
1651 * textmodes/tex-mode.el (tex-validate-region): Handle escaped parens.
1652 (tex-next-unmatched-eparen, tex-last-unended-eparen): New functions.
1653 (latex-forward-sexp-1, latex-backward-sexp-1): Doc fix.
1654 Handle escaped parens.
1655 (latex-forward-sexp): Doc fix.
1657 * eshell/esh-mode.el (eshell-output-filter-functions): Add
1658 eshell-postoutput-scroll-to-bottom.
1660 * loadup.el: Remove termdev.
1662 * progmodes/fortran.el (fortran-mode-abbrev-table, fortran-line-length):
1663 * progmodes/f90.el (f90-mode-abbrev-table): Use mapc rather than mapcar.
1665 2007-09-21 Markus Triska <markus.triska@gmx.at>
1667 * emacs-lisp/bytecomp.el (byte-compile-normal-call): Warn when
1668 `mapcar' is called for effect.
1670 2007-09-21 Kevin Ryde <user42@zip.com.au>
1672 * international/mule.el (sgml-html-meta-auto-coding-function):
1673 Bind `case-fold-search' to t.
1675 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1677 * termdev.el: Remove.
1679 * frame.el (get-device-terminal): New function. Moved from termdev.el.
1680 (frames-on-display-list): Use it.
1682 * bindings.el: Bind C-z to suspend-frame instead of suspend-emacs.
1684 * termdev.el (terminal-id): Ask terminal-live-p before giving up.
1686 2007-09-20 Richard Stallman <rms@gnu.org>
1688 * newcomment.el (comment-add): If EXTRA, double `comment-add' value.
1690 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1692 * add-log.el (add-log-current-defun): Fix thinko w.r.t derived-mode-p.
1694 2007-09-20 Glenn Morris <rgm@gnu.org>
1696 * textmodes/tex-mode.el (tex-validate-buffer): Use paragraph
1697 motion functions, rather than hard-coding "\n\n".
1698 (tex-validate-region): Check for eobp, to speed up.
1699 (tex-next-unmatched-end): Doc fix.
1701 2007-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1703 * files.el (auto-mode-alist): Use archive-mode for .rar files.
1705 * international/mule.el (auto-coding-alist): Rar archives are binary.
1707 * arc-mode.el: Add basic support for Rar.
1708 (archive-find-type): Recognize Rar's signature.
1709 (archive-desummarize): New fun.
1710 (archive-summarize): Use it to restore the buffer's data in case
1711 someone wants to switch to some other major mode.
1712 (archive-resummarize): Use it as well.
1713 (archive-rar-summarize, archive-rar-extract): New functions.
1715 * filesets.el: Remove spurious * in docstrings.
1716 (filesets-running-xemacs): Remove. Use (featurep 'xemacs) instead.
1717 (filesets-conditional-sort): Remove unused arg `simply-do-it'.
1718 (filesets-ingroup-collect): Remove unused arg `depth'.
1719 (filesets-update): Remove unused arg `version'.
1721 * finder.el (finder-compile-keywords): Fix up comment style.
1722 (finder-mouse-face-on-line): previous-line -> forward-line.
1724 * recentf.el: Remove spurious * in docstrings.
1725 (recentf-save-list): Fix up comment style.
1727 * progmodes/octave-mod.el: Remove spurious * in docstrings.
1728 (octave-mode-map): Move init into declaration and remove \t binding.
1729 (octave-mode-startup-message): Remove unused var.
1730 (octave-scan-blocks): Remove unused arg `from'.
1731 (octave-forward-block, octave-down-block, octave-up-block):
1734 * progmodes/meta-mode.el (meta-mode-syntax-table): Move init into decl.
1735 (meta-mode-map): Likewise and remove \t binding.
1737 * net/snmp-mode.el: Remove spurious * in docstrings.
1738 (snmp-rfc1155-types, snmp-rfc1213-types, snmp-rfc1902-types)
1739 (snmp-rfc1903-types, snmp-rfc1155-access, snmp-rfc1902-access)
1740 (snmp-rfc1212-status, snmp-rfc1902-status): Remove list wrappers now
1741 that completion accepts lists of strings.
1742 (snmp-mode-syntax-table): Move initialization into declaration.
1743 (snmp-mode-map): Likewise and remove \t binding.
1744 (snmp-common-mode): Set tab-always-indent according to snmp-t-a-i.
1745 (snmp-indent-line, snmp-mode-imenu-create-index): Remove unused var.
1746 (snmp-indent-command): Remove.
1748 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Use the default TAB
1749 binding, so tab-always-indent works right.
1751 2007-09-19 Johannes Weiner <hannes@saeurebad.de>
1753 * net/browse-url.el (browse-url-elinks-new-window): New function.
1754 (browse-url-elinks): Use browse-url-elinks-new-window.
1755 Accept optional second argument `new-window'. Fix typo in doc-string.
1756 (browse-url-elinks-sentinel): Use browse-url-elinks-new-window.
1757 Improve error message.
1759 2007-09-19 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
1761 * net/browse-url.el (browse-url-url-encode-chars): Use the right
1762 parameter name in the function body.
1763 Reported by Johannes Weiner.
1765 2007-09-19 Glenn Morris <rgm@gnu.org>
1767 * net/socks.el (socks-open-network-stream): Signal an explicit
1768 error if the port associated with a service string can't be found.
1770 * textmodes/tex-mode.el (tex-terminate-paragraph):
1771 Use backward-paragraph.
1773 2007-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1775 * server.el (server-running-p): New function.
1777 2007-09-18 Jason Rumney <jasonr@gnu.org>
1779 * term/w32-win.el (w32-focus-frame): Make obsolete alias for
1782 * frame.el (select-frame-set-input-focus, select-frame-by-name):
1783 Use x-focus-frame for w32.
1785 2007-09-17 David Kastrup <dak@gnu.org>
1787 * textmodes/tex-mode.el (tex-verbatim-environments):
1788 Eliminate CL dependency.
1790 2007-09-17 Richard Stallman <rms@gnu.org>
1792 * newcomment.el (comment-add): New arg EXTRA.
1793 (comment-region-default): Pass EXTRA if not indenting lines.
1795 2007-09-17 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
1797 * net/browse-url.el (browse-url-url-encode-chars): New function.
1798 URL-encode some chars in a string.
1799 (browse-url-encode-url): Rewrite using the previous function.
1800 (browse-url-file-url): Use `browse-url-url-encode-chars'.
1801 (browse-url-elinks-sentinel): Fix typo.
1802 (browse-url-new-window-flag): Doc change.
1804 2007-09-17 Glenn Morris <rgm@gnu.org>
1806 * textmodes/tex-mode.el (tex-compilation-parse-errors): Prefer the
1807 filename from `--file-line-error', if it is available.
1809 2007-09-17 Joe Wells <jbw@macs.hw.ac.uk> (tiny change)
1811 * textmodes/tex-mode.el (tex-compilation-parse-errors): Also match
1812 TeX `--file-line-error' format.
1814 2007-09-17 Dan Nicolaescu <dann@ics.uci.edu>
1816 * xt-mouse.el: Delete add-hook calls that were moved to
1818 (xterm-mouse-mode): Disable resume-tty-functions, explain why it
1821 2007-09-17 Richard Stallman <rms@gnu.org>
1823 * cus-face.el (custom-theme-set-faces): Undo previous change.
1825 * faces.el (face-spec-set): When FRAME nil, look up each frame in SPEC.
1827 2007-09-17 Glenn Morris <rgm@gnu.org>
1829 * textmodes/tex-mode.el (tex-region): Simplify previous change,
1830 handling the case where the region is not in `tex-main-file'.
1831 (tex-region-1): Delete.
1832 (tex-region-header): New function, doing the header part of the
1835 2007-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1837 * simple.el (newline): Simplify use of prefix-numeric-value.
1838 (line-move-partial): Remove unused var `ppos'.
1839 (line-move-1): Replace 9999 with most-positive-fixnum.
1840 (move-end-of-line): Use more efficient single-property search.
1841 (move-beginning-of-line): Remove unused var `start'.
1842 (blink-matching-open): Restructure in a more functional style.
1844 2007-09-16 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
1846 * calendar/holidays.el (list-holidays): Remove the cyclic alias.
1848 2007-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1850 * server.el (server-clients): Only keep procs, no properties any more.
1851 (server-client): Remove.
1852 (server-client-get, server-client-set): Remove, replace all callers by
1853 process-get and process-put resp.
1854 (server-clients-with, server-add-client, server-delete-client)
1855 (server-create-tty-frame, server-create-window-system-frame)
1856 (server-process-filter, server-execute, server-visit-files)
1857 (server-buffer-done, server-kill-buffer-query-function)
1858 (server-kill-emacs-query-function, server-switch-buffer)
1859 (server-save-buffers-kill-terminal): Update accordingly.
1861 * server.el (server-with-environment): Simplify.
1862 (server-select-display, server-unselect-display): Re-add functions that
1863 seem to have been lost in the multi-tty merge.
1864 (server-eval-and-print, server-create-tty-frame)
1865 (server-create-window-system-frame, server-goto-toplevel)
1866 (server-execute, server-return-error): New functions extracted from
1867 server-process-filter.
1868 (server-execute-continuation): New functions.
1869 (server-process-filter): Restructure so that all arguments are analysed
1870 first and then acted upon in a subsequent stage. This way
1871 server-goto-toplevel can be executed later, when we know if
1873 Remove the "-version" and "-version-good" support.
1875 2007-09-16 Drew Adams <drew.adams@oracle.com>
1877 * cus-edit (custom-face-edit-activate): Doc fix.
1879 2007-09-16 Glenn Morris <rgm@gnu.org>
1881 * calendar/cal-menu.el, calendar/calendar.el, calendar/diary-lib.el:
1882 Following cal-bahai renaming, update all instances of
1883 list-bahai-diary-entries to diary-bahai-list-entries,
1884 mark-bahai-diary-entries to diary-bahai-mark-entries,
1885 calendar-goto-bahai-date to calendar-bahai-goto-date,
1886 insert-bahai-diary-entry to diary-bahai-insert-entry,
1887 insert-monthly-bahai-diary-entry to diary-bahai-insert-monthly-entry,
1888 insert-yearly-bahai-diary-entry to diary-bahai-insert-yearly-entry, and
1889 calendar-print-bahai-date to calendar-bahai-print-date.
1891 * textmodes/tex-mode.el (tex-region): Handle the case where the
1892 region is not in `tex-main-file'. Move the old code that applies
1894 (tex-region-1): ...to this new function.
1896 2007-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
1898 * vc.el (vc-process-sentinel): New function.
1899 (vc-exec-after): Use it instead of using ugly hackish analysis and
1900 construction of Elisp code.
1901 (vc-sentinel-movepoint): New dynamically scoped var.
1902 (vc-print-log, vc-annotate): Set it to move the user's point.
1904 * vc-cvs.el (vc-cvs-annotate-time): Use inhibit-read-only and
1905 inhibit-modification-hooks.
1907 * calendar/cal-bahai.el (mark-bahai-diary-entries): Fix up typo.
1908 (calendar-bahai-print-date, calendar-bahai-goto-date)
1909 (diary-bahai-list-entries, diary-bahai-insert-entry):
1910 New names to clean up the namespace a bit more.
1911 (calendar-goto-bahai-date, calendar-print-bahai-date): Compat aliases.
1913 2007-09-15 Glenn Morris <rgm@gnu.org>
1915 * calendar/holidays.el (holiday-list): Rename it back to
1916 `list-holidays', but leave `holiday-list' as an alias.
1918 * textmodes/bibtex-style.el (bibtex-style-indent-basic): Specify a
1921 * textmodes/css-mode.el (css): New custom group.
1922 (css-electrick-keys, css-selector, css-property)
1923 (css-indent-offset): Specify custom group.
1925 2007-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
1927 * pcvs.el (cvs-tags-list, cvs-retrieve-revision, cvs-find-modif)
1928 (cvs-execute-single-file): Use process-file.
1929 (cvs-run-process): Use start-file-process.
1931 2007-09-15 Dan Nicolaescu <dann@ics.uci.edu>
1933 * xt-mouse.el (xterm-mouse-mode): Add hooks here not at the top
1934 level. Remove the hooks when turning off the mode.
1936 * term/xterm.el: Require xt-mouse at compile time.
1937 (terminal-init-xterm): Turn on xterm mouse tracking for this
1938 terminal if xterm-mouse-mode is enabled.
1940 2007-09-14 Dan Nicolaescu <dann@ics.uci.edu>
1942 * term/xterm.el (xterm-function-map): Replace bindings that were
1943 deleted by the merge.
1945 2007-09-14 Ulf Jasper <ulf.jasper@web.de>
1947 * play/bubbles.el (bubbles-version): Bump value to "0.5".
1948 (bubbles-mode-map): Move define-key statements here.
1949 (bubbles-game-theme-menu): Ditto.
1950 (bubbles-graphics-theme-menu): Ditto.
1951 (bubbles-menu): Ditto.
1952 (bubbles-mode): Initialize buffer-undo-list, redisplay.
1953 (bubbles--initialize): Reset buffer-undo-list, redisplay.
1954 (bubbles-plop): Set buffer-undo-list, redisplay.
1955 (bubbles-undo): Reset buffer-undo-list, redisplay.
1956 (bubbles--show-images): Take care of missing text properties.
1958 2007-09-14 Glenn Morris <rgm@gnu.org>
1960 * startup.el (fancy-startup-text, fancy-about-text): Fix face
1963 * calendar/cal-hebrew.el, calendar/cal-menu.el
1964 * calendar/calendar.el, calendar/diary-lib.el
1965 * calendar/holidays.el: Rename all instances of
1966 list-calendar-holidays callers to calendar-list-holidays,
1967 list-holidays to holiday-list, check-calendar-holidays to
1968 calendar-check-holidays, mark-calendar-holidays to
1969 calendar-mark-holidays, and filter-visible-calendar-holidays to
1970 holiday-filter-visible-calendar.
1972 2007-09-14 Dan Nicolaescu <dann@ics.uci.edu>
1974 * term/xterm.el (xterm-function-map): Add C-M- bindings.
1976 2007-09-13 Sascha Wilde <wilde@sha-bang.de> (tiny change)
1978 * play/bubbles.el (bubbles--initialize-images): Fix bug:
1979 Use transparent background for empty cells in graphics mode.
1981 2007-09-13 Jari Aalto <jari.aalto@cante.net>
1983 * man.el (Man-default-man-entry): At end of line, continue looking
1984 to the next line for possible end of hyphenated command.
1986 2007-09-13 Chris Moore <dooglus@gmail.com>
1988 * shell.el (shell-resync-dirs): Don't move the cursor relative to
1989 the command being edited.
1991 2007-09-12 Jim Meyering <jim@meyering.net> (tiny change)
1993 * emacs-lisp/copyright.el (copyright-names-regexp): Doc fix: typo.
1995 2007-09-12 Dan Nicolaescu <dann@ics.uci.edu>
1997 * term/xterm.el (xterm-function-map): Add bindings for M-S- and
2000 * term/rxvt.el (rxvt-function-map): Initialize in the declaration.
2002 2007-09-12 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
2004 * net/browse-url.el (browse-url-encode-url): Fix an infinite loop.
2005 New argument `filename-p' to use one set of confusing chars or another.
2006 (browse-url-file-url): Use the argument.
2007 Suggested by Johannes Weiner.
2009 2007-09-12 Romain Francoise <romain@orebokech.com>
2011 * cus-start.el (all): Revert 2007-09-08 change.
2013 2007-09-12 Aaron Hawley <aaronh@garden.org>
2015 * jka-cmpr-hook.el (jka-compr-compression-info-list): Use gzip to
2016 extract .Z files, since it is more common than uncompress.
2018 2007-09-12 Glenn Morris <rgm@gnu.org>
2020 * textmodes/org-publish.el (org-publish-org-to-html): Remove
2021 duplicate function definition.
2023 2007-09-10 Chris Moore <dooglus@gmail.com>
2025 * diff-mode.el (diff-sanity-check-hunk):
2026 Also accept single-line hunks.
2028 2007-09-10 Chong Yidong <cyd@stupidchicken.com>
2030 * startup.el (startup-screen-inhibit-startup-screen)
2031 (pure-space-overflow-message): New vars.
2032 (fancy-splash-insert): Allow functions for face and link specs.
2033 (fancy-splash-head): Remove unused arg. Move splash text...
2034 (fancy-startup-text, fancy-about-text): ...here.
2035 (fancy-startup-tail): Rename from fancy-splash-tail.
2036 (fancy-startup-screen, fancy-about-screen): Split off from
2037 fancy-splash-screens.
2038 (display-startup-screen): New function.
2039 (display-about-screen): Rename from display-splash-screen.
2040 (command-line-1): Use concise startup screen if necessary.
2042 2007-09-10 Thien-Thi Nguyen <ttn@gnuvola.org>
2044 * net/browse-url.el (browse-url-encode-url): Use copy-sequence.
2045 Reported by Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>.
2047 2007-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2049 * progmodes/python.el: Merge changes from Dave Love's v2007-Sep-10.
2050 (python-font-lock-keywords): Update to the 2.5 version of the language.
2051 (python-quote-syntax): Let-bind font-lock-syntactic-keywords to nil.
2052 (python-backspace): Only behave funny in code.
2053 (python-compilation-regexp-alist): Add PDB stack trace regexp.
2054 (inferior-python-mode): Add PDB prompt regexp.
2055 (python-fill-paragraph): Refine the fenced-string regexp.
2056 (python-find-imports): Handle imports spanning several lines.
2057 (python-mode): Add `class' to hideshow support.
2059 2007-09-10 Dave Love <fx@gnu.org>
2061 * outline.el (outline-4, outline-5, outline-7):
2062 Move font-lock-builtin-face down from 4 to 7 to better keep the
2063 progression of color brightness, and to better match Org-mode's faces.
2065 2007-09-10 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
2067 * progmodes/meta-mode.el (meta-font-lock-keywords)
2068 (font-lock-match-meta-declaration-item-and-skip-to-next)
2069 (meta-comment-indent, meta-indent-previous-line)
2070 (meta-indent-unfinished-line, meta-beginning-of-defun)
2071 (meta-end-of-defun, meta-common-initialization): Handle \f.
2072 (meta-indent-unfinished-line): Do not handle a `%' in a string as
2075 * files.el (file-modes-char-to-who, file-modes-char-to-right)
2076 (file-modes-rights-to-number): Auxiliary functions for symbolic to
2077 numeric notation of file modes.
2078 (file-modes-symbolic-to-number): New. Convert symbolic modes to its
2080 (read-file-modes): New. Read either an octal value of a file mode or a
2081 symbolic value, and return its numeric value.
2083 * dired-aux.el (dired-do-chmod): Change to use the built-in
2084 `set-file-modes' and the previous symbolic mode parsing functions.
2086 2007-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2088 * textmodes/texinfo.el: Remove spurious * in docstrings.
2089 (texinfo-mode-syntax-table, texinfo-mode-map):
2090 Initialize in the declaration.
2092 * tmm.el: Remove spurious * in docstrings.
2093 (tmm-prompt): Use with-current-buffer.
2095 * vcursor.el: Remove spurious * in docstrings.
2096 (vcursor-map): Initialize in the declaration.
2097 (vcursor-use-vcursor-map): Use define-minor-mode.
2098 (vcursor-toggle-vcursor-map): Keep as an obsolete alias.
2100 * wid-browse.el (widget-browse-mode-map, widget-minor-mode-map):
2101 Initialize in the declaration.
2102 (widget-minor-mode): Use define-minor-mode.
2104 * woman.el (woman-mode-map, woman-syntax-table):
2105 Initialize in the declaration.
2107 2007-09-09 Tassilo Horn <tassilo@member.fsf.org>
2109 * doc-view.el: New file.
2111 2007-09-09 Juri Linkov <juri@jurta.org>
2113 * Makefile.in (update-authors): Add etc/ to AUTHORS.
2115 * makefile.w32-in (update-authors): Add etc/ to AUTHORS.
2117 * startup.el (initial-buffer-choice): Rename choice "Splash screen"
2118 to "Startup screen". Fix docstring.
2119 (inhibit-startup-screen): Rename from `inhibit-splash-screen'.
2120 (inhibit-splash-screen): Make alias to `inhibit-startup-screen'.
2121 (inhibit-startup-message): Change alias to `inhibit-startup-screen'.
2122 (initial-scratch-message): Fix docstring.
2123 (fancy-startup-text): Move link to Emacs Manual below Emacs Guided
2124 Tour (which is a kind of tutorial and will be next to Emacs Tutorial).
2125 Add link to "Customize Startup" and set interval between links to
2127 (fancy-about-text): Add links "Authors" and "Contributing".
2128 (fancy-splash-head): Add text "Welcome to " on the startup screen,
2129 and "This is " on the about screen. Add link to
2130 "http://www.gnu.org/software/emacs/" for "GNU Emacs".
2131 For the about screen move emacs version to the header from
2132 `fancy-splash-tail' (as it's done already for normal about screen).
2133 (fancy-splash-tail): Insert emacs version only for startup screen.
2134 (normal-splash-screen): Remove duplicate empty lines.
2135 (normal-about-screen): Add links "Authors" and "Contributing".
2137 * menu-bar.el (menu-bar-help-menu):
2138 Move "About Emacs" and "About GNU" to the end of the Help menu.
2139 Move "Emacs Psychotherapist" after "Send Bug Report...".
2140 Move "External Packages" after "Find Emacs Packages".
2142 2007-09-09 Michael Albinus <michael.albinus@gmx.de>
2144 * net/tramp.el (top): Remove declarations of `tramp-gw-*' symbols,
2145 they are useless with the byte compiler.
2146 (tramp-make-temp-file, tramp-make-tramp-temp-file): Move up.
2147 (tramp-do-copy-or-rename-file-directly): Rearrange let-bindings.
2148 (tramp-compute-multi-hops): Mask `tramp-gw-*' symbols.
2149 (tramp-file-name-real-host, tramp-file-name-port)
2150 (tramp-find-method, tramp-find-user, tramp-find-host): Make them
2153 * net/tramp-cache.el (top): Improve error message when
2154 `tramp-persistency-file-name' is corrupted.
2156 2007-09-09 Carsten Dominik <dominik@science.uva.nl>
2158 * textmodes/org.el (org-re): Also replace the :alpha: class.
2159 (org-todo-tag-alist): Variable removed.
2160 (org-todo-key-alist, org-todo-key-trigger) New variables.
2161 (org-use-fast-todo-selection): New option.
2162 (org-log-done): Docstring fixed.
2163 (org-deadline-warning-days): New default value 14.
2164 (org-edit-timestamp-down-means-later) New option.
2165 (org-tag-alist): Docstring fixed.
2166 (org-fast-tag-selection-include-todo): New option.
2167 (org-export-language-setup): New languages added.
2168 (org-set-regexps-and-options): Compute the new variables.
2169 (org-paste-subtree): Cleaning up.
2170 (org-remember-apply-template): New escape %A.
2171 (org-todo): Call fast TODO selection.
2172 (org-fast-todo-selection): New function.
2173 (org-add-log-note): Allow prefix for abort exit.
2174 (org-at-property-p, org-entry-properties)
2175 (org-columns-get-autowidth-alist): Use :alpha: class.
2176 (org-get-wdays): New function.
2177 (org-agenda-remove-date): New variable.
2178 (org-agenda-get-deadlines): Use `org-get-wdays'.
2179 (org-agenda-get-deadlines): Reverse ee before returning.
2180 (org-format-agenda-item): New argument REMOVE-RE.
2181 (org-agenda-convert-date): Baha'i calendar added.
2182 (org-infile-export-plist): Also find DATE line.
2183 (org-get-min-level): New function.
2184 (org-export-as-html, org-export-as-ascii): Use the date format.
2185 (org-shiftup, org-shiftdown): Use.
2186 `org-edit-timestamp-down-means-later'.
2187 (org-assign-fast-keys): New function.
2189 2007-09-08 Fredrik Axelsson <f.axelsson@gmail.com>
2191 * cus-start.el (all): Add prefer-window-split-horizontally from
2194 2007-09-08 Eli Zaretskii <eliz@gnu.org>
2196 * net/browse-url.el (browse-url-galeon): Fix last change.
2197 (top-level): Require cl when compiling.
2199 2007-09-08 Carsten Dominik <dominik@science.uva.nl>
2201 * textmodes/org-export-latex.el: arch-tag restored.
2203 * textmodes/org-publish.el: arch-tag restored.
2205 2007-09-08 Masatake YAMATO <jet@gyve.org>
2207 * progmodes/which-func.el (which-func-modes): Add diff-mode.
2209 * progmodes/cc-langs.el: Support new keywords added to
2210 objective-c frontend of gcc.
2211 (c-simple-stmt-kwds): Add @throw.
2212 (c-block-stmt-2-kwds): Add @synchronized.
2213 (c-block-stmt-1-kwds): Add @finally and @try.
2215 2007-09-07 Carsten Dominik <dominik@science.uva.nl>
2217 * textmodes/org.el (org-edit-timestamp-down-means-later): New option.
2218 (org-agenda-after-show-hook): New variable.
2219 (org-columns-compile-format)
2220 (org-columns-get-autowidth-alist, org-buffer-property-keys)
2221 (org-entry-properties, org-at-property-p): Allow [:alnum:] in
2223 (org-get-wdays): New function.
2225 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2227 * simple.el (normal-erase-is-backspace-setup-frame): Massage.
2229 * term/xterm.el (xterm-function-map): Initialize in the declaration.
2231 * vc-arch.el (vc-arch-checkin): Fix typo.
2233 2007-09-07 Johan Bockg
\e,Ae
\e(Brd <bojohan@gnu.org>
2235 * cus-face.el (custom-theme-set-faces): Set face attributes
2236 locally for each frame.
2238 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2240 * progmodes/fortran.el (fortran-mode): Set font-lock-syntactic-keywords
2241 via font-lock-defaults.
2243 * emacs-lisp/bytecomp.el (byte-compile-log-file): Check major-mode via
2246 2007-09-07 Thien-Thi Nguyen <ttn@gnuvola.org>
2248 * progmodes/autoconf.el (autoconf-definition-regexp):
2249 Handle optional square brackets around definition name.
2251 2007-09-07 Johannes Weiner <hannes@saeurebad.de>
2253 * net/browse-url.el (browse-url-browser-function): Add elinks.
2254 (browse-url-elinks-wrapper): New option.
2255 (browse-url-encode-url, browse-url-elinks)
2256 (browse-url-elinks-sentinel): New functions.
2257 (browse-url-file-url, browse-url-netscape, browse-url-mozilla)
2258 (browse-url-firefox, browse-url-galeon, browse-url-epiphany):
2259 Use new function browse-url-encode-url.
2261 2007-09-07 Glenn Morris <rgm@gnu.org>
2263 * version.el (emacs-version): Revert 2007-08-29 change: no need to
2264 say if multi-tty is present.
2266 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2268 * cus-start.el (split-window-preferred-function): Add custom info.
2270 * calendar/holidays.el (holiday-list, calendar-check-holidays)
2271 (calendar-mark-holidays, calendar-list-holidays)
2272 (holiday-filter-visible-calendar): New names to clean up namespace.
2273 (filter-visible-calendar-holidays, list-calendar-holidays)
2274 (mark-calendar-holidays, check-calendar-holidays, list-holidays):
2275 Add compatibility aliases.
2276 (calendar-check-holidays, calendar-mark-holidays)
2277 (calendar-holiday-list, holiday-filter-visible-calendar): Use dolist.
2278 (holiday-sexp): Replace append with list.
2279 (holiday-filter-visible-calendar): Replace append with push.
2281 * woman.el: Remove spurious * in docstrings.
2282 (woman-mini-help, woman-non-underline-faces, woman0-rename)
2283 (woman-topic-all-completions-merge, woman-file-name-all-completions)
2284 (woman-select-symbol-fonts, woman-expand-directory-path): Use dolist.
2285 (woman-write-directory-cache, woman-display-extended-fonts)
2286 (WoMan-log-begin, WoMan-log-1): Use with-current-buffer.
2287 (woman-really-find-file): Use pop-to-buffer if switch-to-buffer fails.
2288 (woman-mode): Use inhibit-read-only.
2289 (woman-negative-vertical-space): Use dotimes.
2290 (woman2-tagged-paragraph, woman-tab-to-tab-stop): Use insert-char.
2292 2007-09-06 Romain Francoise <romain@orebokech.com>
2294 * vc-bzr.el (vc-bzr-admin-lastrev): New defconst.
2295 (vc-bzr-workfile-version): Use it.
2297 2007-09-06 Sean O'Rourke <sorourke@cs.ucsd.edu>
2299 * complete.el (PC-do-completion): Don't try to treat
2300 empty string as an abbreviation.
2302 2007-09-06 Johan Bockg
\e,Ae
\e(Brd <bojohan@dd.chalmers.se>
2304 * help-fns.el (describe-variable): Keep doc's text properties.
2306 2007-09-06 Dan Nicolaescu <dann@ics.uci.edu>
2308 * vc.el (vc-default-diff-tree): Pass a list to the diff vc command
2311 2007-09-06 Glenn Morris <rgm@gnu.org>
2313 * emacs-lisp/checkdoc.el (checkdoc-minor-mode-string): New.
2314 (checkdoc-minor-mode): Allow user to specify lighter via
2315 checkdoc-minor-mode-string.
2317 2007-09-05 Richard Stallman <rms@gnu.org>
2319 * startup.el (fancy-startup-text): Rename from fancy-splash-text.
2320 Several items removed, simplified, or put on one line.
2321 (fancy-about-text): Add substantial contents, part of startup text.
2322 (fancy-splash-head): Make "GNU" or "GNU/Linux" a link.
2323 (normal-splash-screen): Call normal-mouse-startup-screen,
2324 normal-no-mouse-startup-screen, or normal-about-screen.
2325 (normal-mouse-startup-screen): New fn, broken out, shortened.
2326 (normal-no-mouse-startup-screen): New fn, broken out.
2327 (normal-about-screen): New function, contents all new.
2329 2007-09-05 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
2331 * emacs-lisp/rx.el (rx): Fix typo in docstring.
2333 2007-09-05 Glenn Morris <rgm@gnu.org>
2335 * cus-edit.el (custom-buffer-create-internal): Check tool-bar-mode
2338 2007-09-05 Johan Bockg
\e,Ae
\e(Brd <bojohan@dd.chalmers.se>
2340 * emacs-lisp/advice.el (ad-make-advised-docstring): Highlight note
2343 2007-09-04 Dan Nicolaescu <dann@ics.uci.edu>
2345 * server.el (server-start, server-unload-hook): Undo previous change.
2347 * xt-mouse.el: Undo previous change.
2349 2007-09-04 Juri Linkov <juri@jurta.org>
2351 * startup.el (fancy-about-text): New variable.
2352 (fancy-splash-delay, fancy-splash-max-time): Remove user options.
2353 (fancy-current-text, fancy-splash-stop-time)
2354 (fancy-splash-outer-buffer): Remove variables.
2355 (fancy-splash-head, fancy-splash-tail): Add new optional argument
2356 `startup' and use it to conditionally display different texts for
2357 Startup and About screens. Don't display Help commands on the About
2359 (fancy-splash-screens-1): Remove function and move its content to
2360 `fancy-splash-screens' to the part that dislpays the About screen.
2361 (exit-splash-screen): Don't treat specially exiting from
2362 alternating screens.
2363 (fancy-splash-screens): Rename argument `static' to `startup'.
2364 Fix docstring. Remove code for displaying alternating screens.
2365 Use arg `startup' in calls to `fancy-splash-head', `fancy-splash-tail'.
2366 Remove let-bind for `fancy-splash-outer-buffer' and add let-bind
2367 for `inhibit-read-only'.
2368 (normal-splash-screen): Rename argument `static' to `startup'.
2369 Fix docstring. Use argument `startup' to conditionally display
2370 different texts for Startup and About screens. Don't display Help
2371 commands on the About screen. Remove `unwind-protect' `sit-for'
2372 delay and `kill-buffer' after it.
2373 (display-startup-echo-area-message): Remove call to
2374 `use-fancy-splash-screens-p' because image.el is preloaded and
2375 doesn't display "Loading image... done".
2376 (display-splash-screen): Rename argument `static' to `startup'.
2379 2007-09-04 Dan Nicolaescu <dann@ics.uci.edu>
2381 * server.el (server-start, server-unload-hook):
2382 suspend-tty-functions has been renamed to suspend-tty-hook.
2384 * xt-mouse.el: Likewise. resume-tty-functions has been renamed to
2387 2007-09-03 Emanuele Giaquinta <e.giaquinta@glauco.it> (tiny change)
2389 * loadup.el: Fix merge problem, only load "button" once.
2391 2007-09-03 Glenn Morris <rgm@gnu.org>
2393 * vc-svn.el (vc-svn-print-log): If there is only one file, use
2394 "Working file:" as the prefix, for the sake of
2395 log-view-current-file.
2397 2007-09-02 Dan Nicolaescu <dann@ics.uci.edu>
2399 * term/xterm.el (xterm-modify-other-keys-terminal-list): New variable.
2400 (xterm-turn-on-modify-other-keys): Only turn on modify-other-keys
2401 if the selected frames is in
2402 xterm-modify-other-keys-terminal-list.
2403 (xterm-turn-off-modify-other-keys): Add an optional frame
2404 parameter. Only turn off modify-other-keys if FRAME is in
2405 xterm-modify-other-keys-terminal-list.
2406 (xterm-remove-modify-other-keys): New function.
2407 (terminal-init-xterm): Use it. Deal with delete-frame hook.
2408 Add the selected frame to xterm-modify-other-keys-terminal-list.
2410 2007-09-02 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
2412 * term/x-win.el (x-gtk-stock-map): Map diropen to system-file-manager.
2413 (icon-map-list): New variable.
2414 (x-gtk-map-stock): Use icon-map-list.
2416 2007-09-02 Romain Francoise <romain@orebokech.com>
2418 * log-view.el (log-view-current-file): Balance parens.
2420 2007-09-02 Glenn Morris <rgm@gnu.org>
2422 * comint.el (comint-mode): Don't set scroll-conservatively.
2424 * eshell/em-unix.el (eshell/time): Stringify and flatten the
2425 non-command arguments.
2427 * log-view.el (log-view-current-file): Give a more explicit error
2428 if log-view-file-re fails to find a match.
2430 2007-09-01 Thien-Thi Nguyen <ttn@gnuvola.org>
2432 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2433 Fix bug: Don't expand top-level file name more than once.
2434 Reported by Dmitry Antipov <dmantipov@yandex.ru>.
2436 2007-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2438 * server.el (server-process-filter): Don't display the splash screen.
2439 It's annoying enough on the initial screen and becomes positively
2442 2007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
2444 * emacs-lisp/avl-tree.el: Use defstruct rather than macros.
2445 Change naming to use "avl-tree--" for internal functions.
2447 2007-08-31 Dan Nicolaescu <dann@ics.uci.edu>
2449 * term/x-win.el (x-menu-bar-open): Delete duplicated function from
2451 (global-set-key): Delete f10 mapping, now done in menu-bar.el.
2452 (provide): Move to the end of file.
2454 * vc-svn.el (vc-svn-diff-tree): Pass a list to vc-svn-diff.
2456 2007-08-31 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
2458 * textmodes/flyspell.el (flyspell-mark-duplications-exceptions):
2459 New variable. List of exceptions for the duplicated word rule.
2460 (flyspell-mark-duplications-flag): Mention it.
2461 (flyspell-word): Treat it.
2463 * files.el (create-file-buffer): If the filename sans directory starts
2464 with spaces, remove them.
2466 2007-08-31 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
2468 * term/x-win.el (x-gtk-stock-map): Add etc/images to keys.
2469 (x-gtk-map-stock): Use two directory elements when matching
2472 2007-08-31 James Wright <james@chumsley.org>
2474 * eshell/em-unix.el (eshell/info): New function.
2476 2007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
2478 * frame.el (frame-initialize, make-frame):
2479 * server.el (server-process-filter):
2480 * faces.el (tty-set-up-initial-frame-faces): Don't set
2481 term-environment-variable since it's not used any more.
2483 * env.el (setenv): Don't treat $TERM specially.
2485 * startup.el (normal-top-level): Set $TERM to `dumb' so that unless
2486 stated otherwise, subprocesses do not send back escape sequences
2487 corresponding to the terminal from which Emacs was started.
2489 2007-08-31 Thien-Thi Nguyen <ttn@gnuvola.org>
2491 * calculator.el: Require cl for compilation.
2493 2007-08-30 Daniel Pfeiffer <occitan@esperanto.org>
2495 * outline.el (outline-font-lock-levels): Comment out unused var.
2496 (outline-font-lock-face): Wrap around face list to handle any
2497 nesting depth gracefully.
2499 2007-08-30 Michael Albinus <michael.albinus@gmx.de>
2501 * net/ange-ftp.el: Add ange-ftp property to `set-file-modes' and
2504 2007-08-30 Carsten Dominik <dominik@science.uva.nl>
2506 * textmodes/org.el (org-export-visible): Fix drawers before export.
2507 (org-do-sort): Allow sorting by priority.
2508 (org-agenda-files): Ignore non-existing files.
2509 (org-agenda-skip-unavailable-files): New variable.
2510 (org-ellipsis): All a face as value.
2511 (org-mode): Interprete the face value of `org-ellipsis'.
2512 (org-archive-save-context-info): New option.
2513 (org-archive-subtree): Store context info in archived entry.
2514 (org-fast-tag-selection-can-set-todo-state): New variable.
2515 (org-fast-tag-selection): Allow setting TODO states through this
2517 (org-cycle): Docstring updated.
2518 (org-todo-keyword-faces): New option.
2519 (org-get-todo-face): New function.
2520 (org-set-font-lock-defaults, org-agenda-highlight-todo):
2521 Use `org-get-todo-face'.
2522 (org-switch-to-buffer-other-window): New function.
2523 (org-table-edit-field, org-table-show-reference)
2524 (org-table-edit-formulas, org-add-log-note)
2525 (org-fast-tag-selection, org-agenda, org-prepare-agenda)
2526 (org-timeline): Use `org-switch-to-buffer-other-window' instead of
2527 `switch-to-buffer-other-window' to make sure that the temporary
2528 windows show up on the current frame.
2529 (org-mhe-get-message-real-folder, org-batch-store-agenda-views)
2530 (org-get-entries-from-diary, org-replace-region-by-html):
2531 Don't allow pop-up frames.
2532 (org-agenda-get-deadlines, org-agenda-get-scheduled):
2533 Fix problems with time-of-day.
2534 (org-export-get-title-from-subtree): New function.
2535 (org-agenda-get-scheduled, org-agenda-get-deadlines): Fix problems
2536 with listing items that are DONE.
2537 (org-change-tag-in-region): New command.
2538 (org-agenda-skip-scheduled-if-done)
2539 (org-agenda-skip-deadline-if-done): Docstring clarified.
2540 (org-mode): Hide drawers on startup.
2541 (org-get-todo-face): New function.
2542 (org-todo-keyword-faces): New option.
2543 (org-set-regexps-and-options): Use `org-remove-keyword-keys'.
2544 (org-remove-keyword-keys): New function.
2546 2007-08-30 Jari Aalto <jari.aalto@cante.net> (tiny change)
2548 * progmodes/grep.el (grep-find-ignored-directories):
2549 Add monotone _MTN bookkeeping directory in workspaces.
2550 Add RCS control directory. List items in alphabetical order.
2552 * progmodes/grep.el (grep-files-aliases): Add cc alias.
2553 Sort items in alphabetical order. Fix parens.
2555 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
2557 * vc-hg.el (vc-hg-extra-menu-map): New variable.
2558 (vc-hg-extra-menu, vc-hg-outgoing, vc-hg-incoming, vc-hg-push)
2559 (vc-hg-pull): New functions.
2560 (vc-hg-outgoing-mode, vc-hg-incoming-mode): New derived modes.
2562 * term/mac-win.el: Don't require url, only autoloaded url
2563 functions are used in this file.
2565 2007-08-29 Andreas Schwab <schwab@suse.de>
2567 * shell.el (shell): Return correct value from interactive spec.
2569 2007-08-29 Glenn Morris <rgm@gnu.org>
2571 * version.el (emacs-version): Increase to 23.0.50.
2573 2007-08-29 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
2575 * term/x-win.el (x-gtk-stock-map): :version changed to 23.1.
2577 2007-08-29 Juri Linkov <juri@jurta.org>
2579 * loadup.el: Add "button" loading after "faces" and move "startup"
2580 to load after "button".
2582 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
2584 * loadup.el: Load term/mac-win on a Mac using Carbon.
2586 * term/mac-win.el: Provide mac-win.
2587 (mac-initialized): New variable.
2588 (mac-initialize-window-system): New function. Move global setup here.
2589 (handle-args-function-alist, frame-creation-function-alist):
2590 (window-system-initialization-alist): Add mac entries.
2591 (x-setup-function-keys): New function containing all the
2592 top level function key definitions.
2594 * term/x-win.el (x-menu-bar-open): Use accelerate-menu.
2596 * env.el (read-envvar-name): Don't consider the environment frame param.
2599 * frame.el (frame-initialize, make-frame):
2600 * faces.el (tty-set-up-initial-frame-faces):
2601 * server.el (server-process-filter): Set
2602 display-environment-variable and term-environment-variable.
2604 * server.el (server-process-filter): Set COLORFGBG and COLORTERM.
2606 2007-08-29 Jason Rumney <jasonr@gnu.org>
2608 * loadup.el: Only load term/x-win when X is compiled in.
2609 Load term/w32-win and dependencies on windows-nt.
2611 * term/w32-win.el: Reorder to match x-win.el more closely.
2612 Provide w32-win. Don't throw error when global window-system not w32.
2613 (internal-face-interactive): Remove obsolete function.
2614 (x-setup-function-keys): Use local-function-key-map.
2615 (w32-initialized): New variable.
2616 (w32-initialize-window-system): Set it.
2617 Move more global setup here.
2618 (x-setup-function-keys): New function.
2619 (w32-initialize-window-system): Move non function key global setup here.
2620 (x-cut-buffer-max): Remove.
2621 (w32-initialize-window-system): New function.
2622 (handle-args-function-alist, frame-creation-function-alist):
2623 (window-system-initialization-alist): Add w32 entries.
2625 2007-08-29 David Kastrup <dak@gnu.org>
2627 * env.el (getenv): Pass frame to getenv-internal.
2629 2007-08-29 Karoly Lorentey <lorentey@elte.hu>
2631 * version.el (emacs-version): Show if multi-tty is present.
2633 * loadup.el: Delay loading env; mule-conf gets confused by cl
2634 during bootstrap. Also load termdev and term/x-win.
2636 * bindings.el (mode-line-client): New variable.
2637 (help-echo): Add it to the default mode-line format.
2639 * cus-start.el: Remove bogus window-system reference from GTK test.
2641 * ebrowse.el (ebrowse-electric-list-mode-map)
2642 (ebrowse-electric-position-mode-map):
2643 * ebuff-menu.el (electric-buffer-menu-mode-map):
2644 * echistory.el (electric-history-map): Bind C-z to `suspend-frame',
2645 not `suspend-emacs'.
2647 * ediff-wind.el (ediff-setup-windows-automatic): New function.
2648 (ediff-window-setup-function): Use it as default.
2650 * files.el (save-buffers-kill-terminal): New function.
2651 (ctl-x-map): Change binding of C-x C-c to save-buffers-kill-terminal.
2653 * font-lock.el (lisp-font-lock-keywords-2): Add `let-environment'
2654 and `with-selected-frame'.
2656 * help-fns.el (describe-variable): Describe frame-local variables
2659 * simple.el (normal-erase-is-backspace-mode): Rewrite for multiple
2661 (normal-erase-is-backspace-setup-frame): New function.
2663 * subr.el (with-selected-frame): New function.
2664 (read-quoted-char): Use terminal-local binding of
2665 local-function-key-map instead of function-key-map.
2667 * talk.el (talk): New function.
2668 (talk-handle-delete-frame): New function.
2669 (talk-add-display): Open a new frame only if FRAME was not a frame.
2671 * termdev.el: New file.
2673 * menu-bar.el (menu-bar-open): New function. Bind it to f10.
2674 * term/x-win.el: Don't bind f10.
2675 * tmm.el: Remove autoload binding for f10.
2677 * international/encoded-kb.el (encoded-kbd-setup-display): Use
2678 `set-input-meta-mode'. Fix broken condition before set-input-mode.
2679 Store the saved input method as a terminal parameter. Add keymap
2680 parameter. Use it instead of changing key-translation-map directly.
2681 (saved-key-translation-map, encoded-kbd-mode, saved-input-mode):
2683 (encoded-kbd-setup-display): New function.
2685 * international/mule-cmds.el (set-locale-environment): Fix getenv
2686 call. Use save-buffers-kill-terminal. Ignore window-system; always
2687 set the keyboard coding system. Add DISPLAY parameter.
2688 (set-display-table-and-terminal-coding-system): Add DISPLAY
2689 parameter. Pass it to set-terminal-coding-system.
2691 * international/mule.el (keyboard-coding-system): Test for
2692 encoded-kbd-setup-display, not encoded-kbd-mode.
2693 (set-terminal-coding-system, set-keyboard-coding-system): Add
2695 (set-keyboard-coding-system): Use encoded-kbd-setup-display.
2697 * term/README: Update.
2699 * term/linux.el (terminal-init-linux): Use `set-input-meta-mode'.
2701 * term/x-win.el (x-setup-function-keys): New function. Move
2702 function-key-map tweaks here. Protect against multiple calls on
2703 the same terminal. Use terminal-local binding of
2704 local-function-key-map instead of function-key-map.
2705 (x-initialize-window-system): Make a copy of pure list. Pass a
2708 * term/vt200.el, term/vt201.el, term/vt220.el, term/vt240.el:
2709 * term/vt300.el, term/vt320.el, term/vt400.el, term/vt420.el:
2710 * term/AT386.el, term/internal.el, term/iris-ansi.el, term/lk201.el:
2711 * term/mac-win.el, term/news.el, term/rxvt.el, term/sun.el:
2712 * term/tvi970.el, term/wyse50.el: Use terminal-local binding of
2713 local-function-key-map instead of function-key-map.
2715 * term/rxvt.el, term/xterm.el: Speed up load time by protecting
2716 `substitute-key-definition' and `define-key' calls against
2717 multiple execution. Use terminal-local binding of
2718 local-function-key-map instead of function-key-map. Pass a frame
2721 * edmacro.el (edmacro-format-keys):
2722 * emulation/cua-base.el (cua--pre-command-handler):
2723 * isearch.el (isearch-other-meta-char):
2724 * xt-mouse.el: Use terminal-local binding of
2725 local-function-key-map instead of function-key-map.
2727 * fringe.el (set-fringe-mode): Simplify and fix using
2728 `modify-all-frames-parameters'.
2729 * scroll-bar.el (set-scroll-bar-mode): Ditto.
2730 * tool-bar.el (tool-bar-mode): Ditto. Remove 'tool-bar-map length
2731 check before calling `tool-bar-setup'.
2732 (tool-bar-setup): New variable.
2733 (tool-bar-setup): Use it to guard against multiple calls. Add
2734 optional frame parameter, and select that frame before adding items.
2735 (toggle-tool-bar-mode-from-frame): New function.
2737 * menu-bar.el (toggle-menu-bar-mode-from-frame): New function.
2738 (menu-bar-showhide-menu): Use toggle-menu-bar-mode-from-frame and
2739 toggle-tool-bar-mode-from-frame to change "Menu-bar" and
2740 "Tool-bar" toggles to reflect the state of the current frame.
2741 (menu-bar-mode): Simplify and fix using `modify-all-frames-parameters'.
2743 * env.el: Require cl for byte compilation (for `block' and `return').
2744 (environment, setenv-internal): New functions.
2745 (let-environment): New macro.
2746 (setenv, getenv): Add optional terminal parameter. Update docs.
2747 (setenv): Use setenv-internal. Always set process-environment.
2748 Handle `local-environment-variables'.
2749 (read-envvar-name, setenv, getenv): Use frame parameters
2750 to store the local environment, not terminal parameters. Include
2751 `process-environment' as well.
2753 * faces.el (tty-run-terminal-initialization): New function.
2754 (tty-create-frame-with-faces): Use it. Set up faces and
2755 background mode only after the terminal has been initialized.
2756 Call terminal-init-*. Don't load the initialization file more
2757 than once. Call set-locale-environment.
2758 (frame-set-background-mode): Handle the 'background-mode terminal
2760 (tty-find-type): New function.
2761 (x-create-frame-with-faces): Remove bogus check for
2762 first frame. Call `tool-bar-setup'. Don't make frame visible
2763 until we are done setting up all its parameters. Call
2764 x-setup-function-keys.
2766 * frame.el (make-frame): Always inherit 'environment and 'client
2767 parameters. Set up the 'environment frame parameter, when needed.
2768 Also inherit 'client parameter. Don't override explicitly
2769 specified values with inherited ones. Add 'terminal frame
2770 parameter. Append window-system-default-frame-alist to parameters
2771 before calling frame-creation-function.
2772 (frame-initialize): Copy the environment from the initial frame.
2773 (window-system-default-frame-alist): Enhance doc string.
2774 (frame-notice-user-settings): Don't put 'tool-bar-lines in
2775 `default-frame-alist' when initial frame is on a tty.
2776 (modify-all-frames-parameters): Simplify using `assq-delete-all'.
2777 Remove specified parameters from `window-system-default-frame-alist'.
2778 (make-frame-on-tty, framep-on-display, suspend-frame):
2779 Extend doc string, update parameter names.
2780 (frames-on-display-list): Use terminal-id to get the display id.
2781 (frame-notice-user-settings): Extend to apply
2782 settings in `window-system-default-frame-alist' as well.
2783 (terminal-id, terminal-parameters, terminal-parameter)
2784 (set-terminal-parameter, terminal-handle-delete-frame): New functions.
2785 (delete-frame-functions): Add to `delete-frame-functions' hook.
2786 (blink-cursor-mode): Adapt blink-cursor-mode default
2787 value from startup.el.
2788 (make-frame-on-display): Protect condition on x-initialized when
2789 x-win.el is not loaded. Update doc.
2790 (suspend-frame): Use display-controlling-tty-p to decide between
2791 suspend-emacs and suspend-tty.
2792 (frames-on-display-list): Update for display ids.
2793 (framep-on-display): Ditto.
2794 (suspend-frame): Use display-name, not frame-tty-name.
2795 (selected-terminal): New function.
2797 * server.el: Use `device' instead of `display' or `display-id' in
2798 variable and client parameter names.
2799 (server-select-display): Remove (unused).
2800 (server-tty-live-p, server-handle-delete-tty): Remove.
2801 (server-unquote-arg, server-quote-arg, server-buffer-clients):
2803 (server-getenv-from, server-with-environment, server-send-string)
2804 (server-save-buffers-kill-terminal): New functions.
2805 (server-delete-client): Handle quits in kill-buffer. Don't kill
2806 modified buffers. Add extra logging. Delete frames after
2807 deleting the tty. Clear 'client parameter before deleting a frame.
2808 Use delete-display, not delete-tty.
2809 (server-visit-files): Don't set `server-existing-buffer' if the
2810 buffer already has other clients. Return list of buffers
2811 created. Update doc. Don't set client-record when nowait.
2812 (server-handle-delete-frame): Delete the client if this was its
2813 last frame. Check that the frame is alive. Remove bogus comment.
2814 Add note on possible race condition. Delete tty clients, if needed.
2815 (server-handle-suspend-tty): Use server-send-string. Kill the
2816 client in case of errors from process-send-string. Use the display
2818 (server-unload-hook): Remove obsolete delete-tty hook.
2819 (server-start): Ask before restarting if the old server still has
2820 clients. Add feedback messages. Remove obsolete delete-tty hook.
2821 (server-process-filter): Use server-send-string. Accept `-dir'
2822 command. Switch to *scratch* immediately after creating the frame,
2823 before evaluating any -evals. Protect `display-splash-screen'
2824 call in a condition-case. Explain why. Call
2825 `display-startup-echo-area-message' before
2826 `display-splash-screen'. Don't display the splash screen when no
2827 frame was created. Show the Emacs splash screen and startup echo
2828 area message. Display the *scratch* buffer by default. Store the
2829 local environment in a frame (not terminal) parameter. Do not try
2830 to decode environment strings. Fix reference to the 'display
2831 frame parameter. Change syntax of environment variables. Put
2832 environment into terminal parameters, not client parameters. Use
2833 a dummy client with --no-wait's X frames. In `-position LINE'
2834 handler, don't ruin the request string until the line number is
2835 extracted. Log opened files. Handle -current-frame command.
2836 Don't create frames when it is given. Don't bind X frames to the
2837 client when we are in -no-wait mode. Set locale environment
2838 variables from client while creating tty frames. Disable call to
2839 configure-display-for-locale. When processing -position command,
2840 don't change the request string until the parameters are
2841 extracted. Don't try to create an X frame when Emacs does not
2842 support it. Improve logging. Temporarily set ncurses-related
2843 environment variables to those of the client while creating a new
2844 tty frame. Select buffers opened by nowait clients, don't leave
2845 them buried under others. Set the display parameter, and use it
2848 * startup.el (display-startup-echo-area-message): Handle
2849 `inhibit-startup-echo-area-message' here.
2850 (command-line-1): Moved from here.
2851 (fancy-splash-screens): Use `overriding-local-map' instead of
2852 `overriding-terminal-local-map' for now; the latter doesn't work
2853 right, it looses keypresses to another terminal. Use
2854 `overriding-terminal-local-map' to set up keymap. Install a
2855 `delete-frame-functions' hook to catch `delete-frame' events.
2856 Ignore `select-window' events to cope better with
2857 `focus-follows-mouse'. Don't switch back to the original buffer
2858 if the splash frame has been killed. Restore previous buffer, even
2860 (normal-splash-screen): Don't let-bind `mode-line-format'; it
2861 changes the global binding - setq it instead. Use
2862 `save-buffers-kill-terminal'.
2863 (display-splash-screen): Don't do anything if the splash screen is
2864 already displayed elsewhere.
2865 (fancy-splash-exit, fancy-splash-delete-frame): New functions.
2866 (command-line): Replace duplicated code with a call to
2867 tty-run-terminal-initialization. Don't load the terminal
2868 initialization file more than once. Remove call to nonexistent
2869 function `set-locale-translation-file-name'.
2871 * xt-mouse.el (xterm-mouse-x, xterm-mouse-y): Convert to terminal
2873 (xterm-mouse-position-function, xterm-mouse-event): Update.
2874 (xterm-mouse-mode): Don't depend on current value of window-system.
2875 (turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking):
2876 Update for multi-tty.
2877 (turn-on-xterm-mouse-tracking-on-terminal)
2878 (turn-off-xterm-mouse-tracking-on-terminal)
2879 (xterm-mouse-handle-delete-frame): New functions.
2880 (delete-frame-functions, after-make-frame-functions)
2881 (suspend-tty-functions, resume-tty-functions): Install extra hooks
2884 2007-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2886 * simple.el (invisible-p): Remove: implemented in C now.
2887 (line-move-invisible-p): Remove obsolete alias.
2889 2007-08-28 Juri Linkov <juri@jurta.org>
2891 * image-mode.el (image-type): New variable.
2892 (image-mode): Set default major mode name to "Image[text]".
2893 (image-minor-mode): Change LIGHTER to display image-type in the
2895 (image-minor-mode): Set default image-type to "text".
2896 (image-toggle-display): After switching to text mode, set
2897 image-type to "text" and major mode name to "Image[text]".
2898 After switching to image mode, set image-type to actual image
2899 type, and add image type to major mode name. Let-bind the same
2900 variable names as arguments of `image-type' and `create-image'.
2901 Bind `type' to the result of `image-type' and use it as arg
2902 of `create-image' to not determine the image type twice.
2904 2007-08-28 Michael Albinus <michael.albinus@gmx.de>
2906 * net/tramp.el (tramp-handle-set-file-times): Flush the file properties.
2907 (tramp-set-file-uid-gid, tramp-get-local-uid)
2908 (tramp-get-local-gid): New defuns.
2909 (tramp-handle-copy-file): Handle new parameter PRESERVE-UID-GID.
2910 (tramp-do-copy-or-rename-file): New parameter PRESERVE-UID-GID.
2912 (tramp-do-copy-or-rename-file-directly): Sync parameter list with
2913 the other tramp-do-copy-or-rename-file-* functions. Major rewrite.
2914 (tramp-handle-file-local-copy, tramp-handle-insert-file-contents)
2915 (tramp-handle-write-region): Improve fast track.
2916 (tramp-handle-file-remote-p): IDENTIFICATION can also be `localname'.
2917 (tramp-maybe-open-connection): Let `process-adaptive-read-buffering'
2920 2007-08-28 Ivan Kanis <apple@kanis.eu>
2922 * time.el: New feature to display several time zones in a buffer.
2923 (display-time-world-mode, display-time-world-display)
2924 (display-time-world, display-time-world-timer): New functions.
2925 (display-time-world-list, display-time-world-time-format)
2926 (display-time-world-buffer-name, display-time-world-timer-enable)
2927 (display-time-world-timer-second, display-time-world-mode-map):
2930 2007-08-28 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
2932 * term/x-win.el (x-gtk-stock-map): New variable.
2933 (x-gtk-map-stock): New function.
2935 * info.el (info-tool-bar-map): Add :rtl keyword to right/left-arrow and
2938 2007-08-28 Johan Bockg
\e,Ae
\e(Brd <bojohan@dd.chalmers.se> (tiny change)
2940 * play/gamegrid.el (gamegrid-init): Set line-spacing to 0.
2942 2007-08-28 Glenn Morris <rgm@gnu.org>
2944 * progmodes/cc-langs.el (c-constant-kwds): Add java: null, true, false.
2946 2007-08-27 Thien-Thi Nguyen <ttn@gnuvola.org>
2948 * progmodes/modula2.el (m2-definition, m2-module):
2949 Don't use previous-line. Reported by T. V. Raman.
2951 2007-08-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2953 * term/mac-win.el (mac-handle-toolbar-switch-mode): Add explicit
2954 argument to tool-bar-mode call.
2956 2007-08-27 Glenn Morris <rgm@gnu.org>
2958 * diff-mode.el (diff-find-file-name): Only accept regular files,
2959 to rule out /dev/null, directories, etc.
2961 * vc-svn.el (vc-svn-diff): If the repository version of all the
2962 files is the same as the specified OLDVERS, do a local diff.
2964 2007-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
2966 * uniquify.el (uniquify-rationalize-file-buffer-names): Check liveness
2967 of buffers in uniquify-managed.
2969 * simple.el (invisible-p): Rename from text-invisible-p.
2972 2007-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2974 * progmodes/cperl-mode.el (defcustom, x-color-defined-p, cperl-is-face)
2975 (cperl-is-face, cperl-force-face, cperl-etags-snarf-tag, cperl-mode)
2976 (cperl-etags-snarf-tag, cperl-etags-goto-tag-location, cperl-init-faces)
2977 (cperl-etags-goto-tag-location): Use new style backquotes.
2979 * net/browse-url.el: Remove spurious * in custom docstrings.
2980 (browse-url-filename-alist): Use new-style backquote.
2982 * emacs-lisp/backquote.el (backquote-unquote-symbol)
2983 (backquote-splice-symbol): Clarify they're not new-style unquotes.
2985 * emacs-lisp/edebug.el (edebug-list-form, edebug-match-symbol, \,)
2986 (\,@): Backslash the , and ,@ which are not new-style unquotes.
2988 * textmodes/texinfmt.el (\,): Clarify it's not a new-style unquote.
2990 * net/socks.el (socks-username/password-auth-filter):
2991 Remove unused vars `state' and `desired-len'.
2992 (socks-parse-services, socks-nslookup-host): Use with-current-buffer.
2993 (socks-wait-for-state-change): Use new-style backquotes.
2995 * pcvs.el (cvs-mode-status): Fix long-standing typo.
2997 * emacs-lisp/bytecomp.el (byte-compile-from-buffer): Check old-style
2998 backquotes after each `read' rather than once per buffer.
3000 * dframe.el: Remove spurious * in custom docstrings.
3001 (dframe-xemacsp): Remove, use (featurep 'xemacs) instead.
3002 (dframe-xemacs20p): Remove, inline at the sole use point.
3003 (defface): Don't defvar the face, don't use old-style backquote.
3004 (defcustom): Don't use old-style backquote.
3005 (dframe-frame-parameter, dframe-mouse-event-p):
3006 Make it obvious that it's always defined.
3007 (dframe-popup-kludge): New function to replace
3008 dframe-xemacs-popup-kludge and dframe-xemacs-popup-kludge.
3009 (dframe-frame-mode, dframe-set-timer-internal)
3010 (dframe-mouse-set-point): Remove use of with-no-warnings from
3011 XEmacs-specific code.
3012 (dframe-set-timer-internal): Fix very old bug with
3013 post-command-idle-hook.
3015 * emacs-lisp/byte-opt.el (byte-optimize-featurep): Handle `sxemacs'.
3017 2007-08-27 Thien-Thi Nguyen <ttn@gnuvola.org>
3019 * emacs-lisp/avl-tree.el: New file.
3021 2007-08-26 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
3023 * hi-lock.el (hi-lock-unface-buffer): Show a x-menu only if the mouse
3026 2007-08-26 Sean O'Rourke <seano@cs.ucsd.edu>
3028 * complete.el (PC-do-completion): Make RET accept a non-unique but
3029 complete expansion again.
3031 2007-08-26 Thien-Thi Nguyen <ttn@gnuvola.org>
3033 * eshell/esh-opt.el (eshell-eval-using-options):
3034 Add debug declaration.
3036 2007-08-26 Dan Nicolaescu <dann@ics.uci.edu>
3038 * log-view.el (log-view-toggle-mark-entry): Add docstring.
3039 (log-view-get-marked): Likewise.
3041 * vc-hooks.el (vc-registered): Use mapc instead of mapcar.
3042 (vc-delete-automatic-version-backups): Likewise.
3044 * vc.el (vc-dired-buffers-for-dir): Likewise.
3046 2007-08-25 Dan Nicolaescu <dann@ics.uci.edu>
3048 * progmodes/cperl-mode.el (cperl-indent-level): Autoload the
3049 safe-local-variable setting.
3050 * progmodes/perl-mode.el (perl-indent-level): Likewise.
3052 * log-view.el (log-view-marked-list): Delete variable.
3053 (log-view-mode): Don't use it.
3054 (log-view-toggle-mark-entry): Likewise, simplify.
3055 (log-view-current-tag): Don't return properties.
3056 (log-view-get-marked): New function.
3058 2007-08-25 Alexandre Julliard <julliard@winehq.org>
3060 * vc-git.el (vc-git-mode-line-string): New function.
3062 2007-08-25 Alan Mackenzie <acm@muc.de>
3064 * progmodes/cc-langs.el (c-other-decl-block-key-in-symbols-alist):
3065 new language variable.
3067 * progmodes/cc-engine.el (c-brace-anchor-point): new function.
3068 (c-add-stmt-syntax): Give accurate anchor points for "namespace",
3069 "extern" etc., rather than BOI. Fix addition of spurious
3070 syntactic-symbol 'defun-block-intro, replacing it with
3073 2007-08-25 Juri Linkov <juri@jurta.org>
3075 * files.el (auto-mode-alist): Move "\\.x[bp]m\\'" to image-mode.el.
3077 * image-mode.el: Add autoloads to put associations in auto-mode-alist:
3078 associate "\\.x[bp]m\\'" with c-mode and image-mode-maybe, and
3079 "\\.svgz?\\'" with xml-mode and image-mode-maybe.
3081 * image.el (image-type-header-regexps): Use more complex regexp for svg.
3082 (image-type-file-name-regexps): Add ("\\.svgz?\\'" . svg).
3083 (image-type-auto-detectable): Add (svg . maybe).
3085 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add .svgz
3086 to treat it like .tgz.
3088 * calendar/cal-bahai.el: Add file coding cookie.
3090 2007-08-25 Reiner Steib <Reiner.Steib@gmx.de>
3092 * pcvs.el (cvs-query-directory): Only prompt when prefix is given.
3093 Don't behave differently when executed via M-x. Add doc string.
3095 * sort.el (sort-fold-case, sort-numeric-base): Mark as
3096 safe-local-variable.
3098 2007-08-25 Jay Belanger <jay.p.belanger@gmail.com>
3100 * calc/calc-forms.el (var-TimeZone): Make nil explicitly
3102 (math-calendar-tzinfo): New variable.
3103 (math-get-calendar-tzinfo): New function.
3104 (calcFunc-tzone, calcFunc-dst): Use Emacs's calendar
3105 to get information when zone is nil.
3107 2007-08-24 Dan Nicolaescu <dann@ics.uci.edu>
3109 * log-view.el (log-view-toggle-mark-entry): New function.
3110 (log-view-mode-map): Bind it.
3111 (log-view-marked-list): New variable.
3112 (log-view-mode): Make it local.
3114 2007-08-24 Thien-Thi Nguyen <ttn@gnuvola.org>
3116 * play/zone.el (zone-pgm-rat-race): New func.
3117 (zone-programs): Add `zone-pgm-rat-race'.
3119 2007-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
3121 * emacs-lisp/byte-opt.el (byte-optimize-if): Don't presume `clause' is
3124 2007-08-24 Thien-Thi Nguyen <ttn@gnuvola.org>
3126 * progmodes/hideshow.el (hs-match-data): Delete alias.
3127 (hs-hide-block-at-point, hs-find-block-beginning)
3128 (hs-show-block): Use `match-data' directly.
3130 2007-08-24 Martin Rudalics <rudalics@gmx.at>
3132 * format.el (format-alist): Fix typo in doc-string.
3134 2007-08-24 Michael Albinus <michael.albinus@gmx.de>
3136 * net/tramp.el (tramp-local-host-p): New defun.
3137 (tramp-handle-file-local-copy, tramp-handle-write-region):
3138 Implement fast track when being on the local host.
3139 (tramp-file-name-handler): Don't set "started" property. It shall
3140 be reserved for the "ftp" method.
3141 (tramp-make-copy-program-file-name): Use `tramp-file-name-real-host'.
3143 * net/tramp-ftp.el (top): Autoload `tramp-set-connection-property'.
3144 (tramp-ftp-file-name-handler): Set "started" property.
3146 2007-08-24 Ulrich Mueller <ulm@gentoo.org> (tiny change)
3148 * files.el (backup-buffer-copy): Don't wrap delete in
3149 condition-case, only try to delete if file exists.
3151 2007-08-24 Glenn Morris <rgm@gnu.org>
3153 * files.el (backup-buffer-copy): Revert 2007-08-22 change.
3155 * startup.el (tutorial-directory): Set with eval-at-startup so it
3156 gets the right value in an installed Emacs.
3158 2007-08-24 Nikolaj Schumacher <n_schumacher@web.de> (tiny change)
3160 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): New face.
3161 (eldoc-highlight-function-argument): Use it.
3163 2007-08-23 Masatake YAMATO <jet@gyve.org>
3165 * progmodes/cc-fonts.el (gtkdoc-font-lock-doc-comments): Highlight
3166 name of parameters in document body.
3168 2007-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3170 * emacs-lisp/bytecomp.el (byte-compile-output-docform)
3171 (byte-compile-output-as-comment): Use with-current-buffer rather than
3172 a weird set-buffer&prog1 combination.
3174 * emacs-lisp/byte-opt.el (byte-optimize-if): Move `progn' out of the
3175 test so as to optimise cases where the `progn's result is constant.
3177 2007-08-23 Thien-Thi Nguyen <ttn@gnuvola.org>
3179 * locate.el (locate-get-file-positions):
3180 Use line-beginning-position and line-end-position.
3182 2007-08-23 John Wiegley <johnw@newartisans.com>
3184 * calendar/cal-bahai.el: Added in the diacriticals that were
3185 missing for many of the month names.
3187 2007-08-22 Jason Rumney <jasonr@gnu.org>
3189 * vc-hooks.el (vc-menu-map-filter): Reapply 2007-08-06 bugfix.
3191 2007-08-22 Chong Yidong <cyd@stupidchicken.com>
3193 * image-mode.el (image-minor-mode): Use image-mode-text-map.
3195 2007-08-22 Sean O'Rourke <sorourke@cs.ucsd.edu>
3197 * dabbrev.el (dabbrev--progress-reporter): New variable.
3198 (dabbrev--scanning-message): Delete func.
3199 (dabbrev--find-expansion): Use a progress reporter
3200 instead of dabbrev--scanning-message.
3202 2007-08-22 Michael Albinus <michael.albinus@gmx.de>
3204 * comint.el (comint-exec-1): Raise an error if
3205 `start-file-process' does not return a process object.
3207 * shell.el (shell): Prompt for `default-directory' if it is a
3208 remote file name, and if called with a prefix arg.
3210 2007-08-22 Sam Steingold <sds@gnu.org>
3212 * pcvs.el (cvs-vc-command-advice): Fix a typo in code (file->files).
3214 2007-08-22 Carsten Dominik <dominik@science.uva.nl>
3216 * textmodes/org-export-latex.el: New file.
3218 * textmodes/org-publish.el (org-publish-org-to-latex): New function.
3220 * textmodes/org.el (org-agenda-skip): Allow a form for
3221 `org-agenda-skip-function'.
3222 (org-agenda-redo): Re-use local settings.
3223 (org-agenda): Store local settings.
3224 (org-agenda-deadline-faces): New option.
3225 (org-agenda-deadline-face): New function.
3226 (org-agenda-get-deadlines, org-agenda-get-scheduled): Also handle
3227 entries on their due date.
3228 (org-agenda-get-timestamps): No longer handle the due dates of
3229 schedules and deadline items.
3230 (org-insert-link-global, org-open-at-point-global): New commands.
3231 (org-export-as-ascii): Call `org-cleaned-string-for-export' with a
3232 :for-ascii parameter.
3233 (org-skip-comments): Function removed.
3234 (org-cleaned-string-for-export): Handle special table lines.
3235 (org-global-properties): New option.
3236 (org-entry-get-with-inheritance): Check global properties.
3237 (org-local-properties): New variable.
3238 (org-set-regexps-and-options): Find the #+PROPERTY line.
3239 (org-link-types): Change type into variable (was constant).
3240 (org-make-link-regexps): New function.
3241 (org-link-re-with-space, org-link-re-with-space2)
3242 (org-angle-link-re, org-plain-link-re, org-bracket-link-regexp)
3243 (org-bracket-link-analytic-regexp, org-any-link-re): Creation of
3244 these regular expressions happens now in the function
3245 `org-make-link-regexps'.
3246 (org-store-link): Call the functions in
3247 `org-store-link-functions'.
3248 (org-add-link-type): New function.
3249 (org-store-link-functions): New variable.
3250 (org-activate-tags): Force matches to be in headlines.
3251 (org-batch-store-agenda-views): Fix bug with killing agenda buffer.
3252 (org-columns-display-here): Make sure this works in a narrowed
3253 buffer by checking for point-min.
3254 (org-columns-display-here): Make the rest of the line intangible,
3255 so that point never can be there.
3256 (org-cleaned-string-for-export): Use `with-current-buffer'.
3257 (org-replace-region-by-html): Use `with-current-buffer'.
3258 (org-unfontify-region, org-do-occur, org-columns-display-here)
3259 (org-columns-remove-overlays, org-columns-quit)
3260 (org-columns-edit-value, org-columns-next-allowed-value)
3261 (org-eval-in-calendar, org-agenda-undo, org-no-read-only)
3262 (org-finalize-agenda, org-remove-subtree-entries-from-agenda)
3263 (org-agenda-todo, org-agenda-change-all-lines)
3264 (org-agenda-align-tags, org-agenda-priority)
3265 (org-agenda-set-tags, org-agenda-toggle-archive-tag)
3266 (org-agenda-show-new-time, org-cleaned-string-for-export)
3267 (org-export-grab-title-from-buffer)
3268 (org-export-as-ascii, org-export-as-html): Use `inhibit-read-only'
3269 instead of `buffer-read-only'.
3270 (org-export-as-html): Set `coding-system-for-write'.
3271 (org-remember-store-without-prompt): New option.
3272 (org-archive-subtree): Fixed bug with modifying TODO keyword.
3273 (org-beginning-of-line): Also treat C-a special in items.
3274 (org-table-convert-refs-to-rc): Fixed problem with column
3275 reference after "..".
3276 (org-columns-compute): Don't mark buffer modified because of text
3278 (org-batch-store-agenda-views): Use the variable
3279 `default-directory', not the function.
3280 (org-clock-out-if-current): Respect `org-clock-out-when-done'.
3281 (org-clock-out-when-done): New option.
3282 (org-html-entities): Added HTML entities for smileys.
3284 2007-08-22 Glenn Morris <rgm@gnu.org>
3286 * image.el (create-image): Doc fix.
3288 * startup.el (tutorial-directory): New constant.
3289 (fancy-splash-text): Tutorials now in tutorial-directory.
3290 * tutorial.el (help-with-tutorial): Tutorials now in
3293 2007-08-22 Michael Albinus <michael.albinus@gmx.de>
3295 * net/tramp.el (top): Require cl.el, when `copy-tree' is not available
3297 (tramp-get-remote-path): New defun. Replace occurrences of
3298 `tramp-default-remote-path' by this function.
3299 (tramp-set-remote-path): Move most of the code to
3300 `tramp-get-remote-path'.
3301 (tramp-get-ls-command, tramp-get-remote-id): Don't check for not
3302 existing directories, this is done already in
3303 `tramp-get-remote-path'.
3305 2007-08-22 Paul Pogonyshev <pogonyshev@gmx.net>
3307 * image-file.el (image-file-name-extensions): Add "svg".
3308 * image.el (image-type-header-regexps): Add svg entry.
3310 2007-08-22 Glenn Morris <rgm@gnu.org>
3312 * files.el (backup-buffer-copy): Check backup directory is
3313 writable, to avoid infloop deleting old backup.
3315 * mail/rmail.el (rmail-movemail-variant-p): Call on load to set
3316 movemail related variables.
3317 (rmail-insert-inbox-text): Use only rmail-movemail-program, which
3318 will now be set before this is called.
3320 2007-08-21 Juri Linkov <juri@jurta.org>
3322 * delsel.el (delete-selection-pre-hook):
3323 * emulation/cua-base.el (cua-paste): Use `mouse-region-match'
3324 instead of checking last-command.
3326 2007-08-21 Juri Linkov <juri@jurta.org>
3328 * loadup.el: Preload "button".
3330 2007-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3332 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3333 Add previous-line and next-line.
3335 * vc-arch.el (vc-arch-extra-menu-map): New var and fun.
3336 (vc-arch-find-file-not-found-hook): Remove, it's now the default.
3338 * vc-hooks.el (vc-menu-entry): New var.
3339 (vc-mode-line-map): Use it so that this menu also uses the extra-menu.
3340 (menu-bar-tools-menu): Add the VC menu here rather than in menu-bar.el.
3341 (vc-menu-map): Declare and initialize in one step.
3342 (vc-menu-map-filter): Move&rename from menu-bar.el:menu-bar-vc-filter.
3344 * menu-bar.el (vc-menu-map): Don't setup any more.
3345 Instead, just create the proper spot in the menu.
3347 2007-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3349 * smerge-mode.el (smerge-resolve): New arg `safe'.
3350 (smerge-resolve-all, smerge-batch-resolve): New function.
3351 (smerge-refine): Make sure `diff' returns the expected result.
3352 (smerge-parsep-re): New const.
3353 (smerge-mode): Use it to adjust paragraph-separate.
3355 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
3356 Correctly match / regexp matchers as first char on a line when
3357 fontifying only that line.
3359 * emacs-lisp/cl-macs.el (cl-transform-lambda): Preserve the match-data.
3361 2007-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3363 * vc-bzr.el: Don't fiddle with vc-handled-backend.
3364 (vc-bzr-registered): Don't redundantly protect against
3365 file-error. Actually use the format-specific code.
3366 (vc-bzr-buffer-nonblank-p): Remove.
3367 (vc-bzr-status): Change `kindchange' -> `kindchanged'.
3369 2007-08-20 Juri Linkov <juri@jurta.org>
3371 * startup.el (fancy-splash-text): Change multiple tabs into one
3372 tab. Remove "Useful File menu items" section (with "Exit Emacs"
3373 and "Recover Crashed Session").
3374 (fancy-splash-screens): Set tab-width to 22.
3375 (normal-splash-screen): Replace literal tabs with \t and
3376 fix whitespace. Remove "Useful File menu items" section (with
3377 "Exit Emacs" and "Recover Crashed Session").
3379 2007-08-20 Johannes Weiner <hannes@saeurebad.de> (tiny change)
3381 * emacs-lisp/lisp-mode.el (preceding-sexp): New fun, the code was
3382 extracted from `eval-last-sexp-1'.
3383 (eval-last-sexp-1): Call `preceding-sexp'.
3385 2007-08-20 Thien-Thi Nguyen <ttn@gnuvola.org>
3387 * vc-rcs.el (vc-rcs-annotate-command):
3388 Fix bug introduced 2007-07-18T16:32:40Z!esr@snark.thyrsus.com:
3389 Add back :vc-annotate-prefix propertization.
3391 2007-08-20 Andreas Schwab <schwab@suse.de>
3393 * mail/rmail.el (rmail-autodetect): Doc fix.
3395 2007-08-19 Juri Linkov <juri@jurta.org>
3397 * startup.el (normal-splash-screen): Add more links.
3399 2007-08-19 Juri Linkov <juri@jurta.org>
3401 * startup.el (splash-screen-keymap): Rename from `fancy-splash-keymap'
3402 because it's common to both types of splash screen: fancy and normal.
3403 Bind SPC to scroll-up, DEL to scroll-down and `q' to exit-splash-screen.
3404 (exit-splash-screen): Rename from `fancy-splash-quit'.
3405 Use `quit-window' instead of `kill-buffer'.
3406 (fancy-splash-head): Use make-button to insert GNU image link.
3407 (fancy-splash-screens, normal-splash-screen): Rename " About GNU
3408 Emacs" to "*About GNU Emacs*", and " GNU Emacs" to "*GNU Emacs*".
3409 (normal-splash-screen): Put "Browse manuals" on the same line with
3410 "Emacs manual". Remove descriptions from "Useful tasks" and put
3411 all links in two columns on two lines.
3413 2007-08-19 Michael Kifer <kifer@cs.stonybrook.edu>
3415 * viper.el (viper-remove-hooks): Remove some additional viper hooks
3416 when the user calls viper-go-away.
3417 (viper-go-away): Restore the default of default-major-mode.
3418 Save the value of default-major-mode before vaperization.
3420 * viper-cmd.el: Replace error "" with "Viper bell".
3422 * viper-ex.el: Replace error "" with "Viper bell".
3424 * ediff-util.el (ediff-make-temp-file): Use the coding system of the
3425 buffer for which file is created.
3427 2007-08-19 Glenn Morris <rgm@gnu.org>
3429 * Makefile.in (custom-deps, finder-data, autoloads, recompile)
3430 (progmodes/cc-mode.elc, mh-e/mh-loaddefs.el): Use $(emacs) rather
3431 than $(EMACS), so that EMACSLOADPATH is set. Prevents any system
3432 shadow files messing up the compilation.
3434 2007-08-18 Glenn Morris <rgm@gnu.org>
3436 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): Add doc
3437 string. Also apply eldoc-argument-case in the help-split-fundoc
3438 case. Adapt for changed behavior of eldoc-function-argstring,
3439 eldoc-function-argstring-format, and
3440 eldoc-highlight-function-argument.
3441 (eldoc-highlight-function-argument): Handle nil INDEX argument,
3442 just call eldoc-docstring-format-sym-doc in that case.
3443 (eldoc-function-argstring): Change the behavior. Now it converts
3444 an argument list to a string.
3445 (eldoc-function-argstring-format): Change the behavior. Now it
3446 applies `eldoc-argument-case' to a string.
3448 * progmodes/scheme.el (scheme-mode-variables): Set
3449 font-lock-comment-start-skip.
3451 2007-08-18 Martin Rudalics <rudalics@gmx.at>
3453 * progmodes/ada-mode.el (ada-create-syntax-table): Move
3454 set-syntax-table from here to ...
3455 (ada-mode): ... here. Do not change global value of
3456 comment-multi-line. Call new function
3457 ada-initialize-syntax-table-properties and add new function
3458 ada-handle-syntax-table-properties to font-lock-mode-hook.
3459 (ada-deactivate-properties, ada-initialize-properties): Replace
3460 by new functions ...
3461 (ada-handle-syntax-table-properties)
3462 (ada-initialize-syntax-table-properties)
3463 (ada-set-syntax-table-properties): ... to set up syntax-table
3464 properties uniformly, independently from whether font-lock-mode
3465 is enabled or not. Handle read-only buffers and do not change
3466 undo-list when setting syntax-table properties.
3467 (ada-after-change-function): Use ada-set-syntax-table-properties.
3469 2007-08-18 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
3471 * progmodes/meta-mode.el (meta-indent-calculate-last): Remove.
3472 (meta-indent-current-nesting): Use a computation of the nesting
3474 (meta-indent-current-indentation): Indentation is given according
3475 to nesting and if the previous line was finished or not.
3476 (meta-indent-unfinished-line): Tell if the current line ends with
3477 a finished expression.
3478 (meta-indent-looking-at-code): Like `looking-at', but checks if
3479 the point is in a string before.
3480 (meta-indent-level-count): Use it. Don't count parenthesis as it's
3481 done in the nesting function.
3482 (meta-indent-in-string-p): Tell if the current point is in a
3484 (meta-indent-calculate): Treat b-o-b as a special case. Use the
3487 2007-08-17 Thien-Thi Nguyen <ttn@gnuvola.org>
3489 * emacs-lisp/copyright.el (copyright-limit): New defsubst.
3490 (copyright-update-year, copyright-update)
3491 (copyright-fix-years): Use it.
3493 2007-08-17 Kimit Yada <kimitto@gmail.com> (tiny change)
3495 * emacs-lisp/copyright.el (copyright-update-year):
3496 Fix bug: Handle nil copyright-limit.
3498 2007-08-17 Jay Belanger <jay.p.belanger@gmail.com>
3500 * calc/calc-units.el (math-standard-units): Give exact
3503 * calc/calc.el (math-bignum-digit-length): Compute the
3506 * calc/calc-bin.el (math-bignum-logb-digit-size)
3507 (math-bignum-digit-power-of-two):
3508 * calc/calc-comb.el (math-small-factorial-table):
3509 * calc/calc-ext.el (math-approx-pi, math-approx-sqrt-e)
3510 (math-approx-gamma-const):
3511 * calc/calc-funcs.el (math-besJ0, math-besJ1, math-besY0)
3512 (math-besY1, math-bernoulli-b-cache):
3513 * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
3514 Remove `eval-when-compile's.
3516 2007-08-17 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
3518 * progmode/cperl-mode.el (cperl-look-at-leading-count)
3519 (cperl-find-pods-heres): Fix an error when typing expressions like
3522 2007-08-17 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
3524 * mail/emacsbug.el (report-emacs-bug): Remove the last number of
3525 `emacs-version', use the topic prefix ``version; ''. Make MS-DOS
3526 a special case (there's no build number).
3528 2007-08-17 T. V. Raman <raman@users.sf.net> (tiny change)
3530 * completion.el (symbol-under-point, symbol-before-point)
3531 (symbol-before-point-for-complete): Use buffer-substring-no-properties.
3533 2007-08-17 Glenn Morris <rgm@gnu.org>
3535 * progmodes/compile.el (compilation-get-file-structure): Make use
3536 of the directory part when checking for an existing entry, to
3537 handle files with same basename in different directories.
3539 2007-08-17 Jay Belanger <jay.p.belanger@gmail.com>
3541 * calc/calc.el (calc-language-alist): Add texinfo-mode.
3543 2007-08-16 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3545 * ps-print.el (ps-header-font-size, ps-header-title-font-size)
3546 (ps-footer-font-size, ps-line-number-font-size, ps-line-spacing)
3547 (ps-paragraph-spacing): Docstring fix.
3549 2007-08-16 Glenn Morris <rgm@gnu.org>
3551 * ps-print.el (ps-font-size): Doc fix.
3553 2007-08-16 Richard Stallman <rms@gnu.org>
3555 * emacs-lisp/copyright.el (copyright-names-regexp): Add custom group.
3557 2007-08-15 Juri Linkov <juri@jurta.org>
3559 * startup.el (initialization): Change parent group from `internal'
3561 (initial-buffer-choice): New variable.
3562 (command-line): Revert 2007-07-02 change that sets
3563 buffer-offer-save in *scratch* and enables auto-save in it.
3564 (fancy-splash-text): Add links to existing items. Add new items
3565 with links for useful tasks. Move information about Control-g to
3566 fancy-splash-head. Move "Emacs Guided Tour" to the end.
3567 (fancy-splash-keymap): New variable.
3568 (fancy-splash-last-input-event): Remove variable.
3569 (fancy-splash-insert): Add processing of `:link' element.
3570 (fancy-splash-head): Replace "Type Control-l to begin editing"
3571 with "Type `q' to exit".
3572 (fancy-splash-screens-1): Let-bind inhibit-read-only to t.
3573 (fancy-splash-default-action, fancy-splash-special-event-action):
3575 (fancy-splash-quit): New function.
3576 (fancy-splash-screens): Rename input arg from `hide-on-input' to
3577 `static' and reverse the condition of its usage. Don't preserve
3578 original values of `minor-mode-map-alist',
3579 `emulation-mode-map-alists', `special-event-map'.
3580 Rename startup-buffer from "*About GNU Emacs*" to " GNU Emacs".
3581 Rename about-buffer from " GNU Emacs" to " About GNU Emacs".
3582 Remove processing of special events. Use local key map
3583 `fancy-splash-keymap'. Set buffer to read-only.
3584 (normal-splash-screen): Rename input arg from `hide-on-input' to
3585 `static' and reverse the condition of its usage.
3586 Rename startup-buffer from "*About GNU Emacs*" to " GNU Emacs".
3587 Rename about-buffer from " GNU Emacs" to " About GNU Emacs".
3588 Add links to existing items. Add new items with links for useful
3589 tasks. Use local key map `fancy-splash-keymap'.
3590 (display-splash-screen): Rename input arg from `hide-on-input' to
3592 (about-emacs): Add alias to display-splash-screen.
3593 (command-line-1): Use `initial-buffer-choice'.
3595 * menu-bar.el (menu-bar-help-menu):
3596 * term/mac-win.el (mac-apple-event-map): Bind About Emacs menu
3597 item to about-emacs instead of display-splash-screen.
3599 2007-08-15 Jay Belanger <jay.p.belanger@gmail.com>
3601 * calc/calc-units.el (math-standard-units): Update values.
3602 Put in exact, rational values when possible.
3603 (math-unit-prefixes): Replace floats with powers of ten.
3604 (math-standard-units-systems): Replace floats with integers.
3605 (math-make-unit-string): Remove extra spaces in output.
3607 2007-08-15 Glenn Morris <rgm@gnu.org>
3609 * mail/undigest.el (rmail-digest-parse-rfc1153sloppy): Be even
3610 sloppier, for the sake of GNU Mailman.
3611 (rmail-digest-rfc1153): Initialize `result' correctly.
3613 2007-08-15 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
3615 * mail/emacsbug.el (report-emacs-bug): Put `Bug: emacs-version; '
3616 in the mail title. Suggested by Reiner Steib.
3618 2007-08-14 Chris Hecker <checker@d6.com> (tiny change)
3620 * calc/calc-aent.el (calc-do-quick-calc): Add binary
3621 representation of integers to the list of outputs.
3623 2007-08-14 Glenn Morris <rgm@gnu.org>
3625 * simple.el (bad-packages-alist): New constant.
3626 (bad-package-check): New function. Together, these two add elements
3627 to `after-load-alist' to check for problematic external packages.
3628 * emulation/cua-base.el: Move CUA-mode check to `bad-packages-alist'.
3630 2007-08-14 Jay Belanger <jay.p.belanger@gmail.com>
3632 * calc/calc-units.el (math-get-standard-units)
3633 (math-get-units, math-make-unit-string)
3634 (math-get-default-units, math-put-default-units): New functions.
3635 (math-default-units-table): New variable.
3636 (calc-convert-units, calc-convert-temperature): Add machinery
3637 to supply default values.
3639 2007-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3641 * emulation/tpu-edt.el: Add tpu-extras's autoloads.
3642 (tpu-gold-map, tpu-global-map): Comment-out the bindings to nil.
3643 (tpu-gold-map): Bind F to tpu-cursor-free-mode.
3644 (minibuffer-local-map): Use funkey symbols rather than esc-sequence.
3646 * emulation/tpu-extras.el: Remove spurious * in docstrings.
3647 Put its autoloads into tpu-edt.el rather than loaddefs.el.
3648 (tpu-cursor-free-mode): Rename from tpu-cursor-free.
3649 Make into a proper minor-mode.
3650 (tpu-backward-char, tpu-next-line, tpu-previous-line)
3651 (tpu-next-end-of-line, tpu-current-end-of-line): Use new name.
3652 (tpu-trim-line-ends-if-needed): Rename from tpu-before-save-hook.
3653 (tpu-set-cursor-free, tpu-set-cursor-bound):
3654 Delegate to tpu-cursor-free-mode.
3655 (tpu-next-line, tpu-previous-line, tpu-forward-line)
3656 (tpu-backward-line, tpu-scroll-window-down, tpu-scroll-window-up):
3657 Use line-move or forward-line instead of next-line-internal.
3659 2007-08-13 Nick Roberts <nickrob@snap.net.nz>
3661 * progmodes/gdb-ui.el (gdb-send): Handle CTRL-D more carefully.
3663 2007-08-12 Richard Stallman <rms@gnu.org>
3665 * pcvs.el (cvs-reread-cvsrc, cvs-checkout, cvs-mode-checkout)
3666 (cvs-execute-single-file): Use new name split-string-and-unquote.
3667 (cvs-header-msg): Use new name combine-and-quote-strings.
3669 * emulation/vi.el (vi-next-line): Ignore return value of line-move.
3671 * progmodes/gud.el (gud-common-init): Use new name
3672 split-string-and-unquote.
3674 * progmodes/flymake.el (flymake-err-line-patterns): Fix infloop
3677 * pcvs-util.el (cvs-qtypedesc-strings): Use new names
3678 combine-and-quote-strings and split-string-and-unquote.
3680 * subr.el (combine-and-quote-strings): Rename from strings->string.
3681 (split-string-and-unquote): Rename from string->strings.
3683 2007-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3685 * log-view.el (log-view-font-lock-keywords): Use `eval' so as to adapt
3686 to buffer-local settings.
3688 * emacs-lisp/backquote.el (backquote-delay-process): New function.
3689 (backquote-process): Add internal arg `level'. Use the two to
3690 correctly handle nested backquotes.
3692 2007-08-09 Riccardo Murri <riccardo.murri@gmail.com>
3694 * vc-bzr.el (vc-bzr-registered): Use \0 instead of literal NULs.
3695 (vc-bzr-state-words): Add "kind changed" state word.
3696 (vc-bzr-status): New function. Return Bzr idea of file status,
3697 which is different from VC's.
3698 (vc-bzr-state): Use vc-bzr-status.
3699 (vc-workfile-unchanged-p): Use vc-bzr-status.
3700 (vc-bzr-revert): Use synchronous process; expect exitcode 0.
3701 (vc-dired-state): Process "kind changed" state word.
3703 2007-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3705 * vc-hooks.el (vc-default-find-file-not-found-hook): Do nothing.
3707 * vc-rcs.el (vc-rcs-find-file-not-found-hook):
3708 Move from vc-default-find-file-not-found-hook.
3710 2007-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3712 * man.el: Remove spurious * in docstrings.
3713 Merge defvars and toplevel setq-defaults.
3714 (Man-highlight-references0): Limit=nil rather than point-max.
3715 (Man-mode-map): Move initialization into the declaration.
3716 (Man-strip-page-headers, Man-unindent): Use dolist & inhibit-read-only.
3717 (Man-view-header-file): Use expand-file-name rather than concat.
3718 (Man-notify-when-ready, Man-bgproc-sentinel): Use with-current-buffer.
3720 * man.el (Man-next-section): Make sure we do not move backward.
3722 2007-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3724 * files.el (auto-mode-alist): Use the purecopied text (duh!).
3726 2007-08-08 Glenn Morris <rgm@gnu.org>
3728 * Replace `iff' in doc-strings and comments.
3730 2007-08-08 Martin Rudalics <rudalics@gmx.at>
3732 * dired.el (dired-pop-to-buffer):
3733 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3734 * calendar/calendar.el (generate-calendar-window):
3735 * progmodes/compile.el (compilation-set-window-height):
3736 * textmodes/two-column.el (2C-two-columns, 2C-merge):
3737 Use window-full-width-p instead of comparing frame-width and
3740 * progmodes/compile.el (compilation-find-buffer): Remove extra
3741 argument in call to compilation-buffer-internal-p.
3743 2007-08-07 Tom Tromey <tromey@redhat.com>
3745 * progmodes/tcl.el (tcl-indent-level, tcl-continued-indent-level):
3746 Add safe-local-variable property.
3748 2007-08-07 Chong Yidong <cyd@stupidchicken.com>
3750 * image-mode.el (image-toggle-display): Use image-refresh.
3752 2007-08-07 Riccardo Murri <riccardo.murri@gmail.com>
3754 * vc-bzr.el: Remove comments about vc-bzr.el being a modified
3756 (vc-bzr-command): Remove redundant setting of process-connection-type.
3757 (vc-bzr-admin-checkout-format-file): Add autoload.
3758 (vc-bzr-root-dir): Remove in favor of vc-bzr-root.
3759 (vc-bzr-root): Switch to implementation of vc-bzr-root-dir.
3760 (vc-bzr-registered): Compare dirstate format tag with known good
3761 value, abort parsing if match fails. Warn user in docstring.
3762 (vc-bzr-workfile-version): Case for different Bzr branch formats.
3763 See bzrlib/branch.py in Bzr sources.
3764 (vc-bzr-diff): First argument FILES may be a string rather than a list.
3765 (vc-bzr-shell-command): Remove in favor of
3766 vc-bzr-command-discarding-stderr.
3767 (vc-bzr-command-discarding-stderr): New function.
3769 2007-08-06 Riccardo Murri <riccardo.murri@gmail.com>
3771 * vc-bzr.el (vc-bzr-registered): Gracefully handle missing "bzr"
3772 program, and return nil.
3773 (vc-bzr-state): Gracefully handle missing "bzr" program, and return nil.
3774 (vc-bzr-state): Look for path names relative to the repository
3775 root after status keyword.
3776 (vc-bzr-file-name-relative): New function.
3777 (vc-bzr-admin-dirname): Reinstate, as other vc-bzr-admin-... paths
3779 (vc-bzr-admin-dirname, ...-checkout-format-file)
3780 (...-branch-format-file, ...-revhistory): Paths to some Bzr internal
3781 files that we now parse directly for speed.
3782 (vc-bzr-root-dir): Use `vc-bzr-admin-checkout-format-file' as witness.
3783 (vc-bzr-registered): Only parse vc-bzr-admin-dirstate file if it exists.
3784 (vc-bzr-state): "bzr status" successful only if exitcode is 0.
3785 (vc-bzr-root): Use `vc-bzr-shell-command'. Stderr may contain
3786 Bzr warnings, so we must discard it.
3787 (vc-bzr-workfile-version): Speedup counting lines from
3788 `vc-bzr-admin-revhistory' file, but fallback to spawning "bzr revno"
3789 if that file doesn't exist.
3790 (vc-bzr-responsible-p): Use `vc-bzr-root' instead of
3791 `vc-bzr-root-dir' for speed. Add `vc-bzr-admin-dirname' (not ".bzr"!)
3792 to `vc-directory-exclusion-list'.
3793 (vc-bzr-shell-command): New function.
3795 2007-08-06 Tom Tromey <tromey@redhat.com>
3797 * diff-mode.el (diff-unified->context, diff-reverse-direction)
3798 (diff-fixup-modifs): Typo in docstring.
3800 2007-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3802 * emulation/tpu-edt.el (tpu-current-line): Use posn-at-point and
3804 (tpu-edt-off): Disable relevant pieces of advice.
3806 * emulation/tpu-extras.el (tpu-before-save-hook): Rename from
3807 tpu-write-file-hook. Activate it with add-hook on buffer-save-hook.
3808 (newline, newline-and-indent, do-auto-fill): Use advice instead of
3809 redefining the function.
3810 (tpu-set-scroll-margins): Activate the pieces of advice.
3812 2007-08-06 Martin Rudalics <rudalics@gmx.at>
3814 * help.el (resize-temp-buffer-window): Use window-full-width-p
3815 instead of comparing frame-width and window-width.
3817 2007-08-13 Stephen Leake <stephen_leake@stephe-leake.org>
3819 * pcvs-parse.el (cvs-parse-table): Handle additional instance of
3820 optional quotes around files in NEED-UPDATE . REMOVED case.
3822 * progmodes/ada-xref.el (ada-gnatls-args): Fix docstring.
3823 (ada-treat-cmd-string): Improve error message.
3824 (ada-do-file-completion): Call `ada-require-project-file', so
3825 project variables are set properly.
3826 (ada-prj-find-prj-file): Delete Emacs 20.2 support.
3827 (ada-gnatfind-buffer-name): New constant.
3828 (ada-find-any-references): Use new constant. Set buffer name
3829 properly in compilation-start. Toggle read-only properly.
3830 (ada-find-in-src-path): Fix spelling error in docstring.
3832 * progmodes/vhdl-mode.el (vhdl-update-progress-info): Avoid divide
3835 2007-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3837 * emacs-lisp/autoload.el (autoload-print-form): Use print-quoted.
3839 2007-08-12 Richard Stallman <rms@gnu.org>
3841 * progmodes/sh-script.el (sh): Delete group `unix'.
3843 * progmodes/gud.el (gud): Change to group `processes'.
3845 2007-08-11 Glenn Morris <rgm@gnu.org>
3847 * progmodes/compile.el (compilation-buffer-name): Don't check
3848 compilation-arguments. It is superfluous, and the variable isn't
3849 even set when this function is called.
3851 2007-08-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3853 * term/mac-win.el (mac-ae-reopen-application): New function.
3854 (mac-apple-event-map): Bind "reopen application" Apple event to it.
3856 2007-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3858 * textmodes/tex-mode.el (tex-font-lock-unfontify-region): Fix to
3859 take tex-font-script-display into account.
3860 (tex-font-script-display, tex-font-lock-suscript): Change from a cons
3861 cell to a list of 2 elements to simplify the unfontify code.
3863 2007-08-08 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3865 * ps-print.el (ps-default-fg, ps-default-bg): Docstring fix.
3866 (ps-begin-job): Use ps-default-fg and ps-default-bg only when
3867 ps-print-color-p is neither nil nor black-white. Reported by Christian
3868 Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
3870 2007-08-08 Andreas Schwab <schwab@suse.de>
3872 * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook): Check for
3873 self-insert-command, not self-insert.
3875 2007-08-08 Glenn Morris <rgm@gnu.org>
3877 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): Make second
3878 argument optional, for backwards compatibility, and only highlight
3879 args when present. Fix symbol name typo (doc/args).
3881 * help-mode.el (help-make-xrefs): Search for symbol constituents,
3882 rather than just `-'.
3884 2007-08-07 Jay Belanger <jay.p.belanger@gmail.com>
3886 * calc/calc-units.el (calc-convert-temperature):
3887 Use `/' to create fractions.
3889 2007-08-07 Michael Albinus <michael.albinus@gmx.de>
3891 * net/tramp.el (tramp-wrong-passwd-regexp): Make the regexp more
3893 (tramp-handle-shell-command): Handle OUTPUT-BUFFER and
3894 ERROR-BUFFER more robust. Display output.
3895 (tramp-file-name-handler): Add a connection property when we found
3896 a foreign file name handler. This allows backends like ftp to
3897 profit also from usr/host name completion based on connection
3899 (tramp-send-command-and-read): Search for trash after the regexp
3900 until eol only. In XEmacs, there is a problem with \n.
3902 * net/tramp-cache.el (top): Read persistent connection history
3903 when cache is empty.
3905 2007-08-07 Nic Ferrier <nferrier@tapsellferrier.co.uk> (tiny change)
3907 * net/tramp.el (tramp-handle-process-file): Fix bug inserting
3910 2007-08-07 Sam Steingold <sds@gnu.org>
3912 * progmodes/compile.el (compilation-start): Pass nil as startfile
3915 2007-08-07 Chong Yidong <cyd@stupidchicken.com>
3917 * longlines.el (longlines-decoded): New variable.
3918 (longlines-mode): Avoid encoding or decoding the buffer twice.
3920 2007-08-07 Martin Rudalics <rudalics@gmx.at>
3922 * format.el (format-insert-file): Make sure that at most one undo
3923 entry is recorded for the insertion. Inhibit point-motion and
3924 modification hooks around call to insert-file-contents.
3926 2007-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3928 * vc.el (vc-annotate): Select temp-buffer before running vc-exec-after.
3929 Select the buffer's window before moving point.
3931 2007-08-07 Richard Stallman <rms@gnu.org>
3933 * term.el (term): Remove parent group `unix'.
3935 * simple.el (default-indent-new-line): New function.
3936 It calls comment-line-break-function if there are comments.
3937 (do-auto-fill): Use that.
3939 2007-08-07 Sean O'Rourke <sorourke@cs.ucsd.edu>
3941 * complete.el (PC-lisp-complete-symbol): Complete symbol around point.
3942 (PC-do-completion): Add "acronym completion" for symbols and
3943 filenames, so e.g. "mvbl" expands to "make-variable-buffer-local".
3945 2007-08-06 Sam Steingold <sds@gnu.org>
3947 * mouse.el (mouse-buffer-menu): Pass mode-name through
3948 format-mode-line because it may be a list,
3949 e.g., (sgml-xml-mode "XML" "SGML"), and not a string.
3951 2007-08-06 Vinicius Jose Latorre <viniciusig@ig.com.br>
3953 * printing.el (pr-update-menus): Docstring fix.
3955 2007-08-06 Jason Rumney <jasonr@gnu.org>
3957 * menu-bar.el (menu-bar-vc-filter): Use vc-call-backend.
3959 * vc-hooks.el (vc-call): Add doc string.
3961 2007-08-06 Michael Albinus <michael.albinus@gmx.de>
3963 * net/ange-ftp.el (ange-ftp-hook-function): Catch also errors in
3966 2007-08-06 Kenichi Handa <handa@m17n.org>
3968 * international/quail.el: Wrap (require 'help-mode) by
3970 (quail-help-init): New function.
3971 (quail-help): Call quail-help-init.
3972 (quail-store-decode-map-key): Change it to a function.
3974 2007-08-05 Jason Rumney <jasonr@gnu.org>
3976 * vc.el (vc-rollback): Add norevert argument back.
3977 (vc-revert-buffer): Add back as obsolete alias.
3979 2007-08-05 Peter Povinec <ppovinec@yahoo.com> (tiny change)
3981 * term.el: Honor term-default-fg-color and term-default-bg-color
3982 settings when modifying term-current-face.
3983 (term-default-fg-color, term-default-bg-color): Initialize from
3984 default term-current-face.
3985 (term-mode, term-reset-terminal): Set term-current-face with
3986 term-default-fg-color and term-default-bg-color.
3987 (term-handle-colors-array): term-current-face has term-default-fg-color
3988 and term-default-bg-color after reset escape sequence.
3989 (term-handle-colors-array): Set term-current-color with
3990 term-default-fg/bg-color instead of ansi-term-color-vector when the
3991 index (term-ansi-current-color or term-ansi-current-bg-color) is zero.
3993 2007-08-05 Jay Belanger <jay.p.belanger@gmail.com>
3995 * calc/calc-nlfit.el (math-nlfit-curve): Remove unnecessary variables.
3996 (math-nlfit-givens): Let bind free variables.
3998 2007-08-05 Vinicius Jose Latorre <viniciusig@ig.com.br>
4000 * printing.el: Require lpr and ps-print when loading printing package.
4001 Reported by Glenn Morris <rgm@gnu.org>.
4003 2007-08-05 Michael Albinus <michael.albinus@gmx.de>
4005 * files.el (set-auto-mode): Handle also remote files wrt
4008 2007-08-04 Jay Belanger <jay.p.belanger@gmail.com>
4010 * calc/calcalg3.el (calc-curve-fit): Add support for nonlinear
4011 curves and plotting.
4013 * calc/calc-nlfit.el: New file.
4015 2007-08-04 Glenn Morris <rgm@gnu.org>
4017 * autorevert.el (auto-revert-tail-mode): auto-revert-tail-pos is
4018 zero, not nil, when the library is first loaded. Check for a file
4019 that has been modified on disk.
4021 * progmodes/cperl-mode.el (cperl-compilation-error-regexp-alist):
4022 Remove duplicate defvar preventing initialization.
4023 (cperl-mode): Fix compilation-error-regexp-alist-alist setting.
4025 2007-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4027 * diff-mode.el (diff-font-lock-keywords): Fix up false positives.
4028 (diff-beginning-of-file): Adjust to the fact that diff-file-header-re
4029 may match up to 4 lines.
4030 (diff-beginning-of-file-and-junk): Rewrite.
4032 2007-08-03 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4034 * printing.el: Evaluate require only during compilation.
4035 (pr-version): New version 6.9.1.
4036 (deactivate-mark): Replace (defvar VAR nil) by (defvar VAR).
4037 (pr-global-menubar): Fix code.
4039 2007-08-03 Dan Nicolaescu <dann@ics.uci.edu>
4041 * term.el (term-erase-in-display): Fix case when point is not at
4042 the beginning of the line.
4044 2007-08-03 Jay Belanger <jay.p.belanger@gmail.com>
4046 * calc/calc-ext.el (math-get-value, math-get-sdev)
4047 (math-contains-sdev): New functions.
4049 * calc/calc-graph.el (calc-graph-format-data)
4050 (calc-graph-add-curve): Check for error forms.
4051 (calc-graph-set-styles): Add option for error forms.
4053 2007-08-03 Miles Bader <miles@gnu.org>
4055 * vc-hooks.el (vc-handled-backends): Change capitalization of VC
4056 backend names for new backends to `Git', `Hg', and `Bzr'.
4057 * vc-hg.el (vc-hg-dired-state-info): Use `Hg' as VC backend name,
4059 * vc-git.el (vc-git-dired-state-info): Use `Git' as VC backend
4061 * vc-bzr.el (vc-bzr-dir-state, vc-bzr-dired-state-info)
4062 (vc-bzr-unload-hook): Use `Bzr' as VC backend name, not `BZR'.
4064 2007-08-03 Richard Stallman <rms@gnu.org>
4066 * mail/rmailsum.el (rmail-make-summary-line): Find end of msg number
4067 to update deleted flag.
4069 * cus-edit.el (customize-apropos, customize-apropos-options)
4070 (customize-apropos-faces, customize-apropos-groups): Improve prompt.
4072 * menu-bar.el (menu-bar-help-menu): Add "About GNU" menu item.
4074 * startup.el (fancy-splash-head, startup-echo-area-message):
4075 Change message text.
4077 * emulation/tpu-edt.el (next-line-internal): Setting deleted.
4078 All callers use line-move.
4080 * progmodes/compile.el (compilation-find-buffer): Return current
4081 buffer immediately if suitable.
4082 (compile, compilation-buffer-name, compilation-start): Doc fixes.
4084 2007-08-03 Daiki Ueno <ueno@unixuser.org>
4086 * faces.el (face-normalize-spec): New function.
4087 (frame-set-background-mode): Normalize face-spec before calling
4090 2007-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4092 * server.el (server-window): Add switch-to-buffer-other-frame option.
4094 2007-08-03 Glenn Morris <rgm@gnu.org>
4096 * cus-edit.el (customize-apropos): Make the error message indicate
4097 what kind of thing the user was trying to customize.
4099 * net/telnet.el (telnet-mode): Set comint-use-prompt-regexp to t.
4101 * progmodes/fortran.el (fortran-font-lock-syntactic-keywords):
4102 Fix off-by-one error in previous change.
4104 2007-08-03 Drew Adams <drew.adams@oracle.com>
4106 * emacs-lisp/pp.el (pp-eval-expression): Add progress message.
4107 Make buffer writable.
4109 2007-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4111 * calc/calc-math.el (math-sqrt-raw, math-sin-raw-2)
4112 (math-cos-raw-2, math-arctan-raw, math-ln-raw):
4113 Use native Emacs functions, when appropriate.
4115 2007-08-01 Dan Nicolaescu <dann@ics.uci.edu>
4116 Stefan Monnier <monnier@iro.umontreal.ca>
4118 * vc.el: Document new VC operation `extra-menu'.
4120 * vc-hooks.el (vc-default-extra-menu): New function.
4122 * menu-bar.el (menu-bar-vc-filter): New function.
4123 (menu-bar-tools-menu): Use it as a filter.
4125 2007-08-01 Eric Hanchrow <offby1@blarg.net> (tiny change)
4127 * ibuf-ext.el (ibuffer-mark-old-buffers): Docstring fix.
4129 2007-08-01 Glenn Morris <rgm@gnu.org>
4131 * progmodes/fortran.el: Remove leading `*' from all defcustom doc
4133 (fortran-tab-mode-default): Remove needless autoload.
4134 (fortran-tab-mode-string): Add help-echo and mouse properties, and
4136 (fortran-line-length): New buffer-local variable, safe if integer.
4137 (fortran-if-start-re, fortran-end-prog-re1, fortran-end-prog-re):
4138 Change from variables to constants.
4139 (fortran-font-lock-syntactic-keywords): Delete as a variable,
4140 replace with a new function definition.
4141 (fortran-mode): Use fortran-line-length, and
4142 fortran-font-lock-syntactic-keywords as a function. Add a
4143 hack-local-variables-hook function.
4144 (fortran-line-length, fortran-hack-local-variables): New functions.
4145 (fortran-window-create, fortran-strip-sequence-nos): Doc fix.
4146 Use fortran-line-length rather than 72.
4147 (fortran-window-create-momentarily): Doc fix.
4149 2007-07-31 Drew Adams <drew.adams@oracle.com> (tiny change)
4151 * cus-edit.el (custom-group-value-create, custom-goto-parent):
4152 Fix parent groups link.
4154 2007-07-31 Paul Pogonyshev <pogonyshev@gmx.net>
4156 * progmodes/python.el (python-current-defun): Adjust to never fall
4159 2007-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
4161 * pcvs.el (cvs-vc-command-advice): Handle the new fileset case.
4163 2007-07-29 Kimit Yada <kimitto@gmail.com> (tiny change)
4165 * emacs-lisp/copyright.el (copyright-update-year, copyright-update)
4166 (copyright-fix-years, copyright): Correctly handle the case where
4167 copyright-limit is nil.
4169 2007-07-28 Konstantin Novitsky <knovitsk@Bear.com> (tiny change)
4171 * progmodes/python.el (run-python): Fix path separator under w32.
4173 2007-07-30 Richard Stallman <rms@gnu.org>
4175 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4176 Treat non-break space as whitespace in Lisp.
4178 2007-07-30 Stefan Monnier <monnier@iro.umontreal.ca>
4180 * vc.el (vc-dired-hook): Use inhibit-read-only.
4182 * progmodes/compile.el (compilation-forget-errors):
4183 Reset compilation-auto-jump-to-next.
4185 2007-07-30 Michael Olson <mwolson@gnu.org>
4187 * cus-edit.el (custom-group-save): Fix void function definition
4188 error. Thanks to Zhang Wei for the report.
4190 * ps-print.el: Check in trivial changes to the autoloads section
4191 caused by the build process. These autoloads really ought to be
4192 placed in a separate file, methinks.
4194 2007-07-29 Stefan Monnier <monnier@iro.umontreal.ca>
4196 * calendar/calendar.el (calendar-mode): Make sure
4197 displayed-(month|year) are set.
4198 (calendar-basic-setup): Display buffer before adjusting window sizes.
4199 (generate-calendar-window): Use inhibit-read-only. Simplify.
4200 Generate buffer and set displayed-month and displayed-year before
4201 calling update-calendar-mode-line.
4203 2007-07-29 Michael Albinus <michael.albinus@gmx.de>
4207 * net/trampver.el: Use utf-8 encoding with coding cookie.
4209 * net/tramp-cache.el:
4210 * net/tramp-fish.el:
4213 * net/tramp-smb.el: Remove coding cookie.
4215 * net/tramp.el (tramp-handle-verify-visited-file-modtime):
4216 Flush buffer file-name's file property.
4217 (tramp-handle-file-remote-p): The first parameter is FILENAME.
4219 * net/trampver.el: Update release number.
4221 2007-07-29 Juri Linkov <juri@jurta.org>
4223 * dired.el (dired-mode-map): Bind C-x C-q to dired-toggle-read-only.
4224 Filter out menu item "Edit File Names" `wdired-change-to-wdired-mode'
4225 when major-mode is not dired-mode.
4226 (dired-toggle-read-only): New function.
4227 (dired-recursive-deletes): Remove obsolete comments about old
4229 (dired-do-flagged-delete, dired-do-delete): Refill docstring.
4231 * wdired.el (wdired-exit): New function.
4232 (wdired-mode-map): Bind C-x C-q to wdired-exit.
4234 2007-07-28 Stefan Monnier <monnier@iro.umontreal.ca>
4236 * cus-edit.el (customize-read-group): New fun.
4237 (customize-group-other-window, customize-face-other-window):
4238 Prompt before delegating to customize-(group|face).
4239 Bind pop-up-windows rather than use the other-window argument.
4240 (customize-group, customize-face): Prompt from the interactive spec.
4241 Remove args `prompt-for-group' and `other-window'.
4243 * emacs-lisp/advice.el (ad-interactive-form): Re-introduce.
4244 (ad-body-forms, ad-advised-interactive-form): Revert this part of
4247 2007-07-28 Masatake YAMATO <jet@gyve.org>
4249 * vc.el (vc-dired-mode): Add a menu for VC related operation.
4250 Use backend name as the menu label. Suggested by David Kastrup.
4252 2007-07-28 Alan Mackenzie <acm@muc.de>
4254 Fix problem with modes derived from CC Mode:
4255 * progmodes/cc-mode.el (c-make-emacs-variables-local): Move this
4257 (c-init-language-vars-for): Remove call to above macro.
4258 * progmodes/cc-langs.el (c-make-emacs-variables-local): Macro has
4260 (c-make-init-lang-vars-fun): Call c-make-emacs-variables-local.
4262 2007-07-28 Eli Zaretskii <eliz@gnu.org>
4264 * net/trampver.el: Fix the `coding' cookie.
4266 2007-07-28 Dan Nicolaescu <dann@ics.uci.edu>
4268 * vc-git.el (vc-git-print-log): Support both the old single file
4269 interface and the new one.
4271 2007-07-28 Nick Roberts <nickrob@snap.net.nz>
4273 * bindings.el (mode-line-remote): Use updated %@ construct.
4275 2007-07-27 Stefan Monnier <monnier@iro.umontreal.ca>
4277 * calendar/cal-bahai.el (calendar-bahai-month-name-array)
4278 (calendar-bahai-epoch, calendar-bahai-leap-year-p)
4279 (calendar-bahai-leap-base, calendar-bahai-prompt-for-date)
4280 (diary-list-bahai-entries, diary-bahai-mark-entries)
4281 (calendar-bahai-mark-date-pattern, diary-insert-bahai-entry)
4282 (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
4283 New names to clean up namespace.
4284 (list-bahai-diary-entries, mark-bahai-diary-entries)
4285 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
4286 (insert-yearly-bahai-diary-entry, mark-bahai-calendar-date-pattern):
4287 Add compatibility aliases.
4289 * calendar/appt.el: Don't wrap defvar within eval-when-compile.
4291 * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right)
4292 (calendar-scroll-left-three-months)
4293 (calendar-scroll-right-three-months): Clean up namespace.
4294 (scroll-calendar-left, scroll-calendar-right)
4295 (scroll-calendar-left-three-months)
4296 (scroll-calendar-right-three-months): Add compatibility aliases.
4298 * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
4299 Behave like mouse-scroll-calendar-* when used from the mouse.
4301 * calendar/cal-menu.el (cal-menu-scroll-menu)
4302 (cal-menu-global-mouse-menu):
4303 * calendar/calendar.el (calendar-mode-map):
4304 Use new calendar-scroll-* names.
4305 (mouse-scroll-calendar-left, mouse-scroll-calendar-right):
4306 Remove. Use calendar-scroll-* directly instead.
4308 2007-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4310 * emacs-lisp/advice.el (ad-interactive-p, ad-interactive-form): Remove.
4311 (ad-body-forms, ad-advised-interactive-form, ad-make-cache-id)
4312 (ad-make-advised-definition, ad-cache-id-verification-code):
4313 Use commandp and interactive-form instead.
4315 2007-07-26 Dan Nicolaescu <dann@ics.uci.edu>
4317 * vc-git.el: Relicense to GPLv3 or later.
4318 (vc-directory-exclusion-list, vc-handled-backends): Remove.
4320 * vc-hooks.el (vc-handled-backends): Add GIT.
4322 * vc.el (vc-directory-exclusion-list): Add .git.
4324 2007-07-26 Alexandre Julliard <julliard@winehq.org>
4326 * vc-git.el (vc-git-revision-table)
4327 (vc-git-revision-completion-table): New functions.
4329 2007-07-26 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4331 * progmodes/ebnf-abn.el (ebnf-abn-skip-comment):
4332 * progmodes/ebnf-bnf.el (ebnf-bnf-skip-comment):
4333 * progmodes/ebnf-dtd.el (ebnf-dtd-skip-comment):
4334 * progmodes/ebnf-ebx.el (ebnf-ebx-skip-comment):
4335 * progmodes/ebnf-iso.el (ebnf-iso-skip-comment):
4336 * progmodes/ebnf-yac.el (ebnf-yac-skip-comment): New version.
4337 New command actions for EPS header and EPS footer.
4339 * progmodes/ebnf2ps.el: New command actions for EPS header and EPS
4340 footer. Fix some problems with one-or-more, zero-or-more and
4341 alternative constructions generation. Some log messages
4342 implementation. Doc fix.
4343 (ebnf-version): New version 4.4.
4344 (ebnf-eps-header-font, ebnf-eps-header, ebnf-eps-footer-font)
4345 (ebnf-eps-footer, ebnf-log): New options.
4346 (ebnf-find-style, ebnf-eps-header-footer, ebnf-eps-header)
4347 (ebnf-eps-footer, ebnf-eps-string, ebnf-eps-header-footer-comment)
4348 (ebnf-eps-header-footer-p, ebnf-eps-header-comment)
4349 (ebnf-eps-footer-comment, ebnf-eps-header-footer-file)
4350 (ebnf-eps-header-footer-set, ebnf-log-header, ebnf-log): New funs.
4351 (ebnf-style-custom-list, ebnf-style-database): Put new values.
4352 (ebnf-print-directory, ebnf-print-file, ebnf-print-buffer)
4353 (ebnf-print-region, ebnf-spool-directory, ebnf-spool-file)
4354 (ebnf-spool-buffer, ebnf-spool-region, ebnf-eps-directory)
4355 (ebnf-eps-file, ebnf-eps-buffer, ebnf-eps-region)
4356 (ebnf-syntax-directory, ebnf-syntax-file, ebnf-syntax-buffer)
4357 (ebnf-syntax-region, ebnf-parse-and-sort, ebnf-begin-job)
4358 (ebnf-dimensions, ebnf-production-dimension, ebnf-terminal-dimension)
4359 (ebnf-non-terminal-dimension, ebnf-special-dimension)
4360 (ebnf-terminal-dimension1, ebnf-repeat-dimension)
4361 (ebnf-except-dimension, ebnf-alternative-dimension)
4362 (ebnf-optional-dimension, ebnf-one-or-more-dimension)
4363 (ebnf-zero-or-more-dimension, ebnf-sequence-dimension): Insert log
4365 (ebnf-setup, ebnf-generate-one-or-more, ebnf-generate-zero-or-more)
4366 (ebnf-begin-job, ebnf-begin-file, ebnf-eps-finish-and-write)
4367 (ebnf-insert-ebnf-prologue, ebnf-production-dimension)
4368 (ebnf-terminal-dimension1, ebnf-alternative-dimension)
4369 (ebnf-one-or-more-dimension, ebnf-zero-or-more-dimension)
4370 (ebnf-eps-add-context, ebnf-eps-add-production): Fix code.
4371 (ebnf-eps-filename, ebnf-trim-right): Replace `?\s' by `?\ ' to keep
4372 compatibility with Emacs 20 & 21.
4373 (ebnf-eps-header-comment, ebnf-eps-footer-comment)
4374 (ebnf-eps-file-alist, ebnf-basic-width-extra)
4375 (ebnf-basic-empty-height): New vars.
4376 (ebnf-prologue): Fix PostScript code.
4377 (ebnf-make-empty, ebnf-make-terminal1, ebnf-make-or-more1)
4378 (ebnf-make-production, ebnf-make-alternative, ebnf-make-optional)
4379 (ebnf-make-except, ebnf-make-repeat, ebnf-make-sequence)
4380 (ebnf-make-dup-sequence, ebnf-token-alternative): Add comments.
4382 2007-07-25 Glenn Morris <rgm@gnu.org>
4384 * Relicense all FSF files to GPLv3 or later.
4386 * COPYING: Switch to GPLv3.
4388 2007-07-25 Stefan Monnier <monnier@iro.umontreal.ca>
4390 * pcvs.el (cvs-temp-buffer): Undo last ill-conceived change.
4391 Replace it with another one which disables undo before calling
4392 erase-buffer and then turns it back on if needed.
4394 2007-07-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4396 * ps-print.el: Problem with foreground and background color when
4397 printing a buffer with and without faces. Reported by Christian
4398 Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
4399 (ps-print-version): New version 6.7.5.
4400 (ps-default-fg): Change default value to nil, so black color is used
4401 when a face does not specify a foreground color.
4402 (ps-default-bg): Change default value to nil, so white color is used
4403 for background color.
4404 (ps-begin-job): Fix code.
4406 2007-07-24 Dan Nicolaescu <dann@ics.uci.edu>
4408 * vc-hg.el (vc-hg-revision-completion-table): Temporarily comment out.
4410 2007-07-24 Glenn Morris <rgm@gnu.org>
4412 * calendar/cal-tex.el (cal-tex-holidays, cal-tex-diary)
4413 (cal-tex-rules, cal-tex-buffer, cal-tex-24)
4414 (cal-tex-cursor-month-landscape, cal-tex-cursor-month)
4415 (cal-tex-cursor-week, cal-tex-cursor-week2)
4416 (cal-tex-cursor-week-iso, cal-tex-week-hours)
4417 (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
4418 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4419 (cal-tex-cursor-filofax-daily, cal-tex-daily-page): Doc fix.
4421 2007-07-25 Stefan Monnier <monnier@iro.umontreal.ca>
4423 * calendar/calendar.el (calendar-mode-map): Move initialization
4424 into declaration. Add menu bindings (used to be done in cal-menu).
4425 (calendar-mode): Don't add an activate-menubar-hook.
4427 * calendar/cal-menu.el: Break dependency on calendar.el (i.e. do not
4428 modify calendar-mode-map), use easy-menu, and make sure that C-h k
4429 can be used on the menu entries.
4430 (cal-menu-holiday-window-suffix, cal-menu-set-date-title): New funs.
4431 (cal-menu-moon-menu, cal-menu-diary-menu, cal-menu-holidays-menu)
4432 (cal-menu-goto-menu, cal-menu-scroll-menu): New consts.
4433 (cal-menu-context-mouse-menu, cal-menu-global-mouse-menu): New menus.
4434 (calendar-flatten, cal-menu-update): Remove.
4435 (calendar-mouse-insert-hebrew-diary-entry)
4436 (calendar-mouse-insert-islamic-diary-entry)
4437 (calendar-mouse-insert-bahai-diary-entry):
4438 Remove (fold into cal-menu-diary-menu).
4439 (calendar-mouse-2-date-menu, calendar-mouse-cal-tex-menu)
4440 (cal-tex-mouse-filofax): Remove (fold into cal-menu-context-mouse-menu).
4441 (calendar-mouse-3-map): Remove (turn into cal-menu-global-mouse-menu).
4442 (calendar-mouse-view-diary-entries): Minor simplifications.
4443 (calendar-event-to-date): Use with-current-buffer.
4445 2007-07-25 Nick Roberts <nickrob@snap.net.nz>
4447 * add-log.el (change-log-redate): Remove (not needed anymore and
4448 doesn't appear to work).
4450 2007-07-25 Stefan Monnier <monnier@iro.umontreal.ca>
4452 * frame.el: Use mapc and dolist instead of mapcar where possible.
4453 (close-display-connection): New command.
4455 2007-07-25 Alexandre Julliard <julliard@winehq.org>
4457 * vc-git.el (vc-git-log-view-mode): Port to the multi-file vc interface.
4458 (vc-git-create-snapshot, vc-git-retrieve-snapshot): New functions.
4460 2007-07-25 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4462 * ps-print.el (ps-multibyte-buffer): Docstring fix.
4464 * ps-mule.el: Doc fix.
4465 (ps-multibyte-buffer, ps-mule-font-info-database-default)
4466 (ps-mule-external-libraries, ps-mule-begin-job): Docstring fix.
4468 2007-07-25 Glenn Morris <rgm@gnu.org>
4470 * calendar/cal-tex.el (cal-tex-which-days, cal-tex-holidays)
4471 (cal-tex-diary, cal-tex-daily-string, cal-tex-daily-start)
4472 (cal-tex-daily-end, cal-tex-hook)
4473 (cal-tex-cal-one-month, cal-tex-cal-multi-month)
4474 (cal-tex-year, cal-tex-cursor-week, cal-tex-cursor-week2)
4475 (cal-tex-cursor-week-iso, cal-tex-week-hours)
4476 (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
4477 (cal-tex-cursor-day, cal-tex-insert-preamble): Doc fix.
4478 (cal-tex-day-prefix, cal-tex-day-name-format)
4479 (cal-tex-cal-one-month, cal-tex-cal-multi-month, cal-tex-myday)
4480 (cal-tex-caldate, cal-tex-LaTeX-hourbox)
4481 (cal-tex-LaTeX-subst-list): Change from variables to constants.
4482 (cal-tex-preamble, cal-tex-arg, cal-tex-nl): Simplify with `format'.
4483 (cal-tex-cursor-filofax-year, cal-tex-weekly4-box): Use \textbf,
4484 etc, rather than \bf.
4485 (cal-tex-mini-calendar): Fix typos in previous change.
4486 (cal-tex-latexify-list): Remove inner let binding.
4487 (cal-tex-end-document, cal-tex-banner): Use multi-line
4489 (cal-tex-comment): Handle embedded newlines.
4490 (cal-tex-LaTeXify-string): Use substring-no-properties.
4492 2007-07-25 Joakim Verona <joakim@verona.se> (tiny change)
4494 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4495 Add support for the Maden build tool.
4497 2007-07-25 William Xu <william.xwl@gmail.com> (tiny change)
4499 * net/webjump.el (webjump-url-encode): Fix for non-ASCII characters.
4501 2007-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4503 * pcvs.el (cvs-temp-buffer): Disable undo in temp buffers.
4505 2007-07-24 Dan Nicolaescu <dann@ics.uci.edu>
4507 * dired.el (dired-mode-map): Bind wdired-change-to-wdired-mode to
4510 * vc-git.el (vc-git-print-log): Fix previous change.
4512 2007-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4514 * window.el (save-selected-window): Minor optimization.
4515 (bw-adjust-window): If operation failed, try with a smaller delta.
4516 (window-fixed-size-p): New function.
4517 (window-area-factor): New var.
4518 (balance-windows-area): New command.
4520 * ps-mule.el (ps-multibyte-buffer): Docstring fixes.
4521 (ps-mule-encode-ethiopic): Make it clear that it's always defined.
4522 (ps-mule-prepare-font-for-components, ps-mule-encode-header-string)
4523 (ps-mule-encode-bit, ps-mule-encode-ucs2): Use dotimes.
4524 (ps-mule-begin-job): Use dolist.
4526 2007-07-24 Michael Albinus <michael.albinus@gmx.de>
4528 * subr.el (start-file-process-shell-command)
4529 (process-file-shell-command): New defuns.
4531 * progmodes/compile.el (compilation-start):
4532 Apply `start-file-process-shell-command'.
4534 2007-07-24 Alexandre Julliard <julliard@winehq.org>
4536 * vc-git.el (vc-git-checkout, vc-directory-exclusion-list): Fix typos.
4538 2007-07-24 Alan Mackenzie <acm@muc.de>
4540 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4541 Initialise byte-compile-unresolved-functions before rather than
4542 after a compilation.
4543 (byte-compile-unresolved-functions): Amplify doc string.
4545 2007-07-24 Glenn Morris <rgm@gnu.org>
4547 * startup.el (normal-splash-screen): Use `emacs-copyright'.
4549 * calendar/cal-tex.el (cal-tex-holidays, cal-tex-diary)
4550 (cal-tex-rules, cal-tex-buffer, cal-tex-24)
4551 (cal-tex-cursor-month-landscape, cal-tex-cursor-month)
4552 (cal-tex-cursor-week, cal-tex-cursor-week2)
4553 (cal-tex-cursor-week-iso, cal-tex-week-hours)
4554 (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
4555 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4556 (cal-tex-cursor-filofax-daily, cal-tex-daily-page): Doc fix.
4558 * calendar/cal-tex.el: Remove leading `*' from defcustom docs.
4559 (cal-tex-daily-string, cal-tex-daily-start, cal-tex-daily-end)
4560 (cal-tex-day-name-format, cal-tex-cal-one-month)
4561 (cal-tex-cal-multi-month, cal-tex-myday, cal-tex-preamble)
4562 (cal-tex-comment, cal-tex-nl, cal-tex-cmd, cal-tex-e-parbox)
4563 (cal-tex-mini-calendar, cal-tex-em): Doc fix.
4564 (cal-tex-list-holidays, cal-tex-cursor-year)
4565 (cal-tex-cursor-year-landscape, cal-tex-year)
4566 (cal-tex-cursor-filofax-year, cal-tex-cursor-month-landscape)
4567 (cal-tex-cursor-month, cal-tex-insert-days)
4568 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
4569 (cal-tex-first-blank-p, cal-tex-cursor-week)
4570 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4571 (cal-tex-week-hours, cal-tex-cursor-week-monday)
4572 (cal-tex-weekly4-box, cal-tex-cursor-filofax-2week)
4573 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily)
4574 (cal-tex-cursor-day, cal-tex-daily-page, cal-tex-mini-calendar)
4575 (cal-tex-latexify-list, cal-tex-previous-month)
4576 (cal-tex-next-month, cal-tex-insert-preamble): General tidy-up and
4577 modernization, including using dotimes rather than
4579 (cal-tex-LaTeX-subst-list): Remove `@'.
4580 (cal-tex-em, cal-tex-bf, cal-tex-Huge-bf, cal-tex-large-bf):
4581 Use \textit and \textbf rather than \em and \it.
4583 * calendar/cal-bahai.el (list-bahai-diary-entries)
4584 * calendar/cal-hebrew.el (list-hebrew-diary-entries)
4585 * calendar/cal-islam.el (list-islamic-diary-entries)
4586 * calendar/calendar.el (generate-calendar, generate-calendar-month)
4587 * calendar/diary-lib.el (diary-list-entries)
4588 (mark-calendar-date-pattern): Use `dotimes' rather than
4589 `calendar-for-loop'.
4591 * calendar/calendar.el (calendar-for-loop): Doc fix.
4593 2007-07-23 Stefan Monnier <monnier@iro.umontreal.ca>
4595 * ses.el (ses-cleanup): Prevent Emacs from spuriously checking if the
4596 underlying file is uptodate.
4598 2007-07-23 Christopher J. Madsen <cjm@cjmweb.net>
4600 * replace.el (perform-replace): Use isearch-no-upper-case-p.
4602 2007-07-23 Stefan Monnier <monnier@iro.umontreal.ca>
4604 * vc-hooks.el (vc-mode-line-map): New const.
4605 (vc-mode-line): Use it.
4607 2007-07-23 Alexandre Julliard <julliard@winehq.org>
4609 * vc-git.el (vc-git-delete-file, vc-git-rename-file)
4610 (vc-git-unregister): New functions.
4611 (vc-git-find-version): Use the result of ls-files as a parameter
4614 2007-07-23 Michael Albinus <michael.albinus@gmx.de>
4616 * net/tramp.el (tramp-perl-file-attributes)
4617 (tramp-perl-directory-files-and-attributes)
4618 (tramp-handle-file-attributes-with-stat)
4619 (tramp-handle-directory-files-and-attributes-with-stat)
4620 (tramp-convert-file-attributes): Handle huge file sizes.
4622 2007-07-23 Juri Linkov <juri@jurta.org>
4624 * isearch.el (isearch-message-function): New variable.
4625 (isearch-update, isearch-search): Use it.
4627 * simple.el (goto-history-element): New function created from
4628 next-history-element.
4629 (next-history-element): Most code moved to goto-history-element.
4630 Call goto-history-element with (- minibuffer-history-position n).
4631 (previous-history-element): Call goto-history-element with (+
4632 minibuffer-history-position n).
4633 (minibuffer-setup-hook): Add minibuffer-history-isearch-setup.
4634 (minibuffer-history-isearch-message-overlay): New buffer-local variable.
4635 (minibuffer-history-isearch-setup, minibuffer-history-isearch-end)
4636 (minibuffer-history-isearch-search, minibuffer-history-isearch-message)
4637 (minibuffer-history-isearch-wrap, minibuffer-history-isearch-push-state)
4638 (minibuffer-history-isearch-pop-state): New functions.
4640 2007-07-23 Thien-Thi Nguyen <ttn@gnuvola.org>
4642 * vc-hooks.el (vc-stay-local-p): Fix bug: Avoid remove-if-not.
4643 Also, if FILE is a list, return non-nil if any of its elements
4644 should stay local. Update docstring.
4646 2007-07-23 Stefan Monnier <monnier@iro.umontreal.ca>
4648 * emacs-lisp/copyright.el (copyright-update-year): Fix 2007-05-25
4649 change by reverting a small part.
4651 2007-07-23 Richard Stallman <rms@gnu.org>
4653 * progmodes/octave-inf.el (inferior-octave-prompt): Accept .exe.
4655 2007-07-23 Dan Nicolaescu <dann@ics.uci.edu>
4657 * vc-git.el (vc-git-checkin): Delete unused parameter and the code
4658 handling it. Use vc-git-command.
4659 (vc-git-find-version, vc-git-diff-tree): New functions.
4660 (vc-git-revert): Use vc-git-command.
4661 (vc-git--run-command): Delete.
4663 2007-07-23 Alexandre Julliard <julliard@winehq.org>
4665 * vc-git.el (vc-git-workfile-unchanged-p): Update comment.
4667 2007-07-20 Kenichi Handa <handa@m17n.org>
4669 * international/utf-8.el (utf-8-post-read-conversion):
4670 Temporarily bind utf-8-compose-scripts to nil while running
4671 *-compose-region functions.
4673 2007-07-23 Dan Nicolaescu <dann@ics.uci.edu>
4675 * vc-git.el: Update status.
4676 (vc-directory-exclusion-list): Use eval-after-load.
4678 2007-07-22 Nick Roberts <nickrob@snap.net.nz>
4680 * bindings.el (mode-line-remote): New variable.
4681 (help-echo): Add to default values of mode-line-format.
4683 * files.el: Mark mode-line-remote as risky.
4685 2007-07-22 Juri Linkov <juri@jurta.org>
4687 * isearch.el (isearch-edit-string): Save old point and
4688 isearch-other-end to old-point and old-other-end before reading
4689 the search string from minibuffer. After exiting minibuffer set
4690 point to old-other-end if point and the search direction is the
4691 same as before reading the search string.
4692 (isearch-del-char): Don't set isearch-yank-flag to t. Put point
4693 to isearch-other-end. Instead of isearch-search-and-update call
4694 three functions isearch-search, isearch-push-state and isearch-update.
4696 2007-07-22 Dan Nicolaescu <dann@ics.uci.edu>
4698 * vc-git.el (vc-git-register, vc-git-checkin): Use vc-git-command,
4699 deal with multiple file arguments.
4700 (vc-git-print-log): Deal with multiple file arguments.
4702 2007-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4704 * diff-mode.el (diff-refine-ignore-spaces-hunk): Rename from
4705 diff-refine-hunk. Adjust users.
4706 (diff-unified-hunk-p, diff-splittable-p): New functions.
4707 (diff-mode-menu): Use it to disable Split when it doesn't work.
4709 2007-07-22 Dan Nicolaescu <dann@ics.uci.edu>
4711 * diff-mode.el (diff-mode-menu): New entries.
4713 2007-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4715 * diff-mode.el (diff-unified->context): Use the new `apply' undo entry
4716 if applicable, so as to save undo-log space.
4718 * diff-mode.el (diff-find-file-name): Add arg `batch'.
4720 * diff-mode.el (diff-beginning-of-file-and-junk): New function.
4721 (diff-file-kill): Use it.
4722 (diff-beginning-of-hunk): Add arg `try-harder' using it.
4723 (diff-restrict-view, diff-find-source-location, diff-refine-hunk):
4724 Use it so they find the hunk even when we're in the file header.
4726 2007-07-22 Dan Nicolaescu <dann@ics.uci.edu>
4728 * vc-git.el (vc-git-revision-granularity, vc-git-root)
4729 (vc-git-command, vc-git-dir-state, vc-git-dired-state-info)
4730 (vc-git-create-repo): New functions.
4731 (vc-git-registered): New autoloaded function definition.
4732 (vc-git-registered): Use vc-git-root.
4733 (vc-git-responsible-p): New defalias.
4734 (vc-git-annotate-extract-revision-at-line): Uncomment.
4735 (vc-git-print-log): Add the file name to the log.
4736 (vc-git-log-view-mode): New derived mode.
4737 (vc-git-diff, vc-git-annotate-command): Use vc-git-command.
4739 2007-07-22 Michael Albinus <michael.albinus@gmx.de>
4741 * progmodes/grep.el (grep-compute-defaults): Keep default values.
4743 2007-07-22 Ralf Angeli <angeli@caeruleus.net>
4745 * textmodes/reftex.el (reftex-access-parse-file): Create parse
4746 file in a way that does not interfere with recentf mode.
4747 (reftex-access-parse-file): Do not risk destroying an existing
4750 2007-07-22 Alexandre Julliard <julliard@winehq.org>
4752 * vc-git.el: New file.
4754 2007-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4756 * textmodes/tex-mode.el (tex-font-script-display): Change default.
4758 2007-07-22 Dan Nicolaescu <dann@ics.uci.edu>
4760 * vc-cvs.el (vc-cvs-mode-line-string): Add support for tooltips
4761 for branches and new files.
4763 * vc-hooks.el (vc-default-mode-line-string): Move mouse-face and
4764 local-map handling ...
4765 (vc-mode-line): ... here. Improve handling of help-echo.
4767 * vc.el (mode-line-string): Document help-echo usage.
4769 2007-07-22 Michael Albinus <michael.albinus@gmx.de>
4771 Sync with Tramp 2.1.10.
4773 * net/tramp.el (tramp-get-ls-command): Fix typo.
4775 * net/trampver.el: Update release number.
4777 2007-07-22 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
4779 * startup.el (command-line-x-option-alist): Use x-handle-no-bitmap-icon.
4781 * term/x-win.el (x-handle-no-bitmap-icon): New function.
4783 2007-07-22 Martin Rudalics <rudalics@gmx.at>
4785 * add-log.el (change-log-fill-parenthesized-list): New function.
4786 (change-log-indent): Call change-log-fill-parenthesized-list.
4787 (change-log-fill-paragraph): Bind fill-indent-according-to-mode to t.
4788 Have lines with leading asterisk start a paragraph.
4790 2007-07-21 Jay Belanger <jay.p.belanger@gmail.com>
4792 * calc/calc-math.el (math-emacs-precision)
4793 (math-largest-emacs-expt, math-smallest-emacs-expt):
4795 (math-use-emacs-fn): New function.
4796 (math-exp-raw): Evaluate with `math-use-emacs-fn', when
4799 2007-07-21 Thien-Thi Nguyen <ttn@gnuvola.org>
4801 * image-dired.el (image-dired-sane-db-file): New func.
4802 (image-dired-write-tags, image-dired-remove-tag)
4803 (image-dired-list-tags, image-dired-write-comments)
4804 (image-dired-get-comment, image-dired-mark-tagged-files)
4805 (image-dired-create-gallery-lists): Call new func.
4806 Reported by Dieter Wilhelm <dieter@duenenhof-wilhelm.de>.
4808 2007-07-21 Dan Nicolaescu <dann@ics.uci.edu>
4810 * vc-hg.el (vc-hg-dir-state): Fix loop.
4811 (vc-hg-print-log): Fix expected return value for vc-hg-command.
4812 (vc-hg-next-version, vc-hg-delete-file, vc-hg-rename-file)
4813 (vc-hg-register, vc-hg-create-repo, vc-hg-checkin)
4814 (vc-hg-revert): Likewise.
4815 (vc-hg-revision-table, vc-hg-revision-completion-table): New
4818 2007-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4820 * add-log.el (change-log-resolve-conflict): Don't lose data if the
4823 2007-07-20 Dan Nicolaescu <dann@ics.uci.edu>
4825 * progmodes/compile.el (compilation-auto-jump-to-first-error):
4826 Add group and version.
4828 2007-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4830 * add-log.el (add-log-file-name): Use file-relative-name.
4831 (add-change-log-entry): Delay reading
4832 add-log-(full-name|mailing-address) to after we've switched to the
4833 ChangeLog buffer so we get the right value.
4834 (add-change-log-entry, add-log-current-defun, change-log-merge):
4835 Use derived-mode-p rather than checking major-mode directly.
4837 * pcvs.el (cvs-mode-add-change-log-entry-other-window): Use a directory
4838 name for buffer-file-name if it refers to a directory.
4840 * vc-arch.el (vc-arch-diff): Fix last change.
4842 * progmodes/compile.el (compilation-start): Remember the original
4843 directory in a buffer-local compilation-directory.
4844 (compile): Set the global value of compilation-directory.
4845 (recompile): Use compilation-directory even in the compilation buffer.
4847 2007-07-20 Dan Nicolaescu <dann@ics.uci.edu>
4849 * vc-hg.el (vc-hg-diff): Use vc-hg-command.
4851 2007-07-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4853 * ps-print.el: Problem with foreground and background color when
4854 printing a buffer with and without faces. Reported by Christian
4855 Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
4856 (ps-print-version): New version 6.7.5.
4857 (ps-default-fg): Change default value to nil, so black color is used
4858 when a face does not specify a foreground color.
4859 (ps-default-bg): Change default value to nil, so white color is used
4860 for background color.
4861 (ps-begin-job): Fix code.
4863 2007-07-20 Eli Zaretskii <eliz@gnu.org>
4865 * makefile.w32-in (install-lisp-SH): Don't create subdirectories
4866 in $(INSTALL_DIR)/lisp/ if they already exist.
4868 2007-07-20 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
4870 * makefile.w32-in (install-lisp-CMD): Don't create subdirectories
4871 in $(INSTALL_DIR)/lisp/ if they already exist.
4873 2007-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4875 * progmodes/vera-mode.el (vera-re-search-forward)
4876 (vera-re-search-backward): Remove use of store-match-data.
4877 (vera-mode-map): Move initialization into declaration.
4879 * progmodes/flymake.el (flymake-buildfile-dirs): Remove.
4880 (flymake-find-buildfile): Use locate-dominating-file.
4882 * vc.el (vc-delistify): Use mapconcat.
4883 (vc-do-command): Minor simplification.
4884 (vc-expand-dirs): Use push.
4886 * vc-mcvs.el (vc-mcvs-create-repo):
4887 * vc-cvs.el (vc-cvs-create-repo): Remove.
4889 * vc-hooks.el (vc-find-root): Fix case where `file' is the current
4890 directory and the root as well.
4892 2007-07-20 Dan Nicolaescu <dann@ics.uci.edu>
4894 * vc-hooks.el (vc-default-workfile-unchanged-p): Pass a list
4897 * vc-hg.el (vc-hg-print-log): Deal with multiple file arguments.
4898 (vc-hg-registered): Replace if with when.
4899 (vc-hg-state): Deal with nonexistent files and handle removed files.
4900 (vc-hg-dir-state, vc-hg-dired-state-info): New functions.
4901 (vc-hg-checkout): Re-enable.
4902 (vc-hg-create-repo): Fix typos.
4903 (vc-hg-print-log): Fix for multiple files.
4904 (vc-hg-workfile-unchanged-p): New function.
4907 (vc-print-log): Fix call to print-log.
4908 (vc-default-comment-history): Likewise.
4909 (vc-directory-exclusion-list): Add .hg and .bzr.
4910 (vc-diff-internal): Pass a list instead of a file.
4912 * vc-mcvs.el (vc-mcvs-create-repo): Fix typos.
4914 * vc-bzr.el (vc-bzr-create-repo): New function.
4916 2007-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4918 * vc-hooks.el (vc-find-root): Walk up the tree to find an existing
4919 `file' from which to start the search.
4921 2007-07-19 Eric S. Raymond <esr@snark.thyrsus.com>
4923 * vc-cvs.el (vc-cvs-checkin, vc-cvs-diff): Finish transition from
4924 having a single file argument to having a list of files as the
4927 2007-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4929 * files.el (locate-dominating-file): New function.
4931 2007-07-18 Michael Albinus <michael.albinus@gmx.de>
4933 * progmodes/grep.el (grep-host-defaults-alist): New defvar.
4934 (grep-compute-defaults): Use it.
4936 2007-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4938 * uniquify.el: Docstring fixes.
4940 2007-07-18 Eric S. Raymond <esr@snark.thyrsus.com>
4942 * vc.el (revision-granularity, create-repo): Document new vc
4944 (vc-rollback): Renamed from vc-cancel-version. Update
4945 references. Pass a list instead of a file.
4946 (vc-revert): Renamed from vc-revert-buffer. Update references.
4947 (vc-delistify, vc-expand-dirs): New functions.
4948 (vc-do-command): Rename FILE to FILE-OR-LIST and deal with a list
4949 of files instead of a single file.
4950 (vc-position-context, vc-resync-window, vc-diff-internal)
4951 (vc-print-log): Pass a list instead of a file.
4953 * vc-hooks.el (vc-stay-local-p, vc-backend)
4954 (vc-backend-subdirectory-name): Work on a file list, not a single
4956 (vc-workfile-version): Update docstring.
4957 (vc-menu-map): Use vc-rollback instead of vc-cancel-version and
4958 vc-revert instead of vc-revert-buffer.
4959 (vc-prefix-map): Likewise. Bind vc-update.
4961 * vc-svn.el (vc-svn-revision-granularity, vc-svn-create-repo)
4962 (vc-svn-wash-log): New functions.
4963 (vc-svn-register, vc-svn-checkin, vc-svn-print-log)
4964 (vc-svn-command): Deal with a list of files, not a single file.
4966 * vc-rcs.el (vc-rcs-revision-granularity, vc-rcs-create-repo)
4967 (vc-rcs-wash-log): New functions.
4968 (vc-rcs-register, vc-rcs-checkin, vc-rcs-diff, vc-rcs-print-log):
4969 Deal with a list of files, not a single file.
4970 (vc-rcs-rollback): Likewise. Rename from vc-rcs-cancel-version.
4972 * vc-sccs.el (vc-sccs-revision-granularity, vc-sccs-wash-log): New
4974 (vc-sccs-register, vc-sccs-checkin, vc-sccs-diff): Deal with a
4975 list of files, not a single file.
4977 * vc-mcvs.el (vc-mcvs-revision-granularity, vc-mcvs-create-repo):
4979 (vc-mcvs-register, vc-mcvs-checkin, vc-mcvs-print-log)
4980 (vc-mcvs-diff): Deal with a list of files, not a single file.
4982 * vc-hg.el (vc-hg-revision-granularity, vc-hg-create-repo): New
4984 (vc-hg-print-log): Deal with a list of files, not a single file.
4985 (vc-hg-diff-tree): New function, replace defalias with the same
4987 (vc-hg-register, vc-hg-checkin, vc-hg-command): Rename FILE to
4988 FILES to denote that it is a file list, not a single file.
4990 * vc-cvs.el (vc-cvs-create-repo, vc-cvs-wash-log): New functions.
4991 (vc-cvs-register, vc-cvs-checkin): Deal with a list of files, not
4993 (vc-cvs-print-log, vc-cvs-command): Rename FILE to FILES to denote
4994 that it is a file list, not a single file.
4995 (vc-cvs-diff): Likewise. Simplify.
4997 * vc-arch.el (vc-arch-register, vc-arch-checkin, vc-arch-diff):
4998 Deal with a list of files, not a single file.
5000 * vc-bzr.el (vc-bzr-register, vc-bzr-command, vc-bzr-checkin)
5001 (vc-bzr-print-log): Update FILE parameter name to denote that it
5002 is a file list, not a single file.
5003 (vc-bzr-diff): Likewise. Use the car of files.
5005 2007-07-18 Juanma Barranquero <lekktu@gmail.com>
5007 * follow.el (follow-mode-hook, follow-mode-off-hook, follow-mode)
5008 (follow-delete-other-windows-and-split, follow-recenter)
5009 (follow-windows-aligned-p, follow-point-visible-all-windows-p)
5010 (follow-redisplay, follow-estimate-first-window-start)
5011 (follow-xemacs-scrollbar-support, follow-intercept-process-output):
5012 Fix typos in docstrings.
5014 2007-07-18 Martin Rudalics <rudalics@gmx.at>
5016 * add-log.el (change-log-mode): Use fill-nobreak-predicate to
5017 avoid that filling introduces lines with a single asterisk.
5019 * kmacro.el (kmacro-end-macro): When ignoring empty macro
5020 avoid incorrect kmacro-ring-empty-p messages.
5021 Reported by Michael Schierl <schierlm@gmx.de>.
5023 2007-07-17 Dan Nicolaescu <dann@ics.uci.edu>
5025 * vc.el: Add more info about the vc-registered function.
5027 2007-07-17 Michael Albinus <michael.albinus@gmx.de>
5029 * files.el (file-remote-p): Introduce optional parameter
5032 * recentf.el (recentf-keep-default-predicate): Adapt call of
5035 * progmodes/grep.el (grep-probe): Use `process-file'.
5036 (grep-compute-defaults): Handle variables host specific.
5038 * net/ange-ftp.el (ange-ftp-file-remote-p): Handle optional
5039 parameter IDENTIFICATION.
5041 * net/tramp.el (tramp-handle-file-remote-p): Handle optional
5042 parameter IDENTIFICATION.
5043 (tramp-handle-set-file-times): New defun. Replaces `tramp-touch'.
5044 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
5045 Add entry for `set-file-times'.
5046 (tramp-do-copy-or-rename-file-via-buffer)
5047 (tramp-do-copy-or-rename-file-out-of-band): Use `set-file-times'.
5048 (tramp-handle-unhandled-file-name-directory): Rewrite.
5049 (tramp-convert-file-attributes): Add error handling when inode is
5051 (tramp-get-inode): Change parameter from FILE to VEC.
5052 (tramp-handle-start-file-process): Use (current-buffer) if BUFFER
5053 is nil. This is according to the specification. Goto (point-max)
5055 (tramp-handle-shell-command): Rewrite completely, using
5056 `process-file' and `start-file-process'.
5057 (tramp-methods, tramp-find-shell)
5058 (tramp-open-connection-setup-interactive-shell)
5059 (tramp-maybe-open-connection): Guard against $PROMPT_COMMAND shell
5060 var. Reported by Steve Youngs <steve@sxemacs.org>.
5062 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add
5063 entry for `set-file-times'. Rename `start-process' into
5064 `start-file-process'. Remove `call-process' entry.
5065 (tramp-fish-handle-set-file-times): New defun.
5066 (tramp-fish-handle-executable-find): Use `process-file'.
5067 (tramp-fish-handle-process-file): New defun. Replaces
5068 `tramp-fish-handle-call-process'.
5069 (tramp-fish-do-copy-or-rename-file-directly): Use
5071 (tramp-fish-get-file-entries): Change `tramp-get-inode' parameter.
5073 * net/tramp-smb.el (tramp-smb-handle-file-attributes): Change
5074 `tramp-get-inode' parameter.
5076 2007-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5078 * vc-bzr.el (vc-bzr-version, vc-bzr-at-least-version)
5079 (vc-bzr-post-command-function): Remove. Version 0.8 is already old
5080 nowadays, and by the time Emacs-23 comes out, nobody will even remember
5081 it has ever existed.
5083 2007-07-17 Dan Nicolaescu <dann@ics.uci.edu>
5085 * vc.el: Undo previous change.
5087 2007-07-16 Eli Zaretskii <eliz@gnu.org>
5089 * makefile.w32-in (clean): Don't delete *~.
5091 2007-07-16 Stefan Monnier <monnier@iro.umontreal.ca>
5093 * textmodes/tex-mode.el (tex-verbatim-environments):
5094 Add safe-local-variable property.
5095 (tex-font-lock-syntactic-keywords): Lookup tex-verbatim-environments
5096 when starting font-lock rather than when loading tex-mode.el.
5098 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Skip over the
5099 whole $( rather than just the $. Rename from sh-quoted-subshell.
5100 (sh-font-lock-syntactic-keywords): Adjust call accordingly.
5102 2007-07-16 Thien-Thi Nguyen <ttn@gnuvola.org>
5104 * bookmark.el (bookmark-maybe-sort-alist): Don't modify
5105 bookmark-alist. Instead, if not sorting, simply return it.
5106 (bookmark-bmenu-list): Call bookmark-maybe-sort-alist
5107 for its return value, not for its side effect.
5109 * emacs-lisp/lisp-mode.el (calculate-lisp-indent): In the
5110 case of alignment under a constant symbol, find and consider
5111 the sexp actually at indentation to be the "last sexp".
5113 2007-07-16 Drew Adams <drew.adams@oracle.com>
5115 * mouse.el (mouse-yank-secondary): Better error message if no
5116 secondary selection.
5118 2007-07-16 Dan Nicolaescu <dann@ics.uci.edu>
5120 * vc-hooks.el (vc-handled-backends): Move BZR later in the list.
5122 * term/xterm.el (xterm-turn-on-modify-other-keys)
5123 (xterm-turn-off-modify-other-keys): New functions.
5124 (terminal-init-xterm): Enable the modifyOtherKeys feature if the
5125 terminal supports it.
5127 2007-07-16 Thien-Thi Nguyen <ttn@gnuvola.org>
5129 * bookmark.el (bookmark-show-all-annotations):
5130 Make sure each inserted annotation ends with newline.
5132 2007-07-15 Richard Stallman <rms@gnu.org>
5134 * kmacro.el (kmacro-bind-to-key): Avoid comparisons on function keys.
5136 * tutorial.el (tutorial--find-changed-keys):
5137 Handle C-x specially like ESC.
5139 2007-07-15 Aaron Hawley <aaronh@garden.org>
5141 * tar-mode.el (tar-get-descriptor): No error for zero-length file.
5143 2007-07-15 Juri Linkov <juri@jurta.org>
5145 * delsel.el (delete-selection-pre-hook):
5146 * emulation/cua-base.el (cua-paste): Before a yank command,
5147 check also whether last-command is one of mouse-save-then-kill,
5148 mouse-secondary-save-then-kill, mouse-set-region, mouse-drag-region.
5150 2007-07-15 Michael Albinus <michael.albinus@gmx.de>
5152 * recentf.el (recentf-keep-default-predicate): New defun.
5153 (recentf-keep): Use it as initial value.
5155 2007-07-15 Karl Fogel <kfogel@red-bean.com>
5157 * bookmark.el: Revert 2007-07-13T18:16:17Z!kfogel@red-bean.com,
5158 thus restoring bookmark bindings to three slots under C-x r. See
5159 http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00705.html.
5161 2007-07-15 Jeff Miller <jmiller@cablespeed.com> (tiny change)
5163 * calendar/calendar.el (calendar-goto-bahai-date): Autoload it.
5165 2007-07-15 Jason Rumney <jasonr@gnu.org>
5167 * w32-fns.el (set-default-process-coding-system): Use dos line ends
5168 for input to cmdproxy on all versions of Windows.
5169 Use dos line ends for input to plink.
5171 * comint.el (comint-simple-send): Concat newline before sending.
5172 (comint-password-prompt-regexp): Recognize plink's passphrase prompt.
5174 2007-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
5176 * emacs-lisp/autoload.el (generated-autoload-file): Autoload the
5177 safe-local-variable setting.
5179 2007-07-14 David Kastrup <dak@gnu.org>
5181 * emacs-lisp/advice.el (defadvice): Doc fix.
5183 2007-07-14 Juanma Barranquero <lekktu@gmail.com>
5185 * subr.el (when, unless): Doc fix.
5187 2007-07-13 Dan Nicolaescu <dann@ics.uci.edu>
5189 * replace.el (match): Use yellow1 instead of yellow.
5191 * progmodes/gdb-ui.el (breakpoint-enabled): Use red1 instead of
5194 * pcvs-info.el (cvs-unknown): Likewise.
5196 2007-07-13 Eli Zaretskii <eliz@gnu.org>
5198 * makefile.w32-in (install-lisp-SH, install-lisp-CMD): New targets.
5199 (install): Use them to copy all *.el files before *.elc.
5201 2007-07-13 Drew Adams <drew.adams@oracle.com>
5203 * bookmark.el (bookmark-jump-other-window): New function.
5204 (bookmark-map): Bind it to "o".
5206 http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html
5207 and its thread contains discussion about this change.
5208 The original patch was slightly tweaked by Karl Fogel
5209 <kfogel@red-bean.com> before committing.
5211 2007-07-13 Karl Fogel <kfogel@red-bean.com>
5213 * bookmark.el: Shorten some comments to fit within 80 lines.
5215 2007-07-13 Karl Fogel <kfogel@red-bean.com>
5217 * bookmark.el: Don't define bookmark keys under the "C-xr" map;
5218 instead, make "C-xp" a prefix for bookmark-map. Patch by Drew
5219 Adams <drew.adams@oracle.com>, mildly tweaked by me. See
5220 http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html.
5222 2007-07-13 Carsten Dominik <dominik@science.uva.nl>
5224 * textmodes/org.el: Bug fixes.
5225 (org-end-of-line): Move to end of line if in headline without tags.
5227 2007-07-13 Stefan Monnier <monnier@iro.umontreal.ca>
5229 * vc-hooks.el: Remove spurious * in docstrings.
5230 (vc-handled-backends): Add BZR.
5232 * vc-hooks.el (vc-find-file-hook): Use with-demoted-errors.
5234 2007-07-12 Davis Herring <herring@lanl.gov>
5236 * desktop.el (desktop-buffer-info, desktop-save):
5237 Use `desktop-dirname' instead of `dirname'.
5239 2007-07-12 Paul Pogonyshev <pogonyshev@gmx.net>
5241 * progmodes/which-func.el (which-func-modes): Add `python-mode'.
5243 * progmodes/python.el (python-which-func-length-limit): New var.
5244 (python-which-func): New function.
5245 (python-current-defun): Add optional `length-limit' and try to fit
5246 computed function name to that length.
5247 (python-mode): Hook `python-which-func' up.
5249 2007-07-12 Sean O'Rourke <sorourke@cs.ucsd.edu> (tiny change)
5251 * pcomplete.el (pcomplete-entries): Obey pcomplete-ignore-case.
5253 * comint.el (comint-dynamic-complete-as-filename):
5254 Use read-file-name-completion-ignore-case.
5256 2007-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
5258 * comint.el (comint-dynamic-list-filename-completions):
5259 Use read-file-name-completion-ignore-case.
5261 * vc-cvs.el: Require CL.
5262 (vc-cvs-revision-table, vc-cvs-revision-completion-table):
5263 New functions to provide completion of revision names.
5265 * vc-cvs.el (vc-functions): Clear up the cache when reloading the file.
5266 (vc-cvs-annotate-first-line-re): New const.
5267 (vc-cvs-annotate-process-filter): New fun.
5268 (vc-cvs-annotate-command): Use them and run the command asynchronously.
5270 2007-07-12 Paul Pogonyshev <pogonyshev@gmx.net>
5272 * emacs-lisp/eldoc.el (eldoc-last-data): Revise documentation.
5273 (eldoc-print-current-symbol-info): Adjust for changed helper
5274 function signatures.
5275 (eldoc-get-fnsym-args-string): Add `args' argument. Use new
5276 `eldoc-highlight-function-argument'.
5277 (eldoc-highlight-function-argument): New function.
5278 (eldoc-get-var-docstring): Format documentation with
5279 `font-lock-variable-name-face'.
5280 (eldoc-docstring-format-sym-doc): Add `face' argument and apply it
5282 (eldoc-fnsym-in-current-sexp): Return a list with argument index.
5283 (eldoc-beginning-of-sexp): Return number of skipped sexps.
5285 2007-07-11 Michael Albinus <michael.albinus@gmx.de>
5287 * progmodes/compile.el (compilation-start): `start-process' must
5288 still be redefined when calling `start-process-shell-command'.
5290 * progmodes/gud.el (gud-file-name): When `default-directory' is a
5291 remote file name, prepend its remote part to the filename.
5292 (gud-common-init): When `default-directory' is a remote file name,
5293 make the filename relative to it.
5294 Based on a patch by Nick Roberts <nickrob@snap.net.nz>.
5296 2007-07-11 Dan Nicolaescu <dann@ics.uci.edu>
5298 * vc-hooks.el (vc-default-mode-line-string): Add a mouse face,
5299 mouse binding and a tooltip.
5301 2007-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5303 * menu-bar.el (vc-menu-map): New defalias.
5305 2007-07-10 Richard Stallman <rms@gnu.org>
5307 * emacs-lisp/lisp-mode.el (eval-defun):
5308 Explain special handling of `defface'.
5310 2007-07-10 Jim Meyering <jim@meyering.net> (tiny change)
5312 * emacs-lisp/copyright.el (copyright-current-gpl-version): Set to 3.
5314 * autoinsert.el (auto-insert-alist): s/2/3/ in the generated comment.
5316 2007-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5318 * emacs-lisp/cl.el: Load cl-loaddefs.el quietly.
5320 * vc-arch.el (vc-arch-complete): Remove.
5321 (vc-arch-revision-completion-table): Use complete-with-action.
5323 * subr.el (condition-case-no-debug, with-demoted-errors): New macros.
5324 (complete-with-action): New function.
5325 (dynamic-completion-table): Use it.
5327 2007-07-10 Michael Albinus <michael.albinus@gmx.de>
5329 * comint.el (make-comint, make-comint-in-buffer)
5330 (comint-exec-1): Replace `start-process' by `start-file-process'.
5332 * progmodes/compile.el (compilation-start): Revert redefining
5335 2007-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5337 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Be careful
5338 with EOLs when generating MD5 checksums.
5340 * follow.el: Don't change the global map from the follow-mode-map
5341 defvar, but from the toplevel. Use easy-menu to unify the Emacs and
5343 (turn-on-follow-mode, turn-off-follow-mode): Remove interactive spec
5344 since `follow-mode' should be used instead for that.
5346 * emacs-lisp/easymenu.el (easy-menu-binding): New function.
5347 (easy-menu-do-define): Use it.
5348 (easy-menu-do-add-item): Inline into easy-menu-add-item and then remove.
5350 * progmodes/compile.el (compilation-auto-jump-to-first-error)
5351 (compilation-auto-jump-to-next): New vars.
5352 (compilation-auto-jump): New function.
5353 (compilation-error-properties): Use them to jump to first error.
5354 (compilation-start): Set the var if requested.
5356 * emacs-lisp/autoload.el (update-directory-autoloads): Remove
5357 duplicates without also removing entries from other directories.
5359 2007-07-10 Carsten Dominik <dominik@science.uva.nl>
5361 * textmodes/org.el (org-agenda-day-view, org-agenda-week-view):
5362 Remember span as default.
5363 (org-columns-edit-value): Rename from `org-column-edit'.
5364 (org-columns-display-here-title): Rename from
5365 `org-overlay-columns-title'.
5366 (org-columns-remove-overlays): Rename from org-remove-column-overlays.
5367 (org-columns-get-autowidth-alist): Rename from
5368 `org-get-columns-autowidth-alist'.
5369 (org-columns-display-here): Rename from `org-overlay-columns'.
5370 (org-columns-new-overlay): Rename from `org-new-column-overlay'.
5371 (org-columns-quit): Rename from `org-column-quit'.
5372 (org-columns-show-value): Rename from `org-column-show-value'.
5373 (org-columns-content, org-columns-widen)
5374 (org-columns-next-allowed-value)
5375 (org-columns-edit-allowed, org-columns-store-format)
5376 (org-columns-uncompile-format, org-columns-redo)
5377 (org-columns-edit-attributes, org-delete-property)
5378 (org-set-property, org-columns-update)
5379 (org-columns-compute, org-columns-eval)
5380 (org-columns-not-in-agenda, org-columns-compute-all)
5381 (org-property-next-allowed-value)
5382 (org-columns-compile-format)
5383 (org-fill-paragraph-experimental)
5384 (org-string-to-number, org-property-action)
5385 (org-columns-move-left, org-columns-new)
5386 (org-column-number-to-string)
5387 (org-property-previous-allowed-value)
5388 (org-at-property-p, org-columns-delete)
5389 (org-columns-previous-allowed-value)
5390 (org-columns-move-right, org-columns-narrow)
5391 (org-property-get-allowed-values)
5392 (org-verify-version, org-column-string-to-number)
5393 (org-delete-property-globally): New functions.
5394 (org-columns-current-fmt): Rename from `org-current-columns-fmt'.
5395 (org-columns-overlays): Rename from `org-column-overlays'.
5396 (org-columns-map): Rename from `org-column-map'.
5397 (org-columns-current-maxwidths): Rename from
5398 `org-current-columns-maxwidths'.
5399 (org-columns-begin-marker, org-columns-current-fmt-compiled)
5400 (org-previous-header-line-format)
5401 (org-columns-inhibit-recalculation)
5402 (org-columns-top-level-marker): New variables.
5403 (org-columns-default-format): Rename from `org-default-columns-format'.
5404 (org-property-re): New constant.
5406 2007-07-10 Guanpeng Xu <herberteuler@hotmail.com>
5408 * subr.el (looking-at-p, string-match-p): New functions.
5410 2007-07-09 Reiner Steib <Reiner.Steib@gmx.de>
5412 * textmodes/tex-mode.el (tex-fontify-script)
5413 (tex-font-script-display): New variables to make display of
5414 superscripts and subscripts customizable.
5415 (tex-font-lock-suscript, tex-font-lock-match-suscript): Use them.
5417 2007-07-09 Richard Stallman <rms@gnu.org>
5419 * isearch.el (isearch-edit-string): Call to isearch-push-state
5422 2007-07-09 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
5424 * window.el (fit-window-to-buffer): Remove setting of window-min-height
5425 to 1 as enlarge-window uses the value to resize/shrink windows other
5426 than WINDOW if needed.
5428 2007-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
5430 * cus-start.el (file-coding-system-alist): Fix custom type.
5432 2007-07-08 Chong Yidong <cyd@stupidchicken.com>
5434 * longlines.el (longlines-wrap-region): Avoid marking buffer as
5436 (longlines-auto-wrap, longlines-window-change-function):
5437 Remove unnecessary calls to set-buffer-modified-p.
5439 2007-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
5441 * cus-start.el (file-coding-system-alist): Fix custom type.
5443 2007-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5445 * vc-cvs.el (vc-cvs-revert): Use vc-default-revert.
5446 (vc-cvs-checkout): Remove last arg now unused; simplify.
5448 2007-07-08 Michael Albinus <michael.albinus@gmx.de>
5450 * files.el (file-remote-p): Introduce optional parameter CONNECTED.
5456 * net/trampver.el: Migrate to Tramp 2.1.
5458 * net/tramp-cache.el:
5459 * net/tramp-fish.el:
5460 * net/tramp-gw.el: New Tramp packages.
5462 * net/tramp-util.el:
5463 * net/tramp-vc.el: Removed.
5465 * net/ange-ftp.el: Add ange-ftp property to 'start-file-process.
5466 (ange-ftp-file-remote-p): Handle optional parameter CONNECTED.
5468 * net/rcompile.el (remote-compile): Handle Tramp 2.1 arguments.
5470 * progmodes/compile.el (compilation-start): Redefine
5471 `start-process' temporarily when `default-directory' is remote.
5472 Remove case of synchronous compilation, this won't happen ever.
5473 (compilation-setup): Make local variable `comint-file-name-prefix'
5474 for remote compilation.
5476 2007-07-08 Martin Rudalics <rudalics@gmx.at>
5478 * novice.el (disabled-command-function): Fit window to buffer to
5479 make last line visible.
5480 Reported by Stephen Berman <Stephen.Berman at gmx.net>.
5482 * mouse.el (mouse-drag-track): Reset transient-mark-mode to nil
5483 when handling the terminating event.
5485 2007-07-07 Jay Belanger <jay.p.belanger@gmail.com>
5487 * calc/calc.el (math-read-number-simple): Remove leading 0s.
5488 (math-bignum-digit-length): Change to optimal value.
5490 * calc/calc-bin.el (math-bignum-logb-digit-size)
5491 (math-bignum-digit-power-of-two): Evaluate when compiled.
5493 * calc/calc-comb.el (math-small-factorial-table)
5494 (math-init-random-base, math-prime-test): Remove unnecessary calls
5495 to `math-read-number-simple'.
5497 * calc/calc-ext.el (math-approx-pi, math-approx-sqrt-e)
5498 (math-approx-gamma-const): Add docstrings.
5500 * calc/calc-forms.el (math-julian-date-beginning)
5501 (math-julian-date-beginning-int): New constants.
5502 (math-format-date-part, math-parse-standard-date, calcFunc-julian):
5503 Use the new constants.
5505 * calc/calc-funcs.el (math-gammap1-raw): Add docstring.
5507 * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
5510 2007-07-07 Tom Tromey <tromey@redhat.com>
5512 * vc.el (vc-annotate): Jump to line and output message only after the
5513 process is really all done.
5515 2007-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5517 * vc.el (vc-exec-after): Don't move point from the sentinel.
5518 Forcefully read all the remaining text in the pipe upon process exit.
5519 (vc-annotate-display-autoscale, vc-annotate-lines):
5520 Don't stop at the first unrecognized line.
5521 (vc-annotate-display-select): Run autoscale after the process is done
5522 since it depends on the whole result.
5524 2007-07-07 Eli Zaretskii <eliz@gnu.org>
5526 * term/w32-win.el (menu-bar-open): New function.
5529 2007-07-07 Michael Albinus <michael.albinus@gmx.de>
5531 * simple.el (start-file-process): New defun.
5533 2007-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5535 * files.el (find-file-confirm-nonexistent-file): Rename from
5536 find-file-confirm-inexistent-file. Update users.
5538 * emacs-lisp/autoload.el (autoload-find-destination): Understand a new
5539 format of autoload block where the file's time-stamp is replaced by its
5541 (autoload-generate-file-autoloads): Use MD5 checksum instead of
5542 time-stamp for secondary autoloads files.
5543 (update-directory-autoloads): Remove duplicate entries.
5544 Use time-less-p for time-stamps, as done in autoload-find-destination.
5546 2007-07-07 Jay Belanger <jay.p.belanger@gmail.com>
5548 * calc/calc.el (math-read-number): Replace number by variable.
5549 (math-read-number-simple): Properly parse small integers.
5551 2007-07-07 Dan Nicolaescu <dann@ics.uci.edu>
5553 * vc.el: Fix doc for the checkout function.
5555 2007-07-06 Dan Nicolaescu <dann@ics.uci.edu>
5557 * vc-hg.el (vc-hg-root): New function.
5558 (vc-hg-registered): Use it.
5559 (vc-hg-diff-tree): New defalias.
5560 (vc-hg-responsible-p): Likewise.
5561 (vc-hg-checkout): Comment out, not needed.
5562 (vc-hg-delete-file, vc-hg-rename-file, vc-hg-could-register)
5563 (vc-hg-find-version, vc-hg-next-version): New functions.
5565 2007-07-06 Andreas Schwab <schwab@suse.de>
5567 * emacs-lisp/lisp-mode.el (eval-last-sexp): Avoid introducing any
5568 dynamic bindings around the evaluation of the expression.
5569 Reported by Jay Belanger <jay.p.belanger@gmail.com>.
5571 2007-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5573 * autorevert.el (auto-revert-tail-handler): Use inhibit-read-only.
5574 Run before-revert-hook. Suggested by Denis Bueno <denbuen@sandia.gov>.
5575 Use run-hooks rather than run-mode-hooks.
5577 2007-07-05 Jay Belanger <jay.p.belanger@gmail.com>
5579 * calc/calc-comb.el (math-random-digit): Rename to
5580 `math-random-three-digit-number'.
5581 (math-random-digits): Don't depend on representation of integer.
5583 * calc/calc-bin.el (math-bignum-logb-digit-size)
5584 (math-bignum-digit-power-of-two): New constants.
5585 (math-and-bignum, math-or-bignum, math-xor-bignum, math-diff-bignum)
5586 (math-not-bignum, math-clip-bignum): Use the constants
5587 `math-bignum-digit-power-of-two' and `math-bignum-logb-digit-size'
5588 instead of their values.
5589 (math-clip): Use math-small-integer-size instead of its value.
5591 * calc/calc.el (math-add-bignum): Replace number by constant.
5593 2007-07-05 Chong Yidong <cyd@stupidchicken.com>
5595 * wid-edit.el (widget-documentation-string-value-create):
5596 Insert indentation spaces.
5598 2007-07-05 Thien-Thi Nguyen <ttn@gnuvola.org>
5600 * emacs-lisp/byte-opt.el: Revert last change.
5602 2007-07-05 Dan Nicolaescu <dann@ics.uci.edu>
5604 * vc-hooks.el (vc-handled-backends): Add HG.
5606 * vc-hg.el (vc-handled-backends): Remove, done in vc-hooks.el now.
5608 2007-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5610 * complete.el (PC-do-complete-and-exit): Add support for the new
5611 `confirm-only' confirmation mode.
5613 2007-07-05 Chong Yidong <cyd@stupidchicken.com>
5615 * cus-edit.el (custom-commands): New variable.
5616 (custom-tool-bar-map): New variable. Initialize using
5618 (custom-mode): Use `custom-tool-bar-map'.
5619 (custom-buffer-create-internal): Insert action buttons only if
5620 tool bar is not used. Use `custom-commands'.
5621 (Custom-help, custom-command-apply): New function.
5622 (custom-command-apply, Custom-set, Custom-save)
5623 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard):
5624 Use `custom-command-apply' instead of duplicating code.
5625 (customize-group-other-window): Call `customize-group' instead of
5627 (customize-face-other-window): Call `customize-face' instead of
5629 (customize-group, customize-face): Add optional args for opening
5631 (custom-variable-tag): Don't inherit `variable-pitch' face.
5632 (custom-group-tag): Inherit `variable-pitch' face.
5633 (custom-variable-value-create): Set documentation indentation.
5634 (custom-group-value-create): Make group name a link, instead of
5635 using an extra "go to group" button.
5636 (custom-prompt-variable, custom-group-set, custom-group-save)
5637 (custom-group-reset-current, custom-group-reset-saved)
5638 (custom-group-reset-standard): Minor cleanup.
5640 2007-07-05 Thien-Thi Nguyen <ttn@gnuvola.org>
5642 * Makefile.in (bootstrap-prepare): When copying from
5643 ldefs-boot.el, make sure loaddefs.el is writeable.
5645 (bootstrap-prepare): Make $(lisp)/ps-print.el
5646 and $(lisp)/emacs-lisp/cl-loaddefs.el writable, as well.
5648 2007-07-05 Dan Nicolaescu <dann@ics.uci.edu>
5650 * vc-hg.el (vc-hg-internal-status): Inline in `vc-hg-state', the
5651 only caller, and delete.
5652 (vc-hg-state): Deal with exceptions and only parse the output on
5654 (vc-hg-internal-log): Inline in `vc-hg-workfile-version', the only
5656 (vc-hg-workfile-version): Deal with exceptions and only parse the
5657 output on successful return.
5658 (vc-hg-revert): New function.
5660 2007-07-04 Jay Belanger <jay.p.belanger@gmail.com>
5662 * calculator.el (calculator-expt): Use more cases to determine
5665 2007-07-03 Dan Nicolaescu <dann@ics.uci.edu>
5667 * progmodes/gud.el (auto-mode-alist): Match more valid gdb init
5670 2007-07-03 Jay Belanger <jay.p.belanger@gmail.com>
5672 * calculator.el (calculator-expt, calculator-integer-p):
5674 (calculator-fact): Check to see if the factorial will be too
5675 large before computing it.
5676 (calculator-initial-operators): Use `calculator-expt' to
5678 (calculator-mode): Mention that results which are too large
5680 * calc/calc-comb.el (math-small-factorial-table): Replace list
5683 2007-07-03 David Kastrup <dak@gnu.org>
5685 * shell.el: On request of the authors, remove their addresses for
5686 the sake of bug reports, and add the developer list address as
5687 maintainer information.
5689 2007-07-03 Richard Stallman <rms@gnu.org>
5691 * files.el (make-directory): Doc fix.
5692 (find-file-confirm-inexistent-file): Make it a defcustom.
5693 Make nil the default.
5695 2007-07-02 Richard Stallman <rms@gnu.org>
5697 * startup.el (command-line): Set buffer-offer-save in *scratch*
5698 and enable auto-save in it.
5700 2007-07-02 Carsten Dominik <dominik@science.uva.nl>
5702 * textmodes/org.el (orgstruct-mode-map): New variable.
5703 (orgstruct-mode): New minor mode.
5704 (turn-on-orgstruct, orgstruct-error, orgstruct-setup)
5705 (orgstruct-make-binding, org-context-p, org-get-local-variables)
5706 (org-run-like-in-org-mode): New functions.
5707 (org-cycle-list-bullet): New command.
5708 (org-special-properties, org-property-start-re)
5709 (org-property-end-re): New constants.
5710 (org-with-point-at): New macro.
5711 (org-get-property-block, org-entry-properties, org-entry-get)
5712 (org-entry-delete, org-entry-get-with-inheritance)
5713 (org-entry-put, org-buffer-property-keys): New functions.
5714 (org-insert-property-drawer): New command.
5715 (org-entry-property-inherited-from): New variable.
5716 (org-column): New face.
5717 (org-column-overlays, org-current-columns-fmt)
5718 (org-current-columns-maxwidths, org-column-map): New variables.
5719 (org-column-menu): New menu.
5720 (org-new-column-overlay, org-overlay-columns)
5721 (org-overlay-columns-title, org-remove-column-overlays)
5722 (org-column-show-value, org-column-quit, org-column-edit): New
5724 (org-columns, org-agenda-columns): New commands.
5725 (org-get-columns-autowidth-alist): New functions.
5726 (org-properties): New customize group.
5727 (org-default-columns-format): New option.
5728 (org-priority): Realign tags after changing priority.
5729 (org-preserve-lc): New macro.
5730 (org-update-checkbox-count): Catch case when there is no headline.
5731 (org-agenda-quit): Remove any column overlays.
5732 (org-beginning-of-item-list): Fixed bug when non-item line is
5734 (org-cached-props): New variable.
5735 (org-cached-entry-get): New function.
5736 (org-make-tags-matcher): Handle property matches.
5737 (org-table-recalculate): Swap evaluation order: Field formula
5738 first, then column formulas, but don't allow them to overwrite the
5740 (org-table-eval-formula): New argument untouchable.
5741 (org-table-put-field-property): New function.
5743 2007-07-02 Martin Rudalics <rudalics@gmx.at>
5745 * help-mode.el (help-make-xrefs): Skip spaces too when
5748 * ffap.el (dired-at-point-prompter): Improve prompt in
5749 list-directory case.
5751 2007-07-01 Richard Stallman <rms@gnu.org>
5753 * files.el (find-file-visit-truename): Fix safe-local-variable value.
5755 2007-07-01 Richard Stallman <rms@gnu.org>
5757 * cus-start.el (max-mini-window-height): Added.
5759 2007-07-01 Sean O'Rourke <sorourke@cs.ucsd.edu> (tiny change)
5761 * complete.el (partial-completion-mode): Remove advice of
5762 read-file-name-internal.
5763 (PC-do-completion): Rebind minibuffer-completion-table.
5764 (PC-read-file-name-internal): New function doing what
5765 read-file-name-internal advice did.
5767 2007-07-01 Paul Pogonyshev <pogonyshev@gmx.net>
5769 * emacs-lisp/byte-opt.el: Set `binding-is-magic'
5770 property on a few symbols.
5771 (byte-compile-side-effect-free-dynamically-safe-ops): New defconst.
5772 (byte-optimize-lapcode): Remove bindings that are not referenced
5773 and certainly will not effect through dynamic scoping.
5775 2007-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5777 * files.el (find-file-confirm-inexistent-file): New var.
5778 (find-file, find-file-other-window, find-file-other-frame)
5779 (find-file-read-only, find-file-read-only-other-window)
5780 (find-file-read-only-other-frame): Use it.
5782 2007-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5784 * emacs-lisp/rx.el (rx-constituents): Fix up `anything'.
5786 2007-06-29 Juanma Barranquero <lekktu@gmail.com>
5788 * generic-x.el (generic-define-mswindows-modes)
5789 (generic-define-unix-modes, apache-log-generic-mode)
5790 (bat-generic-mode-keymap, java-manifest-generic-mode)
5791 (show-tabs-generic-mode): Fix typos in docstrings.
5793 2007-06-29 Ryan Yeske <rcyeske@gmail.com>
5795 * net/rcirc.el (rcirc-server-alist): Rename from rcirc-connections.
5796 (rcirc-default-full-name): Rename from rcirc-default-user-full-name.
5797 (rcirc-clear-activity): Make sure RCIRC-ACTIVITY isn't modified.
5798 (rcirc-print): Never ignore messages from ourself.
5800 2007-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5802 * font-lock.el (lisp-font-lock-keywords-2): Recognize the new \(?1:..\)
5803 syntax as well. Reported by Juri Linkov <juri@jurta.org>.
5805 2007-06-28 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
5807 * dnd.el (dnd-get-local-file-name): Set fixcase to t in call to
5808 replace-regexp-in-string.
5810 2007-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5812 * emacs-lisp/cl.el: Set edebug and indentation before loading
5813 cl-loaddefs.el so that its use of dolist doesn't load cl-macs.
5815 2007-06-28 Andreas Schwab <schwab@suse.de>
5817 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Depend on
5820 2007-06-28 Juanma Barranquero <lekktu@gmail.com>
5822 * speedbar.el (speedbar-handle-delete-frame): Don't try to delete
5823 the speedbar frame if nil; that deletes the current frame or
5824 causes an error if it is the only frame.
5825 Reported by Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>.
5827 2007-06-28 Kevin Ryde <user42@zip.com.au>
5829 * textmodes/nroff-mode.el: Groff \# comments.
5830 (nroff-mode-syntax-table): \# comment intro,
5831 plain # as punct per global table.
5832 (nroff-font-lock-keywords): Add # as a single char escape.
5833 (nroff-mode): In comment-start-skip, match \#.
5835 2007-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5837 * vc-bzr.el (vc-functions): Clear up the cache when reloading the file.
5838 (vc-bzr-workfile-version, vc-bzr-could-register): Don't hardcode
5841 2007-06-28 Nick Roberts <nickrob@snap.net.nz>
5843 * pcvs-util.el (cvs-strings->string, cvs-string->strings):
5844 Rename and move to...
5846 * subr.el (strings->string, string->strings): ...here.
5848 * pcvs.el (cvs-reread-cvsrc, cvs-header-msg, cvs-checkout)
5849 (cvs-mode-checkout, cvs-execute-single-file): Use new function names.
5851 * progmodes/gud.el (gud-common-init): Call string->strings instead
5854 2007-06-27 Michael Albinus <michael.albinus@gmx.de>
5856 * dired-aux.el: Remove `dired-call-process'.
5857 (dired-check-process): Call `process-file'.
5859 * wdired.el (wdired-do-perm-changes): Call `process-file'.
5861 * net/ange-ftp.el (ange-ftp-dired-call-process): Reimplement it as
5862 `ange-ftp-process-file'.
5864 2007-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5866 * emacs-lisp/cl.el: Use cl-loaddefs.el rather than manual autoloads.
5868 * emacs-lisp/cl-extra.el:
5869 * emacs-lisp/cl-seq.el:
5870 * emacs-lisp/cl-macs.el: Set generated-autoload-file to cl-loaddefs.el.
5871 Add autoload cookies on all defs autoloaded manually in cl.el.
5873 * emacs-lisp/cl-loaddefs.el: New file.
5875 * textmodes/texinfmt.el (texinfo-raisesections-alist)
5876 (texinfo-lowersections-alist): Merge definition and declaration.
5877 (texinfo-start-of-header, texinfo-end-of-header): Remove.
5878 (texinfo-format-syntax-table): Merge init into declaration.
5879 (texinfo-format-parse-line-args, texinfo-format-parse-args)
5880 (texinfo-format-parse-defun-args, texinfo-format-node)
5881 (texinfo-push-stack, texinfo-multitable-widths)
5882 (texinfo-define-info-enclosure, texinfo-alias)
5883 (texinfo-format-defindex, batch-texinfo-format): Use push.
5884 (texinfo-footnote-number): Remove duplicate declaration.
5886 * ps-print.el: Update with auto-generated autoloads.
5888 * ps-mule.el: Set generated-autoload-file to "ps-print.el".
5890 2007-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5892 * emacs-lisp/autoload.el (autoload-generated-file): Interpret names
5893 relative to current dir for file-local settings.
5894 (autoload-generate-file-autoloads): Add `outfile' arg.
5895 (update-directory-autoloads): Use it to directly call
5896 autoload-generate-file-autoloads instead of going through
5897 update-file-autoloads so we avoid redundant searches and so we can know
5898 the set of buffers changed so we can save them all.
5900 * emacs-lisp/autoload.el (autoload-find-destination): Return nil
5901 rather than throwing `up-to-date'.
5902 (autoload-generate-file-autoloads): Adjust correspondingly.
5903 (update-file-autoloads): Be careful to let-bind
5904 autoload-modified-buffers and adjust to new calling conventions.
5905 (autoload-modified-buffers): Make it a dynamically scoped var.
5906 (update-directory-autoloads): Use file-relative-name instead of
5907 autoload-trim-file-name.
5908 (autoload-insert-section-header): Don't use autoload-trim-file-name
5909 since the file is already relative now.
5910 (autoload-trim-file-name): Remove.
5912 * vc-arch.el (vc-arch-add-tagline): Do a slightly cleaner job.
5913 (vc-arch-complete, vc-arch--version-completion-table)
5914 (vc-arch-revision-completion-table): New functions to provide
5915 completion of revision names.
5916 (vc-arch-trim-find-least-useful-rev, vc-arch-trim-make-sentinel)
5917 (vc-arch-trim-one-revlib, vc-arch-trim-revlib): New functions
5918 to let the user trim the revlib.
5920 * vc.el: Add new VC operation `revision-completion-table'.
5921 (vc-default-revision-completion-table): New function.
5922 (vc-version-diff, vc-version-other-window): Use it to provide
5923 completion of revision names if the backend provides it.
5925 * log-edit.el (log-edit-changelog-entries): Use with-current-buffer.
5927 * vc-svn.el (vc-svn-repository-hostname): Adjust to non-XML format
5928 of newer .svn/entries.
5930 2007-06-25 David Kastrup <dak@gnu.org>
5932 * calc/calc-poly.el (math-padded-polynomial)
5933 (math-partial-fractions): Add some function comments.
5935 2007-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5937 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5938 Make `outbuf' optional.
5939 (update-file-autoloads): Use it.
5941 2007-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5943 * emacs-lisp/autoload.el (autoload-modified-buffers): New var.
5944 (autoload-find-destination): Keep it uptodate.
5945 (autoload-save-buffers): New fun.
5946 (update-file-autoloads): Use it. Re-add the "up to date" message.
5948 * emacs-lisp/autoload.el: Refactor for upcoming changes.
5949 (autoload-find-destination): New function extracted from
5950 update-file-autoloads.
5951 (update-file-autoloads): Use it.
5952 (autoload-generate-file-autoloads): New function extracted from
5953 generate-file-autoloads. Use file-relative-name. Delay computation of
5954 output-start to the first cookie. Remove done-any, replaced by
5956 (generate-file-autoloads): Use it.
5958 2007-06-24 Jay Belanger <jay.p.belanger@gmail.com>
5960 * calc/calc-comb.el (math-init-random-base, math-prime-test):
5961 Use math-read-number-simple to insert constants.
5962 (math-prime-test): Redo calculation of sum.
5964 * calc/calc-misc.el (math-div2-bignum): Use math-bignum-digit-size.
5966 * calc/calc-math.el (math-scale-bignum-digit-size): Rename from
5967 math-scale-bignum-3.
5968 (math-isqrt-bignum): Use math-scale-bignum-digit-size and
5969 math-bignum-digit-size.
5970 (math-isqrt-small): Add another possible initial guess.
5972 2007-06-23 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
5974 * textmodes/bibtex.el (bibtex-entry-format): New options
5975 `whitespace', `braces', and `string'.
5976 (bibtex-field-braces-alist, bibtex-field-strings-alist)
5977 (bibtex-field-braces-opt, bibtex-field-strings-opt)
5978 (bibtex-cite-matcher-alist): New variables.
5979 (bibtex-font-lock-keywords): Use bibtex-cite-matcher-alist.
5980 (bibtex-flash-head): Use blink-matching-delay.
5981 (bibtex-insert-kill, bibtex-mark-entry): Use push-mark.
5982 (bibtex-format-entry, bibtex-reformat): Handle new options of
5983 bibtex-entry-format.
5984 (bibtex-field-re-init, bibtex-font-lock-cite, bibtex-dist):
5986 (bibtex-complete-internal): Do not display messages while
5987 minibuffer is used. Do not leave around a completions buffer
5988 that is out of date.
5989 (bibtex-copy-summary-as-kill): New optional arg.
5990 (bibtex-font-lock-url): New optional arg no-button.
5991 (bibtex-find-crossref): Use `bibtex-cite-matcher-alist'.
5992 (bibtex-url): Allow multiple URLs per entry.
5994 2007-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5996 * emacs-lisp/autoload.el (autoload-generated-file): New function.
5997 (update-file-autoloads, update-directory-autoloads): Use it.
5998 (autoload-file-load-name): New function.
5999 (generate-file-autoloads, update-file-autoloads): Use it.
6000 (autoload-find-file): Accept non-absolute argument. Set default-dir.
6001 (generate-file-autoloads): If the autoloaded form is malformed,
6002 indicate the problem with a warning instead of aborting.
6004 2007-06-23 Thien-Thi Nguyen <ttn@gnuvola.org>
6006 * simple.el (next-error-recenter): Accept `(4)' as well;
6007 also, specify `integer' instead of `number'.
6009 2007-06-23 Eli Zaretskii <eliz@gnu.org>
6011 * ls-lisp.el (insert-directory): If an invalid regexp error is
6012 thrown, try using FILE as a literal file name, not a wildcard.
6014 2007-06-23 Juanma Barranquero <lekktu@gmail.com>
6016 * ruler-mode.el (ruler-mode): Prevent clobbering the original
6017 `header-line-format' when reentering ruler mode.
6019 2007-06-23 Eli Zaretskii <eliz@gnu.org>
6021 * ls-lisp.el (insert-directory): Don't treat FILE as a wildcard if
6022 FILE exists as a file.
6024 2007-06-22 Jay Belanger <jay.p.belanger@gmail.com>
6026 * calc/calc.el (math-bignum-digit-length)
6027 (math-bignum-digit-size, math-small-integer-size):
6029 (math-normalize, math-bignum-big, math-make-float)
6030 (math-div10-bignum, math-scale-left, math-scale-left-bignum)
6031 (math-scale-right, math-scale-right-bignum, math-scale-rounding)
6032 (math-add, math-add-bignum, math-sub-bignum, math-sub, math-mul)
6033 (math-mul-bignum, math-mul-bignum-digit, math-idivmod)
6034 (math-quotient, math-div-bignum, math-div-bignum-digit)
6035 (math-div-bignum-part, math-format-bignum-decimal)
6036 (math-read-bignum): Use math-bignum-digit-length,
6037 math-bignum-digit-size and math-small-integer-size.
6039 * calc/calc-ext.el (math-fixnum-big): Use the variable
6040 math-bignum-digit-size.
6042 2007-06-23 Dan Nicolaescu <dann@ics.uci.edu>
6044 * log-view.el (log-view-mode-menu): New menu.
6046 2007-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6048 * diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change
6051 * vc-hg.el (vc-hg-registered): Add an autoloaded version.
6052 (vc-hg-log-view-mode): Use log-view-font-lock-keywords.
6054 2007-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6056 * vc-hg.el (vc-hg-print-log): Insert the file name.
6057 (vc-hg-log-view-mode): Fontify the file name.
6059 2007-06-22 Jay Belanger <jay.p.belanger@gmail.com>
6061 * calc/calc-forms.el (math-format-date-part, calc-parse-standard-date)
6062 (calcFunc-julian): Fix incorrect number used in calculations.
6064 2007-06-22 Thien-Thi Nguyen <ttn@gnuvola.org>
6066 * simple.el (next-error-recenter): New defcustom.
6067 (next-error, next-error-internal): Recenter if specified,
6068 immediately prior to running `next-error-hook'.
6070 * progmodes/hideshow.el (hs-show-block): Use line-end-position.
6071 (hs-hide-block-at-point, hs-hide-comment-region): Likewise.
6073 * progmodes/hideshow.el (hs-hide-all): Use progress reporter.
6075 2007-06-22 Jay Belanger <jay.p.belanger@gmail.com>
6077 * calc/calc-comb.el (math-small-factorial-table): New variable.
6078 (calcFunc-fact): Use `math-small-factorial-table'.
6080 * calc/calc-ext.el (math-defcache): Allow forms to evaluate
6082 (math-approx-pi, math-approx-sqrt-e, math-approx-gamma-const):
6083 New variables to use in caches.
6085 * calc/calc-forms.el (math-format-date-part, math-parse-standard-date)
6086 (calcFunc-julian): Use `math-read-number-simple' to insert bignums.
6088 * calc/calc-func.el (math-besJ0, math-besJ1, math-besY0, math-besY1)
6089 (math-bernoulli-b-cache): Use math-read-number-simple to insert
6092 * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
6093 New variables to use in caches.
6095 2007-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6097 * vc-bzr.el (vc-bzr-log-view-mode): Add + to the email address regexp.
6099 * vc-hg.el (vc-hg-log-view-mode): New mode.
6101 2007-06-21 Jay Belanger <jay.p.belanger@gmail.com>
6103 * calc/calc.el (math-read-number-simple): New function.
6105 2007-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6107 * vera-mode.el (vera-mode): Fix `commend-end-skip' setting.
6108 (vera-font-lock-match-item): Fix doc string.
6109 (vera-in-comment-p): Remove unused function.
6110 (vera-skip-forward-literal, vera-skip-backward-literal): Improve code,
6112 (vera-forward-syntactic-ws): Fix argument order.
6113 (vera-prepare-search): Use `with-syntax-table'.
6114 (vera-indent-line): Fix doc string.
6115 (vera-electric-tab): Fix doc string.
6116 (vera-expand-abbrev): Define alias instead of using `fset'.
6117 (vera-comment-uncomment-region): Use `comment-start-skip'.
6119 2007-06-21 Carsten Dominik <dominik@science.uva.nl>
6121 * textmodes/org.el (org-export-with-footnotes): New option.
6122 (org-export-as-html): Fix replacement bug for XEmacs.
6123 (org-agenda-default-appointment-duration): New option.
6125 2007-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6127 * vc-hg.el: Add to do items.
6128 (vc-hg-diff): Add support for comparing different revisions.
6129 (vc-hg-diff, vc-hg-annotate-command, vc-hg-annotate-time)
6130 (vc-hg-annotate-extract-revision-at-line)
6131 (vc-hg-previous-version, vc-hg-checkin): New functions.
6132 (vc-hg-annotate-re): New constant.
6134 2007-06-20 Jay Belanger <jay.p.belanger@gmail.com>
6136 * calc/calc.el (math-standard-ops): Fix precedence of multiplication.
6138 2007-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6140 * log-view.el (log-view-font-lock-keywords): Use `eval' to consult the
6141 buffer-local value of log-view-*-re if applicable.
6143 * vc-bzr.el (vc-bzr-dir-state): Use setq rather than set.
6144 Use vc-bzr-command rather than the ill defined vc-bzr-command*.
6145 (vc-bzr-command*): Remove both (incompatible) versions.
6146 (vc-bzr-do-command*): Remove.
6147 (vc-bzr-with-process-environment, vc-bzr-std-process-invocation):
6148 Remove by folding into its only caller vc-bzr-command.
6149 (vc-bzr-command): Always set the environment, even when ineffective.
6150 (vc-bzr-version): Minor fix up.
6151 (vc-bzr-admin-dirname): New var.
6152 (vc-bzr-bzr-dir): Remove.
6153 (vc-bzr-root-dir): New fun.
6154 (vc-bzr-registered): Use it. Add an autoloaded version.
6155 (vc-bzr-responsible-p): Use vc-bzr-root-dir as well.
6156 (vc-bzr-view-log-function): Remove.
6157 (vc-bzr-log-view-mode): New major mode to replace it.
6158 (vc-bzr-print-log): Only activate the old hack if needed.
6160 * vc.el (vc-default-log-view-mode): New function.
6161 (vc-print-log): Add new `log-view-mode' VC operation.
6163 2007-06-20 Juanma Barranquero <lekktu@gmail.com>
6165 * ido.el (ido-find-file-in-dir): Don't signal an error for
6168 * add-log.el (change-log-mode): Set `show-trailing-whitespace'.
6170 * desktop.el (desktop-read): Run `desktop-not-loaded-hook' in the
6171 directory where the desktop file was found, as the docstring says.
6172 (desktop-kill): Use `read-directory-name'.
6174 2007-06-20 Alan Mackenzie <acm@muc.de>
6176 * progmodes/cc-mode.el (c-remove-any-local-eval-or-mode-variables):
6177 When removing lines, also remove the \n. Correction of patch of
6180 2007-06-20 Martin Rudalics <rudalics@gmx.at>
6182 * mouse.el (mouse-drag-mode-line-1): Quit mouse tracking when
6183 event is not a cons cell. Do not unread drag-mouse-1 events.
6184 Select right window in check whether space was stolen from
6187 * help-mode.el (help-make-xrefs): Adjust position of new forward
6190 2007-06-20 Riccardo Murri <riccardo.murri@gmail.com>
6192 * vc-bzr.el (vc-bzr-with-process-environment)
6193 (vc-bzr-std-process-invocation): New macros.
6194 (vc-bzr-command, vc-bzr-command*): Use them.
6195 (vc-bzr-with-c-locale): Remove.
6196 (vc-bzr-dir-state): Replace its use with vc-bzr-command.
6197 (vc-bzr-buffer-nonblank-p): New function.
6198 (vc-bzr-state-words): New const.
6199 (vc-bzr-state): Look for `bzr status` keywords in output.
6200 Display everything else as a warning message to the user.
6201 Fix status report with bzr >= 0.15.
6203 2007-06-20 Dan Nicolaescu <dann@ics.uci.edu>
6205 * vc-hg.el (vc-hg-global-switches): Simplify.
6206 (vc-hg-state): Handle more states.
6207 (vc-hg-diff): Fix doc-string.
6208 (vc-hg-register): New function.
6209 (vc-hg-checkout): Likewise.
6211 2007-06-20 Reto Zimmermann <reto@gnu.org>
6213 * progmodes/vera-mode.el: New file.
6215 2007-06-19 Jay Belanger <jay.p.belanger@gmail.com>
6217 * calc/calc.el (calc-multiplication-has-precendence):
6219 (math-standard-ops, math-standard-ops-p, math-expr-ops):
6221 (math-expr-opers): Define using math-standard-ops rather than
6222 math-standard-opers.
6223 * calc/calc-aent.el (calc-do-calc-eval): Let math-expr-opers
6224 equal the function math-standard-ops rather than the variable
6225 math-standard-opers.
6226 (calc-algebraic-entry): Let math-expr-opers equal
6227 math-standard-ops or math-expr-ops, as appropriate.
6228 (math-expr-read-level, math-read-factor): Let math-expr-opers
6229 equal math-expr-ops.
6230 * calc/calc-embed.el (calc-embedded-finish-edit):
6231 Let math-expr-opers equal the function math-standard-ops
6232 rather than the variable math-standard-opers.
6233 * calc/calc-ext.el (math-read-plain-expr)
6234 (math-format-flat-expr-fancy): Let math-expr-opers equal the
6235 function math-standard-ops rather than the variable
6236 math-standard-opers.
6237 * calc/calc-lang.el (calc-set-language, math-read-big-rec):
6238 Let math-expr-opers equal the function math-standard-ops rather
6239 than the variable math-standard-opers.
6240 * calc/calc-prog.el (calc-read-parse-table): Let math-expr-opers
6241 equal the function math-standard-ops rather than the variable
6242 math-standard-opers.
6243 * calc/calc-yank.el (calc-finish-stack-edit): Let math-expr-opers
6244 equal the function math-standard-ops rather than the variable
6245 math-standard-opers.
6246 * calc/calccomp.el (math-compose-expr): Let math-expr-opers equal
6249 2007-06-19 Ivan Kanis <apple@kanis.eu>
6251 * vc-hg.el: New file.
6253 2007-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6255 * progmodes/sh-script.el (sh-font-lock-paren): Mark the relevant text
6256 with font-lock-multiline.
6258 2007-06-17 Glenn Morris <rgm@gnu.org>
6260 * lpr.el (lpr-page-header-switches): Move %s to separate element
6261 for correct quoting. Doc fix.
6263 2007-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6265 * textmodes/sgml-mode.el (sgml-xml-guess): Return the result rather
6266 than setting sgml-xml-mode.
6267 (sgml-mode, html-mode): Set sgml-xml-mode.
6268 (sgml-skip-tag-backward): Tell if we skipped over matched tags.
6269 (sgml-skip-tag-backward, sgml-electric-tag-pair-overlays): New var.
6270 (sgml-electric-tag-pair-before-change-function)
6271 (sgml-electric-tag-pair-flush-overlays): New functions.
6272 (sgml-electric-tag-pair-mode): New minor mode.
6273 (sgml-font-lock-keywords-2, sgml-get-context, sgml-unclosed-tag-p)
6274 (sgml-calculate-indent): Use assoc-string.
6276 2007-06-16 Karl Fogel <kfogel@red-bean.com>
6278 * thingatpt.el (thing-at-point-email-regexp): Don't require two
6279 chars before the "@" in an email address. Andreas Roehler noticed
6282 2007-06-15 Karl Fogel <kfogel@red-bean.com>
6284 * thingatpt.el: Add support for email addresses (`email').
6285 (thing-at-point, bounds-of-thing-at-point): Document `email' support.
6286 (thing-at-point-email-regexp): New variable.
6287 (`email'): Put `bounds-of-thing-at-point' and `thing-at-point'
6288 properties on this symbol, with lambda forms for values.
6290 2007-06-15 Masatake YAMATO <jet@gyve.org>
6292 * vc-bzr.el (vc-bzr-root): Cache the output of shell command execution.
6294 * vc.el (vc-dired-hook): Check the backend returned from
6295 `vc-responsible-backend' can really handle `subdir'.
6297 2007-06-15 Chong Yidong <cyd@stupidchicken.com>
6299 * wid-edit.el (widget-add-documentation-string-button):
6300 Fix handling of documentation indent.
6302 2007-06-15 Miles Bader <miles@fencepost.gnu.org>
6304 * mb-depth.el: New file.
6306 2007-06-15 Masatake YAMATO <jet@gyve.org>
6308 * vc.el (vc-dired-mode): Show backend name as part of mode name.
6310 2007-06-14 Chong Yidong <cyd@stupidchicken.com>
6312 * wid-edit.el (widget-default-create): Move ?h handling here...
6313 (widget-default-format-handler): ...from here.
6314 (widget-docstring, widget-add-documentation-string-button): New funs.
6315 (documentation-string): Add :visibility-widget property.
6316 (widget-documentation-string-value-create): Use it.
6318 * cus-edit.el (custom-split-regexp-maybe): Simplify.
6319 (custom-buffer-create-internal): Simplify message.
6320 (custom-variable-tag): Reduce height to normal.
6321 (custom-variable-value-create, custom-face-value-create)
6322 (custom-visibility): New widget.
6323 (custom-visibility): New face.
6324 (custom-group-value-create):
6325 Call widget-add-documentation-string-button, using `custom-visibility'.
6327 2007-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6329 * emacs-lisp/bytecomp.el (byte-compile-current-group)
6330 (byte-compile-nogroup-warn, byte-compile-file): Revert part of last
6331 change. Apparently the "warning even if the group is implicit" is
6332 a feature rather than a bug.
6334 2007-06-14 Michael Kifer <kifer@cs.stonybrook.edu>
6336 * viper.el (viper-describe-key-ad, viper-describe-key-briefly-ad):
6337 Different advices for Emacs and XEmacs. Compile them conditionally.
6338 (viper-version): Belated version change.
6340 2007-06-14 Juanma Barranquero <lekktu@gmail.com>
6342 * follow.el (follow-all-followers, follow-generic-filter):
6343 * pcomplete.el (pcomplete-restore-windows):
6344 * x-dnd.el (x-dnd-maybe-call-test-function, x-dnd-save-state)
6346 * emacs-lisp/edebug.el (edebug-pop-to-buffer, edebug-display):
6347 * progmodes/python.el (python-complete-symbol):
6348 * term/mac-win.el (mac-dnd-drop-data): Remove redundant check.
6350 2007-06-13 Ryan Yeske <rcyeske@gmail.com>
6352 * rcirc.el (rcirc-format-response-string): Use rcirc-nick-syntax
6353 around bright and dim regexps. Make sure bright and dim matches
6354 use word anchors. Send text through rcirc-markup functions.
6355 (rcirc-url-regexp): Add single quote character.
6356 (rcirc-connect): Write logs to disk on auto-save-hook.
6357 Make server a non-optional argument.
6358 (rcirc-log-alist): New variable.
6359 (rcirc-log-directory): Make customizable.
6360 (rcirc-log-flag): New customizable variable.
6361 (rcirc-log): New function.
6362 (rcirc-print): Use above function.
6363 (rcirc-log-write): New function.
6364 (rcirc-generate-new-buffer-name): Strip text properties.
6365 (rcirc-switch-to-buffer-function): Remove variable.
6366 (rcirc-last-non-irc-buffer): Remove variable.
6367 (rcirc-non-irc-buffer): Add function.
6368 (rcirc-next-active-buffer): Use above function.
6369 (rcirc-keepalive): Send KEEPALIVE ctcp instead of a PING.
6370 (rcirc-handler-ctcp-KEEPALIVE): Add handler.
6371 (rcirc-handler-CTCP): Don't print KEEPALIVE responses.
6372 (rcirc-omit-mode): Add minor-mode.
6373 (rcirc-mode-map): Change C-c C-o binding.
6374 (rcirc-mode): Clear mode-line-process. Use a custom
6375 fill-paragraph-function. Set up buffer-invisibility-spec.
6376 (rcirc-response-formats): Remove timestamp code.
6377 (rcirc-omit-responses): Add variable.
6378 (rcirc-print): Don't put the overlay arrow on potentially omitted
6379 lines. Log line to disk. Record activity for private messages
6380 from /dim nicks. Facify the fill-prefix with rcirc-timestamp face.
6381 (rcirc-jump-to-first-unread-line): Print message if there is no
6383 (rcirc-clear-unread): New function.
6384 (rcirc-markup-text-functions): Add variable.
6385 (rcirc-markup-timestamp, rcirc-markup-fill): Add functions.
6386 (rcirc-debug): Don't mess with window configuration.
6387 (rcirc-send-message): Send message before printing locally.
6388 Add SILENT argument, do not print message if non-nil.
6389 (rcirc-visible-buffers): New function and variable.
6390 (rcirc-window-configuration-change-1): Add function.
6391 (rcirc-target-buffer): Make sure ACTIONs don't get sent to the
6393 (rcirc-clean-up-buffer): Set rcirc-target to nil when finished.
6394 (rcirc-fill-paragraph): Add function.
6395 (rcirc-record-activity, rcirc-window-configuration-change-1):
6396 Only update the activity string if it has actually changed.
6397 (rcirc-update-activity-string): Remove padding characters from the
6399 (rcirc-disconnect-buffer): New function to be called when a
6400 channel is parted or the user quits.
6401 (rcirc-server-name): Warn when the server-name hasn't been set.
6402 (rcirc-window-configuration-change): Postpone work until
6404 (rcirc-window-configuration-change-1): Update mode-line and
6405 overlay arrows here.
6406 (rcirc-authenticate): Fixc hanserv identification.
6407 (rcirc-default-server): Remove variable.
6408 (rcirc): Connect according to rcirc-connections.
6409 (rcirc-connections): Add variable.
6410 (rcirc-startup-channels-alist): Remove variable.
6411 (rcirc-startup-channels): Remove function.
6413 2007-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6415 * diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change.
6417 2007-06-13 Johan Bockg
\e,Ae
\e(Brd <bojohan@dd.chalmers.se> (tiny change)
6419 * term/xterm.el (terminal-init-xterm): Escape parens in character
6422 2007-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6424 * progmodes/sh-script.el: Remove unneeded * from docstrings.
6425 Use [:alpha:] and [:alnum:] where applicable.
6426 (sh-quoted-subshell): Rewrite to correctly
6427 handle nested mixes of `...` and $(...).
6428 (sh-apply-quoted-subshell): Remove.
6429 (sh-font-lock-syntactic-keywords): Adjust call to sh-quoted-subshell.
6431 * vc-arch.el (vc-arch-command): Remove bzr. It's a different program.
6433 2007-06-13 Michael Kifer <kifer@cs.stonybrook.edu>
6435 * ediff-ptch.el (ediff-context-diff-label-regexp): Partially undo
6438 2007-06-12 Tom Tromey <tromey@redhat.com>
6440 * subr.el (user-emacs-directory): New defconst.
6441 * cmuscheme.el (scheme-start-file):
6443 * completion.el (save-completions-file-name):
6444 * custom.el (custom-theme-directory):
6445 * term/x-win.el (emacs-session-filename):
6446 * filesets.el (filesets-menu-cache-file):
6447 * thumbs.el (thumbs-thumbsdir):
6448 * server.el (server-auth-dir):
6449 * image-dired.el (image-dired-dir):
6450 (image-dired-db-file):
6451 (image-dired-temp-image-file):
6452 (image-dired-gallery-dir):
6453 (image-dired-temp-rotate-image-file):
6454 * play/gamegrid.el (gamegrid-user-score-file-directory):
6455 * savehist.el (savehist-file):
6456 * tutorial.el (tutorial--saved-dir):
6457 * startup.el (auto-save-list-file-prefix): Use user-emacs-directory.
6459 2007-06-12 Ralf Angeli <angeli@caeruleus.net>
6461 * scroll-lock.el (scroll-lock-mode): Doc fix.
6463 2007-06-12 Michael Kifer <kifer@cs.stonybrook.edu>
6465 * ediff-ptch.el (ediff-context-diff-label-regexp): Spurious parenthesis.
6467 * ediff-init.el: Doc strings.
6469 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6471 * emacs-lisp/bytecomp.el (byte-compile-current-group): New var.
6472 (byte-compile-file): Bind it.
6473 (byte-compile-nogroup-warn): Use it to avoid spurious warnings when the
6474 group argument is provided implicitly.
6475 (byte-compile-format-warn, byte-compile-from-buffer)
6476 (byte-compile-insert-header): Don't hardcode point-min==1.
6477 (byte-compile-file-form-require): Remove unused var old-load-list.
6478 (byte-compile-eval): Remove unused vars old-autoloads and hist-nil-new.
6480 2007-06-12 Michael Kifer <kifer@cs.stonybrook.edu>
6482 * emulation/viper-cmd.el (viper-prefix-arg-com, viper-prefix-arg-value):
6483 Display error messages.
6484 (viper-prev-destructive-command, viper-insert-prev-from-insertion-ring):
6485 Get rid of cl.el dependencies.
6487 * emulation/viper-init.el (viper-suppress-input-method-change-message):
6489 (viper-activate-input-method-action)
6490 (viper-inactivate-input-method-action):
6491 Use viper-suppress-input-method-change-message.
6493 * emulation/viper-kem.el (viper-vi-basic-map): Disable the bindings
6496 * emulation/viper-util.el (viper-set-cursor-color-according-to-state):
6497 Use viper-replace-overlay-cursor-color instead of
6498 viper-replace-overlay-cursor-color.
6499 (viper-sit-for-short): Use sit-for with 3 arguments.
6501 * emulation/viper.el (viper-insert-state-mode-list): Add gud-mode.
6502 (viper-major-mode-modifier-list): Add viper-comint-mode-modifier-map
6505 * ediff-mult.el (ediff-meta-buffer-brief-message)
6506 (ediff-meta-buffer-verbose-message): New variables.
6507 (ediff-meta-buffer-message): Variable deleted.
6508 (ediff-verbose-help-enabled): New variable.
6509 (ediff-toggle-verbose-help-meta-buffer): New function.
6510 (ediff-redraw-directory-group-buffer): Made aware of short/verbose
6513 * ediff-ptch.el (ediff-context-diff-label-regexp): Better regexp.
6514 (ediff-fixup-patch-map): Improve heuristic.
6516 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6518 * log-view.el (log-view-file-re, log-view-message-re): Use \(?1:...\).
6519 (log-view-font-lock-keywords): Simplify.
6520 (log-view-current-file, log-view-current-tag): Simplify.
6522 2007-06-12 Sam Steingold <sds@gnu.org>
6524 * vc-arch.el (vc-arch-command): Also try "baz" and "bzr".
6526 2007-06-12 Juanma Barranquero <lekktu@gmail.com>
6528 * desktop.el (desktop-load-locked-desktop): New option.
6529 (desktop-read): Use it.
6530 (desktop-truncate, desktop-outvar, desktop-restore-file-buffer):
6533 2007-06-12 Davis Herring <herring@lanl.gov>
6535 * desktop.el (desktop-save-mode-off): New function.
6536 (desktop-base-lock-name, desktop-not-loaded-hook): New variables.
6537 (desktop-full-lock-name, desktop-file-modtime, desktop-owner)
6538 (desktop-claim-lock, desktop-release-lock): New functions.
6539 (desktop-kill): Tell `desktop-save' that this is the last save.
6540 Release the lock afterwards.
6541 (desktop-buffer-info): New function.
6542 (desktop-save): Use it. Run `desktop-save-hook' where the doc
6543 says to. Detect conflicts, and manage the lock.
6544 (desktop-read): Detect conflicts. Manage the lock.
6546 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6548 * emulation/tpu-mapper.el (tpu-emacs-map-key): Use new keymap names.
6550 * emulation/tpu-edt.el (tpu-gold-map): Rename from GOLD-map.
6551 (tpu-lucid-emacs-p): Remove. Use (featurep 'xemacs) instead.
6552 (CSI-map, GOLD-CSI-map, GOLD-SS3-map, SS3-map): Delete vars.
6553 (tpu-gold-map, tpu-global-map): Add all the SS3 and CSI bindings, using
6554 keysyms rather than byte sequences.
6555 (tpu-copy-keyfile): Don't force the user to use tpu-mapper.el.
6557 2007-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6559 * font-lock.el (font-lock-add-keywords): In case font-lock was only
6560 half-activated, forcefully activate it completely.
6562 2007-06-11 Richard Stallman <rms@gnu.org>
6564 * cus-edit.el (custom-variable-type): Doc fix.
6566 2007-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6568 * progmodes/sh-script.el (sh-font-lock-backslash-quote)
6569 (sh-font-lock-flush-syntax-ppss-cache): New functions.
6570 (sh-font-lock-syntactic-keywords): Use them to distinguish the
6571 different possible cases for \'.
6573 * complete.el (PC-bindings): Don't bind things already bound in the
6576 * textmodes/bibtex-style.el: New file.
6578 2007-06-11 Riccardo Murri <riccardo.murri@gmail.com>
6580 * vc-bzr.el: New file.
6582 2007-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6584 * vc-svn.el (vc-svn-program): New var.
6585 (vc-svn-command): Use it.
6587 2007-06-11 Juanma Barranquero <lekktu@gmail.com>
6589 * server.el (server-switch-buffer): Remove redundant check.
6591 2007-06-10 Martin Rudalics <rudalics@gmx.at>
6593 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
6594 Match against file-name-nondirectory.
6595 Fix text on user customization variables.
6596 Reported by Johan Bockg
\e,Ae
\e(Brd <bojohan@dd.chalmers.se>.
6598 2007-06-09 Alfred M. Szmidt <ams@gnu.org> (tiny change)
6600 * mail/rmail.el (rmail-movemail-variant-in-use): Fix doc typo.
6602 2007-06-09 Davis Herring <herring@lanl.gov>
6604 * desktop.el (desktop-minor-mode-table): Doc fix.
6606 2007-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6608 * textmodes/css-mode.el (css-navigation-syntax-table):
6609 Use set-char-table-range so it also works in the unicode branch.
6611 2007-06-08 Nick Roberts <nickrob@snap.net.nz>
6613 * help-mode.el (help-xref-forward-stack)
6614 (help-xref-stack-forward-item, help-forward-label): New variables.
6615 (help-forward): New button type.
6616 (help-setup-xref): Initialise help-xref-forward-stack.
6617 (help-make-xrefs): Add forward button, if appropriate.
6618 (help-xref-go-back): Push item on forward stack.
6619 (help-xref-go-forward, help-go-forward): New functions.
6621 2007-06-07 Chong Yidong <cyd@stupidchicken.com>
6623 * dired.el (dired-mode-map): Remove spurious separator.
6625 2007-06-07 Juanma Barranquero <lekktu@gmail.com>
6627 * progmodes/ebrowse.el (ebrowse-draw-file-member-info): Doc fix.
6629 * progmodes/mixal-mode.el (mixal-operation-codes-alist):
6630 * progmodes/idlwave.el (idlwave-one-key-select): Fix typo in docstring.
6632 2007-06-07 Carsten Dominik <dominik@science.uva.nl>
6634 * textmodes/org.el: Version number fixed.
6636 2007-06-07 Glenn Morris <rgm@gnu.org>
6638 * version.el (emacs-copyright): New constant.
6639 * startup.el (fancy-splash-tail): Use emacs-copyright.
6640 * calc/calc-help.el (calc-full-help): Use emacs-copyright.
6642 * emacs-lisp/bytecomp.el (byte-compile-warnings): Add new option
6644 (byte-compile-warnings-safe-p): Add `make-local'.
6645 (byte-compile-make-variable-buffer-local):
6646 Allow byte-compile-warnings to suppress this warning.
6648 * tutorial.el (tutorial--describe-nonstandard-key): Adjust for new
6649 format of "menu" description.
6650 (tutorial--find-changed-keys): Describe the specific menu a
6653 * dframe.el (dframe-frame-parameter, dframe-mouse-event-p):
6654 Rewrite compatibility functions to silence byte-compiler.
6656 2007-06-07 Alfred M. Szmidt <ams@gnu.org> (tiny change)
6658 * mail/rmailsum.el (rmail-summary-save-buffer): New command.
6659 (rmail-summary-mode-map): Add rmail-summary-save-buffer.
6661 2007-06-07 Eric M. Ludlam <eric@siege-engine.com>
6663 * emacs-lisp/checkdoc.el (checkdoc-ispell-lisp-words): Remove "iff".
6665 2007-06-07 Juanma Barranquero <lekktu@gmail.com>
6667 * progmodes/ebrowse.el (ebrowse-member-table):
6668 * textmodes/org.el (org-export-ascii-bullets, org-batch-agenda)
6669 (org-batch-agenda-csv): Fix typos in docstrings.
6671 2007-06-06 Juanma Barranquero <lekktu@gmail.com>
6673 * international/mule-cmds.el (toggle-enable-multibyte-characters)
6674 (sort-coding-systems, search-unencodable-char): Doc fixes.
6675 (coding-system-change-eol-conversion, set-default-coding-systems)
6676 (prefer-coding-system, find-multibyte-characters, princ-list)
6677 (leim-list-entry-regexp, set-input-method, locale-language-names)
6678 (input-method-exit-on-first-char, exit-language-environment-hook)
6679 (locale-charset-language-names): Fix typos in docstrings.
6681 2007-06-06 Juanma Barranquero <lekktu@gmail.com>
6683 * pgg.el (pgg-sign-region, pgg-sign):
6684 * ses.el (ses-call-printer):
6685 * calendar/icalendar.el (icalendar--diarytime-to-isotime):
6686 * textmodes/org.el (org-cycle): Fix typos in docstrings.
6688 2007-06-06 Carsten Dominik <dominik@science.uva.nl>
6691 (org-export-region-as-html, org-replace-region-by-html)
6692 (org-number-to-letters, org-table-fedit-finish)
6693 (org-normalize-color, org-table-fedit-ref-right)
6694 (org-date-to-gregorian, org-table-fedit-move)
6695 (org-table-convert-refs-to-rc, org-calendar-holiday)
6696 (org-table-fedit-toggle-ref-type, org-write-agenda)
6697 (org-colgroup-info-to-vline-list, org-agenda-todo-previousset)
6698 (org-defkey, org-encode-for-stdout)
6699 (org-indent-line-function, org-export-as-html-to-buffer)
6700 (org-store-agenda-views, org-update-mode-line)
6701 (org-find-if, org-delete-all)
6702 (org-table-fedit-convert-buffer, org-emphasize)
6703 (org-uniquify, org-table-fedit-lisp-indent)
6704 (org-table-fedit-scroll, org-get-todo-sequence-head)
6705 (org-table-fedit-scroll-down, org-table-fedit-line-down)
6706 (org-table-fedit-ref-left, org-agenda-export-csv-mapper)
6707 (org-table-fedit-toggle-coordinates, org-dvipng-color)
6708 (org-table-fedit-line-up, org-table-fedit-ref-down)
6709 (org-table-formula-from-user, org-mode-flyspell-verify)
6710 (org-cycle-show-empty-lines, org-ctrl-c-ret)
6711 (org-table-formula-to-user, org-diary-to-ical-string)
6712 (orgtbl-export, org-table-fedit-post-command)
6713 (org-closed-in-range, org-shiftcontrolright)
6714 (org-table-convert-refs-to-an, org-table-hline-and-move)
6715 (org-table-formula-less-p, org-format-table-ascii)
6716 (org-agenda-get-sexps, org-shift-refpart)
6717 (org-diary-sexp-entry, org-time-string-to-absolute)
6718 (org-table-show-reference, org-letters-to-number)
6719 (org-fix-agenda-info, org-table-fedit-ref-up)
6720 (org-table-fedit-shift-reference, org-table-fedit-abort)
6721 (org-closest-date, org-shiftcontrolleft)
6722 (org-at-heading-or-item-p, org-rematch-and-replace)
6723 (org-agenda-todo-nextset, org-export-grab-title-from-buffer):
6725 (org-table-edit-scroll-down, org-finish-edit-formulas)
6726 (org-table-edit-next-field, org-abort-edit-formulas)
6727 (org-font-lock-level, org-export-find-first-heading-line)
6728 (org-table-edit-line-down, org-table-edit-backward-field)
6729 (org-edit-formula-lisp-indent, org-table-edit-move)
6730 (org-check-log-option, org-this-word)
6731 (org-table-edit-line-up, org-table-edit-formulas-post-command)
6732 (org-agenda-file-to-end, org-expand-file-name)
6733 (org-fake-empty-table-line, org-table-edit-scroll)
6734 (org-toggle-log-option, org-show-reference): Function removed.
6735 (org-inhibit-invisibility, org-table-formula-make-cmp-string):
6737 (org-unmodified, org-batch-store-agenda-views)
6738 (org-batch-agenda-csv): New macro.
6739 (org-agenda-export): New customization group.
6740 (org-agenda-skip-deadline-if-done, org-agenda-remove-tags)
6741 (org-highest-priority, org-agenda-exporter-settings)
6742 (org-log-done-with-time, org-replace-disputed-keys)
6743 (org-format-latex-header, org-export-table-header-tags)
6744 (org-cycle-separator-lines, org-export-table-data-tags)
6745 (org-icalendar-include-sexps)
6746 (org-empty-line-terminates-plain-lists)
6747 (org-log-repeat, org-special-ctrl-a)
6748 (org-table-use-standard-references, org-disputed-keys)
6749 (org-export-skip-text-before-1st-heading, org-agenda-with-colors)
6750 (org-agenda-export-html-style): New option.
6751 (org-allow-auto-repeat, org-agenda-remove-tags-when-in-prefix)
6752 (org-CUA-compatible): Option removed.
6753 (org-agenda-structure, org-sexp-date): New face.
6754 (org-todo-keywords-for-agenda, org-not-done-keywords)
6755 (org-planning-or-clock-line-re, org-agenda-name)
6756 (org-table-colgroup-info, org-todo-sets)
6757 (constants-unit-system, org-clock-mode-line-entry)
6758 (org-mode-line-timer, org-table-current-begin-pos)
6759 (org-todo-keywords-1, org-mode-line-string)
6760 (org-table-clean-did-remove-column, org-table-fedit-map)
6761 (org-clock-heading, org-table-buffer-is-an)
6762 (org-agenda-info, org-done-keywords)
6763 (org-done-keywords-for-agenda, org-todo-heads)
6764 (org-todo-kwd-alist, org-clock-start-time): New variable.
6765 (org-todo-kwd-priority-p, org-edit-formulas-map)
6766 (org-repeat-re, org-todo-kwd-max-priority)
6767 (org-version, org-done-string)
6768 (org-table-clean-did-remove-column-1, org-disputed-keys):
6770 (org-table-translate-regexp, org-repeat-re, org-version): New consts.
6771 (org-ts-lengths): Constant removed.
6772 (org-follow-gnus-link): Don't ask how many articles to read.
6773 (org-export-find-first-export-line): Rename from
6774 `org-export-find-first-heading'.
6775 Use `org-export-skip-text-before-1st-heading'.
6776 (org-table-fedit-post-command): Rename from
6777 `org-table-edit-formulas-post-command'.
6778 (org-table-fedit-finish): Rename from `org-finish-edit-formulas'.
6779 (org-table-fedit-abort): Rename from `org-abort-edit-formulas'.
6780 (org-table-fedit-lisp-indent): Rename from
6781 `org-edit-formula-lisp-indent'.
6782 (org-table-show-reference): Rename from `org-show-reference'.
6783 (org-table-store-formulas): Use `org-table-formula-less-p'.
6784 (org-table-edit-formulas): Position cursor to current field equation.
6785 (org-update-checkbox-count, org-hide-archived-subtrees)
6786 (org-timestamp-up-day, org-timestamp-down-day)
6787 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
6788 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
6789 (org-metadown, org-shiftup, org-shiftdown, org-shiftright)
6790 (org-shiftleft, org-ctrl-c-ctrl-c, org-context):
6791 Let `org-on-heading-p' also check for invisible heading.
6792 (org-read-date): Match am/pm times.
6793 (org-eval-in-calendar): Fix default date in prompt.
6795 2007-06-05 Chong Yidong <cyd@stupidchicken.com>
6797 * files.el (auto-mode-alist): Separate "ChangeLog.1" and
6798 "ChangeLog.a" entries, giving the latter lower priority.
6800 2007-06-05 Juanma Barranquero <lekktu@gmail.com>
6802 * faces.el (face-id): If the argument is a face alias,
6803 return the ID of the target face.
6805 2007-06-05 Michael Albinus <michael.albinus@gmx.de>
6807 * net/socks.el (top): Remove unnecessary copyright line.
6809 2007-06-04 Chong Yidong <cyd@stupidchicken.com>
6811 * longlines.el (longlines-auto-wrap): Handle argument correctly.
6813 2007-06-04 Michael Albinus <michael.albinus@gmx.de>
6815 * net/socks.el: New file, taken from w3 repository.
6816 (top): Update Copyright. Don't load cl.el.
6817 (all): Replace `case' by `cond', `string-to-int' by
6818 `string-to-number', and `process-kill-without-query' by
6819 `set-process-query-on-exit-flag'.
6820 (socks-char-int): Remove defalias and all occurrences.
6822 2007-06-04 Juanma Barranquero <lekktu@gmail.com>
6824 * progmodes/compile.el (compilation-find-file, compilation-handle-exit):
6825 Fix typos in docstrings.
6826 (compilation-search-path, compilation-buffer-name-function): Doc fixes.
6827 (compilation-finish-function): Fix typo in obsolescence declaration.
6829 2007-06-03 Sam Steingold <sds@gnu.org>
6831 * progmodes/compile.el: Add TIMESTAMP to the LOC data structure, to
6832 handle unending automatic recompilation of changed files (`omake -P').
6833 (compilation-loop): VISITED is now 5th CDR.
6834 (compilation-next-error-function): Set TIMESTAMP.
6836 2007-06-03 Sam Steingold <sds@gnu.org>
6838 * files.el (kill-buffer-ask): New function.
6839 (kill-some-buffers): Use it.
6840 (kill-matching-buffers): New user command.
6842 2007-06-01 David Kastrup <dak@gnu.org>
6844 * dired.el (dired-recursive-deletes, dired-recursive-copies):
6845 Change default to `top'.
6847 2007-05-31 Richard Stallman <rms@gnu.org>
6849 * dired.el (dired-do-flagged-delete, dired-do-delete): Doc fix.
6851 2007-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6853 * textmodes/css-mode.el: New file.
6855 2007-05-30 Michael Olson <mwolson@gnu.org>
6857 * emacs-lisp/tq.el (tq-queue-pop): Stifle error when a process has
6858 died and we are trying to send a signal to it. The program using
6859 tq.el should periodically check to see whether the process has
6860 died and react appropriately -- this is not the responsibility of
6861 tq.el, and is consistent with the rest of the tq.el source code.
6863 2007-05-29 Martin Rudalics <rudalics@gmx.at>
6865 * textmodes/table.el (table--point-entered-cell-function)
6866 (table--point-left-cell-function):
6867 Bind `inhibit-point-motion-hooks' to t.
6869 2007-05-29 Nikolaj Schumacher <n_schumacher@web.de> (tiny change)
6871 * emacs-lisp/rx.el (rx): Doc fix.
6873 2007-05-28 Juanma Barranquero <lekktu@gmail.com>
6875 * progmodes/idlwave.el (idlwave-routines): Fix typo in docstring.
6877 2007-05-28 Michael Albinus <michael.albinus@gmx.de>
6879 Sync with Tramp 2.0.56.
6884 * net/tramp-util.el:
6886 Don't load cl.el, because that pollutes the namespace. Replace cl
6887 macros by their implementations where necessary. Requested by
6888 Richard Stallman <rms@gnu.org>.
6890 * net/tramp.el (top): Make `set-buffer-multibyte' an alias if it
6892 (with-parsed-tramp-file-name): Protect debug spec during compilation.
6893 (tramp-handle-insert-directory): Check (featurep 'ls-lisp).
6894 (tramp-file-name-p, tramp-file-name-multi-method)
6895 (tramp-file-name-method, tramp-file-name-user)
6896 (tramp-file-name-host, tramp-file-name-localname): New defuns,
6897 replacing defstruct `tramp-file-name'.
6898 (tramp-handle-file-remote-p, tramp-completion-dissect-file-name1)
6899 (tramp-dissect-file-name, tramp-dissect-multi-file-name):
6900 Apply `vector' instead of `make-tramp-file-name'.
6901 (tramp-handle-make-auto-save-file-name):
6902 Apply `tramp-temporary-file-directory' for compatibility reasons.
6903 (tramp-completion-mode): Use `natnump' instead of `wholenump'
6905 (tramp-completion-mode): `last-input-event' is nil when XEmacs is
6908 2007-05-28 Chong Yidong <cyd@stupidchicken.com>
6910 * textmodes/sgml-mode.el (sgml-point-entered): Use condition-case.
6912 2007-05-27 Tetsurou Okazaki <okazaki@be.to> (tiny change)
6914 * log-edit.el (log-edit-changelog-paragraph): Return point-max
6915 as the end of the ChangeLog paragraph when it ends without a line
6918 2007-05-27 Ryan Yeske <rcyeske@gmail.com>
6920 * net/webjump.el (webjump-sample-sites):
6921 Add simple Wikipedia query.
6923 2007-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6925 * emacs-lisp/derived.el (define-derived-mode): Remove bogus
6928 * emacs-lisp/copyright.el (copyright-names-regexp): New var.
6929 (copyright-update-year): Use it.
6931 * edmacro.el (edmacro-format-keys): Use current-active-maps.
6933 * ediff-init.el (ediff-defvar-local, ediff-with-current-buffer):
6934 Add indentation and debugging info. Fix up comment convention.
6936 * cus-dep.el (custom-make-dependencies): Simplify.
6938 * composite.el (compose-region, decompose-region):
6939 Use inhibit-read-only and restore-buffer-modified-p.
6941 * xt-mouse.el (xterm-mouse-truncate-wrap): New function.
6942 (xterm-mouse-event): Use it.
6944 2007-05-25 Juanma Barranquero <lekktu@gmail.com>
6946 * bs.el (bs-cycle-previous): Don't modify the cycle list until
6947 `switch-to-buffer' has returned succesfully.
6948 (bs-cycle-next): Ditto. Also, don't bury the buffer when the
6949 window is dedicated (it could iconify the frame).
6951 2007-05-25 Miles Bader <miles@fencepost.gnu.org>
6953 * vc-hooks.el (vc-find-root): Fix file attribute test.
6955 2007-05-24 Richard Stallman <rms@gnu.org>
6957 * textmodes/flyspell.el (flyspell-correct-word-before-point):
6958 Don't let opoint be nil.
6959 (flyspell-emacs-popup): Explicit error if no dialogs.
6961 2007-05-24 Chong Yidong <cyd@stupidchicken.com>
6963 * image-mode.el (image-forward-hscroll, image-backward-hscroll)
6964 (image-next-line, image-previous-line, image-scroll-up)
6965 (image-scroll-down, image-bol, image-eol, image-bob, image-eob):
6967 (image-mode-map): Remap motion commands.
6968 (image-mode-text-map): New keymap for viewing images as text.
6969 (image-mode): Use image-mode-map.
6970 (image-toggle-display): Toggle auto-hscroll-mode and mode keymaps.
6972 2007-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6974 * textmodes/fill.el (canonically-space-region): Make the second arg
6975 a marker if it's not already the case.
6977 2007-05-23 Eli Zaretskii <eliz@gnu.org>
6979 * tar-mode.el (tar-header-block-summarize, tar-summarize-buffer)
6980 (tar-get-descriptor): Handle type 55, an extended pax header.
6982 2007-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6984 * autoinsert.el (auto-insert-alist): Quote elisp sample code so as not
6985 to confuse outline-minor-mode.
6987 2007-05-23 Eli Zaretskii <eliz@gnu.org>
6989 * tar-mode.el (tar-file-name-handler): New function.
6990 (tar-extract): Bind file-name-handler-alist to it to force
6991 find-buffer-file-type-coding-system behave as if the file being
6992 extracted existed. Use last-coding-system-used to force
6993 buffer-file-coding-system to what decode-coding-region actually
6994 used to decode the file.
6996 2007-05-23 Nikolaj Schumacher <n_schumacher@web.de> (tiny change)
6998 * progmodes/compile.el (compilation-handle-exit):
6999 `compilation-finish-function' may change the current buffer.
7001 2007-05-22 Richard Stallman <rms@gnu.org>
7003 * files.el (set-auto-mode): Doc fix.
7005 2007-05-22 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
7007 * help-fns.el (find-source-lisp-file): New function.
7008 (describe-function-1): Use find-source-lisp-file to find source
7009 file in compile tree.
7011 2007-05-22 Eli Zaretskii <eliz@gnu.org>
7013 * dos-w32.el (find-buffer-file-type-coding-system): Doc fix.
7015 2007-05-22 Juanma Barranquero <lekktu@gmail.com>
7017 * emacs-lisp/easy-mmode.el (define-minor-mode)
7018 (easy-mmode-define-navigation): Fix typos in docstrings.
7020 2007-05-22 Glenn Morris <rgm@gnu.org>
7022 * files.el (auto-mode-alist): Open `.asd' files in lisp-mode.
7024 2007-05-22 Katsumi Yamaoka <yamaoka@jpl.org>
7026 * mail/mail-extr.el (mail-extract-address-components):
7027 Recognize non-ASCII characters except for NBSP as words.
7029 2007-05-21 Trent Buck <trentbuck@gmail.com> (tiny change)
7031 * net/rcirc.el (rcirc-fill-column): Allow `window-width'.
7032 (rcirc-print): Handle `window-width'.
7033 (rcirc-buffer-maximum-lines): Doc fix.
7035 2007-05-21 Chong Yidong <cyd@stupidchicken.com>
7037 * image-mode.el (image-toggle-display): Don't clear image cache.
7038 Only use filename in image spec if the file is readable.
7041 * image.el (image-type-from-file-name, image-type): Simplify.
7042 (image-type-auto-detected-p): Don't scan auto-mode-alist.
7044 * files.el (magic-mode-alist): Remove image-type-auto-detected-p.
7045 (magic-fallback-mode-alist): Add image-type-auto-detected-p.
7047 2007-05-20 Nick Roberts <nickrob@snap.net.nz>
7049 * t-mouse.el (t-mouse-mode): Reset t-mouse-mode to nil if there
7052 * term/linux.el (terminal-init-linux): Don't signal an error
7053 if gpm isn't running.
7055 2007-05-20 Nick Roberts <nickrob@snap.net.nz>
7057 * t-mouse.el: Reduce to a minor-mode macro call.
7058 (t-mouse-mode): Remove the lighter.
7060 * term/linux.el (terminal-init-linux): Enable t-mouse by default.
7062 2007-05-19 Dan Nicolaescu <dann@ics.uci.edu>
7064 * files.el (auto-mode-alist): Change the regexp so that
7065 ChangeLog.unicode and ChangeLog.multi-tty use change-log-mode.
7067 2007-06-02 Chong Yidong <cyd@stupidchicken.com>
7069 * Version 22.1 released.
7071 2007-05-19 Chong Yidong <cyd@stupidchicken.com>
7073 * paren.el (show-paren-function): Undo 2007-04-19 and 2007-04-20
7076 2007-05-19 Kevin Ryde <user42@zip.com.au>
7078 * info.el (Info-fontify-node): Fontify https as well as http and ftp.
7080 2007-05-18 Thien-Thi Nguyen <ttn@gnuvola.org>
7082 * textmodes/sgml-mode.el: Revert last change.
7084 2007-05-18 Richard Stallman <rms@gnu.org>
7086 * simple.el (push-mark): Doc fix.
7088 2007-05-18 Rob Riepel <riepel@Stanford.EDU>
7090 * emulation/tpu-edt.el (CSI-map, SS3-map): Move from global-map to
7092 (tpu-original-global-map): Variable deleted.
7093 (tpu-control-keys-map): New keymap variable.
7094 (tpu-set-control-keys): Use tpu-reset-control-keys rather than
7095 setting keymapping directly.
7096 (tpu-reset-control-keys): Use tpu-control-keys-map instead of
7098 (tpu-edt-on): Activate the tpu-global-map.
7099 (tpu-edt-off): Deactivate the tpu-global-map.
7101 2007-05-18 Ryan Yeske <rcyeske@gmail.com>
7103 * textmodes/ispell.el (ispell-get-word): Return markers
7104 for start and end positions.
7105 (ispell-word): Assume END is a marker.
7107 2007-05-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7109 * printing.el: Group together all XEmacs/Emacs definitions.
7110 (pr-version): New version 6.9.
7111 (pr-global-menubar, pr-menu-char-height, pr-menu-char-width): New funs.
7112 (pr-menu-char-height, pr-menu-char-width): Fix initialization code.
7113 (pr-menu-bind): Fix code.
7114 (pr-e-frame-char-height, pr-e-frame-char-width)
7115 (pr-e-mouse-pixel-position, pr-x-add-submenu, pr-x-event-function)
7116 (pr-x-event-object, pr-x-find-menu-item, pr-x-font-height)
7117 (pr-x-font-width, pr-x-get-popup-menu-response, pr-x-make-event)
7118 (pr-x-misc-user-event-p, pr-x-relabel-menu-item, pr-x-event-x-pixel)
7119 (pr-x-event-y-pixel): Aliases eliminated.
7120 (pr-xemacs-global-menubar): Macro moved.
7121 (current-menubar, current-mouse-event, zmacs-region-stays)
7122 (deactivate-mark, pr-menu-position, pr-menu-state, pr-ps-name-old)
7123 (pr-txt-name-old, pr-ps-utility-old, pr-even-or-odd-old, pr-temp-menu):
7125 (pr-region-active-p, pr-menu-position, pr-menu-lookup, pr-menu-lock)
7126 (pr-update-mode-line, pr-do-update-menus, pr-menu-alist)
7127 (pr-relabel-menu-item, pr-menu-set-ps-title, pr-menu-set-txt-title)
7128 (pr-menu-set-utility-title, pr-even-or-odd-pages)
7129 (pr-f-set-keymap-parents, pr-f-set-keymap-name, pr-f-read-string)
7130 (pr-keep-region-active, pr-menu-get-item, pr-menu-set-item-name): Funs
7133 2007-05-17 Christian Plate <cplate@web.de> (tiny change)
7135 * textmodes/sgml-mode.el (sgml-tag):
7136 Fix bug: Call sgml-transformation-function.
7138 2007-05-17 Martin Rudalics <rudalics@gmx.at>
7140 * hilit-chg.el (highlight-changes-rotate-faces): Don't set
7141 modified flag of buffer. Use `inhibit-modification-hooks'.
7143 2007-05-16 Richard Stallman <rms@gnu.org>
7145 * buff-menu.el (Buffer-menu-sort-column): Doc fix.
7147 2007-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7149 * files.el (magic-mode-alist, magic-fallback-mode-alist):
7150 Move the *ml, Postscript, and XmCD entries to the fallback part.
7152 * files.el (magic-fallback-mode-alist):
7153 Rename from file-start-mode-alist.
7155 2007-05-16 Nikolaj Schumacher <n_schumacher@web.de> (tiny change)
7157 * progmodes/compile.el (compilation-handle-exit): Quote first
7158 argument of `run-hook-with-args'.
7160 2007-05-16 Juanma Barranquero <lekktu@gmail.com>
7162 * buff-menu.el (Buffer-menu-sort-column):
7163 * dabbrev.el (dabbrev-upcase-means-case-search):
7164 * dired.el (dired-recursive-deletes, dired-recursive-copies):
7165 * info.el (Info-current-subfile):
7166 * ls-lisp.el (ls-lisp-verbosity):
7167 * msb.el (msb-menu-cond):
7168 * pcvs.el (cvs-dired-use-hook):
7169 * simple.el (set-mark-command-repeat-pop):
7170 * time.el (display-time-24hr-format, display-time-mail-file):
7173 * tutorial.el (get-lang-string, tutorial--find-changed-keys):
7174 * printing.el (pr-ps-fast-fire): Fix typos in docstrings.
7176 * view.el (view-inhibit-help-message): Fix typo in docstring.
7177 (view-scroll-auto-exit, view-try-extend-at-buffer-end): Doc fixes.
7179 2007-05-16 Martin Rudalics <rudalics@gmx.at>
7181 * textmodes/ispell.el (ispell-start-process): Defend against bad
7184 2007-05-14 Eli Zaretskii <eliz@gnu.org>
7186 * mail/rmail.el (rmail-convert-to-babyl-format): Check
7187 content-transfer-encoding _last_, because it's its position that
7188 we need as value of base64-header-field-end.
7190 2007-05-14 Juanma Barranquero <lekktu@gmail.com>
7192 * files.el (mode-require-final-newline, require-final-newline)
7193 (enable-local-variables, enable-local-eval): Doc fixes.
7195 2007-05-13 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7197 * ps-print.el: Use default color when foreground or background color
7198 are unspecified. Reported by Leo <sdl.web@gmail.com>.
7199 (ps-print-version): New version 6.7.4.
7200 (ps-rgb-color): New argument. Use default color when color is
7202 (ps-begin-job): Fix code.
7204 2007-05-12 Chong Yidong <cyd@stupidchicken.com>
7206 * longlines.el (longlines-mode): Make longlines-auto-wrap
7207 buffer-local. Add hooks unconditionally.
7208 (longlines-auto-wrap): Toggle wrapping.
7209 (longlines-after-change-function)
7210 (longlines-post-command-function): Check longlines-auto-wrap.
7212 2007-05-12 Nick Roberts <nickrob@snap.net.nz>
7214 * xt-mouse.el (xterm-mouse-debug-buffer): New variable.
7215 (xterm-mouse-translate): Use it.
7217 2007-05-10 Richard Stallman <rms@gnu.org>
7219 * international/iso-cvt.el (iso-cvt-read-only): Ignore arguments.
7220 (iso-cvt-write-only): Likewise.
7222 * emacs-lisp/easy-mmode.el (define-minor-mode):
7223 Fix generated doc string.
7225 * startup.el (fancy-splash-text): Add URL of guided tour.
7226 Adjust horizontal and vertical whitespace.
7228 * progmodes/compile.el (compilation-handle-exit):
7229 Use run-hook-with-args to run compilation-finish-functions.
7231 * files.el (file-start-mode-alist): New variable.
7232 (magic-mode-regexp-match-limit): Doc fix.
7233 (set-auto-mode): Handle file-start-mode-alist.
7234 A little cleanup of structure.
7236 * dabbrev.el (dabbrev-eliminate-newlines):
7237 Renamed from dabbrev--eliminate-newlines. All uses changed.
7239 2007-05-10 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
7241 * man.el (Man-next-section): Don't consider the last line of the page
7242 as being part of any section.
7244 2007-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
7246 * textmodes/sgml-mode.el (sgml-value): Fix handling of attributes which
7247 can take any number of values.
7249 2007-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7251 * textmodes/tex-mode.el (tex-font-lock-keywords-2): Add citet and citep
7252 to the list of citation commands.
7254 2007-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7256 * vc-hooks.el (vc-find-root): Stop searching when the user changes.
7258 2007-05-09 Edward O'Connor <hober0@gmail.com> (tiny change)
7260 * progmodes/python.el (python-font-lock-keywords)
7261 (python-open-block-statement-p, python-mode): Add support for the new
7264 2007-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7266 * diff-mode.el (diff-apply-hunk, diff-test-hunk): Don't do by default
7267 the exact opposite of diff-goto-source.
7269 * emacs-lisp/advice.el (ad-special-forms): Remove.
7270 (ad-special-form-p): Use subr-arity.
7272 * newcomment.el (comment-search-forward): Make sure we search forward.
7273 (comment-enter-backward): Try and distinguish the non-matching case at
7274 EOB from the non-matching case with a missing comment-end-skip for
7275 a 2-char comment ender.
7276 (comment-choose-indent): New function extracted from comment-indent.
7277 Improve the alignment algorithm.
7278 (comment-indent): Use it.
7280 * textmodes/sgml-mode.el (sgml-lexical-context): Add handling of
7281 XML style Processing Instructions.
7282 (sgml-parse-tag-backward): Handle XML-style PIs. Also ensure progress.
7283 (sgml-calculate-indent): Handle `pi' context.
7285 * vc.el: Ensure that update-changelog issues an error when used with
7286 a backend that does not implement it.
7287 (vc-update-changelog-rcs2log): Rename from vc-default-update-changelog.
7288 Remove `backend' argument. Use expand-file-name.
7289 (vc-cvs-update-changelog, vc-rcs-update-changelog): New aliases.
7291 * progmodes/python.el (python-end-of-block): Revert last change.
7292 (python-end-of-statement): Make sure we move *forward*.
7294 2007-05-08 Richard Stallman <rms@gnu.org>
7296 * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook):
7297 Don't include non-self-insert commands in the exception for `-'.
7299 2007-05-08 David Reitter <david.reitter@gmail.com>
7301 * progmodes/python.el (python-guess-indent): Check non-nullness
7302 before comparing indent against the 2..8 interval.
7304 2007-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7306 * term/mac-win.el (mac-ts-unicode-for-key-event): Check if text is
7309 2007-05-06 Richard Stallman <rms@gnu.org>
7311 * emacs-lisp/eldoc.el (turn-on-eldoc-mode): Doc fix.
7313 2007-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7315 * diff.el (diff): Use buffer-local vars diff-old-file and diff-new-file
7316 rather than storing their value in the revert-buffer function.
7318 2007-05-04 Nick Roberts <nickrob@snap.net.nz>
7320 * t-mouse.el (t-mouse-mode): Do nothing on a graphical display
7321 when disabling t-mouse-mode.
7323 2007-05-01 Davis Herring <herring@lanl.gov>
7325 * calendar/timeclock.el: Update version number.
7326 (timeclock-modeline-display): Mention timeclock-use-display-time
7327 in explanatory message.
7328 (timeclock-in): Fix non-interactive workday specifications.
7329 (timeclock-log): Don't kill the log buffer if it already existed.
7330 Suppress warnings when finding the log. Don't check for a nil
7331 project twice. Run hooks after killing the buffer (if applicable).
7332 (timeclock-geometric-mean): Rename to `timeclock-mean' (it never
7333 was geometric). All uses changed.
7334 (timeclock-generate-report): Support prefix argument.
7336 2007-05-03 Ryan Yeske <rcyeske@gmail.com>
7338 * net/rcirc.el (rcirc-timeout-seconds): Increase to prevent unwanted
7341 2007-05-01 Romain Francoise <romain@orebokech.com>
7343 * dired-x.el: Revert 2007-04-06 change.
7345 2007-04-29 Stephen Berman <Stephen.Berman@gmx.net>
7347 * find-dired.el (find-dired-filter): Propertize all text down to eob.
7349 2007-04-29 Richard Stallman <rms@gnu.org>
7351 * international/mule.el (auto-coding-alist): Add pdf => no-conversion.
7353 2007-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7355 * progmodes/cc-mode.el (c-before-change): Use point-min rather
7358 2007-04-28 Richard Stallman <rms@gnu.org>
7360 * progmodes/sh-script.el (sh-mode): Recognize .profile as sh style.
7362 2007-04-28 Nick Roberts <nickrob@snap.net.nz>
7364 * progmodes/gud.el (gud-menu-map): Pdb can't handle SIGINT so
7365 don't put stop on toolbar.
7367 2007-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7369 * vc-hooks.el (vc-ignore-dir-regexp): Add /.../ for the DFS filesystem.
7371 2007-04-28 Eli Zaretskii <eliz@gnu.org>
7373 * makefile.w32-in ($(lisp)/mh-e/mh-loaddefs.el): Use ./mh-e
7374 instead of $(lisp)/mh-e.
7376 2007-04-28 Glenn Morris <rgm@gnu.org>
7378 * image-dired.el (image-dired-cmd-create-thumbnail-options)
7379 (image-dired-cmd-create-temp-image-options): Replace option
7380 +profile "*" with -strip.
7382 2007-04-27 Chong Yidong <cyd@stupidchicken.com>
7384 * textmodes/flyspell.el (flyspell-auto-correct-previous-word):
7385 Use window-start and window-end.
7387 2007-04-27 Andreas Schwab <schwab@suse.de>
7389 * emacs-lisp/sregex.el (sregexq): Fix doc string quoting.
7391 2007-04-27 Eli Zaretskii <eliz@gnu.org>
7393 * textmodes/fill.el (fill-paragraph): Doc fix.
7395 2007-04-26 Luc Teirlinck <teirllm@dms.auburn.edu>
7397 * locate.el (locate-in-alternate-database): Doc fix.
7399 2007-04-26 Glenn Morris <rgm@gnu.org>
7401 * button.el (button): Use underline if supported, else fall back
7404 * version.el (emacs-version): Increase to 22.1.50.
7406 2007-04-25 Richard Stallman <rms@gnu.org>
7408 * hi-lock.el (hi-lock-file-patterns-policy): Default to `ask'.
7410 2007-04-25 J.D. Smith <jdsmith@as.arizona.edu>
7412 * progmodes/idlwave.el (idlwave-beginning-of-subprogram)
7413 (idlwave-end-of-subprogram): Take optional NOMARK arg to prevent
7415 (idlwave-current-routine): Don't push mark.
7417 2007-04-25 Mathias Dahl <mathias.dahl@gmail.com>
7419 * image-dired.el (image-dired-display-image): Derive image-type from
7420 filename rather than assuming jpeg, in case no resizing was needed.
7422 2007-04-25 Johan Bockg
\e,Ae
\e(Brd <bojohan@dd.chalmers.se>
7424 * custom.el (defface): Doc fix.
7426 See ChangeLog.12 for earlier changes.
7429 ;; coding: iso-2022-7bit
7430 ;; add-log-time-zone-rule: t
7433 Copyright (C) 2007 Free Software Foundation, Inc.
7435 This file is part of GNU Emacs.
7437 GNU Emacs is free software; you can redistribute it and/or modify
7438 it under the terms of the GNU General Public License as published by
7439 the Free Software Foundation; either version 3, or (at your option)
7442 GNU Emacs is distributed in the hope that it will be useful,
7443 but WITHOUT ANY WARRANTY; without even the implied warranty of
7444 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7445 GNU General Public License for more details.
7447 You should have received a copy of the GNU General Public License
7448 along with GNU Emacs; see the file COPYING. If not, write to the
7449 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
7450 Boston, MA 02110-1301, USA.
7452 ;; arch-tag: 1e8aa93a-fc6c-4ac3-9b10-1f445e1840af