]> git.eshelyaron.com Git - emacs.git/log
emacs.git
11 years agomerge from trunk
Joakim Verona [Thu, 12 Sep 2013 14:37:18 +0000 (16:37 +0200)]
merge from trunk

11 years agoComments.
Xue Fuqiao [Thu, 12 Sep 2013 14:21:21 +0000 (22:21 +0800)]
Comments.

11 years agomerge from trunk
Joakim Verona [Thu, 12 Sep 2013 13:35:32 +0000 (15:35 +0200)]
merge from trunk

11 years ago* src/charset.c (char_charset): Document an exception for char-charset.
Xue Fuqiao [Thu, 12 Sep 2013 13:12:39 +0000 (21:12 +0800)]
* src/charset.c (char_charset): Document an exception for char-charset.

11 years agomerge from trunk
Joakim Verona [Thu, 12 Sep 2013 12:38:28 +0000 (14:38 +0200)]
merge from trunk

11 years ago* doc/lispref/functions.texi (Obsolete Functions): Add an index for obsolete functions.
Xue Fuqiao [Thu, 12 Sep 2013 12:22:17 +0000 (20:22 +0800)]
* doc/lispref/functions.texi (Obsolete Functions): Add an index for obsolete functions.

11 years agomerge from trunk
Joakim Verona [Thu, 12 Sep 2013 12:21:46 +0000 (14:21 +0200)]
merge from trunk

11 years ago* doc/emacs/text.texi (Enriched Justification): Explain values of default-justification.
Xue Fuqiao [Thu, 12 Sep 2013 12:04:18 +0000 (20:04 +0800)]
* doc/emacs/text.texi (Enriched Justification): Explain values of default-justification.

11 years agomerge from trunk
Joakim Verona [Thu, 12 Sep 2013 07:41:49 +0000 (09:41 +0200)]
merge from trunk

11 years ago* xterm.h (x_display_info): New field last_user_time...
Dmitry Antipov [Thu, 12 Sep 2013 07:29:33 +0000 (11:29 +0400)]
* xterm.h (x_display_info): New field last_user_time...
* xterm.c (toplevel): ...to replace static last_user_time.
(handle_one_xevent, x_ewmh_activate_frame): Adjust users.

11 years agomerge from trunk
Joakim Verona [Thu, 12 Sep 2013 07:06:54 +0000 (09:06 +0200)]
merge from trunk

11 years agoRemove superflous comment
Glenn Morris [Thu, 12 Sep 2013 07:00:52 +0000 (00:00 -0700)]
Remove superflous comment

11 years ago* vc/vc-dispatcher.el (vc-dir-refresh): Declare.
Glenn Morris [Thu, 12 Sep 2013 06:58:57 +0000 (23:58 -0700)]
* vc/vc-dispatcher.el (vc-dir-refresh): Declare.

11 years agomerge from trunk
Joakim Verona [Thu, 12 Sep 2013 06:57:21 +0000 (08:57 +0200)]
merge from trunk

11 years ago* vc/vc-svn.el (vc-svn-retrieve-tag): Mark unused argument.
Glenn Morris [Thu, 12 Sep 2013 06:55:15 +0000 (23:55 -0700)]
* vc/vc-svn.el (vc-svn-retrieve-tag): Mark unused argument.

11 years ago* vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
Glenn Morris [Thu, 12 Sep 2013 06:53:57 +0000 (23:53 -0700)]
* vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
(vc-svn-ignore): Mark unused arguments.

11 years agoRevert part of previous vc-bzr change
Glenn Morris [Thu, 12 Sep 2013 06:50:18 +0000 (23:50 -0700)]
Revert part of previous vc-bzr change

11 years agognus-icalendar small fix
Glenn Morris [Thu, 12 Sep 2013 06:47:07 +0000 (23:47 -0700)]
gnus-icalendar small fix

