-
Notifications
You must be signed in to change notification settings - Fork 1
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
I can add a director using dired-annotator-edit-note but after restarting emacs complains #7
Comments
Given the log message, something goes wrong reading the annotation files (the files holding the actual annotation). This happens if either the file is not found or the file found does not contain the expected (generated) data in the properties of the org file. I can think of two things that might go wrong: In case this does not help, please increase the log level. That might give you some hint on what actually goes wrong (see https://github.com/gunther-bachmann/emacs-dired-annotator#reporting-issues). Currently it sounds like something that could be solved through configuration changes (hopefully). Kind regards |
Oh, and by the way, guess I have no check for that but folders cannot be annotated (currently). (Just in case you tried that) |
Step to reproduce the behavior: Put the cursor on a directory not a file For example
Run Generated org file looks like:
I also attach this file, so it seems that the dired annotator, does not reject, adding a note to a directory but then generates a file with syntax errors. regards Uwe Brauer |
oh yes I tried, it (I consider it as very useful BTW) dired-annotar did not protest, so I thought... any chance to add this feature ? |
I manually changed
to
and I could then run
and it worked! The icons do not work, however |
Ah, ok, interesting. I'll have a closer look at that. Looks like the feature could be implemented without too much effort ... Concerning the (note) icons: Do they show for files? Or do they not show at all? |
>> "GB" == Gunther Bachmann ***@***.***> writes:
Ah, ok, interesting. I'll have a closer look at that. Looks like the
feature could be implemented without too much effort ...
That would be great.
Concerning the (note) icons: Do they show for files? Or do they not show at all?
The icons for files are displayed, but not for directories.
…--
I strongly condemn Hamas heinous atrocities on Israel, especially the despicable pogroms.
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military.
I support the EU and NATO membership of Ukraine.
|
I got the spot that is responsible for that (haven't changed anything here for a long time). |
Please check with version v0.0.7, this should work with directories, too |
it is even worse, I went to directory in which only 4 files have annotation, no subdirectory nothing, but now, everything every file and every subdirectory gets an icon. I thought that heppened because I added a note to a directory, but that is not the case |
I just checked commit 7ab83bf |
Ouch. Guess this might work only for my shell. Which shell are you using as a default? The command I added is probably very 'bash' specific. I'll make it more portable. |
I pushed a commit that should fix the problems you described. Could you please check that? |
tcsh |
I have my dired-annotator files in
~/emacs/dired-annotation-files/
I then can add via
dired-annotator-edit-note
add a note to the whole directory and everything looks fine.However when I restart emacs I receive message like
What do I miss?
regards
Uwe Brauer
The text was updated successfully, but these errors were encountered: