Commit graph

97546 commits

Author SHA1 Message Date
Glenn Morris
65beee5243 Remove leading `*' from nxml defcustom docs.
* lisp/nxml/nxml-mode.el, lisp/nxml/nxml-outln.el, lisp/nxml/rng-loc.el:
* lisp/nxml/rng-nxml.el, lisp/nxml/rng-valid.el:
Remove leading `*' from defcustom docs.
2010-12-02 19:10:25 -08:00
Glenn Morris
ad961a0083 startup.el trivia.
* lisp/startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
(normal-top-level-add-to-load-path, tty-handle-args):
Convert comments to basic doc-strings.
2010-12-02 19:06:11 -08:00
Glenn Morris
c5fd0ab5bf Remove some browse-url.el autoloads.
* lisp/net/browse-url.el (browse-url-url-at-point)
(browse-url-default-browser): Remove autoload cookies.
2010-12-02 19:04:29 -08:00
Glenn Morris
f62f063dd0 emacsbug.el trivia.
* lisp/mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
Remove more undefined cl functions.
2010-12-02 19:03:06 -08:00
Glenn Morris
c879436a90 diff-sentinel trivia.
* lisp/ibuf-ext.el (diff-sentinel): Update declaration.
* lisp/ibuffer.el: Regenerate autoloads.
* lisp/vc/diff.el (diff-sentinel): Make new arguments optional, eg for
the sake of ibuffer-diff-buffer-with-file-1.
2010-12-02 19:01:16 -08:00
Glenn Morris
acab4d4b71 * lisp/gnus/mm-extern.el (message-goto-body): Update declaration. 2010-12-02 18:57:46 -08:00
Glenn Morris
a33a286825 Standardize license notices in new files. 2010-12-02 18:56:42 -08:00
Glenn Morris
adbf62ffab EMACS_UNIBYTE trivia.
* make-dist: Remove EMACS_UNIBYTE unsetting; it does nothing.
2010-12-02 18:54:34 -08:00
Katsumi Yamaoka
78b1832ebf gnus-util.el (gnus-macroexpand-all): Fix last change. 2010-12-03 02:30:12 +00:00
Katsumi Yamaoka
d6f6af81e8 gnus-util.el (gnus-macroexpand-all): New function.
gnus-sum.el (gnus-summary-line-format-alist): Use gnus-macroexpand-all instead of macroexpand-all that is unavailable in XEmacs.
2010-12-03 02:17:23 +00:00
Daiki Ueno
3721e1246a Trivial fixes for epg.el.
* epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
"RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
(epg-context-set-passphrase-callback): Mention that the callback
is not called when used with GnuPG 2.x.
2010-12-03 10:52:43 +09:00
Katsumi Yamaoka
106c1842ea message.el (message-from-style): Fix previous commit. 2010-12-02 22:25:01 +00:00
Gnus developers
ed79719399 Merge changes made in Gnus trunk.
nnir.el: Batch header retrieval.
proto-stream.el: New library to provide protocol-specific TLS/STARTTLS connections for IMAP, NNTP, SMTP, POP3 and similar protocols.
nnimap.el (nnimap-open-connection): Use it.
proto-stream.el (open-proto-stream): Complete the documentation.
nnimap.el (nnimap-open-connection): Check for "OK" from the greeting.
nntp.el: Use proto-streams for the relevant connections types.
nntp.el (nntp-open-connection): Switch on STARTTLS on supported servers.
proto-stream.el (open-proto-stream): Add a way to specify what the end of a command is.
proto-stream.el (proto-stream-open-tls): Delete output from openssl if we're using tls.el.
proto-stream.el (proto-stream-open-network): If we don't have gnutls-cli or gnutls built in, then don't try to establish a STARTTLS connection.
color.el (color-lab->srgb): Fix function call name.
proto-stream.el: Fix the syntax in the comment.
nntp.el (nntp-open-connection): Fix the STARTTLS command syntax.
proto-stream.el (proto-stream-open-starttls): Actually implement the starttls.el STARTTLS.
proto-stream.el (proto-stream-always-use-starttls): New variable.
proto-stream.el (proto-stream-open-starttls): De-duplicate the starttls code.
proto-stream.el (proto-stream-open-starttls): Folded back into the main function.
proto-stream.el (proto-stream-command): Refactor out.
nnimap.el (nnimap-stream): Change default to `undecided'.
nnimap.el (nnimap-open-connection): If `nnimap-stream' is `undecided', try ssl first, and then network.
nnimap.el (nnimap-open-connection-1): Respect nnimap-server-port.
nnimap.el (nnimap-open-connection): Be more backwards-compatible.
proto-stream.el (open-protocol-stream): Renamed from open-proto-stream.
proto-stream.el (proto-stream-open-network): When doing opportunistic TLS upgrades we don't really care about the identity of the peer.
gnus.texi (Customizing the IMAP Connection): Note the new defaults.
gnus.texi (Direct Functions): Note the STARTTLS upgrade.
proto-stream.el (proto-stream-open-network): Force starttls.el to use gnutls-cli, since that what we've checked for.
proto-stream.el (proto-stream-always-use-starttls): Only default to t if open-gnutls-stream exists.
proto-stream.el (proto-stream-open-network): If STARTTLS failed, then just open a normal connection.
proto-stream.el (proto-stream-open-network): Wait until the greeting before doing STARTTLS.
nnimap.el (nnimap-open-connection-1): Always upgrade to STARTTLS (for backwards compatibility).
nnimap.el (nnimap-open-connection-1): Really respect nnimap-server-port.
nntp.el (nntp-open-connection): Provide a :success condition.
nnimap.el (nnimap-open-connection-1): Ditto.
proto-stream.el (proto-stream-open-network): See what the response to the STARTTLS command is.
proto-stream.el (proto-stream-open-network): Add some comments.
proto-stream.el: Fix example.
proto-stream.el (open-protocol-stream): Actually mention the STARTTLS upgrade.
nnir.el (nnir-get-active): Skip nnir-ignored-newsgroups when searching.
nnir.el (nnir-ignore-newsgroups): Fix default value.
nnir.el (nnir-run-gmane): Use mm-delete-duplicates instead of delete-dups that is not available in XEmacs 21.4.
mm-util.el (mm-delete-duplicates): Add comment.
gnus-sum.el (gnus-summary-delete-article): If delete fails don't change the registry.
nnimap.el (nnimap-open-connection-1): w32 open-network-stream doesn't seem to accept strings-with-numbers as port numbers.
color.el: fix docstring to use English rather than math notation for intervals.
shr.el (shr-find-fill-point): Don't break before apostrophes.
nnir.el (nnir-request-move-article): Bail out if no move support in group.
color.el (color-rgb->hsv): Fix docstring.
nnir.el (nnir-get-active): Improve active list retrieval.
shr.el (shr-find-fill-point): Work better for kinsoku chars and apostrophes.
gnus-gravatar.el (gnus-gravatar-size): Set gnus-gravatar-size to nil.
nnimap.el (nnimap-open-connection-1): Use gnus-string-match-p.
nnimap.el (nnimap-open-connection-1): Fix PREAUTH.
proto-stream.el (open-protocol-stream): All starttls connections are handled by the network handler.
gnus-gravatar.el (gnus-gravatar-insert): Delete unnecessary binding to t of inhibit-read-only since it is inside gnus-with-article-headers.
gnus-gravatar.el (gnus-gravatar-transform-address): Use mail-extract-address-components that supports non-ASCII names rather than mail-header-parse-addresses.
shr.el (shr-find-fill-point): Don't break line between kinsoku-bol characters.
gnus-gravatar.el (gnus-gravatar-insert): Allow LWSP in the middle of names.
nnmaildir.el (nnmaildir-request-set-mark): Add article to add-mark funcall.
gnus-msg.el: Remove nastygram thing.
message.el (message-from-style): Fix comment.
message.el (message-user-organization): Do not use gnus-local-organization.
gnus.el: Remove gnus-local-organization.
rtree.el: New file to handle range trees.
nnir.el, gnus-sum.el: Redo the way nnir handles registry updates.
rtree.el (rtree-extract): Simplify.
gnus-win.el (gnus-configure-windows): Remove Gnus 3.x setting support.
gnus-msg.el: Mark gnus-outgoing-message-group as obsolete.
gnus.texi (Archived Messages): Remove gnus-outgoing-message-group.
gnus-win.el (gnus-configure-frame): Remove old compatibility code.
rtree.el (rtree-memq): Rewrite it as a non-recursive function.
rtree.el (rtree-add, rtree-delq, rtree-length): Implement.
rtree.el (rtree-add): Make code slightly faster.
nnir.el: Allow modified summary-line-format in nnir summary buffers.
2010-12-02 22:21:31 +00:00
Michael Albinus
66feec8bbe * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
(tramp-file-name-port): Check also for `tramp-default-port'.
(tramp-get-connection-name): New defun.
(tramp-get-connection-process): Use it.
(tramp-debug-message): Extend function exclude list.
(tramp-drop-volume-letter): Fix doc string.

* net/tramp-cmds.el: Remove solved todo item.

* net/tramp-efs.el:
* net/tramp-ftp.el:
* net/tramp-gvfs.el:
* net/tramp-gw.el:
* net/tramp-imap.el:
* net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
and `tramp-default-user-alist', respectively.

* net/tramp-gw.el (tramp-gw-open-connection): Use
`tramp-get-connection-name' and `tramp-get-connection-buffer'.

* net/tramp-imap.el (tramp-imap-make-iht): Use just
`tramp-file-name-port'.

* net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
and "psftp".  Exchange "%k" marker with options.
(tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
Compute size of link target.
(tramp-do-copy-or-rename-file-out-of-band). Move setting of
`tramp-current-*' up due to gateway methods.  Optimze computing of
copy arguments.  Use `tramp-get-connection-name' and
`tramp-get-connection-buffer'.  Improve debug messages.
(tramp-compute-multi-hops): Remove port determination.
(tramp-maybe-open-connection): Use `tramp-get-connection-name'.

* net/trampver.el: Update release number.
2010-12-02 20:34:31 +01:00
Glenn Morris
05907bb3aa cl-macs `loop' fix for bug#7492.
* lisp/emacs-lisp/cl-macs.el (cl-parse-loop-clause):
Avoid infinite loop over windows.
2010-12-02 09:36:45 -08:00
Glenn Morris
bd77c2effa Small flymake changes.
* lisp/progmodes/flymake.el (flymake-check-file-limit):
Allow nil to mean "no limit".
(flymake-check-patch-master-file-buffer): Update for above change.
Allow a .tex file-name extension to be optional.
(flymake-master-tex-init): Also match \include statements.
2010-12-02 09:34:35 -08:00
Jan Djärv
dd723bbd42 * nsmenu.m (update_frame_tool_bar): Remove NSLog on invalid image. 2010-12-02 10:33:57 +01:00
Jan Djärv
9583e9a03c Draw text under filled box cursor in inverted color (Bug#7479).
* src/nsterm.m (ns_draw_glyph_string): Switch fore- and background if
drawing text under filled box cursor.
2010-12-02 09:24:16 +01:00
Sam Steingold
f7ca27a1ef * lisp/nxml/nxml-mode.el (nxml-parent-document): Add a variable.
(nxml-parent-document-set): A function to set `nxml-parent-document'.
(nxml-mode): Define using `define-derived-mode' instead of `defun'.
(nxml-mode-hook): Remove `defcustom' (auto-defined by
define-derived-mode').
* lisp/nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
users who want to call `nxml-parent-document-set'.
2010-11-30 12:57:48 -05:00
Chong Yidong
088c8c092b Fix error in last merge.
src/gtkutil.c (menubar_map_cb): Use xg_height_or_width_changed.
2010-11-30 12:01:18 -05:00
Chong Yidong
a5f092fb93 Merge changes from emacs-23 branch. 2010-11-27 15:06:23 -05:00
Chong Yidong
07976ae3b8 Merge changes from emacs-23 branch 2010-11-27 15:04:57 -05:00
Glenn Morris
0b8394572a startup.el trivia.
* lisp/startup.el (package-enable-at-startup, package-initialize):
Remove unnecessary declarations.  (I forgot about refreshing
ldefs-boot in such cases.)
2010-11-27 11:48:16 -08:00
Chong Yidong
402c8a4957 Fix log-edit-font-lock-keywords (Bug#6465).
* log-edit.el (log-edit-font-lock-keywords): Don't try matching
stand-alone lines, since that is handled by log-edit-match-to-eoh
(Bug#6465).
2010-11-27 14:41:49 -05:00
Eduard Wiebe
d1882ac7c9 Fix bug #7308 with `locate' on MS-Windows.
dired.el (dired-get-filename): Replace backslashes with slashes
 in file names on MS-Windows, needed by `locate'.
 locate.el (locate-default-make-command-line): Don't consider
 drive letter and root directory part of
 `directory-listing-before-filename-regexp'.
 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2010-11-27 11:56:49 +02:00
Joe Matarazzo
da2b5401e8 Fix bug #7446 with overrunning input buffer in ebrowse.
ebrowse.c (yylex): If end of input buffer encountered while
 searching for a newline after "//", return YYEOF.
2010-11-27 11:29:22 +02:00
Eli Zaretskii
9610796712 Exclude NL and TAB from c0-control group for glyphless display.
international/characters.el (glyphless-char-display-control):
 Exclude newline and TAB from the c0-control group.
2010-11-27 10:40:19 +02:00
Glenn Morris
8244506278 sendmail.el trivia.
* lisp/mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
(expand-mail-aliases): Remove unnecessary autoload.
2010-11-26 19:29:06 -08:00
Glenn Morris
08b5f072c2 * lisp/allout.el (allout-command-prefix, allout-mode-map): Declare. 2010-11-26 19:25:35 -08:00
Glenn Morris
e96d41478b * lisp/shell.el (shell-dir-cookie-re): Move definition before use. 2010-11-26 19:22:00 -08:00
Glenn Morris
a140ec5f5e Fix emacsbug.el errors clearly flagged by the byte-compiler.
* lisp/mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
Replace undefined CL functions.
2010-11-26 19:15:59 -08:00
Glenn Morris
0162eb45af Regenerate ldefs-boot.el. 2010-11-26 19:02:53 -08:00
Stefan Monnier
09ffa822f8 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
of :smie-open/close-alist.
(smie-next-sexp): Make it accept a "start token" as argument.
(smie-indent-keyword): Be careful not to misidentify tokens that span
more than one line, as empty lines.  Add argument `token'.
2010-11-26 16:33:21 -05:00
Eli Zaretskii
228482b229 Force left-to-right paragraph direction in echo area and prog-mode buffers.
src/xdisp.c (set_message_1): Force paragraph direction in echo area
 be left-to-right.
 lisp/simple.el (prog-mode): Set bidi-paragraph-direction to left-to-right.
2010-11-26 21:10:26 +02:00
Eli Zaretskii
a2249e66f3 term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS. 2010-11-26 20:38:40 +02:00
Eli Zaretskii
8547874a7c Fix and document components of mouse event position.
src/keyboard.c (make_lispy_position): Put a meaningful value in yret
 when the click is on the header or mode line.
 doc/lispref/commands.texi (Click Events): Document the values of X, Y and
 COL, ROW in the event's position, when the click is on the header or
 mode line, on the fringes, or in the margins.
2010-11-26 20:15:09 +02:00
Kenichi Handa
afde451abe mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported multipart subtypes, insert all as usual. 2010-11-26 21:58:41 +09:00
Julien Danjou
f5462bae4e color.el: Rename various rgb functions to srgb. 2010-11-26 11:19:00 +00:00
Gnus developers
36af6c6577 nnimap.el (nnimap-request-set-mark): Remove left over.
nnimap.el (nnimap-get-groups): Allow non-quoted strings as mailbox names.
2010-11-26 11:03:16 +00:00
Kenichi Handa
3d9ee611b8 mail/rmail.el: Require rfc2047. 2010-11-26 16:58:35 +09:00
Katsumi Yamaoka
b40950bfce shr.el (shr-insert): Revert last change.
shr.el (shr-find-fill-point): Never leave point being at bol; relax the kinsoku limitation when rendering tables.
2010-11-26 07:35:42 +00:00
Kenichi Handa
d1be4ec274 Improve rmail's MIME handling. 2010-11-26 13:06:59 +09:00
Glenn Morris
1e8aa221d5 * lisp/calendar/diary-lib.el (diary-outlook-format): Remove pointless element. 2010-11-25 19:22:49 -08:00
Glenn Morris
e5468a779d * lisp/calendar/diary-lib.el (diary-outlook-format-1): Another fix. 2010-11-25 19:19:58 -08:00
Glenn Morris
92c56fe7fd * lisp/calendar/diary-lib.el (diary-outlook-format-1): Fix match-strings. 2010-11-25 19:14:03 -08:00
Glenn Morris
d01d7b8d7d diary-lib.el diary-outlook* changes.
* lisp/calendar/diary-lib.el (diary-outlook-format-1): New function, so that
diary-outlook-formats can be sensitive to calendar-date-style.
(diary-outlook-formats): Simplify the default setting.
(diary-from-outlook-internal): Pass subject and body as arguments.
Use dolist rather than dotimes.  Don't save the diary buffer.
(diary-from-outlook-gnus, diary-from-outlook-rmail):
Pass subject and body as explicit arguments to the -internal function.
2010-11-25 19:10:16 -08:00
Lars Magne Ingebrigtsen
5be93fc846 nnmail.el (nnmail-expiry-target-group): Protect against degenerate results from -accept-article. 2010-11-26 02:37:23 +00:00
Lars Magne Ingebrigtsen
1e91d0eb70 gnus-art.el (gnus-url-mailto): Unfold URLs before using them.
nnheader.el (nnheader-update-marks-actions): Fix typo in last checkin.
shr-color.el: Require cl when compiling.
2010-11-26 02:31:57 +00:00
Lars Magne Ingebrigtsen
b3ea64a3ee * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
parsing them.  This makes mailto:...?subject=foo\nbar work.
2010-11-26 03:28:03 +01:00
Lars Magne Ingebrigtsen
57cc52bed4 nnimap.el (nnimap-request-set-mark): Add is "+", not "-". 2010-11-26 02:17:55 +00:00