bpt/emacs.git
13 years agoFix the MSDOS build broken by latest revisions.
Eli Zaretskii [Fri, 15 Oct 2010 18:42:54 +0000 (20:42 +0200)]
Fix the MSDOS build broken by latest revisions.

 src/unexcoff.c (make_hdr): Fix prototype according to changes in
 2010-10-03T13:59:56Z!dann@ics.uci.edu.
 msdos/sed1v2.inp: Use $(..) instead of ${..} in all edit commands.
 Needed because of changes in 2010-10-10T14:43:05Z!dann@ics.uci.edu.
 msdos/sed6.inp (mkinfodir): Edit to avoid Unix shell-isms.  Needed
 because of changes in 2010-10-09T18:31:12Z!rgm@gnu.org.

13 years ago* net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
Michael Albinus [Fri, 15 Oct 2010 12:07:38 +0000 (14:07 +0200)]
* net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
Suppress expansion of tabs to spaces.

13 years agoFix bug #7196.
Eli Zaretskii [Fri, 15 Oct 2010 11:33:17 +0000 (13:33 +0200)]
Fix bug #7196.

 NEWS: Expand the entry about "Selection changes".

13 years agoFix bug #7195 with NEWS entry for of select-active-region'.
Eli Zaretskii [Fri, 15 Oct 2010 11:00:57 +0000 (13:00 +0200)]
Fix bug #7195 with NEWS entry for of select-active-region'.

13 years agoDocument changes made in 2010-10-13T14:50:06Z!lekktu@gmail.com.
Juanma Barranquero [Fri, 15 Oct 2010 10:49:07 +0000 (12:49 +0200)]
Document changes made in 2010-10-13T14:50:06Z!lekktu@gmail.com.

 os.texi (Dynamic Libraries): New node, with slightly modified
 text deleted from "Image Formats".
 (System Interface): Add @menu entry for "Dynamic Libraries".
 display.texi (Image Formats): Remove description of
 image-library-alist.  (Renamed in 2010-10-13T14:50:06Z!lekktu@gmail.com.)

13 years agoshr.el (shr-tag-img): Ignore images with no data.
Katsumi Yamaoka [Fri, 15 Oct 2010 10:24:10 +0000 (10:24 +0000)]
shr.el (shr-tag-img): Ignore images with no data.

13 years agoauth.texi (GnuPG and EasyPG Assistant Configuration): Fix markup.
Eli Zaretskii [Fri, 15 Oct 2010 10:21:03 +0000 (12:21 +0200)]
auth.texi (GnuPG and EasyPG Assistant Configuration): Fix markup.

13 years agoimage.c (tiff_load): Cast 3rd argument to avoid compiler warning.
Eli Zaretskii [Fri, 15 Oct 2010 10:10:20 +0000 (12:10 +0200)]
image.c (tiff_load): Cast 3rd argument to avoid compiler warning.

13 years agoshr.el (shr-insert): Remove space inserted before or after a breakable character...
Katsumi Yamaoka [Fri, 15 Oct 2010 08:10:56 +0000 (08:10 +0000)]
shr.el (shr-insert): Remove space inserted before or after a breakable character or at the beginning or the end of a line.
shr.el (shr-find-fill-point): Do kinsoku; find the second best point or give it up if there's no breakable point.

13 years agoAgain, fix a typo in really-oldXMenu target
Tassilo Horn [Fri, 15 Oct 2010 07:46:47 +0000 (09:46 +0200)]
Again, fix a typo in really-oldXMenu target

13 years agoFix variable name typo in really-oldXMenu target.
Tassilo Horn [Fri, 15 Oct 2010 07:34:26 +0000 (09:34 +0200)]
Fix variable name typo in really-oldXMenu target.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Thu, 14 Oct 2010 22:39:54 +0000 (22:39 +0000)]
Merge changes made in Gnus trunk.

shr.el: Fix defcustom type (char -> character).
nnimap.el (nnimap-open-connection): Remove %s from openssl incantation, which is no longer valid.
gnus-sum.el (gnus-summary-refer-thread): Implement a version that uses *-request-thread.
gnus-int.el (gnus-request-thread): New back end function.
nnimap.el (nnimap-request-thread): New back end function.
shr.el: Indent.
gnus-art.el, shr.el: Have shr switch buffer truncation on if there are big tables.
(nnimap-open-connection): Message when opening connection for debugging purposes.

13 years ago* url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.
Lars Magne Ingebrigtsen [Thu, 14 Oct 2010 21:35:03 +0000 (23:35 +0200)]
* url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.

13 years agoMerge changes from emacs-23 branch.
Juanma Barranquero [Thu, 14 Oct 2010 14:32:27 +0000 (16:32 +0200)]
Merge changes from emacs-23 branch.

13 years agoshr.el (shr-tag-a): Use url-link as widget type.
Julien Danjou [Thu, 14 Oct 2010 13:55:30 +0000 (13:55 +0000)]
shr.el (shr-tag-a): Use url-link as widget type.

13 years agosrc/w32*.c: Whitespace fixes and typos.
Juanma Barranquero [Thu, 14 Oct 2010 12:25:35 +0000 (14:25 +0200)]
src/w32*.c: Whitespace fixes and typos.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Thu, 14 Oct 2010 10:16:59 +0000 (10:16 +0000)]
Merge changes made in Gnus trunk.

