]> git.eshelyaron.com Git - emacs.git/log
emacs.git
14 years agoDon't be so lax with spelling.
Glenn Morris [Wed, 3 Nov 2010 03:49:04 +0000 (20:49 -0700)]
Don't be so lax with spelling.

* lisp/net/dbus.el (dbus-name-owner-changed-handler): Doc fix.

* doc/misc/ediff.texi (Quick Help Commands, Miscellaneous): Spelling fix.

14 years agoMere anarchy is loosed upon the world.
Glenn Morris [Wed, 3 Nov 2010 03:40:54 +0000 (20:40 -0700)]
Mere anarchy is loosed upon the world.
* doc/misc/gnus.texi (Agent Variables): Spelling fix.

14 years agolandmark: you lose.
Glenn Morris [Wed, 3 Nov 2010 03:35:38 +0000 (20:35 -0700)]
landmark: you lose.
* lisp/play/landmark.el (lm-losing-threshold): Correct spelling.
(lm-human-plays): Use new name.

14 years agoFix the most annoying typo in the world.
Glenn Morris [Wed, 3 Nov 2010 03:33:24 +0000 (20:33 -0700)]
Fix the most annoying typo in the world.
* lisp/play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
(gomoku-human-plays): Use new name.

14 years agoSilence compilation of gomoku.el.
Glenn Morris [Wed, 3 Nov 2010 03:30:37 +0000 (20:30 -0700)]
Silence compilation of gomoku.el.
* lisp/play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
(Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
(gomoku-score-trans-table, gomoku-winning-threshold)
(gomoku-loosing-threshold, gomoku-init-score-table): Use new names.

14 years agoSilence compilation of mh-mime.el.
Glenn Morris [Wed, 3 Nov 2010 03:27:38 +0000 (20:27 -0700)]
Silence compilation of mh-mime.el.
* lisp/mh-e/mh-mime.el (dots, type, ov): Avoid unnecessary declaration.

14 years agoSeparate built-in packages from elpa packages, for efficiency.
Chong Yidong [Wed, 3 Nov 2010 03:25:36 +0000 (23:25 -0400)]
Separate built-in packages from elpa packages, for efficiency.

* emacs-lisp/package.el: Don't put built-in packages in
package-alist, to avoid loading inefficiencies.
(package-built-in-p): Make VERSION optional, and treat it as a
minimum acceptable version.
(package-activate): Search separately for built-in packages.  Emit
a warning if a dependency fails.
(define-package): Handle most common case, where there is no
obsolete package, first.
(package-compute-transaction): Print required version in error.
(package--initialized): New variable.
(list-packages): Use it.
(package-initialize): Optional arg NO-ACTIVATE.  Don't put
built-in packages in packages-alist; keep it separate.  Set
package--initialized.
(describe-package): Avoid activating packages as a side-effect.
Search separately for built-in packages.
(describe-package-1): Handle the case where an elpa package is
simultaneously built-in and available/installed.
(package-installed-p, package--generate-package-list): Search
separately for built-in packages.
(package-load-descriptor): Doc fix.

14 years agoSilence compilation of nndiary.el.
Glenn Morris [Wed, 3 Nov 2010 03:25:23 +0000 (20:25 -0700)]
Silence compilation of nndiary.el.
* lisp/gnus/nndiary.el (nndiary-generate-nov-databases-1)
(nndiary-generate-active-info): Rename dynamic variable `files' to
something less generic.

14 years ago* lisp/progmodes/perl-mode.el (perl-syntax-propertize-function):
Stefan Monnier [Wed, 3 Nov 2010 02:30:12 +0000 (22:30 -0400)]
* lisp/progmodes/perl-mode.el (perl-syntax-propertize-function):
Handle __DATA__ and __END__.

14 years agonnir.el (nnir-request-move-article): call the underlying backend to move articles...
Andrew Cohen [Wed, 3 Nov 2010 01:06:33 +0000 (01:06 +0000)]
nnir.el (nnir-request-move-article): call the underlying backend to move articles from nnir.

14 years agognus-cite.el (gnus-article-natural-long-line-p): Removed.
Lars Magne Ingebrigtsen [Wed, 3 Nov 2010 01:02:53 +0000 (01:02 +0000)]
gnus-cite.el (gnus-article-natural-long-line-p): Removed.

14 years ago(byte-recompile-file): If bytecomp-arg is nil, do not ask to recompile files that...
Noah Friedman [Tue, 2 Nov 2010 22:51:25 +0000 (15:51 -0700)]
(byte-recompile-file): If bytecomp-arg is nil, do not ask to recompile files that are not already compiled, and do not recompile them.

14 years agonnir: remove wais support
Julien Danjou [Tue, 2 Nov 2010 11:28:45 +0000 (11:28 +0000)]
nnir: remove wais support

14 years ago* lisp/gnus/gnus-html.el: Reorder requirements to quieten compiler.
Glenn Morris [Tue, 2 Nov 2010 04:08:43 +0000 (21:08 -0700)]
* lisp/gnus/gnus-html.el: Reorder requirements to quieten compiler.

14 years ago* lisp/gnus/gnus-util.el: Comment.
Glenn Morris [Tue, 2 Nov 2010 04:06:44 +0000 (21:06 -0700)]
* lisp/gnus/gnus-util.el: Comment.

14 years agoFix last change to package.el.
Chong Yidong [Tue, 2 Nov 2010 02:30:50 +0000 (22:30 -0400)]
Fix last change to package.el.

14 years agognus-cite.el (gnus-article-fill-cited-article): Make fill work properly for XEmacs...
Katsumi Yamaoka [Tue, 2 Nov 2010 02:19:52 +0000 (02:19 +0000)]
gnus-cite.el (gnus-article-fill-cited-article): Make fill work properly for XEmacs as well.
gnus-cite.el (gnus-article-fill-cited-article, gnus-article-foldable-buffer, gnus-article-natural-long-line-p): Use window-width rather than frame-width.

14 years agoTwo fixes for elpa packages overriding built-in ones.
Chong Yidong [Tue, 2 Nov 2010 01:50:26 +0000 (21:50 -0400)]
Two fixes for elpa packages overriding built-in ones.

* emacs-lisp/package.el (package-initialize): Ensure that
obsoleted built-in packages are not in package-activated-list
during activation.
(describe-package-1): Make the "installed" status override
"built-in".

14 years agoAdjust doc.
Vinicius Jose Latorre [Tue, 2 Nov 2010 01:50:22 +0000 (23:50 -0200)]
Adjust doc.

14 years agonnir.el: Fix various bugs.
Andrew Cohen [Mon, 1 Nov 2010 23:47:38 +0000 (23:47 +0000)]
nnir.el: Fix various bugs.

14 years agognus-sum.el (gnus-print-buffer): Rewrite to use with-temp-buffer.
Lars Magne Ingebrigtsen [Mon, 1 Nov 2010 23:11:37 +0000 (23:11 +0000)]
gnus-sum.el (gnus-print-buffer): Rewrite to use with-temp-buffer.
gnus-sum.el (gnus-print-buffer): Just print the buffer as is.
gnus-cite.el (gnus-article-foldable-buffer): Protect against degenerate articles.

14 years agoMerge changes made in Gnus trunk.
Lars Magne Ingebrigtsen [Mon, 1 Nov 2010 22:21:10 +0000 (22:21 +0000)]
Merge changes made in Gnus trunk.

nnimap.el (nnimap-parse-line): Don't bug out oddly formed replies (bug #7311).
gnus-cite.el (gnus-article-fill-cited-article): Minimize the long-lines case by only filling the long lines.
gnus-start.el (gnus-ask-server-for-new-groups): Return the new groups.
gnus-group.el (gnus-group-find-new-groups): Display all the new groups.
gnus-start.el (gnus-find-new-newsgroups): Return the list of new groups.
nnimap.el (nnimap-request-group): Store the new updated info.
nnimap.el (nnimap-request-group): Select the group when we don't know whether it exists or not.

14 years agoFix error in last merge from branch.
Chong Yidong [Mon, 1 Nov 2010 15:18:42 +0000 (11:18 -0400)]
Fix error in last merge from branch.
Remove 2010-10-25 commit by Michael Albinus to dbusbind.c, which is
not intended for trunk.

14 years agoFix dates in ChangeLog entries.
Juanma Barranquero [Mon, 1 Nov 2010 14:59:31 +0000 (15:59 +0100)]
Fix dates in ChangeLog entries.

14 years agomerge trunk
Kenichi Handa [Mon, 1 Nov 2010 07:55:44 +0000 (16:55 +0900)]
merge trunk

14 years agomerge trunk
Kenichi Handa [Mon, 1 Nov 2010 07:53:08 +0000 (16:53 +0900)]
merge trunk

14 years agoReposition some aliases in holidays.el.
Glenn Morris [Mon, 1 Nov 2010 07:40:11 +0000 (00:40 -0700)]
Reposition some aliases in holidays.el.
* lisp/calendar/holidays.el (general-holidays, oriental-holidays)
(local-holidays, other-holidays, hebrew-holidays, christian-holidays)
(islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
the definitions of their targets.

(The position doesn't actually matter so long as the aliases are autoloaded).

14 years agow32term.c (x_draw_glyphless_glyph_string_foreground): Fix the arg with_background...
Kenichi Handa [Mon, 1 Nov 2010 07:35:04 +0000 (16:35 +0900)]
w32term.c (x_draw_glyphless_glyph_string_foreground): Fix the arg with_background for font->driver->draw.

14 years ago* cedet/semantic/bovine/c.el (semantic-analyze-split-name): Move before use.
Glenn Morris [Mon, 1 Nov 2010 07:34:04 +0000 (00:34 -0700)]
* cedet/semantic/bovine/c.el (semantic-analyze-split-name): Move before use.

14 years ago* lisp/emacs-lisp/smie.el (smie): New custom group.
Glenn Morris [Mon, 1 Nov 2010 06:44:54 +0000 (23:44 -0700)]
* lisp/emacs-lisp/smie.el (smie): New custom group.
(smie-blink-matching-inners, smie-indent-basic): Add :group.

14 years agoSilence compilation of mm-util.el.
Glenn Morris [Mon, 1 Nov 2010 06:39:01 +0000 (23:39 -0700)]
Silence compilation of mm-util.el.
* lisp/gnus/mm-util.el (gnus-completing-read): Autoload.
(mm-read-coding-system): Simplify Emacs definition.

14 years ago* lisp/gnus/nnmail.el (gnus-activate-group): Update declaration.
Glenn Morris [Mon, 1 Nov 2010 06:21:44 +0000 (23:21 -0700)]
* lisp/gnus/nnmail.el (gnus-activate-group): Update declaration.

14 years agoFix some declarations in cedet.
Glenn Morris [Mon, 1 Nov 2010 06:19:31 +0000 (23:19 -0700)]
Fix some declarations in cedet.

* lisp/cedet/semantic/symref/cscope.el (ede-toplevel):
* lisp/cedet/semantic/symref.el (ede-toplevel):
* lisp/cedet/semantic/tag-file.el (ede-toplevel):
* lisp/cedet/ede.el (ede-toplevel): Fix declarations.

14 years agoshr.el: No need to declare `declare-function' since shr.el is for only Emacsen that...
Katsumi Yamaoka [Mon, 1 Nov 2010 06:16:46 +0000 (06:16 +0000)]
shr.el: No need to declare `declare-function' since shr.el is for only Emacsen that provide `libxml-parse-html-region'.

14 years agoFix some declarations.
Glenn Morris [Mon, 1 Nov 2010 06:13:43 +0000 (23:13 -0700)]
Fix some declarations.

* lisp/gnus/nnimap.el (gnutls-negotiate):
* lisp/gnus/nntp.el (netrc-parse): Fix declarations.

* lisp/faces.el (xw-defined-colors, x-setup-function-keys):
* lisp/mouse-sel.el (x-select-text):
* lisp/term/w32console.el (x-setup-function-keys): Update declarations.

14 years ago* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
Glenn Morris [Mon, 1 Nov 2010 06:00:04 +0000 (23:00 -0700)]
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.

14 years ago* lisp/textmodes/ispell.el (comment-add): Declare.
Glenn Morris [Mon, 1 Nov 2010 05:55:40 +0000 (22:55 -0700)]
* lisp/textmodes/ispell.el (comment-add): Declare.

14 years ago* net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string): Declare.
Glenn Morris [Mon, 1 Nov 2010 05:53:15 +0000 (22:53 -0700)]
* net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string): Declare.

