all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* changelog and diff-add-change-log-entries-other-window (git, HG)
@ 2021-06-19  8:03 Uwe Brauer
  2021-06-19 12:07 ` Stefan Monnier via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 3+ messages in thread
From: Uwe Brauer @ 2021-06-19  8:03 UTC (permalink / raw)
  To: help-gnu-emacs



Hi 

add-change-log-entry-other-window works great in lisp files, and with
some tweaks in LaTeX files, but in other files I am missing some context
information.

So I thought, for files that are under git or HG, to run vc-diff
and then 
diff-add-change-log-entries-other-window

But when I do that, nothing of the diff files is inserted, I cannot see
any difference to add-change-log-entry-other-window.

What do I miss here.

I searched emacs wiki for any enhancement of 
add-change-log-entry-other-window
in the sense that it would add more context based information but cannot
find anything.

Any comments?

Regards

Uwe Brauer 




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: changelog and diff-add-change-log-entries-other-window (git, HG)
  2021-06-19  8:03 changelog and diff-add-change-log-entries-other-window (git, HG) Uwe Brauer
@ 2021-06-19 12:07 ` Stefan Monnier via Users list for the GNU Emacs text editor
  2021-06-20 12:17   ` Uwe Brauer
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier via Users list for the GNU Emacs text editor @ 2021-06-19 12:07 UTC (permalink / raw)
  To: help-gnu-emacs

Uwe Brauer [2021-06-19 10:03:35] wrote:
> add-change-log-entry-other-window works great in lisp files, and with
> some tweaks in LaTeX files, but in other files I am missing some context
> information.

Depends on the major mode of "other files".  Report those problems to
the authors of those major modes (`add-change-log-entry-other-window`
can be supported via `add-log-current-defun-function` but also defaults
to using the info provided by `which-function-mode`, which itself
defaults to using the info provided by `imenu`).


        Stefan




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: changelog and diff-add-change-log-entries-other-window (git, HG)
  2021-06-19 12:07 ` Stefan Monnier via Users list for the GNU Emacs text editor
@ 2021-06-20 12:17   ` Uwe Brauer
  0 siblings, 0 replies; 3+ messages in thread
From: Uwe Brauer @ 2021-06-20 12:17 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 942 bytes --]

>>> "SMvUlftGEte" == Stefan Monnier via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> writes:

> Uwe Brauer [2021-06-19 10:03:35] wrote:
>> add-change-log-entry-other-window works great in lisp files, and with
>> some tweaks in LaTeX files, but in other files I am missing some context
>> information.

> Depends on the major mode of "other files".  Report those problems to
> the authors of those major modes (`add-change-log-entry-other-window`
> can be supported via `add-log-current-defun-function` but also defaults
> to using the info provided by `which-function-mode`, which itself
> defaults to using the info provided by `imenu`).

Aha, ok thanks.

But is there any possibility that 

diff-add-change-log-entries-other-window would add some context
information into the ChangeLog based on the diffs, or is this a
misunderstanding of said function?

Maybe it better to rely on vc-annotate...

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-20 12:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-19  8:03 changelog and diff-add-change-log-entries-other-window (git, HG) Uwe Brauer
2021-06-19 12:07 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-06-20 12:17   ` Uwe Brauer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.