Skip to content
Commits on Apr 20, 2016
Commits on Apr 5, 2016
  1. @lionel-

    Let user override ignored files

    lionel- committed with Apr 5, 2016
    Closes #892
Commits on Apr 1, 2016
  1. Merge pull request #984 from Wilfred/changing_symlinks

    committed Apr 1, 2016
    Ignore cached project roots that point to nonexistent directories
  2. Merge pull request #990 from akermu/fix_edit_dir_locals

    committed Apr 1, 2016
    Fix projectile-skel-dir-locals
  3. Merge pull request #993 from alphapapa/patch-1

    committed Apr 1, 2016
    Clarify initial usage instructions
Commits on Mar 31, 2016
  1. @alphapapa

    Clarify initial usage instructions

    alphapapa committed Mar 31, 2016
    Explain that projectile-mode must be activated for Projectile to remember projects.  Fixes #992.
Commits on Mar 30, 2016
  1. @akermu

    Fix projectile-skel-dir-locals

    akermu committed Mar 30, 2016
Commits on Mar 27, 2016
  1. Merge pull request #988 from justbur/ivy-read

    committed Mar 27, 2016
    projectile.el: ivy-completing-read -> ivy-read
Commits on Mar 26, 2016
  1. @justbur

    projectile.el: ivy-completing-read -> ivy-read

    justbur committed Mar 26, 2016
    ivy-read allows you to specify a caller which is a more reliable version
    of this-command. With ivy-completing-read you can't always tell which
    command was called initially.
    
    See abo-abo/swiper#449 (comment)
  2. @Wilfred

    Ignore cached project roots that point to nonexistent directories

    Wilfred committed with Wilfred Mar 22, 2016
    This fixes an awkward bug when the current project is a symlink that
    changes. Suppose we have the following filesystem layout:
    
        /tmp/projectile_project -> /tmp/first_project
    
    If we now delete /tmp/first_project and change the symlink:
    
        /tmp/projectile_project -> /tmp/second_project
    
    then `projectile-project-root-cache` will contain a key
    `"projectile-root-bottom-up-/tmp/projectile-project"` with value
    `"/tmp/first_project"`. This will stop `projectile-find-file` from working
    as it can't cd to /tmp/first_project.
    
    Instead, we enforce that the string from `projectile-project-root`
    points to a directory that currently exists.
Commits on Mar 22, 2016
  1. Add an issue and a PR template

    committed Mar 22, 2016
  2. Merge pull request #983 from Wilfred/master

    committed Mar 22, 2016
    `etags-tags-completion-table` should return an obarray on Emacs 24
Commits on Mar 20, 2016
  1. @Wilfred

    `etags-tags-completion-table` should return an obarray on Emacs 24.

    Wilfred committed Mar 20, 2016
    PR #946 copied the implementation from Emacs 25. However, Emacs 25
    expects the function to return a list (see Emacs commit 0ac9d09b6dfe479),
    whereas Emacs 24 expects an obarray:
    
        Debugger entered--Lisp error: (wrong-type-argument vectorp ("BUILD_DIR" "CFLAGS" ...))
          mapatoms((closure ((combined-table "Environment" "items" ...) (current-table "BUILD_DIR" "CFLAGS" ...) t) (sym) (intern (symbol-name sym) combined-table)) ("BUILD_DIR" "CFLAGS" ...))
          (if combined-table (mapatoms (function (lambda (sym) (intern (symbol-name sym) combined-table))) current-table) (setq combined-table current-table))
          (while (visit-tags-table-buffer (and combined-table t)) (setq current-table (funcall tags-completion-table-function)) (if combined-table (mapatoms (function (lambda (sym) (intern (symbol-name sym) combined-table))) current-table) (setq combined-table current-table)))
          (save-excursion (while (visit-tags-table-buffer (and combined-table t)) (setq current-table (funcall tags-completion-table-function)) (if combined-table (mapatoms (function (lambda (sym) (intern (symbol-name sym) combined-table))) current-table) (setq combined-table current-table))))
          (let (current-table combined-table) (message "Making tags completion table for %s..." buffer-file-name) (save-excursion (while (visit-tags-table-buffer (and combined-table t)) (setq current-table (funcall tags-completion-table-function)) (if combined-table (mapatoms (function (lambda (sym) (intern ... combined-table))) current-table) (setq combined-table current-table)))) (message "Making tags completion table for %s...done" buffer-file-name) (setq tags-completion-table combined-table))
          (condition-case nil (let (current-table combined-table) (message "Making tags completion table for %s..." buffer-file-name) (save-excursion (while (visit-tags-table-buffer (and combined-table t)) (setq current-table (funcall tags-completion-table-function)) (if combined-table (mapatoms (function (lambda ... ...)) current-table) (setq combined-table current-table)))) (message "Making tags completion table for %s...done" buffer-file-name) (setq tags-completion-table combined-table)) (quit (message "Tags completion table construction aborted.") (setq tags-completion-table nil)))
          (or tags-completion-table (condition-case nil (let (current-table combined-table) (message "Making tags completion table for %s..." buffer-file-name) (save-excursion (while (visit-tags-table-buffer (and combined-table t)) (setq current-table (funcall tags-completion-table-function)) (if combined-table (mapatoms (function ...) current-table) (setq combined-table current-table)))) (message "Making tags completion table for %s...done" buffer-file-name) (setq tags-completion-table combined-table)) (quit (message "Tags completion table construction aborted.") (setq tags-completion-table nil))))
          tags-completion-table()
    
    If there are multiple entries in `tags-table-list`, and the variable
    `tags-completion-table` is nil (no cached value), then the function
    `tags-completion-table` combines all the tags tables in
    `tags-table-list`.
    
    However, the function `tags-completion-table` uses `mapatoms` because it
    expects `tags-completion-table-function` to return an obarray. Insted,
    it dies with the above error.
    
    Several useful commands end up calling `tags-completion-table`, my
    favourite is `company-capf`, which dies with "Company: An error occurred
    in auto-begin" due to this issue.
  2. Merge pull request #973 from danskarda/run-shell

    committed Mar 20, 2016
    Add a commands to run shell/eshell/term in project's root directory