14 years ago* lisp/info.el (finder-keywords-hash, package-alist): Declare.
Glenn Morris [Mon, 1 Nov 2010 05:48:20 +0000 (22:48 -0700)]
* lisp/info.el (finder-keywords-hash, package-alist): Declare.

14 years agoHandle glyphless characters on tty.
Kenichi Handa [Mon, 1 Nov 2010 04:09:26 +0000 (13:09 +0900)]
Handle glyphless characters on tty.

14 years agognus-util.el (gnus-string-match-p): New function, that is an alias to string-match...
Katsumi Yamaoka [Mon, 1 Nov 2010 03:58:53 +0000 (03:58 +0000)]
gnus-util.el (gnus-string-match-p): New function, that is an alias to string-match-p in Emacs >=23.
gnus-msg.el (gnus-configure-posting-styles)
nnir.el (nnir-run-gmane): Use gnus-string-match-p.

14 years agoetc/NEWS: Remove VC changes, since they are backported to 23.3.
Chong Yidong [Mon, 1 Nov 2010 03:20:57 +0000 (23:20 -0400)]
etc/NEWS: Remove VC changes, since they are backported to 23.3.
Edit selection changes.

14 years agoFix to package name computation in Finder.
Chong Yidong [Mon, 1 Nov 2010 03:19:01 +0000 (23:19 -0400)]
Fix to package name computation in Finder.