* gnus/gnus-icalendar.el (gnus-icalendar-event--build-reply-event-body):
Avoid using `find', which i) might not be defined at runtime;
ii) does not work, since its default test is eql, not equal.
(gnus-mime-action-alist): Declare.

11 years agomerge from trunk
Joakim Verona [Thu, 12 Sep 2013 06:47:03 +0000 (08:47 +0200)]
merge from trunk

11 years ago* subr.el (do-after-load-evaluation): Also give compiler warnings
Glenn Morris [Thu, 12 Sep 2013 06:37:02 +0000 (23:37 -0700)]
* subr.el (do-after-load-evaluation): Also give compiler warnings
when obsolete files are used (except by obsolete files).

11 years agomerge from trunk
Joakim Verona [Thu, 12 Sep 2013 06:36:32 +0000 (08:36 +0200)]
merge from trunk

11 years ago* xterm.c (x_set_scroll_bar_thumb) [USE_LUCID && !HAVE_XAW3D]: Clip
Dmitry Antipov [Thu, 12 Sep 2013 06:29:13 +0000 (10:29 +0400)]
* xterm.c (x_set_scroll_bar_thumb) [USE_LUCID && !HAVE_XAW3D]: Clip
scroll bar values to prevent thumb from disappear and update comment.

11 years ago* vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
Glenn Morris [Thu, 12 Sep 2013 06:21:33 +0000 (23:21 -0700)]
* vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
in the status output, assume `filename' is the first.

Fixes: debbugs:15322
11 years agomerge from trunk
Joakim Verona [Thu, 12 Sep 2013 06:21:29 +0000 (08:21 +0200)]
merge from trunk

11 years ago* lisp/vc/vc.el (vc-deduce-fileset): Doc fix.
Glenn Morris [Thu, 12 Sep 2013 06:10:12 +0000 (23:10 -0700)]
* lisp/vc/vc.el (vc-deduce-fileset): Doc fix.

11 years agomerge from trunk
Joakim Verona [Thu, 12 Sep 2013 05:57:09 +0000 (07:57 +0200)]
merge from trunk

11 years agoUpdate some function declarations
Glenn Morris [Thu, 12 Sep 2013 05:48:22 +0000 (22:48 -0700)]
Update some function declarations

* calc/calc-help.el (Info-goto-node):
* progmodes/cperl-mode.el (Info-find-node):
* vc/ediff.el (Info-goto-node): Update declarations.

11 years agomerge from trunk
Joakim Verona [Thu, 12 Sep 2013 05:46:45 +0000 (07:46 +0200)]
merge from trunk

11 years agoSilence some vc- compilation warnings
Glenn Morris [Thu, 12 Sep 2013 05:45:42 +0000 (22:45 -0700)]
Silence some vc- compilation warnings

* vc/vc-bzr.el (vc-exec-after): Remove unused declaration.
(vc-compilation-mode): Declare.
(vc-bzr-pull): Require vc-dispatcher.

* vc/vc-git.el (vc-compilation-mode): Declare.
(vc-git-pull): Require vc-dispatcher.

11 years ago* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
Glenn Morris [Thu, 12 Sep 2013 05:43:55 +0000 (22:43 -0700)]
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.

11 years ago* lisp/progmodes/octave.el (help-button-action): Declare.
Glenn Morris [Thu, 12 Sep 2013 05:43:23 +0000 (22:43 -0700)]
* lisp/progmodes/octave.el (help-button-action): Declare.

11 years agoFix some minor shell.el oddness related to usage of error and message
Glenn Morris [Thu, 12 Sep 2013 05:40:50 +0000 (22:40 -0700)]
Fix some minor shell.el oddness related to usage of error and message

* lisp/shell.el (shell-directory-tracker): Output error as a message
rather than just returning it as a string.
(shell-process-pushd): Remove useless use of message.

11 years agoUse with-demoted-errors now that it can format any error messages
Glenn Morris [Thu, 12 Sep 2013 05:32:57 +0000 (22:32 -0700)]
Use with-demoted-errors now that it can format any error messages

* dframe.el (dframe-timer-fn):
* files.el (dir-locals-read-from-file):
* mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run, mpc-format):
* reveal.el (reveal-post-command):
* saveplace.el (load-save-place-alist-from-file):
* shell.el (shell-resync-dirs):
* w32-common-fns.el (x-get-selection-value):
* emacs-lisp/copyright.el (copyright-find-copyright):
* emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
* emulation/tpu-edt.el (tpu-copy-keyfile):
* play/bubbles.el (bubbles--mark-neighbourhood):
* progmodes/executable.el (executable-make-buffer-file-executable-if-script-p):
* term/pc-win.el (x-get-selection-value): Use with-demoted-errors.

11 years agomerge from trunk
Joakim Verona [Thu, 12 Sep 2013 05:31:47 +0000 (07:31 +0200)]
merge from trunk