Commits on Mar 19, 2016
  1. @danskarda
Commits on Mar 18, 2016
  1. Merge pull request #957 from jbenden/cache-current-file-has-no-file-a…

    committed Mar 18, 2016
    …ssoc
    
    Do not error inside of `projectile-cache-current-file` when opening a file inside a project
  2. @jbenden

    Fix nil file name for buffer when projectile-cache-current-file

    jbenden committed Jan 31, 2016
    When opening a file from the terminal, it is possible for the
    file to be a project and have the `switch-to-buffer` hook run,
    with a new buffer that has no associated file.
Commits on Mar 17, 2016
  1. Merge pull request #981 from spwhitton/apt-get

    committed Mar 17, 2016
    Debian and Ubuntu installation instructions
  2. @spwhitton

    Debian and Ubuntu installation instructions

    spwhitton committed Mar 16, 2016
    This ELPA package is now available from the Debian and Ubuntu package repositories.
Commits on Mar 12, 2016
  1. Merge pull request #977 from seanfisk/projectile-replace-regexp

    committed Mar 12, 2016
    [Fix #576] Implement `projectile-replace-regexp'
Commits on Mar 8, 2016
  1. Merge pull request #976 from jaseemabid/rebar

    committed Mar 8, 2016
    Improve rebar support
  2. @seanfisk

    [Fix #576] Implement `projectile-replace-regexp'

    seanfisk committed Mar 8, 2016
    This commit introduces a new command, `projectile-replace-regexp', which
    replaces text by regexp within project files using `tags-query-replace'.
    `projectile-replace' is refactored to only replace literal text.
  3. @jaseemabid

    Improve rebar support

    jaseemabid committed Mar 8, 2016
    - Look for rebar.config instead of rebar executable
    - Add regex to toggle source/test files
    
    This is a partial fix for #965
Commits on Mar 4, 2016
  1. [Fix #727] Handle ignored file suffixes in grep

    committed Mar 5, 2016
    File suffixes listed in `projectile-globally-ignored-file-suffixes` will
    now be ignored when using `projectile-grep`.
  2. Merge pull request #974 from holguinj/assoc-cc-and-hpp

    committed Mar 5, 2016
    Associate .cc and .hpp files for C++
  3. @holguinj

    Associate .cc and .hpp files for C++

    holguinj committed Mar 4, 2016
    Some C++ projects use the .hpp suffix for headers and .cc for source
    files, and `projectile-find-other-file` function previously would not
    work in this case. This commit updates the alist of associated file
    extensions to link .cc and .hpp files in both directions.
  4. Fix indentation

    committed Mar 4, 2016
Commits on Feb 28, 2016
  1. Bump the development version

    committed Feb 28, 2016
Commits on Feb 22, 2016
  1. Merge pull request #968 from spwhitton/fix-cleanup-known-projects-test

    committed Feb 22, 2016
    Fix test of `projectile-cleanup-known-projects'
Commits on Feb 21, 2016
  1. @spwhitton

    Fix test of `projectile-cleanup-known-projects'

    spwhitton committed Feb 20, 2016
    This test can fail if user-emacs-dir does not exist.  So make a
    temporary known projects file, as is done in the test of
    `projectile-merge-known-projects' in projectile-known-project-test.el.
  2. Merge pull request #963 from Wilfred/mention_remove_known_project

    committed Feb 21, 2016
    Mention projectile-remove-known-project
Commits on Feb 20, 2016
  1. @Wilfred

    Mention interactive functions for cleaning up known project list.

    Wilfred committed Feb 9, 2016
    These handy functions are largely undocumented, so add them to the
    docstring to aid discoverability.
Something went wrong with that request. Please try again.