* lisp/finder.el (finder-compile-keywords): Don't use intern-soft,
since package names may not yet exist in the obarray.

14 years agoRemove extra leftover args to vc-*-checkin.
Chong Yidong [Mon, 1 Nov 2010 03:16:48 +0000 (23:16 -0400)]
Remove extra leftover args to vc-*-checkin.

* vc/vc-arch.el (vc-arch-checkin):
* vc/vc-cvs.el (vc-cvs-checkin):
* vc/vc-mtn.el (vc-mtn-checkin):
* vc/vc-rcs.el (vc-rcs-checkin):
* vc/vc-sccs.el (vc-sccs-checkin):
* vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
since 2010-04-21 commit by Stefan Monnier.

14 years ago* lisp/emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
Glenn Morris [Mon, 1 Nov 2010 02:55:12 +0000 (19:55 -0700)]
* lisp/emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.

14 years agoSilence compilation of startup.el.
Glenn Morris [Mon, 1 Nov 2010 02:51:59 +0000 (19:51 -0700)]
Silence compilation of startup.el.
* lisp/startup.el (package-enable-at-startup, package-initialize):
Silence compiler.

14 years agoSilence nnir.el compilation.
Glenn Morris [Mon, 1 Nov 2010 02:38:33 +0000 (19:38 -0700)]
Silence nnir.el compilation.
* lisp/gnus/nnir.el (declare-function): Add compat stub.
(mm-url-insert, mm-url-encode-www-form-urlencoded): Declare.
(nnir-run-gmane): Require 'mm-url.

