From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Fredrik Nyqvist Newsgroups: gmane.emacs.bugs Subject: bug#38343: 27.0.50; vc git: Cannot edit outgoing log (like git commit --amend) Date: Sat, 23 Nov 2019 11:01:46 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000eb0ace0598009ea8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="115510"; mail-complaints-to="usenet@blaine.gmane.org" To: 38343@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 23 11:03:16 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iYSG3-000TvD-OG for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Nov 2019 11:03:15 +0100 Original-Received: from localhost ([::1]:57914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYSG1-0006gK-Q4 for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Nov 2019 05:03:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51352) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYSFu-0006fh-2o for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2019 05:03:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iYSFs-00014Q-JJ for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2019 05:03:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47002) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iYSFs-00014K-Eh for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2019 05:03:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iYSFs-0000E3-7U for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2019 05:03:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Fredrik Nyqvist Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Nov 2019 10:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38343 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1574503326800 (code B ref -1); Sat, 23 Nov 2019 10:03:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Nov 2019 10:02:06 +0000 Original-Received: from localhost ([127.0.0.1]:55823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iYSEt-0000Co-Ld for submit@debbugs.gnu.org; Sat, 23 Nov 2019 05:02:04 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:52316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iYSEs-0000Ch-7f for submit@debbugs.gnu.org; Sat, 23 Nov 2019 05:02:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51224) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYSEq-0006Uk-DN for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2019 05:02:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iYSEo-0000Wg-SU for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2019 05:02:00 -0500 Original-Received: from mail-qk1-x734.google.com ([2607:f8b0:4864:20::734]:37414) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iYSEo-0000Vj-NP for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2019 05:01:58 -0500 Original-Received: by mail-qk1-x734.google.com with SMTP id e187so8561253qkf.4 for ; Sat, 23 Nov 2019 02:01:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=whXPMXi92s1qjwFN6hnKAgMOsm6R29utrvK5EEhOfYg=; b=ABlmPkZAoPJ730+nzDtlSPbOEiNrMuaorCRjYhCKICYgn/BRo1prHFKCdWvQ3KDEl4 qvQg29NYnx60IrSNYLqDkb40en+sULxQE8NTlqi1XuCPdyx2qZ6x0PEtjBJCx2rlXbgA Ti2lF2rNI6iMEOkdU8lR/kIK5Nh4ruJGsJo9zvGIstqzojNpO+CKXgfV+hsiSsdjQ9G3 qqI/2rhHbNLf1YJEx26zY1zJgQl78vHCpKMnWLcIAELTgt5NGtxLbDKihDGsjKkw5cl4 kc3HxBz78TnvToQw+4Ix9Vw3toX9AZCZSbu4rbVw5ptdbswEnQDr514142AiixU7lBDB 95Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=whXPMXi92s1qjwFN6hnKAgMOsm6R29utrvK5EEhOfYg=; b=GvwCsUO1bPjXWr9MysxHARTMkxvwFrXznM+ymUyGgBf1ekoAh2s1uHX6IVdZBhkI3i EcMpah38ssmeaC+KfvxYMqCXl0n8JaVeuSGIpPcaX039P88TxtjqygzMaptuJz4yzw11 aMq+RwdVKWFRhz6GGsCSNFmP5nq6Aj0M9U/7WZGXCrtMyPSLLPAu/eeKFF9jYCYL53ue vngck4v2BS0BRu1QdjK2hFE69xoHM7nLLe9mzryzaAMhMhpW0q1UAW2eFWIAeA+gOFBM cllXpXWX+TxZOxLqRKxsTDKrqq+99oCatL0c5oXgm9MVV6KwxF/fFLqWY0AE79TDlhsP 3o2A== X-Gm-Message-State: APjAAAXGm1QfpuxhGUXHeFo2Gu1IveBuGVx5TUdVa84+7t7XTU1Uc1Ph T9aa4OVIOH7zYhfOUSgSEsd7bE8LPyQyQ+n51+omNUaJ X-Google-Smtp-Source: APXvYqy8sLst6IL3NRo0GxPiTb1eCgWP/abdU17gqlu3hfZtptNjoBZ6K3vr8aS1nYJp1HKmAEyPq0idRZ2HJ62bntM= X-Received: by 2002:a37:514:: with SMTP id 20mr5790965qkf.321.1574503317177; Sat, 23 Nov 2019 02:01:57 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:172275 Archived-At: --000000000000eb0ace0598009ea8 Content-Type: text/plain; charset="UTF-8" Hi, I would like to use vc mode to edit an outgoing commit message. Steps to reproduce: 1. emacs -Q /path/to/git/repo 2. Edit a file and then 3. Run vc-next-action to create a commit: C-x v v 4. Write a commit message and end with C-c C-c 5. Now Open the outgoing log (vc-log-outgoing) : C-x v O 6. Try to edit the commit message (log-view-modify-change-comment): e This message is printed: log-view-current-file: Unable to determine the current file In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5) of 2019-11-23 built on gnu Repository revision: 6d4d00c63417e3479e978a373f252b9f2709ce39 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux 10 (buster) Recent messages: Auto-saving...done Specified image bit depth is not supported by XRender [2 times] Configured features: XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS FREETYPE HARFBUZZ XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS PDUMPER GMP Important settings: value of $LANG: sv_SE.UTF-8 locale-coding-system: utf-8-unix Major mode: Dired by name Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (help-mode pp shadow sort mail-extr emacsbug message rmc puny format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils dired dired-loaddefs tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 49936 10334) (symbols 48 6110 0) (strings 32 15815 1297) (string-bytes 1 516576) (vectors 16 10114) (vector-slots 8 132119 14836) (floats 8 23 70) (intervals 56 347 6) (buffers 1000 16)) --000000000000eb0ace0598009ea8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I would like to use vc mode to edit an outgoing= commit message.

