From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: zonk *log-edit-files* for RCS (or when there is only one file) Date: Tue, 09 Feb 2021 14:06:13 -0500 Message-ID: <87a6sd5ae2.fsf@gnuvola.org> References: <87r1lp5foh.fsf@gnuvola.org> <871rdpkv1p.fsf@zoho.eu> <87k0rh5e20.fsf@gnuvola.org> <87mtwdjepy.fsf@zoho.eu> <87eehp5cqf.fsf@gnuvola.org> <87blctjdxh.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13816"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 09 20:38:36 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1l9YqI-0003Rp-Bq for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 20:38:34 +0100 Original-Received: from localhost ([::1]:33468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9YqH-0001tg-D5 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 14:38:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52614) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9YLW-0004LP-4O for help-gnu-emacs@gnu.org; Tue, 09 Feb 2021 14:06:47 -0500 Original-Received: from delivery.mailspamprotection.com ([146.66.121.88]:45397) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9YLO-0002bJ-Np for help-gnu-emacs@gnu.org; Tue, 09 Feb 2021 14:06:42 -0500 Original-Received: from 241.110.209.35.bc.googleusercontent.com ([35.209.110.241] helo=giow1035.siteground.us) by se24.mailspamprotection.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1l9YLG-000GJd-DY for help-gnu-emacs@gnu.org; Tue, 09 Feb 2021 13:06:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnuvola.org ; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=vE+wqlU26aWHNrJKfFD2pvnnq0dNUBn1jVvEoFyK0QU=; b=mBipA00iAWBZx/TCEObjqKS1tf nMM4F3ibZiZ0YXz3E7SYXRbtMYZziq32teLwawqwXvHNFShCLST1i3Oa0CeAaW15tz9jZI0IScTQa 485B43UHU77ONQJUnPzuNWkSpn4w4LJQvqVlJuzlkEB6GM8f+1mWULZmnddy0U9MarTA=; Original-Received: from [50.89.166.226] (port=52664 helo=miasma) by giow1035.siteground.us with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90.1) (envelope-from ) id 1l9YL6-0001df-O1 for help-gnu-emacs@gnu.org; Tue, 09 Feb 2021 21:06:20 +0200 In-Reply-To: <87blctjdxh.fsf@zoho.eu> (Emanuel Berg via Users list for the's message of "Tue, 09 Feb 2021 19:26:02 +0100") X-Originating-IP: 35.209.110.241 X-SpamExperts-Domain: giow1035.siteground.us X-SpamExperts-Username: 35.209.110.241 Authentication-Results: mailspamprotection.com; auth=pass smtp.auth=35.209.110.241@giow1035.siteground.us X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.18) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT/p2pwFoypdjP2+YN4op0h9PUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5ztkw0Sp1bKbDyWds9ioHWR9V7VV/MfM8W1KAr4lekKT4JL M0i5ZAms0EHrvcCaVIOD9Joj5+8ufDvPSeovaVE2zIXV52OyeiH3YVVX92r9x6alwDCnxukAFH0a kDmPvhLeHxScwI7Z7DCeP9cGtayvj4tANry8HDRI8Ro4ghK3flsOd0QJrGYbUb6G5rsuMGuMyGnD IpSchlco6RIDoNg/c+4l84gBClgS15jvOaQcD2hfj9whi8KpGkNMaaLS9DIcqbdy+7WYS7ujrPXH qhox0HpT3S2SFmqVvJUoDpLg17fDQD9rTYKpWUjzugBu3bSZMNCdTf3VhQ5Kwn7v2Ln9pLzJ+tKH 5sEcYC081STUFBUdFqkFA+YKkUlydLh5cSaHt73jJKU44zPi+Pzpc9G5DMXe7HNAN2+ce9dIwwYz hLSJjzN5e8VFlEjmqR4rzvUXKu1VbgppFJRGoXLED7mHbbgVl4iunqFoEGZzSy+km6VHO6XhXqN3 g0DWG4Tioc84Kpmg5+UpQ2PZprb+nvdWlgS6K9aAlnrXFI3hveFdl1xtBpJ+PFPoWjUkXmXVcRAW KXuRQpaeqt+hySnKj3XavJFT3bIcF2l31MhzH6SYSl9e17V7WvBKRDPihsQRMgWKum9sC/+QkKLq f7xDcOa+1P3k2kPy9wmDetZJiaD6+Tx0GuEAJqQ00Zpp957SE4wCVh4ANifEKBwT68iJgrzNd5Xd G63CgJuXpt48NSiQMYLUAj1reKtuJ X-Report-Abuse-To: spam@quarantine1.mailspamprotection.com Received-SPF: pass client-ip=146.66.121.88; envelope-from=ttn@gnuvola.org; helo=delivery.mailspamprotection.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:127731 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable () Emanuel Berg via Users list for the GNU Emacs text editor () Tue, 09 Feb 2021 19:26:02 +0100 Well, then there is just one thing to do, use the source, Luke! The lisp/vc/log-edit.el file seems interesting. Indeed. Here's what i cooked up: (defun ttn-log-edit-show-files-maybe () (unless (null (cdr (log-edit-files))) (log-edit-show-files))) =20 (remove-hook 'log-edit-hook 'log-edit-show-files) =20 (add-hook 'log-edit-hook 'ttn-log-edit-show-files-maybe t) It works fine, although i suspect the moment i add it to my pile of hacks, someone will check-in a more elegant method... :-D =2D-=20 Thien-Thi Nguyen ----------------------------------------------- (defun responsep (query) ; (2021) Software Libero (pcase (context query) ; =3D Dissenso Etico (`(technical ,ml) (correctp ml)) ...)) 748E A0E8 1CB8 A748 9BFA =2D-------------------------------------- 6CE4 6703 2224 4C80 7502 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iG4EARECAC4WIQR0jqDoHLinSJv6bORnAyIkTIB1AgUCYCLdJxAcdHRuQGdudXZv bGEub3JnAAoJEGcDIiRMgHUCbwQAnj3OttRUMzdnkKalK1GPpvSrl/UGAKDewhzh KLVXvUQ7IAP56/qDpOiAug== =ew9O -----END PGP SIGNATURE----- --=-=-=--