]> git.eshelyaron.com Git - emacs.git/log
emacs.git
14 years ago(c-forward-<>-arglist-recur): Correct the indentation.
Alan Mackenzie [Wed, 15 Sep 2010 17:51:15 +0000 (17:51 +0000)]
(c-forward-<>-arglist-recur): Correct the indentation.

14 years ago* lisp/emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
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.

14 years agoMerge changes made in Gnus trunk.
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.

14 years agoFix typos in comments and ChangeLogs.
Juanma Barranquero [Tue, 14 Sep 2010 20:32:35 +0000 (22:32 +0200)]
Fix typos in comments and ChangeLogs.

14 years agosrc/cmds.c (syms_of_cmds) <post-self-insert-hook>: Fix typos in docstring.
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.

14 years ago* xml.c (parse_string): Renamed to parse_string(), since that's
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.

14 years agoExplicitly pass `obarray' to `unintern' to avoid a warning.
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)

14 years agoMerge changes from emacs-23 branch.
Juanma Barranquero [Tue, 14 Sep 2010 14:41:53 +0000 (16:41 +0200)]
Merge changes from emacs-23 branch.

14 years agoFixed up nnrss group activation, and removed moreover stuff.
Lars Magne Ingebrigtsen [Tue, 14 Sep 2010 13:44:44 +0000 (13:44 +0000)]
Fixed up nnrss group activation, and removed moreover stuff.

14 years agolisp/gnus/.dir-locals.el: Add no-byte-compile cookie.
Juanma Barranquero [Tue, 14 Sep 2010 11:50:15 +0000 (13:50 +0200)]
lisp/gnus/.dir-locals.el: Add no-byte-compile cookie.

14 years ago* subr.el (unintern): Declare the obarray arg mandatory.
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.

14 years agoDoc fixes related to diary-sort-entries.
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.

14 years ago* xml.c (Fxml_parse_string, Fxml_parse_string): Revert last
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.

14 years agoTiny calendar.texi update.
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.

14 years ago* lisp/calendar/appt.el (appt-check): Doc fix.
Glenn Morris [Tue, 14 Sep 2010 07:21:03 +0000 (00:21 -0700)]
* lisp/calendar/appt.el (appt-check): Doc fix.

14 years agoFix bug#6999.
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.

14 years agotime-date.el (format-seconds): Comment fix.
Katsumi Yamaoka [Tue, 14 Sep 2010 06:01:14 +0000 (06:01 +0000)]
time-date.el (format-seconds): Comment fix.

14 years agognus-start.el (gnus-read-active-for-groups): Run gnus-activate-group for back end...
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.

14 years ago* xml.c (Fxml_parse_string, Fhtml_parse_string): Fix up the parameters
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)

14 years agoCheck that the libxml2 we found can be used. This fixes a conf
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.

14 years agoSQL Mode 2.7: Code cleanup and primatives for SQL redirection
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.

14 years agoSet the LIBS to LIBXML2_LIBS before testing for -lxml2 usability.
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.

14 years agoPort tramp-related Makefile changes of 2010-09-08T14:42:54Z!michael.albinus@gmx.de...
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.

14 years ago* NEWS: Some Tramp methods are discontinued.
Michael Albinus [Mon, 13 Sep 2010 15:43:33 +0000 (17:43 +0200)]
* NEWS: Some Tramp methods are discontinued.

14 years ago* tramp.texi (Inline methods): Remove "ssh1_old", "ssh2_old" and
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.

14 years agoMajor code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
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.

14 years ago* configure.in (HAVE_LIBXML2): Check that the libxml2 we found can
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.

14 years agoRevert 2010-09-13T10:14:52Z!bob@gnu.org by Bob Chassel.
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.

14 years agoepa-file: suppress file-locking question on M-x revert-buffer
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)

14 years ago10-09-13
Robert J. Chassell [Mon, 13 Sep 2010 10:14:52 +0000 (10:14 +0000)]
10-09-13

