1. 09 Aug, 2010 2 commits
    • Dan Nicolaescu's avatar
      Use const char* instead of char*. · 8ea90aa3
      Dan Nicolaescu authored
      Reduce the number of warnings with -Wwrite-strings.
      * src/xrdb.c (get_environ_db, get_system_name):
      * src/unexelf.c (find_section):
      * src/term.c (string_cost, string_cost_one_line, per_line_cost)
      (get_named_tty, init_tty):
      * src/sysdep.c (sys_subshell):
      * src/sound.c (sound_perror, sound_warning, vox_open, vox_init)
      (alsa_sound_perror, alsa_open, alsa_configure, alsa_init):
      * src/search.c (Freplace_match):
      * src/process.c (Fmake_network_process, send_process, init_process):
      * src/lread.c (Fload, init_lread):
      * src/keymap.c (Fdescribe_buffer_bindings, describe_map_tree):
      * src/keyboard.c (parse_tool_bar_item, struct event_head):
      * src/gtkutil.h (xg_get_font_name):
      * src/gtkutil.c (get_dialog_title, create_dialog, xg_get_font_name)
      (make_widget_for_menu_item, make_menu_item, create_menus)
      (xg_make_tool_item):
      * src/font.c (parse_matrix, font_parse_name):
      * src/floatfns.c (rounding_driver, float_error_fn_name):
      * src/filelock.c (get_boot_time_1, lock_file_1):
      * src/fileio.c (barf_or_query_if_file_exists, check_writable):
      * src/editfns.c (get_system_name, get_operating_system_release)
      (Fencode_time, Fset_time_zone_rule):
      * src/dispextern.h (string_cost, per_line_cost, get_named_tty, init_tty):
      * src/buffer.c (defvar_per_buffer): Use const.
      8ea90aa3
    • Jay Belanger's avatar
      calc.texi (Customizing Calc): Rearrange description of new · 443c2c03
      Jay Belanger authored
      variables to match the presentation of other variables.
      443c2c03
  2. 08 Aug, 2010 14 commits
    • Chong Yidong's avatar
    • Juanma Barranquero's avatar
      Fix typos in ChangeLogs. · 8d9e03e4
      Juanma Barranquero authored
      8d9e03e4
    • Fran Litterio's avatar
      Ensure that erc-toggle-debug-irc-protocol logs protocol data. · 5997e340
      Fran Litterio authored
      http://lists.gnu.org/archive/html/emacs-devel/2010-07/msg01000.html
      
      * erc-backend.el (erc-server-filter-function): Call
      erc-log-irc-protocol.
      
      * erc.el (erc-toggle-debug-irc-protocol): Bind
      erc-toggle-debug-irc-protocol to t.
      5997e340
    • Chong Yidong's avatar
      Fix 2010-07-03 change to mouse-drag-track. · 7adf5fdc
      Chong Yidong authored
      * mouse.el (mouse-drag-track): Remove accidentally-removed check
      for `double' value of mouse-1-click-follows-link (Bug#6807).
      7adf5fdc
    • Chong Yidong's avatar
      Merge changes from emacs-23 branch. · cc36ae60
      Chong Yidong authored
      cc36ae60
    • Chong Yidong's avatar
      Merge changes from emacs-23 branch · 7815fe19
      Chong Yidong authored
      7815fe19
    • Dan Nicolaescu's avatar
      Use const char* instead of char*. · 675e2c69
      Dan Nicolaescu authored
      * src/xterm.c (x_create_toolkit_scroll_bar):
      * src/xfont.c (xfont_list_pattern):
      * src/xfns.c (x_default_scroll_bar_color_parameter)
      (xic_create_fontsetname, x_default_font_parameter)
      (x_screen_planes):
      * src/xdisp.c (c_string_pos, number_of_chars, reseat_to_string)
      (store_mode_line_string, decode_mode_spec, display_string):
      * src/menu.c (digest_single_submenu):
      * src/keymap.h (initial_define_key, initial_define_lispy_key):
      * src/keymap.c (initial_define_key, initial_define_lispy_key):
      * src/image.c (image_error, image_keyword):
      * src/gtkutil.h (xg_create_widget, xg_create_scroll_bar):
      * src/gtkutil.c (xg_create_widget, xg_create_scroll_bar):
      * src/ftfont.c (struct fc_charset_table, ftfont_spec_pattern)
      (ftfont_list, ftfont_match):
      * src/frame.c (frame_parm_table):
      * src/font.h (font_intern_prop, font_parse_xlfd, font_parse_fcname)
      (font_unparse_fcname, font_unparse_fcname, font_open_by_name)
      (font_add_log, font_deferred_log):
      * src/font.c (font_intern_prop, font_parse_xlfd, font_parse_fcname)
      (font_unparse_fcname, font_unparse_fcname, font_open_by_name)
      (font_add_log, font_deferred_log):
      * src/emacs.c (argmatch):
      * src/dispextern.h (struct it):
      * src/coding.c (ENCODE_DESIGNATION):
      * src/charset.c (define_charset_internal): Use const.
      675e2c69
    • Johan Bockgård's avatar
      Fix query-replace-regexp incomplete highlighting (Bug#6808). · e54a1075
      Johan Bockgård authored
      * replace.el (replace-highlight): Bind isearch-forward and
      isearch-error, ensuring that highlighting is updated if the user
      switches the search direction (Bug#6808).
      
      * isearch.el (isearch-lazy-highlight-forward): New var.
      (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
      (isearch-lazy-highlight-update): Use it.
      e54a1075
    • Dan Nicolaescu's avatar
    • Dan Nicolaescu's avatar
      Cleanup xrdb.c. · 1b6d8cf0
      Dan Nicolaescu authored
      * src/xrdb.c: Remove include guard.  Remove
      DECLARE_GETPWUID_WITH_UID_T conditional it had no effect.
      Remove #if 0 code.  Replace malloc->xmalloc, free->xfree,
      realloc->xrealloc instead of using #defines.
      1b6d8cf0
    • Ulf Jasper's avatar
      Fixed bug#6766 (icalendar.el) · 81ee9410
      Ulf Jasper authored
      lisp/ChangeLog:
      
      	* calendar/icalendar.el (icalendar-uid-format): Doc fix.
      	(icalendar--split-value): Fixed splitting regexp. (Bug#6766)
      	(icalendar--get-weekday-numbers): New
      	(icalendar--create-uid, icalendar-export-region)
      	(icalendar--parse-summary-and-rest): Code formatting.
      	(icalendar--convert-recurring-to-diary): Handle multiple byday
      	values in weekly rules. (Bug#6766)
      
      test/ChangeLog:
              
      	* icalendar-testsuite.el (icalendar-testsuite-run): Added internal tests.
      	(icalendar-testsuite--trim, icalendar-testsuite--compare-strings)
      	(icalendar-testsuite--run-internal-tests): New.
      	(icalendar-testsuite--test-convert-ordinary-to-ical)
      	(icalendar-testsuite--test-convert-block-to-ical)
      	(icalendar-testsuite--test-convert-anniversary-to-ical)
      	(icalendar-testsuite--test-parse-vtimezone)
      	(icalendar-testsuite--do-test-export): Code formatting.
      	(icalendar-testsuite--test-parse-vtimezone): Doc fix.
      	(icalendar-testsuite--do-test-import)
      	(icalendar-testsuite--do-test-cycle): Use icalendar-testsuite--compare-strings
      	(icalendar-testsuite--run-import-tests): Comment added.
      	(icalendar-testsuite--run-import-tests)
      	(icalendar-testsuite--run-real-world-tests): Fixed expected results.
      81ee9410
    • Eli Zaretskii's avatar
      Make some doc strings bidi-friendly. · cd21226d
      Eli Zaretskii authored
       cmds.c (Fforward_line, Fbeginning_of_line, Fend_of_line):
       editfns.c (Fline_beginning_position, Fline_end_position): State
       in the doc strings that start and end of line are in the logical order.
      cd21226d
    • Eli Zaretskii's avatar
      Fix overlay arrow display (bug #6699). · efb41e21
      Eli Zaretskii authored
       xdisp.c (display_line): Move the handling of overlay arrow after
       the call to find_row_edges.
      efb41e21
    • Jay Belanger's avatar
      calc.el (calc-trail-mode,calc-refresh): Use `face' property to italicize headers. · 2c695727
      Jay Belanger authored
      (calc-highlight-selections-with-faces): New variable.
      (calc-selected-face, calc-nonselected-face): New faces.
      
      calccomp.el (math-comp-highlight-string): Use
      `calc-highlight-selections-with-faces' to determine how to highlight
      subformulas.
      
      calc-sel.el (calc-show-selections): Change message to something
      appropriate. 
      
      calc.texi (Making Selections, Selecting Subformulas)
      (Customizing Calc): Mention how to use faces to emphasize selected
      subformulas.
      2c695727
  3. 07 Aug, 2010 9 commits
    • Michael Mauger's avatar
      * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords): Added · b93d4f22
      Michael Mauger authored
              SQLite 3 keywords, functions and datatypes.
              (sql-interactive-mode): Removed `comint-process-echoes' set to t
              (Bug#6686).
      b93d4f22
    • Chong Yidong's avatar
      Avoid restrictions when copying window selection. · 746812d9
      Chong Yidong authored
      * src/keyboard.c (command_loop_1):
      * src/insdel.c (prepare_to_modify_buffer): Don't call validate_region.
      746812d9
    • Chong Yidong's avatar
      Fix last change. · 1bcb9e65
      Chong Yidong authored
      1bcb9e65
    • Chong Yidong's avatar
      Change `select-active-region' mechanics. · 9852377f
      Chong Yidong authored
      Save region text prior to buffer modification.
      Set window selection lazily, during `deactivate-mark' or after each
      command when the region is temporarily active.
      
      * lisp/cus-start.el: Add custom declaration for select-active-regions.
      
      * lisp/mouse.el (mouse-drag-track): Remove hacks to deal with old
      select-active-regions implementation.
      (mouse-yank-at-click): Doc fix.
      
      * lisp/simple.el (select-active-regions): Move to keyboard.c.
      (deactivate-mark): Used saved-region-selection.
      (select-active-region): Function removed.
      (activate-mark, set-mark, push-mark-command)
      (handle-shift-selection): Don't call it.
      (keyboard-quit): Avoid adding the region to the window selection.
      
      * src/insdel.c (prepare_to_modify_buffer): Save active region text to
      Vsaved_region_selection.
      
      * src/keyboard.c (Vselect_active_regions): Move from simple.el.
      (Vsaved_region_selection, Qx_set_selection, QPRIMARY, Qlazy): New
      vars.
      (command_loop_1): Set window selection prior to deactivating the
      mark.
      
      * src/xselect.c (QPRIMARY): Move to keyboard.c.
      9852377f
    • Eli Zaretskii's avatar
      d064e6a6
    • Eli Zaretskii's avatar
      simple.el (delete-forward-char): Doc fix. · 4c5130d6
      Eli Zaretskii authored
      4c5130d6
    • Eli Zaretskii's avatar
      Clean up TUTORIAL.he. · 309a663f
      Eli Zaretskii authored
       tutorials/TUTORIAL.he: Don't use acronyms.
      309a663f
    • Eli Zaretskii's avatar
      Evaluate file-local variables in tutorials. · 822775bf
      Eli Zaretskii authored
       tutorial.el (help-with-tutorial): Hack safe file-local variables
       after reading the tutorial.
      822775bf
    • Juanma Barranquero's avatar
      Remove duplicate declarations. · 0e9c8657
      Juanma Barranquero authored
      * lib-src/ebrowse.c (usage, version, mark_virtual)
      * src/alloc.c (lisp_malloc)
      * src/buffer.c (set_buffer_internal, set_buffer_internal_1)
      * src/charset.h (emacs_mule_charset)
      * src/dispextern.h (inhibit_free_realized_faces, redraw_frame)
        (redraw_garbaged_frames, scroll_cost, update_frame, scrolling)
        (bitch_at_user)
      * src/lisp.h (Fcheck_coding_system, Fget_text_property)
        (Qfunction, Qcompletion_ignore_case, QCwidth, QCsize)
      0e9c8657
  4. 06 Aug, 2010 15 commits