haskell / haskell/haskell-mode

haskell-tags-on-save reports success even in case of failure

Open
#1,423 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Emacs Lisp
Stars
1.4k
Forks
354
Avg merge
5d 10h
Merged PRs (30d)
2

Description

To replicate:
1. don't have `hasktags` in path
2. `(setq haskell-tags-on-save t)`
3. Go to a Haskell file and save it
4. check `*Messages*`

```
xargs: hasktags: No such file or directory
Tags generated.
```

haskell-mode 365c2270ffe30fcfe2158701c3d83d00cf6f5a42

Contributor guide

Open the contributing guide

Research direction

Start by tracing the haskell-tags-on-save behavior when a Haskell file is saved and checking how the hasktags command result is reported in *Messages*. Reproduce the missing-hasktags case, then verify that a failed command no longer produces the "Tags generated." success message.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs-lisp
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.