summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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'.
* Merge from gnulib: lib/gnulib.mk, m4/*.m4.Paul Eggert2011-06-1518-129/+146
|
* (open-network-stream): Add the keyword :always-query-capabilities.Lars Magne Ingebrigtsen2011-06-152-3/+15
| | | | | | This is for the case where you want to force a `plain' network connection, but the protocol still requires the capabilitiy command (i.e., SMTP and EHLO).
* Integer overflow and signedness fixes (Bug#8873).Paul Eggert2011-06-1546-531/+836
|\
| * * ccl.c (ASCENDING_ORDER): New macro, to work around GCC bug 43772.Paul Eggert2011-06-152-2/+9
| | | | | | | | (GET_CCL_RANGE, IN_INT_RANGE): Use it.
| * * fileio.c (emacs_lseek): Work around GCC bug 43772.Paul Eggert2011-06-151-1/+3
| |
| * * character.h, charset.h: Use verify_expr, not verify_true.Paul Eggert2011-06-152-24/+25
| |
| * Merge from trunk.Paul Eggert2011-06-1514-202/+215
| |\ | |/ |/|
* | * lib/ftoastr.c, lib/stdio.in.h, lib/verify.h: Merge from gnulib.Paul Eggert2011-06-154-45/+21
| |
* | * doc/lispref/text.texi (Special Properties): Clarify role of font-lock-face.Chong Yidong2011-06-152-8/+12
| |
* | * lisp/pcmpl-rpm.el (pcomplete/rpm): Minor simplification.Stefan Monnier2011-06-152-3/+5
| |
* | * lisp/emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.Stefan Monnier2011-06-152-8/+10
| |
* | * src/eval.c (Fdefvaralias): Also mark the target as variable-special-p.Stefan Monnier2011-06-153-0/+25
| |
* | * lisp/abbrev.el (define-abbrev-table): Don't add a table multiple times.Stefan Monnier2011-06-152-36/+41
| |
* | progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking forAlan Mackenzie2011-06-152-106/+105
| | | | | | | | | | declarators, disable knr checking to speed up for normal files. 2: Refactor, replacing a sequence of nested if forms by a cond form.
| * Merge from trunk.Paul Eggert2011-06-1520-77/+352
| |\ | |/ |/|
* | Renamed `process-alive-p' to `process-live-p' for consistency with other ↵Lars Magne Ingebrigtsen2011-06-154-2/+12
| | | | | | | | `-live-p' functions.
* | Don't encourage the use of display-buffer-alist from Elisp code.Stefan Monnier2011-06-152-17/+29
| | | | | | | | | | | | | | | | | | | | | | * lisp/window.el (same-window-buffer-names, same-window-regexps) (special-display-frame-alist, special-display-popup-frame) (special-display-function, special-display-buffer-names) (special-display-regexps, pop-up-frame-alist) (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames) (pop-up-windows, split-window-preferred-function) (split-height-threshold, split-width-threshold, even-window-heights) (display-buffer-mark-dedicated): Fix obsolescence info.
* | * lisp/progmodes/cfengine.el (cfengine-mode): Derive from prog-mode.Dan Nicolaescu2011-06-152-1/+2
| |
* | Remove some macros that are either not used anymore or don't reallyDan Nicolaescu2011-06-151-26/+0
| | | | | | | | need documenting here.
* | Derive some programming modes from prog-mode.Dan Nicolaescu2011-06-155-4/+11
| | | | | | | | | | | | | | * lisp/progmodes/python.el (python-mode): Derive from prog-mode. * lisp/progmodes/ps-mode.el (ps-mode): * lisp/progmodes/mixal-mode.el (mixal-mode): * lisp/progmodes/ld-script.el (ld-script-mode): Likewise.
* | Auto-commit of generated files.Glenn Morris2011-06-151-2/+3
| |
* | Don't let display-buffer pop up new frames by default (bug#8857).Martin Rudalics2011-06-152-7/+13
| | | | | | | | | | | | | | | | * window.el (display-buffer-alist): Trim default value to avoid popping up a new frame (Bug#8857) or reusing an arbitrary window on another frame. (display-buffer): Do not fall back on popping up a new frame in batch mode (Bug#8857).
* | Fix resize and change of scroll bar width for Gtk3.Jan Djärv2011-06-148-14/+280
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Add emacsgtkfixed.o to GTK_OBJ if HAVE_GTK3. * src/emacsgtkfixed.c, src/emacsgtkfixed.h: New files. * src/gtkutil.c: Include src/emacsgtkfixed.h if HAVE_GTK3. (int_gtk_range_get_value): Move to the scroll bar part of the file. (style_changed_cb): Call update_theme_scrollbar_width and call x_set_scroll_bar_default_width and xg_frame_set_char_size for all frames. (xg_create_frame_widgets): Call emacs_fixed_new if HAVE_GTK3 (Bug#8505). Call gtk_window_set_resizable if HAVE_GTK3. (x_wm_set_size_hint): Call emacs_fixed_set_min_size with min width and height if HAVE_GTK3 (Bug#8505). (scroll_bar_width_for_theme): New variable. (update_theme_scrollbar_width): New function. (xg_get_default_scrollbar_width): Move code to update_theme_scrollbar_width, just return scroll_bar_width_for_theme. (xg_initialize): Call update_theme_scrollbar_width. * src/gtkutil.h (xg_get_default_scrollbar_width): Remove argument. * src/xfns.c (x_set_scroll_bar_default_width): Remove argument to xg_get_default_scrollbar_width.
| * * fileio.c: Don't assume EMACS_INT fits in off_t.Paul Eggert2011-06-142-8/+28
| | | | | | | | | | | | (emacs_lseek): New static function. (Finsert_file_contents, Fwrite_region): Use it. Use SEEK_SET, SEEK_CUR, SEEK_END as appropriate.
| * * fns.c (Fload_average): Don't assume 100 * load average fits in int.Paul Eggert2011-06-142-2/+4
| |
| * * fns.c (Fcopy_sequence): Don't assume vector length fits in int.Paul Eggert2011-06-142-1/+2
| |
| * * fns.c (Fnthcdr, Fsort): Don't assume list length fits in int.Paul Eggert2011-06-142-2/+3
| |
| * * fns.c: Don't overflow int when computing a list length.Paul Eggert2011-06-142-16/+40
| | | | | | | | | | | | (Fsafe_length): Return a float if the value is not representable as a fixnum. This shouldn't happen except in contrived situations. Use same QUIT_COUNT_HEURISTIC as Flength now does.
| * * fns.c (Flength): Don't overflow int when computing a list length.Paul Eggert2011-06-142-10/+16
| | | | | | | | | | | | | | Use EMACS_INT, not int, to avoid unwanted truncation on 64-bit hosts. Check for QUIT every 1024 entries rather than every other entry; that's faster and is responsive enough. Report an error instead of overflowing an integer.
| * * alloc.c: Check that resized vectors' lengths fit in fixnums.Paul Eggert2011-06-142-10/+22
| | | | | | | | | | | | | | | | (header_size, word_size): New constants. (allocate_vectorlike): Don't check size overflow here. (allocate_vector): Check it here instead, since this is the only caller of allocate_vectorlike that could cause overflow. Check that the new vector's length is representable as a fixnum.
| * * fns.c (next_almost_prime): Don't return a multiple of 3 or 5.Paul Eggert2011-06-142-7/+9
| | | | | | | | | | | | | | The previous code was bogus. For example, next_almost_prime (32) returned 39, which is undesirable as it is a multiple of 3; and next_almost_prime (24) returned 25, which is a multiple of 5 so why was the code bothering to check for multiples of 7?
| * * bytecode.c (exec_byte_code): Use ptrdiff_t, not int, for vector length.Paul Eggert2011-06-142-1/+3
| |
| * * eval.c, doprnt.c (SIZE_MAX): Remove; inttypes.h defines this now.Paul Eggert2011-06-143-10/+4
| |
| * Merge from trunk.Paul Eggert2011-06-1412-30/+198
| |\ | |/ |/|
* | Print theme summaries in *Custom Themes* buffer.Chong Yidong2011-06-1410-30/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/cus-theme.el (describe-theme-1): Use custom-theme-p. (custom-theme-summary): New function. (customize-themes): Use it. * etc/themes/light-blue-theme.el: * etc/themes/misterioso-theme.el: * etc/themes/tango-dark-theme.el: * etc/themes/tango-theme.el: * etc/themes/tsdh-dark-theme.el: * etc/themes/tsdh-light-theme.el: * etc/themes/wheatgrass-theme.el: * etc/themes/wombat-theme.el: Tweak summaries for better listability.
* | * etc/themes/dichromacy-theme.el: New theme.Chong Yidong2011-06-142-0/+131
| |
| * Variadic C functions now count arguments with ptrdiff_t.Paul Eggert2011-06-1419-161/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This partly undoes my 2011-03-30 change, which replaced int with size_t. Back then I didn't know that the Emacs coding style prefers signed int. Also, in the meantime I found a few more instances where arguments were being counted with int, which may truncate counts on 64-bit machines, or EMACS_INT, which may be unnecessarily wide. * lisp.h (struct Lisp_Subr.function.aMANY) (DEFUN_ARGS_MANY, internal_condition_case_n, safe_call): Arg counts are now ptrdiff_t, not size_t. All variadic functions and their callers changed accordingly. (struct gcpro.nvars): Now size_t, not size_t. All uses changed. * bytecode.c (exec_byte_code): Check maxdepth for overflow, to avoid potential buffer overrun. Don't assume arg counts fit in 'int'. * callint.c (Fcall_interactively): Check arg count for overflow, to avoid potential buffer overrun. Use signed char, not 'int', for 'varies' array, so that we needn't bother to check its size calculation for overflow. * editfns.c (Fformat): Use ptrdiff_t, not EMACS_INT, to count args. * eval.c (apply_lambda): * fns.c (Fmapconcat): Use XFASTINT, not XINT, to get args length. (struct textprop_rec.argnum): Now ptrdiff_t, not int. All uses changed. (mapconcat): Use ptrdiff_t, not int and EMACS_INT, to count args.
| * * callint.c (Fcall_interactively): Don't use index var as event count.Paul Eggert2011-06-132-2/+4
| |
| * * vm-limit.c (check_memory_limits): Fix incorrect extern function decls.Paul Eggert2011-06-133-5/+7
| | | | | | | | * mem-limits.h (SIZE): Remove; no longer used.
| * Merge from trunk.Paul Eggert2011-06-136-938/+2859
| |\ | |/ |/|
* | cus-dep fix for build failure first occurring with ↵Glenn Morris2011-06-132-2/+9
| | | | | | | | | | | | | | | | | | | | | | 2011-06-13T08:21:09Z!rudalics@gmx.at The symptom was `make custom-dep' failing with "Unknown terminal type". This is caused by `display-buffer' trying to pop-up a frame in batch mode. I think this cus-dep change may be just papering over the immediate manifestation of the underlying problem. * lisp/cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
* | Make help and view-mode work with new buffer display facilities.Martin Rudalics2011-06-134-405/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * help.el (help-window): Remove variable. (help-window-point-marker, temp-buffer-max-height) (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings. (help-print-return-message): Don't set help-window. (resize-temp-buffer-window): Rewrite cod eand doc-string. (help-window-setup-finish): Remove. (help-window-display-message, help-window-setup) (with-help-window): Major rewrite based on new display-buffer-window variable. * help-mode.el (help-mode-finish): Remove help-window related code. * view.el (view-exits-all-viewing-windows): Remove reference to view-return-to-alist in doc-string. (view-return-to-alist): Make obsolete. (view-buffer): Call pop-to-buffer-same-window and remove undo-window code. (view-buffer-other-window): Call pop-to-buffer-other-window and simplify code. Ignore second argument. (view-buffer-other-frame): Call pop-to-buffer-other-frame and simplify code. Ignore second argument. (view-return-to-alist-update): Make obsolete. (view-mode-enter): Rename second argument to QUIT-RESTORE. Rewrite using quit-restore window parameters. (view-mode-exit): Rename second argument to EXIT-ONLY. Rewrite using quit-restore-window. (View-exit, View-exit-and-edit, View-leave, View-quit) (View-quit-all, View-kill-and-leave): Call view-mode-exit with appropriate arguments. (view-end-message): Use quit-restore window parameter.
* | Install new buffer display functions and variables.Martin Rudalics2011-06-132-531/+2641
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * window.el (display-buffer-function): Rewrite doc-string. (display-buffer-window, display-buffer-alist): New variables. (display-buffer-split-specifiers) (display-buffer-side-specifiers) (display-buffer-macro-specifiers): New constants. (display-buffer-even-window-sizes, display-buffer-set-height) (display-buffer-set-width, display-buffer-select-window) (display-buffer-in-window, display-buffer-reuse-window) (display-buffer-split-window-1, display-buffer-split-window) (display-buffer-split-atom-window, display-buffer-pop-up-window) (display-buffer-pop-up-frame, display-buffer-pop-up-side-window) (display-buffer-in-side-window, normalize-buffer-to-display) (display-buffer-normalize-specifiers-1) (display-buffer-normalize-specifiers-2) (display-buffer-normalize-specifiers, display-buffer-frame): New functions. (display-buffer): Major rewrite. (display-buffer-other-window, display-buffer-other-frame) (pop-to-buffer, switch-to-buffer-other-window) (switch-to-buffer-other-frame): Rewrite. (display-buffer-same-window, display-buffer-same-frame) (display-buffer-same-frame-other-window) (pop-to-buffer-same-window, pop-to-buffer-same-frame) (pop-to-buffer-other-window) (pop-to-buffer-same-frame-other-window) (pop-to-buffer-other-frame, switch-to-buffer-same-frame) (switch-to-buffer-other-window-same-frame): New functions. (same-window-p, special-display-p): Rewrite disabling warnings. Make obsolete. (pop-up-frames, display-buffer-reuse-frames, pop-up-windows) (display-buffer-mark-dedicated): Initialize to symbol 'unset. Make obsolete (same-window-buffer-names, same-window-regexps) (special-display-frame-alist, special-display-popup-frame) (special-display-function, special-display-buffer-names) (special-display-regexps, pop-up-frame-alist) (pop-up-frame-function, split-window-preferred-function) (split-height-threshold, split-width-threshold) (even-window-heights): Make obsolete.