Macaulay2 / Macaulay2/M2

file paths should not be wrapped

Open
#4,149 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Interpreter
Dominant language
Macaulay2
Stars
435
Forks
297
Avg merge
4d 20h
Merged PRs (30d)
11

Description

Clicking on the file path here doesn't work:
```m2
i1 : code methods cone

o1 = -- code for method: cone(ComplexMap)
../linuxbrew/.linuxbrew/Cellar/macaulay2/1.25.11_3/share/Macaulay2/
Complexes/ChainComplexMap.m2:860:30-880:5: --source code:
cone ComplexMap := Complex => f -> (
```
Either Emacs should ignore newline+tab or paths should not be wrapped.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the displayed file path in the Emacs integration and inspect how the path and source location are rendered. The issue is done when the full path remains clickable, either by preserving it on one line or by making Emacs ignore the inserted newline and indentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.