1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 23:31:55 -08:00
Commit graph

96179 commits

Author SHA1 Message Date
Jan D
e24ad6dd2b * keyboard.c (parse_tool_bar_item): For QClabel, set TOOL_BAR_ITEM_LABEL not HELP. 2010-09-17 11:54:28 +02:00
Jan D
fb0cf781a1 Expose tool-bar pixel width to lisp and use it for speedbar (Bug#7048)
* dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
in calculating new frame position.  Add more space between new and
parent on the left.

* frame.c (Ftool_bar_pixel_width): New function to expose tool
bar's pixel width to Lisp.
2010-09-17 11:04:35 +02:00
Michael Albinus
1a9dc3b588 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
defmacro.
2010-09-17 09:58:07 +02:00
Jan D
318a04c60b Put handle on top for vertical toolbar, Bug#7051.
* gtkutil.c (xg_pack_tool_bar): Call gtk_handle_box_set_handle_position
with argument top/left if tool bar is vertical/horizontal (Bug#7051).
2010-09-17 09:00:12 +02:00
Katsumi Yamaoka
0eb0427371 pop3.el (pop3-wait-for-messages): Use pop3-accept-process-output instead of nnheader-accept-process-output. 2010-09-17 06:46:54 +00:00
Katsumi Yamaoka
f4530299d5 gnus-html.el: Replace process-kill-without-query by gnus-set-process-query-on-exit-flag. 2010-09-17 06:24:10 +00:00
Romain Francoise
eca7d7bfba gnus-html.el: Require gnus-art for `gnus-with-article-buffer'. 2010-09-17 05:38:38 +00:00
Kenichi Handa
005cbf40d5 merge trunk 2010-09-17 14:07:47 +09:00
Kenichi Handa
78a217725f ftfont.c (ftfont_check_otf): Fix previous change. 2010-09-17 13:57:58 +09:00
Chong Yidong
6e23d4a423 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names. 2010-09-16 20:08:06 -04:00
Chong Yidong
117c96c769 Define obsolete alias x-cut-buffer-or-selection-value.
* term/x-win.el (x-cut-buffer-or-selection-value): Define as
obsolete alias for x-selection-value.
2010-09-16 18:47:21 -04:00
Chong Yidong
dff0fdc364 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge. 2010-09-16 18:32:54 -04:00
Michael Albinus
c6f2191fa7 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload cookie. 2010-09-16 22:43:12 +02:00
Kenichi Handa
38d50547c2 merge trunk 2010-09-16 11:11:13 +09:00
Kenichi Handa
fa3f603990 ftfont.c (ftfont_check_otf): Fix the case of checking just existence of GSUB or GPOS. 2010-09-16 10:51:56 +09:00
Michael Albinus
6139f995ad * net/tramp-compat.el (tramp-compat-with-temp-message)
(tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
(tramp-compat-process-put): New defuns.

* net/tramp.el (top):
* net/tramp-gvfs.el (top):
* net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.

* net/tramp.el (tramp-progress-reporter-update): Use
`tramp-compat-funcall.

* net/tramp.el (tramp-process-actions):
* net/tramp-gvfs.el (tramp-handle-vc-registered):
* net/tramp-sh.el (tramp-gvfs-handler-askquestion)
(tramp-get-remote-stat, tramp-get-remote-readlink): Use
`tramp-compat-with-temp-message'.

* net/tramp-sh.el (top): Require 'cl.
(tramp-handle-start-file-process): Use `tramp-compat-process-get'.
(tramp-open-connection-setup-interactive-shell): Use
`tramp-compat-process-put'.
2010-09-15 22:27:11 +02:00
Alan Mackenzie
a4ee83ccd4 (c-forward-<>-arglist-recur): Fix an infinite recursion. 2010-09-15 18:03:25 +00:00
Alan Mackenzie
22c3ce9729 (c-forward-<>-arglist-recur): Correct the indentation. 2010-09-15 17:51:15 +00:00
Stefan Monnier
4f1e996048 * lisp/emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
`lexical' for warnings related to lexical scoping.
(byte-compile-file-form-defvar, byte-compile-defvar): Warn about
global vars which don't have a prefix and could hence affect lexical
scoping in unrelated files.
2010-09-15 17:30:43 +02:00
Lars Magne Ingebrigtsen
01e80360d0 Merge changes made in Gnus trunk.
imap.el: Revert back to version cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes seem problematic.

Fix up the w3m/curl dependencies.
mm-decode.el (mm-text-html-renderer): Don't have gnus-article-html depend on curl, which isn't essential.
gnus-html.el (gnus-html-schedule-image-fetching, gnus-html-prefetch-images): Check for curl before using it.
2010-09-14 23:14:44 +00:00
Juanma Barranquero
3b59c3511c Fix typos in comments and ChangeLogs. 2010-09-14 22:32:35 +02:00
Juanma Barranquero
2b5491fabb src/cmds.c (syms_of_cmds) <post-self-insert-hook>: Fix typos in docstring. 2010-09-14 22:17:28 +02:00
Lars Magne Ingebrigtsen
c97c655f5f * xml.c (parse_string): Renamed to parse_string(), since that's
what it does.
(parse_string): Return nil when the document can't be parsed.
2010-09-14 20:37:26 +02:00
Juanma Barranquero
5e2a84e30d Explicitly pass obarray' to unintern' to avoid a warning.
* gnus/gnus-registry.el (gnus-registry-install-shortcuts)
* obsolete/old-whitespace.el (whitespace-unload-function)
2010-09-14 16:59:42 +02:00
Juanma Barranquero
6664fc59a8 Merge changes from emacs-23 branch. 2010-09-14 16:41:53 +02:00
Lars Magne Ingebrigtsen
74769e8b4c Fixed up nnrss group activation, and removed moreover stuff. 2010-09-14 13:44:44 +00:00
Juanma Barranquero
32405341e0 lisp/gnus/.dir-locals.el: Add no-byte-compile cookie. 2010-09-14 13:50:15 +02:00
Stefan Monnier
f3a30a50fa * subr.el (unintern): Declare the obarray arg mandatory.
* emacs-lisp/byte-run.el (set-advertised-calling-convention):
Add `when' argument.  Update callers.
2010-09-14 13:11:44 +02:00
Glenn Morris
67ae97667d Doc fixes related to diary-sort-entries.
* lisp/calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
Doc fixes.

* doc/emacs/cal-xtra.texi (Fancy Diary Display): Emphasize that sort
should be the last hook item.
2010-09-14 01:02:28 -07:00
Andreas Schwab
1da70e9968 * xml.c (Fxml_parse_string, Fxml_parse_string): Revert last
change.  Don't make first argument optional.  Doc fix.
2010-09-14 09:53:39 +02:00
Glenn Morris
0ab9cff33d Tiny calendar.texi update.
* doc/emacs/calendar.texi (Appointments): Also updated when a diary
include file is saved.
2010-09-14 00:34:23 -07:00
Glenn Morris
08151ec5f1 * lisp/calendar/appt.el (appt-check): Doc fix. 2010-09-14 00:21:03 -07:00
Glenn Morris
92b99a01de Fix bug#6999.
* lisp/calendar/diary-lib.el (diary-included-files): New variable.
(diary-list-entries): Maybe initialize diary-included-files.
(diary-include-other-diary-files): Append to diary-included-files.
* lisp/calendar/appt.el (appt-update-list): Also check the members of
diary-included-files.
2010-09-14 00:15:06 -07:00
Katsumi Yamaoka
ba96ddf511 time-date.el (format-seconds): Comment fix. 2010-09-14 06:01:14 +00:00
Katsumi Yamaoka
dff99050cf gnus-start.el (gnus-read-active-for-groups): Run gnus-activate-group for back end that doesn't support request-scan. 2010-09-14 03:40:10 +00:00
Lars Magne Ingebrigtsen
26632d8d41 * xml.c (Fxml_parse_string, Fhtml_parse_string): Fix up the parameters
for the doc string.

From  Leo  <sdl.web@gmail.com>  (tiny change)
2010-09-14 02:08:02 +02:00
Lars Magne Ingebrigtsen
7d5444bee6 Check that the libxml2 we found can be used. This fixes a conf
problem on Mac OS X.
2010-09-14 02:04:48 +02:00
Michael Mauger
a386ac7011 SQL Mode 2.7: Code cleanup and primatives for SQL redirection
* progmodes/sql.el: Version 2.7.
	(sql-buffer-live-p): Improve detection.
	(sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
	(sql-set-sqli-buffer): Use it.
	(sql-product-interactive): Run `sql-set-sqli-hook'.
	(sql-rename-buffer): Code cleanup.
	(sql-redirect, sql-redirect-value): New functions.  More to come.
2010-09-13 16:05:23 -04:00
Lars Magne Ingebrigtsen
74f891be2a Set the LIBS to LIBXML2_LIBS before testing for -lxml2 usability. 2010-09-13 21:50:30 +02:00
Juanma Barranquero
5d921df2ed Port tramp-related Makefile changes of 2010-09-08T14:42:54Z!michael.albinus@gmx.de, 2010-09-13T15:17:01Z!michael.albinus@gmx.de to Windows.
* makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
  (TRAMP_SRC): New macro.
  ($(lisp)/net/tramp-loaddefs.el): New target.
2010-09-13 18:33:56 +02:00
Michael Albinus
459bba37ea * NEWS: Some Tramp methods are discontinued. 2010-09-13 17:43:33 +02:00
Michael Albinus
371d98018e * tramp.texi (Inline methods): Remove "ssh1_old", "ssh2_old" and
"fish" methods.
(External methods): Remove "scp1_old" and "scp2_old" methods.
2010-09-13 17:32:45 +02:00
Michael Albinus
03c1ad4351 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
* Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.

* net/tramp.el (top): Don't show loading message.  Require just
'tramp-compat, everything else is required there.  Use
`ignore-errors' where appropriate.
(tramp-inline-compress-start-size, tramp-copy-size-limit)
(tramp-terminal-type, tramp-end-of-output)
(tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
(tramp-completion-function-alist-ssh)
(tramp-completion-function-alist-telnet)
(tramp-completion-function-alist-su)
(tramp-completion-function-alist-putty, tramp-remote-path)
(tramp-remote-process-environment, tramp-sh-extra-args)
(tramp-actions-before-shell, tramp-uudecode)
(tramp-perl-file-truename, tramp-perl-file-name-all-completions)
(tramp-perl-file-attributes)
(tramp-perl-directory-files-and-attributes)
(tramp-perl-encode-with-module, tramp-perl-decode-with-module)
(tramp-perl-encode, tramp-perl-decode)
(tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
(tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
(tramp-handle-make-symbolic-link, tramp-handle-load)
(tramp-handle-file-name-as-directory)
(tramp-handle-file-name-directory)
(tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
(tramp-handle-file-exists-p, tramp-handle-file-attributes)
(tramp-do-file-attributes-with-ls)
(tramp-do-file-attributes-with-perl)
(tramp-do-file-attributes-with-stat)
(tramp-handle-set-visited-file-modtime)
(tramp-handle-verify-visited-file-modtime)
(tramp-handle-set-file-modes, tramp-handle-set-file-times)
(tramp-set-file-uid-gid, tramp-remote-selinux-p)
(tramp-handle-file-selinux-context)
(tramp-handle-set-file-selinux-context)
(tramp-handle-file-executable-p, tramp-handle-file-readable-p)
(tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
(tramp-handle-file-directory-p, tramp-handle-file-regular-p)
(tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
(tramp-handle-file-ownership-preserved-p)
(tramp-handle-directory-file-name, tramp-handle-directory-files)
(tramp-handle-directory-files-and-attributes)
(tramp-do-directory-files-and-attributes-with-perl)
(tramp-do-directory-files-and-attributes-with-stat)
(tramp-handle-file-name-all-completions)
(tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
(tramp-handle-copy-file, tramp-handle-copy-directory)
(tramp-handle-rename-file, tramp-do-copy-or-rename-file)
(tramp-do-copy-or-rename-file-via-buffer)
(tramp-do-copy-or-rename-file-directly)
(tramp-do-copy-or-rename-file-out-of-band)
(tramp-handle-make-directory, tramp-handle-delete-directory)
(tramp-handle-delete-file)
(tramp-handle-dired-recursive-delete-directory)
(tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
(tramp-handle-insert-directory)
(tramp-handle-unhandled-file-name-directory)
(tramp-handle-expand-file-name)
(tramp-handle-substitute-in-file-name)
(tramp-handle-executable-find, tramp-process-sentinel)
(tramp-handle-start-file-process, tramp-handle-process-file)
(tramp-handle-call-process-region, tramp-handle-shell-command)
(tramp-handle-file-local-copy, tramp-handle-file-remote-p)
(tramp-handle-insert-file-contents)
(tramp-handle-insert-file-contents-literally)
(tramp-handle-find-backup-file-name)
(tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
(tramp-vc-registered-file-names, tramp-handle-vc-registered)
(tramp-sh-file-name-handler, tramp-vc-file-name-handler)
(tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
(tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
(tramp-find-file-exists-command, tramp-open-shell)
(tramp-find-shell, tramp-barf-if-no-shell-prompt)
(tramp-open-connection-setup-interactive-shell)
(tramp-local-coding-commands, tramp-remote-coding-commands)
(tramp-find-inline-encoding, tramp-call-local-coding-command)
(tramp-inline-compress-commands, tramp-find-inline-compress)
(tramp-compute-multi-hops, tramp-maybe-open-connection)
(tramp-send-command , tramp-wait-for-output)
(tramp-send-command-and-check, tramp-barf-unless-okay)
(tramp-send-command-and-read, tramp-mode-string-to-int)
(tramp-convert-file-attributes, tramp-check-cached-permissions)
(tramp-file-mode-from-int, tramp-file-mode-permissions)
(tramp-shell-case-fold, tramp-make-copy-program-file-name)
(tramp-method-out-of-band-p, tramp-local-host-p)
(tramp-get-remote-path, tramp-get-remote-tmpdir)
(tramp-get-ls-command, tramp-get-ls-command-with-dired)
(tramp-get-test-command, tramp-get-test-nt-command)
(tramp-get-file-exists-command, tramp-get-remote-ln)
(tramp-get-remote-perl, tramp-get-remote-stat)
(tramp-get-remote-readlink, tramp-get-remote-trash)
(tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
(tramp-get-local-uid, tramp-get-local-gid)
(tramp-get-inline-compress, tramp-get-inline-coding, ): Move to
tramp-sh.el.
(tramp-methods, tramp-default-method-alist)
(tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
Move initialization to tramp-sh.el.
(tramp-temp-name-prefix): Make it a defconst.
(tramp-dissect-file-name): Don't check anymore for multi-hop
methods.
(tramp-debug-outline-regexp): Add a docstring.
(tramp-debug-outline-level): Renamed from `tramp-outline-level'.
(tramp-get-debug-buffer): Use it.

* net/tramp-cache.el (top): Set tramp-autoload cookie for
initialization forms.
(tramp-set-connection-property): Don't protect `tramp-message'
call, it isn't necessary any longer.
(tramp-dump-connection-properties): Use `ignore-errors'.

* net/tramp-compat.el (top): Require 'advice, 'format-spec,
'password-cache and 'auth-source.

* net/tramp-gvfs.el (top):
* net/tramp-smb.el (top): Require 'tramp-sh.

* net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.

* net/tramp-sh.el: New file, derived from tramp.el.
(top): Initialize `tramp-methods', `tramp-default-method-alist',
`tramp-default-user-alist', tramp-foreign-file-name-handler-alist.
Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".  Use
`ignore-errors' where appropriate.
(tramp-sh-file-name-handler-alist): Renamed from
`tramp-file-name-handler-alist'.
(tramp-send-command-and-check): Return t or nil.  Remove all
`zerop' checks, where called.
(tramp-handle-set-file-modes)
(tramp-do-copy-or-rename-file-directly)
(tramp-handle-delete-directory, tramp-handle-delete-file)
(tramp-maybe-send-script, ): Use `tramp-barf-unless-okay'.
(tramp-sh-file-name-handler, tramp-send-command-and-check)
(tramp-get-remote-ln): Set tramp-autoload cookie.

* net/tramp-fish.el: Remove file.
2010-09-13 17:17:01 +02:00
Lars Magne Ingebrigtsen
c7a1fb9be8 * configure.in (HAVE_LIBXML2): Check that the libxml2 we found can
be used.  This fixes a conf problem on Mac OS X.
2010-09-13 16:58:48 +02:00
Eli Zaretskii
375a0f6552 Revert 2010-09-13T10:14:52Z!bob@gnu.org by Bob Chassel. 2010-09-13 16:42:33 +02:00
Daiki Ueno
c5fe4acb5f epa-file: suppress file-locking question on M-x revert-buffer
* epa-file.el (epa-file-insert-file-contents): If visiting, bind
buffer-file-name to avoid file-locking.  (Bug#7026)
2010-09-13 19:44:07 +09:00
Robert J. Chassell
ed9a2f6896 10-09-13 2010-09-13 10:14:52 +00:00
Michael Albinus
7ea2d3835e * notifications.el (notifications-notify): Add support for
image-path and sound-name.
(notifications-specification-version): Add this variable.
2010-09-13 06:39:36 +02:00
David Reitter
5a66ed0f65 simple.el (line-move-visual): Do not truncate goal column to integer size.
(Bug#7020)
2010-09-12 13:46:57 -04:00
Lars Magne Ingebrigtsen
21fa8e37fd * xml.c (Fhtml_parse_string, Fxml_parse_string): Mention BASE-URL. 2010-09-12 19:16:25 +02:00