bpt/emacs.git
10 years ago* fringe.c (draw_window_fringes, update_window_fringes)
Dmitry Antipov [Tue, 30 Jul 2013 05:56:18 +0000 (09:56 +0400)]
* fringe.c (draw_window_fringes, update_window_fringes)
(compute_fringe_widths):
* w32term.c (x_draw_glyph_string):
* window.c (candidate_window_p, Frecenter):
* xfaces.c (realize_basic_faces, realize_default_face)
(Fbitmap_space_p, Finternal_set_lisp_face_attribute)
(x_update_menu_appearance, face_attr_equal_p, lface_equal_p):
* xfns.c (x_set_cursor_color, xic_free_xfontset):
* xmenu.c (Fx_menu_bar_open_internal):
* xselect.c (x_reply_selection_request, Fx_get_atom_name):
* xsettings.c (xft_settings_event):
* xterm.c (x_draw_glyph_string, x_had_errors_p):
Use bool for booleans.  Adjust style and comments where
appropriate.
* dispextern.h (draw_window_fringes, update_window_fringes)
(compute_fringe_widths):
* xterm.h (x_had_errors_p): Adjust prototype.

10 years ago* frame.c (Fmodify_frame_parameters): Always check 2nd arg with
Dmitry Antipov [Tue, 30 Jul 2013 04:35:44 +0000 (08:35 +0400)]
* frame.c (Fmodify_frame_parameters): Always check 2nd arg with
CHECK_LIST.  Rewrite the loop to avoid useless local variable.

10 years agovc-ignore fixes.
Xue Fuqiao [Tue, 30 Jul 2013 03:46:06 +0000 (11:46 +0800)]
vc-ignore fixes.

* vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
buffer for output.

* vc/vc-hg.el (vc-hg-ignore): Remove `interactive'; do not assume
point-min==1; fix search string; fix parentheses missing.

* vc/vc-git.el (vc-git-ignore): Remove `interactive'; do not
assume point-min==1; fix search string; fix parentheses missing.

* vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.

* vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
buffer for output.

10 years agoMerge from mainline.
Xue Fuqiao [Tue, 30 Jul 2013 00:29:09 +0000 (08:29 +0800)]
Merge from mainline.

10 years agoAdd vc-ignore.
Xue Fuqiao [Tue, 30 Jul 2013 00:25:31 +0000 (08:25 +0800)]
Add vc-ignore.

* lisp/vc/vc.el (vc-ignore): New function.

* lisp/vc/vc-svn.el (vc-svn-ignore): New function.

* lisp/vc/vc-hg.el (vc-hg-ignore): New function.

* lisp/vc/vc-git.el (vc-git-ignore): New function.

* lisp/vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
(vc-dir-ignore): New function.

* lisp/vc/vc-cvs.el (vc-cvs-ignore): New function.
(cvs-append-to-ignore): Moved from pcvs.el.

* lisp/vc/vc-bzr.el (vc-bzr-ignore): New function.

* lisp/vc/pcvs.el (vc-cvs): Require 'vc-cvs.

10 years agoMerge CEDET upstream (rev. 8579)
David Engster [Mon, 29 Jul 2013 20:28:22 +0000 (22:28 +0200)]
Merge CEDET upstream (rev. 8579)

10 years agoMerge with CEDET upstream (rev. 8579).
David Engster [Mon, 29 Jul 2013 20:26:19 +0000 (22:26 +0200)]
Merge with CEDET upstream (rev. 8579).

* lisp/cedet/cedet.el (cedet-packages): Remove speedbar since its
development does no longer happens in CEDET upstream but in Emacs
proper.  Also remove cedet-contrib and cogre since those are only
in upstream.

* semantic/analyze/fcn.el (semantic-analyze-type-to-name): If TYPE
has a parent, return a fully qualified name.

* semantic/decorate/mode.el
(semantic-decoration-on-includes-p-default)
(semantic-decoration-on-includes-highlight-default): Declare for
byte compiler.

* semantic/wisent/python.el (semantic/format): New require.

* eieio.texi (top): Make clear that EIEIO is not a full CLOS
implementation.
(Introduction): Add further missing features.
(Building Classes): Add introductory paragraph.
(Wish List): Add metaclasses and EQL specialization.

10 years ago* fns.c (toplevel): Remove comment before Fsafe_length because
Dmitry Antipov [Mon, 29 Jul 2013 17:28:07 +0000 (21:28 +0400)]
* fns.c (toplevel): Remove comment before Fsafe_length because
it checks for QUIT.

