Chong Yidong [Sat, 22 Aug 2009 14:35:06 +0000 (14:35 +0000)]
Simplified version of Emacs/XEmacs compatibility code from upstream.
Declare eieio-defgeneric-form.
Add defvars for bytecomp-outbuffer and defvar bytecomp-filename to silence compiler.
Chong Yidong [Sat, 22 Aug 2009 14:33:55 +0000 (14:33 +0000)]
Remove statement preventing it from being loaded twice.
Remove statement preventing it from being byte-compiled if loaded.
Remove `(load "cl-macs" nil t)' statement: the functions in
cl-macs are autoloaded by cl.
Adrian Robert [Fri, 21 Aug 2009 19:33:56 +0000 (19:33 +0000)]
* nsterm.m (ns_get_color): Update documentation properly for last
change, and clean up loose ends in the code left by it. Fix
longstanding bug with 16-bit hex parsing, and add support for
yet another X11 format (rgb:r/g/b) for compatibility.
* nsfns.m (EmacsDialogPanel-runDialogAt): Add declaration of
timer_check() to avoid crash on Leopard/PPC. Bug #2154.
Adrian Robert [Fri, 21 Aug 2009 19:31:48 +0000 (19:31 +0000)]
* nsterm.m (ns_get_color): Update documentation properly for last
change, and clean up loose ends in the code left by it. Fix
longstanding bug with 16-bit hex parsing, and add support for
yet another X11 format (rgb:r/g/b) for compatibility.
Eli Zaretskii [Fri, 21 Aug 2009 14:55:56 +0000 (14:55 +0000)]
Add missing keys that exist on the Arabic X keyboard. Don't insert
Lam-alef ligatures from the Arabic Presentation Forms ranges; instead,
separate Lam-Alef ligatures into a list of two letters (Lam and a
suitable Alef).
Dan Nicolaescu [Fri, 21 Aug 2009 03:37:33 +0000 (03:37 +0000)]
(vc-git-annotate-command): Run asynchronously.
Explicitly pass the date format to git blame so that user local
so that the output format can be parsed.
Michael Albinus [Thu, 20 Aug 2009 12:54:57 +0000 (12:54 +0000)]
* dbusbind.c (XD_WITH_DBUS_WATCH_GET_UNIX_FD): New macro.
(xd_add_watch, xd_remove_watch): Use it. Print debug messages.
(xd_initialize, xd_pending_messages): Check, whether
$DBUS_SESSION_BUS_ADDRESS is set.
Stefan Monnier [Wed, 19 Aug 2009 17:28:52 +0000 (17:28 +0000)]
(linum-mode): window-size-change-functions is redundant.
Adapt to new window-configuration-change-hook behavior.
(linum-after-size, linum-after-config): Remove.
Stefan Monnier [Wed, 19 Aug 2009 17:16:26 +0000 (17:16 +0000)]
(imenu-example--name-and-position, imenu-example--lisp-extract-index-name)
(imenu-example--create-lisp-index, imenu-example--create-c-index):
Mark as obsolete.
Stefan Monnier [Wed, 19 Aug 2009 03:03:05 +0000 (03:03 +0000)]
* subr.el (listify-key-sequence-1): Use normal syntax since those
integers are nowadays always represented by the same (positive) number
on all platforms.
(read-key-empty-map): New const.
(read-key-delay): New var.
(read-key): New function.
(force-mode-line-update): Use with-current-buffer.
(locate-user-emacs-file): Don't forget to abbreviate the file name.
(start-process-shell-command, start-file-process-shell-command):
Discourage the use of command-args.
* processes.texi (Asynchronous Processes): Adjust arglist of
start-process-shell-command and start-file-process-shell-command.
Stefan Monnier [Wed, 19 Aug 2009 02:15:19 +0000 (02:15 +0000)]
(minibuffer-hide-completions): New function.
(completion--do-completion): Use it.
(completions-annotations): New face.
(completion--insert-strings): Use it.
(completion-pcm--delim-wild-regex): Add docstring.
(completion-pcm--string->pattern): Add support for 0-width delimiters
in completion-pcm--delim-wild-regex.
Kenichi Handa [Tue, 18 Aug 2009 01:26:28 +0000 (01:26 +0000)]
(ucs-normalize-version): Changed to 1.1.
(ucs-normalize-hfs-nfd-pre-write-conversion): New function.
(utf-8-hfs): Make it perform normalization on encoding too.
Ken Raeburn [Mon, 17 Aug 2009 01:25:54 +0000 (01:25 +0000)]
* lisp.h (XFLOAT_DATA): Produce an rvalue by adding 0 to the value.
(XFLOAT_INIT): New macro for storing a float value.
* alloc.c (make_float, make_pure_float): Use XFLOAT_INIT.
* fns.c (sxhash): Copy out the value of a float in order to examine its bytes.
* dbusbind.c (xd_append_arg): Likewise.
Chong Yidong [Sun, 16 Aug 2009 23:08:18 +0000 (23:08 +0000)]
* progmodes/cperl-mode.el: Merge upstream 6.2.
(cperl-mode-syntax-table): Modify syntax entry for ["'`].
(cperl-forward-re): Check cperl-brace-recursing.
(cperl-highlight-charclass): New function.
(cperl-find-pods-heres): Use it.
(cperl-fill-paragraph): Synch to save-excursion placement used
upstream.
(cperl-beautify-regexp-piece): Fix column calculation.
(cperl-make-regexp-x): Handle case where point is between "q" and
"rs".
(cperl-beautify-level): Don't process entire regexp.
(cperl-build-manpage, cperl-perldoc): Bind Man-switches before
calling man.
(cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
(cperl-init-faces): Build a list in the normal way.
Stefan Monnier [Sun, 16 Aug 2009 15:48:15 +0000 (15:48 +0000)]
(sql-product-alist): Add :name tag to entries.
(sql-product): Use it.
(sql-mode-menu): Auto-generate the menu based on sql-product-alist.
(sql-set-product): Add completion.
(sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
(sql-highlight-linter-keywords, sql-highlight-ms-keywords)
(sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
(sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
(sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
(sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
(sql-highlight-db2-keywords): Remove.
(sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
(sql-highlight-product): Use derived-mode-p.
(sql-set-sqli-buffer): Use with-current-buffer.
(sql-connect-informix, sql-connect-ingres, sql-connect-oracle): Simplify.
Michael Albinus [Sun, 16 Aug 2009 12:23:23 +0000 (12:23 +0000)]
* dbusbind.c (xd_initialize): Add connection file descriptor to
input_wait_mask, in order to let select() detect, whether a new
message has been arrived.
Chong Yidong [Sun, 16 Aug 2009 00:31:28 +0000 (00:31 +0000)]
* files.el (get-free-disk-space): Change fallback default
directory to /. Expand DIR argument before switching to fallback.
Suggested by Kevin Ryde (Bug#2631, Bug#3911).