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#19045: 25.0.50; [PATCH] vc-git-print-log use --follow Date: Tue, 6 Feb 2018 23:46:43 +0300 Message-ID: <52b6e1bb-5657-722f-eafe-73fc6c3a82a4@yandex.ru> References: <87d28rt4jl.fsf@telefonica.net> <874lmxloo1.fsf@mail.linkov.net> <87d11kquw2.fsf@mail.linkov.net> <9c8f9d73-af0d-fdc7-7935-1a8a904c5c15@yandex.ru> <87607bunrz.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1517950517 27892 195.159.176.226 (6 Feb 2018 20:55:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 6 Feb 2018 20:55:17 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Thunderbird/58.0 Cc: 19045@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 06 21:55:13 2018 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 1ejAGX-000636-Iy for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Feb 2018 21:54:57 +0100 Original-Received: from localhost ([::1]:33219 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejAIY-0001rM-SN for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Feb 2018 15:57:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejA8v-0008TU-Jd for bug-gnu-emacs@gnu.org; Tue, 06 Feb 2018 15:47:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ejA8s-0002k7-HP for bug-gnu-emacs@gnu.org; Tue, 06 Feb 2018 15:47:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52680) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ejA8s-0002jq-De for bug-gnu-emacs@gnu.org; Tue, 06 Feb 2018 15:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ejA8r-0003jz-SX for bug-gnu-emacs@gnu.org; Tue, 06 Feb 2018 15:47:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Feb 2018 20:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19045 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19045-submit@debbugs.gnu.org id=B19045.151795001414366 (code B ref 19045); Tue, 06 Feb 2018 20:47:01 +0000 Original-Received: (at 19045) by debbugs.gnu.org; 6 Feb 2018 20:46:54 +0000 Original-Received: from localhost ([127.0.0.1]:60577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ejA8k-0003je-9h for submit@debbugs.gnu.org; Tue, 06 Feb 2018 15:46:54 -0500 Original-Received: from mail-lf0-f44.google.com ([209.85.215.44]:43232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ejA8h-0003jP-J8 for 19045@debbugs.gnu.org; Tue, 06 Feb 2018 15:46:53 -0500 Original-Received: by mail-lf0-f44.google.com with SMTP id o89so4652456lfg.10 for <19045@debbugs.gnu.org>; Tue, 06 Feb 2018 12:46:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=piR6tG6rU1Tht6NgC4Trrbx7Wca9TSQ75v18qyrsxC0=; b=KNFqt9Vnzje1dhNxV8RoZNfXo4Z6WnvH0aIG7qL1M2qYhuedLtaelE+BA0YmWcKIwL honnMuqCtpvtGNLH4DKEGzG01F1bPlmiVCioZosOD6b8lGki0UJoJQv6RkD/mrQhIGyG U1kFexiCXxRrrJj/NIkC7qCnNWhbTOiVbDJ1pDPhPty8LczcEgjVk1aO4N9pX0xFO0mm fRfETo2pKVIogjI7jNvKV9DWTc6xYncKSiBtz3t8fF4iLSIb8v3p7NnIwpimEWKRlPj2 d8ohmXcpDL/6JIvS6vtFsvz+gRYyXHyhwq8YkJEEOQFHEg6yuzlsTh5OfCP0ucCPzU4R cnbQ== 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:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=piR6tG6rU1Tht6NgC4Trrbx7Wca9TSQ75v18qyrsxC0=; b=r3cgUiPgC8D+1k+l07TrF5XupxWYJxWzLoqxKcylwcT3sal+MsmdUEZsj/adzVrZO5 e8xpjvL+R6y2eWIyTUJjCANuB+tfOYyCQf3CBV25dGNeednxUVIqaUjkx3GcxA2QYlOF +ECQ+qQR9ZIEkKYrdkqCu84kIMk76TRh4LgmgCgmNqCpxucEMqjBIjy06UMRazkqiYRR hZGutwbdlDjSDux5A/O00CLwoukSVp/smh7ZppHegrA34athviqZGg4lHQGVkio9Img1 B7LXb0+MKRqKKofisQ0pOWrDz2M940jP++rflcIEnk1dvRnuvJohTzpWHxFtxfO3N05Q 3a4g== X-Gm-Message-State: APf1xPAB3wKIKvje9ThZqeX/W4S6BOER1AWKaGCCehta89ug8QFgslQh X8lcafVDCTBIOQpEF0i7jEMGLbI5 X-Google-Smtp-Source: AH8x225kSnRNyaRaCf+/DvbNoRX9/VT8wyYBER48oXdMBmjFKkyxJ6wihnv+sm1+bQawosnhY0jTUQ== X-Received: by 10.46.95.74 with SMTP id t71mr2564158ljb.59.1517950004924; Tue, 06 Feb 2018 12:46:44 -0800 (PST) Original-Received: from [192.168.1.190] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id 39sm2044482ljb.86.2018.02.06.12.46.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Feb 2018 12:46:44 -0800 (PST) In-Reply-To: <87607bunrz.fsf@mail.linkov.net> 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:142981 Archived-At: On 2/6/18 00:31, Juri Linkov wrote: >> Could we use message-truncate-lines and just one message call instead? > > Maybe. But currently what is truncated is not the whole command line, > but each of the command switches. I don't know how important this is. Apparently the idea is that "in background... done" is shown in the echo area regardless of the command string length. >> The 20 characters limit seems arbitrary, we just need to avoid resizing the >> echo area. And if the "in background... done" part being truncated is >> a worry, we can rephrase them to go at the beginning of the sentence. > > Indeed, truncating "in background... done" is not nice, and I have > no idea how to rephrase it. How about: Running in background: %s and Finished in background: %s > Anyway, this is the current patch to try: Does it work like you wanted? According to Eli, we should replace message-truncate-lines here with resize-mini-windows.