1. 11 Mar, 2013 7 commits
    • Ted Zlatanov's avatar
    • 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
    • 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
    • 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.
    • 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
  2. 10 Mar, 2013 5 commits
  3. 09 Mar, 2013 3 commits
    • 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.
  4. 08 Mar, 2013 3 commits
  5. 07 Mar, 2013 3 commits
    • 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.
    • 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.
    • Dmitry Gutov's avatar
  6. 06 Mar, 2013 2 commits
  7. 05 Mar, 2013 2 commits
    • Michael Albinus's avatar
      * net/tramp-compat.el (tramp-compat-delete-directory): Implement · 11f4d68f
      Michael Albinus authored
      TRASH argument.
    • Dmitry Gutov's avatar
      Keep pre-existing highlighting in completion candidates. · c7a409b6
      Dmitry Gutov authored
      * lisp/minibuffer.el (completions-first-difference): State that the
      face is "added" in the docstring.
      (completions-common-part): Same.  And don't inherit from default.
      (completion-hilit-commonality): Prepend 'completions-common-part
      and 'completion-first-difference faces to the 'face property,
      instead of replacing the value(s).
      (completion--insert-strings): Same with 'completions-annotations face.
      (completion-hilit-commonality): Use 'face instead of
      'font-lock-face, because it gets priority if the completion
      strings already have 'face set.
      Fixes: debbugs:13250
  8. 04 Mar, 2013 2 commits
  9. 03 Mar, 2013 1 commit
  10. 01 Mar, 2013 6 commits
  11. 28 Feb, 2013 6 commits
    • Juri Linkov's avatar
      * lisp/dired-aux.el (dired-diff): If file at point is a backup file, · 9d232fc4
      Juri Linkov authored
      use its original as the default value, and reverse the order
      of arguments to the `diff' call.  Doc fix.
      Fixes: debbugs:13772
    • Michael Albinus's avatar
      * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ... · 779451da
      Michael Albinus authored
      (tramp-adb-program): New defcustom.  Remove function.  Adapt calls.
    • Agustín Martín's avatar
      Initial support for hunspell dictionaries auto-detection (Bug#13639) · ef3761e3
      Agustín Martín authored
      	* textmodes/ispell.el (ispell-find-hunspell-dictionaries):
      	Ask hunspell about available and default dictionaries.
      	(ispell-parse-hunspell-affix-file): Extract relevant info from
      	hunspell affix file.
      	(ispell-hunspell-fill-dictionary-entry): Fill non-initialized
      	`ispell-dictionary-alist' entry for given dictionary after info
      	provided by `ispell-parse-hunspell-affix-file'.
      	(ispell-hunspell-dict-paths-alist): New defvar to contain an alist
      	of parsed hunspell dicts and associated affix files.
      	(ispell-hunspell-dictionary-alist): New defvar to contain an alist
      	of parsed hunspell dicts and associated parameters.
      	Call `ispell-find-hunspell-dictionaries' if hunspell and not
      	previously done.
      	Call `ispell-hunspell-fill-dictionary-entry' for current
      	dictionary if it is not initialized.
      Some additional details about the implementation:
      (ispell-hunspell-dict-paths-alist): Alist that contains a list of
        parsed hunspell dicts and associated affix files.
      (ispell-hunspell-dictionary-alist): Alist of parsed hunspell dicts and
        associated parameters. It is initially just a list of found
        dictionaries except for the default dictionary where is filled with
        proper parameters.
      When spellchecker is initialized by (ispell-set-spellchecker-params)
      if the conditions: is hunspell, communication can be set to UTF-8 and
      Emacs flavor supports [:alpha:] are matched installed hunspell
      dictionaries are parsed and info passed to
      `ispell-hunspell-dictionary-alist', either full for default dictionary
      or just name for other dictionaries. These entries are used for
      `ispell-dictionary-alist' if not overriden.
      Before starting hunspell process in (ispell-start-process), if
      `ispell-dictionary-alist' entry is not yet initialized
      (ispell-hunspell-fill-dictionary-entry) is called to fill that entry
      (and all pending entries using the same affix file) after info
      extracted by (ispell-parse-hunspell-affix-file) from the associated
      affix file.
      hunspell process will then be started as usual. This delayed procedure
      is used to avoid that in systems containing many hunspell dictionaries
      all affix files are parsed (if there are many, time may be noticeable)
      for just one used dictionary.
    • Stefan Monnier's avatar
      * lisp/imenu.el: Comment nitpicks. · 930de676
      Stefan Monnier authored
    • Sam Steingold's avatar
    • Thierry Volpiatto's avatar
      * lisp/net/net-utils.el (net-utils--revert-function): New fun. · bd0dd755
      Thierry Volpiatto authored
      (net-utils-mode): Use it.
      (net-utils--revert-cmd): New var.
      (net-utils-run-simple): Set it, and remove bogus interactive spec.
      (traceroute): Use net-utils-run-simple.
      Fixes: debbugs:13831