1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00
Commit Graph

97860 Commits

Author SHA1 Message Date
Andreas Schwab
8ee2dc5cff * lisp/emacs-lisp/rx.el (rx-syntax): Fix typo. 2010-12-30 16:15:34 +01:00
Tassilo Horn
f9e68477a2 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
on a copy of auto-mode-alist, because that deletes with side
effects.
2010-12-30 15:58:32 +01:00
Tassilo Horn
ad727c819a * 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.
2010-12-30 15:47:53 +01:00
Tassilo Horn
b71b780322 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS Office) files also for searching. 2010-12-30 14:53:22 +01:00
Tassilo Horn
95e16d17b7 * 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.
2010-12-30 14:45:09 +01:00
Chong Yidong
89dc29d9c8 * rmail.texi (Rmail Display): Edit for grammar and conciseness. 2010-12-30 20:39:41 +08:00
Jan Djärv
5bbb4727aa 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).
2010-12-30 12:30:55 +01:00
Michael Albinus
b191c9d952 * 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'.
2010-12-30 10:04:15 +01:00
Štěpán Němec
f1aab3ff30 * window.c (syms_of_window): Add missing defsubr for window-use-time. 2010-12-29 19:16:44 +08:00
Ulrich Mueller
4fc5868a33 * configure.in: Make gameuser configurable (Bug#7717).
* configure: Regenerate
2010-12-29 19:11:25 +08:00
Chong Yidong
5ae0867f43 * lisp/textmodes/conf-mode.el (conf-font-lock-keywords): Minor tweak (Bug#7712).
Use single quote instead of unused backquote.
2010-12-29 19:02:48 +08:00
Jari Aalto
0bf6f91957 * emacsclient.1: Arrange options alphabetically (Bug#7620). 2010-12-29 11:42:53 +08:00
Karl Fogel
6e457cc94c * 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>.
2010-12-28 22:24:09 -05:00
Ken Manheimer
2576c28f3a (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.
2010-12-28 14:57:15 -05:00
Andreas Schwab
365525b370 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.
2010-12-28 17:34:04 +01:00
Chong Yidong
c940c05468 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.
2010-12-28 17:39:25 +08:00
Michael Albinus
4c145d5d06 * net/secrets.el (secrets-delete-alias): New defun. 2010-12-27 18:52:17 +01:00
Andreas Schwab
2f7c71a117 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.
2010-12-27 18:29:38 +01:00
Andreas Schwab
c4b607ede1 * scroll.c: Fix comment. 2010-12-27 18:23:49 +01:00
Andreas Schwab
59fc5cf9ec 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.
2010-12-27 18:23:29 +01:00
Stefan Monnier
cf07311b88 * src/.gdbinit (xgetptr): Fix the union+lsb case.
(xbacktrace): Fix the union case.
2010-12-27 10:27:52 -05:00
Kenichi Handa
7f42ff40b1 rmail.texi (Rmail Display): Describe new features of Rmail in Info. 2010-12-27 20:03:58 +09:00
Michael Albinus
fe99f70420 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
methods, otherwise ~/.ssh/config would be ignored.
2010-12-27 11:56:26 +01:00
Daiki Ueno
fdee7cc1ac Make GPG-sign-by-sender code robuster.
* mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Take care the
case when sender is not given.
2010-12-27 18:46:02 +09:00
Stefan Monnier
9ebea0e746 * admin/bzrmerge.el: New file to help merge branches while skipping
some revisions (e.g. from emacs-23 to trunk).
2010-12-26 20:27:08 -05:00
Stefan Monnier
723ee192a5 * 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.
2010-12-26 18:17:09 -05:00
Stefan Monnier
794b75c769 * src/window.c (Fmove_to_window_line): Avoid abort when called in a buffer
different from selected-window's.
2010-12-25 23:04:58 -05:00
Eli Zaretskii
58bdfa4ccd 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.
2010-12-25 21:20:45 +02:00
Eli Zaretskii
71fe378d84 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.
2010-12-25 19:19:57 +02:00
Eli Zaretskii
6491af11af Fix bug #7713 with doc string of display-time-mode.
time.el (display-time-mode): Mention display-time-interval in
 the doc string.
2010-12-25 13:50:34 +02:00
Eli Zaretskii
2d34d52373 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.
2010-12-25 13:34:45 +02:00
Eli Zaretskii
e77714da30 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.
2010-12-25 12:57:02 +02:00
Eli Zaretskii
88ab43400d Fix bug #7667: mention debug-on-quit in the manual.
trouble.texi (Checklist): Mention debug-on-quit.
2010-12-25 12:35:16 +02:00
Eli Zaretskii
2e4ab21153 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.
2010-12-25 12:14:48 +02:00
Kenichi Handa
8258ae3f5a Fix error handling of MIME parsing. 2010-12-24 23:00:14 +09:00
Kenichi Handa
76428f01c6 Fix wording of rmail's section in NEWS. 2010-12-24 20:21:26 +09:00
Jan Djärv
84595ff0e3 * xterm.c (x_check_fullscreen): Fix pixel/character mixup. 2010-12-24 11:14:44 +01:00
Andreas Schwab
36de6a045f Fix indentation 2010-12-24 10:25:18 +01:00
Andreas Schwab
b0eab0848b Update autoloads in rmail.el 2010-12-24 10:07:39 +01:00
Kenichi Handa
186f7f0b7f Enable display mode of MIME message in rmail. 2010-12-24 13:38:22 +09:00
Julien Danjou
ade9369c17 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. 2010-12-23 22:24:24 +00:00
Stefan Monnier
17870c01f6 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.
2010-12-22 19:00:12 -05:00
Stefan Monnier
a65b85b5f0 * src/print.c (print, print_preprocess, print_object): Use a hash table
rather than a linear table for Vprint_number_table.
2010-12-22 16:25:46 -05:00
Daiki Ueno
7d50c95105 Add Obsolete-since: header to pgg*.el. 2010-12-22 18:23:58 +09:00
Katsumi Yamaoka
38e2584d52 Fix the log entry for reverting of gnus-util.el. 2010-12-22 07:04:25 +00:00
Chong Yidong
b103c904d9 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.
2010-12-21 15:54:27 +08:00
Chong Yidong
e14ad69196 Fix 2010-04-19 merge error in doc/emacs/maintaining.texi (Bug#7674). 2010-12-21 15:10:31 +08:00
Chong Yidong
d78cdcf74e * help-fns.el (find-lisp-object-file-name): Locate .emacs from .emacs.elc (Bug#7530). 2010-12-21 14:45:11 +08:00
Chong Yidong
6bfa51ba88 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).
2010-12-21 10:36:48 +08:00
Daiki Ueno
9d9cfd53c8 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.
2010-12-21 11:30:36 +09:00