You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`projectile-use-comint-mode' promises an interactive buffer for what
Projectile runs, and `t' reads as all of it - but `projectile--run-task'
never passed the flag on, so a task always landed in a read-only
compilation buffer. The reporter's case is a system rebuild that needs a
sudo password: there is nowhere to type it, so the task simply can't be
run.
Not a regression from folding the six per-command options into one in
3.4 - no per-task option ever existed - but the single option reads like
it covers everything, and tasks go through the same runner and the same
command history. So they're covered now: `task' can be named in the list,
and `t' includes them.
`projectile-use-comint-mode-p' also returns a real boolean now. It was
handing back whatever `memq' found, so a list-valued option sent its own
tail into `compile' as the COMINT argument. Harmless, since only its
truthiness was ever read, but it made the new spec assert on `(task)'.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,10 @@
6
6
7
7
## master (unreleased)
8
8
9
+
### Bugs fixed
10
+
11
+
-[#2157](https://github.com/bbatsov/projectile/pull/2157): `projectile-use-comint-mode` now covers the named tasks run by `projectile-run-task`, which were always given a read-only compilation buffer however it was set - so a task that needs to ask for a sudo password had nowhere to type one ([#2156](https://github.com/bbatsov/projectile/issues/2156)). Name `task` in the list, or set the option to `t`.
0 commit comments