haskell / haskell/haskell-mode
beginning-of-defun-function and end-of-defun-function go too far
Open
well-defined-task
- Dominant language
- Emacs Lisp
- Stars
- 1.4k
- Forks
- 354
- Avg merge
- 5d 10h
- Merged PRs (30d)
- 2
Description
`beginning-of-defun-function` should put cursor in column 0 where the definition begins (currently it puts it at the end of line the line before).
`end-of-defun-function` should put cursor in column 0 after last line of the definition (currently it can go many empty lines below it).
Contributor guide
Research direction
Locate the implementations of beginning-of-defun-function and end-of-defun-function, then inspect how each positions the cursor at definition boundaries. Confirm the behavior with definitions that have preceding or trailing empty lines; done means both functions stop in column 0 at the specified boundary without overshooting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- emacs, emacs-lisp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100