]> git.eshelyaron.com Git - emacs.git/log
emacs.git
13 years agoTiny code fix.
Vinicius Jose Latorre [Thu, 9 Dec 2010 10:55:03 +0000 (08:55 -0200)]
Tiny code fix.

13 years agoshr.el (shr-tag-script): Ignore <script>.
Lars Magne Ingebrigtsen [Thu, 9 Dec 2010 10:43:50 +0000 (10:43 +0000)]
shr.el (shr-tag-script): Ignore <script>.

13 years agoshr.el (shr-image-displayer): Work for images lined side by side.
Katsumi Yamaoka [Thu, 9 Dec 2010 06:40:56 +0000 (06:40 +0000)]
shr.el (shr-image-displayer): Work for images lined side by side.

13 years agoRename some landmark functions.
Glenn Morris [Thu, 9 Dec 2010 05:55:25 +0000 (21:55 -0800)]
Rename some landmark functions.
* lisp/play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
Rename functions without commas, update callers.

13 years agognus-demon.el (gnus-demon-init): Call run-with-timer with time as argument, not t...
Robert Pluim [Wed, 8 Dec 2010 22:16:36 +0000 (22:16 +0000)]
gnus-demon.el (gnus-demon-init): Call run-with-timer with time as argument, not t. XEmacs does not support that.

