Thien-Thi Nguyen [Thu, 24 Jan 2008 08:54:00 +0000 (08:54 +0000)]
Handle dead buffers in async filters/sentinels.
(vc-process-filter): Do nothing if buffer not live.
(vc-diff-finish): Rename from vc-diff-sentinel.
No longer take REV1-NAME and REV2-NAME.
Instead, take BUFFER-NAME. Do nothing if buffer not live.
Don't do window resize if no window displays buffer.
(vc-diff-internal): Use vc-diff-finish.
Michael Albinus [Wed, 23 Jan 2008 20:45:03 +0000 (20:45 +0000)]
* net/tramp.el (tramp-remote-process-environment): Set "LC_ALL=C".
(tramp-end-of-output): Add `tramp-rsh-end-of-line' into the
regexp.
(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
Don't send `tramp-rsh-end-of-line' additionally, when setting the
prompt.
(tramp-wait-for-output): Distinguish different prompt formats.
(tramp-get-test-nt-command): Don't check for "\n" in the prompt.
(tramp-local-host-p): Check whether temp directory is writable.
Carsten Dominik [Wed, 23 Jan 2008 10:49:31 +0000 (10:49 +0000)]
* replace.el (occur-mode-find-occurrence-hook): New hook that can
be used to reveal or highlight the location of a match.
(occur-mode-goto-occurrence)
(occur-mode-goto-occurrence-other-window)
(occur-mode-display-occurrence): Run
`occur-mode-find-occurrence-hook'.
Michael Albinus [Mon, 21 Jan 2008 20:11:58 +0000 (20:11 +0000)]
* net/dbus.el (dbus-ignore-errors): New macro.
(dbus-unregister-object): New defun. Moved from dbusbind.c.
(dbus-handle-event, dbus-list-activatable-names, dbus-list-names)
(dbus-list-queued-owners, dbus-get-name-owner, dbus-introspect)
(dbus-get-signatures): Apply `dbus-ignore-errors'.
Michael Albinus [Mon, 21 Jan 2008 20:06:15 +0000 (20:06 +0000)]
* net/dbus.el (dbus-ignore-errors): New macro.
(dbus-unregister-object): New defun. Moved from dbusbind.c.
(dbus-handle-event, dbus-list-activatable-names, dbus-list-names)
(dbus-list-queued-owners, dbus-get-name-owner, dbus-introspect)
(dbus-get-signatures): Apply `dbus-ignore-errors'.
(x_scroll_bar_create): Initialize bar->redraw_needed_p.
(XTset_vertical_scroll_bar): Redraw scroll bar if bar->redraw_needed_p
is set even without positional changes.
(x_scroll_bar_clear): Set bar->redraw_needed_p.
Martin Rudalics [Sun, 20 Jan 2008 10:35:27 +0000 (10:35 +0000)]
(repeat-undo-count): New variable.
(repeat): For self-insertions make undo boundary only after 20
repetitions. Inhibit point recording when repeat-repeat-char is
non-nil.
Martin Rudalics [Sat, 19 Jan 2008 16:29:08 +0000 (16:29 +0000)]
(hide-ifdef-shadow): New option.
(hide-ifdef-shadow): New face.
(hide-ifdef-toggle-shadowing): New function to toggle between
shadowing and making code invisible.
(hide-ifdef-mode-submap): Add binding for
hide-ifdef-toggle-shadowing.
(hide-ifdef-mode-menu): Add entry for
hide-ifdef-toggle-shadowing.
(hide-ifdef-region-internal): Give new overlay hide-ifdef
property. Shadow text when hide-ifdef-shadow is non-nil.
(hif-show-ifdef-region): Remove overlays with hide-ifdef
property set.
(hif-hide-line): Use when instead of if.
(hide-ifdef-initially, hide-ifdef-read-only, hide-ifdef-lines):
Remove unneeded * from doc-strings.
Kenichi Handa [Sat, 19 Jan 2008 05:55:50 +0000 (05:55 +0000)]
(detect_coding_iso2022): New arg
latin_extra_code_state. Allow Latin extra codes only
when *latin_extra_code_state is nonzero.
(detect_coding_mask): If there is a NULL byte, detect the encoding
as UTF-16 or binary. If Latin extra codes exist, detect the
encoding as ISO-2022 only when there's no other proper encoding is
found.
Stefan Monnier [Sat, 19 Jan 2008 05:22:33 +0000 (05:22 +0000)]
(Qauto_hscroll_mode): New var.
(syms_of_xdisp): Initialize it.
(hscroll_window_tree): Use it to lookup `auto-hscroll-mode' in each
window's buffer.
(hscroll_windows): Don't check automatic_hscrolling_p here.
Dan Nicolaescu [Fri, 18 Jan 2008 23:32:58 +0000 (23:32 +0000)]
* vc.el: Make vc-status asynchronous.
(vc-update-vc-status-buffer): New function broken out of ...
(vc-status-refresh): ... here. Pass vc-update-vc-status-buffer to
the dir-status backend function.
* vc-hg.el (vc-hg-dir-status): Compute the status asynchronously.
Move the output processing to ...
(vc-hg-after-dir-status): ... here. Call the function passed as
an argument with the results.
Stefan Monnier [Fri, 18 Jan 2008 20:09:26 +0000 (20:09 +0000)]
(doc-view-pdf/ps->png): Make sure we a have a valid cwd.
(doc-view-insert-image): Do something if the image is missing.
(doc-view-mode): Don't use file-remote-p.
Carsten Dominik [Fri, 18 Jan 2008 15:20:31 +0000 (15:20 +0000)]
(Property inheritance): New section
(Conventions): New section.
(Structure editing): Document C-RET, the prefix arg to the cut/cpy
commands, and the new bindings for refiling.
(Sparse trees): Document the new special command for sparse trees.
(References): Be more clear about the counting of hilines.
(Handling links): Document M-p/n for accessing links.
(Fast access to TODO states): New section.
(Per file keywords): New section.
(Property inheritance): New section.
(Column attributes): New summary types.
(Capturing Column View): New section.
(The date/time prompt): Cover the new features in the date/time
prompt. Compactify the table of keys for the calendar remote
control.
(Clocking work time): Document the new :scope parameter.
(Remember): Promoted to chapter.
(Quoted examples): New section.
(Enhancing text): New verbatim environments.
Carsten Dominik [Fri, 18 Jan 2008 15:17:35 +0000 (15:17 +0000)]
(org-export-latex-cleaned-string): Fixed.
(org-export-latex-special-chars): Convert "..." in \ldots and skip
tables
(org-export-latex-fontify-headline): Changed parameter name
(org-export-as-latex): Handle export of subtrees
(org-export-latex-make-header): New argument TITLE
(org-export-latex-content): New argument EXCLUDE-LIST
(org-list-parse-list): New name for org-export-latex-parse-list
(org-export-latex-make-header): New name for
org-export-latex-make-preamble
(org-list-to-generic): New name of org-export-list-to-generic
(org-list-to-latex): New name of org-export-list-to-latex
(org-list-item-begin, org-list-end, org-list-insert-radio-list)
(org-list-send-list, org-list-to-texinfo)
(org-list-to-html): New functions
(org-export-latex-tables-column-borders)
(org-export-latex-default-class, org-export-latex-classes)
(org-export-latex-classes-sectioning)
(org-list-radio-list-templates): New options
(org-export-latex-header): New variable
(org-latex-entities): New constant
(org-export-latex-default-sectioning, org-export-latex-preamble)
(org-export-latex-prepare-text-option)
(org-export-latex-get-sectioning): Removed