14 years ago* notifications.el (notifications-notify): Add support for
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.

14 years agosimple.el (line-move-visual): Do not truncate goal column to integer size.
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)

14 years ago* xml.c (Fhtml_parse_string, Fxml_parse_string): Mention BASE-URL.
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.

14 years ago* lisp/subr.el (y-or-n-p): New function, moved from src/fns.c. Use read-key.
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.

14 years agoFix bug 7013, only do send event if wanted state != current state.
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.

14 years agoUpdate name of <emacs-bugs-7626@cbane.org>
Stefan Monnier [Sun, 12 Sep 2010 12:29:25 +0000 (14:29 +0200)]
Update name of <emacs-bugs-7626@cbane.org>

14 years ago* lisp/net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
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
14 years agoVarious updates for the Bugs section of the manual.
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.

14 years ago* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Tweak previous change.
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.

14 years agoClose bug#4196.
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.

14 years ago* repeat.el (repeat): Allow repeating when the last event is a click.
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).

14 years ago* doc/lispref/syntax.texi (Syntax Flags): Document new `c' flag.
Stefan Monnier [Sat, 11 Sep 2010 13:58:57 +0000 (15:58 +0200)]
* doc/lispref/syntax.texi (Syntax Flags): Document new `c' flag.

14 years ago* vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
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.

14 years ago* lisp/font-lock.el (font-lock-beginning-of-syntax-function):
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.

14 years ago* src/term.c (tty_set_terminal_modes): Don't initialize twice (bug#7002).
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).

14 years agoSQL Mode, Version 2.6
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.

14 years agoRemove some obsolete files from etc/.
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).

14 years agolisp/url tiny fixes.
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.