13 years agoNew version 13.2. (Bug#7582)
Vinicius Jose Latorre [Wed, 8 Dec 2010 19:25:11 +0000 (17:25 -0200)]
New version 13.2. (Bug#7582)

13 years agonnir.el (nnir-request-expire-articles): New function.
Andrew Cohen [Wed, 8 Dec 2010 14:41:37 +0000 (14:41 +0000)]
nnir.el (nnir-request-expire-articles): New function.

13 years agonnir.el (nnir-retrieve-headers): Use rassq when comparing article ids.
Andrew Cohen [Wed, 8 Dec 2010 13:49:49 +0000 (13:49 +0000)]
nnir.el (nnir-retrieve-headers): Use rassq when comparing article ids.
 (nnir-run-gmane): Simplify groupspec formatting.

13 years agoAdjust parameter names and doc strings to resolve confusion over
Karl Fogel [Wed, 8 Dec 2010 08:09:27 +0000 (03:09 -0500)]
Adjust parameter names and doc strings to resolve confusion over
whether "bookmark" meant a bookmark name or a bookmark record.
Along the way, shorten one function's name for similar reasons.

(Issue #7548)

* lisp/bookmark.el
  (bookmark-name-from-record):
    New name for `bookmark-name-from-full-record'.  All callers changed.
  (bookmark-get-bookmark, bookmark-get-bookmark-record,
   bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set,
   bookmark-get-annotation, bookmark-set-annotation,
   bookmark-get-filename, bookmark-set-filename,
   bookmark-get-position, bookmark-set-position,
   bookmark-get-front-context-string, bookmark-set-front-context-string,
   bookmark-get-rear-context-string, bookmark-set-rear-context-string,
   bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via,
   bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
    Rename `bookmark' parameter to `bookmark-name-or-record', to
    clearly show its role, and shorten or adjust doc strings accordingly.
  (bookmark-set-name):
    Same, and pass the parameter directly to `bookmark-get-bookmark'
    instead of redundantly doing the callee's work.
  (bookmark-default-annotation-text, bookmark-send-edited-annotation,
   bookmark-relocate, bookmark-insert-location, bookmark-insert,
   bookmark-delete):
    Rename `bookmark' parameter to `bookmark-name', and in some cases
    shorten doc string accordingly.
  (bookmark-rename):
    Change `old' and `new' parameters to `old-name'
    and `new-name', and adjust an internal variable to avoid confusion.
  (bookmark-jump, bookmark-jump-noselect):
    Clarify `bookmark' parameter in doc string.

13 years agoIn gdb, try to init comint history from gdbhist.
Glenn Morris [Wed, 8 Dec 2010 05:00:12 +0000 (21:00 -0800)]
In gdb, try to init comint history from gdbhist.
* lisp/progmodes/gdb-mi.el (gdb): Try to initialize comint input history
from gdb's history file.  (Bug#7575)

13 years ago* mail/emacsbug.el (report-emacs-bug): Try to handle some other mail clients.
Glenn Morris [Wed, 8 Dec 2010 03:47:27 +0000 (19:47 -0800)]
* mail/emacsbug.el (report-emacs-bug): Try to handle some other mail clients.

13 years agoMake verify-visited-file-modtime default to the current buffer.
Glenn Morris [Wed, 8 Dec 2010 03:45:45 +0000 (19:45 -0800)]
Make verify-visited-file-modtime default to the current buffer.

* src/fileio.c (Fverify_visited_file_modtime): Default to current buffer.
* doc/lispref/buffers.texi (Modification Time):
verify-visited-file-modtime now defaults to the current buffer.

13 years ago* lisp/files.el (dir-locals-collect-variables): Don't let errors stop us.
Stefan Monnier [Wed, 8 Dec 2010 02:18:02 +0000 (21:18 -0500)]
* lisp/files.el (dir-locals-collect-variables): Don't let errors stop us.
Use string-prefix-p.
(file-name-version-regexp): New var.
(file-name-sans-versions):
* lisp/jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
(jka-compr-get-compression-info): Use dolist.
(jka-compr-compression-info-list): Don't bother specifying
version/backup regexps.

13 years agoshr.el (shr-tag-table-1): Use bg/gfcolor specs on tables.
Lars Magne Ingebrigtsen [Tue, 7 Dec 2010 22:12:50 +0000 (22:12 +0000)]
shr.el (shr-tag-table-1): Use bg/gfcolor specs on tables.
 (shr-render-td): Handle td style="" better.
 (shr-tag-table): Use the color from the style sheet.
 (shr-render-td): Make sure we copy over all the overlays, too.
nnimap.el (nnimap-parse-flags): Tweak VANISHED regexp to avoid regexp overflow, possibly.

13 years ago* simple.el (just-one-space): Make argument n default to 1 if
Tassilo Horn [Tue, 7 Dec 2010 19:38:38 +0000 (20:38 +0100)]
* simple.el (just-one-space): Make argument n default to 1 if
omitted.

13 years ago* lisp/electric.el (electric-indent-post-self-insert-function):
Stefan Monnier [Tue, 7 Dec 2010 15:36:08 +0000 (10:36 -0500)]
* lisp/electric.el (electric-indent-post-self-insert-function):
Delete trailing newlines even if we don't reindent.

13 years agonnir.el (nnir-run-gmane): Restore sub-optimal test for gmane server.
Andrew Cohen [Tue, 7 Dec 2010 14:10:11 +0000 (14:10 +0000)]
nnir.el (nnir-run-gmane): Restore sub-optimal test for gmane server.
 (nnir-request-article): Improve article retrieval.

13 years agoDecode extra numeric entities.
Katsumi Yamaoka [Tue, 7 Dec 2010 05:06:56 +0000 (05:06 +0000)]
Decode extra numeric entities.

mm-util.el (mm-extra-numeric-entities): New variable.
mm-url.el (mm-url-decode-entities):
mm-decode.el (mm-shr): Use it to decode extra numeric entities.

13 years ago* lisp/gnus/message.el: Use completion-at-point.
Stefan Monnier [Tue, 7 Dec 2010 02:01:00 +0000 (21:01 -0500)]
* lisp/gnus/message.el: Use completion-at-point.
(message-completion-function): New fun, extracted from message-tab.
(message-mode): Use it for completion-at-point-functions.
(message-tab): Use it and completion-at-point.

13 years agoshr.el (shr-find-fill-point): Don't break a line after a kinsoku-bol character if...
Katsumi Yamaoka [Tue, 7 Dec 2010 01:21:09 +0000 (01:21 +0000)]
shr.el (shr-find-fill-point): Don't break a line after a kinsoku-bol character if a non-breakable character follows.

13 years agoproto-stream.el (proto-stream-open-tls): Return nil if we don't get any stream.
Gnus developers [Mon, 6 Dec 2010 23:27:17 +0000 (23:27 +0000)]
proto-stream.el (proto-stream-open-tls): Return nil if we don't get any stream.
gnus.texi (Server Commands): Point to the rest of the server commands.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Mon, 6 Dec 2010 22:16:10 +0000 (22:16 +0000)]
Merge changes made in Gnus trunk.

shr.el (shr-render-td): Render td content with shr-descend, so style will be applied to <td> too.
 (shr-colorize-region): Colorize region even if we only have a background.
 (shr-tag-body): Fix color and background color inheritance.
 (shr-tag-body): Do not recolorize after shr-generic.
 (shr-tag-font): Let shr-generic colorize via inheritance.
shr.el (shr-descend): Only colorise something if we have a node that sets colors.
gnus-int.el (gnus-request-thread): Rework to take a header instead of a Message-ID to avoid having nnimap depend on gnus-sum.
shr.el (shr-tag-font): Colorize the region.
 (shr-tag-body): Ditto.
 (shr-tag-font): Actually let the styles be inherited instead of overwriting them.
 (shr-tag-font): Get the background color right.
 (shr-tag-style): Ignore all <style> tags for the moment.

13 years ago* lisp/bindings.el (complete-symbol): Move back from minibuffer.el.
Stefan Monnier [Mon, 6 Dec 2010 21:06:02 +0000 (16:06 -0500)]
* lisp/bindings.el (complete-symbol): Move back from minibuffer.el.
* lisp/minibuffer.el (completion-at-point): Remove the `arg'.

13 years ago* lisp/simple.el (just-one-space): Delete newlines for negative arg.
Deniz Dogan [Mon, 6 Dec 2010 18:21:42 +0000 (13:21 -0500)]
* lisp/simple.el (just-one-space): Delete newlines for negative arg.

13 years agoReturn CDATA sections (like <style>foo</style>) as text nodes.
Lars Magne Ingebrigtsen [Mon, 6 Dec 2010 16:59:52 +0000 (17:59 +0100)]
Return CDATA sections (like <style>foo</style>) as text nodes.

Also ignore blank HTML nodes.

13 years ago* lisp/ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
Stefan Monnier [Mon, 6 Dec 2010 16:51:37 +0000 (11:51 -0500)]
* lisp/ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
(ansi-color-filter-apply): Simplify.
(ansi-color-apply): Use `font-lock-face' rather than `face'.

13 years ago* src/lread.c (read1): Allow newstyle unquote outside of backquote.
Stefan Monnier [Mon, 6 Dec 2010 16:37:26 +0000 (11:37 -0500)]
* src/lread.c (read1): Allow newstyle unquote outside of backquote.
Disallow old-style backquotes inside new-style backquotes.
Don't count unquotes to figure out when we're "syntactically inside
but semantically outside of a backquote" any more.
Extend the restriction no-unescaped-commas-and-backquotes-in-symbols
to all contexts.

13 years agonnir.el (nnir-request-move-article): Remove obsolete code.
Gnus developers [Mon, 6 Dec 2010 03:59:56 +0000 (03:59 +0000)]
nnir.el (nnir-request-move-article): Remove obsolete code.
shr.el (shr-find-fill-point): Don't regard apostrophe as kinsoku-bol.

13 years agognus-util.el (gnus-macroexpand-all): Use eval-and-compile.
Katsumi Yamaoka [Sun, 5 Dec 2010 23:29:50 +0000 (23:29 +0000)]
gnus-util.el (gnus-macroexpand-all): Use eval-and-compile.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Sun, 5 Dec 2010 22:17:34 +0000 (22:17 +0000)]
Merge changes made in Gnus trunk.

nnir.el (nnir-categorize): Replace mapcar with mapc.
shr.el (shr-urlify): Display the title in <a> tags.
shr.el (shr-urlify): Show the URL before the title to avoid misleading URLs.
gnus-sum.el (gnus-summary-show-article): Reverse the meanings of `C-u
C-u g' and `C-u g' so that `C-u g' does what it traditionally did.
gnus.texi (Paging the Article): Note the reverse meanings of `C-u C-u g'.
gnus-html.el (gnus-html-put-image): Use widget instead of local maps
so that TAB works.
nnir.el (nnir-run-gmane): Use more careful test for gmane nntp server.
nnimap.el (nnimap-process-expiry-targets): Avoid downloading articles
unless necessary.
gnus-util.el (gnus-output-to-mail): Require nnmail before using nnmail
variables.
shr.el (shr-stylesheet): New dynamic variable for cascading the styles.
 (shr-colorize-region): New function.
 (shr-insert-background-overlay): Remove.
 (shr-render-td): Background setting should be taken care of on a higher level.
 (shr-tag-body): Use post-hoc colorizations.
 (shr-descend): Only render color/background when they change.
 (shr-tag-body): Set up a style sheet based on bgcolor/fgcolor.
 (shr-put-color-1): Don't overwrite old colors.
 (shr-colorize-region): When the background color isn't explicit, use a fixed background.
gnus.el (gnus-valid-select-methods): Allow nnimap to respool.
nntp.el (nntp-snarf-error-message): nnheader-report takes a format string as the parameter.
gnus-sum.el (gnus-summary-respool-article): The completion function expects a list instead of an alist.

13 years ago* src/process.c: Remove checks for HAVE_SYS_IOCTL_H (Bug#7484).
Chong Yidong [Sun, 5 Dec 2010 01:23:22 +0000 (20:23 -0500)]
* src/process.c: Remove checks for HAVE_SYS_IOCTL_H (Bug#7484).

13 years ago* lisp/vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
Bob Rogers [Sun, 5 Dec 2010 01:01:23 +0000 (20:01 -0500)]
* lisp/vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).

13 years ago* configure.in: Fix last change.
Chong Yidong [Sat, 4 Dec 2010 22:32:32 +0000 (17:32 -0500)]
* configure.in: Fix last change.

13 years agoSmarter initialization for dired-use-ls-dired (Bug#7546).
Chong Yidong [Sat, 4 Dec 2010 22:10:12 +0000 (17:10 -0500)]
Smarter initialization for dired-use-ls-dired (Bug#7546).

* lisp/dired.el (dired-use-ls-dired): Set default to a special
"unspecified" value.
(dired-insert-directory): When called the first time, check
whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).

13 years agoRemove empty machine description files
Andreas Schwab [Sat, 4 Dec 2010 19:50:39 +0000 (20:50 +0100)]
Remove empty machine description files

* configure.in: Remove reference to removed machine description
files and allow $machine and $machfile to be empty.  Substitute
M_FILE/S_FILE instead of machfile/opsysfile.

* msdos/sed1v2.inp (M_FILE, S_FILE): Add $(srcdir)/ prefix.

* Makefile.in (M_FILE): Substitute @M_FILE@ instead of @machfile@.
(S_FILE): Substitute @S_FILE@ instead of @opsysfile@.
* src/m/arm.h, src/m/sh3.h, src/m/xtensa.h: Remove files.

13 years ago* lisp/replace.el: Add "collect" feature to occur.
Tak Ota [Sat, 4 Dec 2010 01:58:06 +0000 (20:58 -0500)]
* lisp/replace.el: Add "collect" feature to occur.
(occur-collect-regexp-history): New var.
(occur-read-primary-args): Return a replace string for nlines, if needed.
(occur): Extend the meaning of nlines.

13 years ago* lisp/progmodes/which-func.el (which-func-ff-hook): Log the error message.
Stefan Monnier [Sat, 4 Dec 2010 00:49:49 +0000 (19:49 -0500)]
* lisp/progmodes/which-func.el (which-func-ff-hook): Log the error message.
(which-func-update-1): Distinguish symbols from strings.
(which-function): Stay within 80 columns.

13 years ago* lisp/subr.el (with-demoted-errors): Distinguish symbols from strings.
Stefan Monnier [Fri, 3 Dec 2010 23:20:27 +0000 (18:20 -0500)]
* lisp/subr.el (with-demoted-errors): Distinguish symbols from strings.

13 years ago* lisp/newcomment.el (comment-styles): Add docs to each style.
Stefan Monnier [Fri, 3 Dec 2010 23:14:50 +0000 (18:14 -0500)]
* lisp/newcomment.el (comment-styles): Add docs to each style.
Improve docstring.
(comment-style): Use comment-styles's docs to describe values.

Fixes: debbugs:7509
13 years agoRemove EXPLICIT_SIGN_EXTEND.
Andreas Schwab [Fri, 3 Dec 2010 22:08:05 +0000 (17:08 -0500)]
Remove EXPLICIT_SIGN_EXTEND.

* lisp.h (union Lisp_Object): Explicitly declare signedness of
bit-field.
(XINT): Remove variant for EXPLICIT_SIGN_EXTEND.
* m/alpha.h (EXPLICIT_SIGN_EXTEND): Don't define.
* m/amdx86-64.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/ia64.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/ibms390.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/ibms390x.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/iris4d.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/m68k.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/sparc.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/template.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/hp800.h: Remove file.
* m/mips.h: Remove file.

13 years agonnir.el: Rearrange code to allow macros to be autoloaded by gnus-sum.el.
Andrew Cohen [Fri, 3 Dec 2010 22:06:51 +0000 (17:06 -0500)]
nnir.el: Rearrange code to allow macros to be autoloaded by gnus-sum.el.

* nnir.el: Rearrange code to allow macros to be autoloaded by
gnus-sum.el.
(nnir-retrieve-headers-override-function): Make this variable
customizable.
(nnir-retrieve-headers): Remove obsolete subject-mangling code.

13 years agognus-demon.el (gnus-demon-init): Fix time computing when time is nil.
Julien Danjou [Fri, 3 Dec 2010 22:05:02 +0000 (17:05 -0500)]
gnus-demon.el (gnus-demon-init): Fix time computing when time is nil.

13 years agoRevert to 2010-12-03T11:48:24Z!jan.h.d@swipnet.se.
Chong Yidong [Fri, 3 Dec 2010 22:01:43 +0000 (17:01 -0500)]
Revert to 2010-12-03T11:48:24Z!jan.h.d@swipnet.se.

13 years agoRemove EXPLICIT_SIGN_EXTEND.
Andreas Schwab [Fri, 3 Dec 2010 20:55:23 +0000 (21:55 +0100)]
Remove EXPLICIT_SIGN_EXTEND.

* lisp.h (union Lisp_Object): Explicitly declare signedness of
bit-field.
(XINT): Remove variant for EXPLICIT_SIGN_EXTEND.
* m/alpha.h (EXPLICIT_SIGN_EXTEND): Don't define.
* m/amdx86-64.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/ia64.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/ibms390.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/ibms390x.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/iris4d.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/m68k.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/sparc.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/template.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/hp800.h: Remove file.
* m/mips.h: Remove file.

* CPP-DEFINES (EXPLICIT_SIGN_EXTEND): Remove.

13 years agoRestore another execute-bit.
Glenn Morris [Fri, 3 Dec 2010 17:40:46 +0000 (09:40 -0800)]
Restore another execute-bit.

13 years agoRestore executable bit omitted when undeleting files in 2010-12-03T14:45:09Z!yamaoka...
Chong Yidong [Fri, 3 Dec 2010 17:32:55 +0000 (12:32 -0500)]
Restore executable bit omitted when undeleting files in 2010-12-03T14:45:09Z!yamaoka@jpl.org.

13 years agonnir.el: Rearrange code to allow macros to be autoloaded by gnus-sum.el.
Andrew Cohen [Fri, 3 Dec 2010 14:53:52 +0000 (14:53 +0000)]
nnir.el: Rearrange code to allow macros to be autoloaded by gnus-sum.el.
 (nnir-retrieve-headers-override-function): Make this variable customizable.
 (nnir-retrieve-headers): Remove obsolete subject-mangling code.
gnus-sum.el (nnir-article-group,nnir-article-rsv): Autoload macros from nnir.el.

13 years agoRestore files that I seem to have mistakenly deleted.
Katsumi Yamaoka [Fri, 3 Dec 2010 14:45:09 +0000 (14:45 +0000)]
Restore files that I seem to have mistakenly deleted.

13 years agognus-demon.el (gnus-demon-init): Fix time computing when time is nil.
Julien Danjou [Fri, 3 Dec 2010 11:52:43 +0000 (11:52 +0000)]
gnus-demon.el (gnus-demon-init): Fix time computing when time is nil.

13 years agoRestore dock New Frame and Preferences menu functions (Bug#7535).
Jan Djärv [Fri, 3 Dec 2010 11:48:24 +0000 (12:48 +0100)]
Restore dock New Frame and Preferences menu functions (Bug#7535).

* term/common-win.el (x-setup-function-keys): Restore ns-new-frame
and ns-show-prefs.

* term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
bindings.

13 years agoDraw cursor and images correctly for Nextstep (bug#7412).
Jan Djärv [Fri, 3 Dec 2010 10:54:44 +0000 (11:54 +0100)]
Draw cursor and images correctly for Nextstep (bug#7412).

* src/nsterm.m (ns_dumpglyphs_image): If drawing cursor, fill background
with cursor color and draw a rectangle around the image.

13 years ago* frame.c (x_set_font): Remove unused variable.
Andreas Schwab [Fri, 3 Dec 2010 10:07:40 +0000 (11:07 +0100)]
* frame.c (x_set_font): Remove unused variable.

13 years agoUpdate cl-loaddefs.el
Andreas Schwab [Fri, 3 Dec 2010 10:07:24 +0000 (11:07 +0100)]
Update cl-loaddefs.el

13 years agognus-util.el (gnus-macroexpand-all): Fix last change.
Katsumi Yamaoka [Fri, 3 Dec 2010 08:01:00 +0000 (08:01 +0000)]
gnus-util.el (gnus-macroexpand-all): Fix last change.

13 years agognus-util.el (gnus-macroexpand-all): Allow optional argument `environment'.
Katsumi Yamaoka [Fri, 3 Dec 2010 07:49:34 +0000 (07:49 +0000)]
gnus-util.el (gnus-macroexpand-all): Allow optional argument `environment'.

13 years agognus-util.el (gnus-macroexpand-all): Don't modify argument.
Katsumi Yamaoka [Fri, 3 Dec 2010 04:39:36 +0000 (04:39 +0000)]
gnus-util.el (gnus-macroexpand-all): Don't modify argument.

13 years agoSilence nxml-mode.el compilation.
Glenn Morris [Fri, 3 Dec 2010 03:13:24 +0000 (19:13 -0800)]
Silence nxml-mode.el compilation.
* lisp/nxml/nxml-mode.el: Require rng-nxml.
(rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
Remove declarations.

13 years agoRemove leading `*' from nxml defcustom docs.
Glenn Morris [Fri, 3 Dec 2010 03:10:25 +0000 (19:10 -0800)]
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.

13 years agostartup.el trivia.
Glenn Morris [Fri, 3 Dec 2010 03:06:11 +0000 (19:06 -0800)]
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.

13 years agoRemove some browse-url.el autoloads.
Glenn Morris [Fri, 3 Dec 2010 03:04:29 +0000 (19:04 -0800)]
Remove some browse-url.el autoloads.
* lisp/net/browse-url.el (browse-url-url-at-point)
(browse-url-default-browser): Remove autoload cookies.

13 years agoemacsbug.el trivia.
Glenn Morris [Fri, 3 Dec 2010 03:03:06 +0000 (19:03 -0800)]
emacsbug.el trivia.
* lisp/mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
Remove more undefined cl functions.

13 years agodiff-sentinel trivia.
Glenn Morris [Fri, 3 Dec 2010 03:01:16 +0000 (19:01 -0800)]
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.

13 years ago* lisp/gnus/mm-extern.el (message-goto-body): Update declaration.
Glenn Morris [Fri, 3 Dec 2010 02:57:46 +0000 (18:57 -0800)]
* lisp/gnus/mm-extern.el (message-goto-body): Update declaration.

13 years agoStandardize license notices in new files.
Glenn Morris [Fri, 3 Dec 2010 02:56:42 +0000 (18:56 -0800)]
Standardize license notices in new files.

13 years agoEMACS_UNIBYTE trivia.
Glenn Morris [Fri, 3 Dec 2010 02:54:34 +0000 (18:54 -0800)]
EMACS_UNIBYTE trivia.

* make-dist: Remove EMACS_UNIBYTE unsetting; it does nothing.

13 years agognus-util.el (gnus-macroexpand-all): Fix last change.
Katsumi Yamaoka [Fri, 3 Dec 2010 02:30:12 +0000 (02:30 +0000)]
gnus-util.el (gnus-macroexpand-all): Fix last change.

13 years agognus-util.el (gnus-macroexpand-all): New function.
Katsumi Yamaoka [Fri, 3 Dec 2010 02:17:23 +0000 (02:17 +0000)]
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.

13 years agoTrivial fixes for epg.el.
Daiki Ueno [Fri, 3 Dec 2010 01:52:43 +0000 (10:52 +0900)]
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.

13 years agomessage.el (message-from-style): Fix previous commit.
Katsumi Yamaoka [Thu, 2 Dec 2010 22:25:01 +0000 (22:25 +0000)]
message.el (message-from-style): Fix previous commit.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Thu, 2 Dec 2010 22:21:31 +0000 (22:21 +0000)]
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.

