1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-06 20:49:33 +00:00

112176 Commits

Author SHA1 Message Date
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
Ken Brown
198fa21756 * src/alloc.c (make_save_ptr): Define if HAVE_NTGUI is defined (Bug#14944). 2013-07-24 11:11:30 -04:00
Michael Albinus
e81dd54dc2 * 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.
2013-07-24 15:56:19 +02:00
Michael Albinus
d5d3c58aac * 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.
2013-07-24 15:29:15 +02:00
Michael Albinus
95e6e62b64 * errors.texi (Standard Errors): Fix typo.
* files.texi (Magic File Names):
* os.texi (File Notifications): Remove file-notify-supported-p.
2013-07-24 15:10:38 +02:00
Glenn Morris
6758206c80 Auto-commit of loaddefs files. 2013-07-24 07:17:32 -04:00
Glenn Morris
4c15c0f27f Auto-commit of generated files. 2013-07-24 06:17:36 -04:00
Xue Fuqiao
a61dba1c5a Merge from mainline. 2013-07-24 16:04:39 +08:00
Xue Fuqiao
0e55c076ae * 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.
2013-07-24 16:00:36 +08:00
Glenn Morris
736b5829ae * lisp/dired-x.el (dired-mark-extension): Convert comment to doc string. 2013-07-24 00:32:49 -07:00
Glenn Morris
ff65ca0d81 * printing.el: Replace all uses of deleted ps-flatten-list with lpr- version. 2013-07-24 00:16:25 -07:00
Glenn Morris
d100084b25 * printing.el: Replace all uses of deleted ps-windows-system, ps-lp-system
with lpr- versions.
2013-07-24 00:06:24 -07:00
Paul Eggert
53840e556e * 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.
2013-07-24 07:21:07 +01:00
Stefan Monnier
249eea30ee * lisp/emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
checked with memq.

Fixes: debbugs:14935
2013-07-24 01:13:24 -04:00
Stefan Monnier
ac93e56b69 * 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.
2013-07-24 00:56:12 -04:00
Stefan Monnier
2cdeb903c5 * 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.
2013-07-24 00:37:11 -04:00
Xue Fuqiao
73600831f3 * lisp/ansi-color.el: Fix old URL. 2013-07-24 11:49:24 +08:00
Glenn Morris
1813e115ce * configure.ac: Use self-descriptive tags for AC_CONFIG_COMMANDS. 2013-07-23 21:03:56 -04:00
Michael Mauger
3d012865be * 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).
2013-07-23 20:25:53 -04:00
Juanma Barranquero
da77a2e2eb lisp/desktop.el (desktop-clear): Fix previous change. 2013-07-24 01:10:58 +02:00