From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: log-edit-insert-changelog even when run git/hg from the Date: Fri, 30 Sep 2022 03:58:58 +0300 Message-ID: References: <87fsgyuyh7.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22779"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 To: Uwe Brauer , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 30 02:59:53 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oe4Nd-0005pQ-7C for ged-emacs-devel@m.gmane-mx.org; Fri, 30 Sep 2022 02:59:53 +0200 Original-Received: from localhost ([::1]:45690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oe4Nb-0007AB-Ph for ged-emacs-devel@m.gmane-mx.org; Thu, 29 Sep 2022 20:59:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oe4My-0006TI-5a for emacs-devel@gnu.org; Thu, 29 Sep 2022 20:59:12 -0400 Original-Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:40509) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oe4Mw-0004UB-5x for emacs-devel@gnu.org; Thu, 29 Sep 2022 20:59:11 -0400 Original-Received: by mail-wr1-x42d.google.com with SMTP id x18so4568479wrm.7 for ; Thu, 29 Sep 2022 17:59:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date; bh=D3A1okYuRNkKmK7bNZeRJQG1ULwAqOwBi8GNI2kdL5Y=; b=QIErBc0VWYQhYfXF14/gQaC8GVfeIBVienqTrAOWAGd1121LnhzG9sQ25YVs/qH1lu 5oewSjSo7z3NLiVGselUg+0JEJTn3wISjJe7nO+ssRfioXZCa5Yo8sfER8m/m8/FQswv aDVdK8uedNI3Z/G169M7913f3ZrPnuQmHL1mgQQDvwI3s5h8s7mqNfko4+aJ3KS8hhYj oxcDxlABvpPtDcsOakOR9j7drRSrz7TsrRZcnLteENd2kqZmVKmcqhFs2v2mxoLuRBtd Cp42YDDYB0rJumT41ae4oMi/d1P1UciCl7xKCNPmCZVITmOf4/SSWAkRwYSFJ1xoymAh ePUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date; bh=D3A1okYuRNkKmK7bNZeRJQG1ULwAqOwBi8GNI2kdL5Y=; b=PieaR0h42Lru1BfRIC4rB+hUI9Os/pzr/icrViJ7MIk/Ngb+pJpCajrPy0cMIeH5UH pBYtkH8HQ0dPK+5HK+S6Yua2vTKhV3sVilAckZoiXaZmQ2a+VyaMSpGJJlkPxKIvrZ/h HwRImOEz/lX1yVYGP80hJyh0t4uWB69PgMgIHSsHSY7jdsJ7+QtZJwfvmtYRUPn7wbZd 2UTQNP9Vc41pYAKNKkeHEhw8AHVarDIYhFWeThuo3bsRQYvSaZaLWdVf/lFD3b2ZOhvU 7iPmK2W7KZPQQtvhtp/ytrVpgU5osXnosF7xHJJpPeDyAkmLiPxdvYcvnmxa60A5OHYs iSTg== X-Gm-Message-State: ACrzQf28+B7rGh8MAjxsteXAugFeqbUBQsXt97yCbJN0yzgb1QmmaEVx +M+x05r8sjAc3U8bnE1QqoA= X-Google-Smtp-Source: AMsMyM7LQqIV0BNJZghh4v2nAV2XfhP1zrlRzMrx6phHsmLtCPJteL6EcVKvKQJmp8EhqxDwToYT7g== X-Received: by 2002:adf:d1e3:0:b0:22a:b9e2:8841 with SMTP id g3-20020adfd1e3000000b0022ab9e28841mr3998146wrd.184.1664499539989; Thu, 29 Sep 2022 17:58:59 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id j6-20020a05600c190600b003b477532e66sm4414191wmq.2.2022.09.29.17.58.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Sep 2022 17:58:59 -0700 (PDT) Content-Language: en-US In-Reply-To: <87fsgyuyh7.fsf@mat.ucm.es> Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=raaahh@gmail.com; helo=mail-wr1-x42d.google.com X-Spam_score_int: -55 X-Spam_score: -5.6 X-Spam_bar: ----- X-Spam_report: (-5.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-4.099, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:296486 Archived-At: On 11.09.2022 11:06, Uwe Brauer wrote: > There are operations such as rebase, that I cannot run from with vc. > > So I use the command line and run > > git or hg ci > > My default editor is emacsclient. > > The emacs pops up for the commit message, however it is in text mode. > > Moreover in the of hg I use > !TMP=$($HG root) $HG commit > > This way I am sure that emacsclient «is in the directory» I fired the ci > command. > > Even when I turn on vc-hg-log-edit-mode > log-edit-insert-changelog does not insert an entry from the ChangeLog > file > > So the question is can this achieved somehow? Have you tried calling it with the prefix argument? Thus enabling the USE-FIRST logic.