From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#28570: 27.0.50; [PATCH] Disable unhelpful default Extra: header in vc-dir Date: Mon, 25 Sep 2017 03:24:15 +0300 Message-ID: <96981f7d-f3ca-b7bb-89aa-10c211249603@yandex.ru> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1506299116 21565 195.159.176.226 (25 Sep 2017 00:25:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 25 Sep 2017 00:25:16 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Thunderbird/56.0 To: =?UTF-8?Q?G=C3=B6ktu=C4=9F?= Kayaalp , 28570@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 25 02:25:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwHCs-0004rs-Sh for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Sep 2017 02:25:07 +0200 Original-Received: from localhost ([::1]:40050 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwHCx-0005JF-Nn for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 20:25:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwHCr-0005C6-Cg for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 20:25:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwHCo-0000ej-7p for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 20:25:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48156) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dwHCo-0000eD-4W for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 20:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dwHCn-0001mb-SO for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 20:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Sep 2017 00:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28570 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 28570-submit@debbugs.gnu.org id=B28570.15062990666805 (code B ref 28570); Mon, 25 Sep 2017 00:25:01 +0000 Original-Received: (at 28570) by debbugs.gnu.org; 25 Sep 2017 00:24:26 +0000 Original-Received: from localhost ([127.0.0.1]:56837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwHCE-0001lh-GV for submit@debbugs.gnu.org; Sun, 24 Sep 2017 20:24:26 -0400 Original-Received: from mail-wr0-f177.google.com ([209.85.128.177]:50834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwHCC-0001lU-OD for 28570@debbugs.gnu.org; Sun, 24 Sep 2017 20:24:25 -0400 Original-Received: by mail-wr0-f177.google.com with SMTP id w12so5053666wrc.7 for <28570@debbugs.gnu.org>; Sun, 24 Sep 2017 17:24:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=uJIKE/pGQWhi5WJS/zW9DLXl+UaZJlLiksBzciJyu6A=; b=INnPL1jAM3Wi54CLRz6fujZR/1KQgMAYK5NMjs89P81fSP9GMghV6m2yXNcDsiOg1P HvlYc5WHfVvzTJLcpWKSzrOhD70jBoEhAz6NxxLdIj1zS6Z380UOBEXhWbkQS/uanqNe SbSBo7BD+xGcRVcugic/zx8rf+h0ct2TJEZeM61V06cjf7mzp5wYXapBHYF+8P8E8Jk3 hiSc4mZ2BanUOUjsysEgiJ7ghqGMhMmt23DfbcGHtqn8ATd4n3pfxzP5Z5SI2CdKRk+D HsGlVWX3zS47Iqvp72nckaeU7jlHlSdimA/A0hRgwfj7Y3mTiQV10V4Jw7g/2GCSDspz 930w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=uJIKE/pGQWhi5WJS/zW9DLXl+UaZJlLiksBzciJyu6A=; b=Vw55DIN1bK/Y9OK5N+i4Ciqj1NaOBtZ5GiMysTj0BDao78tIzBNGibZqu+2Eaj13ux Lu9z60JthAooaa1oJt0oHEmzJd5BA/v24am8IKi4WO81+x0ReRSovBlDXwx3RaI3oDa+ yplyCOidTyDtcelaIZvGo19Dgw9+9O657xvE3oIxB18xXtDz3AfqjLfE3O8XAJH4cdiJ 7xayGF0B9LWHj4zR6idhwv5ncqm7v5/EiuI7PVBXByeD8q4/C+xU7V0lvLNluMluBG9M +1QR4uaYuTzUR5QpqqENebBWGkc5XUINJpe/x2VeN6BEAn55RJjGgtFsCd8BznUZj/bs +dwg== X-Gm-Message-State: AHPjjUiryzzgB32idxtW4+ETphaBpNevLl74l2lWhm5xereFE+gMF1vh Vcl740j4V824e49cSJRSttl7+PO6 X-Google-Smtp-Source: AOwi7QAwQCKmvdXJaVlste3v1O0v370PDEt+YZFilH33x0l+eQ16bDCH1N89qRJUdi9Jg68Y7UUj3w== X-Received: by 10.223.169.111 with SMTP id u102mr4899568wrc.266.1506299058545; Sun, 24 Sep 2017 17:24:18 -0700 (PDT) Original-Received: from [192.168.1.3] ([185.105.174.193]) by smtp.googlemail.com with ESMTPSA id e34sm9087616wre.15.2017.09.24.17.24.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Sep 2017 17:24:17 -0700 (PDT) In-Reply-To: Content-Language: en-US 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: 208.118.235.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:137379 Archived-At: On 9/23/17 6:39 PM, Göktuğ Kayaalp wrote: > > The function ‘vc-default-dir-extra-headers’ is implemented as a stub > function that prints in the vc-dir buffer a rather annoying and > unhelpful message advicing that the implementer of a VC backend should > create some backend specific headers and that doing this is easy. > vc-rcs doesn't implement any (and I doubt it needs), and thus whenever I > use vc-dir on an RCS repository, this message is shown. Attached is a > patch that disables this behaviour by making the said function return > nil instead (the function as it is includes a comment that says to do so > before the ‘release’). Instead of changing the default, how about we create a RCS-specific implementation that does nothing? Because it doesn't need to.