1. 06 Mar, 2013 2 commits
  2. 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
  3. 04 Mar, 2013 2 commits
  4. 03 Mar, 2013 1 commit
  5. 01 Mar, 2013 6 commits
  6. 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
    • 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
    • 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
      (doc-view-goto-page): Don't mess with hscroll.
  7. 27 Feb, 2013 2 commits
  8. 26 Feb, 2013 2 commits
  9. 25 Feb, 2013 5 commits
    • Stefan Monnier's avatar
    • Juri Linkov's avatar
      * lisp/replace.el (read-regexp): Let-bind `default' to the first · cd27a76d
      Juri Linkov authored
      element of `defaults' if it's a list, otherwise it should be
      a string or nil.  Let-bind `suggestions' to `defaults' if it's
      a list, otherwise make a list with the string value.  Doc fix.
      Fixes: debbugs:13805
    • Glenn Morris's avatar
    • Eli Zaretskii's avatar
      Implement CLASH_DETECTION for MS-Windows. · 343a2aef
      Eli Zaretskii authored
       src/filelock.c [WINDOWSNT]: Include w32.h.
       (MAKE_LOCK_NAME): Don't use 'lock', it clashes with MS runtime
       function of that name.  Up-case the macro arguments.
       (IS_LOCK_FILE): New macro.
       (fill_in_lock_file_name): Use IS_LOCK_FILE instead of S_ISLNK.
       (create_lock_file): New function, with body extracted from
       [WINDOWSNT]: Implement lock files by writing a regular file with
       the lock information as its contents.
       (read_lock_data): New function, on Posix platforms just calls
       [WINDOWSNT]: Read the lock info from the file.
       (current_lock_owner): Call read_lock_data instead of calling
       emacs_readlinkat directly.
       (lock_file) [WINDOWSNT]: Run the file name through
       src/w32proc.c (sys_kill): Support the case of SIG = 0, in which case
       just check if the process by that PID exists.
       src/w32.c (sys_open): Don't reset the _O_CREAT flag if _O_EXCL is
       also present, as doing so will fail to error out if the file
       already exists.
       src/makefile.w32-in ($(BLD)/filelock.$(O)): Depend on src/w32.h.
       nt/inc/ms-w32.h (BOOT_TIME_FILE): Define.
       nt/config.nt (CLASH_DETECTION): Define to 1.
       lisp/emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
       that match "\`\.#", to avoid compiling lock files, even if they
       are readable (as they are on MS-Windows).
       doc/emacs/files.texi (Interlocking): Don't refer to symlinks as the
       exclusive means of locking files.
       etc/NEWS: Mention support for lock files on MS-Windows.
    • Stefan Monnier's avatar
  10. 24 Feb, 2013 1 commit
    • Jay Belanger's avatar
      * calc/calc-ext.el (math-to-radians-2, math-from-radians-2): · 7a91562f
      Jay Belanger authored
        Add option to force `pi' to remain symbolic.
      * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
        (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
        (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
        derivatives, when necessary.
  11. 23 Feb, 2013 5 commits
    • Peter Kleiweg's avatar
      Update ps-mode.el from upstream · 2ae3d736
      Peter Kleiweg authored
      * lisp/progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
      (ps-mode-octal-region): Use string-make-unibyte.
    • Glenn Morris's avatar
      Add bug-gnu-emacs to some specialized bug report addresses · e8ba2352
      Glenn Morris authored
      * emulation/viper-cmd.el (viper-submit-report):
      * progmodes/ps-mode.el (ps-mode-maintainer-address):
      * progmodes/vera-mode.el (vera-mode-help-address):
      * textmodes/artist.el (artist-maintainer-address):
      * textmodes/reftex.el (reftex-report-bug):
      * vc/ediff-util.el (ediff-submit-report):
      Add bug-gnu-emacs to bug report address.
    • Glenn Morris's avatar
      Make simula.el special bug reporting obsolete · 3296c443
      Glenn Morris authored
      * progmodes/simula.el (simula-mode-menu, simula-mode-map):
      Remove bug report entries.
      (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
    • Glenn Morris's avatar
      Avoid recursive byte-compile-files fighting over input/output buffers · fd743628
      Glenn Morris authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-level): New.
      (byte-compile-file, byte-compile-from-buffer):
      Use separate input/output buffers for each level of recursive
      byte-compile-file calls.
      Fixes: debbugs:13787
    • Michael Albinus's avatar
      * net/tramp.el (tramp-methods): Fix docstring. · c57a0aff
      Michael Albinus authored
      (tramp-ssh-controlmaster-options): Rename it from
      `tramp-ssh-controlmaster-template'.  Return a string.
      (tramp-default-method): Adapt check for
      * net/tramp-sh.el (tramp-methods): Replace
      `tramp-ssh-controlmaster-template' by "%c".
      (tramp-maybe-open-connection): Use it in format spec.  Ensure,
      that it is applied for the first hop only.
  12. 22 Feb, 2013 5 commits