1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 00:51:50 -08:00
Commit graph

112195 commits

Author SHA1 Message Date
Paul Eggert
e560aba9d1 * frame.c (delete_frame): Avoid unnecessary 'this_f' test.
Fixes: debbugs:14970
2013-07-28 21:36:23 +02:00
Eli Zaretskii
2e5ce5ded7 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.
2013-07-28 18:22:27 +03:00
Xue Fuqiao
0f91f03c05 * doc/emacs/glossary.texi (Glossary): Add some entries. 2013-07-28 13:54:24 +08:00
Juanma Barranquero
ddeffb1731 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.
2013-07-28 05:03:45 +02:00
Paul Eggert
94fea300fd Spelling fixes. 2013-07-28 00:14:07 +02:00
David Engster
25ac1ded77 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.
2013-07-27 23:09:43 +02:00
Alan Mackenzie
f5950f7afe Fontify a Java generic method as a function.
* progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
value to t.
2013-07-27 17:35:04 +00:00
Stephen Berman
ae43b66aba * 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.
2013-07-27 17:58:56 +02:00
Eli Zaretskii
e95da6d36c 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.
2013-07-27 16:08:03 +03:00
Alan Mackenzie
5ab78d3d6a 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.
2013-07-27 12:07:43 +00:00
Glenn Morris
9dabd86d4b Auto-commit of generated files. 2013-07-27 06:17:30 -04:00
Glenn Morris
885e792c90 * configure.ac: Extend the --with-sound option
to allow specification of OSS or ALSA (see bug#14812#64).
2013-07-26 21:18:21 -04:00
Juanma Barranquero
d85c4d5081 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.
2013-07-27 03:02:00 +02:00
Xue Fuqiao
742a3501a0 ChangeLog fix. 2013-07-27 08:23:21 +08:00
Xue Fuqiao
e4c467f919 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.
2013-07-27 08:09:51 +08:00
Tassilo Horn
13afd560a1 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'.
2013-07-26 22:24:33 +00:00
Eli Zaretskii
fec9206062 Fix documentation of list-processes and process-list.
src/process.c (Fprocess_list): Doc fix.

 lisp/simple.el (list-processes): Doc fix.
2013-07-26 21:48:05 +03:00
Stefan Monnier
7ced0d0446 * lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
`base' arg of backtrace-frame.
2013-07-26 14:41:18 -04:00
Juanma Barranquero
d58d31fbe7 lisp/desktop.el (desktop--select-frame): Try harder to reuse the initial frame. 2013-07-26 19:49:52 +02:00
Juanma Barranquero
a04689de43 Fix typos in ChangeLogs. 2013-07-26 19:02:22 +02:00
Stefan Monnier
53ff3e77b4 * 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.
2013-07-26 11:09:04 -04:00
Juanma Barranquero
045f7a53f9 lisp/desktop.el (desktop-restore-frames): Call `sit-for'.
We want to be sure that new frames are visible before deleting
any remaining ones.
2013-07-26 16:01:19 +02:00
Eli Zaretskii
a8f9365172 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.
2013-07-26 12:59:59 +03:00
Matthias Meulien
59070b327c lisp/vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-print-root-log. 2013-07-26 11:49:59 +02:00
Richard M. Stallman
ed02dcfae3 *** empty log message *** 2013-07-26 05:33:38 -04:00
Richard M. Stallman
b1fb3596b0 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.
2013-07-26 05:32:44 -04:00
Paul Eggert
d5a7a9d94b Fix minor problems found by static checking.
* eval.c (get_backtrace_frame, backtrace_eval_unrewind): Now static.
(backtrace_eval_unrewind): ';' -> '{}' to pacify GCC.
2013-07-26 09:39:55 +01:00
Stefan Monnier
56ea72917a 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.
2013-07-26 03:38:18 -04:00
Eli Zaretskii
f6b1502430 Fix bug #14946 with documentation of fringe-mode the variable.
doc/emacs/display.texi (Fringes): Document the variable fringe-mode.
2013-07-26 09:56:35 +03:00
Glenn Morris
8358a09d4f * lisp/align.el (align-regexp): Doc fix.
(align-region): Explicit error if subexpression missing/does not match.

Fixes: debbugs:14857
2013-07-25 22:45:15 -04:00
Glenn Morris
15ac32d528 * lisp/simple.el (global-visual-line-mode): Do not duplicate the mode lighter.
Fixes: debbugs:14858
2013-07-25 21:55:06 -04:00
Micah Anderson
de8f06aff4 * etc/spook.lines: Additions (tiny change)
Fixes: debbugs:14658
2013-07-25 21:45:52 -04:00
Andreas Schwab
02e2beb94b gnus-art.el (gnus-button-url-regexp): Make it match url in which punctuation characters follow parentheses (bug#14950) 2013-07-25 23:40:51 +00:00
Glenn Morris
57cff71206 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.
2013-07-25 08:46:00 -07:00
Glenn Morris
6bd128d53d Auto-commit of loaddefs files. 2013-07-25 06:18:09 -04:00
Martin Rudalics
f47ad11b6b 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.
2013-07-25 11:58:27 +02:00
Juanma Barranquero
f63ebeb54e 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.
2013-07-25 11:24:26 +02:00
Juanma Barranquero
025309873b 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.
2013-07-25 10:35:04 +02:00
Paul Eggert
b680602932 * fileio.c (Finsert_file_contents): Use a more-conservative fix.
Fixes: debbugs:14936
2013-07-25 09:07:47 +01:00
Paul Eggert
9d611ffe28 * fileio.c (Finsert_file_contents): Avoid double-close.
Fixes: debbugs:14936
2013-07-25 08:29:36 +01:00
Glenn Morris
6ccb9cab43 Merge from emacs-24; up to 2013-01-01T11:02:14Z!rudalics@gmx.at 2013-07-25 00:10:56 -07:00
Glenn Morris
ff62aabc62 * make-dist: Add a --tests option, to include test/ (backport from trunk) 2013-07-25 00:03:33 -07:00
Glenn Morris
ef75383cd2 * make-dist: Add a --tests option, to include test/. 2013-07-24 23:57:25 -07:00
Glenn Morris
7add5a8a7a 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.
2013-07-24 21:25:18 -04:00
Juanma Barranquero
cb3a56d238 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.
2013-07-25 02:37:56 +02:00
Xue Fuqiao
8121f08950 * etc/NEWS: Typo fix. 2013-07-25 06:39:41 +08:00
Xue Fuqiao
3f0faa4554 * doc/misc/ido.texi: New file. 2013-07-25 06:32:48 +08:00
Eli Zaretskii
999c74e390 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.
2013-07-24 20:36:42 +03:00
Juanma Barranquero
889acc5ce7 lisp/desktop.el (desktop-restoring-frames-p): Return a true boolean.
(desktop-restore-frames): Warn when deleting an existing frame failed.
2013-07-24 18:21:44 +02:00
Glenn Morris
86c4097015 * lisp/ffap.el (ffap-machine-p): Handle "not known" response.
Fixes: debbugs:14929
2013-07-24 08:56:24 -07:00