]> git.eshelyaron.com Git - emacs.git/log
emacs.git
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.

13 years agognus-gravatar.el (gnus-gravatar-transform-address): Set `mail-extr-ignore-realname...
Julien Danjou [Thu, 23 Dec 2010 22:24:24 +0000 (22:24 +0000)]
gnus-gravatar.el (gnus-gravatar-transform-address): Set `mail-extr-ignore-realname-equals-mailbox-name' to nil when extracting the addresses, otherwise we might misplaced the gravatar.

13 years agoFix up last change.
Stefan Monnier [Thu, 23 Dec 2010 00:00:12 +0000 (19:00 -0500)]
Fix up last change.
* lisp/emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
print-number-table.
* src/print.c (PRINT_NUMBER_OBJECT, PRINT_NUMBER_STATUS): Remove.
(print_preprocess): Fix handling of uninterned symbols in last change.

13 years ago* src/print.c (print, print_preprocess, print_object): Use a hash table
Stefan Monnier [Wed, 22 Dec 2010 21:25:46 +0000 (16:25 -0500)]
* src/print.c (print, print_preprocess, print_object): Use a hash table
rather than a linear table for Vprint_number_table.

13 years agoAdd Obsolete-since: header to pgg*.el.
Daiki Ueno [Wed, 22 Dec 2010 09:23:58 +0000 (18:23 +0900)]
Add Obsolete-since: header to pgg*.el.

13 years agoFix the log entry for reverting of gnus-util.el.
Katsumi Yamaoka [Wed, 22 Dec 2010 07:04:25 +0000 (07:04 +0000)]
Fix the log entry for reverting of gnus-util.el.

13 years agoResection the Killing chapter in the Emacs manual.
Chong Yidong [Tue, 21 Dec 2010 07:54:27 +0000 (15:54 +0800)]
Resection the Killing chapter in the Emacs manual.

* killing.texi: Resection the Info version to conform to the
printed manual, to avoid making sections on Accumulating Text, CUA
and Rectangles into full chapters.