gnus-group.el (gnus-group-insert-group-line): Fix group argument to `gnus-group-get-icon'.
nnimap.el (nnimap-open-connection): tls-program should be a list of programs.

13 years agoFix 2010-10-12 change to custom-theme-set-faces.
Chong Yidong [Thu, 14 Oct 2010 05:57:58 +0000 (01:57 -0400)]
Fix 2010-10-12 change to custom-theme-set-faces.

* cus-face.el (custom-theme-set-faces): Call custom-push-theme
only after checking the theme-face property.

13 years agomail/rmail.el (rmail-show-message-1): Catch an error of base64-decode-region and...
Kenichi Handa [Thu, 14 Oct 2010 04:23:36 +0000 (13:23 +0900)]
mail/rmail.el (rmail-show-message-1): Catch an error of base64-decode-region and just show an error message (bug#7165).

13 years agoDefine a cursor defface; minor face optimizations.
Chong Yidong [Thu, 14 Oct 2010 03:55:18 +0000 (23:55 -0400)]
Define a cursor defface; minor face optimizations.

* faces.el (face-spec-reset-face): Reset all attributes in one
single call to set-face-attribute.
(face-spec-match-p): Make it a defsubst.
(frame-set-background-mode): New arg KEEP-FACE-SPECS.
(x-create-frame-with-faces, tty-create-frame-with-faces)
(tty-set-up-initial-frame-faces): Don't recompute face specs in
frame-set-background-mode, since they are recomputed immediately
afterwards in face-set-after-frame-default.
(face-set-after-frame-default): Minor optimization.
(cursor): Provide non-trivial defface spec.

* custom.el (custom-theme-recalc-face): Simplify.

13 years agocalc-alg.el (math-var): Renamed from `var'.
Jay Belanger [Thu, 14 Oct 2010 03:14:38 +0000 (22:14 -0500)]
calc-alg.el (math-var): Renamed from `var'.
(math-is-polynomial, math-is-poly-rec): Replace `var' with `math-var'.

calcalg2.el (math-var): Renamed from `var'.
(calcFunc-table, math-scan-for-limits): Replace `var' with `math-var'.

13 years agomerge emacs-23
Kenichi Handa [Thu, 14 Oct 2010 02:06:31 +0000 (11:06 +0900)]
merge emacs-23

