1. 26 Aug, 2012 9 commits
    • Paul Eggert's avatar
    • Chong Yidong's avatar
      Clean up gdb-mi's usage of display-buffer. · d97af5a0
      Chong Yidong authored
      * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action): New
      variable, replacing gdb-frame-parameters.
      (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
      (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
      (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
      (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
      (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
      the functions directly with gdb-display-buffer-other-frame-action.
      (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
      (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
      (gdb-display-stack-buffer, gdb-display-locals-buffer)
      (gdb-display-registers-buffer): Define directly.
      (def-gdb-display-buffer): Macro deleted.
      (gdb-display-buffer): Remove second and third args, callers don't
      use them.  Defer to the default display-buffer behavior, apart
      from making windows dedicated.
      (gdb-setup-windows): Don't call display-buffer unnecessarily.
      
      * window.el (display-buffer-pop-up-frame): Handle a
      pop-up-frame-parameters alist entry.
      (display-buffer): Document it.
      
      * progmodes/gud.el (gud-display-line): Just use display-buffer.
      d97af5a0
    • Paul Eggert's avatar
      * character.c, charset.c, chartab.c: Use bool for booleans. · d5172d4f
      Paul Eggert authored
      * character.c (lisp_string_width, string_count_byte8)
      (string_escape_byte8):
      * charset.c (charset_map_loaded, load_charset_map, read_hex):
      (load_charset_map_from_file, map_charset_chars)
      (Fdefine_charset_internal, define_charset_internal)
      (Fdeclare_equiv_charset, find_charsets_in_text)
      (Ffind_charset_region, char_charset, Fiso_charset):
      * chartab.c (sub_char_table_ref, sub_char_table_ref_and_range)
      (sub_char_table_set, sub_char_table_set_range)
      (char_table_set_range, optimize_sub_char_table)
      (map_sub_char_table):
      Use bool for boolean.
      * character.c (str_to_unibyte): Omit last boolean argument; it was
      always 0.  All callers changed.
      * character.h, charset.h: Adjust to match previous changes.
      * character.h (char_printable_p): Remove decl of nonexistent function.
      * charset.h (struct charset): Members code_linear_p, iso_chars_96,
      ascii_compatible_p, supplementary_p, compact_codes_p, unified_p
      are all boolean, so make them single-bit bitfields.
      d5172d4f
    • Paul Eggert's avatar
      * lisp.h (ASET): Remove attempt to detect side effects. · 6af64513
      Paul Eggert authored
      It was meant to be temporary and it often doesn't work,
      because when IDX has side effects the behavior of IDX==IDX
      is undefined.  See Stefan Monnier in
      <http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00762.html>.
      6af64513
    • Paul Eggert's avatar
      * configure.ac (CFLAGS): Prefer -g3 to -g if -g3 works · 6e8aca60
      Paul Eggert authored
      and if the user has not specified CFLAGS.  -g3 simplifies
      debugging, since it makes macros visible to the debugger.
      6e8aca60
    • Chong Yidong's avatar
      Doc fix for last change. · 2db8bdfc
      Chong Yidong authored
      2db8bdfc
    • Chong Yidong's avatar
      Make ordinary isearch obey search-whitespace-regexp too. · dd7ffad6
      Chong Yidong authored
      * lisp/isearch.el (search-whitespace-regexp): Make string and nil
      values apply to both ordinary and regexp search.  Allow a cons
      cell value to distinguish between the two.
      (isearch-whitespace-regexp, isearch-search-forward)
      (isearch-search-backward): New functions.
      (isearch-occur, isearch-search-fun-default, isearch-search)
      (isearch-lazy-highlight-new-loop): Use them.
      (isearch-forward, isearch-forward-regexp): Doc fix.
      dd7ffad6
    • Barry O'Reilly's avatar
      * src/lisp.h (functionp): New function (extracted from Ffunctionp). · e1f29348
      Barry O'Reilly authored
      (FUNCTIONP): Use it.
      * src/eval.c (Ffunctionp): Use it.
      e1f29348
    • Chong Yidong's avatar
      * faces.el (help-argument-name): Always inherit from italic. · 4c47bd1e
      Chong Yidong authored
      Fixes: debbugs:12213
      4c47bd1e
  2. 25 Aug, 2012 10 commits
  3. 24 Aug, 2012 3 commits
    • Michael Albinus's avatar
      * cmdargs.texi (General Variables): Setting · aa0ecd94
      Michael Albinus authored
      $DBUS_SESSION_BUS_ADDRESS to a dummy value suppresses connections
      to the D-Bus session bus.  (Bug#12112)
      aa0ecd94
    • Paul Eggert's avatar
      * buffer.c, buffer.h: Use bool for boolean. · 37ef52bb
      Paul Eggert authored
      * buffer.c (reset_buffer_local_variables)
      (buffer_lisp_local_variables, Fset_buffer_modified_p)
      (Frestore_buffer_modified_p, Fset_buffer_multibyte):
      (overlays_at, overlays_in, mouse_face_overlay_overlaps)
      (overlay_touches_p, overlay_strings, Foverlay_put)
      (report_overlay_modification, call_overlay_mod_hooks):
      (mmap_enlarge, mmap_set_vars):
      * buffer.h (buffer_has_overlays, uppercasep, lowercasep):
      Use bool for booleans, instead of int.
      * buffer.c (compact_buffer, mmap_free_1): Return void, not int,
      since the 1-or-0 return value is always ignored anyway.
      (mmap_initialized_p):
      * buffer.h (struct buffer_text.inhibit_shrinking): Now bool, not int.
      * buffer.h, lisp.h: Adjust prototypes to match above changes.
      37ef52bb
    • Paul Eggert's avatar
      Fix file time stamp problem with bzr and CVS (Bug#12001). · ca5256ad
      Paul Eggert authored
      * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
      in the file's time stamp, since the version control system loses
      that information.
      ca5256ad
  4. 23 Aug, 2012 3 commits
    • Paul Eggert's avatar
      * bidi.c: Use bool for boolean. · 2cc21167
      Paul Eggert authored
      This is a bit more readable, and makes the text segment of bidi.o
      0.4% smaller on my platform (GCC 4.7.1 x86-64, Fedora 15).
      Presumably it's faster too.
      (bidi_initialized, bidi_ignore_explicit_marks_for_paragraph_level):
      Now bool.
      (bidi_cache_find_level_change, bidi_cache_iterator_state)
      (bidi_unshelve_cache, bidi_init_it, bidi_count_bytes)
      (bidi_char_at_pos, bidi_fetch_char, bidi_paragraph_init)
      (bidi_explicit_dir_char, bidi_level_of_next_char)
      (bidi_find_other_level_edge, bidi_move_to_visually_next):
      Use bool for booleans, instead of int.
      * dispextern.h (bidi_init_it, bidi_paragraph_init)
      (bidi_unshelve_cache): Adjust decls to match code.
      2cc21167
    • Martin Rudalics's avatar
      In Fposn_at_x_y do not allow internal window as argument. · 7db4ddf4
      Martin Rudalics authored
      * keyboard.c (Fposn_at_x_y): Do not allow internal window as
      argument.
      7db4ddf4
    • Paul Eggert's avatar
      * atimer.c, atimer.h (turn_on_atimers): Use bool for boolean. · b1bb8011
      Paul Eggert authored
      * atimer.h: Include <stdbool.h>.
      b1bb8011
  5. 22 Aug, 2012 15 commits