14 years ago* progmodes/ada-mode.el (ada-font-lock-syntactic-keywords): Silence compiler.
Glenn Morris [Mon, 1 Nov 2010 02:33:11 +0000 (19:33 -0700)]
* progmodes/ada-mode.el (ada-font-lock-syntactic-keywords): Silence compiler.

14 years ago* lisp/gnus/mm-util.el (mm-string-to-multibyte): Simplify.
Glenn Morris [Mon, 1 Nov 2010 02:21:42 +0000 (19:21 -0700)]
* lisp/gnus/mm-util.el (mm-string-to-multibyte): Simplify.

14 years agoSilence shr.el compilation.
Glenn Morris [Mon, 1 Nov 2010 02:19:17 +0000 (19:19 -0700)]
Silence shr.el compilation.
* lisp/gnus/shr.el (declare-function): Add compat stub.
(url-cache-create-filename): Declare.
(mm-disable-multibyte, widget-convert-button): Autoload.

14 years agoSilence smime.el compilation.
Glenn Morris [Mon, 1 Nov 2010 02:11:34 +0000 (19:11 -0700)]
Silence smime.el compilation.
* lisp/gnus/smime.el (ldap-search): Declare.
(smime-cert-by-ldap-1): Require ldap on Emacs.

14 years agoSilence nnimap.el compilation.
Glenn Morris [Mon, 1 Nov 2010 02:07:01 +0000 (19:07 -0700)]
Silence nnimap.el compilation.
* lisp/gnus/nnimap.el: Require nnmail, and gnus-sum when compiling.
(nnimap-keepalive): Use gnus-float-time.

14 years agoSilence mail-source.el compilation.
Glenn Morris [Mon, 1 Nov 2010 01:56:28 +0000 (18:56 -0700)]
Silence mail-source.el compilation.
* lisp/gnus/mail-source.el (nnheader-message, gnus-float-time): Autoload.
(mail-source-delete-crash-box): Use gnus-float-time.

14 years agoSilence gnus-dired.el compilation.
Glenn Morris [Mon, 1 Nov 2010 01:51:22 +0000 (18:51 -0700)]
Silence gnus-dired.el compilation.
* lisp/gnus/gnus-dired.el (gnus-completing-read): Autoload.

14 years agoSilence mm-view.el compilation.
Glenn Morris [Mon, 1 Nov 2010 01:49:16 +0000 (18:49 -0700)]
Silence mm-view.el compilation.
* lisp/gnus/mm-view.el (gnus-rescale-image): Autoload.

14 years agoSilence mm-decode.el compilation.
Glenn Morris [Mon, 1 Nov 2010 01:45:47 +0000 (18:45 -0700)]
Silence mm-decode.el compilation.
* lisp/gnus/mm-decode.el (gnus-completing-read, gnus-blocked-images): Autoload.

14 years agoSilence gnus.el compilation.
Glenn Morris [Mon, 1 Nov 2010 01:40:12 +0000 (18:40 -0700)]
Silence gnus.el compilation.
* gnus.el (gnus-sloppily-equal-method-parameters): Move definition before use.

14 years agoSilence sieve-manage.el compilation.
Glenn Morris [Mon, 1 Nov 2010 01:38:04 +0000 (18:38 -0700)]
Silence sieve-manage.el compilation.
* lisp/gnus/sieve-manage.el: Require 'cl when compiling, for caddr.

14 years agoSilence gnus-util.el compilation.
Glenn Morris [Mon, 1 Nov 2010 01:34:55 +0000 (18:34 -0700)]
Silence gnus-util.el compilation.

* lisp/gnu/gnus-util.el (iswitchb-read-buffer): Declare rather than autoload.
(gnus-iswitchb-completing-read): Require iswitchb.
(gnus-select-frame-set-input-focus): Silence compiler.

14 years ago* configure.in (checking whether localtime caches TZ): Use
Ken Brown [Sun, 31 Oct 2010 23:21:53 +0000 (19:21 -0400)]
* configure.in (checking whether localtime caches TZ): Use
unsetenv instead of modifying environment directly.

14 years ago* lisp/cedet/ede/proj-elisp.el (project-compile-target): Fix previous change.
Glenn Morris [Sun, 31 Oct 2010 22:55:44 +0000 (15:55 -0700)]
* lisp/cedet/ede/proj-elisp.el (project-compile-target): Fix previous change.