13 years ago(ps-mule-begin-job): Fix for the case that only ENCODING is set in a font-spec (bug...
Kenichi Handa [Thu, 14 Oct 2010 02:03:25 +0000 (11:03 +0900)]
(ps-mule-begin-job): Fix for the case that only ENCODING is set in a font-spec (bug#7197).

13 years agosrc/w32*.c: Make functions static.
Juanma Barranquero [Thu, 14 Oct 2010 01:33:31 +0000 (03:33 +0200)]
src/w32*.c: Make functions static.

* src/w32fns.c (w32_wnd_proc, file_dialog_callback):
* src/w32font.c (w32_generic_family):
* src/w32inevt.c (key_event):
* src/w32menu.c (fill_in_menu):
* src/w32proc.c (reader_thread, w32_executable_type, compare_env)
  (merge_and_sort_env, int_from_hex, enum_locale_fn, enum_codepage_fn):
* src/w32term.c (w32_read_socket): Make static.

13 years agomm-decode.el (mm-shr): Bind shr-blocked-images to suppress compile warning.
Katsumi Yamaoka [Thu, 14 Oct 2010 01:17:30 +0000 (01:17 +0000)]
mm-decode.el (mm-shr): Bind shr-blocked-images to suppress compile warning.

13 years agosrc/image.c (DEF_IMGLIB_FN): Add argument to adapt to strict prototypes.
Juanma Barranquero [Wed, 13 Oct 2010 23:48:09 +0000 (01:48 +0200)]
src/image.c (DEF_IMGLIB_FN): Add argument to adapt to strict prototypes.

13 years agolisp/subr.el (last): Deal with dotted lists (reported in bug#7174).
Glenn Morris [Wed, 13 Oct 2010 23:43:39 +0000 (01:43 +0200)]
lisp/subr.el (last): Deal with dotted lists (reported in bug#7174).

13 years agolisp/subr.el (last): Use `safe-length' instead of `length' (bug#7206).
Stephen Berman [Wed, 13 Oct 2010 23:15:03 +0000 (01:15 +0200)]
lisp/subr.el (last): Use `safe-length' instead of `length' (bug#7206).

13 years agonnimap.el (nnimap-close-server): Forget the nnimap data on close.
Lars Magne Ingebrigtsen [Wed, 13 Oct 2010 23:12:47 +0000 (23:12 +0000)]
nnimap.el (nnimap-close-server): Forget the nnimap data on close.

13 years agosrc/makefile.w32-in: Simplify OBJ macros.
Juanma Barranquero [Wed, 13 Oct 2010 23:08:58 +0000 (01:08 +0200)]
src/makefile.w32-in: Simplify OBJ macros.

* makefile.w32-in (TLIB2): Rename from TLIBW32.
  (OBJ2): New macro.
  (WIN32OBJ, FONTOBJ): Remove.
  (OBJ1): Redistribute object files with OBJ2.
  (LIBS, $(TEMACS)): Use TLIB2.
  (make-buildobj-CMD, make-buildobj-SH): Use OBJ2.
  ($(TLIB2), TAGS, TAGS-LISP, TAGS-gmake): Depend on OBJ2.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Wed, 13 Oct 2010 22:21:20 +0000 (22:21 +0000)]
Merge changes made in Gnus trunk.

auth.texi (GnuPG and EasyPG Assistant Configuration): Fix syntax and trim sentence.
shr.el (shr-current-column): Remove buggy and unnecessary function.
auth.texi: Fix up pxref/xref.
auth.texi (GnuPG and EasyPG Assistant Configuration): Fix up the @item syntax for in-Emacs makeinfo.
gnus-spec.el (gnus-parse-simple-format): princ doesn't really insert anything in Emacs.
mm-decode.el (mm-shr): Allow use from non-Gnus users.
nnimap.el (nnimap-parse-flags): Be more strict when looking for FETCH responses.
nnimap.el, tls.el: Rip the STARTTLS stuff out of tls.el again, and just bind it directly from nnimap.
shr.el (shr-find-fill-point): Use a filling algorithm that should probably work for CJVK text, too.
nnimap.el (nnimap-open-connection): Fix open-tls-stream call.
nnimap.el (nnimap-parse-flags): Fix regexp.
tls.el (tls-program): Remove spurious %s from openssl.
shr.el (shr-find-fill-point): Don't inloop on indented text.

13 years agoRename `image-library-alist' to `dynamic-library-alist'.
Juanma Barranquero [Wed, 13 Oct 2010 14:50:06 +0000 (16:50 +0200)]
Rename `image-library-alist' to `dynamic-library-alist'.

* etc/NEWS: Mention `dynamic-library-alist'.

* lisp/image.el (image-library-alist): Declare as obsolete alias.
  (image-type-available-p): Use `dynamic-library-alist'.

* lisp/term/w32-win.el (dynamic-library-alist):
  Use instead of `image-library-alist'.

* nt/INSTALL: Refer to `dynamic-library-alist'.

* src/image.c (Vimage_library_alist)
  (syms_of_image) <image-library-alist>: Move to src/emacs.c and rename.
  (lookup_image_type): Use Vdynamic_library_alist.
  (Finit_image_library): Doc fix.

* src/emacs.c (Vdynamic_library_alist)
  (syms_of_emacs) <dynamic-library-alist>: Move from src/image.c and rename.
  Doc fix.

* src/lisp.h (Vdynamic_library_alist): Declare extern.

13 years agoFix handling of font properties on Windows (bug#6303).
Damyan Pepper [Wed, 13 Oct 2010 14:07:28 +0000 (16:07 +0200)]
Fix handling of font properties on Windows (bug#6303).
* src/font.c (font_filter_properties): New function, refactored from
  ftfont_filter_properties.
* src/font.h (font_filter_properties): Declare.
* src/ftfont.c (ftfont_filter_properties): Use font_filter_properties.
* src/w32font.c (w32font_booleans, w32font_non_booleans): New variables.
  (w32font_filter_properties): New function.
  (w32font_driver): Add w32font_filter_properties.

13 years agoshr: make shr-width a defcustom, use it in shr-tag-img.
Julien Danjou [Wed, 13 Oct 2010 11:55:48 +0000 (11:55 +0000)]
shr: make shr-width a defcustom, use it in shr-tag-img.

13 years agognus-dired.el (gnus-dired-attach): Silence XEmacs 21.5 when compiling.
Katsumi Yamaoka [Wed, 13 Oct 2010 05:39:17 +0000 (05:39 +0000)]
gnus-dired.el (gnus-dired-attach): Silence XEmacs 21.5 when compiling.

13 years ago* lisp/subr.el (last): Make it faster.
IRIE Shinsuke [Wed, 13 Oct 2010 03:30:36 +0000 (20:30 -0700)]
* lisp/subr.el (last): Make it faster.

Fixes: debbugs:7174

13 years ago* lisp/Makefile.in (compile-clean): Use `` instead of $().
Rainer Orth [Wed, 13 Oct 2010 03:23:47 +0000 (20:23 -0700)]
* lisp/Makefile.in (compile-clean): Use `` instead of $().
(Former is more portable than the latter.)

Fixes: debbugs:7178

13 years agoTidy some nextstep README etc files.
Glenn Morris [Wed, 13 Oct 2010 03:17:59 +0000 (20:17 -0700)]
Tidy some nextstep README etc files.

* nextstep/README: Move historical information to new file ../etc/NEXTSTEP.
* nextstep/AUTHORS: Merge into ./etc/NEXTSTEP and remove file.

* etc/NEXTSTEP: New file, extracted from ../nextstep/{AUTHORS,README}.

* make-dist: No more nextstep/AUTHORS.

13 years ago* nextstep/README: Remove information duplicated in AUTHORS.
Glenn Morris [Wed, 13 Oct 2010 03:11:55 +0000 (20:11 -0700)]
* nextstep/README: Remove information duplicated in AUTHORS.

13 years ago* nextstep/AUTHORS: Remove email addresses.
Glenn Morris [Wed, 13 Oct 2010 03:11:08 +0000 (20:11 -0700)]
* nextstep/AUTHORS: Remove email addresses.

13 years agoMore make-dist simplification.
Glenn Morris [Wed, 13 Oct 2010 03:08:45 +0000 (20:08 -0700)]
More make-dist simplification.

* make-dist: Remove --compress.  Check for the appropriate
gzip-like executable, and if not found, don't compress.
Check version number in README, don't change it.
Use find for nt/inc/*.h.

13 years ago* lisp/mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
Glenn Morris [Wed, 13 Oct 2010 03:05:22 +0000 (20:05 -0700)]
* lisp/mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.

13 years agognus-gravatar.el (gnus-gravatar-transform-address): Adjust avatars' position when...
Katsumi Yamaoka [Wed, 13 Oct 2010 02:19:11 +0000 (02:19 +0000)]
gnus-gravatar.el (gnus-gravatar-transform-address): Adjust avatars' position when (X-)Faces exist.
gnus-gravatar.el (gnus-treat-from-gravatar, gnus-treat-mail-gravatar): Force displaying avatars when called interactively.

13 years agoFix typos in docstrings, comments and ChangeLogs.
Juanma Barranquero [Tue, 12 Oct 2010 23:25:19 +0000 (01:25 +0200)]
Fix typos in docstrings, comments and ChangeLogs.

* etc/tutorials/TUTORIAL.es: Fix typos.

* lisp/cedet/semantic/symref/list.el (semantic-symref-list-rename-open-hits):
  Fix typo in message.
  (semantic-symref-list-map-open-hits): Fix typo in docstring.

* lisp/erc/erc-xdcc.el (erc-xdcc-help-text): Fix typo in docstring.

* lisp/gnus/nnmail.el (nnmail-fancy-expiry-targets): Fix typo in docstring.

* lisp/international/mule.el (define-coding-system):
* lisp/international/titdic-cnv.el (quail-cxterm-package-ext-info):
* composite.el (compose-region): Fix typo in docstring.

* lisp/org/org-agenda.el (org-prefix-category-length)
  (org-prefix-category-max-length): Fix typos in docstrings.

* src/font.c (Ffont_variation_glyphs):
* ccl.c (Fccl_execute_on_string): Fix typo in docstring.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Tue, 12 Oct 2010 22:18:24 +0000 (22:18 +0000)]
Merge changes made in Gnus trunk.

gnus-gravatar.el (gnus-art): Required.
shr.el (shr-tag-img): Add align attribute support for <img>.
gnus-gravatar.el (gnus-gravatar-insert): Check if buffer is alive.
shr.el (shr-tag-img): Encode URL properly when retrieving.
shr.el (shr-get-image-data): Encode URL properly when fetching from cache.
shr.el (shr-tag-img): Use aligned-to spaces to align correctly images.
nnimap.el (nnimap-request-rename-group): Unselect by selecting a mailbox that doesn't exist.
rfc2231.el (rfc2231-parse-string): Ignore repeated parts.
gnus-gravatar.el (gnus-gravatar-too-ugly): Don't test if gnus-article-x-face-too-ugly is bound.

13 years agoRemove trailing / from directory names.
Dan Nicolaescu [Tue, 12 Oct 2010 21:03:09 +0000 (14:03 -0700)]
Remove trailing / from directory names.

* configure (ns_appdir, OLDXMENU, TOOLTIP_SUPPORT): Remove
trailing / from directory names.

13 years agoAdd some default custom themes.
Chong Yidong [Tue, 12 Oct 2010 20:06:20 +0000 (16:06 -0400)]
Add some default custom themes.

* cus-theme.el (custom-theme--listed-faces): Add cursor face.
(describe-theme-1): Extract doc from unloaded themes.

* custom.el (custom-theme-name-valid-p): Don't list color-themes.

* themes/tango-theme.el:
* themes/tango-dark-theme.el:
* themes/wheatgrass-theme.el: New files.

13 years agoFix typos in docstrings, comments and ChangeLogs.
Juanma Barranquero [Tue, 12 Oct 2010 15:16:57 +0000 (17:16 +0200)]
Fix typos in docstrings, comments and ChangeLogs.

* lisp/composite.el (compose-region):
* src/ccl.c (Fccl_execute_on_string): Fix typo in docstring.

13 years agoAvoid using trailing / in directory variables.
Dan Nicolaescu [Tue, 12 Oct 2010 14:37:33 +0000 (07:37 -0700)]
Avoid using trailing / in directory variables.

* src/Makefile.in (lispsource, libsrc, etc, oldxmenudir, lwlibdir)
(lispdir): Remove trailing /, update all uses.

13 years agognus-sum.el: Remove long obsoleted functions.
Lars Magne Ingebrigtsen [Tue, 12 Oct 2010 14:17:15 +0000 (14:17 +0000)]
gnus-sum.el: Remove long obsoleted functions.

13 years agoFix typos in comments
Kenichi Handa [Tue, 12 Oct 2010 12:52:05 +0000 (21:52 +0900)]
Fix typos in comments

13 years ago* make-dist: Replace grep with sed when determining $version.
Glenn Morris [Tue, 12 Oct 2010 08:05:28 +0000 (01:05 -0700)]
* make-dist: Replace grep with sed when determining $version.

13 years ago* make-dist: Remove the unnecessary $shortversion.
Glenn Morris [Tue, 12 Oct 2010 08:01:11 +0000 (01:01 -0700)]
* make-dist: Remove the unnecessary $shortversion.

13 years ago* make-dist: Remove comment that no longer applies.
Glenn Morris [Tue, 12 Oct 2010 07:46:57 +0000 (00:46 -0700)]
* make-dist: Remove comment that no longer applies.

13 years ago* make-dist: Simplify trap handling.
Glenn Morris [Tue, 12 Oct 2010 07:44:12 +0000 (00:44 -0700)]
* make-dist: Simplify trap handling.

13 years ago* make-dist: Use find for the whole etc/ directory.
Glenn Morris [Tue, 12 Oct 2010 07:31:58 +0000 (00:31 -0700)]
* make-dist: Use find for the whole etc/ directory.

13 years ago* make-dist: Use find for etc/image files.
Glenn Morris [Tue, 12 Oct 2010 07:27:07 +0000 (00:27 -0700)]
* make-dist: Use find for etc/image files.

13 years ago* make-dist: Use find to handle the etc and lisp directories.
Glenn Morris [Tue, 12 Oct 2010 07:09:39 +0000 (00:09 -0700)]
* make-dist: Use find to handle the etc and lisp directories.

13 years ago* make-dist: Simplify creation of lisp/MANIFEST.
Glenn Morris [Tue, 12 Oct 2010 06:38:34 +0000 (23:38 -0700)]
* make-dist: Simplify creation of lisp/MANIFEST.

13 years ago* make-dist: Update and simplify.
Glenn Morris [Tue, 12 Oct 2010 04:32:20 +0000 (21:32 -0700)]
* make-dist: Update and simplify.
Eg: there are no symlinks in the tree for a long time
Check for version in emacsver.texi.
Clean up *~ etc files using a find at the end.
Add etc/srecode.

13 years agoMerge nextstep/FOR-RELEASE outstanding issues into etc/TODO.
Glenn Morris [Tue, 12 Oct 2010 04:01:55 +0000 (21:01 -0700)]
Merge nextstep/FOR-RELEASE outstanding issues into etc/TODO.

13 years agoMove nextstep/DEV-NOTES to admin/notes/nextstep.
Glenn Morris [Tue, 12 Oct 2010 03:55:21 +0000 (20:55 -0700)]
Move nextstep/DEV-NOTES to admin/notes/nextstep.

13 years ago* doc/lispref/book-spine.texinfo: Rename to book-spine.texi.
Glenn Morris [Tue, 12 Oct 2010 03:52:07 +0000 (20:52 -0700)]
* doc/lispref/book-spine.texinfo: Rename to book-spine.texi.

13 years ago* etc/BABYL: Remove file.
Glenn Morris [Tue, 12 Oct 2010 03:50:06 +0000 (20:50 -0700)]
* etc/BABYL: Remove file.

13 years ago* README: Updates.
Glenn Morris [Tue, 12 Oct 2010 03:47:36 +0000 (20:47 -0700)]
* README: Updates.

13 years ago* BUGS, INSTALL.BZR: Updates.
Glenn Morris [Tue, 12 Oct 2010 03:45:41 +0000 (20:45 -0700)]
* BUGS, INSTALL.BZR: Updates.

13 years agoetc/NEWS.
Glenn Morris [Tue, 12 Oct 2010 03:43:52 +0000 (20:43 -0700)]
etc/NEWS.

13 years agoPlaceholder entry for Custom theme changes.
Chong Yidong [Tue, 12 Oct 2010 03:12:33 +0000 (23:12 -0400)]
Placeholder entry for Custom theme changes.

13 years agoNew interface for choosing Custom themes.
Chong Yidong [Tue, 12 Oct 2010 03:10:21 +0000 (23:10 -0400)]
New interface for choosing Custom themes.

* lisp/cus-edit.el (custom--initialize-widget-variables): New function.
(Custom-mode): Use it.

* lisp/cus-face.el (custom-theme-set-faces): Remove dead code.  Obey
custom--inhibit-theme-enable.

* lisp/cus-theme.el (describe-theme, customize-themes)
(custom-theme-save): New commands.
(custom-new-theme-mode-map): Bind C-x C-s.
(custom-new-theme-mode): Use custom--initialize-widget-variables.
(customize-create-theme): New optional arg THEME.
(custom-theme-revert): Use it.
(custom-theme-visit-theme): Remove dead code.
(custom-theme-merge-theme): Use custom-available-themes.
(custom-theme-write): Make interactive.
(custom-theme-write): Use custom-theme-name-valid-p.
(describe-theme-1, custom-theme-choose-revert)
(custom-theme-checkbox-toggle, custom-theme-selections-toggle):
New funs.
(custom-theme-allow-multiple-selections): New option.
(custom-theme-choose-mode): New major mode.

* lisp/custom.el (custom-theme-set-variables): Remove dead code.  Obey
custom--inhibit-theme-enable.
(custom--inhibit-theme-enable): New var.
(provide-theme): Obey it.
(load-theme): Replace load with manual read/eval, in order to
check for correctness.  Use custom-theme-name-valid-p.
(custom-theme-name-valid-p): New function.
(custom-available-themes): Use it.

* lisp/help-mode.el (help-theme-def, help-theme-edit): New buttons.

13 years agolisp/net/telnet.el: "Fix" commented code.
Juanma Barranquero [Tue, 12 Oct 2010 02:45:24 +0000 (04:45 +0200)]
lisp/net/telnet.el: "Fix" commented code.

13 years agolisp/cedet/ChangeLog: Move entries for emacs-lisp/ files back to lisp/ChangeLog.
Juanma Barranquero [Tue, 12 Oct 2010 02:31:16 +0000 (04:31 +0200)]
lisp/cedet/ChangeLog: Move entries for emacs-lisp/ files back to lisp/ChangeLog.

13 years agolisp/ChangeLog: Add missing bug reference.
Juanma Barranquero [Tue, 12 Oct 2010 01:51:31 +0000 (03:51 +0200)]
lisp/ChangeLog: Add missing bug reference.

13 years agolisp/net/telnet.el (telnet-mode-map): Fix previous change.
Juanma Barranquero [Tue, 12 Oct 2010 01:48:58 +0000 (03:48 +0200)]
lisp/net/telnet.el (telnet-mode-map): Fix previous change.

13 years agoClarify the doc about caching passphrases.
Daiki Ueno [Tue, 12 Oct 2010 01:49:05 +0000 (10:49 +0900)]
Clarify the doc about caching passphrases.

* epa.texi (Caching Passphrases):
* auth.texi (GnuPG and EasyPG Assistant Configuration): Clarify
some configurations require to set up gpg-agent.

13 years agoFix last change.
Katsumi Yamaoka [Tue, 12 Oct 2010 00:25:50 +0000 (00:25 +0000)]
Fix last change.

13 years agoMerge changes from emacs-23 branch.
Juanma Barranquero [Mon, 11 Oct 2010 23:57:49 +0000 (01:57 +0200)]
Merge changes from emacs-23 branch.

13 years agonnimap.el (gnutls-negotiate): Silence the byte compiler.
Katsumi Yamaoka [Mon, 11 Oct 2010 23:29:33 +0000 (23:29 +0000)]
nnimap.el (gnutls-negotiate): Silence the byte compiler.
*.el: Fix comment for declare-function.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Mon, 11 Oct 2010 22:27:28 +0000 (22:27 +0000)]
Merge changes made in Gnus trunk.

shr.el (shr-tag-hr): Use shr-hr-line to specify which character to use to display hr lines.
shr.el (shr-max-columns): Do not change state to nil if we just inserting spaces.
sieve-manage.el (sieve-manage-open): Allow port names as well as port numbers.
shr.el (shr-current-column, shr-find-fill-point): New functions; start thinking about breaking CJVK text.
nnimap.el (nnimap-transform-split-mail): Not all articles have bodies.  Protect against this.
shr.el (shr-insert): Fix up the white space only regexp.
nnimap.el (nnimap-request-rename-group): Select group read-only before renaming it.

13 years agoBug#7150: Distinguishing between left and right Alt keys on NextStep/OSX.
Jan Djärv [Mon, 11 Oct 2010 19:18:08 +0000 (21:18 +0200)]
Bug#7150: Distinguishing between left and right Alt keys on NextStep/OSX.

* lisp/cus-start.el (all): ns-right-alternate-modifier is new.

* lisp/term/ns-win.el (ns-right-alternate-modifier): New defvar.
(ns-right-option-modifier): New alias for ns-right-alternate-modifier.
(mac-right-option-modifier): New alias for ns-right-option-modifier.

* src/nsterm.m (Qleft): Declare.
(ns_right_alternate_modifier): New variable
(NSRightAlternateKeyMask): New define.
(EV_MODIFIERS): Parse NSRightAlternateKeyMask if
ns_right_alternate_modifier isn't Qleft.
(keyDown): If ns_right_alternate_modifier isn't Qleft, use it
as emacs modifier for NSRightAlternateKeyMask.
(syms_of_nsterm): DEFVAR_LISP ns-right-alternate-modifier.

13 years agognus-topic.el (gnus-topic-read-group): If after the last group, select the last group.
Lars Magne Ingebrigtsen [Mon, 11 Oct 2010 11:02:17 +0000 (11:02 +0000)]
gnus-topic.el (gnus-topic-read-group): If after the last group, select the last group.

13 years agognus-int.el (gnus-run-hook-with-args): Autoload from gnus-util.el.
Teodor Zlatanov [Mon, 11 Oct 2010 10:03:07 +0000 (10:03 +0000)]
gnus-int.el (gnus-run-hook-with-args): Autoload from gnus-util.el.

13 years agoMore cleanups and minor fixes for Customize.
Chong Yidong [Mon, 11 Oct 2010 04:49:59 +0000 (00:49 -0400)]
More cleanups and minor fixes for Customize.

* cus-edit.el (custom-face-edit-fix-value): Use
custom-fix-face-spec.

* custom.el (custom-push-theme): Cleanup (use cond).
(disable-theme): Recompute the saved-face property.
(custom-theme-recalc-face): Follow face alias before setting prop.

* custom.el (custom-fix-face-spec): New function; code moved from
custom-face-edit-fix-value.
(custom-push-theme): Use it when checking if a face has been
changed outside customize.
(custom-available-themes): New function.
(load-theme): Use it.

* image.el (image-checkbox-checked, image-checkbox-unchecked): New
variables, containing checkbox images.

* startup.el (fancy-startup-tail):
* wid-edit.el (checkbox): Use them.

13 years agoAdd explicit -I$srcdir to makeinfo in some doc/ Makefiles.
Glenn Morris [Mon, 11 Oct 2010 01:57:48 +0000 (18:57 -0700)]
Add explicit -I$srcdir to makeinfo in some doc/ Makefiles.

* doc/emacs/Makefile.in (MAKEINFO): Add explicit -I$srcdir.
* doc/lispintro/Makefile.in (MAKEINFO): Add explicit -I$srcdir.
* doc/lispref/Makefile.in (MAKEINFO): Add explicit -I$srcdir.

13 years agoAdd html targets for some doc/ Makefiles.
Glenn Morris [Mon, 11 Oct 2010 00:43:27 +0000 (17:43 -0700)]
Add html targets for some doc/ Makefiles.

* doc/lispref/Makefile.in (.PHONY): Add html.
(html, elisp.html): New targets.
(clean): Delete html files.
($(infodir)/elisp): Remove unnecessary includes.

* doc/lispintro/Makefile.in (MAKEINFO): Use --force like the other
doc/ Makefiles do.

* doc/emacs/Makefile.in (.PHONY): Add html.
(html, emacs.html): New targets.
(clean): Delete html files.

13 years agoAdd ps rules for some doc/ Makefiles.
Glenn Morris [Mon, 11 Oct 2010 00:30:34 +0000 (17:30 -0700)]
Add ps rules for some doc/ Makefiles.

* doc/misc/Makefile.in (.texi.dvi): Remove unnecessary suffix rule.

* dos/lispref/Makefile.in (DVIPS): New variable.
(.PHONY): Add ps.
(ps, elisp.ps): New targets.
(clean): Delete ps file.

* doc/lispintro/Makefile.in (.dvi.ps): Remove unnecessary suffix rule.
(.PHONY): Add ps.
(ps, emacs-lisp-intro.ps): New targets.
(clean): Delete ps file.

* doc/emacs/Makefile.in (.texi.dvi): Remove unnecessary suffix rule.
(DVIPS): New variable.
(.PHONY): Add ps.
(ps, emacs.ps, emacs-xtra.ps): New targets.
(clean): Delete ps files.

13 years ago* lisp/erc/erc-list.el (erc-list-menu-mode-map): Declare and define in one step.
Dan Nicolaescu [Sun, 10 Oct 2010 23:13:58 +0000 (16:13 -0700)]
* lisp/erc/erc-list.el (erc-list-menu-mode-map): Declare and define in one step.

13 years agoDeclare and define in one step various mode maps.
Dan Nicolaescu [Sun, 10 Oct 2010 23:12:30 +0000 (16:12 -0700)]
Declare and define in one step various mode maps.

* lisp/shell.el (shell-mode-map):
* lisp/progmodes/modula2.el (m2-mode-map):
* lisp/progmodes/inf-lisp.el (inferior-lisp-mode-map):
* lisp/play/mpuz.el (mpuz-mode-map):
* lisp/play/landmark.el (lm-mode-map):
* lisp/play/decipher.el (decipher-mode-map):
* lisp/play/5x5.el (5x5-mode-map):
* lisp/net/telnet.el (telnet-mode-map):
* lisp/net/quickurl.el (quickurl-list-mode-map):
* lisp/net/mairix.el (mairix-searches-mode-map):
* lisp/net/eudc-hotlist.el (eudc-hotlist-mode-map):
* lisp/net/dig.el (dig-mode-map):
* lisp/mail/mspools.el (mspools-mode-map):
* lisp/hexl.el (hexl-mode-map):
* lisp/emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
(wordstar-C-o-map, wordstar-C-q-map):
* lisp/emacs-lisp/edebug.el (edebug-eval-mode-map):
* lisp/emacs-lisp/chart.el (chart-map):
* lisp/edmacro.el (edmacro-mode-map):
* lisp/array.el (array-mode-map): Declare and define in one step.

* lisp/erc/erc-list.el (erc-list-menu-mode-map): Declare and define in one step.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Sun, 10 Oct 2010 22:48:40 +0000 (22:48 +0000)]
Merge changes made in Gnus trunk.

nnimap.el (nnimap-wait-for-response): If the user hits `C-g', kill the process, too.
nnir.el (gnus-summary-nnir-goto-thread): Modify to work with imap.
nnimap.el (nnimap-update-info): If the server doesn't return any useful info, just use the previous info.
nnimap.el (nnimap-update-info): Prefer old info over start-article.
nnimap.el (nnimap-update-qresync-info): Finish implementing QRESYNC.
auth-source.el (auth-source-create): Use (user-login-name) for the user name default.
nnimap.el (nnimap-open-connection): Use gnutls STARTTLS, if available.
nnimap.el (nnimap-update-info): Rely more on the current active than the param active to avoid marking articles as read too much.
gnus-sum.el (gnus-summary-set-local-parameters): Ignore the `active' non-variable, too.
nnimap.el (nnimap-update-qresync-info): \Flagged messages are read for Gnus.
nnimap.el (nnimap-retrieve-group-data-early): utf7-encode the group parameters.
nnimap.el (nnimap-update-qresync-info): Mark \Seen articles as read.

13 years ago* Makefile.in (ELCFILES): Update.
Andreas Schwab [Sun, 10 Oct 2010 19:31:40 +0000 (21:31 +0200)]
* Makefile.in (ELCFILES): Update.

13 years agoFix gnutls write-before-negotiation case.
Lars Magne Ingebrigtsen [Sun, 10 Oct 2010 18:47:45 +0000 (20:47 +0200)]
Fix gnutls write-before-negotiation case.

* gnutls.c (emacs_gnutls_write): If we're trying to write before
gnutls is ready, return EAGAIN as the errno.

13 years agoRemove #ifdef emacs / #ifndef emacs code, unused.
Dan Nicolaescu [Sun, 10 Oct 2010 15:49:31 +0000 (08:49 -0700)]
Remove #ifdef emacs / #ifndef emacs code, unused.

* src/vm-limit.c:
* src/unexhp9k800.c:
* src/unexelf.c:
* src/unexaix.c:
* src/termcap.c: Remove #ifdef emacs / #ifndef emacs code, unused.

13 years agoPass CFLAGS to the linker.
Dan Nicolaescu [Sun, 10 Oct 2010 15:35:04 +0000 (08:35 -0700)]
Pass CFLAGS to the linker.

* configure.in (PROFILING_LDFLAGS): Do not define, remove all uses.

* lib-src/Makefile.in (PROFILING_LDFLAGS): Remove, not needed.

* msdos/sed1v2.inp (PROFILING_LDFLAGS):
* msdos/sed3v2.inp (PROFILING_LDFLAGS): Remove, not defined anymore.

* src/Makefile.in (temacs): Use $(ALL_CFLAGS) on the link line.
(PROFILING_LDFLAGS): Remove, not needed anymore.

13 years ago* src/Makefile.in (CRT_DIR): Move near potential user.
Dan Nicolaescu [Sun, 10 Oct 2010 14:47:43 +0000 (07:47 -0700)]
* src/Makefile.in (CRT_DIR): Move near potential user.
(START_FILE): Move near CRT_DIR, it might use it.

13 years ago* src/Makefile.in: Use $(...) everywhere instead of ${...}
Dan Nicolaescu [Sun, 10 Oct 2010 14:43:05 +0000 (07:43 -0700)]
* src/Makefile.in: Use $(...) everywhere instead of ${...}

13 years agoSmall sysdep.c cleanups.
Dan Nicolaescu [Sun, 10 Oct 2010 13:44:22 +0000 (06:44 -0700)]
Small sysdep.c cleanups.

* src/sysdep.c (LPASS8): Remove, unused.
(emacs_ospeed): Change from being a global to a local in the only
user: init_baud_rate.

13 years agoRearrange an entry (test commit to bzr++ssh).
Eli Zaretskii [Sun, 10 Oct 2010 13:39:03 +0000 (09:39 -0400)]
Rearrange an entry (test commit to bzr++ssh).

13 years ago* lisp/vc/log-view.el (log-view-mode-map): Bind revert-buffer.
Dan Nicolaescu [Sun, 10 Oct 2010 03:40:58 +0000 (20:40 -0700)]
* lisp/vc/log-view.el (log-view-mode-map): Bind revert-buffer.

13 years agoSimplify 2010-10-09T13:27:24Z!larsi@gnus.org.
Daiki Ueno [Sun, 10 Oct 2010 01:45:45 +0000 (10:45 +0900)]
Simplify 2010-10-09T13:27:24Z!larsi@gnus.org.

* epa.el (epa-passphrase-callback-function): Display filename
passed as the 3rd arg.
* epa-file.el (epa-file-passphrase-callback-function): Pass
filename to epa-passphrase-callback-function.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Sun, 10 Oct 2010 00:15:21 +0000 (00:15 +0000)]
Merge changes made in Gnus trunk.

nnimap.el (nnimap-open-connection): If we have gnutls loaded, then try to use that for the tls stream.
nnimap.el (nnimap-retrieve-group-data-early): Rework the marks code to heed UIDVALIDITY and find out which groups are read-only and not.
nnimap.el (nnimap-get-flags): Use the same marks parsing code as the rest of nnimap.
nnimap.el (nnmail-expiry-target-group): Say that every expiry target group is the "last".
nnir.el (nnir-engines): Fix too many arguments.
nnimap.el: Start implementing QRESYNC support.
gnus.el (gnus-group-set-parameter): Fix typo.
shr.el: Rework the way things are indented by <li> slightly.
spam.el (gnus-summary-mode-map): Bind to "$".

13 years ago* doc/man/emacs.1: Small fixes.
Glenn Morris [Sun, 10 Oct 2010 00:05:14 +0000 (17:05 -0700)]
* doc/man/emacs.1: Small fixes.