1. 11 Mar, 2013 12 commits
    • Jean-Philippe Gravel's avatar
      * lisp/progmodes/gdb-mi.el: Speed up initialization. Use lexical-binding. · 6ff2c8f1
      Jean-Philippe Gravel authored
      Fix up docstring according to conventions.
      (gdbmi-debug-mode): New var.
      (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
      (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
      (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
      (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
      (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
      (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
      (gdbmi-bnf-incomplete-record-result): New functions.
      (gdb-car<): Remove function.
      (gdbmi-record-list): Remove variable.
      (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
      (gdbmi-bnf-result-state-configs): New const.
      (gud-gdbmi-marker-filter): Rewrite.
      (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
      (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
      Add `token' argument.
      (gdb-done, gdb-error): New functions.
      (gdb-done-or-error): Add `is-complete' argument.  Change arg order.
      Fixes: debbugs:10580
    • Ted Zlatanov's avatar
    • Glenn Morris's avatar
    • Stefan Monnier's avatar
      * lisp/term/xterm.el (xterm--report-background-handler): Don't burp · 2523c845
      Stefan Monnier authored
      upon timeout.
      (xterm--version-handler): Extract from terminal-init-xterm.
      (xterm--query): Don't mishandle timeout.  Remove debugging messages.
      Allow multiple handlers.
      (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
      Fixes: debbugs:6758
    • Glenn Morris's avatar
      Small updates for make-manuals admin scripts · c69f4673
      Glenn Morris authored
      * admin/admin.el (make-manuals): Add emacs-lisp-intro and some more
      doc/misc manuals.
      (manual-html-mono, manual-html-node, manual-txt): Pass -I to makeinfo.
    • Stefan Monnier's avatar
      * lisp/term/xterm.el: Don't discard input. Use lexical-binding. · 9b593980
      Stefan Monnier authored
      (xterm--report-background-handler, xterm--query): New functions.
      (terminal-init-xterm): Use them.
      Fixes: debbugs:6758
    • Michael Mauger's avatar
      * progmodes/sql.el Version 3.2 · e18e61cf
      Michael Mauger authored
      Please note that my address changed to <michael@mauger.com>; the
      <mmaug@yahoo.com> address remains active.
      (sql-connection-alist): Updates documentation to fix bug#13715.
      (sql-connect): Handle missing `sql-connection-alist' correctly.
      (sql-mode-oracle-font-lock-keywords): Add missing keywords.
      (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
      (sql-default-value): New function.
      (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
      values were not used.
      (sql-rename-buffer): Make sure alternate buffer name has no text
      (sql-input-sender, sql-execute-feature): Fetch variable with
      `buffer-local-value' rather than `with-current-buffer'.
      (sql-*): Use #' function syntax consistently.
      (sql-*): Use message/error/user-error consistently.
    • Paul Eggert's avatar
      Spelling fixes. · 307d0e95
      Paul Eggert authored
    • Paul Eggert's avatar
    • Stefan Monnier's avatar
      * lisp/xt-mouse.el (xterm-mouse-event-read): Remove. · 25c09217
      Stefan Monnier authored
      (xterm-mouse--read-event-sequence-1006): Use read-event instead.
    • Glenn Morris's avatar
      Add 24.3 release to ChangeLogs · 24958590
      Glenn Morris authored
    • Stefan Monnier's avatar
      * src/keyboard.c: Move keyboard decoding to read_key_sequence. · cbae07d5
      Stefan Monnier authored
      (decode_keyboard_code): Remove.
      (tty_read_avail_input): Don't try to decode input.
      (read_decoded_char): New function.
      (read_key_sequence): Use it.
  2. 10 Mar, 2013 15 commits
  3. 09 Mar, 2013 8 commits
    • Jay Belanger's avatar
    • Glenn Morris's avatar
      * admin.el: Comment · 78cd48e7
      Glenn Morris authored
      Add missing ChangeLog portion for previous change.
    • Glenn Morris's avatar
      * admin/admin.el (add-release-logs): Provide interactive defaults. · 8c39e821
      Glenn Morris authored
      Allow specification of the release date.
    • Eli Zaretskii's avatar
    • 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-byte-array-to-string): New defuns.  Replace all
      calls of `dbus-string-to-byte-array' and
      (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
      (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
      (tramp-gvfs-handle-write-region): Rewrite.
      (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
      (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
      * 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.
    • 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".
      (POSN_WINDOW_POSN, POSN_TIMESTAMP): Be careful since events may come
      from Elisp via unread-command-events.
    • Jay Belanger's avatar
  4. 08 Mar, 2013 5 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.
    • 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.
    • 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.
    • Glenn Morris's avatar
      Fix doc typo in previous change · 48c6afa6
      Glenn Morris authored
    • Glenn Morris's avatar