1. 10 Mar, 2013 4 commits
  2. 09 Mar, 2013 8 commits
    • Jay Belanger's avatar
      f6817529
    • Glenn Morris's avatar
      * admin.el: Comment · 78cd48e7
      Glenn Morris authored
      Add missing ChangeLog portion for previous change.
      78cd48e7
    • Glenn Morris's avatar
      * admin/admin.el (add-release-logs): Provide interactive defaults. · 8c39e821
      Glenn Morris authored
      Allow specification of the release date.
      8c39e821
    • Eli Zaretskii's avatar
      bc989a58
    • Stefan Monnier's avatar
    • Michael Albinus's avatar
      Major rewrite due to changed D-Bus interface of GVFS 1.14. · 3675b169
      Michael Albinus authored
      * net/tramp-gvfs.el (top): Extend check for gvfs availability.
      (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
      (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
      New defconst.
      (tramp-gvfs-file-name-handler-alist) [directory-files]:
      [directory-files-and-attributes, file-exists-p, file-modes]: Use
      Tramp default handler.
      [file-acl, file-selinux-context, process-file, set-file-acl]:
      [set-file-modes, set-file-selinux-context, shell-command]:
      [start-file-process ]: Remove handler.
      [verify-visited-file-modtime]: New handler.
      (tramp-gvfs-dbus-string-to-byte-array)
      (tramp-gvfs-dbus-byte-array-to-string): New defuns.  Replace all
      calls of `dbus-string-to-byte-array' and
      `tramp-gvfs-dbus-byte-array-to-string'.
      (tramp-gvfs-handle-copy-file)
      (tramp-gvfs-handle-delete-directory)
      (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
      (tramp-gvfs-handle-file-directory-p)
      (tramp-gvfs-handle-file-executable-p)
      (tramp-gvfs-handle-file-name-all-completions)
      (tramp-gvfs-handle-file-readable-p)
      (tramp-gvfs-handle-file-writable-p)
      (tramp-gvfs-handle-insert-directory)
      (tramp-gvfs-handle-insert-file-contents)
      (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
      (tramp-gvfs-handle-set-visited-file-modtime)
      (tramp-gvfs-handle-write-region): Rewrite.
      (tramp-gvfs-handle-file-acl)
      (tramp-gvfs-handle-file-selinux-context)
      (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
      (tramp-gvfs-handle-set-file-modes)
      (tramp-gvfs-handle-set-file-selinux-context)
      (tramp-gvfs-handle-shell-command)
      (tramp-gvfs-handle-start-file-process)
      (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
      (tramp-gvfs-url-file-name): Do not use `file-truename', we work
      over the symlinks.  Fix user handling.
      (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
      of the D-Bus signals.
      (tramp-gvfs-connection-mounted-p): Handle different names of the
      D-Bus methods.
      (tramp-gvfs-mount-spec-entry): New defun.
      (tramp-gvfs-mount-spec): Use it.
      (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
      there is a share name.  Handle different names of the D-Bus
      signals and methods.
      (tramp-gvfs-maybe-open-connection): Set connection properties
      needed for `tramp-check-cached-permissions'.
      (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
      Return t or nil.
      
      * net/tramp.el (tramp-backtrace): Move up.
      (tramp-error): Apply a backtrace into the debug buffer when
      `tramp-verbose > 9.
      (tramp-file-mode-type-map, tramp-file-mode-from-int)
      (tramp-file-mode-permissions, tramp-get-local-uid)
      (tramp-get-local-gid, tramp-check-cached-permissions): Move from
      tramp-sh.el.
      
      * net/tramp-sh.el (tramp-file-mode-type-map)
      (tramp-check-cached-permissions, tramp-file-mode-from-int)
      (tramp-file-mode-permissions, tramp-get-local-uid)
      (tramp-get-local-gid): Move to tramp.el.
      3675b169
    • Stefan Monnier's avatar
      Separate mouse-1-click-follows-link from mouse-drag-region. · 27a98a62
      Stefan Monnier authored
      * lisp/mouse.el (mouse--down-1-maybe-follows-link): New function.
      (key-translation-map): Use it to implement mouse-1-click-follows-link.
      (mouse-drag-line, mouse-drag-track): Remove mouse-1-click-follows-link code.
      (mouse--remap-link-click-p): Remove.
      * src/keyboard.c (access_keymap_keyremap): Accept nil return value from
      functions to mean "no change".
      * src/keyboard.h (EVENT_START, EVENT_END, POSN_WINDOW, POSN_POSN)
      (POSN_WINDOW_POSN, POSN_TIMESTAMP): Be careful since events may come
      from Elisp via unread-command-events.
      27a98a62
    • Jay Belanger's avatar
      c410dad5
  3. 08 Mar, 2013 10 commits
    • Paul Eggert's avatar
      region-cache.c, scroll.c, search.c: Use bool for booleans. · 457882c2
      Paul Eggert authored
      * lisp.h (compile_pattern):
      * scroll.c (do_scrolling, do_direct_scrolling):
      * search.c (struct regexp_cache, compile_pattern_1)
      (compile_pattern, string_match_1, search_command)
      (trivial_regexp_p, search_buffer, Freplace_match, match_limit)
      (search_regs_saved, Fregexp_quote):
      Use bool for boolean.
      * region-cache.c (region_cache_forward, region_cache_backward):
      Fix comments to match code: these functions return int, not boolean.
      457882c2
    • Dmitry Antipov's avatar
      * search.c (find_newline): Accept start and end byte positions · b5426561
      Dmitry Antipov authored
      as arguments and allow -1 if not known.
      (find_newline_no_quit): Likewise for start position.
      * lisp.h (find_newline, find_newline_no_quit): Adjust prototype.
      * bidi.c (bidi_find_paragraph_start): Pass byte position to
      find_newline_no_quit, thus eliminating CHAR_TO_BYTE.
      * editfns.c (Fconstrain_to_field): Break long line.  Adjust
      call to find_newline.
      * indent.c (vmotion): Adjust calls to find_newline_no_quit.
      Use DEC_BOTH to start next search from the previous buffer
      position, where appropriate.
      * xdisp.c (back_to_previous_line_start, forward_to_next_line_start)
      (get_visually_first_element, move_it_vertically_backward): Likewise.
      Obtain byte position from the display iterator, where appropriate.
      b5426561
    • Glenn Morris's avatar
      * doc/misc/faq.texi (Top): Don't say this was updated @today. · c3e2de4c
      Glenn Morris authored
      That's irrelevant and leads to spurious diffs.
      c3e2de4c
    • Glenn Morris's avatar
      Fix doc typo in previous change · 48c6afa6
      Glenn Morris authored
      48c6afa6
    • Glenn Morris's avatar
    • Glenn Morris's avatar
    • Bastien Guerry's avatar
      Fix critical bug in Org. · f186a0b5
      Bastien Guerry authored
      f186a0b5
    • Jambunathan K's avatar
      Provide for customizing default regexp in hi-lock commands (Bug#13892). · eb1a6e15
      Jambunathan K authored
      * lisp/hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
      (hi-lock-read-regexp-defaults):	 New defun.
      (hi-lock-line-face-buffer, hi-lock-face-buffer)
      (hi-lock-face-phrase-buffer): Propagate above change.  Update
      docstring.
      
      * lisp/subr.el (find-tag-default-as-regexp): New defun.
      * lisp/replace.el (read-regexp): Propagate above change.
      eb1a6e15
    • Paul Eggert's avatar
      print.c, process.c: Use bool for booleans. · 0bce5d9e
      Paul Eggert authored
      * lisp.h (wait_reading_process_output):
      * print.c (print_output_debug_flag, PRINTDECLARE, printchar)
      (strout, debug_output_compilation_hack, float_to_string, print)
      (print_object):
      * process.c (kbd_is_on_hold, inhibit_sentinels, process_output_skip)
      (decode_status, status_message, create_process, create_pty)
      (Fmake_network_process, Fnetwork_interface_info)
      (wait_reading_process_output, read_process_output)
      (write_queue_push, write_queue_pop, process_send_signal)
      (handle_child_signal, keyboard_bit_set, kbd_on_hold_p):
      * process.h (struct Lisp_Process, inhibit_sentinels, kbd_on_hold_p):
      Use bool for booleans.
      * process.c (Fnetwork_interface_list): Remove unused local.
      (connect_counter): Now EMACS_INT, not int.
      0bce5d9e
    • Jay Belanger's avatar
      * doc/misc/calc.texi (Basic Operations on Units): Fix · 6d7ebb72
      Jay Belanger authored
        cross-reference.
      
      * calc/calc-units.el (calc-convert-units): Fix the way that default
        new units are stored.
      6d7ebb72
  4. 07 Mar, 2013 10 commits
    • Dmitry Antipov's avatar
      * bidi.c (bidi_fetch_char): Swap first and second arguments · 36075a19
      Dmitry Antipov authored
      to match other functions accepting character and byte positions.
      Adjust comment.
      (bidi_resolve_explicit_1, bidi_level_of_next_char): Adjust users.
      (bidi_paragraph_init): Likewise.  Use DEC_BOTH which is faster
      when you need just to move to the previous buffer position.
      * xdisp.c (Fcurrent_bidi_paragraph_direction): Use DEC_BOTH.
      36075a19
    • Karl Fogel's avatar
      * bookmark.el: Define a face to highlight bookmark names in · c095b770
      Karl Fogel authored
      bookmark menu buffers, where the default is a bold face similarly
      to buffer names in buffer menu buffers.  Patch by Matthias Meulien
      <orontee {_AT_} gmail.com>.
      
      (bookmark-menu-bookmark): New face to highlight bookmark names.
      (bookmark-insert-location): Removes dupplicated text property to
      conform to buffer list (see `list-buffers')
      (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
      `bookmark-menu-bookmark' to bookmark names.
      c095b770
    • Karl Fogel's avatar
      * bookmark.el: Display the bookmark list header similarly to the · 7a78e19f
      Karl Fogel authored
      buffer list header (see `list-buffers'), where the default is now
      an immovable/immutable header line.  Patch by Matthias Meulien
      <orontee {_AT_} gmail.com> with a few tweaks by me.
      
      (bookmark-bmenu-use-header-line): New variable.
      (bookmark-bmenu-inline-header-height): New name for
      `bookmark-bmenu-header-height', to avoid confusion with the code
      for the new immovable header.  All references changed.
      (bookmark-bmenu-set-header): New function.
      (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
      Conditionalize header construction accordingly.
      (bookmark-bmenu-ensure-position): Conditionalize the skipping of
      the inline header height.
      (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
      Conditionalize the skipping of the inline header height.
      7a78e19f
    • Dmitry Gutov's avatar
    • Eli Zaretskii's avatar
    • Katsumi Yamaoka's avatar
    • Paul Eggert's avatar
      86c86abf
    • Glenn Morris's avatar
      fe5b74fc
    • Dmitry Antipov's avatar
      Avoid character to byte conversions in motion subroutines. · c54aa166
      Dmitry Antipov authored
      * indent.h (compute_motion, vmotion): Add byte position argument.
      * indent.c (compute_motion): Use it and avoid CHAR_TO_BYTE.
      Add eassert.
      (Fcompute_motion): Break long line.  Adjust call to compute_motion.
      Use list5 for return value.
      (vmotion): Use byte position argument and avoid call to CHAR_TO_BYTE.
      Adjust comments, style and calls to compute_motion.
      (Fvertical_motion): Adjust call to vmotion.
      * window.c (Fdelete_other_windows_internal): Record window start
      byte position and adjust call to vmotion.
      (window_scroll_line_based): Likewise with call to compute_motion.
      Use SET_PT_BOTH.
      (Frecenter): Adjust calls to vmotion.
      c54aa166
    • Dmitry Antipov's avatar
      * lisp.h (list2i, list3i): New functions. · 3de717bd
      Dmitry Antipov authored
      (list4i): Move from window.c and make LISP_INLINE.
      * editfns.c (make_lisp_time):
      * fns.c (Flocale_info):
      * keyboard.c (parse_modifiers):
      * xterm.c (x_ewmh_activate_frame): Use list2i.
      * instel.c (signal_after_change):
      * nsfns.m (Fx_server_version, Fxw_color_values):
      * w32fns.c (Fxw_color_values, Fx_server_version):
      * xfns.c (Fxw_color_values, Fx_server_version): Use list3i.
      * fileio.c (Fvisited_file_modtime):
      * nsfns.m (Fns_display_usable_bounds):
      * w32.c (ltime): Use list4i.
      3de717bd
  5. 06 Mar, 2013 8 commits
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function): Only · ab89e9f9
      Dmitry Gutov authored
      propertize regexp when not inside a string.
      
      Fixes: debbugs:13885
      ab89e9f9
    • Eli Zaretskii's avatar
      Rename find_next_newline to find_newline_no_quit. · a611149e
      Eli Zaretskii authored
       src/search.c (find_newline_no_quit): Rename from find_next_newline.
       Add commentary.
       src/lisp.h (find_newline_no_quit): Rename prototype.
       src/xdisp.c (back_to_previous_line_start)
       (forward_to_next_line_start, get_visually_first_element)
       (move_it_vertically_backward): Callers of find_newline_no_quit changed.
       src/indent.c (vmotion): Callers of find_newline_no_quit changed.
       src/bidi.c (bidi_find_paragraph_start): Callers of
       find_newline_no_quit changed.
      a611149e
    • Eli Zaretskii's avatar
      Fix bug #13879 with raw-text encoding of msdos.c. · d26e478e
      Eli Zaretskii authored
       src/msdos.c: Change encoding to cp850.  (Bug#13879)
       (fr_keyboard, it_keyboard, dk_keyboard): Update keyboard layouts.
      d26e478e
    • Alan Mackenzie's avatar
      Correct the position of point in some line-up functions. · 33d1e2f5
      Alan Mackenzie authored
      progmodes/cc-align.el (c-lineup-whitesmith-in-block, c-lineup-assignments)
      (c-lineup-gcc-asm-reg ): take position of point at column 0 rather than
      at a random place in the line.
      doc/misc/cc-mode.texi (Custom Line-Up): State explicitly that point
      starts at a random position in the line being indented.
      33d1e2f5
    • Glenn Morris's avatar
      Auto-commit of generated files. · 0ad94970
      Glenn Morris authored
      0ad94970
    • Dmitry Antipov's avatar
      Coding system support cleanup and minor refactoring. · 1af1a51a
      Dmitry Antipov authored
      * coding.h (enum coding_result_code): Remove
      CODING_RESULT_INCONSISTENT_EOL and CODING_RESULT_INSUFFICIENT_MEM.
      (toplevel): Remove unused CODING_MODE_INHIBIT_INCONSISTENT_EOL.
      (CODING_MODE_LAST_BLOCK, CODING_MODE_SELECTIVE_DISPLAY)
      (CODING_MODE_DIRECTION, CODING_MODE_FIXED_DESTINATION)
      (CODING_MODE_SAFE_ENCODING): Rearrange bit values.
      (decode_coding_region, encode_coding_region, decode_coding_string):
      Remove unused compatibility macros.
      * coding.c (Qinconsistent_eol, Qinsufficient_memory): Remove.
      (record_conversion_result): Adjust user.
      (syms_of_coding): Likewise.
      (ALLOC_CONVERSION_WORK_AREA): Use SAFE_ALLOCA.
      (decode_coding, encode_coding): Add USE_SAFE_ALLOCA and SAFE_FREE.
      (decode_coding_object): Simplify since xrealloc never returns NULL.
      Add eassert.
      1af1a51a
    • Glenn Morris's avatar
      Auto-commit of generated files. · 34fd7a48
      Glenn Morris authored
      34fd7a48
    • Glenn Morris's avatar