aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/net/rcirc.el: Delete trailing whitespaces once and for all.Deniz Dogan2011-06-202-8/+12
|
* * src/process.c (Fset_process_buffer): Clarify return value in docstring.Deniz Dogan2011-06-202-1/+7
|
* Restore old behavior of get-window-with-predicate and get-buffer-window-list.Martin Rudalics2011-06-202-9/+24
| | | | | | | | * window.el (get-window-with-predicate): Start scanning with window following selected window to restore Emacs 23 behavior. Clarify doc-string. (get-buffer-window-list): Start scanning with selected window to restore Emacs 23 behavior. Clarify doc-string.
* * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.Daniel Colascione2011-06-192-2/+7
|
* Fix last change.Chong Yidong2011-06-191-1/+1
|
* * lisp/files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).Chong Yidong2011-06-192-0/+3
|
* * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).Chong Yidong2011-06-192-1/+5
|
* Auto-commit of loaddefs files.Glenn Morris2011-06-191-1/+1
|
* Auto-commit of generated files.Glenn Morris2011-06-191-96/+96
|
* * lib/unistd.in.h, m4/getloadavg.m4: Merge from gnulib.Paul Eggert2011-06-193-32/+38
|
* Regroup clauses in display-buffer-normalize-options (Bug#8851) and (Bug#8856).Martin Rudalics2011-06-192-11/+13
| | | | | * window.el (display-buffer-normalize-options): Move special-display-p group after pop-up-frame group (Bug#8851) and (Bug#8856).
* Provide functions for saving window configurations as Lisp objects.Martin Rudalics2011-06-192-0/+309
| | | | | | | * window.el (window-list-no-nils, window-state-ignored-parameters) (window-state-get-1, window-state-get, window-state-put-list) (window-state-put-1, window-state-put-2, window-state-put): New functions.
* Sanitize processing of display specifiers; new option frame-auto-delete.Martin Rudalics2011-06-192-38/+120
| | | | | | | | | | | | | | | | | | | | | | * window.el (display-buffer-other-window-means-other-frame): Call display-buffer-normalize-alist. (display-buffer-normalize-specifiers-1): Rename to display-buffer-normalize-argument. New argument other-frame. Rewrite. (display-buffer-normalize-specifiers-2): Rename to display-buffer-normalize-options. (display-buffer-normalize-alist-1): New function. (display-buffer-normalize-specifiers-3): Rename to display-buffer-normalize-alist. Call display-buffer-normalize-alist-1. (display-buffer-normalize-options-inhibit): New variable. (display-buffer-normalize-specifiers): Rewrite calling display-buffer-normalize-alist, display-buffer-normalize-argument, and display-buffer-normalize-options. Don't call the latter if display-buffer-normalize-options-inhibit is non-nil. (frame-auto-delete): New option. (window-deletable-p): Use frame-auto-delete.
* auth-source.el (auth-source-netrc-use-gpg-tokens): Replace ↵Teodor Zlatanov2011-06-182-21/+64
| | | | | | | `auth-source-save-secrets' with a more sensitive alist that can be configured per file. Experimental, so defaults to 'never. (auth-source-netrc-create): Use it. Still experimental code. (with-auth-source-epa-overrides): Use `find-file-hooks' if `find-file-hook' is unbound (XEmacs fix). Fix backquoting bug.
* Add rx.el support for numbered groups (Bug#8776).Chong Yidong2011-06-183-0/+25
| | | | | | * lisp/emacs-lisp/rx.el (rx-constituents): Add support for numbered groups. (rx-submatch-n): New function. (rx): Document it.
* * dired-x.el (dired-mark-unmarked-files): Fix interactive spec (Bug#8768).Chong Yidong2011-06-182-3/+11
|
* * lisp/textmodes/fill.el (default-justification): Add :safe (Bug#8879).Chong Yidong2011-06-182-0/+3
|
* Fixes for GLYPH_DEBUG.Chong Yidong2011-06-185-51/+37
| | | | | | | | | | | | | | * dispnew.c (add_window_display_history): Use BVAR. * xdisp.c (debug_method_add): Use BVAR. (check_window_end, dump_glyph_matrix, dump_glyph) (dump_glyph_row, dump_glyph_string): Convert arglist to ANSI C. * xfaces.c (check_lface_attrs, check_lface, dump_realized_face): Likewise. * xfns.c (Fx_create_frame, x_create_tip_frame): Delay image cache check till after the cache is created in init_frame_faces.
* Fix for disable-theme/defface interaction (Bug#8889).Chong Yidong2011-06-182-24/+30
| | | | | * lisp/cus-face.el (custom-declare-face): Call custom-theme-recalc face anytime existing face settings are present.
* Use define-derived-mode in delphi-mode.Chong Yidong2011-06-182-16/+14
| | | | | | * lisp/progmodes/delphi.el (delphi-mode-syntax-table): Use defvar. (delphi-mode): Use define-derived-mode to inherit from prog-mode. Remove unused argument.
* One more fix for display-buffer-normalize-specifiers-1.Martin Rudalics2011-06-182-1/+3
| | | | * window.el (display-buffer-normalize-specifiers-1): Fix thinko.
* Additional fixes in handling of buffer display specifiers.Martin Rudalics2011-06-182-5/+28
| | | | | | | | | | | | * window.el (display-buffer-default-specifiers): Remove pop-up-frame. Add pop-up-window-min-height, pop-up-window-min-width, and another reuse-window specifier (Bug#8882). Reported by Dan Nicolaescu <[email protected]>. (display-buffer-normalize-specifiers-2): Handle split-height-threshold and split-width-threshold also when pop-up-windows is unset. Add a reuse-window specifier for the case popping up a new window fails. (special-display-popup-frame): Remove double quoting.
* * lisp/pcomplete.el: Convert to lexical binding and fix bug#8819.Stefan Monnier2011-06-173-103/+122
| | | | | | | | | | | | | | (pcomplete-suffix-list): Mark as obsolete. (pcomplete-completions-at-point): Capture pcomplete-norm-func and pcomplete-seen in the closure. (pcomplete-comint-setup): Setup completion-at-point as well. (pcomplete--entries): New function. (pcomplete--env-regexp): New var. (pcomplete-entries): Rewrite to work with partial-completion and without relying on pcomplete-suffix-list. (pcomplete-pare-list): Remove, unused. * lisp/shell.el (shell-completion-vars): Set pcomplete-termination-string according to comint-completion-addsuffix.
* Auto-commit of generated files.Glenn Morris2011-06-171-37/+34
|
* Fix previous change.Glenn Morris2011-06-171-12/+12
|
* Small configure.in fix.Glenn Morris2011-06-172-15/+17
| | | | | | | Ref: http://lists.gnu.org/archive/html/emacs-buildstatus/2011-06/msg00007.html * configure.in: Restore the behavior of checking crt-dir only when the user specified it (not all platforms use it).
* Update doc-string of display-buffer-alist.Martin Rudalics2011-06-171-0/+8
|
* * src/fns.c (Fsafe_length): Yet another int/Lisp_Object mixup.Stefan Monnier2011-06-172-1/+5
|
* Rewrite display-buffer-alist and display-buffer-normalize-specifiers.Martin Rudalics2011-06-172-41/+109
| | | | | | | | | | | | | | | | | * window.el (display-buffer-alist): Set pop-up-window-min-height and pop-up-window-min-width in default value. Reported by Thierry Volpiatto <[email protected]>. New specifier other-window-means-other-frame. (display-buffer-macro-specifiers): Comment out entry for other-window specifier. (display-buffer-other-window-means-other-frame): New function. (display-buffer-normalize-specifiers-1): New arguments buffer-name and label. Treat other-window case specially. (display-buffer-normalize-specifiers-2): Treat other-window case specially. (display-buffer-normalize-specifiers-3): New function. (display-buffer-normalize-specifiers): Call display-buffer-normalize-specifiers-3.
* Auto-commit of generated files.Glenn Morris2011-06-171-35/+64
|
* Fix handling of old `display-buffer' options (bug#8851) (bug#8856).Martin Rudalics2011-06-172-146/+61
| | | | | | | | | | | | * window.el (display-buffer-normalize-specifiers-1): Don't check pop-up-frames for 'unset initialization. (display-buffer-normalize-specifiers-2): Major rewrite using special-display-p and same-window-p (Bug#8851) and (Bug#8856). (pop-up-frames, display-buffer-reuse-frames) (display-buffer-mark-dedicated): Don't initialize to 'unset. Suggested by David Engster <[email protected]>. (even-window-heights): Initialize to 'unset. (display-buffer-alist-set): Handle new 'unset initializations.
* Fix two typos in same-window-p.Martin Rudalics2011-06-172-2/+7
| | | | | * window.el (same-window-p): Fix two typos introduced when adding with-no-warnings.
* * m4/lstat.m4: Merge from gnulib (Bug#8878).Paul Eggert2011-06-162-2/+6
|
* * lisp.h: Include <limits.h>, for INT_MAX, LONG_MAX, LLONG_MAX.Paul Eggert2011-06-162-0/+5
| | | | | Without this, prin1 mishandles Lisp_Misc_Save_Value printing on hosts with pre-C99 libraries, because pD is wrongly defined to "t".
* Improve buffer-overflow checking (Bug#8873).Paul Eggert2011-06-166-57/+60
|\
| * Merge from trunk.Paul Eggert2011-06-168-303/+454
| |\ | |/ |/|
* | configure.in: Try to determine CRT_DIR automatically when using gccMiles Bader2011-06-172-0/+20
| |
* | Have enlarge-/shrink-window not report errors in most cases (bug#8862).Martin Rudalics2011-06-162-3/+27
| | | | | | | | | | * window.el (enlarge-window, shrink-window): Don't report an error when the window can't be resized as requested (Bug#8862).
* | Auto-commit of generated files.Glenn Morris2011-06-162-259/+217
| |
* | Never ever pop up a new frame in noninteractive mode (bug#8857).Martin Rudalics2011-06-162-3/+8
| | | | | | | | | | | | | | (display-buffer): Don't check noninteractive when calling display-buffer-pop-up-frame. (display-buffer-pop-up-frame): Never pop up a frame in noninteractive mode (Bug#8857).
* | Fix doc-strings of switch-to-buffer family functions (bug#8875).Martin Rudalics2011-06-162-8/+12
| | | | | | | | | | | | | | (switch-to-buffer-same-frame, switch-to-buffer-other-window) (switch-to-buffer-other-window-same-frame) (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew Adams (Bug#8875).
* | Improve cohabitation of pop-up-frames and second argument of display-buffer ↵Martin Rudalics2011-06-162-18/+22
| | | | | | | | | | | | | | | | (bug#8865). * window.el (display-buffer-normalize-specifiers-1): Respect current value of pop-up-frames for most reasonable values of second argument of display-buffer (Bug#8865).
* | Merge changes made in Gnus trunk.Teodor Zlatanov2011-06-162-13/+149
| | | | | | | | | | | | | | | | | | auth-source.el (auth-source-save-secrets): New variable to control if secret tokens should be saved encrypted. (auth-source-netrc-parse, auth-source-netrc-search): Pass the file name to `auth-source-netrc-normalize'. (with-auth-source-epa-overrides): Add convenience macro. Don't depend on the EPA variables being defined. (auth-source-epa-make-gpg-token): Convert text to a "gpg:" token. (auth-source-netrc-normalize): Convert "gpg:" tokens back to text in the lexical-let closure. (auth-source-netrc-create): Create "gpg:" tokens according to `auth-source-save-secrets'.
| * Improve buffer-overflow checking.Paul Eggert2011-06-163-36/+19
| | | | | | | | | | | | | | | | | | | | | | * fileio.c (Finsert_file_contents): * insdel.c (insert_from_buffer_1, replace_range, replace_range_2): Remove the old (too-loose) buffer overflow checks. They weren't needed, since make_gap checks for buffer overflow. * insdel.c (make_gap_larger): Catch buffer overflows that were missed. The old code merely checked for Emacs fixnum overflow, and relied on undefined (wraparound) behavior. The new code avoids undefined behavior, and also checks for ptrdiff_t and/or size_t overflow.
| * * editfns.c: Tune. Don't use wider integers than needed. Don't use alloca.Paul Eggert2011-06-162-13/+10
| | | | | | | | Use a bigger 'string' buffer. Rewrite to avoid 'n > 0' test.
| * * editfns.c (Finsert_char): Don't dump core with very negative counts.Paul Eggert2011-06-162-2/+4
| |
| * * insdel.c (replace_range): Fix buf overflow when insbytes < outgoing.Paul Eggert2011-06-152-4/+6
| |
| * * insdel.c, lisp.h (buffer_overflow): New function.Paul Eggert2011-06-155-7/+20
| | | | | | | | | | | | | | (insert_from_buffer_1, replace_range, replace_range_2): * insdel.c (make_gap_larger): * editfns.c (Finsert_char): * fileio.c (Finsert_file_contents): Use it, to normalize wording.
| * * buffer.h (BUF_BYTES_MAX): Cast to ptrdiff_t so that it's signed.Paul Eggert2011-06-152-2/+8
|/
* Merge from gnulib: lib/gnulib.mk, m4/*.m4.Paul Eggert2011-06-1518-129/+146
|