Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signature as version indicator #534

Open
bdillahu opened this issue Jan 19, 2025 · 4 comments
Open

Signature as version indicator #534

bdillahu opened this issue Jan 19, 2025 · 4 comments
Labels
documentation Improvements or additions to documentation

Comments

@bdillahu
Copy link

Just as a thought of maybe a future enhancement - use the "Signature" section of the name to indicate a version (i.e. v0 is the original, v1 is the next version, etc.) - I know we can (and many do) keep files in version controlled repositories and things, but sometimes (especially for non-developers who may not use vc much), just making a copy and "tagging" a version is useful.

Most of my career I did IT support for US Legal firms - nearly all document management systems for lawyers "tag" versions of documents with some indicator in the name or the DMS metadata.

Again, just a thought.

It can certainly be done manually now, and I may try that.

@protesilaos
Copy link
Owner

protesilaos commented Jan 20, 2025 via email

@protesilaos
Copy link
Owner

That granted, you can always use M-x denote-rename-file-signature. At the prompt, it retains the current signature, so it is probably not too much work to edit it there.

@bdillahu
Copy link
Author

Yes, the M-x denote-rename-file-signature will handle that basic to do it manually.

I guess my "ideal" would be something like:

M-x denote-version-file or something

  • choose in mini-buffer what file (or use current file, or file at point in dired, etc.)
  • make a copy of the file as it is, incrementing the version number in the signature to one higher than the max
  • if no version the existing file would become v0

Would leave the question (that I just thought of) - what if I'm currently in v3 and I make a new version, but there are already v4 and v5. I guess I would copy v3 and make it v6, leaving v4 and v5 in place.

@protesilaos
Copy link
Owner

Thanks for the explanation! This is something we can cover in the manual. I will flesh it out as soon as I can.

@protesilaos protesilaos added the documentation Improvements or additions to documentation label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants