Katsumi Yamaoka [Sat, 18 Sep 2010 10:21:30 +0000 (10:21 +0000)]
Fix previous merge from Gnus trunk.
Katsumi Yamaoka [Sat, 18 Sep 2010 10:02:19 +0000 (10:02 +0000)]
Merge changes made in Gnus trunk.
Reimplement nnimap, and do tweaks to the rest of the code to support that.
* gnus-int.el (gnus-finish-retrieve-group-infos)
(gnus-retrieve-group-data-early): New functions.
* gnus-range.el (gnus-range-nconcat): New function.
* gnus-start.el (gnus-get-unread-articles): Support early retrieval of
data.
(gnus-read-active-for-groups): Support finishing the early retrieval of
data.
* gnus-sum.el (gnus-summary-move-article): Pass the move-to group name
if the move is internal, so that nnimap can do fast internal moves.
* gnus.el (gnus-article-special-mark-lists): Add uid/active tuples, for
nnimap usage.
* nnimap.el: Rewritten.
* nnmail.el (nnmail-inhibit-default-split-group): New internal variable
to allow the mail splitting to not return a default group. This is
useful for nnimap, which will leave unmatched mail in the inbox.
* utf7.el (utf7-encode): Autoload.
Implement shell connection.
* nnimap.el (nnimap-open-shell-stream): New function.
(nnimap-open-connection): Use it.
Get the number of lines by using BODYSTRUCTURE.
(nnimap-transform-headers): Get the number of lines in each message.
(nnimap-retrieve-headers): Query for BODYSTRUCTURE so that we get the
number of lines.
Not all servers return UIDNEXT. Work past this problem.
Remove junk from end of file.
Fix typo in "bogus" section.
Make capabilties be case-insensitive.
Require cl when compiling.
Don't bug out if the LIST command doesn't have any parameters.
2010-09-17 Knut Anders Hatlen <kahatlen@gmail.com> (tiny change)
* nnimap.el (nnimap-get-groups): Don't bug out if the LIST command
doesn't have any parameters.
(mm-text-html-renderer): Document gnus-article-html.
2010-09-17 Julien Danjou <julien@danjou.info> (tiny fix)
* mm-decode.el (mm-text-html-renderer): Document gnus-article-html.
* dgnushack.el: Define netrc-credentials.
If the user doesn't have a /etc/services, supply some sensible port defaults.
Have `unseen-or-unread' select an unread unseen article first.
(nntp-open-server): Return whether the open was successful or not.
Throughout all files, replace (save-excursion (set-buffer ...)) with (with-current-buffer ... ).
Save result so that it doesn't say "failed" all the time.
Add ~/.authinfo to the default, since that's probably most useful for users.
Don't use the "finish" method when we're reading from the agent.
Add some more nnimap-relevant agent stuff to nnagent.el.
* nnimap.el (nnimap-with-process-buffer): Removed.
Revert one line that was changed by mistake in the last checkin.
(nnimap-open-connection): Don't error out when we can't make a connection
nnimap-related changes to avoid bugging out if we can't contact a server.
* gnus-start.el (gnus-get-unread-articles): Don't try to scan groups
from methods that are denied.
* nnimap.el (nnimap-possibly-change-group): Return nil if we can't log
in.
(nnimap-finish-retrieve-group-infos): Make sure we're not waiting for
nothing.
* gnus-sum.el (gnus-select-newsgroup): Indent.
Eli Zaretskii [Sat, 18 Sep 2010 09:38:52 +0000 (11:38 +0200)]
Mention rounding of fringe width in the doc string of fringe-mode.
fringe.el (fringe-mode): Doc fix.
Esa Peuha [Sat, 18 Sep 2010 09:15:02 +0000 (11:15 +0200)]
Fix typos in etc/NEWS.
Kan-Ru Chen [Sat, 18 Sep 2010 01:25:31 +0000 (21:25 -0400)]
* textmodes/nroff-mode.el (nroff-view): Kill old buffer before refreshing the preview buffer.
Stefan Monnier [Sat, 18 Sep 2010 00:35:00 +0000 (02:35 +0200)]
Fix and improve last syntax-propertize patch
* lisp/emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
(syntax-propertize-rules): Add var-ref case. Fix offset computation
when adding surrounding \(..\).
* lisp/progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
(fortran-make-syntax-propertize-function): New function; replaces
fortran-font-lock-syntactic-keywords.
(fortran-mode): Use it.
(fortran-line-length): Use it. Improve interactive spec.
* lisp/progmodes/js.el (js-mode): Fix last change (bug#7054).
* lisp/textmodes/tex-mode.el (tex-syntax-propertize-rules)
(latex-syntax-propertize-rules): New consts; replace
tex-font-lock-syntactic-keywords.
(tex-env-mark, latex-env-before-change): New functions.
(latex-electric-env-pair-mode): New minor mode.
(tex-font-lock-verb): Change arguments; do move point.
(tex-font-lock-syntactic-face-function): Adjust to new verbatim
representation as a form of comment.
(tex-font-lock-keywords-1): Remove workaround, now unneeded.
(doctex-syntax-propertize-rules): New const; replaces
doctex-font-lock-syntactic-keywords.
(tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
Stefan Monnier [Fri, 17 Sep 2010 22:28:10 +0000 (00:28 +0200)]
* lisp/obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
Use with-current-buffer.
Stefan Monnier [Fri, 17 Sep 2010 22:09:58 +0000 (00:09 +0200)]
* lisp/isearch.el (isearch-face): Rename from `isearch'.
(isearch-highlight): Use new name.
Eli Zaretskii [Fri, 17 Sep 2010 21:34:45 +0000 (23:34 +0200)]
Fix bug #6989.
w32.c (_PROCESS_MEMORY_COUNTERS_EX): Don't define with versions
of w32api >= 3.15.
Eli Zaretskii [Fri, 17 Sep 2010 21:07:57 +0000 (23:07 +0200)]
Fix bug #6933 regarding `half' width fringes.
fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5, for `half' width fringes. (Bug#6933)
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 15:47:49 +0000 (17:47 +0200)]
* process.c (wait_reading_process_output): Don't message about
accept-process-output unless the time limit really is zero.
Stefan Monnier [Fri, 17 Sep 2010 14:37:14 +0000 (16:37 +0200)]
* src/frame.c (Ftool_bar_pixel_width): YAILOM (Yet another
int/Lisp_Object mixup).
Stefan Monnier [Fri, 17 Sep 2010 14:31:06 +0000 (16:31 +0200)]
* lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
(byte-compile-defvar): "foo/bar" does not lack a prefix.
Stefan Monnier [Fri, 17 Sep 2010 14:22:06 +0000 (16:22 +0200)]
Silence byte-compiler
* lisp/gnus/nnrss.el (nnrss-retrieve-headers, nnrss-request-list-newsgroups)
(nnrss-retrieve-groups):
* lisp/gnus/pop3.el (pop3-open-server, pop3-read-response, pop3-list)
(pop3-retr, pop3-quit): Use with-current-buffer.
Stefan Monnier [Fri, 17 Sep 2010 13:30:30 +0000 (15:30 +0200)]
* lisp/subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
Jan D [Fri, 17 Sep 2010 09:54:28 +0000 (11:54 +0200)]
* keyboard.c (parse_tool_bar_item): For QClabel, set TOOL_BAR_ITEM_LABEL not HELP.
Jan D [Fri, 17 Sep 2010 09:04:35 +0000 (11:04 +0200)]
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.
Michael Albinus [Fri, 17 Sep 2010 07:58:07 +0000 (09:58 +0200)]
* net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
defmacro.
Jan D [Fri, 17 Sep 2010 07:00:12 +0000 (09:00 +0200)]
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).
Katsumi Yamaoka [Fri, 17 Sep 2010 06:46:54 +0000 (06:46 +0000)]
pop3.el (pop3-wait-for-messages): Use pop3-accept-process-output instead of nnheader-accept-process-output.
Katsumi Yamaoka [Fri, 17 Sep 2010 06:24:10 +0000 (06:24 +0000)]
gnus-html.el: Replace process-kill-without-query by gnus-set-process-query-on-exit-flag.
Romain Francoise [Fri, 17 Sep 2010 05:38:38 +0000 (05:38 +0000)]
gnus-html.el: Require gnus-art for `gnus-with-article-buffer'.
Kenichi Handa [Fri, 17 Sep 2010 05:07:47 +0000 (14:07 +0900)]
merge trunk
Kenichi Handa [Fri, 17 Sep 2010 04:57:58 +0000 (13:57 +0900)]
ftfont.c (ftfont_check_otf): Fix previous change.
Chong Yidong [Fri, 17 Sep 2010 00:08:06 +0000 (20:08 -0400)]
* mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
Chong Yidong [Thu, 16 Sep 2010 22:47:21 +0000 (18:47 -0400)]
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.
Chong Yidong [Thu, 16 Sep 2010 22:32:54 +0000 (18:32 -0400)]
* ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
Michael Albinus [Thu, 16 Sep 2010 20:43:12 +0000 (22:43 +0200)]
* net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload cookie.
Kenichi Handa [Thu, 16 Sep 2010 02:11:13 +0000 (11:11 +0900)]
merge trunk
Kenichi Handa [Thu, 16 Sep 2010 01:51:56 +0000 (10:51 +0900)]
ftfont.c (ftfont_check_otf): Fix the case of checking just existence of GSUB or GPOS.
Michael Albinus [Wed, 15 Sep 2010 20:27:11 +0000 (22:27 +0200)]
* 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'.
Alan Mackenzie [Wed, 15 Sep 2010 18:03:25 +0000 (18:03 +0000)]
(c-forward-<>-arglist-recur): Fix an infinite recursion.
Alan Mackenzie [Wed, 15 Sep 2010 17:51:15 +0000 (17:51 +0000)]
(c-forward-<>-arglist-recur): Correct the indentation.
Stefan Monnier [Wed, 15 Sep 2010 15:30:43 +0000 (17:30 +0200)]
* 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.
Lars Magne Ingebrigtsen [Tue, 14 Sep 2010 23:14:44 +0000 (23:14 +0000)]
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.
Juanma Barranquero [Tue, 14 Sep 2010 20:32:35 +0000 (22:32 +0200)]
Fix typos in comments and ChangeLogs.
Juanma Barranquero [Tue, 14 Sep 2010 20:17:28 +0000 (22:17 +0200)]
src/cmds.c (syms_of_cmds) <post-self-insert-hook>: Fix typos in docstring.
Lars Magne Ingebrigtsen [Tue, 14 Sep 2010 18:37:26 +0000 (20:37 +0200)]
* 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.
Juanma Barranquero [Tue, 14 Sep 2010 14:59:42 +0000 (16:59 +0200)]
Explicitly pass `obarray' to `unintern' to avoid a warning.
* gnus/gnus-registry.el (gnus-registry-install-shortcuts)
* obsolete/old-whitespace.el (whitespace-unload-function)
Juanma Barranquero [Tue, 14 Sep 2010 14:41:53 +0000 (16:41 +0200)]
Merge changes from emacs-23 branch.
Lars Magne Ingebrigtsen [Tue, 14 Sep 2010 13:44:44 +0000 (13:44 +0000)]
Fixed up nnrss group activation, and removed moreover stuff.
Juanma Barranquero [Tue, 14 Sep 2010 11:50:15 +0000 (13:50 +0200)]
lisp/gnus/.dir-locals.el: Add no-byte-compile cookie.
Stefan Monnier [Tue, 14 Sep 2010 11:11:44 +0000 (13:11 +0200)]
* subr.el (unintern): Declare the obarray arg mandatory.
* emacs-lisp/byte-run.el (set-advertised-calling-convention):
Add `when' argument. Update callers.
Glenn Morris [Tue, 14 Sep 2010 08:02:28 +0000 (01:02 -0700)]
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.
Andreas Schwab [Tue, 14 Sep 2010 07:53:39 +0000 (09:53 +0200)]
* xml.c (Fxml_parse_string, Fxml_parse_string): Revert last
change. Don't make first argument optional. Doc fix.
Glenn Morris [Tue, 14 Sep 2010 07:34:23 +0000 (00:34 -0700)]
Tiny calendar.texi update.
* doc/emacs/calendar.texi (Appointments): Also updated when a diary
include file is saved.
Glenn Morris [Tue, 14 Sep 2010 07:21:03 +0000 (00:21 -0700)]
* lisp/calendar/appt.el (appt-check): Doc fix.
Glenn Morris [Tue, 14 Sep 2010 07:15:06 +0000 (00:15 -0700)]
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.
Katsumi Yamaoka [Tue, 14 Sep 2010 06:01:14 +0000 (06:01 +0000)]
time-date.el (format-seconds): Comment fix.
Katsumi Yamaoka [Tue, 14 Sep 2010 03:40:10 +0000 (03:40 +0000)]
gnus-start.el (gnus-read-active-for-groups): Run gnus-activate-group for back end that doesn't support request-scan.
Lars Magne Ingebrigtsen [Tue, 14 Sep 2010 00:08:02 +0000 (02:08 +0200)]
* xml.c (Fxml_parse_string, Fhtml_parse_string): Fix up the parameters
for the doc string.
From Leo <sdl.web@gmail.com> (tiny change)
Lars Magne Ingebrigtsen [Tue, 14 Sep 2010 00:04:48 +0000 (02:04 +0200)]
Check that the libxml2 we found can be used. This fixes a conf
problem on Mac OS X.
Michael Mauger [Mon, 13 Sep 2010 20:05:23 +0000 (16:05 -0400)]
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.
Lars Magne Ingebrigtsen [Mon, 13 Sep 2010 19:50:30 +0000 (21:50 +0200)]
Set the LIBS to LIBXML2_LIBS before testing for -lxml2 usability.
Juanma Barranquero [Mon, 13 Sep 2010 16:33:56 +0000 (18:33 +0200)]
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.
Michael Albinus [Mon, 13 Sep 2010 15:43:33 +0000 (17:43 +0200)]
* NEWS: Some Tramp methods are discontinued.
Michael Albinus [Mon, 13 Sep 2010 15:32:45 +0000 (17:32 +0200)]
* tramp.texi (Inline methods): Remove "ssh1_old", "ssh2_old" and
"fish" methods.
(External methods): Remove "scp1_old" and "scp2_old" methods.
Michael Albinus [Mon, 13 Sep 2010 15:17:01 +0000 (17:17 +0200)]
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.
Lars Magne Ingebrigtsen [Mon, 13 Sep 2010 14:58:48 +0000 (16:58 +0200)]
* configure.in (HAVE_LIBXML2): Check that the libxml2 we found can
be used. This fixes a conf problem on Mac OS X.
Eli Zaretskii [Mon, 13 Sep 2010 14:42:33 +0000 (16:42 +0200)]
Revert 2010-09-13T10:14:52Z!bob@gnu.org by Bob Chassel.
Daiki Ueno [Mon, 13 Sep 2010 10:44:07 +0000 (19:44 +0900)]
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)
Robert J. Chassell [Mon, 13 Sep 2010 10:14:52 +0000 (10:14 +0000)]
10-09-13
Michael Albinus [Mon, 13 Sep 2010 04:39:36 +0000 (06:39 +0200)]
* notifications.el (notifications-notify): Add support for
image-path and sound-name.
(notifications-specification-version): Add this variable.
David Reitter [Sun, 12 Sep 2010 17:46:57 +0000 (13:46 -0400)]
simple.el (line-move-visual): Do not truncate goal column to integer size.
(Bug#7020)
Lars Magne Ingebrigtsen [Sun, 12 Sep 2010 17:16:25 +0000 (19:16 +0200)]
* xml.c (Fhtml_parse_string, Fxml_parse_string): Mention BASE-URL.
Stefan Monnier [Sun, 12 Sep 2010 14:35:37 +0000 (16:35 +0200)]
* lisp/subr.el (y-or-n-p): New function, moved from src/fns.c. Use read-key.
* src/fns.c (Fy_or_n_p): Move to lisp/subr.el.
(syms_of_fns): Don't defsubr Sy_or_n_p.
* src/lisp.h: Don't declare Fy_or_n_p.
* src/fileio.c (barf_or_query_if_file_exists): Fy_or_n_p -> y-or-n-p.
Jan D [Sun, 12 Sep 2010 13:23:59 +0000 (15:23 +0200)]
Fix bug 7013, only do send event if wanted state != current state.
* xterm.c (get_current_vm_state): New function.
(do_ewmh_fullscreen): Call get_current_vm_state and compare with
want_fullscreen so set_wm_state calls are few (Bug#7013).
(x_handle_net_wm_state): Move code to get_current_vm_state and
call that function.
Stefan Monnier [Sun, 12 Sep 2010 12:29:25 +0000 (14:29 +0200)]
Update name of <emacs-bugs-7626@cbane.org>
Leo Liu [Sun, 12 Sep 2010 11:06:19 +0000 (13:06 +0200)]
* lisp/net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
(rcirc-completion-start): New variables.
(rcirc-nick-completions): Rename to rcirc-completions.
(rcirc-nick-completion-start-offset): Delete.
(rcirc-completion-at-point): New function for constructing
completion data for both nicks and irc commands. Add to
completion-at-point-functions in rcirc mode.
(rcirc-complete): Rename from rcirc-nick-complete; use
rcirc-completion-at-point.
(defun-rcirc-command): Update rcirc-client-commands.
Fixes: debbugs:6076
Glenn Morris [Sun, 12 Sep 2010 00:31:47 +0000 (17:31 -0700)]
Various updates for the Bugs section of the manual.
* doc/emacs/trouble.texi (Bugs): Update the section intro.
(Known Problems): New section.
(Checklist): Misc updates. Prefer M-x report-emacs-bug.
(Sending Patches): Bug fixes are best as responses to existing bugs.
* doc/emacs/emacs.texi (Known Problems): Add menu entry for new section.
Glenn Morris [Sat, 11 Sep 2010 19:33:52 +0000 (12:33 -0700)]
* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Tweak previous change.
Write out the name of the .elc file, rather than the temp-file.
Glenn Morris [Sat, 11 Sep 2010 18:52:04 +0000 (11:52 -0700)]
Close bug#4196.
* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
atomically, to avoid parallel build errors.
Stefan Monnier [Sat, 11 Sep 2010 18:23:45 +0000 (20:23 +0200)]
* repeat.el (repeat): Allow repeating when the last event is a click.
Suggested by Drew Adams (bug#6256).
Stefan Monnier [Sat, 11 Sep 2010 13:58:57 +0000 (15:58 +0200)]
* doc/lispref/syntax.texi (Syntax Flags): Document new `c' flag.
Stefan Monnier [Sat, 11 Sep 2010 13:25:48 +0000 (15:25 +0200)]
* vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
Replace setting HGRCPATH to "" by some less invasive --config options.
Stefan Monnier [Sat, 11 Sep 2010 13:00:19 +0000 (15:00 +0200)]
* lisp/font-lock.el (font-lock-beginning-of-syntax-function):
Mark as obsolete.
Anonymous [Sat, 11 Sep 2010 12:53:21 +0000 (14:53 +0200)]
* src/term.c (tty_set_terminal_modes): Don't initialize twice (bug#7002).
Michael Mauger [Sat, 11 Sep 2010 03:17:02 +0000 (23:17 -0400)]
SQL Mode, Version 2.6
* progmodes/sql.el: Version 2.6
(sql-dialect): Synonym for "sql-product".
(sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
(sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
Set "sql-buffer" to buffer name not buffer object so multiple sql
interactive buffers work properly. Reverts misguided changes in
earlier work.
(sql-comint): Make sure different buffer name is used if "*SQL*"
buffer is for a different product.
(sql-make-alternate-buffer-name): Fix bug with "sql-database"
login param.
(sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
(sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
(sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
Accept new buffer name or prompt for one.
(sql-port): Default to zero.
(sql-comint-mysql): Handle "sql-port" as a numeric.
(sql-port-history): Delete unused variable.
(sql-get-login): Default "sql-port" to a number.
(sql-product-alist): Correct Postgres prompt and terminator
regexp.
(sql-sqlite-program): Dynamically detect presence of "sqlite" or
"sqlite3" executables.
(sql-sqlite-login-params): Add "*.sqlite[23]?" database name
pattern.
(sql-buffer-live-p): New function.
(sql-mode-menu, sql-send-string): Use it.
(sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
syntax pattern.
(sql-mode-postgres-font-lock-keywords): Support Postgres V9.
(sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
Glenn Morris [Sat, 11 Sep 2010 02:06:11 +0000 (19:06 -0700)]
Remove some obsolete files from etc/.
* emacs.bash, emacs.csh, ms-kermit: Remove obsolete files (use
emacsclient -a instead of the first two).
Glenn Morris [Sat, 11 Sep 2010 01:58:42 +0000 (18:58 -0700)]
lisp/url tiny fixes.
* url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el:
* url-vars.el: Remove leading `*' from defcustom docs.
Julien Danjou [Sat, 11 Sep 2010 01:55:55 +0000 (18:55 -0700)]
* lisp/url/url-cache (url-store-in-cache): Make `buff' argument really optional.
Lars Magne Ingebrigtsen [Sat, 11 Sep 2010 00:36:27 +0000 (00:36 +0000)]
Merge changes made in Gnus trunk.
gnus-sum.el: Avoid calling a hook function per summary line;
Call `gnus-summary-highlight-line' directly from all places that used to call it indirectly.
netrc.el (netrc-credentials): New conveniency function.
gnus-start.el (gnus-read-active-file-1): If gnus-agent isn't set, then do request scans from the backends.
Stefan Monnier [Fri, 10 Sep 2010 23:13:42 +0000 (01:13 +0200)]
New syntax-propertize functionality.
* lisp/font-lock.el (font-lock-syntactic-keywords): Make obsolete.
(font-lock-fontify-syntactic-keywords-region): Move handling of
font-lock-syntactically-fontified to...
(font-lock-default-fontify-region): ...here.
Let syntax-propertize-function take precedence.
(font-lock-fontify-syntactically-region): Cal syntax-propertize.
* lisp/emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
* lisp/emacs-lisp/syntax.el (syntax-propertize-function)
(syntax-propertize-chunk-size, syntax-propertize--done)
(syntax-propertize-extend-region-functions): New vars.
(syntax-propertize-wholelines, syntax-propertize-multiline)
(syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
(syntax-propertize): New functions.
(syntax-propertize-rules): New macro.
(syntax-ppss-flush-cache): Set syntax-propertize--done.
(syntax-ppss): Call syntax-propertize.
* lisp/progmodes/ada-mode.el (ada-set-syntax-table-properties)
(ada-after-change-function, ada-initialize-syntax-table-properties)
(ada-handle-syntax-table-properties): Only define when
syntax-propertize is not available.
(ada-mode): Use syntax-propertize-function.
* lisp/progmodes/autoconf.el (autoconf-mode):
Use syntax-propertize-function.
(autoconf-font-lock-syntactic-keywords): Remove.
* lisp/progmodes/cfengine.el (cfengine-mode):
Use syntax-propertize-function.
(cfengine-font-lock-syntactic-keywords): Remove.
* lisp/progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
* lisp/progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
(fortran--font-lock-syntactic-keywords): New var.
(fortran-line-length): Update syntax-propertize-function and
fortran--font-lock-syntactic-keywords.
* lisp/progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
replaces gdb-script-font-lock-syntactic-keywords.
(gdb-script-mode): Use it.
* lisp/progmodes/js.el (js--regexp-literal): Define while compiling.
(js-syntax-propertize-function): New var; replaces
js-font-lock-syntactic-keywords.
(js-mode): Use it.
* lisp/progmodes/make-mode.el (makefile-syntax-propertize-function):
New var; replaces makefile-font-lock-syntactic-keywords.
(makefile-mode): Use it.
(makefile-imake-mode): Adjust.
* lisp/progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
replaces mixal-font-lock-syntactic-keywords.
(mixal-mode): Use it.
* lisp/progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
to replace octave-font-lock-close-quotes.
(octave-syntax-propertize-function): New function to replace
octave-font-lock-syntactic-keywords.
(octave-mode): Use it.
* lisp/progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
replace perl-font-lock-syntactic-keywords.
(perl-syntax-propertize-special-constructs): New fun to replace
perl-font-lock-special-syntactic-constructs.
(perl-font-lock-syntactic-face-function): New fun.
(perl-mode): Use it.
* lisp/progmodes/python.el (python-syntax-propertize-function): New var to
replace python-font-lock-syntactic-keywords.
(python-mode): Use it.
(python-quote-syntax): Simplify and adjust to new use.
* lisp/progmodes/ruby-mode.el (ruby-here-doc-beg-re):
Define while compiling.
(ruby-here-doc-end-re, ruby-here-doc-beg-match)
(ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
(syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
(ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
(ruby-here-doc-end-syntax): Only define when
syntax-propertize is not available.
(ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
New functions.
(ruby-in-ppss-context-p): Update to new syntax of heredocs.
(electric-indent-chars): Silence bytecompiler.
(ruby-mode): Use prog-mode, syntax-propertize-function, and
electric-indent-chars.
* lisp/progmodes/sh-script.el (sh-st-symbol): Remove.
(sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
(sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
(sh-font-lock-quoted-subshell): Assume we've already matched $(.
(sh-font-lock-paren): Set syntax-multiline.
(sh-font-lock-syntactic-keywords): Remove.
(sh-syntax-propertize-function): New function to replace it.
(sh-mode): Use it.
* lisp/progmodes/simula.el (simula-syntax-propertize-function): New var to
replace simula-font-lock-syntactic-keywords.
(simula-mode): Use it.
* lisp/progmodes/tcl.el (tcl-syntax-propertize-function): New var to
replace tcl-font-lock-syntactic-keywords.
(tcl-mode): Use it.
* lisp/progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
if available.
(vhdl-fontify-buffer): Adjust.
* lisp/textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
* lisp/textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
since we don't use it.
* lisp/textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
replace sgml-font-lock-syntactic-keywords.
(sgml-mode): Use it.
* lisp/textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
Use syntax-propertize-function.
* lisp/textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
to replace texinfo-font-lock-syntactic-keywords.
(texinfo-mode): Use it.
* test/indent/octave.m: Remove some `fixindent' not needed any more.
Lars Magne Ingebrigtsen [Fri, 10 Sep 2010 17:51:48 +0000 (19:51 +0200)]
* NEWS: Mention the new libxml2 functions.
Lars Magne Ingebrigtsen [Fri, 10 Sep 2010 17:45:22 +0000 (19:45 +0200)]
Remove some trailing white space.
Lars Magne Ingebrigtsen [Fri, 10 Sep 2010 16:44:35 +0000 (18:44 +0200)]
Add support for the libxml2 library.
This adds the html-parse-string and xml-parse-string functions in the
new file src/xml.c, as well as autoconf detection of the library.
Agustín Martín [Fri, 10 Sep 2010 11:20:51 +0000 (13:20 +0200)]
ispell.el: Improve comments. XEmacs compatibility changes.
* textmodes/ispell.el (ispell-init-process): Improve comments.
XEmacs compatibility changes regarding (add-hook) 'local option
and (set-process-query-on-exit-flag).
Katsumi Yamaoka [Fri, 10 Sep 2010 05:32:25 +0000 (05:32 +0000)]
gnus-start.el (gnus-read-active-for-groups): Check only subscribed groups.
Glenn Morris [Fri, 10 Sep 2010 03:04:26 +0000 (20:04 -0700)]
Close bug#6211.
* lisp/menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
and tool-bar modes. (Bug#6211)
(menu-bar-mode): Move setting of standard-value after the
minor-mode definition, otherwise it seems to have no effect.
Lars Magne Ingebrigtsen [Fri, 10 Sep 2010 00:08:31 +0000 (00:08 +0000)]
Remove pop3-movemail and rename pop3-streaming-movemail to pop3-movemail.
Lars Magne Ingebrigtsen [Fri, 10 Sep 2010 00:07:33 +0000 (00:07 +0000)]
gnus-html.el (gnus-html-wash-tags): Refactor out the image bit, and don't restrict end-tag searches to the end of the line.
Michael Albinus [Thu, 9 Sep 2010 13:24:39 +0000 (15:24 +0200)]
* net/tramp-cache.el (tramp-parse-connection-properties): Set
tramp-autoload cookie.
Michael Albinus [Thu, 9 Sep 2010 08:04:35 +0000 (10:04 +0200)]
* tramp.texi: Remove Japanese manual. Fix typo.
* trampver.texi: Update release number. Remove japanesemanual.
Katsumi Yamaoka [Thu, 9 Sep 2010 06:15:13 +0000 (06:15 +0000)]
gnus-start.el (gnus-get-unread-articles): Set the number of unread articles of every unchecked group to t, which means unknown since the server has never been opened.
Glenn Morris [Thu, 9 Sep 2010 05:38:43 +0000 (22:38 -0700)]
* lisp/url/url-cookie.el (url-cookie-expired-p): Tweak previous change.
shawn boles [Thu, 9 Sep 2010 05:36:13 +0000 (22:36 -0700)]
* lisp/url/url-cookie.el (url-cookie-expired-p): Simplify and fix. (Bug#6957)
Glenn Morris [Thu, 9 Sep 2010 02:37:59 +0000 (19:37 -0700)]
* make-dist: No more TODO files under lisp/.
Glenn Morris [Thu, 9 Sep 2010 02:34:25 +0000 (19:34 -0700)]
* lisp/nxml/TODO: Remove.
* etc/NEWS: Move nxml TODO items here.
Glenn Morris [Thu, 9 Sep 2010 02:30:31 +0000 (19:30 -0700)]
* README.imagemagick: Remove.
* etc/NEWS: Move remaining ImageMagick items here.
Glenn Morris [Thu, 9 Sep 2010 02:25:12 +0000 (19:25 -0700)]
Tiny image.el fixes.
* lisp/image.el (imagemagick-types-inhibit): Add :type, :version, :group.
(imagemagick-register-types): Doc fix.