Stefan Monnier [Sat, 26 Jan 2008 21:54:44 +0000 (21:54 +0000)]
(server-buffer): New const.
(server-log): New var.
(server-log): Use them.
(server-process-filter): (Try to) run the continuation in the same cwd
as the client's.
Glenn Morris [Sat, 26 Jan 2008 20:20:20 +0000 (20:20 +0000)]
Ulf Jasper <ulf.jasper at web.de>
(icalendar-version): Increase to "0.17".
(icalendar-import-format): Doc fix. Allow function type.
(icalendar--read-element): Doc fix.
(icalendar--parse-summary-and-rest): Doc fix. Handle function
type icalendar-import-format. Make regexps non-greedy.
(icalendar--format-ical-event): Handle function type
icalendar-import-format.
(icalendar-import-format-sample): New function.
Martin Rudalics [Sat, 26 Jan 2008 17:23:56 +0000 (17:23 +0000)]
(wdired-get-filename): Change `(1+ beg)' to `beg' so
that the filename end is found even when the filename is empty.
Fixes error and spurious newlines when marking files for deletion.
Eli Zaretskii [Sat, 26 Jan 2008 15:04:33 +0000 (15:04 +0000)]
(get_sid_sub_authority, get_sid_sub_authority_count): Fix return values
on Windows 9x or when the corresponding advapi32.dll functions are
not available.
Michael Albinus [Sat, 26 Jan 2008 14:53:55 +0000 (14:53 +0000)]
* vc.el (vc-directory, vc-update-change-log): Remove check for
Tramp. Both functions work for it, though pretty slow
(`vc-directory'). Maybe the implementation can be optimized.
Eli Zaretskii [Sat, 26 Jan 2008 13:15:27 +0000 (13:15 +0000)]
(ls-lisp-insert-directory): If -n switch is used, invoke
directory-files-and-attributes with last argument `integer' instead
of `string'.
(insert-directory): Add -n to the list of supported switches mentioned in
the doc string.
Eli Zaretskii [Sat, 26 Jan 2008 13:04:14 +0000 (13:04 +0000)]
(g_b_init_get_sid_sub_authority, g_b_init_get_sid_sub_authority_count): New
static variables.
(GetSidSubAuthority_Proc, GetSidSubAuthorityCount_Proc): New typedefs.
(get_sid_sub_authority, get_sid_sub_authority_count): New functions.
(init_user_info): Use the above two new functions to retrieve uid and gid.
Use 500/513, the Windows defaults, as Administrator's uid/gid.
(redisplay_window): Run Qwindow_text_change_functions and
jump back to beginning. Move some other initializations after that.
(Qwindow_text_change_functions, (Vwindow_text_change_functions): New variables.
(syms_of_xdisp): Init them.
Dan Nicolaescu [Fri, 25 Jan 2008 05:38:31 +0000 (05:38 +0000)]
* ibuffer.el (ibuffer-default-sorting-mode): Add option to sort by
file name.
(ibuffer-mode-map): Add binding to sort by file name.
(ibuffer-filename/process-header-map): New variable.
(filename-and-process): Add a header that sorts by file name.
(ibuffer-mode): Mention sorting by file name.
Michael Albinus [Thu, 24 Jan 2008 21:28:56 +0000 (21:28 +0000)]
* net/tramp.el (tramp-do-copy-or-rename-file): Flush the cache of
the source file in case of `rename'. Reported by Pete Forman
<pete.forman@westerngeco.com>.
Ken Manheimer [Thu, 24 Jan 2008 17:53:29 +0000 (17:53 +0000)]
* allout.el (allout-keybindings-list): Use vectors instead of strings for keys.
(allout-line-boundary-regexp):
(set-allout-regexp):
(allout-prefix-data): Repair handling of formfeeds as header prefix.
(allout-write-file-hook-handler): Repair mangling of error handling.
(allout-region-active-p): Fallback to mark-active.
Ken Manheimer [Thu, 24 Jan 2008 17:45:28 +0000 (17:45 +0000)]
(allout-keybindings-list): In initial setting, express
meta-prefixed allout keys as vectors instead of strings, since the
string form is interpreted in some cases as composed key
modifiers, eg, accented keys.
(set-allout-regexp): Repair the expressions so that the formfeed part is
identified as one of the top-level groups, and is included in all the
forms, not just the -line-boundary-regexp one.
(allout-prefix-data): Incorporate information from the various allout
regexp's formfeed alternative group, when present.
(allout-write-file-hook-handler): Rectify mangling of the error handling.
It was broken in 2007-12-06T19:56:41Z!deego@gnufans.org, where an `error' condition-case handler was
apparently reformatted as if it was a call to the error function. An
apparent repair attempt in version 1.101 situated the original body of the
error handling code as bogus condition-case handlers. I've returned to
just about the working code that was originally there, removing an
unnecessary - but benign - enclosing 'progn'. \(Automated or cursory code
fixes often aren't.)
(allout-region-active-p): Fallback to value of mark-active if neither
use-region-p nor region-active-p are present, for compatability with
current and recent emacs major releases.
Dan Nicolaescu [Thu, 24 Jan 2008 15:14:52 +0000 (15:14 +0000)]
* sieve.el (sieve-make-overlay, sieve-overlay-put, sieve-overlays-at):
* message.el (message-beginning-of-line): Use featurep instead of bound
tests in order to resolve conditionals at compile time.
* textmodes/reftex-toc.el (reftex-toc-next, reftex-toc-previous)
(reftex-toc-restore-region):
* textmodes/reftex-index.el (reftex-index-initialize-phrases-buffer)
(reftex-index-phrases-apply-to-region):
* textmodes/ispell.el (ispell-word):
* progmodes/vhdl-mode.el (vhdl-keep-region-active):
* progmodes/pascal.el (pascal-mark-defun):
* progmodes/f90.el (f90-mark-subprogram, f90-indent-region)
(f90-fill-region):
* emulation/tpu-edt.el (tpu-set-mark):
* emulation/crisp.el (crisp-region-active):
* winner.el (winner-active-region):
* ansi-color.el (ansi-color-set-extent-face): Use featurep instead
of bound tests in order to resolve conditionals at compile time.
(delsel-unload-function): Don't use `remprop'; it is not autoloaded,
and we wouldn't want to load CL just to unload delsel.el anyway.
Suggested by Martin Rudalics <rudalics@gmx.at>.
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'.