[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: feature proposal? add-change-log-entry does not find the ChangeLog f
Re: feature proposal? add-change-log-entry does not find the ChangeLog file: change-log-directory-files
Tue, 04 Sep 2018 12:20:35 -0500
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
Uwe Brauer <address@hidden> writes:
>My problem is, if I am in a subdirectory of my mercurial (or git)
>repository and run add-change-log-entry, does not open the ChangeLog
>file in the «root» directory but tries to open the none existing
>ChangeLog file in the current subdirectory, which I don't want.
>Any ideas how to deal with this situation?
>I tried to set
>| change-log-directory-files is a variable defined in ‘add-log.el’.
>| Its value is (".bzr" ".git" "../.hg" ".hg" ".svn")
>| Original value was
>| (".bzr" ".git" ".hg" ".svn")
>Did not help. Is this feature not implemented? By this I mean: suppose
>in a directory under VC, there is only one ChangeLog file in the root
>directory, then if I call add-change-log-entry there is no way to tell
>emacs that he only looks for that file?
A moment ago, I followed up with a proposal to walk up the tree -- which turns
out to be what the current behavior is supposed to be anyway, and is what you
expected -- because I didn't realize that that behavior was already implemented.
Then I read the doc string for `find-change-log' and the behavior described
there seems to be exactly what you wanted and expected.
So I *think* the behavior you want is the behavior Emacs is already supposed to
have. Have you simply discovered a bug, or is there something subtle about
your situation that is not covered by the current intended behavior of