14 years agomessage.el (message-subject-trailing-was-query): Change default to t.
Lars Magne Ingebrigtsen [Sun, 31 Oct 2010 22:49:28 +0000 (22:49 +0000)]
message.el (message-subject-trailing-was-query): Change default to t.

14 years ago* lisp/cus-start.el: Explanatory comment.
Glenn Morris [Sun, 31 Oct 2010 22:47:12 +0000 (15:47 -0700)]
* lisp/cus-start.el: Explanatory comment.

14 years agoFix previous cedet change and ChangeLog.
Glenn Morris [Sun, 31 Oct 2010 22:43:06 +0000 (15:43 -0700)]
Fix previous cedet change and ChangeLog.

* lisp/cedet/semantic/ede-grammar.el (project-compile-target):
Fix previous change.

14 years ago* src/xterm.c (x_connection_closed) [USE_X_TOOLKIT]: Fix merge, maybe.
Glenn Morris [Sun, 31 Oct 2010 22:35:44 +0000 (15:35 -0700)]
* src/xterm.c (x_connection_closed) [USE_X_TOOLKIT]: Fix merge, maybe.

14 years agoMerge changes made in Gnus trunk.
Gnus developers [Sun, 31 Oct 2010 22:31:24 +0000 (22:31 +0000)]
Merge changes made in Gnus trunk.

nnimap.el (nnimap-open-connection): Only send AUTHENTICATE PLAIN if LOGINDISABLED is set.
gnus.el (gnus-group-startup-message): Move point to the start of the buffer.
nndoc.el (nndoc-dissect-buffer): Reverse the order of the articles to reflect the order they're in in the digest.
gnus-sum.el (gnus-summary-select-article): Make `C-d' work reliably by checking whether the original article buffer is alive.
shr.el (shr-find-fill-point): Don't break lines between punctuation and non-punctuation (like after the apostrophe in "'We").
gnus-cite.el (gnus-article-fill-cited-article): Remove unused `force' parameter.
gnus-art.el (gnus-treatment-function-alist): Have gnus-treat-fill-long-lines point to gnus-article-fill-cited-long-lines.
gnus-art.el (gnus-treat-fill-long-lines): Change default to fill all text/plain sections.
gnus.el: Autoload gnus-article-fill-cited-long-lines.
gnus-art.el (gnus-mime-display-alternative): Actually pass the type on to `gnus-treat-article'.
gnus-sum.el (gnus-summary-show-article): Add `C-u C-u g' for showing the raw article, and change `C-u g' to show the article without doing treatments.
gnus.texi (Paging the Article): Document C-u g/C-u C-u g.
gnus-cite.el (gnus-article-foldable-buffer): Refactor out.
gnus-cite.el (gnus-article-foldable-buffer): Don't fold regions that have a ragged left edge.
gnus-cite.el (gnus-article-foldable-buffer): Skip past the prefix when determining raggedness.
gnus-srvr.el, nnir.el: Allow nnir searching for an entire server.
gnus-msg.el (gnus-configure-posting-styles): Permit the use of regular expression match and replace in posting styles.
gnus-art.el (gnus-treat-article): Only inhibit body washing, and leave the header washing to take place.
nnimap.el (nnimap-request-accept-article): Erase buffer before appending for easier debugging.
nnimap.el (nnimap-wait-for-connection): Take a regexp.
nnimap.el (nnimap-request-accept-article): Wait for the continuation line before sending anything unless we're streaming.

14 years ago* lisp/emacs-lisp/bytecomp.el (byte-recompile-file): New fun.
Julien Danjou [Sun, 31 Oct 2010 19:25:39 +0000 (15:25 -0400)]
* lisp/emacs-lisp/bytecomp.el (byte-recompile-file): New fun.
(byte-recompile-directory):
* lisp/emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
* cedet/ede/proj-elisp.el (project-compile-target):
* cedet/semantic/ede-grammar.el (project-compile-target):
Use `byte-recompile-file'.

Fixes: debbugs:7297
14 years agoMore merge fixes.
Juanma Barranquero [Sun, 31 Oct 2010 18:38:16 +0000 (19:38 +0100)]
More merge fixes.

14 years agoFix bug#7299; default value of tool-bar-mode in without-x builds.
Glenn Morris [Sun, 31 Oct 2010 18:26:54 +0000 (11:26 -0700)]
Fix bug#7299; default value of tool-bar-mode in without-x builds.

* src/frame.c (syms_of_frame) <tool-bar-mode>:
Default to nil if !HAVE_WINDOW_SYSTEM.

* lisp/cus-start.el: Handle standard values via a keyword.
Only set version property if specified.
(cursor-in-non-selected-windows, menu-bar-mode)
(tool-bar-mode, show-trailing-whitespace):
Do not specify standard values.
(transient-mark-mode, temporary-file-directory): Use :standard.

14 years ago* lisp/ChangeLog: Merge fixes.
Glenn Morris [Sun, 31 Oct 2010 18:13:40 +0000 (11:13 -0700)]
* lisp/ChangeLog: Merge fixes.

14 years agoDon't use STRING as first choice when pasting PRIMARY (Bug#6802).
Jan Djärv [Sun, 31 Oct 2010 16:03:11 +0000 (17:03 +0100)]
Don't use STRING as first choice when pasting PRIMARY (Bug#6802).

* lisp/term/x-win.el (x-get-selection-value): New function that gets
PRIMARY with type as specified in x-select-request-type. (Bug#6802).

14 years agoMerge changes from emacs-23 branch
Chong Yidong [Sun, 31 Oct 2010 14:40:01 +0000 (10:40 -0400)]
Merge changes from emacs-23 branch

14 years agoprogmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error. Fixes
Alan Mackenzie [Sun, 31 Oct 2010 11:54:02 +0000 (11:54 +0000)]
progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.  Fixes
bug #7185.

14 years agognus/ChangeLog: Cosmetic fix.
Katsumi Yamaoka [Sun, 31 Oct 2010 10:01:11 +0000 (10:01 +0000)]
gnus/ChangeLog: Cosmetic fix.

14 years agonnmairix.el (nnmairix-get-valid-servers): Return list of strings to conform with...
David Engster [Sun, 31 Oct 2010 09:53:57 +0000 (09:53 +0000)]
nnmairix.el (nnmairix-get-valid-servers): Return list of strings to conform with changes to gnus-completing-read.

14 years agoPrint informative error message when aborting on GTK disconnect.
Chong Yidong [Sun, 31 Oct 2010 03:33:56 +0000 (23:33 -0400)]
Print informative error message when aborting on GTK disconnect.

* xterm.c (x_connection_closed): Print informative error message
when aborting on GTK.  This requires using shut_down_emacs
directly instead of Fkill_emacs.

14 years ago* lisp/progmodes/sql.el: Remove comment link to defunct viewcvs url.
Glenn Morris [Sun, 31 Oct 2010 02:16:20 +0000 (19:16 -0700)]
* lisp/progmodes/sql.el: Remove comment link to defunct viewcvs url.

14 years ago* admin/notes/bugtracker: Mention "found".
Glenn Morris [Sun, 31 Oct 2010 00:38:13 +0000 (17:38 -0700)]
* admin/notes/bugtracker: Mention "found".

14 years agoetc/NEWS: Add placeholder for finder-inf.el changes.
Chong Yidong [Sun, 31 Oct 2010 00:24:34 +0000 (20:24 -0400)]
etc/NEWS: Add placeholder for finder-inf.el changes.

14 years agoMerge changes made in Gnus trunk.
Gnus developers [Sun, 31 Oct 2010 00:13:12 +0000 (00:13 +0000)]
Merge changes made in Gnus trunk.

nnir.el: General clean-up, and reimplementation of various bits.
nnir.el (nnir-search-engine): Ressurect variable, since it's used later in the file.
shr.el (shr-generic): The text nodes should be text, not :text.
nnir.el: Move defvars around to silence compiler warnings.
shr.el (shr-tag-img): Output "*" instead of "[img]".

14 years agoCheck more carefully for packages before loading package.el.
Chong Yidong [Sun, 31 Oct 2010 00:06:18 +0000 (20:06 -0400)]
Check more carefully for packages before loading package.el.

* startup.el (command-line): Search for package directories, and
don't load package.el if none are found.

* emacs-lisp/package.el (describe-package, list-packages): Call
package-initialize if it has not been called yet.

14 years agoTiny MH-E doc fixes.
Glenn Morris [Sat, 30 Oct 2010 21:17:59 +0000 (14:17 -0700)]
Tiny MH-E doc fixes.

* doc/misc/mh-e.texi (Preface, From Bill Wohler): Change 23 to past tense.
* etc/MH-E-NEWS: Change 23 to past tense.

14 years ago* net/tramp.el (tramp-handle-insert-file-contents): For root,
Michael Albinus [Sat, 30 Oct 2010 16:28:17 +0000 (18:28 +0200)]
* net/tramp.el (tramp-handle-insert-file-contents): For root,
preserve owner and group when editing files.  (Bug#7289)

Please contact me, if you have problems syncing with the trunk.

14 years agognus-start.el (gnus-find-new-newsgroups): Remove gnus-check-first-time-used.
Julien Danjou [Sat, 30 Oct 2010 15:01:14 +0000 (15:01 +0000)]
gnus-start.el (gnus-find-new-newsgroups): Remove gnus-check-first-time-used.
gnus.el: Remove gnus-backup-default-subscribed-newsgroups.
gnus-group.el: Remove gnus-group-fetch-control.

14 years agonnimap.el (nnimap-update-info): Allow 'ticked and other flags to be set on groups...
Knut Anders Hatlen [Sat, 30 Oct 2010 12:54:28 +0000 (12:54 +0000)]
nnimap.el (nnimap-update-info): Allow 'ticked and other flags to be set on groups that don't have \* permanentflags.

14 years agoprogmodes/cc-fonts.el (c-font-lock-enum-tail): New function which
Alan Mackenzie [Sat, 30 Oct 2010 12:24:06 +0000 (12:24 +0000)]
progmodes/cc-fonts.el (c-font-lock-enum-tail): New function which
fontifies the tail of an enum.
(c-basic-matchers-after): Insert a call to the above new function.
This fixes bug #7264.

14 years agoMerge changes made in Gnus trunk.
Gnus developers [Sat, 30 Oct 2010 05:59:34 +0000 (05:59 +0000)]
Merge changes made in Gnus trunk.

gnus.el: Remove `gnus-nntp-service' variable.
gnus.el: Make gnus-nntp-server and gnus-secondary-servers obsolete.
gnus-sum.el (gnus-summary-delete-marked-as-read, gnus-summary-delete-marked-with): Remove obsolete defalias.
gnus.el (gnus-use-long-file-name): Fix docstring.
nnimap.el (nnimap-open-connection): Use AUTHENTICATE PLAIN on servers that say they support that.
gnus-msg.el (gnus-inews-do-gcc): Don't have the backends do the slow *-request-group, which seems unnecessary.
gnus-group.el (gnus-group-get-new-news-this-group): Don't have point move to the previous line on `M-g'.
nnimap.el (nnimap-split-incoming-mail): Note that the INBOX has been selected.
nnimap.el: Allow the user to say whether to split old messages or not in nnimap.
shr.el (shr-tag-table-1): Only insert the images after the top-level table.
shr.el (shr-tag-span): Drop colorisation of regions since we don't control the background color.
shr.el (shr-tag-img): Ignore very small web bug type images.
shr.el (shr-put-image): Add help-echo alt texts to the images.
shr.el (shr-tag-video): Show the video poster image.

