Michael Albinus [Mon, 10 Jan 2011 09:46:19 +0000 (10:46 +0100)]
* net/dbus.el (dbus-unregister-service): Translate returned
integer into a symbol.
(dbus-register-property): Use `dbus-register-service' to do the
name registration.
Michael Albinus [Mon, 10 Jan 2011 09:40:20 +0000 (10:40 +0100)]
* NEWS: Add new function dbus-register-service.
Michael Albinus [Mon, 10 Jan 2011 09:35:44 +0000 (10:35 +0100)]
* dbus.texi (Receiving Method Calls): New function
dbus-register-service. Rearrange node.
Chong Yidong [Sun, 9 Jan 2011 21:35:53 +0000 (16:35 -0500)]
Improvements to tango themes, including some faces from Jan Moringen.
* themes/tango-theme.el, themes/tango-dark-theme.el: Let-bind
tango palette colors. Only define faces for color displays.
Customize the ansi-color-names-vector variable. Add Ediff,
Flyspell, and Semantic faces as suggested by Jan Moringen.
Chong Yidong [Sun, 9 Jan 2011 21:24:07 +0000 (16:24 -0500)]
Make org-link and idlwave-help-link inherit from link face.
Suggested by Joakim Verona.
* lisp/org/org-faces.el (org-link):
* lisp/progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
Chong Yidong [Sun, 9 Jan 2011 21:07:30 +0000 (16:07 -0500)]
* lisp/comint.el (comint-highlight-prompt): Inherit from minibuffer-prompt.
Chong Yidong [Sun, 9 Jan 2011 21:05:53 +0000 (16:05 -0500)]
Fix 2010-03-12T22:56:30Z!cyd@stupidchicken.com change -- rename :on/off-image widget props to :on/off-glyph.
* wid-edit.el (visibility): Replace :on-image and :off-image
widget properties with :on-glyph and :off-glyph, for consistency
with the `visibility' widget.
(widget-toggle-value-create, widget-visibility-value-create):
Merge into a single function `widget-toggle-value-create'.
* cus-edit.el (custom-variable-value-create, custom-visibility)
(custom-face-edit-value-create, custom-face-value-create): Replace
:on-image and :off-image widget properties with :on-glyph and
:off-glyph, for consistency with the `visibility' widget.
Andreas Schwab [Sun, 9 Jan 2011 19:34:20 +0000 (20:34 +0100)]
Update dired.el
Andreas Schwab [Sun, 9 Jan 2011 19:34:19 +0000 (20:34 +0100)]
* lisp/net/ldap.el (ldap-search-internal): Don't use eval.
Tassilo Horn [Sun, 9 Jan 2011 17:49:25 +0000 (18:49 +0100)]
Add definition for `dired-directory' face.
Chong Yidong [Sun, 9 Jan 2011 14:26:29 +0000 (09:26 -0500)]
* lisp/subr.el (read-char-choice): Use read-key. Suggested by Stefan.
* src/fns.c (Fyes_or_no_p): Minor doc fix.
Chong Yidong [Sun, 9 Jan 2011 04:59:56 +0000 (23:59 -0500)]
Record "safe themes" as sha1 hashes, as suggested by Stefan Monnier.
* lisp/custom.el (custom-safe-themes): Rename from
custom-safe-theme-files. Add :risky tag.
(load-theme, custom-theme-load-confirm): Save sha1 hashes to
custom-safe-themes, not filenames. Suggested by Stefan Monnier.
Chong Yidong [Sun, 9 Jan 2011 04:13:47 +0000 (23:13 -0500)]
Tweaks to tool-bar for default, VC-dir, Compile, and Info.
* tool-bar.el (tool-bar-setup): Remove Help button. Remove label
from Search and add a label to Undo.
* vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
inappropriate buttons and adding :vert-only tags.
* progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
removal of Help tool-bar button. Remove Undo button for space.
* info.el (info-tool-bar-map): Add :vert-only tags.
Chong Yidong [Sun, 9 Jan 2011 03:29:49 +0000 (22:29 -0500)]
Minor fix to GTK tool-bar button refresh code.
* gtkutil.c (update_frame_tool_bar): Don't advance tool-bar index
when removing extra buttons.
Tassilo Horn [Sat, 8 Jan 2011 22:57:07 +0000 (23:57 +0100)]
* doc-view.el (doc-view-mode-p): Check for png or imagemagick
image backend support. Either of them is fine.
Chong Yidong [Sat, 8 Jan 2011 21:22:19 +0000 (16:22 -0500)]
* lisp/files.el (directory-abbrev-alist): Minor doc fix (Bug#7777).
* doc/lispref/files.texi: Likewise.
Chong Yidong [Sat, 8 Jan 2011 21:17:58 +0000 (16:17 -0500)]
Doc fix for y-or-n-p and yes-or-no-p.
* subr.el (y-or-n-p): Doc fix.
* fns.c (Fyes_or_no_p): Doc fix.
Chong Yidong [Sat, 8 Jan 2011 19:19:55 +0000 (14:19 -0500)]
Load themes using `load', querying if theme file not known safe.
* custom.el (custom-safe-theme-files): New defcustom.
(custom-theme-load-confirm): New function.
(load-theme): Load theme using `load', confirming with
custom-theme-load-confirm if necessary.
Chong Yidong [Sat, 8 Jan 2011 19:17:23 +0000 (14:17 -0500)]
New function read-char-choice for reading a restricted set of chars.
* lisp/subr.el (read-char-choice): New function, factored out from
dired-query and hack-local-variables-confirm.
* lisp/dired-aux.el (dired-query):
* lisp/files.el (hack-local-variables-confirm): Use it.
Paul Eggert [Sat, 8 Jan 2011 19:03:31 +0000 (11:03 -0800)]
* Makefile.in (EXECUTABLES): Remove; macro unused since 1993.
Chong Yidong [Sat, 8 Jan 2011 17:57:55 +0000 (12:57 -0500)]
Change dev-tsdh-dark/dev-tsdh-light theme names to tsdh-dark/tsdh-light,
to fit file names.
Andreas Schwab [Sat, 8 Jan 2011 13:32:31 +0000 (14:32 +0100)]
* src/fns.c (Fyes_or_no_p): Add usage.
Andreas Schwab [Sat, 8 Jan 2011 13:32:31 +0000 (14:32 +0100)]
* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist)
[gnu]: Remove unused group.
Andreas Schwab [Sat, 8 Jan 2011 13:31:26 +0000 (14:31 +0100)]
Fixes: debbugs:7806
* etc/compilation.txt: Add column to gcc-include sample.
* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist)
[gcc-include]: Tighten file name match, add match for column
number.
Glenn Morris [Sat, 8 Jan 2011 02:53:50 +0000 (18:53 -0800)]
Add --no-site-lisp to more Makefiles.
* leim/makefile.w32-in (RUN_EMACS):
* leim/Makefile.in (RUN-EMACS): Add --no-site-lisp.
* lib-src/Makefile.in (EMACSOPT): Add --no-site-lisp.
* lisp/makefile.w32-in (EMACSOPT): Add --no-site-lisp.
Glenn Morris [Sat, 8 Jan 2011 02:49:27 +0000 (18:49 -0800)]
-batch implies -q.
* etc/PROBLEMS: -batch implies -q.
* msdos/sedleim.inp (RUN-EMACS): -batch imples --no-init-file.
Glenn Morris [Sat, 8 Jan 2011 02:41:14 +0000 (18:41 -0800)]
In Makefiles, -batch implies -q.
* leim/makefile.w32-in (RUN_EMACS):
* leim/Makefile.in (RUN-EMACS): -batch implies --no-init-file.
* lisp/makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
* src/makefile.w32-in ($(EMACS)):
* src/Makefile.in (emacs$(EXEEXT)): -batch implies -q.
Glenn Morris [Sat, 8 Jan 2011 02:34:26 +0000 (18:34 -0800)]
* lib-src/Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.
Glenn Morris [Sat, 8 Jan 2011 02:31:57 +0000 (18:31 -0800)]
Fix bug#7750.
* src/xdisp.c (syms_of_xdisp) <Qrisky_local_variable>: Move from here...
* src/emacs.c (syms_of_emacs) <Qrisky_local_variable>: ...to here.
Andreas Schwab [Fri, 7 Jan 2011 22:33:32 +0000 (23:33 +0100)]
Fix some resource leaks in ImageMagick image loader
* src/image.c (imagemagick_load_image): Fix some resource leaks and
error handling.
Paul Eggert [Fri, 7 Jan 2011 20:42:11 +0000 (12:42 -0800)]
* install-sh, mkinstalldirs, move-if-change: Update from master
Paul Eggert [Fri, 7 Jan 2011 19:49:15 +0000 (11:49 -0800)]
* texinfo.tex: Update to version 2010-12-23.17 from gnulib,
which in turn is copied from ftp://tug.org/tex/.
Paul Eggert [Fri, 7 Jan 2011 19:39:48 +0000 (11:39 -0800)]
* config.guess, config.sub: Updated from master source.
Paul Eggert [Fri, 7 Jan 2011 19:26:23 +0000 (11:26 -0800)]
notes/copyright: Report status more accurately for non-GPL files.
Paul Eggert [Fri, 7 Jan 2011 19:23:35 +0000 (11:23 -0800)]
* notes/copyright: Report status more accurately for non-GPL files.
Report copyright status more accurately for mkinstalldirs,
configure, m4/getopt.m4, and msdos/sed*.inp.
Sam Steingold [Fri, 7 Jan 2011 19:07:29 +0000 (14:07 -0500)]
* w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
the `explicit-shell-file-name' because that is the non-interactive shell.
Chong Yidong [Fri, 7 Jan 2011 17:34:02 +0000 (12:34 -0500)]
Allow format args for y-or-n-p and yes-or-no-p.
* lisp/subr.el (y-or-n-p): Accept format string args.
* src/fns.c (Fyes_or_no_p): Accept format string args.
Eli Zaretskii [Fri, 7 Jan 2011 10:47:44 +0000 (12:47 +0200)]
Use __builtin_unwind_init in the MSDOS build.
msdos/sed2v2.inp (HAVE___BUILTIN_UNWIND_INIT): Define.
Tassilo Horn [Fri, 7 Jan 2011 10:39:54 +0000 (11:39 +0100)]
* themes/tsdh-light-theme.el, themes/tsdh-dark-theme.el: Remove
dev-prefix from file names, so that the files don't clash on 8x3
filesystems.
Eli Zaretskii [Fri, 7 Jan 2011 10:16:20 +0000 (12:16 +0200)]
Use __builtin_unwind_init in MinGW builds of w32 port.
config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
Daiki Ueno [Fri, 7 Jan 2011 09:28:29 +0000 (18:28 +0900)]
gnus/mml2015.el: Fix secret key validity check (Bug#7797).
* mml2015.el (epg-sub-key-fingerprint): Autoload.
(mml2015-epg-find-usable-secret-key): New function.
(mml2015-epg-sign): Use mml2015-epg-find-usable-secret-key instead of
mml2015-epg-find-usable-key (Bug#7797).
(mml2015-epg-encrypt): Ditto.
Glenn Morris [Fri, 7 Jan 2011 03:10:39 +0000 (19:10 -0800)]
Add --no-site-lisp option, make -Q use it. (Bug#5707)
* lisp/Makefile.in (EMACSOPT): Add --no-site-lisp.
* src/emacs.c (no_site_lisp): New int.
(USAGE1): Add --no-site-lisp, mention -Q uses it.
(main): Set no_site_lisp.
(standard_args): Add --no-site-lisp.
* src/lisp.h (no_site_lisp): New int.
* src/lread.c (init_lread): If no_site_lisp, don't re-add site-lisp
directories to Vload_path.
* etc/NEWS: Mention --no-site-lisp.
Glenn Morris [Fri, 7 Jan 2011 03:04:21 +0000 (19:04 -0800)]
ChangeLog fix.
Tassilo Horn [Thu, 6 Jan 2011 07:35:47 +0000 (08:35 +0100)]
* themes/dev-tsdh-light-theme.el (dev-tsdh-light): New theme.
* themes/dev-tsdh-dark-theme.el (dev-tsdh-dark): New theme.
Ken Manheimer [Thu, 6 Jan 2011 07:19:05 +0000 (02:19 -0500)]
allout.el: (allout-back-to-current-heading): Ensure return to the visible
containing topic, rather than a collapsed one.
(allout-view-change-hook): Remove hook that was deprecated long ago.
(allout-exposure-change-hook): Remove documentation remarks concerning
removed allout-view-change-hook.
(allout-flag-region): Remove invocation of and documentation remarks
concerning allout-view-change-hook.
Glenn Morris [Thu, 6 Jan 2011 05:14:54 +0000 (21:14 -0800)]
vc-bzr fix for bug #7792.
* lisp/vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
(vc-bzr-annotate-extract-revision-at-line):
Handle authors with embedded spaces.
Tassilo Horn [Wed, 5 Jan 2011 21:54:23 +0000 (22:54 +0100)]
Fix bug in doc-view-enlarge.
Tassilo Horn [Wed, 5 Jan 2011 21:17:51 +0000 (22:17 +0100)]
* doc-view.el (doc-view-image-width): New variable.
(doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
backend for PNG images, and do dynamic rescaling instead of
reconverting the whole doc.
Andreas Schwab [Wed, 5 Jan 2011 13:09:07 +0000 (14:09 +0100)]
Use __builtin_unwind_init if available
* configure.in: Check for __builtin_unwind_init.
* src/alloc.c (mark_stack): Use __builtin_unwind_init if available.
Glenn Morris [Wed, 5 Jan 2011 07:11:57 +0000 (23:11 -0800)]
Regenerate configure.
Glenn Morris [Wed, 5 Jan 2011 07:10:47 +0000 (23:10 -0800)]
Don't use $MAKEINFO for both a flag and a program.
* configure.in (HAVE_MAKEINFO): New output variable.
(MAKEINFO): Reset to "makeinfo" if not found.
* Makefile.in (install-arch-indep, info):
Replace MAKEINFO = off with HAVE_MAKEINFO = no.
Glenn Morris [Wed, 5 Jan 2011 07:04:51 +0000 (23:04 -0800)]
* lisp/emacs-lisp/rx.el (rx-repeat): Replace CL function.
Glenn Morris [Wed, 5 Jan 2011 07:03:21 +0000 (23:03 -0800)]
ChangeLog fix.
Ken Manheimer [Tue, 4 Jan 2011 19:50:21 +0000 (14:50 -0500)]
Include recent allout.el changes, and add missing '*' asterisk to my
previous two ChangeLog entries.
Ken Manheimer [Tue, 4 Jan 2011 19:44:10 +0000 (14:44 -0500)]
Reconcile with changes in line movement behavior for long text lines
that cross more than a single physical window line, ie when truncate-lines
is nil.
(allout-next-visible-heading): Provide for change in line-move behavior on
long lines when truncate-lines is nil. In that case, line-move can wind up
on the same textual line when it moves to the next window line, and moving
to the bullet position after the move yields zero advancement. Add logic
to detect and compensate for the lack of progress.
(allout-current-topic-collapsed-p): move-end-of-line respect for field
boundaries is different when operating with body lines shorter than window
width versus ones greater than window width, which can yield false
negatives in this function. Avoid difference by applying move-end-of-line
while field-text-motion is inhibited.
Glenn Morris [Tue, 4 Jan 2011 17:04:10 +0000 (09:04 -0800)]
* lisp/textmodes/rst.el (rst-compile-toolsets): Add pdf and s5 to option alist.
Glenn Morris [Tue, 4 Jan 2011 16:57:45 +0000 (08:57 -0800)]
Restore clobbered NEWS change.
Michael Albinus [Tue, 4 Jan 2011 13:00:11 +0000 (14:00 +0100)]
* NEWS: Revert change in libxml-* functions, which was applied by
previous patch accidently.
Michael Albinus [Tue, 4 Jan 2011 12:44:17 +0000 (13:44 +0100)]
* NEWS: Extended behaviour of dbus-register-{method,property}.
Michael Albinus [Tue, 4 Jan 2011 12:38:33 +0000 (13:38 +0100)]
* dbus.texi (Receiving Method Calls): Describe new optional
parameter dont-register-service of dbus-register-{method,property}.
Michael Albinus [Tue, 4 Jan 2011 11:11:43 +0000 (12:11 +0100)]
* dbusbind.c (Fdbus_register_method): Added optional parameter
dont_register_service. Updated docstring accordingly.
Michael Albinus [Tue, 4 Jan 2011 10:57:24 +0000 (11:57 +0100)]
* net/dbus.el (dbus-register-property): Added optional parameter
dont-register-service. Updated docstring accordingly.
Andreas Schwab [Tue, 4 Jan 2011 10:09:13 +0000 (11:09 +0100)]
* lisp/textmodes/rst.el (rst-compile-pdf-preview)
(rst-compile-slides-preview): Remove extra line.
Glenn Morris [Tue, 4 Jan 2011 04:47:39 +0000 (20:47 -0800)]
Small rst.el stuff.
* lisp/textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
default to `prog' without a .py extension.
(rst-compile-pdf-preview, rst-compile-slides-preview):
Use program names from rst-compile-toolsets, rather than hard-coding.
(rst-portable-mark-active-p): Fix presumed typo.
Glenn Morris [Tue, 4 Jan 2011 04:42:43 +0000 (20:42 -0800)]
* src/emacs.c (emacs_copyright): Update short copyright year to 2011.
Lars Magne Ingebrigtsen [Tue, 4 Jan 2011 02:24:15 +0000 (02:24 +0000)]
flow-fill.el (fill-flowed-encode): Do encoding citation-aware.
gnus-art.el (gnus-treat-fill-long-lines): Add missing version tag.
gnus-msg.el (gnus-message-replyencrypt): Fix typo in version string.
Ken Manheimer [Mon, 3 Jan 2011 20:50:05 +0000 (15:50 -0500)]
add neglected allout.el ChangeLog entries to ChangeLog.
Eli Zaretskii [Mon, 3 Jan 2011 19:35:59 +0000 (21:35 +0200)]
Don't use png_jmpbuf, it doesn't work with dynamic loading.
image.c (png_jmpbuf): Remove definition.
(my_png_error, png_load): Don't use png_jmpbuf.
Karl Fogel [Mon, 3 Jan 2011 08:13:45 +0000 (08:13 +0000)]
gnus-msg.el (gnus-message-replyencrypt): Default to `t'.
Glenn Morris [Mon, 3 Jan 2011 01:44:30 +0000 (17:44 -0800)]
* lisp/gnus/sieve-manage.el (sieve-manage-open): Correctly set sieve-manage-port.
Glenn Morris [Mon, 3 Jan 2011 01:41:54 +0000 (17:41 -0800)]
Small sieve.el fix for bug #7720.
* lisp/gnus/sieve.el (sieve-open-server): Give a more explicit error if
sieve-manage-open returns nil.
Glenn Morris [Mon, 3 Jan 2011 01:18:33 +0000 (17:18 -0800)]
Update NEWS for xml.c name changes.
Lars Magne Ingebrigtsen [Sun, 2 Jan 2011 23:17:32 +0000 (23:17 +0000)]
nnimap.el (nnimap-login): Refactored out into own function, and implement CRAM-MD5.
(nnimap-wait-for-line): Refactored out.
shr.el (shr-rescale-image): Display all GIF images as animated images.
nnimap.el (nnimap-login): Prefer AUTH=CRAM-MD5, if it's available. This avoids sending passwords in plain text over non-encrypted channels.
Eli Zaretskii [Sun, 2 Jan 2011 21:58:13 +0000 (23:58 +0200)]
Fix merge of fix for bug #7716.
nt/INSTALL:
nt/README.W32: `image-library-alist' was renamed to `dynamic-library-alist'.
Chong Yidong [Sun, 2 Jan 2011 20:31:19 +0000 (15:31 -0500)]
Merge changes from emacs-23 branch
Glenn Morris [Sun, 2 Jan 2011 18:58:36 +0000 (10:58 -0800)]
Remove duplicate ChangeLog entry.
Gnus developers [Sun, 2 Jan 2011 11:23:02 +0000 (11:23 +0000)]
Merge changes made in Gnus trunk.
mm-view.el (mml-smime): Require.
mm-view.el (mm-view-pkcs7-decrypt): If mml-smime-use is set to 'epg, use EPG to decrypt S/MIME messages instead of openssl.
nnimap.el (nnimap-request-group): Avoid double SELECT on `M-g'.
gnus-group.el (gnus-group-kill-group): Don't try to update the group status is the group clearly is unreachable.
auth-source.el (auth-source-create): Add the optional second parameter to `local-variable-p' to be compatible with XEmacs.
nnml.el (nnml-request-article): Allow requesting by Message-ID to work when using a compressed nnml folder.
gnus-sum.el (gnus-select-newsgroup): Don't propagate marks to backends after sanitising on entry, because this never makes sense: If the articles have gone missing, then the data no longer exists on the backend, and if they haven't, then Gnus is wrong, and shouldn't overwrite anything anyway.
shr.el (shr-insert-document): Bind shr-width dynamically to window-width if it's nil.
shr.el (shr-width, shr-insert-document): Allow nil as shr-width value with the meaning of using the full emacs window width for rendering.
Stefan Monnier [Sun, 2 Jan 2011 03:57:26 +0000 (22:57 -0500)]
* lisp/files.el (file-local-variables-alist): Make permanent-local.
Fixes: debbugs:7767
Mark Lillibridge [Sun, 2 Jan 2011 03:16:03 +0000 (22:16 -0500)]
* lisp/mail/mail-utils.el (mail-strip-quoted-names): Don't modify the
" *temp*" buffer.
Fixes: debbugs:7746
Glenn Morris [Sun, 2 Jan 2011 02:46:30 +0000 (18:46 -0800)]
Set short copyright year to 2011.
* lib-src/ebrowse.c (version) <emacs_copyright>:
* lib-src/etags.c (print_version) <emacs_copyright>:
* lib-src/rcs2log (Copyright):
* lisp/version.el (emacs-copyright):
* nextstep/Cocoa/Emacs.base/Contents/Info.plist:
* nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings:
* nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist:
Set short copyright year to 2011.
Mark Lillibridge [Sun, 2 Jan 2011 02:43:26 +0000 (18:43 -0800)]
Mail-utils fix for bug#7746. (tiny change)
* lisp/mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
an existing temp buffer.
Glenn Morris [Sun, 2 Jan 2011 02:35:23 +0000 (18:35 -0800)]
Small mail-utils fix for bug 7760.
* lisp/mail/mail-utils.el (mail-mbox-from): Handle From: headers with
multiple addresses.
Ken Manheimer [Sun, 2 Jan 2011 00:35:15 +0000 (19:35 -0500)]
(allout-auto-fill): Do not infinitely recurse - use do-auto-fill if
everything points back to allout-auto-fill.
(allout-mode-deactivate-hook): Declare obsolete, in favor of
standard-formed minor-mode deactivate hook, allout-mode-off-hook.
Chong Yidong [Sat, 1 Jan 2011 06:02:36 +0000 (01:02 -0500)]
Reduce GTK tool-bar switching delay by avoiding selective show/hide of widgets.
* src/gtkutil.c (xg_get_tool_bar_widgets): Use NULL for a missing
image or label in the container.
(xg_make_tool_item): Replace VERT_ONLY arg with HORIZ, TEXT_IMAGE.
(xg_show_toolbar_item): Function deleted.
(xg_tool_item_stale_p): New function.
(update_frame_tool_bar): Calculate tool-bar style once per call.
Instead of hiding text labels, omit them. Don't use
xg_show_toolbar_item; create new GtkToolItems from scratch if
necessary, instead of trying to re-use them. This avoids an
annoying animation when changing tool-bars.
Michael Albinus [Fri, 31 Dec 2010 20:17:53 +0000 (21:17 +0100)]
* net/tramp.el (tramp-methods): Add recursive options to "scpc",
"scpx", "pscp" and "psftp".
Please do not sync with the trunk.
Michael Albinus [Fri, 31 Dec 2010 19:57:05 +0000 (20:57 +0100)]
* net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
and "scpx".
Eli Zaretskii [Fri, 31 Dec 2010 16:33:40 +0000 (18:33 +0200)]
More elegant solution for accessing png_ptr without GCC warnings.
image.c (png_jmpbuf): New macro.
(my_png_error, png_load): Use it instead of #ifdef'ing according
to PNG_LIBPNG_VER_MAJOR and PNG_LIBPNG_VER_MINOR.
Jan Djärv [Fri, 31 Dec 2010 13:16:16 +0000 (14:16 +0100)]
For nextstep: Handle bad utf-8 in buffer name, always use buffer name for title.
* nsfns.m (ns_set_name_as_filename): Always use buffer name for
title and buffer filename only for RepresentedFilename.
Handle bad UTF-8 in buffer name.
Fixes: debbugs:7517
Eli Zaretskii [Fri, 31 Dec 2010 13:12:11 +0000 (15:12 +0200)]
nt/configure.bat (end): Unset environment variables used by this batch file.
Eli Zaretskii [Fri, 31 Dec 2010 12:38:06 +0000 (14:38 +0200)]
Fix bug #7716 with PNG image support libraries on Windows.
src/image.c <Qlibpng_version>: New variable.
(syms_of_image): Intern and staticpro it. Set its value to the
version of PNG library we were compiled with.
(my_png_error, png_load): Avoid GCC warnings about direct access
to png_ptr->jmpbuf.
lisp/term/w32-win.el (image-library-alist): Set up correctly for
libpng versions both before and after 1.4.0.
admin/nt/README.W32: Update the information about PNG support libraries.
nt/INSTALL: Update the information about PNG support libraries.
Tassilo Horn [Thu, 30 Dec 2010 20:23:13 +0000 (21:23 +0100)]
* misc.texi (Document View): Update DocView section with newly
supported document formats.
Tassilo Horn [Thu, 30 Dec 2010 18:08:18 +0000 (19:08 +0100)]
* doc-view.el (doc-view-set-doc-type): New function refactored
from doc-view-mode.
(doc-view-fallback-mode): New function.
(doc-view-mode): Use it.
(doc-view-mode-maybe): New function that checks if doc-view-mode
can be used and falls back to the next best mode otherwise.
* files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
DVI, OpenDocument, and MS Office files.
Andreas Schwab [Thu, 30 Dec 2010 15:15:34 +0000 (16:15 +0100)]
* lisp/emacs-lisp/rx.el (rx-syntax): Fix typo.
Tassilo Horn [Thu, 30 Dec 2010 14:58:32 +0000 (15:58 +0100)]
* doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
on a copy of auto-mode-alist, because that deletes with side
effects.
Tassilo Horn [Thu, 30 Dec 2010 14:47:53 +0000 (15:47 +0100)]
* doc-view.el (doc-view-mode, doc-view-toggle-display): Use
normal-mode without doc-view-mode bindings in auto-mode-alist as
fallback instead of hard coding fundamental mode.
Tassilo Horn [Thu, 30 Dec 2010 13:53:22 +0000 (14:53 +0100)]
* doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS Office) files also for searching.
Tassilo Horn [Thu, 30 Dec 2010 13:45:09 +0000 (14:45 +0100)]
* doc-view.el: Implement viewing of OpenDocument (and Microsoft Office) files.
Not yet enabled via auto-mode-list.
(doc-view-unoconv-program): New custom variable.
(doc-view-mode-p): Handle new odf document type.
(doc-view-odf->pdf): New conversion function.
(doc-view-convert-current-doc): Call it for odf files.
(doc-view-mode): Recognize newly supported file extensions.
Chong Yidong [Thu, 30 Dec 2010 12:39:41 +0000 (20:39 +0800)]
* rmail.texi (Rmail Display): Edit for grammar and conciseness.
Jan Djärv [Thu, 30 Dec 2010 11:30:55 +0000 (12:30 +0100)]
Encode frame title and icon name before setting.
* coding.h (ENCODE_UTF_8): Remove "Used by ..." comment.
* nsfns.m (ns_set_name_iconic): Remove.
(ns_set_name_internal): New function.
(Vicon_title_format): Extern declare.
(ns_set_name): Call ns_set_name_internal.
(x_explicitly_set_name): Remove call to ns_set_name_iconic.
(x_implicitly_set_name): Ditto.
(x_set_title): Remove commet about EXPLICIT. Call ns_set_name_internal.
(ns_set_name_as_filename): Encode name with ENCODE_UTF_8 (Bug#7517).
Michael Albinus [Thu, 30 Dec 2010 09:04:15 +0000 (10:04 +0100)]
* net/tramp.el (tramp-default-method-alist)
(tramp-default-user-alist)
(tramp-local-host-regexp, tramp-prefix-domain-format)
(tramp-prefix-domain-regexp): Set tramp-autoload cookie.
* net/tramp-ftp.el:
* net/tramp-gvfs.el:
* net/tramp-gw.el:
* net/tramp-imap.el:
* net/tramp-sh.el:
* net/tramp-smb.el: Add tramp-autoload cookie for initialisation
code of `tramp-default-method-alist' and `tramp-default-user-alist'.