Steps to reproduce:
1. emacs -Q /path/to/git/rep= o
2. Edit a file and then
3. Run vc-next-action to create a commit: C= -x v v
4. Write a commit message and end with C-c C-c
5. Now Open the= outgoing log (vc-log-outgoing) : C-x v O
6. Try to edit the commit mess= age (log-view-modify-change-comment): e

This message is printed:
=
log-view-current-file: Unable to determine the current file


= In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5)=C2=A0of 2019-11-23 built on gnu
Repository revision: 6d4d00c63417e3479= e978a373f252b9f2709ce39
Repository branch: master
Windowing system di= stributor 'The X.Org Foundation', version 11.0.12004000
System D= escription: Debian GNU/Linux 10 (buster)

Recent messages:
Auto-sa= ving...done
Specified image bit depth is not supported by XRender [2 tim= es]

Configured features:
XPM JPEG TIFF GIF PNG SOUND DBUS GSETTIN= GS GLIB NOTIFY INOTIFY
LIBSELINUX GNUTLS FREETYPE HARFBUZZ XFT ZLIB TOOL= KIT_SCROLL_BARS GTK3
X11 XDBE XIM MODULES THREADS PDUMPER GMP

Imp= ortant settings:
=C2=A0 value of $LANG: sv_SE.UTF-8
=C2=A0 locale-cod= ing-system: utf-8-unix

Major mode: Dired by name

Minor modes = in effect:
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2= =A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-ba= r-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
= =C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink= -cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryptio= n-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 buffer-read-only: t<= br>=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: t

Load-= path shadows:
None found.

Features:
(help-mode pp shadow sort = mail-extr emacsbug message rmc puny
format-spec rfc822 mml easymenu mml-= sec password-cache epa derived epg
epg-config gnus-util rmail rmail-load= defs text-property-search time-date
subr-x seq byte-opt gv bytecomp byte= -compile cconv mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbr= ev gmm-utils mailheader cl-loaddefs
cl-lib sendmail rfc2047 rfc2045 ietf= -drums mm-util mail-prsvr mail-utils
dired dired-loaddefs tooltip eldoc = electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win = x-win term/common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe= tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-m= ode register page tab-bar menu-bar
rfn-eshadow isearch timer select scro= ll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-color= s frame minibuffer cl-generic
cham georgian utf-8-lang misc-lang vietnam= ese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew gr= eek romanian slovak czech
european ethiopic indian cyrillic chinese comp= osite charscript charprop
case-table epa-hook jka-cmpr-hook help simple = abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macro= exp files
text-properties overlay sha1 md5 base64 format env code-pages = mule
custom widget hashtable-print-readable backquote threads dbusbindinotify dynamic-setting system-font-setting font-render-setting
move-t= oolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory = information:
((conses 16 49936 10334)
=C2=A0(symbols 48 6110 0)
= =C2=A0(strings 32 15815 1297)
=C2=A0(string-bytes 1 516576)
=C2=A0(ve= ctors 16 10114)
=C2=A0(vector-slots 8 132119 14836)
=C2=A0(floats 8 2= 3 70)
=C2=A0(intervals 56 347 6)
=C2=A0(buffers 1000 16))
--000000000000eb0ace0598009ea8--