bpt/emacs.git
13 years ago* config.guess, config.sub: Updated from master source.
Paul Eggert [Fri, 7 Jan 2011 19:39:48 +0000 (11:39 -0800)]
* config.guess, config.sub: Updated from master source.

13 years agonotes/copyright: Report status more accurately for non-GPL files.
Paul Eggert [Fri, 7 Jan 2011 19:26:23 +0000 (11:26 -0800)]
notes/copyright: Report status more accurately for non-GPL files.

13 years ago* 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.

13 years ago* w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
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.

13 years agoAllow format args for y-or-n-p and yes-or-no-p.
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.

13 years agoUse __builtin_unwind_init in the MSDOS build.
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.

13 years ago* themes/tsdh-light-theme.el, themes/tsdh-dark-theme.el: Remove
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.

13 years agoUse __builtin_unwind_init in MinGW builds of w32 port.
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.

13 years agognus/mml2015.el: Fix secret key validity check (Bug#7797).
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.

13 years agoAdd --no-site-lisp option, make -Q use it. (Bug#5707)
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.

13 years agoChangeLog fix.
Glenn Morris [Fri, 7 Jan 2011 03:04:21 +0000 (19:04 -0800)]
ChangeLog fix.

13 years ago* themes/dev-tsdh-light-theme.el (dev-tsdh-light): New theme.
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.

13 years agoallout.el: (allout-back-to-current-heading): Ensure return to the visible
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.

13 years agovc-bzr fix for bug #7792.
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.

13 years agoFix bug in doc-view-enlarge.
Tassilo Horn [Wed, 5 Jan 2011 21:54:23 +0000 (22:54 +0100)]
Fix bug in doc-view-enlarge.

13 years ago* doc-view.el (doc-view-image-width): New variable.
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.

13 years agoUse __builtin_unwind_init if available
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.

13 years agoRegenerate configure.
Glenn Morris [Wed, 5 Jan 2011 07:11:57 +0000 (23:11 -0800)]
Regenerate configure.

13 years agoDon't use $MAKEINFO for both a flag and a program.
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.

13 years ago* lisp/emacs-lisp/rx.el (rx-repeat): Replace CL function.
Glenn Morris [Wed, 5 Jan 2011 07:04:51 +0000 (23:04 -0800)]
* lisp/emacs-lisp/rx.el (rx-repeat): Replace CL function.

13 years agoChangeLog fix.
Glenn Morris [Wed, 5 Jan 2011 07:03:21 +0000 (23:03 -0800)]
ChangeLog fix.

13 years agoInclude recent allout.el changes, and add missing '*' asterisk to my
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.

13 years agoReconcile with changes in line movement behavior for long text lines
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.

13 years ago* lisp/textmodes/rst.el (rst-compile-toolsets): Add pdf and s5 to option alist.
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.

13 years agoRestore clobbered NEWS change.
Glenn Morris [Tue, 4 Jan 2011 16:57:45 +0000 (08:57 -0800)]
Restore clobbered NEWS change.

13 years ago* NEWS: Revert change in libxml-* functions, which was applied by
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.

13 years ago* NEWS: Extended behaviour of dbus-register-{method,property}.
Michael Albinus [Tue, 4 Jan 2011 12:44:17 +0000 (13:44 +0100)]
* NEWS: Extended behaviour of dbus-register-{method,property}.

13 years ago* dbus.texi (Receiving Method Calls): Describe new optional
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}.

13 years ago* dbusbind.c (Fdbus_register_method): Added optional parameter
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.

13 years ago* net/dbus.el (dbus-register-property): Added optional parameter
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.

13 years ago* lisp/textmodes/rst.el (rst-compile-pdf-preview)
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.

13 years agoSmall rst.el stuff.
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.

13 years ago* src/emacs.c (emacs_copyright): Update short copyright year to 2011.
Glenn Morris [Tue, 4 Jan 2011 04:42:43 +0000 (20:42 -0800)]
* src/emacs.c (emacs_copyright): Update short copyright year to 2011.

13 years agoflow-fill.el (fill-flowed-encode): Do encoding citation-aware.
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.

13 years agoadd neglected allout.el ChangeLog entries to ChangeLog.
Ken Manheimer [Mon, 3 Jan 2011 20:50:05 +0000 (15:50 -0500)]
add neglected allout.el ChangeLog entries to ChangeLog.

13 years agoDon't use png_jmpbuf, it doesn't work with dynamic loading.
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.

13 years agognus-msg.el (gnus-message-replyencrypt): Default to `t'.
Karl Fogel [Mon, 3 Jan 2011 08:13:45 +0000 (08:13 +0000)]
gnus-msg.el (gnus-message-replyencrypt): Default to `t'.

13 years ago* lisp/gnus/sieve-manage.el (sieve-manage-open): Correctly set sieve-manage-port.
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.

13 years agoSmall sieve.el fix for bug #7720.
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.

13 years agoUpdate NEWS for xml.c name changes.
Glenn Morris [Mon, 3 Jan 2011 01:18:33 +0000 (17:18 -0800)]
Update NEWS for xml.c name changes.

13 years agonnimap.el (nnimap-login): Refactored out into own function, and implement CRAM-MD5.
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.

13 years agoFix merge of fix for bug #7716.
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'.

13 years agoMerge changes from emacs-23 branch
Chong Yidong [Sun, 2 Jan 2011 20:31:19 +0000 (15:31 -0500)]
Merge changes from emacs-23 branch

13 years agoRemove duplicate ChangeLog entry.
Glenn Morris [Sun, 2 Jan 2011 18:58:36 +0000 (10:58 -0800)]
Remove duplicate ChangeLog entry.

13 years agoMerge changes made in Gnus trunk.
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.

13 years ago* lisp/files.el (file-local-variables-alist): Make permanent-local.
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

13 years ago* lisp/mail/mail-utils.el (mail-strip-quoted-names): Don't modify the
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

13 years agoSet short copyright year to 2011.
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.

13 years agoMail-utils fix for bug#7746. (tiny change)
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.

13 years agoSmall mail-utils fix for bug 7760.
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.

13 years ago(allout-auto-fill): Do not infinitely recurse - use do-auto-fill if
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.

13 years agoReduce GTK tool-bar switching delay by avoiding selective show/hide of widgets.
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.

13 years ago* net/tramp.el (tramp-methods): Add recursive options to "scpc",
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.

13 years ago* net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
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".

13 years agoMore elegant solution for accessing png_ptr without GCC warnings.
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.

13 years agoFor nextstep: Handle bad utf-8 in buffer name, always use buffer name for title.
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

13 years agont/configure.bat (end): Unset environment variables used by this batch file.
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.

13 years agoFix bug #7716 with PNG image support libraries on Windows.
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.

13 years ago* misc.texi (Document View): Update DocView section with newly
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.

13 years ago* doc-view.el (doc-view-set-doc-type): New function refactored
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.

13 years ago* lisp/emacs-lisp/rx.el (rx-syntax): Fix typo.
Andreas Schwab [Thu, 30 Dec 2010 15:15:34 +0000 (16:15 +0100)]
* lisp/emacs-lisp/rx.el (rx-syntax): Fix typo.

13 years ago* doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
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.

13 years ago* doc-view.el (doc-view-mode, doc-view-toggle-display): Use
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.

13 years ago* doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS Office) files also...
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.