14 years agoFix bug#7306; customization of minor-mode variables defined in C.
Glenn Morris [Sat, 30 Oct 2010 02:27:44 +0000 (19:27 -0700)]
Fix bug#7306; customization of minor-mode variables defined in C.

* lisp/cus-start.el: Add :set properties for minor modes menu-bar-mode,
tool-bar-mode, transient-mark-mode.
Include the :set property in the dumped Emacs.

14 years agoSMIE: change indent rules format, improve smie-setup.
Stefan Monnier [Fri, 29 Oct 2010 19:20:28 +0000 (15:20 -0400)]
SMIE: change indent rules format, improve smie-setup.
* lisp/emacs-lisp/smie.el (smie-precs-precedence-table)
(smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
Mark them pure so the tables gets built at compile time.
(smie-bnf-precedence-table): Store the closer-alist in the table.
(smie-prec2-levels): Preserve the closer-alist.
(smie-blink-matching-open): Be more forgiving in case of indentation.
(smie-hanging-p): Rename from smie-indent--hanging-p.
(smie-bolp): Rename from smie-indent--bolp.
(smie--parent, smie--after): New dynamic vars.
(smie-parent-p, smie-next-p, smie-prev-p): New funs.
(smie-indent-rules): Remove.
(smie-indent--offset-rule): Remove fun.
(smie-rules-function): New var.
(smie-indent--rule): New fun.
(smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
(smie-indent-exps): Use it.
(smie-setup): Setup paren blinking; add keyword args for token
functions; extract closer-alist from op-levels.
(smie-indent-debug-log): Remove var.
(smie-indent-debug): Remove fun.
* lisp/progmodes/prolog.el (prolog-smie-indent-rules): Remove.
(prolog-smie-rules): New fun to replace it.
(prolog-mode-variables): Simplify.
* lisp/progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
it's setup automatically.
(octave-smie-indent-rules): Remove.
(octave-smie-rules): New fun to replace it.
(octave-mode): Simplify.

14 years agognus.el (gnus-buffers, gnus-group-buffer): Add docstrings.
Julien Danjou [Fri, 29 Oct 2010 13:51:15 +0000 (13:51 +0000)]
gnus.el (gnus-buffers, gnus-group-buffer): Add docstrings.
gnus.el (gnus-group-startup-message): Simplify/update code.
gnus-ems.el (gnus-x-splash): Remove.
gnus-start.el (gnus-1): Remove x-splash calls.

14 years agognus-group.el (gnus-group-make-tool-bar): Check for display graphic capability before...
Julien Danjou [Fri, 29 Oct 2010 11:24:23 +0000 (11:24 +0000)]
gnus-group.el (gnus-group-make-tool-bar): Check for display graphic capability before doing anything.
gnus-group.el (gnus-group-insert-group-line): Remove useless gnus-group-remove-excess-properties.

14 years agoFix doc/misc/makefile.w32.in like 2010-10-28T07:21:43Z!rgm@gnu.org did with Makefile.in.
Eli Zaretskii [Fri, 29 Oct 2010 10:49:27 +0000 (12:49 +0200)]
Fix doc/misc/makefile.w32.in like 2010-10-28T07:21:43Z!rgm@gnu.org did with Makefile.in.

 makefile.w32-in (MAKEINFO): Add -I$(emacsdir).
 (ENVADD): Remove extra -I$(emacsdir), included in $(MAKEINFO).
 ($(infodir)/efaq): Remove -I$(emacsdir), included in $(MAKEINFO).
 ($(infodir)/calc, calc.dvi): Depend on $(emacsdir)/emacsver.texi.

14 years agoFix 2010-10-29T06:51:36Z!rgm@gnu.org for non-CLASH_DETECTION platforms.
Eli Zaretskii [Fri, 29 Oct 2010 10:43:38 +0000 (12:43 +0200)]
Fix 2010-10-29T06:51:36Z!rgm@gnu.org for non-CLASH_DETECTION platforms.

 emacs.c (main): Call syms_of_filelock unconditionally.
 filelock.c (syms_of_filelock): Move out of #ifdef CLASH_DETECTION
 clause, but keep part of it conditioned on CLASH_DETECTION.

14 years agoReplace some inappropriate uses of toggle-read-only. (Bug#7292)
Glenn Morris [Fri, 29 Oct 2010 07:48:10 +0000 (00:48 -0700)]
Replace some inappropriate uses of toggle-read-only.  (Bug#7292)

* lisp/speedbar.el (speedbar-mode):
* lisp/play/fortune.el (fortune-in-buffer, fortune):
* lisp/play/gomoku.el (gomoku-mode):
* lisp/play/landmark.el (lm-mode):
* lisp/textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
* lisp/cedet/mode-local.el (mode-local-augment-function-help):
* lisp/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons):
* lisp/semantic/symref/list.el (semantic-symref-results-dump)
(semantic-symref-rb-toggle-expand-tag):
Replace inappropriate uses of toggle-read-only.

14 years agognus-art.el (gnus-article-goto-part): Fix last change.
Katsumi Yamaoka [Fri, 29 Oct 2010 07:22:52 +0000 (07:22 +0000)]
gnus-art.el (gnus-article-goto-part): Fix last change.

14 years agognus-art.el (gnus-article-goto-part): Work for article narrowed by ^L.
Katsumi Yamaoka [Fri, 29 Oct 2010 07:13:33 +0000 (07:13 +0000)]
gnus-art.el (gnus-article-goto-part): Work for article narrowed by ^L.

14 years agoSync docs of some X, W32, NS C functions.
Glenn Morris [Fri, 29 Oct 2010 07:04:09 +0000 (00:04 -0700)]
Sync docs of some X, W32, NS C functions.

* src/nsfns.m (Fx-display-save-under, Fx-open-connection)
(Fxw-color-defined-p, Fxw-display-color-p, Fx-show-tip):
* src/w32fns.c (Fxw_color_defined_p, Fx_open_connection):
* src/xfns.c (Fxw_color_defined_p, Fx_open_connection):
Sync docs between X, W32, NS.

14 years agoRemove duplicate Lisp definition of temporary-file-directory, from filelock.c.
Glenn Morris [Fri, 29 Oct 2010 06:51:36 +0000 (23:51 -0700)]
Remove duplicate Lisp definition of temporary-file-directory, from filelock.c.

* lisp/files.el (temporary-file-directory): Remove (already defined in C).
* lisp/cus-start.el: Add temporary-file-directory.

14 years agoRemove duplicate Lisp definitions of define-minor-mode variables defined in C.
Glenn Morris [Fri, 29 Oct 2010 03:29:29 +0000 (20:29 -0700)]
Remove duplicate Lisp definitions of define-minor-mode variables defined in C.

* lisp/abbrev.el (abbrev-mode):
* lisp/composite.el (auto-composition-mode):
* lisp/menu-bar.el (menu-bar-mode):
* lisp/simple.el (transient-mark-mode):
* lisp/tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
that they do not define the associated variables twice.
* lisp/simple.el (transient-mark-mode): Remove defvar.
* lisp/composite.el (auto-composition-mode): Make variable auto-buffer-local.
* lisp/cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
Handle multiple groups, and also custom-delayed-init-variables.
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.

* src/buffer.c (syms_of_buffer) <abbrev-mode, transient-mark-mode>:
* src/frame.c (syms_of_frame) <tool-bar-mode>: Move docs here from Lisp.

14 years agoCorrect some viewcvs links in docs and comments.
Glenn Morris [Fri, 29 Oct 2010 03:19:33 +0000 (20:19 -0700)]
Correct some viewcvs links in docs and comments.

* doc/misc/cc-mode.texi: Remove reference to defunct viewcvs URL.
Instead, refer to the generic Savannah page, since it seems likely
that Savannah will never provide the equivalent service for GNU bazaar.
The other option would be to use the Git mirror URL, since it seems to
be being updated now, and of course browsing Git repos works just fine.
That would be a pretty poor advert for the GNU system though.

* etc/MH-E-NEWS: Update URL (viewcvs -> viewvc).

* lisp/net/tramp-fish.el: Update URL in comment (viewcvs -> viewvc).