14 years ago* lisp/url/url-cache (url-store-in-cache): Make `buff' argument really optional.
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.

14 years agoMerge changes made in Gnus trunk.
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.

14 years agoNew syntax-propertize functionality.
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.

14 years ago* NEWS: Mention the new libxml2 functions.
Lars Magne Ingebrigtsen [Fri, 10 Sep 2010 17:51:48 +0000 (19:51 +0200)]
* NEWS: Mention the new libxml2 functions.

14 years agoRemove some trailing white space.
Lars Magne Ingebrigtsen [Fri, 10 Sep 2010 17:45:22 +0000 (19:45 +0200)]
Remove some trailing white space.

14 years agoAdd support for the libxml2 library.
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.

14 years agoispell.el: Improve comments. XEmacs compatibility changes.
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).

14 years agognus-start.el (gnus-read-active-for-groups): Check only subscribed groups.
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.

14 years agoClose bug#6211.
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.

14 years agoRemove pop3-movemail and rename pop3-streaming-movemail to pop3-movemail.
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.

14 years agognus-html.el (gnus-html-wash-tags): Refactor out the image bit, and don't restrict...
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.

14 years ago* net/tramp-cache.el (tramp-parse-connection-properties): Set
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.

14 years ago* tramp.texi: Remove Japanese manual. Fix typo.
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.

14 years agognus-start.el (gnus-get-unread-articles): Set the number of unread articles of every...
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.

14 years ago* lisp/url/url-cookie.el (url-cookie-expired-p): Tweak previous change.
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.

14 years ago* lisp/url/url-cookie.el (url-cookie-expired-p): Simplify and fix. (Bug#6957)
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)

14 years ago* make-dist: No more TODO files under lisp/.
Glenn Morris [Thu, 9 Sep 2010 02:37:59 +0000 (19:37 -0700)]
* make-dist: No more TODO files under lisp/.

14 years ago* lisp/nxml/TODO: Remove.
Glenn Morris [Thu, 9 Sep 2010 02:34:25 +0000 (19:34 -0700)]
* lisp/nxml/TODO: Remove.
* etc/NEWS: Move nxml TODO items here.

14 years ago* README.imagemagick: Remove.
Glenn Morris [Thu, 9 Sep 2010 02:30:31 +0000 (19:30 -0700)]
* README.imagemagick: Remove.
* etc/NEWS: Move remaining ImageMagick items here.

14 years agoTiny image.el fixes.
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.

14 years ago* etc/NEWS: Misc fixes for ImageMagick section.
Glenn Morris [Thu, 9 Sep 2010 02:21:12 +0000 (19:21 -0700)]
* etc/NEWS: Misc fixes for ImageMagick section.

14 years ago* doc/lispref/display.texi (ImageMagick Images): General cleanup.
Glenn Morris [Thu, 9 Sep 2010 02:18:38 +0000 (19:18 -0700)]
* doc/lispref/display.texi (ImageMagick Images): General cleanup.

14 years ago* doc/misc/org.texi: Restore clobbered changes (copyright years, untabify).
Glenn Morris [Thu, 9 Sep 2010 02:16:14 +0000 (19:16 -0700)]
* doc/misc/org.texi: Restore clobbered changes (copyright years, untabify).

14 years ago* doc/emacs/xresources.texi: Untabify.
Glenn Morris [Thu, 9 Sep 2010 02:12:40 +0000 (19:12 -0700)]
* doc/emacs/xresources.texi: Untabify.

14 years agognus-html (gnus-html-wash-tags): Search for images first, so that <a><img> works...
Lars Magne Ingebrigtsen [Thu, 9 Sep 2010 00:08:06 +0000 (00:08 +0000)]
gnus-html (gnus-html-wash-tags): Search for images first, so that <a><img> works better; (gnus-html-displayed-image-map): Bind RET and TAB on images for better UX.

14 years agognus-html.el: Allow showing the ALT text of images and to browse the images themselves.
Lars Magne Ingebrigtsen [Wed, 8 Sep 2010 23:59:52 +0000 (23:59 +0000)]
gnus-html.el: Allow showing the ALT text of images and to browse the images themselves.

14 years agognus-html.el (gnus-html-schedule-image-fetching): Decode entities before feeding...
Katsumi Yamaoka [Wed, 8 Sep 2010 23:51:10 +0000 (23:51 +0000)]
gnus-html.el (gnus-html-schedule-image-fetching): Decode entities before feeding URLs to curl.
gnus-async.el (gnus-async-article-callback): Call `gnus-html-prefetch-images' unconditionally.

14 years agoMisc cleanups and simplifications.
Stefan Monnier [Wed, 8 Sep 2010 16:21:23 +0000 (18:21 +0200)]
Misc cleanups and simplifications.
* lisp/font-lock.el (save-buffer-state): Remove `varlist' arg.
(font-lock-unfontify-region, font-lock-default-fontify-region):
Update usage correspondingly.
(font-lock-fontify-syntactic-keywords-region):
Set parse-sexp-lookup-properties buffer-locally here.
(font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
* lisp/progmodes/ada-mode.el: Replace "(set '" with setq.
(ada-mode): Simplify.
(ada-create-case-exception, ada-adjust-case-interactive)
(ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
(ada-search-ignore-string-comment, ada-move-to-start)
(ada-move-to-end): Use with-syntax-table.
* lisp/progmodes/fortran.el (fortran-line-length): Don't recompute
syntactic keywords redundantly a second time.
* lisp/progmodes/js.el (require): Require is already "eval-and-compile".
(js--re-search-forward): Avoid `eval'.  Preserve the error data.
(js--re-search-backward): Use js--re-search-forward.
* lisp/progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.

14 years ago* lisp/simple.el (blink-matching-open): Don't burp if we can't find a match.
Stefan Monnier [Wed, 8 Sep 2010 16:14:44 +0000 (18:14 +0200)]
* lisp/simple.el (blink-matching-open): Don't burp if we can't find a match.

