all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ndame via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: Lars Ingebrigtsen <larsi@gnus.org>, 49774@debbugs.gnu.org
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	[thread overview]
Message-ID: <uH74ujdSJXzmXZbIgXGsBD9liuKl9f_qUvd4Gnwqs8mOjfrbSIvY-NcVoLxHlH2yQ1txpje0QWjrt768nsfHpm46F_trGqdPw5Za0cSbzLo=@protonmail.com> (raw)
In-Reply-To: <dd1415a4-1b7a-72eb-2f00-1de4949ad525@yandex.ru>


>
> 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.






  reply	other threads:[~2021-07-30 13:19 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-29 16:59 bug#49774: 27.1; if diff commands finds no differences then do not pop up a window ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-30  1:18 ` Dmitry Gutov
2021-07-30  4:18   ` ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-30 10:03     ` Lars Ingebrigtsen
2021-07-30 11:19       ` ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-30 11:24         ` Lars Ingebrigtsen
2021-07-30 11:47           ` ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-30 11:48             ` Lars Ingebrigtsen
2021-07-30 11:58               ` ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-30 12:44                 ` Dmitry Gutov
2021-07-30 13:19                   ` ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-07-30 18:47                   ` Lars Ingebrigtsen
2021-07-31 21:06                     ` Juri Linkov
2021-07-31 22:11                       ` Lars Ingebrigtsen
2021-08-02  1:07                     ` Richard Stallman
2022-08-22 10:30                       ` Lars Ingebrigtsen
2021-07-30 18:28 ` ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-16 18:29   ` ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='uH74ujdSJXzmXZbIgXGsBD9liuKl9f_qUvd4Gnwqs8mOjfrbSIvY-NcVoLxHlH2yQ1txpje0QWjrt768nsfHpm46F_trGqdPw5Za0cSbzLo=@protonmail.com' \
    --to=bug-gnu-emacs@gnu.org \
    --cc=49774@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    --cc=larsi@gnus.org \
    --cc=laszlomail@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.