otavioschwanck / harpoon.el

Harpoon for emacs
GNU General Public License v3.0
93 stars 7 forks source link

Suggestion: harpoon to work with non-project directories #4

Closed Qkessler closed 2 years ago

Qkessler commented 2 years ago

Hi there, Just dropping a quick issue to request a feature which in my opinion would add a lot to the package.

Harpoon could work with directories that don't have any project, or even workspaces (for example using tab-bar). For the latter there are a couple of interesting new packages (emacs-workspaces and more) that you could take inspiration from.

For both non-project directories and workspaces, the file name for the harpoon file would be unique, but it wouldn't be a problem to modify the name to be unique (users might have same names for workspaces and projects).

What do you think? I was thinking of hacking it myself, but thought it would be interesting to drop by and get your opinion. Best, Enrique.

otavioschwanck commented 2 years ago

Nice idea, ill work this

otavioschwanck commented 2 years ago

Hi there, Just dropping a quick issue to request a feature which in my opinion would add a lot to the package.

Harpoon could work with directories that don't have any project, or even workspaces (for example using tab-bar). For the latter there are a couple of interesting new packages (emacs-workspaces and more) that you could take inspiration from.

For both non-project directories and workspaces, the file name for the harpoon file would be unique, but it wouldn't be a problem to modify the name to be unique (users might have same names for workspaces and projects).

What do you think? I was thinking of hacking it myself, but thought it would be interesting to drop by and get your opinion. Best, Enrique.

Hi,

I`ve added a way to use harpoon without a project:

https://github.com/otavioschwanck/harpoon.el#extra-tips-for-harpoon-without-project-function

If it attends your suggestion, please close the issue

Qkessler commented 2 years ago

Seems like a good start! Will test things out today, good work!

Best, Enrique.

On Sun, Feb 20, 2022 at 06:02 Otávio Schwanck dos Santos < @.***> wrote:

Hi there, Just dropping a quick issue to request a feature which in my opinion would add a lot to the package.

Harpoon could work with directories that don't have any project, or even workspaces (for example using tab-bar). For the latter there are a couple of interesting new packages (emacs-workspaces and more) that you could take inspiration from.

For both non-project directories and workspaces, the file name for the harpoon file would be unique, but it wouldn't be a problem to modify the name to be unique (users might have same names for workspaces and projects).

What do you think? I was thinking of hacking it myself, but thought it would be interesting to drop by and get your opinion. Best, Enrique.

Hi,

I`ve added a way to use harpoon without a project:

https://github.com/otavioschwanck/harpoon.el#extra-tips-for-harpoon-without-project-function

If it attends your suggestion, please close the issue

— Reply to this email directly, view it on GitHub https://github.com/otavioschwanck/harpoon.el/issues/4#issuecomment-1046163780, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALN7QXCVODUYD2F2GWF3RTTU4BYVXANCNFSM5OSN42PQ . You are receiving this because you authored the thread.Message ID: @.***>

-- Enrique Kessler Martínez. c/ Jiménez de la espada, Cartagena, España.

otavioschwanck commented 2 years ago

Seems like a good start! Will test things out today, good work! Best, Enrique. On Sun, Feb 20, 2022 at 06:02 Otávio Schwanck dos Santos < @.> wrote: Hi there, Just dropping a quick issue to request a feature which in my opinion would add a lot to the package. Harpoon could work with directories that don't have any project, or even workspaces (for example using tab-bar). For the latter there are a couple of interesting new packages (emacs-workspaces and more) that you could take inspiration from. For both non-project directories and workspaces, the file name for the harpoon file would be unique, but it wouldn't be a problem to modify the name to be unique (users might have same names for workspaces and projects). What do you think? I was thinking of hacking it myself, but thought it would be interesting to drop by and get your opinion. Best, Enrique. Hi, I`ve added a way to use harpoon without a project: https://github.com/otavioschwanck/harpoon.el#extra-tips-for-harpoon-without-project-function If it attends your suggestion, please close the issue — Reply to this email directly, view it on GitHub <#4 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALN7QXCVODUYD2F2GWF3RTTU4BYVXANCNFSM5OSN42PQ . You are receiving this because you authored the thread.Message ID: @.> -- Enrique Kessler Martínez. c/ Jiménez de la espada, Cartagena, España.

just submitted a quick fix, dont forget to upgrade!