From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: ndame via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#49774: 27.1; if diff commands finds no differences then do not pop up a window Date: Fri, 30 Jul 2021 13:19:29 +0000 Message-ID: References: <6-jIgEjC-M3zdDQDysoGtRzEjthWPAJ2umfoWDGcAvubl3DvWEFvWaLPStFKSxTJW-Vy0_PQ8Gsnu9u7hAuK040bA-ooxQwB9wLJNA7sUm0=@protonmail.com> <1f065a9b-e5b5-f873-5cc3-0d6fde9c1db3@yandex.ru> <87tukcqfta.fsf@gnus.org> <1VdefROysFdKKl20jV3U8WYbp7YC5umgJA41cfsSVcpOAAnOwGJs3dFkMAVi_8zPiesBbTZEYpINWLOfsJaBgOP9Ywa2afV7Tjkkgs8pIJs=@protonmail.com> <875ywsqc2a.fsf@gnus.org> <875ywsowdh.fsf@gnus.org> Reply-To: ndame Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34245"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , 49774@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 30 15:21:05 2021 Return-path: Envelope-to: geb-bug-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 1m9SRk-0008jR-L7 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Jul 2021 15:21:04 +0200 Original-Received: from localhost ([::1]:50062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m9SRj-0005oh-BE for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Jul 2021 09:21:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m9SQl-0004XC-PQ for bug-gnu-emacs@gnu.org; Fri, 30 Jul 2021 09:20:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47869) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m9SQk-0004RB-Uv for bug-gnu-emacs@gnu.org; Fri, 30 Jul 2021 09:20:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m9SQk-0001h0-Ks for bug-gnu-emacs@gnu.org; Fri, 30 Jul 2021 09:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ndame Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Jul 2021 13:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49774 X-GNU-PR-Package: emacs Original-Received: via spool by 49774-submit@debbugs.gnu.org id=B49774.16276511796471 (code B ref 49774); Fri, 30 Jul 2021 13:20:02 +0000 Original-Received: (at 49774) by debbugs.gnu.org; 30 Jul 2021 13:19:39 +0000 Original-Received: from localhost ([127.0.0.1]:59415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9SQN-0001gI-2o for submit@debbugs.gnu.org; Fri, 30 Jul 2021 09:19:39 -0400 Original-Received: from mail-4324.protonmail.ch ([185.70.43.24]:36785) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9SQL-0001g5-0r for 49774@debbugs.gnu.org; Fri, 30 Jul 2021 09:19:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1627651170; bh=hvkkN6ozo/bCdlON1zYdFmnHiJW/OFL6OCOB5RXWZ/g=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=kc/ZXikyb+peet4B2Owy+3FWAm1yQWlWtcmOANrF4mR3BqSrb9VL5y99/QrnnnrpX Qq7lH4TPB5X1tRDqthiyd7sTWJSWR4otZ49efRJ77BfYNhwZiaMKD4C8XrRi3ySrHx wd++4kYRgBhiMfwMXLv289vSc/lNNNIlZL67rof0= In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" X-ACL-Warn: , ndame Xref: news.gmane.io gmane.emacs.bugs:210908 Archived-At: > > I was going to suggest a user option that switches to the synchronous > mode of operation, but the above sounds probably even better. Or there can be an option like diff-show-window-only-if-difference-exists which can be nil for the current behavior and t if the user wants to see no window if there is no difference, just a message. This may be the simplest solution, because then the user can simply set it according his working conditions. If he works with remote files he sets it to nil, if he works with files on his local machine then it can be set to t.