11 years agoCleanup Eshell to rely less on dynamic scoping.
Stefan Monnier [Thu, 12 Sep 2013 05:20:07 +0000 (01:20 -0400)]
Cleanup Eshell to rely less on dynamic scoping.
* lisp/eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
last-value, and ext-command here.  Bind `args' closer to `body'.
(temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
(eshell--args): Declare new dynamic var.
(eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
last-value, and ext-command.  Pass `args' to `body'.
(eshell-process-args): Bind eshell--args.
(eshell-set-option): Use eshell--args.
* lisp/eshell/eshell.el (eshell): Use derived-mode-p.
* lisp/eshell/esh-var.el (eshell-parse-variable): Use backquote.
(eshell-parse-variable-ref): Remove unused vars `end' and `err'.
(eshell-glob-function): Declare.
* lisp/eshell/esh-util.el: Require cl-lib.
(eshell-read-hosts-file): Avoid add-to-list.
* lisp/eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
`err'.
* lisp/eshell/em-unix.el (compilation-scroll-output, locate-history-list):
Declare.
(eshell/diff): Remove unused var `err'.
* lisp/eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
`killflag'.
* lisp/eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
* lisp/eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
first use.
* lisp/eshell/em-glob.el (eshell-glob-matches, message-shown):
Move declaration before first use.
* lisp/eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
* autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
rely on cl-return.

11 years agomerge from trunk
Joakim Verona [Thu, 12 Sep 2013 05:11:47 +0000 (07:11 +0200)]
merge from trunk

11 years ago* lisp/autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
Stefan Monnier [Thu, 12 Sep 2013 04:56:51 +0000 (00:56 -0400)]
* lisp/autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
rely on cl-return.

11 years agomerge from trunk
Joakim Verona [Thu, 12 Sep 2013 01:46:27 +0000 (03:46 +0200)]
merge from trunk

11 years ago* lisp/term/ns-win.el (global-map): Remove binding for ispell-next,
Glenn Morris [Thu, 12 Sep 2013 01:32:45 +0000 (21:32 -0400)]
* lisp/term/ns-win.el (global-map): Remove binding for ispell-next,
deleted 1999-05-29.

Fixes: debbugs:15357
11 years agomerge from trunk
Joakim Verona [Wed, 11 Sep 2013 23:16:33 +0000 (01:16 +0200)]
merge from trunk

11 years agoCharacter properties fix in lispref.
Xue Fuqiao [Wed, 11 Sep 2013 23:05:21 +0000 (07:05 +0800)]
Character properties fix in lispref.

* doc/lispref/nonascii.texi (Character Properties): Character properties fix
for decimal-digit-value and digit-value.

11 years agomerge from trunk
Joakim Verona [Wed, 11 Sep 2013 18:47:01 +0000 (20:47 +0200)]
merge from trunk

11 years agoComment
Glenn Morris [Wed, 11 Sep 2013 18:40:06 +0000 (14:40 -0400)]
Comment

11 years ago* lisp/play/landmark.el: Yet more typo fixes.
Glenn Morris [Wed, 11 Sep 2013 18:36:51 +0000 (14:36 -0400)]
* lisp/play/landmark.el: Yet more typo fixes.

11 years ago* lisp/echistory.el (electric-command-history): Remove call to deleted func.
Glenn Morris [Wed, 11 Sep 2013 18:33:58 +0000 (14:33 -0400)]
* lisp/echistory.el (electric-command-history): Remove call to deleted func.

11 years ago* lisp/play/landmark.el (landmark-mode): Fix typos.
Glenn Morris [Wed, 11 Sep 2013 18:32:32 +0000 (14:32 -0400)]
* lisp/play/landmark.el (landmark-mode): Fix typos.

11 years ago* lisp/vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
Glenn Morris [Wed, 11 Sep 2013 18:31:45 +0000 (14:31 -0400)]
* lisp/vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
Check cvs-sort-ignore-file is bound.

11 years agomerge from trunk
Joakim Verona [Wed, 11 Sep 2013 17:42:49 +0000 (19:42 +0200)]
merge from trunk

11 years ago* src/emacs.c (usage_message): Possessive apostrophe tweak.
Glenn Morris [Wed, 11 Sep 2013 17:31:29 +0000 (13:31 -0400)]
* src/emacs.c (usage_message): Possessive apostrophe tweak.

Likewise in some comments.

11 years ago* lisp/savehist.el: No need for cl when compiling on Emacs.
Glenn Morris [Wed, 11 Sep 2013 17:27:22 +0000 (13:27 -0400)]
* lisp/savehist.el: No need for cl when compiling on Emacs.

11 years agomerge from trunk
Joakim Verona [Wed, 11 Sep 2013 16:12:24 +0000 (18:12 +0200)]
merge from trunk

11 years ago* nsterm.m (syms_of_nsterm): Use Qns.
Dmitry Antipov [Wed, 11 Sep 2013 16:03:42 +0000 (20:03 +0400)]
* nsterm.m (syms_of_nsterm): Use Qns.
* w32fns.c (Fx_open_connection): Remove old '#if 0' code.
* w32term.c (w32_create_terminal, syms_of_w32term): Use Qw32.
* xfns.c (x_display_info_for_name, Fx_open_connection):
Remove old '#if 0' code.
(syms_of_xfns): Use Qx.

11 years ago* lisp/eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization.
Stefan Monnier [Wed, 11 Sep 2013 16:00:37 +0000 (12:00 -0400)]
* lisp/eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization.
(eshell-self-insert-command, eshell-send-invisible): Remove
unused argument.
(eshell-handle-control-codes): Remove unused var `orig'.
Avoid delete-backward-char.

Fixes: debbugs:15338
11 years agomerge from trunk
Joakim Verona [Wed, 11 Sep 2013 14:17:49 +0000 (16:17 +0200)]
merge from trunk

11 years agoMinor fixes for ido.texi.
Xue Fuqiao [Wed, 11 Sep 2013 14:06:22 +0000 (22:06 +0800)]
Minor fixes for ido.texi.

* doc/misc/ido.texi (Interactive Substring Matching): Use @key{RET}
instead of @kbd{RET}.
(Prefix Matching): Add an index.

11 years ago* termhooks.h (fullscreen_hook): Remove the leftover.
Dmitry Antipov [Wed, 11 Sep 2013 13:56:46 +0000 (17:56 +0400)]
* termhooks.h (fullscreen_hook): Remove the leftover.
(struct terminal): Fix typo in comment.

11 years agomerge from trunk
Joakim Verona [Wed, 11 Sep 2013 13:47:14 +0000 (15:47 +0200)]
merge from trunk

11 years agoCleaning up a few X scroll bar bits.
Dmitry Antipov [Wed, 11 Sep 2013 13:35:28 +0000 (17:35 +0400)]
Cleaning up a few X scroll bar bits.
* termhooks.h (enum scroll_bar_part): Add scroll_bar_nowhere member.
* xterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS && USE_LUCID]:
New member last_seen_part, going to replace...
* xterm.c [USE_TOOLKIT_SCROLL_BARS]: ...global last_scroll_bar_part.
(xt_action_hook) [USE_LUCID]: Adjust user.
(xm_scroll_callback, xg_scroll_callback): Do not bloat with
Lucid-specific scroll bar support.
(xaw_jump_callback, xaw_scroll_callback): Prefer enum scroll_par_part
to int and adjust to use last_seen_part member.
(x_set_toolkit_scroll_bar_thumb) [USE_LUCID]: Adjust user.
(x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS && USE_LUCID]:
Initialize last_seen_part.

11 years agomerge from trunk
Joakim Verona [Wed, 11 Sep 2013 12:42:07 +0000 (14:42 +0200)]
merge from trunk

11 years ago* lisp/files.el (set-auto-mode): Simplify a bit further.
Stefan Monnier [Wed, 11 Sep 2013 12:36:59 +0000 (08:36 -0400)]
* lisp/files.el (set-auto-mode): Simplify a bit further.

11 years ago* src/insdel.c (insert_from_buffer_1): Don't mark buffer as modified when
Stefan Monnier [Wed, 11 Sep 2013 12:28:01 +0000 (08:28 -0400)]
* src/insdel.c (insert_from_buffer_1): Don't mark buffer as modified when
insert-buffer-substring an empty string.

11 years agomerge from trunk
Joakim Verona [Wed, 11 Sep 2013 10:31:33 +0000 (12:31 +0200)]
merge from trunk

11 years ago* xdisp.c (Ftool_bar_lines_needed): Declare as 'const' if ifdeffed out,
Paul Eggert [Wed, 11 Sep 2013 10:24:48 +0000 (03:24 -0700)]
* xdisp.c (Ftool_bar_lines_needed): Declare as 'const' if ifdeffed out,

avoiding a GCC warning.

11 years agoAuto-commit of loaddefs files.
Glenn Morris [Wed, 11 Sep 2013 10:19:47 +0000 (06:19 -0400)]
Auto-commit of loaddefs files.

11 years agomerge from trunk
Joakim Verona [Wed, 11 Sep 2013 09:11:34 +0000 (11:11 +0200)]
merge from trunk

11 years agoIfdef away frame tool bar code when it is not really used.
Dmitry Antipov [Wed, 11 Sep 2013 08:56:33 +0000 (12:56 +0400)]
Ifdef away frame tool bar code when it is not really used.
* frame.h (struct frame) [HAVE_WINDOW_SYSTEM && !USE_GTK && !HAVE_NS]:
Move tool_bar_window, desired_tool_bar_string, current_tool_bar_string
and minimize_tool_bar_window_p under the above.
(fset_current_tool_bar_string, fset_desired_tool_bar_string)
(fset_tool_bar_window): Likewise.
* dispnew.c (clear_current_matrices, clear_desired_matrices)
(adjust_frame_glyphs_for_window_redisplay, free_glyphs, update_frame)
(change_frame_size_1):
* window.c (window_from_coordinates, Frecenter): Adjust users.
* window.h (WINDOW_TOOL_BAR_P): Define to zero when frame tool bar
code is not really used.
* xdisp.c (build_desired_tool_bar_string, display_tool_bar_line)
(tool_bar_lines_needed, MAX_FRAME_TOOL_BAR_HEIGHT, tool_bar_item_info)
(get_tool_bar_item, handle_tool_bar_click, note_tool_bar_highlight)
[!USE_GTK && !HAVE_NS]: Define as such.
(Ftool_bar_lines_needed, redisplay_tool_bar, show_mouse_face)
(note_mouse_highlight, expose_frame):
* xfns.c (x_set_tool_bar_lines):
* xterm.c (handle_one_xevent): Adjust users.

11 years agomerge from trunk
Joakim Verona [Wed, 11 Sep 2013 08:37:10 +0000 (10:37 +0200)]
merge from trunk

11 years agoFix corruption with multiple emacsclient -t instances.
Paul Eggert [Wed, 11 Sep 2013 08:24:05 +0000 (01:24 -0700)]
Fix corruption with multiple emacsclient -t instances.

This bug was introduced by my 2013-08-26 patch, which incorrectly
assumed that the terminfo implementation doesn't use termcap buffers.
* term.c (init_tty) [TERMINFO]: Remove optimization, as
these buffers apparently are used after all.
* termchar.h (TERMCAP_BUFFER_SIZE) [TERMINFO]: Define here too.
(struct tty_display_info): Define members termcap_term_buffer and
termcap_strings_buffer even if TERMINFO.

Fixes: debbugs:15222
11 years agomerge from trunk
Joakim Verona [Wed, 11 Sep 2013 07:45:18 +0000 (09:45 +0200)]
merge from trunk

11 years agoFix last change.
Dmitry Antipov [Wed, 11 Sep 2013 07:20:20 +0000 (11:20 +0400)]
Fix last change.
* data.c (Feqlsign, Flss, Fgtr, Fleq, Fgeq): Add convenient
'usage' docstring entry to pacify make-docfile.

11 years agomerge from trunk
Joakim Verona [Wed, 11 Sep 2013 06:45:50 +0000 (08:45 +0200)]
merge from trunk

11 years agoImprove previous interpreter-mode-alist change
Glenn Morris [Wed, 11 Sep 2013 06:44:35 +0000 (23:44 -0700)]
Improve previous interpreter-mode-alist change

* lisp/files.el (interpreter-mode-alist): Remove \\` \\' parts.
(set-auto-mode): Don't regexp-quote elements.

* lisp/progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.

* lisp/progmodes/cc-mode.el (interpreter-mode-alist):
* lisp/progmodes/ruby-mode.el (interpreter-mode-alist):
Revert previous change.

* etc/NEWS: Update.

11 years agofix conflicts
Joakim Verona [Wed, 11 Sep 2013 06:44:18 +0000 (08:44 +0200)]
fix conflicts

11 years agoComment formatting
Glenn Morris [Wed, 11 Sep 2013 06:33:28 +0000 (23:33 -0700)]
Comment formatting

11 years agofix conflicts
Joakim Verona [Wed, 11 Sep 2013 05:59:34 +0000 (07:59 +0200)]
fix conflicts

11 years agofix conflicts
Joakim Verona [Wed, 11 Sep 2013 05:47:21 +0000 (07:47 +0200)]
fix conflicts

11 years agomerge from trunk
Joakim Verona [Wed, 11 Sep 2013 05:34:43 +0000 (07:34 +0200)]
merge from trunk

11 years agofix conflicts
Joakim Verona [Wed, 11 Sep 2013 05:32:27 +0000 (07:32 +0200)]
fix conflicts

11 years agoChange comparison functions =, <, >, <=, >= to take many arguments.
Barry O'Reilly [Wed, 11 Sep 2013 05:03:23 +0000 (01:03 -0400)]
Change comparison functions =, <, >, <=, >= to take many arguments.
* src/data.c: Change comparison functions' interface and
  implementation
* src/lisp.h: Make arithcompare available for efficient two arg
  comparisons
* src/bytecode.c: Use arithcompare
* src/fileio.c: Use new interface
* test/automated/data-tests.el: New tests for comparison functions
* etc/NEWS

11 years agoUse define-derived-mode (and derived-mode-p).
Stefan Monnier [Wed, 11 Sep 2013 03:31:56 +0000 (23:31 -0400)]
Use define-derived-mode (and derived-mode-p).
* lisp/play/snake.el (snake-mode):
* lisp/play/mpuz.el (mpuz-mode):
* lisp/play/landmark.el (lm-mode):
* lisp/play/blackbox.el (blackbox-mode):
* lisp/play/5x5.el (5x5-mode):
* lisp/obsolete/options.el (Edit-options-mode):
* lisp/net/quickurl.el (quickurl-list-mode):
* lisp/net/newst-treeview.el (newsticker-treeview-mode):
* lisp/mail/rmailsum.el (rmail-summary-mode):
* lisp/mail/mspools.el (mspools-mode):
* lisp/locate.el (locate-mode):
* lisp/ibuffer.el (ibuffer-mode):
* lisp/emulation/ws-mode.el (wordstar-mode):
* lisp/emacs-lisp/debug.el (debugger-mode):
* lisp/array.el (array-mode):
* lisp/net/eudc.el (eudc-mode): Use define-derived-mode.
* lisp/net/mairix.el (mairix-searches-mode-font-lock-keywords):
Move initialization into declaration.
(mairix-searches-mode): Use define-derived-mode.
* lisp/net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
(eudc-edit-hotlist): Use dolist.
* lisp/man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
(Man-mode): Use define-derived-mode.
* lisp/info.el (Info-edit-mode-map): Rename from Info-edit-map.
(Info-edit-mode): Use define-derived-mode.
(Info-cease-edit): Use Info-mode.
* lisp/eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
into declaration.
(eshell-mode): Use define-derived-mode.
* lisp/chistory.el (command-history-mode-map): Rename from
command-history-map.
(command-history-mode): Use define-derived-mode.
* lisp/calc/calc.el (calc-trail-mode-map): New var.
(calc-trail-mode): Use define-derived-mode.
(calc-trail-buffer): Set calc-main-buffer manually.
* lisp/bookmark.el (bookmark-insert-annotation): New function.
(bookmark-edit-annotation): Use it.
(bookmark-edit-annotation-mode): Make it a proper major mode.
(bookmark-send-edited-annotation): Use derived-mode-p.
* lisp/arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
closer to its ideal place.  Use \' to match EOS.

* lisp/cedet/semantic/grammar.el (semantic-grammar-mode): Use define-derived-mode.
(semantic-grammar-mode-syntax-table): Rename from
semantic-grammar-syntax-table.
(semantic-grammar-mode-map): Rename from semantic-grammar-map.
* lisp/cedet/data-debug.el (data-debug-mode-map): Rename from data-debug-map.
(data-debug-mode): Use define-derived-mode.

* lisp/gnus/score-mode.el (gnus-score-mode-map): Move initialization
into declaration.
(gnus-score-mode): Use define-derived-mode.
* lisp/gnus/gnus-srvr.el (gnus-browse-mode): Use define-derived-mode.
* lisp/gnus/gnus-kill.el (gnus-kill-file-mode-map): Move initialization
into declaration.
(gnus-kill-file-mode): Use define-derived-mode.
(gnus-kill-file-edit-file, gnus-kill-file-enter-kill, gnus-kill):
Use derived-mode-p.
* lisp/gnus/gnus-group.el (gnus-group-mode): Use define-derived-mode.
(gnus-group-setup-buffer, gnus-group-name-at-point)
(gnus-group-make-web-group, gnus-group-enter-directory)
(gnus-group-suspend): Use derived-mode-p.
* lisp/gnus/gnus-cus.el (gnus-custom-mode): Use define-derived-mode.
* lisp/gnus/gnus-bookmark.el (gnus-bookmark-bmenu-mode): Use define-derived-mode.
* lisp/gnus/gnus-art.el (gnus-article-mode): Use define-derived-mode.
(gnus-article-setup-buffer, gnus-article-prepare)
(gnus-article-prepare-display, gnus-sticky-article)
(gnus-kill-sticky-article-buffer, gnus-kill-sticky-article-buffers)
(gnus-bind-safe-url-regexp, gnus-article-check-buffer)
(gnus-article-read-summary-keys): Use derived-mode-p.

11 years ago* keyboard.c (read_char): Fix last change.
Stefan Monnier [Wed, 11 Sep 2013 03:31:06 +0000 (23:31 -0400)]
* keyboard.c (read_char): Fix last change.

Fixes: debbugs:15332
11 years ago* src/keyboard.c (read_char): Don't break immediate_echo.
Stefan Monnier [Wed, 11 Sep 2013 02:41:00 +0000 (22:41 -0400)]
* src/keyboard.c (read_char): Don't break immediate_echo.

Fixes: debbugs:15332
11 years ago* lisp/profiler.el (profiler-calltree-find): Use function-equal.
Stefan Monnier [Wed, 11 Sep 2013 01:43:07 +0000 (21:43 -0400)]
* lisp/profiler.el (profiler-calltree-find): Use function-equal.

11 years agomerge upstream
Joakim Verona [Tue, 10 Sep 2013 21:52:26 +0000 (23:52 +0200)]
merge upstream

11 years agomerge from trunk
Joakim Verona [Tue, 10 Sep 2013 21:26:38 +0000 (23:26 +0200)]
merge from trunk

Conflicts:
src/dispnew.c

11 years agoTweak previous change
Glenn Morris [Tue, 10 Sep 2013 20:46:25 +0000 (16:46 -0400)]
Tweak previous change

11 years agoTreat interpreter-mode-alist as alist of regexps, not literals
Glenn Morris [Tue, 10 Sep 2013 20:38:52 +0000 (16:38 -0400)]
Treat interpreter-mode-alist as alist of regexps, not literals
Cf http://lists.gnu.org/archive/html/emacs-devel/2005-08/msg00472.html

* lisp/files.el (interpreter-mode-alist): Convert to regexps.
(set-auto-mode): Adapt for this.

* lisp/progmodes/cperl-mode.el (cperl-clobber-mode-lists):
Comment out unused variable.

* lisp/progmodes/cc-mode.el (interpreter-mode-alist):
* lisp/progmodes/python.el (interpreter-mode-alist):
* lisp/progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.

* lisp/progmodes/sh-script.el (sh-set-shell):
No longer use interpreter-mode-alist to get list of shells.

* etc/NEWS: Mention this.

Fixes: debbugs:15306
11 years ago* lisp/progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
Glenn Morris [Tue, 10 Sep 2013 20:28:22 +0000 (16:28 -0400)]
* lisp/progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
Autoload of define-derived-mode works just fine.

11 years ago* lisp/simple.el: Use set-temporary-overlay-map for universal-argument.
Stefan Monnier [Tue, 10 Sep 2013 17:13:48 +0000 (13:13 -0400)]
* lisp/simple.el: Use set-temporary-overlay-map for universal-argument.
(universal-argument-map): Don't use default-bindings.
Bind switch-frame explicitly.  Replace universal-argument-minus with
a conditional binding.
(universal-argument-num-events, saved-overriding-map): Remove.
(restore-overriding-map): Remove.
(universal-argument--mode): Rename from save&set-overriding-map,
and rewrite.
(universal-argument, universal-argument-more, negative-argument)
(digit-argument): Adjust accordingly.
(universal-argument-minus): Remove.
(universal-argument-other-key): Remove.

11 years ago* lisp/subr.el (with-demoted-errors): Add `format' argument.
Stefan Monnier [Tue, 10 Sep 2013 15:30:10 +0000 (11:30 -0400)]
* lisp/subr.el (with-demoted-errors): Add `format' argument.
* src/eval.c (Feval): Document the new use of `lexical'.

11 years agoAuto-commit of loaddefs files.
Glenn Morris [Tue, 10 Sep 2013 10:21:34 +0000 (06:21 -0400)]
Auto-commit of loaddefs files.

11 years agoAuto-commit of generated files.
Glenn Morris [Tue, 10 Sep 2013 10:17:40 +0000 (06:17 -0400)]
Auto-commit of generated files.

11 years ago* net/tramp.el (tramp-cleanup): Remove. Functionality added to
Michael Albinus [Tue, 10 Sep 2013 07:45:33 +0000 (09:45 +0200)]
* net/tramp.el (tramp-cleanup): Remove.  Functionality added to
`tramp-cleanup-connection'.

* net/tramp-cmds.el (tramp-cleanup-connection): Add optional
parameters KEEP-DEBUG and KEEP-PASSWORD.

* net/tramp.el (tramp-file-name-handler):
* net/tramp-adb.el (tramp-adb-maybe-open-connection):
* net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
(tramp-maybe-open-connection):
* net/tramp-smb.el (tramp-smb-maybe-open-connection): Use
`tramp-cleanup-connection'.

* net/tramp-sh.el (tramp-maybe-open-connection): Catch
'uname-changed inside the progress reporter.

11 years ago* lisp/simple.el (read-minibuffer): Unbreak it.
Glenn Morris [Tue, 10 Sep 2013 07:21:19 +0000 (00:21 -0700)]
* lisp/simple.el (read-minibuffer): Unbreak it.

Fixes: debbugs:15318
11 years ago* lisp/dired-x.el (dired-mark-sexp): Unbreak for systems where ls
Glenn Morris [Tue, 10 Sep 2013 01:28:01 +0000 (21:28 -0400)]
* lisp/dired-x.el (dired-mark-sexp): Unbreak for systems where ls
returns "alternate access method" in mode (eg "-rw-r--r--.").

It's still pretty broken though, eg
http://debbugs.gnu.org/13575

11 years ago* leim/quail/latin-alt.el ("french-alt-postfix", "latin-alt-postfix"):
Jean Haidouk [Mon, 9 Sep 2013 19:27:38 +0000 (15:27 -0400)]
* leim/quail/latin-alt.el ("french-alt-postfix", "latin-alt-postfix"):
* leim/quail/latin-pre.el ("french-prefix"):
* leim/quail/latin-post.el ("french-postfix"): Add `œ' and `Œ'.

11 years agoRestore portions of my comment, which I found less clear after copyedits
Glenn Morris [Mon, 9 Sep 2013 18:14:50 +0000 (14:14 -0400)]
Restore portions of my comment, which I found less clear after copyedits

11 years ago* etc/refcards/Makefile (PS_ENGLISH, PS_CZECH, PS_FRENCH, PS_GERMAN)
Glenn Morris [Mon, 9 Sep 2013 16:59:07 +0000 (12:59 -0400)]
* etc/refcards/Makefile (PS_ENGLISH, PS_CZECH, PS_FRENCH, PS_GERMAN)
(PS_POLISH, PS_PORTUGUESE, PS_RUSSIAN, PS_SLOVAKIAN, PS_TARGETS):
Use substitution refs.

11 years agoReview and drop old frame resize hack.
Dmitry Antipov [Mon, 9 Sep 2013 16:47:43 +0000 (20:47 +0400)]
Review and drop old frame resize hack.
* frame.h (struct frame): Remove force_flush_display_p.
* dispnew.c (update_frame): Adjust user and don't call
flush_frame here.  The comment has said that there was an issues
with redisplaying fringes, but I don't see any differences with
and without this hack.  Hopefully we can continue without it.
* xdisp.c (clear_garbaged_frames): Adjust user and do not clear
current frame matrices twice if resized_p is set.

11 years agoSpelling fixes and tidy up a comment.
Paul Eggert [Mon, 9 Sep 2013 16:26:38 +0000 (09:26 -0700)]
Spelling fixes and tidy up a comment.