1. 11 Mar, 2013 1 commit
  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-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
  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.
      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
  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.
      11f4d68f
    • 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
      c7a409b6
  8. 04 Mar, 2013 2 commits
  9. 03 Mar, 2013 1 commit
  10. 01 Mar, 2013 6 commits
  11. 28 Feb, 2013 7 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
      9d232fc4
    • 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.
      779451da
    • 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.
      	(ispell-set-spellchecker-params):
      	Call `ispell-find-hunspell-dictionaries' if hunspell and not
      	previously done.
      	(ispell-start-process):
      	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.
      ef3761e3
    • Stefan Monnier's avatar
      * lisp/imenu.el: Comment nitpicks. · 930de676
      Stefan Monnier authored
      930de676
    • 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
      bd0dd755
    • Stefan Monnier's avatar
      * lisp/doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c. · e7a1c32d
      Stefan Monnier authored
      (doc-view-fallback-mode): Remove overlays here.
      (doc-view-toggle-display): Instead of here.  Don't throw away
      image-mode-winprops-alist.
      (doc-view-goto-page): Don't mess with hscroll.
      e7a1c32d
  12. 27 Feb, 2013 2 commits
  13. 26 Feb, 2013 2 commits
  14. 25 Feb, 2013 1 commit