13 years ago* doc-view.el: Implement viewing of OpenDocument (and Microsoft Office) files.
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.

13 years ago* rmail.texi (Rmail Display): Edit for grammar and conciseness.
Chong Yidong [Thu, 30 Dec 2010 12:39:41 +0000 (20:39 +0800)]
* rmail.texi (Rmail Display): Edit for grammar and conciseness.

13 years agoEncode frame title and icon name before setting.
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).

13 years ago* net/tramp.el (tramp-default-method-alist)
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'.

13 years ago* window.c (syms_of_window): Add missing defsubr for window-use-time.
Štěpán Němec [Wed, 29 Dec 2010 11:16:44 +0000 (19:16 +0800)]
* window.c (syms_of_window): Add missing defsubr for window-use-time.

13 years ago* configure.in: Make gameuser configurable (Bug#7717).
Ulrich Mueller [Wed, 29 Dec 2010 11:11:25 +0000 (19:11 +0800)]
* configure.in: Make gameuser configurable (Bug#7717).

* configure: Regenerate

13 years ago* lisp/textmodes/conf-mode.el (conf-font-lock-keywords): Minor tweak (Bug#7712).
Chong Yidong [Wed, 29 Dec 2010 11:02:48 +0000 (19:02 +0800)]
* lisp/textmodes/conf-mode.el (conf-font-lock-keywords): Minor tweak (Bug#7712).
Use single quote instead of unused backquote.

13 years ago* emacsclient.1: Arrange options alphabetically (Bug#7620).
Jari Aalto [Wed, 29 Dec 2010 03:42:53 +0000 (11:42 +0800)]
* emacsclient.1: Arrange options alphabetically (Bug#7620).

13 years ago* lisp/saveplace.el (save-place-alist-to-file): Save list sorted and
Karl Fogel [Wed, 29 Dec 2010 03:24:09 +0000 (22:24 -0500)]
* lisp/saveplace.el (save-place-alist-to-file): Save list sorted and
  pretty-printed, so that it is mergeable by line-based text merging,
  as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.

13 years ago(allout-v18/19-file-var-hack): Obsolete, remove.
Ken Manheimer [Tue, 28 Dec 2010 19:57:15 +0000 (14:57 -0500)]
(allout-v18/19-file-var-hack): Obsolete, remove.

(allout-mode): Argument "toggle" => "force".

Refine the docstring.

Remove special provisions for reactivation, besides the 'force' argument.
Consolidate layout provisions coce directly into the activation condition
branch, now that we've removed those provisions.

(allout-unload-function): Explicitly activate the mode before deactivating,
if it's initially deactivated.

(allout-set-buffer-multibyte): Properly prevent byte-compiler warnings for
version of function used only where set-buffer-multibyte is unavailable.

13 years agoRestore x_alloc_lighter_color_for_widget, needed for lwlib
Andreas Schwab [Tue, 28 Dec 2010 16:34:04 +0000 (17:34 +0100)]
Restore x_alloc_lighter_color_for_widget, needed for lwlib

* src/xterm.h (x_alloc_lighter_color_for_widget): Restore declaration.
* src/xterm.c (x_alloc_lighter_color_for_widget): Restore.

13 years agoFix 2010-12-20 change to tool-bar.el.
Chong Yidong [Tue, 28 Dec 2010 09:39:25 +0000 (17:39 +0800)]
Fix 2010-12-20 change to tool-bar.el.

* tool-bar.el (tool-bar-setup): Remove :enable conditions, which
are handled by the menu-bar entries.  As before, don't use
:visibile to avoid changing the tool-bar.

13 years ago* net/secrets.el (secrets-delete-alias): New defun.
Michael Albinus [Mon, 27 Dec 2010 17:52:17 +0000 (18:52 +0100)]
* net/secrets.el (secrets-delete-alias): New defun.

13 years agoRemove unused declarations
Andreas Schwab [Mon, 27 Dec 2010 17:29:38 +0000 (18:29 +0100)]
Remove unused declarations

* src/buffer.c: Remove unused declarations.
* src/buffer.h: Likewise.
* src/charset.h: Likewise.
* src/composite.h: Likewise.
* src/dispextern.h: Likewise.
* src/dispnew.c: Likewise.
* src/font.h: Likewise.
* src/fontset.c: Likewise.
* src/fontset.h: Likewise.
* src/intervals.h: Likewise.
* src/keymap.h: Likewise.
* src/lisp.h: Likewise.
* src/syntax.c: Likewise.
* src/syntax.h: Likewise.
* src/termhooks.h: Likewise.
* src/window.h: Likewise.
* src/xsettings.h: Likewise.
* src/xterm.c: Likewise.
* src/xterm.h: Likewise.

* src/chartab.c (sub_char_table_ref): Make static.
* src/dispnew.c (line_hash_code, required_matrix_height)
(required_matrix_width): Likewise.
* src/eval.c (interactive_p, apply_lambda): Likewise.
* src/fns.c (string_make_multibyte, copy_hash_table, hash_clear):
Likewise.
* src/font.c (QCadstyle, QCregistry, font_make_spec)
(font_parse_fcname, font_encode_char, font_at): Likewise.
* src/frame.c (x_frame_get_arg): Likewise.
* src/keymap.c (get_keyelt): Likewise.
* src/lread.c (read_filtered_event): Likewise.
* src/print.c (write_string_1): Likewise.
* src/window.c (delete_window, window_height, window_width)
(foreach_window): Likewise.
* src/xrdb.c (x_get_customization_string, x_get_resource): Likewise.
* src/xterm.c (x_scroll_bar_clear, xembed_set_info)
(xembed_send_message): Likewise.

* src/eval.c (run_hook_list_with_args): Delete.
* src/font.c (font_unparse_gtkname, font_update_lface): Likewise.
* src/terminal.c (get_terminal_param): Likewise.
* src/xterm.c (x_alloc_lighter_color_for_widget): Likewise.

13 years ago* scroll.c: Fix comment.
Andreas Schwab [Mon, 27 Dec 2010 17:23:49 +0000 (18:23 +0100)]
* scroll.c: Fix comment.

13 years agoProtoize
Andreas Schwab [Mon, 27 Dec 2010 17:23:29 +0000 (18:23 +0100)]
Protoize

* dispnew.c (add_window_display_history)
(add_frame_display_history, glyph_row_slice_p)
(find_glyph_row_slice, flush_stdout)
(check_matrix_pointer_lossage, matrix_row)
(check_matrix_invariants, check_window_matrix_pointers)
(check_matrix_pointers, window_to_frame_vpos)
(window_to_frame_hpos): Prototize.
* textprop.c (erase_properties): Likewise.

13 years ago* src/.gdbinit (xgetptr): Fix the union+lsb case.
Stefan Monnier [Mon, 27 Dec 2010 15:27:52 +0000 (10:27 -0500)]
* src/.gdbinit (xgetptr): Fix the union+lsb case.
(xbacktrace): Fix the union case.

13 years agormail.texi (Rmail Display): Describe new features of Rmail in Info.
Kenichi Handa [Mon, 27 Dec 2010 11:03:58 +0000 (20:03 +0900)]
rmail.texi (Rmail Display): Describe new features of Rmail in Info.

13 years ago* net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
Michael Albinus [Mon, 27 Dec 2010 10:56:26 +0000 (11:56 +0100)]
* net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
methods, otherwise ~/.ssh/config would be ignored.

13 years agoMake GPG-sign-by-sender code robuster.
Daiki Ueno [Mon, 27 Dec 2010 09:46:02 +0000 (18:46 +0900)]
Make GPG-sign-by-sender code robuster.

* mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Take care the
case when sender is not given.

13 years ago* admin/bzrmerge.el: New file to help merge branches while skipping
Stefan Monnier [Mon, 27 Dec 2010 01:27:08 +0000 (20:27 -0500)]
* admin/bzrmerge.el: New file to help merge branches while skipping
some revisions (e.g. from emacs-23 to trunk).

13 years ago* lisp/emacs-lisp/rx.el: Make it a superset of sregex.
Stefan Monnier [Sun, 26 Dec 2010 23:17:09 +0000 (18:17 -0500)]
* lisp/emacs-lisp/rx.el: Make it a superset of sregex.
(rx-constituents): Add `any => "."', mark `repeat' as taking any number
of args, add `regex' alias.
(rx-info): Add arg to distinguish head and standalone forms.
(rx-check, rx-form): Pass the corresponding arg.
(rx-**): Simplify.
(rx-repeat): Make it work for any number of args.
(rx-syntax): Make it accept syntax chars as is.
* lisp/obsolete/sregex.el: Move from emacs-lisp/.
* lisp/emacs-lisp/re-builder.el: Remove sregex support.
* lisp/emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.

13 years ago* src/window.c (Fmove_to_window_line): Avoid abort when called in a buffer
Stefan Monnier [Sun, 26 Dec 2010 04:04:58 +0000 (23:04 -0500)]
* src/window.c (Fmove_to_window_line): Avoid abort when called in a buffer
different from selected-window's.

13 years agoFix wording of changes in 2010-05-17T00:01:22Z!rgm@gnu.org.
Eli Zaretskii [Sat, 25 Dec 2010 19:20:45 +0000 (21:20 +0200)]
Fix wording of changes in 2010-05-17T00:01:22Z!rgm@gnu.org.

  frames.texi (Cut/Paste Other App): Ckarify Windows emulation of
  the primary selection.

13 years agoFix bug #7662 with aligning key bindings equivalent to menu items.
Eli Zaretskii [Sat, 25 Dec 2010 17:19:57 +0000 (19:19 +0200)]
Fix bug #7662 with aligning key bindings equivalent to menu items.

 keyboard.c (parse_menu_item): Prepend "  " to the key sequence
 equivalent of a menu item when the key sequence is given by the
 `:keys' attribute.

13 years agoFix bug #7713 with doc string of display-time-mode.
Eli Zaretskii [Sat, 25 Dec 2010 11:50:34 +0000 (13:50 +0200)]
Fix bug #7713 with doc string of display-time-mode.

 time.el (display-time-mode): Mention display-time-interval in
 the doc string.

13 years agoFix bug #7702 with docs of selections wrt MS-Windows.
Eli Zaretskii [Sat, 25 Dec 2010 11:34:45 +0000 (13:34 +0200)]
Fix bug #7702 with docs of selections wrt MS-Windows.

 doc/emacs/frames.texi (Cut and Paste): Modify the section's name and text:
 don't mix "cut/paste" with "kill/yank".
 (Cut/Paste Other App): Describe the per-session emulation of PRIMARY.
 lisp/simple.el (select-active-regions): Doc fix.

13 years agoFix bug #7699 with pasting selected text on MS-Windows.
Eli Zaretskii [Sat, 25 Dec 2010 10:57:02 +0000 (12:57 +0200)]
Fix bug #7699 with pasting selected text on MS-Windows.

 mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
 PRIMARY first, then the clipboard.

13 years agoFix bug #7667: mention debug-on-quit in the manual.
Eli Zaretskii [Sat, 25 Dec 2010 10:35:16 +0000 (12:35 +0200)]
Fix bug #7667: mention debug-on-quit in the manual.

 trouble.texi (Checklist): Mention debug-on-quit.

13 years agoMore fallout from fixing bug #7587.
Eli Zaretskii [Sat, 25 Dec 2010 10:14:48 +0000 (12:14 +0200)]
More fallout from fixing bug #7587.

 src/xdisp.c (Fformat_mode_line): Doc fix: no need to state that only
 the basic faces are supported.
 doc/lispref/modes.texi (Emulating Mode Line): Fix last change.
 etc/NEWS: Remove the entry about format-mode-line accepting only
 basic faces.

13 years agoFix error handling of MIME parsing.
Kenichi Handa [Fri, 24 Dec 2010 14:00:14 +0000 (23:00 +0900)]
Fix error handling of MIME parsing.

13 years agoFix wording of rmail's section in NEWS.
Kenichi Handa [Fri, 24 Dec 2010 11:21:26 +0000 (20:21 +0900)]
Fix wording of rmail's section in NEWS.

13 years ago* xterm.c (x_check_fullscreen): Fix pixel/character mixup.
Jan Djärv [Fri, 24 Dec 2010 10:14:44 +0000 (11:14 +0100)]
* xterm.c (x_check_fullscreen): Fix pixel/character mixup.

13 years agoFix indentation
Andreas Schwab [Fri, 24 Dec 2010 09:25:18 +0000 (10:25 +0100)]
Fix indentation

13 years agoUpdate autoloads in rmail.el
Andreas Schwab [Fri, 24 Dec 2010 09:07:39 +0000 (10:07 +0100)]
Update autoloads in rmail.el

13 years agoEnable display mode of MIME message in rmail.
Kenichi Handa [Fri, 24 Dec 2010 04:38:22 +0000 (13:38 +0900)]
Enable display mode of MIME message in rmail.