14 years agoVery minor bytecomp fix.
Glenn Morris [Wed, 8 Sep 2010 16:02:38 +0000 (09:02 -0700)]
Very minor bytecomp fix.
* lisp/emacs-lisp/bytecomp.el (byte-compile-report-ops):
Error if not compiled with -DBYTE_CODE_METER.

14 years ago* emacs-lisp/bytecomp.el (byte-recompile-directory): Ignore dir-locals-file.
Glenn Morris [Wed, 8 Sep 2010 15:59:10 +0000 (08:59 -0700)]
* emacs-lisp/bytecomp.el (byte-recompile-directory): Ignore dir-locals-file.

14 years ago* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
Stefan Monnier [Wed, 8 Sep 2010 15:53:08 +0000 (17:53 +0200)]
* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
Not a const.
(compilation-error-regexp-alist-alist): Rule out ": " in file names
for the `gnu' messages.
(compilation-set-skip-threshold): New command.
(compilation-start): Use \' rather than $.
(compilation-forget-errors): Use clrhash.

14 years agotextmodes/ispell.el (ispell-valid-dictionary-list): Simplify logic.
Agustín Martín [Wed, 8 Sep 2010 14:54:00 +0000 (16:54 +0200)]
textmodes/ispell.el (ispell-valid-dictionary-list): Simplify logic.

14 years agoMigrate to Tramp 2.2. Rearrange load dependencies.
Michael Albinus [Wed, 8 Sep 2010 14:42:54 +0000 (16:42 +0200)]
Migrate to Tramp 2.2.  Rearrange load dependencies.
(Bug#1529, Bug#5448, Bug#5705)

* Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
($(TRAMP_DIR)/tramp-loaddefs.el): New target.
(LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.

* net/tramp.el (top): Remove all other tramp-* loads except
tramp-compat.el.  Remove all changes to tramp-unload-hook for
other tramp-* packages.  Rearrange defun order.  Change calls of
`tramp-compat-call-process', `tramp-compat-decimal-to-octal',
`tramp-compat-octal-to-decimal' to new function names.
(tramp-terminal-type, tramp-initial-end-of-output)
(tramp-methods, tramp-foreign-file-name-handler-alist)
(tramp-tramp-file-p, tramp-completion-mode-p)
(tramp-send-command-and-check, tramp-get-remote-path)
(tramp-get-remote-tmpdir, tramp-get-remote-ln)
(tramp-shell-quote-argument): Set tramp-autoload cookie.
(with-file-property, with-connection-property): Move to
tramp-cache.el.
(tramp-local-call-process, tramp-decimal-to-octal)
(tramp-octal-to-decimal): Move to tramp-compat.el.
(tramp-handle-shell-command): Do not require 'shell.
(tramp-compute-multi-hops): No special handling for tramp-gw-*
symbols.
(tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.

* net/tramp-cache.el (top): Require 'tramp.  Add to
`tramp-unload-hook'.
(tramp-cache-data, tramp-get-file-property)
(tramp-set-file-property, tramp-flush-file-property)
(tramp-flush-directory-property, tramp-get-connection-property)
(tramp-set-connection-property, tramp-flush-connection-property)
(tramp-cache-print, tramp-list-connections): Set tramp-autoload
cookie.
(with-file-property, with-connection-property): New defuns, moved
from tramp.el.
(tramp-flush-file-function): Use `with-parsed-tramp-file-name'
macro.

* net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
(tramp-version): Set tramp-autoload cookie.

* net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
changes to tramp-unload-hook for other tramp-* packages.  Add to
`tramp-unload-hook'.
(tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
(tramp-compat-call-process): New defuns, moved from tramp.el.

* net/tramp-fish.el (top) Require just 'tramp.  Add objects to
`tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
to `tramp-unload-hook'.  Change call of
`tramp-compat-decimal-to-octal' to new function name.
(tramp-fish-method): Make it a defconst.
(tramp-fish-file-name-p): Make it a defsubst.
(tramp-fish-method, tramp-fish-file-name-handler)
(tramp-fish-file-name-p): Set tramp-autoload cookie.

* net/tramp-ftp.el (top) Add objects to `tramp-methods' and
`tramp-foreign-file-name-handler-alist'.  Add to
`tramp-unload-hook'.
(tramp-ftp-method): Make it a defconst.
(tramp-ftp-file-name-p): Make it a defsubst.
(tramp-ftp-method, tramp-ftp-file-name-handler)
(tramp-ftp-file-name-p): Set tramp-autoload cookie.

* net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
`tramp-foreign-file-name-handler-alist'.  Add to
`tramp-unload-hook'.  Change checks, whether package can be
loaded.
(tramp-gvfs-file-name-p): Make it a defsubst.
(tramp-gvfs-methods, tramp-gvfs-file-name-handler)
(tramp-gvfs-file-name-p): Set tramp-autoload cookie.
(tramp-gvfs-handle-file-directory-p): New defun.
(tramp-gvfs-file-name-handler-alist): Use it.

* net/tramp-gw.el (top) Add objects to `tramp-methods' and
`tramp-foreign-file-name-handler-alist'.  Add to
`tramp-unload-hook'.
(tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
(tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
defconst.
(tramp-gw-tunnel-method, tramp-gw-socks-method)
(tramp-gw-open-connection): Set tramp-autoload cookie.

* net/tramp-imap.el (top) Require just 'tramp.  Add objects to
`tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
to `tramp-unload-hook'.  Change checks, whether package can be
loaded.
(tramp-imap-file-name-p): Make it a defsubst.
(tramp-imap-method, tramp-imaps-method)
(tramp-imap-file-name-handler)
(tramp-imap-file-name-p): Set tramp-autoload cookie.

* net/tramp-smb.el (top) Require just 'tramp.  Add objects to
`tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
to `tramp-unload-hook'.  Change checks, whether package can be
loaded.  Change call of `tramp-compat-decimal-to-octal' to new
function name.
(tramp-smb-tunnel-method): Make it a defconst.
(tramp-smb-file-name-p): Make it a defsubst.
(tramp-smb-method, tramp-smb-file-name-handler)
(tramp-smb-file-name-p): Set tramp-autoload cookie.

* net/tramp-uu.el (top) Add to `tramp-unload-hook'.
(tramp-uuencode-region): Set tramp-autoload cookie.

* net/trampver.el (top) Add to `tramp-unload-hook'.
(tramp-version, tramp-bug-report-address): Set tramp-autoload
cookie.  Update release number.

14 years agoClose bug#6976.
Masatake YAMATO [Wed, 8 Sep 2010 02:45:12 +0000 (19:45 -0700)]
Close bug#6976.
* lisp/progmodes/antlr-mode.el (antlr-font-lock-additional-keywords): Fix typo.

14 years agocoding.c (encode_coding_iso_2022): Do not optimize for ASCII if we may use designatio...
Kenichi Handa [Wed, 8 Sep 2010 02:21:03 +0000 (11:21 +0900)]
coding.c (encode_coding_iso_2022): Do not optimize for ASCII if we may use designation or locking-shift.

14 years agoMake sure original ispell arg list is initialized in (ispell-start-process).
Agustín Martín [Tue, 7 Sep 2010 18:01:23 +0000 (20:01 +0200)]
Make sure original ispell arg list is initialized in (ispell-start-process).

* textmodes/ispell.el (ispell-start-process): Make sure original
  arg list is properly initialized (Bug#6993, Bug#6994).

14 years agomerge emacs-23
Kenichi Handa [Tue, 7 Sep 2010 11:22:15 +0000 (20:22 +0900)]
merge emacs-23

14 years agocoding.c (detect_coding_emacs_mule): Fix checking of multibyte sequence when the...
Kenichi Handa [Tue, 7 Sep 2010 11:08:46 +0000 (20:08 +0900)]
coding.c (detect_coding_emacs_mule): Fix checking of multibyte sequence when the source is multibyte.

14 years agognus-html.el (gnus-html-wash-tags, gnus-html-put-image): Mark cid and internal images...
Katsumi Yamaoka [Tue, 7 Sep 2010 06:23:16 +0000 (06:23 +0000)]
gnus-html.el (gnus-html-wash-tags, gnus-html-put-image): Mark cid and internal images as deletable by `W D D'.

14 years agognus-async.el (gnus-html-prefetch-images): Autoload it when compiling; (gnus-async...
Katsumi Yamaoka [Tue, 7 Sep 2010 01:20:19 +0000 (01:20 +0000)]
gnus-async.el (gnus-html-prefetch-images): Autoload it when compiling; (gnus-async-article-callback): Fix typo.

14 years agognus-html.el (gnus-html-wash-tags): Limit end-tag matching to the current line to...
Lars Magne Ingebrigtsen [Tue, 7 Sep 2010 00:08:33 +0000 (00:08 +0000)]
gnus-html.el (gnus-html-wash-tags): Limit end-tag matching to the current line to work around bugs in the output from w3m.

14 years agognus-async.el (gnus-async-article-callback): Always prefetch images for groups that...
Lars Magne Ingebrigtsen [Tue, 7 Sep 2010 00:05:59 +0000 (00:05 +0000)]
gnus-async.el (gnus-async-article-callback): Always prefetch images for groups that want that.

14 years agonntp.el (nntp-wait-for-string): Supply a timeout for accept-process-output to ensure...
Lars Magne Ingebrigtsen [Tue, 7 Sep 2010 00:04:11 +0000 (00:04 +0000)]
nntp.el (nntp-wait-for-string): Supply a timeout for accept-process-output to ensure progress.

14 years agognus-start.el (gnus-get-unread-articles): If being given an explicit level to get...
Lars Magne Ingebrigtsen [Tue, 7 Sep 2010 00:00:56 +0000 (00:00 +0000)]
gnus-start.el (gnus-get-unread-articles): If being given an explicit level to get unread articles from, then use that for foreign groups, too.

14 years agognus-html.el (gnus-html-wash-tags): Remove <a name...> tags, which confuses the rest...
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 23:58:34 +0000 (23:58 +0000)]
gnus-html.el (gnus-html-wash-tags): Remove <a name...> tags, which confuses the rest of the function.

14 years agognus-start.el (gnus-read-active-for-groups): Do a `gnus-request-scan' for the methods...
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 23:56:27 +0000 (23:56 +0000)]
gnus-start.el (gnus-read-active-for-groups): Do a `gnus-request-scan' for the methods that support -retrieve-groups, too.

14 years agonnml.el (nnml-save-nov): Remove some debugging-related messages.
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 23:54:07 +0000 (23:54 +0000)]
nnml.el (nnml-save-nov): Remove some debugging-related messages.

14 years agoMerge changes from emacs-23 branch.
Chong Yidong [Mon, 6 Sep 2010 16:38:03 +0000 (12:38 -0400)]
Merge changes from emacs-23 branch.

14 years agoMerge whitespace.el from trunk
Chong Yidong [Mon, 6 Sep 2010 16:24:32 +0000 (12:24 -0400)]
Merge whitespace.el from trunk

14 years agopop3.el (pop3-number-of-responses): Search for "+OK", not "+OK ".
Katsumi Yamaoka [Mon, 6 Sep 2010 02:09:42 +0000 (02:09 +0000)]
pop3.el (pop3-number-of-responses): Search for "+OK", not "+OK ".

14 years agognus-start.el (gnus-get-unread-articles): Fix up the last commit.
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 00:48:40 +0000 (00:48 +0000)]
gnus-start.el (gnus-get-unread-articles): Fix up the last commit.