10 years agoFix infloop on MS-Windows when initial frame lacks minibuffer.
Eli Zaretskii [Mon, 29 Jul 2013 16:34:53 +0000 (19:34 +0300)]
Fix infloop on MS-Windows when initial frame lacks minibuffer.

 lisp/frame.el (frame-notice-user-settings): Avoid inflooping when the
 initial frame is minibuffer-less.  (Bug#14841)

10 years ago* INSTALL (DETAILED BUILDING AND INSTALLATION): Add
Michael Albinus [Mon, 29 Jul 2013 11:35:16 +0000 (13:35 +0200)]
* INSTALL (DETAILED BUILDING AND INSTALLATION): Add
--without-file-notification to --without-all.

10 years ago* tramp.texi (Frequently Asked Questions): Mention
Michael Albinus [Mon, 29 Jul 2013 09:07:30 +0000 (11:07 +0200)]
* tramp.texi (Frequently Asked Questions): Mention
`tramp-use-ssh-controlmaster-options'.

10 years ago* net/tramp.el (tramp-use-ssh-controlmaster-options): New customer option.
Michael Albinus [Mon, 29 Jul 2013 07:47:53 +0000 (09:47 +0200)]
* net/tramp.el (tramp-use-ssh-controlmaster-options): New customer option.

* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
(tramp-maybe-open-connection): Use it.

10 years ago* INSTALL: Fix description.
Xue Fuqiao [Mon, 29 Jul 2013 01:32:01 +0000 (09:32 +0800)]
* INSTALL: Fix description.

10 years agoClarify ChangeLog entry.
Stephen Berman [Sun, 28 Jul 2013 23:19:25 +0000 (01:19 +0200)]
Clarify ChangeLog entry.

10 years ago* doc/emacs/glossary.texi (Glossary): Refine.
Xue Fuqiao [Sun, 28 Jul 2013 22:48:15 +0000 (06:48 +0800)]
* doc/emacs/glossary.texi (Glossary): Refine.

10 years agolisp/desktop.el: Fix problem creating minibuffer(less,only) frames.
Juanma Barranquero [Sun, 28 Jul 2013 22:43:01 +0000 (00:43 +0200)]
lisp/desktop.el: Fix problem creating minibuffer(less,only) frames.
(desktop--make-frame): Include `minibuffer' in the minimal set of parameters
passed when creating a frame, because the minibuffer status of a frame cannot
be changed later.

10 years ago* calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
Stephen Berman [Sun, 28 Jul 2013 22:34:32 +0000 (00:34 +0200)]
* calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
replace-regexp-in-string and inadvertent omissions in previous change.
(todo-filter-items): Ensure only file names are comma-separated in
renamed filtered items buffer.

10 years ago* frame.c (delete_frame): Avoid unnecessary 'this_f' test.
Paul Eggert [Sun, 28 Jul 2013 19:36:23 +0000 (21:36 +0200)]
* frame.c (delete_frame): Avoid unnecessary 'this_f' test.

Fixes: debbugs:14970

10 years agoFix bug #14970 with crashes when deleting many frames on MS-Windows.
Eli Zaretskii [Sun, 28 Jul 2013 15:22:27 +0000 (18:22 +0300)]
Fix bug #14970 with crashes when deleting many frames on MS-Windows.

 src/w32fns.c (w32_wnd_proc) <WM_IME_STARTCOMPOSITION>: Make sure the
 frame which got the message is still alive, before dereferencing
 its pointer.
 src/frame.c (delete_frame): Test "this" frame's minibuffer window to
 be a live window, before using it as such.

10 years ago* doc/emacs/glossary.texi (Glossary): Add some entries.
Xue Fuqiao [Sun, 28 Jul 2013 05:54:24 +0000 (13:54 +0800)]
* doc/emacs/glossary.texi (Glossary): Add some entries.

10 years agolisp/desktop.el: Optionally force offscreen frames back onscreen.
Juanma Barranquero [Sun, 28 Jul 2013 03:03:45 +0000 (05:03 +0200)]
lisp/desktop.el: Optionally force offscreen frames back onscreen.
(desktop-restoring-reuses-frames): New option.
(desktop--compute-pos, desktop--move-onscreen): New functions.
(desktop--make-frame): Use desktop--move-onscreen.

10 years agoSpelling fixes.
Paul Eggert [Sat, 27 Jul 2013 22:14:07 +0000 (00:14 +0200)]
Spelling fixes.

10 years agoMerge from CEDET upstream (8569).
David Engster [Sat, 27 Jul 2013 21:09:43 +0000 (23:09 +0200)]
Merge from CEDET upstream (8569).

* lisp/cedet/semantic/edit.el (semantic-edits-splice-remove): Wrap
  debug message removing middle tag in semantic-edits-verbose-flag
  check.

* semantic/bovine/el.el (semantic/db-el): New require.

* semantic/db-el.el (semanticdb-normalize-one-tag): It might be that a
  symbol comes from a file but cannot be found in its table.  This
  happens for instance when a symbol was dynamically created through a
  macro like `defstruct'.  In this case, return the original tag.
  (semanticdb-elisp-sym->tag): Deal with autoloaded functions, where
  the argument list is not available until the file is loaded.

10 years agoFontify a Java generic method as a function.
Alan Mackenzie [Sat, 27 Jul 2013 17:35:04 +0000 (17:35 +0000)]
Fontify a Java generic method as a function.
* progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
value to t.

10 years ago* calendar/todo-mode.el: Add command to rename todo files.
Stephen Berman [Sat, 27 Jul 2013 15:58:56 +0000 (17:58 +0200)]
* calendar/todo-mode.el: Add command to rename todo files.
(todo-rename-file): New command.
(todo-key-bindings-t): Add key binding for it.  Change the
bindings of todo-filter-regexp-items(-multifile) to use `x'
instead of `r', since the latter is better suited to the new
renaming command.

10 years agoFix focus-out events on MS-Windows.
Eli Zaretskii [Sat, 27 Jul 2013 13:08:03 +0000 (16:08 +0300)]
Fix focus-out events on MS-Windows.

 src/w32term.c (w32_read_socket) <WM_KILLFOCUS>: Call
 w32_detect_focus_change instead of doing part of its job by hand.
 This fixes the problem whereby FOCUS_OUT events were not sent to
 the event queue.

10 years agoMake Java try-with-resources statement parse properly.
Alan Mackenzie [Sat, 27 Jul 2013 12:07:43 +0000 (12:07 +0000)]
Make Java try-with-resources statement parse properly.

progmodes/cc-langs.el (c-block-stmt-1-2-kwds, c-block-stmt-1-2-key): New
language constants/variables.
progmodes/cc-engine.el (c-beginning-of-statement-1, c-after-conditional): Adapt
to deal with c-block-stmt-1-2-key.
progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal with
c-block-stmt-1-2-key.

10 years agoAuto-commit of generated files.
Glenn Morris [Sat, 27 Jul 2013 10:17:30 +0000 (06:17 -0400)]
Auto-commit of generated files.

10 years ago* configure.ac: Extend the --with-sound option
Glenn Morris [Sat, 27 Jul 2013 01:18:21 +0000 (21:18 -0400)]
* configure.ac: Extend the --with-sound option
to allow specification of OSS or ALSA (see bug#14812#64).

10 years agolisp/desktop.el: Restore frames at their positions, even if offscreen.
Juanma Barranquero [Sat, 27 Jul 2013 01:02:00 +0000 (03:02 +0200)]
lisp/desktop.el: Restore frames at their positions, even if offscreen.
(desktop--make-frame): Apply most frame parameters after creating the frame
to force (partially or totally) offscreen frames to be restored as such.

10 years agoChangeLog fix.
Xue Fuqiao [Sat, 27 Jul 2013 00:23:21 +0000 (08:23 +0800)]
ChangeLog fix.

10 years agoKeybinding fix for vc-dir.
Xue Fuqiao [Sat, 27 Jul 2013 00:09:51 +0000 (08:09 +0800)]
Keybinding fix for vc-dir.

* lisp/vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
* doc/emacs/maintaining.texi (VC Directory Commands): Mention `D' and `L' in vc-dir.

10 years agoGnus: Add option to sort threads non-recursively
Tassilo Horn [Fri, 26 Jul 2013 22:24:33 +0000 (22:24 +0000)]
Gnus: Add option to sort threads non-recursively

gnus-sum.el (gnus-sort-threads-recursively): New defcustom.
(gnus-sort-threads): Use it.
gnus.texi (Sorting the Summary Buffer): Document new defcustom `gnus-sort-threads-recursively'.

10 years agoFix documentation of list-processes and process-list.
Eli Zaretskii [Fri, 26 Jul 2013 18:48:05 +0000 (21:48 +0300)]
Fix documentation of list-processes and process-list.

 src/process.c (Fprocess_list): Doc fix.

 lisp/simple.el (list-processes): Doc fix.

10 years ago* lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
Stefan Monnier [Fri, 26 Jul 2013 18:41:18 +0000 (14:41 -0400)]
* lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
`base' arg of backtrace-frame.

10 years agolisp/desktop.el (desktop--select-frame): Try harder to reuse the initial frame.
Juanma Barranquero [Fri, 26 Jul 2013 17:49:52 +0000 (19:49 +0200)]
lisp/desktop.el (desktop--select-frame): Try harder to reuse the initial frame.

10 years agoFix typos in ChangeLogs.
Juanma Barranquero [Fri, 26 Jul 2013 17:02:22 +0000 (19:02 +0200)]
Fix typos in ChangeLogs.

10 years ago* lisp/emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
Stefan Monnier [Fri, 26 Jul 2013 15:09:04 +0000 (11:09 -0400)]
* lisp/emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
(edebug-eval): Use backtrace-eval.
(edebug--display, edebug--recursive-edit): Don't let-bind the
edebug-outer-* vars that keep track of variables we locally let-bind.
(edebug-outside-excursion): Don't restore outside values of locally
let-bound vars.
(edebug--display): Use user-error.
(cl-lexical-debug, cl-debug-env): Remove.

10 years agolisp/desktop.el (desktop-restore-frames): Call `sit-for'.
Juanma Barranquero [Fri, 26 Jul 2013 14:01:19 +0000 (16:01 +0200)]
lisp/desktop.el (desktop-restore-frames): Call `sit-for'.
We want to be sure that new frames are visible before deleting
any remaining ones.

10 years agoFix bug #14841 with invisible frames on MS-Windows.
Eli Zaretskii [Fri, 26 Jul 2013 09:59:59 +0000 (12:59 +0300)]
Fix bug #14841 with invisible frames on MS-Windows.

 src/w32term.c (w32_read_socket) <WM_EMACS_PAINT>: Warn about frame
 being re-exposed only if it didn't ask to become visible.
 <WM_SIZE>: Under SIZE_RESTORED, only set the frame visible if it
 was previously iconified.
 (x_iconify_frame): Mark the frame iconified.

10 years agolisp/vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-print-root-log.
Matthias Meulien [Fri, 26 Jul 2013 09:49:59 +0000 (11:49 +0200)]
lisp/vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-print-root-log.

10 years ago*** empty log message ***
Richard M. Stallman [Fri, 26 Jul 2013 09:33:38 +0000 (05:33 -0400)]
*** empty log message ***

10 years agoAdd aliases for encrypting mail.
Richard M. Stallman [Fri, 26 Jul 2013 09:32:44 +0000 (05:32 -0400)]
Add aliases for encrypting mail.
* epa.el (epa-mail-aliases): New option.
* epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
Bind inhibit-read-only so read-only text doesn't ruin everything.
(epa-mail-default-recipients): New subroutine broken out.
Handle epa-mail-aliases.

10 years agoFix minor problems found by static checking.
Paul Eggert [Fri, 26 Jul 2013 08:39:55 +0000 (09:39 +0100)]
Fix minor problems found by static checking.

* eval.c (get_backtrace_frame, backtrace_eval_unrewind): Now static.
(backtrace_eval_unrewind): ';' -> '{}' to pacify GCC.

10 years agoAdd support for lexical variables to the debugger's `e' command.
Stefan Monnier [Fri, 26 Jul 2013 07:38:18 +0000 (03:38 -0400)]
Add support for lexical variables to the debugger's `e' command.
* lisp/emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
vars, except for debugger-outer-match-data.
(debugger-frame-number): Move check for "on a function call" from
callers into it.  Add `skip-base' argument.
(debugger-frame, debugger-frame-clear): Simplify accordingly.
(debugger-env-macro): Only reset the state stored in non-variables,
i.e. current-buffer and match-data.
(debugger-eval-expression): Rewrite using backtrace-eval.
* lisp/subr.el (internal--called-interactively-p--get-frame): Remove.
(called-interactively-p):
* lisp/emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
`base' arg of backtrace-frame instead.
* src/eval.c (set_specpdl_old_value): New function.
(unbind_to): Minor simplification.
(get_backtrace_frame): New function.
(Fbacktrace_frame): Use it.  Add `base' argument.
(backtrace_eval_unrewind, Fbacktrace_eval): New functions.
(syms_of_eval): Export backtrace-eval.
* src/xterm.c (x_focus_changed): Simplify.

10 years agoFix bug #14946 with documentation of fringe-mode the variable.
Eli Zaretskii [Fri, 26 Jul 2013 06:56:35 +0000 (09:56 +0300)]
Fix bug #14946 with documentation of fringe-mode the variable.

 doc/emacs/display.texi (Fringes): Document the variable fringe-mode.

10 years ago* lisp/align.el (align-regexp): Doc fix.
Glenn Morris [Fri, 26 Jul 2013 02:45:15 +0000 (22:45 -0400)]
* lisp/align.el (align-regexp): Doc fix.
(align-region): Explicit error if subexpression missing/does not match.

Fixes: debbugs:14857

10 years ago* lisp/simple.el (global-visual-line-mode): Do not duplicate the mode lighter.
Glenn Morris [Fri, 26 Jul 2013 01:55:06 +0000 (21:55 -0400)]
* lisp/simple.el (global-visual-line-mode): Do not duplicate the mode lighter.

Fixes: debbugs:14858

10 years ago* etc/spook.lines: Additions (tiny change)
Micah Anderson [Fri, 26 Jul 2013 01:45:52 +0000 (21:45 -0400)]
* etc/spook.lines: Additions  (tiny change)

Fixes: debbugs:14658

10 years agognus-art.el (gnus-button-url-regexp): Make it match url in which punctuation characte...
Andreas Schwab [Thu, 25 Jul 2013 23:40:51 +0000 (23:40 +0000)]
gnus-art.el (gnus-button-url-regexp): Make it match url in which punctuation characters follow parentheses (bug#14950)

10 years agoAdd Makefile rules for ido.texi
Glenn Morris [Thu, 25 Jul 2013 15:46:00 +0000 (08:46 -0700)]
Add Makefile rules for ido.texi

* doc/misc/Makefile.in (INFO_TARGETS, DVI_TARGETS, PDF_TARGETS): Add ido.
(ido, $(buildinfodir)/ido$(INFO_EXT), ido.dvi, ido.pdf): New rules.

* info/dir: Add ido.

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Thu, 25 Jul 2013 10:18:09 +0000 (06:18 -0400)]
Auto-commit of loaddefs files.

10 years agoIn display-buffer bind split-window-keep-point to t, bug#14829.
Martin Rudalics [Thu, 25 Jul 2013 09:58:27 +0000 (11:58 +0200)]
In display-buffer bind split-window-keep-point to t, bug#14829.

* window.el (display-buffer): In display-buffer bind
split-window-keep-point to t, bug#14829.

10 years agolisp/desktop.el: Use pcase-let, pcase-let* in a few places.
Juanma Barranquero [Thu, 25 Jul 2013 09:24:26 +0000 (11:24 +0200)]
lisp/desktop.el: Use pcase-let, pcase-let* in a few places.
(desktop--select-frame, desktop--sort-states, desktop-restore-frames):
Deobfuscate access to desktop--mini values.

10 years agolisp/desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
Juanma Barranquero [Thu, 25 Jul 2013 08:35:04 +0000 (10:35 +0200)]
lisp/desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
(desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
(desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
(desktop--select-frame, desktop--sort-states, desktop-restore-frames):
Change accordingly.

10 years ago* fileio.c (Finsert_file_contents): Use a more-conservative fix.
Paul Eggert [Thu, 25 Jul 2013 08:07:47 +0000 (09:07 +0100)]
* fileio.c (Finsert_file_contents): Use a more-conservative fix.

Fixes: debbugs:14936

10 years ago* fileio.c (Finsert_file_contents): Avoid double-close.
Paul Eggert [Thu, 25 Jul 2013 07:29:36 +0000 (08:29 +0100)]
* fileio.c (Finsert_file_contents): Avoid double-close.

Fixes: debbugs:14936

10 years agoMerge from emacs-24; up to 2013-01-01T11:02:14Z!rudalics@gmx.at
Glenn Morris [Thu, 25 Jul 2013 07:10:56 +0000 (00:10 -0700)]
Merge from emacs-24; up to 2013-01-01T11:02:14Z!rudalics@gmx.at

10 years ago* make-dist: Add a --tests option, to include test/ (backport from trunk)
Glenn Morris [Thu, 25 Jul 2013 07:03:33 +0000 (00:03 -0700)]
* make-dist: Add a --tests option, to include test/   (backport from trunk)

10 years ago* make-dist: Add a --tests option, to include test/.
Glenn Morris [Thu, 25 Jul 2013 06:57:25 +0000 (23:57 -0700)]
* make-dist: Add a --tests option, to include test/.

10 years agoReduce use of @email in doc/misc
Glenn Morris [Thu, 25 Jul 2013 01:25:18 +0000 (21:25 -0400)]
Reduce use of @email in doc/misc

In many cases it serves no purpose.  It gets converted to mailto:
in html output, which is mainly just an invitation to get spam.

* doc/misc/erc.texi (Special Features): Update contact information.
(History): Avoid using @email.

* doc/misc/eshell.texi (Bugs and ideas): Minor updates.

* doc/misc/faq.texi (Reporting bugs, Origin of the term Emacs)
(Setting up a customization file)
(Using an already running Emacs process, Turning off beeping)
(Packages that do not come with Emacs)
(Replying to the sender of a message): Avoid using @email.

* doc/misc/pcl-cvs.texi (Contributors, Bugs): Avoid using @email.

* doc/misc/reftex.texi (Imprint): Avoid using @email.

* doc/misc/ses.texi (Top): Update bug reporting instructions.
(Acknowledgments): Avoid using @email.

* doc/misc/woman.texi (Introduction, Background): Remove outdated information.
(Bugs, Acknowledgments): Avoid using @email.

10 years agolisp/desktop.el: Add workaround for bug#14949.
Juanma Barranquero [Thu, 25 Jul 2013 00:37:56 +0000 (02:37 +0200)]
lisp/desktop.el: Add workaround for bug#14949.
(desktop--make-frame): Do not pass the `fullscreen' parameter to
modify-frame-parameters if the value has not changed.
(desktop--make-frame): On cl-delete-if call, check parameter name,
not full parameter.

10 years ago* etc/NEWS: Typo fix.
Xue Fuqiao [Wed, 24 Jul 2013 22:39:41 +0000 (06:39 +0800)]
* etc/NEWS: Typo fix.

10 years ago* doc/misc/ido.texi: New file.
Xue Fuqiao [Wed, 24 Jul 2013 22:32:48 +0000 (06:32 +0800)]
* doc/misc/ido.texi: New file.

10 years agoFix bug #14780 with unreachable lines near end of buffer.
Eli Zaretskii [Wed, 24 Jul 2013 17:36:42 +0000 (20:36 +0300)]
Fix bug #14780 with unreachable lines near end of buffer.

 src/xdisp.c (redisplay_window): Instead of moving point out of
 scroll margin, reject the force_start method, and try scrolling.

10 years agolisp/desktop.el (desktop-restoring-frames-p): Return a true boolean.
Juanma Barranquero [Wed, 24 Jul 2013 16:21:44 +0000 (18:21 +0200)]
lisp/desktop.el (desktop-restoring-frames-p): Return a true boolean.
(desktop-restore-frames): Warn when deleting an existing frame failed.

10 years ago* lisp/ffap.el (ffap-machine-p): Handle "not known" response.
Glenn Morris [Wed, 24 Jul 2013 15:56:24 +0000 (08:56 -0700)]
* lisp/ffap.el (ffap-machine-p): Handle "not known" response.

Fixes: debbugs:14929

10 years ago* src/alloc.c (make_save_ptr): Define if HAVE_NTGUI is defined (Bug#14944).
Ken Brown [Wed, 24 Jul 2013 15:11:30 +0000 (11:11 -0400)]
* src/alloc.c (make_save_ptr): Define if HAVE_NTGUI is defined (Bug#14944).

10 years ago* automated/file-notify-tests.el
Michael Albinus [Wed, 24 Jul 2013 13:56:19 +0000 (15:56 +0200)]
* automated/file-notify-tests.el
(file-notify--test-local-enabled): New defconst.  Replaces all
`file-notify-support' occurences.
(file-notify--test-remote-enabled): New defun.
(file-notify--deftest-remote): Use it.
(file-notify-test00-availability): Rewrite.
(file-notify-test00-availability-remote): New defun.
(file-notify-test01-add-watch): Rewrite first erroneous check.

10 years ago* filenotify.el (file-notify-supported-p):
Michael Albinus [Wed, 24 Jul 2013 13:29:15 +0000 (15:29 +0200)]
* filenotify.el (file-notify-supported-p):
* net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
Remove functions.

* autorevert.el (auto-revert-use-notify):
(auto-revert-notify-add-watch):
* net/tramp.el (tramp-file-name-for-operation):
* net/tramp-adb.el (tramp-adb-file-name-handler-alist):
* net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
* net/tramp-sh.el (tramp-sh-file-name-handler-alist):
* net/tramp-smb.el (tramp-smb-file-name-handler-alist):
Remove `file-notify-supported-p' entry.

10 years ago* errors.texi (Standard Errors): Fix typo.
Michael Albinus [Wed, 24 Jul 2013 13:10:38 +0000 (15:10 +0200)]
* errors.texi (Standard Errors): Fix typo.

* files.texi (Magic File Names):
* os.texi (File Notifications): Remove file-notify-supported-p.

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Wed, 24 Jul 2013 11:17:32 +0000 (07:17 -0400)]
Auto-commit of loaddefs files.

10 years agoAuto-commit of generated files.
Glenn Morris [Wed, 24 Jul 2013 10:17:36 +0000 (06:17 -0400)]
Auto-commit of generated files.

10 years agoMerge from mainline.
Xue Fuqiao [Wed, 24 Jul 2013 08:04:39 +0000 (16:04 +0800)]
Merge from mainline.

10 years ago* lisp/ido.el: Doc fix.
Xue Fuqiao [Wed, 24 Jul 2013 08:00:36 +0000 (16:00 +0800)]
* lisp/ido.el: Doc fix.

* lisp/ido.el (ido-fractionp):
(ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
(ido-max-file-prompt-width, ido-unc-hosts-cache)
(ido-max-directory-size, ido-max-dir-file-cache)
(ido-decorations): Doc fix.

10 years ago* lisp/dired-x.el (dired-mark-extension): Convert comment to doc string.
Glenn Morris [Wed, 24 Jul 2013 07:32:49 +0000 (00:32 -0700)]
* lisp/dired-x.el (dired-mark-extension): Convert comment to doc string.

10 years ago* printing.el: Replace all uses of deleted ps-flatten-list with lpr- version.
Glenn Morris [Wed, 24 Jul 2013 07:16:25 +0000 (00:16 -0700)]
* printing.el: Replace all uses of deleted ps-flatten-list with lpr- version.

10 years ago* printing.el: Replace all uses of deleted ps-windows-system, ps-lp-system
Glenn Morris [Wed, 24 Jul 2013 07:06:24 +0000 (00:06 -0700)]
* printing.el: Replace all uses of deleted ps-windows-system, ps-lp-system
with lpr- versions.

10 years ago* src/eval.c (Fprogn): Do not check that BODY is a proper list.
Paul Eggert [Wed, 24 Jul 2013 06:21:07 +0000 (07:21 +0100)]
* src/eval.c (Fprogn): Do not check that BODY is a proper list.

This undoes the previous change.  The check slows down the
interpreter, and is not needed to prevent a crash.  See
<http://lists.gnu.org/archive/html/emacs-devel/2013-07/msg00693.html>.
* doc/lispref/eval.texi (Special Forms): Mention 'lambda'.  Also, say that
non-well-formed expressions result in unspecified behavior, though
Emacs will not crash.

10 years ago* lisp/emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
Stefan Monnier [Wed, 24 Jul 2013 05:13:24 +0000 (01:13 -0400)]
* lisp/emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
checked with memq.

Fixes: debbugs:14935

10 years ago* lisp/files.el (revert-buffer-function): Use a non-nil default.
Stefan Monnier [Wed, 24 Jul 2013 04:56:12 +0000 (00:56 -0400)]
* lisp/files.el (revert-buffer-function): Use a non-nil default.
(revert-buffer-preserve-modes): Declare var to
provide access to the `preserve-modes' argument.
(revert-buffer): Let-bind it.
(revert-buffer--default): New function, extracted from revert-buffer.

10 years ago* lisp/lpr.el: Signal print errors more prominently.
Stefan Monnier [Wed, 24 Jul 2013 04:37:11 +0000 (00:37 -0400)]
* lisp/lpr.el: Signal print errors more prominently.
(print-region-function): Don't default to nil.
(lpr-print-region): New function, extracted from print-region-1.
Check lpr's return value and signal an error in case of problem.
(print-region-1): Use it.
* lisp/ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
versions instead.
(ps-printer-name): Default to nil.
(ps-printer-name-option): Default to lpr-printer-switch.
(ps-print-region-function): Don't default to nil.
(ps-postscript-code-directory): Simplify default.
(ps-do-despool): Use lpr-print-region to properly check the outcome.
(ps-string-list, ps-eval-switch, ps-flatten-list)
(ps-flatten-list-1): Remove.
(ps-multibyte-buffer): Avoid setq.
* lisp/dos-w32.el (direct-print-region-helper): Use proper regexp operators.
(print-region-function, ps-print-region-function): Don't set them here.

10 years ago* lisp/ansi-color.el: Fix old URL.
Xue Fuqiao [Wed, 24 Jul 2013 03:49:24 +0000 (11:49 +0800)]
* lisp/ansi-color.el: Fix old URL.

10 years ago* configure.ac: Use self-descriptive tags for AC_CONFIG_COMMANDS.
Glenn Morris [Wed, 24 Jul 2013 01:03:56 +0000 (21:03 -0400)]
* configure.ac: Use self-descriptive tags for AC_CONFIG_COMMANDS.

10 years ago* progmodes/sql.el Version 3.3
Michael Mauger [Wed, 24 Jul 2013 00:25:53 +0000 (20:25 -0400)]
* progmodes/sql.el Version 3.3
(sql-product-alist): Improve oracle :prompt-cont-regexp.
(sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
(sql-interactive-remove-continuation-prompt): Rewrite, use
functions above.  Fix continuation prompt and complete output line
handling.
(sql-redirect-one, sql-execute): Use `read-only-mode' on
redirected output buffer.
(sql-mode): Restore deleted code (Bug#13591).

10 years agolisp/desktop.el (desktop-clear): Fix previous change.
Juanma Barranquero [Tue, 23 Jul 2013 23:10:58 +0000 (01:10 +0200)]
lisp/desktop.el (desktop-clear): Fix previous change.

10 years agoNo need for configure to create etc/ and lisp/ any more
Glenn Morris [Tue, 23 Jul 2013 23:00:43 +0000 (19:00 -0400)]
No need for configure to create etc/ and lisp/ any more

* configure.ac (etc, lisp): No need to create specially.
Configure already creates lisp when generating lisp/Makefile;
src/Makefile now creates etc when needed.

* src/Makefile.in ($(etc)/DOC, temacs$(EXEEXT)): Ensure etc/ exists.

10 years agoUse a @configure_input@ comment at the start of generated Makefiles
Glenn Morris [Tue, 23 Jul 2013 22:57:17 +0000 (18:57 -0400)]
Use a @configure_input@ comment at the start of generated Makefiles

10 years ago* inotify-test.el (inotify-file-watch-simple): Delete temp-file when done.
Glenn Morris [Tue, 23 Jul 2013 19:54:01 +0000 (15:54 -0400)]
* inotify-test.el (inotify-file-watch-simple): Delete temp-file when done.

10 years ago* test/automated/subword-tests.el: Require subword.
Glenn Morris [Tue, 23 Jul 2013 16:08:47 +0000 (09:08 -0700)]
* test/automated/subword-tests.el: Require subword.

10 years ago* net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
Michael Albinus [Tue, 23 Jul 2013 14:06:02 +0000 (16:06 +0200)]
* net/tramp.el (tramp-handle-file-notify-add-watch): New defun.

* net/tramp-adb.el (tramp-adb-file-name-handler-alist):
* net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
* net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.

10 years agolisp/desktop.el (desktop-list*): Fix previous change.
Juanma Barranquero [Tue, 23 Jul 2013 11:29:30 +0000 (13:29 +0200)]
lisp/desktop.el (desktop-list*): Fix previous change.

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

10 years agoFix ChangeLog typo.
Paul Eggert [Tue, 23 Jul 2013 09:06:46 +0000 (10:06 +0100)]
Fix ChangeLog typo.

10 years agoPort to GNU/Linux systems with tinfo but not ncurses.
Paul Eggert [Tue, 23 Jul 2013 08:08:57 +0000 (09:08 +0100)]
Port to GNU/Linux systems with tinfo but not ncurses.

* configure.ac (USE_NCURSES): New symbol.
* src/dispnew.c (init_display): Depend on USE_NCURSES, not GNU_LINUX,
to decide whether ncurses is being used.  Without this change,
GCC complains about tgetent not being declared, on a system
that has tinfo installed but ncurses not installed.

10 years ago* eval.c (Fprogn): Check that BODY is a proper list.
Paul Eggert [Tue, 23 Jul 2013 07:22:16 +0000 (08:22 +0100)]
* eval.c (Fprogn): Check that BODY is a proper list.

10 years ago[Gnus] Fix previous commit
Katsumi Yamaoka [Tue, 23 Jul 2013 07:04:24 +0000 (07:04 +0000)]
[Gnus] Fix previous commit

* gnus.el (gnus-continuum-version):
* gnus-msg.el (gnus-extended-version): Simplify.

* gnus.el (gnus-continuum-version-1): Remove.
* gnus-msg.el (gnus-bug): Revert.

10 years agoTune UNEVALLED functions by using XCAR instead of Fcar, etc.
Paul Eggert [Tue, 23 Jul 2013 06:48:34 +0000 (07:48 +0100)]
Tune UNEVALLED functions by using XCAR instead of Fcar, etc.

* data.c (Fsetq_default):
* eval.c (Fif, Fcond, Fprog1, Fsetq, Fquote, Ffunction, Fdefvar)
(Fdefconst, FletX, Flet, Fwhile, Fcatch, Funwind_protect)
(Fcondition_case):
Tune by taking advantage of the fact that ARGS is always a list
when a function is declared to have UNEVALLED args.

10 years ago* emacsgtkfixed.c: Port to GCC 4.6.
Paul Eggert [Tue, 23 Jul 2013 06:38:51 +0000 (07:38 +0100)]
* emacsgtkfixed.c: Port to GCC 4.6.

GCC 4.6 complains about -Wunused-local-typedefs, introduced in 4.7.

10 years agoCalculate gnus-version correctly on Cygwin
Katsumi Yamaoka [Tue, 23 Jul 2013 05:22:20 +0000 (05:22 +0000)]
Calculate gnus-version correctly on Cygwin

* gnus.el (gnus-continuum-version): Do main calculations in integers.
  (gnus-continuum-version-1): New function, return a string.
* gnus-msg.el (gnus-extended-version, gnus-bug):
  Use gnus-continuum-version-1 instead of gnus-continuum-version.