From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: inhibit-message variant that doesn't even log to *Messages* Date: Thu, 31 Jan 2019 09:39:00 +0100 Message-ID: References: <87h8dpuu4i.fsf@errge.nilcons.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="96243"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Gergely Risko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 31 09:41:15 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gp7uN-000Ouf-0l for ged-emacs-devel@m.gmane.org; Thu, 31 Jan 2019 09:41:15 +0100 Original-Received: from localhost ([127.0.0.1]:50901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gp7uL-00076w-Uv for ged-emacs-devel@m.gmane.org; Thu, 31 Jan 2019 03:41:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gp7sK-0006CE-HO for emacs-devel@gnu.org; Thu, 31 Jan 2019 03:39:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gp7sJ-0002oL-Bb for emacs-devel@gnu.org; Thu, 31 Jan 2019 03:39:08 -0500 Original-Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:35806) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gp7sJ-0002nF-5f for emacs-devel@gnu.org; Thu, 31 Jan 2019 03:39:07 -0500 Original-Received: by mail-wr1-x42c.google.com with SMTP id 96so2310361wrb.2 for ; Thu, 31 Jan 2019 00:39:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=FM0y8TpQlwJOmtuoHhtGCFjmHcoeV7ejS+OmYpF/flQ=; b=eEvohfeCbf5ovsvd6jMRi2sLnIf9F9tFJCWylT+pefkuyHxB05+EzL0BXcWyqIauUk Zh+PClDZnbCxrp7UzMKcgmA0iz871S/bZSIYd5CJODoBoQ72cHPluxX4oOF7oW/P8oiK HAGUsSlibpuaWKWtXy8p/4pxv4YyUbQVZp6Si/oDTk4kMaOgXAvHjmKDw61XkgKfBSsf InZljRpMjuhskET3zG03dD8+sko6GM05fLjJtxJhKHGfIJSBgqFYMcpK5zMkKcJhehKy Zfu9Sz9R9CENobfCMSYChNPUTyaRM1paohJEn39u2Eu2lsjBf7ZZuErZx+NxmJwOAqYC N/Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=FM0y8TpQlwJOmtuoHhtGCFjmHcoeV7ejS+OmYpF/flQ=; b=NhDv8QS17pH0tkq3X7RMZfKJZnTxhrFAMNeC6CIW5Azle9AnBMpXK+Yak6QV4t08v1 YgrJQucSAxBPp5DF3j0sjObuaEeiyBFDLVUhk915qxltnHP7Bzc/vHstE9k26LfZegFp OU+bITiP/UIZqpxo9WKRwizxISzCxWkjf714S+MtNJzD/ciZYCRWUaiS0YAfy6BAiUYc bp9qt5LTas+KOa87luOxw87nX0nSBq5G4X55Emm9nX3bW/32heNmebImgfMSN2eIuVwU 8ad2vyrb/Fj6LEv/gLiaTqbhIFKfSrSpB9Lg4NiRRBFgvvgkN5F8lGEPC3Af3PO5t5TT 6Bcw== X-Gm-Message-State: AHQUAuY+zRmy7CsPr3wqBrlqgOsoJIrRx1Aq2J4CPNpD7E4Dck9Zpt2e wi3J1zDmeM6jMW5NSJCiHpLPiw4t X-Google-Smtp-Source: AHgI3IaqLzmdnEO90VGaaBSgODu4KJGljURLNnk09nB0XzTbyXc2xwZuawwedZkYGfAsC+iJvk7vSw== X-Received: by 2002:a5d:4ac7:: with SMTP id y7mr10990996wrs.196.1548923944276; Thu, 31 Jan 2019 00:39:04 -0800 (PST) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id f199sm6148794wmd.25.2019.01.31.00.39.00 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 31 Jan 2019 00:39:01 -0800 (PST) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <87h8dpuu4i.fsf@errge.nilcons.com> (Gergely Risko's message of "Thu, 31 Jan 2019 09:08:29 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:232853 Archived-At: Gergely Risko writes: > Hi, > > I use more and more packages that provide some functionality by doing > something periodically. > > A recent example is sync-recentf: https://github.com/ffevotte/sync-recentf > > When sync-recentf decides to periodically save the recent file, a lot of > messages get written with the `message' function. > > I worked around most if this with: > > (defadvice recentf-cleanup (around nce/recentf-cleanup activate) > (let ((inhibit-message t)) > ad-do-it)) > > My problem is that, these messages still get logged to *Messages*, so if > I set the frequency to every 15 seconds, and try to debug something > unrelated in Elisp, then these messages get to be annoying a bit. > > Would there be any downside to providing an additional variable (under > the name `inhibit-message-fundamentally' or such) that would inhibit > message printing altogether (echo area AND *Messages*)? > Would a special value for inhibit-message not be easier? > Would there be willingness to merge this if I were to work on this? I wouldn=CA=BCt mind, but I=CA=BCm not the maintainer :-) Robert