13 years agoFix 2010-04-19 merge error in doc/emacs/maintaining.texi (Bug#7674).
Chong Yidong [Tue, 21 Dec 2010 07:10:31 +0000 (15:10 +0800)]
Fix 2010-04-19 merge error in doc/emacs/maintaining.texi (Bug#7674).

13 years ago* help-fns.el (find-lisp-object-file-name): Locate .emacs from .emacs.elc (Bug#7530).
Chong Yidong [Tue, 21 Dec 2010 06:45:11 +0000 (14:45 +0800)]
* help-fns.el (find-lisp-object-file-name): Locate .emacs from .emacs.elc (Bug#7530).

13 years agoRevert bogus 2010-10-24 change to widget-image-find.
Chong Yidong [Tue, 21 Dec 2010 02:36:48 +0000 (10:36 +0800)]
Revert bogus 2010-10-24 change to widget-image-find.

* lisp/wid-edit.el (widget-image-find): Remove bogus :ascent spec from
image spec (Bug#7480).

13 years agoMark PGG obsolete.
Daiki Ueno [Tue, 21 Dec 2010 02:30:36 +0000 (11:30 +0900)]
Mark PGG obsolete.

* obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
* obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el: Move
from lisp/.

* gnus/mml1991.el (pgg-sign-region, pgg-encrypt-region):
* gnus/gnus-art.el (pgg-snarf-keys-region): Autoload since PGG is now
obsolete in Emacs.

13 years agoRevert "gnus-util: rewrite gnus-rescale-image".
Julien Danjou [Mon, 20 Dec 2010 22:12:30 +0000 (22:12 +0000)]
Revert "gnus-util: rewrite gnus-rescale-image".

13 years ago* dnd.el (dnd-get-local-file-name): Unhex of file name shall
Jan Djärv [Mon, 20 Dec 2010 20:11:01 +0000 (21:11 +0100)]
* dnd.el (dnd-get-local-file-name): Unhex of file name shall
 always be performed (Bug#7680).

13 years agoBind "Copy" menu item to kill-ring-save, obsoleting menu-bar-kill-ring-save.
Chong Yidong [Mon, 20 Dec 2010 14:44:28 +0000 (22:44 +0800)]
Bind "Copy" menu item to kill-ring-save, obsoleting menu-bar-kill-ring-save.

* menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
(menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
mouse-region-match.

13 years ago* help-fns.el (describe-variable): Fix 2010-12-17 change (Bug#7511).
Leo Liu [Mon, 20 Dec 2010 11:31:15 +0000 (19:31 +0800)]
* help-fns.el (describe-variable): Fix 2010-12-17 change (Bug#7511).

13 years ago* src/frame.c (focus_follows_mouse): Default to 0 (Bug#7269).
Chong Yidong [Mon, 20 Dec 2010 11:11:30 +0000 (19:11 +0800)]
* src/frame.c (focus_follows_mouse): Default to 0 (Bug#7269).

13 years agoMove color.el out of the gnus/ tree.
Chong Yidong [Mon, 20 Dec 2010 03:18:56 +0000 (11:18 +0800)]
Move color.el out of the gnus/ tree.

13 years ago* lisp/isearch.el (isearch-lazy-highlight-error): New variable.
Juri Linkov [Mon, 20 Dec 2010 01:18:15 +0000 (01:18 +0000)]
* lisp/isearch.el (isearch-lazy-highlight-error): New variable.
(isearch-lazy-highlight-new-loop): Compare `isearch-error' and
`isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
to the current value of `isearch-error' (Bug#7468).

13 years agoFix 2010-11-22 change to diff.el.
Chong Yidong [Mon, 20 Dec 2010 00:20:25 +0000 (08:20 +0800)]
Fix 2010-11-22 change to diff.el.

* vc/diff.el (diff-better-file-name): Function deleted.
abbreviating file names causes problems with shell-quote-argument.
(diff-no-select): Just use expand-file-name.

13 years agoImplement tool-bar separators for non-GTK tool-bars.
Chong Yidong [Mon, 20 Dec 2010 00:17:26 +0000 (08:17 +0800)]
Implement tool-bar separators for non-GTK tool-bars.

* lisp/tool-bar.el (tool-bar--image-expression): New function.
(tool-bar-local-item, tool-bar--image-exp): Use it.
(tool-bar-setup): Initialize tool-bar-separator-image-expression.
Use :enable instead of :visible to avoid changing the tool-bar
configuration unnecessarily.

* src/keyboard.c (Vtool_bar_separator_image_expression): New variable.
(parse_tool_bar_item): Use it to obtain image separators for
displays not using native tool-bar separators.

* src/xdisp.c (build_desired_tool_bar_string): Don't handle separators
specially, since this is now done in parse_tool_bar_item.

* lisp/info.el (info-tool-bar-map): Add separators.

13 years agoMinor clean up to silence some gcc warnings.
Stefan Monnier [Sun, 19 Dec 2010 05:43:42 +0000 (00:43 -0500)]
Minor clean up to silence some gcc warnings.
* src/window.c (Fset_window_buffer):
* src/xterm.c (x_set_frame_alpha): Restructure code to silence
compiler warning.
(handle_one_xevent): Remove unused var `p'.
(do_ewmh_fullscreen): Remove unused var `lval'.
(xembed_set_info): Remove unused var `atom'.
* src/textprop.c (Fremove_list_of_text_properties): Add braces to silence
compiler warning.
* src/fontset.c (fontset_id_valid_p, dump_fontset):
* src/ftfont.c (ftfont_drive_otf): Modernize k&r declaration.
* src/eval.c (Feval, Ffuncall): Avoid unneeded gotos.
* src/dispnew.c (update_frame, update_frame_1): Compile the `do_pause'
label only when it's used.
* src/image.c (x_create_bitmap_from_xpm_data):
* src/dispextern.h (x_create_bitmap_from_xpm_data): Use const char** like
its callers.
* src/coding.c (detect_coding_utf_16): Remove unused vars `src_base' and
`consumed_chars'.
(DECODE_EMACS_MULE_21_COMPOSITION): Remove unused var `charbuf_base'.
(decode_coding_emacs_mule): Remove unused label `retry'.
(detect_eol): Add parens to silence compiler warning.
* src/alloc.c (bytes_used_when_reconsidered): Move to the #ifdef where
it's used to silence the compiler.
(make_number): Modernize k&r declaration.
(mark_char_table): Add parens to silence compiler warning.

13 years agoMinor doc fix for manual; bug#7674
Glenn Morris [Sat, 18 Dec 2010 21:28:51 +0000 (13:28 -0800)]
Minor doc fix for manual; bug#7674

* doc/emacs/maintaining.texi: Move inclusion of emerge after EDE, so
that it matches its position in the menu.

13 years agoAdd missing ChangeLog entry for 2010-12-16T23:30:57Z!ken.manheimer@gmail.com.
Glenn Morris [Sat, 18 Dec 2010 20:39:05 +0000 (12:39 -0800)]
Add missing ChangeLog entry for 2010-12-16T23:30:57Z!ken.manheimer@gmail.com.

13 years ago* doc/lispref/keymaps.texi (Simple Menu Items, Extended Menu Items):
Stefan Monnier [Sat, 18 Dec 2010 16:28:15 +0000 (11:28 -0500)]
* doc/lispref/keymaps.texi (Simple Menu Items, Extended Menu Items):
Remove mention of the key-binding-data cache since we don't use it
any more.
* doc/lispref/modes.texi (Derived Modes): Mention prog-mode.

Fixes: debbugs:7542
13 years agoFallout from fixing bug #7587.
Eli Zaretskii [Sat, 18 Dec 2010 08:53:28 +0000 (10:53 +0200)]
Fallout from fixing bug #7587.

 doc/lispref/modes.texi (Emulating Mode Line): Update documentation of
 format-mode-line according to changes that fixed bug #7587.

 etc/NEWS: Mention the incompatible change in format-mode-line wrt its
 FACE argument.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Fri, 17 Dec 2010 22:45:16 +0000 (22:45 +0000)]
Merge changes made in Gnus trunk.

nnir.el (nnir-get-active): Ignore nnir-ignored-newsgroups if null.
gnus-sum.el (gnus-summary-refer-thread): Simplify code. Restore gnus-use-agent.
 (gnus-get-newsgroup-headers): Avoid unwanted spaces at eol.
gravatar.el (gravatar-retrieve-synchronously): New function.
 (gravatar-get-data): Make more robust.
gnus-util.el (gnus-rescale-image): Allow to resize images even if they are from file. Can also scale up.
nnimap.el (nnimap-retrieve-headers): Remove CRLF from the headers.
nnir.el (nnir-mode): Make sure 'gnus-registry-install is bound.
gnus-sum.el (gnus-get-newsgroup-headers): Revert the last change here, since it's up to the backends to do CRLF removal if their protocol has it.
gnus-group.el (gnus-group-delete-articles): New command.

13 years agoFix change that fixed bug #7587.
Eli Zaretskii [Fri, 17 Dec 2010 15:38:37 +0000 (17:38 +0200)]
Fix change that fixed bug #7587.

 xdisp.c (Fformat_mode_line): Fix last change.

13 years ago* loadup.el: Use version numbers in Cygwin build.
Ken Brown [Fri, 17 Dec 2010 15:14:57 +0000 (10:14 -0500)]
* loadup.el: Use version numbers in Cygwin build.

13 years ago* lisp/help-fns.el (describe-variable): Don't emit trailing whitespace (Bug#7511).
Chong Yidong [Fri, 17 Dec 2010 11:38:22 +0000 (19:38 +0800)]
* lisp/help-fns.el (describe-variable): Don't emit trailing whitespace (Bug#7511).

13 years ago* lisp/mail/binhex.el: Improve commentary (Bug#7482).
Chong Yidong [Fri, 17 Dec 2010 11:16:10 +0000 (19:16 +0800)]
* lisp/mail/binhex.el: Improve commentary (Bug#7482).

13 years agoMinor fix for eshell-previous-matching-input (Bug#7585).
Leo Liu [Fri, 17 Dec 2010 11:04:40 +0000 (19:04 +0800)]
Minor fix for eshell-previous-matching-input (Bug#7585).

* lisp/eshell/em-hist.el (eshell-previous-matching-input): Signal error
if point is not behind eshell-last-output-end (Bug#7585).

13 years agoAsk for confirmation in ido-file-internal (Bug#1238).
Ryan Twitchell [Fri, 17 Dec 2010 10:56:03 +0000 (18:56 +0800)]
Ask for confirmation in ido-file-internal (Bug#1238).

* ido.el (ido-file-internal): Ask for confirmation before
overwriting an existing file (Bug#1238).

13 years agoSupport for menu separators in the GTK tool-bar.
Chong Yidong [Fri, 17 Dec 2010 04:04:06 +0000 (12:04 +0800)]
Support for menu separators in the GTK tool-bar.

* src/gtkutil.c (XG_BIN_CHILD): New macro.
(xg_get_menu_item_label, xg_update_menubar)
(xg_update_menu_item, xg_tool_bar_menu_proxy)
(xg_show_toolbar_item, update_frame_tool_bar): Use it.
(separator_names, xg_separator_p): Move to keyboard.c.
(create_menus, xg_update_submenu, update_frame_tool_bar): Use
menu_separator_name_p.

* src/keyboard.c (parse_tool_bar_item): Allow menu separators in
tool-bar maps.
(menu_separator_name_p): New function, from gtkutil.c.
(separator_names): Move from gtkutil.c.

* src/keyboard.h (menu_separator_name_p): Add prototype.

* src/nsmenu.m (name_is_separator): Function deleted.
(addItemWithWidgetValue): Use menu_separator_name_p.

* src/w32menu.c (name_is_separator): Function deleted.
(add_menu_item): Use menu_separator_name_p.

13 years agoMention epa-file-select-keys in epa.texi.
Daiki Ueno [Fri, 17 Dec 2010 01:43:03 +0000 (10:43 +0900)]
Mention epa-file-select-keys in epa.texi.

13 years agoSynopsis: Migrate allout encryption provisions from pgg library, which is
Ken Manheimer [Thu, 16 Dec 2010 23:30:57 +0000 (18:30 -0500)]
Synopsis: Migrate allout encryption provisions from pgg library, which is
obsolete, to epg library, which replaces pgg.

Due to the underlying GnuPG V2 restrictions on external handling of
passphrases (or epg's restrictions when working with GnuPG v2), we are
dropping allout's symmetric encryption passphrase hinting and verification.
This has the advantage that no emacs code has access to the passphrase,
leaving all passphrase handling in GnuPG, which is much more secure.  This,
together with the reduction in allout code complexity and logistical
complications the user would have in arranging to use GnuPG v1, requires
dropping these features.

Keypair encryption gains features, with adoption of respect for epa-file's
'epa-file-encrypt-to'.  This means that allout outlines can be associated
with recipients, and encryptions by default will be targeted to those
recipients.

The default encryption mode (whether to epa-file-encrypt-to recipients, if
any, or symmetric mode) is overridden by providing a universal argument
greater than 1 to the outline entry encryption command,
'allout-toggle-current-subtree-encryption'.  The user is then prompted to
select keypair identities from their list of known GnuPG keypairs.  If they
don't select any, then symmetric encryption is done.  Otherwise, the
selected keypair identities are targeted.  If the universal argument is
greater than 4 then the selected recipients (or none, if none were
selected) are associated with the outline using a file local variable, as
default recipients for subsequent encryptions.

This is a big merge from a private branch.

Code details:

(allout-toggle-current-subtree-encryption,
allout-toggle-subtree-encryption): Adjust docstrings to reflect defaulting
policy and other changes.
Change fetch-pass to keymode-cue, for simpler universal argument
interpretation.
(allout-toggle-subtree-encryption):  Adjust docstring to describe
changed encryption provisions.
Change fetch-pass to keymode-cue, for simpler universal argument
interpretation.
Remove provisions for handling key type and identity - they'll all be
within allout-encrypt-string or epg/epg or even contained all the way in
gpg.
(allout-encrypt-string): Include keymode-cue, for optionally prompting for
keypair recipients (universal argument > 1) and, in addition, associating the
specified recipients with the outline (universal argument > 4) using a file
local variable setting for 'epa-file-encrypt-to'.
Require epa, for recipients handling.
Change how regexp filtering elements are named.
Describe the problem with caching of incorrect symmetric-decryption keys.
Use the epa-passphrase-callback-function, in case the user is using GnuPG
v1.
Support saving of the selected keypair recipients when invoked with a
keymode-cue > 4.
Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
Require 'epa.
Establish epg-context with armoring and default epg-protocol.
Remove all passphrase cache, verification, and hinting code.
(allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
No longer used, delete.
(allout-mode): Adjust docstring to describe changed encryption provisions.
Describe the problem with caching of incorrect symmetric-decryption keys.
(allout-obtain-passphrase, allout-epg-passphrase-callback-function,
allout-make-passphrase-state, allout-passphrase-state-passphrase,
allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids,
allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
Obsolete, remove.

13 years agonnimap.el (nnimap-wait-for-response): Fix the end-point calculation to really conside...
Lars Magne Ingebrigtsen [Thu, 16 Dec 2010 23:18:57 +0000 (23:18 +0000)]
nnimap.el (nnimap-wait-for-response): Fix the end-point calculation to really consider the last line.