13 years ago* net/tramp.el (tramp-local-host-regexp): Add "localhost6".
Michael Albinus [Thu, 2 Dec 2010 19:34:31 +0000 (20:34 +0100)]
* 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.

13 years agocl-macs `loop' fix for bug#7492.
Glenn Morris [Thu, 2 Dec 2010 17:36:45 +0000 (09:36 -0800)]
cl-macs `loop' fix for bug#7492.

* lisp/emacs-lisp/cl-macs.el (cl-parse-loop-clause):
Avoid infinite loop over windows.

13 years agoSmall flymake changes.
Glenn Morris [Thu, 2 Dec 2010 17:34:35 +0000 (09:34 -0800)]
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.

13 years ago* nsmenu.m (update_frame_tool_bar): Remove NSLog on invalid image.
Jan Djärv [Thu, 2 Dec 2010 09:33:57 +0000 (10:33 +0100)]
* nsmenu.m (update_frame_tool_bar): Remove NSLog on invalid image.

13 years agoDraw text under filled box cursor in inverted color (Bug#7479).
Jan Djärv [Thu, 2 Dec 2010 08:24:16 +0000 (09:24 +0100)]
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.

13 years ago* lisp/nxml/nxml-mode.el (nxml-parent-document): Add a variable.
Sam Steingold [Tue, 30 Nov 2010 17:57:48 +0000 (12:57 -0500)]
* 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'.

13 years agoFix error in last merge.
Chong Yidong [Tue, 30 Nov 2010 17:01:18 +0000 (12:01 -0500)]
Fix error in last merge.

src/gtkutil.c (menubar_map_cb): Use xg_height_or_width_changed.

13 years agoMerge changes from emacs-23 branch.
Chong Yidong [Sat, 27 Nov 2010 20:06:23 +0000 (15:06 -0500)]
Merge changes from emacs-23 branch.

13 years agoMerge changes from emacs-23 branch
Chong Yidong [Sat, 27 Nov 2010 20:04:57 +0000 (15:04 -0500)]
Merge changes from emacs-23 branch

13 years agostartup.el trivia.
Glenn Morris [Sat, 27 Nov 2010 19:48:16 +0000 (11:48 -0800)]
startup.el trivia.
* lisp/startup.el (package-enable-at-startup, package-initialize):
Remove unnecessary declarations.  (I forgot about refreshing
ldefs-boot in such cases.)

13 years agoFix log-edit-font-lock-keywords (Bug#6465).
Chong Yidong [Sat, 27 Nov 2010 19:41:49 +0000 (14:41 -0500)]
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).

13 years agoFix bug #7308 with `locate' on MS-Windows.
Eduard Wiebe [Sat, 27 Nov 2010 09:56:49 +0000 (11:56 +0200)]
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.

13 years agoFix bug #7446 with overrunning input buffer in ebrowse.
Joe Matarazzo [Sat, 27 Nov 2010 09:29:22 +0000 (11:29 +0200)]
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.

13 years agoExclude NL and TAB from c0-control group for glyphless display.
Eli Zaretskii [Sat, 27 Nov 2010 08:40:19 +0000 (10:40 +0200)]
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.

13 years agosendmail.el trivia.
Glenn Morris [Sat, 27 Nov 2010 03:29:06 +0000 (19:29 -0800)]
sendmail.el trivia.
* lisp/mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
(expand-mail-aliases): Remove unnecessary autoload.

13 years ago* lisp/allout.el (allout-command-prefix, allout-mode-map): Declare.
Glenn Morris [Sat, 27 Nov 2010 03:25:35 +0000 (19:25 -0800)]
* lisp/allout.el (allout-command-prefix, allout-mode-map): Declare.

13 years ago* lisp/shell.el (shell-dir-cookie-re): Move definition before use.
Glenn Morris [Sat, 27 Nov 2010 03:22:00 +0000 (19:22 -0800)]
* lisp/shell.el (shell-dir-cookie-re): Move definition before use.

13 years agoFix emacsbug.el errors clearly flagged by the byte-compiler.
Glenn Morris [Sat, 27 Nov 2010 03:15:59 +0000 (19:15 -0800)]
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.

13 years agoRegenerate ldefs-boot.el.
Glenn Morris [Sat, 27 Nov 2010 03:02:53 +0000 (19:02 -0800)]
Regenerate ldefs-boot.el.

13 years ago* emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
Stefan Monnier [Fri, 26 Nov 2010 21:33:21 +0000 (16:33 -0500)]
* 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'.

13 years agoForce left-to-right paragraph direction in echo area and prog-mode buffers.
Eli Zaretskii [Fri, 26 Nov 2010 19:10:26 +0000 (21:10 +0200)]
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.

13 years agoterm/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
Eli Zaretskii [Fri, 26 Nov 2010 18:38:40 +0000 (20:38 +0200)]
term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.

13 years agoFix and document components of mouse event position.
Eli Zaretskii [Fri, 26 Nov 2010 18:15:09 +0000 (20:15 +0200)]
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.

13 years agomail/rmailmm.el (rmail-mime-insert-multipart): For unsupported multipart subtypes...
Kenichi Handa [Fri, 26 Nov 2010 12:58:41 +0000 (21:58 +0900)]
mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported multipart subtypes, insert all as usual.

13 years agocolor.el: Rename various rgb functions to srgb.
Julien Danjou [Fri, 26 Nov 2010 11:19:00 +0000 (11:19 +0000)]
color.el: Rename various rgb functions to srgb.

13 years agonnimap.el (nnimap-request-set-mark): Remove left over.
Gnus developers [Fri, 26 Nov 2010 11:03:16 +0000 (11:03 +0000)]
nnimap.el (nnimap-request-set-mark): Remove left over.
nnimap.el (nnimap-get-groups): Allow non-quoted strings as mailbox names.

13 years agomail/rmail.el: Require rfc2047.
Kenichi Handa [Fri, 26 Nov 2010 07:58:35 +0000 (16:58 +0900)]
mail/rmail.el: Require rfc2047.

13 years agoshr.el (shr-insert): Revert last change.
Katsumi Yamaoka [Fri, 26 Nov 2010 07:35:42 +0000 (07:35 +0000)]
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.

13 years agoImprove rmail's MIME handling.
Kenichi Handa [Fri, 26 Nov 2010 04:06:59 +0000 (13:06 +0900)]
Improve rmail's MIME handling.

13 years ago* lisp/calendar/diary-lib.el (diary-outlook-format): Remove pointless element.
Glenn Morris [Fri, 26 Nov 2010 03:22:49 +0000 (19:22 -0800)]
* lisp/calendar/diary-lib.el (diary-outlook-format): Remove pointless element.